@solomei-ai/intent 2.0.3 → 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-=397,r()[t]}async function o(){const t=n,e=(new(Intl[t(458)])).resolvedOptions()[t(509)],o=(t=>{const e=n,o=t<=0?"+":"-",r=Math[e(494)](t);return""+o+String(Math.floor(r/60))[e(418)](2,"0")+":"+String(r%60)[e(418)](2,"0")})((new Date).getTimezoneOffset()),r=[];r[t(435)](t(486)+navigator[t(401)]),navigator[t(410)]?.[t(462)]&&r[t(435)]("Languages: "+navigator[t(410)].join(", ")),r[t(435)](t(407)+navigator[t(403)]);const i=function(){const t=n;if(!(t=>{const e=n;return e(471)in t&&typeof t.userAgentData!==e(431)})(navigator))return;const e=navigator[t(471)],o=Array[t(411)](e[t(446)])?e[t(446)].map(e=>e[t(470)]+" "+e[t(478)])[t(510)](", "):void 0,r=e.platform?e[t(448)]+(e[t(480)]?" (mobile)":""):void 0;return[o&&t(419)+o,r&&"Platform: "+r][t(445)](Boolean)[t(510)](t(466))||void 0}();i&&r[t(435)](i),r[t(435)](t(444)+e+t(482)+o+")"),r[t(435)](t(479)+(new Date)[t(495)]());const a=window[t(500)]||1;r[t(435)]("Screen: "+screen.width+"x"+screen[t(508)]+" @"+a+t(496)+screen[t(432)]+"x"+screen[t(399)]+", "+screen[t(421)]+t(451));const s=screen[t(481)]&&t(497)in screen[t(481)]?screen[t(481)][t(497)]:void 0;r.push(t(398)+window[t(457)]+"x"+window[t(455)]+(s?t(461)+s:"")),r[t(435)](t(406)+navigator[t(491)]+t(459));const c=await async function(){const t=n,e=[];let o=t(474);if((t=>{const e=n;return e(484)in t&&typeof t.connection!==e(431)})(navigator)){const n=navigator[t(484)];n?.[t(437)]&&e.push(n[t(437)]),typeof n?.downlink===t(424)&&e[t(435)]("~"+n[t(417)]+t(449)),typeof n?.[t(498)]===t(424)&&e[t(435)](n[t(498)]+" ms"),n?.saveData&&e[t(435)](t(488))}else{const r=((t=20)=>{const e=n,o=performance[e(441)]("navigation")[e(422)](t=>t[e(512)]===e(452)),r=o?Math[e(505)](0,o[e(412)]-o[e(416)]):void 0,i=performance[e(441)]("resource")[e(445)](t=>t.entryType===e(400));let a=0,s=0;for(const n of i[e(487)](0,Math.max(0,t))){const t=n[e(409)]>0?n[e(409)]:n.transferSize>0?n.transferSize:0,o=n[e(468)];t>0&&o>0&&Number[e(501)](o)&&(a+=t,s+=o)}const c=s>0?8*a/s:void 0;return{downlinkMbps:typeof c===e(424)?c/1e3:void 0,rttMs:r}})();typeof r[t(460)]===t(424)&&e[t(435)]("~"+r.downlinkMbps[t(397)](1)+t(449)),typeof r[t(465)]===t(424)&&e.push(t(427)+Math.round(r[t(465)])+" ms"),o=t(453)}const r=performance[t(441)](t(452)).find(t=>"navigation"===t.entryType);if(r){const n=Math[t(505)](0,r[t(412)]-r[t(416)]);!e[t(454)](e=>e.startsWith(t(469)))&&e[t(435)]("TTFB ~"+Math.round(n)+t(436))}return e.length?t(463)+e[t(510)](", ")+" ("+o+")":void 0}();c&&r[t(435)](c),r[t(435)]((()=>{const t=n,e=typeof matchMedia===t(493)&&matchMedia(t(464))[t(420)],o=typeof matchMedia===t(493)&&matchMedia("(pointer: fine)").matches,r=e?"coarse":o?"fine":"unknown",i=navigator[t(477)];return t(428)+r+", maxTouchPoints "+i})());const d=await async function(){const t=n;if((t=>{const e=n;return e(447)in t&&"function"==typeof t[e(447)]})(navigator))try{const e=await navigator.getBattery(),n=Math.round(100*e[t(499)]),o=[(Number[t(501)](n)?n:0)+"%",e[t(503)]?t(503):t(475)];return t(485)+o[t(510)](", ")}catch{}}();d&&r.push(d),r[t(435)](t(456)+(navigator[t(414)]?"yes":"no")+"; DNT: "+(navigator[t(425)]??t(502))),r[t(435)]("Online: "+(navigator[t(450)]?t(472):"no")),document.referrer&&r[t(435)](t(405)+document[t(423)]),r[t(435)]((()=>{const t=n,e=typeof matchMedia===t(493)&&matchMedia("(display-mode: standalone)")[t(420)];return"PWA: "+(Boolean(navigator[t(476)]?.[t(507)])?t(438):"no SW")+t(440)+(e?t(472):"no")})());const l=await async function(t=400){const e=n;if(e(408)in window&&window[e(483)])return new Promise(o=>{const r=e;let i=!1;const a=t=>{const e=n,r="number"==typeof t[e(511)]?t[e(511)]:void 0,s="number"==typeof t[e(473)]?t[e(473)]:void 0;if(void 0===r||void 0===s)return;if(i)return;i=!0,window[e(443)](e(504),a);const c=((t,e)=>{const o=n,r=Math[o(494)](t),i=Math.abs(e);return r<15&&i<15?"flat":r>=60?o(404):"reclined"})(r,s);o(e(439)+c+e(415)+Math[e(413)](r)+"°, γ "+Math[e(413)](s)+"°)")};window[r(513)](()=>{const t=r;i||(i=!0,window[t(443)](t(504),a),o(void 0))},t),window.addEventListener(r(504),a,{passive:!0})})}();l&&r.push(l);const u=localStorage[t(433)](t(506))===t(442);return r[t(435)](u?t(429):"Device geolocation: disabled"),r[t(510)](" | ")}function r(){const t=["Viewport: ","availHeight","resource","language","62TBtIbM","userAgent","upright","Referrer: ","CPU: ","User agent: ","DeviceOrientationEvent","encodedBodySize","languages","isArray","responseStart","round","cookieEnabled"," (β ","requestStart","downlink","padStart","UA brands: ","matches","colorDepth","find","referrer","number","doNotTrack","1936011jqaJJM","TTFB ~","Pointer/Touch: ","Device geolocation: enabled","4681860tvcRsX","undefined","availWidth","getItem","1708570UaTbsv","push"," ms","effectiveType","SW-controlled","Tilt: ",", display-mode standalone: ","getEntriesByType","enabled","removeEventListener","Timezone: ","filter","brands","getBattery","platform"," Mbps","onLine","-bit)","navigation","inferred","some","innerHeight","CookiesEnabled: ","innerWidth","DateTimeFormat"," cores","downlinkMbps",", orientation ","length","Network: ","(pointer: coarse)","rttMs"," | ","437266aIFQxE","duration","TTFB","brand","userAgentData","yes","gamma","browser API","not charging","serviceWorker","maxTouchPoints","version","Local time: ","mobile","orientation"," (UTC","isSecureContext","connection","Battery: ","Language: ","slice","saveData","7127310NUEQkj","22893nPNAcE","hardwareConcurrency","14320040KJhLcG","function","abs","toString","x (avail ","type","rtt","level","devicePixelRatio","isFinite","n/a","charging","deviceorientation","max","intent:geo","controller","height","timeZone","join","beta","entryType","setTimeout","toFixed"];return(r=()=>t)()}(()=>{const t=n,e=r();for(;;)try{if(623885==parseInt(t(467))/1+parseInt(t(402))/2*(parseInt(t(490))/3)+parseInt(t(430))/4+-parseInt(t(434))/5+parseInt(t(489))/6+-parseInt(t(426))/7+-parseInt(t(492))/8)break;e.push(e.shift())}catch(t){e.push(e.shift())}})();const i=p;(()=>{const t=p,e=u();for(;;)try{if(167144==-parseInt(t(216))/1+parseInt(t(215))/2*(parseInt(t(222))/3)+-parseInt(t(221))/4+parseInt(t(212))/5+-parseInt(t(228))/6*(-parseInt(t(226))/7)+-parseInt(t(227))/8+parseInt(t(225))/9*(parseInt(t(217))/10))break;e.push(e.shift())}catch(t){e.push(e.shift())}})();const a=i(224),s=i(219),c=i(220),d=i(223),l="intent:data-client-id";function u(){const t=["intent:data-base-url","intent:data-sid-max-age","6tpgPYt","12006CGtVtY","10zenarS","https://intent.callimacus.ai","intent:geo","intent:debug","40696XeWebB","48324DfDRcv","intent:debug-panel","intent:consent","802224nrthxA","892451ocQyEW","838800xRENBj","6xSFCRp","146105maWdfY"];return(u=()=>t)()}function p(t,e){return t-=212,u()[t]}const m=i(213),f=i(214),g=i(218),h=v;function b(){const t=["toLowerCase","22feLYOc","&amp;","textContent","tagName","input","setTimeout","contenteditable","role","plaintext-only","host","216888HnNJqc","3426972mYPekO","getAttribute","8GVLwoC","318264zSdGjr","[contenteditable]","now","954458nKZAQX","value","searchbox","77JdasPE","replace","textbox","parentElement","undefined","join","1853330RaBhWJ","2zypCfA","has","body","combobox","&lt;","30813276YxIxpr",'[role="',"SELECT","select","3530QVSHBM","innerText","&quot;","clearTimeout","getItem","18NxazjR","freeze","2874KyrsYq","true"];return(b=()=>t)()}function v(t,e){return t-=223,b()[t]}function y(...t){const e=v;try{typeof localStorage!==e(241)&&"enabled"===localStorage[e(257)](c)&&console.log(...t)}catch{}}(()=>{const t=v,e=b();for(;;)try{if(717997==-parseInt(t(244))/1*(parseInt(t(234))/2)+parseInt(t(227))/3*(parseInt(t(230))/4)+parseInt(t(253))/5*(-parseInt(t(260))/6)+-parseInt(t(237))/7*(-parseInt(t(231))/8)+parseInt(t(258))/9*(-parseInt(t(243))/10)+parseInt(t(263))/11*(-parseInt(t(228))/12)+parseInt(t(249))/13)break;e.push(e.shift())}catch(t){e.push(e.shift())}})();const w=Object[h(259)](new Set([h(239),h(247),h(236)])),x=[h(267),"textarea",h(252),h(232),...[...w].map(t=>h(250)+t+'"]')][h(242)](", ");function I(t){const e=h,n=t[e(266)];return"INPUT"===n||"TEXTAREA"===n||n===e(251)}function S(t){const e=h;if(I(t))return!0;const n=t[e(229)](e(223));if(""===n||n===e(261)||n===e(225))return!0;const o=t.getAttribute(e(224))?.[e(262)]();return!(!o||!w[e(245)](o))}function k(t){const e=h,n=t[e(240)];if(n)return n;const{parentNode:o}=t;return o instanceof ShadowRoot&&o[e(226)]instanceof Element?o[e(226)]:void 0}function E(t){const e=h;return t.replace(/&/g,e(264))[e(238)](/</g,e(248))[e(238)](/>/g,"&gt;")[e(238)](/"/g,e(255)).replace(/'/g,"&#039;")}const T=P;(()=>{const t=P,e=U();for(;;)try{if(589647==-parseInt(t(416))/1*(parseInt(t(464))/2)+-parseInt(t(489))/3+-parseInt(t(420))/4*(parseInt(t(397))/5)+parseInt(t(391))/6*(parseInt(t(463))/7)+-parseInt(t(458))/8+-parseInt(t(428))/9*(parseInt(t(456))/10)+parseInt(t(421))/11*(parseInt(t(486))/12))break;e.push(e.shift())}catch(t){e.push(e.shift())}})();const C="data-intent-redact",N=T(472),L=new Set([T(429),"given-name",T(419),T(451),T(437),T(404),T(477),T(417),"organization","organization-title",T(414),T(490),T(390),T(488),T(422),"address-level2",T(491),T(435),"country","country-name",T(381),T(412),T(394),T(447),T(441),"cc-number",T(440),T(479),T(388),T(399),T(377),T(396),T(473),T(383),T(418),T(405),T(400)]);function M(t){return"<"+(t=>{const e=T,n=(t.getAttribute?.(N)??"")[e(378)]();if(n)return n;const o=t[e(455)]?.(e(482))||"",r=S(t)?o[e(457)]()[e(378)]().split(/\s+/).filter(Boolean):[];if(t[e(469)]===e(467)&&t.type===e(406))return e(433);for(const t of r){const n=D[e(492)](t);if(n)return n}const i=t[e(455)]?.(C)?.toLowerCase();return i===e(461)?e(453):e(446)})(t)+">"}const D=new Map([[T(429),T(468)],[T(389),T(423)],[T(451),"Last name"],[T(419),T(471)],[T(437),"Nickname"],["username",T(478)],[T(477),T(443)],["tel",T(448)],[T(414),T(402)],[T(490),T(401)],[T(390),"Address line 2"],["address-line3",T(481)],["address-level1","State/Province"],["address-level2",T(426)],["address-level3",T(376)],["address-level4",T(398)],[T(381),"Postal code"],[T(439),"Country code"],["country-name",T(449)],["cc-name","Cardholder name"],[T(394),T(395)],[T(441),T(415)],[T(447),T(413)],[T(431),"Card number"],["cc-exp",T(476)],[T(479),T(379)],[T(388),T(393)],["cc-csc",T(462)],["cc-type",T(386)],[T(396),T(442)],[T(473),T(485)],["bday-month",T(444)],[T(418),T(438)],["organization","Organization"],[T(450),T(425)],["sex",T(475)],["webauthn",T(452)]]);function A(t){const e=T;return t[e(430)](e(387))||t[e(455)](C)?.[e(457)]()===e(403)}const z=new Set;function P(t,e){return t-=376,U()[t]}function B(t){const e=T,n=t.getAttribute(C);if(null===n)return!1;const o=n[e(457)]();return o!==e(403)&&(""!==n&&"mask"!==o&&(t=>{const e=T;if(z[e(427)](t))return;z.add(t);const n="[intent] Unsupported data-intent-redact value "+JSON[e(483)](t)+". Supported values are "+e(407)+e(465);try{console[e(466)](n)}catch{}})(n),!0)}function O(t){const e=T;let n=t;for(;n&&n!==document[e(480)];){if(A(n))return!0;n=k(n)}return!1}function R(t){return!(A(t)||!B(t)&&!(t=>{const e=T,n=t.tagName;if("INPUT"===n){const n=t;if(n[e(382)]===e(406))return!0;if(n[e(382)]===e(384))return!1;const o=n[e(455)]("role");if(o?.[e(457)]()===e(434))return!1;if((n[e(482)]||"").toLowerCase().trim()[e(410)](/\s+/)[e(380)](Boolean)[e(432)](t=>L[e(427)](t)))return!0}if((n===e(454)||n===e(445))&&(t[e(482)]||"")[e(457)]()[e(378)]()[e(410)](/\s+/)[e(380)](Boolean)[e(432)](t=>L[e(427)](t)))return!0;if(S(t)&&!I(t)){const n=t[e(455)](e(436))?.toLowerCase();if(n===e(434))return!1;if((t[e(455)](e(482))||"")[e(457)]().trim()[e(410)](/\s+/)[e(380)](Boolean)[e(432)](t=>L[e(427)](t)))return!0}return!1})(t))}function j(t){const e=T;if(!O(t))if(I(t)){if(R(t)){if(t[e(469)]===e(467)){const n=t;["date","datetime-local",e(409),"time","week"][e(408)](n.type)&&(n.type=e(484))}const n=M(t);t.value=n,t[e(460)](e(385),n)}}else S(t)?R(t)&&(t[e(424)]=M(t)):t[e(430)](C)&&B(t)&&(t.textContent=M(t))}function U(){const t=["address-level3","get","District","cc-type","trim","Expiration month","filter","postal-code","type","bday-month","search","value","Card type","data-html2canvas-ignore","cc-exp-year","given-name","address-line2","738eqjDDx","clear","Expiration year","cc-given-name","Cardholder first name","bday","55tXAwpF","Neighborhood","cc-csc","webauthn","Address line 1","Street address","ignore","username","sex","password",'"" or "mask" (redact), "ignore" (exclude from capture)',"includes","month","split","push","cc-name","Cardholder middle name","street-address","Cardholder last name","278454ZeksWZ","tel","bday-year","additional-name","383416AauHbb","539PetGRx","address-level1","First name","textContent","Job title","City","has","1521DvADPz","name","hasAttribute","cc-number","some","Password","searchbox","address-level4","role","nickname","Birth year","country","cc-exp","cc-family-name","Birthday","Email","Birth month","SELECT","Sensitive","cc-additional-name","Phone","Country name","organization-title","family-name","WebAuthn","Redacted","TEXTAREA","getAttribute","16550MIktjN","toLowerCase","6407520WiUHbG","length","setAttribute","mask","Security code","61173OiLRtT","8RbSqkd",'. Treating as "mask" to prevent data leaks.',"warn","INPUT","Name","tagName","querySelectorAll","Middle name","data-intent-redact-label","bday-day","IFRAME","Sex","Expiration date","email","Username","cc-exp-month","body","Address line 3","autocomplete","stringify","text","Birth day","840504NSpfIa","shadowRoot","address-line3","2005389aIvNzS","address-line1"];return(U=()=>t)()}function W(t,e){const n=T,o=[],r=[t];for(t instanceof Element&&t[n(487)]&&r[n(411)](t.shadowRoot);r[n(459)]>0;){const t=r.pop()[n(470)]("*");for(const i of t)i.matches(e)&&o.push(i),i[n(487)]&&r.push(i[n(487)])}return o}function F(t,e=new Set){const n=T,o=t instanceof Document?t:t.ownerDocument;if(o){if(e[n(427)](o))return;e.add(o)}t instanceof Element&&j(t);for(const e of W(t,x))j(e);for(const e of W(t,"["+C+"]"))j(e);for(const o of W(t,"iframe"))if(o.tagName===n(474))try{const t=o.contentDocument;t&&F(t,e)}catch{}}(()=>{const t=K,e=q();for(;;)try{if(546443==-parseInt(t(130))/1+-parseInt(t(115))/2*(-parseInt(t(126))/3)+parseInt(t(116))/4+parseInt(t(118))/5+parseInt(t(121))/6+-parseInt(t(110))/7*(-parseInt(t(111))/8)+-parseInt(t(117))/9)break;e.push(e.shift())}catch(t){e.push(e.shift())}})();let H="";function X(){return H}function q(){const t=["1031884QuSjWs","10150857tDRlmK","3020350jbzCoh","isFinite","number","2065944wkXVCu","granted","set","protocol","get","234gtenzk","https:","randomUUID","intent_sid","794032wblcPa","1926337AnpvEF","24gdXBTX","getItem","Lax","remove","11190MFKQia"];return(q=()=>t)()}function J(t){return e[K(125)](t)}function V(t,n){const o=K,r=localStorage[o(112)](f),i=null===r?void 0:Number(r),a="number"==typeof n&&Number[o(119)](n)?n:typeof i===o(120)&&Number.isFinite(i)?i:2592e3,s=window.location[o(124)]===o(127);e[o(123)](o(129),t,{expires:a/86400,path:"/",sameSite:o(113),...s&&{secure:!0}})}function Y(){const t=K;e[t(114)](t(129),{path:"/"})}function K(t,e){return t-=110,q()[t]}function Q(){const t=K,e=J(t(129));if(!(()=>{const t=K;return localStorage[t(112)](a)===t(122)})())return e&&Y(),void(H="");e?H=e:(H=crypto[t(128)](),V(H))}(()=>{const t=rt,e=ot();for(;;)try{if(785708==parseInt(t(519))/1*(-parseInt(t(503))/2)+parseInt(t(523))/3+parseInt(t(490))/4*(-parseInt(t(495))/5)+parseInt(t(488))/6+-parseInt(t(516))/7*(parseInt(t(522))/8)+-parseInt(t(515))/9*(parseInt(t(492))/10)+parseInt(t(500))/11)break;e.push(e.shift())}catch(t){e.push(e.shift())}})();let _=!1,G=!1,Z=!1,$=!1,tt=!1;function et(){const t=rt;return localStorage[t(512)](s)===t(486)}function nt(){_=!1,Z=!1,tt=!1}function ot(){const t=["21976BSBPPE","POSITION_UNAVAILABLE","altitude","message","UNKNOWN","pointerdown","heading","isFinite","visibilityState","getItem","isSecureContext","hasFocus","2070DyumcL","14lqtDea","altitudeAccuracy","accuracy","2PzwYga","hostname","now","1861816AuaoEf","3019359mSWCcx","keydown","latitude","number","enabled","canRequest","3756288xtQZlb","geolocation","4bLslNO","getCurrentPosition","56530EvRnOe","TIMEOUT","coords","4195600MSBVwW","onLine","longitude","removeEventListener","code","19579417oiqosg","addEventListener","timestamp"];return(ot=()=>t)()}function rt(t,e){return t-=483,ot()[t]}function it(){return!_&&et()&&!$&&tt}const at=lt;(()=>{const t=lt,e=ut();for(;;)try{if(432540==parseInt(t(150))/1+-parseInt(t(137))/2+parseInt(t(188))/3+-parseInt(t(173))/4*(-parseInt(t(141))/5)+parseInt(t(205))/6*(parseInt(t(158))/7)+parseInt(t(198))/8+-parseInt(t(134))/9)break;e.push(e.shift())}catch(t){e.push(e.shift())}})();let st,ct=[],dt=!1;function lt(t,e){return t-=107,ut()[t]}function ut(){const t=["props","#intent-debug-count","html",'</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">',"innerHeight","length","offsetWidth","\n\t\tpadding: 12px 24px;\n\t\tbackground: var(--solomei-color-primary-button-background, #262626);\n\t\tcolor: var(--solomei-color-primary-button-color, white);\n\t\tborder: none;\n\t\tborder-radius: var(--solomei-radius-button, 20px);\n\t\tfont-size: 14px;\n\t\tfont-weight: var(--solomei-font-weight-semibold, 600);\n\t\tcursor: pointer;\n\t\tbox-shadow: var(--solomei-shadow-box, 0 2px 10px rgba(0, 0, 0, 0.15));\n\t","tagName","#intent-debug-content","click","data-intent-redact"," event",'\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">',"createElement","stringify","querySelector","bbox","startsWith","display","img","readyState","data:image/","addEventListener","200px","intent-debug-fullscreen-modal","randomUUID","removeEventListener","cssText","7121178VCXzqc","contains",'\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',"1378618BHyEsh",'\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">',"Escape","mousemove","5LfEOyb","function","firstElementChild","push","min","remove","body","random","intent-debug-screenshot","48585VyXdSk","div","mousedown","key","timestamp","enabled","classList","keydown","3921813EiFDsM","none",'\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',"offsetHeight","event","map","#intent-debug-close",'\n\t\t\t\t<div style="margin-bottom: 8px;">\n\t\t\t\t\t<img src="',"max","stopPropagation","\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","#intent-debug-events","clientX","#intent-debug-clear","\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","1143640HpvhIN","setItem","now","textContent",'" \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 (~',"ignore","\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","disabled",'\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">',"✕ Close","appendChild","BUTTON","0 events","DOMContentLoaded","</pre>\n\t\t\t\t</div>\n\t\t\t</details>\n\t\t</div>\n\t","568410NJMSJs","setAttribute","loading","getItem","clientY","getBoundingClientRect","flex","reverse","width","left","6630936zgxsdW","\n\t\tcolor: var(--solomei-color-primary-foreground, white);\n\t\tfont-size: 13px;\n\t","</pre>\n\t\t\t\t\t","src","style","target","round","6wjYVPC","innerHTML","mouseup"];return(ut=()=>t)()}function pt(){const t=lt;if(!st)return;const e=st[t(121)](t(169)),n=st[t(121)](t(209));if(!e||!n)return;if(0===ct[t(110)])return e[t(206)]=t(160),void(n.textContent=t(185));const o=[...ct][t(195)]();e[t(206)]=o[t(163)](t=>(t=>{const e=lt,n=new Date(t[e(154)]).toLocaleTimeString(),o=t[e(125)]&&t[e(125)][e(110)]>0,r=o?Math[e(204)](.75*t[e(125)][e(110)]/1024):0,i=E(t[e(162)]),a=E(JSON.stringify(t[e(208)],null,2)),s=E(t[e(107)]),c=E(JSON[e(120)](t[e(122)],null,2));return e(138)+i+e(108)+n+"</div>\n\t\t\t</div>\n\t\t\t"+(o?e(165)+t.img+e(177)+r+" KB)</div>\n\t\t\t\t</div>\n\t\t\t":"")+e(118)+a+e(200)+(t[e(107)]?e(181)+s+e(200):"")+'\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(187)})(t)).join(""),n[t(176)]=ct.length+t(117)+(1===ct[t(110)]?"":"s")}function mt(){const t=lt;if(st)return void(st[t(202)].display="flex");const e=document[t(119)](t(151));e[t(206)]=lt(136),st=e[t(143)],document[t(147)][t(183)](st);const n=st[t(121)](t(164)),o=st[t(121)]("#intent-debug-minimize"),r=st[t(121)](t(171));n?.[t(128)](t(115),()=>{!function(t){const e=lt;try{localStorage[e(174)](d,e(t?155:180)),t?mt():(()=>{const t=lt;st&&(st.style[t(124)]=t(159))})()}catch{}}(!1)}),o?.[t(128)](t(115),()=>{(()=>{const t=lt;if(!st)return;const e=st.querySelector(t(114)),n=st[t(121)]("#intent-debug-minimize");e&&n&&(dt=!dt,dt?(e[t(202)].display=t(159),st.style[t(196)]=t(129),n.textContent="+"):(e[t(202)][t(124)]=t(194),st[t(202)][t(196)]="400px",n[t(176)]="−"))})()}),r?.[t(128)](t(115),()=>{ct=[],pt()}),(()=>{const t=lt;if(!st)return;const e=st[t(121)]("#intent-debug-header");if(!e)return;let n=!1,o=0,r=0,i=0,a=0;e[t(128)](t(152),e=>{const o=t;if(e[o(203)][o(113)]===o(184))return;n=!0;const r=st[o(193)]();i=e.clientX-r.left,a=e[o(192)]-r.top}),document[t(128)](t(140),e=>{const s=t;if(!n||!st)return;e.preventDefault(),o=e[s(170)]-i,r=e.clientY-a;const c=window.innerWidth-st[s(111)],d=window[s(109)]-st[s(161)];o=Math[s(166)](0,Math[s(145)](o,c)),r=Math.max(0,Math[s(145)](r,d)),st[s(202)][s(197)]=o+"px",st.style.top=r+"px",st[s(202)].right="auto"}),document[t(128)](t(207),()=>{n=!1})})(),st[t(128)]("click",e=>{const n=t,o=e[n(203)];if(o[n(156)][n(135)](n(149))){const t=o;t[n(201)]&&t[n(201)][n(123)](n(127))&&(t=>{const e=lt,n=document.createElement(e(151));n.id=e(130),n[e(189)](e(116),e(178)),n[e(202)].cssText=e(179);const o=document[e(119)](e(151));o[e(202)].cssText=e(168);const r=document[e(119)]("img");r[e(201)]=t,r[e(202)].cssText=e(172);const i=document.createElement("div");i[e(202)].cssText="\n\t\tmargin-top: 20px;\n\t\tdisplay: flex;\n\t\tgap: 20px;\n\t\talign-items: center;\n\t";const a=document[e(119)]("button");a[e(176)]=e(182),a.style[e(133)]=e(112);const s=document[e(119)](e(151));s[e(176)]="Click anywhere or press ESC to close",s[e(202)][e(133)]=e(199),i.appendChild(a),i.appendChild(s),o.appendChild(r),o[e(183)](i),n[e(183)](o);const c=()=>{const t=e;n[t(146)](),document[t(132)]("keydown",d)};n[e(128)](e(115),c),a.addEventListener(e(115),t=>{t[e(167)](),c()}),r[e(128)](e(115),t=>{t[e(167)]()});const d=t=>{const n=e;t[n(153)]===n(139)&&c()};document[e(128)](e(157),d),document[e(147)].appendChild(n)})(t[n(201)])}}),pt()}function ft(t,e){return t-=283,gt()[t]}function gt(){var t=["714376ryPioj","3501mPmmbE","505106VPnkOW","168xzLVPj","setDebugPanel","10536LdIlpY","4007145QeHmHU","warn","519756jVSakR","85130pgquDs","237417kKbHiP","4CWKtVR","605dGMjeT","63RwYdTO","[Intent SDK] Debug panel is not available in this build. ","Use the debug build variant: @solomei-ai/intent/debug or intent.debug.umd.min.js","logEventToDebugPanel","10bFicvv"];return(gt=()=>t)()}"undefined"!=typeof window&&function(){const t=lt;try{return localStorage[t(191)](d)===t(155)}catch{return!1}}()&&(document[at(126)]===at(190)?document[at(128)](at(186),()=>{mt()}):mt()),Symbol,(()=>{for(var t=ft,e=gt();;)try{if(667806==parseInt(t(284))/1+parseInt(t(299))/2*(parseInt(t(292))/3)+parseInt(t(293))/4*(-parseInt(t(288))/5)+-parseInt(t(290))/6*(-parseInt(t(295))/7)+parseInt(t(287))/8*(-parseInt(t(283))/9)+parseInt(t(291))/10*(-parseInt(t(294))/11)+-parseInt(t(285))/12*(-parseInt(t(300))/13))break;e.push(e.shift())}catch(t){e.push(e.shift())}})();const ht=At;(()=>{const t=At,e=Mt();for(;;)try{if(761714==parseInt(t(290))/1*(parseInt(t(310))/2)+-parseInt(t(285))/3+-parseInt(t(271))/4*(parseInt(t(333))/5)+parseInt(t(258))/6*(-parseInt(t(325))/7)+-parseInt(t(260))/8+parseInt(t(319))/9*(parseInt(t(293))/10)+parseInt(t(316))/11)break;e.push(e.shift())}catch(t){e.push(e.shift())}})();let bt,vt,yt=0,wt=!1;const xt=ht(295),It=[ht(332),ht(322),"a",ht(327),'input[type="button"]',ht(276),ht(349),ht(257)][ht(340)](",");function St(){return Q(),(()=>{const t=ht;return localStorage[t(304)](a)===t(250)})()&&Boolean(X())&&(()=>{const t=ht;return Boolean(localStorage[t(304)](l)?.[t(286)]()[t(280)])})()}function kt(){return!St()||G}async function Et(e){for(;vt;)await vt;return vt=(async()=>{const n=At;try{const o=performance[n(318)](),r=performance[n(318)](),i=(t=>{const e=ht;if(A(t))return"";const n=t[e(335)](!1);return Array[e(263)](t.attributes)[e(281)](({name:t,value:o})=>{n[e(303)](t,o)}),I(t)?I(n)&&(n[e(334)]=t.value):S(t)?n[e(279)]=t[e(279)]:n.textContent=t[e(342)],F(n),I(n)&&n[e(303)](e(334),n[e(334)]),n.outerHTML})(e),a=performance[n(318)]()-r;y(n(277)+a[n(307)](2)+"ms");const s=e[n(306)](),c=performance.now(),d={left:window[n(272)],top:window[n(302)],right:window.scrollX+window.innerWidth,bottom:window[n(302)]+window[n(282)]},l=await t(document[n(291)],{useCORS:!0,x:window.scrollX,y:window.scrollY,width:window[n(313)],height:window[n(282)],scale:.6,logging:!1,onclone(t){F(t)},ignoreElements(t){const e=n;if(!(t instanceof Element))return!1;if(O(t))return!0;const o=t[e(306)](),r={left:o[e(296)]+window.scrollX,top:o[e(337)]+window[e(302)],right:o[e(297)]+window.scrollX,bottom:o[e(352)]+window[e(302)]},i=100,a=r[e(352)]<d[e(337)]-i,s=r[e(337)]>d.bottom+i,c=r[e(297)]<d[e(296)]-i,l=r[e(296)]>d[e(297)]+i;if(!(c||l||a||s))return!1;const{position:u}=window.getComputedStyle(t);let p;if(u===e(264)||"absolute"===u){const t=500;p=r[e(297)]<d[e(296)]-t||r[e(296)]>d.right+t||r[e(352)]<d[e(337)]-t||r[e(337)]>d[e(352)]+t}else p=s;return!!p&&!(t[e(321)]===e(317)||t[e(321)]===e(249)||t[e(321)]===e(323)||t[e(351)](e(287))||t[e(270)]("input, textarea, select, [data-intent-redact]"))}}),u=performance.now()-c;y(n(262)+u[n(307)](2)+"ms");const p=performance.now(),m=l[n(344)](n(265),.8);y("[Timing] jpeg-encoding: "+(performance[n(318)]()-p)[n(307)](2)+"ms");const f=performance[n(318)]()-o;return y(n(269)+f[n(307)](2)+"ms"),{html:i,bbox:{x:s.x,y:s.y,w:s[n(292)],h:s[n(339)]},img:m,fullCanvas:l}}finally{vt=void 0}})(),vt}function Tt(){const t=ht,e=localStorage.getItem(l),n={"Content-Type":t(254)};e&&(n["x-sl-access-token"]=e);const o=X();return o&&(n[t(255)]=o),n}async function Ct(t,e,n,o){const r=ht;if(!St())return;const i={...e,localTime:(new Date)[r(252)]()};S(n)&&(i.value=R(n)?M(n):(t=>{const e=h;if(I(t))return t[e(235)];const n=t[e(254)];return"string"==typeof n?n:t[e(265)]??""})(n));let a="",s={x:0,y:0,w:0,h:0},c="";const d=!(t===r(298)||t===r(347)||t===r(331)),u=Date[r(318)](),p=u-yt>=0;let f=o;const b=t===r(299)||"input-submit"===t||t===r(330);d&&(b&&!f||!f&&p)&&(f=await Et(n),yt=u),f&&(a=f.html,s=f[r(283)],c=f[r(320)]);const v="page-blur"===t||t===r(331)||"pageview"===t,y={ts:Date[r(318)](),event:t,url:window[r(248)][r(348)],props:i,html:v?"":a,bbox:s,img:c};await async function(t){const e=ht,n=(localStorage[e(304)](m)??g)+e(278),o=localStorage[e(304)](l)??void 0,r=JSON[e(300)]({...t,clientId:o});try{if((await fetch(n,{method:"POST",headers:Tt(),body:r,keepalive:!0,credentials:e(275)})).ok)return}catch{}try{await(async t=>{const e=ht,n=(localStorage[e(304)](m)??g)+e(336);if(!(await fetch(n,{method:e(261),headers:Tt(),body:JSON[e(300)](t),keepalive:!0,credentials:e(275),cache:"no-store"})).ok)throw new Error("pixel body fallback failed")})(t)}catch{}}(y)}async function Nt(t={}){const e=ht;if(!St())return;const n=typeof t[e(294)]===e(329)&&"number"==typeof t[e(288)];if(n&&_)return;if(!n&&wt)return;const r=localStorage.getItem("intent:data-ip"),i={context:await o()};r&&(i.ip=r);for(const[n,o]of Object[e(301)](t))i[n]=o;await Ct(e(273),i,document[e(291)],{html:"",bbox:{x:0,y:0,w:0,h:0},img:""}),!n&&(wt=!0)}async function Lt(){await(async(t,e)=>{const n=rt,o={canRequest:e(),geoEnabled:et(),deviceGeoSent:_};if(!o[n(487)]||!o.geoEnabled||o.deviceGeoSent)return;if(!("geolocation"in navigator))return;if($)return;$=!0,G=!0;const r={enableHighAccuracy:!1,maximumAge:3e5,timeout:2e4};Date[n(521)]();try{await(navigator.permissions?.query({name:n(489)}))}catch(t){}await new Promise(t=>{const e=n;let o=!1;const i=async(e,n,r)=>{const i=rt;o||(o=!0,Number[i(510)](e)&&Number[i(510)](n)&&(await(async(t,e,n)=>{const o=At;await Nt({lat:t,lon:e,source:o(346),...n})})(e,n,r),_=!0),$=!1,G=!1,tt=!0,t())};navigator[e(489)][e(491)](t=>{const e=rt,n=t[e(494)];i(n[e(484)],n[e(497)],{accuracy:n[e(518)],altitude:"number"==typeof n[e(505)]?n[e(505)]:void 0,altitudeAccuracy:"number"==typeof n[e(517)]?n[e(517)]:void 0,heading:typeof n.heading===e(485)?n[e(509)]:void 0,speed:typeof n.speed===e(485)?n.speed:void 0,timestamp:t[e(502)],visibility:document.visibilityState,focused:document.hasFocus()})},t=>{const e=rt,n=t?.[e(499)],o={error:{code:n,name:1===n?"PERMISSION_DENIED":e(2===n?504:3===n?493:507),message:t?.[e(506)]??""},online:navigator[e(496)],visibility:document[e(511)],focused:document[e(514)](),secure:window[e(513)],proto:location.protocol,host:location[e(520)]};i(void 0,void 0,o)},r)})})(0,St)}function Mt(){const t=["8180KOrbnD","scrollX","context","title","omit",'[role="button"]',"[Timing] serialize: ","/events","innerHTML","length","forEach","innerHeight","bbox","hasFocus","1424751xjvNtc","trim","data-intent-redact","lon","target","296365klzbhn","body","width","340OilDXg","lat","__intent__sdk__initialized__","left","right","scroll","click","stringify","entries","scrollY","setAttribute","getItem","isSecureContext","getBoundingClientRect","toFixed","addEventListener","role","2WPCVKc","<no visible label>","hidden","innerWidth","name","visibilitychange","24927694gSpres","INPUT","now","371970DJlevb","img","tagName","a[href]","SELECT","newline","350VsJBjQ","localhost",'input[type="submit"]',"CONTENTEDITABLE","number","pageview","page-focus","button","3340uMjRDO","value","cloneNode","/p.gif","top","storage","height","join","key","textContent","closest","toDataURL","toLowerCase","device","page-blur","href",'[role="link"]',"input-submit","hasAttribute","bottom","location","TEXTAREA","granted","aria-label","toISOString","referrer","application/json","x-intent-sid","focus","[onclick]","150342IhZZlH","load","897584NWbJmq","POST","[Timing] html2canvas-pro: ","from","fixed","image/jpeg","getAttribute","intentEnter","Enter","[Timing] capture-total: ","querySelector"];return(Mt=()=>t)()}function Dt(){(t=>{const e=rt;if(Z||!et()||_)return;Z=!0;const n=()=>{const e=rt;window.removeEventListener(e(508),n,!0),window[e(498)](e(483),n,!0),t()};window[e(501)](e(508),n,!0),window.addEventListener(e(483),n,!0)})(Lt)}function At(t,e){return t-=248,Mt()[t]}Q();let zt=!document[ht(312)]&&document[ht(284)](),Pt=document[ht(284)]();function Bt(){const t=ht;if(kt())return;const e=!document[t(312)]&&document.hasFocus();e&&(Pt=!0),Pt||e?e!==zt&&(zt=e,Ct(t(e?331:347),{},document[t(291)])):zt=e}function Ot(){const t=ht;(()=>{const t=globalThis;return!t[xt]&&(Object.defineProperty(t,xt,{value:!0,configurable:!1,enumerable:!1,writable:!1}),!0)})()&&(window.addEventListener(t(259),()=>{const e=t;St()&&(Nt(),(window[e(305)]||location.hostname===e(326))&&(et()&&Dt(),window.addEventListener(e(256),()=>{it()&&Lt()}),document[e(308)]("visibilitychange",()=>{!document[e(312)]&&it()&&Lt()})))}),window[t(308)](t(338),e=>{const n=t;e.key===a&&((()=>{const t=ht;return localStorage[t(304)](a)===t(250)})()?(wt=!1,Nt(),et()&&Dt()):(wt=!1,nt())),e[n(341)]===s&&(et()?Dt():nt())}),window.addEventListener(t(259),()=>{const e=t;St()&&Ct(e(330),{url:window[e(248)].href,title:document[e(274)],ref:document[e(253)]},document.body)}),addEventListener("pointerdown",(()=>{let e=0;return(...n)=>{const o=Date[v(233)]();o-e>=50&&(e=o,(e=>{const n=t;if(kt())return;const o=e[n(289)]instanceof Element?e[n(289)][n(343)](It):null;o instanceof HTMLElement&&(bt=Et(o))})(...n))}})(),{capture:!0,passive:!0}),addEventListener(t(299),async e=>{const n=t;if(kt())return;if(!(e.target instanceof Element))return;const o=e[n(289)].closest(It);if(!(o instanceof HTMLElement))return;const r=(t=>{const e=ht,n=t[e(266)](e(251))?.trim();if(n)return n;const o=t.title.trim();if(o)return o;const r=t.textContent?.trim();return r||e(311)})(o);(async()=>{const t=n,e=bt?await bt:void 0;bt=void 0,Ct(t(299),{tag:o[t(321)],label:r},o,e)})()},!0),addEventListener("keydown",e=>{const n=t;if(!kt()&&e.key===n(268)){const t=e[n(289)];if(!(t instanceof HTMLElement))return;const o=t[n(321)];if(o===n(317)||o===n(249)){const e=t instanceof HTMLInputElement?t.name:void 0,r=t.id||void 0;Ct(n(350),{tag:o,name:e??r},t)}else if(S(t)){const e=(t=>{const e=h;let n=t;for(;n&&n!==document[e(246)];){const t=n[e(229)](e(223));if(t===e(261)||""===t||t===e(225))return n;n=n.parentElement}return null})(t)??t;if(e.dataset[n(267)]===n(324))return;const o=e[n(266)](n(309))?.[n(345)](),r=e.id||void 0,i=e[n(266)](n(314))||e[n(266)]("aria-label")||r;Ct("input-submit",{tag:n(328),role:o??"contenteditable",name:i},e)}}},{capture:!0}),[t(256),"blur"][t(281)](e=>{window[t(308)](e,Bt)}),document[t(308)](t(315),Bt),window[t(308)](t(298),(()=>{let e;return(...n)=>{const o=v;void 0!==e&&window[o(256)](e),e=window[o(268)](()=>{e=void 0,(()=>{const e=t;kt()||Ct(e(298),{scrollX:window[e(272)],scrollY:window[e(302)]},document[e(291)])})(...n)},250)}})(),{passive:!0}),window.intent??={send(e,n){const o=t;St()&&Ct(e,n,document[o(291)])}})}function Rt(t,e){const n=Wt;try{if(void 0===e)return;localStorage[n(214)](t,e?t===n(234)?n(209):"enabled":n(229))}catch{}}function jt(t){Rt(Wt(234),t)}function Ut(t){Rt("intent:geo",t)}function Wt(t,e){return t-=202,Vt()[t]}function Ft(t){Rt("intent:debug",t)}function Ht(t){}function Xt(t={}){const e=Wt;localStorage[e(214)]("intent:data-client-id",t[e(224)]??""),localStorage[e(214)](e(219),t.ip??""),localStorage.setItem("intent:data-base-url",t[e(202)]??e(232)),typeof t[e(212)]===e(230)&&localStorage[e(214)](e(235),String(t[e(212)])),Rt(e(234),t[e(203)]),Rt("intent:geo",t[e(231)]),Rt(e(211),t[e(220)]),e(210),t[e(203)]&&(J("intent_sid")||V(typeof crypto!==e(222)&&typeof crypto[e(223)]===e(217)?crypto[e(223)]():Date.now()+"-"+Math[e(228)](),t.sidMaxAgeSeconds)),Ot()}function qt(){return J(Wt(221))}function Jt(){Q()}function Vt(){const t=["669660KCyXdp","intent:consent","intent:data-sid-max-age","1383MDNFMg","baseUrl","consent","32hIlzbz","42dJuOrN","1398RuALGk","5ahNLRN","1304044yhXQAl","granted","debugPanel","intent:debug","sidMaxAgeSeconds","It exposes internal SDK behavior and should only be used during development.","setItem","4588254YdEHHV","warn","function","33649qQubJE","intent:data-ip","debug","intent_sid","undefined","randomUUID","clientId","672561dRQCaS","isFinite","259923xTRXNE","random","disabled","number","geo","https://intent.callimacus.ai"];return(Vt=()=>t)()}function Yt(){Y()}function Kt(t){const e=Wt;Number[e(226)](t)&&localStorage[e(214)](e(235),String(t));const n=J(e(221));n&&V(n,t)}(()=>{const t=Wt,e=Vt();for(;;)try{if(169514==-parseInt(t(227))/1+-parseInt(t(206))/2*(-parseInt(t(236))/3)+parseInt(t(208))/4*(parseInt(t(207))/5)+parseInt(t(205))/6*(-parseInt(t(218))/7)+parseInt(t(204))/8*(parseInt(t(225))/9)+-parseInt(t(233))/10+-parseInt(t(215))/11)break;e.push(e.shift())}catch(t){e.push(e.shift())}})();export{Yt as clearIntentSessionId,Jt as ensureIntentSessionId,qt as getIntentSessionId,Xt as initIntent,jt as setConsent,Ft as setDebug,Ht as setDebugPanel,Ut as setGeo,Kt 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","&quot;","&#039;","innerText","6gMEMQr","93638pOyxVG","replace","freeze","log","join","TEXTAREA","&amp;","combobox","role","host","&gt;","8480570dcVvgO","plaintext-only","textarea","body","setTimeout","3014991mwsKRw","4UbOTgh","toLowerCase",'[role="',"has","1364536jZfDIf","select","parentElement","9957200QOgqaF","now","&lt;","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};