@solomei-ai/intent 1.11.9 → 1.12.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/esm/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* © 2026 Solomei AI SRL. Proprietary and confidential.
|
|
3
3
|
*/
|
|
4
|
-
import t from"html2canvas-pro";import e from"js-cookie";function n(t,e){return t-=184,o()[t]}function o(){const t=["startsWith","type","innerHeight","duration","TTFB"," | ","Local time: "," cores","push",", maxTouchPoints "," (UTC",", orientation ","isSecureContext","referrer","rttMs","onLine","Screen: ","brand","language","toFixed","getEntriesByType","(pointer: fine)","Device geolocation: enabled","getItem","Device geolocation: disabled","effectiveType","languages","DeviceOrientationEvent","number","userAgent"," (β ","max","beta","requestStart","Referrer: ","Platform: ","enabled","(pointer: coarse)","6uKgubV","isFinite","2115510KswIyN","matches","level","padStart","transferSize"," Mbps","User agent: ","removeEventListener","CookiesEnabled: ","devicePixelRatio","undefined","not charging","rtt","innerWidth","hardwareConcurrency","SW-controlled","unknown","PWA: ","downlinkMbps","105898RLDnjA","19896804zqczrh","no SW","coarse"," ms","map","brands","browser API","inferred","95EGxJJy","round","toString","yes","787050dWtWYE","version","connection","upright","Language: ","availHeight","Tilt: ","resolvedOptions","°, γ ","reclined","filter","orientation","Pointer/Touch: ","encodedBodySize","deviceorientation","userAgentData","fine","mobile","charging","navigation","getBattery","downlink","abs","setTimeout","width","DateTimeFormat","entryType","Languages: ","CPU: ","3729089OrvmFD","isArray","timeZone","some","doNotTrack","TTFB ~","resource","n/a","UA brands: ","find","join","35512gEODKs","Network: ","availWidth","responseStart","platform","gamma","Viewport: ","length","100396WTIGuC","function",", display-mode standalone: "];return(o=()=>t)()}async function r(){const t=n,e=(new(Intl[t(227)]))[t(209)]()[t(233)],o=(t=>{const e=n,o=t<=0?"+":"-",r=Math[e(224)](t);return""+o+String(Math.floor(r/60))[e(296)](2,"0")+":"+String(r%60).padStart(2,"0")})((new Date).getTimezoneOffset()),r=[];r.push(t(206)+navigator[t(271)]),navigator[t(279)]?.[t(249)]&&r[t(261)](t(229)+navigator[t(279)][t(241)](", ")),r[t(261)](t(299)+navigator[t(282)]);const i=function(){const t=n;if(!(t=>{const e=n;return e(217)in t&&typeof t[e(217)]!==e(303)})(navigator))return;const e=navigator.userAgentData,o=Array[t(232)](e[t(195)])?e[t(195)][t(194)](e=>e[t(270)]+" "+e[t(203)])[t(241)](", "):void 0,r=e[t(246)]?e[t(246)]+(e[t(219)]?" (mobile)":""):void 0;return[o&&t(239)+o,r&&t(288)+r].filter(Boolean).join(t(258))||void 0}();i&&r[t(261)](i),r[t(261)]("Timezone: "+e+t(263)+o+")"),r[t(261)](t(259)+(new Date)[t(200)]());const a=window[t(302)]||1;r.push(t(269)+screen[t(226)]+"x"+screen.height+" @"+a+"x (avail "+screen[t(244)]+"x"+screen[t(207)]+", "+screen.colorDepth+"-bit)");const s=screen.orientation&&t(254)in screen[t(213)]?screen.orientation[t(254)]:void 0;r[t(261)](t(248)+window[t(306)]+"x"+window[t(255)]+(s?t(264)+s:"")),r[t(261)](t(230)+navigator[t(184)]+t(260));const c=await async function(){const t=n,e=[];let o=t(196);if((t=>{const e=n;return e(204)in t&&typeof t[e(204)]!==e(303)})(navigator)){const n=navigator[t(204)];n?.effectiveType&&e[t(261)](n[t(278)]),typeof n?.[t(223)]===t(281)&&e[t(261)]("~"+n.downlink+t(298)),typeof n?.rtt===t(281)&&e[t(261)](n[t(305)]+" ms"),n?.saveData&&e[t(261)]("saveData")}else{const r=((t=20)=>{const e=n,o=performance[e(273)](e(221))[e(240)](t=>t.entryType===e(221)),r=o?Math[e(284)](0,o[e(245)]-o[e(286)]):void 0,i=performance[e(273)]("resource")[e(212)](t=>t[e(228)]===e(237));let a=0,s=0;for(const n of i.slice(0,Math[e(284)](0,t))){const t=n[e(215)]>0?n.encodedBodySize:n.transferSize>0?n[e(297)]:0,o=n[e(256)];t>0&&o>0&&Number[e(292)](o)&&(a+=t,s+=o)}const c=s>0?8*a/s:void 0;return{downlinkMbps:"number"==typeof c?c/1e3:void 0,rttMs:r}})();typeof r[t(188)]===t(281)&&e[t(261)]("~"+r[t(188)][t(272)](1)+t(298)),typeof r[t(267)]===t(281)&&e[t(261)](t(236)+Math[t(199)](r.rttMs)+t(193)),o=t(197)}const r=performance[t(273)](t(221)).find(e=>e[t(228)]===t(221));if(r){const n=Math[t(284)](0,r.responseStart-r[t(286)]);!e[t(234)](e=>e[t(253)](t(257)))&&e[t(261)](t(236)+Math.round(n)+t(193))}return e.length?t(243)+e[t(241)](", ")+" ("+o+")":void 0}();c&&r[t(261)](c),r[t(261)]((()=>{const t=n,e=typeof matchMedia===t(251)&&matchMedia(t(290)).matches,o=typeof matchMedia===t(251)&&matchMedia(t(274))[t(294)],r=t(e?192:o?218:186),i=navigator.maxTouchPoints;return t(214)+r+t(262)+i})());const d=await async function(){const t=n;if((t=>{const e=n;return"getBattery"in t&&typeof t[e(222)]===e(251)})(navigator))try{const e=await navigator.getBattery(),n=Math[t(199)](100*e[t(295)]);return"Battery: "+[(Number.isFinite(n)?n:0)+"%",e[t(220)]?t(220):t(304)][t(241)](", ")}catch{}}();d&&r.push(d),r.push(t(301)+(navigator.cookieEnabled?t(201):"no")+"; DNT: "+(navigator[t(235)]??t(238))),r[t(261)]("Online: "+(navigator[t(268)]?t(201):"no")),document[t(266)]&&r[t(261)](t(287)+document[t(266)]),r[t(261)]((()=>{const t=n,e=typeof matchMedia===t(251)&&matchMedia("(display-mode: standalone)")[t(294)],o=Boolean(navigator.serviceWorker?.controller);return t(187)+t(o?185:191)+t(252)+(e?"yes":"no")})());const l=await async function(t=400){const e=n;if(e(280)in window&&window[e(265)])return new Promise(o=>{const r=e;let i=!1;const a=t=>{const e=n,r=typeof t[e(285)]===e(281)?t[e(285)]:void 0,s=typeof t[e(247)]===e(281)?t.gamma:void 0;if(void 0===r||void 0===s)return;if(i)return;i=!0,window[e(300)]("deviceorientation",a);const c=((t,e)=>{const o=n,r=Math.abs(t),i=Math[o(224)](e);return r<15&&i<15?"flat":o(r>=60?205:211)})(r,s);o(e(208)+c+e(283)+Math[e(199)](r)+e(210)+Math[e(199)](s)+"°)")};window[r(225)](()=>{const t=r;i||(i=!0,window[t(300)](t(216),a),o(void 0))},t),window.addEventListener(r(216),a,{passive:!0})})}();l&&r[t(261)](l);const u=localStorage[t(276)]("intent:geo")===t(289);return r[t(261)](t(u?275:277)),r[t(241)](t(258))}(()=>{const t=n,e=o();for(;;)try{if(272958==-parseInt(t(291))/1*(parseInt(t(189))/2)+-parseInt(t(202))/3+-parseInt(t(250))/4*(parseInt(t(198))/5)+-parseInt(t(293))/6+-parseInt(t(231))/7+parseInt(t(242))/8+parseInt(t(190))/9)break;e.push(e.shift())}catch(t){e.push(e.shift())}})();const i=f;(()=>{const t=f,e=d();for(;;)try{if(912467==-parseInt(t(190))/1+-parseInt(t(191))/2*(parseInt(t(187))/3)+parseInt(t(180))/4*(parseInt(t(194))/5)+-parseInt(t(188))/6*(-parseInt(t(192))/7)+parseInt(t(185))/8*(-parseInt(t(182))/9)+-parseInt(t(178))/10*(-parseInt(t(176))/11)+parseInt(t(179))/12)break;e.push(e.shift())}catch(t){e.push(e.shift())}})();const a=i(183),s=i(184),c=i(177);function d(){const t=["1132696YJLwZs","4284juhHBn","intent:data-base-url","1494370thJhjr","intent:debug-panel","4763jnIPbf","intent:debug","39760Vdgmod","1436736kRsFoM","4tYVvEc","intent:data-sid-max-age","13154283dDfXDd","intent:consent","intent:geo","8UUQfXZ","intent:data-ip","6axUISO","15282nrESUR","https://intent.callimacus.ai","192224VuVBdM"];return(d=()=>t)()}const l=i(175),u="intent:data-client-id",p=i(186),m=i(193);function f(t,e){return t-=175,d()[t]}const g=i(181),h=i(189);function v(){const t=["75TZJVaK","64470SwWOKy","&","425cCcWuT","undefined",">","plaintext-only",'[role="',"replace","5008480SSvMWk","parentElement","'","freeze","has","input","18272GfkafB","host","56332diJhDW","map","INPUT","4848214RETBHn","clearTimeout","now","join","true","innerText","getAttribute","405soQgXe","[contenteditable]","contenteditable",""","log","textContent","<","toLowerCase","1120574AhneYx","body","60952kgJxOI","setTimeout","searchbox","tagName","select","combobox","string","TEXTAREA","enabled"];return(v=()=>t)()}const b=S;function y(...t){const e=S;try{typeof localStorage!==e(433)&&localStorage.getItem(c)===e(428)&&console[e(414)](...t)}catch{}}(()=>{const t=S,e=v();for(;;)try{if(535740==-parseInt(t(444))/1+-parseInt(t(418))/2+-parseInt(t(429))/3*(-parseInt(t(446))/4)+parseInt(t(432))/5*(parseInt(t(430))/6)+parseInt(t(449))/7+parseInt(t(420))/8*(-parseInt(t(410))/9)+-parseInt(t(438))/10)break;e.push(e.shift())}catch(t){e.push(e.shift())}})();const w=Object[b(441)](new Set(["textbox",b(425),b(422)])),x=[b(443),"textarea",b(424),b(411),...[...w][b(447)](t=>b(436)+t+'"]')][b(452)](", ");function I(t){const e=b,n=t[e(423)];return n===e(448)||n===e(427)||"SELECT"===n}function S(t,e){return t-=407,v()[t]}function k(t){const e=b;if(I(t))return!0;const n=t[e(409)](e(412));if(""===n||"true"===n||n===e(435))return!0;const o=t[e(409)]("role")?.[e(417)]();return!(!o||!w[e(442)](o))}function E(t){const e=b,n=t[e(439)];if(n)return n;const{parentNode:o}=t;return o instanceof ShadowRoot&&o[e(445)]instanceof Element?o[e(445)]:void 0}function T(t){const e=b;return t.replace(/&/g,e(431))[e(437)](/</g,e(416))[e(437)](/>/g,e(434))[e(437)](/"/g,e(413)).replace(/'/g,e(440))}const C=j;(()=>{const t=j,e=O();for(;;)try{if(581162==parseInt(t(323))/1+parseInt(t(365))/2*(-parseInt(t(333))/3)+parseInt(t(375))/4*(-parseInt(t(390))/5)+parseInt(t(355))/6+-parseInt(t(346))/7+parseInt(t(360))/8+parseInt(t(387))/9*(-parseInt(t(377))/10))break;e.push(e.shift())}catch(t){e.push(e.shift())}})();const M=C(393),A=C(384),L=new Set([C(330),C(295),C(348),C(317),C(302),C(334),C(359),C(379),"organization",C(386),"street-address",C(285),C(392),"address-line3",C(303),"address-level2",C(328),C(312),"country",C(314),"postal-code",C(281),C(382),C(287),C(371),C(367),C(350),"cc-exp-month",C(395),C(307),C(394),C(370),C(289),"bday-month",C(380),C(378),"webauthn"]);function D(t){return"<"+(t=>{const e=C,n=(t[e(299)]?.(A)??"")[e(343)]();if(n)return n;const o=t.getAttribute?.(e(363))||"",r=k(t)?o[e(284)]()[e(343)]()[e(313)](/\s+/)[e(374)](Boolean):[];if(t[e(385)]===e(341)&&t.type===e(356))return"Password";for(const t of r){const n=z[e(280)](t);if(n)return n}const i=t.getAttribute?.(M)?.toLowerCase();return e("mask"===i?306:304)})(t)+">"}const z=new Map([[C(330),C(310)],["given-name",C(311)],[C(317),C(357)],["additional-name",C(354)],[C(302),C(345)],["username",C(347)],[C(359),C(286)],[C(379),C(353)],[C(272),C(271)],[C(285),C(278)],[C(392),"Address line 2"],["address-line3",C(337)],["address-level1",C(305)],["address-level2",C(318)],["address-level3",C(288)],[C(312),C(282)],["postal-code",C(373)],[C(301),C(366)],[C(314),"Country name"],[C(281),C(372)],["cc-given-name",C(309)],[C(371),C(331)],["cc-additional-name",C(298)],["cc-number",C(344)],[C(350),C(321)],[C(336),"Expiration month"],["cc-exp-year",C(376)],[C(307),C(300)],[C(394),"Card type"],[C(370),C(396)],[C(289),"Birth day"],[C(352),C(349)],[C(380),C(340)],[C(327),C(316)],[C(386),C(388)],[C(378),C(389)],[C(368),C(339)]]);function B(t){const e=C;return t[e(290)]("data-html2canvas-ignore")||t.getAttribute(M)?.[e(284)]()===e(315)}const N=new Set;function j(t,e){return t-=271,O()[t]}function P(t){const e=C,n=t[e(299)](M);if(null===n)return!1;const o=n.toLowerCase();return o!==e(315)&&(""!==n&&"mask"!==o&&(t=>{const e=C;if(N[e(279)](t))return;N[e(283)](t);const n=JSON[e(335)](t),o=e(274),r=e(324)+n+e(294)+o+'. Treating as "mask" to prevent data leaks.';try{console[e(358)](r)}catch{}})(n),!0)}function U(t){const e=C;let n=t;for(;n&&n!==document[e(293)];){if(B(n))return!0;n=E(n)}return!1}function O(){const t=["search","iframe","querySelectorAll","Address line 1","has","get","cc-name","Neighborhood","add","toLowerCase","address-line1","Email","cc-additional-name","District","bday-day","hasAttribute","pop","textContent","body",". Supported values are ","given-name","week","month","Cardholder middle name","getAttribute","Security code","country","nickname","address-level1","Sensitive","State/Province","Redacted","cc-csc","contentDocument","Cardholder first name","Name","First name","address-level4","split","country-name","ignore","Organization","family-name","City","length","searchbox","Expiration date","shadowRoot","349085zwivPG","[intent] Unsupported data-intent-redact value ","push","matches","organization","address-level3","datetime-local","name","Cardholder last name","role","57363JATPzB","username","stringify","cc-exp-month","Address line 3","some","WebAuthn","Birth year","INPUT","includes","trim","Card number","Nickname","478128FyxnST","Username","additional-name","Birth month","cc-exp","IFRAME","bday-month","Phone","Middle name","6487770jwCcok","password","Last name","warn","email","2763176FTrxay","text","SELECT","autocomplete","type","94bHxIyn","Country code","cc-number","webauthn","date","bday","cc-family-name","Cardholder name","Postal code","filter","811036GsaIBE","Expiration year","50jbVpIr","sex","tel","bday-year","ownerDocument","cc-given-name","value","data-intent-redact-label","tagName","organization-title","44757sUKjXl","Job title","Sex","5AjTPCB","setAttribute","address-line2","data-intent-redact","cc-type","cc-exp-year","Birthday","Street address","street-address","clear",'"" or "mask" (redact), "ignore" (exclude from capture)'];return(O=()=>t)()}function W(t){return!(B(t)||!P(t)&&!(t=>{const e=C,n=t[e(385)];if("INPUT"===n){const n=t;if(n.type===e(356))return!0;if(n.type===e(275))return!1;const o=n[e(299)](e(332));if(o?.toLowerCase()===e(320))return!1;if((n.autocomplete||"")[e(284)]()[e(343)]()[e(313)](/\s+/)[e(374)](Boolean)[e(338)](t=>L[e(279)](t)))return!0}if(("TEXTAREA"===n||n===e(362))&&(t.autocomplete||"")[e(284)]()[e(343)]()[e(313)](/\s+/)[e(374)](Boolean)[e(338)](t=>L[e(279)](t)))return!0;if(k(t)&&!I(t)){const n=t[e(299)]("role")?.[e(284)]();if(n===e(320))return!1;if((t[e(299)]("autocomplete")||"")[e(284)]()[e(343)]()[e(313)](/\s+/)[e(374)](Boolean)[e(338)](t=>L[e(279)](t)))return!0}return!1})(t))}function F(t){const e=C;if(!U(t))if(I(t)){if(W(t)){if(t[e(385)]===e(341)){const n=t;[e(369),e(329),e(297),"time",e(296)][e(342)](n[e(364)])&&(n[e(364)]=e(361))}const n=D(t);t[e(383)]=n,t[e(391)](e(383),n)}}else k(t)?W(t)&&(t[e(292)]=D(t)):t[e(290)](M)&&P(t)&&(t[e(292)]=D(t))}function H(t,e){const n=C,o=[],r=[t];for(t instanceof Element&&t.shadowRoot&&r[n(325)](t[n(322)]);r[n(319)]>0;){const t=r[n(291)]()[n(277)]("*");for(const i of t)i[n(326)](e)&&o[n(325)](i),i[n(322)]&&r[n(325)](i[n(322)])}return o}function R(t,e=new Set){const n=C,o=t instanceof Document?t:t[n(381)];if(o){if(e[n(279)](o))return;e.add(o)}t instanceof Element&&F(t);for(const e of H(t,x))F(e);for(const e of H(t,"["+M+"]"))F(e);for(const o of H(t,n(276)))if(o[n(385)]===n(351))try{const t=o[n(308)];t&&R(t,e)}catch{}}function K(){const t=["231VQlVuH","470xICjMs","getItem","https:","1058214CQOpEI","number","remove","60mbqPyI","set","protocol","719784kIWDgh","Lax","5495vKbqqK","11384yOVLFx","8952273zDAEWg","50312wxjkjL","intent_sid","74565lZhURY","42335uBatGs","granted","isFinite"];return(K=()=>t)()}(()=>{const t=X,e=K();for(;;)try{if(738135==-parseInt(t(336))/1+parseInt(t(321))/2+-parseInt(t(332))/3*(parseInt(t(326))/4)+-parseInt(t(329))/5*(-parseInt(t(339))/6)+-parseInt(t(323))/7*(-parseInt(t(324))/8)+parseInt(t(328))/9*(parseInt(t(333))/10)+parseInt(t(325))/11)break;e.push(e.shift())}catch(t){e.push(e.shift())}})();let J="";function q(){return J}function Y(t){return e.get(t)}function V(t,n){const o=X,r=localStorage.getItem(g),i=null===r?void 0:Number(r),a=typeof n===o(337)&&Number.isFinite(n)?n:typeof i===o(337)&&Number[o(331)](i)?i:2592e3,s=window.location[o(320)]===o(335);e[o(340)](o(327),t,{expires:a/86400,path:"/",sameSite:o(322),...s&&{secure:!0}})}function X(t,e){return t-=320,K()[t]}function G(){const t=X;e[t(338)](t(327),{path:"/"})}function _(){const t=Y(X(327));if(!(()=>{const t=X;return localStorage[t(334)](a)===t(330)})())return t&&G(),void(J="");t?J=t:(J=crypto.randomUUID(),V(J))}function Z(){const t=["853780KSpQel","enabled","deviceGeoSent","code","getItem","1015938DEXNvK","327vunJji","longitude","latitude","hasFocus","TIMEOUT","visibilityState","query","8362608ykjCwY","speed","1865755FlNsDB","geolocation","POSITION_UNAVAILABLE","pointerdown","protocol","coords","removeEventListener","21548292lCbDvk","18fxtsCP","keydown","number","isFinite","isSecureContext","onLine","39828KWMXBh","altitude","22plZaxB","7FxvXBn","122onJITC","hostname","timestamp","altitudeAccuracy","10413hQUuGA","addEventListener"];return(Z=()=>t)()}(()=>{const t=rt,e=Z();for(;;)try{if(761334==-parseInt(t(256))/1*(parseInt(t(252))/2)+parseInt(t(264))/3*(parseInt(t(248))/4)+-parseInt(t(273))/5*(-parseInt(t(242))/6)+-parseInt(t(251))/7*(-parseInt(t(271))/8)+parseInt(t(263))/9+-parseInt(t(258))/10*(parseInt(t(250))/11)+-parseInt(t(241))/12)break;e.push(e.shift())}catch(t){e.push(e.shift())}})();let Q=!1,$=!1,tt=!1,et=!1,nt=!1;function ot(){const t=rt;return localStorage[t(262)](s)===t(259)}function rt(t,e){return t-=235,Z()[t]}function it(){Q=!1,tt=!1,nt=!1}function at(){return!Q&&ot()&&!et&&nt}const st=ct;function ct(t,e){return t-=105,gt()[t]}(()=>{const t=ct,e=gt();for(;;)try{if(452626==-parseInt(t(125))/1*(parseInt(t(105))/2)+parseInt(t(198))/3*(parseInt(t(129))/4)+parseInt(t(208))/5+parseInt(t(156))/6*(-parseInt(t(113))/7)+parseInt(t(130))/8*(-parseInt(t(172))/9)+parseInt(t(171))/10+parseInt(t(144))/11)break;e.push(e.shift())}catch(t){e.push(e.shift())}})();let dt,lt=[],ut=!1;function pt(){const t=ct;try{return localStorage[t(120)](l)===t(179)}catch{return!1}}function mt(){const t=ct;if(!dt)return;const e=dt.querySelector(t(197)),n=dt[t(180)](t(167));if(!e||!n)return;if(0===lt[t(191)])return e.innerHTML=t(185),void(n[t(199)]=t(189));const o=[...lt].reverse();e[t(203)]=o[t(106)](t=>(t=>{const e=ct,n=new Date(t[e(153)])[e(122)](),o=t[e(192)]&&t.img[e(191)]>0,r=o?Math[e(150)](.75*t[e(192)][e(191)]/1024):0,i=T(t[e(155)]),a=T(JSON[e(131)](t[e(132)],null,2)),s=T(t[e(127)]),c=T(JSON[e(131)](t[e(114)],null,2));return e(205)+i+e(159)+n+e(146)+(o?e(162)+t[e(192)]+e(118)+r+e(170):"")+'\n\t\t\t<details style="margin-top: 8px;">\n\t\t\t\t<summary style="\n\t\t\t\t\tcursor: pointer;\n\t\t\t\t\tcolor: var(--solomei-color-foreground, #212121);\n\t\t\t\t\tfont-size: 12px;\n\t\t\t\t\tfont-weight: var(--solomei-font-weight-regular, 500);\n\t\t\t\t\tuser-select: none;\n\t\t\t\t">View Details</summary>\n\t\t\t\t<div style="\n\t\t\t\t\tmargin-top: 8px;\n\t\t\t\t\tpadding: 8px;\n\t\t\t\t\tbackground: var(--solomei-color-secondary, #fafaf9);\n\t\t\t\t\tborder-radius: var(--solomei-radius-sm, 6px);\n\t\t\t\t\tfont-size: 11px;\n\t\t\t\t\tcolor: var(--solomei-color-foreground, #212121);\n\t\t\t\t\tborder: 1px solid var(--solomei-color-border, #e5e5e5);\n\t\t\t\t">\n\t\t\t\t\t<div style="margin-bottom: 6px;"><strong>Properties:</strong></div>\n\t\t\t\t\t<pre style="\n\t\t\t\t\t\tmargin: 0 0 8px 0;\n\t\t\t\t\t\tpadding: 8px;\n\t\t\t\t\t\tbackground: var(--solomei-color-background, white);\n\t\t\t\t\t\tborder-radius: var(--solomei-radius-sm, 6px);\n\t\t\t\t\t\toverflow-x: auto;\n\t\t\t\t\t\tfont-size: 10px;\n\t\t\t\t\t\twhite-space: pre-wrap;\n\t\t\t\t\t\tword-break: break-word;\n\t\t\t\t\t\tborder: 1px solid var(--solomei-color-border, #e5e5e5);\n\t\t\t\t\t">'+a+e(128)+(t[e(127)]?e(201)+s+e(128):"")+'\n\t\t\t\t\t<div style="margin-bottom: 6px;"><strong>Bounding Box:</strong></div>\n\t\t\t\t\t<pre style="\n\t\t\t\t\t\tmargin: 0;\n\t\t\t\t\t\tpadding: 8px;\n\t\t\t\t\t\tbackground: var(--solomei-color-background, white);\n\t\t\t\t\t\tborder-radius: var(--solomei-radius-sm, 6px);\n\t\t\t\t\t\toverflow-x: auto;\n\t\t\t\t\t\tfont-size: 10px;\n\t\t\t\t\t\tborder: 1px solid var(--solomei-color-border, #e5e5e5);\n\t\t\t\t\t">'+c+e(145)})(t)).join(""),n[t(199)]=lt[t(191)]+" event"+(1===lt.length?"":"s")}function ft(){const t=ct;if(dt)return void(dt[t(142)][t(184)]=t(169));const e=document[t(188)]("div");e[t(203)]=ct(154),dt=e[t(181)],document[t(190)].appendChild(dt);const n=dt[t(180)](t(160)),o=dt[t(180)](t(186)),r=dt[t(180)](t(157));n?.[t(116)](t(151),()=>{!function(t){const e=ct;try{localStorage[e(158)](l,t?"enabled":e(195)),t?ft():(()=>{const t=ct;dt&&(dt[t(142)][t(184)]="none")})()}catch{}}(!1)}),o?.[t(116)](t(151),()=>{(()=>{const t=ct;if(!dt)return;const e=dt[t(180)](t(196)),n=dt[t(180)](t(186));e&&n&&(ut=!ut,ut?(e[t(142)].display=t(117),dt[t(142)][t(108)]=t(140),n[t(199)]="+"):(e[t(142)][t(184)]="flex",dt[t(142)][t(108)]=t(124),n[t(199)]="−"))})()}),r?.addEventListener(t(151),()=>{lt=[],mt()}),(()=>{const t=ct;if(!dt)return;const e=dt[t(180)](t(123));if(!e)return;let n=!1,o=0,r=0,i=0,a=0;e.addEventListener(t(202),e=>{const o=t;if("BUTTON"===e[o(115)][o(139)])return;n=!0;const r=dt[o(112)]();i=e[o(174)]-r[o(148)],a=e.clientY-r[o(165)]}),document.addEventListener(t(134),e=>{const s=t;if(!n||!dt)return;e[s(175)](),o=e[s(174)]-i,r=e[s(161)]-a;const c=window[s(149)]-dt[s(182)],d=window[s(183)]-dt.offsetHeight;o=Math[s(163)](0,Math[s(107)](o,c)),r=Math[s(163)](0,Math.min(r,d)),dt[s(142)].left=o+"px",dt[s(142)][s(165)]=r+"px",dt[s(142)][s(141)]=s(206)}),document[t(116)](t(193),()=>{n=!1})})(),dt[t(116)]("click",e=>{const n=t,o=e[n(115)];if(o[n(178)][n(177)]("intent-debug-screenshot")){const t=o;t[n(126)]&&t.src.startsWith("data:image/")&&(t=>{const e=ct,n=document.createElement("div");n.id=e(119),n[e(209)](e(173),e(109)),n[e(142)][e(164)]=e(176);const o=document.createElement(e(207));o.style[e(164)]=e(143);const r=document[e(188)](e(192));r[e(126)]=t,r[e(142)][e(164)]=e(147);const i=document.createElement(e(207));i.style[e(164)]=e(204);const a=document.createElement(e(152));a[e(199)]=e(200),a[e(142)].cssText=e(111);const s=document[e(188)](e(207));s[e(199)]="Click anywhere or press ESC to close",s[e(142)][e(164)]="\n\t\tcolor: var(--solomei-color-primary-foreground, white);\n\t\tfont-size: 13px;\n\t",i[e(194)](a),i[e(194)](s),o[e(194)](r),o[e(194)](i),n[e(194)](o);const c=()=>{const t=e;n.remove(),document.removeEventListener(t(187),d)};n[e(116)](e(151),c),a[e(116)](e(151),t=>{t.stopPropagation(),c()}),r[e(116)](e(151),t=>{t.stopPropagation()});const d=t=>{const n=e;t[n(166)]===n(138)&&c()};document[e(116)](e(187),d),document.body[e(194)](n)})(t[n(126)])}}),mt()}function gt(){const t=["appendChild","disabled","#intent-debug-content","#intent-debug-events","48zrDGSo","textContent","✕ Close",'\n\t\t\t\t\t\t<div style="margin-bottom: 6px;"><strong>HTML:</strong></div>\n\t\t\t\t\t\t<pre style="\n\t\t\t\t\t\t\tmargin: 0 0 8px 0;\n\t\t\t\t\t\t\tpadding: 8px;\n\t\t\t\t\t\t\tbackground: var(--solomei-color-background, white);\n\t\t\t\t\t\t\tborder-radius: var(--solomei-radius-sm, 6px);\n\t\t\t\t\t\t\toverflow-x: auto;\n\t\t\t\t\t\t\tfont-size: 10px;\n\t\t\t\t\t\t\twhite-space: pre-wrap;\n\t\t\t\t\t\t\tword-break: break-word;\n\t\t\t\t\t\t\tborder: 1px solid var(--solomei-color-border, #e5e5e5);\n\t\t\t\t\t\t">',"mousedown","innerHTML","\n\t\tmargin-top: 20px;\n\t\tdisplay: flex;\n\t\tgap: 20px;\n\t\talign-items: center;\n\t",'\n\t\t<div style="\n\t\t\tbackground: var(--solomei-color-card, white);\n\t\t\tborder: 1px solid var(--solomei-color-border, #e5e5e5);\n\t\t\tborder-radius: var(--solomei-radius-lg, 10px);\n\t\t\tpadding: 10px;\n\t\t\tmargin-bottom: 8px;\n\t\t">\n\t\t\t<div style="\n\t\t\t\tdisplay: flex;\n\t\t\t\tjustify-content: space-between;\n\t\t\t\talign-items: center;\n\t\t\t\tmargin-bottom: 8px;\n\t\t\t\tpadding-bottom: 8px;\n\t\t\t\tborder-bottom: 1px solid var(--solomei-color-border, #e5e5e5);\n\t\t\t">\n\t\t\t\t<div style="\n\t\t\t\t\tfont-weight: var(--solomei-font-weight-semibold, 600);\n\t\t\t\t\tcolor: var(--solomei-color-foreground, #212121);\n\t\t\t\t\tfont-size: 13px;\n\t\t\t\t">',"auto","div","1569290aYKvHj","setAttribute","46HLUZnP","map","min","width","ignore","shift","\n\t\tpadding: 12px 24px;\n\t\tbackground: var(--solomei-color-primary-button-background, #262626);\n\t\tcolor: var(--solomei-color-primary-button-color, white);\n\t\tborder: none;\n\t\tborder-radius: var(--solomei-radius-button, 20px);\n\t\tfont-size: 14px;\n\t\tfont-weight: var(--solomei-font-weight-semibold, 600);\n\t\tcursor: pointer;\n\t\tbox-shadow: var(--solomei-shadow-box, 0 2px 10px rgba(0, 0, 0, 0.15));\n\t","getBoundingClientRect","122731juKesM","bbox","target","addEventListener","none",'" \n\t\t\t\t\t\tclass="intent-debug-screenshot" \n\t\t\t\t\t\tstyle="\n\t\t\t\t\t\t\twidth: 100%;\n\t\t\t\t\t\t\tborder-radius: var(--solomei-radius-sm, 6px);\n\t\t\t\t\t\t\tborder: 1px solid var(--solomei-color-border, #e5e5e5);\n\t\t\t\t\t\t\tcursor: pointer;\n\t\t\t\t\t\t" \n\t\t\t\t\t\ttitle="Click to view fullscreen"/>\n\t\t\t\t\t<div style="\n\t\t\t\t\t\tcolor: var(--solomei-color-text-secondary, #979797);\n\t\t\t\t\t\tfont-size: 11px;\n\t\t\t\t\t\tmargin-top: 4px;\n\t\t\t\t\t">Screenshot (~',"intent-debug-fullscreen-modal","getItem","undefined","toLocaleTimeString","#intent-debug-header","400px","11474jghnOW","src","html","</pre>\n\t\t\t\t\t","22088KlztJY","18128nCwGsB","stringify","props","randomUUID","mousemove","function","random","DOMContentLoaded","Escape","tagName","200px","right","style","\n\t\tmax-width: 95%;\n\t\tmax-height: 95%;\n\t\tdisplay: flex;\n\t\tflex-direction: column;\n\t\talign-items: center;\n\t","3925196DDAoyR","</pre>\n\t\t\t\t</div>\n\t\t\t</details>\n\t\t</div>\n\t","</div>\n\t\t\t</div>\n\t\t\t","\n\t\tmax-width: 100%;\n\t\tmax-height: calc(95vh - 60px);\n\t\tborder-radius: var(--solomei-radius-lg, 10px);\n\t\tbox-shadow: var(--solomei-shadow-box, 0 2px 10px rgba(0, 0, 0, 0.2));\n\t","left","innerWidth","round","click","button","timestamp",'\n\t\t<div id="intent-debug-panel" data-intent-redact="ignore" style="\n\t\t\tposition: fixed;\n\t\t\ttop: 20px;\n\t\t\tright: 20px;\n\t\t\twidth: 400px;\n\t\t\tmax-height: 80vh;\n\t\t\tbackground: var(--solomei-color-background, white);\n\t\t\tborder: 1px solid var(--solomei-color-border, #e5e5e5);\n\t\t\tborder-radius: var(--solomei-radius-lg, 10px);\n\t\t\tbox-shadow: var(--solomei-shadow-box, 0 2px 10px rgba(0, 0, 0, 0.15));\n\t\t\tz-index: 2147483647;\n\t\t\tfont-family: var(--solomei-font-primary, -apple-system, BlinkMacSystemFont, \'Segoe UI\', sans-serif);\n\t\t\tfont-size: var(--solomei-font-size-base, 15px);\n\t\t\tdisplay: flex;\n\t\t\tflex-direction: column;\n\t\t">\n\t\t\t<div id="intent-debug-header" style="\n\t\t\t\tbackground: var(--solomei-color-primary, #262626);\n\t\t\t\tcolor: var(--solomei-color-primary-foreground, white);\n\t\t\t\tpadding: 12px 15px;\n\t\t\t\tborder-radius: var(--solomei-radius-lg, 10px) var(--solomei-radius-lg, 10px) 0 0;\n\t\t\t\tcursor: move;\n\t\t\t\tdisplay: flex;\n\t\t\t\tjustify-content: space-between;\n\t\t\t\talign-items: center;\n\t\t\t\tuser-select: none;\n\t\t\t">\n\t\t\t\t<div style="font-weight: var(--solomei-font-weight-semibold, 600); font-size: 14px;">Intent SDK Debug</div>\n\t\t\t\t<div style="display: flex; gap: 8px;">\n\t\t\t\t\t<button id="intent-debug-minimize" style="\n\t\t\t\t\t\tbackground: transparent;\n\t\t\t\t\t\tborder: 1px solid var(--solomei-color-primary-foreground, white);\n\t\t\t\t\t\tcolor: var(--solomei-color-primary-foreground, white);\n\t\t\t\t\t\twidth: 24px;\n\t\t\t\t\t\theight: 24px;\n\t\t\t\t\t\tborder-radius: var(--solomei-radius-sm, 4px);\n\t\t\t\t\t\tcursor: pointer;\n\t\t\t\t\t\tfont-size: 16px;\n\t\t\t\t\t\tdisplay: flex;\n\t\t\t\t\t\talign-items: center;\n\t\t\t\t\t\tjustify-content: center;\n\t\t\t\t\t\tpadding: 0;\n\t\t\t\t\t">−</button>\n\t\t\t\t\t<button id="intent-debug-close" style="\n\t\t\t\t\t\tbackground: transparent;\n\t\t\t\t\t\tborder: 1px solid var(--solomei-color-primary-foreground, white);\n\t\t\t\t\t\tcolor: var(--solomei-color-primary-foreground, white);\n\t\t\t\t\t\twidth: 24px;\n\t\t\t\t\t\theight: 24px;\n\t\t\t\t\t\tborder-radius: var(--solomei-radius-sm, 4px);\n\t\t\t\t\t\tcursor: pointer;\n\t\t\t\t\t\tfont-size: 16px;\n\t\t\t\t\t\tdisplay: flex;\n\t\t\t\t\t\talign-items: center;\n\t\t\t\t\t\tjustify-content: center;\n\t\t\t\t\t\tpadding: 0;\n\t\t\t\t\t">×</button>\n\t\t\t\t</div>\n\t\t\t</div>\n\t\t\t<div id="intent-debug-content" style="\n\t\t\t\tdisplay: flex;\n\t\t\t\tflex-direction: column;\n\t\t\t\toverflow: hidden;\n\t\t\t\tflex: 1;\n\t\t\t">\n\t\t\t\t<div style="\n\t\t\t\t\tpadding: 12px 15px;\n\t\t\t\t\tborder-bottom: 1px solid var(--solomei-color-border, #e5e5e5);\n\t\t\t\t\tbackground: var(--solomei-color-background, white);\n\t\t\t\t">\n\t\t\t\t\t<div style="font-weight: var(--solomei-font-weight-semibold, 600); color: var(--solomei-color-foreground, #212121); margin-bottom: 8px;">Event Log</div>\n\t\t\t\t\t<div style="display: flex; gap: 8px; align-items: center;">\n\t\t\t\t\t\t<button id="intent-debug-clear" style="\n\t\t\t\t\t\t\tbackground: var(--solomei-color-primary, #262626);\n\t\t\t\t\t\t\tcolor: var(--solomei-color-primary-foreground, white);\n\t\t\t\t\t\t\tborder: none;\n\t\t\t\t\t\t\tpadding: 6px 12px;\n\t\t\t\t\t\t\tborder-radius: var(--solomei-radius-button, 20px);\n\t\t\t\t\t\t\tcursor: pointer;\n\t\t\t\t\t\t\tfont-size: 12px;\n\t\t\t\t\t\t\tfont-weight: var(--solomei-font-weight-regular, 500);\n\t\t\t\t\t\t">Clear</button>\n\t\t\t\t\t\t<span id="intent-debug-count" style="color: var(--solomei-color-text-secondary, #979797); font-size: 12px;">0 events</span>\n\t\t\t\t\t</div>\n\t\t\t\t</div>\n\t\t\t\t<div id="intent-debug-events" style="\n\t\t\t\t\tflex: 1;\n\t\t\t\t\toverflow-y: auto;\n\t\t\t\t\tpadding: 10px;\n\t\t\t\t">\n\t\t\t\t\t<div style="color: var(--solomei-color-muted-foreground, #979797); text-align: center; padding: 20px;">\n\t\t\t\t\t\tNo events captured yet. Interact with the page to see events.\n\t\t\t\t\t</div>\n\t\t\t\t</div>\n\t\t\t</div>\n\t\t</div>\n\t',"event","114yehzhW","#intent-debug-clear","setItem",'</div>\n\t\t\t\t<div style="\n\t\t\t\t\tcolor: var(--solomei-color-text-secondary, #979797);\n\t\t\t\t\tfont-size: 11px;\n\t\t\t\t">',"#intent-debug-close","clientY",'\n\t\t\t\t<div style="margin-bottom: 8px;">\n\t\t\t\t\t<img src="',"max","cssText","top","key","#intent-debug-count","now","flex"," KB)</div>\n\t\t\t\t</div>\n\t\t\t","4650910qTMuZZ","693bAOFAm","data-intent-redact","clientX","preventDefault","\n\t\tposition: fixed;\n\t\ttop: 0;\n\t\tleft: 0;\n\t\twidth: 100%;\n\t\theight: 100%;\n\t\tbackground: rgba(0, 0, 0, 0.95);\n\t\tz-index: 2147483646;\n\t\tdisplay: flex;\n\t\talign-items: center;\n\t\tjustify-content: center;\n\t\tcursor: zoom-out;\n\t","contains","classList","enabled","querySelector","firstElementChild","offsetWidth","innerHeight","display",'\n\t\t\t<div style="color: var(--solomei-color-muted-foreground, #979797); text-align: center; padding: 20px;">\n\t\t\t\tNo events captured yet. Interact with the page to see events.\n\t\t\t</div>\n\t\t',"#intent-debug-minimize","keydown","createElement","0 events","body","length","img","mouseup"];return(gt=()=>t)()}function ht(t,e){return t-=415,vt()[t]}function vt(){var t=["1464178WImnFk","543miCaFS","27eXcqul","70248zADesj","setDebugPanel","38920bTpGTB","[Intent SDK] Debug panel is not available in this build. ","215745PofYgZ","777874mSKgZM","undefined","1647110gHTvkE","942kdeErH","55ibxJHB","9220QVERmm","warn","Use the debug build variant: @solomei-ai/intent/debug or intent.debug.umd.min.js"];return(vt=()=>t)()}"undefined"!=typeof window&&pt()&&("loading"===document.readyState?document.addEventListener(st(137),()=>{ft()}):ft()),Symbol,(()=>{for(var t=ht,e=vt();;)try{if(534225==-parseInt(t(418))/1+-parseInt(t(426))/2+-parseInt(t(427))/3*(-parseInt(t(423))/4)+-parseInt(t(417))/5+-parseInt(t(421))/6*(-parseInt(t(415))/7)+parseInt(t(429))/8*(-parseInt(t(428))/9)+parseInt(t(420))/10*(parseInt(t(422))/11))break;e.push(e.shift())}catch(t){e.push(e.shift())}})();const bt=Lt;function yt(){const t=["getBoundingClientRect","length","TEXTAREA","[onclick]","Enter","aria-label","stringify","INPUT","isSecureContext","__intent__sdk__initialized__","hasAttribute","toFixed","pixel body fallback failed","toDataURL",'input[type="button"]',"3953950zWfWSc","bottom","lat","join","img","title","[Timing] html2canvas-pro: ","right","key","4301088naxmNI","CONTENTEDITABLE","289710pszljk","forEach","load","device","POST","innerHeight","newline","blur","scrollY","bbox","scroll","textContent","contenteditable",'[role="button"]',"getItem","intent","page-blur","84vlOARh","a[href]","139395EQXcIr","image/jpeg","/p.gif","height","defineProperty","input, textarea, select, [data-intent-redact]","application/json","442662BsHVqi","body","now","referrer","addEventListener","page-focus","hidden","SELECT","click","name","no-store","attributes","closest","target","fixed","href","input-submit","[Timing] jpeg-encoding: ","storage","getAttribute","querySelector","setAttribute","/events","focus","width","38320Bdlzlh","top","dataset","html","omit","hostname","visibilitychange","outerHTML","keydown","hasFocus","57ILmUMT","trim","toLowerCase","329340KjMBoJ","value",'[role="link"]',"scrollX","cloneNode","innerWidth","granted","left","14wAxLuG","tagName","from","pointerdown","pageview","<no visible label>","x-sl-access-token","intentEnter","x-intent-sid","data-intent-redact","innerHTML"];return(yt=()=>t)()}(()=>{const t=Lt,e=yt();for(;;)try{if(577636==parseInt(t(246))/1+-parseInt(t(233))/2*(parseInt(t(243))/3)+parseInt(t(199))/4*(parseInt(t(201))/5)+-parseInt(t(208))/6*(parseInt(t(145))/7)+parseInt(t(180))/8+parseInt(t(182))/9+-parseInt(t(171))/10)break;e.push(e.shift())}catch(t){e.push(e.shift())}})();let wt,xt,It=0,St=!1;const kt=bt(165),Et=["button",bt(200),"a",'input[type="submit"]',bt(170),bt(195),bt(139),bt(159)][bt(174)](",");function Tt(){return _(),(()=>{const t=bt;return localStorage.getItem(a)===t(143)})()&&Boolean(q())&&(()=>{const t=bt;return Boolean(localStorage.getItem(u)?.trim()[t(157)])})()}function Ct(){return!Tt()||$}async function Mt(e){for(;xt;)await xt;return xt=(async()=>{const n=Lt;try{const o=performance.now(),r=performance.now(),i=(t=>{const e=bt;if(B(t))return"";const n=t[e(141)](!1);return Array[e(147)](t[e(219)]).forEach(({name:t,value:o})=>{n[e(229)](t,o)}),I(t)?I(n)&&(n[e(138)]=t[e(138)]):k(t)?n[e(155)]=t[e(155)]:n[e(193)]=t.textContent,R(n),I(n)&&n.setAttribute(e(138),n.value),n[e(240)]})(e);y("[Timing] serialize: "+(performance[n(210)]()-r)[n(167)](2)+"ms");const a=e[n(156)](),s=performance.now(),c={left:window[n(140)],top:window.scrollY,right:window[n(140)]+window[n(142)],bottom:window.scrollY+window[n(187)]},d=await t(document[n(209)],{useCORS:!0,x:window[n(140)],y:window[n(190)],width:window[n(142)],height:window[n(187)],scale:.6,logging:!1,onclone(t){R(t)},ignoreElements(t){const e=n;if(!(t instanceof Element))return!1;if(U(t))return!0;const o=t.getBoundingClientRect(),r={left:o[e(144)]+window[e(140)],top:o[e(234)]+window[e(190)],right:o[e(178)]+window[e(140)],bottom:o[e(172)]+window[e(190)]},i=100;if(!(r[e(178)]<c[e(144)]-i||r.left>c[e(178)]+i||r[e(172)]<c[e(234)]-i||r[e(234)]>c[e(172)]+i))return!1;if(t.tagName===e(163)||t.tagName===e(158)||t[e(146)]===e(215)||t[e(166)](e(154))||t[e(228)](e(206)))return!1;const a=window.getComputedStyle(t),{position:s}=a;if(s===e(222)||"absolute"===s){const t=500;return r[e(178)]<c[e(144)]-t||r[e(144)]>c[e(178)]+t||r[e(172)]<c.top-t||r[e(234)]>c[e(172)]+t}return!0}}),l=performance[n(210)]()-s;y(n(177)+l[n(167)](2)+"ms");const u=performance[n(210)](),p=d[n(169)](n(202),.8),m=performance[n(210)]()-u;y(n(225)+m[n(167)](2)+"ms");return y("[Timing] capture-total: "+(performance[n(210)]()-o)[n(167)](2)+"ms"),{html:i,bbox:{x:a.x,y:a.y,w:a[n(232)],h:a[n(204)]},img:p,fullCanvas:d}}finally{xt=void 0}})(),xt}function At(){const t=bt,e=localStorage[t(196)](u),n={"Content-Type":t(207)};e&&(n[t(151)]=e);const o=q();return o&&(n[t(153)]=o),n}function Lt(t,e){return t-=138,yt()[t]}async function Dt(t,e,n,o){const r=bt;if(!Tt())return;const i={...e,localTime:(new Date).toISOString()};k(n)&&(i[r(138)]=W(n)?D(n):(t=>{const e=b;if(I(t))return t.value;const n=t[e(408)];return typeof n===e(426)?n:t[e(415)]??""})(n));let a="",s={x:0,y:0,w:0,h:0},c="";const d=!(t===r(192)||t===r(198)||t===r(213)),l=Date[r(210)](),p=l-It>=0;let f=o;const g=t===r(216)||"input-submit"===t||t===r(149);d&&(g&&!f||!f&&p)&&(f=await Mt(n),It=l),f&&(a=f[r(236)],s=f[r(191)],c=f[r(175)]);const v="page-blur"===t||t===r(213)||"pageview"===t,y={ts:Date.now(),event:t,props:i,html:v?"":a,bbox:s,img:c};await async function(t){const e=bt,n=(localStorage.getItem(m)??h)+e(230),o=localStorage[e(196)](u)??void 0,r=JSON[e(162)]({...t,clientId:o});try{if((await fetch(n,{method:e(186),headers:At(),body:r,keepalive:!0,credentials:e(237)})).ok)return}catch{}try{await(async t=>{const e=bt,n=(localStorage[e(196)](m)??h)+e(203);if(!(await fetch(n,{method:e(186),headers:At(),body:JSON[e(162)](t),keepalive:!0,credentials:e(237),cache:e(218)})).ok)throw new Error(e(168))})(t)}catch{}}(y)}async function zt(t={}){const e=bt;if(!Tt())return;const n="number"==typeof t[e(173)]&&"number"==typeof t.lon;if(n&&Q)return;if(!n&&St)return;const o=localStorage[e(196)](p),i={context:await r()};o&&(i.ip=o);for(const[e,n]of Object.entries(t))i[e]=n;await Dt("context",i,document[e(209)],{html:"",bbox:{x:0,y:0,w:0,h:0},img:""}),!n&&(St=!0)}async function Bt(){await(async(t,e)=>{const n=rt,o={canRequest:e(),geoEnabled:ot(),deviceGeoSent:Q};if(!o.canRequest||!o.geoEnabled||o[n(260)])return;if(!("geolocation"in navigator))return;if(et)return;et=!0,$=!0;const r={enableHighAccuracy:!1,maximumAge:3e5,timeout:2e4};try{await(navigator.permissions?.[n(270)]({name:n(235)}))}catch(t){}await new Promise(t=>{let e=!1;const o=async(n,o,r)=>{const i=rt;e||(e=!0,Number[i(245)](n)&&Number[i(245)](o)&&(await(async(t,e,n)=>{const o=Lt;await zt({lat:t,lon:e,source:o(185),...n})})(n,o,r),Q=!0),et=!1,$=!1,nt=!0,t())};navigator[n(235)].getCurrentPosition(t=>{const e=rt,n=t[e(239)];o(n[e(266)],n[e(265)],{accuracy:n.accuracy,altitude:typeof n.altitude===e(244)?n[e(249)]:void 0,altitudeAccuracy:"number"==typeof n[e(255)]?n[e(255)]:void 0,heading:typeof n.heading===e(244)?n.heading:void 0,speed:typeof n[e(272)]===e(244)?n.speed:void 0,timestamp:t[e(254)],visibility:document[e(269)],focused:document[e(267)]()})},t=>{const e=rt,n=t?.[e(261)],r={error:{code:n,name:1===n?"PERMISSION_DENIED":2===n?e(236):3===n?e(268):"UNKNOWN",message:t?.message??""},online:navigator[e(247)],visibility:document[e(269)],focused:document[e(267)](),secure:window[e(246)],proto:location[e(238)],host:location[e(253)]};o(void 0,void 0,r)},r)})})(0,Tt)}function Nt(){(t=>{const e=rt;if(tt||!ot()||Q)return;tt=!0;const n=()=>{const e=rt;window[e(240)](e(237),n,!0),window[e(240)](e(243),n,!0),t()};window[e(257)]("pointerdown",n,!0),window[e(257)](e(243),n,!0)})(Bt)}_();let jt=!document[bt(214)]&&document[bt(242)](),Pt=document[bt(242)]();function Ut(){const t=bt;if(Ct())return;const e=!document.hidden&&document.hasFocus();e&&(Pt=!0),Pt||e?e!==jt&&(jt=e,Dt(t(e?213:198),{},document[t(209)])):jt=e}function Ot(){const t=bt;(()=>{const t=globalThis;return!t[kt]&&(Object[bt(205)](t,kt,{value:!0,configurable:!1,enumerable:!1,writable:!1}),!0)})()&&(window.addEventListener(t(184),()=>{const e=t;Tt()&&(zt(),(window[e(164)]||"localhost"===location[e(238)])&&(ot()&&Nt(),window[e(212)](e(231),()=>{at()&&Bt()}),document[e(212)](e(239),()=>{!document[e(214)]&&at()&&Bt()})))}),window[t(212)](t(226),e=>{const n=t;e[n(179)]===a&&("granted"===localStorage[bt(196)](a)?(St=!1,zt(),ot()&&Nt()):(St=!1,it())),e[n(179)]===s&&(ot()?Nt():it())}),window[t(212)](t(184),()=>{const e=t;Tt()&&Dt(e(149),{url:window.location[e(223)],title:document[e(176)],ref:document[e(211)]},document[e(209)])}),addEventListener(t(148),(()=>{let e=0;return(...n)=>{const o=Date[S(451)]();o-e>=50&&(e=o,(e=>{const n=t;if(Ct())return;const o=e[n(221)]instanceof Element?e.target.closest(Et):null;o instanceof HTMLElement&&(wt=Mt(o))})(...n))}})(),{capture:!0,passive:!0}),addEventListener(t(216),async e=>{const n=t;if(Ct())return;if(!(e.target instanceof Element))return;const o=e[n(221)][n(220)](Et);if(!(o instanceof HTMLElement))return;const r=(t=>{const e=bt,n=t[e(227)](e(161))?.[e(244)]();if(n)return n;const o=t.title[e(244)]();if(o)return o;const r=t[e(193)]?.[e(244)]();return r||e(150)})(o);(async()=>{const t=n,e=wt?await wt:void 0;wt=void 0,Dt("click",{tag:o[t(146)],label:r},o,e)})()},!0),addEventListener(t(241),e=>{const n=t;if(!Ct()&&e[n(179)]===n(160)){const t=e[n(221)];if(!(t instanceof HTMLElement))return;const o=t[n(146)];if("INPUT"===o||o===n(158)){const e=t instanceof HTMLInputElement?t[n(217)]:void 0,r=t.id||void 0;Dt(n(224),{tag:o,name:e??r},t)}else if(k(t)){const e=(t=>{const e=b;let n=t;for(;n&&n!==document[e(419)];){const t=n[e(409)]("contenteditable");if(t===e(407)||""===t||t===e(435))return n;n=n[e(439)]}return null})(t)??t;if(e[n(235)][n(152)]===n(188))return;const o=e[n(227)]("role")?.[n(245)](),r=e.id||void 0,i=e[n(227)](n(217))||e.getAttribute(n(161))||r;Dt(n(224),{tag:n(181),role:o??n(194),name:i},e)}}},{capture:!0}),[t(231),t(189)][t(183)](e=>{window[t(212)](e,Ut)}),document[t(212)](t(239),Ut),window[t(212)]("scroll",(()=>{let e;return(...n)=>{const o=S;void 0!==e&&window[o(450)](e),e=window[o(421)](()=>{e=void 0,(()=>{const e=t;Ct()||Dt("scroll",{scrollX:window[e(140)],scrollY:window.scrollY},document[e(209)])})(...n)},250)}})(),{passive:!0}),window[t(197)]??={send(e,n){const o=t;Tt()&&Dt(e,n,document[o(209)])}})}function Wt(t,e){const n=Jt;try{if(void 0===e)return;localStorage[n(434)](t,e?t===n(418)?n(437):n(441):n(421))}catch{}}function Ft(t){Wt(Jt(418),t)}function Ht(t){Wt(Jt(420),t)}function Rt(t){Wt(Jt(450),t)}function Kt(t){}function Jt(t,e){return t-=415,Gt()[t]}function qt(t={}){const e=Jt;localStorage[e(434)]("intent:data-client-id",t[e(427)]??""),localStorage.setItem(e(416),t.ip??""),localStorage[e(434)]("intent:data-base-url",t.baseUrl??e(431)),typeof t.sidMaxAgeSeconds===e(440)&&localStorage[e(434)]("intent:data-sid-max-age",String(t[e(417)])),Wt(e(418),t[e(429)]),Wt(e(420),t[e(428)]),Wt(e(450),t[e(447)]),void 0!==t[e(443)]&&e(443),t.consent&&(Y(e(435))||V("undefined"!=typeof crypto&&typeof crypto.randomUUID===e(445)?crypto[e(423)]():Date[e(448)]()+"-"+Math[e(442)](),t.sidMaxAgeSeconds)),Ot()}function Yt(){return Y("intent_sid")}function Vt(){_()}function Xt(){G()}function Gt(){const t=["It exposes internal SDK behavior and should only be used during development.","intent:debug","495658asAmCV","intent:data-ip","sidMaxAgeSeconds","intent:consent","5MJMuep","intent:geo","disabled","1879196zQQzLO","randomUUID","isFinite","270552WvHbvW","undefined","clientId","geo","consent","1214622vTqsWz","https://intent.callimacus.ai","6xPyIoq","intent:data-sid-max-age","setItem","intent_sid","91xcYxAQ","granted","15915100jSMcCe","warn","number","enabled","random","debugPanel","250028BeaHwW","function","3134124BnivzZ","debug","now"];return(Gt=()=>t)()}function _t(t){const e=Jt;Number[e(424)](t)&&localStorage[e(434)](e(433),String(t));const n=Y(e(435));n&&V(n,t)}(()=>{const t=Jt,e=Gt();for(;;)try{if(264999==-parseInt(t(415))/1+parseInt(t(444))/2*(-parseInt(t(432))/3)+-parseInt(t(422))/4*(parseInt(t(419))/5)+-parseInt(t(430))/6+-parseInt(t(436))/7*(-parseInt(t(425))/8)+-parseInt(t(446))/9+parseInt(t(438))/10)break;e.push(e.shift())}catch(t){e.push(e.shift())}})();export{Xt as clearIntentSessionId,Vt as ensureIntentSessionId,Yt as getIntentSessionId,qt as initIntent,Ft as setConsent,Rt as setDebug,Kt as setDebugPanel,Wt as setFlag,Ht as setGeo,_t as setIntentSessionMaxAge};
|
|
4
|
+
import t from"html2canvas-pro";import e from"js-cookie";function n(){const t=["length","saveData","find","mobile","UA brands: ","34628VuzkZj","referrer","doNotTrack","Network: ","isSecureContext","unknown","userAgent","hardwareConcurrency","Pointer/Touch: ","getEntriesByType","Online: ","(pointer: fine)","brand","toString","max","floor","filter","undefined","userAgentData",", orientation ","upright","rttMs","addEventListener","7091wrgtTs","(display-mode: standalone)","height","toFixed","level","inferred","834mmBXXo","requestStart","transferSize","responseStart","4383595AsFKjG","colorDepth","resource","maxTouchPoints","x (avail ","abs","browser API","type","n/a","CPU: ","9pbvaJK","Viewport: ","timeZone","effectiveType"," ms","connection"," | ","Timezone: ","controller","rtt","removeEventListener","some","number","isArray","round","492QTnmUN","charging","Platform: ","startsWith","innerHeight","encodedBodySize","no SW","matches","brands","Referrer: ","DeviceOrientationEvent","navigation","padStart","push","serviceWorker","flat","Device geolocation: disabled","Battery: ","deviceorientation","platform","downlink","; DNT: ","SW-controlled","orientation","7893688bImINZ","join","isFinite","languages","entryType","PWA: ","TTFB ~","coarse","25389360bDkHPb","function","downlinkMbps","1558154FfFKlF","onLine","getBattery","-bit)","enabled","gamma","Languages: ","868466xDjUAH","reclined","language"," (mobile)","TTFB","getTimezoneOffset"," Mbps"," (β ","availHeight","slice","resolvedOptions","fine","intent:geo","Language: ","yes"];return(n=()=>t)()}function o(t,e){return t-=286,n()[t]}async function r(){const t=o,e=(new Intl.DateTimeFormat)[t(382)]()[t(317)],n=(t=>{const e=o,n=t<=0?"+":"-",r=Math[e(310)](t);return""+n+String(Math[e(287)](r/60)).padStart(2,"0")+":"+String(r%60)[e(342)](2,"0")})((new Date)[t(377)]()),r=[];r[t(343)](t(385)+navigator[t(374)]),navigator[t(357)]?.[t(387)]&&r.push(t(371)+navigator[t(357)][t(355)](", ")),r[t(343)]("User agent: "+navigator[t(398)]);const i=function(){const t=o;if(!(t=>{const e=o;return e(290)in t&&typeof t[e(290)]!==e(289)})(navigator))return;const e=navigator.userAgentData,n=Array[t(328)](e.brands)?e[t(338)].map(e=>e[t(404)]+" "+e.version).join(", "):void 0,r=e[t(349)]?""+e[t(349)]+(e[t(390)]?t(375):""):void 0;return[n&&t(391)+n,r&&t(332)+r][t(288)](Boolean)[t(355)](t(321))||void 0}();i&&r[t(343)](i),r.push(t(322)+e+" (UTC"+n+")"),r[t(343)]("Local time: "+(new Date)[t(405)]());const a=window.devicePixelRatio||1;r[t(343)]("Screen: "+screen.width+"x"+screen[t(297)]+" @"+a+t(309)+screen.availWidth+"x"+screen[t(380)]+", "+screen[t(306)]+t(368));const s=screen.orientation&&t(312)in screen.orientation?screen[t(353)].type:void 0;r.push(t(316)+window.innerWidth+"x"+window[t(334)]+(s?t(291)+s:"")),r[t(343)](t(314)+navigator[t(399)]+" cores");const c=await async function(){const t=o,e=[];let n=t(311);if((t=>{const e=o;return e(320)in t&&typeof t[e(320)]!==e(289)})(navigator)){const n=navigator[t(320)];n?.[t(318)]&&e[t(343)](n.effectiveType),typeof n?.[t(350)]===t(327)&&e[t(343)]("~"+n.downlink+" Mbps"),typeof n?.[t(324)]===t(327)&&e.push(n[t(324)]+t(319)),n?.[t(388)]&&e.push(t(388))}else{const r=((t=20)=>{const e=o,n=performance[e(401)](e(341))[e(389)](t=>"navigation"===t.entryType),r=n?Math[e(286)](0,n.responseStart-n[e(302)]):void 0,i=performance[e(401)](e(307)).filter(t=>"resource"===t[e(358)]);let a=0,s=0;for(const n of i[e(381)](0,Math.max(0,t))){const t=n[e(335)]>0?n.encodedBodySize:n[e(303)]>0?n.transferSize:0,o=n.duration;t>0&&o>0&&Number[e(356)](o)&&(a+=t,s+=o)}const c=s>0?8*a/s:void 0;return{downlinkMbps:"number"==typeof c?c/1e3:void 0,rttMs:r}})();typeof r[t(364)]===t(327)&&e.push("~"+r[t(364)][t(298)](1)+t(378)),typeof r[t(293)]===t(327)&&e.push(t(360)+Math[t(329)](r[t(293)])+t(319)),n=t(300)}const r=performance.getEntriesByType(t(341)).find(e=>e.entryType===t(341));if(r){const n=Math.max(0,r[t(304)]-r[t(302)]);!e[t(326)](e=>e[t(333)](t(376)))&&e[t(343)](t(360)+Math.round(n)+t(319))}return e[t(387)]?t(395)+e.join(", ")+" ("+n+")":void 0}();c&&r[t(343)](c),r[t(343)]((()=>{const t=o,e=typeof matchMedia===t(363)&&matchMedia("(pointer: coarse)")[t(337)],n="function"==typeof matchMedia&&matchMedia(t(403))[t(337)],r=t(e?361:n?383:397),i=navigator[t(308)];return t(400)+r+", maxTouchPoints "+i})());const d=await async function(){const t=o;if((t=>{const e=o;return e(367)in t&&typeof t.getBattery===e(363)})(navigator))try{const e=await navigator[t(367)](),n=Math[t(329)](100*e[t(299)]),o=[(Number[t(356)](n)?n:0)+"%",e[t(331)]?t(331):"not charging"];return t(347)+o[t(355)](", ")}catch{}}();d&&r[t(343)](d),r[t(343)]("CookiesEnabled: "+(navigator.cookieEnabled?t(386):"no")+t(351)+(navigator[t(394)]??t(313))),r.push(t(402)+(navigator[t(366)]?"yes":"no")),document[t(393)]&&r[t(343)](t(339)+document[t(393)]),r[t(343)]((()=>{const t=o,e="function"==typeof matchMedia&&matchMedia(t(296))[t(337)],n=Boolean(navigator[t(344)]?.[t(323)]);return t(359)+t(n?352:336)+", display-mode standalone: "+(e?"yes":"no")})());const l=await async function(t=400){const e=o;if(e(340)in window&&window[e(396)])return new Promise(n=>{const r=e;let i=!1;const a=t=>{const e=o,r=typeof t.beta===e(327)?t.beta:void 0,s="number"==typeof t.gamma?t[e(370)]:void 0;if(void 0===r||void 0===s)return;if(i)return;i=!0,window[e(325)]("deviceorientation",a);const c=((t,e)=>{const n=o,r=Math[n(310)](t),i=Math[n(310)](e);return n(r<15&&i<15?345:r>=60?292:373)})(r,s);n("Tilt: "+c+e(379)+Math[e(329)](r)+"°, γ "+Math[e(329)](s)+"°)")};window.setTimeout(()=>{i||(i=!0,window[o(325)]("deviceorientation",a),n(void 0))},t),window[r(294)](r(348),a,{passive:!0})})}();l&&r[t(343)](l);const u=localStorage.getItem(t(384))===t(369);return r[t(343)](u?"Device geolocation: enabled":t(346)),r.join(t(321))}(()=>{const t=o,e=n();for(;;)try{if(998984==-parseInt(t(372))/1+parseInt(t(365))/2+-parseInt(t(330))/3*(parseInt(t(392))/4)+-parseInt(t(305))/5+-parseInt(t(301))/6*(parseInt(t(295))/7)+parseInt(t(354))/8*(parseInt(t(315))/9)+parseInt(t(362))/10)break;e.push(e.shift())}catch(t){e.push(e.shift())}})();const i=a;function a(t,e){return t-=167,m()[t]}(()=>{const t=a,e=m();for(;;)try{if(614095==parseInt(t(181))/1*(parseInt(t(179))/2)+-parseInt(t(169))/3+parseInt(t(174))/4+-parseInt(t(168))/5+-parseInt(t(178))/6*(parseInt(t(177))/7)+parseInt(t(171))/8+parseInt(t(184))/9*(parseInt(t(182))/10))break;e.push(e.shift())}catch(t){e.push(e.shift())}})();const s=i(176),c=i(175),d=i(180),l=i(183),u=i(167),p=i(172);function m(){const t=["intent:data-sid-max-age","4200160agHKiI","intent:data-ip","https://intent.callimacus.ai","1483532pUHRpg","intent:geo","intent:consent","203EzPhGg","158466YfQnIU","61922oeXJqk","intent:debug","34NtIrsN","6606220aYdEqE","intent:debug-panel","9tnGMkS","intent:data-client-id","2824745oDPAEB","1992708qWpzsK"];return(m=()=>t)()}const f="intent:data-base-url",g=i(170),h=i(173);function b(t,e){return t-=428,x()[t]}const v=b;function y(...t){const e=b;try{"undefined"!=typeof localStorage&&"enabled"===localStorage[e(468)](d)&&console.log(...t)}catch{}}(()=>{const t=b,e=x();for(;;)try{if(775151==-parseInt(t(429))/1+parseInt(t(448))/2*(parseInt(t(463))/3)+parseInt(t(461))/4*(parseInt(t(442))/5)+parseInt(t(451))/6*(-parseInt(t(454))/7)+parseInt(t(443))/8+parseInt(t(470))/9*(-parseInt(t(430))/10)+parseInt(t(447))/11)break;e.push(e.shift())}catch(t){e.push(e.shift())}})();const w=Object[v(450)](new Set([v(455),"combobox",v(467)]));function x(){const t=['[role="',"toLowerCase","value",""","&",">","SELECT","65GeyXLC","1323912NPEpaK","join","TEXTAREA","input","16026340uFtQgZ","2798150SBVceZ","textContent","freeze","624rJRLmj","'","INPUT","82117lbzDym","textbox","parentElement","has","textarea","tagName","plaintext-only","390752wqGhcR","map","3bcWrUj","innerText","getAttribute","body","searchbox","getItem","select","549vxITfC","contenteditable","clearTimeout","1184670dFzRzD","182230CGwRLo","host","<","true","replace"];return(x=()=>t)()}const I=[v(446),v(458),v(469),"[contenteditable]",...[...w][v(462)](t=>v(435)+t+'"]')][v(444)](", ");function S(t){const e=v,n=t[e(459)];return n===e(453)||n===e(445)||n===e(441)}function k(t){const e=v;if(S(t))return!0;const n=t[e(465)](e(471));if(""===n||n===e(433)||n===e(460))return!0;const o=t[e(465)]("role")?.[e(436)]();return!(!o||!w[e(457)](o))}function E(t){const e=v,n=t.parentElement;if(n)return n;const{parentNode:o}=t;return o instanceof ShadowRoot&&o[e(431)]instanceof Element?o.host:void 0}function T(t){const e=v;return t[e(434)](/&/g,e(439))[e(434)](/</g,e(432)).replace(/>/g,e(440)).replace(/"/g,e(438))[e(434)](/'/g,e(452))}const A=F;function C(){const t=["Sensitive","hasAttribute","address-level2","District","22rhAmGr","2441440pldwbo","Address line 3","Address line 1","split","push","First name","ignore","webauthn","pop","Email","given-name","Last name","time","filter","Birth year","has","includes","address-line1","contentDocument","autocomplete","searchbox","Redacted","additional-name","cc-type","280533kqdaUo","ownerDocument","cc-given-name",'. Treating as "mask" to prevent data leaks.',"bday-year","SELECT","clear","date","role","Cardholder first name","241827WePIlR","matches",". Supported values are ","Cardholder middle name","shadowRoot","trim","890PMvoyC","month","INPUT","password","nickname","iframe","cc-csc","textContent","bday","stringify","address-level4","tel","cc-family-name","cc-exp-month","IFRAME","Phone","username","Expiration date","Address line 2","Street address","cc-exp-year","107556YezMUP","1705298YVIiTx","Password","address-line3","[intent] Unsupported data-intent-redact value ","email","bday-month","getAttribute","Middle name","Cardholder name","3951MvHnZK","Birthday","Security code","5645dVugYD","add","4YSzXVj","Country name","WebAuthn","address-level1","Sex","street-address","search","some","Username","Card type","week","cc-additional-name","Birth month","mask","TEXTAREA","data-html2canvas-ignore","value","organization-title","name","932VyKZTs","datetime-local","State/Province","postal-code","address-level3","organization","address-line2","text","cc-exp","City","data-intent-redact","length","6SnzlXu","Card number","bday-day","type","sex","toLowerCase","tagName","cc-name"];return(C=()=>t)()}(()=>{const t=F,e=C();for(;;)try{if(167831==-parseInt(t(241))/1+-parseInt(t(283))/2*(-parseInt(t(231))/3)+parseInt(t(182))/4*(parseInt(t(281))/5)+parseInt(t(194))/6*(parseInt(t(269))/7)+-parseInt(t(207))/8+parseInt(t(278))/9*(parseInt(t(247))/10)+parseInt(t(206))/11*(-parseInt(t(268))/12))break;e.push(e.shift())}catch(t){e.push(e.shift())}})();const L=A(192),M=new Set([A(181),"given-name",A(229),"family-name","nickname",A(263),A(273),A(258),A(187),A(180),A(168),A(224),A(188),"address-line3",A(286),A(204),"address-level3",A(257),"country","country-name",A(185),A(201),A(233),A(174),A(259),"cc-number",A(190),A(260),"cc-exp-year",A(253),A(230),A(255),A(196),"bday-month",A(235),A(198),A(214)]);function N(t){return"<"+(t=>{const e=A,n=(t.getAttribute?.("data-intent-redact-label")??"").trim();if(n)return n;const o=t[e(275)]?.(e(226))||"",r=k(t)?o[e(199)]()[e(246)]()[e(210)](/\s+/)[e(220)](Boolean):[];if(t[e(200)]===e(249)&&t[e(197)]===e(250))return e(270);for(const t of r){const e=z.get(t);if(e)return e}const i=t.getAttribute?.(L)?.[e(199)]();return i===e(176)?e(228):e(202)})(t)+">"}const z=new Map([[A(181),"Name"],[A(217),A(212)],["family-name",A(218)],[A(229),A(276)],[A(251),"Nickname"],[A(263),A(171)],["email",A(216)],[A(258),A(262)],[A(168),A(266)],[A(224),A(209)],[A(188),A(265)],[A(271),A(208)],["address-level1",A(184)],["address-level2",A(191)],[A(186),A(205)],[A(257),"Neighborhood"],[A(185),"Postal code"],["country","Country code"],["country-name",A(284)],["cc-name",A(277)],[A(233),A(240)],[A(259),"Cardholder last name"],[A(174),A(244)],["cc-number",A(195)],["cc-exp",A(264)],[A(260),"Expiration month"],[A(267),"Expiration year"],[A(253),A(280)],[A(230),A(172)],[A(255),A(279)],[A(196),"Birth day"],[A(274),A(175)],["bday-year",A(221)],[A(187),"Organization"],[A(180),"Job title"],["sex",A(287)],[A(214),A(285)]]);function D(t){const e=A;return t[e(203)](e(178))||t[e(275)](L)?.[e(199)]()===e(213)}const P=new Set;function B(t){const e=A,n=t[e(275)](L);if(null===n)return!1;const o=n[e(199)]();return"ignore"!==o&&(""!==n&&"mask"!==o&&(t=>{const e=A;if(P[e(222)](t))return;P[e(282)](t);const n=JSON[e(256)](t),o=e(272)+n+e(243)+'"" or "mask" (redact), "ignore" (exclude from capture)'+e(234);try{console.warn(o)}catch{}})(n),!0)}function R(t){let e=t;for(;e&&e!==document.body;){if(D(e))return!0;e=E(e)}return!1}function U(t){return!(D(t)||!B(t)&&!(t=>{const e=A,n=t[e(200)];if(n===e(249)){const n=t;if(n[e(197)]===e(250))return!0;if(n[e(197)]===e(169))return!1;const o=n[e(275)]("role");if(o?.[e(199)]()===e(227))return!1;if((n[e(226)]||"").toLowerCase()[e(246)]()[e(210)](/\s+/).filter(Boolean)[e(170)](t=>M[e(222)](t)))return!0}if((n===e(177)||n===e(236))&&(t[e(226)]||"")[e(199)]()[e(246)]()[e(210)](/\s+/)[e(220)](Boolean)[e(170)](t=>M[e(222)](t)))return!0;if(k(t)&&!S(t)){const n=t.getAttribute(e(239))?.[e(199)]();if("searchbox"===n)return!1;if((t.getAttribute(e(226))||"")[e(199)]()[e(246)]().split(/\s+/).filter(Boolean).some(t=>M[e(222)](t)))return!0}return!1})(t))}function H(t){const e=A;if(!R(t))if(S(t)){if(U(t)){if(t[e(200)]===e(249)){const n=t;[e(238),e(183),e(248),e(219),e(173)][e(223)](n[e(197)])&&(n[e(197)]=e(189))}const n=N(t);t.value=n,t.setAttribute(e(179),n)}}else k(t)?U(t)&&(t[e(254)]=N(t)):t[e(203)](L)&&B(t)&&(t[e(254)]=N(t))}function j(t,e){const n=A,o=[],r=[t];for(t instanceof Element&&t.shadowRoot&&r[n(211)](t[n(245)]);r[n(193)]>0;){const t=r[n(215)]().querySelectorAll("*");for(const i of t)i[n(242)](e)&&o[n(211)](i),i[n(245)]&&r[n(211)](i.shadowRoot)}return o}function F(t,e){return t-=168,C()[t]}function O(t,e=new Set){const n=A,o=t instanceof Document?t:t[n(232)];if(o){if(e[n(222)](o))return;e[n(282)](o)}t instanceof Element&&H(t);for(const e of j(t,I))H(e);for(const e of j(t,"["+L+"]"))H(e);for(const o of j(t,n(252)))if(o[n(200)]===n(261))try{const t=o[n(225)];t&&O(t,e)}catch{}}function W(t,e){return t-=258,q()[t]}(()=>{const t=W,e=q();for(;;)try{if(807217==parseInt(t(272))/1+-parseInt(t(273))/2+-parseInt(t(270))/3+-parseInt(t(266))/4+-parseInt(t(268))/5*(-parseInt(t(260))/6)+parseInt(t(276))/7*(-parseInt(t(259))/8)+parseInt(t(267))/9)break;e.push(e.shift())}catch(t){e.push(e.shift())}})();let K="";function Y(){return K}function q(){const t=["location","8IFgIjz","846BVcAcf","intent_sid","set","granted","number","remove","4992148opjupj","23507820AapQSd","47745VuOVKu","get","4327347vOJQJu","https:","1100539RAEsaK","1167148SQbmRn","isFinite","getItem","6843557rAimEm","randomUUID"];return(q=()=>t)()}function V(t){return e[W(269)](t)}function X(t,n){const o=W,r=localStorage[o(275)](g),i=null===r?void 0:Number(r),a=typeof n===o(264)&&Number[o(274)](n)?n:"number"==typeof i&&Number[o(274)](i)?i:2592e3,s=window[o(258)].protocol===o(271);e[o(262)]("intent_sid",t,{expires:a/86400,path:"/",sameSite:"Lax",...s&&{secure:!0}})}function G(){const t=W;e[t(265)](t(261),{path:"/"})}function _(){const t=W,e=V(t(261));if(!(()=>{const t=W;return localStorage[t(275)](s)===t(263)})())return e&&G(),void(K="");e?K=e:(K=crypto[t(277)](),X(K))}(()=>{const t=rt,e=nt();for(;;)try{if(787900==-parseInt(t(198))/1+-parseInt(t(222))/2+parseInt(t(212))/3+-parseInt(t(211))/4*(parseInt(t(196))/5)+parseInt(t(218))/6+parseInt(t(201))/7+-parseInt(t(194))/8*(-parseInt(t(193))/9))break;e.push(e.shift())}catch(t){e.push(e.shift())}})();let J=!1,Q=!1,Z=!1,$=!1,tt=!1;function et(){const t=rt;return localStorage[t(192)](c)===t(209)}function nt(){const t=["protocol","POSITION_UNAVAILABLE","message","getItem","18AlDfFG","3447296ghElcz","latitude","4935395gKtIQs","isSecureContext","45763nRRevi","deviceGeoSent","altitude","739095cIYmoG","addEventListener","number","getCurrentPosition","speed","now","altitudeAccuracy","coords","enabled","keydown","4RqrhxW","4323474hOULmJ","query","hostname","geolocation","isFinite","removeEventListener","5923176zizUGk","geoEnabled","accuracy","longitude","3150042ALiquN","PERMISSION_DENIED","heading","pointerdown"];return(nt=()=>t)()}function ot(){J=!1,Z=!1,tt=!1}function rt(t,e){return t-=188,nt()[t]}function it(){return!J&&et()&&!$&&tt}const at=st;function st(t,e){return t-=438,mt()[t]}(()=>{const t=st,e=mt();for(;;)try{if(557752==-parseInt(t(460))/1+parseInt(t(496))/2+-parseInt(t(510))/3+-parseInt(t(487))/4+parseInt(t(461))/5*(parseInt(t(449))/6)+-parseInt(t(493))/7+parseInt(t(441))/8*(parseInt(t(534))/9))break;e.push(e.shift())}catch(t){e.push(e.shift())}})();let ct,dt=[],lt=!1;function ut(){const t=st;if(!ct)return;const e=ct[t(523)](t(473)),n=ct.querySelector(t(526));if(!e||!n)return;if(0===dt.length)return e.innerHTML=t(513),void(n[t(459)]=t(514));const o=[...dt][t(488)]();e[t(438)]=o.map(t=>(t=>{const e=st,n=new Date(t[e(491)])[e(484)](),o=t[e(452)]&&t[e(452)][e(458)]>0,r=o?Math[e(500)](.75*t.img.length/1024):0,i=T(t.event),a=T(JSON[e(506)](t[e(518)],null,2)),s=T(t[e(520)]),c=T(JSON[e(506)](t[e(501)],null,2));return e(507)+i+e(454)+n+e(469)+(o?'\n\t\t\t\t<div style="margin-bottom: 8px;">\n\t\t\t\t\t<img src="'+t[e(452)]+e(511)+r+e(470):"")+'\n\t\t\t<details style="margin-top: 8px;">\n\t\t\t\t<summary style="\n\t\t\t\t\tcursor: pointer;\n\t\t\t\t\tcolor: var(--solomei-color-foreground, #212121);\n\t\t\t\t\tfont-size: 12px;\n\t\t\t\t\tfont-weight: var(--solomei-font-weight-regular, 500);\n\t\t\t\t\tuser-select: none;\n\t\t\t\t">View Details</summary>\n\t\t\t\t<div style="\n\t\t\t\t\tmargin-top: 8px;\n\t\t\t\t\tpadding: 8px;\n\t\t\t\t\tbackground: var(--solomei-color-secondary, #fafaf9);\n\t\t\t\t\tborder-radius: var(--solomei-radius-sm, 6px);\n\t\t\t\t\tfont-size: 11px;\n\t\t\t\t\tcolor: var(--solomei-color-foreground, #212121);\n\t\t\t\t\tborder: 1px solid var(--solomei-color-border, #e5e5e5);\n\t\t\t\t">\n\t\t\t\t\t<div style="margin-bottom: 6px;"><strong>Properties:</strong></div>\n\t\t\t\t\t<pre style="\n\t\t\t\t\t\tmargin: 0 0 8px 0;\n\t\t\t\t\t\tpadding: 8px;\n\t\t\t\t\t\tbackground: var(--solomei-color-background, white);\n\t\t\t\t\t\tborder-radius: var(--solomei-radius-sm, 6px);\n\t\t\t\t\t\toverflow-x: auto;\n\t\t\t\t\t\tfont-size: 10px;\n\t\t\t\t\t\twhite-space: pre-wrap;\n\t\t\t\t\t\tword-break: break-word;\n\t\t\t\t\t\tborder: 1px solid var(--solomei-color-border, #e5e5e5);\n\t\t\t\t\t">'+a+"</pre>\n\t\t\t\t\t"+(t[e(520)]?e(531)+s+"</pre>\n\t\t\t\t\t":"")+e(519)+c+e(486)})(t))[t(439)](""),n[t(459)]=dt.length+t(508)+(1===dt[t(458)]?"":"s")}function pt(){const t=st;if(ct)return void(ct[t(517)][t(455)]=t(483));const e=document[t(482)](t(537));e.innerHTML=st(457),ct=e[t(497)],document.body[t(453)](ct);const n=ct[t(523)]("#intent-debug-close"),o=ct[t(523)]("#intent-debug-minimize"),r=ct[t(523)](t(472));n?.[t(535)]("click",()=>{!function(t){const e=st;try{localStorage[e(443)](l,e(t?529:450)),t?pt():(()=>{const t=st;ct&&(ct[t(517)][t(455)]=t(521))})()}catch{}}(!1)}),o?.[t(535)]("click",()=>{(()=>{const t=st;if(!ct)return;const e=ct[t(523)]("#intent-debug-content"),n=ct.querySelector(t(495));e&&n&&(lt=!lt,lt?(e.style[t(455)]=t(521),ct[t(517)][t(479)]="200px",n[t(459)]="+"):(e.style[t(455)]=t(483),ct[t(517)].width="400px",n[t(459)]="−"))})()}),r?.addEventListener(t(530),()=>{dt=[],ut()}),(()=>{const t=st;if(!ct)return;const e=ct[t(523)](t(468));if(!e)return;let n=!1,o=0,r=0,i=0,a=0;e[t(535)]("mousedown",e=>{const o=t;if("BUTTON"===e[o(528)][o(464)])return;n=!0;const r=ct[o(490)]();i=e[o(478)]-r.left,a=e.clientY-r[o(445)]}),document[t(535)](t(515),e=>{const s=t;if(!n||!ct)return;e[s(447)](),o=e[s(478)]-i,r=e[s(503)]-a;const c=window[s(444)]-ct[s(498)],d=window[s(485)]-ct.offsetHeight;o=Math[s(536)](0,Math[s(451)](o,c)),r=Math[s(536)](0,Math[s(451)](r,d)),ct.style[s(467)]=o+"px",ct[s(517)].top=r+"px",ct[s(517)][s(502)]=s(463)}),document.addEventListener(t(442),()=>{n=!1})})(),ct[t(535)]("click",e=>{const n=t,o=e[n(528)];if(o[n(477)].contains(n(525))){const t=o;t[n(524)]&&t[n(524)].startsWith("data:image/")&&(t=>{const e=st,n=document[e(482)]("div");n.id=e(446),n[e(448)](e(512),e(462)),n.style.cssText="\n\t\tposition: fixed;\n\t\ttop: 0;\n\t\tleft: 0;\n\t\twidth: 100%;\n\t\theight: 100%;\n\t\tbackground: rgba(0, 0, 0, 0.95);\n\t\tz-index: 2147483646;\n\t\tdisplay: flex;\n\t\talign-items: center;\n\t\tjustify-content: center;\n\t\tcursor: zoom-out;\n\t";const o=document[e(482)]("div");o[e(517)][e(456)]="\n\t\tmax-width: 95%;\n\t\tmax-height: 95%;\n\t\tdisplay: flex;\n\t\tflex-direction: column;\n\t\talign-items: center;\n\t";const r=document[e(482)](e(452));r[e(524)]=t,r[e(517)][e(456)]="\n\t\tmax-width: 100%;\n\t\tmax-height: calc(95vh - 60px);\n\t\tborder-radius: var(--solomei-radius-lg, 10px);\n\t\tbox-shadow: var(--solomei-shadow-box, 0 2px 10px rgba(0, 0, 0, 0.2));\n\t";const i=document[e(482)](e(537));i[e(517)][e(456)]=e(522);const a=document[e(482)](e(532));a.textContent=e(504),a[e(517)].cssText=e(499);const s=document.createElement("div");s.textContent=e(494),s.style[e(456)]=e(489),i[e(453)](a),i[e(453)](s),o[e(453)](r),o.appendChild(i),n[e(453)](o);const c=()=>{const t=e;n[t(492)](),document[t(466)](t(474),d)};n.addEventListener(e(530),c),a[e(535)](e(530),t=>{t[e(475)](),c()}),r[e(535)](e(530),t=>{t[e(475)]()});const d=t=>{"Escape"===t[e(481)]&&c()};document[e(535)](e(474),d),document.body.appendChild(n)})(t[n(524)])}}),ut()}function mt(){const t=["setAttribute","15618kutsGe","disabled","min","img","appendChild",'</div>\n\t\t\t\t<div style="\n\t\t\t\t\tcolor: var(--solomei-color-text-secondary, #979797);\n\t\t\t\t\tfont-size: 11px;\n\t\t\t\t">',"display","cssText",'\n\t\t<div id="intent-debug-panel" data-intent-redact="ignore" style="\n\t\t\tposition: fixed;\n\t\t\ttop: 20px;\n\t\t\tright: 20px;\n\t\t\twidth: 400px;\n\t\t\tmax-height: 80vh;\n\t\t\tbackground: var(--solomei-color-background, white);\n\t\t\tborder: 1px solid var(--solomei-color-border, #e5e5e5);\n\t\t\tborder-radius: var(--solomei-radius-lg, 10px);\n\t\t\tbox-shadow: var(--solomei-shadow-box, 0 2px 10px rgba(0, 0, 0, 0.15));\n\t\t\tz-index: 2147483647;\n\t\t\tfont-family: var(--solomei-font-primary, -apple-system, BlinkMacSystemFont, \'Segoe UI\', sans-serif);\n\t\t\tfont-size: var(--solomei-font-size-base, 15px);\n\t\t\tdisplay: flex;\n\t\t\tflex-direction: column;\n\t\t">\n\t\t\t<div id="intent-debug-header" style="\n\t\t\t\tbackground: var(--solomei-color-primary, #262626);\n\t\t\t\tcolor: var(--solomei-color-primary-foreground, white);\n\t\t\t\tpadding: 12px 15px;\n\t\t\t\tborder-radius: var(--solomei-radius-lg, 10px) var(--solomei-radius-lg, 10px) 0 0;\n\t\t\t\tcursor: move;\n\t\t\t\tdisplay: flex;\n\t\t\t\tjustify-content: space-between;\n\t\t\t\talign-items: center;\n\t\t\t\tuser-select: none;\n\t\t\t">\n\t\t\t\t<div style="font-weight: var(--solomei-font-weight-semibold, 600); font-size: 14px;">Intent SDK Debug</div>\n\t\t\t\t<div style="display: flex; gap: 8px;">\n\t\t\t\t\t<button id="intent-debug-minimize" style="\n\t\t\t\t\t\tbackground: transparent;\n\t\t\t\t\t\tborder: 1px solid var(--solomei-color-primary-foreground, white);\n\t\t\t\t\t\tcolor: var(--solomei-color-primary-foreground, white);\n\t\t\t\t\t\twidth: 24px;\n\t\t\t\t\t\theight: 24px;\n\t\t\t\t\t\tborder-radius: var(--solomei-radius-sm, 4px);\n\t\t\t\t\t\tcursor: pointer;\n\t\t\t\t\t\tfont-size: 16px;\n\t\t\t\t\t\tdisplay: flex;\n\t\t\t\t\t\talign-items: center;\n\t\t\t\t\t\tjustify-content: center;\n\t\t\t\t\t\tpadding: 0;\n\t\t\t\t\t">−</button>\n\t\t\t\t\t<button id="intent-debug-close" style="\n\t\t\t\t\t\tbackground: transparent;\n\t\t\t\t\t\tborder: 1px solid var(--solomei-color-primary-foreground, white);\n\t\t\t\t\t\tcolor: var(--solomei-color-primary-foreground, white);\n\t\t\t\t\t\twidth: 24px;\n\t\t\t\t\t\theight: 24px;\n\t\t\t\t\t\tborder-radius: var(--solomei-radius-sm, 4px);\n\t\t\t\t\t\tcursor: pointer;\n\t\t\t\t\t\tfont-size: 16px;\n\t\t\t\t\t\tdisplay: flex;\n\t\t\t\t\t\talign-items: center;\n\t\t\t\t\t\tjustify-content: center;\n\t\t\t\t\t\tpadding: 0;\n\t\t\t\t\t">×</button>\n\t\t\t\t</div>\n\t\t\t</div>\n\t\t\t<div id="intent-debug-content" style="\n\t\t\t\tdisplay: flex;\n\t\t\t\tflex-direction: column;\n\t\t\t\toverflow: hidden;\n\t\t\t\tflex: 1;\n\t\t\t">\n\t\t\t\t<div style="\n\t\t\t\t\tpadding: 12px 15px;\n\t\t\t\t\tborder-bottom: 1px solid var(--solomei-color-border, #e5e5e5);\n\t\t\t\t\tbackground: var(--solomei-color-background, white);\n\t\t\t\t">\n\t\t\t\t\t<div style="font-weight: var(--solomei-font-weight-semibold, 600); color: var(--solomei-color-foreground, #212121); margin-bottom: 8px;">Event Log</div>\n\t\t\t\t\t<div style="display: flex; gap: 8px; align-items: center;">\n\t\t\t\t\t\t<button id="intent-debug-clear" style="\n\t\t\t\t\t\t\tbackground: var(--solomei-color-primary, #262626);\n\t\t\t\t\t\t\tcolor: var(--solomei-color-primary-foreground, white);\n\t\t\t\t\t\t\tborder: none;\n\t\t\t\t\t\t\tpadding: 6px 12px;\n\t\t\t\t\t\t\tborder-radius: var(--solomei-radius-button, 20px);\n\t\t\t\t\t\t\tcursor: pointer;\n\t\t\t\t\t\t\tfont-size: 12px;\n\t\t\t\t\t\t\tfont-weight: var(--solomei-font-weight-regular, 500);\n\t\t\t\t\t\t">Clear</button>\n\t\t\t\t\t\t<span id="intent-debug-count" style="color: var(--solomei-color-text-secondary, #979797); font-size: 12px;">0 events</span>\n\t\t\t\t\t</div>\n\t\t\t\t</div>\n\t\t\t\t<div id="intent-debug-events" style="\n\t\t\t\t\tflex: 1;\n\t\t\t\t\toverflow-y: auto;\n\t\t\t\t\tpadding: 10px;\n\t\t\t\t">\n\t\t\t\t\t<div style="color: var(--solomei-color-muted-foreground, #979797); text-align: center; padding: 20px;">\n\t\t\t\t\t\tNo events captured yet. Interact with the page to see events.\n\t\t\t\t\t</div>\n\t\t\t\t</div>\n\t\t\t</div>\n\t\t</div>\n\t',"length","textContent","1045982wWUtBx","1885rFRlui","ignore","auto","tagName","DOMContentLoaded","removeEventListener","left","#intent-debug-header","</div>\n\t\t\t</div>\n\t\t\t"," KB)</div>\n\t\t\t\t</div>\n\t\t\t","shift","#intent-debug-clear","#intent-debug-events","keydown","stopPropagation","loading","classList","clientX","width","function","key","createElement","flex","toLocaleTimeString","innerHeight","</pre>\n\t\t\t\t</div>\n\t\t\t</details>\n\t\t</div>\n\t","835416yMbHWy","reverse","\n\t\tcolor: var(--solomei-color-primary-foreground, white);\n\t\tfont-size: 13px;\n\t","getBoundingClientRect","timestamp","remove","3880611UcAhLl","Click anywhere or press ESC to close","#intent-debug-minimize","734438CWCPdW","firstElementChild","offsetWidth","\n\t\tpadding: 12px 24px;\n\t\tbackground: var(--solomei-color-primary-button-background, #262626);\n\t\tcolor: var(--solomei-color-primary-button-color, white);\n\t\tborder: none;\n\t\tborder-radius: var(--solomei-radius-button, 20px);\n\t\tfont-size: 14px;\n\t\tfont-weight: var(--solomei-font-weight-semibold, 600);\n\t\tcursor: pointer;\n\t\tbox-shadow: var(--solomei-shadow-box, 0 2px 10px rgba(0, 0, 0, 0.15));\n\t","round","bbox","right","clientY","✕ Close","now","stringify",'\n\t\t<div style="\n\t\t\tbackground: var(--solomei-color-card, white);\n\t\t\tborder: 1px solid var(--solomei-color-border, #e5e5e5);\n\t\t\tborder-radius: var(--solomei-radius-lg, 10px);\n\t\t\tpadding: 10px;\n\t\t\tmargin-bottom: 8px;\n\t\t">\n\t\t\t<div style="\n\t\t\t\tdisplay: flex;\n\t\t\t\tjustify-content: space-between;\n\t\t\t\talign-items: center;\n\t\t\t\tmargin-bottom: 8px;\n\t\t\t\tpadding-bottom: 8px;\n\t\t\t\tborder-bottom: 1px solid var(--solomei-color-border, #e5e5e5);\n\t\t\t">\n\t\t\t\t<div style="\n\t\t\t\t\tfont-weight: var(--solomei-font-weight-semibold, 600);\n\t\t\t\t\tcolor: var(--solomei-color-foreground, #212121);\n\t\t\t\t\tfont-size: 13px;\n\t\t\t\t">'," event","undefined","1865424obPRVz",'" \n\t\t\t\t\t\tclass="intent-debug-screenshot" \n\t\t\t\t\t\tstyle="\n\t\t\t\t\t\t\twidth: 100%;\n\t\t\t\t\t\t\tborder-radius: var(--solomei-radius-sm, 6px);\n\t\t\t\t\t\t\tborder: 1px solid var(--solomei-color-border, #e5e5e5);\n\t\t\t\t\t\t\tcursor: pointer;\n\t\t\t\t\t\t" \n\t\t\t\t\t\ttitle="Click to view fullscreen"/>\n\t\t\t\t\t<div style="\n\t\t\t\t\t\tcolor: var(--solomei-color-text-secondary, #979797);\n\t\t\t\t\t\tfont-size: 11px;\n\t\t\t\t\t\tmargin-top: 4px;\n\t\t\t\t\t">Screenshot (~',"data-intent-redact",'\n\t\t\t<div style="color: var(--solomei-color-muted-foreground, #979797); text-align: center; padding: 20px;">\n\t\t\t\tNo events captured yet. Interact with the page to see events.\n\t\t\t</div>\n\t\t',"0 events","mousemove","randomUUID","style","props",'\n\t\t\t\t\t<div style="margin-bottom: 6px;"><strong>Bounding Box:</strong></div>\n\t\t\t\t\t<pre style="\n\t\t\t\t\t\tmargin: 0;\n\t\t\t\t\t\tpadding: 8px;\n\t\t\t\t\t\tbackground: var(--solomei-color-background, white);\n\t\t\t\t\t\tborder-radius: var(--solomei-radius-sm, 6px);\n\t\t\t\t\t\toverflow-x: auto;\n\t\t\t\t\t\tfont-size: 10px;\n\t\t\t\t\t\tborder: 1px solid var(--solomei-color-border, #e5e5e5);\n\t\t\t\t\t">',"html","none","\n\t\tmargin-top: 20px;\n\t\tdisplay: flex;\n\t\tgap: 20px;\n\t\talign-items: center;\n\t","querySelector","src","intent-debug-screenshot","#intent-debug-count","random","target","enabled","click",'\n\t\t\t\t\t\t<div style="margin-bottom: 6px;"><strong>HTML:</strong></div>\n\t\t\t\t\t\t<pre style="\n\t\t\t\t\t\t\tmargin: 0 0 8px 0;\n\t\t\t\t\t\t\tpadding: 8px;\n\t\t\t\t\t\t\tbackground: var(--solomei-color-background, white);\n\t\t\t\t\t\t\tborder-radius: var(--solomei-radius-sm, 6px);\n\t\t\t\t\t\t\toverflow-x: auto;\n\t\t\t\t\t\t\tfont-size: 10px;\n\t\t\t\t\t\t\twhite-space: pre-wrap;\n\t\t\t\t\t\t\tword-break: break-word;\n\t\t\t\t\t\t\tborder: 1px solid var(--solomei-color-border, #e5e5e5);\n\t\t\t\t\t\t">',"button","getItem","14761971uKoNBj","addEventListener","max","div","innerHTML","join","readyState","8IZkqsH","mouseup","setItem","innerWidth","top","intent-debug-fullscreen-modal","preventDefault"];return(mt=()=>t)()}function ft(t,e){return t-=249,gt()[t]}function gt(){var t=["7193510nSrIHY","340pJRCIu","112568NdkFNq","undefined","setDebugPanel","822160dlFHKS","329424QoekUM","23097llWPtl","697796rfEAPd","56eYoZAk","198odNmiq","warn","[Intent SDK] Debug panel is not available in this build. ","2005518spEXeB","Use the debug build variant: @solomei-ai/intent/debug or intent.debug.umd.min.js","logEventToDebugPanel"];return(gt=()=>t)()}typeof window!==at(509)&&function(){const t=st;try{return localStorage[t(533)](l)===t(529)}catch{return!1}}()&&(document[at(440)]===at(476)?document[at(535)](at(465),()=>{pt()}):pt()),Symbol,(()=>{for(var t=ft,e=gt();;)try{if(673199==parseInt(t(256))/1+-parseInt(t(261))/2+-parseInt(t(255))/3*(parseInt(t(249))/4)+parseInt(t(253))/5+-parseInt(t(254))/6*(-parseInt(t(257))/7)+parseInt(t(250))/8*(parseInt(t(258))/9)+parseInt(t(264))/10)break;e.push(e.shift())}catch(t){e.push(e.shift())}})();const ht=Tt;(()=>{const t=Tt,e=Nt();for(;;)try{if(707654==-parseInt(t(255))/1*(parseInt(t(191))/2)+parseInt(t(230))/3*(parseInt(t(171))/4)+-parseInt(t(197))/5+parseInt(t(265))/6+parseInt(t(241))/7+-parseInt(t(232))/8*(-parseInt(t(231))/9)+parseInt(t(207))/10)break;e.push(e.shift())}catch(t){e.push(e.shift())}})();let bt,vt,yt=0,wt=!1;const xt="__intent__sdk__initialized__",It=["button",ht(250),"a",ht(175),ht(170),ht(186),ht(260),ht(243)][ht(267)](",");function St(){return _(),"granted"===localStorage[ht(176)](s)&&Boolean(Y())&&(()=>{const t=ht;return Boolean(localStorage[t(176)](u)?.[t(266)]()[t(222)])})()}function kt(){return!St()||Q}async function Et(e){for(;vt;)await vt;return vt=(async()=>{const n=Tt;try{const o=performance[n(187)](),r=performance[n(187)](),i=(t=>{const e=ht;if(D(t))return"";const n=t[e(224)](!1);return Array[e(256)](t[e(174)])[e(234)](({name:t,value:o})=>{n[e(217)](t,o)}),S(t)?S(n)&&(n[e(235)]=t[e(235)]):k(t)?n[e(244)]=t.innerHTML:n.textContent=t[e(246)],O(n),S(n)&&n[e(217)]("value",n[e(235)]),n.outerHTML})(e),a=performance[n(187)]()-r;y(n(233)+a[n(259)](2)+"ms");const s=e[n(183)](),c=performance[n(187)](),d={left:window[n(202)],top:window[n(193)],right:window.scrollX+window[n(220)],bottom:window[n(193)]+window.innerHeight},l=await t(document[n(212)],{useCORS:!0,x:window[n(202)],y:window[n(193)],width:window[n(220)],height:window[n(263)],scale:.6,logging:!1,onclone(t){O(t)},ignoreElements(t){const e=n;if(!(t instanceof Element))return!1;if(R(t))return!0;const o=t.getBoundingClientRect(),r={left:o[e(238)]+window[e(202)],top:o[e(247)]+window.scrollY,right:o[e(190)]+window[e(202)],bottom:o[e(242)]+window[e(193)]},i=100;if(!(r[e(190)]<d[e(238)]-i||r.left>d[e(190)]+i||r[e(242)]<d[e(247)]-i||r.top>d[e(242)]+i))return!1;if(t[e(252)]===e(189)||t[e(252)]===e(210)||t[e(252)]===e(253)||t.hasAttribute(e(184))||t[e(172)](e(223)))return!1;const a=window[e(219)](t),{position:s}=a;if(s===e(200)||"absolute"===s){const t=500;return r.right<d[e(238)]-t||r[e(238)]>d[e(190)]+t||r[e(242)]<d[e(247)]-t||r[e(247)]>d[e(242)]+t}return!0}}),u=performance[n(187)]()-c;y(n(173)+u.toFixed(2)+"ms");const p=performance[n(187)](),m=l[n(178)](n(177),.8),f=performance[n(187)]()-p;y(n(261)+f.toFixed(2)+"ms");const g=performance[n(187)]()-o;return y(n(245)+g[n(259)](2)+"ms"),{html:i,bbox:{x:s.x,y:s.y,w:s[n(192)],h:s[n(248)]},img:m,fullCanvas:l}}finally{vt=void 0}})(),vt}function Tt(t,e){return t-=169,Nt()[t]}function At(){const t=ht,e=localStorage[t(176)](u),n={"Content-Type":"application/json"};e&&(n[t(271)]=e);const o=Y();return o&&(n[t(221)]=o),n}async function Ct(t,e,n,o){const r=ht;if(!St())return;const i={...e,localTime:(new Date)[r(194)]()};k(n)&&(i[r(235)]=U(n)?N(n):(t=>{const e=v;if(S(t))return t[e(437)];const n=t[e(464)];return"string"==typeof n?n:t[e(449)]??""})(n));let a="",s={x:0,y:0,w:0,h:0},c="";const d=!(t===r(268)||t===r(228)||t===r(204)),l=Date[r(187)](),p=l-yt>=0;let m=o;const g=t===r(216)||t===r(188)||t===r(179);d&&(g&&!m||!m&&p)&&(m=await Et(n),yt=l),m&&(a=m[r(258)],s=m.bbox,c=m[r(249)]);const b="page-blur"===t||t===r(204)||t===r(179),y={ts:Date[r(187)](),event:t,url:window[r(201)].href,props:i,html:b?"":a,bbox:s,img:c};await async function(t){const e=ht,n=(localStorage[e(176)](f)??h)+e(257),o=localStorage[e(176)](u)??void 0,r=JSON[e(251)]({...t,clientId:o});try{if((await fetch(n,{method:e(205),headers:At(),body:r,keepalive:!0,credentials:e(227)})).ok)return}catch{}try{await(async t=>{const e=ht,n=(localStorage.getItem(f)??h)+e(182);if(!(await fetch(n,{method:"POST",headers:At(),body:JSON[e(251)](t),keepalive:!0,credentials:"omit",cache:e(270)})).ok)throw new Error("pixel body fallback failed")})(t)}catch{}}(y)}async function Lt(t={}){const e=ht;if(!St())return;const n=typeof t.lat===e(180)&&typeof t[e(211)]===e(180);if(n&&J)return;if(!n&&wt)return;const o=localStorage[e(176)](p),i={context:await r()};o&&(i.ip=o);for(const[n,o]of Object[e(225)](t))i[n]=o;await Ct(e(185),i,document[e(212)],{html:"",bbox:{x:0,y:0,w:0,h:0},img:""}),!n&&(wt=!0)}async function Mt(){await(async(t,e)=>{const n=rt,o={canRequest:e(),geoEnabled:et(),deviceGeoSent:J};if(!o.canRequest||!o[n(219)]||o[n(199)])return;if(!("geolocation"in navigator))return;if($)return;$=!0,Q=!0;const r={enableHighAccuracy:!1,maximumAge:3e5,timeout:2e4};Date[n(206)]();try{await(navigator.permissions?.[n(213)]({name:n(215)}))}catch(t){}await new Promise(t=>{let e=!1;const o=async(n,o,r)=>{const i=rt;e||(e=!0,Number.isFinite(n)&&Number[i(216)](o)&&(await(async(t,e,n)=>{const o=Tt;await Lt({lat:t,lon:e,source:o(239),...n})})(n,o,r),J=!0),$=!1,Q=!1,tt=!0,t())};navigator.geolocation[n(204)](t=>{const e=rt,n=t[e(208)];o(n[e(195)],n[e(221)],{accuracy:n[e(220)],altitude:typeof n[e(200)]===e(203)?n[e(200)]:void 0,altitudeAccuracy:typeof n[e(207)]===e(203)?n[e(207)]:void 0,heading:typeof n[e(224)]===e(203)?n.heading:void 0,speed:typeof n[e(205)]===e(203)?n[e(205)]:void 0,timestamp:t.timestamp,visibility:document.visibilityState,focused:document.hasFocus()})},t=>{const e=rt,n=t?.code,r={error:{code:n,name:1===n?e(223):2===n?e(190):3===n?"TIMEOUT":"UNKNOWN",message:t?.[e(191)]??""},online:navigator.onLine,visibility:document.visibilityState,focused:document.hasFocus(),secure:window[e(197)],proto:location[e(189)],host:location[e(214)]};o(void 0,void 0,r)},r)})})(0,St)}function Nt(){const t=["252DYkRtu","94144nXvICa","[Timing] serialize: ","forEach","value","defineProperty","visibilitychange","left","device","load","171885pGjoiT","bottom","[onclick]","innerHTML","[Timing] capture-total: ","textContent","top","height","img","a[href]","stringify","tagName","SELECT","hostname","11818FzpYHH","from","/events","html","toFixed",'[role="link"]',"[Timing] jpeg-encoding: ","granted","innerHeight","Enter","8195100nngxHI","trim","join","scroll","role","no-store","x-sl-access-token","intentEnter","dataset",'input[type="button"]',"1072SKbpwH","querySelector","[Timing] html2canvas-pro: ","attributes",'input[type="submit"]',"getItem","image/jpeg","toDataURL","pageview","number","getAttribute","/p.gif","getBoundingClientRect","data-intent-redact","context",'[role="button"]',"now","input-submit","INPUT","right","194xDEvbS","width","scrollY","toISOString","addEventListener","focus","1517750zVGHRb","<no visible label>","keydown","fixed","location","scrollX","aria-label","page-focus","POST","localhost","2189530NYYNAd","key","hasFocus","TEXTAREA","lon","body","target","hidden","blur","click","setAttribute","title","getComputedStyle","innerWidth","x-intent-sid","length","input, textarea, select, [data-intent-redact]","cloneNode","entries","closest","omit","page-blur","referrer","2448vMzmTT"];return(Nt=()=>t)()}function zt(){(t=>{const e=rt;if(Z||!et()||J)return;Z=!0;const n=()=>{const e=rt;window[e(217)](e(188),n,!0),window.removeEventListener("keydown",n,!0),t()};window[e(202)](e(188),n,!0),window[e(202)](e(210),n,!0)})(Mt)}_();let Dt=!document[ht(214)]&&document[ht(209)](),Pt=document[ht(209)]();function Bt(){const t=ht;if(kt())return;const e=!document[t(214)]&&document[t(209)]();e&&(Pt=!0),Pt||e?e!==Dt&&(Dt=e,Ct(e?t(204):"page-blur",{},document[t(212)])):Dt=e}function Rt(){const t=ht;(()=>{const t=globalThis;return!t[xt]&&(Object[ht(236)](t,xt,{value:!0,configurable:!1,enumerable:!1,writable:!1}),!0)})()&&(window[t(195)](t(240),()=>{const e=t;St()&&(Lt(),(window.isSecureContext||location[e(254)]===e(206))&&(et()&&zt(),window.addEventListener("focus",()=>{it()&&Mt()}),document.addEventListener(e(237),()=>{!document[e(214)]&&it()&&Mt()})))}),window[t(195)]("storage",e=>{const n=t;e[n(208)]===s&&((()=>{const t=ht;return localStorage[t(176)](s)===t(262)})()?(wt=!1,Lt(),et()&&zt()):(wt=!1,ot())),e[n(208)]===c&&(et()?zt():ot())}),window[t(195)](t(240),()=>{const e=t;St()&&Ct(e(179),{url:window[e(201)].href,title:document[e(218)],ref:document[e(229)]},document[e(212)])}),addEventListener("pointerdown",(()=>{let e=0;return(...n)=>{const o=Date.now();o-e>=50&&(e=o,(e=>{const n=t;if(kt())return;const o=e.target instanceof Element?e.target[n(226)](It):null;o instanceof HTMLElement&&(bt=Et(o))})(...n))}})(),{capture:!0,passive:!0}),addEventListener(t(216),async e=>{const n=t;if(kt())return;if(!(e.target instanceof Element))return;const o=e[n(213)][n(226)](It);if(!(o instanceof HTMLElement))return;const r=(t=>{const e=ht,n=t[e(181)](e(203))?.[e(266)]();if(n)return n;const o=t[e(218)][e(266)]();if(o)return o;const r=t[e(246)]?.[e(266)]();return r||e(198)})(o);(async()=>{const t=bt?await bt:void 0;bt=void 0,Ct("click",{tag:o.tagName,label:r},o,t)})()},!0),addEventListener(t(199),e=>{const n=t;if(!kt()&&e[n(208)]===n(264)){const t=e[n(213)];if(!(t instanceof HTMLElement))return;const o=t[n(252)];if(o===n(189)||o===n(210)){const e=t instanceof HTMLInputElement?t.name:void 0,r=t.id||void 0;Ct(n(188),{tag:o,name:e??r},t)}else if(k(t)){const e=(t=>{const e=v;let n=t;for(;n&&n!==document[e(466)];){const t=n[e(465)](e(471));if("true"===t||""===t||t===e(460))return n;n=n[e(456)]}return null})(t)??t;if("newline"===e[n(169)][n(272)])return;const o=e[n(181)](n(269))?.toLowerCase(),r=e.id||void 0,i=e[n(181)]("name")||e[n(181)](n(203))||r;Ct(n(188),{tag:"CONTENTEDITABLE",role:o??"contenteditable",name:i},e)}}},{capture:!0}),[t(196),t(215)].forEach(e=>{window[t(195)](e,Bt)}),document.addEventListener(t(237),Bt),window[t(195)](t(268),(()=>{let e;return(...n)=>{void 0!==e&&window[b(428)](e),e=window.setTimeout(()=>{e=void 0,(()=>{const e=t;kt()||Ct(e(268),{scrollX:window[e(202)],scrollY:window[e(193)]},document[e(212)])})(...n)},250)}})(),{passive:!0}),window.intent??={send(e,n){const o=t;St()&&Ct(e,n,document[o(212)])}})}function Ut(t,e){const n=Kt;try{if(void 0===e)return;localStorage.setItem(t,e?t===n(137)?n(127):n(134):n(141))}catch{}}function Ht(t){Ut(Kt(137),t)}function jt(t){Ut("intent:geo",t)}function Ft(t){Ut(Kt(132),t)}function Ot(t){}function Wt(t={}){const e=Kt;localStorage[e(140)]("intent:data-client-id",t[e(122)]??""),localStorage[e(140)]("intent:data-ip",t.ip??""),localStorage[e(140)](e(153),t[e(142)]??"https://intent.callimacus.ai"),typeof t[e(146)]===e(150)&&localStorage[e(140)](e(143),String(t.sidMaxAgeSeconds)),Ut("intent:consent",t.consent),Ut(e(131),t[e(154)]),Ut(e(132),t[e(125)]),void 0!==t.debugPanel&&e(121),t.consent&&(V("intent_sid")||X(typeof crypto!==e(136)&&typeof crypto.randomUUID===e(148)?crypto[e(151)]():Date[e(149)]()+"-"+Math[e(147)](),t[e(146)])),Rt()}function Kt(t,e){return t-=121,Gt()[t]}function Yt(){return V("intent_sid")}function qt(){_()}function Vt(){G()}function Xt(t){const e=Kt;Number.isFinite(t)&&localStorage[e(140)](e(143),String(t));const n=V(e(139));n&&X(n,t)}function Gt(){const t=["11151513CKPhyX","enabled","41774yHdERQ","undefined","intent:consent","It exposes internal SDK behavior and should only be used during development.","intent_sid","setItem","disabled","baseUrl","intent:data-sid-max-age","10BKFWVi","warn","sidMaxAgeSeconds","random","function","now","number","randomUUID","33xoSxUP","intent:data-base-url","geo","debugPanel","clientId","883410RbFJVR","2796192LskYSY","debug","4159940uIGwDz","granted","[Intent SDK] ⚠️ Debug panel is enabled. This feature is NOT recommended for production use. ","6945141AVsTxs","1672428rjvQYX","intent:geo","intent:debug"];return(Gt=()=>t)()}(()=>{const t=Kt,e=Gt();for(;;)try{if(679036==-parseInt(t(152))/1*(-parseInt(t(135))/2)+-parseInt(t(123))/3+-parseInt(t(126))/4+parseInt(t(144))/5*(-parseInt(t(130))/6)+parseInt(t(129))/7+-parseInt(t(124))/8+parseInt(t(133))/9)break;e.push(e.shift())}catch(t){e.push(e.shift())}})();export{Vt as clearIntentSessionId,qt as ensureIntentSessionId,Yt as getIntentSessionId,Wt as initIntent,Ht as setConsent,Ft as setDebug,Ot as setDebugPanel,Ut as setFlag,jt as setGeo,Xt as setIntentSessionMaxAge};
|