@solomei-ai/intent 2.0.4 → 2.0.5
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-=299,o()[t]}function o(){const t=["Screen: ","beta","requestStart","onLine","length","round","duration","push","Battery: ","join"," cores","2205005dDFxmU","6686584UUNiJA",", maxTouchPoints ","Tilt: ",", display-mode standalone: ","platform","encodedBodySize","Platform: ","fine","mobile","Device geolocation: disabled","°, γ ","width","intent:geo","function","Language: ","936816IQLvqM","rttMs","1447392agwsnh","flat","7VXKpPD","serviceWorker","innerWidth","Online: ","saveData"," | ","version","transferSize","Languages: ","browser API","User agent: ","SW-controlled","filter","cookieEnabled","type"," (UTC","deviceorientation","getBattery","brands","isSecureContext","downlinkMbps","getEntriesByType","coarse","brand","yes","languages","resource","CookiesEnabled: ","userAgentData","language","referrer","not charging","DateTimeFormat","matches","connection","isFinite","(display-mode: standalone)",", orientation ","responseStart","entryType"," ms","undefined","TTFB ~","height","toFixed","effectiveType","orientation","(pointer: fine)","x (avail ","map","; DNT: ","level","availWidth","Network: ","upright"," Mbps","76166ZLYUWx","Referrer: ","some","navigation","PWA: ","CPU: ","number","gamma","hardwareConcurrency","abs","5412048AjRqZy","Pointer/Touch: ","timeZone","resolvedOptions","doNotTrack","Timezone: ","removeEventListener","charging","unknown","find","max","enabled","4240026syuJho"," (mobile)","-bit)","floor","12maBjoy"];return(o=()=>t)()}async function r(){const t=n,e=(new(Intl[t(341)]))[t(378)]()[t(377)],o=(t=>{const e=n,o=t<=0?"+":"-",r=Math[e(374)](t);return""+o+String(Math[e(390)](r/60)).padStart(2,"0")+":"+String(r%60).padStart(2,"0")})((new Date).getTimezoneOffset()),r=[];r[t(399)](t(304)+navigator[t(338)]),navigator[t(334)]?.length&&r[t(399)](t(317)+navigator[t(334)][t(401)](", ")),r.push(t(319)+navigator.userAgent);const i=function(){const t=n;if(!(t=>{const e=n;return e(337)in t&&void 0!==t[e(337)]})(navigator))return;const e=navigator[t(337)],o=Array.isArray(e.brands)?e[t(327)][t(358)](e=>e[t(332)]+" "+e[t(315)])[t(401)](", "):void 0,r=e[t(408)]?""+e[t(408)]+(e[t(412)]?t(388):""):void 0;return[o&&"UA brands: "+o,r&&t(410)+r].filter(Boolean)[t(401)](t(314))||void 0}();i&&r[t(399)](i),r.push(t(380)+e+t(324)+o+")"),r[t(399)]("Local time: "+(new Date).toString());const a=window.devicePixelRatio||1;r[t(399)](t(392)+screen[t(301)]+"x"+screen[t(352)]+" @"+a+t(357)+screen[t(361)]+"x"+screen.availHeight+", "+screen.colorDepth+t(389));const s=screen[t(355)]&&t(323)in screen[t(355)]?screen[t(355)][t(323)]:void 0;r[t(399)]("Viewport: "+window[t(311)]+"x"+window.innerHeight+(s?t(346)+s:"")),r[t(399)](t(370)+navigator[t(373)]+t(402));const c=await async function(){const t=n,e=[];let o=t(318);if((t=>{const e=n;return e(343)in t&&typeof t[e(343)]!==e(350)})(navigator)){const n=navigator.connection;n?.[t(354)]&&e[t(399)](n[t(354)]),"number"==typeof n?.downlink&&e[t(399)]("~"+n.downlink+" Mbps"),typeof n?.rtt===t(371)&&e[t(399)](n.rtt+" ms"),n?.[t(313)]&&e[t(399)](t(313))}else{const r=((t=20)=>{const e=n,o=performance.getEntriesByType("navigation")[e(384)](t=>t[e(348)]===e(368)),r=o?Math[e(385)](0,o[e(347)]-o.requestStart):void 0,i=performance[e(330)](e(335))[e(321)](t=>t.entryType===e(335));let a=0,s=0;for(const n of i.slice(0,Math[e(385)](0,t))){const t=n[e(409)]>0?n.encodedBodySize:n[e(316)]>0?n[e(316)]:0,o=n[e(398)];t>0&&o>0&&Number[e(344)](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.downlinkMbps===t(371)&&e[t(399)]("~"+r[t(329)][t(353)](1)+t(364)),typeof r[t(306)]===t(371)&&e[t(399)](t(351)+Math[t(397)](r.rttMs)+t(349)),o="inferred"}const r=performance[t(330)](t(368)).find(e=>e[t(348)]===t(368));if(r){const n=Math[t(385)](0,r[t(347)]-r[t(394)]);!e[t(367)](t=>t.startsWith("TTFB"))&&e[t(399)]("TTFB ~"+Math.round(n)+t(349))}return e[t(396)]?t(362)+e[t(401)](", ")+" ("+o+")":void 0}();c&&r[t(399)](c),r.push((()=>{const t=n,e=typeof matchMedia===t(303)&&matchMedia("(pointer: coarse)")[t(342)],o=typeof matchMedia===t(303)&&matchMedia(t(356))[t(342)],r=t(e?331:o?411:383),i=navigator.maxTouchPoints;return t(376)+r+t(405)+i})());const d=await async function(){const t=n;if((t=>{const e=n;return e(326)in t&&typeof t[e(326)]===e(303)})(navigator))try{const e=await navigator[t(326)](),n=Math[t(397)](100*e[t(360)]),o=[(Number[t(344)](n)?n:0)+"%",e[t(382)]?t(382):t(340)];return t(400)+o[t(401)](", ")}catch{}}();d&&r.push(d),r[t(399)](t(336)+(navigator[t(322)]?t(333):"no")+t(359)+(navigator[t(379)]??"n/a")),r[t(399)](t(312)+(navigator[t(395)]?t(333):"no")),document[t(339)]&&r.push(t(366)+document[t(339)]),r[t(399)]((()=>{const t=n,e=typeof matchMedia===t(303)&&matchMedia(t(345)).matches,o=Boolean(navigator[t(310)]?.controller);return t(369)+(o?t(320):"no SW")+t(407)+(e?t(333):"no")})());const l=await async function(t=400){const e=n;if("DeviceOrientationEvent"in window&&window[e(328)])return new Promise(o=>{const r=e;let i=!1;const a=t=>{const e=n,r=typeof t[e(393)]===e(371)?t[e(393)]:void 0,s=typeof t[e(372)]===e(371)?t[e(372)]:void 0;if(void 0===r||void 0===s)return;if(i)return;i=!0,window[e(381)](e(325),a);const c=((t,e)=>{const o=n,r=Math[o(374)](t),i=Math[o(374)](e);return r<15&&i<15?o(308):r>=60?o(363):"reclined"})(r,s);o(e(406)+c+" (β "+Math[e(397)](r)+e(300)+Math.round(s)+"°)")};window.setTimeout(()=>{i||(i=!0,window[n(381)]("deviceorientation",a),o(void 0))},t),window.addEventListener(r(325),a,{passive:!0})})}();l&&r[t(399)](l);const u=localStorage.getItem(t(302))===t(386);return r[t(399)](u?"Device geolocation: enabled":t(299)),r.join(" | ")}(()=>{const t=n,e=o();for(;;)try{if(708976==parseInt(t(365))/1+parseInt(t(307))/2+-parseInt(t(305))/3*(parseInt(t(391))/4)+parseInt(t(403))/5+-parseInt(t(375))/6+-parseInt(t(309))/7*(-parseInt(t(404))/8)+parseInt(t(387))/9)break;e.push(e.shift())}catch(t){e.push(e.shift())}})();const i=l;(()=>{const t=l,e=d();for(;;)try{if(770960==parseInt(t(397))/1+parseInt(t(402))/2+parseInt(t(393))/3+parseInt(t(407))/4+-parseInt(t(403))/5*(parseInt(t(406))/6)+parseInt(t(401))/7+-parseInt(t(408))/8)break;e.push(e.shift())}catch(t){e.push(e.shift())}})();const a=i(394),s=i(405),c=i(399);function d(){const t=["intent:data-sid-max-age","intent:debug","intent:data-ip","6396502kgkqwb","2985370rYUfFf","86455yEANkG","intent:debug-panel","intent:geo","246WSBycC","3275716zyBVHe","27265128WbbhIO","4266420DnsYNf","intent:consent","https://intent.callimacus.ai","intent:data-base-url","240492GGhOfv"];return(d=()=>t)()}function l(t,e){return t-=393,d()[t]}const u=i(404),p="intent:data-client-id",m=i(400),f=i(396),g=i(398),h=i(395),b=v;function v(t,e){return t-=338,T()[t]}function y(...t){const e=v;try{typeof localStorage!==e(348)&&localStorage.getItem(c)===e(342)&&console.log(...t)}catch{}}(()=>{const t=v,e=T();for(;;)try{if(718136==parseInt(t(353))/1+-parseInt(t(364))/2*(parseInt(t(340))/3)+parseInt(t(358))/4*(-parseInt(t(347))/5)+parseInt(t(373))/6*(-parseInt(t(360))/7)+-parseInt(t(362))/8+-parseInt(t(368))/9+parseInt(t(378))/10)break;e.push(e.shift())}catch(t){e.push(e.shift())}})();const w=Object[b(369)](new Set([b(344),b(346),b(370)])),x=[b(349),b(351),b(341),b(365),...[...w][b(352)](t=>b(372)+t+'"]')][b(339)](", ");function I(t){const e=b,n=t[e(375)];return n===e(338)||n===e(363)||n===e(367)}function S(t){const e=b;if(I(t))return!0;const n=t[e(366)](e(371));if(""===n||n===e(355)||"plaintext-only"===n)return!0;const o=t[e(366)]("role")?.toLowerCase();return!(!o||!w.has(o))}function k(t){const e=b,n=t[e(345)];if(n)return n;const{parentNode:o}=t;return o instanceof ShadowRoot&&o.host instanceof Element?o[e(350)]:void 0}function E(t){const e=b;return t.replace(/&/g,e(376))[e(359)](/</g,e(354))[e(359)](/>/g,e(356))[e(359)](/"/g,""").replace(/'/g,e(357))}function T(){const t=['[role="',"29820yCTybH","plaintext-only","tagName","&","value","16668900weBvmW","innerText","INPUT","join","634332LuoFJh","select","enabled","setTimeout","textbox","parentElement","combobox","85eDYZtp","undefined","input","host","textarea","map","1271279FIomTR","<","true",">","'","125976YtQmsE","replace","1169KAcEYV","clearTimeout","295080dJHqQu","TEXTAREA","2tQpcQa","[contenteditable]","getAttribute","SELECT","5456844FyfYra","freeze","searchbox","contenteditable"];return(T=()=>t)()}function A(t,e){return t-=128,B()[t]}const C=A;(()=>{const t=A,e=B();for(;;)try{if(628461==parseInt(t(147))/1+-parseInt(t(135))/2+-parseInt(t(159))/3+-parseInt(t(132))/4*(-parseInt(t(158))/5)+parseInt(t(189))/6+parseInt(t(217))/7+-parseInt(t(137))/8*(parseInt(t(203))/9))break;e.push(e.shift())}catch(t){e.push(e.shift())}})();const L=C(197),M=C(175),N=new Set(["name",C(162),C(231),"family-name",C(219),C(221),C(223),C(171),"organization",C(213),"street-address",C(187),C(215),"address-line3",C(129),C(207),C(133),C(192),C(156),C(188),C(198),"cc-name","cc-given-name","cc-additional-name",C(228),C(191),C(164),C(214),C(226),C(145),C(136),"bday",C(186),C(232),C(235),"sex",C(211)]);function D(t){return"<"+(t=>{const e=C,n=(t[e(234)]?.(M)??"")[e(225)]();if(n)return n;const o=t[e(234)]?.(e(146))||"",r=S(t)?o[e(157)]().trim()[e(185)](/\s+/)[e(206)](Boolean):[];if(t[e(229)]===e(179)&&t.type===e(218))return"Password";for(const t of r){const n=z[e(220)](t);if(n)return n}const i=t[e(234)]?.(L)?.toLowerCase();return i===e(131)?e(182):e(201)})(t)+">"}const z=new Map([[C(152),C(200)],[C(162),"First name"],["family-name",C(167)],[C(231),C(222)],[C(219),C(143)],[C(221),C(163)],[C(223),C(150)],["tel","Phone"],[C(155),C(180)],[C(187),C(230)],[C(215),"Address line 2"],[C(173),"Address line 3"],[C(129),C(193)],["address-level2",C(153)],[C(133),"District"],[C(192),C(168)],[C(198),C(148)],[C(156),"Country code"],[C(188),"Country name"],[C(172),C(154)],[C(177),C(199)],[C(228),"Cardholder last name"],[C(142),"Cardholder middle name"],[C(191),"Card number"],[C(164),C(181)],[C(214),C(195)],["cc-exp-year","Expiration year"],[C(145),C(184)],[C(136),"Card type"],[C(233),C(174)],[C(186),"Birth day"],[C(232),"Birth month"],["bday-year",C(209)],["organization",C(139)],[C(213),"Job title"],[C(149),C(144)],["webauthn",C(134)]]);function B(){const t=["address-level4","State/Province","datetime-local","Expiration month","matches","data-intent-redact","postal-code","Cardholder first name","Name","Sensitive","pop","75564EmkzXo","searchbox","contentDocument","filter","address-level2","ignore","Birth year","type","webauthn",'. Treating as "mask" to prevent data leaks.',"organization-title","cc-exp-month","address-line2","querySelectorAll","4184873vatphF","password","nickname","get","username","Middle name","email","push","trim","cc-exp-year","role","cc-family-name","tagName","Address line 1","additional-name","bday-month","bday","getAttribute","bday-year","has","address-level1","TEXTAREA","mask","348gWpVLD","address-level3","WebAuthn","947176lbdkmW","cc-type","88iNONWz","shadowRoot","Organization","some",". Supported values are ","cc-additional-name","Nickname","Sex","cc-csc","autocomplete","463476ocuqLB","Postal code","sex","Email","date","name","City","Cardholder name","street-address","country","toLowerCase","50915zdrCXZ","2838726NUOrRr","textContent","data-html2canvas-ignore","given-name","Username","cc-exp","length","month","Last name","Neighborhood","includes","add","tel","cc-name","address-line3","Birthday","data-intent-redact-label","text","cc-given-name","value","INPUT","Street address","Expiration date","Redacted","iframe","Security code","split","bday-day","address-line1","country-name","1160466zhywNR","week","cc-number"];return(B=()=>t)()}function U(t){const e=C;return t.hasAttribute(e(161))||"ignore"===t[e(234)](L)?.toLowerCase()}const P=new Set;function O(t){const e=C,n=t.getAttribute(L);if(null===n)return!1;const o=n[e(157)]();return o!==e(208)&&(""!==n&&o!==e(131)&&(t=>{const e=C;if(P.has(t))return;P[e(170)](t);const n="[intent] Unsupported data-intent-redact value "+JSON.stringify(t)+e(141)+'"" or "mask" (redact), "ignore" (exclude from capture)'+e(212);try{console.warn(n)}catch{}})(n),!0)}function F(t){let e=t;for(;e&&e!==document.body;){if(U(e))return!0;e=k(e)}return!1}function R(t){return!(U(t)||!O(t)&&!(t=>{const e=C,n=t.tagName;if(n===e(179)){const n=t;if(n[e(210)]===e(218))return!0;if("search"===n[e(210)])return!1;const o=n[e(234)](e(227));if(o?.toLowerCase()===e(204))return!1;if((n[e(146)]||"")[e(157)]()[e(225)]()[e(185)](/\s+/)[e(206)](Boolean).some(t=>N[e(128)](t)))return!0}if((n===e(130)||"SELECT"===n)&&(t[e(146)]||"")[e(157)]()[e(225)]()[e(185)](/\s+/)[e(206)](Boolean)[e(140)](t=>N.has(t)))return!0;if(S(t)&&!I(t)){const n=t[e(234)](e(227))?.[e(157)]();if(n===e(204))return!1;if((t[e(234)](e(146))||"")[e(157)]()[e(225)]()[e(185)](/\s+/).filter(Boolean).some(t=>N[e(128)](t)))return!0}return!1})(t))}function W(t){const e=C;if(!F(t))if(I(t)){if(R(t)){if(t[e(229)]===e(179)){const n=t;[e(151),e(194),e(166),"time",e(190)][e(169)](n.type)&&(n[e(210)]=e(176))}const n=D(t);t.value=n,t.setAttribute(e(178),n)}}else S(t)?R(t)&&(t[e(160)]=D(t)):t.hasAttribute(L)&&O(t)&&(t.textContent=D(t))}function H(t,e){const n=C,o=[],r=[t];for(t instanceof Element&&t[n(138)]&&r[n(224)](t[n(138)]);r[n(165)]>0;){const t=r[n(202)]()[n(216)]("*");for(const i of t)i[n(196)](e)&&o.push(i),i.shadowRoot&&r.push(i[n(138)])}return o}function q(t,e=new Set){const n=C,o=t instanceof Document?t:t.ownerDocument;if(o){if(e[n(128)](o))return;e[n(170)](o)}t instanceof Element&&W(t);for(const e of H(t,x))W(e);for(const e of H(t,"["+L+"]"))W(e);for(const o of H(t,n(183)))if("IFRAME"===o[n(229)])try{const t=o[n(205)];t&&q(t,e)}catch{}}function j(t,e){return t-=254,Y()[t]}function Y(){const t=["protocol","location","granted","4hKHAVd","492pIzatW","10575456UfNIuh","number","isFinite","set","getItem","7fphQTp","17129540dMAdkr","remove","6572634EKEyHS","1491909PCpOcD","25850PcFvIZ","8742339cxqThW","intent_sid","https:","1405170BpWZVG"];return(Y=()=>t)()}(()=>{const t=j,e=Y();for(;;)try{if(795790==parseInt(t(255))/1+parseInt(t(259))/2*(parseInt(t(270))/3)+-parseInt(t(260))/4*(parseInt(t(271))/5)+-parseInt(t(269))/6*(-parseInt(t(266))/7)+-parseInt(t(261))/8+parseInt(t(272))/9+-parseInt(t(267))/10)break;e.push(e.shift())}catch(t){e.push(e.shift())}})();let Z="";function X(){return Z}function G(t){return e.get(t)}function _(t,n){const o=j,r=localStorage[o(265)](g),i=null===r?void 0:Number(r),a="number"==typeof n&&Number[o(263)](n)?n:typeof i===o(262)&&Number[o(263)](i)?i:2592e3,s=window[o(257)][o(256)]===o(254);e[o(264)](o(273),t,{expires:a/86400,path:"/",sameSite:"Lax",...s&&{secure:!0}})}function V(){const t=j;e[t(268)](t(273),{path:"/"})}function J(){const t=G(j(273));if(!(()=>{const t=j;return localStorage[t(265)](a)===t(258)})())return t&&V(),void(Z="");t?Z=t:(Z=crypto.randomUUID(),_(Z))}function K(t,e){return t-=290,it()[t]}(()=>{const t=K,e=it();for(;;)try{if(947819==parseInt(t(314))/1*(-parseInt(t(293))/2)+parseInt(t(318))/3*(parseInt(t(310))/4)+parseInt(t(327))/5+-parseInt(t(296))/6*(-parseInt(t(295))/7)+-parseInt(t(290))/8*(parseInt(t(306))/9)+parseInt(t(315))/10+parseInt(t(323))/11*(-parseInt(t(303))/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=K;return localStorage.getItem(s)===t(300)}function rt(){Q=!1,tt=!1,nt=!1}function it(){const t=["276MmmvAG","coords","geolocation","altitude","enabled","latitude","isSecureContext","1706472azqans","altitudeAccuracy","permissions","65421pfGWdZ","removeEventListener","pointerdown","number","20908tsDwFZ","timestamp","getCurrentPosition","query","235ZbscfB","5442670iaqRDD","speed","longitude","726ZHNGBw","canRequest","visibilityState","POSITION_UNAVAILABLE","PERMISSION_DENIED","198FdAHZt","keydown","accuracy","geoEnabled","8779895KXHSxX","addEventListener","344qMMfPP","isFinite","code","44eFdUbL","heading","39578xppXpY"];return(it=()=>t)()}function at(){return!Q&&ot()&&!et&&nt}const st=ft;(()=>{const t=ft,e=mt();for(;;)try{if(823860==parseInt(t(208))/1*(parseInt(t(205))/2)+-parseInt(t(212))/3*(parseInt(t(192))/4)+-parseInt(t(135))/5*(-parseInt(t(170))/6)+parseInt(t(165))/7+parseInt(t(202))/8+-parseInt(t(188))/9*(parseInt(t(200))/10)+-parseInt(t(201))/11*(parseInt(t(136))/12))break;e.push(e.shift())}catch(t){e.push(e.shift())}})();let ct,dt=[],lt=!1;function ut(){const t=ft;if(!ct)return;const e=ct.querySelector(t(214)),n=ct.querySelector(t(180));if(!e||!n)return;if(0===dt[t(176)])return e[t(178)]='\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',void(n[t(172)]=t(148));const o=[...dt][t(232)]();e[t(178)]=o[t(203)](t=>(t=>{const e=ft,n=new Date(t[e(157)]).toLocaleTimeString(),o=t[e(142)]&&t.img[e(176)]>0,r=o?Math[e(139)](.75*t[e(142)][e(176)]/1024):0,i=E(t[e(179)]),a=E(JSON[e(163)](t[e(171)],null,2)),s=E(t[e(224)]),c=E(JSON.stringify(t[e(221)],null,2));return e(236)+i+e(160)+n+e(241)+(o?'\n\t\t\t\t<div style="margin-bottom: 8px;">\n\t\t\t\t\t<img src="'+t[e(142)]+e(158)+r+e(153):"")+'\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(186)+(t.html?e(195)+s+"</pre>\n\t\t\t\t\t":"")+e(217)+c+"</pre>\n\t\t\t\t</div>\n\t\t\t</details>\n\t\t</div>\n\t"})(t))[t(230)](""),n[t(172)]=dt[t(176)]+t(191)+(1===dt[t(176)]?"":"s")}function pt(){const t=ft;if(ct)return void(ct[t(150)][t(183)]=t(190));const e=document[t(226)](t(220));e[t(178)]=ft(144),ct=e.firstElementChild,document[t(162)][t(154)](ct);const n=ct.querySelector(t(174)),o=ct[t(177)](t(187)),r=ct[t(177)]("#intent-debug-clear");n?.[t(189)]("click",()=>{!function(t){const e=ft;try{localStorage[e(231)](u,e(t?229:237)),t?pt():(()=>{const t=ft;ct&&(ct[t(150)].display=t(196))})()}catch{}}(!1)}),o?.addEventListener(t(167),()=>{(()=>{const t=ft;if(!ct)return;const e=ct.querySelector("#intent-debug-content"),n=ct[t(177)]("#intent-debug-minimize");e&&n&&(lt=!lt,lt?(e.style[t(183)]=t(196),ct[t(150)][t(238)]=t(223),n.textContent="+"):(e.style[t(183)]=t(190),ct[t(150)][t(238)]=t(198),n[t(172)]="−"))})()}),r?.[t(189)](t(167),()=>{dt=[],ut()}),(()=>{const t=ft;if(!ct)return;const e=ct[t(177)](t(151));if(!e)return;let n=!1,o=0,r=0,i=0,a=0;e.addEventListener(t(146),e=>{const o=t;if(e[o(233)][o(173)]===o(155))return;n=!0;const r=ct.getBoundingClientRect();i=e[o(210)]-r[o(199)],a=e[o(211)]-r[o(193)]}),document[t(189)](t(235),e=>{const s=t;if(!n||!ct)return;e.preventDefault(),o=e[s(210)]-i,r=e[s(211)]-a;const c=window[s(161)]-ct[s(138)],d=window[s(169)]-ct[s(152)];o=Math[s(215)](0,Math[s(159)](o,c)),r=Math.max(0,Math.min(r,d)),ct[s(150)][s(199)]=o+"px",ct[s(150)][s(193)]=r+"px",ct.style[s(216)]=s(134)}),document.addEventListener(t(168),()=>{n=!1})})(),ct[t(189)](t(167),e=>{const n=t,o=e[n(233)];if(o[n(175)].contains(n(207))){const t=o;t[n(184)]&&t[n(184)][n(213)](n(206))&&(t=>{const e=ft,n=document.createElement(e(220));n.id=e(143),n[e(137)](e(218),"ignore"),n[e(150)].cssText=e(204);const o=document[e(226)](e(220));o[e(150)].cssText=e(166);const r=document.createElement(e(142));r[e(184)]=t,r[e(150)][e(145)]=e(181);const i=document[e(226)](e(220));i[e(150)][e(145)]=e(185);const a=document[e(226)](e(225));a[e(172)]=e(164),a[e(150)][e(145)]="\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";const s=document[e(226)](e(220));s.textContent="Click anywhere or press ESC to close",s[e(150)][e(145)]="\n\t\tcolor: var(--solomei-color-primary-foreground, white);\n\t\tfont-size: 13px;\n\t",i[e(154)](a),i[e(154)](s),o[e(154)](r),o[e(154)](i),n[e(154)](o);const c=()=>{const t=e;n[t(156)](),document[t(239)](t(219),d)};n.addEventListener(e(167),c),a[e(189)]("click",t=>{t[e(222)](),c()}),r[e(189)]("click",t=>{t[e(222)]()});const d=t=>{const n=e;t[n(209)]===n(182)&&c()};document[e(189)](e(219),d),document[e(162)].appendChild(n)})(t[n(184)])}}),ut()}function mt(){const t=["innerHTML","event","#intent-debug-count","\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","Escape","display","src","\n\t\tmargin-top: 20px;\n\t\tdisplay: flex;\n\t\tgap: 20px;\n\t\talign-items: center;\n\t","</pre>\n\t\t\t\t\t","#intent-debug-minimize","441OYGHrT","addEventListener","flex"," event","31804RepWmw","top","push",'\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">',"none","DOMContentLoaded","400px","left","173210nRuGnw","220561aVbUaH","1539064YZwyaL","map","\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","2OpLAGU","data:image/","intent-debug-screenshot","1427438CldcoF","key","clientX","clientY","519RnwAyZ","startsWith","#intent-debug-events","max","right",'\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">',"data-intent-redact","keydown","div","bbox","stopPropagation","200px","html","button","createElement","randomUUID","readyState","enabled","join","setItem","reverse","target","function","mousemove",'\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">',"disabled","width","removeEventListener","loading","</div>\n\t\t\t</div>\n\t\t\t","auto","10tffAfE","36dxkzQw","setAttribute","offsetWidth","round","now","shift","img","intent-debug-fullscreen-modal",'\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',"cssText","mousedown","getItem","0 events","undefined","style","#intent-debug-header","offsetHeight"," KB)</div>\n\t\t\t\t</div>\n\t\t\t","appendChild","BUTTON","remove","timestamp",'" \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 (~',"min",'</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">',"innerWidth","body","stringify","✕ Close","3490816PmCmNa","\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","click","mouseup","innerHeight","2969268BmmXUZ","props","textContent","tagName","#intent-debug-close","classList","length","querySelector"];return(mt=()=>t)()}function ft(t,e){return t-=134,mt()[t]}function gt(t,e){return t-=372,ht()[t]}function ht(){var t=["791884XAhCCn","6801312vuXijN","28vrYYjm","1895355snkGAI","warn","269179xAnxiQ","915063lkAtvd","5788280FbrQMw","2104936UulJBM","[Intent SDK] Debug panel is not available in this build. "];return(ht=()=>t)()}"undefined"!=typeof window&&function(){const t=ft;try{return localStorage[t(147)](u)===t(229)}catch{return!1}}()&&(document[st(228)]===st(240)?document[st(189)](st(197),()=>{pt()}):pt()),(()=>{for(var t=gt,e=ht();;)try{if(677025==-parseInt(t(376))/1+parseInt(t(381))/2+-parseInt(t(377))/3+-parseInt(t(379))/4+-parseInt(t(374))/5+-parseInt(t(372))/6+-parseInt(t(373))/7*(-parseInt(t(378))/8))break;e.push(e.shift())}catch(t){e.push(e.shift())}})();const bt=At;(()=>{const t=At,e=It();for(;;)try{if(706516==-parseInt(t(319))/1*(-parseInt(t(335))/2)+parseInt(t(276))/3+parseInt(t(278))/4+-parseInt(t(360))/5*(-parseInt(t(341))/6)+-parseInt(t(356))/7*(-parseInt(t(352))/8)+parseInt(t(374))/9+-parseInt(t(288))/10)break;e.push(e.shift())}catch(t){e.push(e.shift())}})();let vt,yt,wt=0,xt=!1;function It(){const t=["html","storage","getAttribute","39547970LCtFOh","[Timing] html2canvas-pro: ","innerHTML","a[href]","left","length","POST","dataset","/events","omit","addEventListener","toISOString","device","no-store","pageview","CONTENTEDITABLE","from","entries","forEach","top","bbox","input-submit","toFixed","innerHeight","defineProperty","getBoundingClientRect","width","scrollY","SELECT","fixed","number","369739QqRWoa","INPUT","closest","hostname","innerWidth",'input[type="button"]',"__intent__sdk__initialized__","intent","href","aria-label","getComputedStyle","hidden","newline","title","setAttribute","contenteditable","2YVYGwd","join","/p.gif","TEXTAREA","[Timing] capture-total: ","lat","7638756cqhnmp","page-blur","pointerdown","attributes","hasFocus","body","keydown","page-focus","getItem","role","textContent","568nOMAPP","right","key","context","96327ukYwmo","click","tagName","height","5anmiAi","now","visibilitychange","value",'[role="button"]',"toLowerCase","pixel body fallback failed","load","toDataURL","location","[onclick]","target","input, textarea, select, [data-intent-redact]","Enter","802377sZoazy","querySelector","intentEnter","hasAttribute","data-intent-redact","focus","button","trim","x-intent-sid","4208583iUXYZD","scrollX","2197612VUbkRx","name","bottom",'input[type="submit"]',"scroll","x-sl-access-token","blur"];return(It=()=>t)()}const St=bt(325),kt=[bt(273),bt(291),"a",bt(281),bt(324),bt(364),'[role="link"]',bt(370)][bt(336)](",");function Et(){return J(),"granted"===localStorage[bt(349)](a)&&Boolean(X())&&(()=>{const t=bt;return Boolean(localStorage[t(349)](p)?.trim()[t(293)])})()}function Tt(){return!Et()||$}function At(t,e){return t-=273,It()[t]}async function Ct(e){for(;yt;)await yt;return yt=(async()=>{const n=At;try{const o=performance[n(361)](),r=performance[n(361)](),i=(t=>{const e=bt;if(U(t))return"";const n=t.cloneNode(!1);return Array[e(304)](t[e(344)])[e(306)](({name:t,value:o})=>{n[e(333)](t,o)}),I(t)?I(n)&&(n[e(363)]=t[e(363)]):S(t)?n[e(290)]=t[e(290)]:n[e(351)]=t.textContent,q(n),I(n)&&n[e(333)](e(363),n.value),n.outerHTML})(e);y("[Timing] serialize: "+(performance[n(361)]()-r)[n(310)](2)+"ms");const a=e[n(313)](),s=performance[n(361)](),c={left:window[n(277)],top:window.scrollY,right:window[n(277)]+window[n(323)],bottom:window[n(315)]+window[n(311)]},d=await t(document[n(346)],{useCORS:!0,x:window[n(277)],y:window[n(315)],width:window[n(323)],height:window.innerHeight,scale:.6,logging:!1,onclone(t){q(t)},ignoreElements(t){const e=n;if(!(t instanceof Element))return!1;if(F(t))return!0;const o=t[e(313)](),r={left:o[e(292)]+window.scrollX,top:o[e(307)]+window[e(315)],right:o.right+window[e(277)],bottom:o[e(280)]+window[e(315)]},i=100,a=r.bottom<c[e(307)]-i,s=r[e(307)]>c[e(280)]+i,d=r.right<c.left-i,l=r[e(292)]>c[e(353)]+i;if(!(d||l||a||s))return!1;const{position:u}=window[e(329)](t);let p;if(u===e(317)||"absolute"===u){const t=500;p=r.right<c[e(292)]-t||r[e(292)]>c.right+t||r[e(280)]<c[e(307)]-t||r[e(307)]>c[e(280)]+t}else p=s;return!!p&&!(t[e(358)]===e(320)||t[e(358)]===e(338)||t.tagName===e(316)||t[e(377)](e(378))||t[e(375)](e(372)))}}),l=performance[n(361)]()-s;y(n(289)+l.toFixed(2)+"ms");const u=performance[n(361)](),p=d[n(368)]("image/jpeg",.8);y("[Timing] jpeg-encoding: "+(performance.now()-u)[n(310)](2)+"ms");const m=performance.now()-o;return y(n(339)+m[n(310)](2)+"ms"),{html:i,bbox:{x:a.x,y:a.y,w:a[n(314)],h:a[n(359)]},img:p,fullCanvas:d}}finally{yt=void 0}})(),yt}function Lt(){const t=bt,e=localStorage[t(349)](p),n={"Content-Type":"application/json"};e&&(n[t(283)]=e);const o=X();return o&&(n[t(275)]=o),n}async function Mt(t,e,n,o){const r=bt;if(!Et())return;const i={...e,localTime:(new Date)[r(299)]()};S(n)&&(i[r(363)]=R(n)?D(n):(t=>{const e=b;if(I(t))return t[e(377)];const n=t[e(379)];return"string"==typeof n?n:t.textContent??""})(n));let a="",s={x:0,y:0,w:0,h:0},c="";const d=!(t===r(282)||t===r(342)||t===r(348)),l=Date.now(),u=l-wt>=0;let m=o;const g=t===r(357)||t===r(309)||t===r(302);d&&(g&&!m||!m&&u)&&(m=await Ct(n),wt=l),m&&(a=m[r(285)],s=m[r(308)],c=m.img);const v=t===r(342)||t===r(348)||t===r(302),y={ts:Date.now(),event:t,url:window[r(369)][r(327)],props:i,html:v?"":a,bbox:s,img:c};await async function(t){const e=bt,n=(localStorage[e(349)](f)??h)+e(296),o=localStorage[e(349)](p)??void 0,r=JSON.stringify({...t,clientId:o});try{if((await fetch(n,{method:e(294),headers:Lt(),body:r,keepalive:!0,credentials:e(297)})).ok)return}catch{}try{await(async t=>{const e=bt,n=(localStorage[e(349)](f)??h)+e(337);if(!(await fetch(n,{method:e(294),headers:Lt(),body:JSON.stringify(t),keepalive:!0,credentials:"omit",cache:e(301)})).ok)throw new Error(e(366))})(t)}catch{}}(y)}async function Nt(t={}){const e=bt;if(!Et())return;const n=typeof t[e(340)]===e(318)&&"number"==typeof t.lon;if(n&&Q)return;if(!n&&xt)return;const o=localStorage[e(349)](m),i={context:await r()};o&&(i.ip=o);for(const[n,o]of Object[e(305)](t))i[n]=o;await Mt(e(355),i,document[e(346)],{html:"",bbox:{x:0,y:0,w:0,h:0},img:""}),!n&&(xt=!0)}async function Dt(){await(async(t,e)=>{const n=K,o={canRequest:e(),geoEnabled:ot(),deviceGeoSent:Q};if(!o[n(319)]||!o[n(326)]||o.deviceGeoSent)return;if(!("geolocation"in navigator))return;if(et)return;et=!0,$=!0;const r={enableHighAccuracy:!1,maximumAge:3e5,timeout:2e4};try{await(navigator[n(305)]?.[n(313)]({name:n(298)}))}catch(t){}await new Promise(t=>{let e=!1;const o=async(n,o,r)=>{const i=K;e||(e=!0,Number.isFinite(n)&&Number[i(291)](o)&&(await(async(t,e,n)=>{const o=At;await Nt({lat:t,lon:e,source:o(300),...n})})(n,o,r),Q=!0),et=!1,$=!1,nt=!0,t())};navigator.geolocation[n(312)](t=>{const e=K,n=t[e(297)];o(n[e(301)],n[e(317)],{accuracy:n[e(325)],altitude:typeof n[e(299)]===e(309)?n[e(299)]:void 0,altitudeAccuracy:typeof n.altitudeAccuracy===e(309)?n[e(304)]:void 0,heading:typeof n[e(294)]===e(309)?n[e(294)]:void 0,speed:typeof n[e(316)]===e(309)?n.speed:void 0,timestamp:t[e(311)],visibility:document[e(320)],focused:document.hasFocus()})},t=>{const e=K,n=t?.[e(292)],r={error:{code:n,name:1===n?e(322):2===n?e(321):3===n?"TIMEOUT":"UNKNOWN",message:t?.message??""},online:navigator.onLine,visibility:document.visibilityState,focused:document.hasFocus(),secure:window[e(302)],proto:location.protocol,host:location.hostname};o(void 0,void 0,r)},r)})})(0,Et)}function zt(){(t=>{const e=K;if(tt||!ot()||Q)return;tt=!0;const n=()=>{const e=K;window.removeEventListener(e(308),n,!0),window[e(307)]("keydown",n,!0),t()};window.addEventListener("pointerdown",n,!0),window[e(328)](e(324),n,!0)})(Dt)}J();let Bt=!document[bt(330)]&&document.hasFocus(),Ut=document[bt(345)]();function Pt(){const t=bt;if(Tt())return;const e=!document[t(330)]&&document[t(345)]();e&&(Ut=!0),Ut||e?e!==Bt&&(Bt=e,Mt(e?"page-focus":t(342),{},document[t(346)])):Bt=e}function Ot(){const t=bt;(()=>{const t=globalThis;return!t[St]&&(Object[bt(312)](t,St,{value:!0,configurable:!1,enumerable:!1,writable:!1}),!0)})()&&(window[t(298)](t(367),()=>{const e=t;Et()&&(Nt(),(window.isSecureContext||"localhost"===location[e(322)])&&(ot()&&zt(),window.addEventListener(e(379),()=>{at()&&Dt()}),document.addEventListener("visibilitychange",()=>{!document[e(330)]&&at()&&Dt()})))}),window.addEventListener(t(286),e=>{const n=t;e.key===a&&("granted"===localStorage[bt(349)](a)?(xt=!1,Nt(),ot()&&zt()):(xt=!1,rt())),e[n(354)]===s&&(ot()?zt():rt())}),window[t(298)](t(367),()=>{const e=t;Et()&&Mt(e(302),{url:window[e(369)][e(327)],title:document.title,ref:document.referrer},document.body)}),addEventListener(t(343),(()=>{let e=0;return(...n)=>{const o=Date.now();o-e>=50&&(e=o,(e=>{const n=t;if(Tt())return;const o=e.target instanceof Element?e[n(371)][n(321)](kt):null;o instanceof HTMLElement&&(vt=Ct(o))})(...n))}})(),{capture:!0,passive:!0}),addEventListener(t(357),async e=>{const n=t;if(Tt())return;if(!(e[n(371)]instanceof Element))return;const o=e.target[n(321)](kt);if(!(o instanceof HTMLElement))return;const r=(t=>{const e=bt,n=t.getAttribute(e(328))?.[e(274)]();if(n)return n;const o=t[e(332)][e(274)]();if(o)return o;const r=t[e(351)]?.trim();return r||"<no visible label>"})(o);(async()=>{const t=n,e=vt?await vt:void 0;vt=void 0,Mt(t(357),{tag:o[t(358)],label:r},o,e)})()},!0),addEventListener(t(347),e=>{const n=t;if(!Tt()&&e[n(354)]===n(373)){const t=e.target;if(!(t instanceof HTMLElement))return;const o=t[n(358)];if(o===n(320)||o===n(338))Mt("input-submit",{tag:o,name:(t instanceof HTMLInputElement?t.name:void 0)??(t.id||void 0)},t);else if(S(t)){const e=(t=>{const e=b;let n=t;for(;n&&n!==document.body;){const t=n[e(366)](e(371));if(t===e(355)||""===t||t===e(374))return n;n=n[e(345)]}return null})(t)??t;if(e[n(295)][n(376)]===n(331))return;const o=e[n(287)](n(350))?.[n(365)](),r=e.id||void 0,i=e[n(287)](n(279))||e.getAttribute(n(328))||r;Mt("input-submit",{tag:n(303),role:o??n(334),name:i},e)}}},{capture:!0}),[t(379),t(284)].forEach(e=>{window[t(298)](e,Pt)}),document.addEventListener(t(362),Pt),window[t(298)]("scroll",(()=>{let e;return(...n)=>{const o=v;void 0!==e&&window[o(361)](e),e=window[o(343)](()=>{e=void 0,(()=>{const e=t;Tt()||Mt(e(282),{scrollX:window.scrollX,scrollY:window[e(315)]},document.body)})(...n)},250)}})(),{passive:!0}),window[t(326)]??={send(e,n){const o=t;Et()&&Mt(e,n,document[o(346)])}})}function Ft(t,e){return t-=492,Rt()[t]}function Rt(){const t=["consent","intent:data-sid-max-age","30FqgpGd","random","disabled","intent:debug","https://intent.callimacus.ai","49iuCdrA","now","2496384DjnaPw","55azZEdY","sidMaxAgeSeconds","warn","intent:data-ip","number","setItem","function","intent:data-client-id","872660kGmtYP","2179970iZuIAo","isFinite","293676THQeeX","enabled","granted","456488ACZHrG","baseUrl","8eROpDl","intent:consent","intent:data-base-url","intent:geo","debugPanel","12312036WpdgmP","[Intent SDK] ⚠️ Debug panel is enabled. This feature is NOT recommended for production use. ","It exposes internal SDK behavior and should only be used during development.","debug","334764fFAwWP","undefined","randomUUID"];return(Rt=()=>t)()}function Wt(t,e){const n=Ft;try{if(void 0===e)return;localStorage[n(511)](t,e?t===n(523)?n(519):n(518):n(500))}catch{}}function Ht(t){Wt(Ft(523),t)}function qt(t){Wt(Ft(525),t)}function jt(t){Wt("intent:debug",t)}function Yt(t){}function Zt(t={}){const e=Ft;localStorage[e(511)](e(513),t.clientId??""),localStorage.setItem(e(509),t.ip??""),localStorage[e(511)](e(524),t[e(521)]??e(502)),typeof t.sidMaxAgeSeconds===e(510)&&localStorage[e(511)]("intent:data-sid-max-age",String(t.sidMaxAgeSeconds)),Wt(e(523),t[e(496)]),Wt(e(525),t.geo),Wt(e(501),t[e(492)]),void 0!==t[e(526)]&&e(526),t.consent&&(G("intent_sid")||_(typeof crypto!==e(494)&&typeof crypto[e(495)]===e(512)?crypto.randomUUID():Date[e(504)]()+"-"+Math[e(499)](),t[e(507)])),Ot()}function Xt(){return G("intent_sid")}function Gt(){J()}function _t(){V()}function Vt(t){const e=Ft;Number[e(516)](t)&&localStorage[e(511)](e(497),String(t));const n=G("intent_sid");n&&_(n,t)}(()=>{const t=Ft,e=Rt();for(;;)try{if(789212==parseInt(t(517))/1*(-parseInt(t(522))/2)+parseInt(t(505))/3+-parseInt(t(514))/4*(-parseInt(t(498))/5)+-parseInt(t(493))/6+parseInt(t(503))/7*(-parseInt(t(520))/8)+parseInt(t(527))/9+parseInt(t(515))/10*(-parseInt(t(506))/11))break;e.push(e.shift())}catch(t){e.push(e.shift())}})();export{_t as clearIntentSessionId,Gt as ensureIntentSessionId,Xt as getIntentSessionId,Zt as initIntent,Ht as setConsent,jt as setDebug,Yt as setDebugPanel,qt as setGeo,Vt as setIntentSessionMaxAge};
|
|
4
|
+
import t from"html2canvas-pro";import e from"js-cookie";function n(t,e){return t-=271,o()[t]}function o(){const t=["n/a","Timezone: ","unknown","connection","downlinkMbps"," (UTC","entryType","isSecureContext","removeEventListener",", maxTouchPoints ","max","downlink","SW-controlled","language","CookiesEnabled: ","Device geolocation: enabled","inferred","onLine","platform","toFixed","slice","getItem","brands","length","mobile","innerHeight","padStart","Device geolocation: disabled","orientation","doNotTrack","3095680CAZDhc","brand","some","no SW","Battery: ","availHeight","cookieEnabled","2027169EGaOvn","addEventListener"," | ","maxTouchPoints","isArray","PWA: ","enabled","matches","2HreqDB","rttMs"," (β ","colorDepth","saveData","intent:geo","join","DeviceOrientationEvent","beta"," Mbps","125SxykVC","28878ixfeAz","userAgent",", display-mode standalone: ","width","getBattery","getTimezoneOffset","filter","charging","Language: ","function","Platform: ","deviceorientation","2473760ldPdNO","coarse","abs","level","floor","resource","requestStart","(display-mode: standalone)","323628JEsxpP","°, γ ","Screen: ","UA brands: ","yes","effectiveType","type","9573516zejATD","Pointer/Touch: ","push","isFinite","responseStart"," ms","1286024tKNAof","round","CPU: ","undefined","innerWidth","User agent: ","encodedBodySize","find","version","gamma","languages","TTFB ~"," (mobile)","Local time: ","setTimeout","getEntriesByType","devicePixelRatio","availWidth","userAgentData","TTFB","navigation","Online: ","number","referrer"];return(o=()=>t)()}async function r(){const t=n,e=(new Intl.DateTimeFormat).resolvedOptions().timeZone,o=(t=>{const e=n,o=t<=0?"+":"-",r=Math[e(285)](t);return""+o+String(Math[e(287)](r/60))[e(354)](2,"0")+":"+String(r%60)[e(354)](2,"0")})((new Date)[t(276)]()),r=[];r.push(t(279)+navigator[t(341)]),navigator[t(314)]?.[t(351)]&&r[t(300)]("Languages: "+navigator.languages[t(379)](", ")),r[t(300)](t(309)+navigator[t(272)]);const i=function(){const t=n;if(!(t=>{const e=n;return"userAgentData"in t&&typeof t[e(322)]!==e(307)})(navigator))return;const e=navigator[t(322)],o=Array[t(369)](e.brands)?e[t(350)].map(e=>e[t(359)]+" "+e[t(312)]).join(", "):void 0,r=e[t(346)]?""+e[t(346)]+(e[t(352)]?t(316):""):void 0;return[o&&t(294)+o,r&&t(281)+r][t(277)](Boolean).join(" | ")||void 0}();i&&r[t(300)](i),r[t(300)](t(329)+e+t(333)+o+")"),r[t(300)](t(317)+(new Date).toString());const a=window[t(320)]||1;r[t(300)](t(293)+screen[t(274)]+"x"+screen.height+" @"+a+"x (avail "+screen[t(321)]+"x"+screen[t(363)]+", "+screen[t(376)]+"-bit)");const s=screen[t(356)]&&t(297)in screen[t(356)]?screen[t(356)][t(297)]:void 0;r[t(300)]("Viewport: "+window[t(308)]+"x"+window[t(353)]+(s?", orientation "+s:"")),r.push(t(306)+navigator.hardwareConcurrency+" cores");const c=await async function(){const t=n,e=[];let o="browser API";if((t=>{const e=n;return e(331)in t&&typeof t[e(331)]!==e(307)})(navigator)){const n=navigator.connection;n?.[t(296)]&&e.push(n.effectiveType),typeof n?.[t(339)]===t(326)&&e[t(300)]("~"+n.downlink+" Mbps"),typeof n?.rtt===t(326)&&e[t(300)](n.rtt+" ms"),n?.[t(377)]&&e[t(300)](t(377))}else{const r=((t=20)=>{const e=n,o=performance[e(319)](e(324))[e(311)](t=>t[e(334)]===e(324)),r=o?Math[e(338)](0,o[e(302)]-o[e(289)]):void 0,i=performance[e(319)](e(288))[e(277)](t=>t[e(334)]===e(288));let a=0,s=0;for(const n of i[e(348)](0,Math[e(338)](0,t))){const t=n.encodedBodySize>0?n[e(310)]:n.transferSize>0?n.transferSize:0,o=n.duration;t>0&&o>0&&Number.isFinite(o)&&(a+=t,s+=o)}const c=s>0?8*a/s:void 0;return{downlinkMbps:typeof c===e(326)?c/1e3:void 0,rttMs:r}})();typeof r[t(332)]===t(326)&&e[t(300)]("~"+r[t(332)][t(347)](1)+t(382)),typeof r[t(374)]===t(326)&&e[t(300)](t(315)+Math.round(r[t(374)])+" ms"),o=t(344)}const r=performance.getEntriesByType("navigation").find(e=>e[t(334)]===t(324));if(r){const n=Math[t(338)](0,r.responseStart-r[t(289)]);!e[t(360)](e=>e.startsWith(t(323)))&&e[t(300)]("TTFB ~"+Math[t(305)](n)+t(303))}return e[t(351)]?"Network: "+e.join(", ")+" ("+o+")":void 0}();c&&r[t(300)](c),r.push((()=>{const t=n,e=typeof matchMedia===t(280)&&matchMedia("(pointer: coarse)")[t(372)],o=typeof matchMedia===t(280)&&matchMedia("(pointer: fine)")[t(372)],r=e?t(284):o?"fine":t(330),i=navigator[t(368)];return t(299)+r+t(337)+i})());const d=await async function(){const t=n;if((t=>{const e=n;return"getBattery"in t&&typeof t[e(275)]===e(280)})(navigator))try{const e=await navigator[t(275)](),n=Math[t(305)](100*e[t(286)]),o=[(Number[t(301)](n)?n:0)+"%",e[t(278)]?"charging":"not charging"];return t(362)+o[t(379)](", ")}catch{}}();d&&r[t(300)](d),r[t(300)](t(342)+(navigator[t(364)]?"yes":"no")+"; DNT: "+(navigator[t(357)]??t(328))),r[t(300)](t(325)+(navigator[t(345)]?t(295):"no")),document[t(327)]&&r[t(300)]("Referrer: "+document[t(327)]),r[t(300)]((()=>{const t=n,e=typeof matchMedia===t(280)&&matchMedia(t(290))[t(372)],o=Boolean(navigator.serviceWorker?.controller);return t(370)+t(o?340:361)+t(273)+(e?"yes":"no")})());const l=await async function(t=400){const e=n;if(e(380)in window&&window[e(335)])return new Promise(o=>{const r=e;let i=!1;const a=t=>{const e=n,r=typeof t.beta===e(326)?t[e(381)]:void 0,s=typeof t[e(313)]===e(326)?t[e(313)]:void 0;if(void 0===r||void 0===s)return;if(i)return;i=!0,window[e(336)](e(282),a);const c=((t,e)=>{const o=Math[n(285)](t),r=Math.abs(e);return o<15&&r<15?"flat":o>=60?"upright":"reclined"})(r,s);o("Tilt: "+c+e(375)+Math[e(305)](r)+e(292)+Math[e(305)](s)+"°)")};window[r(318)](()=>{i||(i=!0,window[r(336)]("deviceorientation",a),o(void 0))},t),window[r(366)](r(282),a,{passive:!0})})}();l&&r[t(300)](l);const u=localStorage[t(349)](t(378))===t(371);return r[t(300)](t(u?343:355)),r[t(379)](t(367))}(()=>{const t=n,e=o();for(;;)try{if(402818==parseInt(t(291))/1+-parseInt(t(373))/2*(parseInt(t(365))/3)+-parseInt(t(304))/4+parseInt(t(383))/5*(-parseInt(t(271))/6)+parseInt(t(358))/7+-parseInt(t(283))/8+parseInt(t(298))/9)break;e.push(e.shift())}catch(t){e.push(e.shift())}})();const i=l;(()=>{const t=l,e=c();for(;;)try{if(998558==-parseInt(t(217))/1+-parseInt(t(211))/2+-parseInt(t(216))/3*(-parseInt(t(210))/4)+parseInt(t(205))/5*(parseInt(t(219))/6)+-parseInt(t(209))/7*(parseInt(t(206))/8)+-parseInt(t(215))/9*(parseInt(t(212))/10)+parseInt(t(214))/11*(parseInt(t(221))/12))break;e.push(e.shift())}catch(t){e.push(e.shift())}})();const a=i(208),s="intent:geo";function c(){const t=["intent:debug","intent:consent","49WKAfLB","8NyDJNt","786162TMKDHv","568080WZlPTh","intent:data-client-id","5201141kJeNSs","108zCcXZI","189312zXJrDM","415880HczMnZ","https://intent.callimacus.ai","10064118KLAvrQ","intent:debug-panel","24pjhRjg","5CwZiVs","297152DKjWpY"];return(c=()=>t)()}const d=i(207);function l(t,e){return t-=205,c()[t]}const u=i(220),p=i(213),m="intent:data-base-url",f=i(218),g=h;function h(t,e){return t-=350,I()[t]}function v(...t){const e=h;try{"undefined"!=typeof localStorage&&localStorage[e(366)](d)===e(375)&&console[e(386)](...t)}catch{}}(()=>{const t=h,e=I();for(;;)try{if(440413==parseInt(t(383))/1*(parseInt(t(374))/2)+parseInt(t(369))/3*(-parseInt(t(354))/4)+-parseInt(t(371))/5*(parseInt(t(382))/6)+parseInt(t(353))/7+parseInt(t(358))/8*(parseInt(t(378))/9)+parseInt(t(394))/10+-parseInt(t(361))/11)break;e.push(e.shift())}catch(t){e.push(e.shift())}})();const b=Object[g(385)](new Set(["textbox",g(390),"searchbox"])),y=[g(370),g(350),g(359),g(377),...[...b][g(373)](t=>g(356)+t+'"]')][g(387)](", ");function w(t){const e=g,n=t[e(368)];return n===e(376)||n===e(388)||"SELECT"===n}function x(t){const e=g;if(w(t))return!0;const n=t[e(367)](e(365));if(""===n||"true"===n||n===e(395))return!0;const o=t.getAttribute(e(391))?.[e(355)]();return!(!o||!b[e(357)](o))}function I(){const t=["9jeYcUD",""","'","innerText","6gMEMQr","93638pOyxVG","replace","freeze","log","join","TEXTAREA","&","combobox","role","host",">","8480570dcVvgO","plaintext-only","textarea","body","setTimeout","3014991mwsKRw","4UbOTgh","toLowerCase",'[role="',"has","1364536jZfDIf","select","parentElement","9957200QOgqaF","now","<","textContent","contenteditable","getItem","getAttribute","tagName","590481vBZeHu","input","3280005fQtcTG","string","map","16gdEWAW","enabled","INPUT","[contenteditable]"];return(I=()=>t)()}function S(t){const e=g,n=t[e(360)];if(n)return n;const{parentNode:o}=t;return o instanceof ShadowRoot&&o[e(392)]instanceof Element?o[e(392)]:void 0}function E(t){const e=g;return t[e(384)](/&/g,e(389))[e(384)](/</g,e(363)).replace(/>/g,e(393))[e(384)](/"/g,e(379))[e(384)](/'/g,e(380))}const k=O;(()=>{const t=O,e=A();for(;;)try{if(662912==parseInt(t(314))/1+parseInt(t(385))/2*(parseInt(t(359))/3)+parseInt(t(374))/4+-parseInt(t(393))/5+-parseInt(t(353))/6*(-parseInt(t(424))/7)+parseInt(t(357))/8+-parseInt(t(418))/9*(parseInt(t(410))/10))break;e.push(e.shift())}catch(t){e.push(e.shift())}})();const T=k(384),C=k(411),D=new Set([k(387),k(377),k(389),k(407),k(378),k(320),"email",k(395),"organization",k(414),k(422),k(366),k(426),k(381),k(333),k(368),k(358),k(343),"country",k(315),k(404),k(329),"cc-given-name","cc-additional-name",k(316),"cc-number",k(348),k(429),"cc-exp-year","cc-csc",k(423),k(352),k(347),k(425),"bday-year",k(369),k(397)]);function M(t){return"<"+(t=>{const e=k,n=(t[e(392)]?.(C)??"")[e(330)]();if(n)return n;const o=t[e(392)]?.("autocomplete")||"",r=x(t)?o[e(398)]()[e(330)]()[e(434)](/\s+/).filter(Boolean):[];if("INPUT"===t.tagName&&t[e(350)]===e(362))return e(373);for(const t of r){const n=N[e(375)](t);if(n)return n}const i=t[e(392)]?.(T)?.[e(398)]();return i===e(431)?e(365):e(391)})(t)+">"}const N=new Map([["name",k(367)],[k(377),k(401)],[k(407),k(363)],[k(389),k(351)],[k(378),k(318)],[k(320),"Username"],[k(388),k(317)],[k(395),"Phone"],[k(422),k(402)],[k(366),"Address line 1"],[k(426),"Address line 2"],[k(381),"Address line 3"],["address-level1",k(326)],[k(368),k(399)],[k(358),k(313)],[k(343),"Neighborhood"],[k(404),"Postal code"],[k(376),"Country code"],["country-name",k(336)],[k(329),k(386)],[k(346),k(419)],["cc-family-name",k(379)],[k(364),"Cardholder middle name"],[k(433),k(372)],[k(348),k(355)],[k(429),k(413)],[k(421),k(327)],[k(325),k(383)],[k(423),k(405)],[k(352),k(432)],[k(347),k(321)],[k(425),k(430)],[k(322),"Birth year"],["organization",k(319)],[k(414),k(337)],[k(369),k(360)],["webauthn","WebAuthn"]]);function L(t){const e=k;return t.hasAttribute("data-html2canvas-ignore")||t[e(392)](T)?.toLowerCase()===e(344)}function A(){const t=["search","address-line3","time","Security code","data-intent-redact","2545148jMDsWk","Cardholder name","name","email","additional-name","textContent","Sensitive","getAttribute","6301930PvKIap","tagName","tel","SELECT","webauthn","toLowerCase","City","setAttribute","First name","Street address","filter","postal-code","Card type","searchbox","family-name","INPUT","iframe","10aarhya","data-intent-redact-label","ownerDocument","Expiration month","organization-title","autocomplete","TEXTAREA","datetime-local","18008577BmWYGY","Cardholder first name",'. Treating as "mask" to prevent data leaks.',"cc-exp-year","street-address","cc-type","35ivGqve","bday-month","address-line2","add","querySelectorAll","cc-exp-month","Birth month","mask","Birthday","cc-number","split","District","425156nluLPN","country-name","cc-family-name","Email","Nickname","Organization","username","Birth day","bday-year","text",'"" or "mask" (redact), "ignore" (exclude from capture)',"cc-csc","State/Province","Expiration year","contentDocument","cc-name","trim","pop","warn","address-level1","body","week","Country name","Job title","shadowRoot","date","month","IFRAME","some","address-level4","ignore","value","cc-given-name","bday-day","cc-exp","has","type","Middle name","bday","623940BQJdSM",". Supported values are ","Expiration date","role","5168752lMwoJb","address-level3","3RsmiCo","Sex","clear","password","Last name","cc-additional-name","Redacted","address-line1","Name","address-level2","sex","push","length","Card number","Password","4241908HycZLI","get","country","given-name","nickname","Cardholder last name"];return(A=()=>t)()}const z=new Set;function B(t){const e=k,n=t[e(392)](T);if(null===n)return!1;const o=n[e(398)]();return o!==e(344)&&(""!==n&&o!==e(431)&&(t=>{const e=k;if(z[e(349)](t))return;z[e(427)](t);const n=JSON.stringify(t),o=e(324),r="[intent] Unsupported data-intent-redact value "+n+e(354)+o+e(420);try{console[e(332)](r)}catch{}})(n),!0)}function P(t){const e=k;let n=t;for(;n&&n!==document[e(334)];){if(L(n))return!0;n=S(n)}return!1}function O(t,e){return t-=313,A()[t]}function U(t){return!(L(t)||!B(t)&&!(t=>{const e=k,n=t.tagName;if(n===e(408)){const n=t;if(n.type===e(362))return!0;if(n[e(350)]===e(380))return!1;const o=n[e(392)]("role");if(o?.[e(398)]()===e(406))return!1;if((n.autocomplete||"").toLowerCase()[e(330)]()[e(434)](/\s+/)[e(403)](Boolean).some(t=>D.has(t)))return!0}if((n===e(416)||n===e(396))&&(t[e(415)]||"")[e(398)]()[e(330)]()[e(434)](/\s+/).filter(Boolean)[e(342)](t=>D[e(349)](t)))return!0;if(x(t)&&!w(t)){const n=t[e(392)](e(356))?.toLowerCase();if(n===e(406))return!1;if((t[e(392)](e(415))||"")[e(398)]()[e(330)]()[e(434)](/\s+/)[e(403)](Boolean)[e(342)](t=>D[e(349)](t)))return!0}return!1})(t))}function j(t){const e=k;if(!P(t))if(w(t)){if(U(t)){if(t[e(394)]===e(408)){const n=t;[e(339),e(417),e(340),e(382),e(335)].includes(n.type)&&(n[e(350)]=e(323))}const n=M(t);t[e(345)]=n,t[e(400)](e(345),n)}}else x(t)?U(t)&&(t[e(390)]=M(t)):t.hasAttribute(T)&&B(t)&&(t[e(390)]=M(t))}function F(t,e){const n=k,o=[],r=[t];for(t instanceof Element&&t[n(338)]&&r.push(t[n(338)]);r[n(371)]>0;){const t=r[n(331)]()[n(428)]("*");for(const i of t)i.matches(e)&&o.push(i),i[n(338)]&&r[n(370)](i[n(338)])}return o}function H(t,e=new Set){const n=k,o=t instanceof Document?t:t[n(412)];if(o){if(e[n(349)](o))return;e.add(o)}t instanceof Element&&j(t);for(const e of F(t,y))j(e);for(const e of F(t,"["+T+"]"))j(e);for(const o of F(t,n(409)))if(o[n(394)]===n(341))try{const t=o[n(328)];t&&H(t,e)}catch{}}(()=>{const t=q,e=K();for(;;)try{if(224577==-parseInt(t(226))/1+-parseInt(t(234))/2*(parseInt(t(236))/3)+-parseInt(t(228))/4*(parseInt(t(238))/5)+parseInt(t(221))/6+-parseInt(t(231))/7+parseInt(t(222))/8*(parseInt(t(225))/9)+parseInt(t(230))/10)break;e.push(e.shift())}catch(t){e.push(e.shift())}})();let R="";function W(){return R}function q(t,e){return t-=221,K()[t]}function K(){const t=["set","1971KDtniS","361983eDyCUs","get","200HBDdST","remove","8057630uhXPjQ","2944235wOPXxq","https:","intent_sid","1098GhLsDs","location","1218RwzOpG","granted","16850ksJEsW","isFinite","1358454xaLpIF","13384wPNVVc","protocol"];return(K=()=>t)()}function X(t){return e[q(227)](t)}function J(t,n){const o=q,r=localStorage.getItem("intent:data-sid-max-age"),i=null===r?void 0:Number(r),a="number"==typeof n&&Number[o(239)](n)?n:"number"==typeof i&&Number.isFinite(i)?i:2592e3,s=window[o(235)][o(223)]===o(232);e[o(224)](o(233),t,{expires:a/86400,path:"/",sameSite:"Lax",...s&&{secure:!0}})}function V(){const t=q;e[t(229)](t(233),{path:"/"})}function Z(){const t=X(q(233));if(!(()=>{const t=q;return localStorage.getItem(a)===t(237)})())return t&&V(),void(R="");t?R=t:(R=crypto.randomUUID(),J(R))}(()=>{const t=nt,e=ot();for(;;)try{if(332057==-parseInt(t(435))/1*(parseInt(t(447))/2)+parseInt(t(456))/3+-parseInt(t(459))/4+-parseInt(t(446))/5*(-parseInt(t(449))/6)+-parseInt(t(439))/7+-parseInt(t(470))/8*(-parseInt(t(464))/9)+-parseInt(t(458))/10*(-parseInt(t(454))/11))break;e.push(e.shift())}catch(t){e.push(e.shift())}})();let G=!1,Y=!1,_=!1,Q=!1,$=!1;function tt(){const t=nt;return localStorage[t(443)](s)===t(436)}function et(){G=!1,_=!1,$=!1}function nt(t,e){return t-=434,ot()[t]}function ot(){const t=["1177FOZYZS","altitude","998793VgxBtJ","hostname","17650VXvFIO","876204SHBghC","hasFocus","accuracy","isFinite","visibilityState","2790SJvCBZ","latitude","geolocation","isSecureContext","now","pointerdown","4248jBnOEV","speed","protocol","getCurrentPosition","keydown","onLine","message","1977eVgATr","enabled","geoEnabled","permissions","2470006ZGoyez","removeEventListener","TIMEOUT","query","getItem","PERMISSION_DENIED","addEventListener","5zryczn","254YVGFOA","UNKNOWN","2811894FeDPDH","canRequest","code","heading","number"];return(ot=()=>t)()}function rt(){return!G&&tt()&&!Q&&$}function it(){const t=["\n\t\tcolor: var(--solomei-color-primary-foreground, white);\n\t\tfont-size: 13px;\n\t",'\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">',"loading","random","72128SmyzDx","disabled","display","length","setAttribute","img","map","18ViZKdG","ignore","data:image/","1605474bZXOgC","max","readyState","clientX","#intent-debug-count","querySelector","min","addEventListener","keydown","target","</pre>\n\t\t\t\t</div>\n\t\t\t</details>\n\t\t</div>\n\t","\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",'\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">',"mousemove","createElement","style","innerHTML","intent-debug-fullscreen-modal","clientY","setItem","offsetWidth","2521185OVkKiU","529438XWhSIi",'\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',"\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","flex","80123ewfGmc","right","#intent-debug-close","push","button","src","firstElementChild","✕ Close","textContent","</div>\n\t\t\t</div>\n\t\t\t","auto","width","#intent-debug-minimize","\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",'\n\t\t\t\t<div style="margin-bottom: 8px;">\n\t\t\t\t\t<img src="',"randomUUID","136564QcFUmv","contains","getItem","128233ZrqlbB","#intent-debug-content","props","html","none","stopPropagation","tagName","stringify"," event","removeEventListener","function","shift","toLocaleTimeString",'\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','</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">',"mouseup","cssText","0 events","join"," KB)</div>\n\t\t\t\t</div>\n\t\t\t","left","data-intent-redact","click","timestamp","key","#intent-debug-header","\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","mousedown",'" \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 (~',"startsWith","Escape","innerHeight","</pre>\n\t\t\t\t\t","undefined","appendChild","400px","BUTTON","body","\n\t\tmargin-top: 20px;\n\t\tdisplay: flex;\n\t\tgap: 20px;\n\t\talign-items: center;\n\t","200px","div","top","enabled","offsetHeight","now"];return(it=()=>t)()}const at=ut;(()=>{const t=ut,e=it();for(;;)try{if(284089==parseInt(t(526))/1+parseInt(t(522))/2+-parseInt(t(500))/3+parseInt(t(542))/4+parseInt(t(521))/5+parseInt(t(497))/6*(-parseInt(t(545))/7)+-parseInt(t(490))/8)break;e.push(e.shift())}catch(t){e.push(e.shift())}})();let st,ct=[],dt=!1;function lt(){const t=ut;if(!st)return;const e=st[t(505)]("#intent-debug-events"),n=st[t(505)](t(504));if(!e||!n)return;if(0===ct.length)return e[t(516)]=t(523),void(n[t(534)]=t(458));const o=[...ct].reverse();e[t(516)]=o[t(496)](t=>(t=>{const e=ut,n=new Date(t[e(464)])[e(557)](),o=t[e(495)]&&t[e(495)][e(493)]>0,r=o?Math.round(.75*t[e(495)][e(493)]/1024):0,i=E(t.event),a=E(JSON.stringify(t[e(547)],null,2)),s=E(t[e(548)]),c=E(JSON[e(552)](t.bbox,null,2));return e(512)+i+e(455)+n+e(535)+(o?e(540)+t[e(495)]+e(469)+r+e(460):"")+'\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(548)]?'\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">'+s+e(473):"")+e(487)+c+e(510)})(t))[t(459)](""),n[t(534)]=ct[t(493)]+t(553)+(1===ct[t(493)]?"":"s")}function ut(t,e){return t-=455,it()[t]}function pt(){const t=ut;if(st)return void(st.style.display="flex");const e=document.createElement(t(481));e[t(516)]=ut(558),st=e[t(532)],document[t(478)].appendChild(st);const n=st[t(505)](t(528)),o=st[t(505)]("#intent-debug-minimize"),r=st[t(505)]("#intent-debug-clear");n?.[t(507)]("click",()=>{!function(t){const e=ut;try{localStorage[e(519)](u,e(t?483:491)),t?pt():(()=>{const t=ut;st&&(st.style[t(492)]=t(549))})()}catch{}}(!1)}),o?.[t(507)]("click",()=>{(()=>{const t=ut;if(!st)return;const e=st.querySelector(t(546)),n=st.querySelector(t(538));e&&n&&(dt=!dt,dt?(e[t(515)].display=t(549),st[t(515)][t(537)]=t(480),n[t(534)]="+"):(e[t(515)].display=t(525),st[t(515)].width=t(476),n.textContent="−"))})()}),r?.[t(507)](t(463),()=>{ct=[],lt()}),(()=>{const t=ut;if(!st)return;const e=st[t(505)](t(466));if(!e)return;let n=!1,o=0,r=0,i=0,a=0;e[t(507)](t(468),e=>{const o=t;if(e[o(509)][o(551)]===o(477))return;n=!0;const r=st.getBoundingClientRect();i=e[o(503)]-r.left,a=e[o(518)]-r[o(482)]}),document[t(507)](t(513),e=>{const s=t;if(!n||!st)return;e.preventDefault(),o=e[s(503)]-i,r=e[s(518)]-a;const c=window.innerWidth-st[s(520)],d=window[s(472)]-st[s(484)];o=Math[s(501)](0,Math.min(o,c)),r=Math[s(501)](0,Math[s(506)](r,d)),st[s(515)][s(461)]=o+"px",st[s(515)][s(482)]=r+"px",st.style[s(527)]=s(536)}),document[t(507)](t(456),()=>{n=!1})})(),st.addEventListener(t(463),e=>{const n=t,o=e[n(509)];if(o.classList[n(543)]("intent-debug-screenshot")){const t=o;t.src&&t[n(531)][n(470)](n(499))&&(t=>{const e=ut,n=document[e(514)](e(481));n.id=e(517),n[e(494)](e(462),e(498)),n[e(515)][e(457)]=e(467);const o=document.createElement(e(481));o.style[e(457)]=e(524);const r=document.createElement(e(495));r[e(531)]=t,r[e(515)][e(457)]=e(539);const i=document[e(514)](e(481));i.style[e(457)]=e(479);const a=document[e(514)](e(530));a[e(534)]=e(533),a[e(515)].cssText=e(511);const s=document[e(514)]("div");s[e(534)]="Click anywhere or press ESC to close",s[e(515)][e(457)]=e(486),i.appendChild(a),i.appendChild(s),o.appendChild(r),o[e(475)](i),n[e(475)](o);const c=()=>{const t=e;n.remove(),document[t(554)]("keydown",d)};n[e(507)](e(463),c),a[e(507)](e(463),t=>{t[e(550)](),c()}),r[e(507)](e(463),t=>{t.stopPropagation()});const d=t=>{const n=e;t[n(465)]===n(471)&&c()};document.addEventListener(e(508),d),document[e(478)][e(475)](n)})(t[n(531)])}}),lt()}function mt(){var t=["[Intent SDK] Debug panel is not available in this build. ","248195aspGux","406954PnHVka","838554bbbuNR","24rbyPUZ","logEventToDebugPanel","1163834hVPcyN","undefined","warn","1385847ImHPXY","2055354ClaXLr","1297760uKmlTE","5DKFxYG","8jqhSgw"];return(mt=()=>t)()}function ft(t,e){return t-=439,mt()[t]}typeof window!==at(474)&&function(){const t=ut;try{return"enabled"===localStorage[t(544)](u)}catch{return!1}}()&&(document[at(502)]===at(488)?document.addEventListener("DOMContentLoaded",()=>{pt()}):pt()),Symbol,(()=>{for(var t=ft,e=mt();;)try{if(302820==parseInt(t(449))/1+-parseInt(t(450))/2+parseInt(t(451))/3*(-parseInt(t(447))/4)+-parseInt(t(446))/5*(-parseInt(t(444))/6)+parseInt(t(440))/7*(parseInt(t(452))/8)+-parseInt(t(443))/9+parseInt(t(445))/10)break;e.push(e.shift())}catch(t){e.push(e.shift())}})();const gt=vt;function ht(){const t=["innerHTML","granted","3OZogRJ","POST","1480bEjcyg",'input[type="submit"]',"TEXTAREA","scrollX","number","aria-label","referrer","name","5229184McCvHx","localhost","hostname","trim","textContent","[Timing] html2canvas-pro: ","key","x-sl-access-token","619410UDXshI","56403FmOARe","hasFocus","getAttribute","page-focus","omit","toISOString","3971637gPmiod","hidden","fixed","innerHeight",'[role="button"]',"toDataURL","/events","now","scroll","outerHTML","location","load","href","no-store","entries","visibilitychange","getItem","toLowerCase","innerWidth","input-submit","cloneNode","device","2567332dqaTqw","storage","join","lon","hasAttribute","button","img","querySelector","forEach","target","right","attributes","from","2382198MKqDCo","[Timing] jpeg-encoding: ","pageview","tagName","10AhXNyf","5bOdlUw","image/jpeg","__intent__sdk__initialized__","addEventListener","closest",'input[type="button"]',"context","toFixed","a[href]",'[role="link"]',"scrollY","getBoundingClientRect","value","top","left","defineProperty","Enter","page-blur","height","dataset","stringify","71841dreYYf","[onclick]","body","[Timing] serialize: ","contenteditable","newline","bbox","SELECT","data-intent-redact","click","x-intent-sid","INPUT","focus","setAttribute","bottom","pixel body fallback failed","keydown","isSecureContext"];return(ht=()=>t)()}function vt(t,e){return t-=450,ht()[t]}(()=>{const t=vt,e=ht();for(;;)try{if(375576==parseInt(t(489))/1*(parseInt(t(534))/2)+-parseInt(t(470))/3*(parseInt(t(517))/4)+parseInt(t(535))/5*(-parseInt(t(488))/6)+-parseInt(t(530))/7+parseInt(t(480))/8+-parseInt(t(495))/9+-parseInt(t(472))/10*(-parseInt(t(450))/11))break;e.push(e.shift())}catch(t){e.push(e.shift())}})();let bt,yt,wt=0,xt=!1;const It=gt(537),St=[gt(522),gt(543),"a",gt(473),gt(540),gt(499),gt(544),gt(451)][gt(519)](",");function Et(){return Z(),(()=>{const t=gt;return localStorage.getItem(a)===t(469)})()&&Boolean(W())&&(()=>{const t=gt;return Boolean(localStorage[t(511)](p)?.[t(483)]().length)})()}function kt(){return!Et()||Y}async function Tt(e){for(;yt;)await yt;return yt=(async()=>{const n=vt;try{const o=performance.now(),r=performance[n(502)](),i=(t=>{const e=gt;if(L(t))return"";const n=t[e(515)](!1);return Array[e(529)](t[e(528)]).forEach(({name:t,value:o})=>{n[e(463)](t,o)}),w(t)?w(n)&&(n.value=t[e(547)]):x(t)?n.innerHTML=t[e(468)]:n[e(484)]=t[e(484)],H(n),w(n)&&n[e(463)]("value",n[e(547)]),n[e(504)]})(e),a=performance[n(502)]()-r;v(n(453)+a.toFixed(2)+"ms");const s=e[n(546)](),c=performance[n(502)](),d={left:window.scrollX,top:window.scrollY,right:window[n(475)]+window[n(513)],bottom:window[n(545)]+window.innerHeight},l=await t(document[n(452)],{useCORS:!0,x:window[n(475)],y:window[n(545)],width:window.innerWidth,height:window[n(498)],scale:.6,logging:!1,onclone(t){H(t)},ignoreElements(t){const e=n;if(!(t instanceof Element))return!1;if(P(t))return!0;const o=t[e(546)](),r={left:o[e(549)]+window[e(475)],top:o[e(548)]+window[e(545)],right:o[e(527)]+window[e(475)],bottom:o[e(464)]+window[e(545)]},i=100,a=r[e(464)]<d.top-i,s=r.top>d[e(464)]+i,c=r[e(527)]<d[e(549)]-i,l=r.left>d[e(527)]+i;if(!(c||l||a||s))return!1;const{position:u}=window.getComputedStyle(t);let p;if(u===e(497)||"absolute"===u){const t=500;p=r[e(527)]<d.left-t||r[e(549)]>d.right+t||r[e(464)]<d[e(548)]-t||r.top>d[e(464)]+t}else p=s;return!!p&&!(t.tagName===e(461)||t[e(533)]===e(474)||t.tagName===e(457)||t[e(521)](e(458))||t[e(524)]("input, textarea, select, [data-intent-redact]"))}}),u=performance[n(502)]()-c;v(n(485)+u[n(542)](2)+"ms");const p=performance[n(502)](),m=l[n(500)](n(536),.8),f=performance[n(502)]()-p;v(n(531)+f[n(542)](2)+"ms");return v("[Timing] capture-total: "+(performance[n(502)]()-o)[n(542)](2)+"ms"),{html:i,bbox:{x:s.x,y:s.y,w:s.width,h:s[n(553)]},img:m,fullCanvas:l}}finally{yt=void 0}})(),yt}function Ct(){const t=gt,e=localStorage[t(511)](p),n={"Content-Type":"application/json"};e&&(n[t(487)]=e);const o=W();return o&&(n[t(460)]=o),n}async function Dt(t,e,n,o){const r=gt;if(!Et())return;const i={...e,localTime:(new Date)[r(494)]()};x(n)&&(i[r(547)]=U(n)?M(n):(t=>{const e=g;if(w(t))return t.value;const n=t[e(381)];return typeof n===e(372)?n:t[e(364)]??""})(n));let a="",s={x:0,y:0,w:0,h:0},c="";const d=!(t===r(503)||t===r(552)||"page-focus"===t),l=Date[r(502)](),u=l-wt>=0;let h=o;const v=t===r(459)||t===r(514)||t===r(532);d&&(v&&!h||!h&&u)&&(h=await Tt(n),wt=l),h&&(a=h.html,s=h[r(456)],c=h[r(523)]);const b=t===r(552)||t===r(492)||t===r(532),y={ts:Date.now(),event:t,url:window[r(505)].href,props:i,html:b?"":a,bbox:s,img:c};await async function(t){const e=gt,n=(localStorage[e(511)](m)??f)+e(501),o=localStorage[e(511)](p)??void 0,r=JSON.stringify({...t,clientId:o});try{if((await fetch(n,{method:e(471),headers:Ct(),body:r,keepalive:!0,credentials:e(493)})).ok)return}catch{}try{await(async t=>{const e=gt,n=(localStorage[e(511)](m)??f)+"/p.gif";if(!(await fetch(n,{method:e(471),headers:Ct(),body:JSON[e(555)](t),keepalive:!0,credentials:e(493),cache:e(508)})).ok)throw new Error(e(465))})(t)}catch{}}(y)}async function Mt(t={}){const e=gt;if(!Et())return;const n=typeof t.lat===e(476)&&typeof t[e(520)]===e(476);if(n&&G)return;if(!n&&xt)return;const o=localStorage[e(511)]("intent:data-ip"),i={context:await r()};o&&(i.ip=o);for(const[n,o]of Object[e(509)](t))i[n]=o;await Dt(e(541),i,document[e(452)],{html:"",bbox:{x:0,y:0,w:0,h:0},img:""}),!n&&(xt=!0)}async function Nt(){await(async(t,e)=>{const n=nt,o={canRequest:e(),geoEnabled:tt(),deviceGeoSent:G};if(!o[n(450)]||!o[n(437)]||o.deviceGeoSent)return;if(!(n(466)in navigator))return;if(Q)return;Q=!0,Y=!0;const r={enableHighAccuracy:!1,maximumAge:3e5,timeout:2e4};Date[n(468)]();try{await(navigator[n(438)]?.[n(442)]({name:n(466)}))}catch(t){}await new Promise(t=>{const e=n;let o=!1;const i=async(e,n,r)=>{const i=nt;o||(o=!0,Number[i(462)](e)&&Number[i(462)](n)&&(await(async(t,e,n)=>{const o=vt;await Mt({lat:t,lon:e,source:o(516),...n})})(e,n,r),G=!0),Q=!1,Y=!1,$=!0,t())};navigator[e(466)][e(473)](t=>{const e=nt,n=t.coords;i(n[e(465)],n.longitude,{accuracy:n[e(461)],altitude:typeof n.altitude===e(453)?n[e(455)]:void 0,altitudeAccuracy:typeof n.altitudeAccuracy===e(453)?n.altitudeAccuracy:void 0,heading:"number"==typeof n.heading?n[e(452)]:void 0,speed:typeof n[e(471)]===e(453)?n.speed:void 0,timestamp:t.timestamp,visibility:document[e(463)],focused:document[e(460)]()})},t=>{const e=nt,n=t?.[e(451)],o={error:{code:n,name:1===n?e(444):2===n?"POSITION_UNAVAILABLE":e(3===n?441:448),message:t?.[e(434)]??""},online:navigator[e(475)],visibility:document[e(463)],focused:document[e(460)](),secure:window[e(467)],proto:location[e(472)],host:location[e(457)]};i(void 0,void 0,o)},r)})})(0,Et)}function Lt(){(t=>{const e=nt;if(_||!tt()||G)return;_=!0;const n=()=>{const e=nt;window.removeEventListener(e(469),n,!0),window[e(440)](e(474),n,!0),t()};window[e(445)](e(469),n,!0),window[e(445)]("keydown",n,!0)})(Nt)}Z();let At=!document[gt(496)]&&document[gt(490)](),zt=document[gt(490)]();function Bt(){const t=gt;if(kt())return;const e=!document.hidden&&document[t(490)]();e&&(zt=!0),zt||e?e!==At&&(At=e,Dt(t(e?492:552),{},document[t(452)])):At=e}function Pt(){const t=gt;(()=>{const t=globalThis;return!t[It]&&(Object[gt(550)](t,It,{value:!0,configurable:!1,enumerable:!1,writable:!1}),!0)})()&&(window[t(538)](t(506),()=>{const e=t;Et()&&(Mt(),(window[e(467)]||location[e(482)]===e(481))&&(tt()&&Lt(),window[e(538)](e(462),()=>{rt()&&Nt()}),document[e(538)](e(510),()=>{!document[e(496)]&&rt()&&Nt()})))}),window[t(538)](t(518),e=>{const n=t;e[n(486)]===a&&((()=>{const t=gt;return localStorage[t(511)](a)===t(469)})()?(xt=!1,Mt(),tt()&&Lt()):(xt=!1,et())),e[n(486)]===s&&(tt()?Lt():et())}),window[t(538)](t(506),()=>{const e=t;Et()&&Dt(e(532),{url:window.location[e(507)],title:document.title,ref:document[e(478)]},document[e(452)])}),addEventListener("pointerdown",(()=>{let e=0;return(...n)=>{const o=Date[h(362)]();o-e>=50&&(e=o,(e=>{const n=t;if(kt())return;const o=e[n(526)]instanceof Element?e.target[n(539)](St):null;o instanceof HTMLElement&&(bt=Tt(o))})(...n))}})(),{capture:!0,passive:!0}),addEventListener(t(459),async e=>{const n=t;if(kt())return;if(!(e[n(526)]instanceof Element))return;const o=e.target[n(539)](St);if(!(o instanceof HTMLElement))return;const r=(t=>{const e=gt,n=t.getAttribute("aria-label")?.[e(483)]();if(n)return n;const o=t.title[e(483)]();if(o)return o;const r=t.textContent?.trim();return r||"<no visible label>"})(o);(async()=>{const t=n,e=bt?await bt:void 0;bt=void 0,Dt(t(459),{tag:o[t(533)],label:r},o,e)})()},!0),addEventListener(t(466),e=>{const n=t;if(!kt()&&e[n(486)]===n(551)){const t=e[n(526)];if(!(t instanceof HTMLElement))return;const o=t[n(533)];if(o===n(461)||o===n(474)){const e=t instanceof HTMLInputElement?t[n(479)]:void 0,r=t.id||void 0;Dt(n(514),{tag:o,name:e??r},t)}else if(x(t)){const e=(t=>{const e=g;let n=t;for(;n&&n!==document[e(351)];){const t=n[e(367)](e(365));if("true"===t||""===t||t===e(395))return n;n=n[e(360)]}return null})(t)??t;if(e[n(554)].intentEnter===n(455))return;const o=e[n(491)]("role")?.[n(512)](),r=e.id||void 0,i=e[n(491)](n(479))||e[n(491)](n(477))||r;Dt("input-submit",{tag:"CONTENTEDITABLE",role:o??n(454),name:i},e)}}},{capture:!0}),["focus","blur"][t(525)](e=>{window[t(538)](e,Bt)}),document.addEventListener("visibilitychange",Bt),window.addEventListener(t(503),(()=>{let e;return(...n)=>{const o=h;void 0!==e&&window.clearTimeout(e),e=window[o(352)](()=>{e=void 0,(()=>{const e=t;kt()||Dt(e(503),{scrollX:window[e(475)],scrollY:window.scrollY},document[e(452)])})(...n)},250)}})(),{passive:!0}),window.intent??={send(e,n){const o=t;Et()&&Dt(e,n,document[o(452)])}})}function Ot(t,e){return t-=377,Xt()[t]}function Ut(t,e){const n=Ot;try{if(void 0===e)return;localStorage.setItem(t,e?t===n(401)?n(393):n(390):n(389))}catch{}}function jt(t){Ut(Ot(401),t)}function Ft(t){Ut(Ot(405),t)}function Ht(t){Ut(Ot(384),t)}function Rt(t){}function Wt(t={}){const e=Ot;localStorage[e(394)]("intent:data-client-id",t.clientId??""),localStorage[e(394)](e(387),t.ip??""),localStorage[e(394)](e(377),t[e(398)]??"https://intent.callimacus.ai"),typeof t[e(380)]===e(395)&&localStorage.setItem("intent:data-sid-max-age",String(t[e(380)])),Ut(e(401),t.consent),Ut(e(405),t.geo),Ut(e(384),t.debug),e(381),t.consent&&(X("intent_sid")||J(typeof crypto!==e(379)&&typeof crypto[e(383)]===e(400)?crypto[e(383)]():Date[e(407)]()+"-"+Math[e(385)](),t[e(380)])),Pt()}function qt(){return X(Ot(382))}function Kt(){Z()}function Xt(){const t=["6375901RrUSvJ","granted","setItem","number","isFinite","warn","baseUrl","42QHeGqI","function","intent:consent","It exposes internal SDK behavior and should only be used during development.","5216920uRpEaw","33440LDsHXr","intent:geo","733345pBphAA","now","1548312bzNveu","intent:data-base-url","160323KJPijW","undefined","sidMaxAgeSeconds","debugPanel","intent_sid","randomUUID","intent:debug","random","2119284iGFFMo","intent:data-ip","[Intent SDK] ⚠️ Debug panel is enabled. This feature is NOT recommended for production use. ","disabled","enabled","144cNBUCp"];return(Xt=()=>t)()}function Jt(){V()}function Vt(t){const e=Ot;Number[e(396)](t)&&localStorage[e(394)]("intent:data-sid-max-age",String(t));const n=X(e(382));n&&J(n,t)}(()=>{const t=Ot,e=Xt();for(;;)try{if(659011==parseInt(t(378))/1+-parseInt(t(408))/2+parseInt(t(386))/3+-parseInt(t(403))/4+parseInt(t(406))/5*(parseInt(t(399))/6)+parseInt(t(392))/7+parseInt(t(404))/8*(-parseInt(t(391))/9))break;e.push(e.shift())}catch(t){e.push(e.shift())}})();export{Jt as clearIntentSessionId,Kt as ensureIntentSessionId,qt as getIntentSessionId,Wt as initIntent,jt as setConsent,Ht as setDebug,Rt as setDebugPanel,Ft as setGeo,Vt as setIntentSessionMaxAge};
|