@solomei-ai/intent 1.12.2 → 2.0.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/README.md +11 -77
- package/dist/esm/index.debug.js +1 -1
- package/dist/esm/index.debug.js.map +1 -1
- package/dist/esm/index.js +1 -1
- package/dist/intent.debug.umd.min.js +1 -1
- package/dist/intent.debug.umd.min.js.map +1 -1
- package/dist/intent.umd.min.js +2 -2
- package/dist/types/index.d.ts +2 -15
- package/package.json +1 -1
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-=335,o()[t]}function o(){const t=["9297nlVOgx","12xrWzri","matches","Timezone: ","connection",", display-mode standalone: ","referrer","gamma","fine","-bit)","no SW","number","mobile",", orientation ","map","removeEventListener","n/a","padStart","orientation","downlink"," Mbps","language","duration","find","innerHeight","beta","push","TTFB ~","Battery: ","effectiveType","Platform: ","TTFB","userAgentData","CPU: ","devicePixelRatio"," (mobile)","isSecureContext","platform","Pointer/Touch: ","level","join","brands"," (UTC","unknown","yes","languages"," ms","controller","setTimeout","Referrer: ","1976LXrLsT","getItem","slice","timeZone","Viewport: ","Online: ","rttMs","Languages: ","; DNT: ","DeviceOrientationEvent","version","Screen: ","max","rtt","charging","filter","96YRyPzJ","coarse","width","navigation","round","type","encodedBodySize","cookieEnabled","entryType","height","Device geolocation: enabled","saveData","abs","getBattery","612644RbBTXu","resource","Local time: ","length","serviceWorker","(display-mode: standalone)","1392300Xzwdwr","218435knJTMY","availHeight","PWA: ","requestStart","isArray","brand","Tilt: ","innerWidth","User agent: ","reclined","deviceorientation","undefined",", maxTouchPoints ","50520dQyzhm"," | ","downlinkMbps","isFinite","176nyYbgC"," cores","1162628pDorMm","Language: ","2035930tWyIct","(pointer: coarse)","toString","toFixed","function","x (avail ","transferSize","colorDepth","hardwareConcurrency","upright","getTimezoneOffset","resolvedOptions","responseStart","°, γ "];return(o=()=>t)()}async function r(){const t=n,e=(new Intl.DateTimeFormat)[t(436)]()[t(370)],o=(t=>{const e=n,o=t<=0?"+":"-",r=Math[e(395)](t);return""+o+String(Math.floor(r/60))[e(456)](2,"0")+":"+String(r%60)[e(456)](2,"0")})((new Date)[t(435)]()),r=[];r[t(343)](t(424)+navigator[t(338)]),navigator[t(362)]?.[t(400)]&&r[t(343)](t(374)+navigator[t(362)].join(", ")),r[t(343)](t(412)+navigator.userAgent);const i=function(){const t=n;if(!(t=>{const e=n;return e(349)in t&&typeof t[e(349)]!==e(415)})(navigator))return;const e=navigator[t(349)],o=Array[t(408)](e[t(358)])?e.brands[t(453)](e=>e[t(409)]+" "+e[t(377)])[t(357)](", "):void 0,r=e[t(354)]?""+e[t(354)]+(e[t(451)]?t(352):""):void 0;return[o&&"UA brands: "+o,r&&t(347)+r][t(382)](Boolean)[t(357)](t(418))||void 0}();i&&r[t(343)](i),r.push(t(442)+e+t(359)+o+")"),r[t(343)](t(399)+(new Date)[t(427)]());const a=window[t(351)]||1;r[t(343)](t(378)+screen[t(385)]+"x"+screen[t(392)]+" @"+a+t(430)+screen.availWidth+"x"+screen[t(405)]+", "+screen[t(432)]+t(448));const s=screen[t(335)]&&t(388)in screen[t(335)]?screen.orientation[t(388)]:void 0;r[t(343)](t(371)+window[t(411)]+"x"+window[t(341)]+(s?t(452)+s:"")),r.push(t(350)+navigator[t(433)]+t(422));const c=await async function(){const t=n,e=[];let o="browser API";if((t=>{const e=n;return e(443)in t&&typeof t[e(443)]!==e(415)})(navigator)){const n=navigator.connection;n?.effectiveType&&e.push(n[t(346)]),"number"==typeof n?.[t(336)]&&e.push("~"+n.downlink+" Mbps"),typeof n?.rtt===t(450)&&e[t(343)](n[t(380)]+t(363)),n?.[t(394)]&&e[t(343)](t(394))}else{const r=((t=20)=>{const e=n,o=performance.getEntriesByType(e(386))[e(340)](t=>t[e(391)]===e(386)),r=o?Math[e(379)](0,o.responseStart-o[e(407)]):void 0,i=performance.getEntriesByType(e(398)).filter(t=>"resource"===t[e(391)]);let a=0,s=0;for(const n of i[e(369)](0,Math.max(0,t))){const t=n[e(389)]>0?n[e(389)]:n[e(431)]>0?n[e(431)]:0,o=n[e(339)];t>0&&o>0&&Number[e(420)](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(419)]===t(450)&&e[t(343)]("~"+r[t(419)][t(428)](1)+t(337)),typeof r.rttMs===t(450)&&e[t(343)](t(344)+Math[t(387)](r[t(373)])+t(363)),o="inferred"}const r=performance.getEntriesByType(t(386)).find(e=>e.entryType===t(386));if(r){const n=Math[t(379)](0,r[t(437)]-r[t(407)]);!e.some(e=>e.startsWith(t(348)))&&e[t(343)](t(344)+Math.round(n)+t(363))}return e[t(400)]?"Network: "+e[t(357)](", ")+" ("+o+")":void 0}();c&&r[t(343)](c),r[t(343)]((()=>{const t=n,e=typeof matchMedia===t(429)&&matchMedia(t(426))[t(441)],o="function"==typeof matchMedia&&matchMedia("(pointer: fine)")[t(441)],r=t(e?384:o?447:360),i=navigator.maxTouchPoints;return t(355)+r+t(416)+i})());const d=await async function(){const t=n;if((t=>{const e=n;return e(396)in t&&typeof t[e(396)]===e(429)})(navigator))try{const e=await navigator.getBattery(),n=Math.round(100*e[t(356)]),o=[(Number.isFinite(n)?n:0)+"%",e[t(381)]?t(381):"not charging"];return t(345)+o.join(", ")}catch{}}();d&&r.push(d),r.push("CookiesEnabled: "+(navigator[t(390)]?t(361):"no")+t(375)+(navigator.doNotTrack??t(455))),r[t(343)](t(372)+(navigator.onLine?"yes":"no")),document[t(445)]&&r.push(t(366)+document.referrer),r.push((()=>{const t=n,e=typeof matchMedia===t(429)&&matchMedia(t(402))[t(441)],o=Boolean(navigator[t(401)]?.[t(364)]);return t(406)+(o?"SW-controlled":t(449))+t(444)+(e?t(361):"no")})());const l=await async function(t=400){const e=n;if(e(376)in window&&window[e(353)])return new Promise(o=>{const r=e;let i=!1;const a=t=>{const e=n,r="number"==typeof t[e(342)]?t[e(342)]:void 0,s=typeof t[e(446)]===e(450)?t.gamma:void 0;if(void 0===r||void 0===s)return;if(i)return;i=!0,window[e(454)](e(414),a);const c=((t,e)=>{const o=n,r=Math[o(395)](t),i=Math[o(395)](e);return r<15&&i<15?"flat":o(r>=60?434:413)})(r,s);o(e(410)+c+" (β "+Math[e(387)](r)+e(438)+Math.round(s)+"°)")};window[r(365)](()=>{const t=r;i||(i=!0,window[t(454)](t(414),a),o(void 0))},t),window.addEventListener(r(414),a,{passive:!0})})}();l&&r[t(343)](l);const u="enabled"===localStorage[t(368)]("intent:geo");return r.push(u?t(393):"Device geolocation: disabled"),r.join(t(418))}(()=>{const t=n,e=o();for(;;)try{if(824913==-parseInt(t(397))/1+parseInt(t(417))/2+-parseInt(t(440))/3*(parseInt(t(423))/4)+-parseInt(t(425))/5+parseInt(t(383))/6*(parseInt(t(404))/7)+parseInt(t(367))/8*(parseInt(t(439))/9)+parseInt(t(403))/10*(parseInt(t(421))/11))break;e.push(e.shift())}catch(t){e.push(e.shift())}})();const i=u;function a(){const t=["15GNTDya","11096784AFOPPu","19750kHqHOG","intent:data-ip","559979fAAlCI","intent:data-sid-max-age","https://intent.callimacus.ai","3624248orvqJF","1062102wIoIrr","intent:debug-panel","intent:debug","3JOMmhj","803NGqXre","intent:data-base-url","2312584jlppxm","136wBEQcQ","intent:consent","1475274seGWlF","intent:geo"];return(a=()=>t)()}(()=>{const t=u,e=a();for(;;)try{if(846983==-parseInt(t(462))/1+parseInt(t(478))/2+parseInt(t(475))/3*(parseInt(t(471))/4)+-parseInt(t(464))/5*(-parseInt(t(472))/6)+-parseInt(t(468))/7*(parseInt(t(479))/8)+parseInt(t(465))/9+-parseInt(t(466))/10*(parseInt(t(476))/11))break;e.push(e.shift())}catch(t){e.push(e.shift())}})();const s=i(461),c=i(463),d=i(474),l=i(473);function u(t,e){return t-=461,a()[t]}const p="intent:data-client-id",m=i(467),f=i(477),g=i(469),b=i(470),h=E;function v(...t){const e=E;try{typeof localStorage!==e(436)&&localStorage[e(415)](d)===e(435)&&console[e(411)](...t)}catch{}}(()=>{const t=E,e=w();for(;;)try{if(481793==parseInt(t(429))/1*(-parseInt(t(422))/2)+-parseInt(t(444))/3*(-parseInt(t(431))/4)+parseInt(t(448))/5*(parseInt(t(416))/6)+-parseInt(t(412))/7+-parseInt(t(413))/8+-parseInt(t(425))/9+parseInt(t(440))/10)break;e.push(e.shift())}catch(t){e.push(e.shift())}})();const y=Object.freeze(new Set(["textbox","combobox","searchbox"]));function w(){const t=["value","7703361asrjkH","textarea","tagName",'[role="',"6568nQXJwo","replace","938044cTFUoO","now","join","body","enabled","undefined","[contenteditable]","setTimeout","true","20418520skbwkG","map","has",">","6BgetrJ","'","&","input","15DqTbpO",""","getAttribute","parentElement","log","756679WIyEaL","5991880kEYbgk","SELECT","getItem","103476mDfAwO","host","clearTimeout","TEXTAREA","plaintext-only","select","112CdQylr","<"];return(w=()=>t)()}const x=[h(447),h(426),h(421),h(437),...[...y][h(441)](t=>h(428)+t+'"]')][h(433)](", ");function I(t){const e=h,n=t[e(427)];return"INPUT"===n||n===e(419)||n===e(414)}function S(t){const e=h;if(I(t))return!0;const n=t[e(450)]("contenteditable");if(""===n||n===e(439)||n===e(420))return!0;const o=t.getAttribute("role")?.toLowerCase();return!(!o||!y[e(442)](o))}function E(t,e){return t-=410,w()[t]}function k(t){const e=h,n=t[e(410)];if(n)return n;const{parentNode:o}=t;return o instanceof ShadowRoot&&o.host instanceof Element?o[e(417)]:void 0}function T(t){const e=h;return t.replace(/&/g,e(446))[e(430)](/</g,e(423))[e(430)](/>/g,e(443))[e(430)](/"/g,e(449)).replace(/'/g,e(445))}const C=D;(()=>{const t=D,e=N();for(;;)try{if(258500==-parseInt(t(326))/1+parseInt(t(240))/2+-parseInt(t(331))/3*(parseInt(t(295))/4)+-parseInt(t(263))/5+parseInt(t(261))/6*(-parseInt(t(253))/7)+-parseInt(t(264))/8+parseInt(t(308))/9)break;e.push(e.shift())}catch(t){e.push(e.shift())}})();const M="data-intent-redact",A=C(277);function D(t,e){return t-=230,N()[t]}const L=new Set([C(270),C(319),C(235),"family-name",C(305),"username","email","tel","organization",C(244),C(260),C(271),C(301),C(322),"address-level1",C(249),C(233),C(252),C(239),C(289),C(288),C(243),C(339),C(314),"cc-family-name",C(312),C(342),C(246),C(324),C(302),C(287),"bday","bday-day",C(276),C(286),C(256),C(262)]);function N(){const t=["ownerDocument","IFRAME","some","given-name","bday-day","querySelectorAll","address-line3","iframe","cc-exp-year","City","104584yUPATp","includes","mask","Sensitive","SELECT","21BmpRrG","length","Cardholder last name","getAttribute","toLowerCase","month","password","INPUT","cc-given-name","autocomplete","Sex","cc-exp","setAttribute","tel","warn","Job title","add","address-level3","trim","additional-name","tagName","Redacted","family-name","country","21580qjBDJi","Country name","Cardholder middle name","cc-name","organization-title","hasAttribute","cc-exp-month","Address line 2","Address line 3","address-level2","textContent",". Supported values are ","address-level4","42OpBTff","has","filter","sex","Organization","Expiration year","Expiration month","street-address","153498QIyylc","webauthn","1755765eODcjQ","3730848geOyww","matches","clear","type","pop","searchbox","name","address-line1","Name","Last name","Security code","First name","bday-month","data-intent-redact-label","Birth month","Card number","bday",'"" or "mask" (redact), "ignore" (exclude from capture)',"Username","cc-family-name","Birthday","WebAuthn","bday-year","cc-type","postal-code","country-name","Middle name","datetime-local","body","push",'. Treating as "mask" to prevent data leaks.',"220084RraoWl","role","shadowRoot","split","value","Neighborhood","address-line2","cc-csc","get","Birth year","nickname","date","Email","15376032enFjAV","ignore","Address line 1","week","cc-number","data-html2canvas-ignore","cc-additional-name","Country code"];return(N=()=>t)()}function B(t){return"<"+(t=>{const e=C,n=(t.getAttribute?.(A)??"")[e(234)]();if(n)return n;const o=t.getAttribute?.(e(340))||"",r=S(t)?o[e(335)]().trim()[e(298)](/\s+/)[e(255)](Boolean):[];if(t[e(236)]===e(338)&&t[e(267)]===e(337))return"Password";for(const t of r){const n=z[e(303)](t);if(n)return n}const i=t.getAttribute?.(M)?.[e(335)]();return i===e(328)?e(237):e(329)})(t)+">"}const z=new Map([["name",C(272)],[C(319),C(275)],[C(238),C(273)],[C(235),C(290)],[C(305),"Nickname"],["username",C(282)],["email",C(307)],[C(344),"Phone"],["street-address","Street address"],[C(271),C(310)],[C(301),C(247)],[C(322),C(248)],["address-level1","State/Province"],[C(249),C(325)],[C(233),"District"],[C(252),C(300)],["postal-code","Postal code"],[C(239),C(315)],[C(289),C(241)],["cc-name","Cardholder name"],[C(339),"Cardholder first name"],[C(283),C(333)],[C(314),C(242)],[C(312),C(279)],[C(342),"Expiration date"],[C(246),C(259)],[C(324),C(258)],[C(302),C(274)],["cc-type","Card type"],[C(280),C(284)],[C(320),"Birth day"],[C(276),C(278)],["bday-year",C(304)],["organization",C(257)],[C(244),C(231)],[C(256),C(341)],[C(262),C(285)]]);function O(t){const e=C;return t.hasAttribute(e(313))||t[e(334)](M)?.toLowerCase()===e(309)}const P=new Set;function j(t){const e=C,n=t[e(334)](M);if(null===n)return!1;const o=n.toLowerCase();return o!==e(309)&&(""!==n&&o!==e(328)&&(t=>{const e=C;if(P[e(254)](t))return;P[e(232)](t);const n=JSON.stringify(t),o=e(281),r="[intent] Unsupported data-intent-redact value "+n+e(251)+o+e(294);try{console[e(230)](r)}catch{}})(n),!0)}function F(t){let e=t;for(;e&&e!==document.body;){if(O(e))return!0;e=k(e)}return!1}function U(t){return!(O(t)||!j(t)&&!(t=>{const e=C,n=t[e(236)];if(n===e(338)){const n=t;if("password"===n[e(267)])return!0;if("search"===n[e(267)])return!1;const o=n[e(334)](e(296));if("searchbox"===o?.[e(335)]())return!1;if((n[e(340)]||"")[e(335)]()[e(234)]()[e(298)](/\s+/).filter(Boolean)[e(318)](t=>L[e(254)](t)))return!0}if(("TEXTAREA"===n||n===e(330))&&(t.autocomplete||"")[e(335)]()[e(234)]().split(/\s+/)[e(255)](Boolean)[e(318)](t=>L[e(254)](t)))return!0;if(S(t)&&!I(t)){const n=t.getAttribute(e(296))?.toLowerCase();if(n===e(269))return!1;if((t[e(334)](e(340))||"")[e(335)]().trim().split(/\s+/).filter(Boolean)[e(318)](t=>L[e(254)](t)))return!0}return!1})(t))}function W(t){const e=C;if(!F(t))if(I(t)){if(U(t)){if(t.tagName===e(338)){const n=t;[e(306),e(291),e(336),"time",e(311)][e(327)](n[e(267)])&&(n[e(267)]="text")}const n=B(t);t[e(299)]=n,t[e(343)](e(299),n)}}else S(t)?U(t)&&(t[e(250)]=B(t)):t[e(245)](M)&&j(t)&&(t[e(250)]=B(t))}function R(t,e){const n=C,o=[],r=[t];for(t instanceof Element&&t[n(297)]&&r[n(293)](t[n(297)]);r[n(332)]>0;){const t=r[n(268)]()[n(321)]("*");for(const i of t)i[n(265)](e)&&o[n(293)](i),i[n(297)]&&r[n(293)](i[n(297)])}return o}function H(t,e=new Set){const n=C,o=t instanceof Document?t:t[n(316)];if(o){if(e[n(254)](o))return;e.add(o)}t instanceof Element&&W(t);for(const e of R(t,x))W(e);for(const e of R(t,"["+M+"]"))W(e);for(const o of R(t,n(323)))if(o[n(236)]===n(317))try{const t=o.contentDocument;t&&H(t,e)}catch{}}(()=>{const t=Y,e=J();for(;;)try{if(187794==-parseInt(t(505))/1*(parseInt(t(490))/2)+-parseInt(t(493))/3+parseInt(t(504))/4+-parseInt(t(503))/5*(parseInt(t(507))/6)+-parseInt(t(502))/7+-parseInt(t(489))/8*(-parseInt(t(487))/9)+parseInt(t(494))/10)break;e.push(e.shift())}catch(t){e.push(e.shift())}})();let X="";function J(){const t=["22602WmzqyV","getItem","45DVHWnP","protocol","100384YLAZiU","310rpxgDX","remove","granted","677505nWYYap","3539440TItBGI","Lax","set","get","intent_sid","randomUUID","https:","isFinite","412160JakJXK","35JfoweZ","1235216yhHFZc","1462ExxBtv","location"];return(J=()=>t)()}function q(){return X}function G(t){return e[Y(497)](t)}function V(t,n){const o=Y,r=localStorage.getItem(g),i=null===r?void 0:Number(r),a="number"==typeof n&&Number[o(501)](n)?n:"number"==typeof i&&Number.isFinite(i)?i:2592e3,s=window[o(506)][o(488)]===o(500);e[o(496)](o(498),t,{expires:a/86400,path:"/",sameSite:o(495),...s&&{secure:!0}})}function K(){const t=Y;e[t(491)](t(498),{path:"/"})}function Y(t,e){return t-=487,J()[t]}function Z(){const t=Y,e=G(t(498));if(!(()=>{const t=Y;return localStorage[t(508)](s)===t(492)})())return e&&K(),void(X="");e?X=e:(X=crypto[t(499)](),V(X))}function _(t,e){return t-=241,at()[t]}(()=>{const t=_,e=at();for(;;)try{if(382872==-parseInt(t(265))/1*(parseInt(t(275))/2)+parseInt(t(247))/3+parseInt(t(266))/4*(parseInt(t(277))/5)+parseInt(t(244))/6*(-parseInt(t(254))/7)+parseInt(t(242))/8*(-parseInt(t(253))/9)+-parseInt(t(245))/10+parseInt(t(278))/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=_;return localStorage.getItem(c)===t(259)}function rt(){Q=!1,tt=!1,nt=!1}function it(){return!Q&&ot()&&!et&&nt}function at(){const t=["UNKNOWN","TIMEOUT","now","deviceGeoSent","36haBsxH","7CzeQyZ","query","isFinite","onLine","code","enabled","isSecureContext","protocol","hasFocus","geolocation","number","58673BHWEOP","2359748SqSeyj","pointerdown","POSITION_UNAVAILABLE","canRequest","PERMISSION_DENIED","removeEventListener","message","accuracy","altitude","14bjCUJM","speed","5ncWZow","11obcnis","keydown","coords","heading","addEventListener","permissions","14223276QSWxPK","795512KtXXoj","altitudeAccuracy","2709366oFfxjX","4194280aEgzsP","hostname","861354GtkfKV","geoEnabled"];return(at=()=>t)()}const st=ft;function ct(){const t=["bbox","classList","</pre>\n\t\t\t\t</div>\n\t\t\t</details>\n\t\t</div>\n\t","none","appendChild","</div>\n\t\t\t</div>\n\t\t\t","ignore","#intent-debug-header",'</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">',"min","setAttribute","BUTTON","firstElementChild","3444012GnwpEC","\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","mousemove","readyState","2294847ZdBGxc","html","display","event","timestamp","top","4eoDtMF","15212772eyeocR","now","clientX","img","flex","src","props","round","addEventListener","contains","randomUUID","max","DOMContentLoaded","intent-debug-fullscreen-modal","loading","body"," event","textContent","querySelector","getItem","7dMjFVn","mousedown","click","data-intent-redact","7287486WZwuVK","mouseup","tagName","cssText","left","</pre>\n\t\t\t\t\t","target","\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","offsetWidth","5569555WmbppV","#intent-debug-count","length",'\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',"clientY","9416JsZwUg",'\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">',"200px","style","Click anywhere or press ESC to close","keydown","reverse",'\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">','\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-screenshot","\n\t\tcolor: var(--solomei-color-primary-foreground, white);\n\t\tfont-size: 13px;\n\t","function","width","16COrFdH","3oofxyD","stringify","#intent-debug-clear","div","join","0 events","map","#intent-debug-close","createElement","innerHTML","#intent-debug-content"," KB)</div>\n\t\t\t\t</div>\n\t\t\t","startsWith","Escape","\n\t\tmargin-top: 20px;\n\t\tdisplay: flex;\n\t\tgap: 20px;\n\t\talign-items: center;\n\t","right","373778oUNTAx","enabled","3920pguQZf"];return(ct=()=>t)()}(()=>{const t=ft,e=ct();for(;;)try{if(647838==parseInt(t(417))/1*(parseInt(t(433))/2)+-parseInt(t(449))/3+-parseInt(t(459))/4*(-parseInt(t(493))/5)+parseInt(t(484))/6*(parseInt(t(480))/7)+-parseInt(t(416))/8*(-parseInt(t(453))/9)+parseInt(t(435))/10*(-parseInt(t(403))/11)+-parseInt(t(460))/12)break;e.push(e.shift())}catch(t){e.push(e.shift())}})();let dt,lt=[],ut=!1;function pt(){const t=ft;if(!dt)return;const e=dt[t(478)]("#intent-debug-events"),n=dt[t(478)](t(494));if(!e||!n)return;if(0===lt[t(495)])return e[t(426)]=t(411),void(n.textContent=t(422));const o=[...lt][t(409)]();e[t(426)]=o[t(423)](t=>(t=>{const e=ft,n=new Date(t[e(457)]).toLocaleTimeString(),o=t[e(463)]&&t[e(463)][e(495)]>0,r=o?Math[e(467)](.75*t.img[e(495)]/1024):0,i=T(t[e(456)]),a=T(JSON[e(418)](t[e(466)],null,2)),s=T(t.html),c=T(JSON.stringify(t[e(436)],null,2));return e(410)+i+e(444)+n+e(441)+(o?'\n\t\t\t\t<div style="margin-bottom: 8px;">\n\t\t\t\t\t<img src="'+t.img+'" \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 (~'+r+e(428):"")+'\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(489)+(t[e(454)]?e(404)+s+e(489):"")+'\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(438)})(t))[t(421)](""),n[t(477)]=lt.length+t(476)+(1===lt[t(495)]?"":"s")}function mt(){const t=ft;if(dt)return void(dt.style[t(455)]=t(464));const e=document[t(425)]("div");e[t(426)]=ft(401),dt=e[t(448)],document[t(475)][t(440)](dt);const n=dt[t(478)](t(424)),o=dt[t(478)]("#intent-debug-minimize"),r=dt[t(478)](t(419));n?.[t(468)](t(482),()=>{!function(t){const e=ft;try{localStorage.setItem(l,t?e(434):"disabled"),t?mt():(()=>{const t=ft;dt&&(dt[t(406)].display=t(439))})()}catch{}}(!1)}),o?.[t(468)](t(482),()=>{(()=>{const t=ft;if(!dt)return;const e=dt[t(478)](t(427)),n=dt[t(478)]("#intent-debug-minimize");e&&n&&(ut=!ut,ut?(e.style[t(455)]=t(439),dt.style[t(415)]=t(405),n[t(477)]="+"):(e[t(406)][t(455)]=t(464),dt[t(406)][t(415)]="400px",n[t(477)]="−"))})()}),r?.addEventListener(t(482),()=>{lt=[],pt()}),(()=>{const t=ft;if(!dt)return;const e=dt.querySelector(t(443));if(!e)return;let n=!1,o=0,r=0,i=0,a=0;e[t(468)](t(481),e=>{const o=t;if(e.target[o(486)]===o(447))return;n=!0;const r=dt.getBoundingClientRect();i=e[o(462)]-r[o(488)],a=e[o(402)]-r[o(458)]}),document[t(468)](t(451),e=>{const s=t;if(!n||!dt)return;e.preventDefault(),o=e[s(462)]-i,r=e[s(402)]-a;const c=window.innerWidth-dt[s(492)],d=window.innerHeight-dt.offsetHeight;o=Math[s(471)](0,Math[s(445)](o,c)),r=Math.max(0,Math.min(r,d)),dt.style[s(488)]=o+"px",dt[s(406)][s(458)]=r+"px",dt[s(406)][s(432)]="auto"}),document.addEventListener(t(485),()=>{n=!1})})(),dt[t(468)](t(482),e=>{const n=t,o=e[n(490)];if(o[n(437)][n(469)](n(412))){const t=o;t[n(465)]&&t[n(465)][n(429)]("data:image/")&&(t=>{const e=ft,n=document[e(425)](e(420));n.id=e(473),n[e(446)](e(483),e(442)),n[e(406)][e(487)]="\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(425)]("div");o[e(406)][e(487)]="\n\t\tmax-width: 95%;\n\t\tmax-height: 95%;\n\t\tdisplay: flex;\n\t\tflex-direction: column;\n\t\talign-items: center;\n\t";const r=document[e(425)](e(463));r[e(465)]=t,r[e(406)][e(487)]=e(450);const i=document.createElement(e(420));i[e(406)][e(487)]=e(431);const a=document[e(425)]("button");a[e(477)]="✕ Close",a[e(406)][e(487)]=e(491);const s=document[e(425)](e(420));s.textContent=e(407),s[e(406)].cssText=e(413),i[e(440)](a),i[e(440)](s),o.appendChild(r),o[e(440)](i),n[e(440)](o);const c=()=>{const t=e;n.remove(),document.removeEventListener(t(408),d)};n[e(468)](e(482),c),a[e(468)](e(482),t=>{t.stopPropagation(),c()}),r[e(468)](e(482),t=>{t.stopPropagation()});const d=t=>{t.key===e(430)&&c()};document[e(468)](e(408),d),document[e(475)][e(440)](n)})(t[n(465)])}}),pt()}function ft(t,e){return t-=401,ct()[t]}function gt(t,e){return t-=157,bt()[t]}function bt(){var t=["5100336JVqufi","setDebugPanel","236637FNcbtw","logEventToDebugPanel","40gIvvxp","478tVgrvr","4230455mMnBFg","1514344BpFPOj","undefined","276252tSIyov","112nOxzyn","7644204KXtPMx","[Intent SDK] Debug panel is not available in this build. ","6879VshoOh","warn"];return(bt=()=>t)()}"undefined"!=typeof window&&function(){const t=ft;try{return localStorage[t(479)](l)===t(434)}catch{return!1}}()&&(document[st(452)]===st(474)?document[st(468)](st(472),()=>{mt()}):mt()),Symbol,(()=>{for(var t=gt,e=bt();;)try{if(925513==parseInt(t(162))/1*(-parseInt(t(169))/2)+parseInt(t(166))/3+-parseInt(t(171))/4+parseInt(t(170))/5+-parseInt(t(158))/6*(parseInt(t(159))/7)+-parseInt(t(164))/8+parseInt(t(160))/9*(parseInt(t(168))/10))break;e.push(e.shift())}catch(t){e.push(e.shift())}})();const ht=St;(()=>{const t=St,e=wt();for(;;)try{if(999671==-parseInt(t(344))/1+parseInt(t(433))/2+parseInt(t(401))/3+-parseInt(t(399))/4+-parseInt(t(421))/5*(parseInt(t(407))/6)+parseInt(t(430))/7+parseInt(t(422))/8)break;e.push(e.shift())}catch(t){e.push(e.shift())}})();let vt,yt=0;function wt(){const t=["aria-label","getBoundingClientRect","top","outerHTML","INPUT","role","toDataURL","[Timing] html2canvas-pro: ",'input[type="button"]',"3514575mRvRjl","14375184dKlUaN","defineProperty","scroll","keydown","isSecureContext","focus","CONTENTEDITABLE","getAttribute","2425248DlkEST",'input[type="submit"]',"getItem","983202CuFAXd","addEventListener","page-blur","title","left","storage","dataset","innerHeight","__intent__sdk__initialized__","textContent","load","value","890296setvnU","lon","/p.gif","context","input-submit","getComputedStyle","pageview","fixed","contenteditable","POST","number","body","bottom","[onclick]","trim","entries","Enter","hasFocus","intent","[Timing] serialize: ","pixel body fallback failed","height","application/json","omit","<no visible label>","right","referrer","blur","localhost","html","now","scrollX","forEach","innerWidth","page-focus","toFixed","[Timing] jpeg-encoding: ","a[href]","join","bbox","click","tagName","setAttribute","data-intent-redact","from","intentEnter","lat","hidden","target","cloneNode","key","no-store","x-sl-access-token","x-intent-sid","device","631068ONvcLD","scrollY","347058MirQED",'[role="link"]','[role="button"]',"visibilitychange","innerHTML","name","6MBtnys","closest","granted","image/jpeg","stringify"];return(wt=()=>t)()}let xt,It=!1;function St(t,e){return t-=341,wt()[t]}const Et=ht(441),kt=["button",ht(381),"a",ht(431),ht(420),ht(403),ht(402),ht(357)][ht(382)](",");function Tt(){return Z(),(()=>{const t=ht;return localStorage.getItem(s)===t(409)})()&&Boolean(q())&&(()=>{const t=ht;return Boolean(localStorage[t(432)](p)?.trim().length)})()}function Ct(){return!Tt()||$}async function Mt(e){for(;xt;)await xt;return xt=(async()=>{const n=St;try{const o=performance[n(374)](),r=performance[n(374)](),i=(t=>{const e=ht;if(O(t))return"";const n=t[e(393)](!1);return Array[e(388)](t.attributes).forEach(({name:t,value:o})=>{n[e(386)](t,o)}),I(t)?I(n)&&(n[e(343)]=t.value):S(t)?n[e(405)]=t[e(405)]:n.textContent=t[e(341)],H(n),I(n)&&n.setAttribute(e(343),n[e(343)]),n[e(415)]})(e),a=performance[n(374)]()-r;v(n(363)+a.toFixed(2)+"ms");const s=e[n(413)](),c=performance[n(374)](),d={left:window[n(375)],top:window.scrollY,right:window[n(375)]+window[n(377)],bottom:window[n(400)]+window.innerHeight},l=await t(document[n(355)],{useCORS:!0,x:window[n(375)],y:window[n(400)],width:window.innerWidth,height:window[n(440)],scale:.6,logging:!1,onclone(t){H(t)},ignoreElements(t){const e=n;if(!(t instanceof Element))return!1;if(F(t))return!0;const o=t[e(413)](),r={left:o[e(437)]+window[e(375)],top:o[e(414)]+window.scrollY,right:o[e(369)]+window.scrollX,bottom:o.bottom+window.scrollY},i=100;if(!(r[e(369)]<d[e(437)]-i||r[e(437)]>d[e(369)]+i||r[e(356)]<d[e(414)]-i||r.top>d.bottom+i))return!1;if("INPUT"===t[e(385)]||"TEXTAREA"===t.tagName||"SELECT"===t[e(385)]||t.hasAttribute(e(387))||t.querySelector("input, textarea, select, [data-intent-redact]"))return!1;const a=window[e(349)](t),{position:s}=a;if(s===e(351)||"absolute"===s){const t=500;return r[e(369)]<d[e(437)]-t||r[e(437)]>d[e(369)]+t||r[e(356)]<d[e(414)]-t||r[e(414)]>d.bottom+t}return!0}}),u=performance.now()-c;v(n(419)+u[n(379)](2)+"ms");const p=performance[n(374)](),m=l[n(418)](n(410),.8),f=performance[n(374)]()-p;v(n(380)+f[n(379)](2)+"ms");return v("[Timing] capture-total: "+(performance[n(374)]()-o).toFixed(2)+"ms"),{html:i,bbox:{x:s.x,y:s.y,w:s.width,h:s[n(365)]},img:m,fullCanvas:l}}finally{xt=void 0}})(),xt}function At(){const t=ht,e=localStorage[t(432)](p),n={"Content-Type":t(366)};e&&(n[t(396)]=e);const o=q();return o&&(n[t(397)]=o),n}async function Dt(t,e,n,o){const r=ht;if(!Tt())return;const i={...e,localTime:(new Date).toISOString()};S(n)&&(i[r(343)]=U(n)?B(n):(t=>{const e=h;if(I(t))return t[e(424)];const n=t.innerText;return"string"==typeof n?n:t.textContent??""})(n));let a="",s={x:0,y:0,w:0,h:0},c="";const d=!("scroll"===t||t===r(435)||"page-focus"===t),l=Date[r(374)](),u=l-yt>=0;let m=o;const g="click"===t||t===r(348)||t===r(350);d&&(g&&!m||!m&&u)&&(m=await Mt(n),yt=l),m&&(a=m[r(373)],s=m[r(383)],c=m.img);const v=t===r(435)||t===r(378)||"pageview"===t,y={ts:Date[r(374)](),event:t,url:window.location.href,props:i,html:v?"":a,bbox:s,img:c};await async function(t){const e=ht,n=(localStorage.getItem(f)??b)+"/events",o=localStorage.getItem(p)??void 0,r=JSON[e(411)]({...t,clientId:o});try{if((await fetch(n,{method:e(353),headers:At(),body:r,keepalive:!0,credentials:e(367)})).ok)return}catch{}try{await(async t=>{const e=ht,n=(localStorage[e(432)](f)??b)+e(346);if(!(await fetch(n,{method:e(353),headers:At(),body:JSON[e(411)](t),keepalive:!0,credentials:e(367),cache:e(395)})).ok)throw new Error(e(364))})(t)}catch{}}(y)}async function Lt(t={}){const e=ht;if(!Tt())return;const n=typeof t[e(390)]===e(354)&&typeof t[e(345)]===e(354);if(n&&Q)return;if(!n&&It)return;const o=localStorage[e(432)](m),i={context:await r()};o&&(i.ip=o);for(const[n,o]of Object[e(359)](t))i[n]=o;await Dt(e(347),i,document.body,{html:"",bbox:{x:0,y:0,w:0,h:0},img:""}),!n&&(It=!0)}async function Nt(){await(async(t,e)=>{const n=_,o={canRequest:e(),geoEnabled:ot(),deviceGeoSent:Q};if(!o[n(269)]||!o[n(248)]||o[n(252)])return;if(!(n(263)in navigator))return;if(et)return;et=!0,$=!0;const r={enableHighAccuracy:!1,maximumAge:3e5,timeout:2e4};Date[n(251)]();try{await(navigator[n(283)]?.[n(255)]({name:n(263)}))}catch(t){}await new Promise(t=>{let e=!1;const n=async(n,o,r)=>{const i=_;e||(e=!0,Number[i(256)](n)&&Number[i(256)](o)&&(await(async(t,e,n)=>{const o=St;await Lt({lat:t,lon:e,source:o(398),...n})})(n,o,r),Q=!0),et=!1,$=!1,nt=!0,t())};navigator.geolocation.getCurrentPosition(t=>{const e=_,o=t[e(280)];n(o.latitude,o.longitude,{accuracy:o[e(273)],altitude:typeof o.altitude===e(264)?o[e(274)]:void 0,altitudeAccuracy:typeof o[e(243)]===e(264)?o[e(243)]:void 0,heading:typeof o[e(281)]===e(264)?o.heading:void 0,speed:typeof o.speed===e(264)?o[e(276)]:void 0,timestamp:t.timestamp,visibility:document.visibilityState,focused:document[e(262)]()})},t=>{const e=_,o=t?.[e(258)],r={error:{code:o,name:e(1===o?270:2===o?268:3===o?250:249),message:t?.[e(272)]??""},online:navigator[e(257)],visibility:document.visibilityState,focused:document[e(262)](),secure:window[e(260)],proto:location[e(261)],host:location[e(246)]};n(void 0,void 0,r)},r)})})(0,Tt)}function Bt(){(t=>{const e=_;if(tt||!ot()||Q)return;tt=!0;const n=()=>{const e=_;window[e(271)]("pointerdown",n,!0),window[e(271)]("keydown",n,!0),t()};window[e(282)](e(267),n,!0),window[e(282)](e(279),n,!0)})(Nt)}Z();let zt=!document[ht(391)]&&document[ht(361)](),Ot=document[ht(361)]();function Pt(){const t=ht;if(Ct())return;const e=!document[t(391)]&&document[t(361)]();e&&(Ot=!0),Ot||e?e!==zt&&(zt=e,Dt(t(e?378:435),{},document[t(355)])):zt=e}function jt(){const t=ht;(()=>{const t=globalThis;return!t[Et]&&(Object[ht(423)](t,Et,{value:!0,configurable:!1,enumerable:!1,writable:!1}),!0)})()&&(window[t(434)](t(342),()=>{const e=t;Tt()&&(Lt(),(window[e(426)]||location.hostname===e(372))&&(ot()&&Bt(),window.addEventListener(e(427),()=>{it()&&Nt()}),document[e(434)](e(404),()=>{!document[e(391)]&&it()&&Nt()})))}),window.addEventListener(t(438),e=>{const n=t;e[n(394)]===s&&("granted"===localStorage.getItem(s)?(It=!1,Lt(),ot()&&Bt()):(It=!1,rt())),e[n(394)]===c&&(ot()?Bt():rt())}),window.addEventListener(t(342),()=>{const e=t;Tt()&&Dt(e(350),{url:window.location.href,title:document[e(436)],ref:document[e(370)]},document[e(355)])}),addEventListener("pointerdown",(()=>{let e=0;return(...n)=>{const o=Date[E(432)]();o-e>=50&&(e=o,(e=>{const n=t;if(Ct())return;const o=e.target instanceof Element?e[n(392)][n(408)](kt):null;o instanceof HTMLElement&&(vt=Mt(o))})(...n))}})(),{capture:!0,passive:!0}),addEventListener(t(384),async e=>{const n=t;if(Ct())return;if(!(e[n(392)]instanceof Element))return;const o=e.target[n(408)](kt);if(!(o instanceof HTMLElement))return;const r=(t=>{const e=ht,n=t[e(429)](e(412))?.[e(358)]();if(n)return n;const o=t[e(436)].trim();if(o)return o;const r=t[e(341)]?.[e(358)]();return r||e(368)})(o);(async()=>{const t=n,e=vt?await vt:void 0;vt=void 0,Dt("click",{tag:o[t(385)],label:r},o,e)})()},!0),addEventListener(t(425),e=>{const n=t;if(!Ct()&&e[n(394)]===n(360)){const t=e[n(392)];if(!(t instanceof HTMLElement))return;const o=t[n(385)];if(o===n(416)||"TEXTAREA"===o){const e=t instanceof HTMLInputElement?t[n(406)]:void 0,r=t.id||void 0;Dt(n(348),{tag:o,name:e??r},t)}else if(S(t)){const e=(t=>{const e=h;let n=t;for(;n&&n!==document[e(434)];){const t=n[e(450)]("contenteditable");if("true"===t||""===t||"plaintext-only"===t)return n;n=n[e(410)]}return null})(t)??t;if("newline"===e[n(439)][n(389)])return;const o=e[n(429)](n(417))?.toLowerCase(),r=e.id||void 0,i=e[n(429)](n(406))||e[n(429)](n(412))||r;Dt(n(348),{tag:n(428),role:o??n(352),name:i},e)}}},{capture:!0}),[t(427),t(371)][t(376)](e=>{window[t(434)](e,Pt)}),document[t(434)]("visibilitychange",Pt),window.addEventListener(t(424),(()=>{let e;return(...n)=>{const o=E;void 0!==e&&window[o(418)](e),e=window[o(438)](()=>{e=void 0,(()=>{const e=t;Ct()||Dt(e(424),{scrollX:window.scrollX,scrollY:window[e(400)]},document.body)})(...n)},250)}})(),{passive:!0}),window[t(362)]??={send(t,e){Tt()&&Dt(t,e,document.body)}})}function Ft(){const t=["number","setItem","328829rGpvPa","debug","undefined","function","1599280HGNBFA","[Intent SDK] ⚠️ Debug panel is enabled. This feature is NOT recommended for production use. ","intent:geo","610fEccbu","now","intent:debug","1118130pcZNtX","11334XGnbuq","3339tCfeAB","intent:data-sid-max-age","intent:data-ip","clientId","https://intent.callimacus.ai","intent:data-client-id","disabled","granted","isFinite","enabled","904684bZucEp","consent","sidMaxAgeSeconds","intent_sid","27700sUXzsR","121478IUsyCj","random","warn","It exposes internal SDK behavior and should only be used during development.","64nbSRMI","randomUUID"];return(Ft=()=>t)()}function Ut(t,e){const n=Kt;try{if(void 0===e)return;localStorage[n(151)](t,n(e?"intent:consent"===t?171:173:170))}catch{}}function Wt(t){Ut("intent:consent",t)}function Rt(t){Ut(Kt(158),t)}function Ht(t){Ut(Kt(161),t)}function Xt(t){}function Jt(t={}){const e=Kt;localStorage[e(151)](e(169),t[e(167)]??""),localStorage[e(151)](e(166),t.ip??""),localStorage[e(151)]("intent:data-base-url",t.baseUrl??e(168)),typeof t[e(141)]===e(150)&&localStorage.setItem(e(165),String(t[e(141)])),Ut("intent:consent",t[e(140)]),Ut(e(158),t.geo),Ut(e(161),t[e(153)]),t.consent&&(G(e(142))||V(typeof crypto!==e(154)&&typeof crypto[e(149)]===e(155)?crypto[e(149)]():Date[e(160)]()+"-"+Math[e(145)](),t[e(141)])),jt()}function qt(){return G(Kt(142))}function Gt(){Z()}function Vt(){K()}function Kt(t,e){return t-=139,Ft()[t]}function Yt(t){const e=Kt;Number[e(172)](t)&&localStorage[e(151)]("intent:data-sid-max-age",String(t));const n=G(e(142));n&&V(n,t)}(()=>{const t=Kt,e=Ft();for(;;)try{if(287027==-parseInt(t(152))/1+parseInt(t(139))/2+-parseInt(t(162))/3+-parseInt(t(156))/4+-parseInt(t(159))/5*(parseInt(t(163))/6)+-parseInt(t(144))/7*(-parseInt(t(148))/8)+-parseInt(t(164))/9*(-parseInt(t(143))/10))break;e.push(e.shift())}catch(t){e.push(e.shift())}})();export{Vt as clearIntentSessionId,Gt as ensureIntentSessionId,qt as getIntentSessionId,Jt as initIntent,Wt as setConsent,Ht as setDebug,Xt as setDebugPanel,Ut as setFlag,Rt as setGeo,Yt as setIntentSessionMaxAge};
|
|
4
|
+
import t from"html2canvas-pro";import e from"js-cookie";function n(){const t=["Platform: ","removeEventListener","brands","; DNT: ","Network: ","map","rttMs","85prrstp","rtt","push","floor","cookieEnabled","isFinite","startsWith","transferSize","CookiesEnabled: ","coarse","1320PJYLeX","Device geolocation: enabled","getItem","°, γ ","resource","Screen: ","onLine","version","timeZone","width","no SW","deviceorientation","n/a","max","entryType"," | ","TTFB ~","toString","Device geolocation: disabled","toFixed","setTimeout","innerHeight","Online: ","2221975ZljZbm","userAgentData","User agent: ","navigation","Languages: ","Viewport: ","height","6445090wuPnEL","number","connection","beta","isArray","unknown","availWidth","addEventListener","function","charging","some","(pointer: fine)","189NvlIAg","DateTimeFormat","downlinkMbps","not charging","type","join","duration"," ms","404096irjuoA","yes","maxTouchPoints","inferred","gamma","reclined","hardwareConcurrency"," cores","filter","UA brands: ","referrer","326155IyEDNO","level","Local time: ","devicePixelRatio","round","-bit)","Language: ","160744aeSdRV","matches","saveData","platform","resolvedOptions","SW-controlled","isSecureContext","padStart",", orientation ","getTimezoneOffset","browser API"," Mbps","getEntriesByType","controller","requestStart","upright","encodedBodySize","getBattery"," (UTC","TTFB","colorDepth","languages","length","intent:geo"," (β ",", maxTouchPoints ","Pointer/Touch: "," (mobile)","Referrer: ","find","language","downlink","responseStart","2252uFkJsv","abs","4908rnBxti","orientation","mobile","effectiveType"];return(n=()=>t)()}function o(t,e){return t-=267,n()[t]}async function r(){const t=o,e=(new(Intl[t(317)]))[t(346)]()[t(282)],n=(t=>{const e=o,n=t<=0?"+":"-",r=Math[e(376)](t);return""+n+String(Math[e(267)](r/60))[e(349)](2,"0")+":"+String(r%60)[e(349)](2,"0")})((new Date)[t(351)]()),r=[];r[t(390)](t(341)+navigator[t(372)]),navigator[t(363)]?.[t(364)]&&r[t(390)](t(301)+navigator[t(363)].join(", ")),r[t(390)](t(299)+navigator.userAgent);const i=function(){const t=o;if(e=navigator,!(o(298)in e)||void 0===e.userAgentData)return;var e;const n=navigator.userAgentData,r=Array[t(308)](n[t(383)])?n[t(383)][t(386)](e=>e.brand+" "+e[t(281)]).join(", "):void 0,i=n[t(345)]?""+n[t(345)]+(n[t(379)]?t(369):""):void 0;return[r&&t(333)+r,i&&t(381)+i][t(332)](Boolean).join(t(289))||void 0}();i&&r.push(i),r[t(390)]("Timezone: "+e+t(360)+n+")"),r[t(390)](t(337)+(new Date)[t(291)]());const a=window[t(338)]||1;r[t(390)](t(279)+screen[t(283)]+"x"+screen[t(303)]+" @"+a+"x (avail "+screen[t(310)]+"x"+screen.availHeight+", "+screen[t(362)]+t(340));const s=screen[t(378)]&&t(320)in screen[t(378)]?screen[t(378)][t(320)]:void 0;r[t(390)](t(302)+window.innerWidth+"x"+window[t(295)]+(s?t(350)+s:"")),r.push("CPU: "+navigator[t(330)]+t(331));const c=await async function(){const t=o,e=[];let n=t(352);if(r=navigator,o(306)in r&&void 0!==r.connection){const n=navigator[t(306)];n?.effectiveType&&e[t(390)](n[t(380)]),"number"==typeof n?.downlink&&e.push("~"+n[t(373)]+" Mbps"),typeof n?.[t(389)]===t(305)&&e[t(390)](n[t(389)]+t(323)),n?.[t(344)]&&e[t(390)](t(344))}else{const r=((t=20)=>{const e=o,n=performance[e(354)](e(300))[e(371)](t=>t[e(288)]===e(300)),r=n?Math[e(287)](0,n[e(374)]-n.requestStart):void 0,i=performance[e(354)]("resource")[e(332)](t=>t[e(288)]===e(278));let a=0,s=0;for(const n of i.slice(0,Math[e(287)](0,t))){const t=n[e(358)]>0?n.encodedBodySize:n[e(271)]>0?n[e(271)]:0,o=n[e(322)];t>0&&o>0&&Number[e(269)](o)&&(a+=t,s+=o)}const c=s>0?8*a/s:void 0;return{downlinkMbps:typeof c===e(305)?c/1e3:void 0,rttMs:r}})();typeof r[t(318)]===t(305)&&e[t(390)]("~"+r[t(318)][t(293)](1)+t(353)),"number"==typeof r.rttMs&&e[t(390)](t(290)+Math[t(339)](r[t(387)])+" ms"),n=t(327)}var r;const i=performance.getEntriesByType("navigation")[t(371)](e=>e[t(288)]===t(300));if(i){const n=Math[t(287)](0,i[t(374)]-i[t(356)]);!e[t(314)](e=>e[t(270)](t(361)))&&e[t(390)](t(290)+Math[t(339)](n)+" ms")}return e[t(364)]?t(385)+e[t(321)](", ")+" ("+n+")":void 0}();c&&r[t(390)](c),r[t(390)]((()=>{const t=o,e=typeof matchMedia===t(312)&&matchMedia("(pointer: coarse)")[t(343)],n=typeof matchMedia===t(312)&&matchMedia(t(315))[t(343)],r=e?t(273):n?"fine":t(309),i=navigator[t(326)];return t(368)+r+t(367)+i})());const d=await async function(){const t=o;if((t=>{const e=o;return e(359)in t&&"function"==typeof t[e(359)]})(navigator))try{const e=await navigator.getBattery(),n=Math[t(339)](100*e[t(336)]);return"Battery: "+[(Number[t(269)](n)?n:0)+"%",e[t(313)]?t(313):t(319)][t(321)](", ")}catch{}}();d&&r[t(390)](d),r[t(390)](t(272)+(navigator[t(268)]?"yes":"no")+t(384)+(navigator.doNotTrack??t(286))),r.push(t(296)+(navigator[t(280)]?t(325):"no")),document[t(334)]&&r[t(390)](t(370)+document[t(334)]),r[t(390)]((()=>{const t=o,e="function"==typeof matchMedia&&matchMedia("(display-mode: standalone)")[t(343)],n=Boolean(navigator.serviceWorker?.[t(355)]);return"PWA: "+t(n?347:284)+", display-mode standalone: "+(e?t(325):"no")})());const l=await async function(t=400){const e=o;if("DeviceOrientationEvent"in window&&window[e(348)])return new Promise(n=>{const r=e;let i=!1;const a=t=>{const e=o,r=typeof t.beta===e(305)?t[e(307)]:void 0,s=typeof t[e(328)]===e(305)?t[e(328)]:void 0;if(void 0===r||void 0===s)return;if(i)return;i=!0,window[e(382)](e(285),a);const c=((t,e)=>{const n=o,r=Math[n(376)](t),i=Math[n(376)](e);return r<15&&i<15?"flat":n(r>=60?357:329)})(r,s);n("Tilt: "+c+e(366)+Math.round(r)+e(277)+Math[e(339)](s)+"°)")};window[r(294)](()=>{const t=r;i||(i=!0,window[t(382)](t(285),a),n(void 0))},t),window[r(311)](r(285),a,{passive:!0})})}();l&&r[t(390)](l);const u="enabled"===localStorage[t(276)](t(365));return r[t(390)](t(u?275:292)),r[t(321)](" | ")}(()=>{const t=o,e=n();for(;;)try{if(222036==parseInt(t(335))/1+parseInt(t(324))/2+parseInt(t(274))/3*(parseInt(t(375))/4)+parseInt(t(388))/5*(-parseInt(t(377))/6)+-parseInt(t(297))/7+parseInt(t(342))/8*(parseInt(t(316))/9)+-parseInt(t(304))/10)break;e.push(e.shift())}catch(t){e.push(e.shift())}})();const i=s;(()=>{const t=s,e=p();for(;;)try{if(115887==parseInt(t(181))/1+parseInt(t(179))/2+-parseInt(t(191))/3+parseInt(t(192))/4+-parseInt(t(187))/5+parseInt(t(190))/6*(parseInt(t(188))/7)+-parseInt(t(185))/8)break;e.push(e.shift())}catch(t){e.push(e.shift())}})();const a=i(180);function s(t,e){return t-=179,p()[t]}const c="intent:geo",d=i(183),l="intent:debug-panel",u=i(182);function p(){const t=["20265MBDUJN","1204ufEejV","intent:data-ip","5730hNxEFj","619818XTjhws","407252TniNqG","269756raYfPV","intent:consent","218927cHbYOo","intent:data-client-id","intent:debug","https://intent.callimacus.ai","2346656hvVenu","intent:data-sid-max-age"];return(p=()=>t)()}const m=i(189),f="intent:data-base-url",g=i(186),h=i(184),v=E;function b(...t){const e=E;try{typeof localStorage!==e(349)&&"enabled"===localStorage.getItem(d)&&console[e(367)](...t)}catch{}}(()=>{const t=E,e=S();for(;;)try{if(774871==parseInt(t(363))/1+-parseInt(t(334))/2+parseInt(t(361))/3*(-parseInt(t(338))/4)+parseInt(t(344))/5*(parseInt(t(345))/6)+-parseInt(t(358))/7*(-parseInt(t(355))/8)+parseInt(t(336))/9*(-parseInt(t(372))/10)+parseInt(t(350))/11)break;e.push(e.shift())}catch(t){e.push(e.shift())}})();const y=Object.freeze(new Set(["textbox",v(360),v(352)])),w=["input","textarea",v(356),v(348),...[...y][v(369)](t=>v(370)+t+'"]')][v(346)](", ");function x(t){const e=v,n=t[e(362)];return n===e(357)||n===e(335)||n===e(342)}function I(t){const e=v;if(x(t))return!0;const n=t[e(341)]("contenteditable");if(""===n||n===e(339)||n===e(343))return!0;const o=t.getAttribute(e(332))?.[e(359)]();return!(!o||!y[e(340)](o))}function S(){const t=["5355162FVKsix","join","innerText","[contenteditable]","undefined","10635933mBfORG",">","searchbox","string","replace","5514872ZZGcYa","select","INPUT","7DkNuBf","toLowerCase","combobox","96879nmoHXI","tagName","645440HSAEDO","textContent","<","value","log","clearTimeout","map",'[role="',"body","15088420pliUEr","parentElement","role","'","400140tmEfAB","TEXTAREA","9RlZKnC","now","88HfPGyt","true","has","getAttribute","SELECT","plaintext-only","5SudsQE"];return(S=()=>t)()}function E(t,e){return t-=332,S()[t]}function k(t){const e=t[v(373)];if(e)return e;const{parentNode:n}=t;return n instanceof ShadowRoot&&n.host instanceof Element?n.host:void 0}function T(t){const e=v;return t[e(354)](/&/g,"&")[e(354)](/</g,e(365))[e(354)](/>/g,e(351))[e(354)](/"/g,""")[e(354)](/'/g,e(333))}const L=P;(()=>{const t=P,e=j();for(;;)try{if(564384==-parseInt(t(294))/1+parseInt(t(314))/2+-parseInt(t(351))/3+-parseInt(t(370))/4*(-parseInt(t(303))/5)+parseInt(t(357))/6+parseInt(t(358))/7*(parseInt(t(316))/8)+parseInt(t(383))/9)break;e.push(e.shift())}catch(t){e.push(e.shift())}})();const C="data-intent-redact",A=L(364),N=new Set(["name",L(340),"additional-name",L(283),L(377),L(300),L(321),L(360),L(272),"organization-title",L(329),"address-line1",L(288),"address-line3",L(347),L(279),L(366),L(386),L(371),L(331),L(382),L(348),L(330),L(323),"cc-family-name","cc-number",L(315),"cc-exp-month",L(275),L(355),L(392),L(381),L(376),L(274),L(350),L(361),L(388)]);function D(t){return"<"+(t=>{const e=L,n=(t.getAttribute?.(A)??"")[e(343)]();if(n)return n;const o=t[e(385)]?.(e(325))||"",r=I(t)?o[e(353)]()[e(343)]()[e(277)](/\s+/)[e(365)](Boolean):[];if(t[e(312)]===e(296)&&t.type===e(273))return e(390);for(const t of r){const n=M[e(322)](t);if(n)return n}const i=t[e(385)]?.(C)?.toLowerCase();return i===e(318)?e(289):e(334)})(t)+">"}const M=new Map([[L(359),L(298)],[L(340),L(345)],[L(283),"Last name"],[L(308),L(302)],[L(377),L(336)],[L(300),"Username"],[L(321),L(363)],[L(360),"Phone"],[L(329),L(352)],[L(297),"Address line 1"],[L(288),L(374)],[L(311),L(378)],[L(347),L(317)],[L(279),L(389)],["address-level3",L(299)],[L(386),L(291)],[L(382),L(278)],[L(371),L(368)],[L(331),L(306)],["cc-name","Cardholder name"],["cc-given-name",L(307)],[L(281),L(356)],["cc-additional-name",L(391)],["cc-number",L(310)],["cc-exp",L(342)],[L(284),L(367)],[L(275),L(301)],["cc-csc",L(332)],["cc-type",L(354)],[L(381),"Birthday"],[L(376),"Birth day"],["bday-month",L(346)],[L(350),L(337)],[L(272),L(280)],[L(338),"Job title"],[L(361),L(341)],[L(388),L(313)]]);function z(t){const e=L;return t[e(276)]("data-html2canvas-ignore")||"ignore"===t[e(385)](C)?.[e(353)]()}function P(t,e){return t-=271,j()[t]}const B=new Set;function U(t){const e=L,n=t[e(385)](C);if(null===n)return!1;const o=n[e(353)]();return o!==e(369)&&(""!==n&&"mask"!==o&&(t=>{const e=L;if(B[e(324)](t))return;B[e(271)](t);const n=JSON[e(380)](t),o=e(333),r=e(344)+n+e(373)+o+e(293);try{console[e(339)](r)}catch{}})(n),!0)}function O(t){const e=L;let n=t;for(;n&&n!==document[e(290)];){if(z(n))return!0;n=k(n)}return!1}function j(){const t=["clear","family-name","cc-exp-month","textContent","role","value","address-line2","Redacted","body","Neighborhood","push",'. Treating as "mask" to prevent data leaks.',"1084095rSmQXc","type","INPUT","address-line1","Name","District","username","Expiration year","Middle name","115AglxZi","shadowRoot","setAttribute","Country name","Cardholder first name","additional-name","searchbox","Card number","address-line3","tagName","WebAuthn","984138oCqCxu","cc-exp","56bLuiFe","State/Province","mask","pop","iframe","email","get","cc-additional-name","has","autocomplete","SELECT","TEXTAREA","datetime-local","street-address","cc-given-name","country-name","Security code",'"" or "mask" (redact), "ignore" (exclude from capture)',"Sensitive","month","Nickname","Birth year","organization-title","warn","given-name","Sex","Expiration date","trim","[intent] Unsupported data-intent-redact value ","First name","Birth month","address-level1","cc-name","includes","bday-year","1886178ZZrdhR","Street address","toLowerCase","Card type","cc-csc","Cardholder last name","2011362AEXIxA","676060raeisB","name","tel","sex","date","Email","data-intent-redact-label","filter","address-level3","Expiration month","Country code","ignore","59244xGGyXA","country","some",". Supported values are ","Address line 2","ownerDocument","bday-day","nickname","Address line 3","text","stringify","bday","postal-code","3898764JjAphz","week","getAttribute","address-level4","querySelectorAll","webauthn","City","Password","Cardholder middle name","cc-type","add","organization","password","bday-month","cc-exp-year","hasAttribute","split","Postal code","address-level2","Organization","cc-family-name"];return(j=()=>t)()}function R(t){return!(z(t)||!U(t)&&!(t=>{const e=L,n=t.tagName;if(n===e(296)){const n=t;if(n[e(295)]===e(273))return!0;if("search"===n.type)return!1;const o=n.getAttribute("role");if(o?.[e(353)]()===e(309))return!1;if((n[e(325)]||"").toLowerCase()[e(343)]()[e(277)](/\s+/)[e(365)](Boolean)[e(372)](t=>N[e(324)](t)))return!0}if((n===e(327)||n===e(326))&&(t[e(325)]||"")[e(353)]()[e(343)]().split(/\s+/)[e(365)](Boolean)[e(372)](t=>N.has(t)))return!0;if(I(t)&&!x(t)){const n=t.getAttribute(e(286))?.[e(353)]();if(n===e(309))return!1;if((t[e(385)]("autocomplete")||"")[e(353)]().trim()[e(277)](/\s+/)[e(365)](Boolean)[e(372)](t=>N[e(324)](t)))return!0}return!1})(t))}function H(t){const e=L;if(!O(t))if(x(t)){if(R(t)){if(t[e(312)]===e(296)){const n=t;[e(362),e(328),e(335),"time",e(384)][e(349)](n[e(295)])&&(n.type=e(379))}const n=D(t);t[e(287)]=n,t[e(305)](e(287),n)}}else I(t)?R(t)&&(t[e(285)]=D(t)):t[e(276)](C)&&U(t)&&(t[e(285)]=D(t))}function F(t,e){const n=L,o=[],r=[t];for(t instanceof Element&&t[n(304)]&&r[n(292)](t.shadowRoot);r.length>0;){const t=r[n(319)]()[n(387)]("*");for(const i of t)i.matches(e)&&o[n(292)](i),i[n(304)]&&r[n(292)](i[n(304)])}return o}function q(t,e=new Set){const n=L,o=t instanceof Document?t:t[n(375)];if(o){if(e.has(o))return;e[n(271)](o)}t instanceof Element&&H(t);for(const e of F(t,w))H(e);for(const e of F(t,"["+C+"]"))H(e);for(const o of F(t,n(320)))if("IFRAME"===o[n(312)])try{const t=o.contentDocument;t&&q(t,e)}catch{}}(()=>{const t=K,e=J();for(;;)try{if(319370==-parseInt(t(234))/1*(parseInt(t(243))/2)+parseInt(t(232))/3+parseInt(t(230))/4+parseInt(t(246))/5+-parseInt(t(245))/6+-parseInt(t(244))/7*(parseInt(t(236))/8)+parseInt(t(237))/9)break;e.push(e.shift())}catch(t){e.push(e.shift())}})();let W="";function G(){return W}function X(t){return e[K(240)](t)}function J(){const t=["868015gjoBDm","1540808SIPTSF","remove","769539cPNsQa","location","5831CmGOUN","granted","48336ArWHsY","4533804xfwUvR","intent_sid","isFinite","get","https:","number","214epsmcK","7LHMqKf","2218470BenDWj"];return(J=()=>t)()}function Z(t,n){const o=K,r=localStorage.getItem(g),i=null===r?void 0:Number(r),a=typeof n===o(242)&&Number[o(239)](n)?n:typeof i===o(242)&&Number[o(239)](i)?i:2592e3,s=window[o(233)].protocol===o(241);e.set(o(238),t,{expires:a/86400,path:"/",sameSite:"Lax",...s&&{secure:!0}})}function Y(){const t=K;e[t(231)](t(238),{path:"/"})}function K(t,e){return t-=230,J()[t]}function _(){const t=X(K(238));if(!(()=>{const t=K;return localStorage.getItem(a)===t(235)})())return t&&Y(),void(W="");t?W=t:(W=crypto.randomUUID(),Z(W))}(()=>{const t=rt,e=at();for(;;)try{if(806499==-parseInt(t(501))/1+parseInt(t(504))/2*(parseInt(t(488))/3)+-parseInt(t(487))/4+-parseInt(t(498))/5+parseInt(t(515))/6+-parseInt(t(505))/7*(parseInt(t(497))/8)+parseInt(t(484))/9*(parseInt(t(491))/10))break;e.push(e.shift())}catch(t){e.push(e.shift())}})();let V=!1,Q=!1,$=!1,tt=!1,et=!1;function nt(){return"enabled"===localStorage[rt(496)](c)}function ot(){V=!1,$=!1,et=!1}function rt(t,e){return t-=481,at()[t]}function it(){return!V&&nt()&&!tt&&et}function at(){const t=["addEventListener","visibilityState","getItem","152eSnoGE","634485wBqkvi","isFinite","UNKNOWN","306774Htomty","POSITION_UNAVAILABLE","hasFocus","7778ygHddv","542514jmvseO","pointerdown","number","now","code","speed","altitudeAccuracy","geoEnabled","hostname","coords","6123114YwVEtR","latitude","PERMISSION_DENIED","TIMEOUT","keydown","onLine","permissions","27pszZal","longitude","message","6441424dCgJDr","48GGwTlj","geolocation","altitude","10801070GxNfvq","heading","accuracy"];return(at=()=>t)()}const st=ct;function ct(t,e){return t-=110,pt()[t]}(()=>{const t=ct,e=pt();for(;;)try{if(959343==-parseInt(t(131))/1*(-parseInt(t(211))/2)+-parseInt(t(151))/3*(parseInt(t(155))/4)+parseInt(t(184))/5+-parseInt(t(113))/6*(-parseInt(t(115))/7)+-parseInt(t(193))/8*(parseInt(t(165))/9)+parseInt(t(132))/10+-parseInt(t(194))/11)break;e.push(e.shift())}catch(t){e.push(e.shift())}})();let dt,lt=[],ut=!1;function pt(){const t=[" event","flex","Escape","6817800rTDBLR","createElement","push","src","offsetHeight","classList","400px","top","now","8Ghupox","21000386hZewNi","#intent-debug-minimize","preventDefault","clientY","data-intent-redact",'</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">',"min","left",'\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\t\t\t<div style="margin-bottom: 8px;">\n\t\t\t\t\t<img src="',"enabled","click","html","BUTTON","props","clientX","auto","2428ygZZQP","img","Click anywhere or press ESC to close","\n\t\tcolor: var(--solomei-color-primary-foreground, white);\n\t\tfont-size: 13px;\n\t","6DqaUSI","width","11163019XQJEva","style","#intent-debug-count","timestamp","join","shift","innerHTML"," KB)</div>\n\t\t\t\t</div>\n\t\t\t","textContent","div","\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","key","✕ Close","keydown","round","map","1117voruxZ","7206440uuleqn","appendChild","cssText","#intent-debug-events","removeEventListener","randomUUID","mousemove",'\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">',"disabled","reverse","DOMContentLoaded","startsWith","display","body","#intent-debug-close","addEventListener","stopPropagation","readyState","</pre>\n\t\t\t\t</div>\n\t\t\t</details>\n\t\t</div>\n\t","2523zJlutE","random","contains","ignore","3764GedXUG","\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","#intent-debug-clear","remove","mousedown","undefined","max","getItem",'\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">',"data:image/","12375981jGJUJl","</pre>\n\t\t\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","none","200px","mouseup","length","</div>\n\t\t\t</div>\n\t\t\t","innerHeight","\n\t\tmargin-top: 20px;\n\t\tdisplay: flex;\n\t\tgap: 20px;\n\t\talign-items: center;\n\t",'\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',"intent-debug-fullscreen-modal","querySelector","button","target","firstElementChild"];return(pt=()=>t)()}function mt(){const t=ct;try{return localStorage[t(162)](l)===t(204)}catch{return!1}}function ft(){const t=ct;if(!dt)return;const e=dt[t(177)](t(135)),n=dt.querySelector(t(117));if(!e||!n)return;if(0===lt[t(171)])return e[t(121)]=t(202),void(n.textContent="0 events");const o=[...lt][t(141)]();e[t(121)]=o[t(130)](t=>(t=>{const e=ct,n=new Date(t[e(118)]).toLocaleTimeString(),o=t[e(110)]&&t[e(110)].length>0,r=o?Math[e(129)](.75*t[e(110)].length/1024):0,i=T(t.event),a=T(JSON.stringify(t[e(208)],null,2)),s=T(t[e(206)]),c=T(JSON.stringify(t.bbox,null,2));return'\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">'+i+e(199)+n+e(172)+(o?e(203)+t[e(110)]+'" \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 (~'+r+e(122):"")+'\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(206)]?e(163)+s+e(166):"")+e(139)+c+e(150)})(t))[t(119)](""),n.textContent=lt.length+t(181)+(1===lt.length?"":"s")}function gt(){const t=ct;if(dt)return void(dt[t(116)].display=t(182));const e=document[t(185)](t(124));e[t(121)]=ct(175),dt=e[t(180)],document[t(145)][t(133)](dt);const n=dt[t(177)](t(146)),o=dt[t(177)](t(195)),r=dt[t(177)](t(157));n?.addEventListener(t(205),()=>{!function(t){const e=ct;try{localStorage.setItem(l,e(t?204:140)),t?gt():(()=>{const t=ct;dt&&(dt[t(116)][t(144)]=t(168))})()}catch{}}(!1)}),o?.[t(147)](t(205),()=>{(()=>{const t=ct;if(!dt)return;const e=dt[t(177)]("#intent-debug-content"),n=dt[t(177)](t(195));e&&n&&(ut=!ut,ut?(e[t(116)].display="none",dt.style.width=t(169),n[t(123)]="+"):(e[t(116)][t(144)]=t(182),dt.style[t(114)]=t(190),n[t(123)]="−"))})()}),r?.addEventListener(t(205),()=>{lt=[],ft()}),(()=>{const t=ct;if(!dt)return;const e=dt.querySelector("#intent-debug-header");if(!e)return;let n=!1,o=0,r=0,i=0,a=0;e[t(147)](t(159),e=>{const o=t;if(e[o(179)].tagName===o(207))return;n=!0;const r=dt.getBoundingClientRect();i=e[o(209)]-r.left,a=e[o(197)]-r[o(191)]}),document.addEventListener(t(138),e=>{const s=t;if(!n||!dt)return;e[s(196)](),o=e[s(209)]-i,r=e[s(197)]-a;const c=window.innerWidth-dt.offsetWidth,d=window[s(173)]-dt[s(188)];o=Math[s(161)](0,Math[s(200)](o,c)),r=Math.max(0,Math[s(200)](r,d)),dt[s(116)][s(201)]=o+"px",dt[s(116)][s(191)]=r+"px",dt[s(116)].right=s(210)}),document.addEventListener(t(170),()=>{n=!1})})(),dt[t(147)](t(205),e=>{const n=t,o=e[n(179)];if(o[n(189)][n(153)]("intent-debug-screenshot")){const t=o;t[n(187)]&&t[n(187)][n(143)](n(164))&&(t=>{const e=ct,n=document[e(185)]("div");n.id=e(176),n.setAttribute(e(198),e(154)),n.style.cssText=e(156);const o=document[e(185)]("div");o[e(116)][e(134)]=e(125);const r=document[e(185)](e(110));r[e(187)]=t,r[e(116)][e(134)]=e(167);const i=document[e(185)]("div");i[e(116)][e(134)]=e(174);const a=document.createElement(e(178));a[e(123)]=e(127),a[e(116)].cssText="\n\t\tpadding: 12px 24px;\n\t\tbackground: var(--solomei-color-primary-button-background, #262626);\n\t\tcolor: var(--solomei-color-primary-button-color, white);\n\t\tborder: none;\n\t\tborder-radius: var(--solomei-radius-button, 20px);\n\t\tfont-size: 14px;\n\t\tfont-weight: var(--solomei-font-weight-semibold, 600);\n\t\tcursor: pointer;\n\t\tbox-shadow: var(--solomei-shadow-box, 0 2px 10px rgba(0, 0, 0, 0.15));\n\t";const s=document[e(185)]("div");s[e(123)]=e(111),s[e(116)].cssText=e(112),i[e(133)](a),i[e(133)](s),o[e(133)](r),o.appendChild(i),n[e(133)](o);const c=()=>{const t=e;n[t(158)](),document[t(136)](t(128),d)};n[e(147)]("click",c),a.addEventListener(e(205),t=>{t[e(148)](),c()}),r[e(147)](e(205),t=>{t[e(148)]()});const d=t=>{const n=e;t[n(126)]===n(183)&&c()};document[e(147)](e(128),d),document[e(145)].appendChild(n)})(t.src)}}),ft()}function ht(t,e){return t-=323,vt()[t]}function vt(){var t=["9VsmxpK","1009195kHGaJQ","507684JwTQsL","166615PIfPYE","608288jXitCp","Use the debug build variant: @solomei-ai/intent/debug or intent.debug.umd.min.js","107azNzUV","warn","6436xEdEGS","setDebugPanel","3125810dUGPYJ","8CoNrvR","2540643VYzPXU","[Intent SDK] Debug panel is not available in this build. ","18cqPKbx"];return(vt=()=>t)()}typeof window!==st(160)&&mt()&&("loading"===document[st(149)]?document[st(147)](st(142),()=>{gt()}):gt()),Symbol,(()=>{for(var t=ht,e=vt();;)try{if(201618==parseInt(t(329))/1*(-parseInt(t(331))/2)+-parseInt(t(325))/3+-parseInt(t(327))/4+parseInt(t(326))/5*(parseInt(t(337))/6)+-parseInt(t(335))/7*(-parseInt(t(334))/8)+parseInt(t(323))/9*(parseInt(t(333))/10)+parseInt(t(324))/11)break;e.push(e.shift())}catch(t){e.push(e.shift())}})();const bt=Ct;(()=>{const t=Ct,e=Tt();for(;;)try{if(456909==parseInt(t(389))/1*(parseInt(t(455))/2)+parseInt(t(374))/3*(-parseInt(t(378))/4)+-parseInt(t(379))/5+parseInt(t(380))/6*(-parseInt(t(439))/7)+parseInt(t(393))/8+parseInt(t(381))/9*(parseInt(t(358))/10)+parseInt(t(431))/11)break;e.push(e.shift())}catch(t){e.push(e.shift())}})();let yt,wt,xt=0,It=!1;const St=bt(382),Et=["button",bt(387),"a",bt(434),bt(375),bt(399),bt(426),bt(390)][bt(435)](",");function kt(){return _(),(()=>{const t=bt;return localStorage[t(452)](a)===t(383)})()&&Boolean(G())&&(()=>{const t=bt;return Boolean(localStorage[t(452)](u)?.trim().length)})()}function Tt(){const t=["addEventListener","setAttribute","from",'[role="link"]',"localhost","innerWidth","intent","input, textarea, select, [data-intent-redact]","14151500ysUWOn","right","toLowerCase",'input[type="submit"]',"join","bottom","stringify","toISOString","4837fwLIdI","target","click","visibilitychange","name","href","textContent","device","SELECT","tagName","isSecureContext","<no visible label>","outerHTML","getItem","page-blur","left","2ieRKUw","top","bbox","hidden","input-submit","key","[Timing] serialize: ","innerHTML","hasFocus","title","contenteditable","hasAttribute","POST","132740kwqUlS","lat","scrollX","[Timing] jpeg-encoding: ","context","attributes","number","lon","entries","html","closest","getAttribute","img","newline","body","[Timing] html2canvas-pro: ","9zbZYFP",'input[type="button"]',"scrollY","now","836756SBWuek","1669325kUQZrL","7698tPWOyz","387UFDtDb","__intent__sdk__initialized__","granted","aria-label","value","page-focus","a[href]","CONTENTEDITABLE","372598MZDrDy","[onclick]","getComputedStyle","cloneNode","600112bCjLMh","intentEnter","trim","innerHeight","focus","TEXTAREA",'[role="button"]',"x-sl-access-token","storage","/p.gif","dataset","pixel body fallback failed","omit","role","hostname","forEach","scroll","defineProperty","location","[Timing] capture-total: ","INPUT","application/json","toDataURL","pageview","height","load","fixed","data-intent-redact","toFixed","Enter"];return(Tt=()=>t)()}function Lt(){return!kt()||Q}function Ct(t,e){return t-=350,Tt()[t]}async function At(e){for(;wt;)await wt;return wt=(async()=>{const n=Ct;try{const o=performance[n(377)](),r=performance[n(377)](),i=(t=>{const e=bt;if(z(t))return"";const n=t[e(392)](!1);return Array[e(425)](t[e(363)])[e(408)](({name:t,value:e})=>{n.setAttribute(t,e)}),x(t)?x(n)&&(n.value=t[e(385)]):I(t)?n[e(352)]=t[e(352)]:n[e(445)]=t[e(445)],q(n),x(n)&&n[e(424)](e(385),n[e(385)]),n[e(451)]})(e),a=performance.now()-r;b(n(351)+a[n(421)](2)+"ms");const s=e.getBoundingClientRect(),c=performance[n(377)](),d={left:window[n(360)],top:window[n(376)],right:window[n(360)]+window.innerWidth,bottom:window.scrollY+window[n(396)]},l=await t(document[n(372)],{useCORS:!0,x:window[n(360)],y:window.scrollY,width:window[n(428)],height:window.innerHeight,scale:.6,logging:!1,onclone(t){q(t)},ignoreElements(t){const e=n;if(!(t instanceof Element))return!1;if(O(t))return!0;const o=t.getBoundingClientRect(),r={left:o[e(454)]+window.scrollX,top:o[e(456)]+window.scrollY,right:o[e(432)]+window[e(360)],bottom:o[e(436)]+window[e(376)]},i=100,a=r.bottom<d.top-i,s=r.top>d.bottom+i,c=r[e(432)]<d.left-i,l=r[e(454)]>d[e(432)]+i;if(!(c||l||a||s))return!1;const{position:u}=window[e(391)](t);let p;if(u===e(419)||"absolute"===u){const t=500;p=r[e(432)]<d[e(454)]-t||r[e(454)]>d[e(432)]+t||r[e(436)]<d.top-t||r.top>d[e(436)]+t}else p=s;return!!p&&!(t.tagName===e(413)||t.tagName===e(398)||t[e(448)]===e(447)||t[e(356)](e(420))||t.querySelector(e(430)))}}),u=performance.now()-c;b(n(373)+u[n(421)](2)+"ms");const p=performance.now(),m=l[n(415)]("image/jpeg",.8),f=performance[n(377)]()-p;b(n(361)+f[n(421)](2)+"ms");const g=performance[n(377)]()-o;return b(n(412)+g[n(421)](2)+"ms"),{html:i,bbox:{x:s.x,y:s.y,w:s.width,h:s[n(417)]},img:m,fullCanvas:l}}finally{wt=void 0}})(),wt}function Nt(){const t=bt,e=localStorage[t(452)](u),n={"Content-Type":t(414)};e&&(n[t(400)]=e);const o=G();return o&&(n["x-intent-sid"]=o),n}async function Dt(t,e,n,o){const r=bt;if(!kt())return;const i={...e,localTime:(new Date)[r(438)]()};I(n)&&(i[r(385)]=R(n)?D(n):(t=>{const e=v;if(x(t))return t[e(366)];const n=t[e(347)];return typeof n===e(353)?n:t[e(364)]??""})(n));let a="",s={x:0,y:0,w:0,h:0},c="";const d=!(t===r(409)||t===r(453)||t===r(386)),l=Date.now(),p=l-xt>=0;let m=o;const g=t===r(441)||t===r(459)||t===r(416);d&&(g&&!m||!m&&p)&&(m=await At(n),xt=l),m&&(a=m[r(367)],s=m[r(457)],c=m[r(370)]);const b=t===r(453)||t===r(386)||t===r(416),y={ts:Date[r(377)](),event:t,url:window.location[r(444)],props:i,html:b?"":a,bbox:s,img:c};await async function(t){const e=bt,n=(localStorage[e(452)](f)??h)+"/events",o=localStorage[e(452)](u)??void 0,r=JSON[e(437)]({...t,clientId:o});try{if((await fetch(n,{method:"POST",headers:Nt(),body:r,keepalive:!0,credentials:e(405)})).ok)return}catch{}try{await(async t=>{const e=bt,n=(localStorage[e(452)](f)??h)+e(402);if(!(await fetch(n,{method:e(357),headers:Nt(),body:JSON[e(437)](t),keepalive:!0,credentials:e(405),cache:"no-store"})).ok)throw new Error(e(404))})(t)}catch{}}(y)}async function Mt(t={}){const e=bt;if(!kt())return;const n="number"==typeof t[e(359)]&&typeof t[e(365)]===e(364);if(n&&V)return;if(!n&&It)return;const o=localStorage[e(452)](m),i={context:await r()};o&&(i.ip=o);for(const[n,o]of Object[e(366)](t))i[n]=o;await Dt(e(362),i,document.body,{html:"",bbox:{x:0,y:0,w:0,h:0},img:""}),!n&&(It=!0)}async function zt(){await(async(t,e)=>{const n=rt,o={canRequest:e(),geoEnabled:nt(),deviceGeoSent:V};if(!o.canRequest||!o[n(512)]||o.deviceGeoSent)return;if(!(n(489)in navigator))return;if(tt)return;tt=!0,Q=!0;const r={enableHighAccuracy:!1,maximumAge:3e5,timeout:2e4};Date[n(508)]();try{await(navigator[n(483)]?.query({name:n(489)}))}catch(t){}await new Promise(t=>{let e=!1;const o=async(n,o,r)=>{e||(e=!0,Number[rt(499)](n)&&Number.isFinite(o)&&(await(async(t,e,n)=>{const o=Ct;await Mt({lat:t,lon:e,source:o(446),...n})})(n,o,r),V=!0),tt=!1,Q=!1,et=!0,t())};navigator[n(489)].getCurrentPosition(t=>{const e=rt,n=t[e(514)];o(n[e(516)],n[e(485)],{accuracy:n[e(493)],altitude:typeof n[e(490)]===e(507)?n[e(490)]:void 0,altitudeAccuracy:typeof n[e(511)]===e(507)?n[e(511)]:void 0,heading:typeof n.heading===e(507)?n[e(492)]:void 0,speed:"number"==typeof n[e(510)]?n[e(510)]:void 0,timestamp:t.timestamp,visibility:document.visibilityState,focused:document[e(503)]()})},t=>{const e=rt,n=t?.[e(509)],r={error:{code:n,name:e(1===n?517:2===n?502:3===n?518:500),message:t?.[e(486)]??""},online:navigator[e(482)],visibility:document[e(495)],focused:document[e(503)](),secure:window.isSecureContext,proto:location.protocol,host:location[e(513)]};o(void 0,void 0,r)},r)})})(0,kt)}function Pt(){(t=>{const e=rt;if($||!nt()||V)return;$=!0;const n=()=>{const e=rt;window.removeEventListener(e(506),n,!0),window.removeEventListener(e(481),n,!0),t()};window[e(494)](e(506),n,!0),window[e(494)](e(481),n,!0)})(zt)}_();let Bt=!document[bt(458)]&&document[bt(353)](),Ut=document[bt(353)]();function Ot(){const t=bt;if(Lt())return;const e=!document.hidden&&document.hasFocus();e&&(Ut=!0),Ut||e?e!==Bt&&(Bt=e,Dt(e?t(386):"page-blur",{},document[t(372)])):Bt=e}function jt(){const t=bt;(()=>{const t=globalThis;return!t[St]&&(Object[bt(410)](t,St,{value:!0,configurable:!1,enumerable:!1,writable:!1}),!0)})()&&(window.addEventListener(t(418),()=>{const e=t;kt()&&(Mt(),(window[e(449)]||location[e(407)]===e(427))&&(nt()&&Pt(),window[e(423)](e(397),()=>{it()&&zt()}),document[e(423)](e(442),()=>{!document[e(458)]&&it()&&zt()})))}),window[t(423)](t(401),e=>{const n=t;e.key===a&&((()=>{const t=bt;return localStorage[t(452)](a)===t(383)})()?(It=!1,Mt(),nt()&&Pt()):(It=!1,ot())),e[n(350)]===c&&(nt()?Pt():ot())}),window.addEventListener(t(418),()=>{const e=t;kt()&&Dt(e(416),{url:window[e(411)][e(444)],title:document[e(354)],ref:document.referrer},document[e(372)])}),addEventListener("pointerdown",(()=>{let e=0;return(...n)=>{const o=Date[E(337)]();o-e>=50&&(e=o,(e=>{const n=t;if(Lt())return;const o=e.target instanceof Element?e[n(440)][n(368)](Et):null;o instanceof HTMLElement&&(yt=At(o))})(...n))}})(),{capture:!0,passive:!0}),addEventListener(t(441),async t=>{if(Lt())return;if(!(t.target instanceof Element))return;const e=t.target.closest(Et);if(!(e instanceof HTMLElement))return;const n=(t=>{const e=bt,n=t.getAttribute(e(384))?.[e(395)]();if(n)return n;const o=t[e(354)][e(395)]();if(o)return o;const r=t[e(445)]?.[e(395)]();return r||e(450)})(e);(async()=>{const t=Ct,o=yt?await yt:void 0;yt=void 0,Dt(t(441),{tag:e[t(448)],label:n},e,o)})()},!0),addEventListener("keydown",e=>{const n=t;if(!Lt()&&e[n(350)]===n(422)){const t=e.target;if(!(t instanceof HTMLElement))return;const o=t[n(448)];if(o===n(413)||"TEXTAREA"===o){const e=t instanceof HTMLInputElement?t[n(443)]:void 0,r=t.id||void 0;Dt(n(459),{tag:o,name:e??r},t)}else if(I(t)){const e=(t=>{const e=v;let n=t;for(;n&&n!==document[e(371)];){const t=n[e(341)]("contenteditable");if(t===e(339)||""===t||"plaintext-only"===t)return n;n=n[e(373)]}return null})(t)??t;if(e[n(403)][n(394)]===n(371))return;const o=e[n(369)](n(406))?.[n(433)](),r=e.id||void 0,i=e[n(369)](n(443))||e[n(369)](n(384))||r;Dt("input-submit",{tag:n(388),role:o??n(355),name:i},e)}}},{capture:!0}),[t(397),"blur"][t(408)](e=>{window[t(423)](e,Ot)}),document[t(423)](t(442),Ot),window[t(423)](t(409),(()=>{let e;return(...n)=>{void 0!==e&&window[E(368)](e),e=window.setTimeout(()=>{e=void 0,(()=>{const e=t;Lt()||Dt(e(409),{scrollX:window[e(360)],scrollY:window.scrollY},document.body)})(...n)},250)}})(),{passive:!0}),window[t(429)]??={send(e,n){const o=t;kt()&&Dt(e,n,document[o(372)])}})}function Rt(){const t=["enabled","27184xMPCIb","intent:data-client-id","intent_sid","granted","setItem","2646peHqIx","consent","https://intent.callimacus.ai","disabled","number","debugPanel","717738hzlAsN","8233iluUgy","4yaOjoK","undefined","3028248LrqWth","1221913DbPCpo","290yXrFXj","geo","3365620xmtTrg","intent:debug","It exposes internal SDK behavior and should only be used during development.","isFinite","now","debug","function","clientId","sidMaxAgeSeconds","intent:consent","[Intent SDK] ⚠️ Debug panel is enabled. This feature is NOT recommended for production use. ","206cOIWSo","warn","1894269zLVZqd","randomUUID","intent:data-base-url","intent:data-ip","intent:data-sid-max-age"];return(Rt=()=>t)()}function Ht(t,e){const n=Wt;try{if(void 0===e)return;localStorage[n(255)](t,e?t===n(241)?n(254):n(250):n(259))}catch{}}function Ft(t){Ht(Wt(241),t)}function qt(t){Ht("intent:geo",t)}function Wt(t,e){return t-=229,Rt()[t]}function Gt(t){Ht(Wt(233),t)}function Xt(t){}function Jt(t={}){const e=Wt;localStorage[e(255)](e(252),t[e(239)]??""),localStorage[e(255)](e(248),t.ip??""),localStorage[e(255)](e(247),t.baseUrl??e(258)),typeof t[e(240)]===e(260)&&localStorage[e(255)](e(249),String(t[e(240)])),Ht(e(241),t[e(257)]),Ht("intent:geo",t[e(231)]),Ht(e(233),t[e(237)]),void 0!==t[e(261)]&&e(261),t[e(257)]&&(X("intent_sid")||Z(typeof crypto!==e(265)&&typeof crypto.randomUUID===e(238)?crypto[e(246)]():Date[e(236)]()+"-"+Math.random(),t[e(240)])),jt()}function Zt(){return X(Wt(253))}function Yt(){_()}function Kt(){Y()}function _t(t){const e=Wt;Number[e(235)](t)&&localStorage[e(255)](e(249),String(t));const n=X("intent_sid");n&&Z(n,t)}(()=>{const t=Wt,e=Rt();for(;;)try{if(537393==parseInt(t(263))/1*(parseInt(t(243))/2)+parseInt(t(245))/3*(parseInt(t(264))/4)+parseInt(t(232))/5+parseInt(t(266))/6+parseInt(t(262))/7+-parseInt(t(251))/8*(-parseInt(t(256))/9)+parseInt(t(230))/10*(-parseInt(t(229))/11))break;e.push(e.shift())}catch(t){e.push(e.shift())}})();export{Kt as clearIntentSessionId,Yt as ensureIntentSessionId,Zt as getIntentSessionId,Jt as initIntent,Ft as setConsent,Gt as setDebug,Xt as setDebugPanel,qt as setGeo,_t as setIntentSessionMaxAge};
|