@solomei-ai/intent 1.11.9 → 1.12.1
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(t,e){return t-=238,r()[t]}async function o(){const t=n,e=(new Intl.DateTimeFormat)[t(305)]()[t(344)],o=(t=>{const e=n,o=t<=0?"+":"-",r=Math[e(333)](t);return""+o+String(Math[e(281)](r/60)).padStart(2,"0")+":"+String(r%60).padStart(2,"0")})((new Date)[t(246)]()),r=[];r[t(263)](t(253)+navigator[t(324)]),navigator.languages?.[t(271)]&&r.push(t(291)+navigator[t(326)][t(306)](", ")),r[t(263)](t(310)+navigator.userAgent);const i=function(){const t=n;if(!(t=>{const e=n;return e(329)in t&&void 0!==t[e(329)]})(navigator))return;const e=navigator.userAgentData,o=Array[t(317)](e.brands)?e.brands[t(267)](e=>e[t(251)]+" "+e[t(262)])[t(306)](", "):void 0,r=e[t(337)]?e.platform+(e.mobile?" (mobile)":""):void 0;return[o&&t(348)+o,r&&t(318)+r].filter(Boolean)[t(306)](t(327))||void 0}();i&&r[t(263)](i),r[t(263)](t(257)+e+t(270)+o+")"),r.push(t(238)+(new Date)[t(350)]());const a=window[t(276)]||1;r[t(263)](t(323)+screen[t(335)]+"x"+screen[t(260)]+" @"+a+"x (avail "+screen.availWidth+"x"+screen.availHeight+", "+screen[t(304)]+t(255));const s=screen[t(264)]&&t(293)in screen[t(264)]?screen[t(264)].type:void 0;r[t(263)]("Viewport: "+window.innerWidth+"x"+window[t(280)]+(s?t(353)+s:"")),r[t(263)](t(331)+navigator.hardwareConcurrency+t(309));const c=await async function(){const t=n,e=[];let o=t(286);if((t=>{const e=n;return e(268)in t&&void 0!==t[e(268)]})(navigator)){const n=navigator.connection;n?.[t(300)]&&e[t(263)](n[t(300)]),typeof n?.[t(287)]===t(352)&&e[t(263)]("~"+n[t(287)]+t(295)),typeof n?.[t(288)]===t(352)&&e[t(263)](n[t(288)]+t(277)),n?.[t(285)]&&e.push(t(285))}else{const r=((t=20)=>{const e=n,o=performance[e(252)](e(339))[e(266)](t=>t[e(245)]===e(339)),r=o?Math.max(0,o[e(247)]-o[e(307)]):void 0,i=performance[e(252)](e(354)).filter(t=>t.entryType===e(354));let a=0,s=0;for(const n of i[e(301)](0,Math[e(298)](0,t))){const t=n[e(315)]>0?n[e(315)]:n[e(347)]>0?n[e(347)]:0,o=n[e(322)];t>0&&o>0&&Number[e(351)](o)&&(a+=t,s+=o)}const c=s>0?8*a/s:void 0;return{downlinkMbps:typeof c===e(352)?c/1e3:void 0,rttMs:r}})();typeof r.downlinkMbps===t(352)&&e[t(263)]("~"+r[t(250)][t(242)](1)+t(295)),typeof r.rttMs===t(352)&&e[t(263)](t(272)+Math.round(r[t(345)])+t(277)),o=t(328)}const r=performance[t(252)](t(339))[t(266)](t=>"navigation"===t.entryType);if(r){const n=Math.max(0,r[t(247)]-r[t(307)]);!e[t(279)](t=>t.startsWith("TTFB"))&&e.push(t(272)+Math[t(282)](n)+t(277))}return e[t(271)]?t(278)+e.join(", ")+" ("+o+")":void 0}();c&&r[t(263)](c),r[t(263)]((()=>{const t=n,e="function"==typeof matchMedia&&matchMedia(t(289))[t(343)],o=typeof matchMedia===t(297)&&matchMedia(t(346))[t(343)];return"Pointer/Touch: "+t(e?244:o?240:249)+", maxTouchPoints "+navigator.maxTouchPoints})());const d=await async function(){const t=n;if((t=>{const e=n;return e(256)in t&&typeof t[e(256)]===e(297)})(navigator))try{const e=await navigator.getBattery(),n=Math[t(282)](100*e[t(313)]);return"Battery: "+[(Number[t(351)](n)?n:0)+"%",e[t(312)]?t(312):t(336)].join(", ")}catch{}}();d&&r[t(263)](d),r[t(263)](t(321)+(navigator.cookieEnabled?t(274):"no")+t(302)+(navigator.doNotTrack??t(269))),r[t(263)](t(330)+(navigator[t(259)]?t(274):"no")),document[t(338)]&&r.push(t(349)+document[t(338)]),r[t(263)]((()=>{const t=n,e=typeof matchMedia===t(297)&&matchMedia("(display-mode: standalone)").matches,o=Boolean(navigator[t(239)]?.[t(340)]);return t(334)+t(o?241:308)+", display-mode standalone: "+(e?t(274):"no")})());const l=await async function(t=400){const e=n;if(e(265)in window&&window[e(284)])return new Promise(o=>{const r=e;let i=!1;const a=t=>{const e=n,r="number"==typeof t.beta?t[e(320)]:void 0,s=typeof t.gamma===e(352)?t.gamma:void 0;if(void 0===r||void 0===s)return;if(i)return;i=!0,window[e(273)](e(258),a);const c=((t,e)=>{const o=n,r=Math[o(333)](t),i=Math[o(333)](e);return r<15&&i<15?"flat":r>=60?"upright":"reclined"})(r,s);o(e(283)+c+" (β "+Math[e(282)](r)+e(292)+Math[e(282)](s)+"°)")};window[r(296)](()=>{const t=r;i||(i=!0,window[t(273)](t(258),a),o(void 0))},t),window[r(332)](r(258),a,{passive:!0})})}();l&&r[t(263)](l);const u="enabled"===localStorage[t(243)](t(325));return r[t(263)](t(u?316:275)),r.join(" | ")}function r(){const t=["deviceorientation","onLine","height","34009kFEoJj","version","push","orientation","DeviceOrientationEvent","find","map","connection","n/a"," (UTC","length","TTFB ~","removeEventListener","yes","Device geolocation: disabled","devicePixelRatio"," ms","Network: ","some","innerHeight","floor","round","Tilt: ","isSecureContext","saveData","browser API","downlink","rtt","(pointer: coarse)","8NlOYaA","Languages: ","°, γ ","type","46849ntzFXW"," Mbps","setTimeout","function","max","3454508oyhyaF","effectiveType","slice","; DNT: ","1830Pzdtga","colorDepth","resolvedOptions","join","requestStart","no SW"," cores","User agent: ","266050uZYJCb","charging","level","9725292BtgmOz","encodedBodySize","Device geolocation: enabled","isArray","Platform: ","5344353HItjcK","beta","CookiesEnabled: ","duration","Screen: ","language","intent:geo","languages"," | ","inferred","userAgentData","Online: ","CPU: ","addEventListener","abs","PWA: ","width","not charging","platform","referrer","navigation","controller","5YBPgfp","6lTFBeg","matches","timeZone","rttMs","(pointer: fine)","transferSize","UA brands: ","Referrer: ","toString","isFinite","number",", orientation ","resource","Local time: ","serviceWorker","fine","SW-controlled","toFixed","getItem","coarse","entryType","getTimezoneOffset","responseStart","2968758qZDRYF","unknown","downlinkMbps","brand","getEntriesByType","Language: ","3UYOYNG","-bit)","getBattery","Timezone: "];return(r=()=>t)()}(()=>{const t=n,e=r();for(;;)try{if(459628==parseInt(t(261))/1+-parseInt(t(311))/2*(-parseInt(t(254))/3)+-parseInt(t(299))/4*(parseInt(t(341))/5)+-parseInt(t(342))/6*(parseInt(t(319))/7)+-parseInt(t(290))/8*(-parseInt(t(248))/9)+-parseInt(t(303))/10*(-parseInt(t(294))/11)+parseInt(t(314))/12)break;e.push(e.shift())}catch(t){e.push(e.shift())}})();const i=l;function a(){const t=["intent:data-ip","507549zUSrem","1165oloYYV","intent:debug","7418hAwPRV","intent:geo","6702cfiYac","intent:data-client-id","https://intent.callimacus.ai","8MjlnAc","9jQpqeE","19KFzNJM","intent:debug-panel","1260530kEVcZd","124479xBzYCr","3550480sVNcqs","3011734hZzOyj","intent:data-base-url"];return(a=()=>t)()}(()=>{const t=l,e=a();for(;;)try{if(276290==parseInt(t(458))/1*(parseInt(t(469))/2)+parseInt(t(461))/3*(-parseInt(t(456))/4)+-parseInt(t(467))/5*(-parseInt(t(453))/6)+parseInt(t(466))/7+-parseInt(t(462))/8+parseInt(t(457))/9*(parseInt(t(460))/10)+parseInt(t(463))/11)break;e.push(e.shift())}catch(t){e.push(e.shift())}})();const s="intent:consent",c=i(452),d=i(468);function l(t,e){return t-=452,a()[t]}const u=i(459),p=i(454),m=i(465),f=i(464),g=i(455),h=b;function v(...t){const e=b;try{"undefined"!=typeof localStorage&&localStorage[e(415)](d)===e(417)&&console[e(399)](...t)}catch{}}function b(t,e){return t-=371,w()[t]}(()=>{const t=b,e=w();for(;;)try{if(778503==parseInt(t(383))/1+-parseInt(t(384))/2*(parseInt(t(411))/3)+-parseInt(t(376))/4*(-parseInt(t(380))/5)+parseInt(t(377))/6+parseInt(t(387))/7+parseInt(t(404))/8*(parseInt(t(381))/9)+-parseInt(t(385))/10*(parseInt(t(374))/11))break;e.push(e.shift())}catch(t){e.push(e.shift())}})();const y=Object[h(371)](new Set([h(402),h(414),h(386)]));function w(){const t=["toLowerCase","log","setTimeout","role","textbox","now","8LNdyLx","replace","textarea","[contenteditable]","clearTimeout","join","textContent","2630373SlcCHA","INPUT","getAttribute","combobox","getItem","contenteditable","enabled","freeze","string","map","814kUuEQF","TEXTAREA","12xDRlIK","868218AChpZS","true","value","609090JaomBh","11264157vFNcUV","<","1452041bxZKjP","2fQpMiW","323350LOFsrd","searchbox","5840191EAUFab",""","host",">","plaintext-only","has","innerText","tagName","parentElement","select",'[role="'];return(w=()=>t)()}const x=["input",h(406),h(396),h(407),...[...y][h(373)](t=>h(397)+t+'"]')][h(409)](", ");function I(t){const e=h,n=t[e(394)];return n===e(412)||n===e(375)||"SELECT"===n}function S(t){const e=h;if(I(t))return!0;const n=t.getAttribute("contenteditable");if(""===n||n===e(378)||n===e(391))return!0;const o=t[e(413)](e(401))?.[e(398)]();return!(!o||!y[e(392)](o))}function k(t){const e=h,n=t[e(395)];if(n)return n;const{parentNode:o}=t;return o instanceof ShadowRoot&&o[e(389)]instanceof Element?o[e(389)]:void 0}function E(t){const e=h;return t[e(405)](/&/g,"&")[e(405)](/</g,e(382))[e(405)](/>/g,e(390))[e(405)](/"/g,e(388))[e(405)](/'/g,"'")}const T=N;(()=>{const t=N,e=L();for(;;)try{if(658578==-parseInt(t(295))/1+-parseInt(t(293))/2*(parseInt(t(357))/3)+parseInt(t(368))/4*(-parseInt(t(387))/5)+parseInt(t(310))/6*(-parseInt(t(303))/7)+parseInt(t(313))/8+-parseInt(t(281))/9+parseInt(t(351))/10*(parseInt(t(359))/11))break;e.push(e.shift())}catch(t){e.push(e.shift())}})();const C=T(335),A=new Set([T(343),T(292),T(366),T(382),"nickname",T(289),T(283),"tel",T(370),T(386),T(372),T(276),T(299),T(309),"address-level1",T(376),T(347),T(355),T(381),T(294),"postal-code","cc-name",T(278),T(360),T(345),T(277),T(356),T(307),"cc-exp-year",T(385),T(320),T(314),"bday-day","bday-month",T(286),T(319),T(383)]);function M(t){return"<"+(t=>{const e=T,n=(t[e(316)]?.("data-intent-redact-label")??"")[e(353)]();if(n)return n;const o=t[e(316)]?.(e(298))||"",r=S(t)?o[e(273)]().trim()[e(300)](/\s+/)[e(288)](Boolean):[];if(t[e(280)]===e(328)&&t[e(322)]===e(317))return e(350);for(const t of r){const n=B[e(271)](t);if(n)return n}const i=t[e(316)]?.(C)?.toLowerCase();return"mask"===i?"Redacted":e(296)})(t)+">"}function L(){const t=["SELECT","push","postal-code","address-level2","textContent","clear","iframe","Cardholder name","country","family-name","webauthn","setAttribute","cc-csc","organization-title","400XCCWvm","get","Address line 2","toLowerCase","bday-day","Postal code","address-line1","cc-number","cc-given-name","Country name","tagName","9859266gQfHIL","data-html2canvas-ignore","email","includes","cc-name","bday-year","stringify","filter","username",'"" or "mask" (redact), "ignore" (exclude from capture)',"add","given-name","1030vTSxgH","country-name","751137xJxxck","Sensitive","body","autocomplete","address-line2","split","time","text","8258747RqxwYk","contentDocument","date","Nickname","cc-exp-month","City","address-line3","6YlNUcI","value","Neighborhood","639712vSWXMq","bday","Cardholder middle name","getAttribute","password","Expiration month","sex","cc-type","Birthday","type","Birth day","ownerDocument","has","Cardholder last name","Country code","INPUT",". Supported values are ","Last name","warn","cc-exp-year","Address line 1","District","data-intent-redact","Middle name","Job title","Card number","some","month","Street address","Expiration date","name","Name","cc-family-name","datetime-local","address-level3","Card type","Sex","Password","1080ccHEgz","week","trim","querySelectorAll","address-level4","cc-exp","1878iMzrXR","ignore","404327YZSgRG","cc-additional-name","searchbox","TEXTAREA","Email","[intent] Unsupported data-intent-redact value ","role","additional-name","shadowRoot","2116fewapx","tel","organization","Security code","street-address"];return(L=()=>t)()}function N(t,e){return t-=271,L()[t]}const B=new Map([["name",T(344)],[T(292),"First name"],["family-name",T(330)],[T(366),T(336)],["nickname",T(306)],[T(289),"Username"],[T(283),T(363)],[T(369),"Phone"],[T(372),T(341)],[T(276),T(333)],[T(299),T(272)],[T(309),"Address line 3"],["address-level1","State/Province"],["address-level2",T(308)],[T(347),T(334)],[T(355),T(312)],[T(375),T(275)],[T(381),T(327)],[T(294),T(279)],[T(285),T(380)],[T(278),"Cardholder first name"],[T(345),T(326)],[T(360),T(315)],[T(277),T(338)],[T(356),T(342)],[T(307),T(318)],[T(332),"Expiration year"],[T(385),T(371)],["cc-type",T(348)],[T(314),T(321)],[T(274),T(323)],["bday-month","Birth month"],[T(286),"Birth year"],[T(370),"Organization"],[T(386),T(337)],["sex",T(349)],["webauthn","WebAuthn"]]);function z(t){const e=T;return t.hasAttribute(e(282))||t[e(316)](C)?.[e(273)]()===e(358)}const D=new Set;function U(t){const e=T,n=t[e(316)](C);if(null===n)return!1;const o=n[e(273)]();return o!==e(358)&&(""!==n&&"mask"!==o&&(t=>{const e=T;if(D[e(325)](t))return;D[e(291)](t);const n=JSON[e(287)](t),o=e(290),r=e(364)+n+e(329)+o+'. Treating as "mask" to prevent data leaks.';try{console[e(331)](r)}catch{}})(n),!0)}function P(t){const e=T;let n=t;for(;n&&n!==document[e(297)];){if(z(n))return!0;n=k(n)}return!1}function O(t){return!(z(t)||!U(t)&&!(t=>{const e=T,n=t[e(280)];if(n===e(328)){const n=t;if(n[e(322)]===e(317))return!0;if("search"===n[e(322)])return!1;const o=n[e(316)](e(365));if(o?.toLowerCase()===e(361))return!1;if((n[e(298)]||"")[e(273)]()[e(353)]()[e(300)](/\s+/)[e(288)](Boolean)[e(339)](t=>A.has(t)))return!0}if((n===e(362)||n===e(373))&&(t[e(298)]||"").toLowerCase()[e(353)]()[e(300)](/\s+/)[e(288)](Boolean)[e(339)](t=>A[e(325)](t)))return!0;if(S(t)&&!I(t)){const n=t[e(316)](e(365))?.[e(273)]();if(n===e(361))return!1;if((t.getAttribute(e(298))||"")[e(273)]()[e(353)]()[e(300)](/\s+/)[e(288)](Boolean)[e(339)](t=>A[e(325)](t)))return!0}return!1})(t))}function F(t){const e=T;if(!P(t))if(I(t)){if(O(t)){if(t[e(280)]===e(328)){const n=t;[e(305),e(346),e(340),e(301),e(352)][e(284)](n[e(322)])&&(n.type=e(302))}const n=M(t);t[e(311)]=n,t[e(384)]("value",n)}}else S(t)?O(t)&&(t[e(377)]=M(t)):t.hasAttribute(C)&&U(t)&&(t.textContent=M(t))}function R(t,e){const n=T,o=[],r=[t];for(t instanceof Element&&t[n(367)]&&r[n(374)](t[n(367)]);r.length>0;){const t=r.pop()[n(354)]("*");for(const i of t)i.matches(e)&&o[n(374)](i),i[n(367)]&&r.push(i.shadowRoot)}return o}function j(t,e=new Set){const n=T,o=t instanceof Document?t:t[n(324)];if(o){if(e[n(325)](o))return;e.add(o)}t instanceof Element&&F(t);for(const e of R(t,x))F(e);for(const e of R(t,"["+C+"]"))F(e);for(const o of R(t,n(379)))if("IFRAME"===o.tagName)try{const t=o[n(304)];t&&j(t,e)}catch{}}(()=>{const t=Y,e=J();for(;;)try{if(797955==parseInt(t(449))/1*(parseInt(t(456))/2)+parseInt(t(447))/3*(-parseInt(t(446))/4)+-parseInt(t(441))/5*(-parseInt(t(438))/6)+-parseInt(t(437))/7*(parseInt(t(440))/8)+-parseInt(t(444))/9*(parseInt(t(450))/10)+parseInt(t(443))/11+parseInt(t(448))/12*(parseInt(t(452))/13))break;e.push(e.shift())}catch(t){e.push(e.shift())}})();let W="";function H(){return W}function Y(t,e){return t-=437,J()[t]}function q(t){return e[Y(451)](t)}function J(){const t=["6189198xYhLEj","remove","24nDzEUB","5fWantu","https:","3772780bMVwuL","4787235NcxuOa","number","284356bwUBvY","3BXiHeg","12296652czPtYy","53RENJXR","30UxuBOW","get","13ZUgiQW","getItem","intent_sid","isFinite","45434hbsVWU","2656374rvRIsV"];return(J=()=>t)()}function X(t,n){const o=Y,r=localStorage.getItem("intent:data-sid-max-age"),i=null===r?void 0:Number(r),a=typeof n===o(445)&&Number[o(455)](n)?n:"number"==typeof i&&Number[o(455)](i)?i:2592e3,s=window.location.protocol===o(442);e.set(o(454),t,{expires:a/86400,path:"/",sameSite:"Lax",...s&&{secure:!0}})}function K(){const t=Y;e[t(439)](t(454),{path:"/"})}function V(){const t=q(Y(454));if("granted"!==localStorage[Y(453)](s))return t&&K(),void(W="");t?W=t:(W=crypto.randomUUID(),X(W))}function Z(t,e){return t-=450,_()[t]}function _(){const t=["query","getItem","visibilityState","message","UNKNOWN","altitude","10294AuWAfM","279nvhOuR","addEventListener","removeEventListener","169270xVFREa","TIMEOUT","onLine","permissions","enabled","coords","9900vdwWvY","keydown","timestamp","speed","heading","isFinite","getCurrentPosition","hostname","PERMISSION_DENIED","protocol","number","geoEnabled","6283228jGQEMg","geolocation","102152rQsloI","11148929UKKsDX","3179979ZwBBqI","hasFocus","140rFLria","longitude","1668RnueBg","accuracy","canRequest","POSITION_UNAVAILABLE","8QDfRhe"];return(_=()=>t)()}(()=>{const t=Z,e=_();for(;;)try{if(645367==parseInt(t(488))/1*(parseInt(t(460))/2)+-parseInt(t(486))/3+parseInt(t(484))/4+-parseInt(t(470))/5*(-parseInt(t(490))/6)+parseInt(t(482))/7*(parseInt(t(453))/8)+-parseInt(t(461))/9*(-parseInt(t(464))/10)+-parseInt(t(485))/11)break;e.push(e.shift())}catch(t){e.push(e.shift())}})();let G=!1,Q=!1,$=!1,tt=!1,et=!1;function nt(){const t=Z;return localStorage[t(455)](c)===t(468)}function ot(){G=!1,$=!1,et=!1}function rt(){return!G&&nt()&&!tt&&et}function it(){const t=["stopPropagation"," event","readyState",'\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">','</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">',"src","event","body","80659UwIOct","length","DOMContentLoaded","1317972IEWIGv","stringify","img","createElement","round","html","innerWidth","right",'\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-count","✕ Close","tagName","now","undefined","div","ignore","key","\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","addEventListener","width","data:image/","\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","top","loading","enabled","#intent-debug-close","362860zOBRwV","toLocaleTimeString","mousedown","randomUUID","display","preventDefault","#intent-debug-minimize","62140xyKVJZ","shift","max","target","data-intent-redact","clientY","flex","intent-debug-screenshot","cssText",'\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">',"startsWith","mouseup","Click anywhere or press ESC to close","16STJwPe","\n\t\tcolor: var(--solomei-color-primary-foreground, white);\n\t\tfont-size: 13px;\n\t","querySelector","0 events",'\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">',"intent-debug-fullscreen-modal","style","appendChild",'\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',"\n\t\tmargin-top: 20px;\n\t\tdisplay: flex;\n\t\tgap: 20px;\n\t\talign-items: center;\n\t","innerHTML","#intent-debug-events","236243IMzEnW","610835vkvbAb","setItem","400px",'\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">',"\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","button","firstElementChild","</pre>\n\t\t\t\t\t","getBoundingClientRect","random","BUTTON","function","join","keydown","click","innerHeight","Escape","textContent","min","none","props","#intent-debug-header","remove","classList"," KB)</div>\n\t\t\t\t</div>\n\t\t\t","reverse","#intent-debug-clear","push","auto","bbox",'" \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-content",'\n\t\t\t\t<div style="margin-bottom: 8px;">\n\t\t\t\t\t<img src="',"85611uYxvBL"];return(it=()=>t)()}const at=lt;(()=>{const t=lt,e=it();for(;;)try{if(219090==parseInt(t(475))/1+parseInt(t(400))/2+-parseInt(t(466))/3+parseInt(t(407))/4+parseInt(t(433))/5+-parseInt(t(478))/6+-parseInt(t(432))/7*(-parseInt(t(420))/8))break;e.push(e.shift())}catch(t){e.push(e.shift())}})();let st,ct=[],dt=!1;function lt(t,e){return t-=392,it()[t]}function ut(){const t=lt;if(!st)return;const e=st[t(422)](t(431)),n=st[t(422)](t(487));if(!e||!n)return;if(0===ct[t(476)])return e[t(430)]=t(486),void(n[t(450)]=t(423));const o=[...ct][t(458)]();e[t(430)]=o.map(t=>(t=>{const e=lt,n=new Date(t.timestamp)[e(401)](),o=t.img&&t[e(480)][e(476)]>0,r=o?Math[e(482)](.75*t.img[e(476)]/1024):0,i=E(t[e(473)]),a=E(JSON.stringify(t[e(453)],null,2)),s=E(t[e(483)]),c=E(JSON[e(479)](t[e(462)],null,2));return e(416)+i+e(471)+n+"</div>\n\t\t\t</div>\n\t\t\t"+(o?e(465)+t[e(480)]+e(463)+r+e(457):"")+e(470)+a+"</pre>\n\t\t\t\t\t"+(t[e(483)]?e(424)+s+e(440):"")+e(436)+c+"</pre>\n\t\t\t\t</div>\n\t\t\t</details>\n\t\t</div>\n\t"})(t))[t(445)](""),n[t(450)]=ct[t(476)]+t(468)+(1===ct[t(476)]?"":"s")}function pt(){const t=lt;if(st)return void(st.style[t(404)]=t(413));const e=document[t(481)](t(492));e[t(430)]=lt(428),st=e[t(439)],document[t(474)].appendChild(st);const n=st.querySelector(t(399)),o=st[t(422)](t(406)),r=st[t(422)](t(459));n?.addEventListener("click",()=>{!function(t){const e=lt;try{localStorage[e(434)](u,t?e(398):"disabled"),t?pt():(()=>{const t=lt;st&&(st[t(426)][t(404)]=t(452))})()}catch{}}(!1)}),o?.addEventListener("click",()=>{(()=>{const t=lt;if(!st)return;const e=st[t(422)](t(464)),n=st[t(422)]("#intent-debug-minimize");e&&n&&(dt=!dt,dt?(e.style[t(404)]="none",st[t(426)][t(393)]="200px",n.textContent="+"):(e[t(426)][t(404)]="flex",st.style[t(393)]=t(435),n[t(450)]="−"))})()}),r?.[t(392)](t(447),()=>{ct=[],ut()}),(()=>{const t=lt;if(!st)return;const e=st[t(422)](t(454));if(!e)return;let n=!1,o=0,r=0,i=0,a=0;e[t(392)](t(402),e=>{const o=t;if(e.target[o(489)]===o(443))return;n=!0;const r=st[o(441)]();i=e.clientX-r.left,a=e[o(412)]-r[o(396)]}),document[t(392)]("mousemove",e=>{const s=t;if(!n||!st)return;e[s(405)](),o=e.clientX-i,r=e[s(412)]-a;const c=window[s(484)]-st.offsetWidth,d=window[s(448)]-st.offsetHeight;o=Math[s(409)](0,Math[s(451)](o,c)),r=Math[s(409)](0,Math[s(451)](r,d)),st[s(426)].left=o+"px",st.style.top=r+"px",st[s(426)][s(485)]=s(461)}),document[t(392)](t(418),()=>{n=!1})})(),st[t(392)]("click",e=>{const n=t,o=e[n(410)];if(o[n(456)].contains(n(414))){const t=o;t[n(472)]&&t[n(472)][n(417)](n(394))&&(t=>{const e=lt,n=document[e(481)]("div");n.id=e(425),n.setAttribute(e(411),e(493)),n[e(426)][e(415)]="\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(481)]("div");o[e(426)][e(415)]=e(395);const r=document[e(481)]("img");r.src=t,r[e(426)][e(415)]=e(495);const i=document[e(481)](e(492));i.style[e(415)]=e(429);const a=document[e(481)](e(438));a[e(450)]=e(488),a[e(426)].cssText=e(437);const s=document.createElement(e(492));s[e(450)]=e(419),s.style[e(415)]=e(421),i[e(427)](a),i.appendChild(s),o[e(427)](r),o.appendChild(i),n[e(427)](o);const c=()=>{const t=e;n[t(455)](),document.removeEventListener(t(446),d)};n.addEventListener(e(447),c),a[e(392)](e(447),t=>{t[e(467)](),c()}),r[e(392)](e(447),t=>{t.stopPropagation()});const d=t=>{const n=e;t[n(494)]===n(449)&&c()};document[e(392)](e(446),d),document[e(474)][e(427)](n)})(t[n(472)])}}),ut()}function mt(){var t=["logEventToDebugPanel","undefined","1753199qGEouy","307634Kufgtq","setDebugPanel","3850830juEqEU","7912072lYDbBl","4281SDBLPF","3732wxrcEI","1364970HbKxOe","[Intent SDK] Debug panel is not available in this build. ","3923555fOFyeW","18bsCGMX","warn","Use the debug build variant: @solomei-ai/intent/debug or intent.debug.umd.min.js"];return(mt=()=>t)()}function ft(t,e){return t-=482,mt()[t]}typeof window!==at(491)&&function(){const t=lt;try{return localStorage.getItem(u)===t(398)}catch{return!1}}()&&(document[at(469)]===at(397)?document[at(392)](at(477),()=>{pt()}):pt()),Symbol,(()=>{for(var t=ft,e=mt();;)try{if(787547==-parseInt(t(485))/1+-parseInt(t(494))/2+-parseInt(t(483))/3*(-parseInt(t(484))/4)+parseInt(t(487))/5+parseInt(t(488))/6*(parseInt(t(493))/7)+-parseInt(t(482))/8+parseInt(t(496))/9)break;e.push(e.shift())}catch(t){e.push(e.shift())}})();const gt=St;function ht(){const t=["26HcCYGF",'[role="link"]',"[onclick]","input, textarea, select, [data-intent-redact]","application/json","body",'[role="button"]',"device",'input[type="button"]',"title",'input[type="submit"]',"a[href]","393846voJOkS","getAttribute","1408495rrUFny","pageview","SELECT","click","hasFocus","cloneNode","scroll","now","referrer","from","tagName","intentEnter","data-intent-redact","INPUT","focus","href","outerHTML","55425yiEzrP","load","scrollX","3681940AkNyOq","omit","contenteditable","granted","4zUbPFf","querySelector","10303184WbNDaK","defineProperty","attributes","no-store","key","intent","location","blur","POST","x-sl-access-token","closest","value","keydown","/events","13584450VStZvx","addEventListener","entries","localhost","pixel body fallback failed","[Timing] serialize: ","length","target","dataset","scrollY","input-submit","innerHTML","innerWidth","trim","top","bottom","getItem","fixed","stringify","right","TEXTAREA","hasAttribute","toFixed","absolute","role","visibilitychange","x-intent-sid","innerHeight","textContent","left","number","9oPilvy","lon","hostname","isSecureContext","hidden","__intent__sdk__initialized__","7MkABIH","name","pointerdown","31014hFAJwD","<no visible label>","context","page-focus","page-blur","setAttribute","width","/p.gif","[Timing] html2canvas-pro: ","[Timing] capture-total: "];return(ht=()=>t)()}(()=>{const t=St,e=ht();for(;;)try{if(908389==parseInt(t(580))/1+parseInt(t(590))/2*(parseInt(t(517))/3)+parseInt(t(524))/4*(parseInt(t(500))/5)+-parseInt(t(498))/6*(parseInt(t(577))/7)+parseInt(t(526))/8+parseInt(t(571))/9*(parseInt(t(520))/10)+-parseInt(t(540))/11)break;e.push(e.shift())}catch(t){e.push(e.shift())}})();let vt,bt,yt=0,wt=!1;const xt=gt(576),It=["button",gt(497),"a",gt(496),gt(494),gt(492),gt(591),gt(592)].join(",");function St(t,e){return t-=491,ht()[t]}function kt(){return V(),(()=>{const t=gt;return localStorage.getItem(s)===t(523)})()&&Boolean(H())&&(()=>{const t=gt;return Boolean(localStorage[t(556)](p)?.[t(553)]()[t(546)])})()}function Et(){return!kt()||Q}async function Tt(e){for(;bt;)await bt;return bt=(async()=>{const n=St;try{const o=performance[n(507)](),r=performance[n(507)](),i=(t=>{const e=gt;if(z(t))return"";const n=t[e(505)](!1);return Array[e(509)](t[e(528)]).forEach(({name:t,value:o})=>{n[e(585)](t,o)}),I(t)?I(n)&&(n[e(537)]=t[e(537)]):S(t)?n[e(551)]=t[e(551)]:n.textContent=t.textContent,j(n),I(n)&&n[e(585)](e(537),n[e(537)]),n[e(516)]})(e),a=performance[n(507)]()-r;v(n(545)+a[n(562)](2)+"ms");const s=e.getBoundingClientRect(),c=performance[n(507)](),d={left:window[n(519)],top:window[n(549)],right:window[n(519)]+window[n(552)],bottom:window[n(549)]+window[n(567)]},l=await t(document[n(491)],{useCORS:!0,x:window[n(519)],y:window[n(549)],width:window[n(552)],height:window[n(567)],scale:.6,logging:!1,onclone(t){j(t)},ignoreElements(t){const e=n;if(!(t instanceof Element))return!1;if(P(t))return!0;const o=t.getBoundingClientRect(),r={left:o[e(569)]+window[e(519)],top:o.top+window[e(549)],right:o[e(559)]+window[e(519)],bottom:o[e(555)]+window[e(549)]},i=100;if(!(r.right<d[e(569)]-i||r[e(569)]>d[e(559)]+i||r[e(555)]<d[e(554)]-i||r[e(554)]>d[e(555)]+i))return!1;if(t.tagName===e(513)||t[e(510)]===e(560)||t[e(510)]===e(502)||t[e(561)](e(512))||t[e(525)](e(593)))return!1;const a=window.getComputedStyle(t),{position:s}=a;if(s===e(557)||s===e(563)){const t=500;return r.right<d[e(569)]-t||r[e(569)]>d[e(559)]+t||r[e(555)]<d[e(554)]-t||r[e(554)]>d.bottom+t}return!0}}),u=performance.now()-c;v(n(588)+u[n(562)](2)+"ms");const p=performance.now(),m=l.toDataURL("image/jpeg",.8);v("[Timing] jpeg-encoding: "+(performance[n(507)]()-p)[n(562)](2)+"ms");const f=performance[n(507)]()-o;return v(n(589)+f[n(562)](2)+"ms"),{html:i,bbox:{x:s.x,y:s.y,w:s[n(586)],h:s.height},img:m,fullCanvas:l}}finally{bt=void 0}})(),bt}function Ct(){const t=gt,e=localStorage[t(556)](p),n={"Content-Type":t(594)};e&&(n[t(535)]=e);const o=H();return o&&(n[t(566)]=o),n}async function At(t,e,n,o){const r=gt;if(!kt())return;const i={...e,localTime:(new Date).toISOString()};S(n)&&(i[r(537)]=O(n)?M(n):(t=>{const e=h;if(I(t))return t[e(379)];const n=t[e(393)];return typeof n===e(372)?n:t[e(410)]??""})(n));let a="",s={x:0,y:0,w:0,h:0},c="";const d=!(t===r(506)||t===r(584)||t===r(583)),l=Date.now(),u=l-yt>=0;let m=o;const v=t===r(503)||t===r(550)||t===r(501);d&&(v&&!m||!m&&u)&&(m=await Tt(n),yt=l),m&&(a=m.html,s=m.bbox,c=m.img);const b=t===r(584)||t===r(583)||t===r(501),y={ts:Date[r(507)](),event:t,url:window[r(532)][r(515)],props:i,html:b?"":a,bbox:s,img:c};await async function(t){const e=gt,n=(localStorage[e(556)](f)??g)+e(539),o=localStorage.getItem(p)??void 0,r=JSON[e(558)]({...t,clientId:o});try{if((await fetch(n,{method:e(534),headers:Ct(),body:r,keepalive:!0,credentials:e(521)})).ok)return}catch{}try{await(async t=>{const e=gt,n=(localStorage[e(556)](f)??g)+e(587);if(!(await fetch(n,{method:e(534),headers:Ct(),body:JSON[e(558)](t),keepalive:!0,credentials:"omit",cache:e(529)})).ok)throw new Error(e(544))})(t)}catch{}}(y)}async function Mt(t={}){const e=gt;if(!kt())return;const n=typeof t.lat===e(570)&&typeof t[e(572)]===e(570);if(n&&G)return;if(!n&&wt)return;const r=localStorage[e(556)](m),i={context:await o()};r&&(i.ip=r);for(const[n,o]of Object[e(542)](t))i[n]=o;await At(e(582),i,document[e(491)],{html:"",bbox:{x:0,y:0,w:0,h:0},img:""}),!n&&(wt=!0)}async function Lt(){await(async(t,e)=>{const n=Z,o={canRequest:e(),geoEnabled:nt(),deviceGeoSent:G};if(!o[n(451)]||!o[n(481)]||o.deviceGeoSent)return;if(!(n(483)in navigator))return;if(tt)return;tt=!0,Q=!0;const r={enableHighAccuracy:!1,maximumAge:3e5,timeout:2e4};try{await(navigator[n(467)]?.[n(454)]({name:n(483)}))}catch(t){}await new Promise(t=>{const e=n;let o=!1;const i=async(e,n,r)=>{const i=Z;o||(o=!0,Number[i(475)](e)&&Number[i(475)](n)&&(await(async(t,e,n)=>{const o=St;await Mt({lat:t,lon:e,source:o(493),...n})})(e,n,r),G=!0),tt=!1,Q=!1,et=!0,t())};navigator[e(483)][e(476)](t=>{const e=Z,n=t[e(469)];i(n.latitude,n[e(489)],{accuracy:n[e(450)],altitude:"number"==typeof n[e(459)]?n[e(459)]:void 0,altitudeAccuracy:typeof n.altitudeAccuracy===e(480)?n.altitudeAccuracy:void 0,heading:typeof n[e(474)]===e(480)?n[e(474)]:void 0,speed:"number"==typeof n[e(473)]?n[e(473)]:void 0,timestamp:t[e(472)],visibility:document[e(456)],focused:document[e(487)]()})},t=>{const e=Z,n=t?.code,o={error:{code:n,name:e(1===n?478:2===n?452:3===n?465:458),message:t?.[e(457)]??""},online:navigator[e(466)],visibility:document[e(456)],focused:document[e(487)](),secure:window.isSecureContext,proto:location[e(479)],host:location[e(477)]};i(void 0,void 0,o)},r)})})(0,kt)}function Nt(){(t=>{const e=Z;if($||!nt()||G)return;$=!0;const n=()=>{const e=Z;window[e(463)]("pointerdown",n,!0),window[e(463)](e(471),n,!0),t()};window[e(462)]("pointerdown",n,!0),window[e(462)](e(471),n,!0)})(Lt)}V();let Bt=!document[gt(575)]&&document.hasFocus(),zt=document[gt(504)]();function Dt(){const t=gt;if(Et())return;const e=!document[t(575)]&&document[t(504)]();e&&(zt=!0),zt||e?e!==Bt&&(Bt=e,At(t(e?583:584),{},document[t(491)])):Bt=e}function Ut(){const t=gt;(()=>{const t=globalThis;return!t[xt]&&(Object[gt(527)](t,xt,{value:!0,configurable:!1,enumerable:!1,writable:!1}),!0)})()&&(window[t(541)](t(518),()=>{const e=t;kt()&&(Mt(),(window[e(574)]||location[e(573)]===e(543))&&(nt()&&Nt(),window[e(541)](e(514),()=>{rt()&&Lt()}),document.addEventListener(e(565),()=>{!document[e(575)]&&rt()&&Lt()})))}),window.addEventListener("storage",e=>{const n=t;e[n(530)]===s&&((()=>{const t=gt;return localStorage[t(556)](s)===t(523)})()?(wt=!1,Mt(),nt()&&Nt()):(wt=!1,ot())),e[n(530)]===c&&(nt()?Nt():ot())}),window.addEventListener(t(518),()=>{const e=t;kt()&&At("pageview",{url:window.location[e(515)],title:document.title,ref:document[e(508)]},document[e(491)])}),addEventListener(t(579),(()=>{let e=0;return(...n)=>{const o=Date[b(403)]();o-e>=50&&(e=o,(e=>{const n=t;if(Et())return;const o=e.target instanceof Element?e[n(547)][n(536)](It):null;o instanceof HTMLElement&&(vt=Tt(o))})(...n))}})(),{capture:!0,passive:!0}),addEventListener("click",async e=>{const n=t;if(Et())return;if(!(e[n(547)]instanceof Element))return;const o=e[n(547)][n(536)](It);if(!(o instanceof HTMLElement))return;const r=(t=>{const e=gt,n=t.getAttribute("aria-label")?.[e(553)]();if(n)return n;const o=t[e(495)].trim();if(o)return o;const r=t[e(568)]?.[e(553)]();return r||e(581)})(o);(async()=>{const t=n,e=vt?await vt:void 0;vt=void 0,At(t(503),{tag:o[t(510)],label:r},o,e)})()},!0),addEventListener(t(538),e=>{const n=t;if(!Et()&&"Enter"===e[n(530)]){const t=e[n(547)];if(!(t instanceof HTMLElement))return;const o=t.tagName;if("INPUT"===o||o===n(560))At("input-submit",{tag:o,name:(t instanceof HTMLInputElement?t[n(578)]:void 0)??(t.id||void 0)},t);else if(S(t)){const e=(t=>{const e=h;let n=t;for(;n&&n!==document.body;){const t=n[e(413)](e(416));if(t===e(378)||""===t||t===e(391))return n;n=n[e(395)]}return null})(t)??t;if("newline"===e[n(548)][n(511)])return;const o=e[n(499)](n(564))?.toLowerCase(),r=e.id||void 0,i=e[n(499)](n(578))||e[n(499)]("aria-label")||r;At(n(550),{tag:"CONTENTEDITABLE",role:o??n(522),name:i},e)}}},{capture:!0}),[t(514),t(533)].forEach(e=>{window[t(541)](e,Dt)}),document[t(541)](t(565),Dt),window[t(541)](t(506),(()=>{let e;return(...n)=>{const o=b;void 0!==e&&window[o(408)](e),e=window[o(400)](()=>{e=void 0,(()=>{const e=t;Et()||At(e(506),{scrollX:window[e(519)],scrollY:window[e(549)]},document[e(491)])})(...n)},250)}})(),{passive:!0}),window[t(531)]??={send(e,n){const o=t;kt()&&At(e,n,document[o(491)])}})}function Pt(t,e){const n=Ht;try{if(void 0===e)return;localStorage[n(338)](t,n(e?"intent:consent"===t?371:370:361))}catch{}}function Ot(t){Pt(Ht(345),t)}function Ft(t){Pt(Ht(346),t)}function Rt(t){Pt(Ht(347),t)}function jt(t){}function Wt(t={}){const e=Ht;localStorage[e(338)](e(348),t[e(336)]??""),localStorage[e(338)]("intent:data-ip",t.ip??""),localStorage[e(338)](e(366),t[e(342)]??e(341)),typeof t[e(351)]===e(350)&&localStorage[e(338)](e(372),String(t.sidMaxAgeSeconds)),Pt(e(345),t[e(340)]),Pt(e(346),t[e(367)]),Pt("intent:debug",t[e(335)]),void 0!==t.debugPanel&&e(337),t.consent&&(q("intent_sid")||X(typeof crypto!==e(362)&&typeof crypto.randomUUID===e(356)?crypto[e(354)]():Date.now()+"-"+Math[e(355)](),t.sidMaxAgeSeconds)),Ut()}function Ht(t,e){return t-=335,Jt()[t]}function Yt(){return q(Ht(339))}function qt(){V()}function Jt(){const t=["disabled","undefined","70SWWYjy","9058690XAtgBy","106716tqjZZF","intent:data-base-url","geo","1419PHBvHB","warn","enabled","granted","intent:data-sid-max-age","2295812cdQtHi","debug","clientId","debugPanel","setItem","intent_sid","consent","https://intent.callimacus.ai","baseUrl","93768eBHUAr","9iwUoPT","intent:consent","intent:geo","intent:debug","intent:data-client-id","It exposes internal SDK behavior and should only be used during development.","number","sidMaxAgeSeconds","48Aknvvw","218252kkkoam","randomUUID","random","function","8197iLChvA","6056MxlxWy","isFinite","303650JGZneN"];return(Jt=()=>t)()}function Xt(){K()}function Kt(t){const e=Ht;Number[e(359)](t)&&localStorage[e(338)](e(372),String(t));const n=q(e(339));n&&X(n,t)}(()=>{const t=Ht,e=Jt();for(;;)try{if(835159==-parseInt(t(360))/1+parseInt(t(373))/2+parseInt(t(352))/3*(-parseInt(t(353))/4)+-parseInt(t(363))/5*(-parseInt(t(343))/6)+-parseInt(t(357))/7*(-parseInt(t(358))/8)+parseInt(t(344))/9*(parseInt(t(364))/10)+-parseInt(t(368))/11*(parseInt(t(365))/12))break;e.push(e.shift())}catch(t){e.push(e.shift())}})();export{Xt as clearIntentSessionId,qt as ensureIntentSessionId,Yt as getIntentSessionId,Wt as initIntent,Ot as setConsent,Rt as setDebug,jt as setDebugPanel,Pt as setFlag,Ft as setGeo,Kt as setIntentSessionMaxAge};
|