@akropolys/kiku 2.0.0 → 2.1.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 +64 -64
- package/dist/chunk-RWGHGIF7.mjs +3 -0
- package/dist/chunk-RWGHGIF7.mjs.map +1 -0
- package/dist/index.d.mts +3 -139
- package/dist/index.d.ts +3 -139
- package/dist/index.js +7 -9
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +1 -39
- package/dist/index.mjs.map +1 -1
- package/dist/lazy-ZZTTWN3U.mjs +39 -0
- package/dist/lazy-ZZTTWN3U.mjs.map +1 -0
- package/dist/styles.css +1 -1
- package/dist/styles.css.map +1 -1
- package/package.json +6 -8
- package/dist/kiku.iife.global.js +0 -112
- package/dist/kiku.iife.global.js.map +0 -1
- package/dist/kiku.iife.js +0 -112
- package/dist/kiku.iife.js.map +0 -1
- package/dist/shopify.global.js +0 -112
- package/dist/shopify.global.js.map +0 -1
- package/dist/shopify.js +0 -112
- package/dist/shopify.js.map +0 -1
- package/shopify/README.md +0 -71
- package/shopify/blocks/kiku-button.liquid +0 -121
- package/shopify/snippets/kiku-embed.liquid +0 -45
package/dist/index.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
'use client';
|
|
2
|
-
"use strict";var Tc=Object.create;var Pa=Object.defineProperty;var zc=Object.getOwnPropertyDescriptor;var Rc=Object.getOwnPropertyNames;var Pc=Object.getPrototypeOf,Ac=Object.prototype.hasOwnProperty;var Lc=(e,t)=>{for(var r in t)Pa(e,r,{get:t[r],enumerable:!0})},So=(e,t,r,a)=>{if(t&&typeof t=="object"||typeof t=="function")for(let n of Rc(t))!Ac.call(e,n)&&n!==r&&Pa(e,n,{get:()=>t[n],enumerable:!(a=zc(t,n))||a.enumerable});return e};var Ft=(e,t,r)=>(r=e!=null?Tc(Pc(e)):{},So(t||!e||!e.__esModule?Pa(r,"default",{value:e,enumerable:!0}):r,e)),Ec=e=>So(Pa({},"__esModule",{value:!0}),e);var xp={};Lc(xp,{KikuButton:()=>tn,ScoutCharacter:()=>Pt,ScoutRail:()=>fr,SearchBar:()=>To,Sparkle:()=>Es,VisualSearch:()=>Ds,initKiku:()=>oo,normalizeShopifyProduct:()=>an,shopifyAddToCart:()=>ao,shopifyGetCart:()=>no});module.exports=Ec(xp);var Wt=require("react"),Aa=require("@akropolys/sdk");function Co(e){var t,r,a="";if(typeof e=="string"||typeof e=="number")a+=e;else if(typeof e=="object")if(Array.isArray(e)){var n=e.length;for(t=0;t<n;t++)e[t]&&(r=Co(e[t]))&&(a&&(a+=" "),a+=r)}else for(r in e)e[r]&&(a&&(a+=" "),a+=r);return a}function Mo(){for(var e,t,r=0,a="",n=arguments.length;r<n;r++)(e=arguments[r])&&(t=Co(e))&&(a&&(a+=" "),a+=t);return a}function ee(...e){return Mo(e)}var we=require("react/jsx-runtime"),No=()=>(0,we.jsxs)("svg",{width:"15",height:"15",viewBox:"0 0 20 20",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",children:[(0,we.jsx)("circle",{cx:"8.5",cy:"8.5",r:"5.5"}),(0,we.jsx)("line",{x1:"13",y1:"13",x2:"18",y2:"18"})]});function To({placeholder:e="Search products\u2026",limit:t=10,debounceMs:r=150,onSelect:a,className:n,inputClassName:o,dropdownClassName:c,renderResult:i,theme:s,classNames:l={}}){let[u,d]=(0,Wt.useState)(""),[h,p]=(0,Wt.useState)(!1),{results:k,loading:f,search:w,clear:z}=(0,Aa.useSearch)({debounceMs:r}),L=(0,Aa.useAkropolysContext)(),$=(0,Wt.useRef)(null),m=(0,Wt.useRef)(!1);(0,Wt.useEffect)(()=>{if(m.current){m.current=!1;return}if(!u.trim()){z(),p(!1);return}p(!0),w(u,t)},[u]),(0,Wt.useEffect)(()=>{let W=G=>{$.current&&!$.current.contains(G.target)&&p(!1)};return document.addEventListener("mousedown",W),()=>document.removeEventListener("mousedown",W)},[]);let S=W=>{u.trim()&&L.api.searchVector(u,1,void 0,!0).catch(()=>{}),m.current=!0,p(!1),d(W.entity.title??W.entity.name??""),a?.(W)},F=()=>{u.trim()&&(L.api.searchVector(u,1,void 0,!0).catch(()=>{}),k.length>0&&S(k[0]))},v=h&&u.trim().length>0,J={...s?.primaryColor&&{"--hsk-primary":s.primaryColor},...s?.backgroundColor&&{"--hsk-bg":s.backgroundColor},...s?.textColor&&{"--hsk-text":s.textColor},...s?.fontFamily&&{"--hsk-font":s.fontFamily},...s?.borderRadius&&{"--hsk-border-radius":s.borderRadius}};return(0,we.jsxs)("div",{className:ee("hsk-sb-wrap",l.root,n),ref:$,style:J,children:[(0,we.jsx)("span",{className:"hsk-sb-icon",children:(0,we.jsx)(No,{})}),(0,we.jsx)("input",{className:ee("hsk-sb-input",l.input,o),type:"text",value:u,placeholder:e,onChange:W=>d(W.target.value),onFocus:()=>k.length>0&&u.trim()&&p(!0),onKeyDown:W=>{W.key==="Enter"&&F()},autoComplete:"off",spellCheck:!1}),v&&(0,we.jsxs)("div",{className:ee("hsk-sb-drop",l.dropdown,c),style:{position:"absolute"},children:[f&&(0,we.jsx)("div",{className:"hsk-sb-loading-bar"}),f&&k.length===0?(0,we.jsxs)(we.Fragment,{children:[(0,we.jsxs)("div",{className:"hsk-sb-skeleton-row",children:[(0,we.jsx)("span",{className:"hsk-sb-skeleton-icon"}),(0,we.jsxs)("div",{className:"hsk-sb-row-body",children:[(0,we.jsx)("div",{className:"hsk-sb-skeleton-text1"}),(0,we.jsx)("div",{className:"hsk-sb-skeleton-text2"})]})]}),(0,we.jsxs)("div",{className:"hsk-sb-skeleton-row",children:[(0,we.jsx)("span",{className:"hsk-sb-skeleton-icon"}),(0,we.jsxs)("div",{className:"hsk-sb-row-body",children:[(0,we.jsx)("div",{className:"hsk-sb-skeleton-text1",style:{width:"45%"}}),(0,we.jsx)("div",{className:"hsk-sb-skeleton-text2",style:{width:"25%"}})]})]})]}):(0,we.jsxs)(we.Fragment,{children:[k.length===0&&!f&&(0,we.jsxs)("div",{className:"hsk-sb-empty",children:["No results for \u201C",u,"\u201D"]}),k.map((W,G)=>{if(i)return(0,we.jsx)("div",{onClick:()=>S(W),className:"hsk-sb-fade",style:{animationDelay:`${G*18}ms`},children:i(W)},W.id);let E=W.entity.image??W.entity.thumbnail??W.entity.images?.[0];return(0,we.jsxs)("div",{className:ee("hsk-sb-row hsk-sb-fade",l.row),style:{animationDelay:`${G*18}ms`},onClick:()=>S(W),children:[(0,we.jsx)("span",{className:"hsk-sb-row-thumb",children:E?(0,we.jsx)("img",{src:E,alt:"",loading:"lazy",onError:j=>{j.currentTarget.style.display="none"}}):(0,we.jsx)(No,{})}),(0,we.jsxs)("div",{className:"hsk-sb-row-body",children:[(0,we.jsx)("div",{className:"hsk-sb-row-title",children:W.entity.title??W.entity.name}),(W.entity.category||W.entity.brand)&&(0,we.jsx)("div",{className:"hsk-sb-row-sub",children:W.entity.category??W.entity.brand})]})]},W.id)})]})]})]})}var Yt=require("react"),zs=require("react-dom");var Ro="hsk-sounds",Re=null,er=null;function La(){try{return localStorage.getItem(Ro)!=="off"}catch{return!0}}function Po(e){try{localStorage.setItem(Ro,e?"on":"off")}catch{}e&&Ar()}function Ar(){if(typeof window>"u")return;try{let t=navigator.audioSession;t&&t.type!=="playback"&&(t.type="playback")}catch{}if(Re){Re.state==="suspended"&&Re.resume().catch(()=>{});return}let e=window.AudioContext||window.webkitAudioContext;if(e)try{Re=new e({latencyHint:"interactive"}),er=Re.createGain(),er.gain.value=.28,er.connect(Re.destination);let t=Re.createBuffer(1,1,Re.sampleRate),r=Re.createBufferSource();r.buffer=t,r.connect(Re.destination),r.start(0),Re.resume().catch(()=>{})}catch{Re=null}}function dr(e,t,r,a,n){if(!Re||!er)return;let o=Re.createOscillator();o.type="sine",o.frequency.setValueAtTime(t,e),o.frequency.exponentialRampToValueAtTime(Math.max(40,t*r),e+a);let c=Re.createBiquadFilter();c.type="lowpass",c.Q.value=.9,c.frequency.setValueAtTime(Math.min(18e3,t*7),e),c.frequency.exponentialRampToValueAtTime(Math.max(80,t*1.5),e+a);let i=Re.createGain();i.gain.setValueAtTime(1e-4,e),i.gain.exponentialRampToValueAtTime(n,e+.006),i.gain.exponentialRampToValueAtTime(1e-4,e+a),o.connect(c),c.connect(i),i.connect(er),o.start(e),o.stop(e+a+.02)}function Ic(e,t){if(!Re||!er)return;let r=Math.floor(Re.sampleRate*.03),a=Re.createBuffer(1,r,Re.sampleRate),n=a.getChannelData(0);for(let s=0;s<r;s++)n[s]=(Math.random()*2-1)*Math.pow(1-s/r,3);let o=Re.createBufferSource();o.buffer=a;let c=Re.createBiquadFilter();c.type="bandpass",c.frequency.value=2600,c.Q.value=5;let i=Re.createGain();i.gain.value=t,o.connect(c),c.connect(i),i.connect(er),o.start(e)}var zo=[0,3,5,7,10],Dc=392;function $c(e){let t=5381;for(let n=0;n<e.length;n++)t=(t<<5)+t+e.charCodeAt(n)>>>0;let r=zo[t%zo.length],a=(t>>3)%2;return Dc*Math.pow(2,r/12+a)}function Ao(){return La()?Re?Re.state:"unsupported":"off"}function zt(e,t,r=!1){if(!r&&!La()||(Ar(),!Re||!er||Re.state==="closed"))return;Re.state==="suspended"&&Re.resume().catch(()=>{});let a=Re.currentTime+.01;switch(e){case"reply":dr(a,440,.94,.13,.5),dr(a+.09,660,.94,.16,.42);break;case"scout":{let n=$c(t||"scout");dr(a,n,.92,.15,.45),dr(a+.075,n*1.5,.93,.17,.32);break}case"interrupt":dr(a,520,.62,.17,.4);break;case"send":dr(a,300,1.16,.1,.22);break;case"pin":Ic(a,.35),dr(a+.02,880,.97,.07,.22);break}}var Gr=`@property --hsk-chat-bg{syntax:'<color>';inherits:true;initial-value:#0a0a0a}@property --hsk-chat-text{syntax:'<color>';inherits:true;initial-value:#f0efed}@property --hsk-chat-muted{syntax:'<color>';inherits:true;initial-value:#888888}@property --hsk-chat-divide{syntax:'<color>';inherits:true;initial-value:rgba(255,255,255,.08)}@property --hsk-chat-input-bg{syntax:'<color>';inherits:true;initial-value:#191919}@property --hsk-chat-source-bg{syntax:'<color>';inherits:true;initial-value:rgba(255,255,255,.04)}@property --hsk-fade-bg{syntax:'<color>';inherits:true;initial-value:#0a0a0a}@property --hsk-surface-1{syntax:'<color>';inherits:true;initial-value:rgba(255,255,255,.06)}@property --hsk-surface-2{syntax:'<color>';inherits:true;initial-value:#1f1f22}@property --hsk-bubble-bg{syntax:'<color>';inherits:true;initial-value:#1f1f22}@property --hsk-think-text{syntax:'<color>';inherits:true;initial-value:#a6a6a6}@property --hsk-placeholder{syntax:'<color>';inherits:true;initial-value:#555555}@property --hsk-grid-bg{syntax:'<color>';inherits:true;initial-value:#1a1a1c}@property --hsk-active-bg{syntax:'<color>';inherits:true;initial-value:#f0efed}@property --hsk-on-active{syntax:'<color>';inherits:true;initial-value:#0a0a0a}@property --hsk-src-title{syntax:'<color>';inherits:true;initial-value:#f9fafb}@property --hsk-src-desc{syntax:'<color>';inherits:true;initial-value:#9ca3af}@property --hsk-price-bg{syntax:'<color>';inherits:true;initial-value:rgba(255,255,255,.08)}@property --hsk-price-text{syntax:'<color>';inherits:true;initial-value:#ff7a45}@property --hsk-sheet-bg{syntax:'<color>';inherits:true;initial-value:#1f1f22}@property --hsk-primary{syntax:'<color>';inherits:true;initial-value:#ff6a33}:host,:root{--hsk-border-radius:0;--hsk-brand-green:#2D7A4B;--hsk-font:"Geist","Inter",-apple-system,BlinkMacSystemFont,"SF Pro Text","SF Pro Display","Segoe UI",Roboto,Helvetica,Arial,sans-serif;--hsk-default-font-size:15px}.hsk-cb-btn,.hsk-cb-close,.hsk-cb-topbar-btn,.hsk-cb-chip,.hsk-cb-source,.hsk-cb-sources-next,.hsk-action-pill,.hsk-chat-send,.hsk-chat-reset,.hsk-close-btn,.hsk-cb-overlay{--hsk-font-size:16px;touch-action:manipulation;-webkit-tap-highlight-color:transparent;font-family:var(--hsk-font)}.hsk-cb-overlay{transition:--hsk-chat-bg .45s cubic-bezier(.16,1,.3,1),--hsk-chat-text .45s cubic-bezier(.16,1,.3,1),--hsk-chat-muted .45s cubic-bezier(.16,1,.3,1),--hsk-chat-divide .45s cubic-bezier(.16,1,.3,1),--hsk-chat-input-bg .45s cubic-bezier(.16,1,.3,1),--hsk-surface-1 .45s cubic-bezier(.16,1,.3,1),--hsk-surface-2 .45s cubic-bezier(.16,1,.3,1),--hsk-bubble-bg .45s cubic-bezier(.16,1,.3,1),--hsk-primary .45s cubic-bezier(.16,1,.3,1),--hsk-grid-bg .45s cubic-bezier(.16,1,.3,1),--hsk-active-bg .45s cubic-bezier(.16,1,.3,1),--hsk-on-active .45s cubic-bezier(.16,1,.3,1),--hsk-src-title .45s cubic-bezier(.16,1,.3,1),--hsk-src-desc .45s cubic-bezier(.16,1,.3,1),--hsk-price-bg .45s cubic-bezier(.16,1,.3,1),--hsk-price-text .45s cubic-bezier(.16,1,.3,1),--hsk-sheet-bg .45s cubic-bezier(.16,1,.3,1),background-color .45s cubic-bezier(.16,1,.3,1),border-color .45s cubic-bezier(.16,1,.3,1),color .45s cubic-bezier(.16,1,.3,1),fill .45s cubic-bezier(.16,1,.3,1),stroke .45s cubic-bezier(.16,1,.3,1),box-shadow .45s cubic-bezier(.16,1,.3,1)}.hsk-kiku-avatar,.hsk-kiku-avatar *{transition:none}@media (prefers-reduced-motion:reduce){.hsk-cb-overlay,.hsk-cb-overlay *,.hsk-cb-overlay *::before,.hsk-cb-overlay *::after{transition:none}}.hsk-cb-overlay button,.hsk-cb-overlay [role="button"],.hsk-cb-overlay input,.hsk-cb-overlay textarea,.hsk-cb-overlay select,.hsk-chat button,.hsk-chat [role="button"],.hsk-chat input,.hsk-chat textarea,.hsk-chat select,.hsk-cb-btn,.hsk-search button,.hsk-search [role="button"],.hsk-search input,.hsk-search textarea,.hsk-search select{touch-action:manipulation;-webkit-tap-highlight-color:transparent;font-family:var(--hsk-font)}:host,:root,.hsk-cb-btn,.hsk-cb-overlay,.hsk-chat-widget{--hsk-marble-1:color-mix(in srgb,var(--hsk-primary,#ff6a33) 12%,#fffaf4);--hsk-marble-2:color-mix(in srgb,var(--hsk-primary,#ff6a33) 30%,#fdf0e4);--hsk-marble-3:color-mix(in srgb,var(--hsk-primary,#ff6a33) 62%,#e8cbb0);--hsk-marble-4:color-mix(in srgb,var(--hsk-primary,#ff6a33) 85%,#6d3a1c);--hsk-marble-sheen:.5}@media (prefers-color-scheme:dark){:host,:root,.hsk-cb-btn,.hsk-cb-overlay,.hsk-chat-widget{--hsk-marble-1:#FFFDF6;--hsk-marble-2:#FBF3E2;--hsk-marble-3:color-mix(in srgb,var(--hsk-primary,#ff6a33) 20%,#EDDFC4);--hsk-marble-4:color-mix(in srgb,var(--hsk-primary,#ff6a33) 42%,#D8C39C);--hsk-marble-sheen:.9}}.hsk-chat-widget{--hsk-bg:var(--chat-bg-color,#ffffff);--hsk-text:var(--chat-text-color,#1f1f1f);--hsk-primary:var(--chat-primary-color,#ff6a33);--hsk-font:var(--chat-font-family,-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,'Helvetica Neue',Arial,sans-serif);--hsk-font-size:var(--chat-font-size,16px);display:flex;flex-direction:column;height:100%;min-height:320px;font-family:var(--hsk-font);letter-spacing:normal;word-spacing:normal;text-transform:none;background:var(--hsk-bg);border:1px solid #f1f3f4;border-radius:var(--hsk-border-radius,0);overflow:hidden}@media (prefers-color-scheme:dark){.hsk-chat-widget{--hsk-bg:var(--chat-bg-color,#0a0a0a);--hsk-text:var(--chat-text-color,#e8eaed);border-color:#202124}}.hsk-chat-header{display:flex;align-items:center;gap:10px;padding:14px 16px;border-bottom:1px solid #f1f3f4;background:var(--hsk-bg);flex-shrink:0}@media (prefers-color-scheme:dark){.hsk-chat-header{border-bottom-color:#202124}}.hsk-chat-header-icon{color:var(--hsk-primary);display:flex;align-items:center}.hsk-chat-title{font-size:14px;font-weight:600;color:var(--hsk-text)}.hsk-chat-badge{font-size:10px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:var(--hsk-primary);background:rgba(255,106,51,.09);border:1px solid rgba(255,106,51,.18);padding:2px 8px;border-radius:var(--hsk-border-radius,0)}.hsk-chat-messages{flex:1;overflow-y:auto;padding:16px;display:flex;flex-direction:column;gap:12px;overscroll-behavior:contain}.hsk-chat-empty{display:flex;flex-direction:column;align-items:center;justify-content:center;height:100%;gap:8px;color:#555;font-size:13px;text-align:center;padding:24px}.hsk-chat-empty-icon{font-size:28px;margin-bottom:4px;color:var(--hsk-primary);display:flex;align-items:center;justify-content:center}.hsk-chat-empty-suggestions{font-size:12px;color:#666;margin-top:4px}.hsk-msg-row{display:flex;gap:8px;align-items:flex-start}.hsk-msg-row.user{flex-direction:row-reverse}.hsk-msg-avatar{width:28px;height:28px;border-radius:var(--hsk-border-radius,0);flex-shrink:0;display:flex;align-items:center;justify-content:center;font-size:13px;font-weight:700}.hsk-msg-avatar.ai{background:rgba(255,106,51,.12);border:1px solid rgba(255,106,51,.25);color:var(--hsk-primary);display:flex;align-items:center;justify-content:center}.hsk-msg-avatar.user{background:#f1f3f4;color:#5f6368}@media (prefers-color-scheme:dark){.hsk-msg-avatar.user{background:#202124;color:#888}}.hsk-msg-bubble{max-width:78%;padding:10px 14px;border-radius:var(--hsk-border-radius,0);font-size:var(--hsk-font-size,13px);line-height:1.6}.hsk-msg-bubble.ai{background:var(--hsk-bg);border:1px solid #f1f3f4;color:var(--hsk-text)}@media (prefers-color-scheme:dark){.hsk-msg-bubble.ai{border-color:#202124}}.hsk-msg-bubble.user{background:var(--hsk-primary);color:#fff}.hsk-streaming-cursor{display:inline-block;width:6px;height:1.1em;margin-inline-start:3px;vertical-align:-2px;background-color:var(--hsk-primary);animation:hsk-cursor-blink .9s infinite}@keyframes hsk-cursor-blink{0%,100%{opacity:1}50%{opacity:0}}.hsk-status-live{display:flex;align-items:center;gap:8px;font-size:12px;color:#666;padding:4px 0 8px 0;font-weight:500}.hsk-status-dot{width:8px;height:8px;border-radius:50%;background-color:var(--hsk-primary);animation:hsk-pulse 1.4s infinite ease-in-out}@keyframes hsk-pulse{0%,100%{transform:scale(.8);opacity:.5}50%{transform:scale(1.2);opacity:1}}.hsk-thinking-details{margin-bottom:10px;padding:8px 12px;background:rgba(0,0,0,.03);border:1px solid rgba(0,0,0,.06);border-radius:8px;font-size:12px}.hsk-thinking-summary{cursor:pointer;font-weight:600;color:#666;user-select:none}.hsk-thinking-text{margin-top:8px;white-space:pre-wrap;color:#555;font-family:monospace;font-size:11px;line-height:1.4;max-height:200px;overflow-y:auto}.hsk-sources-container{margin-inline-start:36px}.hsk-sources{margin-top:10px;display:flex;flex-direction:column;gap:6px}.hsk-source-card{display:flex;align-items:center;gap:10px;padding:8px 10px;background:#f8f9fa;border:1px solid #f1f3f4;border-radius:var(--hsk-border-radius,0);cursor:pointer;transition:border-color .15s}@media (prefers-color-scheme:dark){.hsk-source-card{background:#1a1a1b;border-color:#202124}}.hsk-source-card:hover{border-color:rgba(255,106,51,.37)}.hsk-source-img{width:36px;height:36px;object-fit:cover;border-radius:var(--hsk-border-radius,0);background:#fff}.hsk-source-name{font-size:12px;font-weight:500;color:var(--hsk-text);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.hsk-source-price{font-size:11px;color:var(--hsk-primary);font-weight:700;margin-top:2px}.hsk-typing{display:flex;gap:4px;align-items:center;padding:10px 14px;background:var(--hsk-bg);border:1px solid #f1f3f4;border-radius:var(--hsk-border-radius,0);width:fit-content}@media (prefers-color-scheme:dark){.hsk-typing{border-color:#202124}}.hsk-typing-dot{width:6px;height:6px;background:var(--hsk-primary);border-radius:50%;animation:hsk-chat-bounce 1.2s infinite}.hsk-typing-dot:nth-child(2){animation-delay:.2s}.hsk-typing-dot:nth-child(3){animation-delay:.4s}@keyframes hsk-chat-bounce{0%,100%{opacity:.3;transform:translateY(0)}50%{opacity:1;transform:translateY(-4px)}}.hsk-pending{display:inline-flex;align-items:center;gap:10px;padding:10px 14px;background:var(--hsk-bg);border:1px solid #f1f3f4;border-radius:var(--hsk-border-radius,0);position:relative}@media (prefers-color-scheme:dark){.hsk-pending{border-color:#202124}}.hsk-pending-glyph{width:18px;height:18px;position:relative;display:inline-flex;align-items:center;justify-content:center}.hsk-pending-ring{width:18px;height:18px;border-radius:50%;border:2px solid rgba(255,106,51,.25);border-top-color:var(--hsk-primary);animation:hsk-pending-spin 1.1s linear infinite}.hsk-pending-dot{position:absolute;width:6px;height:6px;border-radius:50%;background:var(--hsk-primary);box-shadow:0 0 8px rgba(255,106,51,.45);animation:hsk-pending-pulse 1.4s ease-in-out infinite}.hsk-pending-text{position:relative;min-width:140px;height:16px;font-size:12px;color:var(--hsk-text);letter-spacing:.01em}.hsk-pending-step{position:absolute;left:0;top:0;opacity:0;animation:hsk-pending-cycle 6s infinite}.hsk-pending-step.step-1{animation-delay:0s}.hsk-pending-step.step-2{animation-delay:2s}.hsk-pending-step.step-3{animation-delay:4s}@keyframes hsk-pending-spin{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}@keyframes hsk-pending-pulse{0%,100%{transform:scale(.75);opacity:.6}50%{transform:scale(1);opacity:1}}@keyframes hsk-pending-cycle{0%,10%{opacity:0;transform:translateY(2px)}20%,45%{opacity:1;transform:translateY(0)}55%,100%{opacity:0;transform:translateY(-2px)}}.hsk-chat-input-area{display:flex;align-items:center;gap:8px;padding:12px 14px;border-top:1px solid #f1f3f4;background:var(--hsk-bg);flex-shrink:0}@media (prefers-color-scheme:dark){.hsk-chat-input-area{border-top-color:#202124}}.hsk-chat-input{flex:1;background:#f1f3f4;border:1px solid #f1f3f4;border-radius:var(--hsk-border-radius,0);padding:9px 14px;font-size:13px;color:var(--hsk-text);outline:none;font-family:inherit;transition:border-color .2s;resize:none;min-height:38px;max-height:120px;line-height:1.5}@media (prefers-color-scheme:dark){.hsk-chat-input{background:#1a1a1b;border-color:#202124}}.hsk-chat-input::placeholder{color:#888}.hsk-chat-input:focus{border-color:var(--hsk-primary)}.hsk-chat-send{width:34px;height:34px;border-radius:var(--hsk-border-radius,0);background:var(--hsk-primary);border:none;color:#fff;cursor:pointer;display:flex;align-items:center;justify-content:center;flex-shrink:0;font-size:16px;transition:opacity .15s,transform .1s}.hsk-chat-send:hover{opacity:.88}.hsk-chat-send:active{transform:scale(.93)}.hsk-chat-send:disabled{opacity:.4;cursor:not-allowed}.hsk-chat-reset{font-size:11px;color:#555;cursor:pointer;padding:0 4px;transition:color .15s;background:none;border:none;font-family:inherit}.hsk-chat-reset:hover{color:var(--hsk-primary)}.hsk-chat-error{font-size:12px;color:#ef4444;text-align:center;padding:8px}.hsk-cb-btn{--hsk-primary:var(--chat-primary-color,#ff6a33);display:inline-flex;align-items:center;gap:7px;padding:8px 16px;border-radius:var(--hsk-border-radius,0);border:1px solid rgba(255,106,51,.4);background:rgba(255,106,51,.1);color:var(--hsk-primary);font-size:13px;font-weight:600;cursor:pointer;transition:background .15s,border-color .15s,transform .16s cubic-bezier(.34,1.56,.64,1),box-shadow .15s;will-change:transform}.hsk-cb-btn:hover{background:rgba(255,106,51,.18);border-color:rgba(255,106,51,.7);box-shadow:0 4px 16px rgba(255,106,51,.2)}.hsk-cb-btn:active{transform:scale(.98)}.hsk-cb-btn-icon{font-size:15px;line-height:1;display:flex;align-items:center}.hsk-cb-overlay{--hsk-primary:var(--chat-primary-color,#ff6a33);--hsk-font:var(--chat-font-family,"Geist",ui-sans-serif,-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,'Helvetica Neue',Arial,sans-serif);letter-spacing:normal;word-spacing:normal;font-kerning:normal;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;--hsk-font-size:var(--hsk-desktop-font-size,15px);--hsk-mobile-font-size:14px;position:fixed !important;inset:0 !important;width:100vw !important;height:100vh !important;height:100dvh !important;z-index:2147483647 !important;display:flex !important;flex-direction:column !important;overflow:hidden !important;animation:hsk-overlay-in .2s ease-out;background:var(--hsk-chat-bg,#ffffff) !important;box-sizing:border-box !important;margin:0 !important;padding:0 !important}@keyframes hsk-overlay-in{from{opacity:0}to{opacity:1}}.hsk-cb-overlay.hsk-cb-overlay--grows{animation:hsk-overlay-in .18s cubic-bezier(.16,1,.3,1) both !important}.hsk-cb-overlay.hsk-cb-overlay--grows .hsk-cb-panel{transform-origin:var(--hsk-ox,50%) var(--hsk-oy,50%);animation:hsk-panel-float-in .22s cubic-bezier(.16,1,.3,1) both !important}@keyframes hsk-panel-float-in{0%{opacity:0;transform:translateY(8px) scale(.985)}100%{opacity:1;transform:translateY(0) scale(1)}}.hsk-cb-overlay.hsk-cb-overlay--grows .hsk-cb-msgs{animation:hsk-content-fade .2s cubic-bezier(.16,1,.3,1) both}@keyframes hsk-content-fade{0%{opacity:0;transform:translateY(4px)}100%{opacity:1;transform:translateY(0)}}.hsk-cb-lang-chip,.hsk-cb-chip{animation:hsk-pill-wave .22s cubic-bezier(.16,1,.3,1) both;animation-delay:calc(.04s+var(--hsk-pill-idx,0) * .012s)}.hsk-cb-lang-chips-hint{animation:hsk-content-fade .22s cubic-bezier(.16,1,.3,1) both;animation-delay:calc(.04s+var(--hsk-pill-idx,0) * .012s)}@keyframes hsk-pill-wave{0%{opacity:0;transform:translateY(6px) scale(.96)}100%{opacity:1;transform:translateY(0) scale(1)}}.hsk-cb-overlay.hsk-cb-overlay--grows .hsk-cb-input-wrap{animation:hsk-input-dock .22s cubic-bezier(.16,1,.3,1) both}@keyframes hsk-input-dock{0%{opacity:0;transform:translateY(10px)}100%{opacity:1;transform:translateY(0)}}.hsk-cb-overlay.hsk-cb-overlay--grows .hsk-cb-hello-avatar{animation:hsk-avatar-spring .22s cubic-bezier(.16,1,.3,1) both}@keyframes hsk-avatar-spring{0%{opacity:0;transform:scale(.92)}100%{opacity:1;transform:scale(1)}}.hsk-cb-overlay.hsk-cb-overlay--grows .hsk-cb-hello-wrap{animation:hsk-hello-spring .2s cubic-bezier(.16,1,.3,1) both}@keyframes hsk-hello-spring{0%{opacity:0;transform:translateY(6px)}100%{opacity:1;transform:translateY(0)}}@media (prefers-reduced-motion:reduce){.hsk-cb-overlay.hsk-cb-overlay--grows{animation:none !important;-webkit-clip-path:none !important;clip-path:none !important}.hsk-cb-overlay.hsk-cb-overlay--grows .hsk-cb-panel,.hsk-cb-overlay.hsk-cb-overlay--grows .hsk-cb-msgs,.hsk-cb-overlay.hsk-cb-overlay--grows .hsk-cb-lang-chip,.hsk-cb-overlay.hsk-cb-overlay--grows .hsk-cb-chip,.hsk-cb-overlay.hsk-cb-overlay--grows .hsk-cb-input-wrap,.hsk-cb-overlay.hsk-cb-overlay--grows .hsk-cb-hello-avatar,.hsk-cb-overlay.hsk-cb-overlay--grows .hsk-cb-hello-wrap{animation:none !important}}.hsk-cb-panel{position:relative;display:flex;flex-direction:column;height:100%;max-width:720px;width:100%;margin:0 auto;animation:hsk-panel-in .28s cubic-bezier(.34,1.2,.64,1)}.hsk-cb-main{flex:1;min-width:0;display:flex;flex-direction:column;height:100%;overflow:hidden}@keyframes hsk-panel-in{from{opacity:0;transform:translateY(24px)}to{opacity:1;transform:translateY(0)}}.hsk-cb-topbar{display:grid;grid-template-columns:1fr auto 1fr;align-items:center;padding:14px var(--hsk-gutter,24px) 10px;flex-shrink:0;position:relative;z-index:10;background:transparent !important;backdrop-filter:none !important;-webkit-backdrop-filter:none !important}.hsk-cb-topbar::after{display:none !important}.hsk-cb-topbar-left{display:flex;align-items:center;gap:10px;justify-self:start;min-width:0}.hsk-cb-topbar-mark{justify-self:center;display:flex;flex-direction:column;align-items:center;line-height:0;cursor:pointer;user-select:none;touch-action:manipulation;transition:transform .22s cubic-bezier(.34,1.56,.64,1)}.hsk-cb-topbar-mark:hover{transform:translateY(-1px)}.hsk-cb-topbar-mark[data-unread="true"] .hsk-cb-topbar-name{background:var(--hsk-primary,#ff6a33);color:#fff;box-shadow:0 0 0 3px var(--hsk-chat-bg,#ffffff);animation:hsk-unread-pill .9s cubic-bezier(.34,1.56,.64,1) infinite}@keyframes hsk-unread-pill{0%,100%{transform:scale(1,1)}38%{transform:scale(1.08,.92)}62%{transform:scale(.97,1.03)}}@media (prefers-reduced-motion:reduce){.hsk-cb-topbar-mark[data-unread="true"] .hsk-cb-topbar-name{animation:none}}.hsk-cb-topbar-name{margin-top:-5px;padding:3px 13px;white-space:nowrap;border-radius:999px;background:var(--hsk-surface-2);box-shadow:0 0 0 3px var(--hsk-chat-bg),0 1px 3px rgba(0,0,0,.12);font-size:12px;font-weight:700;line-height:18px;letter-spacing:-.01em;color:var(--hsk-name-text,var(--hsk-chat-text));transform-origin:50% 0;transition:transform .18s cubic-bezier(.34,1.8,.64,1)}.hsk-cb-topbar-mark{position:relative;z-index:100}.hsk-cb-topbar-ooze-menu{position:absolute;top:calc(100%+12px) !important;left:50%;transform:translateX(-50%);width:min(300px,calc(100vw - 28px)) !important;padding:6px !important;border-radius:18px;background:color-mix(in srgb,var(--hsk-chat-bg,#ffffff) 68%,transparent) !important;backdrop-filter:blur(28px) saturate(190%) contrast(102%) !important;-webkit-backdrop-filter:blur(28px) saturate(190%) contrast(102%) !important;border:1px solid color-mix(in srgb,var(--hsk-chat-border,rgba(255,255,255,.35)) 35%,transparent) !important;border-top:1px solid color-mix(in srgb,var(--hsk-chat-bg,#fff) 70%,transparent) !important;border-bottom:1px solid color-mix(in srgb,#000 6%,transparent) !important;box-shadow:0 16px 38px -6px color-mix(in srgb,#000 16%,transparent),0 0 0 1px color-mix(in srgb,var(--hsk-chat-bg,#fff) 25%,transparent) inset,0 1px 0 0 color-mix(in srgb,var(--hsk-chat-bg,#fff) 50%,transparent) inset !important;z-index:1000;animation:hsk-topbar-ooze .25s cubic-bezier(.16,1,.3,1) both}.hsk-cb-topbar-ooze-menu .hsk-cb-theme-grid-item{width:max-content;max-width:100%}.hsk-cb-topbar-ooze-menu .hsk-cb-theme-block{display:flex;align-items:stretch;gap:8px;padding:6px 7px 0}.hsk-cb-topbar-ooze-menu .hsk-cb-theme-vlabel{flex:0 0 auto;align-self:center;writing-mode:vertical-rl;transform:rotate(180deg);font-size:8px;font-weight:700;letter-spacing:.16em;text-transform:uppercase;color:var(--hsk-chat-muted);opacity:.38;user-select:none}.hsk-cb-topbar-ooze-menu .hsk-cb-theme-2x2-grid{display:flex !important;flex-wrap:wrap !important;justify-content:flex-start !important;gap:6px !important;width:100% !important;max-width:100% !important;min-width:0 !important;padding:0 !important;box-sizing:border-box !important;margin-top:0 !important;background:none !important;border:none !important;border-radius:0 !important;box-shadow:none !important;backdrop-filter:none !important;-webkit-backdrop-filter:none !important}.hsk-cb-topbar-ooze-menu .hsk-cb-theme-grid-item{width:max-content;max-width:100%;height:34px;display:inline-flex;align-items:center;justify-content:center;gap:7px;padding:0 12px;border-radius:999px;border:1px solid color-mix(in srgb,var(--hsk-chat-border,rgba(255,255,255,.4)) 22%,transparent) !important;background:color-mix(in srgb,var(--hsk-chat-bg,#ffffff) 34%,transparent) !important;color:var(--hsk-chat-muted,#71717a);font-size:11.5px;font-weight:600;box-sizing:border-box;white-space:nowrap;cursor:pointer;transition:all .16s cubic-bezier(.16,1,.3,1)}.hsk-cb-topbar-ooze-menu .hsk-cb-theme-grid-item svg{flex-shrink:0;width:12px;height:12px}.hsk-cb-topbar-ooze-menu .hsk-cb-theme-grid-item:hover{color:var(--hsk-chat-text,currentColor) !important;transform:translateY(-1px)}.hsk-cb-topbar-ooze-menu .hsk-cb-theme-grid-item.is-active{background:var(--hsk-primary,#ff6a33) !important;color:#ffffff !important;border-color:var(--hsk-primary,#ff6a33) !important;box-shadow:0 3px 12px color-mix(in srgb,var(--hsk-primary,#ff6a33) 35%,transparent) !important}@keyframes hsk-topbar-ooze{0%{opacity:0;transform:translateX(-50%) translateY(-6px) scale(.94)}100%{opacity:1;transform:translateX(-50%) translateY(0) scale(1)}}.hsk-cb-topbar-mark[data-impacting="true"] .hsk-cb-topbar-name{transform:translateY(1.5px) scale(1.09,.91);box-shadow:0 0 0 3px var(--hsk-chat-bg,#ffffff),0 2px 10px var(--hsk-contact-glow,rgba(19,78,61,.45))}.hsk-cb-back{width:34px;height:34px;border-radius:999px;border:none;padding:0;display:flex;align-items:center;justify-content:center;background:var(--hsk-surface-1);color:var(--hsk-chat-muted);cursor:pointer;transition:transform .18s cubic-bezier(.34,1.56,.64,1)}.hsk-cb-back:hover{background:var(--hsk-chat-divide,rgba(0,0,0,.09))}.hsk-cb-back:active{transform:scale(.94)}.hsk-cb-panel[dir="rtl"] .hsk-cb-back-icon{display:inline-flex;transform:scaleX(-1)}.hsk-cb-topbar-actions{justify-self:end}.hsk-cb-topbar-title{font-size:16px;font-weight:500;color:var(--hsk-chat-text,#1f1f1f);letter-spacing:-.01em}.hsk-cb-topbar-sub{font-size:12px;color:var(--hsk-chat-muted,#5f6368);margin-top:2px}.hsk-cb-kiku-id-rail{display:none}@media (min-width:900px){.hsk-cb-kiku-id-rail.hsk-cb-kiku-id-rail--left{display:flex;position:absolute;left:auto !important;right:100% !important;margin-right:28px !important;transform:none !important;top:auto !important;bottom:48px !important;flex-direction:column;justify-content:flex-end;align-items:flex-start;gap:8px;width:200px;max-width:200px;min-width:200px;padding:0;border:0;background:none;font-family:inherit;z-index:10}.hsk-cb-kiku-id-rail.hsk-cb-kiku-id-rail--right{display:flex;position:absolute;left:100% !important;right:auto !important;margin-left:28px !important;transform:none !important;top:auto !important;bottom:48px !important;flex-direction:column;justify-content:flex-end;align-items:flex-start;gap:8px;width:200px;max-width:200px;min-width:200px;padding:0;border:0;background:none;font-family:inherit;z-index:10}.hsk-cb-panel[data-script="nonlatin"] .hsk-cb-kiku-id-rail{bottom:50px !important}.hsk-cb-panel[data-nastaliq="true"] .hsk-cb-kiku-id-rail{bottom:58px !important}.hsk-cb-kiku-id-pill{display:inline-flex;align-items:center;gap:6px;max-width:100%;height:28px;padding:0 11px;border-radius:999px;background:color-mix(in srgb,var(--hsk-chat-bg,#ffffff) 62%,transparent);backdrop-filter:blur(22px) saturate(180%);-webkit-backdrop-filter:blur(22px) saturate(180%);border:1px solid color-mix(in srgb,var(--hsk-chat-border,rgba(255,255,255,.35)) 30%,transparent) !important;border-top:1px solid color-mix(in srgb,var(--hsk-chat-bg,#fff) 60%,transparent) !important;border-bottom:1px solid color-mix(in srgb,#000 6%,transparent) !important;box-shadow:0 4px 14px -2px color-mix(in srgb,#000 12%,transparent),0 1px 0 0 color-mix(in srgb,var(--hsk-chat-bg,#fff) 40%,transparent) inset;color:var(--hsk-chat-muted,#71717a);cursor:pointer;font-family:inherit;transition:all .22s cubic-bezier(.16,1,.3,1)}.hsk-cb-kiku-id-pill:hover{color:var(--hsk-primary,#ff6a33);background:color-mix(in srgb,var(--hsk-chat-bg,#ffffff) 80%,transparent);border-top-color:color-mix(in srgb,var(--hsk-chat-bg,#fff) 75%,transparent) !important;transform:translateY(-1px);box-shadow:0 6px 18px -2px color-mix(in srgb,#000 15%,transparent),0 1px 0 0 color-mix(in srgb,var(--hsk-chat-bg,#fff) 55%,transparent) inset}.hsk-cb-kiku-id-rail-val{font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:11px;letter-spacing:-.01em;max-width:140px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.hsk-cb-kiku-id-pill svg{flex:none;opacity:.8}.hsk-cb-theme-squircle-wrap{position:relative;display:flex;flex-direction:column;align-items:flex-start;padding:0;margin:0;border:none !important;box-shadow:none !important;background:transparent !important}.hsk-cb-theme-squircle-trigger{display:inline-flex;align-items:center;gap:7px;height:32px;padding:0 12px;border-radius:16px;background:color-mix(in srgb,var(--hsk-chat-bg,#ffffff) 65%,transparent) !important;backdrop-filter:blur(24px) saturate(180%);-webkit-backdrop-filter:blur(24px) saturate(180%);border:1px solid color-mix(in srgb,var(--hsk-chat-border,rgba(255,255,255,.35)) 30%,transparent) !important;border-top:1px solid color-mix(in srgb,var(--hsk-chat-bg,#fff) 60%,transparent) !important;border-bottom:1px solid color-mix(in srgb,#000 6%,transparent) !important;box-shadow:0 4px 16px -2px color-mix(in srgb,#000 12%,transparent),0 1px 0 0 color-mix(in srgb,var(--hsk-chat-bg,#fff) 40%,transparent) inset !important;color:var(--hsk-chat-text) !important;font-size:11.5px;font-weight:600;cursor:pointer;font-family:inherit;transition:all .2s cubic-bezier(.16,1,.3,1)}.hsk-cb-theme-squircle-trigger:hover{background:color-mix(in srgb,var(--hsk-chat-bg,#ffffff) 80%,transparent) !important;color:var(--hsk-primary,#ff6a33) !important;border-top-color:color-mix(in srgb,var(--hsk-chat-bg,#fff) 80%,transparent) !important;transform:translateY(-1px);box-shadow:0 6px 20px -2px color-mix(in srgb,#000 16%,transparent),0 1px 0 0 color-mix(in srgb,var(--hsk-chat-bg,#fff) 55%,transparent) inset !important}.hsk-cb-theme-trigger-icon{display:inline-flex;align-items:center;justify-content:center;flex-shrink:0}.hsk-cb-theme-trigger-icon svg{width:13px;height:13px}.hsk-cb-theme-trigger-label{letter-spacing:-0.01em}.hsk-cb-scout-rail-wrap{position:relative;display:flex;flex-direction:column;align-items:flex-start;padding:0;margin:0;border:none !important;box-shadow:none !important;background:transparent !important}.hsk-cb-scout-rail-trigger{display:inline-flex;align-items:center;gap:7px;height:32px;padding:0 12px;border-radius:16px;background:color-mix(in srgb,var(--hsk-chat-bg,#ffffff) 65%,transparent) !important;backdrop-filter:blur(24px) saturate(180%);-webkit-backdrop-filter:blur(24px) saturate(180%);border:1px solid color-mix(in srgb,var(--hsk-chat-border,rgba(255,255,255,.35)) 30%,transparent) !important;border-top:1px solid color-mix(in srgb,var(--hsk-chat-bg,#fff) 60%,transparent) !important;border-bottom:1px solid color-mix(in srgb,#000 6%,transparent) !important;box-shadow:0 4px 16px -2px color-mix(in srgb,#000 12%,transparent),0 1px 0 0 color-mix(in srgb,var(--hsk-chat-bg,#fff) 40%,transparent) inset !important;color:var(--hsk-chat-text) !important;font-size:11.5px;font-weight:600;cursor:pointer;font-family:inherit;transition:all .2s cubic-bezier(.16,1,.3,1)}.hsk-cb-scout-rail-trigger:hover{background:color-mix(in srgb,var(--hsk-chat-bg,#ffffff) 80%,transparent) !important;color:var(--hsk-primary,#ff6a33) !important;border-top-color:color-mix(in srgb,var(--hsk-chat-bg,#fff) 80%,transparent) !important;transform:translateY(-1px);box-shadow:0 6px 20px -2px color-mix(in srgb,#000 16%,transparent),0 1px 0 0 color-mix(in srgb,var(--hsk-chat-bg,#fff) 55%,transparent) inset !important}.hsk-cb-scout-rail-card{inline-size:200px}.hsk-cb-theme-2x2-grid{display:flex;flex-wrap:wrap;justify-content:center;gap:5px;padding:6px;width:200px;max-width:200px;min-width:200px;box-sizing:border-box;border-radius:18px;background:color-mix(in srgb,var(--hsk-chat-bg,#ffffff) 70%,transparent);backdrop-filter:blur(28px) saturate(190%) contrast(102%);-webkit-backdrop-filter:blur(28px) saturate(190%) contrast(102%);border:1px solid color-mix(in srgb,var(--hsk-chat-border,rgba(255,255,255,.4)) 35%,transparent);border-top:1px solid color-mix(in srgb,var(--hsk-chat-bg,#fff) 65%,transparent);border-bottom:1px solid color-mix(in srgb,#000 6%,transparent);box-shadow:0 16px 38px -6px color-mix(in srgb,#000 16%,transparent),0 0 0 1px color-mix(in srgb,var(--hsk-chat-bg,#fff) 20%,transparent) inset,0 1px 0 0 color-mix(in srgb,var(--hsk-chat-bg,#fff) 50%,transparent) inset;transform-origin:bottom center;animation:hsk-theme-morph-in .26s cubic-bezier(.16,1,.3,1) both}.hsk-cb-theme-squircle-wrap.is-closing .hsk-cb-theme-2x2-grid{animation:hsk-theme-morph-out .2s cubic-bezier(.4,0,.9,.4) both}.hsk-cb-theme-grid-item{display:inline-flex;flex-direction:row;align-items:center;justify-content:center;gap:6px;height:30px;padding:0 12px;border-radius:999px;border:1px solid color-mix(in srgb,var(--hsk-chat-border,rgba(255,255,255,.3)) 25%,transparent) !important;border-top:1px solid color-mix(in srgb,var(--hsk-chat-bg,#fff) 45%,transparent) !important;outline:none !important;background:color-mix(in srgb,var(--hsk-chat-bg,#ffffff) 65%,transparent);color:var(--hsk-chat-text,currentColor);font-size:11px;font-weight:550;cursor:pointer;font-family:inherit;transition:all .18s cubic-bezier(.16,1,.3,1);box-shadow:0 1px 3px rgba(0,0,0,.04),0 1px 0 0 color-mix(in srgb,var(--hsk-chat-bg,#fff) 30%,transparent) inset !important;box-sizing:border-box;white-space:nowrap}.hsk-cb-theme-grid-item svg{flex-shrink:0;width:12px;height:12px}.hsk-cb-theme-grid-item:hover{background:color-mix(in srgb,var(--hsk-chat-bg,#ffffff) 85%,transparent);color:var(--hsk-chat-text,currentColor);border-top-color:color-mix(in srgb,var(--hsk-chat-bg,#fff) 70%,transparent) !important;transform:translateY(-1px);box-shadow:0 3px 8px rgba(0,0,0,.08),0 1px 0 0 color-mix(in srgb,var(--hsk-chat-bg,#fff) 45%,transparent) inset !important}.hsk-cb-theme-grid-item.is-active{background:var(--hsk-primary,#ff6a33) !important;border-color:var(--hsk-primary,#ff6a33) !important;color:#ffffff !important;box-shadow:0 2px 10px color-mix(in srgb,var(--hsk-primary,#ff6a33) 38%,transparent),0 1px 0 0 color-mix(in srgb,var(--hsk-chat-bg,#fff) 40%,transparent) inset !important}}@keyframes hsk-ooze-in{0%{opacity:0;transform:translateX(-50%) translateY(-16px) scale(.88);filter:blur(6px)}65%{transform:translateX(-50%) translateY(3px) scale(1.02);filter:blur(0)}100%{opacity:1;transform:translateX(-50%) translateY(0) scale(1);filter:blur(0)}}.hsk-cb-topbar-actions{display:flex;align-items:center;gap:8px}.hsk-cb-topbar-btn{height:34px;padding:0 14px;border-radius:var(--hsk-control-radius,999px);border:1px solid transparent;background:var(--hsk-chat-subtle,rgba(0,0,0,.045));color:var(--hsk-chat-muted,#5f6368);font-size:12px;font-weight:500;cursor:pointer;transition:all .15s;font-family:inherit}.hsk-cb-topbar-btn:hover{background:color-mix(in srgb,var(--hsk-primary) 12%,transparent);color:var(--hsk-primary)}.hsk-cb-close{width:34px;height:34px;border-radius:var(--hsk-control-radius,999px);border:1px solid transparent;background:var(--hsk-chat-subtle,rgba(0,0,0,.045));color:var(--hsk-chat-muted,#5f6368);cursor:pointer;font-size:20px;display:flex;align-items:center;justify-content:center;transition:all .15s;flex-shrink:0;font-family:inherit;line-height:1}.hsk-cb-close:hover{background:color-mix(in srgb,var(--hsk-primary) 12%,transparent);color:var(--hsk-primary)}.hsk-cb-squircle-btn{width:34px;height:34px;border-radius:11px;background:color-mix(in srgb,var(--hsk-surface-1,currentColor) 35%,transparent);backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px);border:1px solid color-mix(in srgb,var(--hsk-chat-border,currentColor) 16%,transparent);border-top:1px solid color-mix(in srgb,var(--hsk-chat-bg,#fff) 35%,transparent);border-bottom:1px solid color-mix(in srgb,#000 6%,transparent);box-shadow:0 2px 6px color-mix(in srgb,var(--hsk-chat-text,#000) 6%,transparent),0 1px 0 0 color-mix(in srgb,var(--hsk-chat-bg,#fff) 25%,transparent) inset;color:var(--hsk-chat-muted,currentColor);display:inline-flex;align-items:center;justify-content:center;cursor:pointer;padding:0;transition:all .18s cubic-bezier(.16,1,.3,1);position:relative;flex-shrink:0}.hsk-cb-squircle-btn:hover{background:color-mix(in srgb,var(--hsk-surface-2,currentColor) 50%,transparent);color:var(--hsk-chat-text,currentColor);border-top-color:color-mix(in srgb,var(--hsk-chat-bg,#fff) 55%,transparent);box-shadow:0 3px 10px color-mix(in srgb,var(--hsk-chat-text,#000) 8%,transparent),0 1px 0 0 color-mix(in srgb,var(--hsk-chat-bg,#fff) 35%,transparent) inset;transform:translateY(-1px)}.hsk-cb-squircle-btn:active{transform:scale(.95)}.hsk-cb-squircle-btn.is-active{background:color-mix(in srgb,var(--hsk-primary,#ff6a33) 16%,transparent);border-color:var(--hsk-primary,#ff6a33);color:var(--hsk-primary,#ff6a33);box-shadow:0 0 12px color-mix(in srgb,var(--hsk-primary,#ff6a33) 30%,transparent),0 1px 0 0 color-mix(in srgb,var(--hsk-chat-bg,#fff) 30%,transparent) inset}.hsk-cb-squircle-btn--dashed{border-style:dashed;border-color:color-mix(in srgb,var(--hsk-chat-text,currentColor) 28%,transparent)}.hsk-cb-squircle-btn--dashed:hover{border-color:var(--hsk-primary,#ff6a33);color:var(--hsk-primary,#ff6a33)}.hsk-cb-exit-btn:hover{background:rgba(239,68,68,.12);border-color:rgba(239,68,68,.3);border-top-color:rgba(239,68,68,.5);color:#ef4444}.hsk-cb-desktop-scout-dropdown{position:absolute;top:calc(100%+10px);right:0;width:320px;border-radius:20px;background:color-mix(in srgb,var(--hsk-chat-bg,#ffffff) 65%,transparent);backdrop-filter:blur(28px) saturate(190%) contrast(102%);-webkit-backdrop-filter:blur(28px) saturate(190%) contrast(102%);border:1px solid color-mix(in srgb,var(--hsk-chat-border,rgba(255,255,255,.3)) 40%,transparent);border-top:1px solid color-mix(in srgb,var(--hsk-chat-bg,#fff) 50%,transparent);border-bottom:1px solid color-mix(in srgb,#000 6%,transparent);box-shadow:0 12px 34px -4px color-mix(in srgb,#000 16%,transparent),0 0 0 1px color-mix(in srgb,var(--hsk-chat-bg,#fff) 25%,transparent) inset,0 1px 0 0 color-mix(in srgb,var(--hsk-chat-bg,#fff) 45%,transparent) inset;padding:12px;z-index:1000;animation:hsk-desktop-scout-enter .2s cubic-bezier(.16,1,.3,1) both}@keyframes hsk-desktop-scout-enter{0%{opacity:0;transform:translateY(-8px) scale(.96)}100%{opacity:1;transform:translateY(0) scale(1)}}.hsk-cb-msgs{position:relative;flex:1 1 auto;min-height:0;overflow-y:auto;overflow-x:hidden;-webkit-overflow-scrolling:touch;touch-action:pan-y;overscroll-behavior-y:none;overflow-anchor:none;padding:16px var(--hsk-gutter,24px) 16px;display:flex;flex-direction:column;gap:0;scrollbar-width:none;-ms-overflow-style:none;mask-image:linear-gradient(to bottom,transparent 0,#000000 8px,#000000 100%);-webkit-mask-image:linear-gradient(to bottom,transparent 0,#000000 8px,#000000 100%)}.hsk-cb-msgs-spacer{flex:none;height:1px;pointer-events:none}.hsk-cb-msgs>:first-child{margin-top:auto}.hsk-cb-msgs.hsk-scrolling>*{pointer-events:none}.hsk-cb-msgs::-webkit-scrollbar{display:none !important;width:0 !important;height:0 !important}.hsk-cb-empty{flex:1;display:flex;flex-direction:column;align-items:flex-start;justify-content:center;gap:14px;padding:24px 0 32px;width:100%;text-align:start}.hsk-cb-onboarding-card{display:flex;flex-direction:column;align-items:flex-start;width:100%;gap:10px}.hsk-cb-onboarding-head{display:flex;align-items:center;justify-content:flex-end;width:100%;margin-bottom:8px}.hsk-cb-step-badge{font-size:11px;font-weight:600;letter-spacing:.05em;color:var(--hsk-chat-muted,#71717a);background:var(--hsk-chat-source-bg,rgba(255,255,255,.06));border:1px solid var(--hsk-chat-border,rgba(255,255,255,.08));padding:4px 10px;border-radius:999px;line-height:1}.hsk-cb-hello-wrap{display:flex;flex-direction:column;align-items:flex-start;text-align:start;gap:6px;padding:0;width:100%}.hsk-cb-hello-avatar{--hsk-avatar-size:80px;display:flex;align-items:center;justify-content:flex-start;width:auto;margin-inline-start:calc(var(--hsk-avatar-size,80px) * -0.25);margin-inline-end:0;margin-top:0;margin-bottom:0;animation:hsk-avatar-spring .42s cubic-bezier(.16,1,.3,1) both}.hsk-cb-hello{margin:0;font-size:clamp(24px,4.5vw,34px);font-weight:500;line-height:1.2;letter-spacing:-0.02em;color:color-mix(in srgb,var(--hsk-chat-text,#111) 55%,var(--hsk-chat-muted,#8b8b8f));text-align:start}.hsk-cb-hello b{font-weight:700;color:var(--hsk-primary,#ff6a33)}.hsk-cb-hello-lead{margin:0;font-size:15px;line-height:22px;color:var(--hsk-chat-muted,#5f6368);max-width:42ch;text-align:start}.hsk-cb-hello-ask{margin:2px 0 2px;font-size:16px;font-weight:500;color:var(--hsk-chat-text,#111);text-align:start}.hsk-cb-step{font-size:11px;font-weight:600;letter-spacing:.08em;text-transform:uppercase;color:var(--hsk-chat-muted,#9aa0a6)}.hsk-cb-panel[dir="rtl"] .hsk-cb-msgs{direction:ltr}.hsk-cb-panel[dir="rtl"] .hsk-cb-msgs>*{direction:rtl}.hsk-cb-panel[dir="rtl"] .hsk-cb-user-imgs{margin-left:0;margin-right:auto}.hsk-cb-panel[dir="rtl"] .hsk-cb-user-bubble,.hsk-cb-panel[dir="rtl"] .hsk-cb-ai-text{word-break:normal;overflow-wrap:break-word;letter-spacing:normal}.hsk-cb-panel[dir="rtl"] .hsk-cb-hello{line-height:1.6;letter-spacing:normal}.hsk-cb-panel[dir="rtl"] .hsk-cb-entlang-cards{justify-content:end}.hsk-cb-lang-chips{display:flex;flex-wrap:wrap;gap:8px;margin:10px 0 4px}.hsk-cb-lang-chip{display:inline-flex;align-items:center;justify-content:center;min-height:36px;padding:6px 16px;font-size:14px;font-weight:500;line-height:1;color:var(--hsk-chat-text,#111);background:var(--hsk-chat-source-bg,rgba(0,0,0,.04));border:1px solid var(--hsk-chat-border,rgba(0,0,0,.09));border-radius:999px;cursor:pointer;box-shadow:0 1px 2px rgba(0,0,0,.03);transition:all .18s cubic-bezier(.16,1,.3,1);user-select:none;-webkit-font-smoothing:antialiased}.hsk-cb-lang-chip:hover{background:var(--hsk-primary,#ff6a33);color:#ffffff;border-color:var(--hsk-primary,#ff6a33);transform:translateY(-1px);box-shadow:0 4px 12px color-mix(in srgb,var(--hsk-primary,#ff6a33) 25%,transparent)}.hsk-cb-lang-chip:active{transform:scale(.96)}@media (prefers-color-scheme:dark){.hsk-cb-lang-chip{background:rgba(255,255,255,.06);border-color:rgba(255,255,255,.1);color:#f4f4f5}}[data-hsk-theme="dark"] .hsk-cb-lang-chip{background:rgba(255,255,255,.06);border-color:rgba(255,255,255,.1);color:#f4f4f5}.hsk-cb-lang-chips-hint{display:inline-flex;align-items:center;font-size:13px;color:var(--hsk-chat-muted,#71717a);padding:0 6px;margin-inline-start:4px;user-select:none;align-self:center}.hsk-cb-chrome-loading{display:flex;flex-direction:column;align-items:flex-start;text-align:start;gap:12px;width:100%;max-width:480px;margin:4px 0 2px;animation:hsk-content-fade .3s ease-out both}.hsk-cb-chrome-loading-header{display:flex;flex-direction:column;align-items:flex-start;text-align:start;gap:6px;width:100%}.hsk-cb-chrome-loading-sub{margin:0;font-size:15px;color:var(--hsk-chat-muted,#71717a);line-height:1.45;text-align:start}.hsk-cb-chrome-loading-sub b{color:var(--hsk-chat-text,#f4f4f5);font-weight:600}.hsk-cb-chrome-progress{height:3px;width:100%;border-radius:3px;background:var(--hsk-chat-source-bg,rgba(255,255,255,.08));overflow:hidden;margin-top:4px}.hsk-cb-chrome-progress-track{height:100%;width:100%;border-radius:3px;background:linear-gradient( 90deg,#ff6a33,#f7b733,#43c59e,#3d8bfd,#9b5de5,#ff5d8f,#ff6a33 );background-size:300% 100%;animation:hsk-chrome-rainbow 2.6s linear infinite}.hsk-cb-chrome-progress{position:relative;overflow:hidden}.hsk-cb-chrome-progress::after{content:'';position:absolute;inset:0;background:linear-gradient( 100deg,transparent 20%,rgba(255,255,255,.55) 50%,transparent 80% );transform:translateX(-100%);animation:hsk-chrome-sheen 1.9s cubic-bezier(.55,0,.45,1) infinite;pointer-events:none}@keyframes hsk-chrome-rainbow{0%{background-position:0 0}100%{background-position:-300% 0}}@keyframes hsk-chrome-sheen{0%{transform:translateX(-100%)}100%{transform:translateX(200%)}}@media (prefers-reduced-motion:reduce){.hsk-cb-chrome-progress-track{animation:none;opacity:.5}.hsk-cb-chrome-progress::after{animation:none;opacity:0}}.hsk-cb-chrome-back-btn{display:inline-flex;align-items:center;gap:6px;padding:6px 14px;margin-top:6px;font-size:13px;font-weight:500;color:var(--hsk-chat-muted,#a1a1aa);background:var(--hsk-chat-source-bg,rgba(255,255,255,.05));border:1px solid var(--hsk-chat-border,rgba(255,255,255,.09));border-radius:999px;cursor:pointer;transition:all .15s ease;user-select:none}.hsk-cb-chrome-back-btn:hover{background:var(--hsk-chat-source-bg,rgba(255,255,255,.12));color:var(--hsk-chat-text,#ffffff);border-color:var(--hsk-chat-border,rgba(255,255,255,.18))}.hsk-cb-chrome-notice{display:flex;flex-direction:column;gap:6px;max-width:48ch;margin:24px 0 0;padding:14px 16px;border-radius:14px;background:var(--hsk-chat-source-bg,rgba(255,255,255,.04));border:1px solid var(--hsk-chat-border,rgba(255,255,255,.09));text-align:start;font-family:var(--hsk-font,system-ui,sans-serif);animation:hsk-content-fade .4s ease-out both}.hsk-cb-chrome-notice-header{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.hsk-cb-chrome-notice-pill{display:inline-flex;align-items:center;padding:2px 7px;border-radius:6px;font-size:10px;font-weight:700;text-transform:uppercase;letter-spacing:.04em;background:rgba(255,106,51,.15);color:var(--hsk-primary,#ff6a33);border:1px solid rgba(255,106,51,.28)}.hsk-cb-chrome-notice-title{font-size:12px;font-weight:600;letter-spacing:.01em;color:var(--hsk-chat-text,#ffffff)}.hsk-cb-chrome-notice-body{font-size:12px;line-height:1.55;color:var(--hsk-chat-muted,#a1a1aa)}.hsk-cb-chrome-notice-body b{color:var(--hsk-chat-text,#ffffff)}@media (prefers-color-scheme:light){.hsk-cb-chrome-loading-sub b{color:var(--hsk-chat-text,#18181b)}.hsk-cb-chrome-progress{background:var(--hsk-chat-source-bg,rgba(0,0,0,.06))}.hsk-cb-chrome-back-btn{color:#52525b;background:rgba(0,0,0,.04);border-color:rgba(0,0,0,.08)}.hsk-cb-chrome-back-btn:hover{background:rgba(0,0,0,.08);color:#09090b;border-color:rgba(0,0,0,.14)}}.hsk-cb-input-box--waiting{opacity:.45;pointer-events:none}.hsk-cb-entlang-opts{display:flex;flex-direction:column;gap:10px;width:100%;max-width:440px;margin-top:6px}.hsk-cb-entlang-opt{position:relative;display:flex;flex-direction:row;align-items:center;width:100%;padding:16px 20px;text-align:start;background:transparent !important;border:none !important;outline:none !important;border-radius:16px;cursor:pointer;user-select:none;overflow:hidden;box-shadow:none !important;animation:hsk-entlang-opt-in .22s cubic-bezier(.16,1,.3,1) both;animation-delay:calc(.04s+var(--hsk-opt-idx,0) * .02s)}@media (prefers-color-scheme:light){.hsk-cb-entlang-opt{background:transparent !important}}[data-hsk-theme="light"] .hsk-cb-entlang-opt{background:transparent !important}@keyframes hsk-entlang-opt-in{0%{opacity:0;transform:translateY(6px)}100%{opacity:1;transform:translateY(0)}}.hsk-cb-entlang-opt:hover{background:transparent !important;border:none !important;box-shadow:none !important}.hsk-cb-entlang-opt:active{opacity:.8}.hsk-cb-entlang-radio{position:relative;display:inline-flex;align-items:center;justify-content:center;width:18px;height:18px;min-width:18px;min-height:18px;border-radius:999px;border:1.5px solid var(--hsk-chat-divide,rgba(255,255,255,.22));flex-shrink:0;margin-inline-end:14px;box-sizing:border-box;transform:none !important;transition:border-color .2s cubic-bezier(.16,1,.3,1),background-color .2s ease}.hsk-cb-entlang-radio-dot{width:9px;height:9px;border-radius:999px;background:var(--hsk-primary,#ff6a33);opacity:0;transition:opacity .15s ease;pointer-events:none}.hsk-cb-entlang-opt:hover .hsk-cb-entlang-radio,.hsk-cb-entlang-opt.is-selected .hsk-cb-entlang-radio{border-color:var(--hsk-primary,#ff6a33)}.hsk-cb-entlang-opt.is-selected .hsk-cb-entlang-radio-dot{opacity:1}.hsk-cb-entlang-opt-text{display:flex;flex-direction:column;gap:3px;width:100%}.hsk-cb-entlang-opt-title{font-size:15px;font-weight:600;color:var(--hsk-chat-text,#1f1f1f);letter-spacing:-0.01em}.hsk-cb-shimmer-char{display:inline;color:inherit;font-family:inherit}.hsk-cb-entlang-opt:hover .hsk-cb-entlang-opt-title .hsk-cb-shimmer-char{animation:hsk-entlang-char-shimmer-title .5s cubic-bezier(.16,1,.3,1) both;animation-delay:calc(var(--hsk-char-idx,0) * 16ms)}.hsk-cb-entlang-opt:hover .hsk-cb-entlang-opt-note .hsk-cb-shimmer-char{animation:hsk-entlang-char-shimmer-note .5s cubic-bezier(.16,1,.3,1) both;animation-delay:calc(var(--hsk-char-idx,0) * 16ms)}@keyframes hsk-entlang-char-shimmer-title{0%{color:var(--hsk-chat-text,#1f1f1f)}45%{color:hsl(var(--hsk-ph-hue,0) 80% 60%)}100%{color:var(--hsk-primary,#ff6a33)}}@keyframes hsk-entlang-char-shimmer-note{0%{color:var(--hsk-chat-muted,#71717a)}45%{color:hsl(var(--hsk-ph-hue,0) 75% 55%)}100%{color:var(--hsk-chat-muted,#71717a)}}.hsk-cb-entlang-opt-note{font-size:12.5px;color:var(--hsk-chat-muted,#71717a);line-height:1.45}.hsk-cb-ink-skeleton{display:flex;flex-direction:column;align-items:flex-start;width:100%;gap:12px;animation:hsk-ink-bloom-in .22s cubic-bezier(.16,1,.3,1) both}.hsk-cb-ink-line{position:relative;border-radius:999px;overflow:hidden;background:color-mix(in srgb,var(--hsk-chat-text,#ffffff) 6%,transparent)}.hsk-cb-ink-line::after{content:'';position:absolute;inset:0;background:linear-gradient( 90deg,transparent 0,color-mix(in srgb,var(--hsk-primary,#ff6a33) 12%,transparent) 35%,color-mix(in srgb,var(--hsk-chat-text,#ffffff) 14%,transparent) 50%,color-mix(in srgb,var(--hsk-primary,#ff6a33) 12%,transparent) 65%,transparent 100% );transform:translateX(-100%);animation:hsk-ink-sheen 2.2s cubic-bezier(.4,0,.2,1) infinite}.hsk-cb-ink-line--title{height:30px;width:50%;max-width:220px;border-radius:14px;margin-bottom:2px}.hsk-cb-ink-line--lead1{height:14px;width:78%;max-width:340px}.hsk-cb-ink-line--lead2{height:14px;width:60%;max-width:260px}.hsk-cb-ink-line--ask{height:15px;width:40%;max-width:170px;margin-top:3px}@keyframes hsk-ink-sheen{0%{transform:translateX(-100%)}100%{transform:translateX(200%)}}@keyframes hsk-ink-bloom-in{from{opacity:0;transform:translateY(6px)}to{opacity:1;transform:translateY(0)}}@keyframes hsk-hello-rise{from{opacity:0;transform:translateY(16px)}to{opacity:1;transform:translateY(0)}}.hsk-cb-hello,.hsk-cb-hello-lead,.hsk-cb-hello-ask,.hsk-cb-hello-skip{opacity:0;animation:hsk-hello-rise .9s cubic-bezier(.22,1,.36,1) both}.hsk-cb-hello{animation-delay:.06s}.hsk-cb-hello-lead{animation-delay:.26s}.hsk-cb-hello-ask{animation-delay:.44s}.hsk-cb-hello-skip{animation-delay:.60s}.hsk-cb-hello.hsk-cascade,.hsk-cb-hello-lead.hsk-cascade,.hsk-cb-hello-ask.hsk-cascade{opacity:1;animation:none;filter:none}.hsk-cascade__w{display:inline-block;white-space:nowrap;opacity:0;animation:hsk-cascade-rise .44s cubic-bezier(.16,1,.3,1) both}@keyframes hsk-cascade-rise{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}@media (prefers-reduced-motion:reduce){.hsk-cb-hello,.hsk-cb-hello-lead,.hsk-cb-hello-ask,.hsk-cb-hello-skip,.hsk-cascade__w{animation:none;opacity:1;transform:none;filter:none}}.hsk-cb-chips{display:flex;flex-wrap:wrap;gap:8px;justify-content:flex-start;margin-top:4px}.hsk-cb-chip{padding:8px 16px;border-radius:var(--hsk-border-radius,0);border:1px solid var(--hsk-chat-divide,rgba(0,0,0,.1));background:var(--hsk-chat-source-bg,rgba(0,0,0,.03));color:var(--hsk-chat-text,#333);font-size:13px;cursor:pointer;transition:all .15s;font-family:inherit}.hsk-cb-chip:hover{border-color:var(--hsk-primary);color:var(--hsk-primary);background:rgba(255,106,51,.06)}.hsk-cb-msg-group{padding:16px 0;border-bottom:none;animation:hsk-msg-in .22s ease-out both}.hsk-cb-spoken-mark{position:absolute;top:50%;margin-top:-5px;inset-inline-start:-17px;opacity:.4;pointer-events:none}.hsk-cb-msg-group--run-mid{padding-bottom:0}.hsk-cb-msg-group--run-mid .hsk-cb-user-msg{margin-bottom:0}.hsk-cb-msg-group--run-cont{padding-top:2px}.hsk-cb-msg-group:last-child{border-bottom:none}@keyframes hsk-msg-in{from{opacity:0;transform:translateY(10px)}to{opacity:1;transform:translateY(0)}}.hsk-cb-user-msg{display:flex;flex-direction:column;align-items:flex-end;align-self:flex-end;max-width:min(75%,420px);margin-inline-start:auto;margin-inline-end:0;gap:6px;margin-bottom:20px}@media (max-width:640px){.hsk-cb-user-msg{max-width:84%}}.hsk-cb-user-msg.hsk-sent{transform-origin:bottom right;animation:hsk-send-in .42s cubic-bezier(.2,.9,.3,1.2) both}.hsk-cb-panel[dir="rtl"] .hsk-cb-user-msg.hsk-sent{transform-origin:bottom left}@keyframes hsk-send-in{0%{opacity:0;transform:translateY(28px) scale(.55)}55%{opacity:1}75%{transform:translateY(-2px) scale(1.02)}100%{opacity:1;transform:translateY(0) scale(1)}}@media (prefers-reduced-motion:reduce){.hsk-cb-user-msg.hsk-sent{animation:none}}.hsk-cb-user-bubble{background:var(--hsk-user-bubble-bg,#007aff);color:#ffffff;padding:10px 18px;border-radius:20px;position:relative;font-size:var(--hsk-font-size,15.5px);font-family:var(--hsk-font);line-height:1.45;max-width:100%;font-weight:500;word-break:break-word;overflow-wrap:anywhere;letter-spacing:-0.01em}.hsk-cb-user-bubble--tail::before,.hsk-cb-user-bubble--tail::after{content:'';position:absolute;bottom:0;height:25px;pointer-events:none}.hsk-cb-user-bubble--tail::before{right:-7px;width:20px;background:var(--hsk-user-bubble-bg,#007aff);border-bottom-left-radius:16px 14px}.hsk-cb-user-bubble--tail::after{right:-26px;width:26px;background:var(--hsk-chat-bg,#ffffff);border-bottom-left-radius:10px}.hsk-cb-panel[dir="rtl"] .hsk-cb-user-bubble--tail::before{right:auto;left:-7px;border-bottom-left-radius:0;border-bottom-right-radius:16px 14px}.hsk-cb-panel[dir="rtl"] .hsk-cb-user-bubble--tail::after{right:auto;left:-26px;border-bottom-left-radius:0;border-bottom-right-radius:10px}.hsk-cb-ai-msg{display:block}.hsk-cb-ai-icon{width:32px;height:32px;border-radius:0;background:transparent !important;border:none !important;color:var(--hsk-primary,#ff6a33);display:flex;align-items:center;justify-content:center;flex-shrink:0;margin-top:-2px}.hsk-cb-ai-icon>svg{width:30px !important;height:30px !important}.hsk-cb-ai-icon>.hsk-cb-ai-mark{width:40px !important;height:40px !important}.hsk-cb-ai-body{flex:1;min-width:0}.hsk-cb-ai-content{display:flex;flex-direction:column;gap:10px;align-items:flex-start;width:100%}.hsk-cb-think+.hsk-cb-ai-content>.hsk-cb-ai-text:first-child{padding-top:20px}.hsk-cb-ai-text{font-size:var(--hsk-font-size,14.5px);font-family:var(--hsk-font);line-height:1.48;color:var(--hsk-chat-text,#111827);background:var(--hsk-chat-ai-bg,#eeeef0);padding:11px 15px;border-radius:18px;position:relative;display:inline-block;width:fit-content;box-sizing:border-box;max-width:min(88%,560px);word-break:break-word;overflow-wrap:anywhere;margin-top:4px}.hsk-cb-ai-text:not(:has(~.hsk-cb-ai-text))::before,.hsk-cb-ai-text:not(:has(~.hsk-cb-ai-text))::after{content:'';position:absolute;bottom:0;height:25px;pointer-events:none}.hsk-cb-ai-text:not(:has(~.hsk-cb-ai-text))::before{left:-7px;width:20px;background:var(--hsk-chat-ai-bg,#eeeef0);border-bottom-right-radius:16px 14px}.hsk-cb-ai-text:not(:has(~.hsk-cb-ai-text))::after{left:-26px;width:26px;background:var(--hsk-chat-bg,#ffffff);border-bottom-right-radius:10px}.hsk-cb-panel[dir="rtl"] .hsk-cb-ai-text:not(:has(~.hsk-cb-ai-text))::before{left:auto;right:-7px;border-bottom-right-radius:0;border-bottom-left-radius:16px 14px}.hsk-cb-panel[dir="rtl"] .hsk-cb-ai-text:not(:has(~.hsk-cb-ai-text))::after{left:auto;right:-26px;border-bottom-right-radius:0;border-bottom-left-radius:10px}.hsk-cb-user-footer{display:flex;flex-direction:row;align-items:center;justify-content:flex-end;gap:6px;width:100%;margin-top:2px;min-height:16px;line-height:1}.hsk-cb-ai-footer{display:flex;align-items:center;gap:4px;margin-top:4px;min-height:16px;line-height:1}.hsk-cb-ai-body:hover .hsk-cb-msg-actions,.hsk-cb-ai-body:focus-within .hsk-cb-msg-actions{opacity:1;pointer-events:auto;transform:translateY(0)}.hsk-cb-sent-status{font-size:11px;line-height:1;color:var(--hsk-chat-muted,#8a8f98);padding:0;display:inline-flex;align-items:center;user-select:none;animation:hsk-sent-in .2s ease-out both}.hsk-cb-msg-actions{display:inline-flex;align-items:center;gap:2px;padding:0;opacity:0;pointer-events:none;transform:translateX(3px);transition:opacity .18s cubic-bezier(.16,1,.3,1),transform .18s cubic-bezier(.16,1,.3,1)}.hsk-cb-user-msg:hover .hsk-cb-msg-actions,.hsk-cb-user-msg:focus-within .hsk-cb-msg-actions,.hsk-cb-msg-actions--visible{opacity:1;pointer-events:auto;transform:translateX(0)}.hsk-cb-msg-actions--failed{opacity:1 !important;pointer-events:auto !important;transform:translateX(0) !important}.hsk-cb-msg-action{display:inline-flex;align-items:center;gap:3.5px;padding:1px 6.5px;height:16px;border-radius:999px;font-size:11px;font-weight:500;font-family:var(--hsk-font);line-height:1;color:var(--hsk-chat-muted,#8a8f98);background:transparent;border:none;box-shadow:none;cursor:pointer;user-select:none;transition:color .15s ease,background-color .15s ease,transform .18s cubic-bezier(.34,1.56,.64,1)}.hsk-cb-msg-action .hsk-cb-msg-action-label{font-size:11px;line-height:1}.hsk-cb-msg-action:hover:not(:disabled){color:var(--hsk-chat-text,#ffffff) !important;background:var(--hsk-chat-divide,rgba(140,140,140,.18));transform:translateY(-0.5px)}.hsk-cb-msg-action:active:not(:disabled){transform:translateY(0) scale(.95);transition-duration:.1s}.hsk-cb-msg-action--retry{color:var(--hsk-primary,#ff6a33);background:color-mix(in srgb,var(--hsk-primary,#ff6a33) 10%,transparent)}.hsk-cb-msg-action--retry:hover:not(:disabled){color:var(--hsk-on-active,#ffffff) !important;background:var(--hsk-primary,#ff6a33) !important;box-shadow:0 1px 6px color-mix(in srgb,var(--hsk-primary,#ff6a33) 35%,transparent)}.hsk-cb-failed-notice{display:inline-flex;align-items:center;gap:4px;font-size:11px;line-height:1;color:#ef4444;font-weight:500;user-select:none}.hsk-cb-failed-dot{width:5px;height:5px;border-radius:999px;background:#ef4444;box-shadow:0 0 5px rgba(239,68,68,.6);animation:hsk-failed-pulse 1.8s ease-in-out infinite}@keyframes hsk-failed-pulse{0%,100%{transform:scale(1);opacity:1}50%{transform:scale(1.25);opacity:.7}}.hsk-cb-msg-action--copied{color:#10b981 !important;background:rgba(16,185,129,.15) !important;font-weight:600}@media (max-width:640px){.hsk-cb-msg-actions{display:none !important}}@keyframes hsk-sent-in{from{opacity:0}to{opacity:1}}.hsk-cb-user-bubble--queued{opacity:.55}.hsk-cb-queued-status{display:inline-flex;align-items:center;gap:5px;font-size:11px;line-height:1;color:var(--hsk-chat-muted,#8a8f98);padding:4px 0 0;background:none;border:none;cursor:pointer;font-family:var(--hsk-font);animation:hsk-sent-in .2s ease-out both}.hsk-cb-queued-dot{width:5px;height:5px;border-radius:999px;background:currentColor;animation:hsk-queued-pulse 1.1s ease-in-out infinite}@keyframes hsk-queued-pulse{0%,100%{opacity:.35;transform:scale(.85)}50%{opacity:1;transform:scale(1)}}.hsk-cb-queued-now{color:var(--hsk-primary,#ff6a33);font-weight:600;transition:opacity .15s ease}.hsk-cb-queued-status:hover .hsk-cb-queued-now{opacity:.7}@media (prefers-reduced-motion:reduce){.hsk-cb-queued-dot{animation:none;opacity:.8}}.hsk-cb-timeline{display:none}@media (min-width:900px){.hsk-cb-timeline.hsk-cb-timeline--left{display:block;position:absolute;left:auto !important;right:100% !important;margin-right:28px !important;top:50%;transform:translateY(-50%) !important;width:180px;max-height:60%;overflow:hidden;z-index:10;pointer-events:auto;direction:ltr !important;-webkit-mask-image:linear-gradient(to bottom,transparent,#000 14%,#000 86%,transparent);mask-image:linear-gradient(to bottom,transparent,#000 14%,#000 86%,transparent)}.hsk-cb-timeline.hsk-cb-timeline--right{display:block;position:absolute;left:100% !important;right:auto !important;margin-left:28px !important;top:50%;transform:translateY(-50%) !important;width:180px;max-height:60%;overflow:hidden;z-index:10;pointer-events:auto;direction:ltr !important;-webkit-mask-image:linear-gradient(to bottom,transparent,#000 14%,#000 86%,transparent);mask-image:linear-gradient(to bottom,transparent,#000 14%,#000 86%,transparent)}.hsk-cb-timeline-track{animation:hsk-tl-in .32s cubic-bezier(.22,1,.36,1) both}}@keyframes hsk-tl-in{from{opacity:0;transform:translateX(-10px)}to{opacity:1;transform:translateX(0)}}.hsk-cb-timeline-track{--hsk-tl-x:9px;position:relative;padding-left:26px !important;padding-right:6px !important;transition:transform .28s cubic-bezier(.22,1,.36,1)}.hsk-cb-timeline-track::before,.hsk-cb-timeline-track::after{content:'';position:absolute;left:calc(var(--hsk-tl-x) - 1px) !important;right:auto !important;top:8px;bottom:8px;width:2px;border-radius:2px}.hsk-cb-timeline-track::before{background:var(--hsk-chat-divide,rgba(0,0,0,.09))}.hsk-cb-timeline-track::after{background:var(--hsk-primary,#ff6a33);opacity:.5;transform-origin:top;transform:scaleY(var(--hsk-tl-progress,0));transition:transform .18s linear}.hsk-cb-tl-item{--hsk-tl-d:0;position:relative;display:block;width:100%;padding:7px 6px 7px 0 !important;border:none;background:none;text-align:left !important;cursor:pointer;font-family:var(--hsk-font)}.hsk-cb-tl-dot{position:absolute;left:calc(var(--hsk-tl-x,9px) - 3.5px) !important;right:auto !important;top:50%;width:7px;height:7px;margin-top:-3.5px;border-radius:999px;background:var(--hsk-chat-divide,rgba(0,0,0,.18));opacity:max(.25,calc(1 - var(--hsk-tl-d) * .22));transition:transform .28s cubic-bezier(.34,1.4,.64,1),opacity .46s cubic-bezier(.22,1,.36,1),background .2s ease}.hsk-cb-tl-label{display:block;font-size:12px;line-height:1.4;color:var(--hsk-chat-muted,#8a8f98);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;transform:translateX(calc(var(--hsk-tl-d) * 7px));opacity:max(.32,calc(.9 - var(--hsk-tl-d) * .15));transition:transform .46s cubic-bezier(.22,1,.36,1),opacity .46s cubic-bezier(.22,1,.36,1),color .2s ease}.hsk-cb-tl-item:hover .hsk-cb-tl-label{opacity:1;transform:translateX(calc(var(--hsk-tl-d) * 7px - 2px))}.hsk-cb-tl-item:hover .hsk-cb-tl-dot{transform:scale(1.25)}.hsk-cb-tl-cursor{position:absolute;left:calc(var(--hsk-tl-x,9px) - 4.5px) !important;right:auto !important;top:0;width:9px;height:9px;margin-top:-4.5px;border-radius:999px;background:var(--hsk-primary,#ff6a33);transform:translateY(0);transition:transform .44s cubic-bezier(.22,1,.36,1);will-change:transform;pointer-events:none}.hsk-cb-tl-item--on .hsk-cb-tl-dot{opacity:.35}.hsk-cb-tl-item--on .hsk-cb-tl-label{color:var(--hsk-chat-text,#1f1f1f);opacity:1;font-weight:500}@media (prefers-reduced-motion:reduce){.hsk-cb-timeline-track{animation:none}.hsk-cb-timeline-track::after,.hsk-cb-tl-label,.hsk-cb-tl-cursor,.hsk-cb-tl-dot{transition:none}}@media (prefers-color-scheme:dark){.hsk-cb-ai-text{--hsk-chat-ai-bg:#26262a;background:var(--hsk-chat-ai-bg);color:#f9fafb}}.hsk-cb-sources-wrap{position:relative;margin-top:20px}.hsk-cb-sources{display:flex;flex-direction:row;gap:14px;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:none;-ms-overflow-style:none;padding-bottom:4px}.hsk-cb-sources::-webkit-scrollbar{display:none}.hsk-cb-sources-fade-left,.hsk-cb-sources-fade-right{position:absolute;top:0;bottom:4px;width:30px;pointer-events:none;z-index:2}.hsk-cb-sources-fade-left,.hsk-cb-sources-fade-right{background-color:var(--hsk-fade-bg,var(--hsk-chat-bg,#0e0e0f))}.hsk-cb-sources-fade-left,[dir="rtl"] .hsk-cb-sources-fade-right{-webkit-mask-image:linear-gradient(to right,#000 0,rgba(0,0,0,.55) 45%,transparent 100%);mask-image:linear-gradient(to right,#000 0,rgba(0,0,0,.55) 45%,transparent 100%)}.hsk-cb-sources-fade-right,[dir="rtl"] .hsk-cb-sources-fade-left{-webkit-mask-image:linear-gradient(to left,#000 0,rgba(0,0,0,.55) 45%,transparent 100%);mask-image:linear-gradient(to left,#000 0,rgba(0,0,0,.55) 45%,transparent 100%)}.hsk-cb-sources-fade-left{inset-inline-start:0}.hsk-cb-sources-fade-right{inset-inline-end:0}.hsk-cb-sources-next,.hsk-cb-sources-prev{position:absolute;top:42%;transform:translateY(-50%);width:34px;height:34px;border-radius:50% !important;background:var(--hsk-chat-bg,#ffffff) !important;border:1px solid var(--hsk-chat-divide,rgba(0,0,0,.12)) !important;color:var(--hsk-primary,#ff6a33) !important;display:flex;align-items:center;justify-content:center;box-shadow:0 4px 14px rgba(0,0,0,.14);z-index:10;cursor:pointer;transition:transform .2s cubic-bezier(.34,1.56,.64,1),background .18s ease,color .18s ease,box-shadow .18s ease}.hsk-cb-sources-next:hover,.hsk-cb-sources-prev:hover{background:var(--hsk-primary,#ff6a33) !important;color:#ffffff !important;border-color:var(--hsk-primary,#ff6a33) !important;transform:translateY(-50%) scale(1.1);box-shadow:0 6px 18px rgba(255,106,51,.35)}.hsk-cb-sources-next{inset-inline-end:2px}.hsk-cb-sources-prev{inset-inline-start:2px}[dir="rtl"] .hsk-cb-sources-next svg,[dir="rtl"] .hsk-cb-sources-prev svg{transform:scaleX(-1)}.hsk-cb-carousel-dots{display:flex;align-items:center;justify-content:center;gap:5px;margin-top:10px}.hsk-cb-dot-item{width:6px;height:6px;border-radius:50%;background:rgba(150,150,150,.35);transition:all .25s cubic-bezier(.34,1.56,.64,1);cursor:pointer}.hsk-cb-dot-item--active{width:18px;border-radius:999px;background:var(--hsk-primary,#ff6a33)}.hsk-cb-source{flex:0 0 188px;scroll-snap-align:start;border-radius:var(--hsk-border-radius,0);border:none;background:transparent;cursor:pointer;transition:transform .14s,opacity .14s;animation:hsk-card-in .26s ease-out both;overflow:visible}@keyframes hsk-card-in{from{opacity:0;transform:translateX(16px)}to{opacity:1;transform:none}}.hsk-cb-source:hover{transform:translateY(-3px);opacity:.92}.hsk-cb-src-imgwrap{width:188px;height:188px;overflow:hidden;border-radius:var(--hsk-border-radius,0);display:block;background:var(--hsk-chat-source-bg,#f8f9fa)}.hsk-cb-src-imgwrap img{width:100%;height:100%;object-fit:cover;transition:transform .22s;display:block}.hsk-cb-source:hover .hsk-cb-src-imgwrap img{transform:scale(1.05)}.hsk-cb-src-imgwrap-empty{width:188px;height:188px;background:var(--hsk-chat-divide,rgba(0,0,0,.06));display:flex;align-items:center;justify-content:center;color:var(--hsk-chat-muted,#555);font-size:32px}.hsk-cb-src-info{padding:8px 2px 0}.hsk-cb-sources-wrap--compact{margin-top:10px}.hsk-cb-sources-wrap--compact .hsk-cb-sources{gap:10px}.hsk-cb-sources-wrap--compact .hsk-cb-source{flex:0 0 96px}.hsk-cb-sources-wrap--compact .hsk-cb-src-imgwrap,.hsk-cb-sources-wrap--compact .hsk-cb-src-imgwrap-empty{width:96px;height:96px}.hsk-cb-sources-wrap--compact .hsk-cb-src-imgwrap-empty{font-size:20px}.hsk-cb-sources-wrap--compact .hsk-cb-src-name{font-size:12px;-webkit-line-clamp:1}.hsk-cb-sources-wrap--compact .hsk-cb-src-price{font-size:11px;padding:1px 6px}.hsk-cb-sources-wrap--compact .hsk-cb-source-ref-badge{display:none}.hsk-cb-src-name{font-size:13px;font-weight:600;color:var(--hsk-chat-text,#333);line-height:1.4;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.hsk-cb-src-price{display:inline-flex;align-items:center;width:fit-content;max-width:100%;padding:2px 9px;border-radius:9999px;background:var(--hsk-chat-source-bg,rgba(0,0,0,.05));border:1px solid var(--hsk-chat-divide,rgba(0,0,0,.08));font-size:12px;font-weight:600;color:var(--hsk-primary,#ff6a33);margin-top:5px;line-height:1.2}.hsk-cb-typing-row{display:flex;align-items:flex-start;gap:14px;padding:20px 0}@keyframes hsk-shimmer{0%{background-position:130% 0}100%{background-position:-110% 0}}.hsk-cb-input-wrap{position:relative;--hsk-composer-pad-top:16px;--hsk-composer-pad-x:var(--hsk-gutter,24px);padding:var(--hsk-composer-pad-top) var(--hsk-composer-pad-x) 24px;flex-shrink:0;background:transparent !important;z-index:10}.hsk-cb-input-wrap::after{display:none !important}.hsk-cb-input-card{border-radius:20px;background:var(--hsk-chat-input-bg,#ffffff);border:none !important;outline:none !important;box-shadow:0 3px 14px -1px rgba(0,0,0,.05),0 1px 4px rgba(0,0,0,.03) !important;overflow:hidden;position:relative;z-index:1;transition:height .22s cubic-bezier(.32,.72,0,1)}.hsk-cb-input-card:focus-within{border:none !important;outline:none !important;box-shadow:0 4px 18px -1px rgba(0,0,0,.07),0 2px 6px rgba(0,0,0,.04) !important}.hsk-cb-docked-header{display:flex;align-items:center;gap:8px;padding:10px 16px 6px;background:transparent;border-bottom:none !important;user-select:none}.hsk-cb-docked-icon{display:flex;align-items:center;justify-content:center;width:18px;height:18px;color:var(--hsk-primary,#ff6a33)}.hsk-cb-docked-title{font-size:13px;font-weight:700;color:var(--hsk-primary,#ff6a33);letter-spacing:-0.01em}.hsk-cb-docked-sub{font-size:12px;font-weight:500;letter-spacing:-0.01em;color:var(--hsk-chat-text,#1f1f1f);flex:1}.hsk-cb-docked-close{background:none;border:none;color:var(--hsk-chat-muted,rgba(0,0,0,.4));font-size:16px;line-height:1;cursor:pointer;padding:2px 6px;border-radius:50%;transition:background .12s,color .12s}.hsk-cb-docked-close:hover{background:rgba(0,0,0,.08);color:var(--hsk-chat-text,#111111)}.hsk-cb-field{margin-inline:5px}.hsk-cb-input-box[data-expanded="true"]>.hsk-cb-field{margin-inline:0}.hsk-cb-docked-options{display:flex;flex-direction:column;padding:4px 6px;background:transparent;border-bottom:none !important;max-height:220px;overflow-y:auto;scrollbar-width:thin}.hsk-cb-docked-option{display:flex;align-items:center;gap:10px;width:100%;padding:8px 12px;border:none;background:transparent !important;border-radius:10px;color:var(--hsk-chat-text,#1f1f1f);font-family:inherit;font-size:14px;text-align:start;cursor:pointer;transition:color .15s ease}.hsk-cb-docked-option:hover,.hsk-cb-docked-option:focus{background:transparent !important;color:var(--hsk-primary,#ff6a33)}.hsk-cb-docked-option-icon{display:flex;align-items:center;justify-content:center;width:28px;height:28px;border-radius:8px;background:color-mix(in srgb,var(--hsk-primary,#ff6a33) 12%,transparent);color:var(--hsk-primary,#ff6a33);flex-shrink:0;overflow:hidden;transition:transform .2s cubic-bezier(.34,1.56,.64,1),background .18s ease}.hsk-cb-docked-option:hover .hsk-cb-docked-option-icon,.hsk-cb-docked-option:focus .hsk-cb-docked-option-icon{background:color-mix(in srgb,var(--hsk-primary,#ff6a33) 22%,transparent);transform:scale(1.15) rotate(4deg)}.hsk-cb-docked-option-icon img{width:100%;height:100%;object-fit:cover}.hsk-cb-docked-option-title{font-weight:500;flex:1;min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;transition:color .15s ease}.hsk-cb-docked-option-desc{font-size:12px;color:var(--hsk-chat-muted,#6b7280);font-weight:400}.hsk-cb-docked-option-price{font-size:12px;font-weight:600;color:var(--hsk-chat-muted,#6b7280)}.hsk-cb-input-box{position:relative;display:grid;grid-template-columns:auto auto 1fr auto auto;grid-template-rows:auto 0;align-items:center;justify-items:start;column-gap:10px;row-gap:0;transition:grid-template-rows .2s cubic-bezier(.32,.72,0,1),row-gap .2s cubic-bezier(.32,.72,0,1);background:transparent !important;border:none !important;outline:none !important;border-radius:0 !important;padding-block:12px;padding-inline:18px 14px;box-shadow:none !important}.hsk-cb-tools-toggle{display:none}.hsk-cb-toolsheet-wrap{position:absolute;bottom:calc(100% - 6px);inset-inline-start:var(--hsk-composer-pad-x,14px);inset-inline-end:auto;z-index:100;transform-origin:bottom left;animation:hsk-toolsheet-in .22s cubic-bezier(.16,1,.3,1) both;pointer-events:auto}[dir="rtl"] .hsk-cb-toolsheet-wrap,.hsk-cb-panel[dir="rtl"] .hsk-cb-toolsheet-wrap{transform-origin:bottom right}.hsk-cb-toolsheet{position:relative;z-index:1;min-width:200px;padding:6px;border-radius:16px;background:var(--hsk-chat-source-bg,rgba(255,255,255,.08));border:none !important;box-shadow:none !important}@keyframes hsk-toolsheet-in{0%{opacity:0;transform:translateY(8px) scale(.92)}100%{opacity:1;transform:translateY(0) scale(1)}}.hsk-cb-toolsheet-scrim{position:fixed;inset:0;z-index:90;background:transparent;cursor:default}.hsk-cb-toolsheet-item{display:flex;align-items:center;gap:11px;width:100%;padding:10px 12px;border:none;border-radius:11px;background:transparent;color:var(--hsk-chat-text,#111827);font-family:var(--hsk-font);font-size:15px;text-align:start;cursor:pointer;transition:background-color .15s ease}.hsk-cb-toolsheet-item:hover:not(:disabled){background:var(--hsk-chat-subtle,rgba(0,0,0,.05))}.hsk-cb-toolsheet-item:disabled{opacity:.45;cursor:default}.hsk-cb-toolsheet-item>svg{flex-shrink:0;color:var(--hsk-chat-muted,#6b7280)}[data-hsk-theme] .hsk-cb-toolsheet{background:var(--hsk-sheet-bg,var(--hsk-chat-input-bg,#f3f4f6)) !important;border:none !important}[data-hsk-theme] .hsk-cb-toolsheet-item{color:var(--hsk-chat-text,#111827) !important}[data-hsk-theme] .hsk-cb-toolsheet-item:hover:not(:disabled){background:var(--hsk-sheet-hover,var(--hsk-surface-2,rgba(0,0,0,.05))) !important}[data-hsk-theme] .hsk-cb-toolsheet-item>svg{color:var(--hsk-chat-muted,#6b7280) !important}@media (prefers-reduced-motion:reduce){.hsk-cb-toolsheet-wrap,.hsk-cb-toolsheet-stem{animation:none}.hsk-cb-toolsheet-stem{transform:scale(.62)}}.hsk-cb-input-box>.hsk-cb-attach-btn{grid-column:1;grid-row:1}.hsk-cb-input-box>.hsk-cb-voice-mode-btn{grid-column:2;grid-row:1}.hsk-cb-input-box>.hsk-cb-field{grid-column:3;grid-row:1}.hsk-cb-input-box>.hsk-cb-mic-btn{grid-column:4;grid-row:1}.hsk-cb-input-box>.hsk-cb-send,.hsk-cb-input-box>.hsk-chat-send{grid-column:5;grid-row:1}.hsk-cb-input-box[data-expanded="true"]{grid-template-rows:auto 36px;row-gap:6px}.hsk-cb-input-box[data-expanded="true"]>.hsk-cb-field{grid-column:1 / -1;grid-row:1}.hsk-cb-input-box[data-expanded="true"]>.hsk-cb-attach-btn,.hsk-cb-input-box[data-expanded="true"]>.hsk-cb-voice-mode-btn,.hsk-cb-input-box[data-expanded="true"]>.hsk-cb-mic-btn,.hsk-cb-input-box[data-expanded="true"]>.hsk-cb-send,.hsk-cb-input-box[data-expanded="true"]>.hsk-chat-send{grid-row:2}.hsk-cb-textarea{width:100%;background:transparent;border:none;outline:none;resize:none;font-size:var(--hsk-input-font-size,16px);font-family:var(--hsk-font);color:var(--hsk-chat-text,#111);min-height:28px;max-height:140px;field-sizing:content;line-height:var(--hsk-input-line-height,1.55);word-break:break-word;overflow-wrap:break-word;padding:0;transition:height .18s cubic-bezier(.32,.72,0,1),color .42s cubic-bezier(.16,1,.3,1);scrollbar-width:none}.hsk-cb-textarea::-webkit-scrollbar{width:0;height:0}.hsk-cb-textarea::placeholder{color:var(--hsk-chat-muted,#9ca3af);font-family:var(--hsk-font);font-size:var(--hsk-ph-font-size,var(--hsk-input-font-size,16px))}.hsk-cb-attach-btn,.hsk-cb-mic-btn,.hsk-cb-send,.hsk-chat-send{width:36px;height:36px;border-radius:12px;display:flex;align-items:center;justify-content:center;flex-shrink:0;border:none;cursor:pointer;transition:transform .2s cubic-bezier(.34,1.56,.64,1),box-shadow .2s cubic-bezier(.34,1.56,.64,1),background-color .42s cubic-bezier(.16,1,.3,1),opacity .2s ease;font-family:inherit;margin:0;padding:0}.hsk-cb-send,.hsk-chat-send{background:linear-gradient(135deg,#007aff 0,#0056b3 100%);color:#ffffff;border-radius:12px !important;box-shadow:0 4px 14px rgba(0,122,255,.38),inset 0 1px 0 color-mix(in srgb,var(--hsk-chat-bg,#fff) 35%,transparent);position:relative;overflow:hidden}.hsk-cb-send .hsk-telegram-icon,.hsk-chat-send .hsk-telegram-icon{transition:transform .25s cubic-bezier(.34,1.56,.64,1)}.hsk-cb-send:hover:not(:disabled),.hsk-chat-send:hover:not(:disabled){opacity:1;transform:translateY(-1px) scale(1.05);box-shadow:0 6px 18px rgba(0,122,255,.48),inset 0 1px 0 color-mix(in srgb,var(--hsk-chat-bg,#fff) 45%,transparent)}.hsk-cb-send:hover:not(:disabled) .hsk-telegram-icon,.hsk-chat-send:hover:not(:disabled) .hsk-telegram-icon{transform:translate(2px,-2px) rotate(-10deg) scale(1.1)}.hsk-cb-send:active:not(:disabled),.hsk-chat-send:active:not(:disabled){transform:translateY(0) scale(.94);box-shadow:0 1px 4px rgba(0,122,255,.3)}.hsk-cb-send:disabled,.hsk-chat-send:disabled{opacity:.4;cursor:not-allowed;background:var(--hsk-chat-muted,#ccc);box-shadow:none}.hsk-cb-send--stop{background:#e5342a !important}.hsk-cb-send--stop:hover{background:#c92a21 !important;opacity:1}.hsk-cb-hint{text-align:center;font-size:9px;line-height:14px;color:var(--hsk-chat-muted,#bbb);margin-top:10px}.hsk-cb-field{position:relative;grid-area:field;display:flex;align-items:center;width:100%;min-width:0;--hsk-input-font-size:16px;--hsk-input-line-height:1.55;--hsk-input-control:36px;--hsk-input-line-box:calc(var(--hsk-input-font-size) * var(--hsk-input-line-height))}.hsk-cb-listening{position:absolute;inset:0;display:flex;align-items:center;justify-content:space-between;pointer-events:none}.hsk-cb-listening span{width:2px;height:2px;border-radius:999px;background:var(--hsk-primary,#ff6a33);opacity:.3;transform-origin:center;will-change:transform,opacity;transition:transform 90ms linear,opacity 90ms linear}.hsk-animated-placeholder{position:absolute;inset:0;display:flex;align-items:center;height:100%;pointer-events:none;overflow:hidden;user-select:none;padding:0;z-index:1}.hsk-cb-input-box>*{--hsk-cascade-ease:cubic-bezier(.45,0,.55,1);--hsk-cascade-dur:.44s;--hsk-cascade-step:55ms}.hsk-cb-input-box[data-cascade]>*:not([type="file"]):not(.hsk-cb-field){animation-duration:var(--hsk-cascade-dur);animation-timing-function:var(--hsk-cascade-ease);animation-fill-mode:none}.hsk-cb-input-box[data-cascade="a"]>*:not([type="file"]):not(.hsk-cb-field){animation-name:hsk-leaf-settle-a}.hsk-cb-input-box[data-cascade="b"]>*:not([type="file"]):not(.hsk-cb-field){animation-name:hsk-leaf-settle-b}.hsk-cb-input-box[data-cascade]>*:not([type="file"]):not(.hsk-cb-field),.hsk-animated-placeholder__char{will-change:transform}.hsk-cb-input-box:hover>*,.hsk-cb-input-box:focus-within>*{will-change:auto}.hsk-cb-input-box>*{--hsk-cascade-field:110ms}.hsk-cb-input-box[data-cascade]>.hsk-cb-attach-btn{animation-delay:0ms}.hsk-cb-input-box[data-cascade]>.hsk-cb-voice-mode-btn{animation-delay:var(--hsk-cascade-step)}.hsk-cb-input-box[data-cascade]>.hsk-cb-mic-btn{animation-delay:calc(var(--hsk-cascade-field)+var(--hsk-text-sweep,0ms))}.hsk-cb-input-box[data-cascade]>.hsk-cb-send,.hsk-cb-input-box[data-cascade]>.hsk-chat-send{animation-delay:calc(var(--hsk-cascade-field)+var(--hsk-text-sweep,0ms)+var(--hsk-cascade-step))}@keyframes hsk-leaf-settle-a{0%{transform:translateY(0) scale(1)}42%{transform:translateY(-3px) scale(1.05)}100%{transform:translateY(0) scale(1)}}@keyframes hsk-leaf-settle-b{0%{transform:translateY(0) scale(1)}42%{transform:translateY(-3px) scale(1.05)}100%{transform:translateY(0) scale(1)}}.hsk-cb-input-box>.hsk-cb-field .hsk-animated-placeholder__char{animation-name:hsk-placeholder-animate-up}@media (prefers-reduced-motion:reduce){.hsk-cb-input-box[data-cascade="a"]>*,.hsk-cb-input-box[data-cascade="b"]>*{animation:none;transform:none;opacity:1}.hsk-cb-textarea,.hsk-cb-input-card{transition-property:background-color,box-shadow}}.hsk-animated-placeholder[data-fit="2"]{--hsk-ph-font-size:14px}.hsk-animated-placeholder[data-fit="3"]{--hsk-ph-font-size:12.5px}.hsk-animated-placeholder__char{display:inline-block;font-size:var(--hsk-ph-font-size,var(--hsk-input-font-size,16px));line-height:var(--hsk-input-line-height,1.55);color:var(--hsk-chat-muted,#9ca3af);font-family:var(--hsk-font);white-space:pre;animation:hsk-placeholder-animate-up .46s cubic-bezier(.16,1,.3,1) both}@keyframes hsk-placeholder-animate-up{0%{opacity:0;transform:translateY(9px);color:hsl(var(--hsk-ph-hue,0) var(--hsk-ph-sat,68%) var(--hsk-ph-light,55%))}55%{opacity:1;color:hsl(var(--hsk-ph-hue,0) var(--hsk-ph-sat,68%) var(--hsk-ph-light,55%))}100%{opacity:1;transform:translateY(0);color:var(--hsk-chat-muted,#9ca3af)}}@media (prefers-reduced-motion:reduce){.hsk-animated-placeholder__char{animation:none;transform:none;opacity:1;color:var(--hsk-chat-muted,#9ca3af);animation-delay:0ms !important}}.hsk-cb-voice-error{display:flex;align-items:center;justify-content:center;gap:8px;font-size:12px;line-height:1.4;max-width:90%;margin-inline:auto;text-wrap:balance;color:#ff6b6b;margin-top:8px;padding:4px 12px;border-radius:12px;background:rgba(229,72,77,.12);border:none;cursor:pointer;animation:hsk-msg-in .2s ease-out both}.hsk-cb-voice-error-dismiss{display:inline-flex;align-items:center;justify-content:center;width:18px;height:18px;border-radius:50%;border:none;background:rgba(255,255,255,.12);color:inherit;font-size:14px;line-height:1;cursor:pointer;padding:0;flex-shrink:0;transition:background .15s ease,transform .15s ease}.hsk-cb-voice-error-dismiss:hover{background:rgba(255,255,255,.25);transform:scale(1.1)}.hsk-cb-img-strip{display:flex;flex-wrap:wrap;align-items:center;gap:10px;padding:10px 18px 2px 18px;background:transparent;border:none;box-shadow:none;backdrop-filter:none;-webkit-backdrop-filter:none;animation:hsk-msg-in .2s ease-out both}.hsk-cb-img-thumb-wrap{position:relative;width:60px;height:60px;flex-shrink:0;border-radius:12px;box-shadow:0 2px 8px rgba(0,0,0,.08),0 0 0 1px color-mix(in srgb,var(--hsk-chat-bg,#fff) 12%,transparent);transition:transform .2s cubic-bezier(.16,1,.3,1),box-shadow .2s cubic-bezier(.16,1,.3,1);overflow:visible}.hsk-cb-img-thumb-wrap:hover{transform:translateY(-2px);box-shadow:0 6px 14px rgba(0,0,0,.12),0 0 0 1px color-mix(in srgb,var(--hsk-chat-bg,#fff) 20%,transparent)}.hsk-cb-img-thumb{width:100%;height:100%;object-fit:cover;border-radius:12px;border:none;display:block}.hsk-cb-img-thumb-remove{position:absolute;top:-5px;inset-inline-end:-5px;width:18px;height:18px;border-radius:50%;background:rgba(20,20,24,.75);backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px);color:#ffffff;border:1px solid rgba(255,255,255,.25);box-shadow:0 2px 6px rgba(0,0,0,.25);display:flex;align-items:center;justify-content:center;cursor:pointer;padding:0;transition:transform .15s cubic-bezier(.16,1,.3,1),background-color .15s ease;z-index:2}.hsk-cb-img-thumb-remove:hover{background:rgba(239,68,68,.92);border-color:rgba(255,255,255,.4);transform:scale(1.15)}.hsk-cb-attach-btn,.hsk-cb-mic-btn,.hsk-cb-voice-mode-btn{position:relative;width:36px;height:36px;border-radius:12px;border:none !important;outline:none !important;background:transparent;color:var(--hsk-chat-muted,#71717a);cursor:pointer;display:flex;align-items:center;justify-content:center;flex-shrink:0;box-shadow:none !important;opacity:.75;transition:transform .35s cubic-bezier(.34,1.8,.64,1),background-color .2s ease,color .2s ease,opacity .2s ease;font-family:inherit;overflow:visible}.hsk-cb-attach-btn:hover:not(:disabled),.hsk-cb-mic-btn:hover:not(:disabled),.hsk-cb-voice-mode-btn:hover:not(:disabled){opacity:1;color:var(--hsk-chat-text,#1f1f1f);background:transparent;transform:translateY(-1px)}.hsk-cb-attach-btn:active:not(:disabled),.hsk-cb-mic-btn:active:not(:disabled),.hsk-cb-voice-mode-btn:active:not(:disabled){transform:translateY(0) scale(.94);transition-duration:.1s}.hsk-cb-attach-btn svg,.hsk-cb-mic-btn svg,.hsk-cb-voice-mode-btn svg{overflow:visible}.hsk-cb-attach-btn svg{transition:transform .34s cubic-bezier(.22,1,.36,1)}.hsk-cb-attach-btn:hover:not(:disabled) svg{transform:rotate(-14deg) translateY(-1px)}.hsk-mic-cap{transform-box:fill-box;transform-origin:center;transition:transform .32s cubic-bezier(.34,1.56,.64,1)}.hsk-cb-mic-btn:hover:not(:disabled) .hsk-mic-cap{transform:translateY(-1.5px)}.hsk-wave-bar{transform-box:fill-box;transform-origin:center;transition:transform .3s cubic-bezier(.34,1.56,.64,1)}.hsk-cb-voice-mode-btn:hover:not(:disabled) .hsk-wave-bar{animation:hsk-wave-wake .52s cubic-bezier(.34,1.8,.64,1) both,hsk-wave-live var(--hsk-period,1.1s) ease-in-out .52s infinite;animation-delay:calc(var(--hsk-bar,0) * 55ms),calc(.52s+var(--hsk-bar,0) * 55ms)}.hsk-cb-voice-mode-btn:hover:not(:disabled) .hsk-wave-bar--tip{animation-name:hsk-wave-wake-tip,hsk-wave-live-tip}@keyframes hsk-wave-wake{0%{transform:scaleY(.12)}55%{transform:scaleY(calc(var(--hsk-amp,1.6) * 1.12))}100%{transform:scaleY(1)}}@keyframes hsk-wave-live{0%,100%{transform:scaleY(1)}30%{transform:scaleY(var(--hsk-amp,1.6))}55%{transform:scaleY(calc(1+(var(--hsk-amp,1.6) - 1) * .22))}78%{transform:scaleY(calc(1+(var(--hsk-amp,1.6) - 1) * .62))}}@keyframes hsk-wave-wake-tip{0%{transform:scaleX(.2);opacity:.4}55%{transform:scaleX(calc(var(--hsk-amp,1.9) * 1.1));opacity:1}100%{transform:scaleX(1);opacity:.8}}@keyframes hsk-wave-live-tip{0%,100%{transform:scaleX(1);opacity:.7}30%{transform:scaleX(var(--hsk-amp,1.9));opacity:1}70%{transform:scaleX(1.15);opacity:.8}}.hsk-copy-sheet,.hsk-copy-back{transform-box:fill-box;transform-origin:center;transition:transform .3s cubic-bezier(.22,1,.36,1)}.hsk-cb-kiku-id-pill:hover .hsk-copy-sheet{transform:translate(.9px,.9px)}.hsk-cb-kiku-id-pill:hover .hsk-copy-back{transform:translate(-0.9px,-0.9px)}@media (prefers-reduced-motion:reduce){.hsk-cb-attach-btn:hover:not(:disabled) svg,.hsk-cb-mic-btn:hover:not(:disabled) .hsk-mic-cap,.hsk-cb-kiku-id-pill:hover .hsk-copy-sheet,.hsk-cb-kiku-id-pill:hover .hsk-copy-back{transform:none}.hsk-cb-voice-mode-btn:hover:not(:disabled) .hsk-wave-bar{animation:none}}.hsk-cb-attach-btn:disabled,.hsk-cb-mic-btn:disabled,.hsk-cb-voice-mode-btn:disabled{opacity:.3;cursor:not-allowed;transform:none}.hsk-cb-mic-btn--listening{color:#ef4444 !important;background:rgba(239,68,68,.16) !important;transform:scale(1.1) !important}.hsk-cb-mic-btn--processing{color:var(--hsk-primary,#ff6a33) !important;opacity:.85}.hsk-cb-user-imgs{display:grid;gap:2px;width:fit-content;max-width:min(78%,320px);margin-bottom:4px;margin-left:auto;border-radius:18px 18px 4px 18px;overflow:hidden;box-shadow:0 4px 16px rgba(0,0,0,.16)}.hsk-cb-user-imgs[data-count="1"]{grid-template-columns:1fr}.hsk-cb-user-imgs[data-count="2"]{grid-template-columns:1fr 1fr}.hsk-cb-user-imgs[data-count="3"]{grid-template-columns:2fr 1fr;grid-template-rows:1fr 1fr}.hsk-cb-user-imgs[data-count="3"]>:first-child{grid-row:span 2}.hsk-cb-user-imgs[data-count="4"]{grid-template-columns:1fr 1fr}.hsk-cb-user-img-cell{position:relative;display:block;padding:0;border:none;background:none;cursor:pointer;overflow:hidden;min-width:0;line-height:0}.hsk-cb-user-imgs[data-count="1"] .hsk-cb-user-img-cell{aspect-ratio:auto}.hsk-cb-user-imgs:not([data-count="1"]) .hsk-cb-user-img-cell{aspect-ratio:1}.hsk-cb-user-img-more{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;background:rgba(0,0,0,.45);color:#fff;font-size:20px;font-weight:600;line-height:1}.hsk-cb-user-img-thumb{width:100%;height:100%;object-fit:cover;display:block;cursor:pointer}.hsk-cb-user-imgs[data-count="1"] .hsk-cb-user-img-thumb{height:auto;max-height:300px;object-fit:contain}.hsk-cb-user-img-cell:hover .hsk-cb-user-img-thumb{filter:brightness(.93)}.hsk-cb-error{display:block;width:fit-content;max-width:min(560px,100%);margin:10px auto 8px;padding:10px 14px;border-radius:10px;background:rgba(239,68,68,.08);border:1px solid rgba(239,68,68,.2);color:#ef4444;font-size:13px;line-height:1.5;font-family:var(--hsk-font);text-align:center}.hsk-kiku-badge{display:inline-block;font-size:var(--hsk-font-size,16px);font-family:var(--hsk-font);font-weight:600;background:rgba(255,255,255,.22);border:1px solid rgba(255,255,255,.35);color:#ffffff;padding:1px 7px;border-radius:6px;margin-inline-end:6px}.hsk-cb-memory-pill{display:inline-flex;align-items:center;gap:10px;align-self:flex-start;margin:12px 0 6px 0;padding:12px 22px;font-size:15px;font-weight:600;text-decoration:none;color:#ffffff;background:linear-gradient(135deg,#007aff 0,#0056b3 100%);border:none;border-radius:18px 18px 18px 4px !important;box-shadow:0 4px 16px -2px rgba(0,122,255,.38),inset 0 1px 0 color-mix(in srgb,var(--hsk-chat-bg,#fff) 28%,transparent);transition:transform .18s cubic-bezier(.34,1.56,.64,1),opacity .15s,box-shadow .18s ease;cursor:pointer}.hsk-cb-memory-pill:hover{opacity:.96;transform:translateY(-1px) scale(1.02);box-shadow:0 6px 20px rgba(0,122,255,.48)}.hsk-cb-think{position:relative;z-index:2;margin-bottom:-11px;margin-inline-start:12px;font-size:14px;font-family:var(--hsk-font)}.hsk-cb-think-head{display:inline-flex;align-items:center;gap:6px;height:24px;padding:0 11px;border:none;border-radius:999px;background:var(--hsk-chat-ai-bg,#eeeef0);box-shadow:0 0 0 3px var(--hsk-chat-bg,#ffffff),0 1px 3px rgba(0,0,0,.13);font-family:var(--hsk-font);font-size:12px;font-weight:600;color:var(--hsk-chat-muted,#6b7280);cursor:pointer;user-select:none;line-height:28px}.hsk-cb-think-head:hover{color:var(--hsk-chat-text,#111827)}.hsk-cb-think-head--static{cursor:default}.hsk-cb-think-head--static:hover{color:var(--hsk-chat-muted,#6b7280)}.hsk-cb-think-spin{animation:hsk-think-spin 3s linear infinite}@keyframes hsk-think-spin{to{transform:rotate(360deg)}}.hsk-cb-think-chevron{font-size:9px;transition:transform .12s}.hsk-cb-think-chevron--open{transform:rotate(90deg)}.hsk-cb-think-body{margin-top:6px;padding:8px 12px;border-left:2px solid var(--hsk-chat-border,rgba(128,128,128,.25));color:var(--hsk-chat-muted,#4b5563);white-space:pre-wrap;line-height:1.5;font-family:var(--hsk-font);font-size:14px}.hsk-cb-stopped{display:flex;flex-direction:column;align-items:start;gap:8px;margin:10px 0 14px}.hsk-cb-stopped--empty{align-items:center;text-align:center;margin:22px auto 18px}.hsk-cb-stopped--empty .hsk-cb-stopped-label{text-align:center}.hsk-cb-stopped-dots{display:flex;gap:5px;margin-bottom:2px}.hsk-cb-stopped-dots i{width:5px;height:5px;border-radius:50%;background:var(--hsk-chat-muted,#888);opacity:.4}.hsk-cb-stopped-label{font-size:13px;line-height:1.5;color:var(--hsk-chat-muted,#888);font-family:var(--hsk-font);text-align:start}.hsk-cb-continue{display:inline-flex;align-items:center;gap:7px;padding:7px 14px;font-size:13px;font-weight:500;font-family:var(--hsk-font);color:var(--hsk-chat-text,#111);background:var(--hsk-chat-source-bg,rgba(0,0,0,.04));border:1px solid transparent;border-radius:999px;cursor:pointer;transition:border-color .15s,color .15s,background .15s}.hsk-cb-continue:hover{border-color:var(--hsk-primary);color:var(--hsk-primary);background:transparent}.hsk-cb-continue svg{flex:none}[dir="rtl"] .hsk-cb-continue svg{transform:scaleX(-1)}@media (prefers-color-scheme:dark){.hsk-cb-continue{background:rgba(255,255,255,.06);color:#f0efed}.hsk-cb-continue:hover{background:transparent}}.hsk-sb-wrap{--hsk-bg:#ffffff;--hsk-border:#f1f3f4;--hsk-text:#1f1f1f;--hsk-muted:#5f6368;--hsk-hover:#f8f9fa;--hsk-drop-shadow:0 8px 30px rgba(0,0,0,.06);--hsk-primary:var(--chat-primary-color,#ff6a33);position:relative;width:100%;font-family:inherit}@media (prefers-color-scheme:dark){.hsk-sb-wrap{--hsk-bg:#0a0a0a;--hsk-border:#202124;--hsk-text:#e8eaed;--hsk-muted:#888;--hsk-hover:#1a1a1b;--hsk-drop-shadow:0 12px 40px rgba(0,0,0,.4)}}.hsk-sb-input{width:100%;padding:10px 16px 10px 40px;font-size:14px;border-radius:var(--hsk-border-radius,0);border:1.5px solid var(--hsk-border);outline:none;box-sizing:border-box;background:var(--hsk-bg);color:var(--hsk-text);transition:border-color .15s,box-shadow .15s;font-family:inherit}.hsk-sb-input::placeholder{color:var(--hsk-muted)}.hsk-sb-input:focus{border-color:var(--hsk-primary);box-shadow:0 0 0 3px rgba(255,106,51,.12)}.hsk-sb-icon{position:absolute;inset-inline-start:14px;top:50%;transform:translateY(-50%);color:var(--hsk-muted);pointer-events:none;display:flex;align-items:center}.hsk-sb-drop{position:absolute;top:calc(100%+6px);left:0;right:0;background:var(--hsk-bg);border:1px solid var(--hsk-border);border-radius:var(--hsk-border-radius,0);box-shadow:var(--hsk-drop-shadow);z-index:9999;overflow:hidden;padding:6px 0}.hsk-sb-row{display:flex;align-items:center;gap:12px;padding:9px 16px;cursor:pointer;transition:background .1s}.hsk-sb-row:hover{background:var(--hsk-hover)}.hsk-sb-row-icon{color:var(--hsk-muted);flex-shrink:0;display:flex;align-items:center}.hsk-sb-row-thumb{width:38px;height:38px;flex-shrink:0;display:flex;align-items:center;justify-content:center;color:var(--hsk-muted);background:var(--hsk-hover);border-radius:var(--hsk-border-radius,0);overflow:hidden}.hsk-sb-row-thumb img{width:100%;height:100%;object-fit:cover;display:block}.hsk-sb-row-body{flex:1;min-width:0}.hsk-sb-row-title{font-size:13px;font-weight:500;color:var(--hsk-text);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;line-height:1.3}.hsk-sb-row-sub{font-size:11px;color:var(--hsk-muted);margin-top:2px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.hsk-sb-empty{padding:14px 16px;font-size:13px;color:var(--hsk-muted)}.hsk-sb-loading-bar{height:2px;background:linear-gradient(90deg,transparent,var(--hsk-primary),transparent);background-size:200% 100%;animation:hsk-sweep .9s linear infinite;position:absolute;top:0;left:0;right:0}@keyframes hsk-sweep{0%{background-position:200% 0}100%{background-position:-200% 0}}.hsk-sb-fade{animation:hsk-fin .1s ease-out both}@keyframes hsk-fin{from{opacity:0;transform:translateY(3px)}to{opacity:1;transform:none}}.hsk-sb-skeleton-row{display:flex;align-items:center;gap:12px;padding:9px 16px}.hsk-sb-skeleton-icon{width:38px;height:38px;background:var(--hsk-hover,rgba(0,0,0,.05));border-radius:var(--hsk-border-radius,0);flex-shrink:0;animation:hsk-pulse 1.5s ease-in-out infinite}.hsk-sb-skeleton-text1{height:12px;background:var(--hsk-hover,rgba(0,0,0,.05));border-radius:3px;width:60%;animation:hsk-pulse 1.5s ease-in-out infinite}.hsk-sb-skeleton-text2{height:8px;background:var(--hsk-hover,rgba(0,0,0,.05));border-radius:2px;width:35%;margin-top:5px;animation:hsk-pulse 1.5s ease-in-out infinite}@keyframes hsk-pulse{0%,100%{opacity:.6}50%{opacity:1}}.hsk-tapback-overlay{position:absolute;inset:0;z-index:1000;background:transparent;backdrop-filter:none;-webkit-backdrop-filter:none;touch-action:none}.hsk-tapback-group{position:absolute;z-index:1002;display:flex;flex-direction:column;animation:hsk-tapback-flow-up .26s cubic-bezier(.34,1.56,.64,1) both}.hsk-tapback-group.is-closing{animation:hsk-tapback-flow-down .19s cubic-bezier(.55,0,.85,.35) forwards}.hsk-tapback-group.is-above{transform-origin:var(--tail-x,80%) calc(100%+16px)}.hsk-tapback-group.is-below{transform-origin:var(--tail-x,80%) -16px}.hsk-tapback-capsule{display:inline-flex;align-items:center;gap:1px;padding:3px 5px;height:36px;min-height:36px;border-radius:999px;border:none;background:var(--hsk-skin,var(--hsk-bubble-bg,#eeeef0));box-shadow:0 0 0 3px var(--hsk-chat-bg,#ffffff),0 6px 18px rgba(0,0,0,.16);max-width:calc(100vw - 20px);position:relative;z-index:2;box-sizing:border-box}.hsk-tapback-tail{position:absolute;top:calc(100% - 2px);transform:translateX(-50%);display:flex;flex-direction:column;align-items:center;gap:3px;pointer-events:none;z-index:1}.hsk-tapback-tail.is-below{top:auto;bottom:calc(100% - 2px);flex-direction:column-reverse}.hsk-tapback-dot--mid{margin-left:calc(var(--tail-dir,0) * var(--tail-step,5px))}.hsk-tapback-dot--anchor{margin-left:calc(var(--tail-dir,0) * var(--tail-step,5px) * 2.2)}.hsk-tapback-dot{display:block;border-radius:50%;flex-shrink:0;border:none}.hsk-tapback-dot--mid{width:12px;height:12px;background:var(--hsk-skin,var(--hsk-bubble-bg,#eeeef0));box-shadow:0 0 0 3px var(--hsk-chat-bg,#ffffff),0 2px 5px rgba(0,0,0,.12);animation:hsk-tapback-bead .2s cubic-bezier(.16,1,.3,1) .06s backwards}.hsk-tapback-dot--anchor{width:9px;height:9px;background:var(--hsk-anchor-color,var(--hsk-primary,#007aff));animation:hsk-tapback-bead .2s cubic-bezier(.16,1,.3,1) .02s backwards}.hsk-tapback-tool-btn{display:inline-flex;align-items:center;gap:4px;padding:4px 8px;height:30px;border-radius:999px;font-size:12px;font-weight:500;font-family:var(--hsk-font);line-height:1;color:var(--hsk-chat-text,#f3f4f6);background:transparent;border:none;cursor:pointer;user-select:none;-webkit-tap-highlight-color:transparent;transition:background-color .15s ease,transform .12s ease;white-space:nowrap;animation:hsk-tapback-tool-pop .2s cubic-bezier(.16,1,.3,1) both;animation-delay:calc(.02s+var(--tool-idx,0) * .02s)}.hsk-tapback-tool-btn:hover{background:color-mix(in srgb,var(--hsk-chat-text,#ffffff) 14%,transparent)}.hsk-tapback-tool-btn:active{transform:scale(.92)}.hsk-tapback-tool-btn--pin{color:var(--hsk-primary,#ff6a33)}.hsk-tapback-tool-btn--pin:hover{background:color-mix(in srgb,var(--hsk-primary,#ff6a33) 18%,transparent)}.hsk-tapback-tool-btn--copy.is-copied{color:#10b981 !important}@keyframes hsk-tapback-flow-up{0%{opacity:0;transform:scale(.12,.04)}18%{opacity:1}46%{transform:scale(1.06,1.13)}74%{transform:scale(.985,.95)}100%{opacity:1;transform:scale(1)}}@keyframes hsk-tapback-flow-down{0%{opacity:1;transform:scale(1)}65%{opacity:1;transform:scale(.5,.34)}100%{opacity:0;transform:scale(.12,.04)}}@keyframes hsk-tapback-bead{from{opacity:0;transform:scale(.2)}to{opacity:1;transform:scale(1)}}@keyframes hsk-tapback-tool-pop{0%{opacity:0;transform:scale(.85)}100%{opacity:1;transform:scale(1)}}.hsk-cb-scout-rail-card{inline-size:min(200px,100%);box-sizing:border-box;border-radius:18px;background:color-mix(in srgb,var(--hsk-chat-bg,#ffffff) 70%,transparent);backdrop-filter:blur(28px) saturate(190%) contrast(102%);-webkit-backdrop-filter:blur(28px) saturate(190%) contrast(102%);border:1px solid color-mix(in srgb,var(--hsk-chat-border,rgba(255,255,255,.4)) 35%,transparent);border-top:1px solid color-mix(in srgb,var(--hsk-chat-bg,#fff) 65%,transparent);border-bottom:1px solid color-mix(in srgb,#000 6%,transparent);box-shadow:0 16px 38px -6px color-mix(in srgb,#000 16%,transparent),0 0 0 1px color-mix(in srgb,var(--hsk-chat-bg,#fff) 20%,transparent) inset,0 1px 0 0 color-mix(in srgb,var(--hsk-chat-bg,#fff) 50%,transparent) inset;padding:7px;z-index:100;transform-origin:bottom center;will-change:opacity;animation:hsk-scout-card-in .26s cubic-bezier(.16,1,.3,1) both}@keyframes hsk-scout-card-in{from{opacity:0;translate:0 6px}to{opacity:1;translate:none}}.hsk-cb-scout-rail-wrap.is-compact{position:relative;display:flex;flex-direction:column;align-items:stretch;inline-size:100%;padding:0}.hsk-cb-scout-dock{display:flex;align-items:center;justify-content:space-between;gap:4px;overflow-x:auto;overscroll-behavior-x:contain;scrollbar-width:none;padding:2px 7px}.hsk-cb-scout-dock::-webkit-scrollbar{display:none}.hsk-cb-scout-dock-pick{flex:0 0 auto;display:inline-grid;place-items:center;inline-size:34px;block-size:34px;padding:0;border:none;border-radius:12px;background:none;cursor:pointer;transition:opacity .18s ease,transform .18s ease}.hsk-cb-scout-dock-pick.is-unpaid{opacity:.38;filter:grayscale(1)}.hsk-cb-scout-dock-pick:active{transform:scale(.92)}.hsk-cb-scout-dock-new{flex:0 0 auto;display:inline-grid;place-items:center;inline-size:34px;block-size:34px;padding:0;border-radius:12px;border:1px dashed color-mix(in srgb,var(--hsk-chat-border,rgba(0,0,0,.25)) 60%,transparent);background:none;color:var(--hsk-chat-muted);cursor:pointer}.hsk-cb-scout-dock-new:active{transform:scale(.92)}.hsk-cb-scout-rail-wrap.is-compact .hsk-cb-scout-rail-card{inline-size:100%;max-inline-size:100%;min-inline-size:0}.hsk-cb-scout-defs{position:absolute;width:0;height:0}.hsk-cb-scout-trigger-icon{display:inline-flex;align-items:center;flex-shrink:0}.hsk-cb-scout-trigger-dot{inline-size:6px;block-size:6px;border-radius:999px;background:#10b981;box-shadow:0 0 6px #10b981}.hsk-cb-scout-card-head{display:flex;align-items:center;justify-content:space-between;padding:2px 3px 6px}.hsk-cb-scout-card-title{display:inline-flex;align-items:center;gap:5px;font-size:11px;font-weight:650;color:var(--hsk-chat-text)}.hsk-cb-scout-card-x{border:none;background:none;padding:2px;display:inline-flex;color:var(--hsk-chat-muted);cursor:pointer;opacity:.7}.hsk-cb-scout-card-x:hover{opacity:1}.hsk-cb-scouts-stage{position:relative}.hsk-cb-scouts-glue{position:absolute;inset-block-start:3px;inset-inline-start:0;inline-size:100%;display:flex;flex-wrap:wrap;align-content:flex-start;gap:2px;row-gap:24px;pointer-events:none}.hsk-cb-glue-cell{flex:0 0 46px;display:grid;place-items:center;transform:scaleX(1.34);animation:hsk-glue-drift 3.4s ease-in-out infinite}.hsk-cb-glue-cell:nth-child(2n){animation-duration:4.1s}.hsk-cb-glue-cell:nth-child(3n){animation-duration:3.7s}.hsk-cb-glue-cell.is-loose{transform:none;animation:none}@keyframes hsk-glue-drift{0%,100%{transform:scaleX(1.34) translateY(0)}35%{transform:scaleX(1.42) translateY(-1px)}70%{transform:scaleX(1.29) translateY(.5px)}}@media (prefers-reduced-motion:reduce){.hsk-cb-glue-cell{animation:none}.hsk-cb-scout-hatch-pick,.hsk-cb-scout{transition:opacity .2s ease,filter .2s ease}.hsk-cb-scout-hatch-pick:hover,.hsk-cb-scout:hover{transform:none}}.hsk-cb-scout-time{padding:10px 2px 2px}.hsk-cb-dial{position:relative;block-size:18px;display:flex;align-items:center;transform-origin:center;transition:transform .22s cubic-bezier(.16,1,.3,1)}.hsk-cb-dial.is-dragging{transform:scale(1.045)}.hsk-cb-dial-track{position:relative;inline-size:100%;block-size:6px;border-radius:999px;background:color-mix(in srgb,var(--hsk-chat-text) 10%,transparent);overflow:visible;transition:block-size .22s cubic-bezier(.16,1,.3,1)}.hsk-cb-dial.is-dragging .hsk-cb-dial-track{block-size:12px}.hsk-cb-dial-fill{position:absolute;inset-block:0;inset-inline-start:0;border-radius:999px;background:linear-gradient( to right,color-mix(in srgb,var(--hsk-primary) 62%,transparent),var(--hsk-primary) );transition:inline-size .18s cubic-bezier(.16,1,.3,1)}.hsk-cb-dial-input{position:absolute;inset-inline:0;inset-block:0;inline-size:100%;margin:0;padding:0;appearance:none;-webkit-appearance:none;background:transparent;cursor:grab}.hsk-cb-dial-input:active{cursor:grabbing}.hsk-cb-dial-input::-webkit-slider-thumb{appearance:none;-webkit-appearance:none;inline-size:16px;block-size:16px;border:2.5px solid var(--hsk-chat-bg);border-radius:999px;background:var(--hsk-primary);box-shadow:0 2px 8px -1px color-mix(in srgb,var(--hsk-primary) 70%,transparent);cursor:grab;transition:transform .16s cubic-bezier(.16,1,.3,1),box-shadow .16s ease}.hsk-cb-dial-input:hover::-webkit-slider-thumb{transform:scale(1.12)}.hsk-cb-dial.is-dragging .hsk-cb-dial-input::-webkit-slider-thumb{transform:scale(1.28);box-shadow:0 0 0 7px color-mix(in srgb,var(--hsk-primary) 18%,transparent)}.hsk-cb-dial-input:active::-webkit-slider-thumb{transform:scale(1.24);box-shadow:0 0 0 6px color-mix(in srgb,var(--hsk-primary) 20%,transparent)}.hsk-cb-dial-input:focus-visible::-webkit-slider-thumb{box-shadow:0 0 0 4px color-mix(in srgb,var(--hsk-primary) 32%,transparent)}.hsk-cb-dial-input::-moz-range-thumb{inline-size:16px;block-size:16px;border:2.5px solid var(--hsk-chat-bg);border-radius:999px;background:var(--hsk-primary);cursor:grab}.hsk-cb-dial-input::-moz-range-track{background:transparent}.hsk-cb-scout-time-row{display:flex;align-items:baseline;gap:5px;padding-block-start:7px;transform-origin:center;transition:transform .22s cubic-bezier(.16,1,.3,1)}.hsk-cb-scout-time-row.is-lifted{transform:scale(1.06)}@media (prefers-reduced-motion:reduce){.hsk-cb-dial,.hsk-cb-dial-track,.hsk-cb-scout-time-row{transition:none}.hsk-cb-dial.is-dragging,.hsk-cb-scout-time-row.is-lifted{transform:none}}.hsk-cb-scouts-row{position:relative;display:flex;flex-wrap:wrap;align-items:flex-end;gap:2px}.hsk-cb-scout-slot{position:relative;flex:0 0 auto}.hsk-cb-scout{position:relative;display:flex;flex-direction:column;align-items:center;gap:1px;padding:3px 4px 2px;border:none;border-radius:13px;background:transparent;color:var(--hsk-chat-text);cursor:pointer;font:inherit;transition:transform .18s cubic-bezier(.16,1,.3,1)}.hsk-cb-scout:hover,.hsk-cb-scout:focus-visible{transform:translateY(-3px) scale(1.14);z-index:2;outline:none}.hsk-cb-scout:active{transform:translateY(0) scale(.96)}.hsk-cb-scout-face{position:relative;inline-size:38px;block-size:38px;display:grid;place-items:center}.hsk-cb-scout-char{display:block;overflow:visible}.hsk-cb-scout-pulse{position:absolute;inset-block-start:0;inset-inline-end:0;inline-size:6px;block-size:6px;border-radius:999px;background:#10b981;box-shadow:0 0 0 2px var(--hsk-chat-bg);animation:hsk-scout-breathe 2.4s ease-in-out infinite}@keyframes hsk-scout-breathe{0%,100%{opacity:1}50%{opacity:.35}}.hsk-cb-scout-own{direction:ltr;position:absolute;inset-block-end:-2px;inset-inline-end:-3px;padding:0 4px;border-radius:999px;background:var(--hsk-surface-2);color:var(--hsk-chat-muted);unicode-bidi:isolate;font-size:8px;font-weight:700;line-height:12px;box-shadow:0 0 0 1.5px var(--hsk-chat-bg)}.hsk-cb-scout-name{max-inline-size:48px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;unicode-bidi:isolate;font-size:9px;font-weight:600;color:var(--hsk-chat-muted)}.hsk-cb-scout.is-triggered .hsk-cb-scout-name{color:var(--hsk-primary)}.hsk-cb-scout.is-paused .hsk-cb-scout-face{opacity:.72}.hsk-cb-scout-bin{position:absolute;inset-block-start:-1px;inset-inline-start:-1px;z-index:3;inline-size:16px;block-size:16px;display:inline-flex;align-items:center;justify-content:center;padding:0;border:none;border-radius:999px;background:var(--hsk-surface-2);color:var(--hsk-chat-muted);box-shadow:0 0 0 1.5px var(--hsk-chat-bg);cursor:pointer;opacity:0;transform:scale(.6);transition:opacity .16s ease,transform .16s cubic-bezier(.16,1,.3,1),color .16s ease}.hsk-cb-scout-slot:hover .hsk-cb-scout-bin,.hsk-cb-scout-bin:focus-visible{opacity:1;transform:none}.hsk-cb-scout-bin:hover{color:#e5484d}.hsk-cb-scout-new{flex:0 0 auto;align-self:center;inline-size:34px;block-size:34px;margin-block-end:12px;display:inline-flex;align-items:center;justify-content:center;padding:0;border:1.5px dashed color-mix(in srgb,var(--hsk-chat-text) 24%,transparent);border-radius:12px;background:transparent;color:var(--hsk-chat-muted);cursor:pointer;transition:color .18s ease,border-color .18s ease,transform .18s cubic-bezier(.16,1,.3,1)}.hsk-cb-scout-new:hover{color:var(--hsk-primary);border-color:var(--hsk-primary);transform:translateY(-2px)}.hsk-cb-scout-pool-line{direction:ltr;display:flex;align-items:center;justify-content:flex-start;gap:2px;padding:6px 4px 2px;unicode-bidi:isolate;font-size:9.5px;font-weight:600;color:var(--hsk-chat-muted)}.hsk-cb-scout-picker{position:absolute;inset-block-end:calc(100%+5px);inset-inline-start:50%;transform:translateX(-50%);z-index:50;display:flex;gap:1px;padding:3px;border-radius:13px;background:color-mix(in srgb,var(--hsk-chat-bg) 88%,transparent);backdrop-filter:blur(24px) saturate(180%);-webkit-backdrop-filter:blur(24px) saturate(180%);border:1px solid color-mix(in srgb,var(--hsk-chat-text) 12%,transparent);box-shadow:0 12px 30px -8px color-mix(in srgb,#000 26%,transparent);animation:hsk-theme-morph-in .22s cubic-bezier(.16,1,.3,1) both}.hsk-cb-scout-pick{display:inline-flex;padding:1px;border:none;border-radius:9px;background:transparent;cursor:pointer;transition:background .15s ease,transform .15s ease}.hsk-cb-scout-pick:hover{background:color-mix(in srgb,var(--hsk-primary) 14%,transparent);transform:translateY(-1px)}.hsk-cb-scout-pick.is-on{background:color-mix(in srgb,var(--hsk-primary) 22%,transparent)}.hsk-cb-scout-hatch{padding:2px 0 4px}.hsk-cb-scout-hatch-row{position:relative;display:flex;align-items:center;justify-content:space-between}.hsk-cb-scout-hatch-pick{position:relative;display:inline-flex;flex-direction:column;align-items:center;gap:1px;padding:1px;border:none;border-radius:10px;background:transparent;cursor:pointer;transition:transform .2s cubic-bezier(.16,1,.3,1),opacity .2s ease,filter .2s ease}.hsk-cb-scout-hatch-pick:hover,.hsk-cb-scout-hatch-pick:focus-visible{transform:translateY(-5px) scale(1.42);z-index:3;outline:none}.hsk-cb-scout-hatch-pick.is-on{transform:translateY(-3px) scale(1.2);z-index:2;animation:hsk-scout-burst .42s cubic-bezier(.16,1,.3,1)}@keyframes hsk-scout-burst{0%{filter:grayscale(1) saturate(1);transform:translateY(0) scale(1)}45%{filter:grayscale(0) saturate(1.9);transform:translateY(-6px) scale(1.34)}100%{filter:grayscale(0) saturate(1);transform:translateY(-3px) scale(1.2)}}.hsk-cb-scout-hatch-pick.is-on:hover,.hsk-cb-scout-hatch-pick.is-on:focus-visible{transform:translateY(-5px) scale(1.48)}.hsk-cb-scout-hatch-pick:not(.is-on){opacity:.75}.hsk-cb-scout-hatch-pick.is-unpaid{filter:grayscale(1);opacity:.5}.hsk-cb-scout-nick{font-size:7.5px;font-weight:700;letter-spacing:.02em;color:var(--hsk-chat-muted);white-space:nowrap}.hsk-cb-scout-hatch-pick.is-on .hsk-cb-scout-nick{color:var(--hsk-primary)}.hsk-cb-scout-hatch-pick.is-unpaid:hover,.hsk-cb-scout-hatch-pick.is-unpaid:focus-visible{filter:grayscale(.25);opacity:.92}.hsk-cb-scout-hatch-pick.is-unpaid.is-on{filter:grayscale(.4);opacity:.85}.hsk-cb-scout-time{padding:8px 2px 2px}.hsk-cb-scout-time-row{display:flex;align-items:baseline;gap:5px}.hsk-cb-scout-mins{direction:ltr;border:none;background:transparent;padding:0;cursor:text;display:inline-flex;align-items:baseline;gap:3px;unicode-bidi:isolate;font-size:13px;font-weight:700;color:var(--hsk-chat-text)}.hsk-cb-scout-mins-input{direction:ltr;inline-size:46px;padding:0;border:none;border-block-end:1.5px solid var(--hsk-primary);background:transparent;color:var(--hsk-chat-text);font:inherit;font-size:13px;font-weight:700;font-variant-numeric:tabular-nums;outline:none}.hsk-cb-scout-mins-input::-webkit-outer-spin-button,.hsk-cb-scout-mins-input::-webkit-inner-spin-button{appearance:none;margin:0}.hsk-cb-scout-mins-unit{font-size:9.5px;font-weight:600;color:var(--hsk-chat-muted)}.hsk-cb-scout-price{direction:ltr;margin-inline-start:auto;unicode-bidi:isolate;font-size:17px;font-weight:700;color:var(--hsk-primary)}.hsk-cb-num{display:inline-flex;align-items:baseline;direction:ltr;font-variant-numeric:tabular-nums;line-height:1}.hsk-cb-num-fix{display:inline-block}.hsk-cb-num-slot{display:inline-block;block-size:1em;overflow:hidden;vertical-align:baseline}.hsk-cb-num-col{display:flex;flex-direction:column;transition:transform .52s cubic-bezier(.22,1,.28,1);will-change:transform}.hsk-cb-num-d{display:block;block-size:1em;line-height:1;text-align:center}@media (prefers-reduced-motion:reduce){.hsk-cb-num-col{transition:none}}.hsk-cb-scout-buy-go{inline-size:100%;margin-block-start:9px;padding:11px 0;border:none;border-radius:13px;background:var(--hsk-primary);color:var(--hsk-on-active,#fff);font:inherit;font-size:12px;font-weight:700;cursor:pointer}.hsk-cb-scout-buy-go:disabled{opacity:.45;cursor:not-allowed}.hsk-cb-scout-foot-note{display:block;padding:5px 2px 0;unicode-bidi:isolate;font-size:9px;line-height:1.35;color:var(--hsk-chat-muted)}.hsk-cb-scout-card-pin{border:none;background:none;padding:2px;margin-inline-start:auto;margin-inline-end:2px;display:inline-flex;color:var(--hsk-chat-muted);cursor:pointer;opacity:.7}.hsk-cb-scout-card-pin:hover{opacity:1;color:var(--hsk-primary)}.hsk-cb-pin-body{margin:0;padding:8px;box-sizing:border-box;background:var(--hsk-chat-bg,#18181b);font-family:var(--hsk-font)}.hsk-cb-scout-rail-card.hsk-cb-pin-card{inline-size:100%;max-inline-size:none;min-inline-size:0;animation:none}.hsk-cb-pin-count{font-size:9px;font-weight:700;color:#10b981}.hsk-cb-pin-row{display:flex;align-items:center;gap:6px;padding:2px 0}.hsk-cb-pin-text{display:flex;flex-direction:column;gap:3px;min-inline-size:0;flex:1}.hsk-cb-pin-watch{direction:ltr;font-size:9.5px;font-weight:600;font-variant-numeric:tabular-nums;color:var(--hsk-chat-muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.hsk-cb-pin-bar{block-size:3px;border-radius:999px;background:color-mix(in srgb,var(--hsk-chat-text) 12%,transparent);overflow:hidden}.hsk-cb-pin-fill{display:block;block-size:100%;border-radius:999px;background:var(--hsk-primary);transition:inline-size .4s cubic-bezier(.16,1,.3,1)}.hsk-cb-pin-meta{direction:ltr;font-size:8.5px;font-weight:600;color:var(--hsk-chat-muted)}.hsk-cb-pin-hit{font-size:8.5px;font-weight:800;text-transform:uppercase;letter-spacing:.04em;color:var(--hsk-primary)}.hsk-cb-fluid-wave{transform-box:view-box}.hsk-cb-fluid.is-flowing .hsk-cb-fluid-wave{animation:hsk-fluid-wave 2.6s linear infinite}@keyframes hsk-fluid-wave{to{transform:translateX(24px)}}@media (prefers-reduced-motion:reduce){.hsk-cb-fluid.is-flowing .hsk-cb-fluid-wave{animation:none}}.hsk-cb-topbar-logo{display:block;max-height:18px;max-width:104px;object-fit:contain}.hsk-cb-sound-pill{display:inline-flex;align-items:center;gap:7px;height:32px;padding:0 12px;border-radius:16px;font-family:var(--hsk-font);font-size:11px;font-weight:550;color:var(--hsk-chat-muted,#71717a);background:color-mix(in srgb,var(--hsk-chat-bg,#ffffff) 65%,transparent);backdrop-filter:blur(24px) saturate(180%);-webkit-backdrop-filter:blur(24px) saturate(180%);border:1px solid color-mix(in srgb,var(--hsk-chat-border,rgba(255,255,255,.35)) 30%,transparent);cursor:pointer;transition:color .2s ease,border-color .2s ease,transform .2s cubic-bezier(.34,1.56,.64,1)}.hsk-cb-sound-pill.is-on{color:var(--hsk-chat-text,#111)}.hsk-cb-sound-pill:hover{transform:translateY(-1px);border-color:color-mix(in srgb,var(--hsk-primary,#ff6a33) 25%,transparent);color:var(--hsk-primary,#ff6a33)}.hsk-cb-sound-pill--tray{align-self:flex-start;margin-bottom:8px}.hsk-cb-topbar-ooze-menu .hsk-cb-tray-aside{flex:0 0 auto;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px}.hsk-cb-topbar-ooze-menu .hsk-cb-tray-rule{width:13px;height:1px;background:var(--hsk-chat-muted,#71717a);opacity:.25}.hsk-cb-sound-pill.is-compact{width:26px;height:26px;padding:0;gap:0;justify-content:center;border-radius:9px}.hsk-cb-topbar-ooze-menu .hsk-cb-tray-aside{width:14px;flex:0 0 14px}.hsk-cb-topbar-ooze-menu .hsk-cb-tray-aside .hsk-cb-sound-pill{width:14px;height:14px;border:none;background:none;backdrop-filter:none;-webkit-backdrop-filter:none;border-radius:0;opacity:.45}.hsk-cb-topbar-ooze-menu .hsk-cb-tray-aside .hsk-cb-sound-pill.is-on{opacity:.75}.hsk-cb-topbar-ooze-menu .hsk-cb-tray-aside .hsk-cb-sound-pill:hover{transform:none}.hsk-cb-topbar-ooze-menu .hsk-cb-tray-aside .hsk-cb-sound-pill svg{width:12px;height:12px}.hsk-cb-topbar-ooze-menu .hsk-cb-theme-2x2-grid{flex:1 1 auto !important}.hsk-cb-sound-pill.is-blocked{color:#ef4444 !important;opacity:1 !important}.hsk-cb-panel[dir="rtl"] .hsk-cb-topbar-ooze-menu .hsk-cb-theme-vlabel{transform:none}.hsk-sp-btn{--hsk-primary:var(--chat-primary-color,#ff6a33);display:inline-flex;align-items:center;justify-content:center;width:32px;height:32px;border-radius:var(--hsk-border-radius,0);border:1px solid var(--hsk-sp-border,rgba(255,106,51,.35));background:var(--hsk-sp-bg,rgba(255,106,51,.08));color:var(--hsk-primary);cursor:pointer;font-size:15px;line-height:1;transition:background .15s,border-color .15s,transform .12s;flex-shrink:0;padding:0}.hsk-sp-btn:hover{background:rgba(255,106,51,.18);border-color:rgba(255,106,51,.7);transform:scale(1.1)}.hsk-sp-btn:active{transform:scale(.92)}.hsk-sp-backdrop{position:fixed;inset:0;width:100vw;height:100vh;min-height:100dvh;z-index:2147483647 !important;display:flex;align-items:center;justify-content:center;padding:24px;animation:hsk-bd-in .2s ease-out both;background:var(--hsk-chat-bg,#ffffff) !important;box-sizing:border-box}@keyframes hsk-bd-in{from{opacity:0}to{opacity:1}}.hsk-sp-card{--hsk-primary:var(--chat-primary-color,#ff6a33);width:100%;max-width:600px;border-radius:var(--hsk-border-radius,0);overflow:hidden;animation:hsk-card-in .24s cubic-bezier(.34,1.36,.64,1) both;flex-shrink:0;background:var(--hsk-modal-card-bg,#ffffff);border:1px solid var(--hsk-modal-card-border,#f1f3f4);box-shadow:0 32px 80px rgba(0,0,0,.08),0 2px 8px rgba(0,0,0,.04);display:flex;flex-direction:column}.hsk-sp-card.hsk-sp-fullscreen{max-width:1000px;width:90vw;height:85vh;max-height:800px}@media (max-width:768px){.hsk-sp-backdrop{padding:0}.hsk-sp-card.hsk-sp-fullscreen{width:100vw;height:100vh;height:100dvh;max-height:100vh;max-height:100dvh;border:none;border-radius:0}}@keyframes hsk-card-in{from{opacity:0;transform:scale(.96) translateY(-12px)}to{opacity:1;transform:scale(1) translateY(0)}}.hsk-sp-header{display:flex;align-items:center;gap:10px;padding:18px 20px 14px;border-bottom:1px solid var(--hsk-modal-divide,#f1f3f4);flex-shrink:0}.hsk-sp-header-icon{font-size:18px;color:var(--hsk-primary);flex-shrink:0;display:flex;align-items:center}.hsk-sp-header-body{flex:1;min-width:0}.hsk-sp-header-title{font-size:14px;font-weight:600;color:var(--hsk-modal-text,#1f1f1f);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.hsk-sp-header-sub{font-size:11px;color:var(--hsk-modal-muted,#5f6368);margin-top:2px}.hsk-sp-close{width:30px;height:30px;border-radius:var(--hsk-border-radius,0);border:1px solid var(--hsk-modal-divide,#f1f3f4);background:none;color:var(--hsk-modal-muted,#5f6368);cursor:pointer;font-size:18px;display:flex;align-items:center;justify-content:center;transition:all .15s;flex-shrink:0}.hsk-sp-close:hover{border-color:var(--hsk-primary);color:var(--hsk-primary)}.hsk-sp-bar{height:2px;background:linear-gradient(90deg,transparent 0,var(--hsk-primary) 40%,#ffaa80 60%,transparent 100%);background-size:200% 100%;animation:hsk-bar .9s linear infinite;flex-shrink:0}@keyframes hsk-bar{0%{background-position:200% 0}100%{background-position:-200% 0}}.hsk-sp-body{display:flex;flex:1;overflow:hidden}.hsk-sp-details-pane{flex:1;overflow-y:auto;padding:24px;border-right:1px solid var(--hsk-modal-divide,#f1f3f4);display:flex;flex-direction:column;gap:20px}.hsk-sp-chat-pane{flex:1.2;display:flex;flex-direction:column;background:var(--hsk-chat-bg,#ffffff)}.hsk-sp-product-profile{display:flex;gap:20px}@media (max-width:480px){.hsk-sp-product-profile{flex-direction:column}}.hsk-sp-details-imgwrap{width:140px;height:140px;flex-shrink:0;border:1px solid var(--hsk-modal-divide,#f1f3f4);background:#ffffff;display:flex;align-items:center;justify-content:center;padding:8px;border-radius:var(--hsk-border-radius,0)}.hsk-sp-details-imgwrap img{max-width:100%;max-height:100%;object-fit:contain}.hsk-sp-details-meta{flex:1;display:flex;flex-direction:column;gap:6px}.hsk-sp-details-name{font-size:20px;font-weight:700;color:var(--hsk-modal-text,#1f1f1f);margin:0;line-height:1.3}.hsk-sp-details-desc{margin-top:12px}.hsk-sp-details-desc h4{font-size:13px;font-weight:600;color:var(--hsk-modal-text,#1f1f1f);margin:0 0 4px 0}.hsk-sp-details-desc p{font-size:13px;line-height:1.5;color:var(--hsk-modal-muted,#5f6368);margin:0}.hsk-sp-similar-section{border-top:1px solid var(--hsk-modal-divide,#f1f3f4);padding-top:20px}.hsk-sp-similar-section h3{font-size:14px;font-weight:600;color:var(--hsk-modal-text,#1f1f1f);margin:0 0 12px 0}.hsk-sp-results{padding:10px 0;display:flex;flex-direction:row;gap:12px;overflow-x:auto;scroll-snap-type:x mandatory;padding-bottom:8px}.hsk-sp-empty{padding:40px;text-align:center;font-size:13px;color:var(--hsk-modal-muted,#999)}.hsk-sp-item{display:flex;flex-direction:column;gap:10px;padding:12px;border-radius:var(--hsk-border-radius,0);border:1px solid var(--hsk-modal-item-border,#f1f3f4);background:var(--hsk-modal-item-bg,#f8f9fa);animation:hsk-toast-up .28s cubic-bezier(.22,.68,0,1.2) both;overflow:hidden;flex:0 0 170px;scroll-snap-align:start}@keyframes hsk-toast-up{from{opacity:0;transform:translateY(18px) scale(.97)}to{opacity:1;transform:translateY(0) scale(1)}}.hsk-sp-img-wrap{width:100%;height:120px;border-radius:var(--hsk-border-radius,0);background:#fff;border:1px solid var(--hsk-modal-divide,#f1f3f4);flex-shrink:0;overflow:hidden;display:flex;align-items:center;justify-content:center;padding:6px}.hsk-sp-img-wrap img{max-width:100%;max-height:100%;object-fit:contain}.hsk-sp-img-placeholder{font-size:26px}.hsk-sp-item-body{flex:1;min-width:0;display:flex;flex-direction:column;justify-content:space-between;gap:6px}.hsk-sp-item-name{font-size:13px;font-weight:600;color:var(--hsk-modal-text,#1f1f1f);line-height:1.35;overflow:hidden;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.hsk-sp-item-cat{font-size:11px;font-weight:600;color:var(--hsk-primary);text-transform:uppercase;letter-spacing:.05em}.hsk-sp-item-price-row{display:flex;align-items:baseline;gap:4px;margin-top:2px;flex-wrap:wrap}.hsk-sp-item-price{font-size:15px;font-weight:700;color:var(--hsk-modal-text,#1f1f1f)}.hsk-sp-item-currency{font-size:11px;color:var(--hsk-modal-muted,#5f6368)}.hsk-sp-actions{display:flex;gap:6px;margin-top:auto}.hsk-sp-action{flex:1;padding:6px 8px;border-radius:var(--hsk-border-radius,0);font-size:11px;font-weight:600;cursor:pointer;border:1px solid transparent;transition:all .15s;text-align:center;font-family:inherit}.hsk-sp-action-primary{background:var(--hsk-primary);color:#fff;border-color:var(--hsk-primary)}.hsk-sp-action-primary:hover{opacity:.88}.hsk-sp-action-secondary{background:var(--hsk-action-sec-bg,#f1f3f4);color:var(--hsk-modal-muted,#5f6368);border-color:var(--hsk-modal-divide,#f1f3f4)}.hsk-sp-action-secondary:hover{background:var(--hsk-action-sec-bg-hover,#e8eaed);color:var(--hsk-modal-text,#1f1f1f)}.hsk-sp-footer{padding:12px 20px;border-top:1px solid var(--hsk-modal-divide,#f1f3f4);display:flex;align-items:center;gap:8px;flex-shrink:0}.hsk-sp-badge{font-size:10px;font-weight:700;letter-spacing:.07em;text-transform:uppercase;color:var(--hsk-primary);background:rgba(255,106,51,.1);border:1px solid rgba(255,106,51,.25);padding:2px 8px;border-radius:var(--hsk-border-radius,0)}.hsk-sp-esc{font-size:11px;color:var(--hsk-modal-muted,#5f6368);margin-inline-start:auto}@media (max-width:768px){.hsk-cb-overlay{--hsk-font-size:var(--hsk-mobile-font-size,14px) !important;position:fixed !important;inset:0 !important;top:0 !important;left:0 !important;right:0 !important;width:100vw !important;height:100% !important;height:var(--hsk-vvh,100dvh) !important;min-height:0 !important;z-index:2147483647 !important;display:flex !important;flex-direction:column !important;overflow:hidden !important;overscroll-behavior:contain !important;background:var(--hsk-chat-bg,#0a0a0a) !important;box-sizing:border-box !important}.hsk-cb-panel{position:relative !important;height:100% !important;width:100% !important;max-width:100% !important;margin:0 !important;display:flex !important;flex-direction:column !important;overflow:hidden !important;border-radius:0 !important;background:var(--hsk-chat-bg,#0a0a0a) !important;box-sizing:border-box !important}.hsk-cb-main{flex:1 1 auto !important;height:100% !important;min-height:0 !important;display:flex !important;flex-direction:column !important;justify-content:space-between !important;overflow:hidden !important;background:var(--hsk-chat-bg,#0a0a0a) !important;box-sizing:border-box !important}.hsk-cb-topbar{padding:14px 14px 8px !important}.hsk-cb-msgs{flex:1 1 auto !important;min-height:0 !important;overflow-y:auto !important;-webkit-overflow-scrolling:touch !important;padding:10px 14px 0 !important}.hsk-cb-empty{flex:1 1 auto !important;min-height:0 !important;justify-content:center !important;padding:16px 4px !important}.hsk-cb-input-box{grid-template-columns:auto 1fr auto auto}.hsk-cb-input-box>.hsk-cb-attach-btn,.hsk-cb-input-box>.hsk-cb-voice-mode-btn{display:none}.hsk-cb-input-box>.hsk-cb-field{grid-column:2}.hsk-cb-input-box>.hsk-cb-mic-btn{grid-column:3}.hsk-cb-input-box>.hsk-cb-send,.hsk-cb-input-box>.hsk-chat-send{grid-column:4}.hsk-cb-tools-toggle{display:flex;grid-column:1;grid-row:1;width:36px;height:36px;align-items:center;justify-content:center;flex-shrink:0;padding:0;border:none;border-radius:12px;background:var(--hsk-chat-subtle,rgba(0,0,0,.045));color:var(--hsk-chat-muted,#6b7280);cursor:pointer;transition:transform .26s cubic-bezier(.34,1.56,.64,1),background-color .2s ease}.hsk-cb-tools-toggle--open{transform:rotate(45deg);background:var(--hsk-chat-divide,rgba(0,0,0,.09))}.hsk-cb-toolsheet-wrap,.hsk-cb-toolsheet-scrim{display:block}.hsk-cb-toolsheet-item{display:flex}.hsk-cb-input-box[data-expanded="true"]>.hsk-cb-tools-toggle{grid-row:2}.hsk-cb-ai-msg--inline{display:block !important;padding-inline-end:34px}.hsk-cb-hello-avatar{display:none !important}.hsk-cb-hello-wrap{align-items:center !important;text-align:center !important;gap:4px !important;width:100% !important;max-width:min(520px,100%) !important;padding-inline:16px !important;box-sizing:border-box !important;margin-inline:auto !important}.hsk-cb-ink-skeleton{align-items:center !important}.hsk-cb-hello{font-size:clamp(21px,5.8vw,30px) !important;font-weight:600 !important;line-height:1.25 !important;letter-spacing:-0.02em !important;color:var(--hsk-chat-muted,#8b8b8f) !important;text-align:center !important;text-wrap:balance;max-width:100% !important;overflow-wrap:break-word}.hsk-cb-hello-lead,.hsk-cb-hello-ask{font-size:14px !important;font-weight:400 !important;line-height:1.45 !important;text-align:center !important;text-wrap:balance;max-width:100% !important;overflow-wrap:break-word;color:color-mix(in srgb,var(--hsk-chat-muted,#8b8b8f) 78%,transparent) !important}.hsk-cb-hello-lead{font-size:14px !important;margin-top:4px !important}.hsk-cb-lang-chips{justify-content:center !important;width:100% !important;gap:8px !important;margin:12px 0 6px !important}.hsk-cb-lang-chips-hint{width:100% !important;justify-content:center !important;margin-top:6px !important;margin-inline-start:0 !important}.hsk-cb-onboarding-head{justify-content:flex-end !important;margin-bottom:12px !important}.hsk-cb-doodles{opacity:.92 !important}.hsk-cb-input-wrap{margin-top:auto !important;flex-shrink:0 !important;--hsk-composer-pad-top:8px;--hsk-composer-pad-x:14px;padding:8px 14px !important;padding-bottom:max(12px,env(safe-area-inset-bottom)) !important;background:var(--hsk-chat-bg,#0a0a0a) !important;position:relative !important;z-index:10 !important}.hsk-cb-attach-btn,.hsk-cb-mic-btn,.hsk-cb-send,.hsk-chat-send{width:32px !important;height:32px !important;border-radius:8px !important}.hsk-cb-attach-btn svg,.hsk-cb-mic-btn svg,.hsk-cb-send svg,.hsk-chat-send svg{width:15px !important;height:15px !important}.hsk-sp-backdrop.hsk-sp-mobile-view{position:fixed !important;top:0 !important;left:0 !important;right:0 !important;bottom:auto !important;width:100vw !important;height:var(--hsk-vvh,100dvh) !important;min-height:0 !important;z-index:2147483647 !important;display:flex !important;flex-direction:column !important;overflow:hidden !important;overscroll-behavior:contain !important;background:var(--hsk-chat-bg,#0a0a0a) !important;padding:0 !important;box-sizing:border-box !important}.hsk-sp-card.hsk-sp-mobile-card{position:relative !important;width:100% !important;height:100% !important;max-width:100% !important;margin:0 !important;display:flex !important;flex-direction:column !important;justify-content:space-between !important;overflow:hidden !important;border-radius:0 !important;background:var(--hsk-chat-bg,#0a0a0a) !important;box-sizing:border-box !important}.hsk-sp-body{flex:1 1 auto !important;min-height:0 !important;display:flex !important;flex-direction:column !important;overflow-y:auto !important;-webkit-overflow-scrolling:touch !important;background:var(--hsk-chat-bg,#0a0a0a) !important}.hsk-cb-input-box{padding:10px 10px 10px 14px}.hsk-cb-user-bubble{max-width:85%}.hsk-sp-footer{padding:8px 12px}}@media (prefers-color-scheme:dark){.hsk-sp-backdrop{background:#000000 !important}.hsk-sp-card{--hsk-modal-card-bg:#0a0a0a;--hsk-modal-card-border:#202124;--hsk-modal-text:#e8eaed;--hsk-modal-muted:#888;--hsk-action-sec-bg:#202124;--hsk-action-sec-bg-hover:#2d2f34}.hsk-sp-details-imgwrap{background:#202124;border-color:#202124}.hsk-sp-img-wrap{background:#202124;border-color:#202124}.hsk-sp-chat-pane{background:var(--hsk-chat-bg,#0a0a0a)}}@media (prefers-color-scheme:light){.hsk-sp-backdrop{background:#ffffff !important}}.hsk-table-wrapper{overflow-x:auto;-webkit-overflow-scrolling:touch;margin:12px 0 8px;width:100%;max-width:100%;min-width:0;border-radius:0;padding:0 0 6px;background:transparent;box-shadow:none;box-sizing:border-box;scrollbar-width:thin;scrollbar-color:var(--hsk-chat-divide,rgba(0,0,0,.2)) transparent;cursor:grab;user-select:auto;transition:mask-image .15s ease,-webkit-mask-image .15s ease}.hsk-table-wrapper.is-dragging{cursor:grabbing;user-select:none}.hsk-table-wrapper::-webkit-scrollbar{height:5px}.hsk-table-wrapper::-webkit-scrollbar-track{background:transparent}.hsk-table-wrapper::-webkit-scrollbar-thumb{background:var(--hsk-chat-divide,rgba(0,0,0,.25));border-radius:4px}.hsk-table-wrapper::-webkit-scrollbar-thumb:hover{background:var(--hsk-chat-muted,rgba(0,0,0,.5))}.hsk-cb-ai-text .hsk-markdown-p{margin:0 0 10px}.hsk-cb-ai-text .hsk-markdown-p:last-child{margin-bottom:0}.hsk-cb-ai-text .hsk-markdown-list{margin:0 0 10px;padding-inline-start:1.2em}.hsk-cb-ai-text .hsk-markdown-list:last-child{margin-bottom:0}.hsk-cb-ai-text .hsk-markdown-ul{list-style:disc outside}.hsk-cb-ai-text .hsk-markdown-ol{list-style:decimal outside}.hsk-cb-ai-text .hsk-markdown-list li{margin:0 0 7px;padding-left:3px;line-height:1.5}.hsk-cb-ai-text .hsk-markdown-list li:last-child{margin-bottom:0}.hsk-cb-ai-text .hsk-markdown-list li::marker{color:var(--hsk-primary,#ff6a33)}.hsk-cb-ai-text .hsk-markdown-h1,.hsk-cb-ai-text .hsk-markdown-h2,.hsk-cb-ai-text .hsk-markdown-h3{margin:14px 0 7px;font-weight:650;line-height:1.3;letter-spacing:-0.01em}.hsk-cb-ai-text .hsk-markdown-h1{font-size:1.09em}.hsk-cb-ai-text .hsk-markdown-h2{font-size:1.03em}.hsk-cb-ai-text .hsk-markdown-h3{font-size:1em}.hsk-cb-ai-text>:first-child{margin-top:0}.hsk-markdown-table{width:max-content;min-width:100%;border-collapse:collapse;border-spacing:0;text-align:start;font-size:13px;background:transparent;margin:0;border:none;font-variant-numeric:tabular-nums}.hsk-markdown-table th{padding:8px 16px 6px 16px;vertical-align:bottom;line-height:1.35;font-weight:600;font-size:12px;text-transform:uppercase;letter-spacing:.04em;white-space:nowrap;color:var(--hsk-chat-muted,rgba(0,0,0,.55));border-bottom:1px solid var(--hsk-chat-divide,rgba(0,0,0,.1));background:transparent !important}.hsk-markdown-table td{padding:8px 16px 8px 16px;vertical-align:middle;line-height:1.45;font-size:13px;white-space:nowrap;color:var(--hsk-chat-text,inherit);border-bottom:.5px solid var(--hsk-chat-divide,rgba(0,0,0,.06));background:transparent !important}.hsk-markdown-table th:first-child,.hsk-markdown-table td:first-child{padding-inline-start:0;font-weight:590;white-space:normal;max-width:280px;min-width:150px;line-height:1.35}.hsk-markdown-table th:last-child,.hsk-markdown-table td:last-child{padding-inline-end:0}.hsk-markdown-table tbody tr:last-child td{border-bottom:none}.hsk-markdown-table td *{color:inherit}.hsk-markdown-table .hsk-markdown-link{display:inline-flex;align-items:center;padding:2px 8px;background-color:var(--hsk-chat-source-bg,rgba(0,0,0,.04));border:1px solid var(--hsk-chat-divide,rgba(0,0,0,.08));color:var(--hsk-primary,#ff6a33);font-size:12px;font-weight:500;border-radius:6px;text-decoration:none !important;margin:2px 0;transition:opacity .15s ease}.hsk-markdown-table .hsk-markdown-link:hover{opacity:.8}@media (prefers-color-scheme:dark){.hsk-markdown-table th{color:var(--hsk-chat-muted,rgba(255,255,255,.5));border-bottom-color:var(--hsk-chat-divide,rgba(255,255,255,.1))}.hsk-markdown-table td{color:var(--hsk-chat-text,#f0efed);border-bottom-color:var(--hsk-chat-divide,rgba(255,255,255,.06))}}.hsk-markdown-link{color:var(--hsk-primary,#ff6a33);text-decoration:underline;text-underline-offset:2px}.hsk-markdown-code{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace,var(--hsk-font);font-size:.85em;background-color:rgba(128,128,128,.15);padding:.2em .4em;border-radius:var(--hsk-border-radius,0);color:inherit;word-break:break-word}.hsk-markdown-img-block{margin:8px 0;line-height:0}.hsk-markdown-img{display:block;max-width:100%;width:auto;max-height:220px;border-radius:10px;box-shadow:0 2px 12px rgba(0,0,0,.18);object-fit:cover;background:rgba(128,128,128,.08)}.hsk-sp-item-original-price{font-size:12px;text-decoration:line-through;color:var(--hsk-modal-muted,#888);margin-left:6px}.hsk-sp-item-discount{font-size:11px;font-weight:600;color:#10b981;margin-left:6px}.hsk-sp-item-meta-badges{display:flex;flex-wrap:wrap;gap:8px;margin-top:6px}.hsk-sp-meta-badge{font-size:11px;font-weight:500;padding:3px 8px;border-radius:var(--hsk-border-radius,0);background:var(--hsk-modal-item-bg,#f8f9fa);border:1px solid var(--hsk-modal-divide,#f1f3f4);color:var(--hsk-modal-muted,#5f6368)}.hsk-sp-meta-badge-rating{color:#f59e0b;background:rgba(245,158,11,.08);border-color:rgba(245,158,11,.2)}.hsk-sp-meta-badge-avail.in-stock{color:#10b981;background:rgba(16,185,129,.08);border-color:rgba(16,185,129,.2)}.hsk-sp-meta-badge-avail.out-stock{color:#ef4444;background:rgba(239,68,68,.08);border-color:rgba(239,68,68,.2)}.hsk-sp-item-brand{font-size:11px;font-weight:700;color:var(--hsk-modal-muted,#888);text-transform:uppercase;letter-spacing:.05em;margin-bottom:-2px}.hsk-chat-widget::-webkit-scrollbar,.hsk-sp-card::-webkit-scrollbar,.hsk-cb-msgs::-webkit-scrollbar,.hsk-sp-details-pane::-webkit-scrollbar,.hsk-sp-results::-webkit-scrollbar,.hsk-chat-messages::-webkit-scrollbar{width:3px;height:3px}.hsk-chat-widget::-webkit-scrollbar-track,.hsk-sp-card::-webkit-scrollbar-track,.hsk-cb-msgs::-webkit-scrollbar-track,.hsk-sp-details-pane::-webkit-scrollbar-track,.hsk-sp-results::-webkit-scrollbar-track,.hsk-chat-messages::-webkit-scrollbar-track{background:transparent}.hsk-chat-widget::-webkit-scrollbar-thumb,.hsk-sp-card::-webkit-scrollbar-thumb,.hsk-cb-msgs::-webkit-scrollbar-thumb,.hsk-sp-details-pane::-webkit-scrollbar-thumb,.hsk-sp-results::-webkit-scrollbar-thumb,.hsk-chat-messages::-webkit-scrollbar-thumb{background:rgba(0,0,0,.06);border-radius:99px;transition:background .2s ease}.hsk-chat-widget::-webkit-scrollbar-thumb:hover,.hsk-cb-msgs::-webkit-scrollbar-thumb:hover{background:rgba(0,0,0,.15)}@media (prefers-color-scheme:dark){.hsk-chat-widget::-webkit-scrollbar-thumb,.hsk-sp-card::-webkit-scrollbar-thumb,.hsk-cb-msgs::-webkit-scrollbar-thumb,.hsk-sp-details-pane::-webkit-scrollbar-thumb,.hsk-sp-results::-webkit-scrollbar-thumb,.hsk-chat-messages::-webkit-scrollbar-thumb{background:rgba(255,255,255,.08)}.hsk-chat-widget::-webkit-scrollbar-thumb:hover,.hsk-cb-msgs::-webkit-scrollbar-thumb:hover{background:rgba(255,255,255,.2)}}.hsk-sp-details-pane,.hsk-sp-results,.hsk-chat-messages{scrollbar-width:thin;scrollbar-color:rgba(0,0,0,.06) transparent}@media (prefers-color-scheme:dark){.hsk-sp-details-pane,.hsk-sp-results,.hsk-chat-messages{scrollbar-color:rgba(255,255,255,.08) transparent}}.hsk-sp-specs-horizontal{display:flex;flex-wrap:wrap;gap:8px;margin-top:12px}.hsk-sp-spec-item-horizontal{display:inline-flex;align-items:center;gap:6px;padding:4px 10px;background:var(--hsk-modal-item-bg,#f8f9fa);border:1px solid var(--hsk-modal-divide,#f1f3f4);border-radius:var(--hsk-border-radius,0);font-size:11px}.hsk-sp-spec-label-horizontal{font-weight:500;color:var(--hsk-modal-muted,#888)}.hsk-sp-spec-value-horizontal{font-weight:600;color:var(--hsk-modal-text,#1f1f1f)}@media (prefers-color-scheme:dark){.hsk-sp-spec-item-horizontal{background:#1a1a1b;border-color:#202124}}.hsk-cb-phone-form{display:flex;flex-direction:column;gap:8px;margin-top:8px}.hsk-cb-phone-label{font-size:.875rem;color:var(--hsk-chat-text,#111);margin:0}.hsk-cb-phone-input{width:100%;box-sizing:border-box;padding:8px 12px;border:1px solid var(--hsk-chat-divide,rgba(0,0,0,.12));border-radius:var(--hsk-border-radius,0);background:var(--hsk-chat-input-bg,rgba(0,0,0,.04));color:var(--hsk-chat-text,#111);font-size:.9rem;outline:none;transition:border-color .15s}.hsk-cb-phone-input::placeholder{color:var(--hsk-chat-muted,#888)}.hsk-cb-phone-input:focus{border-color:var(--hsk-primary,#ff6a33)}.hsk-cb-phone-submit{align-self:flex-start;padding:8px 16px;border:1px solid var(--hsk-chat-divide,rgba(0,0,0,.12));border-radius:var(--hsk-border-radius,0);background:transparent;color:var(--hsk-chat-text,#111);font-size:.875rem;font-weight:500;cursor:pointer;transition:background .15s,border-color .15s,color .15s}.hsk-cb-phone-submit:hover{border-color:var(--hsk-primary,#ff6a33);color:var(--hsk-primary,#ff6a33)}.hsk-cb-main{flex:1;min-width:0;display:flex;flex-direction:column;height:100%;overflow:hidden}@keyframes hsk-fade-in-up{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}.hsk-action-pills{display:flex;flex-wrap:wrap;gap:6px;margin-top:10px;animation:hsk-fade-in-up .35s ease .1s both}.hsk-action-pill{display:inline-flex;align-items:center;gap:5px;padding:6px 12px;border-radius:20px;border:1px solid var(--hsk-chat-divide,rgba(0,0,0,.12));background:var(--hsk-pill-bg,rgba(255,255,255,.8));color:var(--hsk-chat-text,#1f1f1f);font-size:12px;font-weight:500;cursor:pointer;font-family:inherit;transition:all .15s;white-space:nowrap;backdrop-filter:blur(4px)}.hsk-action-pill:hover:not(:disabled){border-color:var(--hsk-primary,#ff6a33);background:color-mix(in srgb,var(--hsk-primary,#ff6a33) 8%,transparent);color:var(--hsk-primary,#ff6a33);transform:translateY(-1px);box-shadow:0 2px 8px rgba(0,0,0,.08)}.hsk-action-pill:disabled{opacity:.4;cursor:not-allowed}.hsk-pill-emoji{font-size:13px;line-height:1}@media (prefers-color-scheme:dark){.hsk-action-pill{--hsk-pill-bg:rgba(40,40,42,.85);border-color:rgba(255,255,255,.1);color:var(--hsk-chat-text,#e8eaed)}}[data-hsk-theme="dark"] .hsk-action-pill{--hsk-pill-bg:rgba(40,40,42,.85);border-color:rgba(255,255,255,.1);color:var(--hsk-chat-text,#e8eaed)}.hsk-sp-tabs-mobile{display:none}@media (max-width:768px){.hsk-sp-tabs-mobile{display:flex;border-bottom:1px solid var(--hsk-modal-divide,#f1f3f4);background:var(--hsk-modal-card-bg,#ffffff);flex-shrink:0}.hsk-sp-tab-btn{flex:1;padding:12px 8px;background:none;border:none;border-bottom:2px solid transparent;font-size:13px;font-weight:600;color:var(--hsk-modal-muted,#5f6368);cursor:pointer;text-align:center;transition:all .15s;font-family:inherit}.hsk-sp-tab-btn.active{color:var(--hsk-primary);border-bottom-color:var(--hsk-primary)}.hsk-sp-pane-hidden-mobile{display:none !important}.hsk-sp-details-pane,.hsk-sp-chat-pane{flex:1 !important;height:100% !important;max-height:none !important}}@media (max-width:768px){.hsk-sp-header-title-row{display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%}.hsk-sp-header-specs-btn{flex-shrink:0;padding:4px 10px;font-size:11px;font-weight:600;color:var(--hsk-modal-muted,#5f6368);background:var(--hsk-action-sec-bg,#f1f3f4);border:1px solid var(--hsk-modal-divide,#f1f3f4);border-radius:20px;cursor:pointer;font-family:inherit;transition:all .2s ease}.hsk-sp-header-specs-btn:hover{background:var(--hsk-action-sec-bg-hover,#e8eaed);color:var(--hsk-primary)}.hsk-sp-mobile-attachment-deck{margin-top:10px;display:flex;flex-direction:column;gap:10px;width:100%}.hsk-sp-mobile-main-card{display:flex;align-items:center;gap:12px;padding:10px 12px;background:var(--hsk-modal-item-bg,#f8f9fa);border:1px solid var(--hsk-modal-divide,#f1f3f4);border-radius:8px;width:100%;box-sizing:border-box}.hsk-sp-mobile-main-card-img{width:44px;height:44px;flex-shrink:0;border:1px solid var(--hsk-modal-divide,#f1f3f4);border-radius:6px;background:#ffffff;display:flex;align-items:center;justify-content:center;padding:3px;overflow:hidden}.hsk-sp-mobile-main-card-img img{max-width:100%;max-height:100%;object-fit:contain}.hsk-sp-mobile-main-card-info{flex:1;min-width:0}.hsk-sp-mobile-main-card-brand{font-size:9px;font-weight:700;color:var(--hsk-modal-muted,#888);text-transform:uppercase;letter-spacing:.05em;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.hsk-sp-mobile-main-card-name{font-size:13px;font-weight:600;color:var(--hsk-modal-text,#1f1f1f);line-height:1.3;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin-top:1px}.hsk-sp-mobile-main-card-price{font-size:12px;font-weight:700;color:var(--hsk-primary);margin-top:1px}.hsk-sp-mobile-main-card-specs-btn{padding:5px 10px;font-size:11px;font-weight:600;color:var(--hsk-primary);background:transparent;border:1px solid var(--hsk-primary);border-radius:4px;cursor:pointer;font-family:inherit;transition:all .2s ease}.hsk-sp-mobile-main-card-specs-btn:hover{background:var(--hsk-primary);color:#ffffff}.hsk-sp-mobile-similar-carousel-inline{display:flex;flex-direction:column;gap:6px;width:100%}.hsk-sp-mobile-similar-carousel-title{font-size:10px;font-weight:700;color:var(--hsk-modal-muted,#888);text-transform:uppercase;letter-spacing:.05em;padding-left:2px}.hsk-sp-mobile-similar-carousel-list{display:flex;gap:8px;overflow-x:auto;scrollbar-width:none;-webkit-overflow-scrolling:touch;padding-bottom:2px}.hsk-sp-mobile-similar-carousel-list::-webkit-scrollbar{display:none}.hsk-sp-mobile-similar-carousel-item{flex:0 0 160px;display:flex;align-items:center;gap:8px;padding:6px 8px;background:var(--hsk-modal-item-bg,#f8f9fa);border:1px solid var(--hsk-modal-divide,#f1f3f4);border-radius:6px;cursor:pointer;box-sizing:border-box;transition:transform .15s ease,border-color .15s ease}.hsk-sp-mobile-similar-carousel-item:hover{border-color:var(--hsk-primary)}.hsk-sp-mobile-similar-carousel-img{width:32px;height:32px;flex-shrink:0;border-radius:4px;background:#ffffff;border:1px solid var(--hsk-modal-divide,#f1f3f4);display:flex;align-items:center;justify-content:center;padding:2px;overflow:hidden}.hsk-sp-mobile-similar-carousel-img img{max-width:100%;max-height:100%;object-fit:contain}.hsk-sp-mobile-similar-carousel-meta{flex:1;min-width:0;display:flex;flex-direction:column;justify-content:center}.hsk-sp-mobile-similar-carousel-name{font-size:11px;font-weight:600;color:var(--hsk-modal-text,#1f1f1f);line-height:1.25;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.hsk-sp-mobile-similar-carousel-price{font-size:10px;font-weight:700;color:var(--hsk-primary);margin-top:1px}.hsk-sp-mobile-chat-container{flex:1;display:flex;flex-direction:column;overflow:hidden;background:var(--hsk-chat-bg,#ffffff)}.hsk-sp-mobile-specs-overlay{position:fixed;inset:0;z-index:100000;background:rgba(0,0,0,.4);display:flex;align-items:flex-end;animation:hsk-bd-in .2s ease-out}.hsk-sp-mobile-specs-drawer{width:100%;background:var(--hsk-modal-card-bg,#ffffff);border-top-left-radius:12px;border-top-right-radius:12px;max-height:70vh;display:flex;flex-direction:column;animation:hsk-drawer-in .25s cubic-bezier(0,0,.2,1);box-shadow:0 -8px 24px rgba(0,0,0,.15)}@keyframes hsk-drawer-in{from{transform:translateY(100%)}to{transform:translateY(0)}}.hsk-sp-mobile-specs-header{display:flex;justify-content:space-between;align-items:center;padding:14px 16px;border-bottom:1px solid var(--hsk-modal-divide,#f1f3f4)}.hsk-sp-mobile-specs-header h3{margin:0;font-size:14px;font-weight:700;color:var(--hsk-modal-text,#1f1f1f)}.hsk-sp-mobile-specs-header button{background:none;border:none;font-size:12px;font-weight:600;color:var(--hsk-primary);cursor:pointer;font-family:inherit}.hsk-sp-mobile-specs-body{flex:1;overflow-y:auto;padding:16px;display:flex;flex-direction:column;gap:16px}.hsk-sp-mobile-specs-title{font-size:15px;font-weight:700;color:var(--hsk-modal-text,#1f1f1f);margin:0}.hsk-sp-mobile-specs-desc h5,.hsk-sp-mobile-specs-list h5{margin:0 0 6px 0;font-size:11px;font-weight:700;color:var(--hsk-modal-muted,#888);text-transform:uppercase;letter-spacing:.05em}.hsk-sp-mobile-specs-desc p{margin:0;font-size:13px;line-height:1.5;color:var(--hsk-modal-text,#333)}.hsk-sp-mobile-specs-list{display:flex;flex-direction:column;gap:8px}.hsk-sp-mobile-spec-row{display:flex;justify-content:space-between;padding:8px 10px;background:var(--hsk-modal-item-bg,#f8f9fa);border:1px solid var(--hsk-modal-divide,#f1f3f4);border-radius:var(--hsk-border-radius,4px);font-size:12px;gap:12px}.hsk-sp-mobile-spec-label{color:var(--hsk-modal-muted,#5f6368);font-weight:500}.hsk-sp-mobile-spec-value{color:var(--hsk-modal-text,#1f1f1f);font-weight:600;text-align:right}}@media (prefers-color-scheme:dark){.hsk-sp-mobile-main-card{background:#0a0a0a !important}.hsk-sp-mobile-main-card-img{background:#1a1a1b !important}.hsk-sp-mobile-similar-carousel-item{background:#0a0a0a !important}.hsk-sp-mobile-similar-carousel-img{background:#1a1a1b !important}.hsk-sp-mobile-specs-drawer{background:#0a0a0a !important}.hsk-sp-mobile-spec-row{background:#1a1a1b !important}}.kiku-voice-btn{position:relative;display:inline-flex;align-items:center;justify-content:center;width:36px;height:36px;border-radius:50%;border:none;background:transparent;color:var(--hsk-text-muted,#888);cursor:pointer;transition:color .2s,background .2s;flex-shrink:0}.kiku-voice-btn:hover{background:var(--hsk-hover-bg,rgba(0,0,0,.06));color:var(--hsk-primary,#6c47ff)}.kiku-voice-btn--active{color:#ef4444;background:rgba(239,68,68,.1)}.kiku-voice-btn:disabled{opacity:.4;cursor:not-allowed}.kiku-voice-ripple{position:absolute;inset:-4px;border-radius:50%;border:2px solid #ef4444;animation:kiku-voice-pulse 1.2s ease-out infinite;pointer-events:none}@keyframes kiku-voice-pulse{0%{transform:scale(1);opacity:1}100%{transform:scale(1.6);opacity:0}}.kiku-vs-btn{display:inline-flex;align-items:center;justify-content:center;width:36px;height:36px;border-radius:50%;border:none;background:transparent;color:var(--hsk-text-muted,#888);cursor:pointer;transition:color .2s,background .2s;flex-shrink:0}.kiku-vs-btn:hover{background:var(--hsk-hover-bg,rgba(0,0,0,.06));color:var(--hsk-primary,#6c47ff)}.kiku-vs-btn--loading{opacity:.6;pointer-events:none}@keyframes kiku-vs-rotate{from{transform:rotate(0deg)}to{transform:rotate(360deg)}}.kiku-vs-spin{animation:kiku-vs-rotate .8s linear infinite}.kiku-style-tags{display:flex;flex-wrap:wrap;gap:4px;margin-top:6px}.kiku-style-tag{display:inline-flex;align-items:center;gap:3px;padding:2px 8px;border-radius:99px;background:var(--hsk-primary-alpha,rgba(108,71,255,.1));color:var(--hsk-primary,#6c47ff);font-size:11px;font-weight:500;white-space:nowrap}.kiku-vs-preview-banner{display:flex;align-items:center;gap:10px;padding:10px 14px;background:var(--hsk-surface,#f9f9f9);border-radius:10px;margin-bottom:12px;border:1px solid var(--hsk-border,#e5e5e5)}.kiku-vs-preview-img{width:44px;height:44px;object-fit:cover;border-radius:8px;flex-shrink:0}.kiku-vs-preview-info{flex:1;min-width:0}.kiku-vs-preview-label{font-size:11px;color:var(--hsk-text-muted,#888);margin-bottom:2px}.kiku-vs-preview-palette{font-size:13px;font-weight:600;color:var(--hsk-text,#1a1a1a);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.kiku-voice-btn{position:relative;display:inline-flex;align-items:center;justify-content:center;width:36px;height:36px;border-radius:50%;border:none;background:transparent;color:var(--hsk-text-muted,#888);cursor:pointer;transition:color .2s,background .2s;flex-shrink:0}.kiku-voice-btn:hover{background:var(--hsk-hover-bg,rgba(0,0,0,.06));color:var(--hsk-primary,#ff6a33)}.kiku-voice-btn--active{color:#ef4444;background:rgba(239,68,68,.1)}.kiku-voice-btn:disabled{opacity:.4;cursor:not-allowed}.kiku-voice-ripple{position:absolute;inset:-4px;border-radius:50%;border:2px solid #ef4444;animation:kiku-voice-pulse 1.2s ease-out infinite;pointer-events:none}@keyframes kiku-voice-pulse{0%{transform:scale(1);opacity:1}100%{transform:scale(1.7);opacity:0}}.kiku-vs-btn{display:inline-flex;align-items:center;justify-content:center;width:36px;height:36px;border-radius:50%;border:none;background:transparent;color:var(--hsk-text-muted,#888);cursor:pointer;transition:color .2s,background .2s;flex-shrink:0}.kiku-vs-btn:hover{background:var(--hsk-hover-bg,rgba(0,0,0,.06));color:var(--hsk-primary,#ff6a33)}.kiku-vs-btn--loading{opacity:.6;pointer-events:none}@keyframes kiku-vs-rotate{from{transform:rotate(0deg)}to{transform:rotate(360deg)}}.kiku-vs-spin{animation:kiku-vs-rotate .8s linear infinite}.kiku-style-tags{display:flex;flex-wrap:wrap;gap:4px;margin-top:6px}.kiku-style-tag{display:inline-flex;align-items:center;gap:3px;padding:2px 8px;border-radius:99px;background:rgba(255,106,51,.1);color:var(--hsk-primary,#ff6a33);font-size:11px;font-weight:500;white-space:nowrap}.kiku-vs-preview-banner{display:flex;align-items:center;gap:10px;padding:10px 14px;background:var(--hsk-surface,#f9f9f9);border-radius:10px;margin-bottom:12px;border:1px solid var(--hsk-border,#e5e5e5);animation:hsk-msg-in .22s ease-out both}.kiku-vs-preview-img{width:44px;height:44px;object-fit:cover;border-radius:8px;flex-shrink:0}.kiku-vs-preview-info{flex:1;min-width:0}.kiku-vs-preview-label{font-size:11px;color:var(--hsk-text-muted,#888);margin-bottom:2px}.kiku-vs-preview-palette{font-size:13px;font-weight:600;color:var(--hsk-text,#1a1a1a);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.hsk-cb-source--referenced{}.hsk-source-card--referenced{}.hsk-cb-source-ref-badge{position:absolute;top:6px;right:6px;background:#fbbf24;color:#fff;border-radius:50%;width:20px;height:20px;display:flex;align-items:center;justify-content:center;box-shadow:0 2px 4px rgba(0,0,0,.15);z-index:10;animation:hsk-badge-pop .3s cubic-bezier(.34,1.56,.64,1) both}@keyframes hsk-badge-pop{from{transform:scale(0);opacity:0}to{transform:scale(1);opacity:1}}.hsk-sources-group-title{font-size:11px;font-weight:700;letter-spacing:.05em;text-transform:uppercase;color:#888;margin:14px 0 8px 0;display:flex;align-items:center;gap:4px}.hsk-kiku-badge{display:inline-flex;align-items:center;gap:3px;font-size:13px;font-weight:700;letter-spacing:-0.01em;color:#ffffff;background:rgba(255,255,255,.28);border:1px solid rgba(255,255,255,.45);padding:2px 8px;border-radius:8px;margin-inline-end:8px;vertical-align:middle;position:relative;top:-1px;box-shadow:0 1px 3px rgba(0,0,0,.12)}.hsk-markdown-img,.hsk-cb-user-img-thumb,.hsk-cb-source .hsk-cb-src-imgwrap img{cursor:zoom-in}.hsk-lightbox{position:fixed;inset:0;z-index:999999;background:rgba(0,0,0,.85);display:flex;align-items:center;justify-content:center;padding:24px;animation:hsk-lightbox-in .15s ease-out both;cursor:zoom-out}@keyframes hsk-lightbox-in{from{opacity:0}to{opacity:1}}.hsk-lightbox-img{max-width:100%;max-height:100%;width:auto;height:auto;object-fit:contain;border-radius:4px;cursor:default}.hsk-lightbox-close{position:absolute;top:16px;right:16px;width:36px;height:36px;border-radius:50%;border:none;background:rgba(255,255,255,.15);color:#fff;display:flex;align-items:center;justify-content:center;cursor:pointer;transition:background .15s}.hsk-lightbox-close:hover{background:rgba(255,255,255,.28)}.hsk-cb-viz{margin-top:10px;animation:hsk-msg-in .2s ease-out both}.hsk-cb-viz img,.hsk-cb-viz video{width:100%;max-width:420px;border-radius:8px;display:block}.hsk-cb-viz-disclaimer{max-width:420px;margin-top:4px;font-size:11px;line-height:1.4;color:var(--hsk-chat-muted,#9aa0a6)}.hsk-cb-calc-disclaimer{max-width:440px;margin-top:8px;padding:8px 12px;font-size:11.5px;line-height:1.45;color:var(--hsk-chat-muted,rgba(255,255,255,.65));background:var(--hsk-chat-callout-bg,rgba(255,255,255,.04));border:1px solid var(--hsk-border-subtle,rgba(255,255,255,.08));border-radius:8px}[data-hsk-theme="light"] .hsk-cb-calc-disclaimer{color:rgba(0,0,0,.6);background:rgba(0,0,0,.03);border-color:rgba(0,0,0,.08)}.hsk-cb-stale{max-width:420px;margin-top:8px;padding:8px 10px;border:1px solid rgba(220,38,38,.35);border-left-width:3px;border-radius:6px;background:rgba(220,38,38,.06)}.hsk-cb-stale-title{font-size:11px;font-weight:700;letter-spacing:.04em;text-transform:uppercase;color:#dc2626}.hsk-cb-stale-item{margin-top:3px;font-size:12px;line-height:1.45;color:var(--hsk-chat-text,#202124)}.hsk-cb-stale-reason{color:var(--hsk-chat-muted,#9aa0a6)}.hsk-cb-viz-imgwrap{position:relative;display:inline-block;max-width:100%}.hsk-cb-viz-mark{position:absolute;right:10px;bottom:10px;display:inline-flex;align-items:center;gap:6px;padding:8px 14px;font-size:13px;font-weight:600;color:#fff;background:rgba(0,0,0,.62);backdrop-filter:blur(6px);border:1px solid rgba(255,255,255,.35);border-radius:999px;cursor:pointer;transition:background .15s}.hsk-cb-viz-mark:hover{background:var(--hsk-primary,#ff6a33);border-color:transparent}.hsk-markup-overlay{position:fixed;inset:0;z-index:999999;background:rgba(0,0,0,.88);display:flex;align-items:center;justify-content:center;padding:16px;animation:hsk-lightbox-in .15s ease-out both}.hsk-markup{display:flex;flex-direction:column;gap:12px;width:min(720px,100%);max-height:100%;overflow-y:auto}.hsk-markup-head{display:flex;align-items:center;justify-content:space-between}.hsk-markup-title{font-size:14px;font-weight:600;color:#fff}.hsk-markup-cancel{padding:6px 12px;font-size:12px;font-weight:600;color:#fff;background:rgba(255,255,255,.12);border:none;border-radius:var(--hsk-border-radius,0);cursor:pointer}.hsk-markup-cancel:hover{background:rgba(255,255,255,.22)}.hsk-markup-stage{display:flex;justify-content:center}.hsk-markup-canvas-wrap{position:relative;max-width:100%}.hsk-markup-canvas{display:block;max-width:100%;max-height:60vh;border-radius:var(--hsk-border-radius,0);touch-action:none}.hsk-markup-canvas--pen,.hsk-markup-canvas--eraser{cursor:crosshair}.hsk-markup-canvas--text{cursor:text}.hsk-markup-textinput{position:absolute;transform:translateY(-100%);min-width:140px;padding:4px 6px;font-size:14px;font-weight:600;background:rgba(0,0,0,.55);border:1px dashed rgba(255,255,255,.6);border-radius:4px;outline:none}.hsk-markup-loading,.hsk-markup-error{padding:40px 16px;font-size:13px;color:rgba(255,255,255,.75);text-align:center}.hsk-markup-tools{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}.hsk-markup-colors{display:flex;gap:8px}.hsk-markup-color{width:22px;height:22px;border-radius:50%;border:2px solid transparent;cursor:pointer;padding:0}.hsk-markup-color--on{border-color:#fff;transform:scale(1.15)}.hsk-markup-actions{display:flex;gap:6px}.hsk-markup-tool{padding:6px 11px;font-size:12px;font-weight:600;color:#fff;background:rgba(255,255,255,.12);border:none;border-radius:var(--hsk-border-radius,0);cursor:pointer}.hsk-markup-tool:hover:not(:disabled){background:rgba(255,255,255,.22)}.hsk-markup-tool--on{background:var(--hsk-primary,#ff6a33)}.hsk-markup-tool--on:hover:not(:disabled){background:var(--hsk-primary,#ff6a33)}.hsk-markup-tool:disabled{opacity:.4;cursor:default}.hsk-markup-send{display:flex;gap:8px}.hsk-markup-instruction{flex:1;min-width:0;padding:10px 12px;font-size:14px;color:#fff;background:rgba(255,255,255,.1);border:1px solid rgba(255,255,255,.25);border-radius:var(--hsk-border-radius,0);outline:none}.hsk-markup-instruction::placeholder{color:rgba(255,255,255,.5)}.hsk-markup-instruction:focus{border-color:var(--hsk-primary,#ff6a33)}.hsk-markup-go{padding:10px 20px;font-size:13px;font-weight:600;color:#fff;background:var(--hsk-primary,#ff6a33);border:none;border-radius:var(--hsk-border-radius,0);cursor:pointer}.hsk-markup-go:hover:not(:disabled){opacity:.9}.hsk-markup-go:disabled{opacity:.45;cursor:default}.hsk-cb-kimgs{margin-top:10px;display:flex;flex-direction:column;gap:10px;animation:hsk-msg-in .2s ease-out both}.hsk-cb-kimg-grid{display:flex;flex-wrap:wrap;gap:6px}.hsk-cb-kimg{width:132px;height:132px;object-fit:cover;border-radius:8px;cursor:zoom-in;border:1px solid var(--hsk-chat-border,rgba(0,0,0,.08))}.hsk-cb-kimg:only-child{width:100%;max-width:320px;height:auto}.hsk-cb-kimg-caption{margin-top:4px;font-size:11px;line-height:1.4;color:var(--hsk-chat-muted,#9aa0a6)}.hsk-cb-viz--loading{display:flex;align-items:center;gap:8px;font-size:12px;color:var(--hsk-chat-muted,#888);padding:10px 0}.hsk-cb-viz-spinner{width:14px;height:14px;border-radius:50%;border:2px solid var(--hsk-chat-divide,rgba(0,0,0,.15));border-top-color:var(--hsk-primary,#ff6a33);animation:hsk-viz-spin .7s linear infinite}@keyframes hsk-viz-spin{to{transform:rotate(360deg)}}.hsk-cb-panel[data-script="nonlatin"][data-host-font="gap"]{--hsk-font:"Geist",system-ui,-apple-system,'Segoe UI',Roboto,'Noto Sans',sans-serif}.hsk-cb-panel[data-script="nonlatin"],.hsk-cb-panel[data-script="nonlatin"] *{letter-spacing:normal;font-family:var(--hsk-font)}.hsk-cb-panel[data-script="nonlatin"] .hsk-cb-hello,.hsk-cb-panel[data-script="nonlatin"] .hsk-cb-hello-lead,.hsk-cb-panel[data-script="nonlatin"] .hsk-cb-hello-ask,.hsk-cb-panel[data-script="nonlatin"] .hsk-cb-ai-text,.hsk-cb-panel[data-script="nonlatin"] .hsk-cb-user-bubble,.hsk-cb-panel[data-script="nonlatin"] .hsk-cb-hint,.hsk-cb-panel[data-script="nonlatin"] .hsk-cb-chip,.hsk-cb-panel[data-script="nonlatin"] .hsk-cb-topbar-btn,.hsk-cb-panel[data-script="nonlatin"] .hsk-cb-textarea,.hsk-cb-panel[data-script="nonlatin"] .hsk-cb-entlang-opt-title,.hsk-cb-panel[data-script="nonlatin"] .hsk-cb-entlang-opt-note,.hsk-cb-panel[data-script="nonlatin"] .hsk-cb-ai-text .hsk-markdown-list li,.hsk-cb-panel[data-script="nonlatin"] .hsk-cb-ai-text .hsk-markdown-h1,.hsk-cb-panel[data-script="nonlatin"] .hsk-cb-ai-text .hsk-markdown-h2,.hsk-cb-panel[data-script="nonlatin"] .hsk-cb-ai-text .hsk-markdown-h3,.hsk-cb-panel[data-script="nonlatin"] .hsk-markdown-table th,.hsk-cb-panel[data-script="nonlatin"] .hsk-markdown-table td{line-height:1.9}.hsk-cb-panel[data-script="nonlatin"] .hsk-cb-hint{font-size:11px;line-height:16px;bottom:4px}.hsk-cb-panel[data-script="nonlatin"] .hsk-cb-voice-error{font-size:12px;line-height:22px;max-width:30ch}.hsk-cb-panel[data-script="nonlatin"] .hsk-cb-hello{font-size:clamp(20px,3.4vw,26px);line-height:1.5;text-wrap:balance;overflow-wrap:break-word}.hsk-cb-panel[data-script="nonlatin"] .hsk-cb-hello-ask{font-size:15px;line-height:1.75}.hsk-cb-panel[data-script="nonlatin"] .hsk-cb-hello-wrap{max-width:100%;min-width:0}.hsk-cb-panel[data-script="nonlatin"] .hsk-cascade__w{white-space:normal}.hsk-cb-panel[data-nastaliq="true"] .hsk-cb-hello,.hsk-cb-panel[data-nastaliq="true"] .hsk-cb-hello-lead,.hsk-cb-panel[data-nastaliq="true"] .hsk-cb-hello-ask,.hsk-cb-panel[data-nastaliq="true"] .hsk-cb-ai-text,.hsk-cb-panel[data-nastaliq="true"] .hsk-cb-user-bubble,.hsk-cb-panel[data-nastaliq="true"] .hsk-cb-hint,.hsk-cb-panel[data-nastaliq="true"] .hsk-cb-chip,.hsk-cb-panel[data-nastaliq="true"] .hsk-cb-topbar-btn,.hsk-cb-panel[data-nastaliq="true"] .hsk-cb-textarea,.hsk-cb-panel[data-nastaliq="true"] .hsk-cb-entlang-opt-title,.hsk-cb-panel[data-nastaliq="true"] .hsk-cb-entlang-opt-note,.hsk-cb-panel[data-nastaliq="true"] .hsk-cb-ai-text .hsk-markdown-list li,.hsk-cb-panel[data-nastaliq="true"] .hsk-cb-ai-text .hsk-markdown-h1,.hsk-cb-panel[data-nastaliq="true"] .hsk-cb-ai-text .hsk-markdown-h2,.hsk-cb-panel[data-nastaliq="true"] .hsk-cb-ai-text .hsk-markdown-h3,.hsk-cb-panel[data-nastaliq="true"] .hsk-markdown-table th,.hsk-cb-panel[data-nastaliq="true"] .hsk-markdown-table td{line-height:2.2}.hsk-cb-panel[data-script="nonlatin"] .hsk-cb-chip{font-size:14px}.hsk-cb-panel[data-script="nonlatin"] .hsk-cb-topbar-btn{height:auto;min-height:34px;padding:5px 14px}.hsk-cb-panel[data-script="nonlatin"] .hsk-cb-field{--hsk-input-line-height:1.9}.hsk-cb-panel[data-script="nonlatin"] .hsk-cb-textarea{min-height:34px}.hsk-cb-panel[data-nastaliq="true"] .hsk-cb-field{--hsk-input-line-height:2.2}.hsk-cb-panel[data-script="nonlatin"] .hsk-cb-user-bubble,.hsk-cb-panel[data-script="nonlatin"] .hsk-cb-ai-text{overflow-wrap:break-word;word-break:normal}.hsk-cb-viz-broken{font-size:13px;color:var(--hsk-chat-muted,#71717a);padding:14px 16px;border:1px dashed var(--hsk-chat-divide,rgba(0,0,0,.12));border-radius:12px}.hsk-msg-audio-btn{background:transparent;border:none;color:#888;cursor:pointer;padding:4px;border-radius:4px;display:inline-flex;align-items:center}.hsk-cb-voice-mode-btn{width:36px;height:36px;display:flex;align-items:center;justify-content:center;flex-shrink:0;padding:0;background:transparent;border:1px solid transparent;border-radius:12px;color:var(--hsk-chat-muted,#71717a);cursor:pointer;transition:all .2s cubic-bezier(.34,1.56,.64,1);font-family:inherit}.hsk-cb-voice-mode-btn:hover:not(:disabled),.hsk-cb-mic-btn:hover:not(:disabled){border-color:color-mix(in srgb,var(--hsk-primary,#ff6a33) 25%,transparent);color:var(--hsk-primary,#ff6a33);background:color-mix(in srgb,var(--hsk-primary,#ff6a33) 8%,transparent);transform:translateY(-1px)}.hsk-cb-voice-mode-btn:disabled{opacity:.35;cursor:not-allowed}.hsk-cb-voice-mode-btn--active,.hsk-cb-mic-btn--listening{color:var(--hsk-primary,#ff6a33);background:color-mix(in srgb,var(--hsk-primary,#ff6a33) 12%,transparent)}.hsk-cb-mic-btn--processing{color:var(--hsk-primary,#ff6a33);opacity:.7}.hsk-cb-panel[data-script="nonlatin"] .hsk-animated-placeholder[data-fit="2"]{--hsk-ph-font-size:13.5px}.hsk-cb-panel[data-script="nonlatin"] .hsk-animated-placeholder[data-fit="3"]{--hsk-ph-font-size:12px}.hsk-cb-panel[data-nastaliq="true"] .hsk-animated-placeholder[data-fit="1"]{--hsk-ph-font-size:15px}.hsk-cb-panel[data-nastaliq="true"] .hsk-animated-placeholder[data-fit="2"]{--hsk-ph-font-size:13px}.hsk-cb-panel[data-nastaliq="true"] .hsk-animated-placeholder[data-fit="3"]{--hsk-ph-font-size:11.5px}.hsk-cb-panel[data-script="nonlatin"] .hsk-animated-placeholder__char{line-height:1.35}.hsk-cb-panel[data-script] .hsk-cb-chrome-loading,.hsk-cb-panel[data-script] .hsk-cb-chrome-loading *{font-family:system-ui,-apple-system,'Segoe UI',Roboto,'Noto Sans',sans-serif}.hsk-voice-overlay{position:absolute;inset:0;z-index:30;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:clamp(12px,2.2vh,26px);padding:clamp(14px,2.5vh,24px);overflow-y:auto;overscroll-behavior:contain;background:var(--hsk-chat-bg,#ffffff);animation:hsk-voice-in .32s cubic-bezier(.2,.8,.2,1);will-change:opacity;contain:paint}.hsk-voice-overlay::before{content:'';position:absolute;inset:0;background:radial-gradient(42% 26% at 50% 40%,color-mix(in srgb,var(--hsk-primary,#ff6a33) 8%,transparent) 0,transparent 68%);pointer-events:none}.hsk-voice-overlay>*{position:relative}@keyframes hsk-voice-in{from{opacity:0}to{opacity:1}}.hsk-voice-allowance{position:absolute;top:14px;left:14px;display:flex;align-items:center;justify-content:center;min-width:36px;height:36px;padding:0 10px;font-size:12px;font-variant-numeric:tabular-nums;font-weight:600;border:1px solid color-mix(in srgb,var(--hsk-chat-text,#1f1f1f) 14%,transparent);border-radius:999px;color:var(--hsk-chat-muted,#71717a);transition:color .18s ease,border-color .18s ease}.hsk-voice-allowance--low{color:#dc2626;border-color:color-mix(in srgb,#dc2626 40%,transparent)}.hsk-voice-exit{position:absolute;top:14px;right:14px;display:flex;align-items:center;justify-content:center;width:36px;height:36px;padding:0;background:transparent;border:1px solid color-mix(in srgb,var(--hsk-chat-text,#1f1f1f) 14%,transparent);border-radius:999px;color:var(--hsk-chat-muted,#71717a);cursor:pointer;transition:color .18s ease,border-color .18s ease}.hsk-voice-exit:hover{color:var(--hsk-chat-text,#1f1f1f);border-color:color-mix(in srgb,var(--hsk-chat-text,#1f1f1f) 32%,transparent)}.hsk-voice-stage{width:min(560px,100%);height:clamp(110px,24vh,240px);flex:none}.hsk-voice-canvas{display:block;width:100%;height:100%}.hsk-voice-controls{display:flex;align-items:center;gap:12px}.hsk-voice-control{display:flex;align-items:center;justify-content:center;width:52px;height:52px;padding:0;background:var(--hsk-surface-2,rgba(255,255,255,.95));border:1px solid color-mix(in srgb,var(--hsk-chat-text,#000000) 10%,transparent);border-radius:999px;color:var(--hsk-chat-text,#1f1f1f);cursor:pointer;box-shadow:0 2px 12px rgba(0,0,0,.08),0 1px 3px rgba(0,0,0,.04);backdrop-filter:blur(16px);-webkit-backdrop-filter:blur(16px);transition:color .2s ease,border-color .2s ease,background .2s ease,transform .2s cubic-bezier(.16,1,.3,1),box-shadow .2s ease}.hsk-voice-control:hover{transform:scale(1.06);box-shadow:0 4px 18px rgba(0,0,0,.12)}.hsk-voice-control:active{transform:scale(.92);transition-duration:.08s}.hsk-voice-control--muted{color:var(--hsk-chat-muted,#888888);border-color:color-mix(in srgb,var(--hsk-chat-text,#000000) 12%,transparent);background:color-mix(in srgb,var(--hsk-chat-bg,#ffffff) 85%,transparent);box-shadow:0 1px 4px rgba(0,0,0,.04)}.hsk-voice-control-icon{display:inline-flex;align-items:center;justify-content:center;z-index:2;transition:transform .2s ease}@keyframes hsk-voice-icon-in{from{opacity:0;transform:scale(.6) rotate(-12deg)}to{opacity:1;transform:scale(1) rotate(0deg)}}@keyframes hsk-voice-control-pulse{0%{transform:scale(1);box-shadow:0 0 0 0 color-mix(in srgb,var(--hsk-primary,#ff6a33) 45%,transparent)}40%{transform:scale(1.08);box-shadow:0 0 0 8px color-mix(in srgb,var(--hsk-primary,#ff6a33) 0,transparent)}100%{transform:scale(1);box-shadow:0 0 0 0 transparent}}@media (prefers-reduced-motion:reduce){.hsk-voice-control-icon,.hsk-voice-control--muted{animation:none}}.hsk-voice-caption{display:flex;flex-direction:column;align-items:center;gap:10px;max-width:min(520px,100%);text-align:center}.hsk-voice-phase{font-family:var(--hsk-font);font-size:.72rem;font-weight:600;letter-spacing:.16em;text-transform:uppercase;color:var(--hsk-chat-muted,#71717a);transition:color .25s ease}.hsk-voice-phase--listening,.hsk-voice-phase--speaking{color:var(--hsk-primary,#ff6a33)}.hsk-voice-phase--thinking{animation:hsk-voice-breathe 1.6s ease-in-out infinite}@keyframes hsk-voice-breathe{0%,100%{opacity:.45}50%{opacity:1}}.hsk-voice-stage--connecting{opacity:.4;transition:opacity .25s ease}.hsk-voice-connecting{display:flex;align-items:center;gap:7px;font-family:var(--hsk-font);font-size:13px;color:var(--hsk-chat-muted,#8a8f98);animation:hsk-sent-in .2s ease-out both}.hsk-voice-connecting-dot{width:6px;height:6px;border-radius:999px;background:currentColor;animation:hsk-queued-pulse 1s ease-in-out infinite}@media (prefers-reduced-motion:reduce){.hsk-voice-connecting-dot{animation:none;opacity:.7}}.hsk-voice-heard{font-family:var(--hsk-font);font-size:1.05rem;line-height:1.5;color:var(--hsk-chat-text,#1f1f1f)}.hsk-voice-hint-sub{font-family:var(--hsk-font);font-size:14px;color:var(--hsk-chat-muted,#a1a1aa);line-height:1.4;opacity:.85}.hsk-voice-items{display:flex;flex-wrap:wrap;align-items:stretch;justify-content:center;gap:10px;width:min(620px,100%)}.hsk-voice-item{display:flex;flex-direction:column;align-items:flex-start;gap:6px;width:clamp(108px,30vw,132px);padding:8px;text-align:start;background:transparent;border:1px solid color-mix(in srgb,var(--hsk-chat-text,#1f1f1f) 10%,transparent);border-radius:12px;cursor:pointer;font-family:var(--hsk-font);animation:hsk-voice-item-in .34s cubic-bezier(.2,.8,.2,1) both;transition:border-color .18s ease,transform .18s ease}.hsk-voice-item:hover{border-color:color-mix(in srgb,var(--hsk-primary,#ff6a33) 45%,transparent);transform:translateY(-2px)}@keyframes hsk-voice-item-in{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:none}}.hsk-voice-item-img{width:100%;height:clamp(52px,8.5vh,78px);object-fit:cover;border-radius:8px;background:color-mix(in srgb,var(--hsk-chat-text,#1f1f1f) 5%,transparent)}.hsk-voice-item-img--empty{display:flex;align-items:center;justify-content:center;color:color-mix(in srgb,var(--hsk-chat-text,#1f1f1f) 30%,transparent)}.hsk-voice-item-name{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;font-size:.78rem;line-height:1.35;color:var(--hsk-chat-text,#1f1f1f)}.hsk-voice-item-price{font-size:.78rem;font-weight:600;color:var(--hsk-primary,#ff6a33)}@media (prefers-reduced-motion:reduce){.hsk-voice-item{animation:none}}.hsk-voice-error{font-family:var(--hsk-font);font-size:.85rem;color:#e5484d;text-align:center}@media (prefers-reduced-motion:reduce){.hsk-voice-overlay,.hsk-voice-phase--thinking{animation:none}}.hsk-cb-listen{display:inline-flex;align-items:center;justify-content:center;width:26px;height:26px;margin-top:6px;padding:0;background:transparent;border:none;border-radius:999px;color:var(--hsk-chat-muted,#71717a);cursor:pointer;opacity:0;transition:opacity .18s ease,color .18s ease}.hsk-cb-msg-group:hover .hsk-cb-listen,.hsk-cb-listen:focus-visible,.hsk-cb-listen--active{opacity:1}.hsk-cb-listen:hover,.hsk-cb-listen--active{color:var(--hsk-primary,#ff6a33)}.hsk-sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.hsk-voice-picker{position:absolute;top:clamp(14px,3vh,28px);left:50%;transform:translateX(-50%);display:flex;gap:8px;flex-wrap:nowrap;justify-content:center;max-width:min(100%,420px);padding:0 56px;z-index:2}.hsk-voice-pill{display:inline-flex;align-items:center;gap:7px;padding:5px 11px;border-radius:999px;border:1px solid rgba(0,0,0,.09);background:rgba(255,255,255,.72);backdrop-filter:blur(8px);font:inherit;font-size:11px;letter-spacing:.01em;color:#5b5b5b;cursor:pointer;transition:background 160ms ease,border-color 160ms ease,color 160ms ease,transform 160ms ease;opacity:0;animation:hsk-voice-pill-in 420ms cubic-bezier(.16,1,.3,1) forwards}.hsk-voice-pill--on{animation:hsk-voice-pill-in 420ms cubic-bezier(.16,1,.3,1) forwards,hsk-voice-pill-pop 260ms ease}@keyframes hsk-voice-pill-in{from{opacity:0;transform:translateY(-6px) scale(.92)}to{opacity:1;transform:translateY(0) scale(1)}}@keyframes hsk-voice-pill-pop{0%{transform:scale(1)}40%{transform:scale(1.06)}100%{transform:scale(1)}}@media (prefers-reduced-motion:reduce){.hsk-voice-pill{opacity:1;animation:none}}@media (max-width:520px){.hsk-voice-picker{gap:5px;padding:0 44px}.hsk-voice-pill{padding:5px 8px;gap:4px}}.hsk-voice-pill:hover{background:rgba(255,255,255,.95);border-color:rgba(0,0,0,.16)}.hsk-voice-pill--on:hover{background:#1c1c1c;border-color:#1c1c1c;color:#fff}.hsk-voice-pill--on{background:#1a1a1a;border-color:#1a1a1a;color:#fff}@media (prefers-color-scheme:dark){.hsk-voice-pill{border-color:rgba(255,255,255,.14);background:rgba(30,30,30,.7);color:#cfcfcf}.hsk-voice-pill:hover{background:rgba(45,45,45,.9)}.hsk-voice-pill--on:hover{background:#f2f2f2;border-color:#f2f2f2;color:#141414}.hsk-voice-pill--on{background:#f2f2f2;border-color:#f2f2f2;color:#141414}}@media (max-width:520px){.hsk-cb-input-box{gap:6px;padding:10px 10px 10px 12px}.hsk-cb-attach-btn,.hsk-cb-mic-btn,.hsk-cb-send,.hsk-cb-voice-mode-btn,.hsk-chat-send{width:32px;height:32px;border-radius:10px}.hsk-cb-textarea{flex:1 1 auto;min-width:0;font-size:16px}.hsk-cb-input-box .hsk-cb-listening{display:none}}.hsk-cb-main{position:relative}.hsk-cb-main,.hsk-voice-overlay{--hsk-doodle-ink:31,31,31;--hsk-doodle-tint:255,106,51}@keyframes hsk-doodles-shimmer-in{0%{opacity:0}100%{opacity:.9}}.hsk-cb-doodles{position:absolute;inset:0;width:100%;height:100%;z-index:0;pointer-events:none;opacity:.9;animation:hsk-doodles-shimmer-in .28s cubic-bezier(.16,1,.3,1) both}.hsk-cb-main>*:not(.hsk-cb-doodles){position:relative}@media (prefers-color-scheme:dark){.hsk-cb-main,.hsk-voice-overlay{--hsk-doodle-ink:240,239,237;--hsk-doodle-tint:255,150,110}}[data-hsk-theme="light"] .hsk-cb-main,[data-hsk-theme="light"] .hsk-voice-overlay{--hsk-doodle-ink:31,31,31;--hsk-doodle-tint:255,106,51}[data-hsk-theme="dark"] .hsk-cb-main,[data-hsk-theme="dark"] .hsk-voice-overlay{--hsk-doodle-ink:240,239,237;--hsk-doodle-tint:255,150,110}.hsk-cb-docked-option-price,.hsk-cb-entlang-price,.hsk-cb-src-price,.hsk-kiku-picker-item-price,.hsk-source-price,.hsk-sp-item-discount,.hsk-sp-item-original-price,.hsk-sp-item-price,.hsk-sp-mobile-main-card-price,.hsk-sp-mobile-similar-carousel-price,.hsk-voice-item-price,.hsk-live-cell{font-variant-numeric:tabular-nums}.hsk-live-wrap{margin:6px 0 2px;width:100%;max-width:100%;box-sizing:border-box}.hsk-live-carousel{display:flex;flex-wrap:wrap;gap:6px;align-items:flex-start;width:100%;box-sizing:border-box}.hsk-live-card{flex:0 1 auto;width:fit-content;min-width:120px;max-width:100%;background:var(--hsk-chat-source-bg,rgba(255,255,255,.05));border:1px solid var(--hsk-chat-divide,rgba(255,255,255,.08));border-radius:12px;padding:6px 10px;box-sizing:border-box;display:flex;flex-direction:column;gap:3px;transition:opacity .2s ease;overflow:hidden}.hsk-live-card.is-stale{opacity:.75}.hsk-live-card__top{display:flex;align-items:center;justify-content:space-between;gap:8px}.hsk-live-card__badge{display:inline-flex;align-items:center;gap:5px}.hsk-live-card__body{display:flex;align-items:center}.hsk-live-dot{width:6px;height:6px;border-radius:50%;background:#10b981;flex-shrink:0}@media (prefers-reduced-motion:no-preference){.hsk-live-dot:not(.is-stale){animation:hsk-live-pulse 2s ease-in-out infinite}}.hsk-live-dot.is-stale{background:var(--hsk-chat-muted,#9ca3af)}.hsk-live-card__title{font-size:13px;font-weight:600;color:var(--hsk-chat-text,#111827);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;letter-spacing:-0.01em}.hsk-live-card__close{font-size:10.5px;font-weight:500;color:var(--hsk-chat-muted,#6b7280);opacity:.85;white-space:nowrap}.hsk-live-card__age{font-size:10.5px;font-weight:500;color:var(--hsk-chat-muted,#6b7280);white-space:nowrap;flex-shrink:0}.hsk-live-card__pills{display:flex;flex-wrap:wrap;gap:4px;align-items:center;margin-top:1px}.hsk-live-pill{display:inline-flex;align-items:center;gap:4px;padding:2px 7px;background:color-mix(in srgb,var(--hsk-surface-1,var(--hsk-chat-bg,#ffffff)) 85%,transparent);border:1px solid color-mix(in srgb,var(--hsk-chat-text,#ffffff) 10%,transparent);border-radius:6px;font-size:11.5px;font-variant-numeric:tabular-nums;line-height:1.25;color:var(--hsk-chat-text,#111827);box-shadow:0 1px 2px rgba(0,0,0,.03)}.hsk-live-pill__label{font-weight:500;color:var(--hsk-chat-muted,#6b7280);font-size:11px;text-transform:capitalize}.hsk-live-pill__value{font-weight:650;color:var(--hsk-chat-text,#111827)}@media (prefers-reduced-motion:no-preference){.hsk-live-pill.is-changed{animation:hsk-live-pill-flash 1.2s ease-out}@keyframes hsk-live-pill-flash{0%{background:rgba(16,185,129,.25);border-color:#10b981}100%{background:var(--hsk-chat-bg,#ffffff);border-color:var(--hsk-chat-divide,rgba(0,0,0,.08))}}}@media (max-width:640px){.hsk-cb-source{flex:0 0 128px}.hsk-cb-src-imgwrap,.hsk-cb-src-imgwrap-empty{width:128px;height:128px;font-size:24px}.hsk-cb-sources{gap:10px}.hsk-cb-src-name{font-size:12px;line-height:1.35}.hsk-cb-src-price{font-size:11px;padding:1px 7px;margin-top:4px}.hsk-live{max-width:100%;width:100%}}@media (max-width:480px){.hsk-cb-source{flex:0 0 114px}.hsk-cb-src-imgwrap,.hsk-cb-src-imgwrap-empty{width:114px;height:114px;font-size:20px}.hsk-cb-sources{gap:8px}.hsk-live{border-radius:12px;padding:2px 0 8px;margin:8px 0 2px}.hsk-live-card{flex:0 0 auto;width:fit-content;max-width:100%}}.hsk-cb-overlay[data-hsk-theme],[data-hsk-theme] .hsk-cb-overlay{background:var(--hsk-chat-bg) !important;color:var(--hsk-chat-text) !important}[data-hsk-theme] .hsk-cb-panel{background:transparent !important;color:var(--hsk-chat-text) !important}[data-hsk-theme] .hsk-cb-topbar-name{background:var(--hsk-surface-2) !important;color:var(--hsk-name-text,var(--hsk-chat-text)) !important;box-shadow:0 0 0 3px var(--hsk-chat-bg),0 1px 3px rgba(var(--hsk-primary-rgb),.2) !important}[data-hsk-theme] .hsk-cb-think-head{background:var(--hsk-surface-2) !important;color:var(--hsk-think-text) !important;box-shadow:0 0 0 3px var(--hsk-chat-bg),0 1px 3px rgba(var(--hsk-primary-rgb),.2) !important}[data-hsk-theme] .hsk-cb-chip,[data-hsk-theme] .hsk-cb-lang-chip,[data-hsk-theme] .hsk-action-pill{border:var(--hsk-chip-border,none) !important;background:var(--hsk-surface-1) !important;color:var(--hsk-chat-text) !important}[data-hsk-theme] .hsk-cb-chip:hover,[data-hsk-theme] .hsk-cb-lang-chip:hover,[data-hsk-theme] .hsk-action-pill:hover{background:rgba(var(--hsk-primary-rgb),.12) !important;color:var(--hsk-primary) !important}[data-hsk-theme] .hsk-cb-ai-text{background:var(--hsk-bubble-bg) !important;color:var(--hsk-chat-text) !important}[data-hsk-theme] .hsk-cb-ai-text:not(:has(~.hsk-cb-ai-text))::before{background:var(--hsk-bubble-bg) !important}[data-hsk-theme] .hsk-cb-ai-text:not(:has(~.hsk-cb-ai-text))::after{background:var(--hsk-chat-bg) !important}[data-hsk-theme] .hsk-cb-user-bubble--tail::before{background:#007aff !important}[data-hsk-theme] .hsk-cb-user-bubble--tail::after{background:var(--hsk-chat-bg) !important}[data-hsk-theme] .hsk-cb-topbar-title{color:var(--hsk-chat-text) !important}[data-hsk-theme] .hsk-cb-topbar-btn,[data-hsk-theme] .hsk-cb-back{background:var(--hsk-surface-1) !important;color:var(--hsk-chat-muted) !important}[data-hsk-theme] .hsk-cb-input-box{background:transparent !important;border:none !important;border-radius:inherit !important}[data-hsk-theme] .hsk-cb-textarea{color:var(--hsk-chat-text) !important}[data-hsk-theme] .hsk-cb-textarea::placeholder{color:var(--hsk-placeholder) !important}[data-hsk-theme] .hsk-markdown-table th{color:var(--hsk-chat-muted) !important;border-bottom:1px solid var(--hsk-chat-divide) !important}[data-hsk-theme] .hsk-markdown-table td{color:var(--hsk-chat-text) !important;border-bottom:1px solid var(--hsk-chat-divide) !important}[data-hsk-theme] .hsk-cb-kiku-id-pill{background:var(--hsk-surface-1) !important;border:none !important;box-shadow:none !important;color:var(--hsk-chat-muted) !important}[data-hsk-theme] .hsk-cb-kiku-id-pill:hover{color:var(--hsk-primary) !important}[data-hsk-theme] .hsk-cb-theme-2x2-grid,[data-hsk-theme] .hsk-cb-topbar-ooze-menu,[data-hsk-theme] .hsk-cb-scout-rail-card{background:var(--hsk-glass-bg) !important;border:var(--hsk-glass-border) !important;border-top:var(--hsk-glass-border-top) !important;box-shadow:var(--hsk-glass-shadow) !important;backdrop-filter:blur(28px) saturate(var(--hsk-glass-saturate,180%)) !important;-webkit-backdrop-filter:blur(28px) saturate(var(--hsk-glass-saturate,180%)) !important}[data-hsk-theme] .hsk-cb-topbar-ooze-menu .hsk-cb-theme-2x2-grid,[data-hsk-theme] .hsk-cb-topbar-ooze-menu .hsk-cb-scout-rail-card{background:none !important;border:none !important;border-top:none !important;box-shadow:none !important;backdrop-filter:none !important;-webkit-backdrop-filter:none !important}[data-hsk-theme] .hsk-cb-theme-squircle-trigger,[data-hsk-theme] .hsk-cb-scout-rail-trigger{background:var(--hsk-pill-bg) !important;color:var(--hsk-chat-text) !important;border:var(--hsk-glass-border) !important;border-top:var(--hsk-glass-border-top) !important;box-shadow:var(--hsk-glass-shadow) !important;backdrop-filter:blur(20px) saturate(var(--hsk-glass-saturate,160%)) !important;-webkit-backdrop-filter:blur(20px) saturate(var(--hsk-glass-saturate,160%)) !important}[data-hsk-theme] .hsk-cb-theme-grid-item{background:var(--hsk-grid-bg) !important;color:var(--hsk-chat-muted) !important;border:none !important;box-shadow:none !important}[data-hsk-theme] .hsk-cb-theme-grid-item.is-active{background:var(--hsk-active-bg) !important;color:var(--hsk-on-active) !important;box-shadow:none !important}[data-hsk-theme] .hsk-cb-src-name,[data-hsk-theme] .hsk-source-card__title{color:var(--hsk-src-title) !important;font-weight:650 !important}[data-hsk-theme] .hsk-cb-src-desc,[data-hsk-theme] .hsk-cb-src-detail,[data-hsk-theme] .hsk-source-card__desc{color:var(--hsk-src-desc) !important}[data-hsk-theme] .hsk-cb-src-price{background:var(--hsk-price-bg) !important;color:var(--hsk-price-text) !important;font-weight:700 !important}[data-hsk-theme] .hsk-cb-main,[data-hsk-theme] .hsk-voice-overlay{--hsk-doodle-ink:var(--hsk-ink) !important;--hsk-doodle-tint:var(--hsk-tint) !important}[data-hsk-theme] .hsk-voice-pill{background:var(--hsk-chat-input-bg) !important;border-color:var(--hsk-chat-divide) !important;color:var(--hsk-chat-muted) !important}[data-hsk-theme] .hsk-voice-pill:hover{background:var(--hsk-surface-2) !important;color:var(--hsk-chat-text) !important}[data-hsk-theme] .hsk-voice-pill--on,[data-hsk-theme] .hsk-voice-pill--on:hover{background:var(--hsk-active-bg) !important;border-color:var(--hsk-active-bg) !important;color:var(--hsk-on-active) !important}.hsk-cb-overlay[data-hsk-theme="light"],[data-hsk-theme="light"] .hsk-cb-overlay{--hsk-primary:#ff6a33 !important;--hsk-primary-rgb:255,106,51 !important;--hsk-chat-bg:#ffffff !important;--hsk-chat-text:#1f1f1f !important;--hsk-chat-muted:#5f6368 !important;--hsk-chat-divide:#e5e7eb !important;--hsk-chat-input-bg:#f3f4f6 !important;--hsk-chat-source-bg:#f9fafb !important;--hsk-fade-bg:#ffffff !important;--hsk-goo-fill:#ffffff !important;--hsk-surface-1:rgba(0,0,0,.05) !important;--hsk-surface-2:#f1f3f4 !important;--hsk-bubble-bg:#f3f4f6 !important;--hsk-think-text:#4b5563 !important;--hsk-placeholder:#757575 !important;--hsk-grid-bg:#ffffff !important;--hsk-active-bg:#1f1f1f !important;--hsk-on-active:#ffffff !important;--hsk-src-title:#111827 !important;--hsk-src-desc:#4b5563 !important;--hsk-price-bg:#f3f4f6 !important;--hsk-price-text:#ea580c !important;--hsk-sheet-bg:#f3f4f6 !important;--hsk-chip-border:1px solid rgba(0,0,0,.08) !important;--hsk-ink:55,65,81 !important;--hsk-tint:145,77,47 !important;--hsk-glass-bg:rgba(255,255,255,.72) !important;--hsk-glass-border:1px solid rgba(0,0,0,.07) !important;--hsk-glass-border-top:1px solid rgba(255,255,255,.9) !important;--hsk-glass-shadow:0 12px 32px -4px rgba(0,0,0,.10),0 1px 0 0 rgba(255,255,255,.85) inset !important;--hsk-glass-saturate:190% !important;--hsk-pill-bg:rgba(255,255,255,.65) !important}.hsk-cb-overlay[data-hsk-theme="dark"],[data-hsk-theme="dark"] .hsk-cb-overlay{--hsk-primary:#ff6a33 !important;--hsk-primary-rgb:255,106,51 !important;--hsk-chat-bg:#0a0a0a !important;--hsk-chat-text:#f0efed !important;--hsk-chat-muted:#888888 !important;--hsk-chat-divide:rgba(255,255,255,.08) !important;--hsk-chat-input-bg:#191919 !important;--hsk-chat-source-bg:rgba(255,255,255,.04) !important;--hsk-fade-bg:#0a0a0a !important;--hsk-goo-fill:#1a1a1c !important;--hsk-surface-1:rgba(255,255,255,.06) !important;--hsk-surface-2:#1f1f22 !important;--hsk-bubble-bg:#1f1f22 !important;--hsk-think-text:#a6a6a6 !important;--hsk-placeholder:#555555 !important;--hsk-grid-bg:#1a1a1c !important;--hsk-active-bg:#f0efed !important;--hsk-on-active:#0a0a0a !important;--hsk-src-title:#f9fafb !important;--hsk-src-desc:#9ca3af !important;--hsk-price-bg:rgba(255,255,255,.08) !important;--hsk-price-text:#ff7a45 !important;--hsk-sheet-bg:#1f1f22 !important;--hsk-ink:240,239,237 !important;--hsk-tint:248,195,174 !important;--hsk-glass-bg:rgba(255,255,255,.07) !important;--hsk-glass-border:1px solid rgba(255,255,255,.10) !important;--hsk-glass-border-top:1px solid rgba(255,255,255,.22) !important;--hsk-glass-shadow:0 12px 32px -4px rgba(0,0,0,.45),0 1px 0 0 rgba(255,255,255,.10) inset !important;--hsk-glass-saturate:160% !important;--hsk-pill-bg:rgba(255,255,255,.06) !important}.hsk-cb-overlay[data-hsk-theme="mahogany"],[data-hsk-theme="mahogany"] .hsk-cb-overlay{--hsk-primary:#e07a38 !important;--hsk-primary-rgb:224,122,56 !important;--hsk-chat-bg:#140d09 !important;--hsk-chat-text:#f6eee3 !important;--hsk-chat-muted:#a89485 !important;--hsk-chat-divide:rgba(217,140,85,.18) !important;--hsk-chat-input-bg:#211610 !important;--hsk-chat-source-bg:#1c130d !important;--hsk-fade-bg:#140d09 !important;--hsk-goo-fill:#211610 !important;--hsk-surface-1:#211610 !important;--hsk-surface-2:#2b1c14 !important;--hsk-bubble-bg:#261912 !important;--hsk-think-text:#c4b1a1 !important;--hsk-placeholder:#7a6557 !important;--hsk-grid-bg:#2b1c14 !important;--hsk-active-bg:#e07a38 !important;--hsk-on-active:#ffffff !important;--hsk-src-title:#fdf8f4 !important;--hsk-src-desc:#c4b1a1 !important;--hsk-price-bg:#2b1c14 !important;--hsk-price-text:#f59e0b !important;--hsk-sheet-bg:#211610 !important;--hsk-ink:246,238,227 !important;--hsk-tint:235,180,142 !important;--hsk-glass-bg:rgba(255,220,180,.07) !important;--hsk-glass-border:1px solid rgba(217,140,85,.15) !important;--hsk-glass-border-top:1px solid rgba(255,200,150,.25) !important;--hsk-glass-shadow:0 12px 32px -4px rgba(0,0,0,.55),0 1px 0 0 rgba(255,200,150,.12) inset !important;--hsk-glass-saturate:155% !important;--hsk-pill-bg:rgba(255,220,180,.06) !important}.hsk-cb-overlay[data-hsk-theme="blush"],[data-hsk-theme="blush"] .hsk-cb-overlay{--hsk-primary:#ec4899 !important;--hsk-primary-rgb:236,72,153 !important;--hsk-chat-bg:#fff5f7 !important;--hsk-chat-text:#3d1424 !important;--hsk-chat-muted:#94536d !important;--hsk-chat-divide:rgba(236,72,153,.18) !important;--hsk-chat-input-bg:#ffe4ec !important;--hsk-chat-source-bg:#fff0f4 !important;--hsk-fade-bg:#fff5f7 !important;--hsk-goo-fill:#ffe4ec !important;--hsk-surface-1:#ffe4ec !important;--hsk-surface-2:#fbcfe8 !important;--hsk-bubble-bg:#ffebf1 !important;--hsk-think-text:#831843 !important;--hsk-name-text:#831843 !important;--hsk-placeholder:#b57a91 !important;--hsk-grid-bg:#fff0f4 !important;--hsk-active-bg:#ec4899 !important;--hsk-on-active:#ffffff !important;--hsk-src-title:#2b0c19 !important;--hsk-src-desc:#702648 !important;--hsk-price-bg:#fce7f3 !important;--hsk-price-text:#db2777 !important;--hsk-sheet-bg:#ffe4ec !important;--hsk-sheet-hover:#ffd2e0 !important;--hsk-ink:130,36,75 !important;--hsk-tint:175,38,97 !important;--hsk-glass-bg:rgba(255,240,248,.75) !important;--hsk-glass-border:1px solid rgba(236,72,153,.10) !important;--hsk-glass-border-top:1px solid rgba(255,255,255,.90) !important;--hsk-glass-shadow:0 12px 32px -4px rgba(180,30,100,.08),0 1px 0 0 rgba(255,255,255,.85) inset !important;--hsk-glass-saturate:185% !important;--hsk-pill-bg:rgba(255,228,236,.80) !important}.hsk-cb-overlay[data-hsk-theme="coffee"],[data-hsk-theme="coffee"] .hsk-cb-overlay{--hsk-primary:#a9714b !important;--hsk-primary-rgb:169,113,75 !important;--hsk-chat-bg:#f7f1e8 !important;--hsk-chat-text:#3b2a1d !important;--hsk-chat-muted:#8a7561 !important;--hsk-chat-divide:rgba(169,113,75,.18) !important;--hsk-chat-input-bg:#efe4d6 !important;--hsk-chat-source-bg:#f2eade !important;--hsk-fade-bg:#f7f1e8 !important;--hsk-goo-fill:#efe4d6 !important;--hsk-surface-1:#efe4d6 !important;--hsk-surface-2:#e6d7c4 !important;--hsk-bubble-bg:#f0e7da !important;--hsk-think-text:#6b543f !important;--hsk-placeholder:#a89680 !important;--hsk-grid-bg:#f2eade !important;--hsk-active-bg:#a9714b !important;--hsk-on-active:#ffffff !important;--hsk-src-title:#2a1c11 !important;--hsk-src-desc:#6b543f !important;--hsk-price-bg:#ece0cf !important;--hsk-price-text:#9a5f32 !important;--hsk-sheet-bg:#efe4d6 !important;--hsk-sheet-hover:#e6d7c4 !important;--hsk-ink:59,42,29 !important;--hsk-tint:120,88,62 !important;--hsk-glass-bg:rgba(247,241,232,.78) !important;--hsk-glass-border:1px solid rgba(169,113,75,.12) !important;--hsk-glass-border-top:1px solid rgba(255,255,255,.88) !important;--hsk-glass-shadow:0 12px 32px -4px rgba(90,55,20,.10),0 1px 0 0 rgba(255,255,255,.80) inset !important;--hsk-glass-saturate:185% !important;--hsk-pill-bg:rgba(239,228,214,.82) !important}.hsk-cb-overlay[data-hsk-theme="midnight"],[data-hsk-theme="midnight"] .hsk-cb-overlay{--hsk-primary:#6366f1 !important;--hsk-primary-rgb:99,102,241 !important;--hsk-chat-bg:#0f1420 !important;--hsk-chat-text:#dfe6f5 !important;--hsk-chat-muted:#8792ad !important;--hsk-chat-divide:rgba(99,102,241,.18) !important;--hsk-chat-input-bg:#1a2133 !important;--hsk-chat-source-bg:#161d2c !important;--hsk-fade-bg:#0f1420 !important;--hsk-goo-fill:#1a2133 !important;--hsk-surface-1:#1a2133 !important;--hsk-surface-2:#222b40 !important;--hsk-bubble-bg:#1e2637 !important;--hsk-think-text:#a8b3cc !important;--hsk-placeholder:#5c6780 !important;--hsk-grid-bg:#222b40 !important;--hsk-active-bg:#6366f1 !important;--hsk-on-active:#ffffff !important;--hsk-src-title:#f2f5fc !important;--hsk-src-desc:#a8b3cc !important;--hsk-price-bg:#222b40 !important;--hsk-price-text:#818cf8 !important;--hsk-sheet-bg:#1a2133 !important;--hsk-sheet-hover:#222b40 !important;--hsk-ink:223,230,245 !important;--hsk-tint:150,160,200 !important;--hsk-glass-bg:rgba(180,190,255,.06) !important;--hsk-glass-border:1px solid rgba(99,102,241,.18) !important;--hsk-glass-border-top:1px solid rgba(180,185,255,.25) !important;--hsk-glass-shadow:0 12px 32px -4px rgba(0,0,0,.55),0 1px 0 0 rgba(180,190,255,.10) inset !important;--hsk-glass-saturate:155% !important;--hsk-pill-bg:rgba(180,190,255,.06) !important}.hsk-cb-back-icon{display:inline-flex;transition:transform .22s cubic-bezier(.22,1,.36,1)}.hsk-cb-back:hover:not(:disabled) .hsk-cb-back-icon{transform:translateX(-2px)}.hsk-cb-panel[dir="rtl"] .hsk-cb-back:hover:not(:disabled) .hsk-cb-back-icon{transform:scaleX(-1) translateX(-2px)}.hsk-cb-tools-toggle{transition:transform .26s cubic-bezier(.34,1.56,.64,1),background-color .42s cubic-bezier(.16,1,.3,1),color .42s cubic-bezier(.16,1,.3,1)}.hsk-cb-tools-toggle:hover:not(:disabled){color:var(--hsk-primary,#ff6a33);transform:rotate(90deg)}.hsk-cb-tools-toggle--open:hover:not(:disabled){transform:rotate(135deg)}.hsk-cb-tools-toggle:active:not(:disabled){transform:scale(.9);transition-duration:.1s}.hsk-cb-theme-trigger-icon{display:inline-flex;transition:transform .3s cubic-bezier(.34,1.56,.64,1)}.hsk-cb-theme-squircle-trigger:hover .hsk-cb-theme-trigger-icon{transform:translateY(-1.5px) rotate(-8deg)}.hsk-cb-dot-item:hover:not(.hsk-cb-dot-item--active){background:var(--hsk-chat-muted,rgba(120,120,120,.6));transform:scale(1.35)}.hsk-msg-audio-btn{transition:color .18s ease,transform .22s cubic-bezier(.34,1.56,.64,1)}.hsk-msg-audio-btn:hover:not(:disabled){color:var(--hsk-primary,#ff6a33);transform:scale(1.12)}.hsk-msg-audio-btn:active:not(:disabled){transform:scale(.94);transition-duration:.1s}.hsk-markup-color{transition:transform .22s cubic-bezier(.34,1.56,.64,1),border-color .18s ease}.hsk-markup-color:hover:not(.hsk-markup-color--on){transform:scale(1.22)}.hsk-markup-color--on:hover{transform:scale(1.15)}@media (prefers-reduced-motion:reduce){.hsk-cb-back:hover:not(:disabled) .hsk-cb-back-icon,.hsk-cb-panel[dir="rtl"] .hsk-cb-back:hover:not(:disabled) .hsk-cb-back-icon,.hsk-cb-theme-squircle-trigger:hover .hsk-cb-theme-trigger-icon,.hsk-cb-dot-item:hover:not(.hsk-cb-dot-item--active),.hsk-msg-audio-btn:hover:not(:disabled),.hsk-markup-color:hover:not(.hsk-markup-color--on){transform:none}.hsk-cb-tools-toggle:hover:not(:disabled),.hsk-cb-tools-toggle--open:hover:not(:disabled){transform:none}}.hsk-voice-control{position:relative;isolation:isolate;border-radius:999px}.hsk-voice-control:not(.hsk-voice-control--muted)::before{content:'';position:absolute;inset:-1.5px;border-radius:inherit;background:conic-gradient( from 0deg,#ff3b30,#ff9500,#ffd60a,#34c759,#00c7be,#30b0c7,#007aff,#5856d6,#af52de,#ff2d55,#ff3b30 );-webkit-mask:radial-gradient(farthest-side,transparent calc(100% - 2.5px),#000 calc(100% - 2px));mask:radial-gradient(farthest-side,transparent calc(100% - 2.5px),#000 calc(100% - 2px));animation:hsk-apple-siri-spin 3s linear infinite;pointer-events:none;z-index:1}.hsk-voice-control::after{display:none !important}.hsk-voice-control-icon{will-change:transform}.hsk-voice-control:not(.hsk-voice-control--muted) .hsk-voice-control-icon{animation:hsk-apple-siri-mic-pulse 2.2s ease-in-out infinite}@keyframes hsk-apple-siri-spin{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}@keyframes hsk-apple-siri-breathe{0%,100%{transform:scale(.95);opacity:.55}50%{transform:scale(1.15);opacity:.95}}@keyframes hsk-apple-siri-mic-pulse{0%,100%{transform:scale(1)}50%{transform:scale(1.08)}}.hsk-voice-control--muted::before,.hsk-voice-control--muted::after{display:none}@media (prefers-reduced-motion:reduce){.hsk-voice-control:not(:hover):not(.hsk-voice-control--muted) .hsk-voice-control-icon,.hsk-voice-control:hover::before,.hsk-voice-control--muted::before,.hsk-voice-control--muted::after{animation:none}.hsk-voice-control:hover,.hsk-voice-control:hover .hsk-mic-cap{transform:none}}.hsk-cb-voice-error{animation:hsk-error-shake .26s cubic-bezier(.36,.07,.19,.97) both}@keyframes hsk-error-shake{0%,100%{transform:translateX(0)}22%{transform:translateX(-3px)}55%{transform:translateX(2px)}80%{transform:translateX(-1px)}}@media (prefers-reduced-motion:reduce){.hsk-cb-voice-error{animation:none}}.hsk-sun-rays,.hsk-sun-core,.hsk-moon-body,.hsk-wood-layer,.hsk-heart-body,.hsk-steam,.hsk-star-spark,.hsk-check-mark,.hsk-send-tail,.hsk-send-body{transform-box:fill-box;transform-origin:center}.hsk-sun-rays{transform-origin:12px 12px;transition:transform .5s cubic-bezier(.22,1,.36,1)}.hsk-cb-theme-grid-item:hover .hsk-sun-rays,.hsk-cb-theme-squircle-trigger:hover .hsk-sun-rays{transform:rotate(45deg)}.hsk-sun-core{transition:transform .32s cubic-bezier(.34,1.56,.64,1)}.hsk-cb-theme-grid-item:hover .hsk-sun-core,.hsk-cb-theme-squircle-trigger:hover .hsk-sun-core{transform:scale(1.14)}.hsk-moon-body{transition:transform .34s cubic-bezier(.34,1.56,.64,1)}.hsk-cb-theme-grid-item:hover .hsk-moon-body,.hsk-cb-theme-squircle-trigger:hover .hsk-moon-body{transform:rotate(-16deg)}.hsk-wood-layer{transition:transform .34s cubic-bezier(.34,1.56,.64,1)}.hsk-wood-layer{transition-delay:calc(var(--hsk-layer,0) * 45ms)}.hsk-cb-theme-grid-item:hover .hsk-wood-layer,.hsk-cb-theme-squircle-trigger:hover .hsk-wood-layer{transform:translateY(-1.2px)}.hsk-cb-theme-grid-item:hover .hsk-heart-body,.hsk-cb-theme-squircle-trigger:hover .hsk-heart-body{animation:hsk-heartbeat 1.1s ease-in-out infinite}@keyframes hsk-heartbeat{0%,100%{transform:scale(1)}14%{transform:scale(1.18)}28%{transform:scale(1)}42%{transform:scale(1.12)}56%{transform:scale(1)}}.hsk-steam{opacity:.9}.hsk-cb-theme-grid-item:hover .hsk-steam,.hsk-cb-theme-squircle-trigger:hover .hsk-steam{animation:hsk-steam-rise 1.6s ease-out infinite;animation-delay:calc(var(--hsk-steam,0) * 220ms)}@keyframes hsk-steam-rise{0%{transform:translateY(2px) scaleY(.5);opacity:0}35%{opacity:.95}100%{transform:translateY(-3px) scaleY(1.15);opacity:0}}.hsk-cb-theme-grid-item:hover .hsk-star-spark,.hsk-cb-theme-squircle-trigger:hover .hsk-star-spark{animation:hsk-twinkle 1.4s ease-in-out infinite}@keyframes hsk-twinkle{0%,100%{transform:scale(1) rotate(0deg);opacity:.85}50%{transform:scale(1.45) rotate(20deg);opacity:1}}.hsk-check-mark{stroke-dasharray:30;stroke-dashoffset:30;animation:hsk-check-draw .42s cubic-bezier(.65,0,.35,1) forwards}@keyframes hsk-check-draw{to{stroke-dashoffset:0}}.hsk-send-body,.hsk-send-tail{transition:transform .28s cubic-bezier(.22,1,.36,1)}.hsk-send-tail{transition-delay:40ms}.hsk-chat-send:hover:not(:disabled) .hsk-send-body,.hsk-cb-send:hover:not(:disabled) .hsk-send-body{transform:translate(1.5px,-1.5px)}.hsk-chat-send:hover:not(:disabled) .hsk-send-tail,.hsk-cb-send:hover:not(:disabled) .hsk-send-tail{transform:translate(2.5px,-2.5px)}@media (prefers-reduced-motion:reduce){.hsk-sun-rays,.hsk-sun-core,.hsk-moon-body,.hsk-wood-layer,.hsk-send-body,.hsk-send-tail{transition:none;transform:none !important}.hsk-cb-theme-grid-item:hover .hsk-heart-body,.hsk-cb-theme-squircle-trigger:hover .hsk-heart-body,.hsk-cb-theme-grid-item:hover .hsk-steam,.hsk-cb-theme-squircle-trigger:hover .hsk-steam,.hsk-cb-theme-grid-item:hover .hsk-star-spark,.hsk-cb-theme-squircle-trigger:hover .hsk-star-spark{animation:none}.hsk-check-mark{animation:none;stroke-dashoffset:0}}.hsk-cb-send-stage{position:relative;display:inline-flex;align-items:center;justify-content:center;width:100%;height:100%;overflow:visible}.hsk-cb-send-seam{position:absolute;top:50%;left:50%;width:2px;height:15px;border-radius:2px;background:currentColor;transform:translate(-50%,-50%) rotate(38deg) scaleY(0);transform-origin:center;opacity:0;pointer-events:none}.hsk-cb-send-kite{display:inline-flex;transform-origin:center;will-change:transform}.hsk-cb-send:hover:not(:disabled) .hsk-cb-send-kite{transform:translate(1.5px,-1.5px);transition:transform .26s cubic-bezier(.22,1,.36,1)}.hsk-cb-send.is-launching .hsk-cb-send-kite{animation:hsk-kite-tear .55s cubic-bezier(.22,1,.36,1) both}.hsk-cb-send.is-launching .hsk-cb-send-seam{animation:hsk-seam-heal .55s cubic-bezier(.4,0,.3,1) both}@keyframes hsk-kite-tear{0%{transform:translate(0,0) scale(1) rotate(0deg);opacity:1}18%{transform:translate(-1px,2.5px) scale(.92,1.08) rotate(-4deg);opacity:1}45%{transform:translate(3px,-16px) scale(1.2,.8) rotate(6deg);opacity:.95}75%{transform:translate(6px,-38px) scale(1.05,.7) rotate(10deg);opacity:.6}100%{transform:translate(8px,-56px) scale(.6,.4) rotate(12deg);opacity:0}}@keyframes hsk-seam-heal{0%{transform:translate(-50%,-50%) rotate(38deg) scaleY(0);opacity:0}22%{transform:translate(-50%,-50%) rotate(38deg) scaleY(1);opacity:.9}45%{transform:translate(-50%,-50%) rotate(38deg) scaleY(1.3);opacity:.8}72%{transform:translate(-50%,-50%) rotate(38deg) scaleY(.3);opacity:.35}100%{transform:translate(-50%,-50%) rotate(38deg) scaleY(0);opacity:0}}.hsk-kite-wing{transform-box:fill-box;transform-origin:100% 0}.hsk-cb-send:not(:disabled):not(.is-launching) .hsk-kite-wing--far{animation:hsk-wing-beat-far .62s ease-in-out infinite}.hsk-cb-send:not(:disabled):not(.is-launching) .hsk-kite-wing--near{animation:hsk-wing-beat-near .62s ease-in-out .07s infinite}.hsk-cb-send:not(:disabled):not(.is-launching) .hsk-cb-send-kite{animation:hsk-kite-strain 2.4s cubic-bezier(.45,0,.35,1) infinite}.hsk-cb-send:not(:disabled):not(.is-launching) .hsk-cb-send-seam{animation:hsk-seam-strain 2.4s cubic-bezier(.45,0,.35,1) infinite}@keyframes hsk-kite-strain{0%,10%{transform:translate(0,0) scale(1) rotate(0deg)}20%{transform:translate(-1.2px,2px) scale(.94,1.05) rotate(-4deg)}34%{transform:translate(3.5px,-5px) scale(1.16,.86) rotate(8deg)}42%{transform:translate(4.2px,-6px) scale(1.2,.82) rotate(9deg)}50%{transform:translate(2.4px,-3.4px) scale(1.06,.94) rotate(5deg)}64%{transform:translate(-.6px,1.2px) scale(.97,1.03) rotate(-2deg)}78%,100%{transform:translate(0,0) scale(1) rotate(0deg)}}@keyframes hsk-seam-strain{0%,22%{transform:translate(-50%,-50%) rotate(38deg) scaleY(0);opacity:0}34%{transform:translate(-50%,-50%) rotate(38deg) scaleY(.6);opacity:.34}42%{transform:translate(-50%,-50%) rotate(38deg) scaleY(.95);opacity:.5}52%{transform:translate(-50%,-50%) rotate(38deg) scaleY(.55);opacity:.3}66%,100%{transform:translate(-50%,-50%) rotate(38deg) scaleY(0);opacity:0}}@keyframes hsk-wing-beat-far{0%,100%{transform:scaleX(1) skewY(0deg)}50%{transform:scaleX(.86) skewY(-4deg)}}@keyframes hsk-wing-beat-near{0%,100%{transform:scaleX(1) skewY(0deg)}50%{transform:scaleX(1.1) skewY(3deg)}}.hsk-stop-ring{transform-box:fill-box;transform-origin:center;stroke-dasharray:22 38;opacity:.85;animation:hsk-stop-orbit 1.4s linear infinite}.hsk-stop-core{transform-box:fill-box;transform-origin:center;animation:hsk-stop-pulse 1.4s ease-in-out infinite;transition:rx .2s ease,transform .2s cubic-bezier(.34,1.56,.64,1)}.hsk-cb-send--stop:hover .hsk-stop-core{transform:scale(1.16);animation-play-state:paused}.hsk-cb-send--stop:hover .hsk-stop-ring{animation-duration:.7s}@keyframes hsk-stop-orbit{to{transform:rotate(1turn)}}@keyframes hsk-stop-pulse{0%,100%{transform:scale(1);opacity:1}50%{transform:scale(.86);opacity:.75}}@media (prefers-reduced-motion:reduce){.hsk-cb-send.is-launching .hsk-cb-send-kite,.hsk-cb-send.is-launching .hsk-cb-send-seam,.hsk-cb-send:hover:not(:disabled) .hsk-cb-send-kite{animation:none;transform:none}}.hsk-cb-send.is-launching{overflow:visible !important}.hsk-cb-send-sheath{position:absolute;inset:-1px;background:radial-gradient(120% 90% at 32% 22%,rgba(255,255,255,.44) 0,rgba(255,255,255,0) 58%),linear-gradient(150deg,color-mix(in srgb,var(--hsk-primary,#1273e6) 72%,#ffffff) 0,var(--hsk-primary,#1273e6) 46%,color-mix(in srgb,var(--hsk-primary,#1273e6) 74%,#000000) 100%);border-radius:46% 54% 52% 48% / 50% 47% 53% 50%;box-shadow:inset 0 2px 3px rgba(255,255,255,.5),inset 0 -3px 5px color-mix(in srgb,var(--hsk-primary,#1273e6) 30%,rgba(0,0,0,.55)),0 2px 5px rgba(0,0,0,.20),0 7px 16px color-mix(in srgb,var(--hsk-primary,#1273e6) 16%,transparent);transform-origin:58% 62%;pointer-events:none;z-index:1;will-change:transform,border-radius;transition:border-radius .5s cubic-bezier(.34,1.6,.5,1),box-shadow .3s ease}.hsk-cb-send-stage{z-index:2;position:relative}.hsk-cb-send:not(:disabled):not(.is-launching) .hsk-cb-send-sheath{animation:hsk-sheath-press 2.4s cubic-bezier(.35,.8,.3,1) infinite}@keyframes hsk-sheath-press{0%,12%{transform:scale(1);border-radius:46% 54% 52% 48% / 50% 47% 53% 50%}22%{transform:scale(.94,1.08) translate(-1.4px,2.2px);border-radius:52% 48% 44% 56% / 58% 40% 60% 42%}36%{transform:scale(1.14,.87) translate(2.6px,-3.4px) rotate(2deg);border-radius:38% 66% 54% 46% / 40% 62% 38% 60%}46%{transform:scale(1.19,.83) translate(3.6px,-4.6px) rotate(2.8deg);border-radius:34% 72% 56% 44% / 36% 68% 32% 64%}58%{transform:scale(.93,1.09) translate(-1.2px,1.8px) rotate(-1.4deg);border-radius:56% 44% 42% 58% / 60% 38% 62% 40%}70%{transform:scale(1.05,.96) translate(.8px,-1px) rotate(.6deg);border-radius:44% 56% 50% 50% / 46% 54% 46% 54%}80%{transform:scale(.98,1.03);border-radius:50% 50% 48% 52% / 52% 48% 52% 48%}88%,100%{transform:scale(1);border-radius:46% 54% 52% 48% / 50% 47% 53% 50%}}.hsk-cb-send.is-launching .hsk-cb-send-sheath{animation:hsk-sheath-yield .55s cubic-bezier(.3,.7,.25,1) both}@keyframes hsk-sheath-yield{0%{transform:scale(1);border-radius:46% 54% 52% 48% / 50% 47% 53% 50%}20%{transform:scale(.88,1.14) translate(-2px,3.4px);border-radius:56% 44% 40% 60% / 64% 34% 66% 36%}45%{transform:scale(1.34,.68) translate(6px,-10px) rotate(4.6deg);border-radius:24% 86% 62% 38% / 26% 80% 20% 74%}65%{transform:scale(.86,1.16) translate(-2.2px,3.6px) rotate(-2.2deg);border-radius:60% 40% 38% 62% / 68% 30% 70% 32%}82%{transform:scale(1.06,.95) translate(1px,-1px) rotate(.8deg);border-radius:44% 56% 52% 48% / 46% 54% 46% 54%}100%{transform:scale(1);border-radius:46% 54% 52% 48% / 50% 47% 53% 50%}}.hsk-cb-send:disabled .hsk-cb-send-sheath{opacity:0}.hsk-cb-send--stop .hsk-cb-send-sheath{display:none}.hsk-cb-send:active:not(:disabled) .hsk-cb-send-sheath{box-shadow:inset 0 1px 2px rgba(255,255,255,.3),inset 0 -1px 3px color-mix(in srgb,var(--hsk-primary,#1273e6) 24%,rgba(0,0,0,.6)),0 1px 3px rgba(0,0,0,.24)}@media (prefers-reduced-motion:reduce){.hsk-cb-send:not(:disabled):not(.is-launching) .hsk-cb-send-sheath,.hsk-cb-send.is-launching .hsk-cb-send-sheath{animation:none}}.hsk-cb-send:not(.hsk-cb-send--stop):not(:disabled){background:transparent !important;box-shadow:none !important;overflow:visible !important}.hsk-cb-send:not(.hsk-cb-send--stop):not(:disabled):hover{box-shadow:none !important}.hsk-cb-send:not(:disabled):hover .hsk-cb-send-sheath{box-shadow:inset 0 2px 4px rgba(255,255,255,.58),inset 0 -3px 6px color-mix(in srgb,var(--hsk-primary,#1273e6) 28%,rgba(0,0,0,.5)),0 3px 7px rgba(0,0,0,.22),0 10px 22px color-mix(in srgb,var(--hsk-primary,#1273e6) 20%,transparent)}.hsk-cb-terms-sanctuary{display:flex;flex-direction:column;margin:18px 0 22px;width:100%;max-width:520px;text-align:start;background:transparent;backdrop-filter:none;-webkit-backdrop-filter:none;border:none;border-radius:0;padding:0;box-shadow:none;opacity:0;animation:hsk-terms-delicate-in .5s cubic-bezier(.16,1,.3,1) .05s forwards}@keyframes hsk-terms-delicate-in{0%{opacity:0;transform:translateY(8px)}100%{opacity:1;transform:translateY(0)}}.hsk-cb-terms-item{display:flex;flex-direction:column;gap:4px;opacity:0;animation:hsk-terms-item-in .45s cubic-bezier(.16,1,.3,1) forwards;animation-delay:calc(var(--hsk-row-idx,0) * 60ms+80ms)}@keyframes hsk-terms-item-in{0%{opacity:0;transform:translateY(6px)}100%{opacity:1;transform:translateY(0)}}.hsk-cb-terms-head{display:flex;align-items:baseline;gap:10px}.hsk-cb-terms-numeral{font-family:ui-serif,Georgia,Cambria,"Times New Roman",Times,serif;font-style:italic;font-size:11px;font-weight:600;letter-spacing:.12em;color:var(--hsk-primary,#ff6a33);opacity:.85;flex-shrink:0;user-select:none}.hsk-cb-terms-title{margin:0;font-size:14.5px;font-weight:700;letter-spacing:-0.015em;color:var(--hsk-chat-text,#ffffff)}.hsk-cb-terms-desc{margin:0;padding-inline-start:22px;font-size:13px;line-height:1.55;color:var(--hsk-chat-muted,#9ca3af);font-weight:400}.hsk-cb-terms-divider{height:1px;margin:14px 0;background:linear-gradient( 90deg,transparent 0,color-mix(in srgb,var(--hsk-chat-text,#000000) 8%,transparent) 20%,color-mix(in srgb,var(--hsk-chat-text,#000000) 8%,transparent) 80%,transparent 100% )}.hsk-cb-terms-action-wrap{display:flex;justify-content:center;width:100%;margin-top:14px}.hsk-cb-terms-agree-btn{display:inline-flex;align-items:center;justify-content:center;padding:12px 34px;font-size:14px;font-weight:600;border-radius:9999px;border:1px solid var(--hsk-chat-divide,rgba(255,255,255,.08));background:var(--hsk-chat-divide,rgba(255,255,255,.06));color:var(--hsk-chat-muted,rgba(255,255,255,.4));cursor:not-allowed;transition:all .3s cubic-bezier(.16,1,.3,1);letter-spacing:-0.01em}.hsk-cb-terms-agree-btn.is-active{background:var(--hsk-primary,#ff6a33);color:#ffffff;border-color:var(--hsk-primary,#ff6a33);cursor:pointer;box-shadow:0 4px 14px color-mix(in srgb,var(--hsk-primary,#ff6a33) 35%,transparent)}.hsk-cb-terms-agree-btn.is-active:hover{filter:brightness(.92);transform:translateY(-1px);box-shadow:0 6px 18px color-mix(in srgb,var(--hsk-primary,#ff6a33) 45%,transparent)}.hsk-cb-terms-agree-btn.is-active:active{transform:translateY(0);box-shadow:0 2px 6px color-mix(in srgb,var(--hsk-primary,#ff6a33) 25%,transparent)}@keyframes hsk-theme-morph-in{0%{opacity:0;transform:scale(.92) translateY(4px)}100%{opacity:1;transform:scale(1) translateY(0)}}@keyframes hsk-theme-morph-out{0%{opacity:1;transform:scale(1) translateY(0)}100%{opacity:0;transform:scale(.92) translateY(4px)}}.hsk-retry-icon{display:inline-flex;transform-origin:center;transition:transform .36s cubic-bezier(.34,1.56,.64,1)}.hsk-cb-msg-action:hover:not(:disabled) .hsk-retry-icon{transform:rotate(-180deg)}.hsk-cb-msg-action:active:not(:disabled) .hsk-retry-icon{transform:rotate(-360deg) scale(.85);transition-duration:.18s}.hsk-retry-icon--spinning{animation:hsk-spin .65s linear infinite !important}.hsk-edit-icon{display:inline-flex;transform-origin:20% 80%;transition:transform .26s cubic-bezier(.34,1.56,.64,1)}.hsk-cb-msg-action:hover:not(:disabled) .hsk-edit-icon{transform:translateY(-1.5px) rotate(-14deg)}.hsk-cb-msg-action:active:not(:disabled) .hsk-edit-icon{transform:translateY(1px) scale(.88);transition-duration:.1s}.hsk-copy-icon{display:inline-flex}.hsk-copy-sheet{transition:transform .22s cubic-bezier(.34,1.56,.64,1)}.hsk-cb-msg-action:hover:not(:disabled) .hsk-copy-sheet{transform:translate(-1.5px,-1.5px)}.hsk-check-icon{display:inline-flex;animation:hsk-check-pop .28s cubic-bezier(.34,1.56,.64,1) both}@keyframes hsk-check-pop{0%{transform:scale(.4);opacity:0}60%{transform:scale(1.24);opacity:1}100%{transform:scale(1);opacity:1}}@keyframes hsk-actions-enter{0%{opacity:0;transform:translateY(4px) scale(.96)}100%{opacity:1;transform:translateY(0) scale(1)}}@media (prefers-reduced-motion:reduce){.hsk-cb-msg-action:hover:not(:disabled) .hsk-retry-icon,.hsk-cb-msg-action:hover:not(:disabled) .hsk-edit-icon,.hsk-cb-msg-action:hover:not(:disabled) .hsk-copy-sheet,.hsk-check-icon{transform:none !important;animation:none !important}}`;var Lo="akropolys-kiku-root",tr=null,Qr=null;function Fc(e){if(typeof CSSStyleSheet<"u"&&"replaceSync"in CSSStyleSheet.prototype)try{let r=new CSSStyleSheet;r.replaceSync(Gr),e.adoptedStyleSheets=[...e.adoptedStyleSheets,r];return}catch{}let t=document.createElement("style");t.textContent=Gr,e.appendChild(t)}function Xr(){return typeof document>"u"?null:Qr||(tr=document.getElementById(Lo),tr||(tr=document.createElement("div"),tr.id=Lo,tr.style.cssText="all: initial;",document.body.appendChild(tr)),Qr=tr.shadowRoot??tr.attachShadow({mode:"open"}),Fc(Qr),Qr)}var Rs=require("@akropolys/sdk");function Ea(e){if(typeof e=="string")return{themeAttr:e,vars:void 0};if(!e)return{themeAttr:void 0,vars:void 0};let t={};return e.primaryColor&&(t["--hsk-primary"]=e.primaryColor),e.backgroundColor&&(t["--hsk-bg"]=e.backgroundColor,t["--hsk-chat-bg"]=e.backgroundColor),e.textColor&&(t["--hsk-text"]=e.textColor,t["--hsk-chat-text"]=e.textColor),e.fontFamily&&(t["--hsk-font"]=e.fontFamily),e.fontSize&&(t["--hsk-font-size"]=e.fontSize),e.mobileFontSize&&(t["--hsk-mobile-font-size"]=e.mobileFontSize),e.borderRadius&&(t["--hsk-border-radius"]=e.borderRadius),{themeAttr:void 0,vars:t}}var vn=require("react"),wt=new Map;function yn(e,t="hsk-font"){let r=5381;for(let a=0;a<e.length;a++)r=(r<<5)+r+e.charCodeAt(a)>>>0;return`${t}-${r.toString(36)}`}function _c(e){let t=e.split("?")[0].split("#")[0].split(".").pop()?.toLowerCase();return t==="woff2"?"woff2":t==="woff"?"woff":t==="otf"?"opentype":t==="ttf"?"truetype":""}function Io(e){let t=e.trim();return!t||/["'()\\\s]/.test(t)||/^(javascript|vbscript):/i.test(t)?null:t}var qc=/^[Uu]\+[0-9A-Fa-f?]{1,6}(-[0-9A-Fa-f]{1,6})?$/,Eo=e=>{let t=e.split(",").map(r=>r.trim()).filter(Boolean);return t.length===0||!t.every(r=>qc.test(r))?"":t.join(", ")},Bc=e=>/^\d{3}( \d{3})?$/.test(e)?e:"400";function Hc(e,t){(0,vn.useEffect)(()=>{if(!e||!t||typeof document>"u")return;let r=yn(e);if(wt.set(e,(wt.get(e)??0)+1),!document.getElementById(r)){let a=document.createElement("style");a.id=r,a.textContent=t,document.head.appendChild(a)}return()=>{let a=(wt.get(e)??1)-1;if(a>0){wt.set(e,a);return}wt.delete(e),document.getElementById(r)?.remove()}},[e,t])}function Do(e){return e.faces.map(t=>{let r=Io(t.url);return r?`@font-face{font-family:"${e.family}";font-style:normal;font-weight:${Bc(t.weight)};font-display:swap;src:url(${r}) format("woff2");`+(Eo(t.unicodeRange)?`unicode-range:${Eo(t.unicodeRange)};`:"")+"}":""}).join("")}function xn(e){let t=e?.faces??[],r=e&&t.length?Do(e):"";Hc(r?`script|${e.family}|${t.map(a=>a.url).join("|")}`:"",r)}async function Ia(e,t=1200){if(typeof document>"u"||!("fonts"in document))return;let r=Do(e);if(!r)return;let a=`script|${e.family}|${e.faces.map(i=>i.url).join("|")}`;wt.set(a,(wt.get(a)??0)+1);let n=yn(a);if(!document.getElementById(n)){let i=document.createElement("style");i.id=n,i.textContent=r,document.head.appendChild(i)}let o=document.fonts,c=e.faces.map(()=>o.load(`16px "${e.family}"`).catch(()=>{}));await Promise.race([Promise.all(c),new Promise(i=>setTimeout(i,t))])}function Da(e){let t=typeof e=="object"&&e?e:void 0,r=t?.fontFamily?.split(",")[0].trim().replace(/^['"]|['"]$/g,"")??"",a=typeof t?.fontUrl=="string"?{normal:t.fontUrl}:t?.fontUrl??{},n=a.normal??"",o=a.bold??"",c=a.variable??"";(0,vn.useEffect)(()=>{if(!r||!n&&!o&&!c)return;let i=c?[["100 900",c]]:[["400",n],["700",o]],s=[];for(let[h,p]of i){if(!p)continue;let k=Io(p);if(!k)continue;let f=_c(k);s.push(`@font-face{font-family:"${r}";font-style:normal;font-weight:${h};font-display:swap;src:url(${k})${f?` format("${f}")`:""};}`)}if(s.length===0)return;let l=s.join(""),u=`${r}|${n}|${o}|${c}`,d=yn(u,"hsk-host-font");if(wt.set(u,(wt.get(u)??0)+1),!document.getElementById(d)){let h=document.createElement("style");h.id=d,h.textContent=l,document.head.appendChild(h)}return()=>{let h=(wt.get(u)??1)-1;if(h>0){wt.set(u,h);return}wt.delete(u),document.getElementById(d)?.remove()}},[r,n,o,c])}var $o=new WeakMap,Fo=new WeakMap;function wn(e){return e?Fo.get(e)??null:null}function Sn(e){if(!e)return Promise.resolve(null);let t=$o.get(e);if(t)return t;let r=Promise.resolve().then(()=>e.baseFont?.()??null).then(async a=>(a&&await Ia(a,1200),Fo.set(e,a),a)).catch(()=>null);return $o.set(e,r),r}function _o(e,t,r){if(e&&(Sn(e),t))try{e.getUIStrings?.(t,r)?.catch?.(()=>{})}catch{}}var Cn=Ft(require("react")),Zr=[],$a=[{value:"English",native:"English",tag:"en",rtl:!1},{value:"Chinese",native:"\u4E2D\u6587",tag:"zh",rtl:!1},{value:"Spanish",native:"Espa\xF1ol",tag:"es",rtl:!1},{value:"Arabic",native:"\u0627\u0644\u0639\u0631\u0628\u064A\u0629",tag:"ar",rtl:!0},{value:"Hindi",native:"\u0939\u093F\u0928\u094D\u0926\u0940",tag:"hi",rtl:!1},{value:"French",native:"Fran\xE7ais",tag:"fr",rtl:!1},{value:"Swahili",native:"Kiswahili",tag:"sw",rtl:!1},{value:"Portuguese",native:"Portugu\xEAs",tag:"pt",rtl:!1},{value:"Japanese",native:"\u65E5\u672C\u8A9E",tag:"ja",rtl:!1},{value:"Urdu",native:"\u0627\u0631\u062F\u0648",tag:"ur",rtl:!0}];function Jr(e){if(!e)return;let t=e.trim();if(!t)return;let r=t.toLowerCase(),a=$a.find(n=>n.value.toLowerCase()===r||n.native.toLowerCase()===r||n.tag===r);return a?a.native:t}function qo(e){for(let t of e){let r=t.codePointAt(0)??0;if(r>=1424&&r<=2303||r>=64285&&r<=65023||r>=65136&&r<=65279)return!0}return!1}var Uc={english:{preparing:"Preparing in English\u2026",changeLang:"Change language",endonym:"English"},swahili:{preparing:"Inatayarisha kwa Kiswahili\u2026",changeLang:"Badilisha lugha",endonym:"Kiswahili"},french:{preparing:"Configuration en fran\xE7ais\u2026",changeLang:"Changer de langue",endonym:"Fran\xE7ais"},spanish:{preparing:"Configurando en espa\xF1ol\u2026",changeLang:"Cambiar idioma",endonym:"Espa\xF1ol"},arabic:{preparing:"\u062C\u0627\u0631\u064D \u0627\u0644\u0625\u0639\u062F\u0627\u062F \u0628\u0627\u0644\u0644\u063A\u0629 \u0627\u0644\u0639\u0631\u0628\u064A\u0629\u2026",changeLang:"\u062A\u063A\u064A\u064A\u0631 \u0627\u0644\u0644\u063A\u0629",rtl:!0,endonym:"\u0627\u0644\u0639\u0631\u0628\u064A\u0629"},portuguese:{preparing:"Configurando em portugu\xEAs\u2026",changeLang:"Alterar idioma",endonym:"Portugu\xEAs"},hindi:{preparing:"\u0939\u093F\u0928\u094D\u0926\u0940 \u092E\u0947\u0902 \u0924\u0948\u092F\u093E\u0930 \u0915\u093F\u092F\u093E \u091C\u093E \u0930\u0939\u093E \u0939\u0948\u2026",changeLang:"\u092D\u093E\u0937\u093E \u092C\u0926\u0932\u0947\u0902",endonym:"\u0939\u093F\u0928\u094D\u0926\u0940"},chinese:{preparing:"\u6B63\u5728\u51C6\u5907\u4E2D\u6587\u73AF\u5883\u2026",changeLang:"\u66F4\u6539\u8BED\u8A00",endonym:"\u4E2D\u6587"},urdu:{preparing:"\u0627\u0631\u062F\u0648 \u0645\u06CC\u06BA \u062A\u06CC\u0627\u0631\u06CC \u062C\u0627\u0631\u06CC \u06C1\u06D2\u2026",changeLang:"\u0632\u0628\u0627\u0646 \u062A\u0628\u062F\u06CC\u0644 \u06A9\u0631\u06CC\u06BA",rtl:!0,endonym:"\u0627\u0631\u062F\u0648"},japanese:{preparing:"\u65E5\u672C\u8A9E\u3092\u8A2D\u5B9A\u4E2D\u2026",changeLang:"\u8A00\u8A9E\u3092\u5909\u66F4",endonym:"\u65E5\u672C\u8A9E"},german:{preparing:"Wird auf Deutsch eingerichtet\u2026",changeLang:"Sprache \xE4ndern",endonym:"Deutsch"},italian:{preparing:"Configurazione in italiano\u2026",changeLang:"Cambia lingua",endonym:"Italiano"},russian:{preparing:"\u041D\u0430\u0441\u0442\u0440\u043E\u0439\u043A\u0430 \u043D\u0430 \u0440\u0443\u0441\u0441\u043A\u043E\u043C\u2026",changeLang:"\u0418\u0437\u043C\u0435\u043D\u0438\u0442\u044C \u044F\u0437\u044B\u043A",endonym:"\u0420\u0443\u0441\u0441\u043A\u0438\u0439"},korean:{preparing:"\uD55C\uAD6D\uC5B4\uB85C \uC124\uC815 \uC911\u2026",changeLang:"\uC5B8\uC5B4 \uBCC0\uACBD",endonym:"\uD55C\uAD6D\uC5B4"},turkish:{preparing:"T\xFCrk\xE7e olarak haz\u0131rlan\u0131yor\u2026",changeLang:"Dili de\u011Fi\u015Ftir",endonym:"T\xFCrk\xE7e"},vietnamese:{preparing:"\u0110ang thi\u1EBFt l\u1EADp b\u1EB1ng Ti\u1EBFng Vi\u1EC7t\u2026",changeLang:"\u0110\u1ED5i ng\xF4n ng\u1EEF",endonym:"Ti\u1EBFng Vi\u1EC7t"},indonesian:{preparing:"Menyiapkan dalam Bahasa Indonesia\u2026",changeLang:"Ubah bahasa",endonym:"Bahasa Indonesia"},polish:{preparing:"Przygotowywanie w j\u0119zyku polskim\u2026",changeLang:"Zmie\u0144 j\u0119zyk",endonym:"Polski"},dutch:{preparing:"Instellen in het Nederlands\u2026",changeLang:"Taal wijzigen",endonym:"Nederlands"},thai:{preparing:"\u0E01\u0E33\u0E25\u0E31\u0E07\u0E15\u0E31\u0E49\u0E07\u0E04\u0E48\u0E32\u0E40\u0E1B\u0E47\u0E19\u0E20\u0E32\u0E29\u0E32\u0E44\u0E17\u0E22\u2026",changeLang:"\u0E40\u0E1B\u0E25\u0E35\u0E48\u0E22\u0E19\u0E20\u0E32\u0E29\u0E32",endonym:"\u0E44\u0E17\u0E22"},bengali:{preparing:"\u09AC\u09BE\u0982\u09B2\u09BE\u09AF\u09BC \u09AA\u09CD\u09B0\u09B8\u09CD\u09A4\u09C1\u09A4 \u0995\u09B0\u09BE \u09B9\u099A\u09CD\u099B\u09C7\u2026",changeLang:"\u09AD\u09BE\u09B7\u09BE \u09AA\u09B0\u09BF\u09AC\u09B0\u09CD\u09A4\u09A8 \u0995\u09B0\u09C1\u09A8",endonym:"\u09AC\u09BE\u0982\u09B2\u09BE"},tamil:{preparing:"\u0BA4\u0BAE\u0BBF\u0BB4\u0BBF\u0BB2\u0BCD \u0BA4\u0BAF\u0BBE\u0BB0\u0BCD \u0B9A\u0BC6\u0BAF\u0BCD\u0BAF\u0BAA\u0BCD\u0BAA\u0B9F\u0BC1\u0B95\u0BBF\u0BB1\u0BA4\u0BC1\u2026",changeLang:"\u0BAE\u0BCA\u0BB4\u0BBF\u0BAF\u0BC8 \u0BAE\u0BBE\u0BB1\u0BCD\u0BB1\u0BB5\u0BC1\u0BAE\u0BCD",endonym:"\u0BA4\u0BAE\u0BBF\u0BB4\u0BCD"},telugu:{preparing:"\u0C24\u0C46\u0C32\u0C41\u0C17\u0C41\u0C32\u0C4B \u0C38\u0C3F\u0C26\u0C4D\u0C27\u0C02 \u0C1A\u0C47\u0C38\u0C4D\u0C24\u0C4B\u0C02\u0C26\u0C3F\u2026",changeLang:"\u0C2D\u0C3E\u0C37\u0C28\u0C41 \u0C2E\u0C3E\u0C30\u0C4D\u0C1A\u0C02\u0C21\u0C3F",endonym:"\u0C24\u0C46\u0C32\u0C41\u0C17\u0C41"},persian:{preparing:"\u062F\u0631 \u062D\u0627\u0644 \u0622\u0645\u0627\u062F\u0647\u200C\u0633\u0627\u0632\u06CC \u0628\u0647 \u0632\u0628\u0627\u0646 \u0641\u0627\u0631\u0633\u06CC\u2026",changeLang:"\u062A\u063A\u06CC\u06CC\u0631 \u0632\u0628\u0627\u0646",rtl:!0,endonym:"\u0641\u0627\u0631\u0633\u06CC"},farsi:{preparing:"\u062F\u0631 \u062D\u0627\u0644 \u0622\u0645\u0627\u062F\u0647\u200C\u0633\u0627\u0632\u06CC \u0628\u0647 \u0632\u0628\u0627\u0646 \u0641\u0627\u0631\u0633\u06CC\u2026",changeLang:"\u062A\u063A\u06CC\u06CC\u0631 \u0632\u0628\u0627\u0646",rtl:!0,endonym:"\u0641\u0627\u0631\u0633\u06CC"},greek:{preparing:"\u03A1\u03CD\u03B8\u03BC\u03B9\u03C3\u03B7 \u03C3\u03C4\u03B1 \u03B5\u03BB\u03BB\u03B7\u03BD\u03B9\u03BA\u03AC\u2026",changeLang:"\u0391\u03BB\u03BB\u03B1\u03B3\u03AE \u03B3\u03BB\u03CE\u03C3\u03C3\u03B1\u03C2",endonym:"\u0395\u03BB\u03BB\u03B7\u03BD\u03B9\u03BA\u03AC"},hebrew:{preparing:"\u05DE\u05D2\u05D3\u05D9\u05E8 \u05D1\u05E2\u05D1\u05E8\u05D9\u05EA\u2026",changeLang:"\u05E9\u05E0\u05D4 \u05E9\u05E4\u05D4",rtl:!0,endonym:"\u05E2\u05D1\u05E8\u05D9\u05EA"},swedish:{preparing:"St\xE4ller in p\xE5 svenska\u2026",changeLang:"Byt spr\xE5k",endonym:"Svenska"},kikuyu:{preparing:"G\u0129k\u0169y\u0169 g\u0129g\u0129thondekwo\u2026",changeLang:"Cenjia r\u0169thiomi",endonym:"G\u0129k\u0169y\u0169"},gikuyu:{preparing:"G\u0129k\u0169y\u0169 g\u0129g\u0129thondekwo\u2026",changeLang:"Cenjia r\u0169thiomi",endonym:"G\u0129k\u0169y\u0169"},akan:{preparing:"Y\u025Bresiesie w\u0254 Akan mu\u2026",changeLang:"Sesa kasa",endonym:"Akan"},twi:{preparing:"Y\u025Bresiesie w\u0254 Twi mu\u2026",changeLang:"Sesa kasa",endonym:"Twi"},yoruba:{preparing:"Ngbaradi ni \xC8d\xE8 Yor\xF9b\xE1\u2026",changeLang:"Yi ede pada",endonym:"\xC8d\xE8 Yor\xF9b\xE1"},amharic:{preparing:"\u1260\u12A0\u121B\u122D\u129B \u1260\u1218\u12D8\u130B\u1300\u1275 \u120B\u12ED\u2026",changeLang:"\u124B\u1295\u124B \u1240\u12ED\u122D",endonym:"\u12A0\u121B\u122D\u129B"},somali:{preparing:"Diyaarinta af Soomaali\u2026",changeLang:"Beddel luqadda",endonym:"Af-Soomaali"},hausa:{preparing:"Shirya cikin Hausa\u2026",changeLang:"Canja harshe",endonym:"Hausa"},zulu:{preparing:"Ilungiselela ngesiZulu\u2026",changeLang:"Shintsha ulimi",endonym:"isiZulu"},oromo:{preparing:"Afaan Oromootiin qophaa'aa jira\u2026",changeLang:"Afaan jijjiiri",endonym:"Afaan Oromoo"},luganda:{preparing:"Tuteekateeka mu Oluganda\u2026",changeLang:"Kyusa olulimi",endonym:"Oluganda"}};function Bo(e){let t=e.trim();return t?t.charAt(0).toUpperCase()+t.slice(1):"\u2026"}function ea(e){if(!e)return{nativeName:"\u2026",preparing:"Preparing\u2026",changeLang:"\u2190",rtl:!1,known:!0};let t=e.trim().toLowerCase(),r=Object.entries(Uc).find(([c,i])=>c===t||i.endonym?.toLowerCase()===t||Jr(c)?.toLowerCase()===t);if(r)return{nativeName:r[1].endonym||Jr(e)||Bo(e),preparing:r[1].preparing,changeLang:r[1].changeLang,rtl:!!r[1].rtl||qo(r[1].preparing),known:!0};let a=Jr(e)||e,n=Bo(a),o=qo(n);return{nativeName:n,preparing:`Preparing in ${n}\u2026`,changeLang:o?"\u062A\u063A\u064A\u064A\u0631":"Change",rtl:o,known:!1}}var Fa=[{name:"Puck",label:"Puck",gender:"male"},{name:"Charon",label:"Charon",gender:"male"},{name:"Kore",label:"Kore",gender:"female"},{name:"Aoede",label:"Aoede",gender:"female"}],Mn="hsk-live-voice",hr={langPlaceholder:"Type your preferred language\u2026",nameStepTitle:"Nice to meet you.",nameStepLead:"I can search, visualize, or capture anything for you \u2014 on this site or any other.",nameStepAsk:"What should I call you?",namePlaceholder:"Type your name\u2026",attachImage:"Attach a photo",vizUnavailable:"The preview could not be loaded.",vizDisclaimerImage:"Generated using Artificial Intelligence \u2014 colours, size and placement may differ from the real product.",vizDisclaimerVideo:"Generated using Artificial Intelligence \u2014 colours, size and movement may differ from the real product.",calcDisclaimer:"This is a calculation from live figures, not a guarantee \u2014 the market can move against it.",staleTitle:"No longer available",staleRemoved:"{title} has been removed and is no longer on offer.",staleUnavailable:"{title} is currently unavailable.",keyPastePrompt:"Paste your public id \u2014 or create one",keyPastePlaceholder:"your public id\u2026",keyUseMine:"Use my id",keyCreating:"Creating\u2026",keyCreateNew:"I'm new \u2014 create one",keySecretTitle:"Your secret \u2014 shown only once",keyDismiss:"Dismiss",keyCopySecret:"Copy secret",keyCopied:"Copied",keySecretHint:"Keep it private \u2014 use it to unlock your memory.",keyPublicTitle:"Your public id",keyCopyId:"Copy id",keyPublicHint:"Paste this on any site to save to the same memory.",keyAutoHide:"Hides automatically in {seconds}s.",greetReturning:"Hi, {name}.",greetReturningLead:"What can I find for you today?",howShouldResultsLook:"How should results look?",entityLangIntro:"I reply in {lang}. Product names stay as this site lists them \u2014 the details can too, or be translated.",asWritten:"As written",inLanguage:"In {lang}",namesAsWritten:"Details exactly as the site lists them.",detailsTranslated:"Details translated. Numbers and links stay exactly as listed.",entityLangPlaceholder:"Pick one of the two cards above\u2026",termsStepTitle:"Privacy & Terms of Use",termsStepSubtitle:"Transparent, anonymous, and zero-PII by design.",termsPiiTitle:"Zero PII Collection",termsPiiDesc:"We never collect or store personal identifying information (no emails, phone numbers, or real-world identities) from your chats or voice sessions.",termsSessionTitle:"Anonymous Session Tokens",termsSessionDesc:"Your session uses an anonymous client-side token solely to maintain context. It is never linked to your real identity.",termsMemoryTitle:"Ephemeral Chats vs. Mimi Vault",termsMemoryDesc:'Regular chats are ephemeral \u2014 closing the tab or clicking "Clear Chat" terminates them forever. Items you save with "@kiku" are encrypted and can be unlocked at mimi.akropolys.cloud with your Secret Access Key.',termsCookieTitle:"Host Website Telemetry",termsCookieDesc:"The host website where Kiku is embedded may collect cookies and analytics per their own cookie policy, outside Kiku's control.",termsAgreeButton:"Agree & Continue",termsAgreeCounting:"Agree & Continue ({seconds}s)",termsPlaceholder:"Please review our Privacy & Terms above\u2026",allSet:"You're all set, {name}.",replyingTranslated:"Replying in {lang}, results translated too. Ask me anything.",replyingOriginal:"Replying in {lang}, results as this site wrote them. Ask me anything.",defaultPlaceholder:"Ask me anything\u2026",footerHint:"kiku \xB7 searches the whole catalogue in real time",voiceListening:"Listening\u2026 tap the mic to stop",voiceSending:"Got it \u2014 sending\u2026",voiceModeStart:"Hands-free conversation",voiceModeExit:"Leave hands-free",voicePhaseListening:"Listening",voicePhaseThinking:"Thinking",voicePhaseSpeaking:"Speaking",voiceHint:"Just talk \u2014 I'll answer when you pause.",voiceMuted:"Muted",voiceMutedHint:"Tap the microphone to speak again.",micDenied:"Microphone blocked. Allow mic access for this site, then try again.",micInsecure:"Voice needs a secure (https) connection.",micMissing:"No microphone found.",micLangUnsupported:"This browser cannot transcribe that language yet. Type instead.",micNetwork:"Couldn't reach voice. Try again in a moment.",voiceUnavailable:"Voice is unavailable right now. Try again in a moment.",voiceLimitReached:"You've used up today's voice time. It resets in a day \u2014 chat still works.",voiceSiteLimit:"Voice is out of allowance on this site for now. Chat still works.",voicePickerLabel:"Choose a voice",micNoSpeech:"Didn't catch anything. Try again, a little closer to the mic.",micFailed:"Couldn't hear that. Try again.",clearChat:"Clear chat",thinking:"Thinking",thoughtForSeconds:"Thought for {duration}",thoughtProcess:"Thought process",captureAndRemember:"kiku \u2014 capture & remember",captureCurrentPage:"Capture current page",captureAll:"Capture all ({count})",whatHaveYouSaved:"What have you saved?",deleteThis:"Delete this",errShopperReplyLimit:"You've reached this site's reply limit for your account.",errAccessRevoked:"Your access to the assistant has been revoked by the store.",errAccountRequired:"Please create an account to continue using the chat assistant.",errStreamInterrupted:"The reply was interrupted. Please try again.",errNetwork:"The assistant couldn't respond just now \u2014 please try again in a moment.",errGeneric:"Something went wrong. Please try again.",vizWorking:"Visualizing\u2026",vizMarkEdit:"Mark & edit",markupTitle:"Mark where you want the change",markupCancel:"Cancel",markupSketch:"Sketch",markupText:"Text",markupEraser:"Eraser",markupUndo:"Undo",markupClear:"Clear",markupSend:"Send",markupTextHint:"Type, then Enter",markupInstruction:"Describe the change \u2014 e.g. add the sofa here",markupDialogLabel:"Mark up image",markupColorLabel:"Colour {colour}",markupError:"Couldn't process this image \u2014 try a newer visualization.",markupLoadError:"This image can't be edited here.",markupLoading:"Loading image\u2026",markupApplyMarks:"Apply the change I marked on the image.",openMemory:"Open my memory on mimi",errTooManyRequests:"The assistant is currently receiving too many requests. Please try again in a few moments.",errTokenLimit:"You've reached your usage limit. Please update your billing limits in your dashboard to continue.",statusSent:"Sent",statusStopped:"Sent \xB7 reply stopped",queuedWaiting:"Queued",queuedSendNow:"Send now",jumpToLatest:"Scroll to latest",timelineLabel:"Questions in this conversation",voiceConnecting:"Connecting \u2014 wait for the tone before speaking",stoppedByYou:"You stopped this response.",stoppedInterrupted:"This response was interrupted.",continueGenerating:"Continue generating",generateResponse:"Generate response",pillCompareTop2:"Compare top 2",pillCompareTop2Query:"Compare the {a} and {b}",pillMoreOn:"More on {name}",pillMoreOnQuery:"Tell me more about the {name}",pillUnder:"Under {amount}",pillUnderQuery:"Show me options under {amount}",pillSimilarOptions:"Similar options",pillSimilarOptionsQuery:"Show me more like the {name}",pillWhichBest:"Which is best?",pillWhichBestQuery:"Which one would you recommend and why?",pillFindAlternatives:"Find alternatives",pillFindAlternativesQuery:"What are good alternatives to the {name}?",pillShowPopular:"Show popular items",pillShowPopularQuery:"What are your most popular items?",pillRecommend:"Recommend something",pillRecommendQuery:"What do you recommend for me?",cardClickAnswer:"The {name}",cardClickQuery:"Tell me more about the {name}{price} \u2014 what are its key details, who is it best suited for, and what should I know?",displayCapture:"capture {name}",displayCaptureAll:"capture all ({count} items)",displayViewHistory:"what have you saved?",displayDelete:"delete this",retry:"Retry",edit:"Edit",copy:"Copy",copied:"Copied",msgFailed:"Failed to send"},Nn=Cn.default.createContext((e,t)=>{let r=hr[e];if(t)for(let[a,n]of Object.entries(t))r=r.split(`{${a}}`).join(n);return r}),rr=()=>Cn.default.useContext(Nn);function Uo(e){let t=e.trim();if(!t||t.length>40||t.includes("?"))return null;t=t.replace(/^(hi|hey|hello|yo)[,!.\s]+/i,""),t=t.replace(/^(i['’]?m|im|my name is|call me|it['’]?s|this is|name['’]?s)\s+/i,""),t=t.trim().replace(/[.!,]+$/,"");let r=t.split(/\s+/);if(r.length===0||r.length>3||!/^[\p{L}][\p{L}\-'’ ]{0,30}$/u.test(t))return null;let a=t.toLowerCase();if(["phone","laptop","tv","cheap","best","under","buy","search","find","show","need","want","price","sofa","shoe","headphone","camera","gift","help"].some(c=>a.includes(c)))return null;let o=r[0];return o.charAt(0).toUpperCase()+o.slice(1)}var Ho={shopper_reply_limit:"errShopperReplyLimit",RATE_LIMIT_EXCEEDED:"errShopperReplyLimit",access_revoked:"errAccessRevoked",account_required:"errAccountRequired",stream_interrupted:"errStreamInterrupted"};var jo=(e,t)=>{let r=e&&typeof e=="object"?e.code:void 0;if(r&&Ho[r])return t(Ho[r]);let a="";if(typeof e=="string")a=e;else if(e&&typeof e=="object"&&e.message)a=e.message;else try{a=JSON.stringify(e)}catch{a=String(e)}let n=a.toLowerCase();if(n.includes("429")||n.includes("too many requests")||n.includes("requests per minute limit exceeded")||n.includes("too_many_requests_error")||n.includes("request_quota_exceeded")||n.includes("quota"))return t("errTooManyRequests");if(n.includes("token limit"))return t("errTokenLimit");if(n.includes("failed to fetch")||n.includes("networkerror")||n.includes("request failed"))return t("errNetwork");if(a)try{console.warn("[kiku] untranslated error:",a)}catch{}return t("errGeneric")},Wo=()=>typeof window>"u"||window.isSecureContext!==!1,Tn=15;var he=Ft(require("react"));var U=require("react/jsx-runtime"),jc=({className:e,size:t=18,tight:r=!1})=>(0,U.jsx)("svg",{className:ee("hsk-brand-mark",e),width:t,height:t,viewBox:r?"10.2 17.4 79.5 79.5":"0 0 100 100",xmlns:"http://www.w3.org/2000/svg","aria-label":"kiku",children:(0,U.jsxs)("g",{transform:"translate(22.7 19) scale(0.62)",fill:"currentColor",fillRule:"evenodd",children:[(0,U.jsx)("path",{d:"M39.4 10.4 Q44 0 48.6 10.4 L86.1 95.8 Q88 100 83.4 100 L4.6 100 Q0 100 1.9 95.8 Z M24 100 L24 65 Q24 60 27.4 56.3 Q44 38 60.6 56.3 Q64 60 64 65 L64 100 Z"}),(0,U.jsx)("circle",{cx:"55",cy:"82",r:"3.4"})]})}),Rt=jc,Vo=()=>(0,U.jsxs)("svg",{className:"hsk-stop-icon",width:"18",height:"18",viewBox:"0 0 24 24",fill:"none",children:[(0,U.jsx)("circle",{className:"hsk-stop-ring",cx:"12",cy:"12",r:"9.5",stroke:"currentColor",strokeWidth:"1.6",strokeLinecap:"round"}),(0,U.jsx)("rect",{className:"hsk-stop-core",x:"8.5",y:"8.5",width:"7",height:"7",rx:"1.8",fill:"currentColor"})]});var Oo=()=>(0,U.jsxs)("svg",{width:"12",height:"12",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2.2",strokeLinecap:"round",strokeLinejoin:"round",children:[(0,U.jsx)("path",{d:"M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6"}),(0,U.jsx)("polyline",{points:"15 3 21 3 21 9"}),(0,U.jsx)("line",{x1:"10",y1:"14",x2:"21",y2:"3"})]}),Ko=()=>(0,U.jsx)("svg",{width:"13",height:"13",viewBox:"0 0 24 24",fill:"currentColor",children:(0,U.jsx)("path",{d:"M8 5v14l11-7z"})}),Lr=()=>(0,U.jsxs)("svg",{width:"16",height:"16",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2.5",strokeLinecap:"round",strokeLinejoin:"round",children:[(0,U.jsx)("line",{x1:"18",y1:"6",x2:"6",y2:"18"}),(0,U.jsx)("line",{x1:"6",y1:"6",x2:"18",y2:"18"})]}),_a=()=>(0,U.jsx)("svg",{width:"16",height:"16",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:(0,U.jsx)("path",{d:"m15 18-6-6 6-6"})}),Yo=()=>(0,U.jsx)("svg",{width:"16",height:"16",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:(0,U.jsx)("path",{d:"m9 18 6-6-6-6"})}),Go=()=>(0,U.jsxs)("svg",{width:"16",height:"16",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:[(0,U.jsx)("path",{d:"M3 12a9 9 0 1 0 9-9 9.75 9.75 0 0 0-6.74 2.74L3 8"}),(0,U.jsx)("path",{d:"M3 3v5h5"}),(0,U.jsx)("path",{d:"M12 7v5l4 2"})]}),qa=()=>(0,U.jsx)("svg",{width:"16",height:"16",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:(0,U.jsx)("path",{d:"M19 21 12 16l-7 5V5a2 2 0 0 1 2-2h10a2 2 0 0 1 2 2z"})}),Qo=()=>(0,U.jsxs)("svg",{width:"16",height:"16",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:[(0,U.jsx)("path",{d:"M3 6h18"}),(0,U.jsx)("path",{d:"M19 6v14a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V6m3 0V4a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v2"})]});var Xo=()=>(0,U.jsx)("svg",{width:"19",height:"19",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",children:(0,U.jsx)("path",{d:"M12 5v14M5 12h14"})}),zn=()=>(0,U.jsx)("svg",{width:"18",height:"18",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:(0,U.jsx)("path",{d:"m21.44 11.05-9.19 9.19a6 6 0 0 1-8.49-8.49l8.57-8.57A4 4 0 1 1 18 8.84l-8.59 8.57a2 2 0 0 1-2.83-2.83l8.49-8.48"})}),ta=({className:e,size:t=13}={})=>(0,U.jsxs)("svg",{className:ee("hsk-retry-icon",e),width:t,height:t,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2.2",strokeLinecap:"round",strokeLinejoin:"round",children:[(0,U.jsx)("path",{className:"hsk-retry-arrow",d:"M21.5 2v6h-6"}),(0,U.jsx)("path",{className:"hsk-retry-arc",d:"M21.34 15.57a10 10 0 1 1-.57-8.38l5.67-5.19"})]}),Jo=({className:e,size:t=13}={})=>(0,U.jsxs)("svg",{className:ee("hsk-edit-icon",e),width:t,height:t,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2.2",strokeLinecap:"round",strokeLinejoin:"round",children:[(0,U.jsx)("path",{className:"hsk-edit-pencil",d:"M17 3a2.85 2.83 0 1 1 4 4L7.5 20.5 2 22l1.5-5.5Z"}),(0,U.jsx)("path",{className:"hsk-edit-lead",d:"m15 5 4 4"})]}),ur=({className:e,size:t=13}={})=>(0,U.jsxs)("svg",{className:ee("hsk-copy-icon",e),width:t,height:t,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:[(0,U.jsx)("rect",{className:"hsk-copy-sheet",x:"8.5",y:"7",width:"12",height:"14",rx:"3.5"}),(0,U.jsx)("path",{className:"hsk-copy-back",d:"M5 15H4.5A2.5 2.5 0 0 1 2 12.5V4.5A2.5 2.5 0 0 1 4.5 2h8A2.5 2.5 0 0 1 15 4.5V5"})]}),mr=({className:e,size:t=13}={})=>(0,U.jsx)("svg",{className:ee("hsk-check-icon",e),width:t,height:t,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2.4",strokeLinecap:"round",strokeLinejoin:"round",children:(0,U.jsx)("polyline",{className:"hsk-check-mark",points:"20 6 9 17 4 12"})}),Er=({className:e,size:t=18}={})=>(0,U.jsxs)("svg",{className:e,width:t,height:t,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:[(0,U.jsx)("path",{className:"hsk-mic-cap",d:"M12 2a3 3 0 0 0-3 3v7a3 3 0 0 0 6 0V5a3 3 0 0 0-3-3z"}),(0,U.jsx)("path",{d:"M19 10v2a7 7 0 0 1-14 0v-2"}),(0,U.jsx)("line",{x1:"12",y1:"19",x2:"12",y2:"22"})]}),Ba=()=>(0,U.jsxs)("svg",{width:"18",height:"18",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:[(0,U.jsx)("line",{x1:"2",y1:"2",x2:"22",y2:"22"}),(0,U.jsx)("path",{d:"M18.89 13.23A7.12 7.12 0 0 0 19 12v-2"}),(0,U.jsx)("path",{d:"M5 10v2a7 7 0 0 0 12 5"}),(0,U.jsx)("path",{d:"M15 9.34V5a3 3 0 0 0-5.68-1.33"}),(0,U.jsx)("path",{d:"M9 9v3a3 3 0 0 0 5.12 2.12"}),(0,U.jsx)("line",{x1:"12",y1:"19",x2:"12",y2:"22"})]}),Rn=({active:e})=>(0,U.jsxs)("svg",{width:"18",height:"18",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:[(0,U.jsx)("path",{className:"hsk-wave-bar hsk-wave-bar--tip",style:{"--hsk-bar":0,"--hsk-amp":1.9,"--hsk-period":"1.24s"},d:"M2 12h2"}),(0,U.jsx)("path",{className:"hsk-wave-bar",style:{"--hsk-bar":1,"--hsk-amp":1.78,"--hsk-period":"0.94s"},d:"M6 8v8"}),(0,U.jsx)("path",{className:"hsk-wave-bar",style:{"--hsk-bar":2,"--hsk-amp":1.26,"--hsk-period":"1.42s"},d:"M10 4v16"}),(0,U.jsx)("path",{className:"hsk-wave-bar",style:{"--hsk-bar":3,"--hsk-amp":1.62,"--hsk-period":"1.08s"},d:"M14 7v10"}),(0,U.jsx)("path",{className:"hsk-wave-bar",style:{"--hsk-bar":4,"--hsk-amp":2.05,"--hsk-period":"0.86s"},d:"M18 9v6"}),(0,U.jsx)("path",{className:"hsk-wave-bar hsk-wave-bar--tip",style:{"--hsk-bar":5,"--hsk-amp":1.9,"--hsk-period":"1.32s"},d:"M22 12h-2"})]}),Zo=()=>(0,U.jsxs)("svg",{className:"hsk-telegram-icon",width:"18",height:"18",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:[(0,U.jsx)("polygon",{className:"hsk-kite-wing hsk-kite-wing--far",points:"22 2 11 13 2 9"}),(0,U.jsx)("polygon",{className:"hsk-kite-wing hsk-kite-wing--near",points:"22 2 15 22 11 13"}),(0,U.jsx)("line",{className:"hsk-kite-spine",x1:"22",y1:"2",x2:"11",y2:"13"})]}),ei=()=>(0,U.jsxs)("svg",{width:"13",height:"13",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:[(0,U.jsx)("circle",{className:"hsk-sun-core",cx:"12",cy:"12",r:"5"}),(0,U.jsxs)("g",{className:"hsk-sun-rays",children:[(0,U.jsx)("line",{x1:"12",y1:"1",x2:"12",y2:"3"}),(0,U.jsx)("line",{x1:"12",y1:"21",x2:"12",y2:"23"}),(0,U.jsx)("line",{x1:"4.22",y1:"4.22",x2:"5.64",y2:"5.64"}),(0,U.jsx)("line",{x1:"18.36",y1:"18.36",x2:"19.78",y2:"19.78"}),(0,U.jsx)("line",{x1:"1",y1:"12",x2:"3",y2:"12"}),(0,U.jsx)("line",{x1:"21",y1:"12",x2:"23",y2:"12"}),(0,U.jsx)("line",{x1:"4.22",y1:"19.78",x2:"5.64",y2:"18.36"}),(0,U.jsx)("line",{x1:"18.36",y1:"5.64",x2:"19.78",y2:"4.22"})]})]}),ti=()=>(0,U.jsx)("svg",{width:"13",height:"13",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:(0,U.jsx)("path",{className:"hsk-moon-body",d:"M21 12.79A9 9 0 1 1 11.21 3 7 7 0 0 0 21 12.79z"})}),ri=()=>(0,U.jsxs)("svg",{width:"13",height:"13",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:[(0,U.jsx)("path",{className:"hsk-wood-layer",style:{"--hsk-layer":0},d:"M12 2L2 7l10 5 10-5-10-5z"}),(0,U.jsx)("path",{className:"hsk-wood-layer",style:{"--hsk-layer":2},d:"M2 17l10 5 10-5"}),(0,U.jsx)("path",{className:"hsk-wood-layer",style:{"--hsk-layer":1},d:"M2 12l10 5 10-5"})]}),ai=()=>(0,U.jsx)("svg",{width:"13",height:"13",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:(0,U.jsx)("path",{className:"hsk-heart-body",d:"M20.84 4.61a5.5 5.5 0 0 0-7.78 0L12 5.67l-1.06-1.06a5.5 5.5 0 0 0-7.78 7.78l1.06 1.06L12 21.23l7.78-7.78 1.06-1.06a5.5 5.5 0 0 0 0-7.78z"})}),ni=()=>(0,U.jsxs)("svg",{width:"13",height:"13",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:[(0,U.jsx)("path",{d:"M17 8h1a4 4 0 1 1 0 8h-1"}),(0,U.jsx)("path",{d:"M3 8h14v9a4 4 0 0 1-4 4H7a4 4 0 0 1-4-4z"}),(0,U.jsx)("line",{className:"hsk-steam",style:{"--hsk-steam":0},x1:"6",y1:"1",x2:"6",y2:"4"}),(0,U.jsx)("line",{className:"hsk-steam",style:{"--hsk-steam":1},x1:"10",y1:"1",x2:"10",y2:"4"}),(0,U.jsx)("line",{className:"hsk-steam",style:{"--hsk-steam":2},x1:"14",y1:"1",x2:"14",y2:"4"})]}),oi=()=>(0,U.jsxs)("svg",{width:"13",height:"13",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:[(0,U.jsx)("path",{d:"M12 3a6.5 6.5 0 0 0 9 9 9 9 0 1 1-9-9z"}),(0,U.jsx)("path",{className:"hsk-star-spark",d:"M18.5 2.5l.6 1.6 1.6.6-1.6.6-.6 1.6-.6-1.6-1.6-.6 1.6-.6z"})]});var ii=({size:e=11})=>(0,U.jsxs)("svg",{width:e,height:e,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2.6",strokeLinecap:"round",strokeLinejoin:"round",children:[(0,U.jsx)("line",{x1:"18",y1:"6",x2:"6",y2:"18"}),(0,U.jsx)("line",{x1:"6",y1:"6",x2:"18",y2:"18"})]}),si=({className:e,size:t=16,filled:r=!1}={})=>(0,U.jsxs)("svg",{className:ee("hsk-pin-icon",e),width:t,height:t,viewBox:"0 0 24 24",fill:r?"currentColor":"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:[(0,U.jsx)("line",{x1:"12",y1:"17",x2:"12",y2:"22"}),(0,U.jsx)("path",{d:"M5 17h14v-1.76a2 2 0 0 0-1.11-1.79l-1.78-.9A2 2 0 0 1 15 10.76V6h1a2 2 0 0 0 0-4H8a2 2 0 0 0 0 4h1v4.76a2 2 0 0 1-1.11 1.79l-1.78.9A2 2 0 0 0 5 15.24V17z"})]});var kr=[{id:"light",label:"Silver",Icon:ei,dark:!1},{id:"dark",label:"Onyx",Icon:ti,dark:!0},{id:"mahogany",label:"Mahogany",Icon:ri,dark:!0},{id:"blush",label:"Blush",Icon:ai,dark:!1},{id:"coffee",label:"Coffee",Icon:ni,dark:!1},{id:"midnight",label:"Midnight",Icon:oi,dark:!0}],Pn="dark",ci="light";function An(e){return typeof e=="string"&&kr.some(t=>t.id===e)}function Ln(e){return kr.find(t=>t.id===e)??kr[0]}var Hr=require("@akropolys/sdk"),Ts=require("@akropolys/sdk");var Ha=require("react");function Wc(e,t,r=.55){return t<=0?0:e*t*r/(t+r*Math.abs(e))}function Vc({stiffness:e=500,damping:t=45,onFrame:r,onRest:a}){let n=0,o=0,c=0,i=null,s=0,l=d=>{let h=Math.min(.032,(d-s)/1e3)||.016666666666666666;s=d;let p=Math.max(1,Math.ceil(h/.008)),k=h/p;for(let f=0;f<p;f++){let w=-e*(n-c)-t*o;o+=w*k,n+=o*k}if(Math.abs(n-c)<.5&&Math.abs(o)<.5){n=c,o=0,i=null,r(n),a?.();return}r(n),i=requestAnimationFrame(l)},u=()=>{i===null&&(s=performance.now(),i=requestAnimationFrame(l))};return{track(d){i!==null&&(cancelAnimationFrame(i),i=null),n=d,o=0,r(n)},to(d,h=0){c=d,o=h,u()},get value(){return n},stop(){i!==null&&(cancelAnimationFrame(i),i=null)}}}function li({panel:e,scroller:t,onDismiss:r,quiescent:a,enabled:n=!0}){let o=(0,Ha.useRef)(r);o.current=r,(0,Ha.useEffect)(()=>{if(!n)return;let c=e();if(!c||typeof matchMedia=="function"&&matchMedia("(prefers-reduced-motion: reduce)").matches)return;let i=!1,s=0,l=0,u=0,d=-1,h=0,p=0,k=0,f=!1,w=!1,L=Vc({onFrame:v=>{c.style.transform=v===0?"":`translate3d(0, ${v}px, 0)`;let J=c.parentElement;J&&(J.style.opacity=v===0?"":String(Math.max(.35,1-v/(c.offsetHeight||1)*1.1)))},onRest:()=>{c.style.willChange="",w&&(w=!1,o.current())}}),$=()=>{let v=t();return v&&v.scrollTop>0?!1:a?a():!0},m=v=>{v.pointerType==="mouse"||!v.isPrimary||(i=!1,f=!1,d=v.pointerId,s=h=v.clientY,l=v.clientX,p=v.timeStamp,k=0,u=L.value)},S=v=>{if(v.pointerId!==d)return;let J=v.clientY-s,W=v.clientX-l;if(!f){if(Math.abs(J)<6&&Math.abs(W)<6)return;if(f=!0,i=J>0&&Math.abs(J)>Math.abs(W)&&$(),i){try{c.setPointerCapture(v.pointerId)}catch{}L.stop(),c.style.animation="none",c.style.willChange="transform"}}if(!i)return;let G=v.timeStamp-p;G>0&&(k=(v.clientY-h)/G*1e3),h=v.clientY,p=v.timeStamp;let E=u+J;L.track(E<0?-Wc(-E,c.offsetHeight||1):E),v.cancelable&&v.preventDefault()},F=v=>{if(v.pointerId!==d)return;try{c.hasPointerCapture(v.pointerId)&&c.releasePointerCapture(v.pointerId)}catch{}if(d=-1,!i)return;i=!1;let J=c.offsetHeight||1;L.value+k*.12>J*.3||k>900?(w=!0,c.style.pointerEvents="none",L.to(J,k)):L.to(0,k)};return c.addEventListener("pointerdown",m,{passive:!0}),c.addEventListener("pointermove",S,{passive:!1}),c.addEventListener("pointerup",F,{passive:!0}),c.addEventListener("pointercancel",F,{passive:!0}),()=>{L.stop(),c.removeEventListener("pointerdown",m),c.removeEventListener("pointermove",S),c.removeEventListener("pointerup",F),c.removeEventListener("pointercancel",F),c.style.transform="",c.style.willChange="",c.style.animation="",c.style.pointerEvents="";let v=c.parentElement;v&&(v.style.opacity="")}},[n,e,t,a])}function En(e){let t=e.indexOf(","),r=t===-1?e:e.slice(t+1);return Math.floor(r.length*.75)}async function Ua(e){let t=await new Promise((r,a)=>{let n=new FileReader;n.onload=()=>r(n.result),n.onerror=()=>a(n.error??new Error("read failed")),n.readAsDataURL(e)});if(e.type==="image/gif"||e.type==="image/svg+xml"||En(t)<=307200)return t;try{let r=await createImageBitmap(e);try{let a=Math.min(1,1536/Math.max(r.width,r.height)),n=Math.max(1,Math.round(r.width*a)),o=Math.max(1,Math.round(r.height*a)),c=document.createElement("canvas");c.width=n,c.height=o;let i=c.getContext("2d");if(!i)return t;i.drawImage(r,0,0,n,o);let s=e.type==="image/png",l=c.toDataURL(s?"image/png":"image/jpeg",.85);return En(l)<En(t)?l:t}finally{r.close?.()}}catch{return t}}var Je=require("react");var pi=(e,t)=>Math.hypot(e.x-t.x,e.y-t.y);function Oc(e){let t=0;for(let r=1;r<e.length;r++)t+=pi(e[r-1],e[r]);return t}function di(e){let t=1/0,r=1/0,a=-1/0,n=-1/0;for(let o of e)o.x<t&&(t=o.x),o.y<r&&(r=o.y),o.x>a&&(a=o.x),o.y>n&&(n=o.y);return{minX:t,minY:r,maxX:a,maxY:n}}var Ir=e=>Math.max(0,Math.min(1e3,Math.round(e)));function hi(e,t,r){return[Ir(e.minY/r*1e3),Ir(e.minX/t*1e3),Ir(e.maxY/r*1e3),Ir(e.maxX/t*1e3)]}function Kc(e,t){let[r,a,n,o]=e,[c,i,s,l]=t,u=Math.min(o,l)-Math.max(a,i),d=Math.min(n,s)-Math.max(r,c);if(u<=0||d<=0)return!1;let h=Math.min((o-a)*(n-r),(l-i)*(s-c));return h>0&&u*d/h>.35}var Yc=(e,t)=>[Math.min(e[0],t[0]),Math.min(e[1],t[1]),Math.max(e[2],t[2]),Math.max(e[3],t[3])];function Gc(e,t,r){if(e.length<2)return null;let a=di(e),n=hi(a,t,r),o=Math.hypot(a.maxX-a.minX,a.maxY-a.minY);if(o<4)return null;let c=Oc(e),i=pi(e[0],e[e.length-1]),s=c/Math.max(i,1e-6);return i/o<.3&&c>o*1.8?{gesture:"ring",box:n,straight:!1}:s<1.25?{gesture:"arrow",box:n,to:[Ir(e[e.length-1].y/r*1e3),Ir(e[e.length-1].x/t*1e3)],straight:!0}:{gesture:"scribble",box:n,straight:!1}}function ui(e,t,r){if(!t||!r)return[];let a=[],n=[];for(let i of e){if(i.kind==="text"&&i.value&&typeof i.x=="number"&&typeof i.y=="number"){let s={x:i.x,y:i.y};n.push({gesture:"text",box:hi(di([s,s]),t,r),text:i.value});continue}if(i.kind==="stroke"&&i.tool!=="eraser"&&i.points){let s=Gc(i.points,t,r);s&&a.push(s)}}let o=new Set,c=[];for(let i=0;i<a.length;i++){if(o.has(i))continue;let s=a[i];for(let l=i+1;l<a.length;l++)o.has(l)||!s.straight||!a[l].straight||Kc(s.box,a[l].box)&&(o.add(l),s={gesture:"cross",box:Yc(s.box,a[l].box),straight:!1});o.add(i),c.push(s.gesture==="arrow"?{gesture:"arrow",box:s.box,to:s.to}:{gesture:s.gesture,box:s.box})}return[...c,...n]}var Be=require("react/jsx-runtime"),mi=["#111111","#ff5a5a","#ffb300","#22c55e","#06b6d4","#d946ef","#9ca3af"],Qc=1280;function ki({src:e,onCancel:t,onSend:r,t:a}){let[n,o]=(0,Je.useState)(null),[c,i]=(0,Je.useState)(!1),[s,l]=(0,Je.useState)("pen"),[u,d]=(0,Je.useState)(mi[1]),[h,p]=(0,Je.useState)([]),[k,f]=(0,Je.useState)(null),[w,z]=(0,Je.useState)(""),[L,$]=(0,Je.useState)(""),[m,S]=(0,Je.useState)(!1),F=(0,Je.useRef)(null),v=(0,Je.useRef)(null),J=(0,Je.useRef)(null);(0,Je.useEffect)(()=>{let B=new Image;B.crossOrigin="anonymous",B.onload=()=>o(B),B.onerror=()=>i(!0),B.src=e},[e]);let W=(()=>{if(!n)return{w:0,h:0};let B=Math.min(1,Qc/Math.max(n.naturalWidth,n.naturalHeight));return{w:Math.round(n.naturalWidth*B),h:Math.round(n.naturalHeight*B)}})(),G=(0,Je.useRef)(null),E=B=>{let ae=F.current;if(!ae||!n)return;let le=ae.getContext("2d");if(!le)return;G.current||(G.current=document.createElement("canvas"));let me=G.current;me.width=ae.width,me.height=ae.height;let M=me.getContext("2d"),N=B?[...h,B]:h;for(let T of N)T.kind==="stroke"?(M.save(),M.globalCompositeOperation=T.tool==="eraser"?"destination-out":"source-over",M.strokeStyle=T.color,M.lineWidth=T.tool==="eraser"?T.size*3:T.size,M.lineCap="round",M.lineJoin="round",M.beginPath(),T.points.forEach((q,H)=>H===0?M.moveTo(q.x,q.y):M.lineTo(q.x,q.y)),T.points.length===1&&M.lineTo(T.points[0].x+.01,T.points[0].y),M.stroke(),M.restore()):(M.save(),M.fillStyle=T.color,M.font=`600 ${T.size}px system-ui, sans-serif`,M.fillText(T.value,T.x,T.y),M.restore());le.clearRect(0,0,ae.width,ae.height),le.drawImage(n,0,0,ae.width,ae.height),le.drawImage(me,0,0)};(0,Je.useEffect)(()=>{E()},[n,h,W.w,W.h]),(0,Je.useEffect)(()=>{k&&J.current?.focus()},[k]);let j=B=>{let ae=F.current,le=ae.getBoundingClientRect();return{x:(B.clientX-le.left)/le.width*ae.width,y:(B.clientY-le.top)/le.height*ae.height}},C=()=>Math.max(4,Math.round(W.w/180)),oe=()=>Math.max(18,Math.round(W.w/28)),_=B=>{if(!n)return;let ae=j(B);if(s==="text"){f({x:ae.x,y:ae.y}),z("");return}B.target.setPointerCapture(B.pointerId),v.current={kind:"stroke",tool:s,color:u,size:C(),points:[ae]},E(v.current)},Q=B=>{v.current&&(v.current.points.push(j(B)),E(v.current))},g=()=>{if(!v.current)return;let B=v.current;v.current=null,p(ae=>[...ae,B])},D=()=>{k&&w.trim()&&p(B=>[...B,{kind:"text",x:k.x,y:k.y,color:u,value:w.trim(),size:oe()}]),f(null),z("")},Z=()=>{if(n)try{let B=document.createElement("canvas");B.width=W.w,B.height=W.h;let ae=B.getContext("2d");if(!ae){S(!0);return}ae.drawImage(n,0,0,W.w,W.h);let le=B.toDataURL("image/jpeg",.92),me=F.current?.toDataURL("image/jpeg",.85)||le;r(le,L.trim(),ui(h,W.w,W.h),me)}catch{S(!0)}},O=h.length>0;return(0,Be.jsxs)("div",{className:"hsk-markup",role:"dialog","aria-label":a("markupDialogLabel"),children:[(0,Be.jsxs)("div",{className:"hsk-markup-head",children:[(0,Be.jsx)("span",{className:"hsk-markup-title",children:a("markupTitle")}),(0,Be.jsx)("button",{className:"hsk-markup-cancel",onClick:t,children:a("markupCancel")})]}),(0,Be.jsx)("div",{className:"hsk-markup-stage",children:c?(0,Be.jsx)("div",{className:"hsk-markup-error",children:a("markupLoadError")}):n?(0,Be.jsxs)("div",{className:"hsk-markup-canvas-wrap",children:[(0,Be.jsx)("canvas",{ref:F,width:W.w,height:W.h,className:`hsk-markup-canvas hsk-markup-canvas--${s}`,onPointerDown:_,onPointerMove:Q,onPointerUp:g,onPointerLeave:g}),k&&F.current&&(0,Be.jsx)("input",{ref:J,className:"hsk-markup-textinput",style:{left:`${k.x/W.w*100}%`,top:`${k.y/W.h*100}%`,color:u},value:w,placeholder:a("markupTextHint"),onChange:B=>z(B.target.value),onKeyDown:B=>{B.key==="Enter"&&D(),B.key==="Escape"&&(f(null),z(""))},onBlur:D})]}):(0,Be.jsx)("div",{className:"hsk-markup-loading",children:a("markupLoading")})}),(0,Be.jsxs)("div",{className:"hsk-markup-tools",children:[(0,Be.jsx)("div",{className:"hsk-markup-colors",children:mi.map(B=>(0,Be.jsx)("button",{className:`hsk-markup-color${u===B?" hsk-markup-color--on":""}`,style:{background:B},onClick:()=>{d(B),s==="eraser"&&l("pen")},"aria-label":a("markupColorLabel",{colour:B})},B))}),(0,Be.jsxs)("div",{className:"hsk-markup-actions",children:[(0,Be.jsx)("button",{className:`hsk-markup-tool${s==="pen"?" hsk-markup-tool--on":""}`,onClick:()=>l("pen"),children:a("markupSketch")}),(0,Be.jsx)("button",{className:`hsk-markup-tool${s==="text"?" hsk-markup-tool--on":""}`,onClick:()=>l("text"),children:a("markupText")}),(0,Be.jsx)("button",{className:`hsk-markup-tool${s==="eraser"?" hsk-markup-tool--on":""}`,onClick:()=>l("eraser"),children:a("markupEraser")}),(0,Be.jsx)("button",{className:"hsk-markup-tool",onClick:()=>p(B=>B.slice(0,-1)),disabled:!O,children:a("markupUndo")}),(0,Be.jsx)("button",{className:"hsk-markup-tool",onClick:()=>p([]),disabled:!O,children:a("markupClear")})]})]}),(0,Be.jsxs)("div",{className:"hsk-markup-send",children:[(0,Be.jsx)("input",{className:"hsk-markup-instruction",value:L,placeholder:a("markupInstruction"),onChange:B=>$(B.target.value),onKeyDown:B=>{B.key==="Enter"&&(O||L.trim())&&Z()}}),(0,Be.jsx)("button",{className:"hsk-markup-go",onClick:Z,disabled:!n||!O&&!L.trim(),children:a("markupSend")})]}),m&&(0,Be.jsx)("div",{className:"hsk-markup-error",children:a("markupError")})]})}var Pe=require("react"),Ka=require("@akropolys/sdk");var _t=require("react");function Dr(e,t){let[r,a]=(0,_t.useState)(!1),n=(0,_t.useRef)(null),o=(0,_t.useRef)(t);o.current=t,(0,_t.useEffect)(()=>()=>{n.current&&clearTimeout(n.current)},[]);let c=(0,_t.useCallback)(()=>{n.current||(a(!0),n.current=setTimeout(()=>{n.current=null,a(!1),o.current()},e))},[e]),i=(0,_t.useCallback)(()=>{n.current&&(clearTimeout(n.current),n.current=null),a(!1),o.current()},[]);return{closing:r,requestClose:c,closeNow:i}}var St=require("react"),Se=require("react/jsx-runtime"),ja=[{id:"pig",name:"Pig",nick:"Piggy",bw:34,bh:30,coat:"#F4B8C1",shade:"#E093A0",snout:"#EFA3AE",eyeGap:16,eyeY:3,ears:(e,t)=>`M${-e*.78} ${-t*.5} q-16 -16 -2 -21 q10 -2 14 16 Z M${e*.78} ${-t*.5} q16 -16 2 -21 q-10 -2 -14 16 Z`,extras:(e,t)=>(0,Se.jsxs)("g",{children:[(0,Se.jsx)("ellipse",{cx:"0",cy:t*.42,rx:"13",ry:"9",fill:"#EFA3AE"}),(0,Se.jsx)("ellipse",{cx:"-4.4",cy:t*.42,rx:"2.1",ry:"3",fill:"#D4818F"}),(0,Se.jsx)("ellipse",{cx:"4.4",cy:t*.42,rx:"2.1",ry:"3",fill:"#D4818F"})]})},{id:"hyena",name:"Hyena",nick:"Giggles",bw:32,bh:31,coat:"#DCC08E",shade:"#BE9E67",snout:"#B08F5E",eyeGap:15,eyeY:2,ears:(e,t)=>`M${-e*.66} ${-t*.6} q-11 -30 13 -24 Z M${e*.66} ${-t*.6} q11 -30 -13 -24 Z`,extras:(e,t)=>(0,Se.jsxs)("g",{children:[(0,Se.jsx)("path",{d:`M${-e*.2} ${-t} q${e*.2} -9 ${e*.4} 0`,fill:"none",stroke:"#B08F5E",strokeWidth:"4",strokeLinecap:"round"}),(0,Se.jsx)("ellipse",{cx:-e*.42,cy:t*.06,rx:"4",ry:"3.2",fill:"#BE9E67",opacity:"0.75"}),(0,Se.jsx)("ellipse",{cx:e*.46,cy:t*.24,rx:"3.4",ry:"2.8",fill:"#BE9E67",opacity:"0.75"}),(0,Se.jsx)("ellipse",{cx:"0",cy:t*.46,rx:"8",ry:"6",fill:"#B08F5E"})]})},{id:"owl",name:"Owl",nick:"Hoot",bw:33,bh:32,coat:"#C3B9A6",shade:"#9C917E",snout:"#E8A94E",eyeGap:17,eyeY:3,ears:(e,t)=>`M${-e*.62} ${-t*.74} l-4 -21 l17 11 Z M${e*.62} ${-t*.74} l4 -21 l-17 11 Z`,extras:(e,t)=>(0,Se.jsx)("path",{d:`M0 ${t*.06} l4.5 7 l-4.5 5 l-4.5 -5 Z`,fill:"#E8A94E"})},{id:"cat",name:"Cat",nick:"Kitty",bw:31,bh:30,coat:"#AEB7C4",shade:"#8B94A2",snout:"#7C8592",eyeGap:15,eyeY:3,ears:(e,t)=>`M${-e*.74} ${-t*.58} l-3 -26 l21 12 Z M${e*.74} ${-t*.58} l3 -26 l-21 12 Z`,extras:(e,t)=>(0,Se.jsxs)("g",{stroke:"#7C8592",strokeWidth:"1.6",strokeLinecap:"round",opacity:"0.8",children:[(0,Se.jsx)("path",{d:`M${-e*.3} ${t*.4} l-14 -3`}),(0,Se.jsx)("path",{d:`M${-e*.3} ${t*.46} l-14 3`}),(0,Se.jsx)("path",{d:`M${e*.3} ${t*.4} l14 -3`}),(0,Se.jsx)("path",{d:`M${e*.3} ${t*.46} l14 3`})]})},{id:"frog",name:"Frog",nick:"Hopper",bw:36,bh:26,coat:"#A9D194",shade:"#7FA96C",snout:"#7FA96C",eyeGap:17,eyeY:-8,ears:(e,t)=>`M${-e*.52} ${-t*.7} a13 13 0 1 1 26 0 Z M${e*.06} ${-t*.7} a13 13 0 1 1 26 0 Z`,extras:(e,t)=>(0,Se.jsx)("path",{d:`M-11 ${t*.44} q11 7 22 0`,fill:"none",stroke:"#7FA96C",strokeWidth:"2.4",strokeLinecap:"round"})},{id:"ram",name:"Ram",nick:"Bram",bw:32,bh:30,coat:"#E2D6C0",shade:"#B9AC96",snout:"#A79A84",eyeGap:15,eyeY:3,ears:(e,t)=>`M${-e*.86} ${-t*.24} l-17 5 l14 9 Z M${e*.86} ${-t*.24} l17 5 l-14 9 Z`,extras:(e,t)=>(0,Se.jsxs)("g",{fill:"none",stroke:"#A79A84",strokeWidth:"4.5",strokeLinecap:"round",children:[(0,Se.jsx)("path",{d:`M${-e*.66} ${-t*.6} q-13 4 -9 13 q3 7 9 2`}),(0,Se.jsx)("path",{d:`M${e*.66} ${-t*.6} q13 4 9 13 q-3 7 -9 2`})]})}],ra=ja.map(e=>e.id);function Wa(e,t){if(t){let a=ja.find(n=>n.id===t);if(a)return a}let r=0;for(let a=0;a<e.length;a++)r=r*31+e.charCodeAt(a)>>>0;return ja[r%ja.length]}var Xc={watching:{lid:1,perk:1,breath:1700,tilt:0,dim:1},resting:{lid:.16,perk:.25,breath:3400,tilt:6,dim:.82},struck:{lid:1.15,perk:1.3,breath:700,tilt:0,dim:1},gone:{lid:.08,perk:.1,breath:4200,tilt:10,dim:.45}};function bi(e,t){let a=Math.min(e,t)*.72,n=(o,c)=>`${o.toFixed(2)} ${c.toFixed(2)}`;return`M${n(-e,-t+a)}C${n(-e,-t+a*.46)} ${n(-e+a*.46,-t)} ${n(-e+a,-t)}L${n(e-a,-t)}C${n(e-a*.46,-t)} ${n(e,-t+a*.46)} ${n(e,-t+a)}L${n(e,t-a)}C${n(e,t-a*.46)} ${n(e-a*.46,t)} ${n(e-a,t)}L${n(-e+a,t)}C${n(-e+a*.46,t)} ${n(-e,t-a*.46)} ${n(-e,t-a)}Z`}function Pt({scoutId:e,avatar:t,mood:r="watching",size:a=44,layer:n="all"}){let o=Wa(e,t),c=(0,St.useRef)(r);c.current=r;let i=(0,St.useRef)(null),s=(0,St.useRef)(null),l=(0,St.useRef)(null),u=(0,St.useRef)(null),d=(0,St.useRef)(null),h=(0,St.useRef)(null),p=(0,St.useRef)(null),k=(0,St.useRef)(null);return(0,St.useEffect)(()=>{let f=window.matchMedia("(prefers-reduced-motion: reduce)").matches,w={lid:1,perk:1,tilt:0,dim:1,gx:0,gy:0,hop:0},z={lid:0,perk:0,tilt:0,dim:0,gx:0,gy:0,hop:0},L=0;for(let C=0;C<e.length;C++)L=L*31+e.charCodeAt(C)>>>0;let $=L%1e3*3,m=1200+L%2600,S=-1,F=0,v=900,J=2e3+L%5e3,W=-1,G=0,E=(C,oe,_=.16,Q=.76)=>{z[C]=(z[C]+(oe-w[C])*_)*Q,w[C]+=z[C]},j=C=>{let oe=Xc[c.current],_=c.current==="watching"||c.current==="struck",Q=_||c.current==="resting";Q&&!f&&C>v&&(F=Math.random()<.3?Math.random()<.5?-1:1:(Math.random()-.5)*1.2,v=C+(_?1100+Math.random()*2400:2600+Math.random()*3400));let g=oe.lid;!f&&_&&(S<0&&C>m&&(S=0),S>=0&&(S+=1/6,g=oe.lid*Math.abs(S-.5)*2,S>=1&&(S=-1,m=C+(Math.random()<.24?300:2200+Math.random()*3800))));let D=0;c.current==="struck"&&!f&&(W<0&&C>J&&(W=0),W>=0&&(W+=1/26,D=-Math.sin(W*Math.PI)*7,W>=1&&(W=-1,J=C+1600+Math.random()*2200)));let Z=f?0:Math.sin((C+$)/oe.breath*Math.PI)*.03,O=Q&&!f?Math.sin((C+$)/(_?3100:4800))*(_?1.6:2.4):0;E("lid",g,.3,.6),E("perk",oe.perk),E("tilt",oe.tilt+O),E("dim",oe.dim),E("gx",Q&&!f?F*(_?2.4:1.3):0,.08,.84),E("gy",Q&&!f?Math.sin((C+$)/(_?2200:3600))*1.4:1.5,.08,.84);let ae=o.bw*(1+Z*.9),le=o.bh*(1-Z);if(s.current?.setAttribute("d",bi(ae,le)),l.current?.setAttribute("d",o.ears(ae,le)),l.current?.setAttribute("transform",`translate(0 ${((1-w.perk)*7).toFixed(2)}) scale(1 ${Math.max(.2,w.perk).toFixed(3)})`),n==="body"){G=requestAnimationFrame(j);return}let me=Math.max(1.4,17*Math.max(.05,w.lid));for(let[M,N,T]of[[u,h,-1],[d,p,1]]){let q=M.current;q&&(q.setAttribute("x",String(T*o.eyeGap-6+w.gx)),q.setAttribute("y",String(o.eyeY-me/2+w.gy)),q.setAttribute("height",String(me)),q.setAttribute("ry",String(Math.min(6,me/2))));let H=N.current;H&&(H.setAttribute("cx",String(T*o.eyeGap-1.8+w.gx)),H.setAttribute("cy",String(o.eyeY-me/2+3.4+w.gy)),H.setAttribute("r",String(me>7?2.5:0)))}k.current?.setAttribute("transform",`translate(${w.gx.toFixed(2)} ${w.gy.toFixed(2)})`),i.current?.setAttribute("transform",`translate(0 ${D.toFixed(2)}) rotate(${w.tilt.toFixed(2)})`),i.current?.setAttribute("opacity",w.dim.toFixed(3)),G=requestAnimationFrame(j)};return G=requestAnimationFrame(j),()=>cancelAnimationFrame(G)},[e,o,n]),(0,Se.jsx)("svg",{className:"hsk-cb-scout-char",width:a,height:a,viewBox:"-50 -50 100 100",role:"img","aria-label":o.name,children:(0,Se.jsxs)("g",{ref:i,children:[(0,Se.jsx)("path",{ref:l,d:o.ears(o.bw,o.bh),fill:o.shade}),(0,Se.jsx)("path",{ref:s,d:bi(o.bw,o.bh),fill:o.coat}),n==="all"&&o.extras?.(o.bw,o.bh),n==="all"&&(0,Se.jsxs)(Se.Fragment,{children:[(0,Se.jsx)("ellipse",{cx:-o.eyeGap-7,cy:o.eyeY+9,rx:"6",ry:"3.6",fill:"#F08898",opacity:"0.5"}),(0,Se.jsx)("ellipse",{cx:o.eyeGap+7,cy:o.eyeY+9,rx:"6",ry:"3.6",fill:"#F08898",opacity:"0.5"}),(0,Se.jsx)("rect",{ref:u,x:-o.eyeGap-6,y:o.eyeY-8.5,width:"12",height:"17",rx:"6",fill:"#3A322C"}),(0,Se.jsx)("rect",{ref:d,x:o.eyeGap-6,y:o.eyeY-8.5,width:"12",height:"17",rx:"6",fill:"#3A322C"}),(0,Se.jsx)("circle",{ref:h,cx:-o.eyeGap-1.8,cy:o.eyeY-5,r:"2.5",fill:"#FFFFFF"}),(0,Se.jsx)("circle",{ref:p,cx:o.eyeGap-1.8,cy:o.eyeY-5,r:"2.5",fill:"#FFFFFF"}),(0,Se.jsx)("path",{ref:k,d:`M-3.6 ${o.eyeY+13} q3.6 3.6 7.2 0`,fill:"none",stroke:"#3A322C",strokeWidth:"1.8",strokeLinecap:"round",opacity:"0.75"})]})]})})}function In(e,t){return Wa(e,t).name}function aa(e,t){return Wa(e,t).nick}var qt=require("react/jsx-runtime");function Jc({d:e,delay:t}){return(0,qt.jsx)("span",{className:"hsk-cb-num-slot",children:(0,qt.jsx)("span",{className:"hsk-cb-num-col",style:{transform:`translateY(${-e*10}%)`,transitionDelay:`${t}ms`},children:["0","1","2","3","4","5","6","7","8","9"].map(r=>(0,qt.jsx)("span",{className:"hsk-cb-num-d",children:r},r))})})}function br({value:e,decimals:t=0,prefix:r,suffix:a,className:n}){let c=Math.abs(e).toFixed(t).split(""),i=c.filter(l=>l>="0"&&l<="9").length,s=0;return(0,qt.jsxs)("span",{className:["hsk-cb-num",n].filter(Boolean).join(" "),children:[r&&(0,qt.jsx)("span",{className:"hsk-cb-num-fix",children:r}),c.map((l,u)=>{if(l>="0"&&l<="9"){let d=i-1-s;return s+=1,(0,qt.jsx)(Jc,{d:Number(l),delay:d*34},u)}return(0,qt.jsx)("span",{className:"hsk-cb-num-fix",children:l},u)}),a&&(0,qt.jsx)("span",{className:"hsk-cb-num-fix",children:a})]})}var Vt=require("react"),gi=require("react-dom");var Fe=require("react/jsx-runtime");function $n(){return typeof window<"u"&&"documentPictureInPicture"in window}function Zc(e){switch(e.status){case"active":return"watching";case"paused":return"resting";case"triggered":return"struck";default:return"gone"}}function el(e){let t=c=>{let i=parseFloat(String(c??"").replace(/[^0-9.\-]/g,""));return Number.isNaN(i)?null:i},r=t(e.initialValue),a=t(e.targetValue);if(r===null||a===null||r===a)return null;let o=((t(e.triggerValue)??r)-r)/(a-r)*100;return Math.max(0,Math.min(100,Math.round(o)))}var tl=["--hsk-chat-bg","--hsk-chat-text","--hsk-chat-muted","--hsk-chat-divide","--hsk-chat-border","--hsk-surface-1","--hsk-surface-2","--hsk-primary","--hsk-primary-rgb","--hsk-on-active","--hsk-active-bg","--hsk-font"];function fi(e,t){let r=t&&t.isConnected?getComputedStyle(t):null;if(r)for(let a of tl){let n=r.getPropertyValue(a).trim();n&&e.document.body.style.setProperty(a,n)}}function rl(e,t){if(!e.document.querySelector("style[data-hsk]")){let r=e.document.createElement("style");r.setAttribute("data-hsk",""),r.textContent=Gr,e.document.head.appendChild(r)}e.document.body.className="hsk-cb-pin-body",t&&e.document.body.setAttribute("data-hsk-theme",t)}var Dn=null,na=null;function Va({scouts:e,themeAttr:t,balance:r,sourceEl:a,onClose:n}){let[o,c]=(0,Vt.useState)(null),i=(0,Vt.useRef)(n);i.current=n;let s=(0,Vt.useRef)(t);s.current=t;let l=(0,Vt.useRef)(a);if(l.current=a,(0,Vt.useEffect)(()=>{na!==null&&(clearTimeout(na),na=null);let d=!1;return(async()=>{try{let h=window.documentPictureInPicture,p=h.window??await h.requestWindow({width:268,height:320});if(!p)return;rl(p,s.current),fi(p,l.current),Dn=p,p.addEventListener("pagehide",()=>i.current(),{once:!0}),d||c(p)}catch{i.current()}})(),()=>{d=!0,na=setTimeout(()=>{na=null;try{Dn?.close()}catch{}Dn=null},120)}},[]),(0,Vt.useEffect)(()=>{o&&(t&&o.document.body.setAttribute("data-hsk-theme",t),fi(o,a))},[o,t,a]),!o)return null;let u=e.filter(d=>d.status!=="canceled"&&d.status!=="expired"&&d.status!=="idle");return(0,gi.createPortal)((0,Fe.jsxs)("div",{className:"hsk-cb-scout-rail-card hsk-cb-pin-card",children:[(0,Fe.jsxs)("div",{className:"hsk-cb-scout-card-head",children:[(0,Fe.jsxs)("span",{className:"hsk-cb-scout-card-title",children:[(0,Fe.jsxs)("svg",{width:"12",height:"12",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:[(0,Fe.jsx)("path",{d:"M12 2a10 10 0 1 0 10 10A10 10 0 0 0 12 2Z"}),(0,Fe.jsx)("path",{d:"M12 6a6 6 0 1 0 6 6 6 6 0 0 0-6-6Z"}),(0,Fe.jsx)("circle",{cx:"12",cy:"12",r:"2"})]}),"Scouts"]}),(0,Fe.jsxs)("span",{className:"hsk-cb-pin-count",children:[u.filter(d=>d.status==="active").length," in motion",typeof r=="number"&&(0,Fe.jsxs)(Fe.Fragment,{children:[" \xB7 ",r,"m left"]})]})]}),u.length===0?(0,Fe.jsx)("div",{className:"hsk-cb-scout-pool-line",children:"Nothing out right now."}):u.map(d=>{let h=el(d);return(0,Fe.jsxs)("div",{className:"hsk-cb-pin-row",children:[(0,Fe.jsxs)("span",{className:`hsk-cb-scout is-${d.status}`,children:[(0,Fe.jsxs)("span",{className:"hsk-cb-scout-face",children:[(0,Fe.jsx)(Pt,{scoutId:d.id,avatar:d.avatar,mood:Zc(d),size:38}),d.status==="active"&&(0,Fe.jsx)("span",{className:"hsk-cb-scout-pulse"})]}),(0,Fe.jsx)("span",{className:"hsk-cb-scout-name",children:aa(d.id,d.avatar)})]}),(0,Fe.jsxs)("span",{className:"hsk-cb-pin-text",children:[(0,Fe.jsxs)("span",{className:"hsk-cb-pin-watch",children:[d.instrument," ",d.operator," ",d.targetValue]}),h!==null&&(0,Fe.jsx)("span",{className:"hsk-cb-pin-bar",children:(0,Fe.jsx)("span",{className:"hsk-cb-pin-fill",style:{inlineSize:`${h}%`}})}),(0,Fe.jsxs)("span",{className:"hsk-cb-pin-meta",children:[d.dedicatedMinutes>0?`${d.dedicatedMinutes}m of its own`:"on the shared pool",d.status==="triggered"&&(0,Fe.jsx)("b",{className:"hsk-cb-pin-hit",children:" \xB7 hit"})]})]})]},d.id)})]}),o.document.body)}var K=require("react/jsx-runtime"),vi=50,Oa=480,oa=480,ia=2880;function yi(e){if(e<60)return`${e} minutes`;let t=Math.floor(e/60),r=e%60;return r?`${t}h ${r}m`:`${t} hour${t>1?"s":""}`}var al=200,xi="M12 3 C 17 9.5, 20 12.5, 20 15.5 A 8 8 0 0 1 4 15.5 C 4 12.5, 7 9.5, 12 3 Z",nl=({size:e=13,active:t=!1})=>{let r=(0,Pe.useId)().replace(/[^a-zA-Z0-9]/g,"");return(0,K.jsxs)("svg",{width:e,height:e,viewBox:"0 0 24 24","aria-hidden":"true",className:ee("hsk-cb-fluid",t&&"is-flowing"),children:[(0,K.jsx)("clipPath",{id:r,children:(0,K.jsx)("path",{d:xi})}),(0,K.jsx)("path",{d:xi,fill:"none",stroke:"currentColor",strokeWidth:"1.7",strokeLinejoin:"round"}),(0,K.jsx)("g",{clipPath:`url(#${r})`,children:(0,K.jsx)("path",{className:"hsk-cb-fluid-wave",fill:"currentColor",d:"M-24 14 q 6 -2.2 12 0 t 12 0 t 12 0 t 12 0 V 26 H -24 Z"})})]})};function wi(e){switch(e.status){case"active":return"watching";case"paused":return"resting";case"triggered":return"struck";default:return"gone"}}function Si(e){let t=(e.instrument||"").trim();if(t&&t.length<=9)return t;let r=t.split(/[\s/]/)[0];return r&&r.length<=9?r:In(e.id,e.avatar)}function fr({className:e,themeAttr:t,onAsk:r,onNew:a,open:n,onOpenChange:o,compact:c=!1}){let i=(0,Ka.useAkropolysContext)(),{scouts:s,balance:l,setAvatar:u,cancelScout:d,refetch:h}=(0,Ka.useScouts)(),[p,k]=(0,Pe.useState)(!1),f=n??p,w=(0,Pe.useCallback)(P=>{k(P),o?.(P)},[o]),z=(0,Pe.useRef)(null),[L,$]=(0,Pe.useState)(90),m=(0,Pe.useRef)(90),S=(0,Pe.useRef)(!1),[F,v]=(0,Pe.useState)(Oa),[J,W]=(0,Pe.useState)(0),[G,E]=(0,Pe.useState)(vi),[j,C]=(0,Pe.useState)(null),[oe,_]=(0,Pe.useState)(null),[Q,g]=(0,Pe.useState)(!1),[D,Z]=(0,Pe.useState)(!1),[O,B]=(0,Pe.useState)(!1),[ae,le]=(0,Pe.useState)(!1),[me,M]=(0,Pe.useState)(""),[N,T]=(0,Pe.useState)(!1),[q,H]=(0,Pe.useState)(null),ie=`hsk-scout-goo-${(0,Pe.useId)().replace(/:/g,"")}`;(0,Pe.useEffect)(()=>{if(typeof window>"u")return;let P=new URL(window.location.href);if(!P.searchParams.has("scout_paid"))return;P.searchParams.delete("scout_paid"),window.history.replaceState({},"",P.toString());let ce=0,Ie=setInterval(()=>{h().catch(()=>{}),++ce>=6&&clearInterval(Ie)},2e3);return h().catch(()=>{}),()=>clearInterval(Ie)},[h]);let y=s.filter(P=>P.status==="idle"),X=new Set(y.map(P=>P.avatar).filter(Boolean)),A=y.length>0,R=s.filter(P=>P.status!=="canceled"&&P.status!=="expired"&&P.status!=="idle"),I=R.filter(P=>P.status==="active").length,re=R.length>0,pe=R.filter(P=>P.status==="active"&&P.dedicatedMinutes<=0).length>1,ne=(L-G)/(F-G)*100,ke=I>0?Math.floor(l/I):l,de=(0,Pe.useRef)(new Set);(0,Pe.useEffect)(()=>{for(let P of s){if(P.status!=="triggered"){de.current.delete(P.id);continue}de.current.has(P.id)||(de.current.add(P.id),zt("scout",P.avatar||P.id))}},[s]);let{closing:Ne,requestClose:$e}=Dr(al,()=>{w(!1),_(null)});(0,Pe.useEffect)(()=>{if(!f)return;let P=Ie=>{let We=Ie.composedPath();z.current&&(We.includes(z.current)||z.current.contains(Ie.target))||$e()},ce=Ie=>{Ie.key==="Escape"&&$e()};return document.addEventListener("mousedown",P),document.addEventListener("keydown",ce),()=>{document.removeEventListener("mousedown",P),document.removeEventListener("keydown",ce)}},[f,$e]),(0,Pe.useEffect)(()=>{if(!i||!f)return;let P=!1,ce=setTimeout(()=>{i.scouts.quote(L).then(Ie=>{if(P)return;W(Ie.priceUSD);let We=Ie.minChargeableMinutes||vi;E(We),m.current<We&&(m.current=We,$(We))}).catch(()=>{})},90);return()=>{P=!0,clearTimeout(ce)}},[i,L,f]);let et=P=>{v(ce=>P>=ce&&ce<ia?Math.min(ia,ce+oa):ce>Oa&&P<=ce-oa?Math.max(Oa,ce-oa):ce)},Ke=()=>{B(!0),S.current=!0,window.addEventListener("pointerup",()=>{S.current=!1,B(!1),et(m.current)},{once:!0})},qe=()=>{let P=Number(me);if(!Number.isNaN(P)&&me.trim()!==""){let ce=Math.min(ia,Math.max(G,Math.round(P)));$(ce),m.current=ce,v(Math.min(ia,Math.max(Oa,Math.ceil(ce/oa)*oa)))}le(!1)};return!f&&!Ne?(0,K.jsxs)("div",{className:ee("hsk-cb-scout-rail-wrap",c&&"is-compact",e),ref:z,children:[D&&(0,K.jsx)(Va,{scouts:s,themeAttr:t,balance:l,sourceEl:z.current,onClose:()=>Z(!1)}),c?(0,K.jsxs)("div",{className:"hsk-cb-scout-dock",role:"group","aria-label":"Scouts",children:[ra.map(P=>(0,K.jsx)("button",{type:"button",className:ee("hsk-cb-scout-dock-pick",!X.has(P)&&"is-unpaid"),onClick:()=>{C(P),g(!0),w(!0)},"aria-label":X.has(P)?`${P}, ready to send out`:`${P}, not paid for`,children:(0,K.jsx)(Pt,{scoutId:P,avatar:P,mood:X.has(P)?"watching":"resting",size:26})},P)),(0,K.jsx)("button",{type:"button",className:"hsk-cb-scout-dock-new",onClick:()=>{C(null),g(!0),w(!0)},"aria-label":"Choose an avatar",children:(0,K.jsxs)("svg",{width:"15",height:"15",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2.4",strokeLinecap:"round",children:[(0,K.jsx)("line",{x1:"12",y1:"5",x2:"12",y2:"19"}),(0,K.jsx)("line",{x1:"5",y1:"12",x2:"19",y2:"12"})]})})]}):(0,K.jsxs)("button",{type:"button",className:"hsk-cb-scout-rail-trigger",onClick:()=>w(!0),"aria-label":"Scouts","aria-expanded":"false",children:[(0,K.jsx)("span",{className:"hsk-cb-scout-trigger-icon",style:{color:I>0?"#10b981":void 0},children:(0,K.jsx)(nl,{size:13,active:I>0})}),(0,K.jsx)("span",{children:I>0?`${I} in motion`:"Scouts"}),I>0&&(0,K.jsx)("span",{className:"hsk-cb-scout-trigger-dot"})]})]}):(0,K.jsxs)("div",{className:ee("hsk-cb-scout-rail-wrap",c&&"is-compact","is-open",Ne&&"is-closing",e),ref:z,children:[D&&(0,K.jsx)(Va,{scouts:s,themeAttr:t,balance:l,sourceEl:z.current,onClose:()=>Z(!1)}),(0,K.jsx)("svg",{width:"0",height:"0","aria-hidden":"true",className:"hsk-cb-scout-defs",children:(0,K.jsxs)("filter",{id:ie,x:"-50%",y:"-50%",width:"200%",height:"200%",children:[(0,K.jsx)("feGaussianBlur",{in:"SourceGraphic",stdDeviation:"4",result:"b"}),(0,K.jsx)("feColorMatrix",{in:"b",values:"1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 18 -7"})]})}),(0,K.jsxs)("div",{className:"hsk-cb-scout-rail-card",role:"dialog","aria-label":"Scouts",children:[(0,K.jsxs)("div",{className:"hsk-cb-scout-card-head",children:[(0,K.jsx)("span",{className:"hsk-cb-scout-card-title",children:"Scouts"}),re&&$n()&&(0,K.jsx)("button",{type:"button",className:"hsk-cb-scout-card-pin",onClick:()=>Z(!0),"aria-label":"Keep scouts on top",children:(0,K.jsxs)("svg",{width:"11",height:"11",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2.2",strokeLinecap:"round",strokeLinejoin:"round",children:[(0,K.jsx)("path",{d:"M15 3v6l3 4v2H6v-2l3-4V3"}),(0,K.jsx)("line",{x1:"12",y1:"15",x2:"12",y2:"21"})]})}),(0,K.jsx)("button",{type:"button",className:"hsk-cb-scout-card-x",onClick:$e,"aria-label":"Close",children:(0,K.jsxs)("svg",{width:"11",height:"11",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2.6",strokeLinecap:"round",children:[(0,K.jsx)("line",{x1:"18",y1:"6",x2:"6",y2:"18"}),(0,K.jsx)("line",{x1:"6",y1:"6",x2:"18",y2:"18"})]})})]}),re&&!Q?(0,K.jsxs)(K.Fragment,{children:[(0,K.jsxs)("div",{className:"hsk-cb-scouts-stage",children:[pe&&(0,K.jsx)("div",{className:"hsk-cb-scouts-glue",style:{filter:`url(#${ie})`},"aria-hidden":"true",children:R.map(P=>(0,K.jsx)("span",{className:ee("hsk-cb-glue-cell",P.dedicatedMinutes>0&&"is-loose"),children:(0,K.jsx)(Pt,{scoutId:P.id,avatar:P.avatar,mood:wi(P),size:38,layer:"body"})},P.id))}),(0,K.jsxs)("div",{className:"hsk-cb-scouts-row",children:[R.map(P=>(0,K.jsxs)("div",{className:"hsk-cb-scout-slot",children:[(0,K.jsxs)("button",{type:"button",className:ee("hsk-cb-scout",`is-${P.status}`),onClick:()=>r?.(P),onContextMenu:ce=>{ce.preventDefault(),_(oe===P.id?null:P.id)},"aria-label":`${P.instrument} ${P.operator} ${P.targetValue}`,children:[(0,K.jsxs)("span",{className:"hsk-cb-scout-face",children:[(0,K.jsx)(Pt,{scoutId:P.id,avatar:P.avatar,mood:wi(P),size:38}),P.status==="active"&&(0,K.jsx)("span",{className:"hsk-cb-scout-pulse"}),P.dedicatedMinutes>0&&(0,K.jsxs)("span",{className:"hsk-cb-scout-own",children:[P.dedicatedMinutes,"m"]})]}),(0,K.jsx)("span",{className:"hsk-cb-scout-name",children:Si(P)})]}),(0,K.jsx)("button",{type:"button",className:"hsk-cb-scout-bin",onClick:ce=>{ce.stopPropagation(),d(P.id)},"aria-label":`Call ${Si(P)} back`,children:(0,K.jsxs)("svg",{width:"9",height:"9",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2.6",strokeLinecap:"round",strokeLinejoin:"round",children:[(0,K.jsx)("polyline",{points:"3 6 5 6 21 6"}),(0,K.jsx)("path",{d:"M19 6v14a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V6m3 0V4a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v2"})]})}),oe===P.id&&(0,K.jsx)("div",{className:"hsk-cb-scout-picker",children:ra.map(ce=>(0,K.jsx)("button",{type:"button",className:ee("hsk-cb-scout-pick",P.avatar===ce&&"is-on"),onClick:()=>{u(P.id,ce),_(null)},"aria-label":ce,children:(0,K.jsx)(Pt,{scoutId:P.id,avatar:ce,mood:"watching",size:26})},ce))})]},P.id)),(0,K.jsx)("button",{type:"button",className:"hsk-cb-scout-new",onClick:()=>{C(null),g(!0)},"aria-label":"Add another avatar",children:(0,K.jsxs)("svg",{width:"15",height:"15",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2.4",strokeLinecap:"round",children:[(0,K.jsx)("line",{x1:"12",y1:"5",x2:"12",y2:"19"}),(0,K.jsx)("line",{x1:"5",y1:"12",x2:"19",y2:"12"})]})})]})]}),(0,K.jsx)("div",{className:"hsk-cb-scout-pool-line",children:pe?(0,K.jsxs)(K.Fragment,{children:[(0,K.jsx)(br,{value:l,suffix:"m"})," shared \xB7 ~",(0,K.jsx)(br,{value:ke,suffix:"m"})," each"]}):(0,K.jsxs)(K.Fragment,{children:[(0,K.jsx)(br,{value:l,suffix:"m"})," left"]})})]}):(0,K.jsx)("div",{className:"hsk-cb-scout-hatch",children:(0,K.jsx)("div",{className:"hsk-cb-scout-hatch-row",children:ra.map(P=>(0,K.jsxs)("button",{type:"button",className:ee("hsk-cb-scout-hatch-pick",j===P&&"is-on",!X.has(P)&&j!==P&&"is-unpaid"),onClick:()=>C(j===P?null:P),"aria-label":X.has(P)?`${P}, ready to send out`:`${P}, not paid for`,"aria-pressed":j===P,children:[(0,K.jsx)(Pt,{scoutId:P,avatar:P,mood:X.has(P)||j===P?"watching":"resting",size:30}),(0,K.jsx)("span",{className:"hsk-cb-scout-nick",children:aa(P,P)})]},P))})}),(0,K.jsxs)("div",{className:"hsk-cb-scout-time",children:[(0,K.jsxs)("div",{className:ee("hsk-cb-dial",O&&"is-dragging"),children:[(0,K.jsx)("div",{className:"hsk-cb-dial-track",children:(0,K.jsx)("div",{className:"hsk-cb-dial-fill",style:{inlineSize:`${ne}%`}})}),(0,K.jsx)("input",{className:"hsk-cb-dial-input",type:"range",min:G,max:F,step:5,value:L,onChange:P=>{let ce=Number(P.target.value);$(ce),m.current=ce,S.current||et(ce)},"aria-label":"Minutes to buy","aria-valuetext":yi(L),onPointerDown:Ke,onFocus:()=>B(!0),onBlur:()=>B(!1)})]}),(0,K.jsxs)("div",{className:ee("hsk-cb-scout-time-row",O&&"is-lifted"),children:[ae?(0,K.jsx)("input",{className:"hsk-cb-scout-mins-input",type:"number",min:G,max:ia,value:me,autoFocus:!0,onChange:P=>M(P.target.value),onBlur:qe,onKeyDown:P=>{P.key==="Enter"&&qe(),P.key==="Escape"&&le(!1)},"aria-label":"Minutes"}):(0,K.jsxs)("button",{type:"button",className:"hsk-cb-scout-mins",onClick:()=>{M(String(L)),le(!0)},"aria-label":`${yi(L)}, tap to type an exact number`,children:[(0,K.jsx)(br,{value:L}),(0,K.jsx)("span",{className:"hsk-cb-scout-mins-unit",children:"min"})]}),(0,K.jsx)("span",{className:"hsk-cb-scout-price",children:(0,K.jsx)(br,{value:J,decimals:2,prefix:"$"})})]})]}),(0,K.jsx)("button",{type:"button",className:"hsk-cb-scout-buy-go",disabled:N||(A?!1:!j),onClick:()=>{if(A){g(!1),C(null),$e(),a?.(j??"");return}if(!i||!j||N)return;T(!0),H(null);let P=ce=>{T(!1),H(ce?.message||"Checkout is unavailable right now.")};try{i.scouts.checkout({minutes:L,avatar:j,returnUrl:window.location.href}).then(({url:ce})=>window.location.assign(ce)).catch(P)}catch(ce){P(ce)}},children:N?"Opening checkout\u2026":A?"Send it out":j?"Buy time":"Pick an avatar"}),q&&(0,K.jsx)("div",{className:"hsk-cb-error",children:q})]})]})}var Bt=Ft(require("react")),Ri=require("react/jsx-runtime");function ol(e){let t=2166136261;for(let r=0;r<e.length;r++)t^=e.charCodeAt(r),t=Math.imul(t,16777619);return t>>>0}function qn(e){let t=e>>>0;return()=>{t=t+1831565813>>>0;let r=Math.imul(t^t>>>15,1|t);return r=r+Math.imul(r^r>>>7,61|r)^r,((r^r>>>14)>>>0)/4294967296}}var Ci=e=>e*e*(3-2*e);function il(e){let r=new Float32Array(65536);for(let n=0;n<r.length;n++)r[n]=e();let a=(n,o)=>r[(o&255)*256+(n&255)];return(n,o)=>{let c=Math.floor(n),i=Math.floor(o),s=Ci(n-c),l=Ci(o-i),u=a(c,i),d=a(c+1,i),h=a(c,i+1),p=a(c+1,i+1);return(u+(d-u)*s)*(1-l)+(h+(p-h)*s)*l}}function sl(e,t,r,a){let n=r/Math.SQRT2,o=Math.ceil(e/n),c=Math.ceil(t/n),i=new Int32Array(o*c).fill(-1),s=[],l=[],u=(h,p)=>{let k=s.length;s.push([h,p]),i[Math.floor(p/n)*o+Math.floor(h/n)]=k,l.push(k)},d=(h,p)=>{if(h<0||p<0||h>=e||p>=t)return!1;let k=Math.floor(h/n),f=Math.floor(p/n);for(let w=Math.max(f-2,0);w<=Math.min(f+2,c-1);w++)for(let z=Math.max(k-2,0);z<=Math.min(k+2,o-1);z++){let L=i[w*o+z];if(L<0)continue;let $=s[L][0]-h,m=s[L][1]-p;if($*$+m*m<r*r)return!1}return!0};for(u(a()*e,a()*t);l.length;){let h=a()*l.length|0,[p,k]=s[l[h]],f=!1;for(let w=0;w<24;w++){let z=a()*Math.PI*2,L=r*(1+a()),$=p+Math.cos(z)*L,m=k+Math.sin(z)*L;if(d($,m)){u($,m),f=!0;break}}f||l.splice(h,1)}return s}var Ze=(e,t)=>(e()-.5)*t,Fn=[(e,t,r)=>{let a=t*.5,n=t*(.14+r()*.04),o=t*.07;e.beginPath(),e.moveTo(-n-o*.6,-a),e.lineTo(n+o*.6,-a),e.moveTo(-n,-a+o),e.lineTo(n,-a+o),e.moveTo(-n,-a+o),e.lineTo(-n*.85,a-o),e.moveTo(n,-a+o),e.lineTo(n*.85,a-o),e.moveTo(0,-a+o*1.7),e.lineTo(0,a-o*1.7),e.moveTo(-n,a-o),e.lineTo(n,a-o),e.moveTo(-n-o*.6,a),e.lineTo(n+o*.6,a),e.stroke()},(e,t,r)=>{let a=t*.5,n=-a*(.18+r()*.1);e.beginPath(),e.moveTo(-a,n),e.lineTo(0,-a),e.lineTo(a,n),e.closePath(),e.moveTo(-a*.92,n+a*.16),e.lineTo(a*.92,n+a*.16);for(let o of[-.62,-.21,.21,.62])e.moveTo(a*o,n+a*.16),e.lineTo(a*o,a*.8);e.moveTo(-a,a*.8),e.lineTo(a,a*.8),e.stroke()},(e,t,r)=>{let a=t*.5,n=a*(.48+r()*.12);e.beginPath(),e.moveTo(-a*.2,-a*.86),e.lineTo(a*.2,-a*.86),e.moveTo(-a*.15,-a*.78),e.bezierCurveTo(-n,-a*.3,-n*.85,a*.6,0,a*.86),e.bezierCurveTo(n*.85,a*.6,n,-a*.3,a*.15,-a*.78),e.moveTo(-a*.17,-a*.64),e.quadraticCurveTo(-n*1.16,-a*.48,-n*.7,-a*.04),e.moveTo(a*.17,-a*.64),e.quadraticCurveTo(n*1.16,-a*.48,n*.7,-a*.04),e.stroke()},(e,t,r)=>{let a=t*.5;e.beginPath(),e.moveTo(-a*.9,a*.52),e.quadraticCurveTo(0,-a*.18,a*.9,-a*.58),e.stroke();let n=4+(r()*3|0);for(let o=0;o<n;o++){let c=.16+o/n*.8,i=-a*.9+c*a*1.8,s=a*.52-c*a*1.16+(1-c)*c*a*.3,l=o%2?1:-1,u=a*(.26+r()*.1);e.beginPath(),e.moveTo(i,s),e.quadraticCurveTo(i+u*.5,s+l*u*.66,i+u*.9,s+l*u*.08),e.quadraticCurveTo(i+u*.42,s+l*u*.04,i,s),e.stroke()}},(e,t,r)=>{let a=t*.5;e.beginPath(),e.moveTo(-a*.85,-a*.7),e.quadraticCurveTo(-a*.1,-a*.35,a*.2,a*.1),e.stroke();let n=[[-a*.45,-a*.12],[a*.05,a*.3],[a*.42,-a*.4]];for(let[o,c]of n)e.beginPath(),e.moveTo(o,c-a*.28),e.lineTo(o-a*.02,c-a*.16),e.stroke(),e.beginPath(),e.ellipse(o,c,a*(.15+r()*.04),a*.19,Ze(r,.5),0,Math.PI*2),e.stroke()},(e,t,r)=>{let a=t*.5;for(let n of[-1,1]){e.beginPath(),e.arc(0,0,a*.72,n>0?-1.25:1.25,n>0?1.25:Math.PI*2-1.25,n<0),e.stroke();for(let o=0;o<5;o++){let c=-1.05+o/4*2.1,i=Math.sin(c)*n*a*.72,s=Math.cos(c)*a*.72,l=a*(.2+r()*.08);e.beginPath(),e.moveTo(i,s),e.quadraticCurveTo(i+n*l*.9,s-l*.5,i+n*l*.6,s-l*1.05),e.stroke()}}},(e,t)=>{let r=t*.5;e.beginPath(),e.moveTo(-r,r*.6),e.lineTo(r*.55,r*.6),e.lineTo(r*.55,-r*.6),e.lineTo(-r*.45,-r*.6),e.lineTo(-r*.45,r*.15),e.lineTo(r*.1,r*.15),e.lineTo(r*.1,-r*.18),e.stroke()},(e,t)=>{let r=t*.5;e.beginPath(),e.moveTo(-r*.62,r*.8),e.lineTo(-r*.62,-r*.05),e.arc(0,-r*.05,r*.62,Math.PI,0),e.lineTo(r*.62,r*.8),e.stroke(),e.beginPath(),e.moveTo(-r*.86,r*.8),e.lineTo(r*.86,r*.8),e.stroke()},(e,t,r)=>{let a=t*.5;e.beginPath(),e.arc(0,0,a*.4,0,Math.PI*2),e.stroke();let n=r()*.5;for(let o=0;o<8;o++){let c=n+o/8*Math.PI*2;e.beginPath(),e.moveTo(Math.cos(c)*a*.6,Math.sin(c)*a*.6),e.lineTo(Math.cos(c)*a*.94,Math.sin(c)*a*.94),e.stroke()}},(e,t)=>{let r=t*.5;e.beginPath(),e.moveTo(-r*.44,r*.7),e.bezierCurveTo(-r,r*.2,-r*.8,-r*.7,-r*.3,-r*.6),e.moveTo(r*.44,r*.7),e.bezierCurveTo(r,r*.2,r*.8,-r*.7,r*.3,-r*.6),e.moveTo(-r*.32,-r*.64),e.lineTo(r*.32,-r*.64),e.moveTo(-r*.44,r*.7),e.lineTo(r*.44,r*.7);for(let a of[-.16,.02,.2])e.moveTo(r*a,-r*.56),e.lineTo(r*a,r*.62);e.stroke()},(e,t,r)=>{let a=t*.5,n=a*(.4+r()*.18);e.beginPath(),e.moveTo(-a,a*.16),e.quadraticCurveTo(-a*.5,-n,0,-a*.02),e.quadraticCurveTo(a*.5,-n,a,a*.16),e.stroke()}],Mi=[(e,t,r)=>{let a=t*.5,n=-a+Ze(r,a*.3),o=Ze(r,a);e.beginPath(),e.moveTo(n,o);let c=4+(r()*4|0);for(let i=0;i<c;i++){let s=n+a*2/c+Ze(r,a*.5),l=Ze(r,a*1.5);e.quadraticCurveTo(n+Ze(r,a*.9),o+Ze(r,a*1.6),s,l),n=s,o=l}e.stroke()},(e,t,r)=>{let a=t*.5,n=2.2+r()*1.6,o=r()<.5?-1:1;e.beginPath();for(let c=0;c<=60;c++){let i=c/60,s=o*i*n*Math.PI*2,l=a*i*(.9+Ze(r,.06)),u=Math.cos(s)*l,d=Math.sin(s)*l;c===0?e.moveTo(u,d):e.lineTo(u,d)}e.stroke()},(e,t,r)=>{let a=t*.5,n=4+(r()*4|0),o=Ze(r,.7);for(let c=0;c<n;c++){let i=-a+c/(n-1)*a*2+Ze(r,a*.16),s=a*(.7+r()*.6);e.beginPath(),e.moveTo(i-o*s*.5,-s*.5),e.quadraticCurveTo(i+Ze(r,a*.2),0,i+o*s*.5,s*.5),e.stroke()}},(e,t,r)=>{let a=t*.5,n=2+(r()*3|0),o=a*2/n;e.beginPath(),e.moveTo(-a,a*.4);for(let c=0;c<n;c++){let i=-a+c*o,s=o*(.42+r()*.18);e.bezierCurveTo(i+s*.2,a*.4-s*2.1,i+o-s*.2,a*.4-s*2.1,i+o,a*.4+Ze(r,a*.14))}e.stroke()}],Ni=[(e,t,r)=>{e.beginPath(),e.arc(0,0,t*.1+r()*t*.04,0,Math.PI*2),e.fill()},(e,t,r)=>{e.beginPath(),e.arc(Ze(r,t*.04),Ze(r,t*.04),t*.32,0,Math.PI*2),e.stroke()},(e,t,r)=>{let a=t*.4,n=a*(.2+r()*.12);e.beginPath(),e.moveTo(0,-a),e.quadraticCurveTo(n,-n,a,0),e.quadraticCurveTo(n,n,0,a),e.quadraticCurveTo(-n,n,-a,0),e.quadraticCurveTo(-n,-n,0,-a),e.stroke()},(e,t,r)=>{let a=t*.4;e.beginPath(),e.moveTo(-a,Ze(r,t*.08)),e.quadraticCurveTo(0,Ze(r,t*.16),a,Ze(r,t*.08)),e.stroke()}],cl={light:(e,t)=>{let r=t*.5;e.beginPath(),e.moveTo(0,-r),e.quadraticCurveTo(r*.16,-r*.16,r,0),e.quadraticCurveTo(r*.16,r*.16,0,r),e.quadraticCurveTo(-r*.16,r*.16,-r,0),e.quadraticCurveTo(-r*.16,-r*.16,0,-r),e.stroke()},dark:(e,t)=>{let r=t*.44;e.beginPath(),e.moveTo(-r*.6,-r*.5),e.lineTo(r*.6,-r*.5),e.lineTo(r,r*.05),e.lineTo(0,r),e.lineTo(-r,r*.05),e.closePath(),e.moveTo(-r,r*.05),e.lineTo(r,r*.05),e.moveTo(-r*.6,-r*.5),e.lineTo(-r*.3,r*.05),e.lineTo(0,r),e.moveTo(r*.6,-r*.5),e.lineTo(r*.3,r*.05),e.lineTo(0,r),e.stroke()},mahogany:(e,t)=>{let r=t*.5;e.beginPath(),e.moveTo(0,r),e.bezierCurveTo(-r*.9,r*.2,-r*.7,-r*.7,0,-r),e.bezierCurveTo(r*.7,-r*.7,r*.9,r*.2,0,r),e.moveTo(0,r*.86),e.lineTo(0,-r*.86);for(let a=0;a<3;a++){let n=-.34+a*.36;e.moveTo(0,r*n),e.lineTo(r*.44,r*(n-.26)),e.moveTo(0,r*n),e.lineTo(-r*.44,r*(n-.26))}e.stroke()},blush:(e,t)=>{let r=t*.5;for(let a=0;a<5;a++){let n=a/5*Math.PI*2-Math.PI/2;e.beginPath(),e.ellipse(Math.cos(n)*r*.52,Math.sin(n)*r*.52,r*.42,r*.26,n,0,Math.PI*2),e.stroke()}e.beginPath(),e.arc(0,0,r*.19,0,Math.PI*2),e.stroke()},coffee:(e,t)=>{let r=t*.5;e.beginPath(),e.ellipse(0,0,r*.6,r*.9,0,0,Math.PI*2),e.stroke(),e.beginPath(),e.moveTo(0,-r*.84),e.bezierCurveTo(r*.34,-r*.3,-r*.34,r*.3,0,r*.84),e.stroke()},midnight:(e,t)=>{let r=t*.5;e.beginPath();for(let a=0;a<10;a++){let n=a%2===0?r:r*.4,o=a/10*Math.PI*2-Math.PI/2,c=Math.cos(o)*n,i=Math.sin(o)*n;a===0?e.moveTo(c,i):e.lineTo(c,i)}e.closePath(),e.stroke()}},Ti=e=>{let t=e.split(",").map(r=>parseFloat(r.trim()));return[t[0]||0,t[1]||0,t[2]||0]};function zi(e,t,r){let a=Ti(e),n=Ti(t);return`rgb(${Math.round(a[0]+(n[0]-a[0])*r)},${Math.round(a[1]+(n[1]-a[1])*r)},${Math.round(a[2]+(n[2]-a[2])*r)})`}function ll(e,t,r){return`hsl(${Math.round(t*300%360)}, ${r?72:68}%, ${r?58:46}%)`}function pl(e,t,r,a,n,o,c){let i=c?cl[c]:void 0,s=qn(n),l=il(qn(n^2654435769)),u=e*t,h=Math.max(40,Math.min(520,Math.round(u/3100)))/.48,p=Math.max(26,Math.sqrt(.7*u/h)),k=sl(e,t,p,s),f=4.4/Math.max(e,t),w=f*2.6,z=Math.hypot(e,t),L=s()*Math.PI*2,$=Math.cos(L),m=Math.sin(L),S=e*(.18+s()*.64),F=t*(.12+s()*.5),v=[],J=Math.hypot(e,t)||1,[W,G,E]=r.split(",").map(C=>parseFloat(C)||0),j=.2126*W+.7152*G+.0722*E>128;for(let[C,oe]of k){let _=l(C*f,oe*f)*.72+l(C*w,oe*w)*.28,Q=Math.min(1,Math.max(0,(_-.26)/.44));if(s()>Q*Q*(3-2*Q))continue;let g=s(),D=Math.max(0,1-Math.hypot(C-S,oe-F)/(z*.72))**1.6,Z=((C-e/2)*$+(oe-t/2)*m)/z+.5,O=!j,ae=((O?.055:.028)+s()*(O?.04:.025))*(.75+Z*.55)*(1+D*.4),le=zi(r,a,D*.85),me=o?(e-C+t-oe)/(e+t||1):(C+oe)/(e+t||1),M=s()*16777215|0,N=ll(M,me,j),T=0,q=O?1.05+s()*.35:.65+s()*.35,H=20,ie=Fn[0],y=1;g<.5?(T=Ze(s,.16),q=O?1.15+s()*.45:.7+s()*.35,H=20+s()*16,ie=Fn[s()*Fn.length|0]):g<.82?(T=s()*Math.PI*2,q=O?.95+s()*.4:.6+s()*.4,H=16+s()*20,ie=Mi[s()*Mi.length|0]):g<.95||!i?(T=s()*Math.PI*2,q=O?.85+s()*.35:.55+s()*.35,H=7+s()*7,ie=Ni[s()*Ni.length|0]):(T=Ze(s,.3),q=O?1.1+s()*.3:.75+s()*.3,H=15+s()*9,ie=i,y=2.6),v.push({x:C,y:oe,roll:g,rotation:T,lineWidth:q,alpha:ae*y,baseColor:le,shimmerColor:N,drawFn:ie,size:H,seed:M,normDist:me})}return v}function _n(e,t,r,a,n){e.clearRect(0,0,r,a),e.lineCap="round",e.lineJoin="round";let o=n>=0&&n<=1.4,c=o?n*1.4-.2:-999,i=.3;for(let s of t){let l=s.alpha,u=s.baseColor,d=s.lineWidth;if(o){let p=s.normDist-c;if(p>i)l=s.alpha*.45,u=s.baseColor,d=s.lineWidth;else if(p<-i)l=s.alpha,u=s.baseColor,d=s.lineWidth;else{let k=Math.cos(p/i*(Math.PI/2))**2;l=s.alpha+k*.08,u=k>.08?zi(s.baseColor,s.shimmerColor,k*.65):s.baseColor,d=s.lineWidth*(1+k*.2)}}e.save(),e.translate(s.x,s.y),e.rotate(s.rotation),e.globalAlpha=Math.min(l,1),e.strokeStyle=u,e.fillStyle=u,e.lineWidth=d;let h=qn(s.seed);s.drawFn(e,s.size,h),e.restore()}}var dl=Bt.default.memo(function({seed:t="",theme:r,dir:a}){let n=(0,Bt.useRef)(null),o=(0,Bt.useRef)(!1),c=(0,Bt.useRef)(0),i=(0,Bt.useRef)(null),s=(0,Bt.useRef)(0);return(0,Bt.useEffect)(()=>{let l=n.current;if(!l)return;let u=ol(t||"kiku"),d=0,h=(L,$,m,S)=>F=>{let v=F-L,J=Math.min(1,v/$),G=(1-Math.cos(J*Math.PI))/2*1.4,E=l.clientWidth,j=l.clientHeight;if(E&&j){let C=Math.min(window.devicePixelRatio||1,3),oe=Math.round(E*C),_=Math.round(j*C);(l.width!==oe||l.height!==_)&&(l.width=oe,l.height=_);let Q=l.getContext("2d");Q&&(Q.setTransform(C,0,0,C,0,0),_n(Q,m,E,j,G))}if(J<1)c.current=requestAnimationFrame(h(L,$,m,S));else{o.current=!1;let C=l.clientWidth,oe=l.clientHeight,_=l.getContext("2d");if(_&&C&&oe){let Q=Math.min(window.devicePixelRatio||1,3);_.setTransform(Q,0,0,Q,0,0),_n(_,m,C,oe,-1)}}},p=()=>{let L=l.clientWidth,$=l.clientHeight;if(!L||!$)return;let m=Math.min(window.devicePixelRatio||1,3),S=l.getContext("2d");if(!S)return;let F=getComputedStyle(l),v=F.getPropertyValue("--hsk-doodle-ink").trim()||"31,31,31",J=F.getPropertyValue("--hsk-doodle-tint").trim()||v,W=a==="rtl"||F.direction==="rtl"||l.closest('[dir="rtl"]')!==null,G=typeof window<"u"?Math.max($,window.innerHeight||0):$,E=pl(L,G,v,J,u,W,r);i.current=E,s.current=L;let j=Math.round(L*m),C=Math.round($*m);if((l.width!==j||l.height!==C)&&(l.width=j,l.height=C),S.setTransform(m,0,0,m,0,0),window.matchMedia?.("(prefers-reduced-motion: reduce)")?.matches){_n(S,E,L,$,-1);return}cancelAnimationFrame(c.current),o.current=!0;let _=1200,Q=performance.now();c.current=requestAnimationFrame(h(Q,_,E,W))},k=()=>{clearTimeout(d),d=window.setTimeout(p,20)};p();let f=new ResizeObserver(k);f.observe(l);let w=window.matchMedia?.("(prefers-color-scheme: dark)"),z=()=>{p()};return w?.addEventListener?.("change",z),()=>{clearTimeout(d),cancelAnimationFrame(c.current),o.current=!1,f.disconnect(),w?.removeEventListener?.("change",z)}},[t,r,a]),(0,Ri.jsx)("canvas",{className:"hsk-cb-doodles",ref:n,"aria-hidden":"true"})}),Ya=dl;var Oe=Ft(require("react")),Pi=require("@akropolys/sdk");var Bn={arabic:{allSet:"\u0623\u0646\u062A \u062C\u0627\u0647\u0632\u060C {name}.",asWritten:"\u0643\u0645\u0627 \u0647\u064A \u0645\u0643\u062A\u0648\u0628\u0629",captureAll:"\u0627\u0644\u062A\u0642\u0627\u0637 \u0627\u0644\u0643\u0644 ({count})",captureAndRemember:"kiku \u2014 \u0627\u0644\u062A\u0642\u0627\u0637 \u0648\u062A\u0630\u0643\u0631",captureCurrentPage:"\u0627\u0644\u062A\u0642\u0627\u0637 \u0627\u0644\u0635\u0641\u062D\u0629 \u0627\u0644\u062D\u0627\u0644\u064A\u0629",cardClickAnswer:"\u0627\u0644\u0640 {name}",cardClickQuery:"\u0623\u062E\u0628\u0631\u0646\u064A \u0627\u0644\u0645\u0632\u064A\u062F \u0639\u0646 {name}{price} \u2014 \u0645\u0627 \u0647\u064A \u062A\u0641\u0627\u0635\u064A\u0644\u0647 \u0627\u0644\u0631\u0626\u064A\u0633\u064A\u0629\u060C \u0648\u0644\u0645\u0646 \u0647\u0648 \u0627\u0644\u0623\u0646\u0633\u0628\u060C \u0648\u0645\u0627\u0630\u0627 \u064A\u062C\u0628 \u0623\u0646 \u0623\u0639\u0631\u0641\u061F",clearChat:"\u0645\u0633\u062D \u0627\u0644\u062F\u0631\u062F\u0634\u0629",defaultPlaceholder:"\u0627\u0633\u0623\u0644\u0646\u064A \u0623\u064A \u0634\u064A\u0621...",deleteThis:"\u062D\u0630\u0641 \u0647\u0630\u0627",detailsTranslated:"\u062A\u0645\u062A \u062A\u0631\u062C\u0645\u0629 \u0627\u0644\u062A\u0641\u0627\u0635\u064A\u0644. \u062A\u0628\u0642\u0649 \u0627\u0644\u0623\u0631\u0642\u0627\u0645 \u0648\u0627\u0644\u0631\u0648\u0627\u0628\u0637 \u0643\u0645\u0627 \u0647\u064A \u062A\u0645\u0627\u0645\u064B\u0627.",displayCapture:"\u0627\u0644\u062A\u0642\u0627\u0637 {name}",displayCaptureAll:"\u0627\u0644\u062A\u0642\u0627\u0637 \u0627\u0644\u0643\u0644 ({count} \u0639\u0646\u0627\u0635\u0631)",displayDelete:"\u062D\u0630\u0641 \u0647\u0630\u0627",displayViewHistory:"\u0645\u0627\u0630\u0627 \u062D\u0641\u0638\u062A\u061F",entityLangIntro:"\u0623\u0631\u062F \u0628\u0640 {lang}. \u064A\u0645\u0643\u0646 \u0639\u0631\u0636 \u0627\u0644\u0628\u0637\u0627\u0642\u0627\u062A \u0643\u0645\u0627 \u0647\u064A \u0623\u0648 \u062A\u0631\u062C\u0645\u062A\u0647\u0627.",entityLangPlaceholder:"\u0627\u062E\u062A\u0631 \u0625\u062D\u062F\u0649 \u0627\u0644\u0628\u0637\u0627\u0642\u062A\u064A\u0646 \u0623\u0639\u0644\u0627\u0647...",errAccessRevoked:"\u062A\u0645 \u0625\u0644\u063A\u0627\u0621 \u0648\u0635\u0648\u0644\u0643 \u0625\u0644\u0649 \u0627\u0644\u0645\u0633\u0627\u0639\u062F \u0645\u0646 \u0642\u0628\u0644 \u0627\u0644\u0645\u062A\u062C\u0631.",errAccountRequired:"\u0627\u0644\u0631\u062C\u0627\u0621 \u0625\u0646\u0634\u0627\u0621 \u062D\u0633\u0627\u0628 \u0644\u0645\u062A\u0627\u0628\u0639\u0629 \u0627\u0633\u062A\u062E\u062F\u0627\u0645 \u0645\u0633\u0627\u0639\u062F \u0627\u0644\u062F\u0631\u062F\u0634\u0629.",errShopperReplyLimit:"\u0644\u0642\u062F \u0648\u0635\u0644\u062A \u0625\u0644\u0649 \u062D\u062F \u0627\u0644\u0631\u062F\u0648\u062F \u0627\u0644\u0645\u0633\u0645\u0648\u062D \u0628\u0647 \u0644\u062D\u0633\u0627\u0628\u0643 \u0641\u064A \u0647\u0630\u0627 \u0627\u0644\u0645\u0648\u0642\u0639.",errStreamInterrupted:"\u062A\u0645\u062A \u0645\u0642\u0627\u0637\u0639\u0629 \u0627\u0644\u0631\u062F. \u0627\u0644\u0631\u062C\u0627\u0621 \u0627\u0644\u0645\u062D\u0627\u0648\u0644\u0629 \u0645\u0631\u0629 \u0623\u062E\u0631\u0649.",errTokenLimit:"\u0644\u0642\u062F \u0648\u0635\u0644\u062A \u0625\u0644\u0649 \u062D\u062F \u0627\u0644\u0627\u0633\u062A\u062E\u062F\u0627\u0645 \u0627\u0644\u062E\u0627\u0635 \u0628\u0643. \u0627\u0644\u0631\u062C\u0627\u0621 \u062A\u062D\u062F\u064A\u062B \u062D\u062F\u0648\u062F \u0627\u0644\u0641\u0648\u0627\u062A\u064A\u0631 \u0641\u064A \u0644\u0648\u062D\u0629 \u0627\u0644\u062A\u062D\u0643\u0645 \u0627\u0644\u062E\u0627\u0635\u0629 \u0628\u0643 \u0644\u0644\u0645\u062A\u0627\u0628\u0639\u0629.",errTooManyRequests:"\u064A\u062A\u0644\u0642\u0649 \u0627\u0644\u0645\u0633\u0627\u0639\u062F \u062D\u0627\u0644\u064A\u064B\u0627 \u0639\u062F\u062F\u064B\u0627 \u0643\u0628\u064A\u0631\u064B\u0627 \u062C\u062F\u064B\u0627 \u0645\u0646 \u0627\u0644\u0637\u0644\u0628\u0627\u062A. \u0627\u0644\u0631\u062C\u0627\u0621 \u0627\u0644\u0645\u062D\u0627\u0648\u0644\u0629 \u0645\u0631\u0629 \u0623\u062E\u0631\u0649 \u0628\u0639\u062F \u0644\u062D\u0638\u0627\u062A \u0642\u0644\u064A\u0644\u0629.",footerHint:"kiku \xB7 \u064A\u0628\u062D\u062B \u0641\u064A \u0627\u0644\u0643\u062A\u0627\u0644\u0648\u062C \u0628\u0623\u0643\u0645\u0644\u0647 \u0641\u064A \u0627\u0644\u0648\u0642\u062A \u0627\u0644\u0641\u0639\u0644\u064A",greetReturning:"\u0623\u0647\u0644\u0627\u064B\u060C {name}.",greetReturningLead:"\u0645\u0627\u0630\u0627 \u064A\u0645\u0643\u0646\u0646\u064A \u0623\u0646 \u0623\u062C\u062F \u0644\u0643 \u0627\u0644\u064A\u0648\u0645\u061F",howShouldResultsLook:"\u0643\u064A\u0641 \u064A\u062C\u0628 \u0623\u0646 \u062A\u0628\u062F\u0648 \u0627\u0644\u0646\u062A\u0627\u0626\u062C\u061F",inLanguage:"\u0628\u0640 {lang}",keyAutoHide:"\u064A\u062E\u062A\u0641\u064A \u062A\u0644\u0642\u0627\u0626\u064A\u064B\u0627 \u0641\u064A {seconds} \u062B\u0648\u0627\u0646\u064D.",keyCopied:"\u062A\u0645 \u0627\u0644\u0646\u0633\u062E",keyCopyId:"\u0646\u0633\u062E \u0627\u0644\u0645\u0639\u0631\u0651\u0641",keyCopySecret:"\u0646\u0633\u062E \u0627\u0644\u0633\u0631",keyCreateNew:"\u0623\u0646\u0627 \u062C\u062F\u064A\u062F \u2014 \u0623\u0646\u0634\u0626 \u0648\u0627\u062D\u062F\u064B\u0627",keyCreating:"\u062C\u0627\u0631\u064D \u0627\u0644\u0625\u0646\u0634\u0627\u0621\u2026",keyDismiss:"\u062A\u062C\u0627\u0647\u0644",keyPastePlaceholder:"\u0645\u0639\u0631\u0651\u0641\u0643 \u0627\u0644\u0639\u0627\u0645\u2026",keyPastePrompt:"\u0627\u0644\u0635\u0642 \u0645\u0639\u0631\u0651\u0641\u0643 \u0627\u0644\u0639\u0627\u0645 \u2014 \u0623\u0648 \u0623\u0646\u0634\u0626 \u0648\u0627\u062D\u062F\u064B\u0627",keyPublicHint:"\u0627\u0644\u0635\u0642\u0647 \u0641\u064A \u0623\u064A \u0645\u0648\u0642\u0639 \u0644\u0644\u062D\u0641\u0638 \u0641\u064A \u0646\u0641\u0633 \u0627\u0644\u0630\u0627\u0643\u0631\u0629.",keyPublicTitle:"\u0645\u0639\u0631\u0651\u0641\u0643 \u0627\u0644\u0639\u0627\u0645",keySecretHint:"\u0627\u062D\u062A\u0641\u0638 \u0628\u0647 \u062E\u0627\u0635\u064B\u0627 \u2014 \u0627\u0633\u062A\u062E\u062F\u0645\u0647 \u0644\u0641\u062A\u062D \u0630\u0627\u0643\u0631\u062A\u0643.",keySecretTitle:"\u0633\u0631\u0643 \u2014 \u064A\u064F\u0639\u0631\u0636 \u0645\u0631\u0629 \u0648\u0627\u062D\u062F\u0629 \u0641\u0642\u0637",keyUseMine:"\u0627\u0633\u062A\u062E\u062F\u0645 \u0645\u0639\u0631\u0651\u0641\u064A",kikuActionUnavailable:"\u0639\u0630\u0631\u064B\u0627 \u2014 \u0647\u0630\u0627 \u0627\u0644\u0625\u062C\u0631\u0627\u0621 \u063A\u064A\u0631 \u0645\u062A\u0627\u062D \u0639\u0644\u0649 \u0647\u0630\u0627 \u0627\u0644\u0645\u0648\u0642\u0639.",kikuCaptureDbError:"\u0641\u0634\u0644 \u0627\u0644\u0627\u0644\u062A\u0642\u0627\u0637 \u0628\u0633\u0628\u0628 \u062E\u0637\u0623 \u0641\u064A \u0642\u0627\u0639\u062F\u0629 \u0627\u0644\u0628\u064A\u0627\u0646\u0627\u062A.",kikuCaptureNoContext:"\u0641\u0634\u0644 \u0627\u0644\u0627\u0644\u062A\u0642\u0627\u0637 \u0644\u0623\u0646\u0647 \u0644\u0645 \u064A\u062A\u0645 \u062A\u0648\u0641\u064A\u0631 \u0633\u064A\u0627\u0642 \u0627\u0644\u0635\u0641\u062D\u0629 \u0623\u0648 \u0627\u0644\u0645\u0646\u062A\u062C \u0628\u0648\u0627\u0633\u0637\u0629 SDK.",kikuCaptureNoUrl:"\u062A\u0639\u0630\u0631 \u062D\u0641\u0638 \u0623\u064A \u0639\u0646\u0627\u0635\u0631 \u2014 \u0644\u0645 \u064A\u0643\u0646 \u0644\u0623\u064A \u0645\u0646\u0647\u0627 \u0639\u0646\u0648\u0627\u0646 URL \u0635\u0627\u0644\u062D.",kikuCaptureNoneSelected:"\u0644\u0645 \u064A\u062A\u0645 \u062A\u062D\u062F\u064A\u062F \u0623\u064A \u0639\u0646\u0627\u0635\u0631 \u0644\u0627\u0644\u062A\u0642\u0627\u0637\u0647\u0627.",kikuDeleteDbError:"\u0641\u0634\u0644 \u0627\u0644\u062D\u0630\u0641 \u0628\u0633\u0628\u0628 \u062E\u0637\u0623 \u0641\u064A \u0642\u0627\u0639\u062F\u0629 \u0627\u0644\u0628\u064A\u0627\u0646\u0627\u062A.",kikuDeleteDone:"\u062A\u0645\u062A \u0625\u0632\u0627\u0644\u062A\u0647 \u0645\u0646 \u0627\u0644\u0639\u0646\u0627\u0635\u0631 \u0627\u0644\u0645\u062D\u0641\u0648\u0638\u0629 \u0644\u062F\u064A\u0643.",kikuDeleteNoContext:"\u0641\u0634\u0644 \u0627\u0644\u062D\u0630\u0641 \u0644\u0623\u0646\u0647 \u0644\u0645 \u064A\u062A\u0645 \u062A\u0648\u0641\u064A\u0631 \u0633\u064A\u0627\u0642 \u0627\u0644\u0635\u0641\u062D\u0629 \u0644\u062A\u062D\u062F\u064A\u062F \u0645\u0627 \u064A\u062C\u0628 \u062D\u0630\u0641\u0647.",kikuMemoryIntro:"\u0643\u0644 \u0645\u0627 \u0627\u0644\u062A\u0642\u0637\u062A\u0647 \u0639\u0628\u0631 \u0627\u0644\u0645\u0648\u0627\u0642\u0639 \u0645\u0648\u062C\u0648\u062F \u0641\u064A \u0630\u0627\u0643\u0631\u062A\u0643 \u0627\u0644\u062E\u0627\u0635\u0629. \u0627\u0641\u062A\u062D\u0647\u0627 \u0628\u0627\u0633\u062A\u062E\u062F\u0627\u0645 \u0633\u0631\u0643:",kikuMintNeeded:"\u0644\u062D\u0641\u0638 \u0627\u0644\u0639\u0646\u0627\u0635\u0631 \u0639\u0628\u0631 \u0627\u0644\u0645\u0648\u0627\u0642\u0639\u060C \u062A\u062D\u062A\u0627\u062C \u0625\u0644\u0649 \u0645\u0641\u062A\u0627\u062D kiku \u2014 \u0633\u0623\u0642\u0648\u0645 \u0628\u0625\u0646\u0634\u0627\u0621 \u0648\u0627\u062D\u062F \u0644\u0643. \u064A\u064F\u0639\u0631\u0636 \u0645\u0631\u0629 \u0648\u0627\u062D\u062F\u0629 \u0641\u0642\u0637\u060C \u0644\u0630\u0627 \u0627\u062D\u0641\u0638\u0647 \u0641\u064A \u0645\u0643\u0627\u0646 \u0622\u0645\u0646.",kikuMintOffer:"\u064A\u0645\u0643\u0646\u0646\u064A \u0627\u0644\u0627\u062D\u062A\u0641\u0627\u0638 \u0628\u0647\u0630\u0627 \u0644\u0643 \u0648\u0645\u062A\u0627\u0628\u0639\u062A\u0647 \u0645\u0639\u0643 \u0639\u0628\u0631 \u0627\u0644\u0645\u0648\u0627\u0642\u0639 \u2014 \u0633\u0623\u0642\u0648\u0645 \u0628\u0625\u0646\u0634\u0627\u0621 \u0645\u0641\u062A\u0627\u062D kiku \u0644\u0643. \u064A\u064F\u0639\u0631\u0636 \u0645\u0631\u0629 \u0648\u0627\u062D\u062F\u0629 \u0641\u0642\u0637\u060C \u0644\u0630\u0627 \u0627\u062D\u0641\u0638\u0647 \u0641\u064A \u0645\u0643\u0627\u0646 \u0622\u0645\u0646.",kikuNeedKeyToUpdate:"\u0623\u062F\u062E\u0644 \u0645\u0641\u062A\u0627\u062D kiku \u0627\u0644\u062E\u0627\u0635 \u0628\u0643 \u062D\u062A\u0649 \u0623\u062A\u0645\u0643\u0646 \u0645\u0646 \u0627\u0644\u0639\u062B\u0648\u0631 \u0639\u0644\u0649 \u0627\u0644\u0639\u0646\u0627\u0635\u0631 \u0627\u0644\u0645\u062D\u0641\u0648\u0638\u0629 \u0644\u062F\u064A\u0643 \u0648\u062A\u062D\u062F\u064A\u062B\u0647\u0627.",micDenied:"\u062A\u0645 \u062D\u0638\u0631 \u0627\u0644\u0645\u064A\u0643\u0631\u0648\u0641\u0648\u0646. \u0627\u0633\u0645\u062D \u0628\u0627\u0644\u0648\u0635\u0648\u0644 \u0625\u0644\u0649 \u0627\u0644\u0645\u064A\u0643\u0631\u0648\u0641\u0648\u0646 \u0644\u0647\u0630\u0627 \u0627\u0644\u0645\u0648\u0642\u0639\u060C \u062B\u0645 \u062D\u0627\u0648\u0644 \u0645\u0631\u0629 \u0623\u062E\u0631\u0649.",micFailed:"\u0644\u0645 \u0623\u062A\u0645\u0643\u0646 \u0645\u0646 \u0633\u0645\u0627\u0639 \u0630\u0644\u0643. \u062D\u0627\u0648\u0644 \u0645\u0631\u0629 \u0623\u062E\u0631\u0649.",micInsecure:"\u064A\u062A\u0637\u0644\u0628 \u0627\u0644\u0635\u0648\u062A \u0627\u062A\u0635\u0627\u0644\u0627\u064B \u0622\u0645\u0646\u064B\u0627 (https).",micLangUnsupported:"\u0644\u0627 \u064A\u0645\u0643\u0646 \u0644\u0647\u0630\u0627 \u0627\u0644\u0645\u062A\u0635\u0641\u062D \u0646\u0633\u062E \u0647\u0630\u0647 \u0627\u0644\u0644\u063A\u0629 \u0628\u0639\u062F. \u064A\u0631\u062C\u0649 \u0627\u0644\u0643\u062A\u0627\u0628\u0629 \u0628\u062F\u0644\u0627\u064B \u0645\u0646 \u0630\u0644\u0643.",micMissing:"\u0644\u0645 \u064A\u062A\u0645 \u0627\u0644\u0639\u062B\u0648\u0631 \u0639\u0644\u0649 \u0645\u064A\u0643\u0631\u0648\u0641\u0648\u0646.",micNetwork:"\u062A\u062A\u0637\u0644\u0628 \u0645\u064A\u0632\u0629 \u0627\u0644\u0635\u0648\u062A \u0627\u062A\u0635\u0627\u0644\u0627\u064B \u0627\u0644\u0622\u0646. \u064A\u0631\u062C\u0649 \u0627\u0644\u062A\u062D\u0642\u0642 \u0645\u0646 \u0627\u062A\u0635\u0627\u0644\u0643 \u0648\u0627\u0644\u0645\u062D\u0627\u0648\u0644\u0629 \u0645\u0631\u0629 \u0623\u062E\u0631\u0649.",micNoSpeech:"\u0644\u0645 \u0623\u0633\u0645\u0639 \u0634\u064A\u0626\u064B\u0627. \u064A\u0631\u062C\u0649 \u0627\u0644\u0645\u062D\u0627\u0648\u0644\u0629 \u0645\u0631\u0629 \u0623\u062E\u0631\u0649\u060C \u0648\u0627\u0642\u062A\u0631\u0628 \u0642\u0644\u064A\u0644\u0627\u064B \u0645\u0646 \u0627\u0644\u0645\u064A\u0643\u0631\u0648\u0641\u0648\u0646.",namePlaceholder:"\u0627\u0643\u062A\u0628 \u0627\u0633\u0645\u0643...",nameStepAsk:"\u0645\u0627\u0630\u0627 \u064A\u062C\u0628 \u0623\u0646 \u0623\u0646\u0627\u062F\u064A\u0643\u061F",nameStepLead:"\u064A\u0645\u0643\u0646\u0646\u064A \u0627\u0644\u0628\u062D\u062B \u0639\u0646 \u0623\u064A \u0634\u064A\u0621 \u0623\u0648 \u062A\u0635\u0648\u0631\u0647 \u0623\u0648 \u0627\u0644\u062A\u0642\u0627\u0637\u0647 \u0644\u0643 \u2014 \u0641\u064A \u0647\u0630\u0627 \u0627\u0644\u0645\u0648\u0642\u0639 \u0623\u0648 \u0623\u064A \u0645\u0648\u0642\u0639 \u0622\u062E\u0631.",nameStepTitle:"\u0633\u0631\u0631\u062A \u0628\u0644\u0642\u0627\u0626\u0643.",namesAsWritten:"\u0627\u0644\u0623\u0633\u0645\u0627\u0621 \u0648\u0627\u0644\u062A\u0641\u0627\u0635\u064A\u0644 \u062A\u0645\u0627\u0645\u064B\u0627 \u0643\u0645\u0627 \u0647\u064A \u0645\u062F\u0631\u062C\u0629 \u0641\u064A \u0627\u0644\u0645\u0648\u0642\u0639.",pillCompareTop2:"\u0642\u0627\u0631\u0646 \u0623\u0641\u0636\u0644 2",pillCompareTop2Query:"\u0642\u0627\u0631\u0646 \u0628\u064A\u0646 {a} \u0648 {b}",pillFindAlternatives:"\u0627\u0628\u062D\u062B \u0639\u0646 \u0628\u062F\u0627\u0626\u0644",pillFindAlternativesQuery:"\u0645\u0627 \u0647\u064A \u0627\u0644\u0628\u062F\u0627\u0626\u0644 \u0627\u0644\u062C\u064A\u062F\u0629 \u0644\u0640 {name}\u061F",pillMoreOn:"\u0627\u0644\u0645\u0632\u064A\u062F \u0639\u0646 {name}",pillMoreOnQuery:"\u0623\u062E\u0628\u0631\u0646\u064A \u0627\u0644\u0645\u0632\u064A\u062F \u0639\u0646 {name}",pillRecommend:"\u0623\u0648\u0635\u0650 \u0628\u0634\u064A\u0621",pillRecommendQuery:"\u0645\u0627\u0630\u0627 \u062A\u0648\u0635\u064A \u0644\u064A\u061F",pillShowPopular:"\u0639\u0631\u0636 \u0627\u0644\u0639\u0646\u0627\u0635\u0631 \u0627\u0644\u0634\u0627\u0626\u0639\u0629",pillShowPopularQuery:"\u0645\u0627 \u0647\u064A \u0645\u0646\u062A\u062C\u0627\u062A\u0643 \u0627\u0644\u0623\u0643\u062B\u0631 \u0634\u0639\u0628\u064A\u0629\u061F",pillSimilarOptions:"\u062E\u064A\u0627\u0631\u0627\u062A \u0645\u0634\u0627\u0628\u0647\u0629",pillSimilarOptionsQuery:"\u0623\u0631\u0646\u064A \u0627\u0644\u0645\u0632\u064A\u062F \u0627\u0644\u0645\u0634\u0627\u0628\u0647 \u0644\u0640 {name}",pillUnder:"\u0623\u0642\u0644 \u0645\u0646 {amount}",pillUnderQuery:"\u0623\u0638\u0647\u0631 \u0644\u064A \u062E\u064A\u0627\u0631\u0627\u062A \u0628\u0633\u0639\u0631 \u0623\u0642\u0644 \u0645\u0646 {amount}",pillWhichBest:"\u0623\u064A\u0647\u0645\u0627 \u0627\u0644\u0623\u0641\u0636\u0644\u061F",pillWhichBestQuery:"\u0623\u064A\u0647\u0645\u0627 \u062A\u0648\u0635\u064A \u0648\u0644\u0645\u0627\u0630\u0627\u061F",replyingOriginal:"\u0623\u0631\u062F\u0651 \u0628\u0627\u0644\u0644\u063A\u0629 {lang}\u060C \u0648\u0627\u0644\u0646\u062A\u0627\u0626\u062C \u0643\u0645\u0627 \u0643\u062A\u0628\u0647\u0627 \u0647\u0630\u0627 \u0627\u0644\u0645\u0648\u0642\u0639. \u0627\u0633\u0623\u0644\u0646\u064A \u0623\u064A \u0634\u064A\u0621.",replyingTranslated:"\u0623\u0631\u062F\u0651 \u0628\u0627\u0644\u0644\u063A\u0629 {lang}\u060C \u0648\u0627\u0644\u0646\u062A\u0627\u0626\u062C \u0645\u062A\u0631\u062C\u0645\u0629 \u0623\u064A\u0636\u064B\u0627. \u0627\u0633\u0623\u0644\u0646\u064A \u0623\u064A \u0634\u064A\u0621.",statusSent:"\u062A\u0645 \u0627\u0644\u0625\u0631\u0633\u0627\u0644",statusStopped:"\u062A\u0645 \u0627\u0644\u0625\u0631\u0633\u0627\u0644 \xB7 \u062A\u0645 \u0625\u064A\u0642\u0627\u0641 \u0627\u0644\u0631\u062F",thinking:"\u062C\u0627\u0631\u064A \u0627\u0644\u062A\u0641\u0643\u064A\u0631",thoughtForSeconds:"\u0641\u0643\u0631\u062A \u0644\u0645\u062F\u0629 {duration}",thoughtProcess:"\u0639\u0645\u0644\u064A\u0629 \u0627\u0644\u062A\u0641\u0643\u064A\u0631",vizDisclaimerImage:"\u062A\u0645 \u0627\u0644\u0625\u0646\u0634\u0627\u0621 \u0628\u0627\u0633\u062A\u062E\u062F\u0627\u0645 \u0627\u0644\u0630\u0643\u0627\u0621 \u0627\u0644\u0627\u0635\u0637\u0646\u0627\u0639\u064A \u2014 \u0642\u062F \u062A\u062E\u062A\u0644\u0641 \u0627\u0644\u0623\u0644\u0648\u0627\u0646 \u0648\u0627\u0644\u062D\u062C\u0645 \u0648\u0627\u0644\u0645\u0648\u0636\u0639 \u0639\u0646 \u0627\u0644\u0645\u0646\u062A\u062C \u0627\u0644\u062D\u0642\u064A\u0642\u064A.",vizDisclaimerVideo:"\u062A\u0645 \u0627\u0644\u0625\u0646\u0634\u0627\u0621 \u0628\u0627\u0633\u062A\u062E\u062F\u0627\u0645 \u0627\u0644\u0630\u0643\u0627\u0621 \u0627\u0644\u0627\u0635\u0637\u0646\u0627\u0639\u064A \u2014 \u0642\u062F \u062A\u062E\u062A\u0644\u0641 \u0627\u0644\u0623\u0644\u0648\u0627\u0646 \u0648\u0627\u0644\u062D\u062C\u0645 \u0648\u0627\u0644\u062D\u0631\u0643\u0629 \u0639\u0646 \u0627\u0644\u0645\u0646\u062A\u062C \u0627\u0644\u062D\u0642\u064A\u0642\u064A.",vizUnavailable:"\u062A\u0639\u0630\u0631 \u062A\u062D\u0645\u064A\u0644 \u0627\u0644\u0645\u0639\u0627\u064A\u0646\u0629.",voiceListening:"\u062C\u0627\u0631\u064A \u0627\u0644\u0627\u0633\u062A\u0645\u0627\u0639... \u0627\u0636\u063A\u0637 \u0639\u0644\u0649 \u0627\u0644\u0645\u064A\u0643\u0631\u0648\u0641\u0648\u0646 \u0644\u0644\u0625\u064A\u0642\u0627\u0641",voiceSending:"\u062A\u0645\u0627\u0645 \u2014 \u062C\u0627\u0631\u064A \u0627\u0644\u0625\u0631\u0633\u0627\u0644...",termsStepTitle:"\u0627\u0644\u062E\u0635\u0648\u0635\u064A\u0629 \u0648\u0634\u0631\u0648\u0637 \u0627\u0644\u0627\u0633\u062A\u062E\u062F\u0627\u0645",termsStepSubtitle:"\u0634\u0641\u0627\u0641\u064A\u0629 \u0643\u0627\u0645\u0644\u0629\u060C \u0648\u0647\u0648\u064A\u0629 \u0645\u062C\u0647\u0648\u0644\u0629\u060C \u0648\u0628\u062F\u0648\u0646 \u062C\u0645\u0639 \u0623\u064A \u0628\u064A\u0627\u0646\u0627\u062A \u0634\u062E\u0635\u064A\u0629.",termsPiiTitle:"\u0639\u062F\u0645 \u062C\u0645\u0639 \u0627\u0644\u0628\u064A\u0627\u0646\u0627\u062A \u0627\u0644\u0634\u062E\u0635\u064A\u0629",termsPiiDesc:"\u0646\u062D\u0646 \u0644\u0627 \u0646\u062C\u0645\u0639 \u0623\u0648 \u0646\u0637\u0644\u0628 \u0623\u0648 \u0646\u062E\u0632\u0646 \u0623\u064A \u0645\u0639\u0644\u0648\u0645\u0627\u062A \u062A\u0639\u0631\u064A\u0641 \u0634\u062E\u0635\u064A\u0629 (\u0644\u0627 \u0628\u0631\u064A\u062F \u0625\u0644\u0643\u062A\u0631\u0648\u0646\u064A\u060C \u0644\u0627 \u0623\u0631\u0642\u0627\u0645 \u0647\u0648\u0627\u062A\u0641\u060C \u0648\u0644\u0627 \u0647\u0648\u064A\u0627\u062A \u062D\u0642\u064A\u0642\u064A\u0629) \u0645\u0646 \u0645\u062D\u0627\u062F\u062B\u0627\u062A\u0643 \u0623\u0648 \u062C\u0644\u0633\u0627\u062A\u0643 \u0627\u0644\u0635\u0648\u062A\u064A\u0629.",termsSessionTitle:"\u0645\u0639\u0631\u0651\u0641\u0627\u062A \u062C\u0644\u0633\u0629 \u0645\u062C\u0647\u0648\u0644\u0629",termsSessionDesc:"\u062A\u0633\u062A\u062E\u062F\u0645 \u062C\u0644\u0633\u062A\u0643 \u0645\u0639\u0631\u0651\u0641\u064B\u0627 \u0645\u062C\u0647\u0648\u0644\u0627\u064B \u0645\u0646 \u062C\u0627\u0646\u0628 \u0627\u0644\u0639\u0645\u064A\u0644 \u0641\u0642\u0637 \u0644\u0644\u062D\u0641\u0627\u0638 \u0639\u0644\u0649 \u0627\u0644\u0633\u064A\u0627\u0642\u060C \u0648\u0644\u0627 \u064A\u062A\u0645 \u0631\u0628\u0637\u0647 \u0628\u0647\u0648\u064A\u062A\u0643 \u0627\u0644\u062D\u0642\u064A\u0642\u064A\u0629 \u0623\u0628\u062F\u0627\u064B.",termsMemoryTitle:"\u0645\u062D\u0627\u062F\u062B\u0627\u062A \u0645\u0624\u0642\u062A\u0629 \u0645\u0642\u0627\u0628\u0644 \u062E\u0632\u064A\u0646\u0629 \u0645\u064A\u0645\u064A",termsMemoryDesc:'\u0627\u0644\u0645\u062D\u0627\u062F\u062B\u0627\u062A \u0627\u0644\u0639\u0627\u062F\u064A\u0629 \u0645\u0624\u0642\u062A\u0629 \u2014 \u0625\u063A\u0644\u0627\u0642 \u0627\u0644\u0646\u0627\u0641\u0630\u0629 \u0623\u0648 \u0645\u0633\u062D \u0627\u0644\u062F\u0631\u062F\u0634\u0629 \u064A\u0646\u0647\u064A\u0647\u0627 \u0646\u0647\u0627\u0626\u064A\u064B\u0627. \u0627\u0644\u0639\u0646\u0627\u0635\u0631 \u0627\u0644\u062A\u064A \u062A\u062D\u0641\u0638\u0647\u0627 \u0639\u0628\u0631 "@kiku" \u0645\u0634\u0641\u0631\u0629 \u0648\u064A\u0645\u0643\u0646 \u0641\u062A\u062D\u0647\u0627 \u0641\u064A mimi.akropolys.cloud \u0628\u0627\u0633\u062A\u062E\u062F\u0627\u0645 \u0645\u0641\u062A\u0627\u062D\u0643 \u0627\u0644\u0633\u0631\u064A.',termsCookieTitle:"\u0628\u064A\u0627\u0646\u0627\u062A \u062A\u062A\u0628\u0639 \u0627\u0644\u0645\u0648\u0642\u0639 \u0627\u0644\u0645\u0636\u064A\u0641",termsCookieDesc:"\u0642\u062F \u064A\u0642\u0648\u0645 \u0627\u0644\u0645\u0648\u0642\u0639 \u0627\u0644\u0645\u0636\u064A\u0641 \u0628\u062C\u0645\u0639 \u0645\u0644\u0641\u0627\u062A \u062A\u0639\u0631\u064A\u0641 \u0627\u0644\u0627\u0631\u062A\u0628\u0627\u0637 \u0648\u0627\u0644\u062A\u062D\u0644\u064A\u0644\u0627\u062A \u0648\u0641\u0642\u064B\u0627 \u0644\u0633\u064A\u0627\u0633\u0629 \u0645\u0644\u0641\u0627\u062A \u062A\u0639\u0631\u064A\u0641 \u0627\u0644\u0627\u0631\u062A\u0628\u0627\u0637 \u0627\u0644\u062E\u0627\u0635\u0629 \u0628\u0647\u060C \u0648\u0647\u064A \u062E\u0627\u0631\u062C\u0629 \u0639\u0646 \u0633\u064A\u0637\u0631\u0629 kiku.",termsAgreeButton:"\u0627\u0644\u0645\u0648\u0627\u0641\u0642\u0629 \u0648\u0627\u0644\u0645\u062A\u0627\u0628\u0639\u0629",termsAgreeCounting:"\u0627\u0644\u0645\u0648\u0627\u0641\u0642\u0629 \u0648\u0627\u0644\u0645\u062A\u0627\u0628\u0639\u0629 ({seconds} \u062B)",termsPlaceholder:"\u064A\u0631\u062C\u0649 \u0645\u0631\u0627\u062C\u0639\u0629 \u0648\u0642\u0628\u0648\u0644 \u0627\u0644\u062E\u0635\u0648\u0635\u064A\u0629 \u0648\u0627\u0644\u0634\u0631\u0648\u0637 \u0623\u0639\u0644\u0627\u0647...",whatHaveYouSaved:"\u0645\u0627\u0630\u0627 \u062D\u0641\u0638\u062A\u061F",voiceHint:"\u062A\u062D\u062F\u062B \u0641\u0642\u0637 \u2014 \u0633\u0623\u062C\u064A\u0628 \u0639\u0646\u062F\u0645\u0627 \u062A\u062A\u0648\u0642\u0641.",voiceModeExit:"\u0627\u0644\u062E\u0631\u0648\u062C \u0645\u0646 \u0627\u0644\u0648\u0636\u0639 \u0628\u062F\u0648\u0646 \u0627\u0633\u062A\u062E\u062F\u0627\u0645 \u0627\u0644\u064A\u062F\u064A\u0646",voiceModeStart:"\u0645\u062D\u0627\u062F\u062B\u0629 \u0628\u062F\u0648\u0646 \u0627\u0633\u062A\u062E\u062F\u0627\u0645 \u0627\u0644\u064A\u062F\u064A\u0646",voiceMuted:"\u0645\u0643\u062A\u0648\u0645",voiceMutedHint:"\u0627\u0636\u063A\u0637 \u0639\u0644\u0649 \u0627\u0644\u0645\u064A\u0643\u0631\u0648\u0641\u0648\u0646 \u0644\u0644\u062A\u062D\u062F\u062B \u0645\u0631\u0629 \u0623\u062E\u0631\u0649.",voicePhaseListening:"\u0627\u0633\u062A\u0645\u0627\u0639",voicePhaseSpeaking:"\u062A\u062D\u062F\u062B",voicePhaseThinking:"\u062A\u0641\u0643\u064A\u0631",retry:"\u0625\u0639\u0627\u062F\u0629 \u0627\u0644\u0645\u062D\u0627\u0648\u0644\u0629",edit:"\u062A\u0639\u062F\u064A\u0644",copy:"\u0646\u0633\u062E",copied:"\u062A\u0645 \u0627\u0644\u0646\u0633\u062E",msgFailed:"\u0641\u0634\u0644 \u0627\u0644\u0625\u0631\u0633\u0627\u0644"},chinese:{allSet:"\u60A8\u5DF2\u51C6\u5907\u597D\uFF0C{name}\u3002",asWritten:"\u5982\u539F\u6587\u6240\u793A",captureAll:"\u6355\u83B7\u5168\u90E8\uFF08{count}\uFF09",captureAndRemember:"kiku \u2014 \u6355\u83B7\u5E76\u8BB0\u4F4F",captureCurrentPage:"\u6355\u83B7\u5F53\u524D\u9875\u9762",cardClickAnswer:"{name}",cardClickQuery:"\u544A\u8BC9\u6211\u66F4\u591A\u5173\u4E8E {name}{price} \u2014 \u5173\u952E\u7EC6\u8282\u662F\u4EC0\u4E48\uFF0C\u6700\u9002\u5408\u8C01\uFF0C\u6211\u9700\u8981\u4E86\u89E3\u4EC0\u4E48\uFF1F",clearChat:"\u6E05\u9664\u804A\u5929",defaultPlaceholder:"\u968F\u4FBF\u95EE\u6211\u4EFB\u4F55\u4E8B\u2026",deleteThis:"\u5220\u9664\u6B64\u9879",detailsTranslated:"\u8BE6\u60C5\u5DF2\u7FFB\u8BD1\u3002\u6570\u5B57\u548C\u94FE\u63A5\u4FDD\u6301\u539F\u6837\u3002",displayCapture:"\u6355\u83B7 {name}",displayCaptureAll:"\u6355\u83B7\u5168\u90E8\uFF08{count} \u9879\uFF09",displayDelete:"\u5220\u9664\u6B64\u9879",displayViewHistory:"\u6211\u4FDD\u5B58\u4E86\u4EC0\u4E48\uFF1F",entityLangIntro:"\u6211\u4F1A\u7528 {lang} \u56DE\u590D\u3002\u7ED3\u679C\u5361\u7247\u53EF\u4EE5\u4FDD\u6301\u7F51\u7AD9\u539F\u6587\uFF0C\u4E5F\u53EF\u4EE5\u7FFB\u8BD1\u3002",entityLangPlaceholder:"\u4ECE\u4E0A\u9762\u7684\u4E24\u5F20\u5361\u7247\u4E2D\u9009\u62E9\u4E00\u4E2A\u2026",errAccessRevoked:"\u60A8\u7684\u8BBF\u95EE\u6743\u9650\u5DF2\u88AB\u5546\u5E97\u64A4\u9500\u3002",errAccountRequired:"\u8BF7\u521B\u5EFA\u8D26\u6237\u4EE5\u7EE7\u7EED\u4F7F\u7528\u804A\u5929\u52A9\u624B\u3002",errShopperReplyLimit:"\u60A8\u5DF2\u8FBE\u5230\u6B64\u7AD9\u70B9\u5BF9\u60A8\u8D26\u6237\u7684\u56DE\u590D\u4E0A\u9650\u3002",errStreamInterrupted:"\u56DE\u590D\u88AB\u4E2D\u65AD\u3002\u8BF7\u518D\u8BD5\u4E00\u6B21\u3002",errTokenLimit:"\u60A8\u5DF2\u8FBE\u5230\u4F7F\u7528\u4E0A\u9650\u3002\u8BF7\u5728\u4EEA\u8868\u677F\u4E2D\u66F4\u65B0\u8BA1\u8D39\u4E0A\u9650\u4EE5\u7EE7\u7EED\u3002",errTooManyRequests:"\u52A9\u624B\u5F53\u524D\u8BF7\u6C42\u8FC7\u591A\u3002\u8BF7\u7A0D\u540E\u518D\u8BD5\u3002",footerHint:"kiku \xB7 \u5B9E\u65F6\u641C\u7D22\u6574\u4E2A\u76EE\u5F55",greetReturning:"\u60A8\u597D\uFF0C{name}\u3002",greetReturningLead:"\u4ECA\u5929\u6211\u80FD\u4E3A\u60A8\u627E\u5230\u4EC0\u4E48\uFF1F",howShouldResultsLook:"\u7ED3\u679C\u5E94\u8BE5\u662F\u4EC0\u4E48\u6837\u5B50\uFF1F",inLanguage:"\u4F7F\u7528 {lang}",namePlaceholder:"\u8F93\u5165\u60A8\u7684\u540D\u5B57\u2026",nameStepAsk:"\u6211\u8BE5\u600E\u4E48\u79F0\u547C\u60A8\uFF1F",nameStepLead:"\u6211\u53EF\u4EE5\u4E3A\u60A8\u641C\u7D22\u3001\u53EF\u89C6\u5316\u6216\u6355\u83B7\u4EFB\u4F55\u5185\u5BB9\u2014\u2014\u5728\u6B64\u7AD9\u70B9\u6216\u5176\u4ED6\u4EFB\u4F55\u7AD9\u70B9\u3002",nameStepTitle:"\u5F88\u9AD8\u5174\u89C1\u5230\u60A8\u3002",namesAsWritten:"\u540D\u79F0\u548C\u8BE6\u60C5\u5B8C\u5168\u6309\u7AD9\u70B9\u5217\u51FA\u3002",pillCompareTop2:"\u6BD4\u8F83\u524D\u4E24\u9879",pillCompareTop2Query:"\u6BD4\u8F83 {a} \u548C {b}",pillFindAlternatives:"\u5BFB\u627E\u66FF\u4EE3\u54C1",pillFindAlternativesQuery:"\u6709\u4EC0\u4E48\u597D\u7684\u66FF\u4EE3\u54C1\u53EF\u4EE5\u66FF\u4EE3 {name}\uFF1F",pillMoreOn:"\u66F4\u591A\u5173\u4E8E {name}",pillMoreOnQuery:"\u544A\u8BC9\u6211\u66F4\u591A\u5173\u4E8E {name}",pillRecommend:"\u63A8\u8350\u4E00\u4E9B\u4E1C\u897F",pillRecommendQuery:"\u60A8\u4F1A\u63A8\u8350\u4EC0\u4E48\u7ED9\u6211\uFF1F",pillShowPopular:"\u663E\u793A\u70ED\u95E8\u9879\u76EE",pillShowPopularQuery:"\u60A8\u6700\u53D7\u6B22\u8FCE\u7684\u9879\u76EE\u662F\u4EC0\u4E48\uFF1F",pillSimilarOptions:"\u76F8\u4F3C\u9009\u9879",pillSimilarOptionsQuery:"\u5C55\u793A\u66F4\u591A\u7C7B\u4F3C {name} \u7684\u5185\u5BB9",pillUnder:"\u4F4E\u4E8E {amount}",pillUnderQuery:"\u5C55\u793A\u4F4E\u4E8E {amount} \u7684\u9009\u9879",pillWhichBest:"\u54EA\u4E00\u4E2A\u6700\u597D\uFF1F",pillWhichBestQuery:"\u60A8\u4F1A\u63A8\u8350\u54EA\u4E00\u4E2A\uFF0C\u4E3A\u4EC0\u4E48\uFF1F",replyingOriginal:"\u7528 {lang} \u56DE\u590D\uFF0C\u7ED3\u679C\u4FDD\u6301\u7F51\u7AD9\u539F\u6587\u3002\u968F\u4FBF\u95EE\u6211\u4EFB\u4F55\u4E8B\u3002",replyingTranslated:"\u7528 {lang} \u56DE\u590D\uFF0C\u7ED3\u679C\u4E5F\u5DF2\u7FFB\u8BD1\u3002\u968F\u4FBF\u95EE\u6211\u4EFB\u4F55\u4E8B\u3002",statusSent:"\u5DF2\u53D1\u9001",statusStopped:"\u5DF2\u53D1\u9001 \xB7 \u56DE\u590D\u5DF2\u505C\u6B62",thinking:"\u601D\u8003\u4E2D",thoughtForSeconds:"\u601D\u8003\u4E86 {duration}",thoughtProcess:"\u601D\u8003\u8FC7\u7A0B",termsStepTitle:"\u9690\u79C1\u4E0E\u4F7F\u7528\u6761\u6B3E",termsStepSubtitle:"\u900F\u660E\u3001\u533F\u540D\uFF0C\u4ECE\u8BBE\u8BA1\u4E4B\u521D\u5373\u96F6\u4E2A\u4EBA\u8EAB\u4EFD\u4FE1\u606F\u3002",termsPiiTitle:"\u96F6\u4E2A\u4EBA\u8EAB\u4EFD\u4FE1\u606F\u6536\u96C6",termsPiiDesc:"\u6211\u4EEC\u7EDD\u4E0D\u4F1A\u4ECE\u60A8\u7684\u5BF9\u8BDD\u6216\u8BED\u97F3\u4E2D\u6536\u96C6\u6216\u5B58\u50A8\u4EFB\u4F55\u4E2A\u4EBA\u8EAB\u4EFD\u4FE1\u606F\uFF08\u65E0\u90AE\u7BB1\u3001\u7535\u8BDD\u53F7\u7801\u6216\u771F\u5B9E\u59D3\u540D\uFF09\u3002",termsSessionTitle:"\u533F\u540D\u4F1A\u8BDD\u51ED\u8BC1",termsSessionDesc:"\u60A8\u7684\u4F1A\u8BDD\u4EC5\u4F7F\u7528\u5BA2\u6237\u7AEF\u751F\u6210\u7684\u533F\u540D\u6807\u8BC6\u7B26\u6765\u7EF4\u6301\u4E0A\u4E0B\u6587\uFF0C\u7EDD\u4E0D\u4E0E\u60A8\u7684\u771F\u5B9E\u8EAB\u4EFD\u5173\u8054\u3002",termsMemoryTitle:"\u5373\u65F6\u4F1A\u8BDD vs. Mimi \u8BB0\u5FC6\u5E93",termsMemoryDesc:'\u666E\u901A\u5BF9\u8BDD\u5B8C\u5168\u5373\u65F6\u5904\u7406\u2014\u2014\u5173\u95ED\u6216\u6E05\u9664\u804A\u5929\u5373\u53EF\u5F7B\u5E95\u9500\u6BC1\u3002\u4F7F\u7528 "@kiku" \u4FDD\u5B58\u7684\u5185\u5BB9\u7ECF\u8FC7\u52A0\u5BC6\uFF0C\u53EF\u5728 mimi.akropolys.cloud \u4F7F\u7528\u60A8\u7684\u79C1\u94A5\u968F\u65F6\u89E3\u9501\u3002',termsCookieTitle:"\u5BBF\u4E3B\u7F51\u7AD9\u9065\u6D4B",termsCookieDesc:"\u5D4C\u5165 kiku \u7684\u5BBF\u4E3B\u7F51\u7AD9\u53EF\u80FD\u4F1A\u6839\u636E\u5176\u81EA\u8EAB\u7684 Cookie \u653F\u7B56\u6536\u96C6\u6D4F\u89C8\u6570\u636E\uFF0C\u4E0D\u53D7 kiku \u63A7\u5236\u3002",termsAgreeButton:"\u540C\u610F\u5E76\u7EE7\u7EED",termsAgreeCounting:"\u540C\u610F\u5E76\u7EE7\u7EED ({seconds}\u79D2)",termsPlaceholder:"\u8BF7\u67E5\u9605\u5E76\u540C\u610F\u4E0A\u65B9\u7684\u9690\u79C1\u4E0E\u6761\u6B3E\u2026",whatHaveYouSaved:"\u6211\u4FDD\u5B58\u4E86\u4EC0\u4E48\uFF1F",keyAutoHide:"\u5C06\u5728 {seconds} \u79D2\u540E\u81EA\u52A8\u9690\u85CF\u3002",keyCopied:"\u5DF2\u590D\u5236",keyCopyId:"\u590D\u5236 ID",keyCopySecret:"\u590D\u5236\u5BC6\u94A5",keyCreateNew:"\u6211\u662F\u65B0\u7528\u6237 \u2014 \u521B\u5EFA\u4E00\u4E2A",keyCreating:"\u6B63\u5728\u521B\u5EFA\u2026",keyDismiss:"\u5173\u95ED",keyPastePlaceholder:"\u60A8\u7684\u516C\u5F00 ID\u2026",keyPastePrompt:"\u7C98\u8D34\u60A8\u7684\u516C\u5F00 ID \u2014 \u6216\u521B\u5EFA\u4E00\u4E2A",keyPublicHint:"\u5728\u4EFB\u4F55\u7F51\u7AD9\u4E0A\u7C98\u8D34\u6B64 ID \u5373\u53EF\u4FDD\u5B58\u5230\u76F8\u540C\u7684\u8BB0\u5FC6\u5E93\u4E2D\u3002",keyPublicTitle:"\u60A8\u7684\u516C\u5F00 ID",keySecretHint:"\u8BF7\u59A5\u5584\u4FDD\u7BA1 \u2014 \u7528\u4E8E\u89E3\u9501\u60A8\u7684\u8BB0\u5FC6\u5E93\u3002",keySecretTitle:"\u60A8\u7684\u5BC6\u94A5 \u2014 \u4EC5\u663E\u793A\u4E00\u6B21",keyUseMine:"\u4F7F\u7528\u6211\u7684 ID",kikuActionUnavailable:"\u62B1\u6B49 \u2014 \u6B64\u7AD9\u70B9\u6682\u4E0D\u652F\u6301\u8BE5\u64CD\u4F5C\u3002",kikuCaptureDbError:"\u7531\u4E8E\u6570\u636E\u5E93\u9519\u8BEF\uFF0C\u4FDD\u5B58\u5931\u8D25\u3002",kikuCaptureNoContext:"\u7531\u4E8E\u672A\u63D0\u4F9B\u9875\u9762\u6216\u4EA7\u54C1\u4E0A\u4E0B\u6587\uFF0C\u4FDD\u5B58\u5931\u8D25\u3002",kikuCaptureNoUrl:"\u65E0\u6CD5\u4FDD\u5B58\u4EFB\u4F55\u9879\u76EE \u2014 \u5747\u65E0\u6709\u6548\u7F51\u5740\u3002",kikuCaptureNoneSelected:"\u672A\u9009\u62E9\u8981\u4FDD\u5B58\u7684\u9879\u76EE\u3002",kikuDeleteDbError:"\u7531\u4E8E\u6570\u636E\u5E93\u9519\u8BEF\uFF0C\u5220\u9664\u5931\u8D25\u3002",kikuDeleteDone:"\u5DF2\u4ECE\u4FDD\u5B58\u7684\u9879\u76EE\u4E2D\u79FB\u9664\u3002",kikuDeleteNoContext:"\u672A\u63D0\u4F9B\u9875\u9762\u4E0A\u4E0B\u6587\u4EE5\u786E\u5B9A\u8981\u5220\u9664\u7684\u5185\u5BB9\u3002",kikuMemoryIntro:"\u60A8\u5728\u5404\u7AD9\u70B9\u4FDD\u5B58\u7684\u6240\u6709\u5185\u5BB9\u5747\u5B58\u50A8\u5728\u60A8\u7684\u79C1\u6709\u8BB0\u5FC6\u5E93\u4E2D\u3002\u4F7F\u7528\u60A8\u7684\u5BC6\u94A5\u89E3\u9501\uFF1A",kikuMintNeeded:"\u8981\u5728\u8DE8\u7AD9\u70B9\u4FDD\u5B58\u9879\u76EE\uFF0C\u60A8\u9700\u8981\u4E00\u4E2A kiku \u5BC6\u94A5 \u2014 \u6211\u5C06\u4E3A\u60A8\u751F\u6210\u4E00\u4E2A\u3002\u8BE5\u5BC6\u94A5\u4EC5\u663E\u793A\u4E00\u6B21\uFF0C\u8BF7\u59A5\u5584\u4FDD\u5B58\u3002",kikuMintOffer:"\u6211\u53EF\u4EE5\u4E3A\u60A8\u4FDD\u5B58\u5E76\u8DDF\u968F\u60A8\u8DE8\u7AD9\u70B9\u540C\u6B65 \u2014 \u6211\u5C06\u4E3A\u60A8\u751F\u6210\u4E00\u4E2A kiku \u5BC6\u94A5\u3002\u4EC5\u663E\u793A\u4E00\u6B21\uFF0C\u8BF7\u59A5\u5584\u4FDD\u5B58\u3002",kikuNeedKeyToUpdate:"\u8F93\u5165\u60A8\u7684 kiku \u5BC6\u94A5\u4EE5\u4FBF\u6211\u67E5\u627E\u5E76\u66F4\u65B0\u60A8\u4FDD\u5B58\u7684\u9879\u76EE\u3002",micDenied:"\u9EA6\u514B\u98CE\u5DF2\u88AB\u963B\u6B62\u3002\u8BF7\u5141\u8BB8\u6B64\u7AD9\u70B9\u8BBF\u95EE\u9EA6\u514B\u98CE\uFF0C\u7136\u540E\u91CD\u8BD5\u3002",micFailed:"\u672A\u80FD\u542C\u6E05\u3002\u8BF7\u91CD\u8BD5\u3002",micInsecure:"\u8BED\u97F3\u529F\u80FD\u9700\u8981\u5B89\u5168\u8FDE\u63A5 (HTTPS)\u3002",micLangUnsupported:"\u6B64\u6D4F\u89C8\u5668\u6682\u4E0D\u652F\u6301\u8BE5\u8BED\u8A00\u7684\u8BED\u97F3\u8F6C\u5F55\u3002\u8BF7\u4F7F\u7528\u6587\u5B57\u8F93\u5165\u3002",micMissing:"\u672A\u627E\u5230\u9EA6\u514B\u98CE\u3002",micNetwork:"\u8BED\u97F3\u529F\u80FD\u9700\u8981\u7F51\u7EDC\u8FDE\u63A5\u3002\u8BF7\u68C0\u67E5\u7F51\u7EDC\u540E\u91CD\u8BD5\u3002",micNoSpeech:"\u672A\u68C0\u6D4B\u5230\u58F0\u97F3\u3002\u8BF7\u9760\u8FD1\u9EA6\u514B\u98CE\u540E\u91CD\u8BD5\u3002",vizDisclaimerImage:"\u7531\u4EBA\u5DE5\u667A\u80FD\u751F\u6210 \u2014 \u989C\u8272\u3001\u5C3A\u5BF8\u548C\u4F4D\u7F6E\u53EF\u80FD\u4E0E\u5B9E\u7269\u7565\u6709\u4E0D\u540C\u3002",vizDisclaimerVideo:"\u7531\u4EBA\u5DE5\u667A\u80FD\u751F\u6210 \u2014 \u989C\u8272\u3001\u5C3A\u5BF8\u548C\u52A8\u4F5C\u53EF\u80FD\u4E0E\u5B9E\u7269\u7565\u6709\u4E0D\u540C\u3002",vizUnavailable:"\u65E0\u6CD5\u52A0\u8F7D\u9884\u89C8\u3002",voiceHint:"\u76F4\u63A5\u8BF4\u8BDD\u5373\u53EF \u2014 \u60A8\u505C\u987F\u540E\u6211\u4F1A\u56DE\u7B54\u3002",voiceListening:"\u6B63\u5728\u8046\u542C\u2026 \u70B9\u51FB\u9EA6\u514B\u98CE\u505C\u6B62",voiceModeExit:"\u9000\u51FA\u514D\u63D0\u6A21\u5F0F",voiceModeStart:"\u514D\u63D0\u5BF9\u8BDD",voiceMuted:"\u9759\u97F3",voiceMutedHint:"\u70B9\u51FB\u9EA6\u514B\u98CE\u91CD\u65B0\u5F00\u59CB\u8BF4\u8BDD\u3002",voicePhaseListening:"\u6B63\u5728\u8046\u542C",voicePhaseSpeaking:"\u6B63\u5728\u56DE\u7B54",voicePhaseThinking:"\u6B63\u5728\u601D\u8003",voiceSending:"\u5DF2\u6536\u5230 \u2014 \u6B63\u5728\u53D1\u9001\u2026",retry:"\u91CD\u8BD5",edit:"\u7F16\u8F91",copy:"\u590D\u5236",copied:"\u5DF2\u590D\u5236",msgFailed:"\u53D1\u9001\u5931\u8D25"},english:{allSet:"You're all set, {name}.",asWritten:"As written",captureAll:"Capture all ({count})",captureAndRemember:"kiku \u2014 capture & remember",captureCurrentPage:"Capture current page",cardClickAnswer:"The {name}",cardClickQuery:"Tell me more about the {name}{price} \u2014 what are its key details, who is it best suited for, and what should I know?",clearChat:"Clear chat",defaultPlaceholder:"Ask me anything\u2026",deleteThis:"Delete this",detailsTranslated:"Details translated. Numbers and links stay exactly as listed.",displayCapture:"capture {name}",displayCaptureAll:"capture all ({count} items)",displayDelete:"delete this",displayViewHistory:"what have you saved?",entityLangIntro:"I reply in {lang}. Result cards can stay as written, or be translated too.",entityLangPlaceholder:"Pick one of the two cards above\u2026",errAccessRevoked:"Your access to the assistant has been revoked by the store.",errAccountRequired:"Please create an account to continue using the chat assistant.",errShopperReplyLimit:"You've reached this site's reply limit for your account.",errStreamInterrupted:"The reply was interrupted. Please try again.",errTokenLimit:"You've reached your usage limit. Please update your billing limits in your dashboard to continue.",errTooManyRequests:"The assistant is currently receiving too many requests. Please try again in a few moments.",footerHint:"kiku \xB7 searches the whole catalogue in real time",greetReturning:"Hi, {name}.",greetReturningLead:"What can I find for you today?",howShouldResultsLook:"How should results look?",inLanguage:"In {lang}",keyAutoHide:"Hides automatically in {seconds}s.",keyCopied:"Copied",keyCopyId:"Copy id",keyCopySecret:"Copy secret",keyCreateNew:"I'm new \u2014 create one",keyCreating:"Creating\u2026",keyDismiss:"Dismiss",keyPastePlaceholder:"your public id\u2026",keyPastePrompt:"Paste your public id \u2014 or create one",keyPublicHint:"Paste this on any site to save to the same memory.",keyPublicTitle:"Your public id",keySecretHint:"Keep it private \u2014 use it to unlock your memory.",keySecretTitle:"Your secret \u2014 shown only once",keyUseMine:"Use my id",kikuActionUnavailable:"Sorry \u2014 that action isn't available on this site.",kikuCaptureDbError:"Capture failed due to a database error.",kikuCaptureNoContext:"Capture failed because no page or product context was provided by the SDK.",kikuCaptureNoUrl:"Couldn\u2019t save any items \u2014 none had a valid URL.",kikuCaptureNoneSelected:"No items were selected to capture.",kikuDeleteDbError:"Delete failed due to a database error.",kikuDeleteDone:"Removed it from your saved items.",kikuDeleteNoContext:"Delete failed because no page context was provided to identify what to delete.",kikuMemoryIntro:"Everything you've captured across sites lives in your private memory. Unlock it with your secret:",kikuMintNeeded:"To save items across sites you need a kiku key \u2014 I'll mint one for you. It's shown only once, so save it somewhere safe.",kikuMintOffer:"I can keep this for you and have it follow you across sites \u2014 I'll mint you a kiku key. It's shown only once, so save it somewhere safe.",kikuNeedKeyToUpdate:"Enter your kiku key so I can find and update your saved items.",micDenied:"Microphone blocked. Allow mic access for this site, then try again.",micFailed:"Couldn't hear that. Try again.",micInsecure:"Voice needs a secure (https) connection.",micLangUnsupported:"This browser cannot transcribe that language yet. Type instead.",micMissing:"No microphone found.",micNetwork:"Voice needs a connection right now. Check yours and try again.",micNoSpeech:"Didn't catch anything. Try again, a little closer to the mic.",namePlaceholder:"Type your name\u2026",nameStepAsk:"What should I call you?",nameStepLead:"I can search, visualize, or capture anything for you \u2014 on this site or any other.",nameStepTitle:"Nice to meet you.",namesAsWritten:"Names and details exactly as the site lists them.",pillCompareTop2:"Compare top 2",pillCompareTop2Query:"Compare the {a} and {b}",pillFindAlternatives:"Find alternatives",pillFindAlternativesQuery:"What are good alternatives to the {name}?",pillMoreOn:"More on {name}",pillMoreOnQuery:"Tell me more about the {name}",pillRecommend:"Recommend something",pillRecommendQuery:"What do you recommend for me?",pillShowPopular:"Show popular items",pillShowPopularQuery:"What are your most popular items?",pillSimilarOptions:"Similar options",pillSimilarOptionsQuery:"Show me more like the {name}",pillUnder:"Under {amount}",pillUnderQuery:"Show me options under {amount}",pillWhichBest:"Which is best?",pillWhichBestQuery:"Which one would you recommend and why?",replyingOriginal:"Replying in {lang}, results as this site wrote them. Ask me anything.",replyingTranslated:"Replying in {lang}, results translated too. Ask me anything.",statusSent:"Sent",statusStopped:"Sent \xB7 reply stopped",thinking:"Thinking",thoughtForSeconds:"Thought for {duration}",thoughtProcess:"Thought process",vizDisclaimerImage:"Generated using Artificial Intelligence \u2014 colours, size and placement may differ from the real product.",vizDisclaimerVideo:"Generated using Artificial Intelligence \u2014 colours, size and movement may differ from the real product.",vizUnavailable:"The preview could not be loaded.",voiceHint:"Just talk \u2014 I'll answer when you pause.",voiceListening:"Listening\u2026 tap the mic to stop",voiceModeExit:"Leave hands-free",voiceModeStart:"Hands-free conversation",voiceMuted:"Muted",voiceMutedHint:"Tap the microphone to speak again.",voicePhaseListening:"Listening",voicePhaseSpeaking:"Speaking",voicePhaseThinking:"Thinking",voiceSending:"Got it \u2014 sending\u2026",termsStepTitle:"Privacy & Terms of Use",termsStepSubtitle:"Transparent, anonymous, and zero-PII by design.",termsPiiTitle:"Zero PII Collection",termsPiiDesc:"We never collect or store personal identifying information (no emails, phone numbers, or real-world identities) from your chats or voice sessions.",termsSessionTitle:"Anonymous Session Tokens",termsSessionDesc:"Your session uses an anonymous client-side token solely to maintain context. It is never linked to your real identity.",termsMemoryTitle:"Ephemeral Chats vs. Mimi Vault",termsMemoryDesc:'Regular chats are ephemeral \u2014 closing the tab or clicking "Clear Chat" terminates them forever. Items you save with "@kiku" are encrypted and can be unlocked at mimi.akropolys.cloud with your Secret Access Key.',termsCookieTitle:"Host Website Telemetry",termsCookieDesc:"The host website where Kiku is embedded may collect cookies and analytics per their own cookie policy, outside Kiku's control.",termsAgreeButton:"Agree & Continue",termsAgreeCounting:"Agree & Continue ({seconds}s)",termsPlaceholder:"Please review and accept our Privacy & Terms above\u2026",whatHaveYouSaved:"What have you saved?",retry:"Retry",edit:"Edit",copy:"Copy",copied:"Copied",msgFailed:"Failed to send"},french:{allSet:"C'est tout bon, {name}.",asWritten:"Tel quel",captureAll:"Tout capturer ({count})",captureAndRemember:"kiku \u2014 capturer et m\xE9moriser",captureCurrentPage:"Capturer la page actuelle",cardClickAnswer:"Le {name}",cardClickQuery:"Dites-m'en plus sur le {name}{price} : ses caract\xE9ristiques principales, \xE0 qui il convient le mieux et ce que je devrais savoir.",clearChat:"Effacer le chat",defaultPlaceholder:"Posez-moi n'importe quelle question\u2026",deleteThis:"Supprimer ceci",detailsTranslated:"D\xE9tails traduits. Les chiffres et les liens restent exactement tels qu'ils sont.",displayCapture:"capturer {name}",displayCaptureAll:"tout capturer ({count} articles)",displayDelete:"supprimer ceci",displayViewHistory:"qu'avez-vous enregistr\xE9 ?",entityLangIntro:"Je r\xE9ponds en {lang}. Les fiches peuvent rester telles qu'\xE9crites ou \xEAtre traduites.",entityLangPlaceholder:"Choisissez l'une des deux fiches ci-dessus\u2026",errAccessRevoked:"Votre acc\xE8s \xE0 l'assistant a \xE9t\xE9 r\xE9voqu\xE9 par le magasin.",errAccountRequired:"Veuillez cr\xE9er un compte pour continuer \xE0 utiliser l'assistant de chat.",errShopperReplyLimit:"Vous avez atteint la limite de r\xE9ponses de ce site pour votre compte.",errStreamInterrupted:"La r\xE9ponse a \xE9t\xE9 interrompue. Veuillez r\xE9essayer.",errTokenLimit:"Vous avez atteint votre limite d'utilisation. Veuillez mettre \xE0 jour vos limites de facturation dans votre tableau de bord pour continuer.",errTooManyRequests:"L'assistant re\xE7oit actuellement trop de requ\xEAtes. Veuillez r\xE9essayer dans quelques instants.",footerHint:"kiku \xB7 recherche dans tout le catalogue en temps r\xE9el",greetReturning:"Bonjour, {name}.",greetReturningLead:"Que puis-je trouver pour vous aujourd'hui ?",howShouldResultsLook:"Comment les r\xE9sultats doivent-ils s'afficher ?",inLanguage:"En {lang}",keyAutoHide:"Se masque automatiquement dans {seconds}s.",keyCopied:"Copi\xE9",keyCopyId:"Copier l'identifiant",keyCopySecret:"Copier le secret",keyCreateNew:"Je suis nouveau \u2014 cr\xE9ez-en un",keyCreating:"Cr\xE9ation en cours\u2026",keyDismiss:"Ignorer",keyPastePlaceholder:"votre identifiant public\u2026",keyPastePrompt:"Collez votre identifiant public \u2014 ou cr\xE9ez-en un",keyPublicHint:"Collez ceci sur n'importe quel site pour enregistrer dans la m\xEAme m\xE9moire.",keyPublicTitle:"Votre identifiant public",keySecretHint:"Gardez-le priv\xE9 \u2014 utilisez-le pour d\xE9verrouiller votre m\xE9moire.",keySecretTitle:"Votre secret \u2014 affich\xE9 une seule fois",keyUseMine:"Utiliser mon identifiant",kikuActionUnavailable:"D\xE9sol\xE9 \u2014 cette action n'est pas disponible sur ce site.",kikuCaptureDbError:"La capture a \xE9chou\xE9 en raison d'une erreur de base de donn\xE9es.",kikuCaptureNoContext:"La capture a \xE9chou\xE9 car aucun contexte de page ou de produit n'a \xE9t\xE9 fourni par le SDK.",kikuCaptureNoUrl:"Impossible d'enregistrer des articles \u2014 aucun n'avait d'URL valide.",kikuCaptureNoneSelected:"Aucun article n'a \xE9t\xE9 s\xE9lectionn\xE9 pour la capture.",kikuDeleteDbError:"La suppression a \xE9chou\xE9 en raison d'une erreur de base de donn\xE9es.",kikuDeleteDone:"Je l'ai retir\xE9 de vos articles enregistr\xE9s.",kikuDeleteNoContext:"La suppression a \xE9chou\xE9 car aucun contexte de page n'a \xE9t\xE9 fourni pour identifier ce qu'il fallait supprimer.",kikuMemoryIntro:"Tout ce que vous avez captur\xE9 sur les sites se trouve dans votre m\xE9moire priv\xE9e. D\xE9verrouillez-la avec votre secret :",kikuMintNeeded:"Pour enregistrer des articles sur diff\xE9rents sites, vous avez besoin d'une cl\xE9 kiku \u2014 je vais en cr\xE9er une pour vous. Elle n'est affich\xE9e qu'une seule fois, alors enregistrez-la en lieu s\xFBr.",kikuMintOffer:"Je peux garder ceci pour vous et le faire vous suivre sur les sites \u2014 je vais vous cr\xE9er une cl\xE9 kiku. Elle n'est affich\xE9e qu'une seule fois, alors enregistrez-la en lieu s\xFBr.",kikuNeedKeyToUpdate:"Entrez votre cl\xE9 kiku afin que je puisse trouver et mettre \xE0 jour vos articles enregistr\xE9s.",micDenied:"Microphone bloqu\xE9. Autorisez l'acc\xE8s au micro pour ce site, puis r\xE9essayez.",micFailed:"Je n'ai pas entendu. R\xE9essayez.",micInsecure:"La voix n\xE9cessite une connexion s\xE9curis\xE9e (https).",micLangUnsupported:"Ce navigateur ne peut pas encore transcrire cette langue. Veuillez taper \xE0 la place.",micMissing:"Aucun microphone d\xE9tect\xE9.",micNetwork:"La voix n\xE9cessite une connexion en ce moment. V\xE9rifiez la v\xF4tre et r\xE9essayez.",micNoSpeech:"Je n'ai rien entendu. R\xE9essayez, un peu plus pr\xE8s du micro.",namePlaceholder:"Tapez votre nom\u2026",nameStepAsk:"Comment dois-je vous appeler ?",nameStepLead:"Je peux chercher, visualiser ou enregistrer pour vous sur ce site ou ailleurs.",nameStepTitle:"Enchant\xE9 de vous rencontrer.",namesAsWritten:"Noms et d\xE9tails exactement tels qu'ils sont list\xE9s sur le site.",pillCompareTop2:"Comparer les 2 meilleurs",pillCompareTop2Query:"Comparez le {a} et le {b}",pillFindAlternatives:"Trouver des alternatives",pillFindAlternativesQuery:"Quelles sont de bonnes alternatives au {name} ?",pillMoreOn:"Plus sur {name}",pillMoreOnQuery:"Dites-m'en plus sur le {name}",pillRecommend:"Recommander quelque chose",pillRecommendQuery:"Que me recommandez-vous ?",pillShowPopular:"Afficher les articles populaires",pillShowPopularQuery:"Quels sont vos articles les plus populaires ?",pillSimilarOptions:"Options similaires",pillSimilarOptionsQuery:"Montrez-m'en plus comme le {name}",pillUnder:"Moins de {amount}",pillUnderQuery:"Montrez-moi des options \xE0 moins de {amount}",pillWhichBest:"Lequel est le meilleur ?",pillWhichBestQuery:"Lequel recommanderiez-vous et pourquoi ?",replyingOriginal:"Je r\xE9ponds en {lang}, les r\xE9sultats sont tels que le site les a \xE9crits. Posez-moi n'importe quelle question.",replyingTranslated:"Je r\xE9ponds en {lang}, les r\xE9sultats sont \xE9galement traduits. Posez-moi n'importe quelle question.",statusSent:"Envoy\xE9",statusStopped:"Envoy\xE9 \xB7 r\xE9ponse arr\xEAt\xE9e",thinking:"R\xE9flexion en cours",thoughtForSeconds:"R\xE9flexion pendant {duration}",thoughtProcess:"Processus de r\xE9flexion",vizDisclaimerImage:"G\xE9n\xE9r\xE9 par Intelligence Artificielle \u2014 les couleurs, la taille et le placement peuvent diff\xE9rer du produit r\xE9el.",vizDisclaimerVideo:"G\xE9n\xE9r\xE9 par Intelligence Artificielle \u2014 les couleurs, la taille et le mouvement peuvent diff\xE9rer du produit r\xE9el.",vizUnavailable:"L'aper\xE7u n'a pas pu \xEAtre charg\xE9.",voiceListening:"\xC9coute\u2026 touchez le micro pour arr\xEAter",voiceSending:"Bien re\xE7u \u2014 envoi en cours\u2026",termsStepTitle:"Confidentialit\xE9 et conditions d'utilisation",termsStepSubtitle:"Transparent, anonyme et sans collecte de donn\xE9es personnelles.",termsPiiTitle:"Z\xE9ro collecte de donn\xE9es personnelles",termsPiiDesc:"Nous ne collectons ni ne stockons aucune information d'identification personnelle (ni e-mail, ni num\xE9ro de t\xE9l\xE9phone, ni identit\xE9 r\xE9elle) depuis vos discussions ou sessions vocales.",termsSessionTitle:"Jetons de session anonymes",termsSessionDesc:"Votre session utilise un identifiant anonyme c\xF4t\xE9 client uniquement pour maintenir le contexte, jamais li\xE9 \xE0 votre identit\xE9 r\xE9elle.",termsMemoryTitle:"Discussions \xE9ph\xE9m\xE8res vs Coffre Mimi",termsMemoryDesc:"Les discussions normales sont \xE9ph\xE9m\xE8res \u2014 fermer ou effacer le chat les d\xE9truit pour toujours. Les \xE9l\xE9ments enregistr\xE9s avec \xAB @kiku \xBB sont chiffr\xE9s et accessibles sur mimi.akropolys.cloud avec votre cl\xE9 secr\xE8te.",termsCookieTitle:"T\xE9l\xE9m\xE9trie du site h\xF4te",termsCookieDesc:"Le site h\xF4te sur lequel kiku est int\xE9gr\xE9 peut collecter des cookies et des donn\xE9es d'analyse selon sa propre politique de cookies, hors du contr\xF4le de kiku.",termsAgreeButton:"Accepter et continuer",termsAgreeCounting:"Accepter et continuer ({seconds}s)",termsPlaceholder:"Veuillez examiner et accepter la politique de confidentialit\xE9 et les conditions ci-dessus\u2026",whatHaveYouSaved:"Qu'avez-vous enregistr\xE9 ?",voiceHint:"Parlez simplement \u2014 je r\xE9pondrai d\xE8s que vous ferez une pause.",voiceModeExit:"Quitter le mode mains libres",voiceModeStart:"Conversation mains libres",voiceMuted:"En sourdine",voiceMutedHint:"Appuyez sur le micro pour parler \xE0 nouveau.",voicePhaseListening:"\xC9coute",voicePhaseSpeaking:"Parle",voicePhaseThinking:"R\xE9flexion",retry:"R\xE9essayer",edit:"Modifier",copy:"Copier",copied:"Copi\xE9",msgFailed:"\xC9chec de l'envoi"},hindi:{allSet:"\u0906\u092A \u0924\u0948\u092F\u093E\u0930 \u0939\u0948\u0902, {name}.",asWritten:"\u091C\u0948\u0938\u093E \u0932\u093F\u0916\u093E \u0939\u0948",captureAll:"\u0938\u092D\u0940 \u0915\u094B \u0915\u0948\u092A\u094D\u091A\u0930 \u0915\u0930\u0947\u0902 ({count})",captureAndRemember:"kiku \u2014 \u0915\u0948\u092A\u094D\u091A\u0930 & \u092F\u093E\u0926 \u0930\u0916\u0947\u0902",captureCurrentPage:"\u0935\u0930\u094D\u0924\u092E\u093E\u0928 \u092A\u0943\u0937\u094D\u0920 \u0915\u094B \u0915\u0948\u092A\u094D\u091A\u0930 \u0915\u0930\u0947\u0902",cardClickAnswer:"{name}",cardClickQuery:"\u0915\u0943\u092A\u092F\u093E {name}{price} \u0915\u0947 \u092C\u093E\u0930\u0947 \u092E\u0947\u0902 \u0905\u0927\u093F\u0915 \u092C\u0924\u093E\u0907\u090F \u2014 \u0907\u0938\u0915\u0947 \u092E\u0941\u0916\u094D\u092F \u0935\u093F\u0935\u0930\u0923 \u0915\u094D\u092F\u093E \u0939\u0948\u0902, \u092F\u0939 \u0915\u093F\u0938\u0915\u0947 \u0932\u093F\u090F \u0938\u092C\u0938\u0947 \u0909\u092A\u092F\u0941\u0915\u094D\u0924 \u0939\u0948, \u0914\u0930 \u092E\u0941\u091D\u0947 \u0915\u094D\u092F\u093E \u091C\u093E\u0928\u0928\u093E \u091A\u093E\u0939\u093F\u090F?",clearChat:"\u091A\u0948\u091F \u0938\u093E\u092B\u093C \u0915\u0930\u0947\u0902",defaultPlaceholder:"\u092E\u0941\u091D\u0938\u0947 \u0915\u0941\u091B \u092D\u0940 \u092A\u0942\u091B\u0947\u0902\u2026",deleteThis:"\u0907\u0938\u0947 \u0939\u091F\u093E\u090F\u0901",detailsTranslated:"\u0935\u093F\u0935\u0930\u0923 \u0905\u0928\u0941\u0935\u093E\u0926\u093F\u0924\u0964 \u0938\u0902\u0916\u094D\u092F\u093E\u090F\u0901 \u0914\u0930 \u0932\u093F\u0902\u0915 \u0920\u0940\u0915 \u0935\u0948\u0938\u0947 \u0939\u0940 \u0930\u0939\u0947\u0902\u0964",displayCapture:"\u0915\u0948\u092A\u094D\u091A\u0930 {name}",displayCaptureAll:"\u0938\u092D\u0940 \u0915\u094B \u0915\u0948\u092A\u094D\u091A\u0930 \u0915\u0930\u0947\u0902 ({count} \u0906\u0907\u091F\u092E)",displayDelete:"\u0907\u0938\u0947 \u0939\u091F\u093E\u090F\u0901",displayViewHistory:"\u0906\u092A\u0928\u0947 \u0915\u094D\u092F\u093E \u0938\u0939\u0947\u091C\u093E \u0939\u0948?",entityLangIntro:"\u092E\u0948\u0902 {lang} \u092E\u0947\u0902 \u0909\u0924\u094D\u0924\u0930 \u0926\u0942\u0901\u0917\u093E\u0964 \u0915\u093E\u0930\u094D\u0921 \u092E\u0942\u0932 \u0930\u0942\u092A \u092E\u0947\u0902 \u0930\u0939 \u0938\u0915\u0924\u0947 \u0939\u0948\u0902 \u092F\u093E \u0905\u0928\u0941\u0935\u093E\u0926\u093F\u0924 \u0939\u094B \u0938\u0915\u0924\u0947 \u0939\u0948\u0902\u0964",entityLangPlaceholder:"\u090A\u092A\u0930 \u0926\u094B \u0915\u093E\u0930\u094D\u0921\u094B\u0902 \u092E\u0947\u0902 \u0938\u0947 \u090F\u0915 \u091A\u0941\u0928\u0947\u0902\u2026",errAccessRevoked:"\u0938\u094D\u091F\u094B\u0930 \u0926\u094D\u0935\u093E\u0930\u093E \u0906\u092A\u0915\u0947 \u0938\u0939\u093E\u092F\u0915 \u0924\u0915 \u092A\u0939\u0941\u0901\u091A \u0930\u0926\u094D\u0926 \u0915\u0930 \u0926\u0940 \u0917\u0908 \u0939\u0948\u0964",errAccountRequired:"\u091A\u0948\u091F \u0938\u0939\u093E\u092F\u0915 \u0915\u093E \u0909\u092A\u092F\u094B\u0917 \u091C\u093E\u0930\u0940 \u0930\u0916\u0928\u0947 \u0915\u0947 \u0932\u093F\u090F \u0915\u0943\u092A\u092F\u093E \u090F\u0915 \u0916\u093E\u0924\u093E \u092C\u0928\u093E\u090F\u0901\u0964",errShopperReplyLimit:"\u0906\u092A\u0928\u0947 \u0907\u0938 \u0938\u093E\u0907\u091F \u0915\u0947 \u0932\u093F\u090F \u0905\u092A\u0928\u0947 \u0916\u093E\u0924\u0947 \u0915\u0940 \u0909\u0924\u094D\u0924\u0930 \u0938\u0940\u092E\u093E \u0924\u0915 \u092A\u0939\u0941\u0901\u091A \u092C\u0928\u093E \u0932\u0940 \u0939\u0948\u0964",errStreamInterrupted:"\u0909\u0924\u094D\u0924\u0930 \u092C\u093E\u0927\u093F\u0924 \u0939\u094B \u0917\u092F\u093E\u0964 \u0915\u0943\u092A\u092F\u093E \u092A\u0941\u0928\u0903 \u092A\u094D\u0930\u092F\u093E\u0938 \u0915\u0930\u0947\u0902\u0964",errTokenLimit:"\u0906\u092A\u0928\u0947 \u0905\u092A\u0928\u0940 \u0909\u092A\u092F\u094B\u0917 \u0938\u0940\u092E\u093E \u0924\u0915 \u092A\u0939\u0941\u0901\u091A \u092C\u0928\u093E \u0932\u0940 \u0939\u0948\u0964 \u091C\u093E\u0930\u0940 \u0930\u0916\u0928\u0947 \u0915\u0947 \u0932\u093F\u090F \u0905\u092A\u0928\u0947 \u0921\u0948\u0936\u092C\u094B\u0930\u094D\u0921 \u092E\u0947\u0902 \u092C\u093F\u0932\u093F\u0902\u0917 \u0938\u0940\u092E\u093E \u0905\u092A\u0921\u0947\u091F \u0915\u0930\u0947\u0902\u0964",errTooManyRequests:"\u0938\u0939\u093E\u092F\u0915 \u0935\u0930\u094D\u0924\u092E\u093E\u0928 \u092E\u0947\u0902 \u092C\u0939\u0941\u0924 \u0905\u0927\u093F\u0915 \u0905\u0928\u0941\u0930\u094B\u0927 \u092A\u094D\u0930\u093E\u092A\u094D\u0924 \u0915\u0930 \u0930\u0939\u093E \u0939\u0948\u0964 \u0915\u0941\u091B \u0915\u094D\u0937\u0923 \u092C\u093E\u0926 \u092A\u0941\u0928\u0903 \u092A\u094D\u0930\u092F\u093E\u0938 \u0915\u0930\u0947\u0902\u0964",footerHint:"kiku \xB7 \u0935\u093E\u0938\u094D\u0924\u0935\u093F\u0915 \u0938\u092E\u092F \u092E\u0947\u0902 \u092A\u0942\u0930\u0947 \u0915\u0948\u091F\u0932\u0949\u0917 \u0915\u094B \u0916\u094B\u091C\u0924\u093E \u0939\u0948",greetReturning:"\u0928\u092E\u0938\u094D\u0924\u0947, {name}.",greetReturningLead:"\u0906\u091C \u092E\u0948\u0902 \u0906\u092A\u0915\u0947 \u0932\u093F\u090F \u0915\u094D\u092F\u093E \u0916\u094B\u091C\u0942\u0901?",howShouldResultsLook:"\u092A\u0930\u093F\u0923\u093E\u092E \u0915\u0948\u0938\u0947 \u0926\u093F\u0916\u0947\u0902?",inLanguage:"{lang} \u092E\u0947\u0902",keyAutoHide:"\u0938\u094D\u0935\u0924\u0903 {seconds}s \u092E\u0947\u0902 \u091B\u093F\u092A \u091C\u093E\u090F\u0917\u093E.",keyCopied:"\u0915\u0949\u092A\u0940 \u0915\u093F\u092F\u093E \u0917\u092F\u093E",keyCopyId:"\u0906\u0908\u0921\u0940 \u0915\u0949\u092A\u0940 \u0915\u0930\u0947\u0902",keyCopySecret:"\u0938\u0940\u0915\u094D\u0930\u0947\u091F \u0915\u0949\u092A\u0940 \u0915\u0930\u0947\u0902",keyCreateNew:"\u092E\u0948\u0902 \u0928\u092F\u093E \u0939\u0942\u0901 \u2014 \u090F\u0915 \u092C\u0928\u093E\u090F\u0902",keyCreating:"\u092C\u0928\u093E \u0930\u0939\u093E \u0939\u0942\u0901\u2026",keyDismiss:"\u092C\u0902\u0926 \u0915\u0930\u0947\u0902",keyPastePlaceholder:"\u0906\u092A\u0915\u093E \u0938\u093E\u0930\u094D\u0935\u091C\u0928\u093F\u0915 \u0906\u0908\u0921\u0940\u2026",keyPastePrompt:"\u0905\u092A\u0928\u093E \u0938\u093E\u0930\u094D\u0935\u091C\u0928\u093F\u0915 \u0906\u0908\u0921\u0940 \u092A\u0947\u0938\u094D\u091F \u0915\u0930\u0947\u0902 \u2014 \u092F\u093E \u090F\u0915 \u092C\u0928\u093E\u090F\u0902",keyPublicHint:"\u0907\u0938\u0947 \u0915\u093F\u0938\u0940 \u092D\u0940 \u0938\u093E\u0907\u091F \u092A\u0930 \u092A\u0947\u0938\u094D\u091F \u0915\u0930\u0947\u0902 \u0924\u093E\u0915\u093F \u0935\u0939\u0940 \u092E\u0947\u092E\u094B\u0930\u0940 \u092E\u0947\u0902 \u0938\u0939\u0947\u091C\u093E \u091C\u093E \u0938\u0915\u0947\u0964",keyPublicTitle:"\u0906\u092A\u0915\u093E \u0938\u093E\u0930\u094D\u0935\u091C\u0928\u093F\u0915 \u0906\u0908\u0921\u0940",keySecretHint:"\u0907\u0938\u0947 \u0928\u093F\u091C\u0940 \u0930\u0916\u0947\u0902 \u2014 \u0905\u092A\u0928\u0947 \u092E\u0947\u092E\u094B\u0930\u0940 \u0915\u094B \u0905\u0928\u0932\u0949\u0915 \u0915\u0930\u0928\u0947 \u0915\u0947 \u0932\u093F\u090F \u0909\u092A\u092F\u094B\u0917 \u0915\u0930\u0947\u0902\u0964",keySecretTitle:"\u0906\u092A\u0915\u093E \u0938\u0940\u0915\u094D\u0930\u0947\u091F \u2014 \u0915\u0947\u0935\u0932 \u090F\u0915 \u092C\u093E\u0930 \u0926\u093F\u0916\u093E\u092F\u093E \u0917\u092F\u093E",keyUseMine:"\u092E\u0947\u0930\u0940 \u0906\u0908\u0921\u0940 \u0909\u092A\u092F\u094B\u0917 \u0915\u0930\u0947\u0902",kikuActionUnavailable:"\u0915\u094D\u0937\u092E\u093E \u0915\u0930\u0947\u0902 \u2014 \u092F\u0939 \u0915\u093E\u0930\u094D\u0930\u0935\u093E\u0908 \u0907\u0938 \u0938\u093E\u0907\u091F \u092A\u0930 \u0909\u092A\u0932\u092C\u094D\u0927 \u0928\u0939\u0940\u0902 \u0939\u0948\u0964",kikuCaptureDbError:"\u0921\u0947\u091F\u093E\u092C\u0947\u0938 \u0924\u094D\u0930\u0941\u091F\u093F \u0915\u0947 \u0915\u093E\u0930\u0923 \u0915\u0948\u092A\u094D\u091A\u0930 \u0935\u093F\u092B\u0932 \u0930\u0939\u093E\u0964",kikuCaptureNoContext:"SDK \u0926\u094D\u0935\u093E\u0930\u093E \u0915\u094B\u0908 \u092A\u0947\u091C \u092F\u093E \u092A\u094D\u0930\u094B\u0921\u0915\u094D\u091F \u0915\u0949\u0928\u094D\u091F\u0947\u0915\u094D\u0938\u094D\u091F \u092A\u094D\u0930\u0926\u093E\u0928 \u0928\u0939\u0940\u0902 \u0915\u093F\u092F\u093E \u0917\u092F\u093E, \u0907\u0938\u0932\u093F\u090F \u0915\u0948\u092A\u094D\u091A\u0930 \u0935\u093F\u092B\u0932 \u0930\u0939\u093E\u0964",kikuCaptureNoUrl:"\u0915\u094B\u0908 \u0906\u0907\u091F\u092E \u0938\u0939\u0947\u091C\u093E \u0928\u0939\u0940\u0902 \u091C\u093E \u0938\u0915\u093E \u2014 \u0915\u094B\u0908 \u092D\u0940 \u0935\u0948\u0927 URL \u0928\u0939\u0940\u0902 \u0925\u093E\u0964",kikuCaptureNoneSelected:"\u0915\u0948\u092A\u094D\u091A\u0930 \u0915\u0930\u0928\u0947 \u0915\u0947 \u0932\u093F\u090F \u0915\u094B\u0908 \u0906\u0907\u091F\u092E \u091A\u092F\u0928\u093F\u0924 \u0928\u0939\u0940\u0902 \u0915\u093F\u092F\u093E \u0917\u092F\u093E\u0964",kikuDeleteDbError:"\u0921\u0947\u091F\u093E\u092C\u0947\u0938 \u0924\u094D\u0930\u0941\u091F\u093F \u0915\u0947 \u0915\u093E\u0930\u0923 \u0939\u091F\u093E\u0928\u093E \u0935\u093F\u092B\u0932 \u0930\u0939\u093E\u0964",kikuDeleteDone:"\u0907\u0938\u0947 \u0906\u092A\u0915\u0947 \u0938\u0939\u0947\u091C\u0947 \u0917\u090F \u0906\u0907\u091F\u092E\u094D\u0938 \u0938\u0947 \u0939\u091F\u093E \u0926\u093F\u092F\u093E \u0917\u092F\u093E\u0964",kikuDeleteNoContext:"\u0939\u091F\u093E\u0928\u0947 \u0915\u0947 \u0932\u093F\u090F \u0915\u094B\u0908 \u092A\u0947\u091C \u0915\u0949\u0928\u094D\u091F\u0947\u0915\u094D\u0938\u094D\u091F \u092A\u094D\u0930\u0926\u093E\u0928 \u0928\u0939\u0940\u0902 \u0915\u093F\u092F\u093E \u0917\u092F\u093E, \u0907\u0938\u0932\u093F\u090F \u0939\u091F\u093E\u0928\u093E \u0935\u093F\u092B\u0932 \u0930\u0939\u093E\u0964",kikuMemoryIntro:"\u0906\u092A\u0928\u0947 \u0935\u093F\u092D\u093F\u0928\u094D\u0928 \u0938\u093E\u0907\u091F\u094B\u0902 \u092A\u0930 \u091C\u094B \u092D\u0940 \u0915\u0948\u092A\u094D\u091A\u0930 \u0915\u093F\u092F\u093E \u0939\u0948, \u0935\u0939 \u0906\u092A\u0915\u0947 \u0928\u093F\u091C\u0940 \u092E\u0947\u092E\u094B\u0930\u0940 \u092E\u0947\u0902 \u0930\u0939\u0924\u093E \u0939\u0948\u0964 \u0907\u0938\u0947 \u0905\u092A\u0928\u0947 \u0938\u0940\u0915\u094D\u0930\u0947\u091F \u0938\u0947 \u0905\u0928\u0932\u0949\u0915 \u0915\u0930\u0947\u0902:",kikuMintNeeded:"\u0938\u093E\u0907\u091F\u094B\u0902 \u0915\u0947 \u092C\u0940\u091A \u0906\u0907\u091F\u092E\u094D\u0938 \u0938\u0939\u0947\u091C\u0928\u0947 \u0915\u0947 \u0932\u093F\u090F \u0906\u092A\u0915\u094B \u090F\u0915 \u0915\u093F\u0915\u0941 \u0915\u0941\u0902\u091C\u0940 \u091A\u093E\u0939\u093F\u090F \u2014 \u092E\u0948\u0902 \u0906\u092A\u0915\u0947 \u0932\u093F\u090F \u090F\u0915 \u092C\u0928\u093E\u090A\u0901\u0917\u093E\u0964 \u092F\u0939 \u0915\u0947\u0935\u0932 \u090F\u0915 \u092C\u093E\u0930 \u0926\u093F\u0916\u093E\u092F\u093E \u091C\u093E\u0924\u093E \u0939\u0948, \u0907\u0938\u0932\u093F\u090F \u0907\u0938\u0947 \u0938\u0941\u0930\u0915\u094D\u0937\u093F\u0924 \u091C\u0917\u0939 \u092A\u0930 \u0930\u0916\u0947\u0902\u0964",kikuMintOffer:"\u092E\u0948\u0902 \u0907\u0938\u0947 \u0906\u092A\u0915\u0947 \u0932\u093F\u090F \u0930\u0916 \u0938\u0915\u0924\u093E \u0939\u0942\u0901 \u0914\u0930 \u0938\u093E\u0907\u091F\u094B\u0902 \u0915\u0947 \u092C\u0940\u091A \u0906\u092A\u0915\u0947 \u0938\u093E\u0925 \u0932\u0947 \u091C\u093E \u0938\u0915\u0924\u093E \u0939\u0942\u0901 \u2014 \u092E\u0948\u0902 \u0906\u092A\u0915\u0947 \u0932\u093F\u090F \u090F\u0915 \u0915\u093F\u0915\u0941 \u0915\u0941\u0902\u091C\u0940 \u092C\u0928\u093E\u090A\u0901\u0917\u093E\u0964 \u092F\u0939 \u0915\u0947\u0935\u0932 \u090F\u0915 \u092C\u093E\u0930 \u0926\u093F\u0916\u093E\u092F\u093E \u091C\u093E\u0924\u093E \u0939\u0948, \u0907\u0938\u0932\u093F\u090F \u0907\u0938\u0947 \u0938\u0941\u0930\u0915\u094D\u0937\u093F\u0924 \u091C\u0917\u0939 \u092A\u0930 \u0930\u0916\u0947\u0902\u0964",kikuNeedKeyToUpdate:"\u0905\u092A\u0928\u0940 \u0915\u093F\u0915\u0941 \u0915\u0941\u0902\u091C\u0940 \u0926\u0930\u094D\u091C \u0915\u0930\u0947\u0902 \u0924\u093E\u0915\u093F \u092E\u0948\u0902 \u0906\u092A\u0915\u0947 \u0938\u0939\u0947\u091C\u0947 \u0917\u090F \u0906\u0907\u091F\u092E\u094D\u0938 \u0915\u094B \u0916\u094B\u091C \u0914\u0930 \u0905\u092A\u0921\u0947\u091F \u0915\u0930 \u0938\u0915\u0942\u0901\u0964",namePlaceholder:"\u0905\u092A\u0928\u093E \u0928\u093E\u092E \u091F\u093E\u0907\u092A \u0915\u0930\u0947\u0902\u2026",nameStepAsk:"\u092E\u0948\u0902 \u0906\u092A\u0915\u094B \u0915\u094D\u092F\u093E \u0915\u0939\u0942\u0901?",nameStepLead:"\u092E\u0948\u0902 \u0906\u092A\u0915\u0947 \u0932\u093F\u090F \u0915\u0941\u091B \u092D\u0940 \u0916\u094B\u091C, \u0935\u093F\u091C\u093C\u0941\u0905\u0932\u093E\u0907\u091C\u093C \u092F\u093E \u0915\u0948\u092A\u094D\u091A\u0930 \u0915\u0930 \u0938\u0915\u0924\u093E \u0939\u0942\u0901 \u2014 \u0907\u0938 \u0938\u093E\u0907\u091F \u092A\u0930 \u092F\u093E \u0915\u093F\u0938\u0940 \u0905\u0928\u094D\u092F \u092A\u0930\u0964",nameStepTitle:"\u0906\u092A\u0938\u0947 \u092E\u093F\u0932\u0915\u0930 \u0916\u0941\u0936\u0940 \u0939\u0941\u0908\u0964",namesAsWritten:"\u0928\u093E\u092E \u0914\u0930 \u0935\u093F\u0935\u0930\u0923 \u0920\u0940\u0915 \u0909\u0938\u0940 \u0924\u0930\u0939 \u091C\u0948\u0938\u0947 \u0938\u093E\u0907\u091F \u092A\u0930 \u0938\u0942\u091A\u0940\u092C\u0926\u094D\u0927 \u0939\u0948\u0902\u0964",pillCompareTop2:"\u0936\u0940\u0930\u094D\u0937 2 \u0915\u0940 \u0924\u0941\u0932\u0928\u093E \u0915\u0930\u0947\u0902",pillCompareTop2Query:"{a} \u0914\u0930 {b} \u0915\u0940 \u0924\u0941\u0932\u0928\u093E \u0915\u0930\u0947\u0902",pillFindAlternatives:"\u0935\u093F\u0915\u0932\u094D\u092A \u0916\u094B\u091C\u0947\u0902",pillFindAlternativesQuery:"{name} \u0915\u0947 \u0905\u091A\u094D\u091B\u0947 \u0935\u093F\u0915\u0932\u094D\u092A \u0915\u094D\u092F\u093E \u0939\u0948\u0902?",pillMoreOn:"{name} \u0915\u0947 \u092C\u093E\u0930\u0947 \u092E\u0947\u0902 \u0905\u0927\u093F\u0915",pillMoreOnQuery:"\u0915\u0943\u092A\u092F\u093E {name} \u0915\u0947 \u092C\u093E\u0930\u0947 \u092E\u0947\u0902 \u0905\u0927\u093F\u0915 \u092C\u0924\u093E\u0907\u090F",pillRecommend:"\u0915\u0941\u091B \u0938\u0941\u091D\u093E\u090F\u0901",pillRecommendQuery:"\u092E\u0947\u0930\u0947 \u0932\u093F\u090F \u0906\u092A \u0915\u094D\u092F\u093E \u0938\u0941\u091D\u093E\u090F\u0902\u0917\u0947?",pillShowPopular:"\u0932\u094B\u0915\u092A\u094D\u0930\u093F\u092F \u0906\u0907\u091F\u092E \u0926\u093F\u0916\u093E\u090F\u0901",pillShowPopularQuery:"\u0906\u092A\u0915\u0947 \u0938\u092C\u0938\u0947 \u0932\u094B\u0915\u092A\u094D\u0930\u093F\u092F \u0906\u0907\u091F\u092E \u0915\u094C\u0928 \u0938\u0947 \u0939\u0948\u0902?",pillSimilarOptions:"\u0938\u092E\u093E\u0928 \u0935\u093F\u0915\u0932\u094D\u092A",pillSimilarOptionsQuery:"{name} \u091C\u0948\u0938\u093E \u0914\u0930 \u0926\u093F\u0916\u093E\u0907\u090F",pillUnder:"{amount} \u0938\u0947 \u0915\u092E",pillUnderQuery:"{amount} \u0938\u0947 \u0915\u092E \u0935\u093F\u0915\u0932\u094D\u092A \u0926\u093F\u0916\u093E\u0907\u090F",pillWhichBest:"\u0915\u094C\u0928 \u0938\u092C\u0938\u0947 \u0905\u091A\u094D\u091B\u093E \u0939\u0948?",pillWhichBestQuery:"\u0906\u092A \u0915\u094C\u0928 \u0938\u093E \u0938\u0941\u091D\u093E\u090F\u0902\u0917\u0947 \u0914\u0930 \u0915\u094D\u092F\u094B\u0902?",replyingOriginal:"{lang} \u092E\u0947\u0902 \u0909\u0924\u094D\u0924\u0930 \u0926\u0947 \u0930\u0939\u093E \u0939\u0942\u0901, \u092A\u0930\u093F\u0923\u093E\u092E \u0938\u093E\u0907\u091F \u0915\u0947 \u0932\u093F\u0916\u0947 \u0905\u0928\u0941\u0938\u093E\u0930\u0964 \u092E\u0941\u091D\u0938\u0947 \u0915\u0941\u091B \u092D\u0940 \u092A\u0942\u091B\u0947\u0902\u0964",replyingTranslated:"{lang} \u092E\u0947\u0902 \u0909\u0924\u094D\u0924\u0930 \u0926\u0947 \u0930\u0939\u093E \u0939\u0942\u0901, \u092A\u0930\u093F\u0923\u093E\u092E \u092D\u0940 \u0905\u0928\u0942\u0926\u093F\u0924 \u0939\u0948\u0902\u0964 \u092E\u0941\u091D\u0938\u0947 \u0915\u0941\u091B \u092D\u0940 \u092A\u0942\u091B\u0947\u0902\u0964",statusSent:"\u092D\u0947\u091C\u093E \u0917\u092F\u093E",statusStopped:"\u092D\u0947\u091C\u093E \u0917\u092F\u093E \xB7 \u0909\u0924\u094D\u0924\u0930 \u0930\u094B\u0915 \u0926\u093F\u092F\u093E \u0917\u092F\u093E",thinking:"\u0938\u094B\u091A \u0930\u0939\u093E \u0939\u0942\u0901",thoughtForSeconds:"{duration} \u0924\u0915 \u0938\u094B\u091A\u093E",thoughtProcess:"\u0935\u093F\u091A\u093E\u0930 \u092A\u094D\u0930\u0915\u094D\u0930\u093F\u092F\u093E",vizUnavailable:"\u092A\u0942\u0930\u094D\u0935\u093E\u0935\u0932\u094B\u0915\u0928 \u0932\u094B\u0921 \u0928\u0939\u0940\u0902 \u0939\u094B \u0938\u0915\u093E\u0964",termsStepTitle:"\u0917\u094B\u092A\u0928\u0940\u092F\u0924\u093E \u0914\u0930 \u0909\u092A\u092F\u094B\u0917 \u0915\u0940 \u0936\u0930\u094D\u0924\u0947\u0902",termsStepSubtitle:"\u092A\u093E\u0930\u0926\u0930\u094D\u0936\u0940, \u0905\u091C\u094D\u091E\u093E\u0924 \u0914\u0930 \u0936\u0942\u0928\u094D\u092F \u0935\u094D\u092F\u0915\u094D\u0924\u093F\u0917\u0924 \u092A\u0939\u091A\u093E\u0928 \u0921\u0947\u091F\u093E\u0964",termsPiiTitle:"\u0936\u0942\u0928\u094D\u092F \u0935\u094D\u092F\u0915\u094D\u0924\u093F\u0917\u0924 \u0921\u0947\u091F\u093E \u0938\u0902\u0917\u094D\u0930\u0939",termsPiiDesc:"\u0939\u092E \u0906\u092A\u0915\u0940 \u092C\u093E\u0924\u091A\u0940\u0924 \u092F\u093E \u0935\u0949\u092F\u0938 \u0938\u0924\u094D\u0930\u094B\u0902 \u0938\u0947 \u0935\u094D\u092F\u0915\u094D\u0924\u093F\u0917\u0924 \u092A\u0939\u091A\u093E\u0928 \u092F\u094B\u0917\u094D\u092F \u091C\u093E\u0928\u0915\u093E\u0930\u0940 (\u0915\u094B\u0908 \u0908\u092E\u0947\u0932, \u092B\u093C\u094B\u0928 \u0928\u0902\u092C\u0930 \u092F\u093E \u0935\u093E\u0938\u094D\u0924\u0935\u093F\u0915 \u092A\u0939\u091A\u093E\u0928 \u0928\u0939\u0940\u0902) \u090F\u0915\u0924\u094D\u0930 \u092F\u093E \u0938\u0902\u0917\u094D\u0930\u0939\u0940\u0924 \u0928\u0939\u0940\u0902 \u0915\u0930\u0924\u0947 \u0939\u0948\u0902\u0964",termsSessionTitle:"\u0905\u091C\u094D\u091E\u093E\u0924 \u0938\u0924\u094D\u0930 \u091F\u094B\u0915\u0928",termsSessionDesc:"\u0906\u092A\u0915\u093E \u0938\u0924\u094D\u0930 \u0915\u0947\u0935\u0932 \u0938\u0902\u0926\u0930\u094D\u092D \u092C\u0928\u093E\u090F \u0930\u0916\u0928\u0947 \u0915\u0947 \u0932\u093F\u090F \u090F\u0915 \u0905\u0928\u093E\u092E \u0915\u094D\u0932\u093E\u0907\u0902\u091F \u091F\u094B\u0915\u0928 \u0915\u093E \u0909\u092A\u092F\u094B\u0917 \u0915\u0930\u0924\u093E \u0939\u0948\u0964 \u092F\u0939 \u0906\u092A\u0915\u0940 \u0935\u093E\u0938\u094D\u0924\u0935\u093F\u0915 \u092A\u0939\u091A\u093E\u0928 \u0938\u0947 \u0915\u092D\u0940 \u0928\u0939\u0940\u0902 \u091C\u0941\u0921\u093C\u0924\u093E\u0964",termsMemoryTitle:"\u0905\u0938\u094D\u0925\u093E\u092F\u0940 \u091A\u0948\u091F \u092C\u0928\u093E\u092E \u092E\u093F\u092E\u0940 \u0935\u0949\u0932\u094D\u091F",termsMemoryDesc:'\u0928\u093F\u092F\u092E\u093F\u0924 \u091A\u0948\u091F \u0905\u0938\u094D\u0925\u093E\u092F\u0940 \u0939\u0948\u0902 \u2014 \u091A\u0948\u091F \u092C\u0902\u0926 \u0915\u0930\u0928\u0947 \u092F\u093E \u0938\u093E\u092B\u093C \u0915\u0930\u0928\u0947 \u092A\u0930 \u0935\u0947 \u0939\u092E\u0947\u0936\u093E \u0915\u0947 \u0932\u093F\u090F \u0938\u092E\u093E\u092A\u094D\u0924 \u0939\u094B \u091C\u093E\u0924\u0940 \u0939\u0948\u0902\u0964 "@kiku" \u0938\u0947 \u0938\u0939\u0947\u091C\u0947 \u0917\u090F \u0906\u0907\u091F\u092E \u090F\u0928\u094D\u0915\u094D\u0930\u093F\u092A\u094D\u091F\u0947\u0921 \u0939\u0948\u0902 \u0914\u0930 mimi.akropolys.cloud \u092A\u0930 \u0906\u092A\u0915\u0940 \u0917\u0941\u092A\u094D\u0924 \u0915\u0941\u0902\u091C\u0940 \u0938\u0947 \u0916\u094B\u0932\u0947 \u091C\u093E \u0938\u0915\u0924\u0947 \u0939\u0948\u0902\u0964',termsCookieTitle:"\u0939\u094B\u0938\u094D\u091F \u0935\u0947\u092C\u0938\u093E\u0907\u091F \u091F\u0947\u0932\u0940\u092E\u0947\u091F\u094D\u0930\u0940",termsCookieDesc:"\u091C\u093F\u0938 \u0935\u0947\u092C\u0938\u093E\u0907\u091F \u092A\u0930 kiku \u090F\u092E\u094D\u092C\u0947\u0921\u0947\u0921 \u0939\u0948, \u0935\u0939 \u0905\u092A\u0928\u0940 \u0938\u094D\u0935\u092F\u0902 \u0915\u0940 \u0915\u0941\u0915\u0940 \u0928\u0940\u0924\u093F \u0915\u0947 \u0905\u0928\u0941\u0938\u093E\u0930 \u0915\u0941\u0915\u0940\u091C\u093C \u0914\u0930 \u090F\u0928\u093E\u0932\u093F\u091F\u093F\u0915\u094D\u0938 \u090F\u0915\u0924\u094D\u0930 \u0915\u0930 \u0938\u0915\u0924\u0940 \u0939\u0948\u0964",termsAgreeButton:"\u0938\u0939\u092E\u0924 \u0939\u094B\u0902 \u0914\u0930 \u0906\u0917\u0947 \u092C\u0922\u093C\u0947\u0902",termsAgreeCounting:"\u0938\u0939\u092E\u0924 \u0939\u094B\u0902 \u0914\u0930 \u0906\u0917\u0947 \u092C\u0922\u093C\u0947\u0902 ({seconds}s)",termsPlaceholder:"\u0915\u0943\u092A\u092F\u093E \u090A\u092A\u0930 \u0926\u0940 \u0917\u0908 \u0917\u094B\u092A\u0928\u0940\u092F\u0924\u093E \u0914\u0930 \u0936\u0930\u094D\u0924\u094B\u0902 \u0915\u0940 \u0938\u092E\u0940\u0915\u094D\u0937\u093E \u0915\u0930\u0947\u0902 \u0914\u0930 \u0938\u094D\u0935\u0940\u0915\u093E\u0930 \u0915\u0930\u0947\u0902\u2026",whatHaveYouSaved:"\u0906\u092A\u0928\u0947 \u0915\u094D\u092F\u093E \u0938\u0939\u0947\u091C\u093E \u0939\u0948?",micDenied:"\u092E\u093E\u0907\u0915\u094D\u0930\u094B\u092B\u093C\u094B\u0928 \u092C\u094D\u0932\u0949\u0915 \u0939\u0948\u0964 \u0907\u0938 \u0938\u093E\u0907\u091F \u0915\u0947 \u0932\u093F\u090F \u092E\u093E\u0907\u0915 \u090F\u0915\u094D\u0938\u0947\u0938 \u0915\u0940 \u0905\u0928\u0941\u092E\u0924\u093F \u0926\u0947\u0902, \u092B\u093F\u0930 \u092A\u0941\u0928\u0903 \u092A\u094D\u0930\u092F\u093E\u0938 \u0915\u0930\u0947\u0902\u0964",micFailed:"\u0938\u0941\u0928\u093E\u0908 \u0928\u0939\u0940\u0902 \u0926\u093F\u092F\u093E\u0964 \u092A\u0941\u0928\u0903 \u092A\u094D\u0930\u092F\u093E\u0938 \u0915\u0930\u0947\u0902\u0964",micInsecure:"\u0935\u0949\u092F\u0938 \u0915\u0947 \u0932\u093F\u090F \u0938\u0941\u0930\u0915\u094D\u0937\u093F\u0924 (https) \u0915\u0928\u0947\u0915\u094D\u0936\u0928 \u0906\u0935\u0936\u094D\u092F\u0915 \u0939\u0948\u0964",micLangUnsupported:"\u092F\u0939 \u092C\u094D\u0930\u093E\u0909\u091C\u093C\u0930 \u0905\u092D\u0940 \u0907\u0938 \u092D\u093E\u0937\u093E \u0915\u094B \u091F\u094D\u0930\u093E\u0902\u0938\u0915\u094D\u0930\u093E\u0907\u092C \u0928\u0939\u0940\u0902 \u0915\u0930 \u0938\u0915\u0924\u093E\u0964 \u0907\u0938\u0915\u0947 \u092C\u091C\u093E\u092F \u091F\u093E\u0907\u092A \u0915\u0930\u0947\u0902\u0964",micMissing:"\u0915\u094B\u0908 \u092E\u093E\u0907\u0915\u094D\u0930\u094B\u092B\u093C\u094B\u0928 \u0928\u0939\u0940\u0902 \u092E\u093F\u0932\u093E\u0964",micNetwork:"\u0935\u0949\u092F\u0938 \u0915\u0947 \u0932\u093F\u090F \u0907\u0902\u091F\u0930\u0928\u0947\u091F \u0915\u0928\u0947\u0915\u094D\u0936\u0928 \u0906\u0935\u0936\u094D\u092F\u0915 \u0939\u0948\u0964 \u0905\u092A\u0928\u093E \u0915\u0928\u0947\u0915\u094D\u0936\u0928 \u091C\u093E\u0902\u091A\u0947\u0902 \u0914\u0930 \u092A\u0941\u0928\u0903 \u092A\u094D\u0930\u092F\u093E\u0938 \u0915\u0930\u0947\u0902\u0964",micNoSpeech:"\u0915\u0941\u091B \u0938\u0941\u0928\u093E\u0908 \u0928\u0939\u0940\u0902 \u0926\u093F\u092F\u093E\u0964 \u0915\u0943\u092A\u092F\u093E \u092E\u093E\u0907\u0915 \u0915\u0947 \u092A\u093E\u0938 \u0906\u0915\u0930 \u0926\u094B\u092C\u093E\u0930\u093E \u092C\u094B\u0932\u0947\u0902\u0964",vizDisclaimerImage:"\u0915\u0943\u0924\u094D\u0930\u093F\u092E \u092C\u0941\u0926\u094D\u0927\u093F\u092E\u0924\u094D\u0924\u093E (AI) \u0926\u094D\u0935\u093E\u0930\u093E \u0928\u093F\u0930\u094D\u092E\u093F\u0924 \u2014 \u0930\u0902\u0917, \u0906\u0915\u093E\u0930 \u0914\u0930 \u0938\u094D\u0925\u093F\u0924\u093F \u0935\u093E\u0938\u094D\u0924\u0935\u093F\u0915 \u0909\u0924\u094D\u092A\u093E\u0926 \u0938\u0947 \u092D\u093F\u0928\u094D\u0928 \u0939\u094B \u0938\u0915\u0924\u0947 \u0939\u0948\u0902\u0964",vizDisclaimerVideo:"\u0915\u0943\u0924\u094D\u0930\u093F\u092E \u092C\u0941\u0926\u094D\u0927\u093F\u092E\u0924\u094D\u0924\u093E (AI) \u0926\u094D\u0935\u093E\u0930\u093E \u0928\u093F\u0930\u094D\u092E\u093F\u0924 \u2014 \u0930\u0902\u0917, \u0906\u0915\u093E\u0930 \u0914\u0930 \u0917\u0924\u093F \u0935\u093E\u0938\u094D\u0924\u0935\u093F\u0915 \u0909\u0924\u094D\u092A\u093E\u0926 \u0938\u0947 \u092D\u093F\u0928\u094D\u0928 \u0939\u094B \u0938\u0915\u0924\u0947 \u0939\u0948\u0902\u0964",voiceHint:"\u092C\u0938 \u092C\u094B\u0932\u0947\u0902 \u2014 \u091C\u092C \u0906\u092A \u0930\u0941\u0915\u0947\u0902\u0917\u0947 \u0924\u094B \u092E\u0948\u0902 \u0909\u0924\u094D\u0924\u0930 \u0926\u0942\u0902\u0917\u093E\u0964",voiceListening:"\u0938\u0941\u0928 \u0930\u0939\u093E \u0939\u0948\u2026 \u0930\u094B\u0915\u0928\u0947 \u0915\u0947 \u0932\u093F\u090F \u092E\u093E\u0907\u0915 \u092A\u0930 \u091F\u0948\u092A \u0915\u0930\u0947\u0902",voiceModeExit:"\u0939\u0948\u0902\u0921\u094D\u0938-\u092B\u094D\u0930\u0940 \u0938\u0947 \u092C\u093E\u0939\u0930 \u0928\u093F\u0915\u0932\u0947\u0902",voiceModeStart:"\u0939\u0948\u0902\u0921\u094D\u0938-\u092B\u094D\u0930\u0940 \u092C\u093E\u0924\u091A\u0940\u0924",voiceMuted:"\u092E\u094D\u092F\u0942\u091F \u0915\u093F\u092F\u093E \u0917\u092F\u093E",voiceMutedHint:"\u0926\u094B\u092C\u093E\u0930\u093E \u092C\u094B\u0932\u0928\u0947 \u0915\u0947 \u0932\u093F\u090F \u092E\u093E\u0907\u0915\u094D\u0930\u094B\u092B\u093C\u094B\u0928 \u092A\u0930 \u091F\u0948\u092A \u0915\u0930\u0947\u0902\u0964",voicePhaseListening:"\u0938\u0941\u0928 \u0930\u0939\u093E \u0939\u0948",voicePhaseSpeaking:"\u092C\u094B\u0932 \u0930\u0939\u093E \u0939\u0948",voicePhaseThinking:"\u0938\u094B\u091A \u0930\u0939\u093E \u0939\u0948",voiceSending:"\u0938\u092E\u091D \u0917\u092F\u093E \u2014 \u092D\u0947\u091C\u093E \u091C\u093E \u0930\u0939\u093E \u0939\u0948\u2026",retry:"\u092A\u0941\u0928\u0903 \u092A\u094D\u0930\u092F\u093E\u0938 \u0915\u0930\u0947\u0902",edit:"\u0938\u0902\u092A\u093E\u0926\u093F\u0924 \u0915\u0930\u0947\u0902",copy:"\u0915\u0949\u092A\u0940 \u0915\u0930\u0947\u0902",copied:"\u0915\u0949\u092A\u0940 \u0915\u093F\u092F\u093E \u0917\u092F\u093E",msgFailed:"\u092D\u0947\u091C\u0928\u0947 \u092E\u0947\u0902 \u0935\u093F\u092B\u0932"},japanese:{allSet:"\u6E96\u5099\u304C\u5B8C\u4E86\u3057\u307E\u3057\u305F\u3001{name}\u3055\u3093\u3002",asWritten:"\u30B5\u30A4\u30C8\u306E\u539F\u6587\u901A\u308A",captureAll:"\u3059\u3079\u3066\u4FDD\u5B58 ({count})",captureAndRemember:"kiku \u2014 \u4FDD\u5B58\u3068\u8A18\u61B6",captureCurrentPage:"\u73FE\u5728\u306E\u30DA\u30FC\u30B8\u3092\u4FDD\u5B58",cardClickAnswer:"{name}",cardClickQuery:"{name}{price} \u306B\u3064\u3044\u3066\u8A73\u3057\u304F\u6559\u3048\u3066\u304F\u3060\u3055\u3044 \u2014 \u4E3B\u306A\u7279\u5FB4\u3001\u3069\u3093\u306A\u4EBA\u306B\u5411\u3044\u3066\u3044\u308B\u304B\u3001\u77E5\u3063\u3066\u304A\u304F\u3079\u304D\u3053\u3068\u306F\u4F55\u3067\u3059\u304B\uFF1F",clearChat:"\u30C1\u30E3\u30C3\u30C8\u3092\u6D88\u53BB",defaultPlaceholder:"\u4F55\u3067\u3082\u304A\u805E\u304D\u304F\u3060\u3055\u3044\u2026",deleteThis:"\u3053\u308C\u3092\u524A\u9664",detailsTranslated:"\u8A73\u7D30\u3092\u7FFB\u8A33\u3002\u4FA1\u683C\u3084\u30EA\u30F3\u30AF\u306F\u539F\u6587\u306E\u307E\u307E\u3067\u3059\u3002",displayCapture:"{name} \u3092\u4FDD\u5B58",displayCaptureAll:"\u3059\u3079\u3066\u4FDD\u5B58\uFF08{count}\u4EF6\uFF09",displayDelete:"\u3053\u308C\u3092\u524A\u9664",displayViewHistory:"\u4F55\u3092\u4FDD\u5B58\u3057\u307E\u3057\u305F\u304B\uFF1F",entityLangIntro:"{lang}\u3067\u56DE\u7B54\u3057\u307E\u3059\u3002\u30AB\u30FC\u30C9\u306F\u539F\u6587\u306E\u307E\u307E\u3001\u307E\u305F\u306F\u7FFB\u8A33\u3057\u3066\u8868\u793A\u3067\u304D\u307E\u3059\u3002",entityLangPlaceholder:"\u4E0A\u306E2\u3064\u306E\u30AB\u30FC\u30C9\u304B\u30891\u3064\u9078\u3093\u3067\u304F\u3060\u3055\u3044\u2026",errAccessRevoked:"\u30B9\u30C8\u30A2\u306B\u3088\u3063\u3066\u30A2\u30B7\u30B9\u30BF\u30F3\u30C8\u3078\u306E\u30A2\u30AF\u30BB\u30B9\u6A29\u304C\u53D6\u308A\u6D88\u3055\u308C\u307E\u3057\u305F\u3002",errAccountRequired:"\u30C1\u30E3\u30C3\u30C8\u30A2\u30B7\u30B9\u30BF\u30F3\u30C8\u3092\u5F15\u304D\u7D9A\u304D\u3054\u5229\u7528\u3044\u305F\u3060\u304F\u306B\u306F\u3001\u30A2\u30AB\u30A6\u30F3\u30C8\u3092\u4F5C\u6210\u3057\u3066\u304F\u3060\u3055\u3044\u3002",errShopperReplyLimit:"\u3053\u306E\u30B5\u30A4\u30C8\u3067\u306E\u3042\u306A\u305F\u306E\u30A2\u30AB\u30A6\u30F3\u30C8\u306E\u8FD4\u7B54\u4E0A\u9650\u306B\u9054\u3057\u307E\u3057\u305F\u3002",errStreamInterrupted:"\u8FD4\u7B54\u304C\u4E2D\u65AD\u3055\u308C\u307E\u3057\u305F\u3002\u3082\u3046\u4E00\u5EA6\u304A\u8A66\u3057\u304F\u3060\u3055\u3044\u3002",errTokenLimit:"\u5229\u7528\u4E0A\u9650\u306B\u9054\u3057\u307E\u3057\u305F\u3002\u30C0\u30C3\u30B7\u30E5\u30DC\u30FC\u30C9\u3067\u5229\u7528\u4E0A\u9650\u3092\u66F4\u65B0\u3057\u3066\u7D9A\u884C\u3057\u3066\u304F\u3060\u3055\u3044\u3002",errTooManyRequests:"\u73FE\u5728\u30EA\u30AF\u30A8\u30B9\u30C8\u304C\u96C6\u4E2D\u3057\u3066\u3044\u307E\u3059\u3002\u3057\u3070\u3089\u304F\u3057\u3066\u304B\u3089\u3082\u3046\u4E00\u5EA6\u304A\u8A66\u3057\u304F\u3060\u3055\u3044\u3002",footerHint:"kiku \xB7 \u30AB\u30BF\u30ED\u30B0\u5168\u4F53\u3092\u30EA\u30A2\u30EB\u30BF\u30A4\u30E0\u3067\u691C\u7D22",greetReturning:"\u3053\u3093\u306B\u3061\u306F\u3001{name}\u3055\u3093\u3002",greetReturningLead:"\u4ECA\u65E5\u306F\u4F55\u3092\u304A\u63A2\u3057\u3067\u3059\u304B\uFF1F",howShouldResultsLook:"\u7D50\u679C\u306F\u3069\u306E\u3088\u3046\u306B\u8868\u793A\u3057\u307E\u3059\u304B\uFF1F",inLanguage:"{lang}\u3067",keyAutoHide:"{seconds}\u79D2\u5F8C\u306B\u81EA\u52D5\u3067\u9589\u3058\u307E\u3059\u3002",keyCopied:"\u30B3\u30D4\u30FC\u3057\u307E\u3057\u305F",keyCopyId:"ID\u3092\u30B3\u30D4\u30FC",keyCopySecret:"\u30B7\u30FC\u30AF\u30EC\u30C3\u30C8\u3092\u30B3\u30D4\u30FC",keyCreateNew:"\u521D\u3081\u3066\u5229\u7528 \u2014 \u65B0\u898F\u4F5C\u6210",keyCreating:"\u4F5C\u6210\u4E2D\u2026",keyDismiss:"\u9589\u3058\u308B",keyPastePlaceholder:"\u516C\u958BID\u3092\u5165\u529B\u2026",keyPastePrompt:"\u516C\u958BID\u3092\u8CBC\u308A\u4ED8\u3051\u308B\u304B\u3001\u65B0\u898F\u4F5C\u6210\u3057\u3066\u304F\u3060\u3055\u3044",keyPublicHint:"\u3069\u306E\u30B5\u30A4\u30C8\u3067\u3082\u3053\u308C\u3092\u8CBC\u308A\u4ED8\u3051\u308B\u3068\u3001\u540C\u3058\u30E1\u30E2\u30EA\u30FC\u306B\u4FDD\u5B58\u3067\u304D\u307E\u3059\u3002",keyPublicTitle:"\u3042\u306A\u305F\u306E\u516C\u958BID",keySecretHint:"\u5927\u5207\u306B\u4FDD\u7BA1\u3057\u3066\u304F\u3060\u3055\u3044 \u2014 \u30E1\u30E2\u30EA\u30FC\u306E\u30ED\u30C3\u30AF\u89E3\u9664\u306B\u4F7F\u7528\u3057\u307E\u3059\u3002",keySecretTitle:"\u3042\u306A\u305F\u306E\u30B7\u30FC\u30AF\u30EC\u30C3\u30C8 \u2014 1\u5EA6\u3060\u3051\u8868\u793A\u3055\u308C\u307E\u3059",keyUseMine:"\u81EA\u5206\u306EID\u3092\u4F7F\u7528",kikuActionUnavailable:"\u7533\u3057\u8A33\u3042\u308A\u307E\u305B\u3093\u3002\u3053\u306E\u30B5\u30A4\u30C8\u3067\u306F\u305D\u306E\u64CD\u4F5C\u306F\u5229\u7528\u3067\u304D\u307E\u305B\u3093\u3002",kikuCaptureDbError:"\u30C7\u30FC\u30BF\u30D9\u30FC\u30B9\u30A8\u30E9\u30FC\u306E\u305F\u3081\u4FDD\u5B58\u306B\u5931\u6557\u3057\u307E\u3057\u305F\u3002",kikuCaptureNoContext:"\u30DA\u30FC\u30B8\u60C5\u5831\u304C\u63D0\u4F9B\u3055\u308C\u306A\u304B\u3063\u305F\u305F\u3081\u4FDD\u5B58\u306B\u5931\u6557\u3057\u307E\u3057\u305F\u3002",kikuCaptureNoUrl:"\u6709\u52B9\u306AURL\u304C\u306A\u3044\u305F\u3081\u3001\u30A2\u30A4\u30C6\u30E0\u3092\u4FDD\u5B58\u3067\u304D\u307E\u305B\u3093\u3067\u3057\u305F\u3002",kikuCaptureNoneSelected:"\u4FDD\u5B58\u3059\u308B\u30A2\u30A4\u30C6\u30E0\u304C\u9078\u629E\u3055\u308C\u3066\u3044\u307E\u305B\u3093\u3002",kikuDeleteDbError:"\u30C7\u30FC\u30BF\u30D9\u30FC\u30B9\u30A8\u30E9\u30FC\u306E\u305F\u3081\u524A\u9664\u306B\u5931\u6557\u3057\u307E\u3057\u305F\u3002",kikuDeleteDone:"\u4FDD\u5B58\u3057\u305F\u30A2\u30A4\u30C6\u30E0\u304B\u3089\u524A\u9664\u3057\u307E\u3057\u305F\u3002",kikuDeleteNoContext:"\u524A\u9664\u5BFE\u8C61\u3092\u7279\u5B9A\u3059\u308B\u305F\u3081\u306E\u30DA\u30FC\u30B8\u60C5\u5831\u304C\u3042\u308A\u307E\u305B\u3093\u3067\u3057\u305F\u3002",kikuMemoryIntro:"\u8907\u6570\u30B5\u30A4\u30C8\u3067\u4FDD\u5B58\u3057\u305F\u3059\u3079\u3066\u306E\u30A2\u30A4\u30C6\u30E0\u306F\u30D7\u30E9\u30A4\u30D9\u30FC\u30C8\u30E1\u30E2\u30EA\u30FC\u306B\u4FDD\u6301\u3055\u308C\u307E\u3059\u3002\u30B7\u30FC\u30AF\u30EC\u30C3\u30C8\u3067\u30ED\u30C3\u30AF\u89E3\u9664:",kikuMintNeeded:"\u30B5\u30A4\u30C8\u3092\u307E\u305F\u3044\u3067\u30A2\u30A4\u30C6\u30E0\u3092\u4FDD\u5B58\u3059\u308B\u306B\u306Fkiku\u30AD\u30FC\u304C\u5FC5\u8981\u3067\u3059\u3002\u65B0\u3057\u304F\u767A\u884C\u3057\u307E\u3059\u30021\u5EA6\u3057\u304B\u8868\u793A\u3055\u308C\u306A\u3044\u305F\u3081\u3001\u5B89\u5168\u306A\u5834\u6240\u306B\u4FDD\u5B58\u3057\u3066\u304F\u3060\u3055\u3044\u3002",kikuMintOffer:"\u30A2\u30A4\u30C6\u30E0\u3092\u4FDD\u6301\u3057\u3066\u4ED6\u306E\u30B5\u30A4\u30C8\u3067\u3082\u5F15\u304D\u7D99\u3050\u3053\u3068\u304C\u3067\u304D\u307E\u3059 \u2014 kiku\u30AD\u30FC\u3092\u767A\u884C\u3057\u307E\u3059\u30021\u5EA6\u3057\u304B\u8868\u793A\u3055\u308C\u306A\u3044\u305F\u3081\u5B89\u5168\u306B\u4FDD\u5B58\u3057\u3066\u304F\u3060\u3055\u3044\u3002",kikuNeedKeyToUpdate:"\u4FDD\u5B58\u3057\u305F\u30A2\u30A4\u30C6\u30E0\u3092\u66F4\u65B0\u30FB\u691C\u7D22\u3059\u308B\u306B\u306Fkiku\u30AD\u30FC\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044\u3002",micDenied:"\u30DE\u30A4\u30AF\u304C\u30D6\u30ED\u30C3\u30AF\u3055\u308C\u3066\u3044\u307E\u3059\u3002\u3053\u306E\u30B5\u30A4\u30C8\u3067\u306E\u30DE\u30A4\u30AF\u30A2\u30AF\u30BB\u30B9\u3092\u8A31\u53EF\u3057\u3066\u304B\u3089\u3001\u3082\u3046\u4E00\u5EA6\u304A\u8A66\u3057\u304F\u3060\u3055\u3044\u3002",micFailed:"\u805E\u304D\u53D6\u308C\u307E\u305B\u3093\u3067\u3057\u305F\u3002\u3082\u3046\u4E00\u5EA6\u304A\u8A71\u3057\u304F\u3060\u3055\u3044\u3002",micInsecure:"\u97F3\u58F0\u5165\u529B\u306B\u306F\u4FDD\u8B77\u3055\u308C\u305F\u63A5\u7D9A (HTTPS) \u304C\u5FC5\u8981\u3067\u3059\u3002",micLangUnsupported:"\u304A\u4F7F\u3044\u306E\u30D6\u30E9\u30A6\u30B6\u306F\u3053\u306E\u8A00\u8A9E\u306E\u97F3\u58F0\u8A8D\u8B58\u306B\u307E\u3060\u5BFE\u5FDC\u3057\u3066\u3044\u307E\u305B\u3093\u3002\u6587\u5B57\u3067\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044\u3002",micMissing:"\u30DE\u30A4\u30AF\u304C\u898B\u3064\u304B\u308A\u307E\u305B\u3093\u3067\u3057\u305F\u3002",micNetwork:"\u97F3\u58F0\u5165\u529B\u306B\u306F\u30CD\u30C3\u30C8\u30EF\u30FC\u30AF\u63A5\u7D9A\u304C\u5FC5\u8981\u3067\u3059\u3002\u63A5\u7D9A\u3092\u78BA\u8A8D\u3057\u3066\u3082\u3046\u4E00\u5EA6\u304A\u8A66\u3057\u304F\u3060\u3055\u3044\u3002",micNoSpeech:"\u97F3\u58F0\u304C\u691C\u51FA\u3055\u308C\u307E\u305B\u3093\u3067\u3057\u305F\u3002\u30DE\u30A4\u30AF\u306B\u8FD1\u3065\u3044\u3066\u3082\u3046\u4E00\u5EA6\u304A\u8A71\u3057\u304F\u3060\u3055\u3044\u3002",namePlaceholder:"\u304A\u540D\u524D\u3092\u5165\u529B\u2026",nameStepAsk:"\u4F55\u3068\u304A\u547C\u3073\u3059\u308C\u3070\u3088\u308D\u3057\u3044\u3067\u3059\u304B\uFF1F",nameStepLead:"\u5546\u54C1\u306E\u691C\u7D22\u30FB\u30D3\u30B8\u30E5\u30A2\u30EB\u5316\u30FB\u4FDD\u5B58\u3092\u304A\u624B\u4F1D\u3044\u3057\u307E\u3059\u3002",nameStepTitle:"\u306F\u3058\u3081\u307E\u3057\u3066\u3002",namesAsWritten:"\u5546\u54C1\u540D\u3084\u8A73\u7D30\u306F\u30B5\u30A4\u30C8\u306E\u63B2\u8F09\u901A\u308A\u3002",pillCompareTop2:"\u30C8\u30C3\u30D72\u3092\u6BD4\u8F03",pillCompareTop2Query:"{a} \u3068 {b} \u3092\u6BD4\u8F03\u3057\u3066",pillFindAlternatives:"\u4EE3\u66FF\u54C1\u3092\u63A2\u3059",pillFindAlternativesQuery:"{name} \u306E\u826F\u3044\u4EE3\u66FF\u54C1\u306F\u3042\u308A\u307E\u3059\u304B\uFF1F",pillMoreOn:"{name} \u306B\u3064\u3044\u3066\u3082\u3063\u3068\u77E5\u308B",pillMoreOnQuery:"{name} \u306B\u3064\u3044\u3066\u3082\u3063\u3068\u8A73\u3057\u304F\u6559\u3048\u3066",pillRecommend:"\u304A\u3059\u3059\u3081\u3092\u6559\u3048\u3066",pillRecommendQuery:"\u79C1\u306B\u4F55\u3092\u304A\u3059\u3059\u3081\u3057\u307E\u3059\u304B\uFF1F",pillShowPopular:"\u4EBA\u6C17\u5546\u54C1\u3092\u898B\u308B",pillShowPopularQuery:"\u4E00\u756A\u4EBA\u6C17\u306E\u5546\u54C1\u306F\u3069\u308C\u3067\u3059\u304B\uFF1F",pillSimilarOptions:"\u4F3C\u3066\u3044\u308B\u30AA\u30D7\u30B7\u30E7\u30F3",pillSimilarOptionsQuery:"{name} \u306B\u4F3C\u305F\u5546\u54C1\u3092\u3082\u3063\u3068\u898B\u305B\u3066",pillUnder:"{amount} \u4EE5\u4E0B",pillUnderQuery:"{amount} \u4EE5\u4E0B\u306E\u9078\u629E\u80A2\u3092\u898B\u305B\u3066",pillWhichBest:"\u3069\u308C\u304C\u4E00\u756A\u304A\u3059\u3059\u3081\uFF1F",pillWhichBestQuery:"\u3069\u308C\u304C\u4E00\u756A\u304A\u3059\u3059\u3081\u3067\u3059\u304B\uFF1F\u305D\u306E\u7406\u7531\u3082\u6559\u3048\u3066\u304F\u3060\u3055\u3044\u3002",replyingOriginal:"{lang}\u3067\u56DE\u7B54\uFF08\u7D50\u679C\u306F\u539F\u6587\u306E\u307E\u307E\uFF09\u3002\u4F55\u3067\u3082\u304A\u805E\u304D\u304F\u3060\u3055\u3044\u3002",replyingTranslated:"{lang}\u3067\u56DE\u7B54\uFF08\u7D50\u679C\u3082\u7FFB\u8A33\uFF09\u3002\u4F55\u3067\u3082\u304A\u805E\u304D\u304F\u3060\u3055\u3044\u3002",statusSent:"\u9001\u4FE1\u6E08\u307F",statusStopped:"\u9001\u4FE1\u6E08\u307F \xB7 \u8FD4\u7B54\u3092\u505C\u6B62\u3057\u307E\u3057\u305F",thinking:"\u601D\u8003\u4E2D",thoughtForSeconds:"{duration} \u8003\u3048\u307E\u3057\u305F",thoughtProcess:"\u601D\u8003\u30D7\u30ED\u30BB\u30B9",vizDisclaimerImage:"\u4EBA\u5DE5\u77E5\u80FD\u306B\u3088\u3063\u3066\u751F\u6210\u3055\u308C\u307E\u3057\u305F \u2014 \u8272\u3001\u30B5\u30A4\u30BA\u3001\u914D\u7F6E\u306F\u5B9F\u969B\u306E\u5546\u54C1\u3068\u7570\u306A\u308B\u5834\u5408\u304C\u3042\u308A\u307E\u3059\u3002",vizDisclaimerVideo:"\u4EBA\u5DE5\u77E5\u80FD\u306B\u3088\u3063\u3066\u751F\u6210\u3055\u308C\u307E\u3057\u305F \u2014 \u8272\u3001\u30B5\u30A4\u30BA\u3001\u52D5\u304D\u306F\u5B9F\u969B\u306E\u5546\u54C1\u3068\u7570\u306A\u308B\u5834\u5408\u304C\u3042\u308A\u307E\u3059\u3002",vizUnavailable:"\u30D7\u30EC\u30D3\u30E5\u30FC\u3092\u8AAD\u307F\u8FBC\u3081\u307E\u305B\u3093\u3067\u3057\u305F\u3002",voiceHint:"\u304A\u8A71\u3057\u304F\u3060\u3055\u3044 \u2014 \u8A71\u3057\u7D42\u3048\u305F\u3089\u304A\u7B54\u3048\u3057\u307E\u3059\u3002",voiceListening:"\u805E\u304D\u53D6\u308A\u4E2D\u2026 \u30BF\u30C3\u30D7\u3057\u3066\u505C\u6B62",voiceModeExit:"\u30CF\u30F3\u30BA\u30D5\u30EA\u30FC\u3092\u7D42\u4E86",voiceModeStart:"\u30CF\u30F3\u30BA\u30D5\u30EA\u30FC\u4F1A\u8A71",voiceMuted:"\u30DF\u30E5\u30FC\u30C8\u4E2D",voiceMutedHint:"\u30DE\u30A4\u30AF\u3092\u30BF\u30C3\u30D7\u3057\u3066\u3082\u3046\u4E00\u5EA6\u304A\u8A71\u3057\u304F\u3060\u3055\u3044\u3002",voicePhaseListening:"\u805E\u304D\u53D6\u308A\u4E2D",voicePhaseSpeaking:"\u767A\u7B54\u4E2D",voicePhaseThinking:"\u8003\u3048\u4E2D",voiceSending:"\u53D7\u3051\u53D6\u308A\u307E\u3057\u305F \u2014 \u9001\u4FE1\u4E2D\u2026",termsStepTitle:"\u30D7\u30E9\u30A4\u30D0\u30B7\u30FC\u3068\u5229\u7528\u898F\u7D04",termsStepSubtitle:"\u900F\u660E\u6027\u3001\u533F\u540D\u6027\u3001\u305D\u3057\u3066\u500B\u4EBA\u3092\u7279\u5B9A\u3057\u306A\u3044\u8A2D\u8A08\u3002",termsPiiTitle:"\u500B\u4EBA\u3092\u7279\u5B9A\u3059\u308B\u60C5\u5831\u306E\u4E0D\u53CE\u96C6",termsPiiDesc:"\u30C1\u30E3\u30C3\u30C8\u3084\u97F3\u58F0\u30BB\u30C3\u30B7\u30E7\u30F3\u304B\u3089\u500B\u4EBA\u3092\u7279\u5B9A\u3067\u304D\u308B\u60C5\u5831\uFF08\u30E1\u30FC\u30EB\u30A2\u30C9\u30EC\u30B9\u3001\u96FB\u8A71\u756A\u53F7\u3001\u5B9F\u540D\u306A\u3069\uFF09\u3092\u53CE\u96C6\u30FB\u4FDD\u5B58\u3059\u308B\u3053\u3068\u306F\u4E00\u5207\u3042\u308A\u307E\u305B\u3093\u3002",termsSessionTitle:"\u533F\u540D\u306E\u30BB\u30C3\u30B7\u30E7\u30F3\u8B58\u5225\u5B50",termsSessionDesc:"\u30B3\u30F3\u30C6\u30AD\u30B9\u30C8\u3092\u7DAD\u6301\u3059\u308B\u305F\u3081\u306B\u30AF\u30E9\u30A4\u30A2\u30F3\u30C8\u5074\u3067\u751F\u6210\u3055\u308C\u305F\u533F\u540D\u30C8\u30FC\u30AF\u30F3\u306E\u307F\u3092\u4F7F\u7528\u3057\u3001\u5B9F\u969B\u306E\u8EAB\u5143\u3068\u7D10\u4ED8\u3051\u308B\u3053\u3068\u306F\u3042\u308A\u307E\u305B\u3093\u3002",termsMemoryTitle:"\u4E00\u6642\u7684\u306A\u30C1\u30E3\u30C3\u30C8 vs Mimi Vault",termsMemoryDesc:"\u901A\u5E38\u306E\u30C1\u30E3\u30C3\u30C8\u306F\u4E00\u6642\u7684\u306A\u3082\u306E\u3067\u3059\u3002\u30BF\u30D6\u3092\u9589\u3058\u308B\u304B\u30C1\u30E3\u30C3\u30C8\u3092\u6D88\u53BB\u3059\u308B\u3068\u5B8C\u5168\u306B\u7834\u68C4\u3055\u308C\u307E\u3059\u3002\u300C@kiku\u300D\u3067\u4FDD\u5B58\u3057\u305F\u30A2\u30A4\u30C6\u30E0\u306F\u6697\u53F7\u5316\u3055\u308C\u3001mimi.akropolys.cloud \u3067\u30B7\u30FC\u30AF\u30EC\u30C3\u30C8\u30AD\u30FC\u3092\u4F7F\u3063\u3066\u30ED\u30C3\u30AF\u89E3\u9664\u3067\u304D\u307E\u3059\u3002",termsCookieTitle:"\u30DB\u30B9\u30C8\u30B5\u30A4\u30C8\u306E\u30C6\u30EC\u30E1\u30C8\u30EA",termsCookieDesc:"kiku\u304C\u57CB\u3081\u8FBC\u307E\u308C\u3066\u3044\u308B\u30DB\u30B9\u30C8\u30B5\u30A4\u30C8\u306F\u3001\u72EC\u81EA\u306E\u30AF\u30C3\u30AD\u30FC\u30DD\u30EA\u30B7\u30FC\u306B\u57FA\u3065\u3044\u3066\u30AF\u30C3\u30AD\u30FC\u3084\u30A2\u30AF\u30BB\u30B9\u89E3\u6790\u3092\u53CE\u96C6\u3059\u308B\u5834\u5408\u304C\u3042\u308A\u307E\u3059\uFF08kiku\u306E\u7BA1\u7406\u5916\uFF09\u3002",termsAgreeButton:"\u540C\u610F\u3057\u3066\u7D9A\u884C",termsAgreeCounting:"\u540C\u610F\u3057\u3066\u7D9A\u884C ({seconds}\u79D2)",termsPlaceholder:"\u4E0A\u8A18\u306E\u30D7\u30E9\u30A4\u30D0\u30B7\u30FC\u3068\u898F\u7D04\u3092\u3054\u78BA\u8A8D\u3044\u305F\u3060\u304D\u3001\u540C\u610F\u3057\u3066\u304F\u3060\u3055\u3044\u2026",whatHaveYouSaved:"\u4F55\u3092\u4FDD\u5B58\u3057\u307E\u3057\u305F\u304B\uFF1F",retry:"\u518D\u8A66\u884C",edit:"\u7DE8\u96C6",copy:"\u30B3\u30D4\u30FC",copied:"\u30B3\u30D4\u30FC\u5B8C\u4E86",msgFailed:"\u9001\u4FE1\u306B\u5931\u6557\u3057\u307E\u3057\u305F"},portuguese:{allSet:"Tudo pronto, {name}.",asWritten:"Como escrito",captureAll:"Capturar tudo ({count})",captureAndRemember:"kiku \u2014 capturar\u202F&\u202Flembrar",captureCurrentPage:"Capturar p\xE1gina atual",cardClickAnswer:"O {name}",cardClickQuery:"Fale mais sobre o {name}{price} \u2014 quais s\xE3o seus detalhes principais, para quem \xE9 mais indicado e o que devo saber?",clearChat:"Limpar chat",defaultPlaceholder:"Pergunte-me qualquer coisa\u2026",deleteThis:"Excluir isso",detailsTranslated:"Detalhes traduzidos. N\xFAmeros e links permanecem exatamente como listados.",displayCapture:"capturar {name}",displayCaptureAll:"capturar tudo ({count} itens)",displayDelete:"excluir isso",displayViewHistory:"o que voc\xEA salvou?",entityLangIntro:"Respondo em {lang}. Os cart\xF5es podem ficar no original ou ser traduzidos.",entityLangPlaceholder:"Escolha um dos dois cart\xF5es acima\u2026",errAccessRevoked:"Seu acesso ao assistente foi revogado pela loja.",errAccountRequired:"Por favor, crie uma conta para continuar usando o assistente de chat.",errShopperReplyLimit:"Voc\xEA atingiu o limite de respostas deste site para sua conta.",errStreamInterrupted:"A resposta foi interrompida. Por favor, tente novamente.",errTokenLimit:"Voc\xEA atingiu seu limite de uso. Atualize seus limites de cobran\xE7a no painel para continuar.",errTooManyRequests:"O assistente est\xE1 recebendo muitas solicita\xE7\xF5es no momento. Por favor, tente novamente em alguns instantes.",footerHint:"kiku \xB7 pesquisa todo o cat\xE1logo em tempo real",greetReturning:"Oi, {name}.",greetReturningLead:"O que posso encontrar para voc\xEA hoje?",howShouldResultsLook:"Como os resultados devem aparecer?",inLanguage:"Em {lang}",keyAutoHide:"Esconde automaticamente em {seconds}s.",keyCopied:"Copiado",keyCopyId:"Copiar id",keyCopySecret:"Copiar segredo",keyCreateNew:"Sou novo \u2014 criar um",keyCreating:"Criando\u2026",keyDismiss:"Fechar",keyPastePlaceholder:"seu id p\xFAblico\u2026",keyPastePrompt:"Cole seu id p\xFAblico \u2014 ou crie um",keyPublicHint:"Cole isso em qualquer site para salvar na mesma mem\xF3ria.",keyPublicTitle:"Seu id p\xFAblico",keySecretHint:"Mantenha privado \u2014 use para desbloquear sua mem\xF3ria.",keySecretTitle:"Seu segredo \u2014 mostrado apenas uma vez",keyUseMine:"Usar meu id",kikuActionUnavailable:"Desculpe \u2014 essa a\xE7\xE3o n\xE3o est\xE1 dispon\xEDvel neste site.",kikuCaptureDbError:"Falha ao capturar devido a um erro de banco de dados.",kikuCaptureNoContext:"Falha ao capturar porque nenhum contexto de p\xE1gina ou produto foi fornecido pelo SDK.",kikuCaptureNoUrl:"N\xE3o foi poss\xEDvel salvar nenhum item \u2014 nenhum tinha URL v\xE1lido.",kikuCaptureNoneSelected:"Nenhum item foi selecionado para captura.",kikuDeleteDbError:"Falha ao excluir devido a um erro de banco de dados.",kikuDeleteDone:"Removido dos seus itens salvos.",kikuDeleteNoContext:"Falha ao excluir porque nenhum contexto de p\xE1gina foi fornecido para identificar o que excluir.",kikuMemoryIntro:"Tudo que voc\xEA capturou em sites est\xE1 na sua mem\xF3ria privada. Desbloqueie-a com seu segredo:",kikuMintNeeded:"Para salvar itens entre sites voc\xEA precisa de uma chave kiku \u2014 vou gerar uma para voc\xEA. Ela ser\xE1 mostrada apenas uma vez, ent\xE3o guarde-a em um local seguro.",kikuMintOffer:"Posso guardar isso para voc\xEA e fazer com que siga voc\xEA entre sites \u2014 vou gerar uma chave kiku. Ela ser\xE1 mostrada apenas uma vez, ent\xE3o guarde-a em um local seguro.",kikuNeedKeyToUpdate:"Insira sua chave kiku para que eu possa encontrar e atualizar seus itens salvos.",namePlaceholder:"Digite seu nome\u2026",nameStepAsk:"Como devo chamar voc\xEA?",nameStepLead:"Posso pesquisar, visualizar ou salvar qualquer item neste ou em outro site.",nameStepTitle:"Prazer em conhec\xEA-lo.",namesAsWritten:"Nomes e detalhes exatamente como o site os lista.",pillCompareTop2:"Comparar os 2 melhores",pillCompareTop2Query:"Compare o {a} e o {b}",pillFindAlternatives:"Encontrar alternativas",pillFindAlternativesQuery:"Quais s\xE3o boas alternativas ao {name}?",pillMoreOn:"Mais sobre {name}",pillMoreOnQuery:"Fale mais sobre o {name}",pillRecommend:"Recomendar algo",pillRecommendQuery:"O que voc\xEA recomenda para mim?",pillShowPopular:"Mostrar itens populares",pillShowPopularQuery:"Quais s\xE3o os seus itens mais populares?",pillSimilarOptions:"Op\xE7\xF5es semelhantes",pillSimilarOptionsQuery:"Mostre-me mais op\xE7\xF5es semelhantes ao {name}",pillUnder:"Abaixo de {amount}",pillUnderQuery:"Mostre-me op\xE7\xF5es abaixo de {amount}",pillWhichBest:"Qual \xE9 o melhor?",pillWhichBestQuery:"Qual voc\xEA recomendaria e por qu\xEA?",replyingOriginal:"Respondendo em {lang}, resultados como o site escreveu. Pergunte-me qualquer coisa.",replyingTranslated:"Respondendo em {lang}, resultados tamb\xE9m traduzidos. Pergunte-me qualquer coisa.",statusSent:"Enviado",statusStopped:"Enviado \xB7 resposta interrompida",thinking:"Pensando",thoughtForSeconds:"Pensou por {duration}",thoughtProcess:"Processo de pensamento",vizUnavailable:"A visualiza\xE7\xE3o n\xE3o p\xF4de ser carregada.",termsStepTitle:"Privacidade e Termos de Uso",termsStepSubtitle:"Transparente, an\xF4nimo e sem coleta de dados pessoais.",termsPiiTitle:"Zero Coleta de Dados Pessoais",termsPiiDesc:"Nunca coletamos nem armazenamos informa\xE7\xF5es de identifica\xE7\xE3o pessoal (sem e-mails, telefones ou identidades reais) das suas conversas ou sess\xF5es de voz.",termsSessionTitle:"Tokens de Sess\xE3o An\xF4nimos",termsSessionDesc:"Sua sess\xE3o usa um token an\xF4nimo no cliente apenas para manter o contexto. Nunca \xE9 vinculado \xE0 sua identidade real.",termsMemoryTitle:"Conversas Ef\xEAmeras vs. Cofre Mimi",termsMemoryDesc:'Conversas normais s\xE3o ef\xEAmeras \u2014 fechar ou limpar o chat as apaga para sempre. Itens salvos com "@kiku" s\xE3o criptografados e podem ser desbloqueados em mimi.akropolys.cloud com sua chave secreta.',termsCookieTitle:"Telemetria do Site Hospedeiro",termsCookieDesc:"O site onde o kiku est\xE1 incorporado pode coletar cookies e an\xE1lises de acordo com sua pr\xF3pria pol\xEDtica de cookies, fora do controle do kiku.",termsAgreeButton:"Concordar e Continuar",termsAgreeCounting:"Concordar e Continuar ({seconds}s)",termsPlaceholder:"Por favor, revise e aceite a privacidade e os termos acima\u2026",whatHaveYouSaved:"O que voc\xEA salvou?",micDenied:"Microfone bloqueado. Permita o acesso ao microfone neste site e tente novamente.",micFailed:"N\xE3o foi poss\xEDvel ouvir. Tente novamente.",micInsecure:"A voz precisa de uma conex\xE3o segura (https).",micLangUnsupported:"Este navegador ainda n\xE3o transcreve este idioma. Digite em vez disso.",micMissing:"Nenhum microfone encontrado.",micNetwork:"A voz precisa de uma conex\xE3o no momento. Verifique a sua e tente novamente.",micNoSpeech:"N\xE3o ouvimos nada. Tente novamente, um pouco mais perto do microfone.",vizDisclaimerImage:"Gerado com Intelig\xEAncia Artificial \u2014 cores, tamanho e posi\xE7\xE3o podem diferir do produto real.",vizDisclaimerVideo:"Gerado com Intelig\xEAncia Artificial \u2014 cores, tamanho e movimento podem diferir do produto real.",voiceHint:"Basta falar \u2014 responderei quando voc\xEA fizer uma pausa.",voiceListening:"Ouvindo\u2026 toque no microfone para parar",voiceModeExit:"Sair do modo m\xE3os-livres",voiceModeStart:"Conversa em m\xE3os-livres",voiceMuted:"Silenciado",voiceMutedHint:"Toque no microfone para falar novamente.",voicePhaseListening:"Ouvindo",voicePhaseSpeaking:"Falando",voicePhaseThinking:"Pensando",voiceSending:"Entendido \u2014 enviando\u2026",retry:"Tentar novamente",edit:"Editar",copy:"Copiar",copied:"Copiado",msgFailed:"Falha ao enviar"},spanish:{allSet:"Todo listo, {name}.",asWritten:"Tal como est\xE1 escrito",captureAll:"Capturar todo ({count})",captureAndRemember:"kiku \u2014 capturar y recordar",captureCurrentPage:"Capturar p\xE1gina actual",cardClickAnswer:"El {name}",cardClickQuery:"Cu\xE9ntame m\xE1s sobre {name}{price} \u2014 \xBFcu\xE1les son sus detalles clave, para qui\xE9n es m\xE1s adecuado y qu\xE9 deber\xEDa saber?",clearChat:"Borrar chat",defaultPlaceholder:"Preg\xFAntame lo que quieras\u2026",deleteThis:"Eliminar esto",detailsTranslated:"Detalles traducidos. Los n\xFAmeros y enlaces se mantienen exactamente como se muestran.",displayCapture:"capturar {name}",displayCaptureAll:"capturar todo ({count} elementos)",displayDelete:"eliminar esto",displayViewHistory:"\xBFqu\xE9 has guardado?",entityLangIntro:"Respondo en {lang}. Las tarjetas pueden mostrarse en versi\xF3n original o traducirse.",entityLangPlaceholder:"Elige una de las dos tarjetas de arriba\u2026",errAccessRevoked:"La tienda ha revocado su acceso al asistente.",errAccountRequired:"Por favor, cree una cuenta para seguir usando el asistente de chat.",errShopperReplyLimit:"Ha alcanzado el l\xEDmite de respuestas de este sitio para su cuenta.",errStreamInterrupted:"La respuesta fue interrumpida. Por favor, int\xE9ntelo de nuevo.",errTokenLimit:"Ha alcanzado su l\xEDmite de uso. Por favor, actualice sus l\xEDmites de facturaci\xF3n en su panel de control para continuar.",errTooManyRequests:"El asistente est\xE1 recibiendo demasiadas solicitudes en este momento. Por favor, int\xE9ntelo de nuevo en unos instantes.",footerHint:"kiku \xB7 busca en todo el cat\xE1logo en tiempo real",greetReturning:"Hola, {name}.",greetReturningLead:"\xBFQu\xE9 puedo encontrar para usted hoy?",howShouldResultsLook:"\xBFC\xF3mo deber\xEDan verse los resultados?",inLanguage:"En {lang}",keyAutoHide:"Se oculta autom\xE1ticamente en {seconds}s.",keyCopied:"Copiado",keyCopyId:"Copiar ID",keyCopySecret:"Copiar secreto",keyCreateNew:"Soy nuevo/a, crear uno",keyCreating:"Creando\u2026",keyDismiss:"Descartar",keyPastePlaceholder:"tu ID p\xFAblico\u2026",keyPastePrompt:"Pega tu ID p\xFAblico \u2014 o crea uno",keyPublicHint:"P\xE9galo en cualquier sitio para guardar en la misma memoria.",keyPublicTitle:"Tu ID p\xFAblico",keySecretHint:"Mantenlo privado \u2014 \xFAsalo para desbloquear tu memoria.",keySecretTitle:"Tu secreto \u2014 mostrado solo una vez",keyUseMine:"Usar mi ID",kikuActionUnavailable:"Lo siento, esa acci\xF3n no est\xE1 disponible en este sitio.",kikuCaptureDbError:"La captura fall\xF3 debido a un error de base de datos.",kikuCaptureNoContext:"La captura fall\xF3 porque el SDK no proporcion\xF3 contexto de p\xE1gina o producto.",kikuCaptureNoUrl:"No se pudieron guardar elementos \u2014 ninguno ten\xEDa una URL v\xE1lida.",kikuCaptureNoneSelected:"No se seleccionaron elementos para capturar.",kikuDeleteDbError:"La eliminaci\xF3n fall\xF3 debido a un error de base de datos.",kikuDeleteDone:"Lo he eliminado de tus elementos guardados.",kikuDeleteNoContext:"La eliminaci\xF3n fall\xF3 porque no se proporcion\xF3 contexto de p\xE1gina para identificar qu\xE9 eliminar.",kikuMemoryIntro:"Todo lo que has capturado en diferentes sitios vive en tu memoria privada. Desbloqu\xE9ala con tu secreto:",kikuMintNeeded:"Para guardar elementos en diferentes sitios necesitas una clave kiku \u2014 te crear\xE9 una. Se muestra solo una vez, as\xED que gu\xE1rdala en un lugar seguro.",kikuMintOffer:"Puedo guardar esto por ti y hacer que te siga en diferentes sitios \u2014 te crear\xE9 una clave kiku. Se muestra solo una vez, as\xED que gu\xE1rdala en un lugar seguro.",kikuNeedKeyToUpdate:"Introduce tu clave kiku para que pueda encontrar y actualizar tus elementos guardados.",micDenied:"Micr\xF3fono bloqueado. Permite el acceso al micr\xF3fono para este sitio e int\xE9ntalo de nuevo.",micFailed:"No pude o\xEDr eso. Int\xE9ntalo de nuevo.",micInsecure:"La voz requiere una conexi\xF3n segura (https).",micLangUnsupported:"Este navegador a\xFAn no puede transcribir ese idioma. Escriba en su lugar.",micMissing:"No se encontr\xF3 ning\xFAn micr\xF3fono.",micNetwork:"La voz necesita una conexi\xF3n en este momento. Revise la suya e int\xE9ntelo de nuevo.",micNoSpeech:"No he captado nada. Int\xE9ntelo de nuevo, un poco m\xE1s cerca del micr\xF3fono.",namePlaceholder:"Escriba su nombre\u2026",nameStepAsk:"\xBFC\xF3mo debo llamarle?",nameStepLead:"Puedo buscar, visualizar o guardar cualquier producto en este u otro sitio.",nameStepTitle:"Encantado de conocerle.",namesAsWritten:"Nombres y detalles exactamente como los enumera el sitio.",pillCompareTop2:"Comparar los 2 mejores",pillCompareTop2Query:"Compara {a} y {b}",pillFindAlternatives:"Buscar alternativas",pillFindAlternativesQuery:"\xBFQu\xE9 alternativas hay a {name}?",pillMoreOn:"M\xE1s sobre {name}",pillMoreOnQuery:"Cu\xE9ntame m\xE1s sobre {name}",pillRecommend:"Recomendar algo",pillRecommendQuery:"\xBFQu\xE9 me recomiendas?",pillShowPopular:"Mostrar art\xEDculos populares",pillShowPopularQuery:"\xBFCu\xE1les son tus art\xEDculos m\xE1s populares?",pillSimilarOptions:"Opciones similares",pillSimilarOptionsQuery:"Mu\xE9strame m\xE1s opciones como {name}",pillUnder:"Menos de {amount}",pillUnderQuery:"Mu\xE9strame opciones por menos de {amount}",pillWhichBest:"\xBFCu\xE1l es el mejor?",pillWhichBestQuery:"\xBFCu\xE1l me recomendar\xEDas y por qu\xE9?",replyingOriginal:"Respondiendo en {lang}, resultados tal como los escribi\xF3 este sitio. Preg\xFAnteme lo que quiera.",replyingTranslated:"Respondiendo en {lang}, resultados tambi\xE9n traducidos. Preg\xFAnteme lo que quiera.",statusSent:"Enviado",statusStopped:"Enviado \xB7 respuesta detenida",thinking:"Pensando",thoughtForSeconds:"Pensado durante {duration}",thoughtProcess:"Proceso de pensamiento",vizDisclaimerImage:"Generado con Inteligencia Artificial: los colores, el tama\xF1o y la ubicaci\xF3n pueden diferir del producto real.",vizDisclaimerVideo:"Generado con Inteligencia Artificial: los colores, el tama\xF1o y el movimiento pueden diferir del producto real.",vizUnavailable:"No se pudo cargar la vista previa.",voiceListening:"Escuchando\u2026 toque el micr\xF3fono para detener.",voiceSending:"Entendido, enviando\u2026",termsStepTitle:"Privacidad y t\xE9rminos de uso",termsStepSubtitle:"Transparente, an\xF3nimo y sin recolecci\xF3n de datos personales.",termsPiiTitle:"Cero recolecci\xF3n de datos personales",termsPiiDesc:"Nunca recopilamos ni almacenamos informaci\xF3n de identificaci\xF3n personal (sin correos, n\xFAmeros de tel\xE9fono ni identidades reales) de tus conversaciones o sesiones de voz.",termsSessionTitle:"Tokens de sesi\xF3n an\xF3nimos",termsSessionDesc:"Tu sesi\xF3n utiliza un token an\xF3nimo generado en el cliente \xFAnicamente para mantener el contexto. Nunca se vincula a tu identidad real.",termsMemoryTitle:"Chats ef\xEDmeros vs. B\xF3veda Mimi",termsMemoryDesc:"Las conversaciones regulares son ef\xEDmeras: cerrar o borrar el chat las elimina para siempre. Lo que guardas con \xAB@kiku\xBB est\xE1 cifrado y se puede desbloquear en mimi.akropolys.cloud con tu clave secreta.",termsCookieTitle:"Telemetr\xEDa del sitio web anfitri\xF3n",termsCookieDesc:"El sitio web donde est\xE1 integrado kiku puede recopilar cookies y anal\xEDticas seg\xFAn su propia pol\xEDtica de cookies, fuera del control de kiku.",termsAgreeButton:"Aceptar y continuar",termsAgreeCounting:"Aceptar y continuar ({seconds}s)",termsPlaceholder:"Por favor, revisa y acepta nuestra privacidad y t\xE9rminos arriba\u2026",whatHaveYouSaved:"\xBFQu\xE9 ha guardado?",voiceHint:"Solo habla \u2014 responder\xE9 cuando hagas una pausa.",voiceModeExit:"Salir de manos libres",voiceModeStart:"Conversaci\xF3n manos libres",voiceMuted:"Silenciado",voiceMutedHint:"Toca el micr\xF3fono para hablar de nuevo.",voicePhaseListening:"Escuchando",voicePhaseSpeaking:"Hablando",voicePhaseThinking:"Pensando",retry:"Reintentar",edit:"Editar",copy:"Copiar",copied:"Copiado",msgFailed:"Error al enviar"},swahili:{allSet:"Uko tayari, {name}.",asWritten:"Kama ilivyoandikwa",captureAll:"Chukua zote ({count})",captureAndRemember:"kiku \u2014 chukua & kumbuka",captureCurrentPage:"Chukua ukurasa wa sasa",cardClickAnswer:"{name}",cardClickQuery:"Nisaidie kujua zaidi kuhusu {name}{price} \u2014 ni maelezo yake muhimu, ni kwa nani inafaa zaidi, na ninapaswa kujua nini?",clearChat:"Futa mazungumzo",defaultPlaceholder:"Uliza chochote\u2026",deleteThis:"Futa hii",detailsTranslated:"Maelezo yame tafsiriwa. Nambari na viungo vinabaki kama ilivyo.",displayCapture:"chukua {name}",displayCaptureAll:"chukua zote ({count} items)",displayDelete:"futa hii",displayViewHistory:"ulivyohifadhi?",entityLangIntro:"Nitajibu kwa {lang}. Kadi zinaweza kubaki zilivyo au kutafsiriwa.",entityLangPlaceholder:"Chagua moja ya kadi mbili zilizo juu\u2026",errAccessRevoked:"Ufikiaji wako kwa msaidizi umeondolewa na duka.",errAccountRequired:"Tafadhali unda akaunti ili kuendelea kutumia msaidizi wa mazungumzo.",errShopperReplyLimit:"Umefikia kikomo cha majibu cha tovuti hii kwa akaunti yako.",errStreamInterrupted:"Jibu lilikatizwa. Tafadhali jaribu tena.",errTokenLimit:"Umefikia kikomo cha matumizi yako. Tafadhali sasisha mipaka ya malipo kwenye dashbodi yako ili kuendelea.",errTooManyRequests:"Msaidizi anapokea maombi mengi sana kwa sasa. Tafadhali jaribu tena baada ya muda mfupi.",footerHint:"kiku \xB7 hutafuta katika katalogi nzima kwa wakati halisi",greetReturning:"Habari, {name}.",greetReturningLead:"Nini naweza kukutafuta leo?",howShouldResultsLook:"Matokeo yanapaswa kuonekana vipi?",inLanguage:"Kwa {lang}",keyAutoHide:"Inaficha kiotomatiki baada ya {seconds}s.",keyCopied:"Imekopiwa",keyCopyId:"Nakili kitambulisho",keyCopySecret:"Nakili siri",keyCreateNew:"Mimi mpya \u2014 unda moja",keyCreating:"Inaunda\u2026",keyDismiss:"Ondoa",keyPastePlaceholder:"kitambulisho chako cha umma\u2026",keyPastePrompt:"Bandika kitambulisho chako cha umma \u2014 au unda moja",keyPublicHint:"Bandika hii kwenye tovuti yoyote ili kuihifadhi katika kumbukumbu sawa.",keyPublicTitle:"Kitambulisho chako cha umma",keySecretHint:"Ikeepye kibinafsi \u2014 tumia kufungua kumbukumbu yako.",keySecretTitle:"Siri yako \u2014 inaonyeshwa mara moja tu",keyUseMine:"Tumia kitambulisho changu",kikuActionUnavailable:"Samahani \u2014 kitendo hicho hakipatikani kwenye tovuti hii.",kikuCaptureDbError:"Uchukuaji umeshindwa kutokana na hitilafu ya hifadhidata.",kikuCaptureNoContext:"Uchukuaji umeshindwa kwa sababu hakuna muktadha wa ukurasa au bidhaa uliotolewa na SDK.",kikuCaptureNoUrl:"Haikuweza kuhifadhi vitu vyovyote \u2014 hakuna kilichokuwa na URL halali.",kikuCaptureNoneSelected:"Hakuna vitu vilivyochaguliwa kwa uchukuaji.",kikuDeleteDbError:"Ufutaji umeshindwa kutokana na hitilafu ya hifadhidata.",kikuDeleteDone:"Imeondolewa kutoka vitu vyako vilivyohifadhiwa.",kikuDeleteNoContext:"Ufutaji umeshindwa kwa sababu hakuna muktadha wa ukurasa uliotolewa kutambua kinachofutwa.",kikuMemoryIntro:"Kila kitu ulichukua kwenye tovuti mbalimbali kiko katika kumbukumbu yako ya kibinafsi. Kifungue kwa siri yako:",kikuMintNeeded:"Ili kuhifadhi vitu kwenye tovuti mbalimbali unahitaji ufunguo wa kiku \u2014 nitaunda moja kwa ajili yako. Inaonyeshwa mara moja tu, hivyo uiweke mahali salama.",kikuMintOffer:"Ninaweza kuhifadhi hii kwa ajili yako na iende nawe kwenye tovuti mbalimbali \u2014 nitaunda ufunguo wa kiku. Inaonyeshwa mara moja tu, hivyo uiweke mahali salama.",kikuNeedKeyToUpdate:"Weka ufunguo wako wa kiku ili niweze kupata na kusasisha vitu vyako vilivyohifadhiwa.",micDenied:"Kinanda cha sauti kimezuiwa. Ruhusu ufikiaji wa kinanda kwa tovuti hii, kisha jaribu tena.",micFailed:"Sikuweza kusikia hilo. Jaribu tena.",micInsecure:"Sauti inahitaji muunganisho salama (https).",micLangUnsupported:"Kivinjari hiki hakiwezi kuandika lugha hiyo bado. Andika badala yake.",micMissing:"Hakuna kipaza sauti kilichopatikana.",micNetwork:"Sauti inahitaji muunganisho kwa sasa. Angalia yako na ujaribu tena.",micNoSpeech:"Sijapata chochote. Jaribu tena, karibu zaidi na kipaza sauti.",namePlaceholder:"Andika jina lako\u2026",nameStepAsk:"Ninapaswa kukuita nani?",nameStepLead:"Ninaweza kutafuta, kuonyesha, au kunasa chochote kwa ajili yako \u2014 kwenye tovuti hii au nyingine yoyote.",nameStepTitle:"Nafurahi kukutana nawe.",namesAsWritten:"Majina na maelezo kama ilivyo kwenye tovuti.",pillCompareTop2:"Linganisha bora 2",pillCompareTop2Query:"Linganisha {a} na {b}",pillFindAlternatives:"Tafuta mbadala",pillFindAlternativesQuery:"Ni mbadala gani mazuri kwa {name}?",pillMoreOn:"Zaidi kuhusu {name}",pillMoreOnQuery:"Nisaidie kujua zaidi kuhusu {name}",pillRecommend:"Pendekeza kitu",pillRecommendQuery:"Unaweza kunipendekeza nini?",pillShowPopular:"Onyesha vitu maarufu",pillShowPopularQuery:"Ni bidhaa gani zimekuwa maarufu zaidi?",pillSimilarOptions:"Chaguzi zinazofanana",pillSimilarOptionsQuery:"Nionyeshe zaidi kama {name}",pillUnder:"Chini ya {amount}",pillUnderQuery:"Nionyeshe chaguo chini ya {amount}",pillWhichBest:"Ni ipi bora?",pillWhichBestQuery:"Ni ipi unayopendekeza na kwa nini?",replyingOriginal:"Ninajibu kwa {lang}, matokeo kama ilivyoandikwa kwenye tovuti hii. Uliza chochote.",replyingTranslated:"Ninajibu kwa {lang}, matokeo yamefasiriwa pia. Uliza chochote.",statusSent:"Imetumwa",statusStopped:"Imetumwa \xB7 majibu yametolewa",thinking:"Inafikiri",thoughtForSeconds:"Imefikiri kwa {duration}",thoughtProcess:"Mchakato wa mawazo",vizDisclaimerImage:"Imetengenezwa kwa kutumia Akili Bandia \u2014 rangi, ukubwa na upangaji huenda yakatofautiana na bidhaa halisi.",vizDisclaimerVideo:"Imetengenezwa kwa kutumia Akili Bandia \u2014 rangi, ukubwa na mwendo huenda yakatofautiana na bidhaa halisi.",vizUnavailable:"Hakuna uwezo wa kupakia onyesho la awali.",voiceListening:"Inasikiliza\u2026 gonga kipaza sauti ili kusimama",voiceSending:"Nimepokea \u2014 ninatuma\u2026",termsStepTitle:"Faragha na Masharti ya Matumizi",termsStepSubtitle:"Wazi, bila utambulisho, na bila kukusanya taarifa binafsi.",termsPiiTitle:"Hakuna Ukusanyaji wa Taarifa Binafsi",termsPiiDesc:"Hatukusanyi wala kuhifadhi taarifa za utambulisho binafsi (hakuna barua pepe, nambari za simu, wala majina halisi) kutoka kwa mazungumzo yako au sauti.",termsSessionTitle:"Vitambulisho Visivyojulikana vya Kipindi",termsSessionDesc:"Kipindi chako kinatumia kitambulisho kisichojulikana upande wa mteja ili kuendeleza muktadha tu. Hakihusishwi na utambulisho wako halisi.",termsMemoryTitle:"Mazungumzo ya Muda dhidi ya Hazina ya Mimi",termsMemoryDesc:'Mazungumzo ya kawaida ni ya muda \u2014 kufunga au kufuta mazungumzo kunayaondoa kabisa. Vitu unavyohifadhi kwa "@kiku" vimelindwa na vinaweza kufunguliwa kwenye mimi.akropolys.cloud kwa ufunguo wako wa siri.',termsCookieTitle:"Takwimu za Tovuti Mwenyeji",termsCookieDesc:"Tovuti inayotumia kiku inaweza kukusanya vidakuzi na takwimu kulingana na sera yake ya vidakuzi, nje ya udhibiti wa kiku.",termsAgreeButton:"Kubali na Uendelee",termsAgreeCounting:"Kubali na Uendelee ({seconds}s)",termsPlaceholder:"Tafadhali kagua na ukubali sera ya faragha na masharti hapo juu\u2026",whatHaveYouSaved:"Umehifadhi nini?",voiceHint:"Ongea tu \u2014 nitajibu ukipumzika.",voiceModeExit:"Ondoka kwenye hali ya bila mikono",voiceModeStart:"Mazungumzo ya bila mikono",voiceMuted:"Imezimwa sauti",voiceMutedHint:"Gonga kipaza sauti ili kuongea tena.",voicePhaseListening:"Inasikiliza",voicePhaseSpeaking:"Inazungumza",voicePhaseThinking:"Inafikiri",retry:"Jaribu tena",edit:"Hariri",copy:"Nakili",copied:"Imenakiliwa",msgFailed:"Imeshindwa kutuma"},urdu:{allSet:"\u0622\u067E \u0628\u0627\u0644\u06A9\u0644 \u062A\u06CC\u0627\u0631 \u06C1\u06CC\u06BA\u060C {name}\u06D4",asWritten:"\u062C\u06CC\u0633\u0627 \u0644\u06A9\u06BE\u0627 \u06C1\u06D2",captureAll:"\u0633\u0628 \u0645\u062D\u0641\u0648\u0638 \u06A9\u0631\u06CC\u06BA ({count})",captureAndRemember:"kiku \u2014 \u0645\u062D\u0641\u0648\u0638 \u06A9\u0631\u06CC\u06BA \u0627\u0648\u0631 \u06CC\u0627\u062F \u0631\u06A9\u06BE\u06CC\u06BA",captureCurrentPage:"\u0645\u0648\u062C\u0648\u062F\u06C1 \u0635\u0641\u062D\u06C1 \u0645\u062D\u0641\u0648\u0638 \u06A9\u0631\u06CC\u06BA",cardClickAnswer:"{name}",cardClickQuery:"\u0645\u062C\u06BE\u06D2 {name}{price} \u06A9\u06D2 \u0628\u0627\u0631\u06D2 \u0645\u06CC\u06BA \u0645\u0632\u06CC\u062F \u0628\u062A\u0627\u0626\u06CC\u06BA \u2014 \u0627\u0633 \u06A9\u06CC \u0627\u06C1\u0645 \u062E\u0635\u0648\u0635\u06CC\u0627\u062A \u06A9\u06CC\u0627 \u06C1\u06CC\u06BA\u060C \u06CC\u06C1 \u06A9\u0633 \u06A9\u06D2 \u0644\u06CC\u06D2 \u0628\u06C1\u062A\u0631\u06CC\u0646 \u06C1\u06D2\u060C \u0627\u0648\u0631 \u0645\u062C\u06BE\u06D2 \u06A9\u06CC\u0627 \u062C\u0627\u0646\u0646\u0627 \u0686\u0627\u06C1\u06CC\u06D2\u061F",clearChat:"\u0686\u06CC\u0679 \u0635\u0627\u0641 \u06A9\u0631\u06CC\u06BA",defaultPlaceholder:"\u0645\u062C\u06BE \u0633\u06D2 \u06A9\u0686\u06BE \u0628\u06BE\u06CC \u067E\u0648\u0686\u06BE\u06CC\u06BA\u2026",deleteThis:"\u0627\u0633\u06D2 \u062D\u0630\u0641 \u06A9\u0631\u06CC\u06BA",detailsTranslated:"\u062A\u0641\u0635\u06CC\u0644\u0627\u062A \u06A9\u0627 \u062A\u0631\u062C\u0645\u06C1 \u06A9\u0631 \u062F\u06CC\u0627 \u06AF\u06CC\u0627\u06D4 \u0642\u06CC\u0645\u062A\u06CC\u06BA \u0627\u0648\u0631 \u0644\u0646\u06A9\u0633 \u0648\u06CC\u0633\u06D2 \u06C1\u06CC \u0631\u06C1\u06CC\u06BA \u06AF\u06D2\u06D4",displayCapture:"{name} \u06A9\u0648 \u0645\u062D\u0641\u0648\u0638 \u06A9\u0631\u06CC\u06BA",displayCaptureAll:"\u0633\u0628 \u0645\u062D\u0641\u0648\u0638 \u06A9\u0631\u06CC\u06BA ({count} \u0627\u0634\u06CC\u0627\u0621)",displayDelete:"\u0627\u0633\u06D2 \u062D\u0630\u0641 \u06A9\u0631\u06CC\u06BA",displayViewHistory:"\u0622\u067E \u0646\u06D2 \u06A9\u06CC\u0627 \u0645\u062D\u0641\u0648\u0638 \u06A9\u06CC\u0627 \u06C1\u06D2\u061F",entityLangIntro:"\u0645\u06CC\u06BA {lang} \u0645\u06CC\u06BA \u062C\u0648\u0627\u0628 \u062F\u06CC\u062A\u0627 \u06C1\u0648\u06BA\u06D4 \u06A9\u0627\u0631\u0688\u0632 \u0627\u0635\u0644 \u0632\u0628\u0627\u0646 \u0645\u06CC\u06BA \u06CC\u0627 \u062A\u0631\u062C\u0645\u06C1 \u0634\u062F\u06C1 \u062F\u06CC\u06A9\u06BE\u06D2 \u062C\u0627 \u0633\u06A9\u062A\u06D2 \u06C1\u06CC\u06BA\u06D4",entityLangPlaceholder:"\u0627\u0648\u067E\u0631 \u062F\u06CC\u06D2 \u06AF\u0626\u06D2 \u062F\u0648 \u06A9\u0627\u0631\u0688\u0632 \u0645\u06CC\u06BA \u0633\u06D2 \u0627\u06CC\u06A9 \u0645\u0646\u062A\u062E\u0628 \u06A9\u0631\u06CC\u06BA\u2026",errAccessRevoked:"\u0627\u0633\u0679\u0648\u0631 \u06A9\u06CC \u0637\u0631\u0641 \u0633\u06D2 \u0627\u0633\u0633\u0679\u0646\u0679 \u062A\u06A9 \u0622\u067E \u06A9\u06CC \u0631\u0633\u0627\u0626\u06CC \u0645\u0646\u0633\u0648\u062E \u06A9\u0631 \u062F\u06CC \u06AF\u0626\u06CC \u06C1\u06D2\u06D4",errAccountRequired:"\u0686\u06CC\u0679 \u0627\u0633\u0633\u0679\u0646\u0679 \u06A9\u0627 \u0627\u0633\u062A\u0639\u0645\u0627\u0644 \u062C\u0627\u0631\u06CC \u0631\u06A9\u06BE\u0646\u06D2 \u06A9\u06D2 \u0644\u06CC\u06D2 \u0628\u0631\u0627\u0626\u06D2 \u0645\u06C1\u0631\u0628\u0627\u0646\u06CC \u0627\u06A9\u0627\u0624\u0646\u0679 \u0628\u0646\u0627\u0626\u06CC\u06BA\u06D4",errShopperReplyLimit:"\u0622\u067E \u0627\u0633 \u0633\u0627\u0626\u0679 \u067E\u0631 \u0627\u067E\u0646\u06D2 \u0627\u06A9\u0627\u0624\u0646\u0679 \u06A9\u06CC \u062C\u0648\u0627\u0628\u0627\u062A \u06A9\u06CC \u062D\u062F \u062A\u06A9 \u067E\u06C1\u0646\u0686 \u0686\u06A9\u06D2 \u06C1\u06CC\u06BA\u06D4",errStreamInterrupted:"\u062C\u0648\u0627\u0628 \u0645\u06CC\u06BA \u062E\u0644\u0644 \u067E\u0691 \u06AF\u06CC\u0627\u06D4 \u0628\u0631\u0627\u0626\u06D2 \u0645\u06C1\u0631\u0628\u0627\u0646\u06CC \u062F\u0648\u0628\u0627\u0631\u06C1 \u06A9\u0648\u0634\u0634 \u06A9\u0631\u06CC\u06BA\u06D4",errTokenLimit:"\u0622\u067E \u06A9\u06D2 \u0627\u0633\u062A\u0639\u0645\u0627\u0644 \u06A9\u06CC \u062D\u062F \u062E\u062A\u0645 \u06C1\u0648 \u0686\u06A9\u06CC \u06C1\u06D2\u06D4 \u062C\u0627\u0631\u06CC \u0631\u06A9\u06BE\u0646\u06D2 \u06A9\u06D2 \u0644\u06CC\u06D2 \u0627\u067E\u0646\u06D2 \u0688\u06CC\u0634 \u0628\u0648\u0631\u0688 \u0645\u06CC\u06BA \u0628\u0644\u0646\u06AF \u06A9\u06CC \u062D\u062F \u0627\u067E \u0688\u06CC\u0679 \u06A9\u0631\u06CC\u06BA\u06D4",errTooManyRequests:"\u0627\u0633\u0633\u0679\u0646\u0679 \u067E\u0631 \u0627\u0633 \u0648\u0642\u062A \u0628\u06C1\u062A \u0632\u06CC\u0627\u062F\u06C1 \u062F\u0631\u062E\u0648\u0627\u0633\u062A\u06CC\u06BA \u0622\u0631\u06C1\u06CC \u06C1\u06CC\u06BA\u06D4 \u0628\u0631\u0627\u0626\u06D2 \u0645\u06C1\u0631\u0628\u0627\u0646\u06CC \u062A\u06BE\u0648\u0691\u06CC \u062F\u06CC\u0631 \u0628\u0639\u062F \u06A9\u0648\u0634\u0634 \u06A9\u0631\u06CC\u06BA\u06D4",footerHint:"kiku \xB7 \u062D\u0642\u06CC\u0642\u06CC \u0648\u0642\u062A \u0645\u06CC\u06BA \u0645\u06A9\u0645\u0644 \u06A9\u06CC\u0679\u0644\u0627\u06AF \u062A\u0644\u0627\u0634 \u06A9\u0631\u062A\u0627 \u06C1\u06D2",greetReturning:"\u062E\u0648\u0634 \u0622\u0645\u062F\u06CC\u062F\u060C {name}\u06D4",greetReturningLead:"\u0622\u062C \u0645\u06CC\u06BA \u0622\u067E \u06A9\u06D2 \u0644\u06CC\u06D2 \u06A9\u06CC\u0627 \u062A\u0644\u0627\u0634 \u06A9\u0631 \u0633\u06A9\u062A\u0627 \u06C1\u0648\u06BA\u061F",howShouldResultsLook:"\u0646\u062A\u0627\u0626\u062C \u06A9\u06CC\u0633\u06CC \u062F\u06A9\u06BE\u0646\u06CC \u0686\u0627\u06C1\u0626\u06CC\u06BA\u061F",inLanguage:"{lang} \u0645\u06CC\u06BA",keyAutoHide:"{seconds} \u0633\u06CC\u06A9\u0646\u0688 \u0645\u06CC\u06BA \u062E\u0648\u062F \u0628\u062E\u0648\u062F \u0686\u06BE\u067E \u062C\u0627\u0626\u06D2 \u06AF\u0627\u06D4",keyCopied:"\u06A9\u0627\u067E\u06CC \u06C1\u0648 \u06AF\u06CC\u0627",keyCopyId:"\u0622\u0626\u06CC \u0688\u06CC \u06A9\u0627\u067E\u06CC \u06A9\u0631\u06CC\u06BA",keyCopySecret:"\u062E\u0641\u06CC\u06C1 \u06A9\u0644\u06CC\u062F \u06A9\u0627\u067E\u06CC \u06A9\u0631\u06CC\u06BA",keyCreateNew:"\u0645\u06CC\u06BA \u0646\u06CC\u0627 \u06C1\u0648\u06BA \u2014 \u0646\u0626\u06CC \u0628\u0646\u0627\u0626\u06CC\u06BA",keyCreating:"\u0628\u0646\u0627\u06CC\u0627 \u062C\u0627 \u0631\u06C1\u0627 \u06C1\u06D2\u2026",keyDismiss:"\u0631\u062F \u06A9\u0631\u06CC\u06BA",keyPastePlaceholder:"\u0622\u067E \u06A9\u06CC \u067E\u0628\u0644\u06A9 \u0622\u0626\u06CC \u0688\u06CC\u2026",keyPastePrompt:"\u0627\u067E\u0646\u06CC \u067E\u0628\u0644\u06A9 \u0622\u0626\u06CC \u0688\u06CC \u0686\u0633\u067E\u0627\u06BA \u06A9\u0631\u06CC\u06BA \u2014 \u06CC\u0627 \u0646\u0626\u06CC \u0628\u0646\u0627\u0626\u06CC\u06BA",keyPublicHint:"\u0627\u0633\u06CC \u06CC\u0627\u062F\u062F\u0627\u0634\u062A \u0645\u06CC\u06BA \u0645\u062D\u0641\u0648\u0638 \u06A9\u0631\u0646\u06D2 \u06A9\u06D2 \u0644\u06CC\u06D2 \u0627\u0633\u06D2 \u06A9\u0633\u06CC \u0628\u06BE\u06CC \u0633\u0627\u0626\u0679 \u067E\u0631 \u0686\u0633\u067E\u0627\u06BA \u06A9\u0631\u06CC\u06BA\u06D4",keyPublicTitle:"\u0622\u067E \u06A9\u06CC \u067E\u0628\u0644\u06A9 \u0622\u0626\u06CC \u0688\u06CC",keySecretHint:"\u0627\u0633\u06D2 \u062E\u0641\u06CC\u06C1 \u0631\u06A9\u06BE\u06CC\u06BA \u2014 \u0627\u067E\u0646\u06CC \u06CC\u0627\u062F\u062F\u0627\u0634\u062A \u06A9\u0648 \u06A9\u06BE\u0648\u0644\u0646\u06D2 \u06A9\u06D2 \u0644\u06CC\u06D2 \u0627\u0633\u062A\u0639\u0645\u0627\u0644 \u06A9\u0631\u06CC\u06BA\u06D4",keySecretTitle:"\u0622\u067E \u06A9\u06CC \u062E\u0641\u06CC\u06C1 \u06A9\u0644\u06CC\u062F \u2014 \u0635\u0631\u0641 \u0627\u06CC\u06A9 \u0628\u0627\u0631 \u062F\u06A9\u06BE\u0627\u0626\u06CC \u062C\u0627\u0626\u06D2 \u06AF\u06CC",keyUseMine:"\u0645\u06CC\u0631\u06CC \u0622\u0626\u06CC \u0688\u06CC \u0627\u0633\u062A\u0639\u0645\u0627\u0644 \u06A9\u0631\u06CC\u06BA",kikuActionUnavailable:"\u0645\u0639\u0630\u0631\u062A \u2014 \u06CC\u06C1 \u0639\u0645\u0644 \u0627\u0633 \u0633\u0627\u0626\u0679 \u067E\u0631 \u062F\u0633\u062A\u06CC\u0627\u0628 \u0646\u06C1\u06CC\u06BA \u06C1\u06D2\u06D4",kikuCaptureDbError:"\u0688\u06CC\u0679\u0627 \u0628\u06CC\u0633 \u06A9\u06CC \u062E\u0631\u0627\u0628\u06CC \u06A9\u06CC \u0648\u062C\u06C1 \u0633\u06D2 \u0645\u062D\u0641\u0648\u0638 \u06A9\u0631\u0646\u06D2 \u0645\u06CC\u06BA \u0646\u0627\u06A9\u0627\u0645\u06CC\u06D4",kikuCaptureNoContext:"\u0635\u0641\u062D\u06D2 \u06A9\u0627 \u0633\u06CC\u0627\u0642 \u0648 \u0633\u0628\u0627\u0642 \u0646\u06C1 \u0645\u0644\u0646\u06D2 \u06A9\u06CC \u0648\u062C\u06C1 \u0633\u06D2 \u0645\u062D\u0641\u0648\u0638 \u06A9\u0631\u0646\u06D2 \u0645\u06CC\u06BA \u0646\u0627\u06A9\u0627\u0645\u06CC\u06D4",kikuCaptureNoUrl:"\u06A9\u0648\u0626\u06CC \u0622\u0626\u0679\u0645 \u0645\u062D\u0641\u0648\u0638 \u0646\u06C1\u06CC\u06BA \u06C1\u0648 \u0633\u06A9\u0627 \u06A9\u06CC\u0648\u0646\u06A9\u06C1 \u06A9\u0633\u06CC \u06A9\u06D2 \u067E\u0627\u0633 \u062F\u0631\u0633\u062A URL \u0646\u06C1\u06CC\u06BA \u062A\u06BE\u0627\u06D4",kikuCaptureNoneSelected:"\u0645\u062D\u0641\u0648\u0638 \u06A9\u0631\u0646\u06D2 \u06A9\u06D2 \u0644\u06CC\u06D2 \u06A9\u0648\u0626\u06CC \u0622\u0626\u0679\u0645 \u0645\u0646\u062A\u062E\u0628 \u0646\u06C1\u06CC\u06BA \u06A9\u06CC\u0627 \u06AF\u06CC\u0627\u06D4",kikuDeleteDbError:"\u0688\u06CC\u0679\u0627 \u0628\u06CC\u0633 \u06A9\u06CC \u062E\u0631\u0627\u0628\u06CC \u06A9\u06CC \u0648\u062C\u06C1 \u0633\u06D2 \u062D\u0630\u0641 \u06A9\u0631\u0646\u06D2 \u0645\u06CC\u06BA \u0646\u0627\u06A9\u0627\u0645\u06CC\u06D4",kikuDeleteDone:"\u0622\u067E \u06A9\u06CC \u0645\u062D\u0641\u0648\u0638 \u06A9\u0631\u062F\u06C1 \u0627\u0634\u06CC\u0627\u0621 \u0633\u06D2 \u06C1\u0679\u0627 \u062F\u06CC\u0627 \u06AF\u06CC\u0627\u06D4",kikuDeleteNoContext:"\u062D\u0630\u0641 \u06A9\u0631\u0646\u06D2 \u06A9\u06D2 \u0644\u06CC\u06D2 \u0635\u0641\u062D\u06D2 \u06A9\u0627 \u0633\u06CC\u0627\u0642 \u0648 \u0633\u0628\u0627\u0642 \u0641\u0631\u0627\u06C1\u0645 \u0646\u06C1\u06CC\u06BA \u06A9\u06CC\u0627 \u06AF\u06CC\u0627\u06D4",kikuMemoryIntro:"\u0633\u0627\u0626\u0679\u0633 \u0628\u06BE\u0631 \u0645\u06CC\u06BA \u0645\u062D\u0641\u0648\u0638 \u06A9\u0631\u062F\u06C1 \u062A\u0645\u0627\u0645 \u0686\u06CC\u0632\u06CC\u06BA \u0622\u067E \u06A9\u06CC \u0646\u062C\u06CC \u06CC\u0627\u062F\u062F\u0627\u0634\u062A \u0645\u06CC\u06BA \u06C1\u06CC\u06BA\u06D4 \u0627\u067E\u0646\u06CC \u062E\u0641\u06CC\u06C1 \u06A9\u0644\u06CC\u062F \u0633\u06D2 \u06A9\u06BE\u0648\u0644\u06CC\u06BA:",kikuMintNeeded:"\u0633\u0627\u0626\u0679\u0633 \u067E\u0631 \u0686\u06CC\u0632\u06CC\u06BA \u0645\u062D\u0641\u0648\u0638 \u06A9\u0631\u0646\u06D2 \u06A9\u06D2 \u0644\u06CC\u06D2 \u0622\u067E \u06A9\u0648 kiku \u06A9\u06CC \u0636\u0631\u0648\u0631\u062A \u06C1\u06D2 \u2014 \u0645\u06CC\u06BA \u0622\u067E \u06A9\u06D2 \u0644\u06CC\u06D2 \u0627\u06CC\u06A9 \u06A9\u0644\u06CC\u062F \u0628\u0646\u0627\u0624\u06BA \u06AF\u0627\u06D4 \u06CC\u06C1 \u0635\u0631\u0641 \u0627\u06CC\u06A9 \u0628\u0627\u0631 \u062F\u06A9\u06BE\u0627\u0626\u06CC \u062C\u0627\u062A\u06CC \u06C1\u06D2\u060C \u0627\u0633\u06D2 \u0645\u062D\u0641\u0648\u0638 \u0631\u06A9\u06BE\u06CC\u06BA\u06D4",kikuMintOffer:"\u0645\u06CC\u06BA \u0627\u0633\u06D2 \u0622\u067E \u06A9\u06D2 \u0644\u06CC\u06D2 \u0645\u062D\u0641\u0648\u0638 \u0631\u06A9\u06BE \u0633\u06A9\u062A\u0627 \u06C1\u0648\u06BA \u2014 \u0645\u06CC\u06BA \u0622\u067E \u06A9\u06D2 \u0644\u06CC\u06D2 \u0627\u06CC\u06A9 kiku \u06A9\u0644\u06CC\u062F \u0628\u0646\u0627\u0624\u06BA \u06AF\u0627\u06D4 \u06CC\u06C1 \u0635\u0631\u0641 \u0627\u06CC\u06A9 \u0628\u0627\u0631 \u062F\u06A9\u06BE\u0627\u0626\u06CC \u062C\u0627\u062A\u06CC \u06C1\u06D2\u06D4",kikuNeedKeyToUpdate:"\u0627\u067E\u0646\u06CC kiku \u06A9\u0644\u06CC\u062F \u062F\u0631\u062C \u06A9\u0631\u06CC\u06BA \u062A\u0627\u06A9\u06C1 \u0645\u06CC\u06BA \u0622\u067E \u06A9\u06CC \u0645\u062D\u0641\u0648\u0638 \u06A9\u0631\u062F\u06C1 \u0627\u0634\u06CC\u0627\u0621 \u062A\u0644\u0627\u0634 \u0627\u0648\u0631 \u0627\u067E \u0688\u06CC\u0679 \u06A9\u0631 \u0633\u06A9\u0648\u06BA\u06D4",micDenied:"\u0645\u0627\u0626\u06CC\u06A9\u0631\u0648\u0641\u0648\u0646 \u0628\u0644\u0627\u06A9 \u06C1\u06D2\u06D4 \u0627\u0633 \u0633\u0627\u0626\u0679 \u06A9\u06D2 \u0644\u06CC\u06D2 \u0645\u0627\u0626\u06CC\u06A9 \u06A9\u06CC \u0627\u062C\u0627\u0632\u062A \u062F\u06CC\u06BA \u0627\u0648\u0631 \u062F\u0648\u0628\u0627\u0631\u06C1 \u06A9\u0648\u0634\u0634 \u06A9\u0631\u06CC\u06BA\u06D4",micFailed:"\u0622\u0648\u0627\u0632 \u0633\u0646\u0627\u0626\u06CC \u0646\u06C1\u06CC\u06BA \u062F\u06CC\u06D4 \u062F\u0648\u0628\u0627\u0631\u06C1 \u06A9\u0648\u0634\u0634 \u06A9\u0631\u06CC\u06BA\u06D4",micInsecure:"\u0622\u0648\u0627\u0632 \u06A9\u06D2 \u0644\u06CC\u06D2 \u0645\u062D\u0641\u0648\u0638 (https) \u06A9\u0646\u06A9\u0634\u0646 \u062F\u0631\u06A9\u0627\u0631 \u06C1\u06D2\u06D4",micLangUnsupported:"\u06CC\u06C1 \u0628\u0631\u0627\u0624\u0632\u0631 \u0627\u0628\u06BE\u06CC \u0627\u0633 \u0632\u0628\u0627\u0646 \u06A9\u0648 \u0646\u06C1\u06CC\u06BA \u0633\u0645\u062C\u06BE \u0633\u06A9\u062A\u0627\u06D4 \u0628\u0631\u0627\u06C1 \u06A9\u0631\u0645 \u0679\u0627\u0626\u067E \u06A9\u0631\u06CC\u06BA\u06D4",micMissing:"\u06A9\u0648\u0626\u06CC \u0645\u0627\u0626\u06CC\u06A9\u0631\u0648\u0641\u0648\u0646 \u0646\u06C1\u06CC\u06BA \u0645\u0644\u0627\u06D4",micNetwork:"\u0622\u0648\u0627\u0632 \u06A9\u06D2 \u0644\u06CC\u06D2 \u0627\u0646\u0679\u0631\u0646\u06CC\u0679 \u06A9\u0646\u06A9\u0634\u0646 \u062F\u0631\u06A9\u0627\u0631 \u06C1\u06D2\u06D4 \u0627\u067E\u0646\u0627 \u06A9\u0646\u06A9\u0634\u0646 \u0686\u06CC\u06A9 \u06A9\u0631\u06CC\u06BA \u0627\u0648\u0631 \u062F\u0648\u0628\u0627\u0631\u06C1 \u06A9\u0648\u0634\u0634 \u06A9\u0631\u06CC\u06BA\u06D4",micNoSpeech:"\u06A9\u0686\u06BE \u0633\u0646\u0627\u0626\u06CC \u0646\u06C1\u06CC\u06BA \u062F\u06CC\u0627\u06D4 \u0645\u0627\u0626\u06CC\u06A9 \u06A9\u06D2 \u0642\u0631\u06CC\u0628 \u0622 \u06A9\u0631 \u062F\u0648\u0628\u0627\u0631\u06C1 \u0628\u0648\u0644\u06CC\u06BA\u06D4",namePlaceholder:"\u0627\u067E\u0646\u0627 \u0646\u0627\u0645 \u0644\u06A9\u06BE\u06CC\u06BA\u2026",nameStepAsk:"\u0645\u06CC\u06BA \u0622\u067E \u06A9\u0648 \u06A9\u0633 \u0646\u0627\u0645 \u0633\u06D2 \u067E\u06A9\u0627\u0631\u0648\u06BA\u061F",nameStepLead:"\u0645\u06CC\u06BA \u0622\u067E \u06A9\u06D2 \u0644\u06CC\u06D2 \u0627\u0633 \u0633\u0627\u0626\u0679 \u06CC\u0627 \u06A9\u0633\u06CC \u062F\u0648\u0633\u0631\u06CC \u0633\u0627\u0626\u0679 \u067E\u0631 \u06A9\u0686\u06BE \u0628\u06BE\u06CC \u062A\u0644\u0627\u0634\u060C \u062A\u0635\u0648\u0631 \u06CC\u0627 \u0645\u062D\u0641\u0648\u0638 \u06A9\u0631 \u0633\u06A9\u062A\u0627 \u06C1\u0648\u06BA\u06D4",nameStepTitle:"\u0622\u067E \u0633\u06D2 \u0645\u0644 \u06A9\u0631 \u062E\u0648\u0634\u06CC \u06C1\u0648\u0626\u06CC\u06D4",namesAsWritten:"\u0646\u0627\u0645 \u0627\u0648\u0631 \u062A\u0641\u0635\u06CC\u0644\u0627\u062A \u0628\u0627\u0644\u06A9\u0644 \u0648\u06CC\u0633\u06D2 \u062C\u06CC\u0633\u06D2 \u0633\u0627\u0626\u0679 \u067E\u0631 \u062F\u0631\u062C \u06C1\u06CC\u06BA\u06D4",pillCompareTop2:"\u0628\u06C1\u062A\u0631\u06CC\u0646 2 \u06A9\u0627 \u0645\u0648\u0627\u0632\u0646\u06C1 \u06A9\u0631\u06CC\u06BA",pillCompareTop2Query:"{a} \u0627\u0648\u0631 {b} \u06A9\u0627 \u0645\u0648\u0627\u0632\u0646\u06C1 \u06A9\u0631\u06CC\u06BA",pillFindAlternatives:"\u0645\u062A\u0628\u0627\u062F\u0644 \u062A\u0644\u0627\u0634 \u06A9\u0631\u06CC\u06BA",pillFindAlternativesQuery:"{name} \u06A9\u06D2 \u0627\u0686\u06BE\u06D2 \u0645\u062A\u0628\u0627\u062F\u0644 \u06A9\u06CC\u0627 \u06C1\u06CC\u06BA\u061F",pillMoreOn:"{name} \u06A9\u06D2 \u0628\u0627\u0631\u06D2 \u0645\u06CC\u06BA \u0645\u0632\u06CC\u062F",pillMoreOnQuery:"\u0645\u062C\u06BE\u06D2 {name} \u06A9\u06D2 \u0628\u0627\u0631\u06D2 \u0645\u06CC\u06BA \u0645\u0632\u06CC\u062F \u0628\u062A\u0627\u0626\u06CC\u06BA",pillRecommend:"\u06A9\u0686\u06BE \u062A\u062C\u0648\u06CC\u0632 \u06A9\u0631\u06CC\u06BA",pillRecommendQuery:"\u0622\u067E \u0645\u06CC\u0631\u06D2 \u0644\u06CC\u06D2 \u06A9\u06CC\u0627 \u062A\u062C\u0648\u06CC\u0632 \u06A9\u0631\u062A\u06D2 \u06C1\u06CC\u06BA\u061F",pillShowPopular:"\u0645\u0642\u0628\u0648\u0644 \u0627\u0634\u06CC\u0627\u0621 \u062F\u06A9\u06BE\u0627\u0626\u06CC\u06BA",pillShowPopularQuery:"\u0622\u067E \u06A9\u06CC \u0633\u0628 \u0633\u06D2 \u0645\u0642\u0628\u0648\u0644 \u0627\u0634\u06CC\u0627\u0621 \u06A9\u0648\u0646 \u0633\u06CC \u06C1\u06CC\u06BA\u061F",pillSimilarOptions:"\u0645\u0644\u062A\u06D2 \u062C\u0644\u062A\u06D2 \u0627\u062E\u062A\u06CC\u0627\u0631\u0627\u062A",pillSimilarOptionsQuery:"\u0645\u062C\u06BE\u06D2 {name} \u062C\u06CC\u0633\u06CC \u0645\u0632\u06CC\u062F \u0686\u06CC\u0632\u06CC\u06BA \u062F\u06A9\u06BE\u0627\u0626\u06CC\u06BA",pillUnder:"{amount} \u0633\u06D2 \u06A9\u0645",pillUnderQuery:"{amount} \u0633\u06D2 \u06A9\u0645 \u0642\u06CC\u0645\u062A \u0648\u0627\u0644\u06D2 \u0627\u062E\u062A\u06CC\u0627\u0631\u0627\u062A \u062F\u06A9\u06BE\u0627\u0626\u06CC\u06BA",pillWhichBest:"\u06A9\u0648\u0646 \u0633\u0627 \u0628\u06C1\u062A\u0631\u06CC\u0646 \u06C1\u06D2\u061F",pillWhichBestQuery:"\u0622\u067E \u06A9\u0648\u0646 \u0633\u0627 \u062A\u062C\u0648\u06CC\u0632 \u06A9\u0631\u06CC\u06BA \u06AF\u06D2 \u0627\u0648\u0631 \u06A9\u06CC\u0648\u06BA\u061F",replyingOriginal:"\u0645\u06CC\u06BA {lang} \u0645\u06CC\u06BA \u062C\u0648\u0627\u0628 \u062F\u06D2 \u0631\u06C1\u0627 \u06C1\u0648\u06BA\u060C \u0646\u062A\u0627\u0626\u062C \u0633\u0627\u0626\u0679 \u06A9\u06D2 \u0645\u0637\u0627\u0628\u0642 \u06C1\u06CC\u06BA\u06D4 \u0645\u062C\u06BE \u0633\u06D2 \u06A9\u0686\u06BE \u0628\u06BE\u06CC \u067E\u0648\u0686\u06BE\u06CC\u06BA\u06D4",replyingTranslated:"\u0645\u06CC\u06BA {lang} \u0645\u06CC\u06BA \u062C\u0648\u0627\u0628 \u062F\u06D2 \u0631\u06C1\u0627 \u06C1\u0648\u06BA\u060C \u0646\u062A\u0627\u0626\u062C \u06A9\u0627 \u062A\u0631\u062C\u0645\u06C1 \u0628\u06BE\u06CC \u06A9\u06CC\u0627 \u06AF\u06CC\u0627 \u06C1\u06D2\u06D4 \u0645\u062C\u06BE \u0633\u06D2 \u06A9\u0686\u06BE \u0628\u06BE\u06CC \u067E\u0648\u0686\u06BE\u06CC\u06BA\u06D4",statusSent:"\u0628\u06BE\u06CC\u062C \u062F\u06CC\u0627 \u06AF\u06CC\u0627",statusStopped:"\u0628\u06BE\u06CC\u062C \u062F\u06CC\u0627 \u06AF\u06CC\u0627 \xB7 \u062C\u0648\u0627\u0628 \u0631\u0648\u06A9 \u062F\u06CC\u0627 \u06AF\u06CC\u0627",thinking:"\u0633\u0648\u0686 \u0631\u06C1\u0627 \u06C1\u06D2",thoughtForSeconds:"{duration} \u062A\u06A9 \u0633\u0648\u0686\u0627",thoughtProcess:"\u0633\u0648\u0686\u0646\u06D2 \u06A9\u0627 \u0639\u0645\u0644",vizDisclaimerImage:"\u0645\u0635\u0646\u0648\u0639\u06CC \u0630\u06C1\u0627\u0646\u062A \u0633\u06D2 \u062A\u06CC\u0627\u0631 \u06A9\u0631\u062F\u06C1 \u2014 \u0627\u0635\u0644 \u067E\u0631\u0648\u0688\u06A9\u0679 \u0633\u06D2 \u0631\u0646\u06AF\u060C \u0633\u0627\u0626\u0632 \u0627\u0648\u0631 \u062C\u06AF\u06C1 \u0645\u062E\u062A\u0644\u0641 \u06C1\u0648 \u0633\u06A9\u062A\u06CC \u06C1\u06D2\u06D4",vizDisclaimerVideo:"\u0645\u0635\u0646\u0648\u0639\u06CC \u0630\u06C1\u0627\u0646\u062A \u0633\u06D2 \u062A\u06CC\u0627\u0631 \u06A9\u0631\u062F\u06C1 \u2014 \u0627\u0635\u0644 \u067E\u0631\u0648\u0688\u06A9\u0679 \u0633\u06D2 \u0631\u0646\u06AF\u060C \u0633\u0627\u0626\u0632 \u0627\u0648\u0631 \u062D\u0631\u06A9\u062A \u0645\u062E\u062A\u0644\u0641 \u06C1\u0648 \u0633\u06A9\u062A\u06CC \u06C1\u06D2\u06D4",vizUnavailable:"\u067E\u06CC\u0634 \u0646\u0638\u0627\u0631\u06C1 \u0644\u0648\u0688 \u0646\u06C1\u06CC\u06BA \u06C1\u0648 \u0633\u06A9\u0627\u06D4",voiceHint:"\u0628\u0633 \u0628\u0627\u062A \u06A9\u0631\u06CC\u06BA \u2014 \u062C\u0628 \u0622\u067E \u0631\u06A9\u06CC\u06BA \u06AF\u06D2 \u062A\u0648 \u0645\u06CC\u06BA \u062C\u0648\u0627\u0628 \u062F\u0648\u06BA \u06AF\u0627\u06D4",voiceListening:"\u0633\u0646 \u0631\u06C1\u0627 \u06C1\u06D2\u2026 \u0631\u0648\u06A9\u0646\u06D2 \u06A9\u06D2 \u0644\u06CC\u06D2 \u0645\u0627\u0626\u06CC\u06A9 \u067E\u0631 \u0679\u06CC\u067E \u06A9\u0631\u06CC\u06BA",voiceModeExit:"\u06C1\u06CC\u0646\u0688\u0632 \u0641\u0631\u06CC \u0633\u06D2 \u0646\u06A9\u0644\u06CC\u06BA",voiceModeStart:"\u06C1\u06CC\u0646\u0688\u0632 \u0641\u0631\u06CC \u06AF\u0641\u062A\u06AF\u0648",voiceMuted:"\u062E\u0627\u0645\u0648\u0634 (\u0645\u06CC\u0648\u0679)",voiceMutedHint:"\u062F\u0648\u0628\u0627\u0631\u06C1 \u0628\u0648\u0644\u0646\u06D2 \u06A9\u06D2 \u0644\u06CC\u06D2 \u0645\u0627\u0626\u06CC\u06A9\u0631\u0648\u0641\u0648\u0646 \u067E\u0631 \u0679\u06CC\u067E \u06A9\u0631\u06CC\u06BA\u06D4",voicePhaseListening:"\u0633\u0646 \u0631\u06C1\u0627 \u06C1\u06D2",voicePhaseSpeaking:"\u0628\u0648\u0644 \u0631\u06C1\u0627 \u06C1\u06D2",voicePhaseThinking:"\u0633\u0648\u0686 \u0631\u06C1\u0627 \u06C1\u06D2",voiceSending:"\u0633\u0645\u062C\u06BE \u06AF\u06CC\u0627 \u2014 \u0628\u06BE\u06CC\u062C \u0631\u06C1\u0627 \u06C1\u06D2\u2026",termsStepTitle:"\u0631\u0627\u0632\u062F\u0627\u0631\u06CC \u0627\u0648\u0631 \u0627\u0633\u062A\u0639\u0645\u0627\u0644 \u06A9\u06CC \u0634\u0631\u0627\u0626\u0637",termsStepSubtitle:"\u0634\u0641\u0627\u0641\u060C \u06AF\u0645\u0646\u0627\u0645\u060C \u0627\u0648\u0631 \u0628\u063A\u06CC\u0631 \u06A9\u0633\u06CC \u0630\u0627\u062A\u06CC \u0634\u0646\u0627\u062E\u062A\u06CC \u0688\u06CC\u0679\u0627 \u06A9\u06D2\u06D4",termsPiiTitle:"\u06A9\u0648\u0626\u06CC \u0630\u0627\u062A\u06CC \u0634\u0646\u0627\u062E\u062A\u06CC \u0688\u06CC\u0679\u0627 \u0627\u06A9\u0679\u06BE\u0627 \u0646\u06C1\u06CC\u06BA \u06A9\u06CC\u0627 \u062C\u0627\u062A\u0627",termsPiiDesc:"\u06C1\u0645 \u0622\u067E \u06A9\u06CC \u0686\u06CC\u0679\u0633 \u06CC\u0627 \u0635\u0648\u062A\u06CC \u06AF\u0641\u062A\u06AF\u0648 \u0633\u06D2 \u06A9\u0628\u06BE\u06CC \u0628\u06BE\u06CC \u06A9\u0648\u0626\u06CC \u0630\u0627\u062A\u06CC \u0634\u0646\u0627\u062E\u062A\u06CC \u0645\u0639\u0644\u0648\u0645\u0627\u062A (\u06A9\u0648\u0626\u06CC \u0627\u06CC \u0645\u06CC\u0644\u060C \u0641\u0648\u0646 \u0646\u0645\u0628\u0631\u060C \u06CC\u0627 \u062D\u0642\u06CC\u0642\u06CC \u0646\u0627\u0645) \u0627\u06A9\u0679\u06BE\u0627 \u06CC\u0627 \u0645\u062D\u0641\u0648\u0638 \u0646\u06C1\u06CC\u06BA \u06A9\u0631\u062A\u06D2\u06D4",termsSessionTitle:"\u06AF\u0645\u0646\u0627\u0645 \u0633\u06CC\u0634\u0646 \u0679\u0648\u06A9\u0646\u0632",termsSessionDesc:"\u0622\u067E \u06A9\u0627 \u0633\u06CC\u0634\u0646 \u0635\u0631\u0641 \u0633\u06CC\u0627\u0642 \u0648 \u0633\u0628\u0627\u0642 \u0628\u0631\u0642\u0631\u0627\u0631 \u0631\u06A9\u06BE\u0646\u06D2 \u06A9\u06D2 \u0644\u06CC\u06D2 \u0627\u06CC\u06A9 \u06AF\u0645\u0646\u0627\u0645 \u0679\u0648\u06A9\u0646 \u0627\u0633\u062A\u0639\u0645\u0627\u0644 \u06A9\u0631\u062A\u0627 \u06C1\u06D2\u06D4 \u06CC\u06C1 \u06A9\u0628\u06BE\u06CC \u0628\u06BE\u06CC \u0622\u067E \u06A9\u06CC \u062D\u0642\u06CC\u0642\u06CC \u0634\u0646\u0627\u062E\u062A \u0633\u06D2 \u0646\u06C1\u06CC\u06BA \u062C\u0691\u062A\u0627\u06D4",termsMemoryTitle:"\u0639\u0627\u0631\u0636\u06CC \u0686\u06CC\u0679\u0633 \u0628\u0645\u0642\u0627\u0628\u0644\u06C1 \u0645\u06CC\u0645\u06CC \u0648\u0627\u0644\u0679",termsMemoryDesc:'\u0639\u0627\u0645 \u0686\u06CC\u0679\u0633 \u0639\u0627\u0631\u0636\u06CC \u06C1\u06CC\u06BA \u2014 \u0679\u06CC\u0628 \u0628\u0646\u062F \u06A9\u0631\u0646\u06D2 \u06CC\u0627 \u0686\u06CC\u0679 \u0635\u0627\u0641 \u06A9\u0631\u0646\u06D2 \u0633\u06D2 \u0648\u06C1 \u06C1\u0645\u06CC\u0634\u06C1 \u06A9\u06D2 \u0644\u06CC\u06D2 \u062E\u062A\u0645 \u06C1\u0648 \u062C\u0627\u062A\u06CC \u06C1\u06CC\u06BA\u06D4 \u0648\u06C1 \u0686\u06CC\u0632\u06CC\u06BA \u062C\u0648 \u0622\u067E "@kiku" \u0633\u06D2 \u0645\u062D\u0641\u0648\u0638 \u06A9\u0631\u062A\u06D2 \u06C1\u06CC\u06BA \u0627\u0646\u06A9\u0631\u067E\u0679\u0688 \u06C1\u0648\u062A\u06CC \u06C1\u06CC\u06BA \u0627\u0648\u0631 \u0627\u0646\u06C1\u06CC\u06BA \u0627\u067E\u0646\u06CC \u062E\u0641\u06CC\u06C1 \u06A9\u0644\u06CC\u062F \u06A9\u06D2 \u0630\u0631\u06CC\u0639\u06D2 mimi.akropolys.cloud \u067E\u0631 \u06A9\u06BE\u0648\u0644\u0627 \u062C\u0627 \u0633\u06A9\u062A\u0627 \u06C1\u06D2\u06D4',termsCookieTitle:"\u0645\u06CC\u0632\u0628\u0627\u0646 \u0648\u06CC\u0628 \u0633\u0627\u0626\u0679 \u0679\u06CC\u0644\u06CC \u0645\u06CC\u0679\u0631\u06CC",termsCookieDesc:"\u062C\u0633 \u0648\u06CC\u0628 \u0633\u0627\u0626\u0679 \u067E\u0631 kiku \u0634\u0627\u0645\u0644 \u06C1\u06D2 \u0648\u06C1 \u0627\u067E\u0646\u06CC \u06A9\u0648\u06A9\u06CC \u067E\u0627\u0644\u06CC\u0633\u06CC \u06A9\u06D2 \u062A\u062D\u062A \u06A9\u0648\u06A9\u06CC\u0632 \u0627\u0648\u0631 \u0627\u06CC\u0646\u0627\u0644\u06CC\u0679\u06A9\u0633 \u062C\u0645\u0639 \u06A9\u0631 \u0633\u06A9\u062A\u06CC \u06C1\u06D2\u060C \u062C\u0648 kiku \u06A9\u06D2 \u06A9\u0646\u0679\u0631\u0648\u0644 \u0633\u06D2 \u0628\u0627\u06C1\u0631 \u06C1\u06D2\u06D4",termsAgreeButton:"\u0645\u062A\u0641\u0642 \u06C1\u0648\u06BA \u0627\u0648\u0631 \u062C\u0627\u0631\u06CC \u0631\u06A9\u06BE\u06CC\u06BA",termsAgreeCounting:"\u0645\u062A\u0641\u0642 \u06C1\u0648\u06BA \u0627\u0648\u0631 \u062C\u0627\u0631\u06CC \u0631\u06A9\u06BE\u06CC\u06BA ({seconds}s)",termsPlaceholder:"\u0628\u0631\u0627\u0626\u06D2 \u0645\u06C1\u0631\u0628\u0627\u0646\u06CC \u0627\u0648\u067E\u0631 \u062F\u06CC \u06AF\u0626\u06CC \u0631\u0627\u0632\u062F\u0627\u0631\u06CC \u0627\u0648\u0631 \u0634\u0631\u0627\u0626\u0637 \u06A9\u0627 \u062C\u0627\u0626\u0632\u06C1 \u0644\u06CC\u06BA \u0627\u0648\u0631 \u0642\u0628\u0648\u0644 \u06A9\u0631\u06CC\u06BA\u2026",whatHaveYouSaved:"\u0622\u067E \u0646\u06D2 \u06A9\u06CC\u0627 \u0645\u062D\u0641\u0648\u0638 \u06A9\u06CC\u0627 \u06C1\u06D2\u061F",retry:"\u062F\u0648\u0628\u0627\u0631\u06C1 \u06A9\u0648\u0634\u0634 \u06A9\u0631\u06CC\u06BA",edit:"\u062A\u0631\u0645\u06CC\u0645 \u06A9\u0631\u06CC\u06BA",copy:"\u06A9\u0627\u067E\u06CC \u06A9\u0631\u06CC\u06BA",copied:"\u06A9\u0627\u067E\u06CC \u06C1\u0648 \u06AF\u06CC\u0627",msgFailed:"\u0627\u0631\u0633\u0627\u0644 \u0646\u0627\u06A9\u0627\u0645 \u06C1\u0648 \u06AF\u06CC\u0627"}};var Hn=require("react/jsx-runtime");function sa(e){if(!e)return null;let t=e.trim().toLowerCase(),a={english:"english",en:"english",swahili:"swahili",kiswahili:"swahili",sw:"swahili",french:"french",fran\u00E7ais:"french",francais:"french",fr:"french",spanish:"spanish",espa\u00F1ol:"spanish",espanol:"spanish",es:"spanish",arabic:"arabic",\u0627\u0644\u0639\u0631\u0628\u064A\u0629:"arabic",ar:"arabic",portuguese:"portuguese",portugu\u00EAs:"portuguese",pt:"portuguese",hindi:"hindi",\u0939\u093F\u0928\u094D\u0926\u0940:"hindi",hi:"hindi",chinese:"chinese",\u4E2D\u6587:"chinese",zh:"chinese",japanese:"japanese",\u65E5\u672C\u8A9E:"japanese",ja:"japanese",urdu:"urdu",\u0627\u0631\u062F\u0648:"urdu",ur:"urdu"}[t];return!a||!(a in Bn)?null:{strings:Bn[a],dir:a==="arabic"||a==="urdu"?"rtl":"ltr",bcp47:a==="arabic"?"ar":a==="hindi"?"hi":a==="chinese"?"zh":a==="japanese"?"ja":a==="urdu"?"ur":a==="swahili"?"sw":a==="french"?"fr":a==="spanish"?"es":a==="portuguese"?"pt":"en"}}function ul(e){let t=/var\(\s*(--[\w-]+)/.exec(e)?.[1];if(!t||typeof document>"u")return"";for(let r of[document.documentElement,document.body]){let a=r?getComputedStyle(r).getPropertyValue(t).trim():"";if(a)return a.split(",")[0].trim()}return""}function Ai({shopperLanguage:e,theme:t}){let r=(0,Pi.useAkropolysContext)(),[a,n]=(0,Oe.useState)(()=>sa(e)?.strings||{}),[o,c]=(0,Oe.useState)(!0),[i,s]=(0,Oe.useState)(()=>!e||!!sa(e)),l=e?`akropolys_ui_dir_${e.toLowerCase()}`:"",[u,d]=(0,Oe.useState)(()=>{let E=sa(e);if(E)return E.dir==="rtl";if(ea(e)?.rtl)return!0;if(typeof window>"u"||!l)return!1;try{return localStorage.getItem(l)==="rtl"}catch{return!1}}),[h,p]=(0,Oe.useState)(()=>sa(e)?.bcp47||""),[k,f]=(0,Oe.useState)(null),[w,z]=(0,Oe.useState)(()=>wn(r)),[L,$]=(0,Oe.useState)(()=>!!wn(r));(0,Oe.useEffect)(()=>{if(!e){p(""),f(null),n({}),s(!0),d(!1);return}let E=sa(e),j=ea(e),C=e.trim().toLowerCase(),_=C==="urdu"||C==="ur"||e.trim()==="\u0627\u0631\u062F\u0648"||!E;E?(n(E.strings),d(E.dir==="rtl"),p(E.bcp47),s(!_)):(j?.rtl&&d(!0),s(!1));let Q=!1;return(async()=>{try{let g=await r.getUIStrings?.(e,hr);if(!Q&&g?.complete){c(g.curated!==!1),n(D=>({...g.strings,...E?.strings||{}})),d(g.dir==="rtl"),p(g.bcp47||E?.bcp47||"");try{localStorage.setItem(l,g.dir)}catch{}g.font&&(await Ia(g.font,1200),Q||f(g.font))}}catch{}Q||s(!0)})(),()=>{Q=!0}},[e,l,r]),(0,Oe.useEffect)(()=>{let E=!1;return(async()=>{try{let j=await Sn(r);!E&&j&&z(j)}catch{}E||$(!0)})(),()=>{E=!0}},[r]),xn(k),xn(w);let m=Oe.default.useMemo(()=>{let j=(typeof t=="object"&&t?.fontFamily?t.fontFamily:"").split(",")[0].trim(),C=/^var\(/i.test(j),oe=j.replace(/^['"]|['"]$/g,""),_=C?ul(j):"",Q=C?_?`${_}, `:"":oe?`"${oe}", `:"";if(k)return`"${k.family}", ${Q}"Geist", system-ui, sans-serif`;let g=e?e.trim().toLowerCase():"";if(g==="japanese"||g==="ja"||g==="\u65E5\u672C\u8A9E")return`${Q}"Geist", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic", "Meiryo", system-ui, sans-serif`;if(g==="chinese"||g==="zh"||g==="\u4E2D\u6587")return`${Q}"Geist", "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", system-ui, sans-serif`;if(g==="urdu"||g==="ur"||g==="\u0627\u0631\u062F\u0648")return`"Noto Nastaliq Urdu", ${Q}"IBM Plex Sans Arabic", "Geist", system-ui, sans-serif`;if(g==="arabic"||g==="ar"||g==="\u0627\u0644\u0639\u0631\u0628\u064A\u0629")return`"IBM Plex Sans Arabic", ${Q}"Geist", system-ui, sans-serif`;if(g==="hindi"||g==="hi"||g==="\u0939\u093F\u0928\u094D\u0926\u0940")return`"Hind", ${Q}"Geist", system-ui, sans-serif`},[k,e,typeof t=="object"&&t?t.fontFamily:void 0]),S=Oe.default.useMemo(()=>{let E=0,j=0;for(let C of Object.values(a))for(let oe of C){let _=oe.codePointAt(0)??0;_<192||/\p{L}/u.test(oe)&&(_<=591?E++:j++)}return j>E},[a]),[F,v]=(0,Oe.useState)(0);(0,Oe.useEffect)(()=>{if(typeof document>"u"||!document.fonts?.ready)return;let E=!0;return document.fonts.ready.then(()=>{E&&v(j=>j+1)}),()=>{E=!1}},[k]);let J=Oe.default.useMemo(()=>{if(!S||typeof document>"u")return!0;let j=(typeof t=="object"&&t?.fontFamily?t.fontFamily:"").split(",")[0].trim();if(!j)return!1;let C="";for(let _ of Object.values(a))if(_){C=_;break}if(!C)return!0;let oe=C.replace(/\s+/g,"");if(!oe)return!0;try{let Q=document.createElement("canvas").getContext("2d");if(!Q)return!0;let g=j.startsWith("var(")&&getComputedStyle(document.documentElement).getPropertyValue(j.slice(4,-1).trim()).trim()||j;Q.font=`16px ${g}, __akropolys_nonexistent_font__`;let D=Q.measureText(oe).width;Q.font="16px __akropolys_nonexistent_font__";let Z=Q.measureText(oe).width;return Math.abs(D-Z)>1}catch{return!0}},[S,a,typeof t=="object"&&t?t.fontFamily:void 0,F]),W=(0,Oe.useCallback)((E,j)=>{let C=a[E]||hr[E]||E;if(j)for(let[oe,_]of Object.entries(j))C=C.split(`{${oe}}`).join(_);return C},[a]),G=(0,Oe.useCallback)((E,j)=>(a[E]||hr[E]||E).split(/(\{[a-zA-Z]+\})/g).map((oe,_)=>{let Q=oe.match(/^\{([a-zA-Z]+)\}$/);return Q&&j[Q[1]]!==void 0?(0,Hn.jsx)("bdi",{children:j[Q[1]]},_):(0,Hn.jsx)(Oe.default.Fragment,{children:oe},_)}),[a]);return{chromeStrings:a,chromeReady:i,chromeCurated:o,isRTL:u,speechLang:h,scriptFont:k,fontStack:m,isNonLatin:S,hostFontCovers:J,baseFontReady:L,t:W,tNode:G}}var ge=require("react");function Li({messages:e,loading:t,streaming:r,messageRefs:a}){let n=(0,ge.useRef)(null),o=(0,ge.useRef)(0),[c,i]=(0,ge.useState)(!1),[s,l]=(0,ge.useState)(1),[u,d]=(0,ge.useState)(0),h=(0,ge.useRef)(()=>{}),p=(0,ge.useRef)(null),k=(0,ge.useRef)(!1),f=(0,ge.useRef)(!0),w=(0,ge.useRef)(null),z=(0,ge.useRef)(null),L=(0,ge.useRef)(e.length),$=(0,ge.useRef)(!1),m=(0,ge.useRef)(()=>{}),S=(0,ge.useRef)(()=>{}),F=(0,ge.useRef)(null),v=(0,ge.useRef)(()=>{}),[J,W]=(0,ge.useState)(0),G=(0,ge.useRef)(0),E=(0,ge.useRef)(""),j=(0,ge.useRef)(()=>{}),C=(0,ge.useRef)(()=>{});(0,ge.useEffect)(()=>{let y=n.current;if(!y)return;let X,A=()=>{clearTimeout(X),X=setTimeout(()=>{k.current=!1},150)},R=()=>{clearTimeout(X),k.current=!0,j.current()},I=()=>{k.current&&A()};return y.addEventListener("touchstart",R,{passive:!0}),y.addEventListener("touchend",A,{passive:!0}),y.addEventListener("touchcancel",A,{passive:!0}),y.addEventListener("scroll",I,{passive:!0}),()=>{clearTimeout(X),y.removeEventListener("touchstart",R),y.removeEventListener("touchend",A),y.removeEventListener("touchcancel",A),y.removeEventListener("scroll",I)}},[]),(0,ge.useEffect)(()=>{let y=n.current;if(!y)return;let X=160,A=8,R=0,I=()=>{R=0;let ne=w.current?.offsetHeight??0,ke=y.scrollHeight-ne-y.scrollTop-y.clientHeight;ke<=A&&(f.current||C.current(),f.current=!0,O.current()),i(ke>X&&!f.current);let de=y.scrollHeight-y.clientHeight;l(de>8?Math.min(1,Math.max(0,y.scrollTop/de)):1);let Ne=y.scrollTop+y.clientHeight*.33,$e=0;for(let et=0;et<a.current.length;et++){let Ke=a.current[et];Ke&&Ke.offsetTop<=Ne&&($e=et)}d($e)},re=()=>{R||(R=requestAnimationFrame(I))};I(),y.addEventListener("scroll",re,{passive:!0});let pe=new ResizeObserver(()=>{z.current?m.current("sync"):f.current&&!k.current&&S.current(),re()});pe.observe(y);for(let ne of a.current)ne&&pe.observe(ne);return()=>{R&&cancelAnimationFrame(R),y.removeEventListener("scroll",re),pe.disconnect()}},[e.length,a]);let oe=(0,ge.useCallback)(y=>{let X=`${y}:${G.current}`;E.current!==X&&(E.current=X,W(A=>A+1))},[]),[_,Q]=(0,ge.useState)(!1),g=(0,ge.useRef)(!1),D=(0,ge.useCallback)(()=>{g.current||(g.current=!0,Q(!0))},[]),Z=(0,ge.useCallback)(()=>{g.current&&(g.current=!1,Q(!1))},[]),O=(0,ge.useRef)(()=>{});O.current=Z;let[B,ae]=(0,ge.useState)(!1),le=(0,ge.useRef)(!1),me=(0,ge.useRef)(0),M=(0,ge.useCallback)(()=>{le.current=!1,ae(!1)},[]),N=(0,ge.useCallback)(()=>{E.current="",M(),Z()},[M,Z]),T=(0,ge.useCallback)(()=>{le.current&&(performance.now()-me.current<700||M())},[M]);j.current=T,C.current=N,(0,ge.useEffect)(()=>{if(J===0)return;le.current=!0,me.current=performance.now(),ae(!0);let y=setTimeout(M,4200);return()=>clearTimeout(y)},[J,M]);let q=(0,ge.useCallback)(()=>{$.current=!1,z.current&&(z.current=null,w.current&&(w.current.style.height=""))},[]);v.current=q,S.current=()=>{let y=n.current;if(!y)return;let X=y.scrollHeight-y.clientHeight;F.current?F.current(X):y.scrollTop=X},m.current=y=>{let X=n.current,A=w.current,R=z.current,I=de=>{let Ne=y==="sync"?F.current:p.current;Ne?Ne(de):X&&(X.scrollTop=de)},re=S.current;if(!X||!A||!R||!R.isConnected){q(),f.current&&re();return}let pe=parseFloat(getComputedStyle(X).paddingTop)||0;A.offsetHeight<X.clientHeight&&(A.style.height=`${X.clientHeight}px`);let ne=Math.max(0,R.offsetTop-pe),ke=ne+X.clientHeight-(X.scrollHeight-A.offsetHeight);if(ke<=0){q(),f.current=!0,re();return}ke!==A.offsetHeight&&(A.style.height=`${ke}px`),I(ne)};let H=(0,ge.useCallback)(y=>{let X=n.current,A=a.current[y];if(!X||!A)return;let R=A.offsetTop-Math.max(0,(X.clientHeight-A.clientHeight)/2),I=Math.max(0,Math.min(X.scrollHeight-X.clientHeight,R));p.current?p.current(I):X.scrollTo({top:I,behavior:"smooth"})},[a]),ie=(0,ge.useCallback)(()=>{let y=n.current;if(!y)return;f.current=!0,v.current(),C.current();let X=y.scrollHeight-y.clientHeight;p.current?p.current(X):y.scrollTo({top:X,behavior:"smooth"})},[]);return(0,ge.useLayoutEffect)(()=>{let y=n.current;if(!y)return;let X=e.slice(L.current);if(L.current=e.length,X.some(R=>R.role==="user")&&(f.current=!0,C.current(),z.current=null,$.current=!0),$.current){$.current=!1;for(let R=a.current.length-1;R>=0;R--){let I=a.current[R];if(I?.dataset.hskRole==="user"){z.current=I;break}}if(z.current){m.current("glide");return}}if(z.current){m.current("glide");return}let A=y.scrollTop;if(!f.current)D(),oe(e.length);else if(!k.current){S.current();return}y.scrollTop!==A&&h.current()},[e,t,r,a,oe,D]),(0,ge.useEffect)(()=>{let y=n.current;if(!y||typeof window<"u"&&window.matchMedia?.("(prefers-reduced-motion: reduce)").matches)return;let X=7,A=16,R=1/(window.devicePixelRatio||1),I=ce=>Math.round(ce/R)*R,re=y.scrollTop,pe=y.scrollTop,ne=y.scrollTop,ke=0,de=null,Ne=ce=>{ce!==ne&&(y.scrollTop=ce,ne=y.scrollTop)},$e=()=>{de!==null&&(cancelAnimationFrame(de),de=null),y.classList.remove("hsk-scrolling"),re=pe=ne=y.scrollTop};h.current=$e,p.current=ce=>{Math.abs(y.scrollTop-ne)>1&&(re=pe=ne=y.scrollTop);let Ie=Math.round(Math.max(0,Math.min(y.scrollHeight-y.clientHeight,ce)));Ie!==re&&(re=Ie,de===null&&(ke=performance.now(),de=requestAnimationFrame(et)))},F.current=ce=>{let Ie=Math.round(Math.max(0,Math.min(y.scrollHeight-y.clientHeight,ce)));de!==null&&(cancelAnimationFrame(de),de=null,y.classList.remove("hsk-scrolling")),y.scrollTop=Ie,re=pe=ne=y.scrollTop};let et=ce=>{let Ie=Math.min((ce-ke)/1e3,.05);if(ke=ce,pe+=(re-pe)*(1-Math.exp(-X*Ie)),Math.abs(re-pe)<R){pe=re,Ne(Math.round(re)),y.classList.remove("hsk-scrolling"),de=null;return}Ne(I(pe)),de=requestAnimationFrame(et)},Ke=ce=>{if(ce.ctrlKey)return;Math.abs(y.scrollTop-ne)>1&&(re=pe=ne=y.scrollTop),ce.deltaY<0&&(f.current&&(G.current+=1),f.current=!1,v.current()),j.current();let Ie=ce.deltaMode===1?A:ce.deltaMode===2?y.clientHeight:1,We=Math.max(0,y.scrollHeight-y.clientHeight),It=Math.round(Math.max(0,Math.min(We,re+ce.deltaY*Ie)));if(It===re){We>0&&ce.preventDefault();return}ce.preventDefault(),re=It,de===null&&(ke=performance.now(),y.classList.add("hsk-scrolling"),de=requestAnimationFrame(et))},qe=y.scrollTop,P=()=>{let ce=Math.abs(y.scrollTop-ne)>1;ce&&(o.current=performance.now(),y.scrollTop<qe-1&&f.current&&(G.current+=1,f.current=!1,v.current())),qe=y.scrollTop,de!==null&&ce&&(cancelAnimationFrame(de),de=null,y.classList.remove("hsk-scrolling"),re=pe=ne=y.scrollTop)};return y.addEventListener("wheel",Ke,{passive:!1}),y.addEventListener("scroll",P,{passive:!0}),()=>{y.removeEventListener("scroll",P),y.removeEventListener("wheel",Ke),de!==null&&cancelAnimationFrame(de),y.classList.remove("hsk-scrolling"),h.current=()=>{},p.current=null,F.current=null}},[]),{msgsContainerRef:n,spacerRef:w,lastExternalScrollRef:o,showJumpToBottom:c,scrollProgress:s,activeMsgIdx:u,jumpAlert:B,unreadBelow:_,jumpToMessage:H,jumpToBottom:ie,resetAlertArming:N}}var gr=require("react"),ml=400,kl=120,bl=.012,fl=.3,gl=1.2;function Ei(e,t){let[r,a]=(0,gr.useState)(e),n=(0,gr.useRef)(e),o=(0,gr.useRef)(null);return(0,gr.useEffect)(()=>{if(window.matchMedia?.("(prefers-reduced-motion: reduce)").matches||!e.startsWith(n.current)){n.current=e,a(e);return}if(n.current.length>=e.length)return;let i=performance.now(),s=l=>{let u=Math.min(l-i,50);i=l;let d=e.length-n.current.length,h=Math.min(t?fl:gl,Math.max(bl,d/(t?ml:kl))),p=Math.min(e.length,n.current.length+Math.max(1,Math.round(h*u)));n.current=e.slice(0,p),a(n.current),o.current=p<e.length?requestAnimationFrame(s):null};return o.current=requestAnimationFrame(s),()=>{o.current!==null&&(cancelAnimationFrame(o.current),o.current=null)}},[e,t]),r}var pt=require("react"),Ii=require("@akropolys/sdk");function Di(e,t){let r=(0,Ii.useAkropolysContext)(),[a,n]=(0,pt.useState)(""),[o,c]=(0,pt.useState)("idle"),[i,s]=(0,pt.useState)(null),[l,u]=(0,pt.useState)(null),[d,h]=(0,pt.useState)(null),[p,k]=(0,pt.useState)(Tn),[f,w]=(0,pt.useState)(!1),z=(0,pt.useCallback)(async(m,S)=>{try{await navigator.clipboard.writeText(m),h(S),setTimeout(()=>h(null),2e3)}catch{}},[]);(0,pt.useEffect)(()=>{e&&e.type==="request_kiku_key"&&(c("prompt_key"),n(""))},[e]),(0,pt.useEffect)(()=>{if(!i)return;k(Tn);let m=setInterval(()=>{k(S=>S<=1?(clearInterval(m),s(null),u(null),0):S-1)},1e3);return()=>clearInterval(m)},[i]);let L=(0,pt.useCallback)(async()=>{let m=a.trim();m&&(r.setKikuPub(m),n(""),c("idle"),await t())},[r,a,t]),$=(0,pt.useCallback)(async()=>{if(!f){w(!0);try{let{secret:m,publicId:S}=await r.mintKikuKey();s(m),u(S),c("idle"),await t()}catch{}finally{w(!1)}}},[r,f,t]);return{keyInput:a,setKeyInput:n,keyPhase:o,setKeyPhase:c,mintedKey:i,setMintedKey:s,mintedPub:l,setMintedPub:u,copied:d,keyCountdown:p,minting:f,copyValue:z,handleUseExistingKey:L,handleCreateKey:$}}var ca=require("react");function $i({attachments:e,setAttachments:t,setInput:r,send:a,defaultCurrency:n,t:o}){let c=(0,ca.useCallback)(u=>{let d=u.name||"",h=`@kiku ${o("displayCapture",{name:d}).trim()}`,p=d||"capture current page";r("");let k=e;t([]),a(p,h,k.length>0?k:void 0,"capture")},[e,a,t,r,o]),i=(0,ca.useCallback)(u=>{let d=u.filter(k=>k.id).map(k=>({name:k.name||"",url:k.url||"",image:k.image||"",price:k.price?String(k.price):"",currency:k.currency||n})),h=u.map(k=>k.name).filter(Boolean).join(", "),p=`@kiku ${o("displayCaptureAll",{count:String(u.length)})}`;r(""),t([]),a(h||"capture all",p,void 0,"capture_all",d)},[n,a,t,r,o]),s=(0,ca.useCallback)(()=>{let u=`@kiku ${o("displayViewHistory")}`;r(""),t([]),a("show my saved items",u,void 0,"view_history")},[a,t,r,o]),l=(0,ca.useCallback)(()=>{let u=`@kiku ${o("displayDelete")}`;r(""),t([]),a("delete this",u,void 0,"delete")},[a,t,r,o]);return{handleKikuCapture:c,handleKikuCaptureAll:i,handleKikuViewHistory:s,handleKikuDelete:l}}var Ct=require("react"),Oi=require("@akropolys/sdk");var Qa=null,Fi=null,Ga=null,la=null,vl=0,_i=!1,$r=0,yl=!1;function pa(e,t=130){let r=Ga;if(!r||!Qa)return;let a=Qa.currentTime;r.gain.cancelScheduledValues(a),r.gain.setValueAtTime(r.gain.value,a),r.gain.linearRampToValueAtTime(Math.max(0,Math.min(1,e)),a+t/1e3)}function qi(){if(!_i)return $r*=.85,$r;if(yl||!Fi||!la){let a=Date.now()/1e3;return .35+.18*Math.sin(a*7.1)+.1*Math.sin(a*3.3)}Fi.getByteTimeDomainData(la);let e=0;for(let a=0;a<la.length;a++){let n=(la[a]-128)/128;e+=n*n}let t=Math.sqrt(e/la.length),r=Math.min(1,t*3.2);return $r+=(r-$r)*(r>$r?.6:.12),$r}function Bi(){if(vl++,_i=!1,Ga&&Qa&&(Ga.gain.cancelScheduledValues(Qa.currentTime),Ga.gain.value=1),typeof window<"u"&&"speechSynthesis"in window)try{window.speechSynthesis.cancel()}catch{}}var be=require("react");var xl=1100,Un=.012,wl=320,Sl=.09,Cl=.25,Hi=130,Ml=700,Nl=12,Tl=48,zl=.45,Rl=.35,Pl=.2,Ui=.55;function ji({lang:e,onUtterance:t,onError:r,onBargeIn:a,silenceMs:n=xl,paused:o=!1}){let[c,i]=(0,be.useState)(!1),[s,l]=(0,be.useState)(!1),[u,d]=(0,be.useState)(""),[h,p]=(0,be.useState)(!1),k=(0,be.useRef)(null),f=(0,be.useRef)(null),w=(0,be.useRef)(null),z=(0,be.useRef)(null),L=(0,be.useRef)(null),$=(0,be.useRef)(null),m=(0,be.useRef)(0),S=(0,be.useRef)(.008),F=(0,be.useRef)(0),v=(0,be.useRef)(0),J=(0,be.useRef)(""),W=(0,be.useRef)(0),G=(0,be.useRef)(0),E=(0,be.useRef)(!1),j=(0,be.useRef)(o),C=(0,be.useRef)(!1),oe=(0,be.useRef)(!1),_=(0,be.useRef)(t),Q=(0,be.useRef)(r),g=(0,be.useRef)(a);(0,be.useEffect)(()=>{_.current=t},[t]),(0,be.useEffect)(()=>{Q.current=r},[r]),(0,be.useEffect)(()=>{g.current=a},[a]),(0,be.useEffect)(()=>{j.current=o},[o]),(0,be.useEffect)(()=>{p(typeof window<"u"&&("SpeechRecognition"in window||"webkitSpeechRecognition"in window)&&!!navigator.mediaDevices?.getUserMedia)},[]);let D=(0,be.useCallback)(()=>m.current,[]),Z=(0,be.useCallback)(A=>{let R=z.current;return!R||A.length!==R.frequencyBinCount?!1:(R.getByteFrequencyData(A),!0)},[]),O=(0,be.useCallback)(()=>z.current?.frequencyBinCount??0,[]),B=(0,be.useRef)([]),ae=(0,be.useRef)(null),le=(0,be.useRef)(!1),me=(0,be.useRef)(0),M=(0,be.useRef)(0),N=(0,be.useCallback)(A=>{let R=z.current;if(!R)return 0;let I=B.current;I.push(A),I.length>Tl&&I.shift();let re=0;if(I.length>=12){let P=0;for(let ce of I)P+=ce;if(P/=I.length,P>1e-4){let ce=0;for(let Ie of I)ce+=(Ie-P)*(Ie-P);re=Math.min(1,Math.sqrt(ce/I.length)/P/.6)}}let pe=0;(!ae.current||ae.current.length!==R.frequencyBinCount)&&(ae.current=new Uint8Array(R.frequencyBinCount));let ne=ae.current;R.getByteFrequencyData(ne);let de=(w.current?.sampleRate??48e3)/2/ne.length,Ne=Math.floor(300/de),$e=Math.min(ne.length-1,Math.ceil(3400/de)),et=0,Ke=0;for(let P=0;P<ne.length;P++)Ke+=ne[P],P>=Ne&&P<=$e&&(et+=ne[P]);Ke>0&&(pe=et/Ke);let qe=Math.min(1,A/(S.current+Un*3));return zl*qe+Rl*re+Pl*pe},[]),T=(0,be.useCallback)(()=>{let A=J.current.trim();if(J.current="",W.current=G.current,d(""),l(!1),A){C.current=!1;let R=k.current;k.current=null;try{R?.stop()}catch{}_.current(A)}},[]),q=(0,be.useCallback)(()=>{let A=z.current,R=$.current;if(!A||!R)return;A.getByteTimeDomainData(R);let I=0;for(let Ne=0;Ne<R.length;Ne++){let $e=(R[Ne]-128)/128;I+=$e*$e}let re=Math.sqrt(I/R.length),pe=Math.min(1,re*4);m.current+=(pe-m.current)*(pe>m.current?.6:.12);let ne=Date.now(),ke=j.current?qi()*Sl:0;re>S.current+Un+ke?(F.current=ne,v.current||(v.current=ne)):(v.current=0,S.current=Math.min(S.current*1.02+2e-5,Math.max(.004,re))),j.current?le.current?(N(re)>Ui?M.current+=1:M.current=Math.max(0,M.current-2),M.current>=Nl?(le.current=!1,M.current=0,pa(1,0),g.current?.()):ne-me.current>Ml&&(le.current=!1,M.current=0,pa(1,Hi*2))):v.current&&ne-v.current>wl&&N(re)>Ui&&(v.current=0,le.current=!0,me.current=ne,M.current=0,pa(Cl,Hi)):J.current.trim()&&ne-F.current>n&&T(),L.current=requestAnimationFrame(q)},[T,n,N]),H=(0,be.useCallback)(()=>{if(k.current||!E.current)return;let A=window.SpeechRecognition||window.webkitSpeechRecognition,R=new A;W.current=0,G.current=0,R.lang=e||document.documentElement.lang||navigator.language||"en-US",R.interimResults=!0,R.maxAlternatives=1,R.continuous=!0,R.onresult=I=>{let re="";for(let pe=W.current;pe<I.results.length;pe++)re+=I.results[pe][0].transcript;G.current=I.results.length,re=re.trim(),re&&(J.current=re,d(re),l(!0))},R.onerror=I=>{let re=I?.error||"";re==="no-speech"||re==="aborted"||Q.current?.(re)},R.onend=()=>{k.current=null,E.current&&C.current&&setTimeout(()=>{H()},120)},k.current=R;try{R.start()}catch{k.current=null,Q.current?.("failed-to-start")}},[e]),ie=(0,be.useCallback)(()=>{C.current=!1;let A=k.current;k.current=null;try{A?.stop()}catch{}},[]),y=(0,be.useCallback)(()=>{E.current=!1,le.current=!1,M.current=0,B.current=[],pa(1,0),C.current=!1,i(!1),l(!1),d(""),J.current="",m.current=0;let A=k.current;k.current=null;try{A?.abort()}catch{}L.current!==null&&(cancelAnimationFrame(L.current),L.current=null),f.current?.getTracks().forEach(R=>R.stop()),f.current=null,z.current=null,w.current?.close().catch(()=>{}),w.current=null},[]),X=(0,be.useCallback)(async()=>{if(!(E.current||!h)){E.current=!0,i(!0);try{let A=await navigator.mediaDevices.getUserMedia({audio:{echoCancellation:!0,noiseSuppression:!0,autoGainControl:!0}});f.current=A;let R=window.AudioContext||window.webkitAudioContext,I=new R;w.current=I;let re=I.createAnalyser();re.fftSize=1024,re.smoothingTimeConstant=.25,I.createMediaStreamSource(A).connect(re),z.current=re,$.current=new Uint8Array(re.fftSize),S.current=.008,F.current=Date.now(),L.current=requestAnimationFrame(q)}catch(A){E.current=!1,i(!1),Q.current?.(A?.name==="NotAllowedError"?"not-allowed":"audio-capture");return}C.current=!0,H()}},[h,q,H]);return(0,be.useEffect)(()=>{c&&(o?(J.current="",d(""),le.current=!1,M.current=0,B.current=[],ie()):(le.current=!1,F.current=Date.now(),C.current=!0,H()))},[o,c,H,ie]),(0,be.useEffect)(()=>{if(!c||o)return;let A=setInterval(()=>{let R=!!k.current,I=m.current>S.current+Un;R&&I&&J.current},2e3);return()=>clearInterval(A)},[c,o]),(0,be.useEffect)(()=>()=>{y()},[y]),{supported:h,active:c,hearing:s,interim:u,micLevel:D,micSpectrum:Z,spectrumBins:O,start:X,stop:y}}var ve=require("react");var Wi=16e3,da=24e3,Al=.12,Ll=.08,El=`
|
|
2
|
+
"use strict";var Nh=Object.create;var ea=Object.defineProperty;var Ih=Object.getOwnPropertyDescriptor;var Ah=Object.getOwnPropertyNames;var Ph=Object.getPrototypeOf,Fh=Object.prototype.hasOwnProperty;var Se=(e,r)=>()=>(e&&(r=e(e=0)),r);var fs=(e,r)=>{for(var t in r)ea(e,t,{get:r[t],enumerable:!0})},ks=(e,r,t,n)=>{if(r&&typeof r=="object"||typeof r=="function")for(let a of Ah(r))!Fh.call(e,a)&&a!==t&&ea(e,a,{get:()=>r[a],enumerable:!(n=Ih(r,a))||n.enumerable});return e};var Wt=(e,r,t)=>(t=e!=null?Nh(Ph(e)):{},ks(r||!e||!e.__esModule?ea(t,"default",{value:e,enumerable:!0}):t,e)),_h=e=>ks(ea({},"__esModule",{value:!0}),e);function Ot(e,r){return e.details??(e.fields?(0,gs.resolveDisplayFields)(e.fields,r).details:[])}function Va(e){return e.length?` (${e.map(r=>`${r.label}: ${r.value}`).join(", ")})`:""}var gs,pn=Se(()=>{"use strict";gs=require("@akropolys/sdk")});function xs(e){var r,t,n="";if(typeof e=="string"||typeof e=="number")n+=e;else if(typeof e=="object")if(Array.isArray(e)){var a=e.length;for(r=0;r<a;r++)e[r]&&(t=xs(e[r]))&&(n&&(n+=" "),n+=t)}else for(t in e)e[t]&&(n&&(n+=" "),n+=t);return n}function vs(){for(var e,r,t=0,n="",a=arguments.length;t<a;t++)(e=arguments[t])&&(r=xs(e))&&(n&&(n+=" "),n+=r);return n}var ys=Se(()=>{"use strict"});function de(...e){return vs(e)}var yt=Se(()=>{"use strict";ys()});function ta(){try{return localStorage.getItem(Ss)!=="off"}catch{return!0}}function Ms(e){try{localStorage.setItem(Ss,e?"on":"off")}catch{}e&&xr()}function xr(){if(typeof window>"u")return;try{let r=navigator.audioSession;r&&r.type!=="playback"&&(r.type="playback")}catch{}if(qe){qe.state==="suspended"&&qe.resume().catch(()=>{});return}let e=window.AudioContext||window.webkitAudioContext;if(e)try{qe=new e({latencyHint:"interactive"}),Jt=qe.createGain(),Jt.gain.value=.28,Jt.connect(qe.destination);let r=qe.createBuffer(1,1,qe.sampleRate),t=qe.createBufferSource();t.buffer=r,t.connect(qe.destination),t.start(0),qe.resume().catch(()=>{})}catch{qe=null}}function Qt(e,r,t,n,a){if(!qe||!Jt)return;let o=qe.createOscillator();o.type="sine",o.frequency.setValueAtTime(r,e),o.frequency.exponentialRampToValueAtTime(Math.max(40,r*t),e+n);let i=qe.createBiquadFilter();i.type="lowpass",i.Q.value=.9,i.frequency.setValueAtTime(Math.min(18e3,r*7),e),i.frequency.exponentialRampToValueAtTime(Math.max(80,r*1.5),e+n);let c=qe.createGain();c.gain.setValueAtTime(1e-4,e),c.gain.exponentialRampToValueAtTime(a,e+.006),c.gain.exponentialRampToValueAtTime(1e-4,e+n),o.connect(i),i.connect(c),c.connect(Jt),o.start(e),o.stop(e+n+.02)}function Ts(e,r){if(!qe||!Jt)return;let t=Math.floor(qe.sampleRate*.03),n=qe.createBuffer(1,t,qe.sampleRate),a=n.getChannelData(0);for(let s=0;s<t;s++)a[s]=(Math.random()*2-1)*Math.pow(1-s/t,3);let o=qe.createBufferSource();o.buffer=n;let i=qe.createBiquadFilter();i.type="bandpass",i.frequency.value=2600,i.Q.value=5;let c=qe.createGain();c.gain.value=r,o.connect(i),i.connect(c),c.connect(Jt),o.start(e)}function Rs(){return ta()?qe?qe.state:"unsupported":"off"}function Dh(e){!qe||!Jt||(Qt(e,587.33,.985,.16,.38),Qt(e+.048,739.99,.985,.18,.42),Qt(e+.096,880,.985,.28,.46),Qt(e+.105,1174.66,.985,.22,.22),Ts(e+.096,.16))}function Bh(e){!qe||!Jt||Qt(e,659.25,.97,.09,.26)}function Gt(e,r=!1){if(!r&&!ta()||(xr(),!qe||!Jt||qe.state==="closed"))return;qe.state==="suspended"&&qe.resume().catch(()=>{});let t=qe.currentTime+.01;switch(e){case"connect":Dh(t);break;case"heard":Bh(t);break;case"reply":Qt(t,440,.94,.13,.5),Qt(t+.09,660,.94,.16,.42);break;case"interrupt":Qt(t,520,.62,.17,.4);break;case"send":Qt(t,300,1.16,.1,.22);break;case"pin":Ts(t,.35),Qt(t+.02,880,.97,.07,.22);break}}var Ss,qe,Jt,Wr=Se(()=>{"use strict";Ss="hsk-sounds",qe=null,Jt=null});function ra(e){if(typeof e=="string")return{themeAttr:e,vars:void 0};if(!e)return{themeAttr:void 0,vars:void 0};let r={};return e.primaryColor&&(r["--hsk-primary"]=e.primaryColor),e.backgroundColor&&(r["--hsk-bg"]=e.backgroundColor,r["--hsk-chat-bg"]=e.backgroundColor),e.textColor&&(r["--hsk-text"]=e.textColor,r["--hsk-chat-text"]=e.textColor),e.fontFamily&&(r["--hsk-font"]=e.fontFamily),e.fontSize&&(r["--hsk-font-size"]=e.fontSize),e.mobileFontSize&&(r["--hsk-mobile-font-size"]=e.mobileFontSize),e.borderRadius&&(r["--hsk-border-radius"]=e.borderRadius),{themeAttr:void 0,vars:r}}var ja=Se(()=>{"use strict"});function Ya(e,r="hsk-font"){let t=5381;for(let n=0;n<e.length;n++)t=(t<<5)+t+e.charCodeAt(n)>>>0;return`${r}-${t.toString(36)}`}function Hh(e){let r=e.split("?")[0].split("#")[0].split(".").pop()?.toLowerCase();return r==="woff2"?"woff2":r==="woff"?"woff":r==="otf"?"opentype":r==="ttf"?"truetype":""}function Xa(e){let r=e.trim();return!r||/["'()\\\s]/.test(r)||/^(javascript|vbscript):/i.test(r)?null:r}function qh(e,r){(0,Ka.useEffect)(()=>{if(!e||!r||typeof document>"u")return;let t=Ya(e);if(_t.set(e,(_t.get(e)??0)+1),!document.getElementById(t)){let n=document.createElement("style");n.id=t,n.textContent=r,document.head.appendChild(n)}return()=>{let n=(_t.get(e)??1)-1;if(n>0){_t.set(e,n);return}_t.delete(e),document.getElementById(t)?.remove()}},[e,r])}function Ns(e){let r=zs(e.family);return r?e.faces.map(t=>{let n=Xa(t.url);return n?`@font-face{font-family:"${r}";font-style:normal;font-weight:${Ls(t.weight)};font-display:swap;src:url(${n}) format("woff2");`+(Es(t.unicodeRange)?`unicode-range:${Es(t.unicodeRange)};`:"")+"}":""}).join(""):""}function Qa(e){let r=e?.faces??[],t=e&&r.length?Ns(e):"";qh(t?`script|${e.family}|${r.map(n=>n.url).join("|")}`:"",t)}async function Dt(e,r=0){if(typeof document>"u"||!("fonts"in document))return;let t=Ns(e);if(!t)return;let n=`script|${e.family}|${e.faces.map(o=>o.url).join("|")}`;_t.set(n,(_t.get(n)??0)+1);let a=Ya(n);if(!document.getElementById(a)){let o=document.createElement("style");o.id=a,o.textContent=t,document.head.appendChild(o)}if(r>0){let o=document.fonts,i=e.family.replace(/^['"]|['"]$/g,""),c=Array.from(o||[]).filter(l=>l.family.replace(/^['"]|['"]$/g,"")===i),s=c.length>0?c.map(l=>l.load().catch(()=>{})):e.faces.map(l=>{let h=Xa(l.url);if(!h)return Promise.resolve();try{return new window.FontFace(i,`url(${h})`,{weight:Ls(l.weight),style:"normal"}).load().then(u=>{document.fonts?.add(u)}).catch(()=>{})}catch{return Promise.resolve()}});await Promise.race([Promise.all(s),new Promise(l=>setTimeout(l,r))])}}function As(e,r){let t=Array.from(new Set(Array.from(Object.values(r).join("")))).join(""),n=e.map(a=>`"${a.replace(/^['"]|['"]$/g,"")}"`).join(", ");return{text:t,stack:n}}function Ja(e,r){let t=typeof document<"u"?document.fonts:null,{text:n,stack:a}=As(e,r);if(!t?.check||!n||!a)return!0;try{return Is.every(o=>t.check(`${o} 16px ${a}`,n))}catch{return!0}}async function Za(e,r,t){let n=typeof document<"u"?document.fonts:null;if(!n?.load)return;let{text:a,stack:o}=As(e,r);!a||!o||await Promise.race([Promise.all(Is.map(i=>n.load(`${i} 16px ${o}`,a).catch(()=>{}))),new Promise(i=>setTimeout(i,t))])}function na(e){let r=typeof e=="object"&&e?e:void 0,t=zs(r?.fontFamily?.split(",")[0].trim().replace(/^['"]|['"]$/g,"")??""),n=typeof r?.fontUrl=="string"?{normal:r.fontUrl}:r?.fontUrl??{},a=n.normal??"",o=n.bold??"",i=n.variable??"";(0,Ka.useEffect)(()=>{if(!t||!a&&!o&&!i)return;let c=i?[["100 900",i]]:[["400",a],["700",o]],s=[];for(let[u,p]of c){if(!p)continue;let g=Xa(p);if(!g)continue;let f=Hh(g);s.push(`@font-face{font-family:"${t}";font-style:normal;font-weight:${u};font-display:swap;src:url(${g})${f?` format("${f}")`:""};}`)}if(s.length===0)return;let l=s.join(""),h=`${t}|${a}|${o}|${i}`,d=Ya(h,"hsk-host-font");if(_t.set(h,(_t.get(h)??0)+1),!document.getElementById(d)){let u=document.createElement("style");u.id=d,u.textContent=l,document.head.appendChild(u)}return()=>{let u=(_t.get(h)??1)-1;if(u>0){_t.set(h,u);return}_t.delete(h),document.getElementById(d)?.remove()}},[t,a,o,i])}var Ka,_t,zs,$h,Es,Ls,Is,un=Se(()=>{"use strict";Ka=require("react"),_t=new Map;zs=e=>/["\\{}<>;\n\r]/.test(e)?"":e.trim(),$h=/^[Uu]\+[0-9A-Fa-f?]{1,6}(-[0-9A-Fa-f]{1,6})?$/,Es=e=>{let r=e.split(",").map(t=>t.trim()).filter(Boolean);return r.length===0||!r.every(t=>$h.test(t))?"":r.join(", ")},Ls=e=>/^\d{3}( \d{3})?$/.test(e)?e:"400";Is=["400","500","600","700"]});var $,Uh,vr,Ps,Fs,_s,Or,aa,oa,Ds,sa,Bs,Hs,ia,eo,$s,mn,ca,Er,zr,bn,qs,to,Us,Ws,Os,Gs,Vs,js,Ks,Ys,Xs,Bt=Se(()=>{"use strict";yt();$=require("react/jsx-runtime"),Uh=({className:e,size:r=18,tight:t=!1})=>(0,$.jsx)("svg",{className:de("hsk-brand-mark",e),width:r,height:r,viewBox:t?"10.2 17.4 79.5 79.5":"0 0 100 100",xmlns:"http://www.w3.org/2000/svg","aria-label":"kiku",children:(0,$.jsxs)("g",{transform:"translate(22.7 19) scale(0.62)",fill:"currentColor",fillRule:"evenodd",children:[(0,$.jsx)("path",{d:"M39.4 10.4 Q44 0 48.6 10.4 L86.1 95.8 Q88 100 83.4 100 L4.6 100 Q0 100 1.9 95.8 Z M24 100 L24 65 Q24 60 27.4 56.3 Q44 38 60.6 56.3 Q64 60 64 65 L64 100 Z"}),(0,$.jsx)("circle",{cx:"55",cy:"82",r:"3.4"})]})}),vr=Uh,Ps=()=>(0,$.jsxs)("svg",{className:"hsk-stop-icon",width:"18",height:"18",viewBox:"0 0 24 24",fill:"none",children:[(0,$.jsx)("circle",{className:"hsk-stop-ring",cx:"12",cy:"12",r:"9.5",stroke:"currentColor",strokeWidth:"1.6",strokeLinecap:"round"}),(0,$.jsx)("rect",{className:"hsk-stop-core",x:"8.5",y:"8.5",width:"7",height:"7",rx:"1.8",fill:"currentColor"})]}),Fs=()=>(0,$.jsxs)("svg",{width:"12",height:"12",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2.2",strokeLinecap:"round",strokeLinejoin:"round",children:[(0,$.jsx)("path",{d:"M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6"}),(0,$.jsx)("polyline",{points:"15 3 21 3 21 9"}),(0,$.jsx)("line",{x1:"10",y1:"14",x2:"21",y2:"3"})]}),_s=()=>(0,$.jsx)("svg",{width:"13",height:"13",viewBox:"0 0 24 24",fill:"currentColor",children:(0,$.jsx)("path",{d:"M8 5v14l11-7z"})}),Or=()=>(0,$.jsxs)("svg",{width:"16",height:"16",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2.5",strokeLinecap:"round",strokeLinejoin:"round",children:[(0,$.jsx)("line",{x1:"18",y1:"6",x2:"6",y2:"18"}),(0,$.jsx)("line",{x1:"6",y1:"6",x2:"18",y2:"18"})]}),aa=()=>(0,$.jsx)("svg",{width:"16",height:"16",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:(0,$.jsx)("path",{d:"m15 18-6-6 6-6"})}),oa=()=>(0,$.jsx)("svg",{width:"16",height:"16",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:(0,$.jsx)("path",{d:"m9 18 6-6-6-6"})}),Ds=()=>(0,$.jsxs)("svg",{width:"16",height:"16",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:[(0,$.jsx)("path",{d:"M3 12a9 9 0 1 0 9-9 9.75 9.75 0 0 0-6.74 2.74L3 8"}),(0,$.jsx)("path",{d:"M3 3v5h5"}),(0,$.jsx)("path",{d:"M12 7v5l4 2"})]}),sa=()=>(0,$.jsx)("svg",{width:"16",height:"16",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:(0,$.jsx)("path",{d:"M19 21 12 16l-7 5V5a2 2 0 0 1 2-2h10a2 2 0 0 1 2 2z"})}),Bs=()=>(0,$.jsxs)("svg",{width:"16",height:"16",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:[(0,$.jsx)("path",{d:"M3 6h18"}),(0,$.jsx)("path",{d:"M19 6v14a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V6m3 0V4a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v2"})]}),Hs=()=>(0,$.jsx)("svg",{width:"19",height:"19",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",children:(0,$.jsx)("path",{d:"M12 5v14M5 12h14"})}),ia=({size:e=18}={})=>(0,$.jsxs)("svg",{width:e,height:e,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:[(0,$.jsx)("path",{d:"M21 11.5a8.4 8.4 0 0 1-12.3 7.4L3 21l2.1-5.7A8.4 8.4 0 1 1 21 11.5Z"}),[8.9,12.6,16.3].map((r,t)=>(0,$.jsx)("circle",{className:"hsk-mimi-dot",style:{"--hsk-dot":t},cx:r,cy:"11.6",r:"1.15",fill:"currentColor",stroke:"none"},r))]}),eo=()=>(0,$.jsx)("svg",{width:"18",height:"18",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:(0,$.jsx)("path",{d:"m21.44 11.05-9.19 9.19a6 6 0 0 1-8.49-8.49l8.57-8.57A4 4 0 1 1 18 8.84l-8.59 8.57a2 2 0 0 1-2.83-2.83l8.49-8.48"})}),$s=()=>(0,$.jsxs)("svg",{width:"18",height:"18",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:[(0,$.jsx)("rect",{x:"3",y:"3",width:"18",height:"18",rx:"4"}),(0,$.jsx)("circle",{className:"hsk-img-sun",cx:"9",cy:"9",r:"1.8"}),(0,$.jsx)("path",{className:"hsk-img-ridge",d:"m21 15-4.5-4.5L6 21"})]}),mn=({className:e,size:r=13}={})=>(0,$.jsxs)("svg",{className:de("hsk-retry-icon",e),width:r,height:r,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2.2",strokeLinecap:"round",strokeLinejoin:"round",children:[(0,$.jsx)("path",{className:"hsk-retry-arrow",d:"M21.5 2v6h-6"}),(0,$.jsx)("path",{className:"hsk-retry-arc",d:"M21.34 15.57a10 10 0 1 1-.57-8.38l5.67-5.19"})]}),ca=({className:e,size:r=13}={})=>(0,$.jsxs)("svg",{className:de("hsk-edit-icon",e),width:r,height:r,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2.2",strokeLinecap:"round",strokeLinejoin:"round",children:[(0,$.jsx)("path",{className:"hsk-edit-pencil",d:"M17 3a2.85 2.83 0 1 1 4 4L7.5 20.5 2 22l1.5-5.5Z"}),(0,$.jsx)("path",{className:"hsk-edit-lead",d:"m15 5 4 4"})]}),Er=({className:e,size:r=13}={})=>(0,$.jsxs)("svg",{className:de("hsk-copy-icon",e),width:r,height:r,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:[(0,$.jsx)("rect",{className:"hsk-copy-sheet",x:"8.5",y:"7",width:"12",height:"14",rx:"3.5"}),(0,$.jsx)("path",{className:"hsk-copy-back",d:"M5 15H4.5A2.5 2.5 0 0 1 2 12.5V4.5A2.5 2.5 0 0 1 4.5 2h8A2.5 2.5 0 0 1 15 4.5V5"})]}),zr=({className:e,size:r=13}={})=>(0,$.jsx)("svg",{className:de("hsk-check-icon",e),width:r,height:r,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2.4",strokeLinecap:"round",strokeLinejoin:"round",children:(0,$.jsx)("polyline",{className:"hsk-check-mark",points:"20 6 9 17 4 12"})}),bn=({className:e,size:r=18}={})=>(0,$.jsxs)("svg",{className:e,width:r,height:r,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:[(0,$.jsx)("path",{className:"hsk-mic-cap",d:"M12 2a3 3 0 0 0-3 3v7a3 3 0 0 0 6 0V5a3 3 0 0 0-3-3z"}),(0,$.jsx)("path",{d:"M19 10v2a7 7 0 0 1-14 0v-2"}),(0,$.jsx)("line",{x1:"12",y1:"19",x2:"12",y2:"22"})]}),qs=()=>(0,$.jsxs)("svg",{width:"18",height:"18",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:[(0,$.jsx)("line",{className:"hsk-mic-slash",x1:"2",y1:"2",x2:"22",y2:"22"}),(0,$.jsx)("path",{d:"M18.89 13.23A7.12 7.12 0 0 0 19 12v-2"}),(0,$.jsx)("path",{d:"M5 10v2a7 7 0 0 0 12 5"}),(0,$.jsx)("path",{d:"M15 9.34V5a3 3 0 0 0-5.68-1.33"}),(0,$.jsx)("path",{d:"M9 9v3a3 3 0 0 0 5.12 2.12"}),(0,$.jsx)("line",{x1:"12",y1:"19",x2:"12",y2:"22"})]}),to=({active:e})=>(0,$.jsxs)("svg",{width:"18",height:"18",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:[(0,$.jsx)("path",{className:"hsk-wave-bar hsk-wave-bar--tip",style:{"--hsk-bar":0,"--hsk-amp":1.9,"--hsk-period":"1.24s"},d:"M2 12h2"}),(0,$.jsx)("path",{className:"hsk-wave-bar",style:{"--hsk-bar":1,"--hsk-amp":1.78,"--hsk-period":"0.94s"},d:"M6 8v8"}),(0,$.jsx)("path",{className:"hsk-wave-bar",style:{"--hsk-bar":2,"--hsk-amp":1.26,"--hsk-period":"1.42s"},d:"M10 4v16"}),(0,$.jsx)("path",{className:"hsk-wave-bar",style:{"--hsk-bar":3,"--hsk-amp":1.62,"--hsk-period":"1.08s"},d:"M14 7v10"}),(0,$.jsx)("path",{className:"hsk-wave-bar",style:{"--hsk-bar":4,"--hsk-amp":2.05,"--hsk-period":"0.86s"},d:"M18 9v6"}),(0,$.jsx)("path",{className:"hsk-wave-bar hsk-wave-bar--tip",style:{"--hsk-bar":5,"--hsk-amp":1.9,"--hsk-period":"1.32s"},d:"M22 12h-2"})]}),Us=()=>(0,$.jsxs)("svg",{className:"hsk-telegram-icon",width:"18",height:"18",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:[(0,$.jsx)("polygon",{className:"hsk-kite-wing hsk-kite-wing--far",points:"22 2 11 13 2 9"}),(0,$.jsx)("polygon",{className:"hsk-kite-wing hsk-kite-wing--near",points:"22 2 15 22 11 13"}),(0,$.jsx)("line",{className:"hsk-kite-spine",x1:"22",y1:"2",x2:"11",y2:"13"})]}),Ws=()=>(0,$.jsxs)("svg",{width:"13",height:"13",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:[(0,$.jsx)("circle",{className:"hsk-sun-core",cx:"12",cy:"12",r:"5"}),(0,$.jsxs)("g",{className:"hsk-sun-rays",children:[(0,$.jsx)("line",{x1:"12",y1:"1",x2:"12",y2:"3"}),(0,$.jsx)("line",{x1:"12",y1:"21",x2:"12",y2:"23"}),(0,$.jsx)("line",{x1:"4.22",y1:"4.22",x2:"5.64",y2:"5.64"}),(0,$.jsx)("line",{x1:"18.36",y1:"18.36",x2:"19.78",y2:"19.78"}),(0,$.jsx)("line",{x1:"1",y1:"12",x2:"3",y2:"12"}),(0,$.jsx)("line",{x1:"21",y1:"12",x2:"23",y2:"12"}),(0,$.jsx)("line",{x1:"4.22",y1:"19.78",x2:"5.64",y2:"18.36"}),(0,$.jsx)("line",{x1:"18.36",y1:"5.64",x2:"19.78",y2:"4.22"})]})]}),Os=()=>(0,$.jsx)("svg",{width:"13",height:"13",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:(0,$.jsx)("path",{className:"hsk-moon-body",d:"M21 12.79A9 9 0 1 1 11.21 3 7 7 0 0 0 21 12.79z"})}),Gs=()=>(0,$.jsxs)("svg",{width:"13",height:"13",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:[(0,$.jsx)("path",{className:"hsk-wood-layer",style:{"--hsk-layer":0},d:"M12 2L2 7l10 5 10-5-10-5z"}),(0,$.jsx)("path",{className:"hsk-wood-layer",style:{"--hsk-layer":2},d:"M2 17l10 5 10-5"}),(0,$.jsx)("path",{className:"hsk-wood-layer",style:{"--hsk-layer":1},d:"M2 12l10 5 10-5"})]}),Vs=()=>(0,$.jsx)("svg",{width:"13",height:"13",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:(0,$.jsx)("path",{className:"hsk-heart-body",d:"M20.84 4.61a5.5 5.5 0 0 0-7.78 0L12 5.67l-1.06-1.06a5.5 5.5 0 0 0-7.78 7.78l1.06 1.06L12 21.23l7.78-7.78 1.06-1.06a5.5 5.5 0 0 0 0-7.78z"})}),js=()=>(0,$.jsxs)("svg",{width:"13",height:"13",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:[(0,$.jsx)("path",{d:"M17 8h1a4 4 0 1 1 0 8h-1"}),(0,$.jsx)("path",{d:"M3 8h14v9a4 4 0 0 1-4 4H7a4 4 0 0 1-4-4z"}),(0,$.jsx)("line",{className:"hsk-steam",style:{"--hsk-steam":0},x1:"6",y1:"1",x2:"6",y2:"4"}),(0,$.jsx)("line",{className:"hsk-steam",style:{"--hsk-steam":1},x1:"10",y1:"1",x2:"10",y2:"4"}),(0,$.jsx)("line",{className:"hsk-steam",style:{"--hsk-steam":2},x1:"14",y1:"1",x2:"14",y2:"4"})]}),Ks=()=>(0,$.jsxs)("svg",{width:"13",height:"13",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:[(0,$.jsx)("path",{d:"M12 3a6.5 6.5 0 0 0 9 9 9 9 0 1 1-9-9z"}),(0,$.jsx)("path",{className:"hsk-star-spark",d:"M18.5 2.5l.6 1.6 1.6.6-1.6.6-.6 1.6-.6-1.6-1.6-.6 1.6-.6z"})]}),Ys=({size:e=11})=>(0,$.jsxs)("svg",{width:e,height:e,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2.6",strokeLinecap:"round",strokeLinejoin:"round",children:[(0,$.jsx)("line",{x1:"18",y1:"6",x2:"6",y2:"18"}),(0,$.jsx)("line",{x1:"6",y1:"6",x2:"18",y2:"18"})]}),Xs=({className:e,size:r=16,filled:t=!1}={})=>(0,$.jsxs)("svg",{className:de("hsk-pin-icon",e),width:r,height:r,viewBox:"0 0 24 24",fill:t?"currentColor":"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:[(0,$.jsx)("line",{x1:"12",y1:"17",x2:"12",y2:"22"}),(0,$.jsx)("path",{d:"M5 17h14v-1.76a2 2 0 0 0-1.11-1.79l-1.78-.9A2 2 0 0 1 15 10.76V6h1a2 2 0 0 0 0-4H8a2 2 0 0 0 0 4h1v4.76a2 2 0 0 1-1.11 1.79l-1.78.9A2 2 0 0 0 5 15.24V17z"})]})});function no(e){return typeof e=="string"&&Lr.some(r=>r.id===e)}function ao(e){return Lr.find(r=>r.id===e)??Lr[0]}var Lr,ro,Qs,oo=Se(()=>{"use strict";Bt();Lr=[{id:"light",label:"Silver",Icon:Ws,dark:!1},{id:"dark",label:"Onyx",Icon:Os,dark:!0},{id:"mahogany",label:"Mahogany",Icon:Gs,dark:!0},{id:"blush",label:"Blush",Icon:Vs,dark:!1},{id:"coffee",label:"Coffee",Icon:js,dark:!1},{id:"midnight",label:"Midnight",Icon:Ks,dark:!0}],ro="dark",Qs="light"});function Wh(e,r,t=.55){return r<=0?0:e*r*t/(r+t*Math.abs(e))}function Oh({stiffness:e=500,damping:r=45,onFrame:t,onRest:n}){let a=0,o=0,i=0,c=null,s=0,l=d=>{let u=Math.min(.032,(d-s)/1e3)||.016666666666666666;s=d;let p=Math.max(1,Math.ceil(u/.008)),g=u/p;for(let f=0;f<p;f++){let k=-e*(a-i)-r*o;o+=k*g,a+=o*g}if(Math.abs(a-i)<.5&&Math.abs(o)<.5){a=i,o=0,c=null,t(a),n?.();return}t(a),c=requestAnimationFrame(l)},h=()=>{c===null&&(s=performance.now(),c=requestAnimationFrame(l))};return{track(d){c!==null&&(cancelAnimationFrame(c),c=null),a=d,o=0,t(a)},to(d,u=0){i=d,o=u,h()},get value(){return a},stop(){c!==null&&(cancelAnimationFrame(c),c=null)}}}function Js({panel:e,scroller:r,onDismiss:t,quiescent:n,enabled:a=!0}){let o=(0,la.useRef)(t);o.current=t,(0,la.useEffect)(()=>{if(!a)return;let i=e();if(!i||typeof matchMedia=="function"&&matchMedia("(prefers-reduced-motion: reduce)").matches)return;let c=!1,s=0,l=0,h=0,d=-1,u=0,p=0,g=0,f=!1,k=!1,b=Oh({onFrame:w=>{i.style.transform=w===0?"":`translate3d(0, ${w}px, 0)`;let H=i.parentElement;H&&(H.style.opacity=w===0?"":String(Math.max(.35,1-w/(i.offsetHeight||1)*1.1)))},onRest:()=>{i.style.willChange="",k&&(k=!1,o.current())}}),N=()=>{let w=r();return w&&w.scrollTop>0?!1:n?n():!0},M=w=>{w.pointerType==="mouse"||!w.isPrimary||(c=!1,f=!1,d=w.pointerId,s=u=w.clientY,l=w.clientX,p=w.timeStamp,g=0,h=b.value)},E=w=>{if(w.pointerId!==d)return;let H=w.clientY-s,Q=w.clientX-l;if(!f){if(Math.abs(H)<6&&Math.abs(Q)<6)return;if(f=!0,c=H>0&&Math.abs(H)>Math.abs(Q)&&N(),c){try{i.setPointerCapture(w.pointerId)}catch{}b.stop(),i.style.animation="none",i.style.willChange="transform"}}if(!c)return;let T=w.timeStamp-p;T>0&&(g=(w.clientY-u)/T*1e3),u=w.clientY,p=w.timeStamp;let A=h+H;b.track(A<0?-Wh(-A,i.offsetHeight||1):A),w.cancelable&&w.preventDefault()},F=w=>{if(w.pointerId!==d)return;try{i.hasPointerCapture(w.pointerId)&&i.releasePointerCapture(w.pointerId)}catch{}if(d=-1,!c)return;c=!1;let H=i.offsetHeight||1;b.value+g*.12>H*.3||g>900?(k=!0,i.style.pointerEvents="none",b.to(H,g)):b.to(0,g)};return i.addEventListener("pointerdown",M,{passive:!0}),i.addEventListener("pointermove",E,{passive:!1}),i.addEventListener("pointerup",F,{passive:!0}),i.addEventListener("pointercancel",F,{passive:!0}),()=>{b.stop(),i.removeEventListener("pointerdown",M),i.removeEventListener("pointermove",E),i.removeEventListener("pointerup",F),i.removeEventListener("pointercancel",F),i.style.transform="",i.style.willChange="",i.style.animation="",i.style.pointerEvents="";let w=i.parentElement;w&&(w.style.opacity="")}},[a,e,r,n])}var la,Zs=Se(()=>{"use strict";la=require("react")});function fn(e){return new Promise((r,t)=>{let n=new FileReader;n.onload=()=>r(n.result),n.onerror=()=>t(n.error??new Error("read failed")),n.readAsDataURL(e)})}async function ha(e){if(e.type==="image/gif"||e.type==="image/svg+xml"||e.size<=307200)return fn(e);try{let r=await createImageBitmap(e),t=Math.min(1,1536/Math.max(r.width,r.height)),n=Math.max(1,Math.round(r.width*t)),a=Math.max(1,Math.round(r.height*t));r.close?.();let o=await createImageBitmap(e,{resizeWidth:n,resizeHeight:a,resizeQuality:"high"});try{let i=document.createElement("canvas");i.width=n,i.height=a;let c=i.getContext("2d");if(!c)return fn(e);c.drawImage(o,0,0);let s=e.type==="image/png",l=await new Promise(h=>i.toBlob(h,s?"image/png":"image/jpeg",.85));return!l||l.size>=e.size?fn(e):fn(l)}finally{o.close?.()}}catch{return fn(e)}}var so=Se(()=>{"use strict"});function Gh(e){let r=0;for(let t=1;t<e.length;t++)r+=ei(e[t-1],e[t]);return r}function io(e){let r=1/0,t=1/0,n=-1/0,a=-1/0;for(let o of e)o.x<r&&(r=o.x),o.y<t&&(t=o.y),o.x>n&&(n=o.x),o.y>a&&(a=o.y);return{minX:r,minY:t,maxX:n,maxY:a}}function co(e,r,t){return[Gr(e.minY/t*1e3),Gr(e.minX/r*1e3),Gr(e.maxY/t*1e3),Gr(e.maxX/r*1e3)]}function Vh(e,r){let[t,n,a,o]=e,[i,c,s,l]=r,h=Math.min(o,l)-Math.max(n,c),d=Math.min(a,s)-Math.max(t,i);if(h<=0||d<=0)return!1;let u=Math.min((o-n)*(a-t),(l-c)*(s-i));return u>0&&h*d/u>.35}function Kh(e,r,t){if(e.length<2)return null;let n=io(e),a=co(n,r,t),o=Math.hypot(n.maxX-n.minX,n.maxY-n.minY);if(o<4)return null;let i=Gh(e),c=ei(e[0],e[e.length-1]),s=i/Math.max(c,1e-6);return c/o<.3&&i>o*1.8?{gesture:"ring",box:a,straight:!1}:s<1.25?{gesture:"arrow",box:a,to:[Gr(e[e.length-1].y/t*1e3),Gr(e[e.length-1].x/r*1e3)],straight:!0}:{gesture:"scribble",box:a,straight:!1}}function ti(e,r,t){if(!r||!t)return[];let n=[],a=[],o=[];for(let s of e){if(s.kind==="pin"&&typeof s.x=="number"&&typeof s.y=="number"){let l={x:s.x,y:s.y};o.push({gesture:"pin",id:s.id,text:s.label,box:co(io([l,l]),r,t)});continue}if(s.kind==="text"&&s.value&&typeof s.x=="number"&&typeof s.y=="number"){let l={x:s.x,y:s.y};a.push({gesture:"text",box:co(io([l,l]),r,t),text:s.value});continue}if(s.kind==="stroke"&&s.tool!=="eraser"&&s.points){let l=Kh(s.points,r,t);l&&n.push(l)}}let i=new Set,c=[];for(let s=0;s<n.length;s++){if(i.has(s))continue;let l=n[s];for(let h=s+1;h<n.length;h++)i.has(h)||!l.straight||!n[h].straight||Vh(l.box,n[h].box)&&(i.add(h),l={gesture:"cross",box:jh(l.box,n[h].box),straight:!1});i.add(s),c.push(l.gesture==="arrow"?{gesture:"arrow",box:l.box,to:l.to}:{gesture:l.gesture,box:l.box})}return[...o,...c,...a]}var ei,Gr,jh,ri=Se(()=>{"use strict";ei=(e,r)=>Math.hypot(e.x-r.x,e.y-r.y);Gr=e=>Math.max(0,Math.min(1e3,Math.round(e)));jh=(e,r)=>[Math.min(e[0],r[0]),Math.min(e[1],r[1]),Math.max(e[2],r[2]),Math.max(e[3],r[3])]});function Jh(e,r,t){let n=[],a="";for(let o of r.split(/\s+/)){let i=a?`${a} ${o}`:o;a&&e.measureText(i).width>t?(n.push(a),a=o):a=i}return a&&n.push(a),n.slice(0,3)}function Zh(e,r){let t=`${r}%`;return e<33?{top:t,left:8,transform:"translateY(-100%)"}:e>67?{top:t,right:8,transform:"translateY(-100%)"}:{top:t,left:`${e}%`,transform:"translate(-50%, -100%)"}}function ai({src:e,onCancel:r,onSend:t,t:n}){let[a,o]=(0,st.useState)(null),[i,c]=(0,st.useState)(!1),[s,l]=(0,st.useState)("pin"),h=(0,st.useRef)(0),[d,u]=(0,st.useState)(null),p=(0,st.useRef)(null),[g,f]=(0,st.useState)([{points:[],closed:!1}]),k=g[g.length-1],z=(0,st.useRef)(`selection-${Date.now().toString(36)}-${Math.random().toString(36).slice(2,10)}`),b=(0,st.useRef)(null),N=x=>f(R=>[...R.slice(-66),x]),M=s==="select",[E,F]=(0,st.useState)([]),[w,H]=(0,st.useState)(!1),Q=(0,st.useRef)(null),T=(0,st.useRef)(null);(0,st.useEffect)(()=>{let x=new Image;return x.crossOrigin="anonymous",x.onload=()=>o(x),x.onerror=()=>c(!0),x.src=e,()=>{x.onload=null,x.onerror=null}},[e]);let A=(()=>{if(!a)return{w:0,h:0};let x=Math.min(1,Yh/Math.max(a.naturalWidth,a.naturalHeight));return{w:Math.round(a.naturalWidth*x),h:Math.round(a.naturalHeight*x)}})(),G=(0,st.useRef)(null),B=x=>{let R=Q.current;if(!R||!a)return;let m=R.getContext("2d");if(!m)return;G.current||(G.current=document.createElement("canvas"));let Z=G.current;Z.width=R.width,Z.height=R.height;let D=Z.getContext("2d"),O=x?[...E,x]:E;for(let y of O)y.kind==="stroke"&&(D.save(),D.globalCompositeOperation=y.tool==="eraser"?"destination-out":"source-over",D.strokeStyle=ni,D.lineWidth=y.tool==="eraser"?y.size*3:y.size,D.lineCap="round",D.lineJoin="round",D.beginPath(),y.points.forEach((P,q)=>q===0?D.moveTo(P.x,P.y):D.lineTo(P.x,P.y)),y.points.length===1&&D.lineTo(y.points[0].x+.01,y.points[0].y),D.stroke(),D.restore());m.clearRect(0,0,R.width,R.height),m.drawImage(a,0,0,R.width,R.height),m.drawImage(Z,0,0);let S=k.points.map((y,P)=>b.current?.index===P?b.current.point:y);S.length&&(m.save(),m.beginPath(),S.forEach((y,P)=>P?m.lineTo(y.x,y.y):m.moveTo(y.x,y.y)),k.closed&&(m.closePath(),m.fillStyle="#22c55e33",m.fill()),m.strokeStyle="#22c55e",m.lineWidth=Math.max(2,A.w/400),m.stroke(),m.restore());for(let y of S)m.beginPath(),m.arc(y.x,y.y,Math.max(3,A.w/260),0,Math.PI*2),m.fillStyle="#ffffff",m.fill(),m.strokeStyle="#15803d",m.stroke();for(let y of O){if(y.kind!=="pin")continue;let P=y.size;if(m.save(),m.beginPath(),m.moveTo(y.x,y.y),m.bezierCurveTo(y.x-P*2,y.y-P*2,y.x-P,y.y-P*3.5,y.x,y.y-P*3.5),m.bezierCurveTo(y.x+P,y.y-P*3.5,y.x+P*2,y.y-P*2,y.x,y.y),m.fillStyle=ni,m.fill(),m.lineWidth=Math.max(1,P/7),m.strokeStyle="#fff",m.stroke(),m.beginPath(),m.arc(y.x,y.y-P*2.2,P*.5,0,Math.PI*2),m.fillStyle="#fff",m.fill(),y.label){m.font=`600 ${P*1.2}px system-ui, sans-serif`,m.textAlign="center",m.textBaseline="middle";let q=Jh(m,y.label,R.width*.32),ce=P*1.5,ge=Math.min(R.width,Math.max(...q.map(te=>m.measureText(te).width))+P),me=q.length*ce+P*.4,ue=Math.max(ge/2,Math.min(R.width-ge/2,y.x)),j=Math.max(me,y.y-P*3.7);m.fillStyle="rgba(0,0,0,.8)",m.fillRect(ue-ge/2,j-me,ge,me),m.fillStyle="#fff",q.forEach((te,we)=>m.fillText(te,ue,j-me+P*.2+ce*(we+.5),ge-P))}m.restore()}};(0,st.useEffect)(()=>{B()},[a,E,k,A.w,A.h]);let X=x=>{let R=Q.current,m=R.getBoundingClientRect();return{x:Math.max(0,Math.min(R.width,(x.clientX-m.left)/m.width*R.width)),y:Math.max(0,Math.min(R.height,(x.clientY-m.top)/m.height*R.height))}},xe=()=>Math.max(4,Math.round(A.w/180)),se=x=>{F(R=>R.filter(m=>m.kind!=="pin"||m.id!==x)),u(null)},V=()=>{let x=E.find(R=>R.kind==="pin"&&R.id===d);x?.kind==="pin"&&!x.label.trim()?se(x.id):u(null)},re=x=>{if(!a)return;let R=X(x);if(s==="pin"){let m=E.find(O=>O.kind==="pin"&&Math.hypot(R.x-O.x,R.y-(O.y-O.size*1.7))<O.size*2);if(m?.kind==="pin"){u(m.id),x.currentTarget.setPointerCapture(x.pointerId),p.current={id:m.id,offset:{x:R.x-m.x,y:R.y-m.y}};return}if(d){V();return}if(E.filter(O=>O.kind==="pin").length>=Xh)return;let Z=`pin-${++h.current}`,D=Math.max(10,A.w/Q.current.getBoundingClientRect().width*9);F(O=>[...O,{kind:"pin",...R,id:Z,label:"",size:D}]),u(Z);return}if(s==="select"){let m=k.points[0],Z=Q.current.getBoundingClientRect(),D=12*A.w/Z.width;if(!k.closed&&m&&k.points.length>=3&&Math.hypot(R.x-m.x,R.y-m.y)<D)N({...k,closed:!0});else{let O=k.points.findIndex(S=>Math.hypot(R.x-S.x,R.y-S.y)<D);if(O>=0){x.currentTarget.setPointerCapture(x.pointerId),b.current={index:O,point:R};return}if(k.closed||k.points.length>=64)return;N({...k,points:[...k.points,R]})}return}x.target.setPointerCapture(x.pointerId),T.current={kind:"stroke",tool:s,size:xe(),points:[R]},B(T.current)},W=x=>{if(p.current){let{id:R,offset:m}=p.current,Z=X(x);F(D=>D.map(O=>O.kind==="pin"&&O.id===R?{...O,x:Math.max(0,Math.min(A.w,Z.x-m.x)),y:Math.max(0,Math.min(A.h,Z.y-m.y))}:O));return}if(b.current){b.current.point=X(x),B();return}T.current&&(T.current.points.push(X(x)),B(T.current))},_=()=>{if(p.current){p.current=null;return}if(b.current){let{index:R,point:m}=b.current;b.current=null,N({...k,points:k.points.map((Z,D)=>D===R?m:Z)});return}if(!T.current)return;let x=T.current;T.current=null,F(R=>[...R,x])},J=E.filter(x=>x.kind==="pin"),C=J.find(x=>x.id===d),L=!!a&&!(k.points.length>0&&!k.closed)&&J.length>0&&J.every(x=>x.label.trim()),I=()=>{if(!(!L||!a))try{let x=document.createElement("canvas");x.width=A.w,x.height=A.h;let R=x.getContext("2d");if(!R){H(!0);return}R.drawImage(a,0,0,A.w,A.h);let m=x.toDataURL("image/jpeg",.92),Z=Q.current?.toDataURL("image/jpeg",.85)||m,D=ti(E,A.w,A.h);if(k.closed){let O=y=>Math.round(y/A.w*1e3),S=y=>Math.round(y/A.h*1e3);D.unshift({gesture:"selection",id:z.current,box:[S(Math.min(...k.points.map(y=>y.y))),O(Math.min(...k.points.map(y=>y.x))),S(Math.max(...k.points.map(y=>y.y))),O(Math.max(...k.points.map(y=>y.x)))],points:k.points.map(y=>[O(y.x),S(y.y)])})}t(m,J.map(O=>O.label.trim()).join("; "),D,Z)}catch{H(!0)}},K=s==="pin"?"markupPinHint":s==="select"?k.closed?"markupSelectedHint":"markupOutlineHint":"markupSketchHint";return(0,Ke.jsxs)("div",{className:"hsk-markup",role:"dialog","aria-label":n("markupDialogLabel"),children:[(0,Ke.jsxs)("div",{className:"hsk-markup-head",children:[(0,Ke.jsx)("span",{className:"hsk-markup-title",role:"status",children:n(K)}),(0,Ke.jsx)("button",{className:"hsk-markup-cancel",onClick:r,children:n("markupCancel")})]}),(0,Ke.jsx)("div",{className:"hsk-markup-stage",children:i?(0,Ke.jsx)("div",{className:"hsk-markup-error",children:n("markupLoadError")}):a?(0,Ke.jsxs)("div",{className:"hsk-markup-canvas-wrap",children:[(0,Ke.jsx)("canvas",{ref:Q,width:A.w,height:A.h,className:`hsk-markup-canvas hsk-markup-canvas--${s}`,style:{touchAction:"none",cursor:M||s==="pin"?"crosshair":void 0},onPointerDown:re,onPointerMove:W,onPointerUp:_,onPointerCancel:()=>{p.current=null,b.current=null,T.current=null,B()}}),s==="pin"&&C&&(0,Ke.jsxs)("div",{className:"hsk-markup-pinlabel",style:Zh(C.x/A.w*100,Math.max(12,(C.y-C.size*4)/A.h*100)),children:[(0,Ke.jsx)("input",{autoFocus:!0,"aria-label":n("markupPinLabel"),placeholder:n("markupPinLabelHint"),value:C.label,maxLength:Qh,style:{width:`${Math.min(34,Math.max(16,C.label.length+2))}ch`},onChange:x=>F(R=>R.map(m=>m.kind==="pin"&&m.id===C.id?{...m,label:x.target.value}:m)),onKeyDown:x=>{(x.key==="Enter"||x.key==="Escape")&&V()}}),(0,Ke.jsx)("button",{"aria-label":n("markupRemovePin"),title:n("markupRemovePin"),onClick:()=>se(C.id),children:"\xD7"})]})]}):(0,Ke.jsx)("div",{className:"hsk-markup-loading",children:n("markupLoading")})}),(0,Ke.jsxs)("div",{className:"hsk-markup-tools",children:[(0,Ke.jsxs)("button",{className:`hsk-markup-tool${s==="pin"?" hsk-markup-tool--on":""}`,onClick:()=>l("pin"),children:[(0,Ke.jsxs)("svg",{width:"14",height:"14",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",style:{verticalAlign:"middle",marginInlineEnd:5},"aria-hidden":"true",children:[(0,Ke.jsx)("path",{d:"M20 10c0 6-8 12-8 12S4 16 4 10a8 8 0 1 1 16 0Z"}),(0,Ke.jsx)("circle",{cx:"12",cy:"10",r:"3"})]}),n("markupPin")]}),(0,Ke.jsx)("button",{className:`hsk-markup-tool${s==="select"?" hsk-markup-tool--on":""}`,onClick:()=>{u(null),l("select")},children:n("markupSelect")}),(0,Ke.jsx)("button",{className:"hsk-markup-tool",disabled:k.closed||k.points.length<3,onClick:()=>N({...k,closed:!0}),children:n("markupCloseOutline")}),(0,Ke.jsx)("button",{className:`hsk-markup-tool${s==="pen"?" hsk-markup-tool--on":""}`,onClick:()=>{u(null),l("pen")},children:n("markupSketch")}),(0,Ke.jsx)("button",{className:`hsk-markup-tool${s==="eraser"?" hsk-markup-tool--on":""}`,onClick:()=>{u(null),l("eraser")},children:n("markupEraser")}),(0,Ke.jsx)("button",{className:"hsk-markup-tool",onClick:()=>M?f(x=>x.length>1?x.slice(0,-1):x):F(x=>x.slice(0,-1)),disabled:M?g.length<2:E.length===0,children:n("markupUndo")}),(0,Ke.jsx)("button",{className:"hsk-markup-tool",onClick:()=>{F([]),u(null),f([{points:[],closed:!1}]),l("pin")},disabled:E.length===0&&!k.points.length,children:n("markupClear")}),(0,Ke.jsx)("button",{className:"hsk-markup-go",onClick:I,disabled:!L,children:n("markupSend")})]}),w&&(0,Ke.jsx)("div",{className:"hsk-markup-error",children:n("markupError")})]})}var st,Ke,ni,Yh,Xh,Qh,oi=Se(()=>{"use strict";st=require("react");ri();Ke=require("react/jsx-runtime"),ni="#ff5a5a",Yh=1280,Xh=4,Qh=80});function ui(e){let r=2166136261;for(let t=0;t<e.length;t++)r^=e.charCodeAt(t),r=Math.imul(r,16777619);return r>>>0}function gn(e){let r=e>>>0;return()=>{r=r+1831565813>>>0;let t=Math.imul(r^r>>>15,1|r);return t=t+Math.imul(t^t>>>7,61|t)^t,((t^t>>>14)>>>0)/4294967296}}function ed(e){let t=new Float32Array(65536);for(let a=0;a<t.length;a++)t[a]=e();let n=(a,o)=>t[(o&255)*256+(a&255)];return(a,o)=>{let i=Math.floor(a),c=Math.floor(o),s=si(a-i),l=si(o-c),h=n(i,c),d=n(i+1,c),u=n(i,c+1),p=n(i+1,c+1);return(h+(d-h)*s)*(1-l)+(u+(p-u)*s)*l}}function td(e,r,t,n){let a=t/Math.SQRT2,o=Math.ceil(e/a),i=Math.ceil(r/a),c=new Int32Array(o*i).fill(-1),s=[],l=[],h=(u,p)=>{let g=s.length;s.push([u,p]),c[Math.floor(p/a)*o+Math.floor(u/a)]=g,l.push(g)},d=(u,p)=>{if(u<0||p<0||u>=e||p>=r)return!1;let g=Math.floor(u/a),f=Math.floor(p/a);for(let k=Math.max(f-2,0);k<=Math.min(f+2,i-1);k++)for(let z=Math.max(g-2,0);z<=Math.min(g+2,o-1);z++){let b=c[k*o+z];if(b<0)continue;let N=s[b][0]-u,M=s[b][1]-p;if(N*N+M*M<t*t)return!1}return!0};for(h(n()*e,n()*r);l.length;){let u=n()*l.length|0,[p,g]=s[l[u]],f=!1;for(let k=0;k<24;k++){let z=n()*Math.PI*2,b=t*(1+n()),N=p+Math.cos(z)*b,M=g+Math.sin(z)*b;if(d(N,M)){h(N,M),f=!0;break}}f||l.splice(u,1)}return s}function ho(e,r,t){let n=li(e),a=li(r);return`rgb(${Math.round(n[0]+(a[0]-n[0])*t)},${Math.round(n[1]+(a[1]-n[1])*t)},${Math.round(n[2]+(a[2]-n[2])*t)})`}function mo(){for(let e of uo)e()}function mi(e){po.forEach(r=>r(e))}function od(e,r,t){return`hsl(${Math.round(r*300%360)}, ${t?72:68}%, ${t?58:46}%)`}function bi(e,r,t,n,a,o,i,c=r){let s=i?rd[i]:void 0,l=gn(a),h=ed(gn(a^2654435769)),d=e*r,p=Math.max(40,Math.min(520,Math.round(d/3100)))/.48,g=Math.max(26,Math.sqrt(.7*d/p)),f=td(e,r,g,l),k=4.4/Math.max(e,r),z=k*2.6,b=Math.hypot(e,r),N=l()*Math.PI*2,M=Math.cos(N),E=Math.sin(N),F=e*(.18+l()*.64),w=r*(.12+l()*.5),H=[],Q=Math.hypot(e,r)||1,T=gn(a^1540483477),A=o?e:0,G=Math.hypot(e,c)||1,[B,X,xe]=t.split(",").map(V=>parseFloat(V)||0),se=.2126*B+.7152*X+.0722*xe>128;for(let[V,re]of f){let W=h(V*k,re*k)*.72+h(V*z,re*z)*.28,_=Math.min(1,Math.max(0,(W-.26)/.44));if(l()>_*_*(3-2*_))continue;let J=l(),C=Math.max(0,1-Math.hypot(V-F,re-w)/(b*.72))**1.6,L=((V-e/2)*M+(re-r/2)*E)/b+.5,I=!se,x=((I?.055:.028)+l()*(I?.04:.025))*(.75+L*.55)*(1+C*.4),R=ho(t,n,C*.85),m=((o?e-V:V)+r-re)/(e+r||1),Z=l()*16777215|0,D=od(Z,m,se),O=0,S=I?1.05+l()*.35:.65+l()*.35,y=20,P=lo[0],q=1;J<.5?(O=it(l,.16),S=I?1.15+l()*.45:.7+l()*.35,y=20+l()*16,P=lo[l()*lo.length|0]):J<.82?(O=l()*Math.PI*2,S=I?.95+l()*.4:.6+l()*.4,y=16+l()*20,P=ii[l()*ii.length|0]):J<.95||!s?(O=l()*Math.PI*2,S=I?.85+l()*.35:.55+l()*.35,y=7+l()*7,P=ci[l()*ci.length|0]):(O=it(l,.3),S=I?1.1+l()*.3:.75+l()*.3,y=15+l()*9,P=s,q=2.6),H.push({x:V,y:re,roll:J,rotation:O,lineWidth:S,alpha:x*q,baseColor:R,shimmerColor:D,drawFn:P,size:y,seed:Z,normDist:m,bloom:Math.min(1,Math.hypot(V-A,re-c)/G)*.62+T()*.08,glow:se?.2:.06,ux:(V-A)/(Math.hypot(V-A,re-c)||1),uy:(re-c)/(Math.hypot(V-A,re-c)||1)})}return H}function id(e){return 1+(1.2+1)*(e-1)**3+1.2*(e-1)**2}function Nr(e,r,t,n,a,o=1,i){e.clearRect(0,0,t,n),e.lineCap="round",e.lineJoin="round";let c=a>=0&&a<=1.4,s=c?a*1.4-.2:-999,l=.3;for(let h of r){let d=h.alpha,u=h.baseColor,p=h.lineWidth,g=1,f=0,k=0;if(i!==void 0){let b=Math.min(1,Math.max(0,(i-h.bloom)/sd));if(b<=0)continue;let N=1-(1-b)**3,M=Math.sin(b*Math.PI)**2;d=h.alpha*N+M*h.glow,u=ho(h.baseColor,h.shimmerColor,M*(h.glow>.1?.85:.55)),p=h.lineWidth*(1+M*.35),g=.86+.14*id(b),f=-h.ux*(1-N)*9,k=-h.uy*(1-N)*9}else if(c){let b=h.normDist-s;if(b>l)d=h.alpha*.45,u=h.baseColor,p=h.lineWidth;else if(b<-l)d=h.alpha,u=h.baseColor,p=h.lineWidth;else{let N=Math.cos(b/l*(Math.PI/2))**2;d=h.alpha+N*.08,u=N>.08?ho(h.baseColor,h.shimmerColor,N*.65):h.baseColor,p=h.lineWidth*(1+N*.2)}}e.save(),e.translate(h.x+(h.dx??0)+f,h.y+(h.dy??0)+k),e.rotate(h.rotation+(h.dr??0)),g!==1&&e.scale(g,g),h.hop&&(e.scale(1+h.hop,1+h.hop),d*=1+h.hop*2),e.globalAlpha=Math.min(d*o,1),e.strokeStyle=u,e.fillStyle=u,e.lineWidth=p;let z=gn(h.seed);h.drawFn(e,h.size,z),e.restore()}}function ld({seed:e="",theme:r,alphaScale:t=1.8,weight:n=.6}){let a=(0,ft.useRef)(null);return(0,ft.useEffect)(()=>{let o=a.current,i=o?.getContext("2d");if(!o||!i)return;let c=0,s=()=>{let h=o.clientWidth,d=o.clientHeight,u=Math.min(window.devicePixelRatio||1,3);o.width=Math.round(h*u),o.height=Math.round(d*u);let p=getComputedStyle(o),g=p.getPropertyValue("--hsk-doodle-ink").trim()||"31,31,31",f=p.getPropertyValue("--hsk-doodle-tint").trim()||g,k=h*kn,z=d*kn,b=bi(k,z,g,f,ui(e||"kiku"),!1,r);for(let E of b)E.lineWidth*=kn*n;if(i.setTransform(u/kn,0,0,u/kn,0,0),window.matchMedia?.("(prefers-reduced-motion: reduce)")?.matches){Nr(i,b,k,z,-1,t);return}let N=performance.now(),M=E=>{let F=(E-N)%(pi*2)/pi,w=F<1?F:2-F;Nr(i,b,k,z,(1-Math.cos(w*Math.PI))/2*1.4,t),c=requestAnimationFrame(M)};c=requestAnimationFrame(M)},l=new ResizeObserver(()=>{c||!o.clientWidth||!o.clientHeight||(l.disconnect(),s())});return l.observe(o),()=>{l.disconnect(),cancelAnimationFrame(c)}},[e,r,t,n]),(0,xn.jsx)("canvas",{className:"hsk-doodle-shimmer",ref:a,"aria-hidden":"true"})}function Vr({active:e,seed:r,theme:t}){let[n,a]=(0,ft.useState)(e);return(0,ft.useEffect)(()=>{if(e){a(!0);return}let o=setTimeout(()=>a(!1),hd);return()=>clearTimeout(o)},[e]),n?(0,xn.jsx)("span",{className:`hsk-working-veil${e?"":" is-leaving"}`,"aria-hidden":"true",children:(0,xn.jsx)(ld,{seed:r,theme:t,alphaScale:18,weight:1.15})}):null}var ft,xn,si,it,lo,ii,ci,rd,li,po,uo,nd,hi,di,ad,sd,cd,kn,pi,hd,da,vn=Se(()=>{"use strict";ft=Wt(require("react")),xn=require("react/jsx-runtime");si=e=>e*e*(3-2*e);it=(e,r)=>(e()-.5)*r,lo=[(e,r,t)=>{let n=r*.5,a=r*(.14+t()*.04),o=r*.07;e.beginPath(),e.moveTo(-a-o*.6,-n),e.lineTo(a+o*.6,-n),e.moveTo(-a,-n+o),e.lineTo(a,-n+o),e.moveTo(-a,-n+o),e.lineTo(-a*.85,n-o),e.moveTo(a,-n+o),e.lineTo(a*.85,n-o),e.moveTo(0,-n+o*1.7),e.lineTo(0,n-o*1.7),e.moveTo(-a,n-o),e.lineTo(a,n-o),e.moveTo(-a-o*.6,n),e.lineTo(a+o*.6,n),e.stroke()},(e,r,t)=>{let n=r*.5,a=-n*(.18+t()*.1);e.beginPath(),e.moveTo(-n,a),e.lineTo(0,-n),e.lineTo(n,a),e.closePath(),e.moveTo(-n*.92,a+n*.16),e.lineTo(n*.92,a+n*.16);for(let o of[-.62,-.21,.21,.62])e.moveTo(n*o,a+n*.16),e.lineTo(n*o,n*.8);e.moveTo(-n,n*.8),e.lineTo(n,n*.8),e.stroke()},(e,r,t)=>{let n=r*.5,a=n*(.48+t()*.12);e.beginPath(),e.moveTo(-n*.2,-n*.86),e.lineTo(n*.2,-n*.86),e.moveTo(-n*.15,-n*.78),e.bezierCurveTo(-a,-n*.3,-a*.85,n*.6,0,n*.86),e.bezierCurveTo(a*.85,n*.6,a,-n*.3,n*.15,-n*.78),e.moveTo(-n*.17,-n*.64),e.quadraticCurveTo(-a*1.16,-n*.48,-a*.7,-n*.04),e.moveTo(n*.17,-n*.64),e.quadraticCurveTo(a*1.16,-n*.48,a*.7,-n*.04),e.stroke()},(e,r,t)=>{let n=r*.5;e.beginPath(),e.moveTo(-n*.9,n*.52),e.quadraticCurveTo(0,-n*.18,n*.9,-n*.58),e.stroke();let a=4+(t()*3|0);for(let o=0;o<a;o++){let i=.16+o/a*.8,c=-n*.9+i*n*1.8,s=n*.52-i*n*1.16+(1-i)*i*n*.3,l=o%2?1:-1,h=n*(.26+t()*.1);e.beginPath(),e.moveTo(c,s),e.quadraticCurveTo(c+h*.5,s+l*h*.66,c+h*.9,s+l*h*.08),e.quadraticCurveTo(c+h*.42,s+l*h*.04,c,s),e.stroke()}},(e,r,t)=>{let n=r*.5;e.beginPath(),e.moveTo(-n*.85,-n*.7),e.quadraticCurveTo(-n*.1,-n*.35,n*.2,n*.1),e.stroke();let a=[[-n*.45,-n*.12],[n*.05,n*.3],[n*.42,-n*.4]];for(let[o,i]of a)e.beginPath(),e.moveTo(o,i-n*.28),e.lineTo(o-n*.02,i-n*.16),e.stroke(),e.beginPath(),e.ellipse(o,i,n*(.15+t()*.04),n*.19,it(t,.5),0,Math.PI*2),e.stroke()},(e,r,t)=>{let n=r*.5;for(let a of[-1,1]){e.beginPath(),e.arc(0,0,n*.72,a>0?-1.25:1.25,a>0?1.25:Math.PI*2-1.25,a<0),e.stroke();for(let o=0;o<5;o++){let i=-1.05+o/4*2.1,c=Math.sin(i)*a*n*.72,s=Math.cos(i)*n*.72,l=n*(.2+t()*.08);e.beginPath(),e.moveTo(c,s),e.quadraticCurveTo(c+a*l*.9,s-l*.5,c+a*l*.6,s-l*1.05),e.stroke()}}},(e,r)=>{let t=r*.5;e.beginPath(),e.moveTo(-t,t*.6),e.lineTo(t*.55,t*.6),e.lineTo(t*.55,-t*.6),e.lineTo(-t*.45,-t*.6),e.lineTo(-t*.45,t*.15),e.lineTo(t*.1,t*.15),e.lineTo(t*.1,-t*.18),e.stroke()},(e,r)=>{let t=r*.5;e.beginPath(),e.moveTo(-t*.62,t*.8),e.lineTo(-t*.62,-t*.05),e.arc(0,-t*.05,t*.62,Math.PI,0),e.lineTo(t*.62,t*.8),e.stroke(),e.beginPath(),e.moveTo(-t*.86,t*.8),e.lineTo(t*.86,t*.8),e.stroke()},(e,r,t)=>{let n=r*.5;e.beginPath(),e.arc(0,0,n*.4,0,Math.PI*2),e.stroke();let a=t()*.5;for(let o=0;o<8;o++){let i=a+o/8*Math.PI*2;e.beginPath(),e.moveTo(Math.cos(i)*n*.6,Math.sin(i)*n*.6),e.lineTo(Math.cos(i)*n*.94,Math.sin(i)*n*.94),e.stroke()}},(e,r)=>{let t=r*.5;e.beginPath(),e.moveTo(-t*.44,t*.7),e.bezierCurveTo(-t,t*.2,-t*.8,-t*.7,-t*.3,-t*.6),e.moveTo(t*.44,t*.7),e.bezierCurveTo(t,t*.2,t*.8,-t*.7,t*.3,-t*.6),e.moveTo(-t*.32,-t*.64),e.lineTo(t*.32,-t*.64),e.moveTo(-t*.44,t*.7),e.lineTo(t*.44,t*.7);for(let n of[-.16,.02,.2])e.moveTo(t*n,-t*.56),e.lineTo(t*n,t*.62);e.stroke()},(e,r,t)=>{let n=r*.5,a=n*(.4+t()*.18);e.beginPath(),e.moveTo(-n,n*.16),e.quadraticCurveTo(-n*.5,-a,0,-n*.02),e.quadraticCurveTo(n*.5,-a,n,n*.16),e.stroke()}],ii=[(e,r,t)=>{let n=r*.5,a=-n+it(t,n*.3),o=it(t,n);e.beginPath(),e.moveTo(a,o);let i=4+(t()*4|0);for(let c=0;c<i;c++){let s=a+n*2/i+it(t,n*.5),l=it(t,n*1.5);e.quadraticCurveTo(a+it(t,n*.9),o+it(t,n*1.6),s,l),a=s,o=l}e.stroke()},(e,r,t)=>{let n=r*.5,a=2.2+t()*1.6,o=t()<.5?-1:1;e.beginPath();for(let i=0;i<=60;i++){let c=i/60,s=o*c*a*Math.PI*2,l=n*c*(.9+it(t,.06)),h=Math.cos(s)*l,d=Math.sin(s)*l;i===0?e.moveTo(h,d):e.lineTo(h,d)}e.stroke()},(e,r,t)=>{let n=r*.5,a=4+(t()*4|0),o=it(t,.7);for(let i=0;i<a;i++){let c=-n+i/(a-1)*n*2+it(t,n*.16),s=n*(.7+t()*.6);e.beginPath(),e.moveTo(c-o*s*.5,-s*.5),e.quadraticCurveTo(c+it(t,n*.2),0,c+o*s*.5,s*.5),e.stroke()}},(e,r,t)=>{let n=r*.5,a=2+(t()*3|0),o=n*2/a;e.beginPath(),e.moveTo(-n,n*.4);for(let i=0;i<a;i++){let c=-n+i*o,s=o*(.42+t()*.18);e.bezierCurveTo(c+s*.2,n*.4-s*2.1,c+o-s*.2,n*.4-s*2.1,c+o,n*.4+it(t,n*.14))}e.stroke()}],ci=[(e,r,t)=>{e.beginPath(),e.arc(0,0,r*.1+t()*r*.04,0,Math.PI*2),e.fill()},(e,r,t)=>{e.beginPath(),e.arc(it(t,r*.04),it(t,r*.04),r*.32,0,Math.PI*2),e.stroke()},(e,r,t)=>{let n=r*.4,a=n*(.2+t()*.12);e.beginPath(),e.moveTo(0,-n),e.quadraticCurveTo(a,-a,n,0),e.quadraticCurveTo(a,a,0,n),e.quadraticCurveTo(-a,a,-n,0),e.quadraticCurveTo(-a,-a,0,-n),e.stroke()},(e,r,t)=>{let n=r*.4;e.beginPath(),e.moveTo(-n,it(t,r*.08)),e.quadraticCurveTo(0,it(t,r*.16),n,it(t,r*.08)),e.stroke()}],rd={light:(e,r)=>{let t=r*.5;e.beginPath(),e.moveTo(0,-t),e.quadraticCurveTo(t*.16,-t*.16,t,0),e.quadraticCurveTo(t*.16,t*.16,0,t),e.quadraticCurveTo(-t*.16,t*.16,-t,0),e.quadraticCurveTo(-t*.16,-t*.16,0,-t),e.stroke()},dark:(e,r)=>{let t=r*.44;e.beginPath(),e.moveTo(-t*.6,-t*.5),e.lineTo(t*.6,-t*.5),e.lineTo(t,t*.05),e.lineTo(0,t),e.lineTo(-t,t*.05),e.closePath(),e.moveTo(-t,t*.05),e.lineTo(t,t*.05),e.moveTo(-t*.6,-t*.5),e.lineTo(-t*.3,t*.05),e.lineTo(0,t),e.moveTo(t*.6,-t*.5),e.lineTo(t*.3,t*.05),e.lineTo(0,t),e.stroke()},mahogany:(e,r)=>{let t=r*.5;e.beginPath(),e.moveTo(0,t),e.bezierCurveTo(-t*.9,t*.2,-t*.7,-t*.7,0,-t),e.bezierCurveTo(t*.7,-t*.7,t*.9,t*.2,0,t),e.moveTo(0,t*.86),e.lineTo(0,-t*.86);for(let n=0;n<3;n++){let a=-.34+n*.36;e.moveTo(0,t*a),e.lineTo(t*.44,t*(a-.26)),e.moveTo(0,t*a),e.lineTo(-t*.44,t*(a-.26))}e.stroke()},blush:(e,r)=>{let t=r*.5;for(let n=0;n<5;n++){let a=n/5*Math.PI*2-Math.PI/2;e.beginPath(),e.ellipse(Math.cos(a)*t*.52,Math.sin(a)*t*.52,t*.42,t*.26,a,0,Math.PI*2),e.stroke()}e.beginPath(),e.arc(0,0,t*.19,0,Math.PI*2),e.stroke()},coffee:(e,r)=>{let t=r*.5;e.beginPath(),e.ellipse(0,0,t*.6,t*.9,0,0,Math.PI*2),e.stroke(),e.beginPath(),e.moveTo(0,-t*.84),e.bezierCurveTo(t*.34,-t*.3,-t*.34,t*.3,0,t*.84),e.stroke()},midnight:(e,r)=>{let t=r*.5;e.beginPath();for(let n=0;n<10;n++){let a=n%2===0?t:t*.4,o=n/10*Math.PI*2-Math.PI/2,i=Math.cos(o)*a,c=Math.sin(o)*a;n===0?e.moveTo(i,c):e.lineTo(i,c)}e.closePath(),e.stroke()}},li=e=>{let r=e.split(",").map(t=>parseFloat(t.trim()));return[r[0]||0,r[1]||0,r[2]||0]};po=new Set,uo=new Set;nd=83,hi=[{k:.45,hop:1},{k:1.15,hop:.55},{k:.95,hop:.12},{k:1,hop:0}],di=7,ad=.28;sd=.3;cd=ft.default.memo(function({seed:r="",theme:t,dir:n,waitForContent:a=!1}){let o=(0,ft.useRef)(null),i=(0,ft.useRef)(!1),c=(0,ft.useRef)(0),s=(0,ft.useRef)(null),l=(0,ft.useRef)(0),h=(0,ft.useRef)(0),d=(0,ft.useRef)(a);return(0,ft.useEffect)(()=>{let u=o.current;if(!u)return;let p=ui(r||"kiku"),g=0,f=(T,A,G,B)=>X=>{let xe=X-T,se=Math.min(1,xe/A),V=u.clientWidth,re=u.clientHeight;if(V&&re){let W=Math.min(window.devicePixelRatio||1,3),_=Math.round(V*W),J=Math.round(re*W);(u.width!==_||u.height!==J)&&(u.width=_,u.height=J);let C=u.getContext("2d");C&&(C.setTransform(W,0,0,W,0,0),Nr(C,G,V,re,-1,1,se))}if(se<1)c.current=requestAnimationFrame(f(T,A,G,B));else{i.current=!1;let W=u.clientWidth,_=u.clientHeight,J=u.getContext("2d");if(J&&W&&_){let C=Math.min(window.devicePixelRatio||1,3);J.setTransform(C,0,0,C,0,0),Nr(J,G,W,_,-1)}}},k=()=>{let T=u.clientWidth,A=u.clientHeight;if(!T||!A)return;let G=Math.min(window.devicePixelRatio||1,3),B=u.getContext("2d");if(!B)return;let X=getComputedStyle(u),xe=X.getPropertyValue("--hsk-doodle-ink").trim()||"31,31,31",se=X.getPropertyValue("--hsk-doodle-tint").trim()||xe,V=n==="rtl"||X.direction==="rtl"||u.closest('[dir="rtl"]')!==null,re=typeof window<"u"?Math.max(A,window.innerHeight||0):A,W=bi(T,re,xe,se,p,V,t,A);s.current=W,l.current=T,h.current=re;let _=Math.round(T*G),J=Math.round(A*G);if((u.width!==_||u.height!==J)&&(u.width=_,u.height=J),B.setTransform(G,0,0,G,0,0),d.current){B.clearRect(0,0,T,A);return}if(window.matchMedia?.("(prefers-reduced-motion: reduce)")?.matches){Nr(B,W,T,A,-1);return}cancelAnimationFrame(c.current),i.current=!0;let L=1500,I=performance.now();c.current=requestAnimationFrame(f(I,L,W,V))},z=()=>{let T=s.current,A=u.clientWidth,G=u.clientHeight;if(T&&A===l.current&&G<=h.current){if(i.current||d.current||!G)return;let B=u.getContext("2d");if(!B)return;let X=Math.min(window.devicePixelRatio||1,3);u.width=Math.round(A*X),u.height=Math.round(G*X),B.setTransform(X,0,0,X,0,0),Nr(B,T,A,G,-1);return}clearTimeout(g),g=window.setTimeout(k,20)};k();let b=()=>{d.current&&(d.current=!1,k())};uo.add(b);let N=d.current?window.setTimeout(b,2e3):0,M=new ResizeObserver(z);M.observe(u);let E=window.matchMedia?.("(prefers-color-scheme: dark)"),F=()=>{k()};E?.addEventListener?.("change",F);let w=0,H=()=>{let T=s.current,A=u.getContext("2d"),G=u.clientWidth,B=u.clientHeight;if(!T||!A||!G||!B)return;let X=Math.min(window.devicePixelRatio||1,3);A.setTransform(X,0,0,X,0,0),Nr(A,T,G,B,-1)},Q=({x:T,y:A,strength:G})=>{let B=s.current;if(!B||window.matchMedia?.("(prefers-reduced-motion: reduce)")?.matches)return;cancelAnimationFrame(c.current),i.current=!1,clearTimeout(w);let X=u.getBoundingClientRect(),xe=T-X.left,se=A-X.top,V=gn(performance.now()*997|0),re=(C,L)=>Math.max(-L,Math.min(L,C)),W=B.map(C=>{let L=C.dx??0,I=C.dy??0,K=C.dr??0,x=C.x-xe,R=C.y-se,m=Math.hypot(x,R)||1,Z=G*(.18+.82*Math.exp(-m/220)),D=Z*(.6+V()*1.8),O=re(L+x/m*D+(V()-.5)*Z*2,di),S=re(I+R/m*D+(V()-.5)*Z*2,di),y=re(K+(V()-.5)*Z*.12,ad);return{g:C,fx:L,fy:I,fr:K,tx:O,ty:S,tr:y,lift:Z*.09}}),_=0,J=()=>{let C=hi[_];for(let L of W)L.g.dx=L.fx+(L.tx-L.fx)*C.k,L.g.dy=L.fy+(L.ty-L.fy)*C.k,L.g.dr=L.fr+(L.tr-L.fr)*C.k,L.g.hop=L.lift*C.hop;H(),++_<hi.length&&(w=window.setTimeout(J,nd))};J()};return po.add(Q),()=>{po.delete(Q),uo.delete(b),clearTimeout(N),clearTimeout(w),clearTimeout(g),cancelAnimationFrame(c.current),i.current=!1,M.disconnect(),E?.removeEventListener?.("change",F)}},[r,t,n]),(0,xn.jsx)("canvas",{className:"hsk-cb-doodles",ref:o,"aria-hidden":"true"})}),kn=3,pi=1800;hd=300;da=cd});function yn(e,r){if(!e)return;let t=e.trim();if(!t)return;let n=t.toLowerCase(),a=ua.find(c=>c.value.toLowerCase()===n||c.native.toLowerCase()===n||c.tag===n);if(a)return a.native;if(pa[n]?.endonym)return pa[n].endonym;let o=Object.values(pa).find(c=>c.endonym?.toLowerCase()===n);if(o?.endonym)return o.endonym;let i=r||(n.length<=3?n:void 0);if(i&&typeof Intl<"u"&&Intl.DisplayNames)try{let s=new Intl.DisplayNames([i],{type:"language"}).of(i);if(s&&s.toLowerCase()!==i.toLowerCase())return s}catch{}return t}function fi(e){for(let r of e){let t=r.codePointAt(0)??0;if(t>=1424&&t<=2303||t>=64285&&t<=65023||t>=65136&&t<=65279)return!0}return!1}function ki(e){let r=e.trim();return r?r.charAt(0).toUpperCase()+r.slice(1):"\u2026"}function Ir(e){if(!e)return{nativeName:"\u2026",preparing:"Preparing\u2026",changeLang:"\u2190",rtl:!1,known:!0};let r=e.trim().toLowerCase(),t=Object.entries(pa).find(([i,c])=>i===r||c.endonym?.toLowerCase()===r||yn(i)?.toLowerCase()===r);if(t)return{nativeName:t[1].endonym||yn(e)||ki(e),preparing:t[1].preparing,changeLang:t[1].changeLang,rtl:!!t[1].rtl||fi(t[1].preparing),known:!0};let n=yn(e)||e,a=ki(n),o=fi(a);return{nativeName:a,preparing:`Preparing in ${a}\u2026`,changeLang:o?"\u062A\u063A\u064A\u064A\u0631":"Change",rtl:o,known:!1}}function xi(e){let r=e.trim();if(!r||r.length>40||r.includes("?"))return null;r=r.replace(/^(hi|hey|hello|yo)[,!.\s]+/i,""),r=r.replace(/^(i['’]?m|im|my name is|call me|it['’]?s|this is|name['’]?s)\s+/i,""),r=r.trim().replace(/[.!,]+$/,"");let t=r.split(/\s+/);if(t.length===0||t.length>3||!/^[\p{L}][\p{L}\-'’ ]{0,30}$/u.test(r))return null;let n=r.toLowerCase();if(["phone","laptop","tv","cheap","best","under","buy","search","find","show","need","want","price","sofa","shoe","headphone","camera","gift","help"].some(i=>n.includes(i)))return null;let o=t[0];return o.charAt(0).toUpperCase()+o.slice(1)}var bo,wn,ua,pa,Cn,fo,yr,wt,ko,wr,gi,vi,yi,go,It=Se(()=>{"use strict";bo=Wt(require("react")),wn=[],ua=[{value:"English",native:"English",tag:"en",rtl:!1},{value:"Chinese",native:"\u4E2D\u6587",tag:"zh",rtl:!1},{value:"Spanish",native:"Espa\xF1ol",tag:"es",rtl:!1},{value:"Arabic",native:"\u0627\u0644\u0639\u0631\u0628\u064A\u0629",tag:"ar",rtl:!0},{value:"Hindi",native:"\u0939\u093F\u0928\u094D\u0926\u0940",tag:"hi",rtl:!1},{value:"French",native:"Fran\xE7ais",tag:"fr",rtl:!1},{value:"Swahili",native:"Kiswahili",tag:"sw",rtl:!1},{value:"Portuguese",native:"Portugu\xEAs",tag:"pt",rtl:!1},{value:"Japanese",native:"\u65E5\u672C\u8A9E",tag:"ja",rtl:!1},{value:"Urdu",native:"\u0627\u0631\u062F\u0648",tag:"ur",rtl:!0}];pa={english:{preparing:"Preparing in English\u2026",changeLang:"Change language",endonym:"English"},swahili:{preparing:"Inatayarisha kwa Kiswahili\u2026",changeLang:"Badilisha lugha",endonym:"Kiswahili"},french:{preparing:"Configuration en fran\xE7ais\u2026",changeLang:"Changer de langue",endonym:"Fran\xE7ais"},spanish:{preparing:"Configurando en espa\xF1ol\u2026",changeLang:"Cambiar idioma",endonym:"Espa\xF1ol"},arabic:{preparing:"\u062C\u0627\u0631\u064D \u0627\u0644\u0625\u0639\u062F\u0627\u062F \u0628\u0627\u0644\u0644\u063A\u0629 \u0627\u0644\u0639\u0631\u0628\u064A\u0629\u2026",changeLang:"\u062A\u063A\u064A\u064A\u0631 \u0627\u0644\u0644\u063A\u0629",rtl:!0,endonym:"\u0627\u0644\u0639\u0631\u0628\u064A\u0629"},portuguese:{preparing:"Configurando em portugu\xEAs\u2026",changeLang:"Alterar idioma",endonym:"Portugu\xEAs"},hindi:{preparing:"\u0939\u093F\u0928\u094D\u0926\u0940 \u092E\u0947\u0902 \u0924\u0948\u092F\u093E\u0930 \u0915\u093F\u092F\u093E \u091C\u093E \u0930\u0939\u093E \u0939\u0948\u2026",changeLang:"\u092D\u093E\u0937\u093E \u092C\u0926\u0932\u0947\u0902",endonym:"\u0939\u093F\u0928\u094D\u0926\u0940"},chinese:{preparing:"\u6B63\u5728\u51C6\u5907\u4E2D\u6587\u73AF\u5883\u2026",changeLang:"\u66F4\u6539\u8BED\u8A00",endonym:"\u4E2D\u6587"},urdu:{preparing:"\u0627\u0631\u062F\u0648 \u0645\u06CC\u06BA \u062A\u06CC\u0627\u0631\u06CC \u062C\u0627\u0631\u06CC \u06C1\u06D2\u2026",changeLang:"\u0632\u0628\u0627\u0646 \u062A\u0628\u062F\u06CC\u0644 \u06A9\u0631\u06CC\u06BA",rtl:!0,endonym:"\u0627\u0631\u062F\u0648"},japanese:{preparing:"\u65E5\u672C\u8A9E\u3092\u8A2D\u5B9A\u4E2D\u2026",changeLang:"\u8A00\u8A9E\u3092\u5909\u66F4",endonym:"\u65E5\u672C\u8A9E"},german:{preparing:"Wird auf Deutsch eingerichtet\u2026",changeLang:"Sprache \xE4ndern",endonym:"Deutsch"},italian:{preparing:"Configurazione in italiano\u2026",changeLang:"Cambia lingua",endonym:"Italiano"},russian:{preparing:"\u041D\u0430\u0441\u0442\u0440\u043E\u0439\u043A\u0430 \u043D\u0430 \u0440\u0443\u0441\u0441\u043A\u043E\u043C\u2026",changeLang:"\u0418\u0437\u043C\u0435\u043D\u0438\u0442\u044C \u044F\u0437\u044B\u043A",endonym:"\u0420\u0443\u0441\u0441\u043A\u0438\u0439"},korean:{preparing:"\uD55C\uAD6D\uC5B4\uB85C \uC124\uC815 \uC911\u2026",changeLang:"\uC5B8\uC5B4 \uBCC0\uACBD",endonym:"\uD55C\uAD6D\uC5B4"},turkish:{preparing:"T\xFCrk\xE7e olarak haz\u0131rlan\u0131yor\u2026",changeLang:"Dili de\u011Fi\u015Ftir",endonym:"T\xFCrk\xE7e"},vietnamese:{preparing:"\u0110ang thi\u1EBFt l\u1EADp b\u1EB1ng Ti\u1EBFng Vi\u1EC7t\u2026",changeLang:"\u0110\u1ED5i ng\xF4n ng\u1EEF",endonym:"Ti\u1EBFng Vi\u1EC7t"},indonesian:{preparing:"Menyiapkan dalam Bahasa Indonesia\u2026",changeLang:"Ubah bahasa",endonym:"Bahasa Indonesia"},malay:{preparing:"Menyediakan dalam Bahasa Melayu\u2026",changeLang:"Tukar bahasa",endonym:"Bahasa Melayu"},bahasa:{preparing:"Menyediakan dalam Bahasa Melayu\u2026",changeLang:"Tukar bahasa",endonym:"Bahasa Melayu"},polish:{preparing:"Przygotowywanie w j\u0119zyku polskim\u2026",changeLang:"Zmie\u0144 j\u0119zyk",endonym:"Polski"},dutch:{preparing:"Instellen in het Nederlands\u2026",changeLang:"Taal wijzigen",endonym:"Nederlands"},thai:{preparing:"\u0E01\u0E33\u0E25\u0E31\u0E07\u0E15\u0E31\u0E49\u0E07\u0E04\u0E48\u0E32\u0E40\u0E1B\u0E47\u0E19\u0E20\u0E32\u0E29\u0E32\u0E44\u0E17\u0E22\u2026",changeLang:"\u0E40\u0E1B\u0E25\u0E35\u0E48\u0E22\u0E19\u0E20\u0E32\u0E29\u0E32",endonym:"\u0E44\u0E17\u0E22"},bengali:{preparing:"\u09AC\u09BE\u0982\u09B2\u09BE\u09AF\u09BC \u09AA\u09CD\u09B0\u09B8\u09CD\u09A4\u09C1\u09A4 \u0995\u09B0\u09BE \u09B9\u099A\u09CD\u099B\u09C7\u2026",changeLang:"\u09AD\u09BE\u09B7\u09BE \u09AA\u09B0\u09BF\u09AC\u09B0\u09CD\u09A4\u09A8 \u0995\u09B0\u09C1\u09A8",endonym:"\u09AC\u09BE\u0982\u09B2\u09BE"},tamil:{preparing:"\u0BA4\u0BAE\u0BBF\u0BB4\u0BBF\u0BB2\u0BCD \u0BA4\u0BAF\u0BBE\u0BB0\u0BCD \u0B9A\u0BC6\u0BAF\u0BCD\u0BAF\u0BAA\u0BCD\u0BAA\u0B9F\u0BC1\u0B95\u0BBF\u0BB1\u0BA4\u0BC1\u2026",changeLang:"\u0BAE\u0BCA\u0BB4\u0BBF\u0BAF\u0BC8 \u0BAE\u0BBE\u0BB1\u0BCD\u0BB1\u0BB5\u0BC1\u0BAE\u0BCD",endonym:"\u0BA4\u0BAE\u0BBF\u0BB4\u0BCD"},telugu:{preparing:"\u0C24\u0C46\u0C32\u0C41\u0C17\u0C41\u0C32\u0C4B \u0C38\u0C3F\u0C26\u0C4D\u0C27\u0C02 \u0C1A\u0C47\u0C38\u0C4D\u0C24\u0C4B\u0C02\u0C26\u0C3F\u2026",changeLang:"\u0C2D\u0C3E\u0C37\u0C28\u0C41 \u0C2E\u0C3E\u0C30\u0C4D\u0C1A\u0C02\u0C21\u0C3F",endonym:"\u0C24\u0C46\u0C32\u0C41\u0C17\u0C41"},persian:{preparing:"\u062F\u0631 \u062D\u0627\u0644 \u0622\u0645\u0627\u062F\u0647\u200C\u0633\u0627\u0632\u06CC \u0628\u0647 \u0632\u0628\u0627\u0646 \u0641\u0627\u0631\u0633\u06CC\u2026",changeLang:"\u062A\u063A\u06CC\u06CC\u0631 \u0632\u0628\u0627\u0646",rtl:!0,endonym:"\u0641\u0627\u0631\u0633\u06CC"},farsi:{preparing:"\u062F\u0631 \u062D\u0627\u0644 \u0622\u0645\u0627\u062F\u0647\u200C\u0633\u0627\u0632\u06CC \u0628\u0647 \u0632\u0628\u0627\u0646 \u0641\u0627\u0631\u0633\u06CC\u2026",changeLang:"\u062A\u063A\u06CC\u06CC\u0631 \u0632\u0628\u0627\u0646",rtl:!0,endonym:"\u0641\u0627\u0631\u0633\u06CC"},greek:{preparing:"\u03A1\u03CD\u03B8\u03BC\u03B9\u03C3\u03B7 \u03C3\u03C4\u03B1 \u03B5\u03BB\u03BB\u03B7\u03BD\u03B9\u03BA\u03AC\u2026",changeLang:"\u0391\u03BB\u03BB\u03B1\u03B3\u03AE \u03B3\u03BB\u03CE\u03C3\u03C3\u03B1\u03C2",endonym:"\u0395\u03BB\u03BB\u03B7\u03BD\u03B9\u03BA\u03AC"},hebrew:{preparing:"\u05DE\u05D2\u05D3\u05D9\u05E8 \u05D1\u05E2\u05D1\u05E8\u05D9\u05EA\u2026",changeLang:"\u05E9\u05E0\u05D4 \u05E9\u05E4\u05D4",rtl:!0,endonym:"\u05E2\u05D1\u05E8\u05D9\u05EA"},burmese:{preparing:"\u1019\u103C\u1014\u103A\u1019\u102C\u1018\u102C\u101E\u102C\u1016\u103C\u1004\u1037\u103A \u1015\u103C\u1004\u103A\u1006\u1004\u103A\u1014\u1031\u101E\u100A\u103A\u2026",changeLang:"\u1018\u102C\u101E\u102C\u1005\u1000\u102C\u1038\u1015\u103C\u1031\u102C\u1004\u103A\u1038\u101B\u1014\u103A",endonym:"\u1019\u103C\u1014\u103A\u1019\u102C\u1018\u102C\u101E\u102C"},burma:{preparing:"\u1019\u103C\u1014\u103A\u1019\u102C\u1018\u102C\u101E\u102C\u1016\u103C\u1004\u1037\u103A \u1015\u103C\u1004\u103A\u1006\u1004\u103A\u1014\u1031\u101E\u100A\u103A\u2026",changeLang:"\u1018\u102C\u101E\u102C\u1005\u1000\u102C\u1038\u1015\u103C\u1031\u102C\u1004\u103A\u1038\u101B\u1014\u103A",endonym:"\u1019\u103C\u1014\u103A\u1019\u102C\u1018\u102C\u101E\u102C"},myanmar:{preparing:"\u1019\u103C\u1014\u103A\u1019\u102C\u1018\u102C\u101E\u102C\u1016\u103C\u1004\u1037\u103A \u1015\u103C\u1004\u103A\u1006\u1004\u103A\u1014\u1031\u101E\u100A\u103A\u2026",changeLang:"\u1018\u102C\u101E\u102C\u1005\u1000\u102C\u1038\u1015\u103C\u1031\u102C\u1004\u103A\u1038\u101B\u1014\u103A",endonym:"\u1019\u103C\u1014\u103A\u1019\u102C\u1018\u102C\u101E\u102C"},khmer:{preparing:"\u1780\u17C6\u1796\u17BB\u1784\u179A\u17C0\u1794\u1785\u17C6\u1787\u17B6\u1797\u17B6\u179F\u17B6\u1781\u17D2\u1798\u17C2\u179A\u2026",changeLang:"\u1794\u17D2\u178F\u17BC\u179A\u1797\u17B6\u179F\u17B6",endonym:"\u1797\u17B6\u179F\u17B6\u1781\u17D2\u1798\u17C2\u179A"},cambodian:{preparing:"\u1780\u17C6\u1796\u17BB\u1784\u179A\u17C0\u1794\u1785\u17C6\u1787\u17B6\u1797\u17B6\u179F\u17B6\u1781\u17D2\u1798\u17C2\u179A\u2026",changeLang:"\u1794\u17D2\u178F\u17BC\u179A\u1797\u17B6\u179F\u17B6",endonym:"\u1797\u17B6\u179F\u17B6\u1781\u17D2\u1798\u17C2\u179A"},swedish:{preparing:"St\xE4ller in p\xE5 svenska\u2026",changeLang:"Byt spr\xE5k",endonym:"Svenska"},svenska:{preparing:"St\xE4ller in p\xE5 svenska\u2026",changeLang:"Byt spr\xE5k",endonym:"Svenska"},sv:{preparing:"St\xE4ller in p\xE5 svenska\u2026",changeLang:"Byt spr\xE5k",endonym:"Svenska"},kikuyu:{preparing:"G\u0129k\u0169y\u0169 g\u0129g\u0129thondekwo\u2026",changeLang:"Cenjia r\u0169thiomi",endonym:"G\u0129k\u0169y\u0169"},gikuyu:{preparing:"G\u0129k\u0169y\u0169 g\u0129g\u0129thondekwo\u2026",changeLang:"Cenjia r\u0169thiomi",endonym:"G\u0129k\u0169y\u0169"},akan:{preparing:"Y\u025Bresiesie w\u0254 Akan mu\u2026",changeLang:"Sesa kasa",endonym:"Akan"},twi:{preparing:"Y\u025Bresiesie w\u0254 Twi mu\u2026",changeLang:"Sesa kasa",endonym:"Twi"},yoruba:{preparing:"Ngbaradi ni \xC8d\xE8 Yor\xF9b\xE1\u2026",changeLang:"Yi ede pada",endonym:"\xC8d\xE8 Yor\xF9b\xE1"},amharic:{preparing:"\u1260\u12A0\u121B\u122D\u129B \u1260\u1218\u12D8\u130B\u1300\u1275 \u120B\u12ED\u2026",changeLang:"\u124B\u1295\u124B \u1240\u12ED\u122D",endonym:"\u12A0\u121B\u122D\u129B"},somali:{preparing:"Diyaarinta af Soomaali\u2026",changeLang:"Beddel luqadda",endonym:"Af-Soomaali"},soomaali:{preparing:"Diyaarinta af Soomaali\u2026",changeLang:"Beddel luqadda",endonym:"Af-Soomaali"},"af-soomaali":{preparing:"Diyaarinta af Soomaali\u2026",changeLang:"Beddel luqadda",endonym:"Af-Soomaali"},so:{preparing:"Diyaarinta af Soomaali\u2026",changeLang:"Beddel luqadda",endonym:"Af-Soomaali"},hausa:{preparing:"Shirya cikin Hausa\u2026",changeLang:"Canja harshe",endonym:"Hausa"},zulu:{preparing:"Ilungiselela ngesiZulu\u2026",changeLang:"Shintsha ulimi",endonym:"isiZulu"},oromo:{preparing:"Afaan Oromootiin qophaa'aa jira\u2026",changeLang:"Afaan jijjiiri",endonym:"Afaan Oromoo"},luganda:{preparing:"Tuteekateeka mu Oluganda\u2026",changeLang:"Kyusa olulimi",endonym:"Oluganda"},igbo:{preparing:"Na-akwadebe na As\u1EE5s\u1EE5 Igbo\u2026",changeLang:"Gbanwee as\u1EE5s\u1EE5",endonym:"As\u1EE5s\u1EE5 Igbo"},xhosa:{preparing:"Ilungiselela ngesiXhosa\u2026",changeLang:"Tshintsha ulwimi",endonym:"isiXhosa"},kinyarwanda:{preparing:"Guteza imbere mu Kinyarwanda\u2026",changeLang:"Hindura ururimi",endonym:"Ikinyarwanda"},lingala:{preparing:"Kozala na Ling\xE1la\u2026",changeLang:"Bongola lok\xF3t\xE1",endonym:"Ling\xE1la"},shona:{preparing:"Kugadzirira mu chiShona\u2026",changeLang:"Chinja mutauro",endonym:"chiShona"},tigrinya:{preparing:"\u1265\u1275\u130D\u122D\u129B \u12A3\u1265 \u121D\u12F5\u120B\u12CD \u12ED\u122D\u12A8\u1265\u2026",changeLang:"\u124B\u1295\u124B \u121D\u1255\u12EB\u122D",endonym:"\u1275\u130D\u122D\u129B"},wolof:{preparing:"Waajal ci Wolof\u2026",changeLang:"Soppi l\xE0kk",endonym:"Wolof"},afrikaans:{preparing:"Berei voor in Afrikaans\u2026",changeLang:"Verander taal",endonym:"Afrikaans"}};Cn=[{name:"Puck",trait:"Upbeat",gender:"male"},{name:"Charon",trait:"Informative",gender:"male"},{name:"Kore",trait:"Firm",gender:"female"},{name:"Aoede",trait:"Breezy",gender:"female"},{name:"Zephyr",trait:"Bright",gender:"female"},{name:"Fenrir",trait:"Excitable",gender:"male"},{name:"Leda",trait:"Youthful",gender:"female"},{name:"Orus",trait:"Firm",gender:"male"},{name:"Callirrhoe",trait:"Easy-going",gender:"female"},{name:"Autonoe",trait:"Bright",gender:"female"},{name:"Enceladus",trait:"Breathy",gender:"male"},{name:"Iapetus",trait:"Clear",gender:"male"},{name:"Umbriel",trait:"Easy-going",gender:"male"},{name:"Algieba",trait:"Smooth",gender:"male"},{name:"Despina",trait:"Smooth",gender:"female"},{name:"Erinome",trait:"Clear",gender:"female"},{name:"Algenib",trait:"Gravelly",gender:"male"},{name:"Rasalgethi",trait:"Informative",gender:"male"},{name:"Laomedeia",trait:"Upbeat",gender:"female"},{name:"Achernar",trait:"Soft",gender:"female"},{name:"Alnilam",trait:"Firm",gender:"male"},{name:"Schedar",trait:"Even",gender:"male"},{name:"Gacrux",trait:"Mature",gender:"female"},{name:"Pulcherrima",trait:"Forward",gender:"female"},{name:"Achird",trait:"Friendly",gender:"male"},{name:"Zubenelgenubi",trait:"Casual",gender:"male"},{name:"Vindemiatrix",trait:"Gentle",gender:"female"},{name:"Sadachbia",trait:"Lively",gender:"male"},{name:"Sadaltager",trait:"Knowledgeable",gender:"male"},{name:"Sulafat",trait:"Warm",gender:"female"}],fo="hsk-live-voice",yr={langPlaceholder:"Type your language\u2026",nameStepTitle:"Good to meet you.",nameStepAsk:"What should I call you?",namePlaceholder:"Type your name\u2026",howShouldResultsLook:"How do you want to see results?",entityLangIntro:"I will write to you in {lang}. Names stay as this website wrote them. For the other details, choose below.",asWritten:"Same as the website",inLanguage:"In {lang}",namesAsWritten:"Details stay exactly as the website wrote them.",detailsTranslated:"Details are translated. Numbers and links do not change.",entityLangPlaceholder:"Choose one, then press Continue\u2026",termsStepTitle:"Privacy and terms",termsStepSubtitle:"Please read how kiku works on this website.",termsPiiTitle:"Your contact details",termsPiiDesc:"kiku never asks for your email, phone number or real name. Any name or nickname is fine.",termsSessionTitle:"A random code",termsSessionDesc:"Your browser keeps a random code so kiku can remember your conversation. The code is not linked to your name.",termsMemoryTitle:"What is kept",termsMemoryDesc:"Your questions (not kiku's answers) are kept so this website can improve. Things you save with @kiku are kept at mimi.akropolys.cloud, and only your secret key opens them.",termsCookieTitle:"This website's own rules",termsCookieDesc:"This website may use cookies or collect more information. kiku does not control this.",termsAiTitle:"From this website, explained by AI",termsAiDesc:"kiku answers from what this website really lists. The facts are the website's own; how kiku summarises, compares or translates them is AI and may read them differently. Check anything that matters on the website itself.",termsAgreeButton:"I agree",termsAgreeCounting:"I agree ({seconds}s)",nameStepHint:"Any name or nickname is fine.",privacyMore:"Read our full terms at",continueButton:"Continue",termsPlaceholder:"Please read the notes above\u2026",allSet:"You are ready, {name}.",replyingOriginal:"I will write to you in {lang}. Results stay as this website wrote them. Ask me anything.",replyingTranslated:"I will write to you in {lang}. Results will be translated too. Ask me anything.",greetReturning:"Hello, {name}.",greetReturningLead:"What can I find for you today?",defaultPlaceholder:"Ask me anything\u2026"},wt={back:"Back",langPlaceholder:"Type your language\u2026",nameStepTitle:"Good to meet you.",nameStepAsk:"What should I call you?",namePlaceholder:"Type your name\u2026",attachImage:"Attach a photo",vizUnavailable:"The preview could not be loaded.",vizDisclaimerImage:"Generated using Artificial Intelligence \u2014 colours, size and placement may differ from the real product.",vizDisclaimerVideo:"Generated using Artificial Intelligence \u2014 colours, size and movement may differ from the real product.",calcDisclaimer:"This is a calculation from live figures, not a guarantee \u2014 the market can move against it.",staleTitle:"No longer available",staleRemoved:"{title} has been removed and is no longer on offer.",staleUnavailable:"{title} is currently unavailable.",keyPastePrompt:"Paste your public id \u2014 or create one",keyPastePlaceholder:"your public id\u2026",keyUseMine:"Use my id",keyCreating:"Creating\u2026",keyCreateNew:"I'm new \u2014 create one",keySecretTitle:"Your secret key \u2014 shown once",keyDismiss:"Dismiss",keyCopySecret:"Copy",keyCopied:"Copied",keySecretHint:"Keep it private. It unlocks your memory.",keyPublicTitle:"Your public id",keyCopyId:"Copy id",greetReturning:"Hello, {name}.",greetReturningLead:"What can I find for you today?",howShouldResultsLook:"How do you want to see results?",entityLangIntro:"I will write to you in {lang}. Names stay as this website wrote them. For the other details, choose below.",asWritten:"Same as the website",inLanguage:"In {lang}",namesAsWritten:"Details stay exactly as the website wrote them.",detailsTranslated:"Details are translated. Numbers and links do not change.",entityLangPlaceholder:"Choose one, then press Continue\u2026",termsStepTitle:"Privacy and terms",termsStepSubtitle:"Please read how kiku works on this website.",termsPiiTitle:"Your contact details",termsPiiDesc:"kiku never asks for your email, phone number or real name. Any name or nickname is fine.",termsSessionTitle:"A random code",termsSessionDesc:"Your browser keeps a random code so kiku can remember your conversation. The code is not linked to your name.",termsMemoryTitle:"What is kept",termsMemoryDesc:"Your questions (not kiku's answers) are kept so this website can improve. Things you save with @kiku are kept at mimi.akropolys.cloud, and only your secret key opens them.",termsCookieTitle:"This website's own rules",termsCookieDesc:"This website may use cookies or collect more information. kiku does not control this.",termsAiTitle:"From this website, explained by AI",termsAiDesc:"kiku answers from what this website really lists. The facts are the website's own; how kiku summarises, compares or translates them is AI and may read them differently. Check anything that matters on the website itself.",termsAgreeButton:"I agree",termsAgreeCounting:"I agree ({seconds}s)",nameStepHint:"Any name or nickname is fine.",privacyMore:"Read our full terms at",continueButton:"Continue",termsPlaceholder:"Please read the notes above\u2026",allSet:"You are ready, {name}.",replyingTranslated:"I will write to you in {lang}. Results will be translated too. Ask me anything.",replyingOriginal:"I will write to you in {lang}. Results stay as this website wrote them. Ask me anything.",defaultPlaceholder:"Ask me anything\u2026",voiceListening:"Listening\u2026 tap the mic to stop",voiceSending:"Got it \u2014 sending\u2026",voiceModeStart:"Hands-free conversation",voiceModeExit:"Leave hands-free",voicePhaseListening:"Listening",voicePhaseThinking:"Thinking",micDenied:"Microphone blocked. Allow mic access for this site, then try again.",micInsecure:"Voice needs a secure (https) connection.",micMissing:"No microphone found.",micLangUnsupported:"This browser cannot transcribe that language yet. Type instead.",micNetwork:"Couldn't reach voice. Try again in a moment.",voiceUnavailable:"Voice is unavailable right now. Try again in a moment.",voiceLimitReached:"You've used up today's voice time. It resets in a day \u2014 chat still works.",voiceSiteLimit:"Voice is out of allowance on this site for now. Chat still works.",voiceIdleEnded:"Voice closed after a quiet minute. Tap the mic to talk again.",voiceSessionEnded:"Voice session ended. Tap the mic to talk again.",voicePhotoFailed:"That photo couldn't be added. Try another one.",voiceAttachPhoto:"Attach a photo",voicePickerLabel:"Choose a voice",voiceFemale:"Female",voiceMale:"Male",voiceNewChat:"New voice chat",pillVoice:"{n} min voice",pillImages:"{n} images",pillVideos:"{n} videos",pillReplies:"{n} replies",micNoSpeech:"Didn't catch anything. Try again, a little closer to the mic.",micFailed:"Couldn't hear that. Try again.",clearChat:"Clear chat",thinking:"Thinking",thoughtForSeconds:"Thought for {duration}",thoughtProcess:"Thought process",reachingTeam:"Getting a person",passedToTeam:"Passed to a person",withTeam:"Sent to the team \xB7 a person will reply here",repliedIn:"Replied in {duration}",backWithKiku:"Kiku is back with you",teamClosed:"The team closed this conversation",teamJoined:"Another team member joined the conversation",leaveHumanWarning:"A person is replying here.",leaveHumanStay:"Stay",leaveHumanKeep:"Keep for later",leaveHumanConfirm:"End request",requestsTitle:"Your requests",requestWaiting:"Waiting for a person",requestHuman:"With a person",requestKiku:"Answered",requestClosed:"Closed",requestNewReply:"New reply",captureAndRemember:"kiku \u2014 capture & remember",captureCurrentPage:"Capture current page",captureAll:"Capture all ({count})",whatHaveYouSaved:"What have you saved?",deleteThis:"Delete this",errShopperReplyLimit:"You've reached this site's reply limit.",errAccessRevoked:"Your access to the assistant has been revoked on this website.",errAccountRequired:"Please create an account to continue using the chat assistant.",errStreamInterrupted:"The reply was interrupted. Please try again.",errNetwork:"The assistant couldn't respond just now \u2014 please try again in a moment.",errGeneric:"Something went wrong. Please try again.",vizWorking:"Visualizing\u2026",vizMarkEdit:"Mark & edit",swatchTarget:"Your colour",markupCancel:"Cancel",markupSketch:"Sketch",markupPin:"Edit Pin",markupPinLabel:"What should happen here?",markupPinLabelHint:"e.g. move the sofa here",markupSketchHint:"Sketch around an area, then drop a pin saying what to do with it.",markupRemovePin:"Remove pin",markupPinHint:"Drop a pin and say what should happen there. Drag to move it. Up to 4 pins.",markupSelect:"Select outline",markupCloseOutline:"Close outline",markupOutlineHint:"Tap around the item, then close the outline. Undo removes the last point.",markupSelectedHint:"Drag the outline points to refine, then drop a pin saying what to do with it.",markupEraser:"Eraser",markupUndo:"Undo",markupClear:"Clear",markupSend:"Send",markupDialogLabel:"Mark up image",markupError:"Couldn't process this image \u2014 try a newer visualization.",markupLoadError:"This image can't be edited here.",markupLoading:"Loading image\u2026",openMemory:"Open my memory on MiMi",errTooManyRequests:"The assistant is currently receiving too many requests. Please try again in a few moments.",errTokenLimit:"You've reached your usage limit. Please update your billing limits in your dashboard to continue.",statusSent:"Sent",statusStopped:"Sent \xB7 reply stopped",queuedWaiting:"Queued",queuedSendNow:"Send now",jumpToLatest:"Scroll to latest",timelineLabel:"Questions in this conversation",voiceConnecting:"Connecting \u2014 wait for the tone before speaking",stoppedByYou:"You stopped this response.",stoppedInterrupted:"This response was interrupted.",continueGenerating:"Continue generating",generateResponse:"Generate response",pillCompareTop2:"Compare top 2",pillCompareTop2Query:"Compare the {a} and {b}",pillMoreOn:"More on {name}",pillMoreOnQuery:"Tell me more about the {name}",pillSimilarOptions:"Similar options",pillSimilarOptionsQuery:"Show me more like the {name}",pillWhichBest:"Which is best?",pillWhichBestQuery:"Which one would you recommend and why?",pillFindAlternatives:"Find alternatives",pillFindAlternativesQuery:"What are good alternatives to the {name}?",pillShowPopular:"Show popular items",pillShowPopularQuery:"What are your most popular items?",pillRecommend:"Recommend something",pillRecommendQuery:"What do you recommend for me?",cardClickAnswer:"The {name}",cardClickQuery:"Tell me more about the {name}{details} \u2014 what are its key details, who is it best suited for, and what should I know?",displayCapture:"capture {name}",displayCaptureAll:"capture all ({count} items)",displayViewHistory:"what have you saved?",displayDelete:"delete this",retry:"Retry",edit:"Edit",copy:"Copy",copied:"Copied",msgFailed:"Failed to send"},ko=bo.default.createContext((e,r)=>{let t=wt[e];if(r)for(let[n,a]of Object.entries(r))t=t.split(`{${n}}`).join(a);return t}),wr=()=>bo.default.useContext(ko);gi={shopper_reply_limit:"errShopperReplyLimit",RATE_LIMIT_EXCEEDED:"errShopperReplyLimit",access_revoked:"errAccessRevoked",account_required:"errAccountRequired",stream_interrupted:"errStreamInterrupted"},vi=(e,r)=>{let t=e&&typeof e=="object"?e.code:void 0;if(t&&gi[t])return r(gi[t]);let n="";if(typeof e=="string")n=e;else if(e&&typeof e=="object"&&e.message)n=e.message;else try{n=JSON.stringify(e)}catch{n=String(e)}let a=n.toLowerCase();if(a.includes("429")||a.includes("too many requests")||a.includes("requests per minute limit exceeded")||a.includes("too_many_requests_error")||a.includes("request_quota_exceeded")||a.includes("quota"))return r("errTooManyRequests");if(a.includes("token limit"))return r("errTokenLimit");if(a.includes("failed to fetch")||a.includes("networkerror")||a.includes("request failed"))return r("errNetwork");if(n)try{console.warn("[kiku] untranslated error:",n)}catch{}return r("errGeneric")},yi=()=>typeof window>"u"||window.isSecureContext!==!1,go=15});function Si(e){return e?Ci.get(e)??null:null}function xo(e){if(!e)return Promise.resolve(null);let r=wi.get(e);if(r)return r;let t=Promise.resolve().then(()=>e.baseFont?.()??null).then(n=>(n&&(Ci.set(e,n),Dt(n,0).catch(()=>{})),n)).catch(()=>null);return wi.set(e,t),t}function Mi(e,r,t){e&&(xo(e),r&&jr(e,r,t))}function jr(e,r,t){if(!(!e||!r))try{e.getUIStrings?.(r,t)?.then?.(n=>{n?.font&&Dt(n.font,1200).catch(()=>{})})?.catch?.(()=>{})}catch{}}var wi,Ci,ma=Se(()=>{"use strict";un();wi=new WeakMap,Ci=new WeakMap});function Kr(e){let r=e?dd[e.trim().toLowerCase()]:void 0;return r?{dir:r==="ar"||r==="ur"||r==="fa"?"rtl":"ltr",bcp47:r}:null}function pd(e){let r=/var\(\s*(--[\w-]+)/.exec(e)?.[1];if(!r||typeof document>"u")return"";for(let t of[document.documentElement,document.body]){let n=t?getComputedStyle(t).getPropertyValue(r).trim():"";if(n)return n.split(",")[0].trim()}return""}function Ei({shopperLanguage:e,theme:r,preloadedStrings:t}){let n=(0,Ri.useAkropolysContext)(),a=e?n?.getCachedUIStrings?.(e,wt)??n?.getCachedUIStrings?.(e,yr):null,o=t&&Object.keys(t).length>0?t:a?.strings??{},[i,c]=(0,Je.useState)(()=>o),[s,l]=(0,Je.useState)(()=>!e||t&&Object.keys(t).length>0||!!a?.complete),[h,d]=(0,Je.useState)(()=>t&&Object.keys(t).length>0||a?.complete?e:!e||Kr(e)?.bcp47==="en"?e||"en":""),u=!e||Kr(e)?.bcp47==="en",p=i;t&&Object.keys(t).length>0&&(p={...i,...t});let g=e?`akropolys_ui_dir_${e.toLowerCase()}`:"",[f,k]=(0,Je.useState)(()=>{if(a?.dir)return a.dir==="rtl";let C=Kr(e);if(C)return C.dir==="rtl";if(Ir(e)?.rtl)return!0;if(typeof window>"u"||!g)return!1;try{return localStorage.getItem(g)==="rtl"}catch{return!1}}),[z,b]=(0,Je.useState)(()=>a?.bcp47||Kr(e)?.bcp47||""),[N,M]=(0,Je.useState)(()=>a?.font??null),[E,F]=(0,Je.useState)(()=>Si(n)),[w,H]=(0,Je.useState)(!0),[Q,T]=(0,Je.useState)(!1),A=Je.default.useRef(e),[G,B]=(0,Je.useState)(e);if(e!==G){B(e);let C=Kr(e);C&&(k(C.dir==="rtl"),b(C.bcp47));let L=e?n?.getCachedUIStrings?.(e,wt)??n?.getCachedUIStrings?.(e,yr):null,I=t&&Object.keys(t).length>0?t:L?.strings;I&&Object.keys(I).length>0&&(c(I),p=I,L&&(L.font&&M(L.font),L.dir&&k(L.dir==="rtl"),L.bcp47&&b(L.bcp47)),L?.font&&Dt(L.font),T(!Ja([L?.font?.family,E?.family].filter(K=>!!K),I)),d(e),l(!0))}let X=u||!Q&&(h.toLowerCase()===e.toLowerCase()&&s||Object.keys(p).length>0);(0,Je.useEffect)(()=>{if(!e){b(""),M(null),c({}),d(""),l(!0),k(!1);return}let C=Kr(e),L=Ir(e),I=C?.bcp47==="en",K=!1,x=(Z,D)=>{let O=[Z?.family,E?.family].filter(S=>!!S);if(e===A.current||Ja(O,D)){T(!1);return}T(!0),Za(O,D,Ti).then(()=>{K||T(!1)})},R=n?.getCachedUIStrings?.(e,wt);if(R?.strings&&Object.keys(R.strings).length>0)return c(R.strings),k(R.dir==="rtl"),b(R.bcp47||C?.bcp47||""),R.font&&(Dt(R.font),M(R.font)),x(R.font,R.strings),d(e),l(!0),()=>{K=!0};let m=n?.getCachedUIStrings?.(e,yr);return m?.strings&&Object.keys(m.strings).length>0?(c(m.strings),k(m.dir==="rtl"),b(m.bcp47||C?.bcp47||""),m.font&&(Dt(m.font),M(m.font)),x(m.font,m.strings),d(e),l(!0)):(T(!1),c({}),C?(k(C.dir==="rtl"),b(C.bcp47)):L?.rtl&&k(!0),I||l(!1)),(async()=>{try{if(!m?.strings){let D=await n.getUIStrings?.(e,yr);if(!K&&D?.complete){T(!0),c(S=>({...S,...D.strings})),k(D.dir==="rtl"),b(D.bcp47||C?.bcp47||"");try{localStorage.setItem(g,D.dir)}catch{}D.font&&Dt(D.font);let O=[D.font?.family,E?.family].filter(S=>!!S);await Za(O,D.strings,Ti),K||(D.font&&M(D.font),d(e),l(!0),T(!1))}}let Z=await n.getUIStrings?.(e,wt);!K&&Z?.complete&&(c(D=>({...D,...Z.strings})),Z.font&&(await Dt(Z.font,1200),K||M(Z.font)))}catch{K||(d(e),l(!0),T(!1))}})(),()=>{K=!0}},[e,n,g]),(0,Je.useEffect)(()=>{let C=!1;return(async()=>{try{let L=await xo(n);!C&&L&&F(L)}catch{}C||H(!0)})(),()=>{C=!0}},[n]),Qa(N),Qa(E);let xe=Je.default.useMemo(()=>{let L=(typeof r=="object"&&r?.fontFamily?r.fontFamily:"").split(",")[0].trim(),I=/^var\(/i.test(L),K=L.replace(/^['"]|['"]$/g,""),x=I?pd(L):"",R=I?x?`${x}, `:"":K?`"${K}", `:"";if(N)return`"${N.family}", ${R}"Geist", system-ui, sans-serif`;let m=e?e.trim().toLowerCase():"";if(m==="japanese"||m==="ja"||m==="\u65E5\u672C\u8A9E")return`${R}"Geist", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic", "Meiryo", system-ui, sans-serif`;if(m==="chinese"||m==="zh"||m==="\u4E2D\u6587")return`${R}"Geist", "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", system-ui, sans-serif`;if(m==="urdu"||m==="ur"||m==="\u0627\u0631\u062F\u0648")return`"Noto Nastaliq Urdu", ${R}"IBM Plex Sans Arabic", "Geist", system-ui, sans-serif`;if(m==="arabic"||m==="ar"||m==="\u0627\u0644\u0639\u0631\u0628\u064A\u0629")return`"IBM Plex Sans Arabic", ${R}"Geist", system-ui, sans-serif`;if(m==="hindi"||m==="hi"||m==="\u0939\u093F\u0928\u094D\u0926\u0940")return`"Hind", ${R}"Geist", system-ui, sans-serif`},[N,e,typeof r=="object"&&r?r.fontFamily:void 0]),se=Je.default.useMemo(()=>{let C=0,L=0;for(let I of Object.values(i))for(let K of I){let x=K.codePointAt(0)??0;x<192||/\p{L}/u.test(K)&&(x<=591?C++:L++)}return L>C},[i]),[V,re]=(0,Je.useState)(0);(0,Je.useEffect)(()=>{if(typeof document>"u"||!document.fonts?.ready)return;let C=!0;return document.fonts.ready.then(()=>{C&&re(L=>L+1)}),()=>{C=!1}},[N]);let W=Je.default.useMemo(()=>{if(!se||typeof document>"u")return!0;let L=(typeof r=="object"&&r?.fontFamily?r.fontFamily:"").split(",")[0].trim();if(!L)return!1;let I="";for(let x of Object.values(i))if(x){I=x;break}if(!I)return!0;let K=I.replace(/\s+/g,"");if(!K)return!0;try{let R=document.createElement("canvas").getContext("2d");if(!R)return!0;let m=L.startsWith("var(")&&getComputedStyle(document.documentElement).getPropertyValue(L.slice(4,-1).trim()).trim()||L;R.font=`16px ${m}, __akropolys_nonexistent_font__`;let Z=R.measureText(K).width;R.font="16px __akropolys_nonexistent_font__";let D=R.measureText(K).width;return Math.abs(Z-D)>1}catch{return!0}},[se,i,typeof r=="object"&&r?r.fontFamily:void 0,V]),_=(0,Je.useCallback)((C,L)=>{let I=p[C]||i[C]||wt[C]||C;if(L)for(let[K,x]of Object.entries(L))I=I.split(`{${K}}`).join(x);return I},[p,i]),J=(0,Je.useCallback)((C,L)=>(p[C]||i[C]||wt[C]||C).split(/(\{[a-zA-Z]+\})/g).map((K,x)=>{let R=K.match(/^\{([a-zA-Z]+)\}$/);return R&&L?.[R[1]]!==void 0?(0,vo.jsx)("bdi",{children:L[R[1]]},x):(0,vo.jsx)(Je.default.Fragment,{children:K},x)}),[p,i]);return{chromeStrings:i,chromeReady:X,isRTL:f,speechLang:z,scriptFont:N,fontStack:xe,isNonLatin:se,hostFontCovers:W,baseFontReady:w,t:_,tNode:J}}var Je,Ri,vo,dd,Ti,zi=Se(()=>{"use strict";Je=Wt(require("react")),Ri=require("@akropolys/sdk");un();ma();It();vo=require("react/jsx-runtime"),dd={english:"en",en:"en",swahili:"sw",kiswahili:"sw",sw:"sw",french:"fr",fran\u00E7ais:"fr",francais:"fr",fr:"fr",spanish:"es",espa\u00F1ol:"es",espanol:"es",es:"es",arabic:"ar",\u0627\u0644\u0639\u0631\u0628\u064A\u0629:"ar",ar:"ar",portuguese:"pt",portugu\u00EAs:"pt",pt:"pt",hindi:"hi",\u0939\u093F\u0928\u094D\u0926\u0940:"hi",hi:"hi",chinese:"zh",\u4E2D\u6587:"zh",zh:"zh",japanese:"ja",\u65E5\u672C\u8A9E:"ja",ja:"ja",urdu:"ur",\u0627\u0631\u062F\u0648:"ur",ur:"ur",burmese:"my",burma:"my",myanmar:"my","\u1019\u103C\u1014\u103A\u1019\u102C":"my","\u1019\u103C\u1014\u103A\u1019\u102C\u1018\u102C\u101E\u102C":"my",my:"my",khmer:"km",cambodian:"km",\u1797\u17B6\u179F\u17B6\u1781\u17D2\u1798\u17C2\u179A:"km",\u1781\u17D2\u1798\u17C2\u179A:"km",km:"km",persian:"fa",farsi:"fa",\u0641\u0627\u0631\u0633\u06CC:"fa",fa:"fa",fas:"fa",malay:"ms",bahasa:"ms",indonesian:"id","bahasa melayu":"ms","bahasa indonesia":"id",ms:"ms",id:"id",amharic:"am",\u12A0\u121B\u122D\u129B:"am",am:"am"};Ti=5e3});function Li({messages:e,loading:r,streaming:t,messageRefs:n}){let a=(0,Ee.useRef)(null),o=(0,Ee.useRef)(0),[i,c]=(0,Ee.useState)(!1),[s,l]=(0,Ee.useState)(1),[h,d]=(0,Ee.useState)(0),u=(0,Ee.useRef)(()=>{}),p=(0,Ee.useRef)(null),g=(0,Ee.useRef)(!1),f=(0,Ee.useRef)(!0),k=(0,Ee.useRef)(!1),z=(0,Ee.useRef)(null),b=(0,Ee.useRef)(null),N=(0,Ee.useRef)(e.length),M=(0,Ee.useRef)(!1),E=(0,Ee.useRef)(()=>{}),F=(0,Ee.useRef)(()=>{}),w=(0,Ee.useRef)(null),H=(0,Ee.useRef)(()=>{}),[Q,T]=(0,Ee.useState)(0),A=(0,Ee.useRef)(0),G=(0,Ee.useRef)(""),B=(0,Ee.useRef)(()=>{}),X=(0,Ee.useRef)(()=>{});(0,Ee.useEffect)(()=>{let S=a.current;if(!S)return;let y,P=()=>{clearTimeout(y),y=setTimeout(()=>{g.current=!1},150)},q=()=>{clearTimeout(y),g.current=!0,B.current()},ce=()=>{g.current&&P()};return S.addEventListener("touchstart",q,{passive:!0}),S.addEventListener("touchend",P,{passive:!0}),S.addEventListener("touchcancel",P,{passive:!0}),S.addEventListener("scroll",ce,{passive:!0}),()=>{clearTimeout(y),S.removeEventListener("touchstart",q),S.removeEventListener("touchend",P),S.removeEventListener("touchcancel",P),S.removeEventListener("scroll",ce)}},[]),(0,Ee.useEffect)(()=>{let S=a.current;if(!S)return;let y=160,P=8,q=0,ce=()=>{q=0;let ue=z.current?.offsetHeight??0,j=S.scrollHeight-ue-S.scrollTop-S.clientHeight,te=performance.now()-o.current<400;j<=P&&(!k.current||te)&&(f.current||X.current(),f.current=!0,k.current=!1,J.current()),c(j>y&&!f.current);let we=S.scrollHeight-S.clientHeight;l(we>8?Math.min(1,Math.max(0,S.scrollTop/we)):1);let $e=S.scrollTop+S.clientHeight*.33,ve=0;for(let _e=0;_e<n.current.length;_e++){let Oe=n.current[_e];Oe&&Oe.offsetTop<=$e&&(ve=_e)}d(ve)},ge=()=>{q||(q=requestAnimationFrame(ce))};ce(),S.addEventListener("scroll",ge,{passive:!0});let me=new ResizeObserver(()=>{b.current?E.current("sync"):f.current&&!g.current&&F.current(),ge()});me.observe(S);for(let ue of n.current)ue&&me.observe(ue);return()=>{q&&cancelAnimationFrame(q),S.removeEventListener("scroll",ge),me.disconnect()}},[e.length,n]);let xe=(0,Ee.useCallback)(S=>{let y=`${S}:${A.current}`;G.current!==y&&(G.current=y,T(P=>P+1))},[]),[se,V]=(0,Ee.useState)(!1),re=(0,Ee.useRef)(!1),W=(0,Ee.useCallback)(()=>{re.current||(re.current=!0,V(!0))},[]),_=(0,Ee.useCallback)(()=>{re.current&&(re.current=!1,V(!1))},[]),J=(0,Ee.useRef)(()=>{});J.current=_;let[C,L]=(0,Ee.useState)(!1),I=(0,Ee.useRef)(!1),K=(0,Ee.useRef)(0),x=(0,Ee.useCallback)(()=>{I.current=!1,L(!1)},[]),R=(0,Ee.useCallback)(()=>{G.current="",x(),_()},[x,_]),m=(0,Ee.useCallback)(()=>{I.current&&(performance.now()-K.current<700||x())},[x]);B.current=m,X.current=R,(0,Ee.useEffect)(()=>{if(Q===0)return;I.current=!0,K.current=performance.now(),L(!0);let S=setTimeout(x,4200);return()=>clearTimeout(S)},[Q,x]);let Z=(0,Ee.useCallback)(()=>{M.current=!1,b.current&&(b.current=null,z.current&&(z.current.style.height=""))},[]);H.current=Z,F.current=()=>{let S=a.current;if(!S)return;let y=S.scrollHeight-S.clientHeight;w.current?w.current(y):S.scrollTop=y},E.current=S=>{let y=a.current,P=z.current,q=b.current,ce=te=>{let we=S==="sync"?w.current:p.current;we?we(te):y&&(y.scrollTop=te)},ge=F.current;if(!y||!P||!q||!q.isConnected){Z(),f.current&&ge();return}let me=parseFloat(getComputedStyle(y).paddingTop)||0;P.offsetHeight<y.clientHeight&&(P.style.height=`${y.clientHeight}px`);let ue=Math.max(0,q.offsetTop-me),j=ue+y.clientHeight-(y.scrollHeight-P.offsetHeight);if(j<=0){Z(),f.current=!1,k.current=!0,ce(ue);return}j!==P.offsetHeight&&(P.style.height=`${j}px`),ce(ue)};let D=(0,Ee.useCallback)(S=>{let y=a.current,P=n.current[S];if(!y||!P)return;let q=P.offsetTop-Math.max(0,(y.clientHeight-P.clientHeight)/2),ce=Math.max(0,Math.min(y.scrollHeight-y.clientHeight,q));p.current?p.current(ce):y.scrollTo({top:ce,behavior:"smooth"})},[n]),O=(0,Ee.useCallback)(()=>{let S=a.current;if(!S)return;f.current=!0,k.current=!1,H.current(),X.current();let y=S.scrollHeight-S.clientHeight;p.current?p.current(y):S.scrollTo({top:y,behavior:"smooth"})},[]);return(0,Ee.useLayoutEffect)(()=>{let S=a.current;if(!S)return;let y=e.slice(N.current);if(N.current=e.length,y.some(q=>q.role==="user")&&(f.current=!0,k.current=!1,X.current(),b.current=null,M.current=!0),M.current){M.current=!1;for(let q=n.current.length-1;q>=0;q--){let ce=n.current[q];if(ce?.dataset.hskRole==="user"){b.current=ce;break}}if(b.current){E.current("glide");return}}if(b.current){E.current("glide");return}let P=S.scrollTop;if(!f.current)k.current||(W(),xe(e.length));else if(!g.current){F.current();return}S.scrollTop!==P&&u.current()},[e,r,t,n,xe,W]),(0,Ee.useEffect)(()=>{let S=a.current;if(!S||typeof window<"u"&&window.matchMedia?.("(prefers-reduced-motion: reduce)").matches)return;let y=7,P=16,q=1/(window.devicePixelRatio||1),ce=ye=>Math.round(ye/q)*q,ge=S.scrollTop,me=S.scrollTop,ue=S.scrollTop,j=0,te=null,we=ye=>{ye!==ue&&(S.scrollTop=ye,ue=S.scrollTop)},$e=()=>{te!==null&&(cancelAnimationFrame(te),te=null),S.classList.remove("hsk-scrolling"),ge=me=ue=S.scrollTop};u.current=$e,p.current=ye=>{Math.abs(S.scrollTop-ue)>1&&(ge=me=ue=S.scrollTop);let at=Math.round(Math.max(0,Math.min(S.scrollHeight-S.clientHeight,ye)));at!==ge&&(ge=at,te===null&&(j=performance.now(),te=requestAnimationFrame(ve)))},w.current=ye=>{let at=Math.round(Math.max(0,Math.min(S.scrollHeight-S.clientHeight,ye)));te!==null&&(cancelAnimationFrame(te),te=null,S.classList.remove("hsk-scrolling")),S.scrollTop=at,ge=me=ue=S.scrollTop};let ve=ye=>{let at=Math.min((ye-j)/1e3,.05);if(j=ye,me+=(ge-me)*(1-Math.exp(-y*at)),Math.abs(ge-me)<q){me=ge,we(Math.round(ge)),S.classList.remove("hsk-scrolling"),te=null;return}we(ce(me)),te=requestAnimationFrame(ve)},_e=ye=>{if(ye.ctrlKey)return;Math.abs(S.scrollTop-ue)>1&&(ge=me=ue=S.scrollTop),ye.deltaY<0&&(f.current&&(A.current+=1),f.current=!1,b.current=null),B.current();let at=ye.deltaMode===1?P:ye.deltaMode===2?S.clientHeight:1,ct=Math.max(0,S.scrollHeight-S.clientHeight),At=Math.round(Math.max(0,Math.min(ct,ge+ye.deltaY*at)));if(At===ge){ct>0&&ye.preventDefault();return}ye.preventDefault(),ge=At,te===null&&(j=performance.now(),S.classList.add("hsk-scrolling"),te=requestAnimationFrame(ve))},Oe=S.scrollTop,et=()=>{let ye=Math.abs(S.scrollTop-ue)>1;ye&&(o.current=performance.now(),S.scrollTop<Oe-1&&f.current&&(A.current+=1,f.current=!1,b.current=null)),Oe=S.scrollTop,te!==null&&ye&&(cancelAnimationFrame(te),te=null,S.classList.remove("hsk-scrolling"),ge=me=ue=S.scrollTop)};return S.addEventListener("wheel",_e,{passive:!1}),S.addEventListener("scroll",et,{passive:!0}),()=>{S.removeEventListener("scroll",et),S.removeEventListener("wheel",_e),te!==null&&cancelAnimationFrame(te),S.classList.remove("hsk-scrolling"),u.current=()=>{},p.current=null,w.current=null}},[]),{msgsContainerRef:a,spacerRef:z,lastExternalScrollRef:o,showJumpToBottom:i,scrollProgress:s,activeMsgIdx:h,jumpAlert:C,unreadBelow:se,jumpToMessage:D,jumpToBottom:O,resetAlertArming:R}}var Ee,Ni=Se(()=>{"use strict";Ee=require("react")});function Ii(e){let[r,t]=(0,Ht.useState)(e),n=(0,Ht.useRef)(e),a=(0,Ht.useRef)(e),o=(0,Ht.useRef)(0),i=(0,Ht.useRef)(0),c=(0,Ht.useRef)(0),s=(0,Ht.useRef)(null);return(0,Ht.useEffect)(()=>()=>{s.current!==null&&cancelAnimationFrame(s.current)},[]),(0,Ht.useEffect)(()=>{if(a.current=e,window.matchMedia?.("(prefers-reduced-motion: reduce)").matches||!e.startsWith(n.current)){s.current!==null&&(cancelAnimationFrame(s.current),s.current=null),n.current=e,o.current=0,i.current=0,t(e);return}if(s.current!==null||n.current.length>=e.length)return;c.current=performance.now();let h=d=>{let u=Math.min(d-c.current,50);c.current=d;let p=a.current,g=p.length-n.current.length,f=Math.min(bd,Math.max(md,g*1e3/ud));o.current+=(f-o.current)*(1-Math.exp(-u/fd)),i.current+=o.current*u/1e3;let k=Math.floor(i.current);k>0&&(i.current-=k,n.current=p.slice(0,Math.min(p.length,n.current.length+k)),t(n.current)),n.current.length<a.current.length?s.current=requestAnimationFrame(h):(s.current=null,i.current=0)};s.current=requestAnimationFrame(h)},[e]),r}var Ht,ud,md,bd,fd,Ai=Se(()=>{"use strict";Ht=require("react"),ud=450,md=45,bd=900,fd=180});function Fi(e,r){let t=(0,Pi.useAkropolysContext)(),[n,a]=(0,Rt.useState)(""),[o,i]=(0,Rt.useState)("idle"),[c,s]=(0,Rt.useState)(null),[l,h]=(0,Rt.useState)(null),[d,u]=(0,Rt.useState)(null),[p,g]=(0,Rt.useState)(go),[f,k]=(0,Rt.useState)(!1),z=(0,Rt.useCallback)(async(M,E)=>{try{navigator.clipboard&&window.isSecureContext?await navigator.clipboard.writeText(M):kd(M),u(E),setTimeout(()=>u(null),2e3)}catch{}},[]);(0,Rt.useEffect)(()=>{e&&e.type==="request_kiku_key"&&(i("prompt_key"),a(""))},[e]),(0,Rt.useEffect)(()=>{if(!c)return;g(go);let M=setInterval(()=>{g(E=>E<=1?(clearInterval(M),s(null),h(null),0):E-1)},1e3);return()=>clearInterval(M)},[c]);let b=(0,Rt.useCallback)(async()=>{let M=n.trim();M&&(t.setKikuPub(M),a(""),i("idle"),await r())},[t,n,r]),N=(0,Rt.useCallback)(async()=>{if(!f){k(!0);try{let{secret:M,publicId:E}=await t.mintKikuKey();s(M),h(E),i("idle"),await r()}catch{}finally{k(!1)}}},[t,f,r]);return{keyInput:n,setKeyInput:a,keyPhase:o,setKeyPhase:i,mintedKey:c,setMintedKey:s,mintedPub:l,setMintedPub:h,copied:d,keyCountdown:p,minting:f,copyValue:z,handleUseExistingKey:b,handleCreateKey:N}}function kd(e){let r=document.createElement("textarea");r.value=e,r.setAttribute("readonly",""),r.style.cssText="position:fixed;top:0;left:0;opacity:0;",document.body.appendChild(r),r.select(),r.setSelectionRange(0,e.length);let t=document.execCommand("copy");if(r.remove(),!t)throw new Error("copy failed")}var Rt,Pi,_i=Se(()=>{"use strict";Rt=require("react"),Pi=require("@akropolys/sdk");It()});function Di({attachments:e,setAttachments:r,setInput:t,send:n,t:a}){let o=(0,Sn.useCallback)(l=>{let h=l.name||"",d=`@kiku ${a("displayCapture",{name:h}).trim()}`,u=h||"capture current page";t("");let p=e;r([]),n(u,d,p.length>0?p:void 0,"capture")},[e,n,r,t,a]),i=(0,Sn.useCallback)(l=>{let h=l.filter(p=>p.id).map(p=>({name:p.name||"",url:p.url||"",image:p.image||""})),d=l.map(p=>p.name).filter(Boolean).join(", "),u=`@kiku ${a("displayCaptureAll",{count:String(l.length)})}`;t(""),r([]),n(d||"capture all",u,void 0,"capture_all",h)},[n,r,t,a]),c=(0,Sn.useCallback)(()=>{let l=`@kiku ${a("displayViewHistory")}`;t(""),r([]),n("show my saved items",l,void 0,"view_history")},[n,r,t,a]),s=(0,Sn.useCallback)(()=>{let l=`@kiku ${a("displayDelete")}`;t(""),r([]),n("delete this",l,void 0,"delete")},[n,r,t,a]);return{handleKikuCapture:o,handleKikuCaptureAll:i,handleKikuViewHistory:c,handleKikuDelete:s}}var Sn,Bi=Se(()=>{"use strict";Sn=require("react")});function Tn(e,r=130){let t=ba;if(!t||!fa)return;let n=fa.currentTime;t.gain.cancelScheduledValues(n),t.gain.setValueAtTime(t.gain.value,n),t.gain.linearRampToValueAtTime(Math.max(0,Math.min(1,e)),n+r/1e3)}function qi(){if(!$i)return Ar*=.85,Ar;if(!Hi||!Mn)return Ar;Hi.getByteTimeDomainData(Mn);let e=0;for(let n=0;n<Mn.length;n++){let a=(Mn[n]-128)/128;e+=a*a}let r=Math.sqrt(e/Mn.length),t=Math.min(1,r*3.2);return Ar+=(t-Ar)*(t>Ar?.6:.12),Ar}function Ui(){if($i=!1,ba&&fa&&(ba.gain.cancelScheduledValues(fa.currentTime),ba.gain.value=1),typeof window<"u"&&"speechSynthesis"in window)try{window.speechSynthesis.cancel()}catch{}}var fa,Hi,ba,Mn,$i,Ar,yo=Se(()=>{"use strict";fa=null,Hi=null,ba=null,Mn=null,$i=!1,Ar=0});function Gi({lang:e,onUtterance:r,onError:t,onBargeIn:n,silenceMs:a=gd,paused:o=!1}){let[i,c]=(0,Me.useState)(!1),[s,l]=(0,Me.useState)(!1),[h,d]=(0,Me.useState)(""),[u,p]=(0,Me.useState)(!1),g=(0,Me.useRef)(null),f=(0,Me.useRef)(null),k=(0,Me.useRef)(null),z=(0,Me.useRef)(null),b=(0,Me.useRef)(null),N=(0,Me.useRef)(null),M=(0,Me.useRef)(0),E=(0,Me.useRef)(.008),F=(0,Me.useRef)(0),w=(0,Me.useRef)(0),H=(0,Me.useRef)(""),Q=(0,Me.useRef)(0),T=(0,Me.useRef)(0),A=(0,Me.useRef)(!1),G=(0,Me.useRef)(o),B=(0,Me.useRef)(!1),X=(0,Me.useRef)(!1),xe=(0,Me.useRef)(r),se=(0,Me.useRef)(t),V=(0,Me.useRef)(n);(0,Me.useEffect)(()=>{xe.current=r},[r]),(0,Me.useEffect)(()=>{se.current=t},[t]),(0,Me.useEffect)(()=>{V.current=n},[n]),(0,Me.useEffect)(()=>{G.current=o},[o]),(0,Me.useEffect)(()=>{p(typeof window<"u"&&("SpeechRecognition"in window||"webkitSpeechRecognition"in window)&&!!navigator.mediaDevices?.getUserMedia)},[]);let re=(0,Me.useCallback)(()=>M.current,[]),W=(0,Me.useCallback)(y=>{let P=z.current;return!P||y.length!==P.frequencyBinCount?!1:(P.getByteFrequencyData(y),!0)},[]),_=(0,Me.useCallback)(()=>z.current?.frequencyBinCount??0,[]),J=(0,Me.useRef)([]),C=(0,Me.useRef)(null),L=(0,Me.useRef)(!1),I=(0,Me.useRef)(0),K=(0,Me.useRef)(0),x=(0,Me.useCallback)(y=>{let P=z.current;if(!P)return 0;let q=J.current;q.push(y),q.length>Sd&&q.shift();let ce=0;if(q.length>=12){let Oe=0;for(let et of q)Oe+=et;if(Oe/=q.length,Oe>1e-4){let et=0;for(let ye of q)et+=(ye-Oe)*(ye-Oe);ce=Math.min(1,Math.sqrt(et/q.length)/Oe/.6)}}let ge=0;(!C.current||C.current.length!==P.frequencyBinCount)&&(C.current=new Uint8Array(P.frequencyBinCount));let me=C.current;P.getByteFrequencyData(me);let j=(k.current?.sampleRate??48e3)/2/me.length,te=Math.floor(300/j),we=Math.min(me.length-1,Math.ceil(3400/j)),$e=0,ve=0;for(let Oe=0;Oe<me.length;Oe++)ve+=me[Oe],Oe>=te&&Oe<=we&&($e+=me[Oe]);ve>0&&(ge=$e/ve);let _e=Math.min(1,y/(E.current+wo*3));return Md*_e+Td*ce+Rd*ge},[]),R=(0,Me.useCallback)(()=>{let y=H.current.trim();if(H.current="",Q.current=T.current,d(""),l(!1),y){B.current=!1;let P=g.current;g.current=null;try{P?.stop()}catch{}xe.current(y)}},[]),m=(0,Me.useCallback)(()=>{let y=z.current,P=N.current;if(!y||!P)return;y.getByteTimeDomainData(P);let q=0;for(let te=0;te<P.length;te++){let we=(P[te]-128)/128;q+=we*we}let ce=Math.sqrt(q/P.length),ge=Math.min(1,ce*4);M.current+=(ge-M.current)*(ge>M.current?.6:.12);let me=Date.now(),ue=G.current?qi()*vd:0;ce>E.current+wo+ue?(F.current=me,w.current||(w.current=me)):(w.current=0,E.current=Math.min(E.current*1.02+2e-5,Math.max(.004,ce))),G.current?L.current?(x(ce)>Oi?K.current+=1:K.current=Math.max(0,K.current-2),K.current>=Cd?(L.current=!1,K.current=0,Tn(1,0),V.current?.()):me-I.current>wd&&(L.current=!1,K.current=0,Tn(1,Wi*2))):w.current&&me-w.current>xd&&x(ce)>Oi&&(w.current=0,L.current=!0,I.current=me,K.current=0,Tn(yd,Wi)):H.current.trim()&&me-F.current>a&&R(),b.current=requestAnimationFrame(m)},[R,a,x]),Z=(0,Me.useCallback)(()=>{if(g.current||!A.current)return;let y=window.SpeechRecognition||window.webkitSpeechRecognition,P=new y;Q.current=0,T.current=0,P.lang=e||document.documentElement.lang||navigator.language||"en-US",P.interimResults=!0,P.maxAlternatives=1,P.continuous=!0,P.onresult=q=>{let ce="";for(let ge=Q.current;ge<q.results.length;ge++)ce+=q.results[ge][0].transcript;T.current=q.results.length,ce=ce.trim(),ce&&(H.current=ce,d(ce),l(!0))},P.onerror=q=>{let ce=q?.error||"";ce==="no-speech"||ce==="aborted"||se.current?.(ce)},P.onend=()=>{g.current=null,A.current&&B.current&&setTimeout(()=>{Z()},120)},g.current=P;try{P.start()}catch{g.current=null,se.current?.("failed-to-start")}},[e]),D=(0,Me.useCallback)(()=>{B.current=!1;let y=g.current;g.current=null;try{y?.stop()}catch{}},[]),O=(0,Me.useCallback)(()=>{A.current=!1,L.current=!1,K.current=0,J.current=[],Tn(1,0),B.current=!1,c(!1),l(!1),d(""),H.current="",M.current=0;let y=g.current;g.current=null;try{y?.abort()}catch{}b.current!==null&&(cancelAnimationFrame(b.current),b.current=null),f.current?.getTracks().forEach(P=>P.stop()),f.current=null,z.current=null,k.current?.close().catch(()=>{}),k.current=null},[]),S=(0,Me.useCallback)(async()=>{if(!(A.current||!u)){A.current=!0,c(!0);try{let y=await navigator.mediaDevices.getUserMedia({audio:{echoCancellation:!0,noiseSuppression:!0,autoGainControl:!0}});f.current=y;let P=window.AudioContext||window.webkitAudioContext,q=new P;k.current=q;let ce=q.createAnalyser();ce.fftSize=1024,ce.smoothingTimeConstant=.25,q.createMediaStreamSource(y).connect(ce),z.current=ce,N.current=new Uint8Array(ce.fftSize),E.current=.008,F.current=Date.now(),b.current=requestAnimationFrame(m)}catch(y){A.current=!1,c(!1),se.current?.(y?.name==="NotAllowedError"?"not-allowed":"audio-capture");return}B.current=!0,Z()}},[u,m,Z]);return(0,Me.useEffect)(()=>{i&&(o?(H.current="",d(""),L.current=!1,K.current=0,J.current=[],D()):(L.current=!1,F.current=Date.now(),B.current=!0,Z()))},[o,i,Z,D]),(0,Me.useEffect)(()=>{if(!i||o)return;let y=setInterval(()=>{let P=!!g.current,q=M.current>E.current+wo;P&&q&&H.current},2e3);return()=>clearInterval(y)},[i,o]),(0,Me.useEffect)(()=>()=>{O()},[O]),{supported:u,active:i,hearing:s,interim:h,micLevel:re,micSpectrum:W,spectrumBins:_,start:S,stop:O}}var Me,gd,wo,xd,vd,yd,Wi,wd,Cd,Sd,Md,Td,Rd,Oi,Vi=Se(()=>{"use strict";Me=require("react");yo();gd=1100,wo=.012,xd=320,vd=.09,yd=.25,Wi=130,wd=700,Cd=12,Sd=48,Md=.45,Td=.35,Rd=.2,Oi=.55});function Xi(e){let r=new Uint8Array(e);if(r.length<4)return new Float32Array(0);let t=new DataView(e).getInt16(0,!0),n=Co(r[2]),a=(r.length-4)*2;r[3]&1&&a>0&&a--;let o=new Float32Array(a);for(let i=0;i<a;i++){let c=r[4+(i>>1)]>>4*(i&1)&15,s=Ki[n],l=s>>3;c&4&&(l+=s),c&2&&(l+=s>>1),c&1&&(l+=s>>2),t=Yi(c&8?t-l:t+l),n=Co(n+ji[c]),o[i]=t/32768}return o}var ji,Ki,Co,Yi,Rn,Qi=Se(()=>{"use strict";ji=[-1,-1,-1,-1,2,4,6,8,-1,-1,-1,-1,2,4,6,8],Ki=[7,8,9,10,11,12,13,14,16,17,19,21,23,25,28,31,34,37,41,45,50,55,60,66,73,80,88,97,107,118,130,143,157,173,190,209,230,253,279,307,337,371,408,449,494,544,598,658,724,796,876,963,1060,1166,1282,1411,1552,1707,1878,2066,2272,2499,2749,3024,3327,3660,4026,4428,4871,5358,5894,6484,7132,7845,8630,9493,10442,11487,12635,13899,15289,16818,18500,20350,22385,24623,27086,29794,32767],Co=e=>e<0?0:e>88?88:e,Yi=e=>e<-32768?-32768:e>32767?32767:e,Rn=class{constructor(){this.index=0}encode(r){let t=r.length,n=new Uint8Array(4+(t+1>>1));if(t===0)return n.buffer;let a=r[0];new DataView(n.buffer).setInt16(0,a,!0),n[2]=this.index,n[3]=t&1;let i=this.index;for(let c=0;c<t;c++){let s=Ki[i],l=r[c]-a,h=0;l<0&&(h=8,l=-l);let d=s>>3;l>=s&&(h|=4,l-=s,d+=s),s>>=1,l>=s&&(h|=2,l-=s,d+=s),s>>=1,l>=s&&(h|=1,d+=s),a=Yi(h&8?a-d:a+d),i=Co(i+ji[h]),n[4+(c>>1)]|=h<<4*(c&1)}return this.index=i,n.buffer}}});function Cr(e,r,t){for(let n=0;n<t.length;n++)e.setUint8(r+n,t.charCodeAt(n))}function Ji(e,r=24e3){let t=0;for(let s of e)t+=s.length;let n=new Float32Array(t),a=0;for(let s of e)n.set(s,a),a+=s.length;let o=new ArrayBuffer(44+t*2),i=new DataView(o);Cr(i,0,"RIFF"),i.setUint32(4,36+t*2,!0),Cr(i,8,"WAVE"),Cr(i,12,"fmt "),i.setUint32(16,16,!0),i.setUint16(20,1,!0),i.setUint16(22,1,!0),i.setUint32(24,r,!0),i.setUint32(28,r*2,!0),i.setUint16(32,2,!0),i.setUint16(34,16,!0),Cr(i,36,"data"),i.setUint32(40,t*2,!0);let c=44;for(let s=0;s<t;s++){let l=Math.max(-1,Math.min(1,n[s]));i.setInt16(c,l<0?l*32768:l*32767,!0),c+=2}return new Blob([o],{type:"audio/wav"})}function Zi(e,r=16e3){let t=0;for(let s of e)t+=s.length;let n=new Int16Array(t),a=0;for(let s of e)n.set(s,a),a+=s.length;let o=new ArrayBuffer(44+t*2),i=new DataView(o);Cr(i,0,"RIFF"),i.setUint32(4,36+t*2,!0),Cr(i,8,"WAVE"),Cr(i,12,"fmt "),i.setUint32(16,16,!0),i.setUint16(20,1,!0),i.setUint16(22,1,!0),i.setUint32(24,r,!0),i.setUint32(28,r*2,!0),i.setUint16(32,2,!0),i.setUint16(34,16,!0),Cr(i,36,"data"),i.setUint32(40,t*2,!0);let c=44;for(let s=0;s<t;s++)i.setInt16(c,n[s],!0),c+=2;return new Blob([o],{type:"audio/wav"})}var ec=Se(()=>{"use strict"});function tc(e,r){let t=e.apiUrl.replace(/\/+$/,""),n=t.endsWith("/voice/live")?t:t+"/voice/live",a=new URL(n,window.location.href);a.protocol=a.protocol==="https:"?"wss:":"ws:",a.searchParams.set("siteId",e.siteId),e.kikuId&&a.searchParams.set("kikuId",e.kikuId),e.sessionId&&a.searchParams.set("sessionId",e.sessionId),e.name&&a.searchParams.set("name",e.name),e.language&&a.searchParams.set("language",e.language),a.searchParams.set("codec","adpcm");let o=r||e.voice;return o&&a.searchParams.set("voice",o),a.toString()}function rc(e){let[r,t]=(0,le.useState)("idle"),[n,a]=(0,le.useState)(!1),[o,i]=(0,le.useState)([]),[c,s]=(0,le.useState)(null),[l,h]=(0,le.useState)(!1),d=(0,le.useRef)(null),u=(0,le.useRef)(!1),p=(0,le.useRef)(!1),g=(0,le.useRef)(null),f=(0,le.useRef)(0),k=(0,le.useRef)(!1),z=(0,le.useRef)(!1),b=(0,le.useRef)(null),N=(0,le.useRef)(null),M=(0,le.useRef)(null),E=(0,le.useRef)(null),F=(0,le.useRef)(0),w=(0,le.useRef)(!1),H=(0,le.useRef)([]),Q=(0,le.useRef)(0),T=(0,le.useRef)(new Set),A=(0,le.useRef)(null),G=(0,le.useRef)(null),B=(0,le.useRef)(ka),X=(0,le.useRef)(e);(0,le.useEffect)(()=>{X.current=e;let ne=N.current;if(ne)for(let he of ne.getAudioTracks())he.enabled=!e.muted},[e]);let xe=(0,le.useRef)(!1),se=(0,le.useRef)([]),V=(0,le.useRef)(new Rn),re=(0,le.useRef)(null),W=(0,le.useRef)(""),_=(0,le.useRef)(""),[J,C]=(0,le.useState)([]),L=(0,le.useRef)([]);L.current=J;let I=(0,le.useRef)([]),[K,x]=(0,le.useState)([]),R=(0,le.useRef)(0),m=(0,le.useRef)([]),Z=(0,le.useRef)(void 0),D=(0,le.useRef)(null),O=(0,le.useRef)([]),S=(0,le.useRef)([]),y=(0,le.useCallback)(()=>{let ne=W.current.trim(),he=_.current.trim(),fe=D.current?Math.max(.1,(Date.now()-D.current)/1e3):void 0,ae;if(O.current.length>0)try{let Le=Ji(O.current,B.current);ae=URL.createObjectURL(Le)}catch(Le){console.error("[kiku] failed to encode bot audio wav:",Le)}let ke;if(S.current.length>0)try{let Le=Zi(S.current,So);ke=URL.createObjectURL(Le)}catch(Le){console.error("[kiku] failed to encode user audio wav:",Le)}let pe=m.current.length?m.current:void 0,Re=Z.current;W.current="",_.current="",D.current=null,O.current=[],S.current=[],m.current=[],Z.current=void 0,!(!ne&&!he&&!pe&&!Re)&&X.current.onExchange?.({heard:ne,said:he,duration:fe,userAudioUrl:ke,audioUrl:ae,images:pe,visualization:Re})},[]),P=(0,le.useCallback)(()=>{},[]),q=(0,le.useCallback)(ne=>{if(X.current.muted)return;let he=new Int16Array(ne),fe=0;for(let ke=0;ke<he.length;ke+=8){let pe=Math.abs(he[ke]);pe>fe&&(fe=pe)}fe>1200&&(f.current=Date.now());let ae=d.current;!xe.current||!ae||ae.readyState!==WebSocket.OPEN||(S.current.push(new Int16Array(ne.slice(0))),ae.send(V.current.encode(new Int16Array(ne))))},[]),ce=(0,le.useCallback)(()=>{se.current=[]},[]),ge=(0,le.useCallback)(()=>{let ne=b.current;if(re.current&&ne&&ne.state!=="closed")return re.current;let he=window.AudioContext||window.webkitAudioContext;if(!he)return Promise.resolve(null);let fe=new he({latencyHint:"interactive",sampleRate:ka});b.current=fe;let ae=URL.createObjectURL(new Blob([Fd],{type:"application/javascript"}));return re.current=fe.audioWorklet.addModule(ae).then(()=>fe).catch(()=>null).finally(()=>URL.revokeObjectURL(ae)),re.current},[]),me=(0,le.useCallback)(()=>{typeof window>"u"||ge()},[ge]),ue=(0,le.useCallback)(()=>{let ne=E.current;if(!ne)return 0;let he=new Uint8Array(ne.fftSize);ne.getByteTimeDomainData(he);let fe=0;for(let ae=0;ae<he.length;ae++){let ke=(he[ae]-128)/128;fe+=ke*ke}return Math.min(1,Math.sqrt(fe/he.length)*4)},[]),j=r==="speaking"||r==="thinking",te=(0,le.useCallback)(ne=>{let he=j?A.current:E.current;return!he||ne.length!==he.frequencyBinCount?!1:(he.getByteFrequencyData(ne),!0)},[j]),we=(0,le.useCallback)(()=>(j?A.current:E.current)?.frequencyBinCount??0,[j]),$e=(0,le.useCallback)(()=>{let ne=G.current,he=b.current;if(!ne||!he||he.state==="closed"){F.current=0;for(let ke of T.current)try{ke.onended=null,ke.stop()}catch{}T.current.clear();return}let fe=he.currentTime,ae=fe+Nd;ne.gain.cancelScheduledValues(fe),ne.gain.setValueAtTime(ne.gain.value,fe),ne.gain.linearRampToValueAtTime(0,ae),ne.gain.setValueAtTime(1,ae);for(let ke of T.current)try{ke.onended=null,ke.stop(ae)}catch{}T.current.clear(),F.current=ae},[]),ve=(0,le.useCallback)(ne=>{let he=b.current,fe=A.current;if(!he||!fe||ne.length===0)return;he.state==="suspended"&&he.resume().catch(()=>{});let ae=he.createBuffer(1,ne.length,B.current);ae.getChannelData(0).set(ne);let ke=he.createBufferSource();ke.buffer=ae,ke.connect(fe);let pe=he.currentTime,Re=F.current>pe?F.current:pe+Ld;ke.start(Re),F.current=Re+ae.duration,T.current.add(ke),ke.onended=()=>{T.current.delete(ke),T.current.size===0&&(F.current=0,w.current=!1,t(Le=>Le==="speaking"?"listening":Le))},t(Le=>Le==="speaking"||Le==="idle"||Le==="ended"?Le:"speaking")},[]),_e=(0,le.useCallback)(()=>{let ne=H.current;H.current=[],Q.current=0;for(let he of ne)ve(he)},[ve]),Oe=(0,le.useCallback)(()=>{H.current=[],Q.current=0},[]),et=(0,le.useCallback)(ne=>{let he=b.current;if(!he||ne.length===0)return;if(F.current>he.currentTime&&H.current.length===0){ve(ne);return}let ae=w.current?zd:Ed;H.current.push(ne),Q.current+=ne.length/B.current,Q.current>=ae&&(w.current=!0,_e())},[ve,_e]),ye=(0,le.useRef)(null),at=(0,le.useRef)(null),ct=(0,le.useCallback)(()=>{ye.current&&(clearInterval(ye.current),ye.current=null);let ne=at.current,he=b.current;if(ne&&he&&he.state!=="closed"){let fe=he.currentTime;try{ne.gain.cancelScheduledValues(fe),ne.gain.setValueAtTime(ne.gain.value,fe),ne.gain.linearRampToValueAtTime(1e-4,fe+.04)}catch{}setTimeout(()=>{try{ne.disconnect()}catch{}at.current===ne&&(at.current=null)},50)}},[]),At=(0,le.useCallback)(()=>{},[]),mt=(0,le.useCallback)(ne=>{y(),d.current=null,xe.current=!1,se.current=[],re.current=null,w.current=!1,H.current=[],Q.current=0,ct(),$e(),M.current?.disconnect(),M.current=null,N.current?.getTracks().forEach(he=>he.stop()),N.current=null,E.current=null,A.current=null,G.current=null,b.current?.close().catch(()=>{}),b.current=null,t(ne),a(!1),i([]),u.current=!1,p.current=!1},[y,$e,ct]),Ye=(0,le.useCallback)(()=>{try{d.current?.send(JSON.stringify({type:"close"}))}catch{}try{d.current?.close()}catch{}mt("idle")},[mt]),Yt=(0,le.useCallback)(ne=>{let he=[...I.current,...L.current.filter(fe=>fe.done)].filter(fe=>fe.text).map(fe=>({role:fe.role,text:fe.text}));try{ne.send(JSON.stringify({type:"open",history:he}))}catch{}},[]),Lt=(0,le.useCallback)(ne=>{let he=!1;ne.binaryType="arraybuffer",V.current=new Rn,ne.onopen=()=>{d.current!==ne||!p.current||(p.current=!1,Yt(ne))},ne.onmessage=fe=>{if(fe.data instanceof ArrayBuffer){if(!k.current){k.current=!0;let pe=_.current.trim();pe&&C(Re=>{let Le=Re.slice();for(let Ne=Le.length-1;Ne>=0;Ne--)Le[Ne].role==="user"&&!Le[Ne].done&&(Le[Ne]={...Le[Ne],done:!0});return Le.push({role:"assistant",text:pe,done:!1}),Le})}!z.current&&f.current&&(z.current=!0,console.log("[kiku] wait from last speech to first audio: "+(Date.now()-f.current)+"ms")),ct();let ke=Xi(fe.data);O.current.push(ke.slice()),et(ke);return}let ae;try{ae=JSON.parse(fe.data)}catch{return}switch(ae.type){case"ready":ae.sampleRate&&(B.current=ae.sampleRate,ae.sampleRate!==ka&&console.warn(`[kiku] live audio rate ${ae.sampleRate} != context ${ka}; per-buffer resampling will click at every chunk seam`)),typeof ae.secondsLeft=="number"&&s(ae.secondsLeft),h(ae.photos===!0),xe.current=!0,t("listening"),ce(),g.current?.(),g.current=null,Gt("connect",!0);break;case"hearing":D.current||(D.current=Date.now()),a(!0);break;case"thinking":D.current||(D.current=Date.now()),a(!1),t("thinking"),At(),ae.tool==="visualize"&&x(ke=>ke.some(pe=>pe.pending)?ke:[...ke,{id:++R.current,url:"",pending:!0}]);break;case"viz":typeof ae.url=="string"&&ae.url?(Z.current=ae.url,x(ke=>ke.map(pe=>pe.pending?{...pe,url:ae.url,pending:!1}:pe))):x(ke=>ke.filter(pe=>!pe.pending));break;case"heard":T.current.size===0&&(F.current=0),D.current||(D.current=Date.now(),Gt("heard")),W.current+=ae.text,C(ke=>{let pe=ke.slice(),Re=pe[pe.length-1];return Re&&Re.role==="user"&&!Re.done?pe[pe.length-1]={...Re,text:W.current.trim()}:pe.push({role:"user",text:W.current.trim(),done:!1}),pe}),a(!1),t("thinking"),At();break;case"said":if(_.current+=ae.text,!k.current)break;C(ke=>{let pe=ke.slice();for(let Ne=pe.length-1;Ne>=0;Ne--)pe[Ne].role==="user"&&!pe[Ne].done&&(pe[Ne]={...pe[Ne],done:!0});let Re=pe[pe.length-1],Le=_.current.trim();return Re&&Re.role==="assistant"&&!Re.done?pe[pe.length-1]={...Re,text:Le}:pe.push({role:"assistant",text:Le,done:!1}),pe});break;case"interrupted":w.current=!1,Oe(),ct(),$e(),Gt("interrupt"),a(!1),t("listening");break;case"turn_complete":z.current=!1,k.current=!1,f.current=0,C(ke=>ke.map(pe=>pe.done?pe:{...pe,done:!0})),_e(),w.current=!1,ct(),a(!1),y();break;case"sources":Array.isArray(ae.sources)&&ae.sources.length&&i(ae.sources);break;case"seconds":typeof ae.secondsLeft=="number"&&s(ae.secondsLeft);break;case"refused":X.current.onRefused?.(ae.code||"guest"),Ye();break;case"error":X.current.onError?.(ae.code||"unavailable"),Ye();break}},ne.onclose=fe=>{d.current===ne&&(fe.code===4402&&(he=!0,X.current.onError?.(fe.reason==="site"?"siteLimit":"limit")),mt("ended"))},ne.onerror=()=>{!he&&d.current===ne&&X.current.onError?.("connection")}},[Oe,et,y,ce,$e,_e,Yt,At,ct,Ye,mt]),dr=(0,le.useCallback)(ne=>{let he=d.current;if(xe.current=!1,t("connecting"),$e(),ct(),he){try{he.send(JSON.stringify({type:"close"}))}catch{}try{he.close()}catch{}}let fe=X.current;p.current=!0;let ae=new WebSocket(tc(fe,ne),["akropolys.token."+fe.token]);d.current=ae,Lt(ae)},[Lt,$e,ct]),Xt=(0,le.useRef)(e.voice);(0,le.useEffect)(()=>{Xt.current!==e.voice&&(Xt.current=e.voice,d.current&&(r==="listening"||r==="thinking"||r==="speaking")&&dr(e.voice))},[e.voice,r,dr]);let pr=(0,le.useCallback)(async(ne=[])=>{if(u.current&&d.current)return;u.current=!0,t("connecting");let he=X.current;se.current=[],I.current=ne,L.current=[],C([]),x([]),W.current="",_.current="";let fe=ge();b.current?.resume().catch(()=>{}),xr();let ae=d.current;ae&&ae.readyState===WebSocket.OPEN?Yt(ae):ae&&ae.readyState===WebSocket.CONNECTING?p.current=!0:(ae=new WebSocket(tc(he),["akropolys.token."+he.token]),d.current=ae,p.current=!0,Lt(ae));let ke;try{if(!navigator.mediaDevices?.getUserMedia)throw{name:"NotAllowedError"};ke=await navigator.mediaDevices.getUserMedia({audio:{echoCancellation:!0,noiseSuppression:!0,autoGainControl:!0}})}catch(nt){try{ae.close()}catch{}d.current=null,t("idle"),he.onError?.(nt?.name==="NotAllowedError"?"not-allowed":"audio-capture");return}if(d.current!==ae){ke.getTracks().forEach(nt=>nt.stop());return}N.current=ke;for(let nt of ke.getAudioTracks())nt.enabled=!X.current.muted;let pe=await fe;if(d.current!==ae){ke.getTracks().forEach(nt=>nt.stop());return}if(!pe){X.current.onError?.("audio-worklet"),Ye();return}pe.state==="suspended"&&pe.resume().catch(()=>{});let Re=pe.createAnalyser();Re.fftSize=1024,Re.smoothingTimeConstant=.25,E.current=Re;let Le=pe.createGain();Le.gain.value=1,Le.connect(pe.destination),G.current=Le;let Ne=pe.createAnalyser();Ne.fftSize=1024,Ne.smoothingTimeConstant=.25,Ne.connect(Le),A.current=Ne;try{let nt=new AudioWorkletNode(pe,"kiku-capture");M.current=nt,nt.port.onmessage=Pt=>q(Pt.data);let nr=pe.createMediaStreamSource(ke),ot=()=>{if(!(d.current!==ae||!M.current)){try{nr.connect(Re)}catch{}try{nr.connect(nt)}catch{}}};xe.current?ot():g.current=ot}catch{X.current.onError?.("audio-worklet"),Ye()}},[Lt,ge,q,Yt,Ye]);(0,le.useEffect)(()=>{if(r!=="listening"){a(!1);return}let ne=0,he=!1,fe=Date.now(),ae=window.setInterval(()=>{let ke=Date.now();if(!X.current.muted&&ue()>Id&&(ne=ke),ke-Math.max(ne,fe)>Pd){window.clearInterval(ae),X.current.onError?.("idle"),Ye();return}let pe=ke-ne<Ad;pe!==he&&(he=pe,a(pe))},100);return()=>window.clearInterval(ae)},[r,ue,Ye]);let Ut=(0,le.useCallback)(()=>{me()},[me]);(0,le.useEffect)(()=>()=>{Ye()},[Ye]),(0,le.useEffect)(()=>{let ne=N.current;if(ne)for(let he of ne.getAudioTracks())he.enabled=!e.muted},[e.muted,r]);let ze=(0,le.useCallback)(async ne=>{let he=X.current.storeScene;if(!he||!ne.type.startsWith("image/"))return!1;let fe;try{fe=await ha(ne)}catch{return!1}let ae=++R.current;if(x(pe=>[...pe,{id:ae,url:fe,pending:!1,sending:!0}]),!await he(fe))return x(pe=>pe.filter(Re=>Re.id!==ae)),!1;x(pe=>pe.map(Re=>Re.id===ae?{...Re,sending:!1}:Re)),m.current.push(fe);let ke=d.current;return ke&&ke.readyState===WebSocket.OPEN&&ke.send(JSON.stringify({type:"text",text:"(The visitor just attached a photo. You cannot see it. In one short sentence, ask what they would like changed in it.)"})),!0},[]),Mt=(0,le.useCallback)(ne=>{let he=d.current;he&&he.readyState===WebSocket.OPEN&&ne.trim()&&he.send(JSON.stringify({type:"text",text:ne}))},[]);return{state:r,phase:r,hearing:n,sources:o,secondsLeft:c,photos:l,turns:J,images:K,micLevel:ue,micSpectrum:te,spectrumBins:we,start:pr,stop:Ye,prewarm:Ut,attachPhoto:ze,ask:Mt}}var le,So,ka,Ed,zd,Ld,Nd,Id,Ad,Pd,Fd,nc=Se(()=>{"use strict";le=require("react");Wr();Qi();ec();so();So=16e3,ka=24e3,Ed=.08,zd=.12,Ld=.03,Nd=.08,Id=.12,Ad=500,Pd=6e4,Fd=`
|
|
3
3
|
class KikuCapture extends AudioWorkletProcessor {
|
|
4
4
|
constructor() {
|
|
5
5
|
super();
|
|
6
|
-
this._ratio = sampleRate / ${
|
|
7
|
-
this._chunk = ${Math.round(
|
|
6
|
+
this._ratio = sampleRate / ${So};
|
|
7
|
+
this._chunk = ${Math.round(So*.04)};
|
|
8
8
|
this._acc = new Int16Array(this._chunk);
|
|
9
9
|
this._n = 0;
|
|
10
10
|
this._pos = 0;
|
|
@@ -32,10 +32,8 @@ class KikuCapture extends AudioWorkletProcessor {
|
|
|
32
32
|
}
|
|
33
33
|
}
|
|
34
34
|
registerProcessor('kiku-capture', KikuCapture);
|
|
35
|
-
`;function Il(e){let t=new Uint8Array(e),r="";for(let a=0;a<t.length;a+=32768)r+=String.fromCharCode.apply(null,Array.from(t.subarray(a,a+32768)));return btoa(r)}function Dl(e){let t=atob(e),r=t.length,a=new Uint8Array(r);for(let i=0;i<r;i++)a[i]=t.charCodeAt(i);let n=new DataView(a.buffer,a.byteOffset,a.byteLength),o=r>>1,c=new Float32Array(o);for(let i=0;i<o;i++)c[i]=n.getInt16(i*2,!0)/32768;return c}function Vi(e){let[t,r]=(0,ve.useState)("idle"),[a,n]=(0,ve.useState)(!1),[o,c]=(0,ve.useState)([]),[i,s]=(0,ve.useState)(null),l=(0,ve.useRef)(null),u=(0,ve.useRef)(null),d=(0,ve.useRef)(null),h=(0,ve.useRef)(null),p=(0,ve.useRef)(null),k=(0,ve.useRef)(0),f=(0,ve.useRef)(new Set),w=(0,ve.useRef)(null),z=(0,ve.useRef)(null),L=(0,ve.useRef)(da),$=(0,ve.useRef)(e);(0,ve.useEffect)(()=>{$.current=e},[e]);let m=(0,ve.useRef)(!1),S=(0,ve.useRef)(null),F=(0,ve.useRef)(""),v=(0,ve.useRef)(""),J=(0,ve.useCallback)(()=>{let M=F.current.trim(),N=v.current.trim();F.current="",v.current="",!(!M&&!N)&&$.current.onExchange?.({heard:M,said:N})},[]),W=(0,ve.useCallback)(()=>{},[]),G=(0,ve.useCallback)(()=>{if(!m.current)return;u.current&&u.current.state==="suspended"&&u.current.resume().catch(()=>{});let M=S.current;M&&(S.current=null,M())},[]),E=(0,ve.useCallback)(()=>{let M=p.current;if(!M)return 0;let N=new Uint8Array(M.fftSize);M.getByteTimeDomainData(N);let T=0;for(let q=0;q<N.length;q++){let H=(N[q]-128)/128;T+=H*H}return Math.min(1,Math.sqrt(T/N.length)*4)},[]),j=t==="speaking"||t==="thinking",C=(0,ve.useCallback)(M=>{let N=j?w.current:p.current;return!N||M.length!==N.frequencyBinCount?!1:(N.getByteFrequencyData(M),!0)},[j]),oe=(0,ve.useCallback)(()=>(j?w.current:p.current)?.frequencyBinCount??0,[j]),_=(0,ve.useCallback)(()=>{let M=z.current,N=u.current;if(!M||!N||N.state==="closed"){k.current=0;for(let H of f.current)try{H.onended=null,H.stop()}catch{}f.current.clear();return}let T=N.currentTime,q=T+Ll;M.gain.cancelScheduledValues(T),M.gain.setValueAtTime(M.gain.value,T),M.gain.linearRampToValueAtTime(0,q),M.gain.setValueAtTime(1,q);for(let H of f.current)try{H.onended=null,H.stop(q)}catch{}f.current.clear(),k.current=q},[]),Q=(0,ve.useCallback)(M=>{let N=u.current,T=w.current;if(!N||!T||M.length===0)return;N.state==="suspended"&&N.resume().catch(()=>{});let q=L.current,H=N.createBuffer(1,M.length,q);H.getChannelData(0).set(M);let ie=N.createBufferSource();ie.buffer=H,ie.connect(T);let y=N.currentTime,X=k.current>y?k.current:y+Al;ie.start(X),k.current=X+H.duration,f.current.add(ie),ie.onended=()=>{f.current.delete(ie),f.current.size===0&&(k.current=0,r(A=>A==="speaking"?"listening":A))},r(A=>A==="speaking"||A==="idle"||A==="ended"?A:"speaking")},[]),g=(0,ve.useCallback)(()=>{},[]),D=(0,ve.useCallback)(()=>{},[]),Z=(0,ve.useCallback)(M=>{J(),l.current=null,m.current=!1,S.current=null,g(),_(),h.current?.disconnect(),h.current=null,d.current?.getTracks().forEach(N=>N.stop()),d.current=null,p.current=null,w.current=null,z.current=null,u.current?.close().catch(()=>{}),u.current=null,r(M),n(!1),c([])},[J,_,g]),O=(0,ve.useCallback)(()=>{try{l.current?.send(JSON.stringify({type:"close"}))}catch{}try{l.current?.close()}catch{}Z("idle")},[Z]),B=(0,ve.useCallback)(M=>{let N=!1;M.onmessage=T=>{let q;try{q=JSON.parse(T.data)}catch{return}switch(q.type){case"ready":q.sampleRate&&(L.current=q.sampleRate,q.sampleRate!==da&&console.warn(`[kiku] live audio rate ${q.sampleRate} != context ${da}; per-buffer resampling will click at every chunk seam`)),typeof q.secondsLeft=="number"&&s(q.secondsLeft),m.current=!0,r("listening"),G();break;case"audio":g(),q.audio&&Q(Dl(q.audio));break;case"hearing":n(!0);break;case"thinking":n(!1),r("thinking"),D();break;case"heard":F.current+=q.text;break;case"said":v.current+=q.text;break;case"interrupted":g(),_(),zt("interrupt"),n(!1),r("listening");break;case"turn_complete":g(),n(!1),J();break;case"sources":Array.isArray(q.sources)&&q.sources.length&&c(q.sources);break;case"seconds":typeof q.secondsLeft=="number"&&s(q.secondsLeft);break;case"refused":$.current.onRefused?.(q.code||"guest"),O();break;case"error":$.current.onError?.(q.code||"unavailable"),O();break}},M.onclose=T=>{l.current===M&&(T.code===4402&&(N=!0,$.current.onError?.(T.reason==="site"?"siteLimit":"limit")),Z("ended"))},M.onerror=()=>{!N&&l.current===M&&$.current.onError?.("connection")}},[G,Q,J,_,D,g,O,Z]),ae=(0,ve.useCallback)(M=>{let N=l.current;if(m.current=!1,r("connecting"),_(),g(),N){try{N.send(JSON.stringify({type:"close"}))}catch{}try{N.close()}catch{}}let T=$.current,q=T.apiUrl.replace(/\/+$/,""),H=new URL(q+"/voice/live",window.location.href);H.protocol=H.protocol==="https:"?"wss:":"ws:",H.searchParams.set("siteId",T.siteId),T.kikuId&&H.searchParams.set("kikuId",T.kikuId),T.language&&H.searchParams.set("language",T.language),(M||T.voice)&&H.searchParams.set("voice",M||T.voice);let ie=new WebSocket(H.toString(),["akropolys.token."+T.token]);l.current=ie,B(ie)},[B,_,g]),le=(0,ve.useRef)(e.voice);(0,ve.useEffect)(()=>{le.current!==e.voice&&(le.current=e.voice,l.current&&(t==="listening"||t==="thinking"||t==="speaking")&&ae(e.voice))},[e.voice,t,ae]);let me=(0,ve.useCallback)(async()=>{if(l.current)return;r("connecting");let M=$.current,N=window.AudioContext||window.webkitAudioContext;N&&((!u.current||u.current.state==="closed")&&(u.current=new N({latencyHint:"interactive",sampleRate:da})),u.current.state==="suspended"&&u.current.resume().catch(()=>{}));let T=M.apiUrl.replace(/\/+$/,""),q=new URL(T+"/voice/live",window.location.href);q.protocol=q.protocol==="https:"?"wss:":"ws:",q.searchParams.set("siteId",M.siteId),M.kikuId&&q.searchParams.set("kikuId",M.kikuId),M.language&&q.searchParams.set("language",M.language),M.voice&&q.searchParams.set("voice",M.voice);let H=new WebSocket(q.toString(),["akropolys.token."+M.token]);l.current=H,B(H);let ie;try{if(!navigator.mediaDevices?.getUserMedia)throw{name:"NotAllowedError"};ie=await navigator.mediaDevices.getUserMedia({audio:{echoCancellation:!0,noiseSuppression:!0,autoGainControl:!0}})}catch(I){abandoned=!0;try{H.close()}catch{}l.current=null,r("idle"),M.onError?.(I?.name==="NotAllowedError"?"not-allowed":"audio-capture");return}if(l.current!==H){ie.getTracks().forEach(I=>I.stop());return}d.current=ie;for(let I of ie.getAudioTracks())I.enabled=!$.current.muted;let y=u.current&&u.current.state!=="closed"?u.current:N?new N({latencyHint:"interactive",sampleRate:da}):null;if(!y)return;u.current=y,y.state==="suspended"&&y.resume().catch(()=>{});let X=y.createAnalyser();X.fftSize=1024,X.smoothingTimeConstant=.25,p.current=X;let A=y.createGain();A.gain.value=1,A.connect(y.destination),z.current=A;let R=y.createAnalyser();R.fftSize=1024,R.smoothingTimeConstant=.25,R.connect(A),w.current=R;try{let I=URL.createObjectURL(new Blob([El],{type:"application/javascript"}));if(await y.audioWorklet.addModule(I),URL.revokeObjectURL(I),l.current!==H){ie.getTracks().forEach(ne=>ne.stop()),y.close().catch(()=>{});return}let re=new AudioWorkletNode(y,"kiku-capture");h.current=re,re.port.onmessage=ne=>{let ke=l.current;!ke||ke.readyState!==WebSocket.OPEN||ke.send(JSON.stringify({type:"audio",audio:Il(ne.data)}))};let pe=y.createMediaStreamSource(ie);S.current=()=>{pe.connect(X),pe.connect(re)},G()}catch{$.current.onError?.("audio-worklet"),O()}},[G,Q,J,_,D,g,O,Z]);return(0,ve.useEffect)(()=>()=>{O()},[O]),(0,ve.useEffect)(()=>{let M=d.current;if(M)for(let N of M.getAudioTracks())N.enabled=!e.muted},[e.muted,t]),{state:t,phase:t,hearing:a,sources:o,secondsLeft:i,micLevel:E,micSpectrum:C,spectrumBins:oe,start:me,stop:O}}var $l=e=>e==="connecting"||e==="ended"?"idle":e;function Ki({voiceLang:e,speechLang:t,shopperLanguage:r,ttsVoice:a="Puck",handleSendUtterance:n,appendSpokenExchange:o}){let c=(0,Oi.useAkropolysContext)(),[i,s]=(0,Ct.useState)("off"),[l,u]=(0,Ct.useState)("idle"),[d,h]=(0,Ct.useState)(""),[p,k]=(0,Ct.useState)(!1),[f,w]=(0,Ct.useState)(null),[z,L]=(0,Ct.useState)(!1),[$,m]=(0,Ct.useState)(()=>{try{let g=localStorage.getItem(Mn);if(g&&Fa.some(D=>D.name===g))return g}catch{}return a||"Puck"}),S=(0,Ct.useCallback)(g=>{m(g);try{localStorage.setItem(Mn,g)}catch{}},[]),F=ji({lang:e||t,onUtterance:g=>{u("thinking"),n(g)},onError:g=>{s("off"),u("idle"),h(g==="not-allowed"?"micDenied":g==="language-not-supported"?"micLangUnsupported":g==="audio-capture"?"micMissing":g==="network"?"micNetwork":"micFailed")},onBargeIn:()=>{Bi()}}),v=c?.api?.apiUrl||c?.apiUrl||"",J=c?.api?.siteId||c?.siteId||"",W=c?.api?.apiToken||c?.apiToken||"",G=c?.getShopperId?.()||c?.getKikuPub?.()||void 0,E=Vi({apiUrl:v,siteId:J,token:W,kikuId:G,language:r,voice:$,muted:p,onExchange:g=>{o(g.heard,g.said)},onError:g=>{if(g==="shopper_reply_limit"||g==="access_revoked"||g==="account_required"){L(!0),E.stop(),s("off");return}s("off"),h(g==="not-allowed"?"micDenied":g==="audio-capture"?"micMissing":g==="limit"?"voiceLimitReached":g==="siteLimit"?"voiceSiteLimit":g==="connection"||g==="network"?"micNetwork":"voiceUnavailable")},onRefused:g=>{(g==="shopper_reply_limit"||g==="access_revoked"||g==="account_required")&&L(!0),s("off"),h("voiceUnavailable")}}),j=typeof window<"u"&&!!window.WebSocket&&!!(window.AudioContext||window.webkitAudioContext)&&!!navigator.mediaDevices?.getUserMedia,C=(0,Ct.useCallback)(async g=>{if(!Wo()){h("micInsecure");return}h(""),s(g),g==="dictate"?(u("listening"),await F.start()):E.start()},[E,F]),oe=(0,Ct.useCallback)(()=>{s("off"),u("idle"),F.stop(),E.stop()},[E,F]),_=i==="converse"?$l(E.state):i==="dictate"?l==="listening"?F.hearing?"speaking":"listening":l:"idle",Q=i==="converse"&&(E.phase==="connecting"||E.state==="connecting");return{voiceMode:i,voicePhase:_,voiceConnecting:Q,voiceError:d,setVoiceError:h,voiceMuted:p,setVoiceMuted:k,voiceSecondsLeft:f,voiceBlocked:z,liveVoiceName:$,chooseVoice:S,canConverse:j,startVoice:C,stopVoice:oe,voice:F,live:E}}var xt=Ft(require("react"));var He=require("react"),fe=require("react/jsx-runtime"),jn={idle:{bw:50,bh:60,tr:1,br:.42,bow:3},thinking:{bw:46,bh:46,tr:1,br:1,bow:2},visualizing:{bw:64,bh:42,tr:.42,br:.42,bow:2},speaking:{bw:44,bh:54,tr:.9,br:.9,bow:3},failed:{bw:53,bh:45,tr:.95,br:.55,bow:4},curious:{bw:48,bh:52,tr:.9,br:.7,bow:3},welcoming:{bw:50,bh:58,tr:1,br:.5,bow:2},guiding:{bw:46,bh:50,tr:.8,br:.8,bow:2},happy:{bw:52,bh:56,tr:1,br:.4,bow:4},focused:{bw:48,bh:52,tr:.9,br:.7,bow:2}},Wn={idle:{lid:1,warm:0,breath:2100,wob:1},thinking:{lid:1,warm:.2,breath:1700,wob:1.6},visualizing:{lid:1,warm:.9,breath:1200,wob:2.2},speaking:{lid:1,warm:.35,breath:900,wob:1.8},failed:{lid:.28,warm:0,breath:3e3,wob:.6},curious:{lid:1,warm:.15,breath:1800,wob:1.4},welcoming:{lid:1,warm:.25,breath:1600,wob:1.2},guiding:{lid:1,warm:.2,breath:1500,wob:1.3},happy:{lid:1,warm:.4,breath:1200,wob:1.5},focused:{lid:1,warm:.2,breath:1500,wob:1.2}},Xa=[[0,0,0],[.09,.54,0],[.19,-.36,32],[.31,-.22,58],[.42,-.12,68],[.54,.04,28],[.63,.96,0],[.71,.18,0],[.79,-.16,20],[.88,.34,0],[.95,-.05,4],[1,0,0]];function Fl(e){let t=1;for(;t<Xa.length-1&&Xa[t][0]<e;)t++;let[r,a,n]=Xa[t-1],[o,c,i]=Xa[t],s=o===r?0:(e-r)/(o-r),l=s*s*(3-2*s);return[a+(c-a)*l,n+(i-n)*l]}var ha=6,Yi=["bw","bh","tr","br","bow","lid","warm","wob","gx","gy"],ar=(e,t,r)=>Math.max(t,Math.min(r,e));function Gi(e,t,r,a){let n=l=>l.toFixed(2),o=(t+r)/2,c=e+a,i=(o-t)*.55,s=(r-o)*.55;return`C${n(e)} ${n(t+i)} ${n(c)} ${n(o-i)} ${n(c)} ${n(o)}C${n(c)} ${n(o+s)} ${n(e)} ${n(r-s)} ${n(e)} ${n(r)}`}function _l(e,t,r,a,n){let o=ar(e*r,8,t*.96),c=ar(e*a,8,t*.96),i=(d,h)=>`${d.toFixed(2)} ${h.toFixed(2)}`,s=.46,l=ar((e-o)/e,0,1),u=ar((e-c)/e,0,1);return`M${i(-e,-t+o)}C${i(-e,-t+o*s)} ${i(-e+o*s,-t)} ${i(-e+o,-t)}C${i(-e*.3*l,-t-2*l)} ${i(e*.3*l,-t-2*l)} ${i(e-o,-t)}C${i(e-o*s,-t)} ${i(e,-t+o*s)} ${i(e,-t+o)}`+Gi(e,-t+o,t-c,n)+`C${i(e,t-c*s)} ${i(e-c*s,t)} ${i(e-c,t)}C${i(e*.3*u,t+2*u)} ${i(-e*.3*u,t+2*u)} ${i(-e+c,t)}C${i(-e+c*s,t)} ${i(-e,t-c*s)} ${i(-e,t-c)}`+Gi(-e,t-c,-t+o,-n)+"Z"}var Fr=[{name:"Graphite",color:"#4B5058",light:"#A8AEB6",glow:"rgba(75, 80, 88, 0.26)"},{name:"Mist",color:"#78868F",light:"#BFC9CF",glow:"rgba(120, 134, 143, 0.26)"},{name:"Sandstone",color:"#8A7E71",light:"#CBC1B5",glow:"rgba(138, 126, 113, 0.26)"},{name:"Pewter",color:"#5F6670",light:"#B3BAC3",glow:"rgba(95, 102, 112, 0.26)"}],Kn=[{name:"Aegean",color:"#2E6FB7",light:"#9CC1E6",glow:"rgba(46, 111, 183, 0.30)"},{name:"Fern",color:"#3C8C60",light:"#A2CFB4",glow:"rgba(60, 140, 96, 0.30)"},{name:"Marigold",color:"#C48A22",light:"#EBD095",glow:"rgba(196, 138, 34, 0.30)"},{name:"Coral",color:"#C15A4E",light:"#E9AEA3",glow:"rgba(193, 90, 78, 0.30)"},{name:"Iris",color:"#5F5CC4",light:"#B6B4E8",glow:"rgba(95, 92, 196, 0.30)"}],jd=[...Fr,...Kn];function Vn(e){let a=(!Kn.includes(e)&&Math.random()<.26?Kn:Fr).filter(n=>n!==e);return a[Math.floor(Math.random()*a.length)]}function Ht(e){let t=parseInt(e.slice(1),16);return[t>>16&255,t>>8&255,t&255]}function On(e){return`rgb(${Math.round(e[0])}, ${Math.round(e[1])}, ${Math.round(e[2])})`}function ql(e,t,r){return[e[0]+(t[0]-e[0])*r,e[1]+(t[1]-e[1])*r,e[2]+(t[2]-e[2])*r]}var Bl=[[255,253,248],[247,240,231],[231,218,202],[198,178,156]],Qi=[.05,.15,.42,.74],Hl=[.52,.72,.9,1],Xi={color:"#E2581D",light:"#FFBE96",glow:"rgba(226, 88, 29, 0.34)"};function Ji({state:e="idle",size:t=40,alert:r=!1,theme:a,feminine:n,accessories:o,onImpact:c,triggerRef:i}){let s=(0,He.useRef)(e);s.current=e;let l=(0,He.useRef)(r);l.current=r;let u=a==="blush"||n===!0||!!(o?.flower||o?.eyelashes||o?.blush),d=o?.flower??u,h=o?.eyelashes??u,p=o?.blush??u,k=(0,He.useRef)(null),f=(0,He.useRef)(null),w=(0,He.useRef)(null),z=(0,He.useRef)(null),L=(0,He.useRef)(null),$=(0,He.useRef)(null),m=(0,He.useRef)(null),S=(0,He.useRef)(null),F=(0,He.useRef)(null),v=(0,He.useRef)(null),J=(0,He.useRef)(null),W=(0,He.useRef)(null),G=(0,He.useRef)(null),E=(0,He.useRef)(null),j=(0,He.useRef)([]),C=(0,He.useRef)([]),oe=(0,He.useRef)(null),_=(0,He.useRef)(`kiku-${Math.random().toString(36).slice(2,8)}`).current,Q=(0,He.useRef)(c);return Q.current=c,(0,He.useEffect)(()=>{let g=window.matchMedia("(prefers-reduced-motion: reduce)").matches,D={},Z={};Yi.forEach(ye=>{D[ye]=jn.idle[ye]??Wn.idle[ye]??0,Z[ye]=0});let O=Array.from({length:ha},()=>({x:0,y:0,w:0,h:0,rx:0,a:0})),B=Array.from({length:ha},()=>({x:0,y:0,w:0,h:0,rx:0,a:0})),ae=1800,le=-1,me=0,M=2600,N=0,T=!1,q=9e3+Math.random()*8e3,H=-1,ie=0,y=0,X=0,A=4200,R=0,I=0,re=0,pe=12e3,ne=Fr[0],ke=Ht(ne.color),de=Ht(ne.light),Ne=[...ke],$e=[...de],et=2600,Ke=-1/0,qe=!1,P=0,ce=!1,Ie=0,We=0,It=0,ir=!1,Wr=0,fa=ye=>{ye-Ke<et?(ne=Vn(ne),Ne=Ht(ne.color),$e=Ht(ne.light),Ke=-1/0):Ke=ye},nn=(ye,st,Nt,Dt)=>{let ct=s.current,gt=Array.from({length:ha},()=>({x:0,y:0,w:0,h:0,rx:0,a:0})),vt=(ht,Qe,ut=0)=>{let Ye=Math.max(4,54*Math.max(.06,st));gt[ht]={x:Qe+Nt,y:-4+Dt+ut,w:21,h:Ye,rx:10.5,a:1}};if(ct==="thinking"){let Qe=ye%2800/2800,ut=Math.pow(Math.sin(Qe*Math.PI*2)*.5+.5,3);for(let Ye=0;Ye<4;Ye++){let $t=ye/700+Ye/4*Math.PI*2,zr=(26-Ye%2*5)*(1-.94*ut),jt=16+ut*6+Math.sin(ye/420+Ye)*1.4;gt[Ye]={x:Math.cos($t)*zr,y:Math.sin($t)*zr*.86+2,w:jt,h:jt,rx:jt/2,a:1}}}else if(ct==="visualizing")gt[0]={x:0,y:-2,w:78,h:26,rx:13,a:1};else if(ct==="speaking")for(let Qe=0;Qe<5;Qe++){let ut=12+Math.abs(Math.sin(ye/150+Qe*.9))*26;gt[Qe]={x:(Qe-4/2)*15,y:-2,w:9,h:ut,rx:4.5,a:1}}else ct==="failed"?(vt(0,-22,8),vt(1,22,8)):(vt(0,-22),vt(1,22));return gt};i&&(i.current=()=>{if(H>=0){ce=!0,ne=Vn(ne),Ne=Ht(ne.color),$e=Ht(ne.light),Ke=-1/0;return}H=0,fa(Ie),q=Ie+4e3});let Tr=ye=>{Ie=ye;let st=s.current,Nt=jn[st]??jn.idle,Dt=Wn[st]??Wn.idle,ct=st==="idle"||st==="failed";ct&&!g&&(ye>M&&(me=(Math.random()-.5)*2,M=ye+1800+Math.random()*3600),D.wantGx=me*5);let gt=l.current?1:0;It=(It+(gt-We)*.1)*.88,We+=It;let vt=l.current&&!g?Math.sin(ye/480)*.055*We:0,ht={bw:Nt.bw*(1+We*.34+vt),bh:Nt.bh*(1+We*.2+vt),tr:Nt.tr,br:Nt.br,bow:Nt.bow,warm:Dt.warm,wob:Dt.wob,lid:Dt.lid,gx:ct&&!g?me*5:0,gy:ct&&!g?Math.sin(ye/2600)*2:0};!g&&ct&&(le<0&&ye>ae&&(le=0),le>=0&&(le+=1/7,ht.lid=Dt.lid*Math.abs(le-.5)*2,le>=1&&(le=-1,ht.lid=Dt.lid,ae=ye+(Math.random()<.22?340:2600+Math.random()*4200)))),Yi.forEach(xe=>{let je=xe;if(g){D[je]=ht[je];return}let ze=je==="lid"?.42:.11,Tt=je==="lid"?.55:.78;Z[je]=(Z[je]+(ht[je]-D[je])*ze)*Tt,D[je]+=Z[je]});let Qe=0,ut=0;!g&&l.current&&H<0&&ye>Wr&&(H=0,Wr=ye+2100,q=ye+4e3),!g&&st==="idle"?H<0&&ye>q&&(H=0,qe?(qe=!1,P=0,ne=Vn(ne),Ne=Ht(ne.color),$e=Ht(ne.light),Ke=-1/0):(P++,fa(ye))):H<0&&(q=ye+3e3+Math.random()*3e3),H>=0&&(H+=1/96,[Qe,ut]=Fl(H),H>=1&&(H=-1,Qe=0,ut=0,ce?(ce=!1,P=0,q=ye+150):!qe&&P>=2?(qe=!0,q=ye+240):q=ye+5e3+Math.random()*5e3));let Ye=Math.max(0,Qe);if(l.current!==ir){ir=l.current;let xe=l.current?Xi:ne;Ne=Ht(xe.color),$e=Ht(xe.light),l.current&&!g&&(H<0&&(H=0),Wr=ye+2600)}let $t=l.current?Xi:ne;if(g)ke=[...Ne],de=[...$e];else for(let xe=0;xe<3;xe++)ke[xe]+=(Ne[xe]-ke[xe])*.055,de[xe]+=($e[xe]-de[xe])*.055;let zr=On(ke),jt=On(de);W.current?.setAttribute("stop-color",zr),G.current?.setAttribute("stop-color",jt),E.current?.setAttribute("stop-color",jt);for(let xe=0;xe<4;xe++){let je=Qi[xe]+(Hl[xe]-Qi[xe])*We;j.current[xe]?.style.setProperty("stop-color",On(ql(Bl[xe],ke,je)))}let ga=.34+Math.sin(ye/1200)*.06,on=Ye>.02?Math.min(.72,ga+Ye*.34):ga;J.current?.setAttribute("opacity",on.toFixed(3)),Ye>.04?Q.current?.(Ye,$t.color,$t.glow):sr>.04&&Q.current?.(0,$t.color,$t.glow),sr=Ye;let va=g?0:Math.sin(ye/1900)*.9*D.wob,ya=D.bw*(1+Qe*.55)+va*.4,Vr=D.bh*(1-Qe*.62),Qt=_l(ya,Vr,ar(D.tr+Ye*.5,0,1.2),ar(D.br+Ye*.9,0,1),D.bow+va+Ye*5);k.current?.setAttribute("d",Qt),f.current?.setAttribute("d",Qt);let Or=st==="thinking";Or!==T&&(T=Or,oe.current?.setAttribute("filter",Or?`url(#${_}-goo)`:"none"));let xa=nn(ye,D.lid*(1-Ye*.85),D.gx,D.gy);for(let xe=0;xe<ha;xe++){let je=xa[xe],ze=O[xe],Tt=B[xe];for(let kt of["x","y","w","h","rx","a"]){if(g){ze[kt]=je[kt];continue}Tt[kt]=(Tt[kt]+(je[kt]-ze[kt])*.16)*.74,ze[kt]+=Tt[kt]}let rt=C.current[xe];rt&&(rt.setAttribute("x",(ze.x-ze.w/2).toFixed(2)),rt.setAttribute("y",(ze.y-ze.h/2).toFixed(2)),rt.setAttribute("width",Math.max(0,ze.w).toFixed(2)),rt.setAttribute("height",Math.max(0,ze.h).toFixed(2)),rt.setAttribute("rx",Math.max(0,Math.min(ze.rx,ze.w/2,ze.h/2)).toFixed(2)),rt.setAttribute("opacity",ar(ze.a,0,1).toFixed(2)))}let wa=g?0:Math.sin(ye/Dt.breath)*1.5;!g&&ct&&H<0?(ye>A&&(X=(Math.random()<.5?-1:1)*(.35+Math.random()*.65),A=ye+2600+Math.random()*4200),ye>pe&&(re=re>.1?0:1,pe=ye+(re>.1?900:9e3+Math.random()*11e3))):(X=0,re=0),y=(y+(X-ie)*.028)*.9,ie+=y,I=(I+(re-R)*.06)*.82,R+=I;let Xt=D.bh-Vr,Rr=ie*3.4+R*4.5,mt=ie*2.2+R*3,yt=R*2.4;if(w.current?.setAttribute("transform",`translate(${mt.toFixed(2)} ${(wa+Xt-ut+yt).toFixed(2)}) rotate(${Rr.toFixed(2)} 0 60)`),z.current&&z.current.setAttribute("transform",`translate(${mt.toFixed(2)} ${(wa+Xt-ut+yt).toFixed(2)}) rotate(${Rr.toFixed(2)} 0 60)`),d&&L.current){let xe=-ya*.62,je=-Vr*.7,ze=-16+(g?0:Math.sin(ye/1400)*3)+Rr*.4;L.current.setAttribute("transform",`translate(${xe.toFixed(2)}, ${je.toFixed(2)}) rotate(${ze.toFixed(2)})`)}if(p&&$.current){let xe=12+D.gy*.5;$.current.setAttribute("transform",`translate(0, ${xe.toFixed(2)})`)}if(h&&m.current){let xe=st!=="thinking"&&st!=="visualizing"&&st!=="speaking";m.current.setAttribute("opacity",xe?ar(D.lid*1.3,0,1).toFixed(2):"0");let je=(ze,Tt)=>{let rt=Math.max(1,Math.min(ze.w,ze.h)/2),kt=ze.y-ze.h/2+rt,Sa="";for(let[sn,cr]of[[20,7],[48,8],[76,6.5]]){let Jt=sn*Math.PI/180,cn=ze.x+Tt*Math.sin(Jt)*rt,Ca=kt-Math.cos(Jt)*rt,ln=ze.x+Tt*Math.sin(Jt)*(rt+cr),Ma=kt-Math.cos(Jt)*(rt+cr)-1.5,pn=ze.x+Tt*Math.sin(Jt-.22)*(rt+cr*.65),dn=kt-Math.cos(Jt-.22)*(rt+cr*.65);Sa+=` M ${cn.toFixed(2)} ${Ca.toFixed(2)} Q ${pn.toFixed(2)} ${dn.toFixed(2)} ${ln.toFixed(2)} ${Ma.toFixed(2)}`}return Sa.trim()};S.current?.setAttribute("d",je(O[0],-1)),F.current?.setAttribute("d",je(O[1],1))}N=requestAnimationFrame(Tr)},sr=0;return N=requestAnimationFrame(Tr),()=>cancelAnimationFrame(N)},[d,h,p,u]),(0,fe.jsxs)("svg",{className:"hsk-kiku-avatar",width:t,height:t,viewBox:"-100 -100 200 200","aria-hidden":"true",style:{display:"block",overflow:"visible"},children:[(0,fe.jsxs)("defs",{children:[(0,fe.jsx)("linearGradient",{id:`${_}-marble`,x1:".2",y1:"0",x2:".42",y2:"1",children:[0,40,82,100].map((g,D)=>(0,fe.jsx)("stop",{ref:Z=>{j.current[D]=Z},offset:`${g}%`,style:{stopColor:`var(--hsk-marble-${D+1}, #FAF7F2)`}},g))}),(0,fe.jsxs)("linearGradient",{id:`${_}-contact`,x1:"0",y1:"1",x2:"0",y2:"0",children:[(0,fe.jsx)("stop",{ref:W,offset:"0%",stopColor:Fr[0].color,stopOpacity:"0.9"}),(0,fe.jsx)("stop",{ref:G,offset:"45%",stopColor:Fr[0].light,stopOpacity:"0.5"}),(0,fe.jsx)("stop",{ref:E,offset:"100%",stopColor:Fr[0].light,stopOpacity:"0"})]}),(0,fe.jsxs)("radialGradient",{id:`${_}-sheen`,cx:".34",cy:".2",r:".55",children:[(0,fe.jsx)("stop",{offset:"0%",stopColor:"#FFFFFF",style:{stopOpacity:"var(--hsk-marble-sheen, .9)"}}),(0,fe.jsx)("stop",{offset:"100%",stopColor:"#FFFFFF",stopOpacity:"0"})]}),(0,fe.jsxs)("linearGradient",{id:`${_}-hibiscus-petal`,x1:"0",y1:"1",x2:"0",y2:"0",children:[(0,fe.jsx)("stop",{offset:"0%",stopColor:"#FF3366"}),(0,fe.jsx)("stop",{offset:"65%",stopColor:"#FF758F"}),(0,fe.jsx)("stop",{offset:"100%",stopColor:"#FFAAA6"})]}),(0,fe.jsxs)("radialGradient",{id:`${_}-blush-cheek`,cx:"50%",cy:"50%",r:"50%",children:[(0,fe.jsx)("stop",{offset:"0%",stopColor:"#FB7185",stopOpacity:"0.48"}),(0,fe.jsx)("stop",{offset:"100%",stopColor:"#FB7185",stopOpacity:"0"})]}),(0,fe.jsx)("clipPath",{id:`${_}-skin`,children:(0,fe.jsx)("use",{href:`#${_}-body`})}),(0,fe.jsxs)("filter",{id:`${_}-goo`,x:"-50%",y:"-50%",width:"200%",height:"200%",children:[(0,fe.jsx)("feGaussianBlur",{in:"SourceGraphic",stdDeviation:"4",result:"b"}),(0,fe.jsx)("feColorMatrix",{in:"b",values:"1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 18 -7"})]}),(0,fe.jsxs)("mask",{id:`${_}-cut`,children:[(0,fe.jsx)("path",{ref:f,d:"",fill:"#FFFFFF"}),(0,fe.jsx)("g",{ref:oe,children:Array.from({length:ha},(g,D)=>(0,fe.jsx)("rect",{ref:Z=>{C.current[D]=Z},fill:"#000000"},D))})]})]}),(0,fe.jsxs)("g",{ref:w,mask:`url(#${_}-cut)`,children:[(0,fe.jsx)("path",{id:`${_}-body`,ref:k,d:"",fill:`url(#${_}-marble)`}),(0,fe.jsxs)("g",{clipPath:`url(#${_}-skin)`,children:[(0,fe.jsx)("ellipse",{cx:"-14",cy:"-40",rx:"46",ry:"34",fill:`url(#${_}-sheen)`}),(0,fe.jsx)("rect",{ref:J,x:"-100",y:"-20",width:"200",height:"100",fill:`url(#${_}-contact)`,opacity:"0.45"})]})]}),(0,fe.jsxs)("g",{ref:z,style:{pointerEvents:"none"},children:[p&&(0,fe.jsxs)("g",{ref:$,children:[(0,fe.jsx)("ellipse",{cx:"-28",cy:"0",rx:"10",ry:"5.5",fill:`url(#${_}-blush-cheek)`}),(0,fe.jsx)("ellipse",{cx:"28",cy:"0",rx:"10",ry:"5.5",fill:`url(#${_}-blush-cheek)`})]}),h&&(0,fe.jsxs)("g",{ref:m,children:[(0,fe.jsx)("path",{ref:S,stroke:"#3D1424",strokeWidth:"1.7",strokeLinecap:"round",fill:"none"}),(0,fe.jsx)("path",{ref:F,stroke:"#3D1424",strokeWidth:"1.7",strokeLinecap:"round",fill:"none"})]}),d&&(0,fe.jsxs)("g",{ref:L,className:"hsk-avatar-flower",children:[(0,fe.jsx)("path",{d:"M 0 0 C -12 -7 -15 5 0 0 Z",fill:"#10B981",transform:"translate(6, 4) rotate(-35)"}),[0,72,144,216,288].map(g=>(0,fe.jsx)("path",{d:"M 0 0 C -6 -13 6 -13 0 0 Z",fill:`url(#${_}-hibiscus-petal)`,stroke:"#FF2A5F",strokeWidth:"0.6",transform:`rotate(${g-18})`},g)),(0,fe.jsx)("path",{d:"M 0 0 Q 3 -10 9 -14",stroke:"#F59E0B",strokeWidth:"1.6",strokeLinecap:"round",fill:"none"}),(0,fe.jsx)("circle",{cx:"9",cy:"-14",r:"1.3",fill:"#FDE047"}),(0,fe.jsx)("circle",{cx:"7",cy:"-12",r:"1.1",fill:"#FDE047"}),(0,fe.jsx)("circle",{cx:"6.5",cy:"-15",r:"1.1",fill:"#FDE047"}),(0,fe.jsx)("circle",{cx:"0",cy:"0",r:"2.2",fill:"#881337"})]})]})]})}var Yn=require("react");var dt=require("react/jsx-runtime");function Ja({className:e="",compact:t=!1}){let[r,a]=(0,Yn.useState)(()=>La()),[n,o]=(0,Yn.useState)(""),c=()=>{let i=!r;Po(i),a(i),zt(i?"scout":"interrupt","preview",!0),o(Ao())};return(0,dt.jsxs)("button",{type:"button",className:ee("hsk-cb-sound-pill",t&&"is-compact",r&&"is-on",n&&n!=="running"&&n!=="off"&&"is-blocked",e),onClick:c,role:"switch","aria-checked":r,"aria-label":r?"Mute notification sounds":"Unmute notification sounds",title:n&&n!=="running"&&n!=="off"?`Sounds blocked (${n})`:r?"Sounds on":"Sounds off",children:[(0,dt.jsxs)("svg",{width:"13",height:"13",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:[(0,dt.jsx)("path",{d:"M11 5 6 9H3v6h3l5 4V5Z"}),r?(0,dt.jsxs)(dt.Fragment,{children:[(0,dt.jsx)("path",{d:"M15.5 8.5a5 5 0 0 1 0 7"}),(0,dt.jsx)("path",{d:"M18.5 5.5a9 9 0 0 1 0 13"})]}):(0,dt.jsxs)(dt.Fragment,{children:[(0,dt.jsx)("line",{x1:"16",y1:"9",x2:"21",y2:"15"}),(0,dt.jsx)("line",{x1:"21",y1:"9",x2:"16",y2:"15"})]})]}),!t&&(0,dt.jsx)("span",{children:r?"Sounds":"Muted"})]})}var _e=require("react/jsx-runtime");function Zi({title:e,logo:t,hasMessages:r,avatarState:a="idle",unread:n=!1,awayFromBottom:o=!1,themeMenuOpen:c=!1,themeMenuClosing:i=!1,isNarrow:s=!1,currentTheme:l="dark",onJumpToLatest:u,onReset:d,onClose:h,onToggleThemeMenu:p,onSelectTheme:k,themeAttr:f,onScoutNew:w,onScoutAsk:z}){let L=rr(),[$,m]=xt.default.useState(!1),[S,F]=xt.default.useState("#134e3d"),[v,J]=xt.default.useState("rgba(19, 78, 61, 0.45)"),W=xt.default.useRef(void 0),G=xt.default.useRef(null),E=xt.default.useRef(!1),j=xt.default.useRef(0),C=xt.default.useCallback(()=>{E.current=!1,j.current=Date.now(),G.current=setTimeout(()=>{if(E.current=!0,typeof navigator<"u"&&navigator.vibrate)try{navigator.vibrate(25)}catch{}p?.()},350)},[p]),oe=xt.default.useCallback(()=>{G.current&&(clearTimeout(G.current),G.current=null)},[]),_=xt.default.useCallback(()=>{G.current&&(clearTimeout(G.current),G.current=null)},[]),Q=xt.default.useCallback(D=>{if(E.current){E.current=!1,D.preventDefault(),D.stopPropagation();return}o?u?.():s?p?.():W.current?.()},[o,s,u,p]),g=xt.default.useCallback((D,Z,O)=>{D>.04?(m(!0),F(Z),J(O)):m(!1)},[]);return(0,_e.jsxs)("div",{className:"hsk-cb-topbar",children:[(0,_e.jsx)("div",{className:"hsk-cb-topbar-left",style:{minWidth:"34px"},children:s&&(0,_e.jsx)("button",{type:"button",className:"hsk-cb-back",onClick:h,"aria-label":L("back"),children:(0,_e.jsx)("span",{className:"hsk-cb-back-icon",children:(0,_e.jsx)(_a,{})})})}),(0,_e.jsxs)("div",{className:ee("hsk-cb-topbar-mark",s&&c&&"is-oozing"),"data-impacting":$?"true":"false",style:{"--hsk-contact-color":S,"--hsk-contact-glow":v},"data-unread":n?"true":"false",onTouchStart:C,onTouchEnd:oe,onTouchMove:_,onTouchCancel:_,onClick:Q,role:"button",tabIndex:0,"aria-label":o?L("jumpToLatest"):`${e} (tap for scouts and themes)`,children:[(0,_e.jsx)(Ji,{state:a,size:34,theme:l,alert:n,onImpact:g,triggerRef:W}),t?(0,_e.jsx)("img",{className:"hsk-cb-topbar-logo",src:t,alt:e}):(0,_e.jsx)("span",{className:"hsk-cb-topbar-name",children:e})]}),(0,_e.jsxs)("div",{className:"hsk-cb-topbar-actions",style:{display:"flex",alignItems:"center",gap:"6px"},children:[r&&(0,_e.jsx)("button",{className:"hsk-cb-topbar-btn",onClick:d,children:L("clearChat")}),!s&&(0,_e.jsx)("button",{type:"button",className:"hsk-cb-squircle-btn hsk-cb-exit-btn",onClick:h,title:"Close","aria-label":"Close Chat",children:(0,_e.jsx)(Lr,{})})]}),s&&c&&(0,_e.jsxs)("div",{className:ee("hsk-cb-topbar-ooze-menu",i&&"is-closing"),role:"dialog","aria-label":"Scouts and theme selector",style:{position:"absolute",top:"100%",marginTop:"8px",left:"50%",transform:"translateX(-50%)",zIndex:1e3},onPointerDown:D=>D.stopPropagation(),onClick:D=>D.stopPropagation(),onMouseDown:D=>D.stopPropagation(),children:[(0,_e.jsx)(fr,{className:"hsk-cb-scout-tray",compact:!0,themeAttr:f,onNew:w,onAsk:z}),(0,_e.jsxs)("div",{className:"hsk-cb-theme-block",children:[(0,_e.jsxs)("div",{className:"hsk-cb-tray-aside",children:[(0,_e.jsx)(Ja,{compact:!0}),(0,_e.jsx)("span",{className:"hsk-cb-tray-rule","aria-hidden":"true"}),(0,_e.jsx)("span",{className:"hsk-cb-theme-vlabel","aria-hidden":"true",children:"Themes"})]}),(0,_e.jsx)("div",{className:"hsk-cb-theme-2x2-grid",children:kr.map(({id:D,label:Z,Icon:O})=>(0,_e.jsxs)("button",{type:"button",className:ee("hsk-cb-theme-grid-item",l===D&&"is-active"),onClick:B=>{B.stopPropagation(),k?.(D)},children:[(0,_e.jsx)(O,{}),(0,_e.jsx)("span",{children:Z})]},D))})]})]})]})}var yr=Ft(require("react"));var ts=require("react");var Za=Ft(require("react")),nr=require("react/jsx-runtime"),Ul=12;function Gn(e){return e==null||typeof e=="boolean"?"":typeof e=="string"||typeof e=="number"?String(e):Array.isArray(e)?e.map(Gn).join(""):Za.default.isValidElement(e)?Gn(e.props.children):""}function es(e){if(/^\s+$/.test(e))return[e];if(/\s/.test(e)){let t=e.split(/(\s+)/).filter(Boolean),r=[];for(let a of t)/^\s+$/.test(a)?r.push(a):r.push(...es(a));return r}if(e.length>3&&typeof Intl<"u"&&Intl.Segmenter)try{let t=new Intl.Segmenter(void 0,{granularity:"word"}),r=Array.from(t.segment(e)).map(a=>a.segment);if(r.length>1)return r}catch{}return[e]}function Qn(e,t,r,a){if(e==null||typeof e=="boolean")return null;if(typeof e=="string"||typeof e=="number")return es(String(e)).map((n,o)=>{if(/^\s+$/.test(n))return n;let c=r+t.i*Ul;return t.i+=1,(0,nr.jsx)("span",{className:"hsk-cascade__w",style:{animationDelay:`${c}ms`},children:n},`${a}-w${o}`)});if(Array.isArray(e))return e.map((n,o)=>Qn(n,t,r,`${a}-${o}`));if(Za.default.isValidElement(e)){let n=e;return Za.default.cloneElement(n,{key:`${a}-el`},Qn(n.props.children,t,r,`${a}-c`))}return e}function at({children:e,baseMs:t=0}){let r=Gn(e),a=0;for(let o=0;o<r.length;o++)a=(a<<5)-a+r.charCodeAt(o)|0;let n=`c${Math.abs(a)}`;return(0,nr.jsxs)(nr.Fragment,{children:[(0,nr.jsx)("span",{className:"hsk-sr-only",children:r}),(0,nr.jsx)("span",{"aria-hidden":"true",children:Qn(e,{i:0},t,n)})]})}var it=require("react/jsx-runtime");function rs({language:e,onBack:t}){let r=ea(e);return(0,it.jsxs)("div",{className:"hsk-cb-chrome-loading",dir:r.rtl?"rtl":"ltr","aria-busy":"true",children:[(0,it.jsx)("div",{className:"hsk-cb-chrome-loading-header",children:(0,it.jsx)("h2",{className:"hsk-cb-hello hsk-cascade",children:(0,it.jsx)(at,{baseMs:60,children:r.preparing})})}),(0,it.jsx)("div",{className:"hsk-cb-chrome-progress",role:"progressbar","aria-label":r.preparing,children:(0,it.jsx)("div",{className:"hsk-cb-chrome-progress-track"})}),t&&(0,it.jsxs)("button",{type:"button",className:"hsk-cb-chrome-back-btn",onClick:t,children:[(0,it.jsx)("span",{"aria-hidden":"true",children:r.rtl?"\u2192":"\u2190"})," ",r.changeLang]}),!r.known&&(0,it.jsxs)("div",{className:"hsk-cb-chrome-notice",dir:"ltr",lang:"en",children:[(0,it.jsxs)("div",{className:"hsk-cb-chrome-notice-header",children:[(0,it.jsx)("span",{className:"hsk-cb-chrome-notice-pill",children:"Preview / Low-Resource"}),(0,it.jsx)("span",{className:"hsk-cb-chrome-notice-title",children:"Live Machine Translation"})]}),(0,it.jsxs)("span",{className:"hsk-cb-chrome-notice-body",children:[(0,it.jsx)("b",{children:r.nativeName})," is translated in real time as you browse. Some phrasing may read differently than human-reviewed copy, but names, prices, and figures are always strictly preserved."]})]})]})}var vr=require("react/jsx-runtime");function Xn({lines:e=3,className:t=""}){return(0,vr.jsxs)("div",{className:`hsk-cb-ink-skeleton ${t}`,"aria-hidden":"true",role:"status",children:[(0,vr.jsx)("div",{className:"hsk-cb-ink-line hsk-cb-ink-line--title"}),e>=2&&(0,vr.jsx)("div",{className:"hsk-cb-ink-line hsk-cb-ink-line--lead1"}),e>=2&&(0,vr.jsx)("div",{className:"hsk-cb-ink-line hsk-cb-ink-line--lead2"}),e>=3&&(0,vr.jsx)("div",{className:"hsk-cb-ink-line hsk-cb-ink-line--ask"})]})}var Jn=require("react/jsx-runtime"),en=16,jl=110,Wl=/[-ۿ܀-ݏ߀-߿ࡠ-ࣿﭐ-﷿ﹰ-]/;function _r(e){if(!e)return[];if(Wl.test(e))return e.split(/(\s+)/).filter(Boolean);let t=typeof Intl<"u"?Intl:void 0;if(t?.Segmenter){let r=new t.Segmenter(void 0,{granularity:"grapheme"});return Array.from(r.segment(e),a=>a.segment)}return e.split(/(\s+)/).filter(Boolean)}function as({text:e,placeholder:t,visible:r=!0,replay:a=0,replaySeed:n,staggerMs:o=en}){if(!r)return null;let c=e||t||"";if(!c)return null;let i=n!==void 0?n:a,s=_r(c),l=Math.max(s.length-1,1),u=c.length>44?"3":c.length>26?"2":"1";return(0,Jn.jsx)("div",{className:"hsk-animated-placeholder","data-fit":u,dir:"auto","aria-hidden":"true",children:s.map((d,h)=>(0,Jn.jsx)("span",{className:"hsk-animated-placeholder__char",style:{animationDelay:`${jl+h*o}ms`,"--hsk-ph-hue":`${Math.round(h/l*300)}`},children:d},`${c}|${i}|${h}`))})}var V=require("react/jsx-runtime");function Zn(e){return typeof e=="string"?_r(e).length:Array.isArray(e)?e.reduce((t,r)=>t+Zn(r),0):yr.default.isValidElement(e)?Zn(e.props?.children):0}function eo(e,t,r,a){return typeof e=="string"?_r(e).map(n=>{let o=t.i++;return(0,V.jsx)("span",{className:"hsk-cb-shimmer-char",style:{"--hsk-char-idx":a+o,"--hsk-ph-hue":`${Math.round(o/r*300)}`},children:n},o)}):Array.isArray(e)?e.map((n,o)=>(0,V.jsx)(yr.default.Fragment,{children:eo(n,t,r,a)},o)):yr.default.isValidElement(e)?yr.default.cloneElement(e,{children:eo(e.props?.children,t,r,a)}):e}function ns({text:e,baseIdx:t=0}){let r=Math.max(Zn(e)-1,1);return(0,V.jsx)(V.Fragment,{children:eo(e,{i:0},r,t)})}function os({inOnboarding:e,justCompleted:t,onboardingMood:r,awaitingLang:a,awaitingName:n,awaitingEntityLang:o,awaitingConsent:c,termsAgreed:i,shopperLanguage:s,shopperName:l,entityLangPref:u,chromeReady:d,activeChips:h,t:p,tNode:k,chooseLanguage:f,chooseEntityLang:w,agreeTerms:z,handleSend:L}){let $=a?"1":n?"2":o?"3":c?"4":null,m=Jr(s)||s,[S,F]=yr.default.useState(30);return yr.default.useEffect(()=>{if(!c){F(30);return}let v=setInterval(()=>{F(J=>J<=1?(clearInterval(v),0):J-1)},1e3);return()=>clearInterval(v)},[c]),(0,V.jsx)("div",{className:"hsk-cb-empty",children:(0,V.jsxs)("div",{className:"hsk-cb-onboarding-card",children:[$&&(0,V.jsx)("div",{className:"hsk-cb-onboarding-head",children:(0,V.jsxs)("span",{className:"hsk-cb-step-badge",dir:"ltr",children:[$," / 4"]})}),a?(0,V.jsxs)("div",{className:"hsk-cb-hello-wrap",children:[d?(0,V.jsx)("h2",{className:"hsk-cb-hello hsk-cascade",children:(0,V.jsx)(at,{baseMs:0,children:"What language should we chat in?"})}):(0,V.jsx)(Xn,{lines:1}),(0,V.jsxs)("div",{className:"hsk-cb-lang-chips",children:[$a.map((v,J)=>(0,V.jsx)("button",{type:"button",className:"hsk-cb-lang-chip",style:{"--hsk-pill-idx":J},lang:v.tag,dir:v.rtl?"rtl":"ltr",onClick:()=>f(v.value),children:v.native},v.value)),(0,V.jsx)("span",{className:"hsk-cb-lang-chips-hint",style:{"--hsk-pill-idx":$a.length},children:"or type any other"})]})]},"step-lang"):n?(0,V.jsx)("div",{className:"hsk-cb-hello-wrap",children:d?(0,V.jsxs)(V.Fragment,{children:[(0,V.jsx)("h2",{className:"hsk-cb-hello hsk-cascade",children:(0,V.jsx)(at,{baseMs:0,children:p("nameStepTitle")})}),(0,V.jsx)("p",{className:"hsk-cb-hello-lead hsk-cascade",children:(0,V.jsx)(at,{baseMs:30,children:p("nameStepLead")})}),(0,V.jsx)("p",{className:"hsk-cb-hello-ask hsk-cascade",children:(0,V.jsx)(at,{baseMs:60,children:p("nameStepAsk")})})]}):(0,V.jsx)(rs,{language:s,onBack:()=>f("")})},"step-name"):o?(0,V.jsxs)("div",{className:"hsk-cb-hello-wrap",children:[d?(0,V.jsxs)(V.Fragment,{children:[(0,V.jsx)("h2",{className:"hsk-cb-hello hsk-cascade",children:(0,V.jsx)(at,{baseMs:0,children:p("howShouldResultsLook")})}),(0,V.jsx)("p",{className:"hsk-cb-hello-lead hsk-cascade",children:(0,V.jsx)(at,{baseMs:30,children:k("entityLangIntro",{lang:m})})})]}):(0,V.jsx)(Xn,{lines:2}),d&&(0,V.jsx)("div",{className:"hsk-cb-entlang-opts",role:"radiogroup","aria-label":p("howShouldResultsLook"),children:["translated","original"].map((v,J)=>(0,V.jsxs)("button",{type:"button",role:"radio","aria-checked":u===v,className:ee("hsk-cb-entlang-opt",u===v&&"is-selected"),style:{"--hsk-opt-idx":J},onClick:()=>w(v),children:[(0,V.jsx)("span",{className:"hsk-cb-entlang-radio","aria-hidden":"true",children:(0,V.jsx)("span",{className:"hsk-cb-entlang-radio-dot"})}),(0,V.jsxs)("span",{className:"hsk-cb-entlang-opt-text",children:[(0,V.jsx)("span",{className:"hsk-cb-entlang-opt-title",children:(0,V.jsx)(ns,{text:v==="translated"?k("inLanguage",{lang:m}):p("asWritten"),baseIdx:0})}),(0,V.jsx)("span",{className:"hsk-cb-entlang-opt-note",children:(0,V.jsx)(ns,{text:p(v==="translated"?"detailsTranslated":"namesAsWritten"),baseIdx:15})})]})]},v))})]},"step-entity-lang"):c?(0,V.jsx)("div",{className:"hsk-cb-hello-wrap",children:d&&(0,V.jsxs)(V.Fragment,{children:[(0,V.jsx)("h2",{className:"hsk-cb-hello hsk-cascade",children:(0,V.jsx)(at,{baseMs:0,children:p("termsStepTitle")})}),(0,V.jsx)("p",{className:"hsk-cb-hello-lead hsk-cascade",children:(0,V.jsx)(at,{baseMs:30,children:p("termsStepSubtitle")})}),(0,V.jsxs)("div",{className:"hsk-cb-terms-sanctuary",children:[(0,V.jsxs)("div",{className:"hsk-cb-terms-item",style:{"--hsk-row-idx":0},children:[(0,V.jsxs)("div",{className:"hsk-cb-terms-head",children:[(0,V.jsx)("span",{className:"hsk-cb-terms-numeral",children:"I"}),(0,V.jsx)("h3",{className:"hsk-cb-terms-title",children:p("termsPiiTitle")})]}),(0,V.jsx)("p",{className:"hsk-cb-terms-desc",children:p("termsPiiDesc")})]}),(0,V.jsx)("div",{className:"hsk-cb-terms-divider"}),(0,V.jsxs)("div",{className:"hsk-cb-terms-item",style:{"--hsk-row-idx":1},children:[(0,V.jsxs)("div",{className:"hsk-cb-terms-head",children:[(0,V.jsx)("span",{className:"hsk-cb-terms-numeral",children:"II"}),(0,V.jsx)("h3",{className:"hsk-cb-terms-title",children:p("termsSessionTitle")})]}),(0,V.jsx)("p",{className:"hsk-cb-terms-desc",children:p("termsSessionDesc")})]}),(0,V.jsx)("div",{className:"hsk-cb-terms-divider"}),(0,V.jsxs)("div",{className:"hsk-cb-terms-item",style:{"--hsk-row-idx":2},children:[(0,V.jsxs)("div",{className:"hsk-cb-terms-head",children:[(0,V.jsx)("span",{className:"hsk-cb-terms-numeral",children:"III"}),(0,V.jsx)("h3",{className:"hsk-cb-terms-title",children:p("termsMemoryTitle")})]}),(0,V.jsx)("p",{className:"hsk-cb-terms-desc",children:p("termsMemoryDesc")})]}),(0,V.jsx)("div",{className:"hsk-cb-terms-divider"}),(0,V.jsxs)("div",{className:"hsk-cb-terms-item",style:{"--hsk-row-idx":3},children:[(0,V.jsxs)("div",{className:"hsk-cb-terms-head",children:[(0,V.jsx)("span",{className:"hsk-cb-terms-numeral",children:"IV"}),(0,V.jsx)("h3",{className:"hsk-cb-terms-title",children:p("termsCookieTitle")})]}),(0,V.jsx)("p",{className:"hsk-cb-terms-desc",children:p("termsCookieDesc")})]})]}),(0,V.jsx)("div",{className:"hsk-cb-terms-action-wrap",children:(0,V.jsx)("button",{type:"button",className:ee("hsk-cb-terms-agree-btn",S===0&&"is-active"),disabled:S>0,onClick:z,children:S>0?p("termsAgreeCounting",{seconds:String(S)}):p("termsAgreeButton")})})]})},"step-terms"):t?(0,V.jsx)("div",{className:"hsk-cb-hello-wrap",children:d&&(0,V.jsxs)(V.Fragment,{children:[(0,V.jsx)("h2",{className:"hsk-cb-hello hsk-cascade",children:(0,V.jsx)(at,{baseMs:0,children:k("allSet",{name:l})})}),(0,V.jsx)("p",{className:"hsk-cb-hello-lead hsk-cascade",children:(0,V.jsx)(at,{baseMs:30,children:u==="translated"?k("replyingTranslated",{lang:m}):k("replyingOriginal",{lang:m})})})]})},"step-completed"):l?(0,V.jsxs)("div",{className:"hsk-cb-hello-wrap",children:[(0,V.jsx)("h2",{className:"hsk-cb-hello hsk-cascade",children:(0,V.jsx)(at,{baseMs:0,children:k("greetReturning",{name:l})})}),(0,V.jsx)("p",{className:"hsk-cb-hello-lead hsk-cascade",children:(0,V.jsx)(at,{baseMs:30,children:p("greetReturningLead")})})]},"step-returning"):(0,V.jsxs)("div",{className:"hsk-cb-hello-wrap",children:[(0,V.jsx)("h2",{className:"hsk-cb-hello hsk-cascade",children:(0,V.jsxs)(at,{baseMs:0,children:["Hi, I'm ",(0,V.jsx)("b",{children:"kiku"}),"."]})}),(0,V.jsx)("p",{className:"hsk-cb-hello-lead hsk-cascade",children:(0,V.jsx)(at,{baseMs:30,children:"Ask me to search, visualize, or capture anything \u2014 I look across the whole site in real time."})})]},"step-initial"),!e&&(h?.length??0)>0&&(0,V.jsx)("div",{className:"hsk-cb-chips",children:h.map((v,J)=>(0,V.jsx)("button",{className:"hsk-cb-chip",style:{"--hsk-pill-idx":J},onClick:()=>L(v),children:v},v))})]})})}var ft=Ft(require("react"));var xr=Ft(require("react")),Ae=require("react/jsx-runtime"),Vl=/[ \t]{2,}/g,Ol=/ ([.,!?:;])/g,Kl=/\(([ \t]+)/g,Yl=/([ \t]+)\)/g,Gl=/(\d+)\s+(MP|mAh|W|GB|MB|KHz|Hz|KSh|KES|USD|EUR)\b/gi,Ql=/(!\[[^\]]*\]\([^)]+\)|\[[^\]]+\]\([^)]+\)|\*\*[^*]+\*\*|`[^`]+`)/g,Xl=/^!\[([^\]]*)\]\(([^)]+)\)$/,Jl=/^\[([^\]]+)\]\(([^)]+)\)$/,Zl=/^(https?|data:image|blob):/i,ep=/^(https?|mailto|tel):/i,tp=/memory|mimi/i,rp=/mimi\.akropolys/i,ap=e=>e&&e.replace(Vl," ").replace(Ol,"$1").replace(Kl,"(").replace(Yl,")").replace(Gl,"$1 $2"),Ot=(e,t)=>ap(e).split(Ql).map((n,o)=>{if(!n)return null;let c=`${t}-inline-${o}`;if(n.startsWith("`")&&n.endsWith("`"))return(0,Ae.jsx)("code",{className:"hsk-markdown-code",children:n.slice(1,-1)},c);if(n.startsWith("**")&&n.endsWith("**"))return(0,Ae.jsx)("strong",{children:Ot(n.slice(2,-2),c)},c);let i=n.match(Xl);if(i){let l=i[1],u=i[2];return Zl.test(u)||u.startsWith("/")?(0,Ae.jsx)("img",{src:u,alt:l||"Product image",className:"hsk-markdown-img",loading:"lazy",onError:h=>{h.target.style.display="none"}},c):null}let s=n.match(Jl);if(s){let l=s[1],u=s[2];return tp.test(l)||rp.test(u)?null:ep.test(u)||u.startsWith("/")?(0,Ae.jsx)("a",{href:u,target:"_blank",rel:"noopener noreferrer",className:"hsk-markdown-link",children:Ot(l,c)},c):(0,Ae.jsx)("span",{children:Ot(l,c)},c)}return n}),np=/^\s*\|?[\s:|-]*-[\s:|-]*\|?\s*$/;function is(e,t){let r=e.trim();return t?r.includes("|"):r.startsWith("|")}function ss(e){let t=e.trim();return t.startsWith("|")&&(t=t.slice(1)),t.endsWith("|")&&(t=t.slice(0,-1)),t.split("|").map(r=>r.trim())}function op({children:e}){let t=xr.default.useRef(null),[r,a]=xr.default.useState("none"),[n,o]=xr.default.useState(!1),c=xr.default.useRef({startX:0,scrollLeft:0,isDown:!1,hasMoved:!1}),i=xr.default.useCallback(()=>{let d=t.current;if(!d)return;if(!(d.scrollWidth>d.clientWidth+2)){a("none");return}let p=getComputedStyle(d).direction==="rtl",k=Math.abs(d.scrollLeft),f=k<=4,w=k+d.clientWidth>=d.scrollWidth-4;a(f?p?"right":"left":w?p?"left":"right":"middle")},[]);xr.default.useEffect(()=>{i();let d=t.current;if(!d)return;let h=typeof ResizeObserver<"u"?new ResizeObserver(i):null;return h?.observe(d),()=>h?.disconnect()},[i]);let s=d=>{let h=t.current;!h||h.scrollWidth<=h.clientWidth||d.target.closest("a, button, input")||(c.current={startX:d.pageX-h.offsetLeft,scrollLeft:h.scrollLeft,isDown:!0,hasMoved:!1},o(!0))},l=d=>{if(!c.current.isDown)return;let h=t.current;if(!h)return;let k=(d.pageX-h.offsetLeft-c.current.startX)*1.5;Math.abs(k)>3&&(c.current.hasMoved=!0,d.preventDefault(),h.scrollLeft=c.current.scrollLeft-k)},u=()=>{c.current.isDown=!1,o(!1)};return(0,Ae.jsx)("div",{ref:t,className:`hsk-table-wrapper hsk-table-wrapper--${r}${n?" is-dragging":""}`,onScroll:i,onMouseDown:s,onMouseMove:l,onMouseUp:u,onMouseLeave:u,children:e})}function ua(e,t=!1){return ip(e,t)}function ip(e,t){let r=e.split(`
|
|
36
|
-
`);if(t
|
|
37
|
-
`)&&r[r.length-1].trim().startsWith("|")&&r.pop();let s=r.length-1;for(;s>=0&&r[s].trim().startsWith("|");)s--;s++,s<r.length&&!r.slice(s).some(l=>np.test(l))&&(r.length=s)}let a=[],n=[],o=0,c=()=>{n.length>0&&(a.push((0,Ae.jsx)("div",{className:"hsk-cb-ai-text",children:n},`text-bubble-${o++}`)),n=[])},i=0;for(;i<r.length;){let s=r[i],l=`md-line-${i}`;if(!s.trim()){i++;continue}let u=s.trim().match(/^!\[([^\]]*)\]\(([^)]+)\)$/);if(u){c();let h=u[1],p=u[2];(/^(https?|data:image|blob):/i.test(p)||p.startsWith("/"))&&a.push((0,Ae.jsx)("div",{className:"hsk-markdown-img-block",children:(0,Ae.jsx)("img",{src:p,alt:h||"Product image",className:"hsk-markdown-img",loading:"lazy",onError:f=>{f.target.style.display="none"}})},l)),i++;continue}let d=s.match(/^(#{1,3})\s+(.*)/);if(d){let h=d[1].length,p=`h${h+3}`;n.push((0,Ae.jsx)(p,{className:`hsk-markdown-h${h}`,children:Ot(d[2],l)},l)),i++;continue}if(s.match(/^[\s]*[-*+•]\s+/)){let h=[];for(;i<r.length&&r[i].match(/^[\s]*[-*+•]\s+/);){let p=r[i].replace(/^[\s]*[-*+•]\s+/,"");h.push((0,Ae.jsx)("li",{children:Ot(p,`li-${i}`)},`li-${i}`)),i++}n.push((0,Ae.jsx)("ul",{className:"hsk-markdown-list hsk-markdown-ul",children:h},`ul-${l}`));continue}if(s.match(/^[\s]*\d+[\.\)]\s+/)){let h=[];for(;i<r.length&&r[i].match(/^[\s]*\d+[\.\)]\s+/);){let p=r[i].replace(/^[\s]*\d+[\.\)]\s+/,"");h.push((0,Ae.jsx)("li",{children:Ot(p,`li-${i}`)},`li-${i}`)),i++}n.push((0,Ae.jsx)("ol",{className:"hsk-markdown-list hsk-markdown-ol",children:h},`ol-${l}`));continue}if(is(s,!1)){c();let h=[],p=[],k=[],f=!0;for(;i<r.length&&is(r[i],!0);){let m=r[i].trim();if(m.match(/^\|?[-:| ]+\|?$/)&&m.includes("-")){k=ss(m).map(v=>{let J=v.trim(),W=J.startsWith(":"),G=J.endsWith(":");return W&&G?"center":G?"end":"start"}),i++,f=!1;continue}let S=ss(m);f&&h.length===0?h=S:p.push(S),i++}let w=Math.max(h.length,...p.map(m=>m.length)),z=[];for(let m=0;m<w;m++)if(k[m])z[m]=k[m];else if(m===0)z[m]="start";else{let S=p.filter(F=>{let v=(F[m]||"").trim();return/^[\$€£¥+-]?\d+([.,]\d+)?%?$/.test(v)||/^[\$€£¥+-]?\d+([.,]\d+)?\s*(bps|M|K|B)?$/i.test(v)}).length;z[m]=S>=Math.ceil(p.length/2)?"end":"start"}let L=h.length>0?(0,Ae.jsx)("tr",{children:h.map((m,S)=>(0,Ae.jsx)("th",{style:{textAlign:z[S]||"start"},children:(0,Ae.jsx)("bdi",{children:Ot(m,`th-${l}-${S}`)})},`th-${l}-${S}`))},`tr-head-${l}`):null,$=p.map((m,S)=>(0,Ae.jsx)("tr",{children:m.map((F,v)=>(0,Ae.jsx)("td",{style:{textAlign:z[v]||"start"},children:(0,Ae.jsx)("bdi",{children:Ot(F,`td-${l}-${S}-${v}`)})},`td-${l}-${S}-${v}`))},`tr-body-${l}-${S}`));a.push((0,Ae.jsx)(op,{children:(0,Ae.jsxs)("table",{className:"hsk-markdown-table",children:[L&&(0,Ae.jsx)("thead",{children:L}),(0,Ae.jsx)("tbody",{children:$})]})},`table-wrapper-${l}`));continue}n.push((0,Ae.jsx)("p",{className:"hsk-markdown-p",children:Ot(s,l)},l)),i++}return c(),(0,Ae.jsx)(Ae.Fragment,{children:a})}var ma=require("react"),Le=require("@akropolys/sdk"),nt=require("react/jsx-runtime");function sp(e){let[,t]=(0,ma.useState)(0),r=JSON.stringify(e);return(0,ma.useEffect)(()=>(0,Le.subscribeLiveValues)(a=>{e.includes(a)&&t(n=>n+1)}),[r]),(0,ma.useEffect)(()=>{let a=setInterval(()=>t(n=>n+1),1e3);return()=>clearInterval(a)},[]),e.map(Le.getLiveValue)}function cp({record:e,now:t}){let r=(0,Le.isStale)(e,t),a=e.fields,n=a.event||a.question||a.title||e.key,o=n.length>38?n.slice(0,36)+"\u2026":n,c=!!a.yes_price||!!a.yesPrice,i=!!a.no_price||!!a.noPrice,s=[];c?s.push({label:"Yes",value:(0,Le.formatLiveValue)("yes_price",a.yes_price||a.yesPrice),rawKey:"yes_price"}):(a.yes_pct||a.yesPct)&&s.push({label:"Yes",value:(0,Le.formatLiveValue)("yes_pct",a.yes_pct||a.yesPct),rawKey:"yes_pct"}),i?s.push({label:"No",value:(0,Le.formatLiveValue)("no_price",a.no_price||a.noPrice),rawKey:"no_price"}):(a.no_pct||a.noPct)&&s.push({label:"No",value:(0,Le.formatLiveValue)("no_pct",a.no_pct||a.noPct),rawKey:"no_pct"}),a.bid&&s.push({label:"Bid",value:(0,Le.formatLiveValue)("bid",a.bid),rawKey:"bid"}),a.ask&&s.push({label:"Ask",value:(0,Le.formatLiveValue)("ask",a.ask),rawKey:"ask"}),a.spread&&s.push({label:"Spread",value:(0,Le.formatLiveValue)("spread",a.spread),rawKey:"spread"}),!c&&!i&&!a.bid&&a.price&&s.push({label:"Price",value:(0,Le.formatLiveValue)("price",a.price),rawKey:"price"}),(a.home_spread||a.spread_line)&&s.push({label:"Spread",value:(0,Le.formatLiveValue)("spread",a.home_spread||a.spread_line),rawKey:"spread"}),(a.moneyline||a.ml)&&s.push({label:"ML",value:(0,Le.formatLiveValue)("ml",a.moneyline||a.ml),rawKey:"moneyline"}),(a.over_under||a.total)&&s.push({label:"O/U",value:(0,Le.formatLiveValue)("total",a.over_under||a.total),rawKey:"over_under"}),(a["1_home"]||a.home_odd||a[1])&&s.push({label:"1",value:(0,Le.formatLiveValue)("odds",a["1_home"]||a.home_odd||a[1]),rawKey:"1_home"}),(a.X_draw||a.neutral_odd||a.draw_odd||a.X)&&s.push({label:"X",value:(0,Le.formatLiveValue)("odds",a.X_draw||a.neutral_odd||a.draw_odd||a.X),rawKey:"X_draw"}),(a["2_away"]||a.away_odd||a[2])&&s.push({label:"2",value:(0,Le.formatLiveValue)("odds",a["2_away"]||a.away_odd||a[2]),rawKey:"2_away"});let l=a.volume||a.vol||a["24h_volume"]||a.turnover;l&&s.push({label:"Vol",value:(0,Le.formatLiveValue)("volume",l),rawKey:"volume"});let u=a.close_date||a.expiry||a.expires_at||a.settle_date,d=u?(0,Le.formatLiveValue)("close_date",u):null;return(0,nt.jsxs)("div",{className:`hsk-live-card${r?" is-stale":""}`,role:"region","aria-label":"Live quote",children:[(0,nt.jsxs)("div",{className:"hsk-live-card__top",children:[(0,nt.jsxs)("div",{className:"hsk-live-card__badge",children:[(0,nt.jsx)("span",{className:`hsk-live-dot${r?" is-stale":""}`,"aria-hidden":"true"}),(0,nt.jsx)("span",{className:"hsk-live-card__age",children:r?`Paused \xB7 ${(0,Le.describeAge)(t-e.at)}`:`Live \xB7 ${(0,Le.describeAge)(t-e.at)}`})]}),d&&(0,nt.jsxs)("span",{className:"hsk-live-card__close",children:["Closes ",d]})]}),(0,nt.jsx)("div",{className:"hsk-live-card__body",children:(0,nt.jsx)("span",{className:"hsk-live-card__title",title:n,children:o})}),(0,nt.jsx)("div",{className:"hsk-live-card__pills",children:s.map(h=>{let p=(0,Le.isFresh)(e,h.rawKey,t);return(0,nt.jsxs)("div",{className:`hsk-live-pill${p?" is-changed":""}`,style:p?{animationDuration:`${Le.LIVE_FLASH_MS}ms`}:void 0,children:[(0,nt.jsx)("span",{className:"hsk-live-pill__label",children:h.label}),(0,nt.jsx)("span",{className:"hsk-live-pill__value",children:h.value})]},h.rawKey)})})]})}function cs({keys:e}){let t=new Set,r=(e??[]).filter(i=>t.has(i)?!1:(t.add(i),!0)),a=sp(r);if(r.filter((i,s)=>a[s]).length===0)return null;let o=a.filter(i=>!!i),c=Date.now();return(0,nt.jsx)("div",{className:"hsk-live-wrap",role:"group","aria-label":"Live market data",children:(0,nt.jsx)("div",{className:"hsk-live-carousel",children:o.map(i=>(0,nt.jsx)(cp,{record:i,now:c},i.key))})})}var Sr=require("react");var wr=require("react/jsx-runtime");function ls(e){let t=e.match(/<\s*thinking\s*>/i);if(!t)return{thinking:"",content:e,isComplete:!0};let r=t.index??0,a=t[0].length,n=r+a,o=e.slice(0,r),c=e.slice(n),i=c.match(/<\/\s*thinking\s*>/i);if(!i)return{thinking:c,content:o,isComplete:!1};let s=i.index??0,l=i[0].length;return{thinking:c.slice(0,s),content:o+c.slice(s+l),isComplete:!0}}function ps({text:e,isComplete:t,seconds:r}){let a=rr(),n=(0,Sr.useRef)(Date.now()),[o,c]=(0,Sr.useState)(()=>t?null:0),[i,s]=(0,Sr.useState)(!t);(0,Sr.useEffect)(()=>{if(t){o!==null&&(c(Math.max(1,Math.round((Date.now()-n.current)/1e3))),s(!1));return}s(!0);let h=setInterval(()=>{c(Math.round((Date.now()-n.current)/1e3))},1e3);return()=>clearInterval(h)},[t]);let l=r??o,u=t?l!=null?a("thoughtForSeconds",{duration:`${l}s`}):a("thoughtProcess"):`${a("thinking")}${o?` \xB7 ${o}s`:"\u2026"}`,d=!!e;return(0,wr.jsxs)("div",{className:ee("hsk-cb-think",!t&&"hsk-cb-think--live"),children:[(0,wr.jsxs)("button",{type:"button",className:ee("hsk-cb-think-head",!d&&"hsk-cb-think-head--static"),onClick:d?()=>s(h=>!h):void 0,"aria-expanded":d?i:void 0,children:[(0,wr.jsx)("span",{children:u}),d&&(0,wr.jsx)("span",{className:ee("hsk-cb-think-chevron",i&&"hsk-cb-think-chevron--open"),children:"\u25B6"})]}),d&&i&&(0,wr.jsx)("div",{className:"hsk-cb-think-body",children:e})]})}var At=require("react"),ds=require("@akropolys/sdk");var Ee=require("react/jsx-runtime");function lp({src:e,alt:t,onImageClick:r}){let[a,n]=(0,At.useState)(!1);return a?(0,Ee.jsx)("div",{style:{width:"100%",height:"100%",display:"flex",alignItems:"center",justifyContent:"center",background:"var(--hsk-chat-source-bg, rgba(0,0,0,.04))",color:"var(--hsk-chat-muted, #888)"},children:(0,Ee.jsx)(Rt,{})}):(0,Ee.jsx)("img",{src:e,alt:t??"",onError:()=>n(!0),onClick:r?o=>{o.stopPropagation(),r(e)}:void 0})}function hs({sources:e,defaultCurrency:t,onSelectSource:r,onImageClick:a,referencedIds:n=[],compact:o=!1}){let i=(0,ds.useAkropolysContext)()?.vertical==="property",s=(0,At.useRef)(null),[l,u]=(0,At.useState)(!1),[d,h]=(0,At.useState)(!1),[p,k]=(0,At.useState)(0),f=e.filter(m=>m.id&&n.includes(m.id)),w=(0,At.useCallback)(()=>{let m=s.current;if(!m||f.length===0)return;let S=Math.abs(m.scrollLeft),F=m.scrollWidth-m.clientWidth;u(S>10),h(F>4&&S<F-12);let J=Math.round(S/190);k(Math.min(Math.max(0,J),f.length-1))},[f.length]);(0,At.useEffect)(()=>{w();let m=s.current;if(!m)return;let S=new ResizeObserver(w);return S.observe(m),m.addEventListener("scroll",w,{passive:!0}),()=>{S.disconnect(),m.removeEventListener("scroll",w)}},[w,e]);let z=m=>{let S=s.current;if(!S)return;let F=getComputedStyle(S).direction==="rtl";S.scrollBy({left:190*m*(F?-1:1),behavior:"smooth"})},L=()=>z(1),$=()=>z(-1);return f.length===0?null:(0,Ee.jsxs)("div",{className:ee("hsk-cb-sources-wrap",o&&"hsk-cb-sources-wrap--compact"),children:[l&&(0,Ee.jsxs)(Ee.Fragment,{children:[(0,Ee.jsx)("div",{className:"hsk-cb-sources-fade-left"}),(0,Ee.jsx)("button",{className:"hsk-cb-sources-prev",onClick:$,"aria-label":"Previous",children:(0,Ee.jsx)(_a,{})})]}),(0,Ee.jsx)("div",{className:"hsk-cb-sources",ref:s,children:f.map((m,S)=>{let F=!!(m.id&&n.includes(m.id));return(0,Ee.jsxs)("div",{className:ee("hsk-cb-source",F&&"hsk-cb-source--referenced"),style:{animationDelay:`${S*50}ms`},onClick:()=>r?.(m),children:[m.image?(0,Ee.jsxs)("div",{className:"hsk-cb-src-imgwrap",style:{position:"relative"},children:[(0,Ee.jsx)(lp,{src:m.image,alt:m.name,onImageClick:a}),i&&(0,Ee.jsx)("div",{style:{position:"absolute",top:"6px",right:"6px",background:"rgba(14, 14, 15, 0.75)",backdropFilter:"blur(4px)",borderRadius:"50%",width:"24px",height:"24px",display:"flex",alignItems:"center",justifyContent:"center",color:"#fbbf24",boxShadow:"0 2px 4px rgba(0,0,0,0.2)"},children:(0,Ee.jsx)(Rt,{size:12})})]}):(0,Ee.jsx)("div",{className:"hsk-cb-src-imgwrap-empty",style:{position:"relative"},children:(0,Ee.jsx)(Rt,{})}),(0,Ee.jsxs)("div",{className:"hsk-cb-src-info",children:[(0,Ee.jsx)("div",{className:"hsk-cb-src-name",children:m.name}),m.price&&(0,Ee.jsxs)("div",{className:"hsk-cb-src-price",children:[m.currency||t?`${m.currency||t} `:"$",parseFloat(String(m.price).replace(/[^0-9.]/g,"")||"0").toLocaleString()]})]})]},m.id??S)})}),d&&(0,Ee.jsxs)(Ee.Fragment,{children:[(0,Ee.jsx)("div",{className:"hsk-cb-sources-fade-right"}),(0,Ee.jsx)("button",{className:"hsk-cb-sources-next",onClick:L,"aria-label":"See more",children:(0,Ee.jsx)(Yo,{})})]}),f.length>1&&(0,Ee.jsx)("div",{className:"hsk-cb-carousel-dots",children:f.map((m,S)=>(0,Ee.jsx)("div",{className:ee("hsk-cb-dot-item",S===p&&"hsk-cb-dot-item--active"),onClick:()=>{let F=s.current;if(F){let v=getComputedStyle(F).direction==="rtl";F.scrollTo({left:S*190*(v?-1:1),behavior:"smooth"})}}},S))})]})}var ka=require("react/jsx-runtime");function us({intent:e,sources:t,onSend:r,loading:a,defaultCurrency:n=""}){let o=rr();if(!e)return null;let c=[],i=t.length>0?t.reduce((d,h)=>{let p=parseFloat(String(h.price??"").replace(/[^0-9.]/g,"")),k=parseFloat(String(d.price??"").replace(/[^0-9.]/g,""));return!isNaN(p)&&(isNaN(k)||p<k)?h:d},t[0]):null,s=t[0]?.name??"",l=t.slice(0,2).map(d=>d.name),u=()=>{let d=t.map(z=>parseFloat(String(z.price??"").replace(/[^0-9.]/g,""))).filter(z=>!isNaN(z)&&z>0);if(d.length===0)return null;let h=Math.max(...d),p=Math.pow(10,Math.floor(Math.log10(h))),k=Math.ceil(h/p)*p;return`${String(t.find(z=>z.price)?.price??"").replace(/[0-9.,\s]/g,"")||n} ${k.toLocaleString()}`.trim()};if(e==="search"&&t.length>0){if(l.length>=2&&c.push({emoji:"\u2696\uFE0F",label:o("pillCompareTop2"),query:o("pillCompareTop2Query",{a:l[0],b:l[1]})}),i?.name){let h=i.name.split(" ").slice(0,3).join(" ");c.push({emoji:"\u{1F4A1}",label:o("pillMoreOn",{name:h}),query:o("pillMoreOnQuery",{name:i.name})})}let d=u();d&&c.push({emoji:"\u{1F4B0}",label:o("pillUnder",{amount:d}),query:o("pillUnderQuery",{amount:d})})}else e==="compare"&&t.length>0?(s&&c.push({emoji:"\u{1F50D}",label:o("pillSimilarOptions"),query:o("pillSimilarOptionsQuery",{name:s})}),c.push({emoji:"\u{1F4A1}",label:o("pillWhichBest"),query:o("pillWhichBestQuery")})):e==="specs"&&t.length>0?s&&c.push({emoji:"\u{1F504}",label:o("pillFindAlternatives"),query:o("pillFindAlternativesQuery",{name:s})}):e==="general"&&(c.push({emoji:"\u{1F50D}",label:o("pillShowPopular"),query:o("pillShowPopularQuery")}),c.push({emoji:"\u{1F4A1}",label:o("pillRecommend"),query:o("pillRecommendQuery")}));return c.length===0?null:(0,ka.jsx)("div",{className:"hsk-action-pills",children:c.map(d=>(0,ka.jsxs)("button",{className:"hsk-action-pill",onClick:()=>r(d.query),disabled:a,children:[(0,ka.jsx)("span",{className:"hsk-pill-emoji",children:d.emoji}),d.label]},d.query))})}var se=require("react/jsx-runtime"),ms=ft.default.memo(({content:e,streaming:t})=>(0,se.jsx)(se.Fragment,{children:ua(e,t)}),(e,t)=>e.content===t.content&&e.streaming===t.streaming);ms.displayName="MarkdownBlock";function ks({msg:e,idx:t,isLast:r,isLastUser:a,isRunEnd:n,runMid:o,runCont:c,isNarrow:i,loading:s,streaming:l,stopped:u,interrupted:d,sources:h,referencedIds:p,discussedSources:k,lastIntent:f,lastAction:w,defaultCurrency:z,vizState:L,setVizState:$,setLightboxSrc:m,setMarkupSrc:S,handleSend:F,handleSourceClick:v,onRetry:J,onEdit:W,onLongPress:G,hasError:E,retrying:j,t:C,messageRef:oe}){let _=e.role==="user",Q=e.content,[g,D]=ft.default.useState(!1),Z=ft.default.useRef(null),O=ft.default.useRef(null),B=ft.default.useCallback(A=>{let R=_?".hsk-cb-user-bubble":".hsk-cb-ai-text";return A.matches?.(R)?A:A.querySelector(R)||A},[_]),ae=ft.default.useCallback(A=>{O.current&&clearTimeout(O.current),O.current=setTimeout(()=>{if(G){if(typeof navigator<"u"&&navigator.vibrate)try{navigator.vibrate(25)}catch{}let R=B(A),I=R.getBoundingClientRect();G(e,{top:I.top,left:I.left,width:I.width,height:I.height},_,R)}O.current=null},420)},[e,_,G,B]),le=ft.default.useCallback(A=>{if(A.touches.length!==1)return;let R=A.touches[0];Z.current={x:R.clientX,y:R.clientY},ae(A.currentTarget)},[ae]),me=ft.default.useCallback(A=>{if(!Z.current||!O.current)return;let R=A.touches[0];Math.hypot(R.clientX-Z.current.x,R.clientY-Z.current.y)>8&&(clearTimeout(O.current),O.current=null)},[]),M=ft.default.useCallback(()=>{O.current&&(clearTimeout(O.current),O.current=null),Z.current=null},[]),N=ft.default.useCallback(A=>{if(!G)return;A.preventDefault();let R=B(A.currentTarget),I=R.getBoundingClientRect();G(e,{top:I.top,left:I.left,width:I.width,height:I.height},_,R)},[e,_,G,B]);ft.default.useEffect(()=>()=>{O.current&&clearTimeout(O.current)},[]);let T=ft.default.useCallback(A=>{if(A)try{navigator.clipboard.writeText(A),D(!0),setTimeout(()=>D(!1),2e3)}catch{}},[]),q=ft.default.useMemo(()=>ls(Q),[Q]),H=e.thinking||q.thinking,ie=/(?:^|\n+)(?:[>*_~`\s]*)(?:This is a calculation from live figures,?\s*not a guarantee\s*[—–-]\s*the market can move against it\.?)(?:[>*_~`\s]*)/gi,y=ie.test(q.content),X=y?q.content.replace(ie,"").trimEnd():q.content;return(0,se.jsx)("div",{className:ee("hsk-cb-msg-group",o&&"hsk-cb-msg-group--run-mid",c&&"hsk-cb-msg-group--run-cont"),"data-hsk-role":_?"user":"assistant",ref:oe,children:_?(0,se.jsxs)("div",{className:`hsk-cb-user-msg${a?" hsk-sent":""}`,children:[e.images&&e.images.length>0&&(0,se.jsx)("div",{className:"hsk-cb-user-imgs","data-count":Math.min(e.images.length,4),children:e.images.slice(0,4).map((A,R)=>(0,se.jsxs)("button",{type:"button",className:"hsk-cb-user-img-cell",onClick:()=>m(A),children:[(0,se.jsx)("img",{src:A,alt:`attachment ${R+1}`,className:"hsk-cb-user-img-thumb"}),R===3&&e.images.length>4&&(0,se.jsxs)("span",{className:"hsk-cb-user-img-more",children:["+",e.images.length-3]})]},R))}),e.content&&(0,se.jsxs)("div",{className:ee("hsk-cb-user-bubble",n&&"hsk-cb-user-bubble--tail",e.spoken&&"hsk-cb-user-bubble--spoken",E&&"hsk-cb-user-bubble--error"),onTouchStart:le,onTouchMove:me,onTouchEnd:M,onTouchCancel:M,onContextMenu:N,children:[e.spoken&&(0,se.jsx)(Er,{className:"hsk-cb-spoken-mark",size:10}),/^@kiku\b/i.test(e.content)?(0,se.jsxs)(se.Fragment,{children:[(0,se.jsx)("span",{className:"hsk-kiku-badge",children:"@kiku"}),e.content.replace(/^@kiku\s*/i,"")]}):e.content]}),(0,se.jsxs)("div",{className:"hsk-cb-user-footer",children:[(0,se.jsxs)("div",{className:ee("hsk-cb-msg-actions",E&&"hsk-cb-msg-actions--failed"),children:[J&&(E||a)&&(0,se.jsxs)("button",{type:"button",className:"hsk-cb-msg-action hsk-cb-msg-action--retry",onClick:()=>J(e),"aria-label":C("retry"),children:[(0,se.jsx)(ta,{className:j?"hsk-retry-icon--spinning":"",size:11}),(0,se.jsx)("span",{className:"hsk-cb-msg-action-label",children:C("retry")})]}),W&&(0,se.jsxs)("button",{type:"button",className:"hsk-cb-msg-action hsk-cb-msg-action--edit",onClick:()=>W(e),"aria-label":C("edit"),children:[(0,se.jsx)(Jo,{size:11}),(0,se.jsx)("span",{className:"hsk-cb-msg-action-label",children:C("edit")})]}),(0,se.jsxs)("button",{type:"button",className:ee("hsk-cb-msg-action hsk-cb-msg-action--copy",g&&"hsk-cb-msg-action--copied"),onClick:()=>T(e.content),"aria-label":C(g?"copied":"copy"),children:[g?(0,se.jsx)(mr,{size:11}):(0,se.jsx)(ur,{size:11}),(0,se.jsx)("span",{className:"hsk-cb-msg-action-label",children:C(g?"copied":"copy")})]})]}),a&&!E&&(0,se.jsx)("span",{className:"hsk-cb-sent-status",children:C(u||d?"statusStopped":"statusSent")}),E&&(0,se.jsxs)("span",{className:"hsk-cb-failed-notice",children:[(0,se.jsx)("span",{className:"hsk-cb-failed-dot"}),C("msgFailed")]})]})]}):(0,se.jsx)("div",{className:ee("hsk-cb-ai-msg",i&&"hsk-cb-ai-msg--inline"),children:(0,se.jsxs)("div",{className:"hsk-cb-ai-body",onTouchStart:le,onTouchMove:me,onTouchEnd:M,onTouchCancel:M,onContextMenu:N,children:[(()=>{let A=e.thoughtForSeconds!=null||X.length>0||!(r&&(l||s));return(0,se.jsxs)(se.Fragment,{children:[!e.spoken&&(H||e.thoughtForSeconds!=null||r&&(l||s))&&(0,se.jsx)(ps,{text:H,isComplete:A,seconds:e.thoughtForSeconds}),X&&(0,se.jsx)("div",{className:"hsk-cb-ai-content",children:(0,se.jsx)(ms,{content:X,streaming:r&&l})}),y&&(0,se.jsx)("div",{className:"hsk-cb-calc-disclaimer",children:C("calcDisclaimer")})]})})(),e.visualizing&&(0,se.jsxs)("div",{className:"hsk-cb-viz hsk-cb-viz--loading",children:[(0,se.jsx)("span",{className:"hsk-cb-viz-spinner"}),(0,se.jsx)("span",{children:e.visualizingText||C("vizWorking")})]}),e.visualization&&(0,se.jsxs)("div",{className:"hsk-cb-viz",children:[(0,se.jsxs)("div",{className:"hsk-cb-viz-imgwrap",children:[e.visualizationType==="video"||e.visualization.includes("/videos/")?(0,se.jsx)("video",{src:e.visualization,controls:!0,autoPlay:!0,loop:!0,muted:!0,playsInline:!0,className:"hsk-markdown-video",style:{display:"block",maxHeight:"400px",objectFit:"contain",width:"100%"}}):(0,se.jsx)("img",{src:e.visualization,alt:"Product visualized in your photo",className:"hsk-markdown-img",style:L[e.visualization]==="err"?{display:"none"}:void 0,onLoad:()=>$(A=>({...A,[e.visualization]:"ok"})),onError:()=>$(A=>({...A,[e.visualization]:"err"}))}),L[e.visualization]==="err"&&(0,se.jsx)("div",{className:"hsk-cb-viz-broken",children:C("vizUnavailable")}),r&&!l&&L[e.visualization]==="ok"&&e.visualizationType!=="video"&&!e.visualization.includes("/videos/")&&(0,se.jsxs)("button",{className:"hsk-cb-viz-mark",onClick:()=>S(e.visualization),children:[(0,se.jsxs)("svg",{width:"13",height:"13",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",children:[(0,se.jsx)("path",{d:"M12 20h9"}),(0,se.jsx)("path",{d:"M16.5 3.5a2.121 2.121 0 0 1 3 3L7 19l-4 1 1-4Z"})]}),C("vizMarkEdit")]})]}),(0,se.jsx)("div",{className:"hsk-cb-viz-disclaimer",children:e.visualizationType==="video"||e.visualization.includes("/videos/")?C("vizDisclaimerVideo"):C("vizDisclaimerImage")})]}),!_&&(e.knowledgeImages?.length??0)>0&&(0,se.jsx)("div",{className:"hsk-cb-kimgs",children:e.knowledgeImages.map(A=>(0,se.jsxs)("div",{className:"hsk-cb-kimg-group",children:[(0,se.jsx)("div",{className:"hsk-cb-kimg-grid",children:A.images.map((R,I)=>(0,se.jsx)("img",{src:R.url,alt:R.note||A.title||"Reference image",className:"hsk-cb-kimg",loading:"lazy",onClick:()=>m(R.url),onError:re=>{re.target.style.display="none"}},I))}),(A.title||A.images[0]?.note)&&(0,se.jsx)("div",{className:"hsk-cb-kimg-caption",children:A.title||A.images[0]?.note})]},A.entryId))}),!_&&(0,se.jsx)(cs,{keys:e.liveKeys}),!_&&(e.staleNotices?.length??0)>0&&(0,se.jsxs)("div",{className:"hsk-cb-stale",role:"status",children:[(0,se.jsx)("div",{className:"hsk-cb-stale-title",children:C("staleTitle")}),e.staleNotices.map((A,R)=>(0,se.jsxs)("div",{className:"hsk-cb-stale-item",children:[A.state==="removed"?C("staleRemoved",{title:A.title}):C("staleUnavailable",{title:A.title}),A.reason&&(0,se.jsxs)("span",{className:"hsk-cb-stale-reason",children:[" ",A.reason]})]},R))]}),(()=>{let A=r?p:e.referencedIds??[],R=r?h:e.sources??[],I=r?f:e.intent,re=I==="compare"||I==="capture"||I==="capture_all"||I==="delete"||I==="view_history";return A.length>0&&!re&&(!r||w?.type!=="request_kiku_key")&&(0,se.jsx)(hs,{sources:R,defaultCurrency:z,onSelectSource:v,onImageClick:m,referencedIds:A,compact:!!e.visualization})})(),r&&!s&&!l&&w?.type==="open_memory"&&w.url&&(0,se.jsxs)("a",{className:"hsk-cb-memory-pill",href:String(w.url),target:"_blank",rel:"noopener noreferrer",children:[C("openMemory"),(0,se.jsx)(Oo,{})]}),r&&!s&&w?.url&&w.type!=="open_memory"&&(0,se.jsx)("div",{className:"hsk-action-pills",children:(0,se.jsxs)("a",{className:"hsk-action-pill",href:w.url,children:[String(w.type||"continue").replace(/_/g," ")," \u2192"]})}),r&&!s&&(0,se.jsx)(us,{intent:f,sources:k,onSend:F,loading:s,defaultCurrency:z}),!_&&!l&&X&&(0,se.jsx)("div",{className:"hsk-cb-ai-footer",children:(0,se.jsxs)("div",{className:ee("hsk-cb-msg-actions",(E||X.includes("We're experiencing high demand right now"))&&"hsk-cb-msg-actions--failed"),children:[(0,se.jsxs)("button",{type:"button",className:ee("hsk-cb-msg-action hsk-cb-msg-action--copy",g&&"hsk-cb-msg-action--copied"),onClick:()=>T(X),"aria-label":C(g?"copied":"copy"),children:[g?(0,se.jsx)(mr,{size:11}):(0,se.jsx)(ur,{size:11}),(0,se.jsx)("span",{className:"hsk-cb-msg-action-label",children:C(g?"copied":"copy")})]}),r&&(E||X.includes("We're experiencing high demand right now"))&&J&&(0,se.jsxs)("button",{type:"button",className:"hsk-cb-msg-action hsk-cb-msg-action--retry",onClick:()=>J(e),"aria-label":C("retry"),children:[(0,se.jsx)(ta,{className:j?"hsk-retry-icon--spinning":"",size:11}),(0,se.jsx)("span",{className:"hsk-cb-msg-action-label",children:C("retry")})]})]})})]})})})}var Ce=require("react/jsx-runtime");function bs({keyInput:e,setKeyInput:t,minting:r,handleUseExistingKey:a,handleCreateKey:n,t:o}){return(0,Ce.jsxs)("div",{className:"hsk-cb-ai-msg",children:[(0,Ce.jsx)("div",{className:"hsk-cb-ai-icon",style:{display:"flex",alignItems:"center"},children:(0,Ce.jsx)(Rt,{})}),(0,Ce.jsx)("div",{className:"hsk-cb-ai-body",children:(0,Ce.jsx)("div",{className:"hsk-cb-ai-text",children:(0,Ce.jsxs)("div",{className:"hsk-cb-phone-form",children:[(0,Ce.jsx)("label",{className:"hsk-cb-phone-label",children:o("keyPastePrompt")}),(0,Ce.jsx)("input",{type:"text",className:"hsk-cb-phone-input",placeholder:o("keyPastePlaceholder"),value:e,onChange:c=>t(c.target.value),onKeyDown:c=>c.key==="Enter"&&a(),autoFocus:!0}),(0,Ce.jsxs)("div",{style:{display:"flex",gap:8},children:[(0,Ce.jsx)("button",{className:"hsk-cb-phone-submit",onClick:a,disabled:!e.trim(),children:o("keyUseMine")}),(0,Ce.jsx)("button",{className:"hsk-cb-phone-submit",onClick:n,disabled:r,children:o(r?"keyCreating":"keyCreateNew")})]})]})})})]})}function fs({mintedKey:e,mintedPub:t,copied:r,keyCountdown:a,onDismiss:n,copyValue:o,t:c}){return(0,Ce.jsxs)("div",{className:"hsk-cb-ai-msg",children:[(0,Ce.jsx)("div",{className:"hsk-cb-ai-icon",style:{display:"flex",alignItems:"center"},children:(0,Ce.jsx)(Rt,{})}),(0,Ce.jsx)("div",{className:"hsk-cb-ai-body",children:(0,Ce.jsx)("div",{className:"hsk-cb-ai-text",children:(0,Ce.jsxs)("div",{style:{padding:"4px 0",display:"flex",flexDirection:"column",gap:12},children:[(0,Ce.jsxs)("div",{children:[(0,Ce.jsxs)("div",{style:{display:"flex",justifyContent:"space-between",alignItems:"center",marginBottom:4},children:[(0,Ce.jsx)("span",{style:{fontSize:12,fontWeight:600},children:c("keySecretTitle")}),(0,Ce.jsxs)("button",{className:"hsk-cb-phone-submit",style:{padding:"2px 8px",fontSize:11,background:"transparent",border:0},onClick:n,children:[c("keyDismiss")," \u2715"]})]}),(0,Ce.jsx)("code",{style:{display:"block",fontSize:13,fontWeight:700,marginBottom:8,wordBreak:"break-all"},children:e}),(0,Ce.jsxs)("div",{style:{display:"flex",gap:8,alignItems:"center",flexWrap:"wrap"},children:[(0,Ce.jsx)("button",{className:"hsk-cb-phone-submit",style:{padding:"4px 10px",border:0},onClick:()=>o(e,"secret"),children:c(r==="secret"?"keyCopied":"keyCopySecret")}),(0,Ce.jsx)("span",{style:{fontSize:11,opacity:.7,flex:"1 1 180px"},children:c("keySecretHint")})]})]}),t&&(0,Ce.jsxs)("div",{children:[(0,Ce.jsx)("div",{style:{fontSize:12,fontWeight:600,marginBottom:4},children:c("keyPublicTitle")}),(0,Ce.jsx)("code",{style:{display:"block",fontSize:12,fontWeight:600,marginBottom:6,wordBreak:"break-all",opacity:.85},children:t}),(0,Ce.jsxs)("div",{style:{display:"flex",gap:8,alignItems:"center",flexWrap:"wrap"},children:[(0,Ce.jsx)("button",{className:"hsk-cb-phone-submit",style:{padding:"4px 10px",border:0},onClick:()=>o(t,"pub"),children:c(r==="pub"?"keyCopied":"keyCopyId")}),(0,Ce.jsx)("span",{style:{fontSize:11,opacity:.7,flex:"1 1 180px"},children:c("keyPublicHint")})]})]}),(0,Ce.jsx)("div",{style:{fontSize:11,opacity:.6},children:c("keyAutoHide",{seconds:String(a)})})]})})})]})}var Ue=require("react/jsx-runtime");function gs({displayMessages:e,messageRefs:t,isNarrow:r,loading:a,streaming:n,sources:o,referencedIds:c,discussedSources:i,lastIntent:s,lastAction:l,defaultCurrency:u,stopped:d,interrupted:h,halted:p,haltedEmpty:k,error:f,errorCode:w,keyPhase:z,keyInput:L,setKeyInput:$,mintedKey:m,setMintedKey:S,mintedPub:F,setMintedPub:v,minting:J,copied:W,keyCountdown:G,handleUseExistingKey:E,handleCreateKey:j,copyValue:C,queuedMessage:oe,sendQueuedNow:_,setLightboxSrc:Q,setMarkupSrc:g,handleSend:D,handleSourceClick:Z,onRetry:O,onEdit:B,onLongPress:ae,retrying:le,continueGenerating:me,t:M,spacerRef:N,vizState:T,setVizState:q,messages:H}){return(0,Ue.jsxs)(Ue.Fragment,{children:[(()=>{let ie=-1;for(let y=e.length-1;y>=0;y--)if(e[y]?.role==="user"){ie=y;break}return e.map((y,X)=>{let A=X===e.length-1,R=y.role==="user",I=R&&X===ie,re=R&&e[X+1]?.role!=="user",pe=R&&!re,ne=R&&e[X-1]?.role==="user",ke=y.id||`${y.role}-${X}`,de=I&&!!f||!R&&A&&!!f||!R&&!!y.content?.includes("We're experiencing high demand right now");return(0,Ue.jsx)(ks,{msg:y,idx:X,isLast:A,isLastUser:I,isRunEnd:re,runMid:pe,runCont:ne,isNarrow:r,loading:a,streaming:n,stopped:d,interrupted:h,sources:o,referencedIds:c,discussedSources:i,lastIntent:s,lastAction:l,defaultCurrency:u,vizState:T,setVizState:q,setLightboxSrc:Q,setMarkupSrc:g,handleSend:D,handleSourceClick:Z,onRetry:O,onEdit:B,onLongPress:ae,hasError:de,retrying:le,t:M,messageRef:Ne=>{t.current[X]=Ne}},ke)})})(),p&&H.length>0&&(0,Ue.jsxs)("div",{className:ee("hsk-cb-stopped",k&&"hsk-cb-stopped--empty"),children:[k&&(0,Ue.jsxs)("span",{className:"hsk-cb-stopped-dots","aria-hidden":"true",children:[(0,Ue.jsx)("i",{}),(0,Ue.jsx)("i",{}),(0,Ue.jsx)("i",{})]}),(0,Ue.jsx)("span",{className:"hsk-cb-stopped-label",children:M(d?"stoppedByYou":"stoppedInterrupted")}),(0,Ue.jsxs)("button",{className:"hsk-cb-continue",onClick:me,children:[(0,Ue.jsx)(Ko,{}),M(H[H.length-1]?.role==="assistant"?"continueGenerating":"generateResponse")]})]}),f&&(0,Ue.jsx)("div",{className:"hsk-cb-error",children:jo({code:w??void 0,message:f},M)}),z==="prompt_key"&&(0,Ue.jsx)(bs,{keyInput:L,setKeyInput:$,minting:J,handleUseExistingKey:E,handleCreateKey:j,t:M}),m&&(0,Ue.jsx)(fs,{mintedKey:m,mintedPub:F,copied:W,keyCountdown:G,onDismiss:()=>{S(null),v(null)},copyValue:C,t:M}),oe&&(0,Ue.jsx)("div",{className:ee("hsk-cb-msg-group",e[e.length-1]?.role==="user"&&"hsk-cb-msg-group--run-cont"),children:(0,Ue.jsxs)("div",{className:"hsk-cb-user-msg",children:[(0,Ue.jsx)("div",{className:"hsk-cb-user-bubble hsk-cb-user-bubble--tail hsk-cb-user-bubble--queued",children:oe.content}),(0,Ue.jsxs)("button",{type:"button",className:"hsk-cb-queued-status",onClick:_,children:[(0,Ue.jsx)("span",{className:"hsk-cb-queued-dot"}),M("queuedWaiting"),(0,Ue.jsx)("span",{className:"hsk-cb-queued-now",children:M("queuedSendNow")})]})]})}),(0,Ue.jsx)("div",{ref:N,className:"hsk-cb-msgs-spacer"})]})}var Lt=Ft(require("react"));var Y=require("react/jsx-runtime");function vs({gooId:e,input:t,setInput:r,showKikuPicker:a,setShowKikuPicker:n,showAtPicker:o,setShowAtPicker:c,captureAllowed:i,discussedSources:s,defaultCurrency:l,handleSelectExtension:u,handleKikuCapture:d,handleKikuCaptureAll:h,handleKikuViewHistory:p,handleKikuDelete:k,attachments:f,removeAttachment:w,chromeLoading:z,imageInputRef:L,handleImageFiles:$,enableVision:m,enableVoice:S,canConverse:F,voiceMode:v,startVoice:J,stopVoice:W,voiceBlocked:G,textareaRef:E,classNames:j={},handleInput:C,handleKeyDown:oe,voice:_,voicePhase:Q,activePlaceholder:g,loading:D,streaming:Z,stop:O,handleSend:B,voiceError:ae,setVoiceError:le,shopperLanguage:me,t:M,rail:N}){let[T,q]=Lt.default.useState(0),[H,ie]=Lt.default.useState(!1);Lt.default.useEffect(()=>{if(!ae)return;let pe=setTimeout(()=>{le?.("")},6e3);return()=>clearTimeout(pe)},[ae,le]),Lt.default.useEffect(()=>{if(!H)return;let pe=ne=>{ne.key==="Escape"&&ie(!1)};return window.addEventListener("keydown",pe),()=>window.removeEventListener("keydown",pe)},[H]);let X=Math.max(_r(g||"Ask me anything\u2026").length-1,0)*en,[A,R]=(0,Lt.useState)(!1),I=(0,Lt.useRef)(null),re=()=>{I.current&&clearTimeout(I.current),R(!0),I.current=setTimeout(()=>{R(!1),I.current=null},550)};return(0,Lt.useEffect)(()=>()=>{I.current&&clearTimeout(I.current)},[]),(0,Y.jsxs)("div",{className:"hsk-cb-input-wrap",children:[H&&(0,Y.jsxs)(Y.Fragment,{children:[(0,Y.jsx)("div",{className:"hsk-cb-toolsheet-scrim",onClick:()=>ie(!1)}),(0,Y.jsx)("div",{className:"hsk-cb-toolsheet-wrap",children:(0,Y.jsxs)("div",{className:"hsk-cb-toolsheet",role:"menu",children:[m&&(0,Y.jsxs)("button",{className:"hsk-cb-toolsheet-item",role:"menuitem",onClick:()=>{ie(!1),L.current?.click()},disabled:D,children:[(0,Y.jsx)(zn,{}),(0,Y.jsx)("span",{children:M("attachImage")})]}),S&&F&&(0,Y.jsxs)("button",{className:"hsk-cb-toolsheet-item",role:"menuitem",onClick:()=>{ie(!1),v==="converse"?W():J("converse")},disabled:D||z||G,children:[(0,Y.jsx)(Rn,{active:v==="converse"}),(0,Y.jsx)("span",{children:M(v==="converse"?"voiceModeExit":"voiceModeStart")})]})]})})]}),(0,Y.jsxs)("div",{className:"hsk-cb-input-card",children:[(/^@kiku\b/i.test(t)||a||o)&&(0,Y.jsxs)("div",{className:"hsk-cb-docked-header",children:[(0,Y.jsx)("span",{className:"hsk-cb-docked-sub",children:M("captureAndRemember")}),(0,Y.jsx)("button",{type:"button",className:"hsk-cb-docked-close",onClick:()=>{r(pe=>pe.replace(/^@kiku\s*/i,"")),n(!1),c(!1)},"aria-label":"Close mode",children:"\xD7"})]}),(a||o)&&(0,Y.jsxs)("div",{className:"hsk-cb-docked-options",onMouseDown:pe=>pe.preventDefault(),children:[o&&i&&(0,Y.jsxs)("button",{type:"button",className:"hsk-cb-docked-option",onClick:()=>u("@kiku"),children:[(0,Y.jsx)("span",{className:"hsk-cb-docked-option-icon",children:(0,Y.jsx)(Rt,{})}),(0,Y.jsx)("span",{className:"hsk-cb-docked-option-title",children:"kiku"}),(0,Y.jsx)("span",{className:"hsk-cb-docked-option-desc",children:"capture & remember"})]}),a&&i&&(0,Y.jsxs)(Y.Fragment,{children:[s.map((pe,ne)=>(0,Y.jsxs)("button",{type:"button",className:"hsk-cb-docked-option",onClick:()=>{d(pe),n(!1)},children:[(0,Y.jsx)("span",{className:"hsk-cb-docked-option-icon",children:pe.image?(0,Y.jsx)("img",{src:pe.image,alt:""}):(0,Y.jsx)(qa,{})}),(0,Y.jsx)("span",{className:"hsk-cb-docked-option-title",children:pe.name}),pe.price&&(0,Y.jsxs)("span",{className:"hsk-cb-docked-option-price",children:[pe.currency??l," ",parseFloat(String(pe.price).replace(/[^0-9.]/g,"")||"0").toLocaleString()]})]},pe.id??ne)),s.length>1&&(0,Y.jsxs)("button",{type:"button",className:"hsk-cb-docked-option",onClick:()=>{h(s),n(!1)},children:[(0,Y.jsx)("span",{className:"hsk-cb-docked-option-icon",children:(0,Y.jsx)(qa,{})}),(0,Y.jsx)("span",{className:"hsk-cb-docked-option-title",children:M("captureAll",{count:String(s.length)})})]}),s.length===0&&(0,Y.jsxs)("button",{type:"button",className:"hsk-cb-docked-option",onClick:()=>{d({name:"current page",id:void 0}),n(!1)},children:[(0,Y.jsx)("span",{className:"hsk-cb-docked-option-icon",children:(0,Y.jsx)(qa,{})}),(0,Y.jsx)("span",{className:"hsk-cb-docked-option-title",children:M("captureCurrentPage")})]}),(0,Y.jsxs)("button",{type:"button",className:"hsk-cb-docked-option",onClick:()=>{p(),n(!1)},children:[(0,Y.jsx)("span",{className:"hsk-cb-docked-option-icon",children:(0,Y.jsx)(Go,{})}),(0,Y.jsx)("span",{className:"hsk-cb-docked-option-title",children:M("whatHaveYouSaved")})]}),(0,Y.jsxs)("button",{type:"button",className:"hsk-cb-docked-option",onClick:()=>{k(),n(!1)},children:[(0,Y.jsx)("span",{className:"hsk-cb-docked-option-icon",children:(0,Y.jsx)(Qo,{})}),(0,Y.jsx)("span",{className:"hsk-cb-docked-option-title",children:M("deleteThis")})]})]})]}),f.length>0&&(0,Y.jsx)("div",{className:"hsk-cb-img-strip",children:f.map((pe,ne)=>(0,Y.jsxs)("div",{className:"hsk-cb-img-thumb-wrap",children:[(0,Y.jsx)("img",{src:pe.data,alt:`attachment ${ne+1}`,className:"hsk-cb-img-thumb"}),(0,Y.jsx)("button",{type:"button",className:"hsk-cb-img-thumb-remove",onClick:()=>w(ne),"aria-label":"Remove image",children:(0,Y.jsx)(ii,{size:10})})]},ne))}),(0,Y.jsxs)("div",{className:ee("hsk-cb-input-box",z&&"hsk-cb-input-box--waiting"),"data-cascade":T%2?"b":"a","data-tools":H?"open":"closed",style:{"--hsk-text-sweep":`${X}ms`},children:[(0,Y.jsx)("input",{ref:L,type:"file",accept:"image/*",className:"hsk-sr-only",onChange:pe=>{$(pe.target.files),pe.target.value=""}}),(m||S&&F)&&(0,Y.jsx)("button",{className:ee("hsk-cb-tools-toggle",H&&"hsk-cb-tools-toggle--open"),onClick:()=>ie(pe=>!pe),disabled:D||z,"aria-label":H?"Close options":"More options","aria-expanded":H,children:(0,Y.jsx)(Xo,{})}),(0,Y.jsxs)(Y.Fragment,{children:[m&&(0,Y.jsx)("button",{className:"hsk-cb-attach-btn",onClick:()=>L.current?.click(),disabled:D,"aria-label":"Attach image",title:"Attach image",children:(0,Y.jsx)(zn,{})}),S&&F&&(0,Y.jsx)("button",{className:ee("hsk-cb-voice-mode-btn",G&&"hsk-cb-voice-mode-btn--blocked"),onClick:()=>G?le?.(M("errAccountRequired")):J("converse"),disabled:D||z,"aria-label":"Voice conversation",title:"Voice conversation",children:(0,Y.jsx)(Rn,{})})]}),(0,Y.jsxs)("div",{className:"hsk-cb-field",children:[(0,Y.jsx)("textarea",{ref:E,value:t,onChange:C,onKeyDown:oe,rows:1,placeholder:"",className:ee("hsk-cb-textarea",j.input),"aria-label":g,disabled:D&&!Z}),(0,Y.jsx)(as,{placeholder:g,visible:!t,staggerMs:en,replaySeed:T})]}),S&&(0,Y.jsx)("button",{className:ee("hsk-cb-mic-btn",(v==="converse"||v==="dictate")&&"hsk-cb-mic-btn--active",G&&"hsk-cb-mic-btn--blocked"),onClick:()=>{v!=="off"?W():G?le?.("errAccountRequired"):J(F?"converse":"dictate")},disabled:D||z,"aria-label":v==="off"?"Start voice mode":"Stop voice",title:v==="off"?F?"Voice conversation":"Voice input":"Stop",children:v==="off"?(0,Y.jsx)(Er,{}):(0,Y.jsx)(Ba,{})}),(D||Z)&&!A?(0,Y.jsx)("button",{className:ee("hsk-cb-send","hsk-cb-send--stop",j.sendButton),onClick:O,"aria-label":"Stop generating",title:"Stop generating",children:(0,Y.jsx)(Vo,{})}):(0,Y.jsxs)("button",{className:ee("hsk-cb-send",A&&"is-launching",j.sendButton),onClick:()=>{re(),B()},disabled:z||!t.trim()&&f.length===0,"aria-label":"Send message",children:[(0,Y.jsx)("svg",{width:"0",height:"0","aria-hidden":"true",focusable:"false",style:{position:"absolute"},children:(0,Y.jsx)("defs",{children:(0,Y.jsxs)("filter",{id:e,children:[(0,Y.jsx)("feGaussianBlur",{in:"SourceGraphic",stdDeviation:"1.6",result:"blur"}),(0,Y.jsx)("feColorMatrix",{in:"blur",type:"matrix",values:"1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 16 -7",result:"goo"}),(0,Y.jsx)("feBlend",{in:"SourceGraphic",in2:"goo"})]})})}),(0,Y.jsx)("span",{className:"hsk-cb-send-sheath","aria-hidden":"true"}),(0,Y.jsxs)("span",{className:"hsk-cb-send-stage",style:{filter:`url(#${e})`},children:[(0,Y.jsx)("span",{className:"hsk-cb-send-seam","aria-hidden":"true"}),(0,Y.jsx)("span",{className:"hsk-cb-send-kite",children:(0,Y.jsx)(Zo,{})})]})]})]})]}),G?(0,Y.jsxs)("div",{className:"hsk-cb-voice-error",role:"status",onClick:()=>le?.(""),children:[(0,Y.jsx)("span",{children:M("errAccountRequired")}),(0,Y.jsx)("button",{type:"button",className:"hsk-cb-voice-error-dismiss",onClick:pe=>{pe.stopPropagation(),le?.("")},"aria-label":"Dismiss error",children:"\xD7"})]}):ae&&(0,Y.jsxs)("div",{className:"hsk-cb-voice-error",role:"status",onClick:()=>le?.(""),children:[(0,Y.jsx)("span",{children:M(ae)}),(0,Y.jsx)("button",{type:"button",className:"hsk-cb-voice-error-dismiss",onClick:pe=>{pe.stopPropagation(),le?.("")},"aria-label":"Dismiss error",children:"\xD7"})]}),(0,Y.jsx)("div",{className:"hsk-cb-hint",children:me?M("footerHint"):"kiku \xB7 searches the whole catalogue in real time"})]})}var Mt=require("react"),ws=require("react/jsx-runtime");function ys(e,t){let r=e.match(/-?[\d.]+/g);return!r||r.length<3?t:[Number(r[0]),Number(r[1]),Number(r[2])]}function pp(e,t,r){return[e[0]+(t[0]-e[0])*r,e[1]+(t[1]-e[1])*r,e[2]+(t[2]-e[2])*r]}function qr(e,t){return`rgba(${e[0]|0}, ${e[1]|0}, ${e[2]|0}, ${t})`}var Kt=24,dp=.42;function xs({phase:e,level:t,spectrum:r,bins:a,className:n}){let o=(0,Mt.useRef)(null),c=(0,Mt.useRef)(e),i=(0,Mt.useRef)(t),s=(0,Mt.useRef)(r),l=(0,Mt.useRef)(a);return(0,Mt.useEffect)(()=>{c.current=e},[e]),(0,Mt.useEffect)(()=>{i.current=t},[t]),(0,Mt.useEffect)(()=>{s.current=r},[r]),(0,Mt.useEffect)(()=>{l.current=a},[a]),(0,Mt.useEffect)(()=>{let u=o.current;if(!u)return;let d=u.getContext("2d");if(!d)return;let h=getComputedStyle(u),p=ys(h.getPropertyValue("--hsk-primary")||"",[255,106,51]),k=ys(h.getPropertyValue("--hsk-chat-text")||"",[31,31,31]),f=0,w=0,z=0,L=()=>{let D=Math.min(window.devicePixelRatio||1,3),Z=u.getBoundingClientRect();w=Math.max(1,Z.width),z=Math.max(1,Z.height),u.width=Math.round(w*D),u.height=Math.round(z*D),d.setTransform(D,0,0,D,0,0)};L();let $=typeof ResizeObserver<"u"?new ResizeObserver(L):null;$?.observe(u),window.addEventListener("resize",L);let m=window.matchMedia?.("(prefers-reduced-motion: reduce)")?.matches??!1,S=new Float32Array(Kt),F=[],v=null,J=-1,W=null,G=0,E=0,j=performance.now(),C=(D,Z,O,B)=>D+(Z-D)*(Z>D?O:B),oe=()=>{let D=s.current,Z=l.current?.()??0;if(!D||!Z||((!W||W.length!==Z)&&(W=new Uint8Array(Z)),!D(W)))return!1;let B=Math.max(Kt,Math.floor(Z*dp))/Kt;for(let ae=0;ae<Kt;ae++){let le=Math.floor(ae*B),me=Math.max(le+1,Math.floor((ae+1)*B)),M=0;for(let T=le;T<me;T++)M+=W[T];let N=M/(me-le)/255;S[ae]=C(S[ae],N,m?.2:.55,m?.06:.14)}return!0},_=(D,Z)=>{for(let O=0;O<Kt;O++){let B=O/(Kt-1),ae=Math.pow(1-B,1.6)*(.75+.25*Math.sin(D*3.1+O*.7));S[O]=C(S[O],ae*Z,.3,.12)}},Q=D=>{let Z=Math.min(Kt-1,Math.max(0,D*(Kt-1))),O=Math.floor(Z),B=Z-O,ae=S[O],le=S[Math.min(Kt-1,O+1)];return ae+(le-ae)*B*B*(3-2*B)},g=D=>{f=requestAnimationFrame(g);let Z=(D-j)/1e3,O=c.current,B=Math.min(1,i.current());G=C(G,Math.max(O==="speaking"?.42:O==="listening"?.3:O==="thinking"?.28:.12,B),m?.1:.5,m?.05:.11),oe()||_(Z,Math.max(.25,G)),d.clearRect(0,0,w,z);let le=z/2;E=O==="thinking"?(E+.012)%1.6:0;let me=3;if(J!==w){F=[];for(let T=0;T<me;T++){let q=T/(me-1||1),H=pp(p,k,q*.5),ie=d.createLinearGradient(0,0,w,0);ie.addColorStop(0,qr(H,0)),ie.addColorStop(.5,qr(H,.9-q*.35)),ie.addColorStop(1,qr(H,0)),F.push(ie)}v=d.createLinearGradient(0,0,w,0),v.addColorStop(0,qr(p,0)),v.addColorStop(.5,qr(p,.14)),v.addColorStop(1,qr(p,0)),J=w}let M=z*.32,N=Math.max(4,w/130);for(let T=0;T<me;T++){let q=T/(me-1||1),H=T*.055,ie=1-q*.22;d.beginPath();let y=0,X=le;for(let R=0;R<=w;R+=N){let I=R/w,re=Math.pow(Math.sin(Math.PI*I),.85),pe=O==="thinking"?Math.exp(-Math.pow((I-(E-.3))*4.5,2)):1,ne=Q(Math.abs(I-.5)*2),ke=Z-H,de=Math.sin(I*Math.PI*2*2.1+ke*7.4)*.66+Math.sin(I*Math.PI*2*3.7-ke*5.6)*.26+Math.sin(I*Math.PI*2*5.9+ke*9.1)*.08,Ne=le+re*pe*ie*M*G*(.6+ne*1.1)*de+Math.sin(I*Math.PI*2*.6+(Z-H)*2.2)*re*z*.01;R===0?d.moveTo(R,Ne):d.quadraticCurveTo(y,X,(y+R)/2,(X+Ne)/2),y=R,X=Ne}d.quadraticCurveTo(y,X,w,X),d.lineCap="round",d.lineJoin="round";let A=(T===0?3:1.6)*(1+G*.6);T===0&&(d.strokeStyle=v,d.lineWidth=A*5,d.stroke()),d.strokeStyle=F[T],d.lineWidth=A,d.stroke()}};return f=requestAnimationFrame(g),()=>{cancelAnimationFrame(f),$?.disconnect(),window.removeEventListener("resize",L)}},[]),(0,ws.jsx)("canvas",{ref:o,className:n,"aria-hidden":"true"})}var Te=require("react/jsx-runtime");function Ss({siteId:e,themeAttr:t,stopVoice:r,chooseVoice:a,liveVoiceName:n,voiceSecondsLeft:o,voiceConnecting:c,voicePhase:i,live:s,voiceMuted:l,setVoiceMuted:u,shownSources:d,onSelectSource:h,defaultCurrency:p,voiceError:k,t:f}){return(0,Te.jsxs)("div",{className:"hsk-voice-overlay",role:"dialog","aria-label":f("voiceModeStart"),children:[(0,Te.jsx)(Ya,{seed:e,theme:t}),(0,Te.jsx)("button",{className:"hsk-voice-exit",onClick:r,"aria-label":f("voiceModeExit"),title:f("voiceModeExit"),children:(0,Te.jsx)(Lr,{})}),(0,Te.jsx)("div",{className:"hsk-voice-picker",role:"radiogroup","aria-label":f("voicePickerLabel"),children:Fa.map((w,z)=>(0,Te.jsx)("button",{type:"button",role:"radio","aria-checked":n===w.name,className:ee("hsk-voice-pill",n===w.name&&"hsk-voice-pill--on"),style:{animationDelay:`${z*60}ms`},onClick:()=>a(w.name),"aria-label":`${w.label}, ${w.gender}`,children:w.label},w.name))}),o!==null&&(0,Te.jsxs)("div",{className:ee("hsk-voice-allowance",o<=5&&"hsk-voice-allowance--low"),role:"timer","aria-live":"off",children:[Math.max(0,Math.ceil(o)),"s"]}),(0,Te.jsx)("div",{className:ee("hsk-voice-stage",c&&"hsk-voice-stage--connecting"),children:(0,Te.jsx)(xs,{className:"hsk-voice-canvas",phase:i,level:s.micLevel,spectrum:s.micSpectrum,bins:s.spectrumBins})}),c?(0,Te.jsxs)("div",{className:"hsk-voice-connecting",role:"status",children:[(0,Te.jsx)("span",{className:"hsk-voice-connecting-dot"}),(0,Te.jsx)("span",{children:f("voiceConnecting")})]}):(0,Te.jsxs)("div",{className:"hsk-voice-caption","aria-live":"polite",children:[(0,Te.jsx)("span",{className:ee("hsk-voice-phase",`hsk-voice-phase--${i}`),children:f(l?"voiceMuted":i==="speaking"?"voicePhaseSpeaking":i==="thinking"?"voicePhaseThinking":"voicePhaseListening")}),l&&(0,Te.jsx)("span",{className:"hsk-voice-heard",children:f("voiceMutedHint")}),!l&&i==="listening"&&(0,Te.jsx)("span",{className:"hsk-voice-hint-sub",children:f("voiceHint")})]}),d.length>0&&(0,Te.jsx)("div",{className:"hsk-voice-items",children:d.slice(0,4).map((w,z)=>(0,Te.jsxs)("button",{type:"button",className:"hsk-voice-item",style:{animationDelay:`${z*70}ms`},onClick:()=>h?.(w),children:[w.image?(0,Te.jsx)("img",{src:w.image,alt:"",className:"hsk-voice-item-img",loading:"lazy"}):(0,Te.jsx)("span",{className:"hsk-voice-item-img hsk-voice-item-img--empty",children:(0,Te.jsx)(Rt,{})}),(0,Te.jsx)("span",{className:"hsk-voice-item-name",children:w.name}),w.price&&(0,Te.jsxs)("span",{className:"hsk-voice-item-price",children:[w.currency??p," ",parseFloat(String(w.price).replace(/[^0-9.]/g,"")||"0").toLocaleString()]})]},w.id??z))}),k&&(0,Te.jsx)("div",{className:"hsk-voice-error",children:f(k)}),(0,Te.jsx)("div",{className:"hsk-voice-controls",children:(0,Te.jsx)("button",{className:ee("hsk-voice-control",l&&"hsk-voice-control--muted"),onClick:()=>u(w=>!w),"aria-label":f(l?"voicePhaseListening":"voiceModeExit"),title:f(l?"voicePhaseListening":"voiceModeExit"),children:(0,Te.jsx)("span",{className:"hsk-voice-control-icon",children:l?(0,Te.jsx)(Ba,{}):(0,Te.jsx)(Er,{})},l?"off":"on")})})]})}var Br=require("react/jsx-runtime");function Cs({src:e,onClose:t}){return e?(0,Br.jsxs)("div",{className:"hsk-lightbox",onClick:t,children:[(0,Br.jsx)("button",{className:"hsk-lightbox-close",onClick:t,"aria-label":"Close image",children:(0,Br.jsx)(Lr,{})}),(0,Br.jsx)("img",{src:e,alt:"",className:"hsk-lightbox-img",onClick:r=>r.stopPropagation()})]}):null}var Cr=require("react");var or=require("react/jsx-runtime");function Ms({items:e,activeIdx:t,progress:r,onJump:a,side:n="right"}){let o=rr(),c=(0,Cr.useRef)(null),i=(0,Cr.useRef)(null),s=(0,Cr.useRef)([]),l=(0,Cr.useRef)(null),u=0;for(let d=0;d<e.length;d++)e[d].idx<=t&&(u=d);return(0,Cr.useEffect)(()=>{let d=s.current[u],h=l.current,p=i.current,k=c.current;if(d&&(h&&(h.style.transform=`translateY(${d.offsetTop+d.offsetHeight/2}px)`),p&&k)){let f=k.clientHeight;if(p.scrollHeight>f&&f>0){let z=d.offsetTop+d.offsetHeight/2,L=f/2-z;p.style.transform=`translateY(${L}px)`}else p.style.transform="none"}},[u,e.length]),e.length<2?null:(0,or.jsx)("nav",{ref:c,className:ee("hsk-cb-timeline",n==="left"?"hsk-cb-timeline--left":"hsk-cb-timeline--right"),"aria-label":o("timelineLabel"),children:(0,or.jsxs)("div",{ref:i,className:"hsk-cb-timeline-track",style:{"--hsk-tl-progress":r},children:[(0,or.jsx)("span",{className:"hsk-cb-tl-cursor",ref:l,"aria-hidden":"true"}),e.map((d,h)=>(0,or.jsxs)("button",{ref:p=>{s.current[h]=p},type:"button",className:ee("hsk-cb-tl-item",h===u&&"hsk-cb-tl-item--on"),style:{"--hsk-tl-d":Math.min(Math.abs(h-u),4)},onClick:()=>a(d.idx),title:d.text,children:[(0,or.jsx)("span",{className:"hsk-cb-tl-dot"}),(0,or.jsx)("span",{className:"hsk-cb-tl-label",children:d.text})]},d.idx))]})})}var ot=require("react");var tt=require("react/jsx-runtime"),hp=190;function Ns({msg:e,rect:t,containerRect:r,anchorEl:a,containerEl:n,isUser:o,isRTL:c=!1,canRetry:i,onPin:s,onRetry:l,onCopy:u,onClose:d,t:h}){let[p,k]=(0,ot.useState)(!1),f=(0,ot.useRef)(null),{closing:w,requestClose:z}=Dr(hp,d);(0,ot.useEffect)(()=>{let I=re=>{re.key==="Escape"&&z()};return window.addEventListener("keydown",I),()=>window.removeEventListener("keydown",I)},[z]);let L=(0,ot.useCallback)(async()=>{await u(e.content||"")&&(k(!0),setTimeout(z,450))},[e.content,u,z]),$=(0,ot.useCallback)(()=>{zt("pin"),s(e),z()},[e,s,z]),m=(0,ot.useCallback)(()=>{l&&l(e),z()},[e,l,z]),[S,F]=(0,ot.useState)(0);(0,ot.useEffect)(()=>{if(f.current){let I=f.current.offsetWidth;I&&Math.abs(I-S)>2&&F(I)}},[S]);let[v,J]=(0,ot.useState)(t),[W,G]=(0,ot.useState)(r);(0,ot.useEffect)(()=>{if(!a)return;let I=0,re=(ne,ke)=>Math.abs(ne-ke)<.5,pe=()=>{let ne=a.getBoundingClientRect();if(J(ke=>re(ke.top,ne.top)&&re(ke.left,ne.left)&&re(ke.width,ne.width)&&re(ke.height,ne.height)?ke:{top:ne.top,left:ne.left,width:ne.width,height:ne.height}),n){let ke=n.getBoundingClientRect();G(de=>de&&re(de.top,ke.top)&&re(de.left,ke.left)&&re(de.width,ke.width)?de:{top:ke.top,left:ke.left,width:ke.width,height:ke.height})}I=requestAnimationFrame(pe)};return I=requestAnimationFrame(pe),()=>cancelAnimationFrame(I)},[a,n]);let[E,j]=(0,ot.useState)("");(0,ot.useEffect)(()=>{if(!a)return;let I=getComputedStyle(a).backgroundColor;I&&I!=="rgba(0, 0, 0, 0)"&&I!=="transparent"&&j(I)},[a]);let C=v,oe=W??r,_=oe?.top??0,Q=oe?.left??0,g=oe?.width??(typeof window<"u"?window.innerWidth:390),D=C.top-_,Z=C.left-Q,O=C.width,B=C.height,ae=2;i&&l&&ae++;let me=S||(ae===2?122:170),M=36,N=!!a?.closest(".hsk-cb-think")||!!a?.parentElement?.querySelector(".hsk-cb-think-head"),T=D>=58&&!N,q=T?Math.max(8,D-M-9):Math.min(D+B+9,(oe?.height??800)-M-8),H=o?c:!c,ie=H?Math.min(g-18,Z+O-7):Math.max(18,Z+7),y=H?ie-me+18:ie-18;y=Math.max(10,Math.min(y,g-me-10));let X=Math.max(18,Math.min(ie-y,me-18)),A=E||(o?"var(--hsk-user-bubble-bg, var(--hsk-primary, #007aff))":"var(--hsk-bubble-bg, #eeeef0)"),R=0;return(0,tt.jsx)("div",{className:"hsk-tapback-overlay",onClick:z,children:(0,tt.jsxs)("div",{ref:f,className:ee("hsk-tapback-group",w&&"is-closing",T?"is-above":"is-below",o?"is-user":"is-ai"),style:{top:`${q}px`,left:`${y}px`,"--tail-x":`${X}px`,"--tail-dir":H?1:-1,"--tail-step":o?"9px":"8px","--hsk-anchor-color":A,"--hsk-skin":"var(--hsk-bubble-bg, var(--hsk-chat-ai-bg, #eeeef0))"},onClick:I=>I.stopPropagation(),children:[(0,tt.jsxs)("div",{className:"hsk-tapback-capsule",children:[(0,tt.jsxs)("button",{type:"button",className:"hsk-tapback-tool-btn hsk-tapback-tool-btn--pin",onClick:$,"aria-label":"Pin to Kiku Memory",style:{"--tool-idx":R++},children:[(0,tt.jsx)(si,{size:14}),(0,tt.jsx)("span",{children:"Pin"})]}),i&&l&&(0,tt.jsxs)("button",{type:"button",className:"hsk-tapback-tool-btn hsk-tapback-tool-btn--retry",onClick:m,"aria-label":h("retry"),style:{"--tool-idx":R++},children:[(0,tt.jsx)(ta,{size:14}),(0,tt.jsx)("span",{children:h("retry")})]}),(0,tt.jsxs)("button",{type:"button",className:ee("hsk-tapback-tool-btn hsk-tapback-tool-btn--copy",p&&"is-copied"),onClick:L,"aria-label":h(p?"copied":"copy"),style:{"--tool-idx":R++},children:[p?(0,tt.jsx)(mr,{size:14}):(0,tt.jsx)(ur,{size:14}),(0,tt.jsx)("span",{children:h(p?"copied":"copy")})]})]}),(0,tt.jsxs)("div",{className:ee("hsk-tapback-tail",T?"is-above":"is-below"),style:{left:`${X}px`},children:[(0,tt.jsx)("span",{className:"hsk-tapback-dot hsk-tapback-dot--mid"}),(0,tt.jsx)("span",{className:"hsk-tapback-dot hsk-tapback-dot--anchor"})]})]})})}var Me=require("react/jsx-runtime"),up=200;function to({title:e="kiku",logo:t,placeholder:r="Ask me anything\u2026",backdropColor:a,backdropBlur:n,onClose:o,onSelectSource:c,defaultCurrency:i="",chips:s=Zr,theme:l,classNames:u={},enableVoice:d=!1,voiceLang:h,enableVision:p=!1,visionCategoryHint:k,enableAudioResponse:f=!0,ttsVoice:w="Puck",autoSpeakResponses:z=!0,origin:L}){let $=(0,Ts.useAkropolysContext)(),{messages:m,sources:S,loading:F,streaming:v,error:J,errorCode:W,lastAction:G,lastIntent:E,allowedActions:j,send:C,queuedMessage:oe,sendQueuedNow:_,appendSpokenExchange:Q,stop:g,stopped:D,interrupted:Z,continueGenerating:O,reset:B,referencedIds:ae}=(0,Hr.useKiku)(),{activeScouts:le}=(0,Hr.useScouts)(),[me,M]=(0,he.useState)(()=>{try{return $.getShopperName?.()??""}catch{return""}}),[N,T]=(0,he.useState)(()=>{try{return $.getShopperLanguage?.()??""}catch{return""}}),[q,H]=(0,he.useState)(()=>{try{return $.getEntityLanguageMode?.()??""}catch{return""}}),[ie,y]=(0,he.useState)(!1),{chromeReady:X,baseFontReady:A,isRTL:R,speechLang:I,scriptFont:re,fontStack:pe,isNonLatin:ne,hostFontCovers:ke,t:de,tNode:Ne}=Ai({shopperLanguage:N,theme:l}),$e=he.default.useMemo(()=>{let x=S.filter(Xe=>Xe.id&&ae.includes(Xe.id)),te=[...m].reverse().find(Xe=>Xe.role==="assistant")?.content??"";if(!te)return x;let ue=new Set(x.map(Xe=>Xe.id)),Ve=te.toLowerCase().replace(/\s+/g," "),De=Xe=>{let bt=String(Xe??"").toLowerCase().replace(/\s+/g," ").trim(),Zt=bt.split(" "),pr=[bt];return Zt.length>3&&pr.push(Zt.slice(0,3).join(" ")),Zt.length>4&&pr.push(Zt.slice(0,4).join(" ")),pr.filter(Ra=>Ra.length>=5)},lt=S.filter(Xe=>Xe.id&&!ue.has(Xe.id)&&De(Xe.name).some(bt=>Ve.includes(bt)));return[...x,...lt]},[S,ae,m]),et=j===null||j.includes("capture"),[Ke,qe]=(0,he.useState)(""),[P,ce]=(0,he.useState)(!1),[Ie,We]=(0,he.useState)(!1),[It,ir]=(0,he.useState)([]),Wr=(0,he.useRef)(null),[fa,nn]=(0,he.useState)({}),[Tr,sr]=(0,he.useState)(null),[ye,st]=(0,he.useState)(null),[Nt,Dt]=(0,he.useState)(()=>{if(typeof window>"u")return!1;try{return localStorage.getItem("akropolys_terms_agreed")==="true"}catch{return!1}}),ct=m.length===0,gt=ct&&!N,vt=ct&&!!N&&!me,ht=ct&&!!N&&!!me&&!q,Qe=ct&&!!N&&!!me&&!!q&&!Nt,ut=gt||vt||ht||Qe,Ye=he.default.useMemo(()=>m.some(x=>x.liveKeys?.length>0),[m]);(0,he.useEffect)(()=>{if(Ye)return(0,Hr.subscribeLiveStream)({client:$})},[Ye,$]);let[$t,zr]=(0,he.useState)(!1);(0,he.useEffect)(()=>{let x=window.matchMedia?.("(max-width: 899px)");if(!x)return;let te=()=>zr(x.matches);return te(),x.addEventListener?.("change",te),()=>x.removeEventListener?.("change",te)},[]);let jt=x=>{let te=x.trim();if(!te){try{$.setShopperLanguage?.("")}catch{}T("");return}try{$.setShopperLanguage?.(te)}catch{}T(te),y(!1)},ga=x=>{try{$.setEntityLanguageMode?.(x)}catch{}H(x),Nt&&y(!0)},on=()=>{try{localStorage.setItem("akropolys_terms_agreed","true")}catch{}Dt(!0),y(!0)},va=gt?de("langPlaceholder"):vt?de("namePlaceholder"):ht?de("entityLangPlaceholder"):Qe?de("termsPlaceholder"):r==="Ask me anything\u2026"?de("defaultPlaceholder"):r,ya=!s||s===Zr?[]:Array.isArray(s)?s:[],Vr=gt?"curious":vt?"welcoming":ht?"guiding":Qe?"focused":"happy",[Qt,Or]=(0,he.useState)(()=>{if(An(l))return l;if(typeof window<"u"){let x=localStorage.getItem("akropolys_theme");return An(x)?x:window.matchMedia?.("(prefers-color-scheme: light)").matches?ci:Pn}return Pn}),xa=(x,te=!1)=>{Or(x),te&&(Ta(!1),setThemeMenuClosing(!1));try{localStorage.setItem("akropolys_theme",x)}catch{}},{vars:wa}=Ea(l),Xt=Qt;Da(l);let Rr=(0,he.useRef)(()=>{}),mt=(0,he.useRef)(null),yt=async(x,te,ue,Ve)=>{let De=(x??Ke).trim(),lt=te??It;if(!De&<.length===0||!X||oe)return;if(zt("send"),vt){if(!De)return;let bt=Uo(De)||De.slice(0,40);try{$.setShopperName?.(bt)}catch{}M(bt),qe("");return}if(gt){if(!De)return;jt(De),qe("");return}if(ht){qe("");return}ce(!1),We(!1),qe(""),ir([]);let Xe=De||(lt.some(bt=>bt.type==="image")?"Analyze this image":"What is this?");await C(Xe,De,lt.length>0?lt:void 0,ue,Ve)},[xe,je]=(0,he.useState)(!1),ze=(0,he.useCallback)(async x=>{let te=x&&x.role==="user"?x:[...m].reverse().find(ue=>ue.role==="user");if(te?.content){je(!0);try{await yt(te.content)}finally{je(!1)}}},[m,yt]),Tt=(0,he.useCallback)(x=>{x?.content&&(qe(x.content),setTimeout(()=>{if(mt.current){mt.current.focus();let te=x.content.length;try{mt.current.setSelectionRange(te,te)}catch{}}},50))},[qe,mt]),rt=(0,he.useCallback)(async()=>{await ze()},[ze]),{keyInput:kt,setKeyInput:Sa,keyPhase:sn,setKeyPhase:cr,mintedKey:Jt,setMintedKey:cn,mintedPub:Ca,setMintedPub:ln,copied:Ma,keyCountdown:pn,minting:dn,copyValue:io,handleUseExistingKey:Fs,handleCreateKey:_s}=Di(G,rt),qs=(0,he.useCallback)(()=>{if(typeof window>"u")return"N/A";try{let x=sessionStorage.getItem("akropolys_kiku_pub")||sessionStorage.getItem("kiku_pub");if(x)return x;let te=localStorage.getItem("akropolys_kiku_pub")||localStorage.getItem("kiku_pub")||localStorage.getItem("kiku_id");if(te)return te;let ue=document.cookie.match(/(?:^|;\s*)(?:akropolys_kiku_pub|kiku_pub|kiku_id)=([^;]+)/);if(ue)return decodeURIComponent(ue[1])}catch{}return"N/A"},[]),hn=Ca??$?.getKikuPub?.()??qs(),[Kr,so]=(0,he.useState)(null),Bs=(0,he.useCallback)((x,te,ue,Ve)=>{so({msg:x,rect:te,isUser:ue,el:Ve})},[]),Hs=(0,he.useCallback)(async x=>{let ue=`@kiku pin ${(x.content||"").slice(0,50).replace(/\n+/g," ")}`;await C(x.content||"pin message",ue,void 0,"capture")},[C]),{handleKikuCapture:Us,handleKikuCaptureAll:js,handleKikuViewHistory:Ws,handleKikuDelete:Vs}=$i({attachments:It,setAttachments:ir,setInput:qe,send:C,defaultCurrency:i,t:de}),{voiceMode:co,voicePhase:lo,voiceConnecting:Os,voiceError:un,setVoiceError:po,voiceMuted:Ks,setVoiceMuted:Ys,voiceSecondsLeft:Gs,voiceBlocked:Qs,liveVoiceName:Xs,chooseVoice:Js,canConverse:Zs,startVoice:ec,stopVoice:ho,voice:tc,live:mn}=Ki({voiceLang:h,speechLang:I,shopperLanguage:N,ttsVoice:w,handleSendUtterance:x=>Rr.current(x),appendSpokenExchange:Q}),Na=(0,he.useRef)(null),[lr,Ta]=(0,he.useState)(!1),[rc,uo]=(0,he.useState)(!1),za=(0,he.useRef)(null),kn=(0,he.useRef)(null),mo=(0,he.useRef)([]),Yr=(0,he.useRef)(null),ac=`hsk-goo-${(0,he.useId)()}`,{closing:ko,requestClose:bo,closeNow:nc}=Dr(up,()=>Ta(!1));(0,he.useEffect)(()=>{if(!lr)return;let x=te=>{let ue=te.composedPath?te.composedPath():[],Ve=za.current&&(ue.includes(za.current)||za.current.contains(te.target)),De=kn.current&&(ue.includes(kn.current)||kn.current.contains(te.target)),lt=te.target,Xe=lt?.closest?.(".hsk-cb-topbar-mark"),bt=lt?.closest?.(".hsk-cb-topbar-ooze-menu")||ue.some(Zt=>Zt?.classList?.contains?.("hsk-cb-topbar-ooze-menu"));Ve||De||Xe||bt||bo()};return document.addEventListener("mousedown",x),document.addEventListener("touchstart",x,{passive:!0}),()=>{document.removeEventListener("mousedown",x),document.removeEventListener("touchstart",x)}},[lr]);let{msgsContainerRef:fo,spacerRef:oc,lastExternalScrollRef:ic,showJumpToBottom:sc,scrollProgress:cc,activeMsgIdx:lc,unreadBelow:pc,jumpToMessage:dc,jumpToBottom:hc}=Li({messages:m,loading:F,streaming:v,messageRefs:mo});li({panel:(0,he.useCallback)(()=>Na.current,[]),scroller:(0,he.useCallback)(()=>fo.current,[]),onDismiss:o,quiescent:(0,he.useCallback)(()=>performance.now()-ic.current>90,[])}),(0,he.useEffect)(()=>{if(typeof window>"u")return;let x=window.innerWidth-document.documentElement.clientWidth,te=document.body.style.overflow,ue=document.body.style.paddingRight;if(x>0){let Ve=parseFloat(window.getComputedStyle(document.body).paddingRight)||0;document.body.style.paddingRight=`${Ve+x}px`,document.documentElement.style.setProperty("--hsk-scrollbar-width",`${x}px`)}return document.body.style.overflow="hidden",()=>{document.body.style.overflow=te,document.body.style.paddingRight=ue,document.documentElement.style.removeProperty("--hsk-scrollbar-width")}},[]),(0,he.useEffect)(()=>{let x=window.visualViewport;if(!x)return;let te=document.documentElement,ue=()=>{te.style.setProperty("--hsk-vvh",`${x.height}px`)};return ue(),x.addEventListener("resize",ue),x.addEventListener("scroll",ue),()=>{x.removeEventListener("resize",ue),x.removeEventListener("scroll",ue),te.style.removeProperty("--hsk-vvh")}},[]),(0,he.useEffect)(()=>{let x=te=>{if(te.key==="Escape"){if(Tr){sr(null);return}o()}};return document.addEventListener("keydown",x),()=>document.removeEventListener("keydown",x)},[Tr,o]);let uc=(0,he.useCallback)(()=>{B(),cr("idle")},[B,cr]),mc=x=>{c?.(x);let te=[...m].reverse().find(Ve=>Ve.role==="assistant");if(te&&te.content.trim().endsWith("?")){C(de("cardClickAnswer",{name:x.name}));return}let ue=x.price?` (${x.currency??i} ${x.price})`:"";C(de("cardClickQuery",{name:x.name,price:ue}))},kc=x=>{qe(x+" "),We(!1),ce(!0),mt.current&&mt.current.focus()},bc=x=>{if(x.key==="Escape"&&P){x.preventDefault(),ce(!1);return}if(x.key==="Escape"&&Ie){x.preventDefault(),We(!1);return}x.key==="Enter"&&!x.shiftKey&&!x.nativeEvent.isComposing&&(x.preventDefault(),yt())},bn=(0,he.useRef)(28),go=(0,he.useRef)(280),fn=(0,he.useRef)(null),fc=(x,te)=>{try{!fn.current&&typeof document<"u"&&(fn.current=document.createElement("canvas"));let ue=fn.current?.getContext("2d");return ue?(ue.font=te,ue.measureText(x).width):x.length*8.5}catch{return x.length*8.5}},gc=x=>{let te=x.closest(".hsk-cb-input-box");if(!te)return;let ue=x.value;!(te.dataset.expanded==="true")&&x.clientWidth>50&&(go.current=x.clientWidth);let De=window.getComputedStyle(x),lt=De.font||`${De.fontSize||"16px"} ${De.fontFamily||"Geist, sans-serif"}`,Xe=fc(ue,lt),bt=Math.max(120,go.current-14),Zt=ue.includes(`
|
|
38
|
-
`),pr=!!(ue&&(Zt||Xe>bt));if(te.dataset.expanded!==(pr?"true":"false")&&(te.dataset.expanded=pr?"true":"false"),!ue){bn.current=28,x.style.height="";return}if(!pr){bn.current=28,x.style.height="";return}x.style.height="auto";let Ra=Math.max(28,Math.min(x.scrollHeight,140));bn.current=Ra,x.style.height=`${Ra}px`};(0,he.useEffect)(()=>{mt.current&&gc(mt.current)},[Ke]);let vc=x=>{let te=x.target.value;qe(te),un&&po("");let ue=te.trim();We(ue==="@"),ce(/^@kiku\s*$/i.test(ue))};(0,he.useEffect)(()=>{Rr.current=x=>{yt(x)}});let yc=async x=>{if(!x||x.length===0)return;let te=Array.from(x);for(let ue of te)if(ue.type.startsWith("image/"))try{let Ve=await Ua(ue);ir(De=>[...De,{type:"image",data:Ve}])}catch{}},xc=x=>{ir(te=>te.filter((ue,Ve)=>Ve!==x))},wc=(mn.sources?.length??0)>0?mn.sources:$e,Sc=a&&(a.includes("rgba")||a.includes("hsla")||a==="transparent"),Cc=n||Sc?{backdropFilter:`blur(${typeof n=="number"?`${n}px`:n||"20px"})`,WebkitBackdropFilter:`blur(${typeof n=="number"?`${n}px`:n||"20px"})`}:{},vo=(0,he.useRef)(!1);(0,he.useEffect)(()=>{if(vo.current&&!v){let x=m[m.length-1];x&&x.role!=="user"&&zt("reply")}vo.current=v},[v,m]);let yo=(D||Z)&&!F&&!v,xo=m[m.length-1],gn=Ei(xo?.role==="assistant"?xo.content??"":"",F||v),Pr=he.default.useMemo(()=>{let x=F||v,te=m.filter((De,lt)=>De.role!=="assistant"||lt===m.length-1&&x?!0:!!De.content||!!De.visualization||De.visualizing||(De.knowledgeImages?.length??0)>0||(De.referencedIds?.length??0)>0),ue=te.length-1;if(ue<0||te[ue].role!=="assistant"||te[ue]!==m[m.length-1])return te;let Ve=gn.length<(te[ue].content?.length??0);return!x&&!Ve?te:te.map((De,lt)=>lt===ue?{...De,content:gn}:De)},[m,F,v,gn]),Mc=he.default.useMemo(()=>Pr.map((x,te)=>({m:x,idx:te})).filter(({m:x})=>x.role==="user"&&!!x.content.trim()).map(({m:x,idx:te})=>{let ue=x.content.replace(/^@kiku\s*/i,"").replace(/\s+/g," ").trim();return{idx:te,text:ue.length>30?ue.slice(0,29).trimEnd()+"\u2026":ue}}),[Pr]),Nc=yo&&Pr[Pr.length-1]?.role!=="assistant",wo=(0,he.useRef)(Date.now());return(0,he.useEffect)(()=>{wo.current=Date.now()},[]),(0,Me.jsx)(Nn.Provider,{value:de,children:(0,Me.jsx)("div",{ref:Yr,className:ee("hsk-cb-overlay",L&&"hsk-cb-overlay--grows",u.overlay),onPointerDown:x=>{Ar(),x.target===x.currentTarget&&(Yr.current._ptrDown=!0)},onClick:x=>{x.target===x.currentTarget&&Yr.current?._ptrDown&&Date.now()-wo.current>200&&o(),Yr.current&&(Yr.current._ptrDown=!1)},"data-hsk-theme":Xt,style:{...Cc,...a?{background:a}:{},...L?{"--hsk-ox":`${L.x}px`,"--hsk-oy":`${L.y}px`,"--hsk-or":`${Math.ceil(L.r)}px`,"--hsk-bt":`${Math.round(L.top??L.y)}px`,"--hsk-bl":`${Math.round(L.left??L.x)}px`,"--hsk-bw":`${Math.round(L.width??0)}px`,"--hsk-bh":`${Math.round(L.height??0)}px`,"--hsk-bbr":`${Math.round(L.borderRadius??12)}px`}:{},...wa},children:(0,Me.jsxs)("div",{ref:Na,className:ee("hsk-cb-panel",u.panel),dir:R?"rtl":"ltr","data-script":ne?"nonlatin":"latin","data-host-font":ke?"covers":"gap","data-nastaliq":re?.family==="Noto Nastaliq Urdu"||N?.toLowerCase()==="urdu"||N?.toLowerCase()==="ur"||N==="\u0627\u0631\u062F\u0648"?"true":void 0,style:pe?{"--hsk-font":pe}:void 0,onClick:x=>{x.stopPropagation();let te=x.target;if(te.tagName==="IMG"&&(te.classList.contains("hsk-markdown-img")||te.classList.contains("hsk-cb-user-img-thumb"))){let ue=te.src;ue&&sr(ue)}},children:[(0,Me.jsx)(Cs,{src:Tr,onClose:()=>sr(null)}),ye&&(0,Me.jsx)("div",{className:"hsk-markup-overlay",children:(0,Me.jsx)(ki,{src:ye,t:de,onCancel:()=>st(null),onSend:(x,te,ue,Ve)=>{st(null),yt(te||de("markupApplyMarks"),[{type:"image",data:x,annotated:!0,marks:ue,instructed:!!te,preview:Ve}])}})}),(0,Me.jsxs)("div",{className:"hsk-cb-main",children:[(0,Me.jsx)(Ya,{seed:$?.api?.siteId??"",theme:Xt,dir:R?"rtl":"ltr"}),(0,Me.jsx)(Zi,{title:e,logo:t,hasMessages:m.length>0,avatarState:v?"speaking":F?"thinking":"idle",unread:pc,awayFromBottom:sc,themeMenuOpen:lr,themeMenuClosing:ko,isNarrow:$t,currentTheme:Qt,onJumpToLatest:hc,onReset:uc,onClose:o,onToggleThemeMenu:()=>lr?bo():Ta(!0),onSelectTheme:x=>{xa(x,!0)},themeAttr:Xt,onScoutNew:()=>{qe(""),setTimeout(()=>mt.current?.focus(),60)},onScoutAsk:x=>{yt(`scout ${x.id}`)}}),(0,Me.jsx)("div",{className:"hsk-cb-msgs",ref:fo,children:Pr.length===0?(0,Me.jsx)(os,{inOnboarding:ut,justCompleted:ie,onboardingMood:Vr,awaitingLang:gt,awaitingName:vt,awaitingEntityLang:ht,awaitingConsent:Qe,termsAgreed:Nt,shopperLanguage:N,shopperName:me,entityLangPref:q,chromeReady:X&&A,activeChips:ya,t:de,tNode:Ne,chooseLanguage:jt,chooseEntityLang:ga,agreeTerms:on,handleSend:yt}):(0,Me.jsx)(gs,{displayMessages:Pr,messageRefs:mo,isNarrow:$t,loading:F,streaming:v,sources:S,referencedIds:ae,discussedSources:$e,lastIntent:E,lastAction:G,defaultCurrency:i,stopped:D,interrupted:Z,halted:yo,haltedEmpty:Nc,error:J,errorCode:W,keyPhase:sn,keyInput:kt,setKeyInput:Sa,mintedKey:Jt,setMintedKey:cn,mintedPub:Ca,setMintedPub:ln,minting:dn,copied:Ma,keyCountdown:pn,handleUseExistingKey:Fs,handleCreateKey:_s,copyValue:io,queuedMessage:oe,sendQueuedNow:_,setLightboxSrc:sr,setMarkupSrc:st,handleSend:yt,handleSourceClick:mc,onRetry:ze,onEdit:Tt,onLongPress:Bs,retrying:xe,continueGenerating:O,t:de,spacerRef:oc,vizState:fa,setVizState:nn,messages:m})}),(0,Me.jsx)(vs,{gooId:ac,input:Ke,setInput:qe,showKikuPicker:P,setShowKikuPicker:ce,showAtPicker:Ie,setShowAtPicker:We,captureAllowed:et,discussedSources:$e,defaultCurrency:i,handleSelectExtension:kc,handleKikuCapture:Us,handleKikuCaptureAll:js,handleKikuViewHistory:Ws,handleKikuDelete:Vs,attachments:It,removeAttachment:xc,chromeLoading:!X,imageInputRef:Wr,handleImageFiles:yc,enableVision:p,enableVoice:d&&!ut,canConverse:Zs,voiceMode:co,startVoice:ec,stopVoice:ho,voiceBlocked:Qs,textareaRef:mt,classNames:u,handleInput:vc,handleKeyDown:bc,voice:tc,voicePhase:lo,activePlaceholder:va,loading:F,streaming:v,stop:g,handleSend:yt,voiceError:un,setVoiceError:po,shopperLanguage:N,t:de})]}),(0,Me.jsx)(Ms,{items:Mc,activeIdx:lc,progress:cc,onJump:dc,side:R?"left":"right"}),(0,Me.jsxs)("div",{className:ee("hsk-cb-kiku-id-rail",R?"hsk-cb-kiku-id-rail--right":"hsk-cb-kiku-id-rail--left"),children:[(0,Me.jsx)(fr,{themeAttr:Xt,open:rc,onOpenChange:x=>{uo(x),x&&lr&&nc()},onAsk:x=>{yt(`scout ${x.id}`)},onNew:()=>{qe(""),setTimeout(()=>mt.current?.focus(),60)}}),(0,Me.jsx)(Ja,{}),(0,Me.jsx)("div",{className:ee("hsk-cb-theme-squircle-wrap",lr&&"is-open",ko&&"is-closing"),ref:za,children:lr?(0,Me.jsx)("div",{className:"hsk-cb-theme-2x2-grid",role:"dialog","aria-label":"Theme selector",children:kr.map(({id:x,label:te,Icon:ue})=>(0,Me.jsxs)("button",{type:"button",className:ee("hsk-cb-theme-grid-item",Qt===x&&"is-active"),onClick:Ve=>{Ve.stopPropagation(),xa(x,!0)},children:[(0,Me.jsx)(ue,{}),(0,Me.jsx)("span",{children:te})]},x))}):(0,Me.jsxs)("button",{type:"button",className:"hsk-cb-theme-squircle-trigger",onClick:()=>{uo(!1),Ta(!0)},"aria-label":"Themes","aria-expanded":"false",children:[(0,Me.jsx)("span",{className:"hsk-cb-theme-trigger-icon",children:he.default.createElement(Ln(Qt).Icon)}),(0,Me.jsx)("span",{className:"hsk-cb-theme-trigger-label",children:Ln(Qt).label})]})}),(0,Me.jsxs)("button",{type:"button",className:"hsk-cb-kiku-id-pill",onClick:()=>hn!=="N/A"&&io(hn,"pub"),title:de("keyCopyId"),children:[(0,Me.jsx)("span",{className:"hsk-cb-kiku-id-rail-val",children:hn}),Ma==="pub"?(0,Me.jsx)(mr,{}):(0,Me.jsx)(ur,{})]})]}),co==="converse"&&(0,Me.jsx)(Ss,{siteId:$?.api?.siteId??"",themeAttr:Xt,stopVoice:ho,chooseVoice:Js,liveVoiceName:Xs,voiceSecondsLeft:Gs,voiceConnecting:Os,voicePhase:lo,live:mn,voiceMuted:Ks,setVoiceMuted:Ys,shownSources:wc,onSelectSource:c,defaultCurrency:i,voiceError:un,t:de}),Kr&&(0,Me.jsx)(Ns,{msg:Kr.msg,rect:Kr.rect,anchorEl:Kr.el,containerEl:Na.current,containerRect:Na.current?.getBoundingClientRect(),isUser:Kr.isUser,isRTL:R,canRetry:!F&&!v,onPin:Hs,onRetry:ze,onCopy:async x=>{if(!x)return!1;try{return await navigator.clipboard.writeText(x),!0}catch{}try{let te=document.createElement("textarea");te.value=x,te.setAttribute("readonly",""),te.style.cssText="position:fixed;top:0;left:0;opacity:0;pointer-events:none",document.body.appendChild(te),te.select(),te.setSelectionRange(0,x.length);let ue=document.execCommand("copy");return document.body.removeChild(te),ue}catch{return!1}},onClose:()=>so(null),t:de})]})})})}var Ut=require("react/jsx-runtime");function tn({label:e="Ask AI",children:t,icon:r,title:a,logo:n,placeholder:o,backdropColor:c,backdropBlur:i,className:s,onSelectSource:l,defaultCurrency:u="$",chips:d=Zr,theme:h,classNames:p={},enableVoice:k=!1,voiceLang:f,enableVision:w=!1,visionCategoryHint:z,enableAudioResponse:L,ttsVoice:$,autoSpeakResponses:m}){let S=(0,Rs.useAkropolysContext)(),[F,v]=(0,Yt.useState)(!1),[J,W]=(0,Yt.useState)(!1),[G,E]=(0,Yt.useState)(null),j=(0,Yt.useCallback)(()=>{Xr();try{_o(S,S?.getShopperLanguage?.()??"",hr)}catch{}},[S]),C=(0,Yt.useCallback)(Q=>{j();let g=Q.getBoundingClientRect(),D=window.getComputedStyle(Q),Z=parseFloat(D.borderRadius)||12,O=g.left+g.width/2,B=g.top+g.height/2,ae=window.innerWidth,le=window.innerHeight,me=Math.max(Math.hypot(O,B),Math.hypot(ae-O,B),Math.hypot(O,le-B),Math.hypot(ae-O,le-B));E({x:O,y:B,r:me,top:g.top,left:g.left,width:g.width,height:g.height,borderRadius:Z}),Ar(),v(!0)},[j]);(0,Yt.useEffect)(()=>{W(!0),j();let Q=window.requestIdleCallback,g=Q?Q(j,{timeout:2e3}):setTimeout(j,300);if(typeof window<"u"&&!window.__akropolys_nav_patched){window.__akropolys_nav_patched=!0;let Z=window.location.pathname,O=window.history.pushState,B=window.history.replaceState;window.history.pushState=function(...ae){O.apply(this,ae),window.location.pathname!==Z&&(Z=window.location.pathname,window.dispatchEvent(new CustomEvent("akropolys:navigation")))},window.history.replaceState=function(...ae){B.apply(this,ae),window.location.pathname!==Z&&(Z=window.location.pathname,window.dispatchEvent(new CustomEvent("akropolys:navigation")))}}let D=()=>{v(!1)};return window.addEventListener("popstate",D),window.addEventListener("akropolys:navigation",D),()=>{let Z=window.cancelIdleCallback;Q&&Z?Z(g):clearTimeout(g),window.removeEventListener("popstate",D),window.removeEventListener("akropolys:navigation",D)}},[j]);let{themeAttr:oe,vars:_}=Ea(h);return Da(h),(0,Ut.jsxs)(Ut.Fragment,{children:[(0,Ut.jsx)("button",{className:ee("hsk-cb-btn",p.button,s),onClick:Q=>C(Q.currentTarget),onPointerEnter:j,onPointerDown:j,style:_,"data-hsk-theme":oe,"aria-label":"Open AI chat",children:t!==void 0?t:(0,Ut.jsxs)(Ut.Fragment,{children:[r?(0,Ut.jsx)("span",{className:"hsk-cb-btn-icon",style:{display:"flex",alignItems:"center"},children:r}):null,e]})}),F&&J&&(0,zs.createPortal)((0,Ut.jsx)(to,{title:a,logo:n,placeholder:o,backdropColor:c,backdropBlur:i,origin:G,onClose:()=>v(!1),onSelectSource:l,defaultCurrency:u,chips:d,theme:h,classNames:p,enableVoice:k,voiceLang:f,enableVision:w,visionCategoryHint:z,enableAudioResponse:L,ttsVoice:$,autoSpeakResponses:m}),Xr()??document.body)]})}var Ge=require("react"),Ls=require("react-dom");var Ur=require("@akropolys/sdk");var ba=require("react/jsx-runtime"),ro=()=>(0,ba.jsxs)("svg",{className:"hsk-telegram-icon",width:"18",height:"18",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:[(0,ba.jsx)("line",{x1:"22",y1:"2",x2:"11",y2:"13"}),(0,ba.jsx)("polygon",{points:"22 2 15 22 11 13 2 9 22 2"})]});var b=require("react/jsx-runtime"),Mr=({className:e,size:t=16})=>(0,b.jsx)("svg",{className:ee("hsk-brand-mark",e),width:t,height:t,viewBox:"0 0 100 100",xmlns:"http://www.w3.org/2000/svg","aria-label":"kiku",children:(0,b.jsxs)("g",{transform:"translate(22.7 19) scale(0.62)",fill:"currentColor",fillRule:"evenodd",children:[(0,b.jsx)("path",{d:"M39.4 10.4 Q44 0 48.6 10.4 L86.1 95.8 Q88 100 83.4 100 L4.6 100 Q0 100 1.9 95.8 Z M24 100 L24 65 Q24 60 27.4 56.3 Q44 38 60.6 56.3 Q64 60 64 65 L64 100 Z"}),(0,b.jsx)("circle",{cx:"55",cy:"82",r:"3.4"})]})}),Ps=()=>(0,b.jsxs)("svg",{width:"16",height:"16",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2.5",strokeLinecap:"round",strokeLinejoin:"round",children:[(0,b.jsx)("line",{x1:"18",y1:"6",x2:"6",y2:"18"}),(0,b.jsx)("line",{x1:"6",y1:"6",x2:"18",y2:"18"})]}),As=e=>{let t="";if(typeof e=="string")t=e;else if(e&&typeof e=="object"&&e.message)t=e.message;else try{t=JSON.stringify(e)}catch{t=String(e)}if(t.toLowerCase().includes("token limit"))return"You've reached your usage limit. Please update your billing limits in your dashboard to continue.";try{let r=JSON.parse(t);return r.error||r.message||t}catch{return t}};function mp({productName:e,limit:t,backdropColor:r,backdropBlur:a,onClose:n,onNavigate:o,onResult:c,theme:i,classNames:s={},product:l}){let u=(0,Ur.useAkropolysContext)(),[d,h]=(0,Ge.useState)(null),p=l||d,{results:k,loading:f,search:w}=(0,Ur.useSearch)({type:"vector"}),{messages:z,sources:L,loading:$,error:m,send:S}=(0,Ur.useKiku)(),[F,v]=(0,Ge.useState)(""),[J,W]=(0,Ge.useState)(!1),[G,E]=(0,Ge.useState)(!1),[j,C]=(0,Ge.useState)(!1),oe=(0,Ge.useRef)(null),_=(0,Ge.useRef)(null);(0,Ge.useEffect)(()=>{!l&&!d&&u.api.searchVector(e,1).then(N=>{N.results&&N.results.length>0&&h(N.results[0].entity)}).catch(N=>console.error("[Akropolys] Failed to fetch product details",N)),w(e,t)},[e,l,d,u,t,w]),(0,Ge.useEffect)(()=>{let N=()=>W(window.innerWidth<=768);if(N(),typeof window<"u")return window.addEventListener("resize",N),()=>window.removeEventListener("resize",N)},[]),(0,Ge.useEffect)(()=>{k.length>0&&c?.(k)},[k,c]),(0,Ge.useEffect)(()=>{let N=T=>{T.key==="Escape"&&n()};return document.addEventListener("keydown",N),()=>document.removeEventListener("keydown",N)},[n]);let Q=(0,Ge.useRef)(null);(0,Ge.useEffect)(()=>{let N=document.body.style.overflow,T=document.body.style.position,q=document.body.style.width;document.body.style.overflow="hidden",document.body.style.position="fixed",document.body.style.width="100%";let H=()=>{window.scrollTo(0,0),Q.current&&(Q.current.scrollTop=0)};return window.addEventListener("scroll",H,{passive:!0}),()=>{document.body.style.overflow=N,document.body.style.position=T,document.body.style.width=q,window.removeEventListener("scroll",H)}},[]);let g=(0,Ge.useRef)(null);(0,Ge.useEffect)(()=>{g.current&&(g.current.scrollTop=g.current.scrollHeight)},[z,$]);let D=typeof a=="number"?`${a}px`:a??"16px",Z=r??void 0,O=N=>{o?.(N)!==!1&&(n(),N.entity.url&&(window.location.href=N.entity.url))},B=async N=>{let T=(N??F).trim();if(!(!T||$))if(v(""),_.current&&(_.current.style.height="auto"),z.length===0&&p){let q=`[Context: Shopper is viewing "${p.name}". Price: ${p.price}. Description: ${p.description||""}]
|
|
39
|
-
|
|
40
|
-
Question: ${T}`;await S(q,T)}else await S(T)},ae=N=>{N.key==="Enter"&&!N.shiftKey&&!N.nativeEvent.isComposing&&(N.preventDefault(),B())},le=N=>{v(N.target.value);let T=N.target;T.style.height="auto",T.style.height=`${Math.min(T.scrollHeight,140)}px`},me={...i?.primaryColor&&{"--hsk-primary":i.primaryColor},...i?.backgroundColor&&{"--hsk-bg":i.backgroundColor},...i?.textColor&&{"--hsk-text":i.textColor},...i?.fontFamily&&{"--hsk-font":i.fontFamily},...i?.borderRadius&&{"--hsk-border-radius":i.borderRadius}},M=z.length===0&&p?[{role:"assistant",content:`Hi! I can help you with **${p.name}**. Ask me about its specifications, features, compare it with other options, or find alternatives!`}]:z;return J?(0,b.jsx)("div",{ref:Q,className:ee("hsk-sp-backdrop hsk-sp-mobile-view",s.backdrop),onClick:n,style:{backdropFilter:`blur(${D})`,WebkitBackdropFilter:`blur(${D})`,background:Z??void 0,...me},children:(0,b.jsxs)("div",{className:ee("hsk-sp-card hsk-sp-fullscreen hsk-sp-mobile-card",s.card),onClick:N=>N.stopPropagation(),children:[(0,b.jsxs)("div",{className:"hsk-sp-header",children:[(0,b.jsx)("span",{className:"hsk-sp-header-icon",style:{display:"flex",alignItems:"center"},children:(0,b.jsx)(Mr,{})}),(0,b.jsxs)("div",{className:"hsk-sp-header-body",children:[(0,b.jsxs)("div",{className:"hsk-sp-header-title-row",children:[(0,b.jsx)("div",{className:"hsk-sp-header-title",children:p?.name||e}),p&&(0,b.jsx)("button",{type:"button",className:"hsk-sp-header-specs-btn",onClick:()=>E(!0),children:"Specs"})]}),(0,b.jsx)("div",{className:"hsk-sp-header-sub",children:"kiku"})]}),(0,b.jsx)("button",{className:"hsk-sp-close",onClick:n,"aria-label":"Close",children:(0,b.jsx)(Ps,{})})]}),f&&(0,b.jsx)("div",{className:"hsk-sp-bar"}),(0,b.jsxs)("div",{className:"hsk-sp-mobile-chat-container",children:[(0,b.jsxs)("div",{className:"hsk-cb-msgs",children:[M.map((N,T)=>{let q=N.role==="user";return(0,b.jsx)("div",{className:"hsk-cb-msg-group",children:q?(0,b.jsx)("div",{className:"hsk-cb-user-msg",children:(0,b.jsx)("div",{className:"hsk-cb-user-bubble",children:N.content})}):(0,b.jsxs)("div",{className:"hsk-cb-ai-msg",children:[(0,b.jsx)("div",{className:"hsk-cb-ai-icon",style:{display:"flex",alignItems:"center"},children:(0,b.jsx)(Mr,{})}),(0,b.jsxs)("div",{className:"hsk-cb-ai-body",children:[(0,b.jsx)("div",{className:"hsk-cb-ai-text",children:ua(N.content)}),T===0&&p&&(0,b.jsxs)("div",{className:"hsk-sp-mobile-attachment-deck",children:[(0,b.jsxs)("div",{className:"hsk-sp-mobile-main-card",children:[(0,b.jsx)("div",{className:"hsk-sp-mobile-main-card-img",children:p.images?.[0]?(0,b.jsx)("img",{src:p.images[0],alt:p.name}):(0,b.jsx)("span",{children:"\xF0\u0178\u203A\x8D"})}),(0,b.jsxs)("div",{className:"hsk-sp-mobile-main-card-info",children:[(0,b.jsx)("div",{className:"hsk-sp-mobile-main-card-brand",children:p.brand||p.category||"Product"}),(0,b.jsx)("div",{className:"hsk-sp-mobile-main-card-name",children:p.name}),(0,b.jsxs)("div",{className:"hsk-sp-mobile-main-card-price",children:[p.currency??"KES"," ",parseFloat(p.price?.replace(/[^0-9.]/g,"")||"0").toLocaleString()]})]}),(p.specs&&Object.keys(p.specs).length>0||p.description)&&(0,b.jsx)("button",{type:"button",className:"hsk-sp-mobile-main-card-specs-btn",onClick:()=>E(!0),children:"Specs"})]}),(()=>{let H=k.filter(ie=>{let y=!!(ie.entity.name&&p?.name&&ie.entity.name.toLowerCase()===p.name.toLowerCase()),X=ie.entity.slug&&p?.slug&&ie.entity.slug.toLowerCase()===p.slug.toLowerCase();return!y&&!X});return H.length===0?null:(0,b.jsxs)("div",{className:"hsk-sp-mobile-similar-carousel-inline",children:[(0,b.jsx)("div",{className:"hsk-sp-mobile-similar-carousel-title",children:"Similar Products"}),(0,b.jsx)("div",{className:"hsk-sp-mobile-similar-carousel-list",children:H.map(ie=>{let y=parseFloat(ie.entity.price?.replace(/[^0-9.]/g,"")||"0"),X=ie.entity.currency??"KES";return(0,b.jsxs)("div",{className:"hsk-sp-mobile-similar-carousel-item",onClick:()=>O(ie),children:[(0,b.jsx)("div",{className:"hsk-sp-mobile-similar-carousel-img",children:ie.entity.images?.[0]?(0,b.jsx)("img",{src:ie.entity.images[0],alt:ie.entity.name}):(0,b.jsx)("span",{children:"\xF0\u0178\u203A\x8D"})}),(0,b.jsxs)("div",{className:"hsk-sp-mobile-similar-carousel-meta",children:[(0,b.jsx)("div",{className:"hsk-sp-mobile-similar-carousel-name",title:ie.entity.name,children:ie.entity.name}),(0,b.jsxs)("div",{className:"hsk-sp-mobile-similar-carousel-price",children:[X," ",y.toLocaleString()]})]})]},ie.id)})})]})})()]})]})]})},T)}),$&&(0,b.jsxs)("div",{className:"hsk-cb-typing-row",children:[(0,b.jsx)("div",{className:"hsk-cb-ai-icon",style:{display:"flex",alignItems:"center"},children:(0,b.jsx)(Mr,{})}),(0,b.jsxs)("div",{className:"hsk-cb-typing",children:[(0,b.jsx)("div",{className:"hsk-cb-dot"}),(0,b.jsx)("div",{className:"hsk-cb-dot"}),(0,b.jsx)("div",{className:"hsk-cb-dot"})]})]}),m&&(0,b.jsx)("div",{className:"hsk-cb-error",children:As(m)}),(0,b.jsx)("div",{ref:oe,style:{height:1}})]}),(0,b.jsx)("div",{className:"hsk-cb-input-wrap",children:(0,b.jsxs)("div",{className:"hsk-cb-input-box",children:[(0,b.jsx)("textarea",{ref:_,className:"hsk-cb-textarea",value:F,onChange:le,onKeyDown:ae,placeholder:"Ask about this product, specs, or comparison...",rows:1,disabled:$}),(0,b.jsx)("button",{className:"hsk-cb-send",onClick:()=>B(),disabled:!F.trim()||$,"aria-label":"Send message",children:(0,b.jsx)(ro,{})})]})})]}),G&&p&&(0,b.jsx)("div",{className:"hsk-sp-mobile-specs-overlay",onClick:()=>E(!1),children:(0,b.jsxs)("div",{className:"hsk-sp-mobile-specs-drawer",onClick:N=>N.stopPropagation(),children:[(0,b.jsxs)("div",{className:"hsk-sp-mobile-specs-header",children:[(0,b.jsx)("h3",{children:"Specifications"}),(0,b.jsx)("button",{type:"button",onClick:()=>E(!1),children:"Close"})]}),(0,b.jsxs)("div",{className:"hsk-sp-mobile-specs-body",children:[(0,b.jsx)("h4",{className:"hsk-sp-mobile-specs-title",children:p.name}),p.description&&(0,b.jsxs)("div",{className:"hsk-sp-mobile-specs-desc",children:[(0,b.jsx)("h5",{children:"Description"}),(0,b.jsx)("p",{children:p.description})]}),p.specs&&Object.keys(p.specs).length>0&&(0,b.jsxs)("div",{className:"hsk-sp-mobile-specs-list",children:[(0,b.jsx)("h5",{children:"Details"}),Object.entries(p.specs).map(([N,T])=>(0,b.jsxs)("div",{className:"hsk-sp-mobile-spec-row",children:[(0,b.jsx)("span",{className:"hsk-sp-mobile-spec-label",children:N}),(0,b.jsx)("span",{className:"hsk-sp-mobile-spec-value",children:T})]},N))]})]})]})})]})}):(0,b.jsx)("div",{className:ee("hsk-sp-backdrop",s.backdrop),onClick:n,style:{backdropFilter:`blur(${D})`,WebkitBackdropFilter:`blur(${D})`,background:Z??void 0,...me},children:(0,b.jsxs)("div",{className:ee("hsk-sp-card hsk-sp-fullscreen",s.card),onClick:N=>N.stopPropagation(),children:[(0,b.jsxs)("div",{className:"hsk-sp-header",children:[(0,b.jsx)("span",{className:"hsk-sp-header-icon",style:{display:"flex",alignItems:"center"},children:(0,b.jsx)(Mr,{})}),(0,b.jsxs)("div",{className:"hsk-sp-header-body",children:[(0,b.jsx)("div",{className:"hsk-sp-header-title",children:p?.name||e}),(0,b.jsx)("div",{className:"hsk-sp-header-sub",children:"Ask questions, compare specs, or check similar products"})]}),(0,b.jsx)("button",{className:"hsk-sp-close",onClick:n,"aria-label":"Close",children:(0,b.jsx)(Ps,{})})]}),f&&(0,b.jsx)("div",{className:"hsk-sp-bar"}),(0,b.jsxs)("div",{className:"hsk-sp-body",children:[(0,b.jsxs)("div",{className:"hsk-sp-details-pane",children:[p&&(0,b.jsxs)("div",{className:"hsk-sp-product-profile-container",children:[(0,b.jsxs)("div",{className:"hsk-sp-product-profile",children:[(0,b.jsx)("div",{className:"hsk-sp-details-imgwrap",children:p.images?.[0]?(0,b.jsx)("img",{src:p.images[0],alt:p.name}):(0,b.jsx)("span",{className:"hsk-sp-img-placeholder",children:"\xF0\u0178\u203A\x8D"})}),(0,b.jsxs)("div",{className:"hsk-sp-details-meta",children:[p.brand&&(0,b.jsx)("span",{className:"hsk-sp-item-brand",children:p.brand}),p.category&&(0,b.jsx)("span",{className:"hsk-sp-item-cat",children:p.category}),(0,b.jsx)("h2",{className:"hsk-sp-details-name",children:p.name}),(0,b.jsxs)("div",{className:"hsk-sp-item-price-row",children:[(0,b.jsx)("span",{className:"hsk-sp-item-currency",children:p.currency??"KES"}),(0,b.jsx)("span",{className:"hsk-sp-item-price",children:parseFloat(p.price?.replace(/[^0-9.]/g,"")||"0").toLocaleString()}),p.originalPrice&&(0,b.jsx)("span",{className:"hsk-sp-item-original-price",children:parseFloat(p.originalPrice.replace(/[^0-9.]/g,"")||"0").toLocaleString()}),p.discount&&(0,b.jsxs)("span",{className:"hsk-sp-item-discount",children:["(",p.discount,")"]})]}),(0,b.jsxs)("div",{className:"hsk-sp-item-meta-badges",children:[p.rating&&(0,b.jsxs)("span",{className:"hsk-sp-meta-badge hsk-sp-meta-badge-rating",children:["\xE2\u02DC\u2026 ",parseFloat(p.rating.toString()).toFixed(1)," ",p.reviewCount?`(${p.reviewCount})`:""]}),p.availability&&(0,b.jsx)("span",{className:`hsk-sp-meta-badge hsk-sp-meta-badge-avail ${p.availability.toLowerCase().includes("in")?"in-stock":"out-stock"}`,children:p.availability}),p.stock&&!p.availability&&(0,b.jsxs)("span",{className:"hsk-sp-meta-badge hsk-sp-meta-badge-stock",children:["Stock: ",p.stock]})]})]})]}),p.specs&&Object.keys(p.specs).length>0&&(0,b.jsx)("div",{className:"hsk-sp-specs-horizontal",children:Object.entries(p.specs).map(([N,T])=>(0,b.jsxs)("div",{className:"hsk-sp-spec-item-horizontal",children:[(0,b.jsxs)("span",{className:"hsk-sp-spec-label-horizontal",children:[N,":"]}),(0,b.jsx)("span",{className:"hsk-sp-spec-value-horizontal",title:T,children:T})]},N))}),p.description&&(0,b.jsxs)("div",{className:"hsk-sp-details-desc",children:[(0,b.jsx)("h4",{children:"Description"}),(0,b.jsx)("p",{children:p.description})]})]}),(0,b.jsxs)("div",{className:"hsk-sp-similar-section",children:[(0,b.jsx)("h3",{children:"Similar Products"}),(0,b.jsx)("div",{className:"hsk-sp-results",children:(()=>{let N=k.filter(T=>{let q=!!(T.entity.name&&p?.name&&T.entity.name.toLowerCase()===p.name.toLowerCase()),H=T.entity.slug&&p?.slug&&T.entity.slug.toLowerCase()===p.slug.toLowerCase();return!q&&!H});return!f&&N.length===0?(0,b.jsx)("div",{className:"hsk-sp-empty",children:"No similar products found."}):N.map((T,q)=>{let H=parseFloat(T.entity.price?.replace(/[^0-9.]/g,"")||"0"),ie=T.entity.currency??"KES";return(0,b.jsxs)("div",{className:ee("hsk-sp-item",s.item),style:{animationDelay:`${q*55}ms`,cursor:"pointer"},onClick:()=>O(T),children:[(0,b.jsx)("div",{className:"hsk-sp-img-wrap",children:T.entity.images?.[0]?(0,b.jsx)("img",{src:T.entity.images[0],alt:T.entity.name}):(0,b.jsx)("span",{className:"hsk-sp-img-placeholder",children:"\xF0\u0178\u203A\x8D"})}),(0,b.jsxs)("div",{className:"hsk-sp-item-body",children:[(0,b.jsxs)("div",{children:[T.entity.category&&(0,b.jsx)("div",{className:"hsk-sp-item-cat",children:T.entity.category}),(0,b.jsx)("div",{className:"hsk-sp-item-name",title:T.entity.name,children:T.entity.name})]}),(0,b.jsxs)("div",{className:"hsk-sp-item-price-row",children:[(0,b.jsx)("span",{className:"hsk-sp-item-currency",children:ie}),(0,b.jsx)("span",{className:"hsk-sp-item-price",children:H.toLocaleString()})]}),(0,b.jsx)("div",{className:"hsk-sp-actions",children:(0,b.jsx)("button",{className:"hsk-sp-action hsk-sp-action-primary",onClick:y=>{y.stopPropagation(),O(T)},children:"View"})})]})]},T.id)})})()})]})]}),(0,b.jsxs)("div",{className:"hsk-sp-chat-pane",children:[(0,b.jsxs)("div",{className:"hsk-cb-msgs",children:[M.map((N,T)=>{let q=N.role==="user";return(0,b.jsx)("div",{className:"hsk-cb-msg-group",children:q?(0,b.jsx)("div",{className:"hsk-cb-user-msg",children:(0,b.jsx)("div",{className:"hsk-cb-user-bubble",children:N.content})}):(0,b.jsxs)("div",{className:"hsk-cb-ai-msg",children:[(0,b.jsx)("div",{className:"hsk-cb-ai-icon",style:{display:"flex",alignItems:"center"},children:(0,b.jsx)(Mr,{})}),(0,b.jsx)("div",{className:"hsk-cb-ai-body",children:(0,b.jsx)("div",{className:"hsk-cb-ai-text",children:ua(N.content)})})]})},T)}),$&&(0,b.jsxs)("div",{className:"hsk-cb-typing-row",children:[(0,b.jsx)("div",{className:"hsk-cb-ai-icon",style:{display:"flex",alignItems:"center"},children:(0,b.jsx)(Mr,{})}),(0,b.jsxs)("div",{className:"hsk-cb-typing",children:[(0,b.jsx)("div",{className:"hsk-cb-dot"}),(0,b.jsx)("div",{className:"hsk-cb-dot"}),(0,b.jsx)("div",{className:"hsk-cb-dot"})]})]}),m&&(0,b.jsx)("div",{className:"hsk-cb-error",children:As(m)}),(0,b.jsx)("div",{ref:oe,style:{height:1}})]}),(0,b.jsxs)("div",{className:"hsk-cb-input-wrap",children:[(0,b.jsxs)("div",{className:"hsk-cb-input-box",children:[(0,b.jsx)("textarea",{ref:_,className:"hsk-cb-textarea",value:F,onChange:le,onKeyDown:ae,placeholder:"Ask about this product, specs, or comparison...",rows:1,disabled:$}),(0,b.jsx)("button",{className:"hsk-cb-send",onClick:()=>B(),disabled:!F.trim()||$,"aria-label":"Send message",children:(0,b.jsx)(ro,{})})]}),(0,b.jsx)("div",{className:"hsk-cb-hint",children:"Akropolys \xB7 instant product knowledge"})]})]})]}),(0,b.jsx)("div",{className:"hsk-sp-footer",children:(0,b.jsx)("span",{className:"hsk-sp-esc",children:"Esc to close"})})]})})}function Es({productName:e,limit:t=8,onResult:r,backdropColor:a,backdropBlur:n,className:o,onNavigate:c,theme:i,classNames:s={},product:l,children:u}){let[d,h]=(0,Ge.useState)(!1),[p,k]=(0,Ge.useState)(!1);(0,Ge.useEffect)(()=>{k(!0)},[]);let f={...i?.primaryColor&&{"--hsk-primary":i.primaryColor},...i?.backgroundColor&&{"--hsk-bg":i.backgroundColor},...i?.textColor&&{"--hsk-text":i.textColor},...i?.fontFamily&&{"--hsk-font":i.fontFamily},...i?.borderRadius&&{"--hsk-border-radius":i.borderRadius}};return(0,b.jsxs)(b.Fragment,{children:[(0,b.jsx)("button",{className:ee("hsk-sp-btn",s.button,o),onClick:()=>h(!0),style:f,title:"Find similar products","aria-label":"Find similar products",children:u||(0,b.jsx)(Mr,{})}),d&&p&&(0,Ls.createPortal)((0,b.jsx)(mp,{productName:e,limit:t,onResult:r,backdropColor:a,backdropBlur:n,onClose:()=>h(!1),onNavigate:c,theme:i,classNames:s,product:l}),Xr()??document.body)]})}var rn=require("react");var Is=require("@akropolys/sdk"),Et=require("react/jsx-runtime"),kp=()=>(0,Et.jsxs)("svg",{width:"16",height:"16",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:[(0,Et.jsx)("path",{d:"M23 19a2 2 0 0 1-2 2H3a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h4l2-3h6l2 3h4a2 2 0 0 1 2 2z"}),(0,Et.jsx)("circle",{cx:"12",cy:"13",r:"4"})]}),bp=()=>(0,Et.jsx)("svg",{width:"16",height:"16",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",className:"kiku-vs-spin",children:(0,Et.jsx)("path",{d:"M21 12a9 9 0 1 1-6.219-8.56"})});function fp(e){return Ua(e)}function Ds({onResults:e,onError:t,categoryHint:r,className:a="",disabled:n=!1}){let o=(0,Is.useAkropolysContext)(),c=(0,rn.useRef)(null),[i,s]=(0,rn.useState)(!1),l=async u=>{if(u.type.startsWith("image/")){s(!0);try{let d=await fp(u),h=await o.api.searchByImage(d,r);e(h,d)}catch(d){t?.(d instanceof Error?d:new Error(String(d)))}finally{s(!1),c.current&&(c.current.value="")}}};return(0,Et.jsxs)("label",{className:`kiku-vs-btn${i?" kiku-vs-btn--loading":""} ${a}`,title:"Search by photo","aria-label":"Search by uploading a photo",style:{cursor:n||i?"not-allowed":"pointer"},children:[(0,Et.jsx)("input",{ref:c,type:"file",accept:"image/*",capture:"environment",onChange:u=>u.target.files?.[0]&&l(u.target.files[0]),disabled:n||i,hidden:!0}),i?(0,Et.jsx)(bp,{}):(0,Et.jsx)(kp,{})]})}var Gt=require("react"),$s=require("react-dom/client"),jr=require("@akropolys/sdk");var Nr=require("react/jsx-runtime");function an(e){if(!e||typeof e!="object")return{};let t=String(e.id??e.handle??e.url??""),r=e.title||e.name||"",a;typeof e.price=="number"?a=e.price>=100&&Number.isInteger(e.price)?(e.price/100).toFixed(2):e.price.toString():typeof e.price=="string"&&(a=e.price);let n=e.featured_image||e.image;if(!n&&Array.isArray(e.images)&&e.images.length>0){let p=e.images[0];n=typeof p=="string"?p:p?.src}typeof n=="string"&&n.startsWith("//")&&(n="https:"+n);let o=e.url||"";if(!o&&e.handle&&(o=`/products/${e.handle}`),o&&typeof window<"u"&&!o.startsWith("http"))try{o=new URL(o,window.location.origin).href}catch{}let c=e.type||e.product_type||e.category||"",i=e.vendor||e.brand||"",s=Array.isArray(e.tags)?e.tags:typeof e.tags=="string"?e.tags.split(",").map(p=>p.trim()).filter(Boolean):[],l=e.description||e.body_html||"",u=typeof l=="string"?l.replace(/<[^>]*>?/gm,"").trim():"",d=Array.isArray(e.variants)&&e.variants.length>0?e.variants[0]:null,h=d?d.id:void 0;return{id:t,name:r,title:r,price:a,image:n,url:o||(typeof window<"u"?window.location.href:""),category:c,brand:i,tags:s,description:u,availability:e.available!==!1?"in_stock":"out_of_stock",variant_id:h?String(h):void 0,shopify_product_id:e.id?String(e.id):void 0,handle:e.handle||void 0}}function ao(e){if(!e||e.length===0)return Promise.resolve();let t=e.map(r=>({id:r.fields?.variant_id||r.fields?.shopify_variant_id||r.id,quantity:1}));return fetch("/cart/add.js",{method:"POST",headers:{"Content-Type":"application/json",Accept:"application/json"},body:JSON.stringify({items:t})}).then(async r=>{r.ok||console.warn("[Akropolys Shopify] /cart/add.js returned error status:",r.status);let a=await r.json().catch(()=>null);return typeof document<"u"&&(document.dispatchEvent(new CustomEvent("cart:updated",{bubbles:!0,detail:{items:a}})),document.dispatchEvent(new CustomEvent("cart:refresh",{bubbles:!0,detail:{items:a}})),document.dispatchEvent(new CustomEvent("cart:build",{bubbles:!0})),window.dispatchEvent(new CustomEvent("cart:updated",{detail:{items:a}}))),a}).catch(r=>{console.warn("[Akropolys Shopify] Add to cart network error:",r)})}function no(){return fetch("/cart.js",{headers:{Accept:"application/json"}}).then(e=>e.ok?e.json():null).catch(()=>null)}function gp({children:e,position:t="bottom-right",dockable:r=!0,isInline:a=!1}){if(a||t==="inline"||t==="custom"||t==="hidden"||r===!1)return(0,Nr.jsx)("div",{className:"akropolys-kiku-inline-wrapper",style:{display:"inline-flex",alignItems:"center"},children:e});let[n,o]=(0,Gt.useState)(null),[c,i]=(0,Gt.useState)(!1),s=(0,Gt.useRef)(null),l=(0,Gt.useRef)(null);(0,Gt.useEffect)(()=>{if(typeof window>"u")return;let p=()=>{let L=window.innerWidth-140-20,$=window.innerHeight-44-20;t==="bottom-left"?(L=20,$=window.innerHeight-44-20):t==="top-right"?(L=window.innerWidth-140-20,$=20):t==="top-left"&&(L=20,$=20);try{let m=localStorage.getItem("akropolys_dock_pos");if(m){let S=JSON.parse(m);if(typeof S.x=="number"&&typeof S.y=="number"){let F=Math.max(10,Math.min(window.innerWidth-60,S.x)),v=Math.max(10,Math.min(window.innerHeight-60,S.y));return{x:F,y:v}}}}catch{}return{x:Math.max(10,L),y:Math.max(10,$)}};o(p());let k=()=>{o(f=>{if(!f)return p();let w=Math.max(10,Math.min(window.innerWidth-60,f.x)),z=Math.max(10,Math.min(window.innerHeight-60,f.y));return{x:w,y:z}})};return window.addEventListener("resize",k),()=>window.removeEventListener("resize",k)},[t]);let u=p=>{if(!l.current)return;let k=l.current.getBoundingClientRect();s.current={startX:p.clientX,startY:p.clientY,initX:k.left,initY:k.top,moved:!1};try{p.target.setPointerCapture?.(p.pointerId)}catch{}},d=p=>{if(!s.current)return;let k=p.clientX-s.current.startX,f=p.clientY-s.current.startY;if(!s.current.moved&&Math.hypot(k,f)>6&&(s.current.moved=!0,i(!0)),s.current.moved){let w=l.current?.offsetWidth||140,z=l.current?.offsetHeight||44,L=Math.max(8,Math.min(window.innerWidth-w-8,s.current.initX+k)),$=Math.max(8,Math.min(window.innerHeight-z-8,s.current.initY+f));o({x:L,y:$})}},h=()=>{if(!s.current)return;let p=s.current.moved;if(s.current=null,i(!1),p&&n){try{localStorage.setItem("akropolys_dock_pos",JSON.stringify(n))}catch{}let k=f=>{f.stopPropagation(),f.preventDefault(),window.removeEventListener("click",k,!0)};window.addEventListener("click",k,!0),setTimeout(()=>window.removeEventListener("click",k,!0),120)}};return n?(0,Nr.jsx)("div",{ref:l,className:"akropolys-kiku-dock-wrapper",onPointerDown:u,onPointerMove:d,onPointerUp:h,onPointerCancel:h,title:"Drag to dock anywhere",style:{position:"fixed",left:`${n.x}px`,top:`${n.y}px`,zIndex:2147483640,touchAction:"none",cursor:c?"grabbing":"grab",transition:c?"none":"transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.2s ease",transform:c?"scale(1.05)":"scale(1)",userSelect:"none",WebkitUserSelect:"none"},children:e}):null}function vp({config:e,isInline:t}){(0,Gt.useEffect)(()=>{let a=(0,jr.getAkropolysClient)();if(!a)return;let n=e.product;if(!n&&typeof window.meta?.product=="object"&&(n=window.meta.product),n){let o=an(n);(o.id||o.url)&&a.ingest(o).catch(c=>{console.debug("[Akropolys Shopify] Auto-ingest notice:",c)})}},[e.product]);let r=a=>{if(e.onAddToCart){e.onAddToCart(a);return}ao(a)};return(0,Nr.jsx)(jr.AkropolysProvider,{siteId:e.siteId,apiUrl:e.apiUrl,apiToken:e.apiToken,vertical:e.vertical||"commerce",shopperId:e.shopperId,onAddToCart:r,onAction:e.onAction,getCart:no,children:(0,Nr.jsx)(gp,{position:e.position,dockable:e.dockable!==!1,isInline:t,children:(0,Nr.jsx)(tn,{label:e.buttonLabel||"Ask Kiku",title:e.title||"kiku",placeholder:e.placeholder,defaultCurrency:e.defaultCurrency||"$",chips:e.chips,theme:e.theme||"dark",enableVoice:e.enableVoice!==!1,voiceLang:e.voiceLang,enableVision:e.enableVision!==!1,visionCategoryHint:e.visionCategoryHint,enableAudioResponse:e.enableAudioResponse!==!1,ttsVoice:e.ttsVoice||"Puck",autoSpeakResponses:e.autoSpeakResponses!==!1})})})}function yp(){typeof document>"u"||document.addEventListener("click",e=>{e.target?.closest("[data-kiku-open], [data-kiku-toggle], .kiku-trigger")&&(e.preventDefault(),window.Kiku?.open())})}function oo(e){if(typeof window>"u"||typeof document>"u")return;let t={},r=document.getElementById("akropolys-kiku-script");if(r){let i=r.dataset;t={siteId:i.siteId,apiToken:i.apiToken,apiUrl:i.apiUrl,theme:i.theme,buttonLabel:i.buttonLabel,position:i.position,containerId:i.containerId,containerSelector:i.containerSelector,dockable:i.dockable!=="false",enableVoice:i.enableVoice==="true"||i.enableVoice==="1",enableVision:i.enableVision==="true"||i.enableVision==="1"}}let a={...t,...window.AkropolysConfig||{},...e||{}};(!a.siteId||!a.apiToken)&&console.warn('[Akropolys] Missing siteId or apiToken. Configure window.AkropolysConfig = { siteId: "...", apiToken: "..." }');let n=null,o=!1;a.containerSelector&&(n=document.querySelector(a.containerSelector),n&&(o=!0)),!n&&a.containerId&&(n=document.getElementById(a.containerId),n&&(o=!0)),n||(n=document.getElementById("kiku-mount")||document.querySelector("[data-kiku-mount]"),n&&(o=!0)),n||(n=document.createElement("div"),n.id="akropolys-kiku-host",document.body.appendChild(n)),(0,$s.createRoot)(n).render((0,Nr.jsx)(vp,{config:a,isInline:o})),yp(),window.Kiku={version:"1.7.19",open:()=>{document.querySelector(".hsk-cb-btn")?.click()},close:()=>{document.querySelector('.hsk-cb-topbar-btn[aria-label="Close"]')?.click()},toggle:()=>{document.querySelector(".hsk-cb-overlay")?window.Kiku?.close():window.Kiku?.open()},resetPosition:()=>{try{localStorage.removeItem("akropolys_dock_pos"),window.location.reload()}catch{}},ingest:async i=>{let s=(0,jr.getAkropolysClient)();if(s&&i){let l=an(i);await s.ingest(l)}},getClient:()=>(0,jr.getAkropolysClient)(),config:a}}if(typeof window<"u"){let e=()=>!!(window.AkropolysConfig||document.getElementById("akropolys-kiku-script")||document.getElementById("kiku-mount")||document.querySelector("[data-kiku-mount]")),t=()=>{e()&&oo()};document.readyState==="loading"?document.addEventListener("DOMContentLoaded",t):setTimeout(t,0)}0&&(module.exports={KikuButton,ScoutCharacter,ScoutRail,SearchBar,Sparkle,VisualSearch,initKiku,normalizeShopifyProduct,shopifyAddToCart,shopifyGetCart});
|
|
35
|
+
`});function Dd(e,r){let t=[],n=[];for(let a of e)if(a.live===r){a.content&&t.push({role:a.role==="user"?"user":"assistant",text:a.content,done:!0});for(let o of[...a.images??[],...a.visualization?[a.visualization]:[]])n.push({id:-(n.length+1),url:o,pending:!1})}return{turns:t,images:n}}function ic({voiceLang:e,speechLang:r,shopperLanguage:t,ttsVoice:n="Puck",messages:a,handleSendUtterance:o,appendSpokenExchange:i}){let c=(0,sc.useAkropolysContext)(),[s,l]=(0,ht.useState)("off"),[h,d]=(0,ht.useState)("idle"),[u,p]=(0,ht.useState)(""),[g,f]=(0,ht.useState)(!1),[k,z]=(0,ht.useState)(!1),[b,N]=(0,ht.useState)(()=>{try{let I=localStorage.getItem(fo);if(I&&Cn.some(K=>K.name===I))return I}catch{}return n||"Puck"}),M=(0,ht.useRef)(oc()),E=(0,ht.useCallback)(I=>{N(I);try{localStorage.setItem(fo,I)}catch{}},[]),F=Gi({lang:e||r,onUtterance:I=>{d("thinking"),o(I)},onError:I=>{l("off"),d("idle"),p(I==="not-allowed"?"micDenied":I==="language-not-supported"?"micLangUnsupported":I==="audio-capture"?"micMissing":I==="network"?"micNetwork":"micFailed")},onBargeIn:()=>{Ui()}}),H=c?.voiceUrl||c?.api?.voiceUrl||c?.api?.apiUrl||c?.apiUrl||"",Q=c?.api?.siteId||c?.siteId||"",T=c?.api?.apiToken||c?.apiToken||"",A=c?.getShopperId?.()||c?.getKikuPub?.()||void 0,G=c?.getShopperName?.()||void 0,B=rc({apiUrl:H,siteId:Q,token:T,kikuId:A,sessionId:c?.getSessionId?.()||void 0,storeScene:I=>c?.storeScene?.(I)??Promise.resolve(!1),name:G,language:t,voice:b,muted:g,onExchange:I=>{i(I.heard,I.said,I.duration,I.userAudioUrl,I.audioUrl,{images:I.images,visualization:I.visualization,live:M.current})},onError:I=>{if(I==="shopper_reply_limit"||I==="access_revoked"||I==="account_required"){z(!0),B.stop(),l("off");return}l("off"),p(I==="idle"?"voiceIdleEnded":I==="not-allowed"?"micDenied":I==="audio-capture"?"micMissing":I==="limit"?"voiceLimitReached":I==="siteLimit"?"voiceSiteLimit":I==="connection"||I==="network"?"micNetwork":"voiceUnavailable")},onRefused:I=>{(I==="shopper_reply_limit"||I==="access_revoked"||I==="account_required")&&z(!0),l("off"),p("voiceUnavailable")}}),X=typeof window<"u"&&!!window.WebSocket&&!!(window.AudioContext||window.webkitAudioContext)&&!!navigator.mediaDevices?.getUserMedia,{prewarm:xe}=B;(0,ht.useEffect)(()=>{if(!X)return;let I=window;if(I.requestIdleCallback){let x=I.requestIdleCallback(xe,{timeout:3e3});return()=>I.cancelIdleCallback(x)}let K=window.setTimeout(xe,1500);return()=>window.clearTimeout(K)},[X,xe]),(0,ht.useEffect)(()=>{s==="converse"&&B.state==="ended"&&(l("off"),p("voiceSessionEnded"))},[s,B.state]);let[se,V]=(0,ht.useState)(ac),re=(0,ht.useCallback)(async I=>{if(!yi()){p("micInsecure");return}if(p(""),l(I),I==="dictate")d("listening"),await F.start();else{let K=Dd(a,M.current);V(K),B.start(K.turns)}},[B,F,a]),W=(0,ht.useCallback)(()=>{B.stop(),M.current=oc(),V(ac),B.start([])},[B]),_=(0,ht.useCallback)(()=>{l("off"),d("idle"),F.stop(),B.stop()},[B,F]),J=s==="converse"?_d(B.state):s==="dictate"?h==="listening"?F.hearing?"speaking":"listening":h:"idle",C=s==="converse"&&B.state!=="listening"&&B.state!=="thinking"&&B.state!=="speaking";return{attachPhoto:async I=>{await B.attachPhoto(I)||p("voicePhotoFailed")},voiceMode:s,voicePhase:J,voiceConnecting:C,voiceError:u,setVoiceError:p,voiceMuted:g,setVoiceMuted:f,voiceSecondsLeft:B.secondsLeft??null,voiceBlocked:k,liveVoiceName:b,chooseVoice:E,canConverse:X,startVoice:re,stopVoice:_,voice:F,live:B,earlier:se,newVoiceChat:W}}var ht,sc,_d,ac,oc,cc=Se(()=>{"use strict";ht=require("react"),sc=require("@akropolys/sdk");yo();Vi();nc();It();_d=e=>e==="connecting"||e==="ended"?"idle":e,ac={turns:[],images:[]},oc=()=>`v${Date.now().toString(36)}`});function $d(e){let r=1;for(;r<ga.length-1&&ga[r][0]<e;)r++;let[t,n,a]=ga[r-1],[o,i,c]=ga[r],s=o===t?0:(e-t)/(o-t),l=s*s*(3-2*s);return[n+(i-n)*l,a+(c-a)*l]}function hc(e,r,t,n){let a=l=>l.toFixed(2),o=(r+t)/2,i=e+n,c=(o-r)*.55,s=(t-o)*.55;return`C${a(e)} ${a(r+c)} ${a(i)} ${a(o-c)} ${a(i)} ${a(o)}C${a(i)} ${a(o+s)} ${a(e)} ${a(t-s)} ${a(e)} ${a(t)}`}function qd(e,r,t,n,a){let o=Sr(e*t,8,r*.96),i=Sr(e*n,8,r*.96),c=(d,u)=>`${d.toFixed(2)} ${u.toFixed(2)}`,s=.46,l=Sr((e-o)/e,0,1),h=Sr((e-i)/e,0,1);return`M${c(-e,-r+o)}C${c(-e,-r+o*s)} ${c(-e+o*s,-r)} ${c(-e+o,-r)}C${c(-e*.3*l,-r-2*l)} ${c(e*.3*l,-r-2*l)} ${c(e-o,-r)}C${c(e-o*s,-r)} ${c(e,-r+o*s)} ${c(e,-r+o)}`+hc(e,-r+o,r-i,a)+`C${c(e,r-i*s)} ${c(e-i*s,r)} ${c(e-i,r)}C${c(e*.3*h,r+2*h)} ${c(-e*.3*h,r+2*h)} ${c(-e+i,r)}C${c(-e+i*s,r)} ${c(-e,r-i*s)} ${c(-e,r-i)}`+hc(-e,r-i,-r+o,-a)+"Z"}function Ro(e){let n=(!zo.includes(e)&&Math.random()<.26?zo:Yr).filter(a=>a!==e);return n[Math.floor(Math.random()*n.length)]}function Zt(e){let r=parseInt(e.slice(1),16);return[r>>16&255,r>>8&255,r&255]}function Eo(e){return`rgb(${Math.round(e[0])}, ${Math.round(e[1])}, ${Math.round(e[2])})`}function Ud(e,r,t){return[e[0]+(r[0]-e[0])*t,e[1]+(r[1]-e[1])*t,e[2]+(r[2]-e[2])*t]}function uc({state:e="idle",size:r=40,alert:t=!1,theme:n,feminine:a,accessories:o,onImpact:i,triggerRef:c,dropIn:s=!1}){let l=(0,Ze.useRef)(s),h=(0,Ze.useRef)(e);h.current=e;let d=(0,Ze.useRef)(t);d.current=t;let u=n==="blush"||a===!0||!!(o?.flower||o?.eyelashes||o?.blush),p=o?.flower??u,g=o?.eyelashes??u,f=o?.blush??u,k=(0,Ze.useRef)(null),z=(0,Ze.useRef)(null),b=(0,Ze.useRef)(null),N=(0,Ze.useRef)(null),M=(0,Ze.useRef)(null),E=(0,Ze.useRef)(null),F=(0,Ze.useRef)(null),w=(0,Ze.useRef)(null),H=(0,Ze.useRef)(null),Q=(0,Ze.useRef)(null),T=(0,Ze.useRef)(null),A=(0,Ze.useRef)(null),G=(0,Ze.useRef)(null),B=(0,Ze.useRef)(null),X=(0,Ze.useRef)([]),xe=(0,Ze.useRef)([]),se=(0,Ze.useRef)(null),V=(0,Ze.useRef)(`kiku-${Math.random().toString(36).slice(2,8)}`).current,re=(0,Ze.useRef)(i);return re.current=i,(0,Ze.useEffect)(()=>{let W=window.matchMedia("(prefers-reduced-motion: reduce)").matches,_={},J={};lc.forEach(ze=>{_[ze]=Mo.idle[ze]??To.idle[ze]??0,J[ze]=0});let C=Array.from({length:En},()=>({x:0,y:0,w:0,h:0,rx:0,a:0})),L=Array.from({length:En},()=>({x:0,y:0,w:0,h:0,rx:0,a:0})),I=1800,K=-1,x=0,R=2600,m=0,Z=!1,D=9e3+Math.random()*8e3,O=-1,S=0;l.current&&!W&&(O=Bd,S=performance.now()+Hd);let y=0,P=0,q=0,ce=4200,ge=0,me=0,ue=0,j=12e3,te=Yr[0],we=Zt(te.color),$e=Zt(te.light),ve=[...we],_e=[...$e],Oe=2600,et=-1/0,ye=!1,at=0,ct=!1,At=0,mt=0,Ye=0,Yt=!1,Lt=0,dr=ze=>{ze-et<Oe?(te=Ro(te),ve=Zt(te.color),_e=Zt(te.light),et=-1/0):et=ze},Xt=(ze,Mt,ne,he)=>{let fe=h.current,ae=Array.from({length:En},()=>({x:0,y:0,w:0,h:0,rx:0,a:0})),ke=(pe,Re,Le=0)=>{let Ne=Math.max(4,54*Math.max(.06,Mt));ae[pe]={x:Re+ne,y:-4+he+Le,w:21,h:Ne,rx:10.5,a:1}};if(fe==="thinking"){let Re=ze%2800/2800,Le=Math.pow(Math.sin(Re*Math.PI*2)*.5+.5,3);for(let Ne=0;Ne<4;Ne++){let nt=ze/700+Ne/4*Math.PI*2,nr=(26-Ne%2*5)*(1-.94*Le),ot=16+Le*6+Math.sin(ze/420+Ne)*1.4;ae[Ne]={x:Math.cos(nt)*nr,y:Math.sin(nt)*nr*.86+2,w:ot,h:ot,rx:ot/2,a:1}}}else if(fe==="visualizing")ae[0]={x:0,y:-2,w:78,h:26,rx:13,a:1};else if(fe==="speaking")for(let Re=0;Re<5;Re++){let Le=12+Math.abs(Math.sin(ze/150+Re*.9))*26;ae[Re]={x:(Re-4/2)*15,y:-2,w:9,h:Le,rx:4.5,a:1}}else fe==="failed"?(ke(0,-22,8),ke(1,22,8)):(ke(0,-22),ke(1,22));return ae};c&&(c.current=()=>{if(O>=0){ct=!0,te=Ro(te),ve=Zt(te.color),_e=Zt(te.light),et=-1/0;return}O=0,dr(At),D=At+4e3});let pr=ze=>{At=ze;let Mt=h.current,ne=Mo[Mt]??Mo.idle,he=To[Mt]??To.idle,fe=Mt==="idle"||Mt==="failed";fe&&!W&&(ze>R&&(x=(Math.random()-.5)*2,R=ze+1800+Math.random()*3600),_.wantGx=x*5);let ae=d.current?1:0;Ye=(Ye+(ae-mt)*.1)*.88,mt+=Ye;let ke=d.current&&!W?Math.sin(ze/480)*.055*mt:0,pe={bw:ne.bw*(1+mt*.34+ke),bh:ne.bh*(1+mt*.2+ke),tr:ne.tr,br:ne.br,bow:ne.bow,warm:he.warm,wob:he.wob,lid:he.lid,gx:fe&&!W?x*5:0,gy:fe&&!W?Math.sin(ze/2600)*2:0};!W&&fe&&(K<0&&ze>I&&(K=0),K>=0&&(K+=1/7,pe.lid=he.lid*Math.abs(K-.5)*2,K>=1&&(K=-1,pe.lid=he.lid,I=ze+(Math.random()<.22?340:2600+Math.random()*4200)))),lc.forEach(Pe=>{let tt=Pe;if(W){_[tt]=pe[tt];return}let Ue=tt==="lid"?.42:.11,Tt=tt==="lid"?.55:.78;J[tt]=(J[tt]+(pe[tt]-_[tt])*Ue)*Tt,_[tt]+=J[tt]});let Re=0,Le=0;!W&&d.current&&O<0&&ze>Lt&&(O=0,Lt=ze+2100,D=ze+4e3),!W&&Mt==="idle"?O<0&&ze>D&&(O=0,ye?(ye=!1,at=0,te=Ro(te),ve=Zt(te.color),_e=Zt(te.light),et=-1/0):(at++,dr(ze))):O<0&&(D=ze+3e3+Math.random()*3e3),O>=0&&(ze>=S&&(O+=1/96),[Re,Le]=$d(O),O>=1&&(O=-1,Re=0,Le=0,ct?(ct=!1,at=0,D=ze+150):!ye&&at>=2?(ye=!0,D=ze+240):D=ze+5e3+Math.random()*5e3));let Ne=Math.max(0,Re);if(d.current!==Yt){Yt=d.current;let Pe=d.current?pc:te;ve=Zt(Pe.color),_e=Zt(Pe.light),d.current&&!W&&(O<0&&(O=0),Lt=ze+2600)}let nt=d.current?pc:te;if(W)we=[...ve],$e=[..._e];else for(let Pe=0;Pe<3;Pe++)we[Pe]+=(ve[Pe]-we[Pe])*.055,$e[Pe]+=(_e[Pe]-$e[Pe])*.055;let nr=Eo(we),ot=Eo($e);A.current?.setAttribute("stop-color",nr),G.current?.setAttribute("stop-color",ot),B.current?.setAttribute("stop-color",ot);for(let Pe=0;Pe<4;Pe++){let tt=dc[Pe]+(Od[Pe]-dc[Pe])*mt;X.current[Pe]?.style.setProperty("stop-color",Eo(Ud(Wd[Pe],we,tt)))}let Pt=.34+Math.sin(ze/1200)*.06,Tr=Ne>.02?Math.min(.72,Pt+Ne*.34):Pt;T.current?.setAttribute("opacity",Tr.toFixed(3)),Ne>.04?re.current?.(Ne,nt.color,nt.glow):Ut>.04&&re.current?.(0,nt.color,nt.glow),Ut=Ne;let ur=W?0:Math.sin(ze/1900)*.9*_.wob,mr=_.bw*(1+Re*.55)+ur*.4,Rr=_.bh*(1-Re*.62),rn=qd(mr,Rr,Sr(_.tr+Ne*.5,0,1.2),Sr(_.br+Ne*.9,0,1),_.bow+ur+Ne*5);k.current?.setAttribute("d",rn),z.current?.setAttribute("d",rn);let nn=Mt==="thinking";nn!==Z&&(Z=nn,se.current?.setAttribute("filter",nn?`url(#${V}-goo)`:"none"));let Pa=Xt(ze,_.lid*(1-Ne*.85),_.gx,_.gy);for(let Pe=0;Pe<En;Pe++){let tt=Pa[Pe],Ue=C[Pe],Tt=L[Pe];for(let vt of["x","y","w","h","rx","a"]){if(W){Ue[vt]=tt[vt];continue}Tt[vt]=(Tt[vt]+(tt[vt]-Ue[vt])*.16)*.74,Ue[vt]+=Tt[vt]}let lt=xe.current[Pe];lt&&(lt.setAttribute("x",(Ue.x-Ue.w/2).toFixed(2)),lt.setAttribute("y",(Ue.y-Ue.h/2).toFixed(2)),lt.setAttribute("width",Math.max(0,Ue.w).toFixed(2)),lt.setAttribute("height",Math.max(0,Ue.h).toFixed(2)),lt.setAttribute("rx",Math.max(0,Math.min(Ue.rx,Ue.w/2,Ue.h/2)).toFixed(2)),lt.setAttribute("opacity",Sr(Ue.a,0,1).toFixed(2)))}let qn=W?0:Math.sin(ze/he.breath)*1.5;!W&&fe&&O<0?(ze>ce&&(q=(Math.random()<.5?-1:1)*(.35+Math.random()*.65),ce=ze+2600+Math.random()*4200),ze>j&&(ue=ue>.1?0:1,j=ze+(ue>.1?900:9e3+Math.random()*11e3))):(q=0,ue=0),P=(P+(q-y)*.028)*.9,y+=P,me=(me+(ue-ge)*.06)*.82,ge+=me;let an=_.bh-Rr,on=y*3.4+ge*4.5,Br=y*2.2+ge*3,Un=ge*2.4;if(b.current?.setAttribute("transform",`translate(${Br.toFixed(2)} ${(qn+an-Le+Un).toFixed(2)}) rotate(${on.toFixed(2)} 0 60)`),N.current&&N.current.setAttribute("transform",`translate(${Br.toFixed(2)} ${(qn+an-Le+Un).toFixed(2)}) rotate(${on.toFixed(2)} 0 60)`),p&&M.current){let Pe=-mr*.62,tt=-Rr*.7,Ue=-16+(W?0:Math.sin(ze/1400)*3)+on*.4;M.current.setAttribute("transform",`translate(${Pe.toFixed(2)}, ${tt.toFixed(2)}) rotate(${Ue.toFixed(2)})`)}if(f&&E.current){let Pe=12+_.gy*.5;E.current.setAttribute("transform",`translate(0, ${Pe.toFixed(2)})`)}if(g&&F.current){let Pe=Mt!=="thinking"&&Mt!=="visualizing"&&Mt!=="speaking";F.current.setAttribute("opacity",Pe?Sr(_.lid*1.3,0,1).toFixed(2):"0");let tt=(Ue,Tt)=>{let lt=Math.max(1,Math.min(Ue.w,Ue.h)/2),vt=Ue.y-Ue.h/2+lt,Wn="";for(let[On,Hr]of[[20,7],[48,8],[76,6.5]]){let br=On*Math.PI/180,Fa=Ue.x+Tt*Math.sin(br)*lt,_a=vt-Math.cos(br)*lt,Da=Ue.x+Tt*Math.sin(br)*(lt+Hr),fr=vt-Math.cos(br)*(lt+Hr)-1.5,Ba=Ue.x+Tt*Math.sin(br-.22)*(lt+Hr*.65),Ha=vt-Math.cos(br-.22)*(lt+Hr*.65);Wn+=` M ${Fa.toFixed(2)} ${_a.toFixed(2)} Q ${Ba.toFixed(2)} ${Ha.toFixed(2)} ${Da.toFixed(2)} ${fr.toFixed(2)}`}return Wn.trim()};w.current?.setAttribute("d",tt(C[0],-1)),H.current?.setAttribute("d",tt(C[1],1))}m=requestAnimationFrame(pr)},Ut=0;return m=requestAnimationFrame(pr),()=>cancelAnimationFrame(m)},[p,g,f,u]),(0,Te.jsxs)("svg",{className:"hsk-kiku-avatar",width:r,height:r,viewBox:"-100 -100 200 200","aria-hidden":"true",style:{display:"block",overflow:"visible"},children:[(0,Te.jsxs)("defs",{children:[(0,Te.jsx)("linearGradient",{id:`${V}-marble`,x1:".2",y1:"0",x2:".42",y2:"1",children:[0,40,82,100].map((W,_)=>(0,Te.jsx)("stop",{ref:J=>{X.current[_]=J},offset:`${W}%`,style:{stopColor:`var(--hsk-marble-${_+1}, #FAF7F2)`}},W))}),(0,Te.jsxs)("linearGradient",{id:`${V}-contact`,x1:"0",y1:"1",x2:"0",y2:"0",children:[(0,Te.jsx)("stop",{ref:A,offset:"0%",stopColor:Yr[0].color,stopOpacity:"0.9"}),(0,Te.jsx)("stop",{ref:G,offset:"45%",stopColor:Yr[0].light,stopOpacity:"0.5"}),(0,Te.jsx)("stop",{ref:B,offset:"100%",stopColor:Yr[0].light,stopOpacity:"0"})]}),(0,Te.jsxs)("radialGradient",{id:`${V}-sheen`,cx:".34",cy:".2",r:".55",children:[(0,Te.jsx)("stop",{offset:"0%",stopColor:"#FFFFFF",style:{stopOpacity:"var(--hsk-marble-sheen, .9)"}}),(0,Te.jsx)("stop",{offset:"100%",stopColor:"#FFFFFF",stopOpacity:"0"})]}),(0,Te.jsxs)("linearGradient",{id:`${V}-hibiscus-petal`,x1:"0",y1:"1",x2:"0",y2:"0",children:[(0,Te.jsx)("stop",{offset:"0%",stopColor:"#FF3366"}),(0,Te.jsx)("stop",{offset:"65%",stopColor:"#FF758F"}),(0,Te.jsx)("stop",{offset:"100%",stopColor:"#FFAAA6"})]}),(0,Te.jsxs)("radialGradient",{id:`${V}-blush-cheek`,cx:"50%",cy:"50%",r:"50%",children:[(0,Te.jsx)("stop",{offset:"0%",stopColor:"#FB7185",stopOpacity:"0.48"}),(0,Te.jsx)("stop",{offset:"100%",stopColor:"#FB7185",stopOpacity:"0"})]}),(0,Te.jsx)("clipPath",{id:`${V}-skin`,children:(0,Te.jsx)("use",{href:`#${V}-body`})}),(0,Te.jsxs)("filter",{id:`${V}-goo`,x:"-50%",y:"-50%",width:"200%",height:"200%",children:[(0,Te.jsx)("feGaussianBlur",{in:"SourceGraphic",stdDeviation:"4",result:"b"}),(0,Te.jsx)("feColorMatrix",{in:"b",values:"1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 18 -7"})]}),(0,Te.jsxs)("mask",{id:`${V}-cut`,children:[(0,Te.jsx)("path",{ref:z,d:"",fill:"#FFFFFF"}),(0,Te.jsx)("g",{ref:se,children:Array.from({length:En},(W,_)=>(0,Te.jsx)("rect",{ref:J=>{xe.current[_]=J},fill:"#000000"},_))})]})]}),(0,Te.jsxs)("g",{ref:b,mask:`url(#${V}-cut)`,children:[(0,Te.jsx)("path",{id:`${V}-body`,ref:k,d:"",fill:`url(#${V}-marble)`}),(0,Te.jsxs)("g",{clipPath:`url(#${V}-skin)`,children:[(0,Te.jsx)("ellipse",{cx:"-14",cy:"-40",rx:"46",ry:"34",fill:`url(#${V}-sheen)`}),(0,Te.jsx)("rect",{ref:T,x:"-100",y:"-20",width:"200",height:"100",fill:`url(#${V}-contact)`,opacity:"0.45"})]})]}),(0,Te.jsxs)("g",{ref:N,style:{pointerEvents:"none"},children:[f&&(0,Te.jsxs)("g",{ref:E,children:[(0,Te.jsx)("ellipse",{cx:"-28",cy:"0",rx:"10",ry:"5.5",fill:`url(#${V}-blush-cheek)`}),(0,Te.jsx)("ellipse",{cx:"28",cy:"0",rx:"10",ry:"5.5",fill:`url(#${V}-blush-cheek)`})]}),g&&(0,Te.jsxs)("g",{ref:F,children:[(0,Te.jsx)("path",{ref:w,stroke:"#3D1424",strokeWidth:"1.7",strokeLinecap:"round",fill:"none"}),(0,Te.jsx)("path",{ref:H,stroke:"#3D1424",strokeWidth:"1.7",strokeLinecap:"round",fill:"none"})]}),p&&(0,Te.jsxs)("g",{ref:M,className:"hsk-avatar-flower",children:[(0,Te.jsx)("path",{d:"M 0 0 C -12 -7 -15 5 0 0 Z",fill:"#10B981",transform:"translate(6, 4) rotate(-35)"}),[0,72,144,216,288].map(W=>(0,Te.jsx)("path",{d:"M 0 0 C -6 -13 6 -13 0 0 Z",fill:`url(#${V}-hibiscus-petal)`,stroke:"#FF2A5F",strokeWidth:"0.6",transform:`rotate(${W-18})`},W)),(0,Te.jsx)("path",{d:"M 0 0 Q 3 -10 9 -14",stroke:"#F59E0B",strokeWidth:"1.6",strokeLinecap:"round",fill:"none"}),(0,Te.jsx)("circle",{cx:"9",cy:"-14",r:"1.3",fill:"#FDE047"}),(0,Te.jsx)("circle",{cx:"7",cy:"-12",r:"1.1",fill:"#FDE047"}),(0,Te.jsx)("circle",{cx:"6.5",cy:"-15",r:"1.1",fill:"#FDE047"}),(0,Te.jsx)("circle",{cx:"0",cy:"0",r:"2.2",fill:"#881337"})]})]})]})}var Ze,Te,Mo,To,ga,Bd,Hd,En,lc,Sr,Yr,zo,Ku,Wd,dc,Od,pc,mc=Se(()=>{"use strict";Ze=require("react"),Te=require("react/jsx-runtime"),Mo={idle:{bw:50,bh:60,tr:1,br:.42,bow:3},thinking:{bw:46,bh:46,tr:1,br:1,bow:2},visualizing:{bw:64,bh:42,tr:.42,br:.42,bow:2},speaking:{bw:44,bh:54,tr:.9,br:.9,bow:3},failed:{bw:53,bh:45,tr:.95,br:.55,bow:4},curious:{bw:48,bh:52,tr:.9,br:.7,bow:3},welcoming:{bw:50,bh:58,tr:1,br:.5,bow:2},guiding:{bw:46,bh:50,tr:.8,br:.8,bow:2},happy:{bw:52,bh:56,tr:1,br:.4,bow:4},focused:{bw:48,bh:52,tr:.9,br:.7,bow:2}},To={idle:{lid:1,warm:0,breath:2100,wob:1},thinking:{lid:1,warm:.2,breath:1700,wob:1.6},visualizing:{lid:1,warm:.9,breath:1200,wob:2.2},speaking:{lid:1,warm:.35,breath:900,wob:1.8},failed:{lid:.28,warm:0,breath:3e3,wob:.6},curious:{lid:1,warm:.15,breath:1800,wob:1.4},welcoming:{lid:1,warm:.25,breath:1600,wob:1.2},guiding:{lid:1,warm:.2,breath:1500,wob:1.3},happy:{lid:1,warm:.4,breath:1200,wob:1.5},focused:{lid:1,warm:.2,breath:1500,wob:1.2}},ga=[[0,0,0],[.09,.54,0],[.19,-.36,32],[.31,-.22,58],[.42,-.12,68],[.54,.04,28],[.63,.96,0],[.71,.18,0],[.79,-.16,20],[.88,.34,0],[.95,-.05,4],[1,0,0]],Bd=.42,Hd=170;En=6,lc=["bw","bh","tr","br","bow","lid","warm","wob","gx","gy"],Sr=(e,r,t)=>Math.max(r,Math.min(t,e));Yr=[{name:"Graphite",color:"#4B5058",light:"#A8AEB6",glow:"rgba(75, 80, 88, 0.26)"},{name:"Mist",color:"#78868F",light:"#BFC9CF",glow:"rgba(120, 134, 143, 0.26)"},{name:"Sandstone",color:"#8A7E71",light:"#CBC1B5",glow:"rgba(138, 126, 113, 0.26)"},{name:"Pewter",color:"#5F6670",light:"#B3BAC3",glow:"rgba(95, 102, 112, 0.26)"}],zo=[{name:"Aegean",color:"#2E6FB7",light:"#9CC1E6",glow:"rgba(46, 111, 183, 0.30)"},{name:"Fern",color:"#3C8C60",light:"#A2CFB4",glow:"rgba(60, 140, 96, 0.30)"},{name:"Marigold",color:"#C48A22",light:"#EBD095",glow:"rgba(196, 138, 34, 0.30)"},{name:"Coral",color:"#C15A4E",light:"#E9AEA3",glow:"rgba(193, 90, 78, 0.30)"},{name:"Iris",color:"#5F5CC4",light:"#B6B4E8",glow:"rgba(95, 92, 196, 0.30)"}],Ku=[...Yr,...zo];Wd=[[255,253,248],[247,240,231],[231,218,202],[198,178,156]],dc=[.05,.15,.42,.74],Od=[.52,.72,.9,1],pc={color:"#E2581D",light:"#FFBE96",glow:"rgba(226, 88, 29, 0.34)"}});function xa({className:e="",compact:r=!1}){let[t,n]=(0,Lo.useState)(()=>ta()),[a,o]=(0,Lo.useState)(""),i=()=>{let c=!t;Ms(c),n(c),Gt(c?"reply":"interrupt",!0),o(Rs())};return(0,Et.jsxs)("button",{type:"button",className:de("hsk-cb-sound-pill",r&&"is-compact",t&&"is-on",a&&a!=="running"&&a!=="off"&&"is-blocked",e),onClick:i,role:"switch","aria-checked":t,"aria-label":t?"Mute notification sounds":"Unmute notification sounds",children:[(0,Et.jsxs)("svg",{width:"13",height:"13",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:[(0,Et.jsx)("path",{d:"M11 5 6 9H3v6h3l5 4V5Z"}),t?(0,Et.jsxs)(Et.Fragment,{children:[(0,Et.jsx)("path",{className:"hsk-snd-wave",style:{"--hsk-wave":0},d:"M15.5 8.5a5 5 0 0 1 0 7"}),(0,Et.jsx)("path",{className:"hsk-snd-wave",style:{"--hsk-wave":1},d:"M18.5 5.5a9 9 0 0 1 0 13"})]}):(0,Et.jsxs)(Et.Fragment,{children:[(0,Et.jsx)("line",{className:"hsk-snd-x",x1:"16",y1:"9",x2:"21",y2:"15"}),(0,Et.jsx)("line",{className:"hsk-snd-x",x1:"21",y1:"9",x2:"16",y2:"15"})]})]}),!r&&(0,Et.jsx)("span",{children:t?"Sounds":"Muted"})]})}var Lo,Et,No=Se(()=>{"use strict";Lo=require("react");yt();Wr();Et=require("react/jsx-runtime")});function Qd(e,r,t,n){let a=3*e,o=3*(t-e)-a,i=1-a-o,c=3*r,s=3*(n-r)-c,l=1-c-s,h=p=>((i*p+o)*p+a)*p,d=p=>((l*p+s)*p+c)*p,u=p=>(3*i*p+2*o)*p+a;return p=>{let g=p;for(let f=0;f<8;f++){let k=h(g)-p,z=u(g);if(Math.abs(k)<1e-5||Math.abs(z)<1e-6)break;g-=k/z}return d(va(g))}}function Zd(e){let r=e.getBoundingClientRect();return{top:r.top,left:r.left,width:r.width,height:r.height,radius:Math.min(parseFloat(getComputedStyle(e).borderTopLeftRadius)||0,r.height/2)}}function bc({target:e,trigger:r,shadow:t,radius:n=0,enabled:a,onClosed:o}){let i=(0,$t.useRef)(null),c=(0,$t.useRef)(null),s=(0,$t.useRef)(!1),l=(0,$t.useRef)(0),h=(0,$t.useRef)(null),d=(0,$t.useRef)(o);d.current=o;let u=(0,$t.useCallback)(b=>{l.current=b;let N=e(),M=i.current,E=c.current;if(!N||!M||!E)return;let F=1-b,w=Math.min(Math.max(M.top,E.top),E.bottom-M.height),H=Math.min(Math.max(M.left,E.left),E.right-M.width),Q=(M.top-w)*F,T=(M.left-H)*F,A=Math.max(0,(w-E.top)*F),G=Math.max(0,(H-E.left)*F),B=Math.max(0,(E.right-H-M.width)*F),X=Math.max(0,(E.bottom-w-M.height)*F),xe=M.radius*F+n*b;N.style.clipPath=`inset(${A}px ${B}px ${X}px ${G}px round ${xe}px)`,N.style.translate=T||Q?`${T}px ${Q}px`:"";let se=t?.();se&&Object.assign(se.style,{left:`${G}px`,top:`${A}px`,width:`${Math.max(0,E.width-G-B)}px`,height:`${Math.max(0,E.height-A-X)}px`,borderRadius:`${xe}px`,translate:N.style.translate}),N.style.setProperty("--hsk-island-content",String(va((b-Kd)/Yd)));let V=String(va(b/Xd));N.style.opacity=V,se&&(se.style.opacity=V)},[e,t,n]),p=()=>{let b=e();if(b)for(let M of["clip-path","translate","--hsk-island-content","opacity"])b.style.removeProperty(M);let N=t?.();if(N)for(let M of["left","top","width","height","border-radius","translate","opacity"])N.style.removeProperty(M)},g=()=>{h.current!==null&&cancelAnimationFrame(h.current),h.current=null},f=(b,N,M)=>{g();let E=l.current,F=Math.max(jd,N*Math.abs(b-E)),w=performance.now(),H=Q=>{let T=va((Q-w)/F);u(E+(b-E)*Jd(T)),T<1?h.current=requestAnimationFrame(H):(h.current=null,M())};u(E),h.current=requestAnimationFrame(H)},k=(b,N)=>{i.current=Zd(N),b.style.clipPath="",b.style.translate="",c.current=b.getBoundingClientRect()};return(0,$t.useLayoutEffect)(()=>{if(!a)return;let b=e(),N=r();if(!(!b||!N))return s.current=!1,b.style.removeProperty("pointer-events"),k(b,N),l.current=0,f(1,Gd,p),()=>{g(),p()}},[a]),{close:(0,$t.useCallback)(()=>{let b=e(),N=a?r():null,M=N?.getBoundingClientRect(),E=M&&M.bottom>0&&M.top<window.innerHeight;if(!b||!N||!E){d.current();return}let F=h.current!==null?l.current:1;k(b,N),s.current=!0,b.style.pointerEvents="none",l.current=F,f(0,Vd,()=>d.current())},[a,e,r])}}var $t,Gd,Vd,jd,Kd,Yd,Xd,va,Jd,fc=Se(()=>{"use strict";$t=require("react"),Gd=300,Vd=220,jd=120,Kd=.45,Yd=.4,Xd=.25,va=e=>Math.min(1,Math.max(0,e));Jd=Qd(.32,.72,0,1)});function gc({title:e,logo:r,hasMessages:t,avatarState:n="idle",unread:a=!1,awayFromBottom:o=!1,themeMenuOpen:i=!1,themeMenuClosing:c=!1,onThemeMenuClosed:s,isNarrow:l=!1,currentTheme:h="dark",onJumpToLatest:d,onReset:u,onClose:p,onToggleThemeMenu:g,onSelectTheme:f,themeAttr:k,below:z}){let b=wr(),N=Qe.default.useRef(null),M=Qe.default.useRef(null),E=Qe.default.useRef(null),F=Qe.default.useRef(null),[w]=Qe.default.useState(()=>{let m=!kc;return kc=!0,m});Qe.default.useLayoutEffect(()=>{let m=N.current,Z=F.current,D=M.current;if(!m||!Z||!D)return;let O=Z.offsetParent;if(!O)return;let S=O.offsetTop+Z.offsetTop+Z.offsetHeight/2;m.style.setProperty("--hsk-tray-top",`${S}px`),m.style.setProperty("--hsk-tray-head",`${Z.offsetHeight/2+8}px`),m.style.setProperty("--hsk-tray-h",`${D.offsetHeight}px`),m.style.setProperty("--hsk-tray-w",`${D.offsetWidth}px`)},[i,l]);let[H]=Qe.default.useState(()=>typeof window<"u"&&!window.matchMedia?.("(prefers-reduced-motion: reduce)").matches),[Q,T]=Qe.default.useState(!1);Qe.default.useEffect(()=>{if(!l||Q)return;let m=window.requestIdleCallback,Z=m?m(()=>T(!0),{timeout:1200}):setTimeout(()=>T(!0),600);return()=>{let D=window.cancelIdleCallback;m&&D?D(Z):clearTimeout(Z)}},[l,Q]);let A=l&&(i||Q),G=bc({target:Qe.default.useCallback(()=>M.current,[]),trigger:Qe.default.useCallback(()=>F.current,[]),shadow:Qe.default.useCallback(()=>E.current,[]),radius:18,enabled:l&&i&&H,onClosed:()=>s?.()});Qe.default.useEffect(()=>{l&&c&&G.close()},[c,l]);let[B,X]=Qe.default.useState(!1),[xe,se]=Qe.default.useState("#134e3d"),[V,re]=Qe.default.useState("rgba(19, 78, 61, 0.45)"),W=Qe.default.useRef(void 0),_=Qe.default.useRef(null),J=Qe.default.useRef(!1),C=Qe.default.useRef(0),L=Qe.default.useCallback(()=>{J.current=!1,C.current=Date.now(),_.current=setTimeout(()=>{if(J.current=!0,typeof navigator<"u"&&navigator.vibrate)try{navigator.vibrate(25)}catch{}g?.()},350)},[g]),I=Qe.default.useCallback(()=>{_.current&&(clearTimeout(_.current),_.current=null)},[]),K=Qe.default.useCallback(()=>{_.current&&(clearTimeout(_.current),_.current=null)},[]),x=Qe.default.useCallback(m=>{if(J.current){J.current=!1,m.preventDefault(),m.stopPropagation();return}o?d?.():l?g?.():W.current?.()},[o,l,d,g]),R=Qe.default.useCallback((m,Z,D)=>{m>.04?(X(!0),se(Z),re(D)):X(!1)},[]);return(0,Ge.jsxs)("div",{ref:N,className:de("hsk-cb-topbar",l&&i&&"is-docked"),children:[(0,Ge.jsx)("div",{className:"hsk-cb-topbar-left",style:{minWidth:"34px"},children:l&&(0,Ge.jsx)("button",{type:"button",className:"hsk-cb-back",onClick:p,"aria-label":b("back"),children:(0,Ge.jsx)("span",{className:"hsk-cb-back-icon",children:(0,Ge.jsx)(aa,{})})})}),(0,Ge.jsxs)("div",{className:de("hsk-cb-topbar-mark",l&&i&&"is-oozing"),"data-impacting":B?"true":"false",style:{"--hsk-contact-color":xe,"--hsk-contact-glow":V},"data-unread":a?"true":"false",onTouchStart:L,onTouchEnd:I,onTouchMove:K,onTouchCancel:K,onClick:x,role:"button",tabIndex:0,"aria-label":o?b("jumpToLatest"):`${e} (tap for themes)`,children:[(0,Ge.jsx)(uc,{state:n,size:34,theme:h,alert:a,onImpact:R,triggerRef:W,dropIn:w}),r?(0,Ge.jsx)("img",{ref:F,className:"hsk-cb-topbar-logo",src:r,alt:e}):(0,Ge.jsx)("span",{ref:F,className:"hsk-cb-topbar-name",children:e})]}),(0,Ge.jsxs)("div",{className:"hsk-cb-topbar-actions",style:{display:"flex",alignItems:"center",gap:"6px"},children:[t&&(0,Ge.jsx)("button",{className:"hsk-cb-topbar-btn",onClick:u,children:b("clearChat")}),!l&&(0,Ge.jsx)("button",{type:"button",className:"hsk-cb-squircle-btn hsk-cb-exit-btn",onClick:p,"aria-label":"Close Chat",children:(0,Ge.jsx)(Or,{})})]}),l&&i&&(0,Ge.jsx)("div",{className:de("hsk-cb-topbar-scrim",c&&"is-closing"),onClick:g,"aria-hidden":"true"}),A&&(0,Ge.jsx)("div",{className:de("hsk-cb-tray-shadow",!i&&"is-parked"),"aria-hidden":"true",children:(0,Ge.jsx)("div",{ref:E})}),A&&(0,Ge.jsx)("div",{ref:M,className:de("hsk-cb-topbar-ooze-menu",c&&"is-closing",H&&"is-island",!i&&"is-parked"),role:"dialog","aria-label":"Theme selector",style:{position:"absolute",left:"50%",transform:"translateX(-50%)",zIndex:1e3},onPointerDown:m=>m.stopPropagation(),onClick:m=>m.stopPropagation(),onMouseDown:m=>m.stopPropagation(),children:(0,Ge.jsxs)("div",{className:"hsk-cb-theme-block",children:[(0,Ge.jsxs)("div",{className:"hsk-cb-tray-aside",children:[(0,Ge.jsx)(xa,{compact:!0}),(0,Ge.jsx)("span",{className:"hsk-cb-tray-rule","aria-hidden":"true"}),(0,Ge.jsx)("span",{className:"hsk-cb-theme-vlabel","aria-hidden":"true",children:"Themes"})]}),(0,Ge.jsx)("div",{className:"hsk-cb-theme-2x2-grid",children:Lr.map(({id:m,label:Z,Icon:D})=>(0,Ge.jsxs)("button",{type:"button",className:de("hsk-cb-theme-grid-item",h===m&&"is-active"),onClick:O=>{O.stopPropagation(),f?.(m)},children:[(0,Ge.jsx)(D,{}),(0,Ge.jsx)("span",{children:Z})]},m))})]})}),l&&i&&z&&(0,Ge.jsx)("div",{className:de("hsk-cb-tray-below",c&&"is-closing"),children:z})]})}var Qe,Ge,kc,xc=Se(()=>{"use strict";Qe=Wt(require("react"));It();Bt();oo();mc();No();yt();fc();Ge=require("react/jsx-runtime"),kc=!1});function wc(e,r,t,n,a,o=0){let i=[];for(let l=0;l<16;l++){let h=l/16*Math.PI*2,d=1+Math.sin(l*2.3+1.7)*.06+Math.sin(l*5.1)*.03+In(e.n,l)*.02;i.push([r+Math.cos(h+o)*n*d,t+Math.sin(h+o)*a*d])}let c=(l,h)=>[(l[0]+h[0])/2,(l[1]+h[1])/2],{ctx:s}=e;s.beginPath(),s.moveTo(...c(i[15],i[0]));for(let l=0;l<16;l++)s.quadraticCurveTo(i[l][0],i[l][1],...c(i[l],i[(l+1)%16]));s.closePath()}function Sa(e,r){let{ctx:t,dpr:n}=e;t.shadowColor=`rgba(0,0,0,${.5-r*.22})`,t.shadowBlur=(4+r*14)*n,t.shadowOffsetX=(1.5+r*13)*n,t.shadowOffsetY=(2.5+r*17)*n}function $o(e,r,t,n){let a=e.ctx.createRadialGradient(r-n*.35,t-n*.4,0,r,t,n*1.15);return a.addColorStop(0,e.light),a.addColorStop(.35,e.clay),a.addColorStop(1,e.dark),a}function np(e,r,t){let n=e.ctx.createLinearGradient(0,r-t/2,0,r+t/2);return n.addColorStop(0,e.clay),n.addColorStop(.25,e.light),n.addColorStop(.5,e.clay),n.addColorStop(1,e.dark),n}function Pr(e,r,t=0){let{ctx:n}=e,a=r*(1+t*.3);n.save(),Sa(e,t),n.fillStyle=$o(e,zt,dt,a),wc(e,zt,dt,a,a,e.n*.03),n.fill(),n.restore()}function Io(e,r,t,n){let{ctx:a}=e;a.save(),n!==void 0&&(a.beginPath(),a.rect(0,0,wa,n),a.clip()),Sa(e,0),a.fillStyle=$o(e,zt,dt,Math.max(r,t)),wc(e,zt,dt,r,t),a.fill(),a.restore()}function ya(e,r,t,n,a,o=a/2,i=a/2){let{ctx:c}=e;c.save(),Sa(e,0),c.fillStyle=np(e,n,a),c.beginPath(),c.roundRect(r+In(e.n,r)*.6,n-a/2+In(e.n,n)*.6,t-r,a,[o,i,i,o]),c.fill(),c.restore()}function Do(e,r,t,n,a=0){let{ctx:o}=e,i=n*(1+a*.2);o.save(),Sa(e,a),o.fillStyle=$o(e,r,t,i),o.beginPath(),o.arc(r,t,i,0,Math.PI*2),o.fill(),o.restore(),o.save(),o.strokeStyle=e.dark,o.lineWidth=1.4,o.lineCap="round",o.beginPath();for(let c=0;c<=1.001;c+=.04){let s=c*Math.PI*5+r*.3,l=(1.5+c*(n-4))*(1+a*.2),h=r+Math.cos(s)*l,d=t+Math.sin(s)*l;c===0?o.moveTo(h,d):o.lineTo(h,d)}o.stroke(),o.restore()}function Ca(e,r){let{ctx:t}=e;t.save(),t.strokeStyle=`rgba(${e.ink},${.55*r})`,t.lineWidth=2,t.lineCap="round";for(let n=0;n<7;n++){let a=n/7*Math.PI*2+.14,o=38+(1-r)*8,i=n%2?5:8;t.beginPath(),t.moveTo(zt+Math.cos(a)*o,dt+Math.sin(a)*o),t.lineTo(zt+Math.cos(a)*(o+i),dt+Math.sin(a)*(o+i)),t.stroke()}t.restore()}function ap(e,r){let{ctx:t}=e;t.save(),t.strokeStyle=e.dark,t.lineWidth=1.5,t.lineCap="round",t.beginPath(),t.moveTo(r,dt-Jr/2+2),t.lineTo(r+In(e.n,r)*1.5,dt+Jr/2-2),t.stroke(),t.restore()}function zn(e,r,t=-1,n=-1){for(let a=0;a<Vt;a++){let o=0;for(let s=0;s<r;s++)o+=a<=s?-2:2;let i=Bo(a)+o,c=Bo(a+1)+o;a===n?Do(e,er((i+c)/2,Ho(a),.5),dt-4,_o,.5):a<=t?Do(e,Ho(a),dt,_o):ya(e,i,c,dt,Jr,a===0?Jr/2:2,a===Vt-1?Jr/2:2)}}function op(){let e=[];for(let n=0;n<5;n++)e.push({draw:a=>Pr(a,sr)});let r=[[sr,sr,34,38],[34,38,44,48],[44,48,Xr,Qr]];for(let[n,a,o,i]of r){for(let c=0;c<3;c++){let s=(c+1)/3,l=c===0?1.05:1;e.push({hold:1,thump:c===0?.25:void 0,draw:h=>Io(h,er(n,o,s),er(a,i,s)*l)})}e.push({hold:1,draw:c=>Io(c,o,i)})}let t=0;for(let n=0;n<12;n++){let a=(n+1)/12,o=er(dt+Qr,dt-Qr,a),i=er(8,24,a),c=(o-dt)/Qr;t=Math.max(t,2*Xr*Math.sqrt(Math.max(0,1-c*c)),30);let s=t;e.push({draw:l=>{a<1&&Io(l,Xr,Qr,o-i*.3),ya(l,zt-s/2,zt+s/2,o,i)}})}for(let n of[.5,1])e.push({draw:a=>ya(a,zt-Xr,zt+Xr,er(dt-Qr,dt,n),24)});for(let n=0;n<6;n++){let a=(n+1)/6,o=er(2*Xr,Fo,a),i=er(24,Jr,a),c=n%2?2:-2;e.push({draw:s=>ya(s,zt-o/2+c,zt+o/2+c,dt,i)})}for(let n=1;n<Vt;n++)e.push({draw:a=>{zn(a,n-1),ap(a,Bo(n))}}),e.push({thump:.35,draw:a=>zn(a,n)});e.push({draw:n=>zn(n,Vt-1)});for(let n=0;n<Vt;n++)e.push({thump:.12,draw:a=>zn(a,Vt-1,n-1,n)});for(let n=0;n<4;n++)e.push({draw:a=>zn(a,Vt-1,Vt-1)});for(let n of[.35,.7,1])e.push({draw:a=>{for(let o=0;o<Vt;o++)Do(a,er(Ho(o),zt,n),dt,er(_o,10,n),.4)}});return e.push({thump:1,draw:n=>{Pr(n,sr*1.3),Ca(n,1)}}),e.push({draw:n=>{Pr(n,sr*1.12),Ca(n,.4)}}),e.push({draw:n=>Pr(n,sr*1.04)}),e}function Ao(e,r){let t=document.createElement("span");t.style.display="none",t.style.color=r,e.parentElement?.appendChild(t);let n=getComputedStyle(t).color;return t.remove(),n}function Cc({phase:e,label:r}){let t=Nn.default.useRef(null),n=Nn.default.useRef(null),a=Nn.default.useRef({n:0,at:0,held:0,entered:!1,last:Ln[0]});return Nn.default.useEffect(()=>{let o=t.current,i=n.current,c=o?.getContext("2d");if(!o||!c||!i)return;let s=Math.min(window.devicePixelRatio||1,3);o.width=wa*s,o.height=Po*s;let l="var(--hsk-primary, #ff6a33)",h={ctx:c,dpr:s,n:0,clay:Ao(o,l),light:Ao(o,`color-mix(in srgb, ${l} 55%, white)`),dark:Ao(o,`color-mix(in srgb, ${l} 70%, black)`),ink:getComputedStyle(o).getPropertyValue("--hsk-doodle-ink").trim()||"31, 31, 31"},d=a.current,u=(b,N=1)=>{c.setTransform(s,0,0,s,0,0),c.clearRect(0,0,wa,Po),c.globalAlpha=N,h.n=d.n++,b.draw(h),c.globalAlpha=1},p=b=>{let N=o.getBoundingClientRect();mi({x:N.left+N.width/2,y:N.top+N.height/2,strength:b}),i.style.translate="0 1px",i.style.rotate=`${In(d.n,4)*.8}deg`};if(window.matchMedia?.("(prefers-reduced-motion: reduce)")?.matches){u(Ln[0]);return}let g=e==="exit"?null:e==="enter"&&!d.entered?vc:Ln;g&&(d.at=0);let f=0,k=0,z=()=>{if(i.style.translate="",i.style.rotate="",!g){f===0&&p(.6),u(d.last,yc[f]),++f>=yc.length&&clearInterval(k);return}let b=g[d.at];u(b),d.last=b,b.thump&&d.held===0&&p(b.thump),!(g===Ln&&++d.held<(b.hold??tp))&&(d.held=0,!(++d.at<g.length)&&(g===vc&&(d.entered=!0),g=Ln,d.at=0))};return z(),k=window.setInterval(z,ep),()=>clearInterval(k)},[e==="exit"]),(0,An.jsxs)("div",{className:"hsk-clay",children:[(0,An.jsx)("canvas",{className:"hsk-clay-table",ref:t,"aria-hidden":"true"}),(0,An.jsx)("p",{className:"hsk-lang-preparing",ref:n,children:r})]})}var Nn,An,ep,tp,wa,Po,zt,dt,sr,Xr,Qr,Fo,Jr,Vt,_o,rp,er,In,Bo,Ho,Ln,vc,yc,Sc=Se(()=>{"use strict";Nn=Wt(require("react"));vn();An=require("react/jsx-runtime"),ep=83,tp=2,wa=240,Po=160,zt=wa/2,dt=Po/2,sr=24,Xr=50,Qr=56,Fo=124,Jr=22,Vt=6,_o=13,rp=30,er=(e,r,t)=>e+(r-e)*t,In=(e,r)=>Math.sin(e*12.9898+r*78.233)*.5;Bo=e=>zt-Fo/2+Fo*e/Vt;Ho=e=>zt+(e-(Vt-1)/2)*rp;Ln=op(),vc=[...[1.6,1.25,.9,.5,.18].map(e=>({draw:r=>Pr(r,sr,e)})),{thump:.7,draw:e=>{Pr(e,sr*1.24),Ca(e,1)}},{draw:e=>{Pr(e,sr*1.08),Ca(e,.4)}}],yc=[1,.7,.35,0]});function sp(){return(0,ie.jsx)("span",{className:"hsk-cb-check","aria-hidden":"true",children:(0,ie.jsx)("svg",{viewBox:"0 0 16 16",children:(0,ie.jsx)("path",{d:"M3.5 8.4 6.6 11.4 12.6 4.8"})})})}function Mc({inOnboarding:e,justCompleted:r,onboardingMood:t,awaitingLang:n,awaitingName:a,awaitingEntityLang:o,awaitingConsent:i,termsAgreed:c,shopperLanguage:s,pendingLanguage:l,shopperName:h,entityLangPref:d,chromeReady:u,activeChips:p,speechLang:g,t:f,tNode:k,chooseLanguage:z,langSwitching:b=!1,isLangPreparing:N,onPrewarmLanguage:M,chooseEntityLang:E,agreeTerms:F,handleSend:w}){let H=l||s,Q=!H||H.toLowerCase()==="english"||H.toLowerCase()==="en",T=N??(b||!!l||!!s&&!u&&!Q),A=Ir(H),[G,B]=ir.default.useState(T),[X,xe]=ir.default.useState(()=>T?"spinner-steady":"idle"),se=ir.default.useRef([]),V=()=>{se.current.forEach(clearTimeout),se.current=[]};T!==G&&(B(T),V(),T?(xe("step1-exit"),se.current.push(setTimeout(()=>xe("spinner-enter"),280)),se.current.push(setTimeout(()=>xe("spinner-steady"),960))):(xe("spinner-exit"),se.current.push(setTimeout(()=>xe("idle"),460)))),ir.default.useEffect(()=>()=>V(),[]);let re=X==="spinner-enter"||X==="spinner-steady"||X==="spinner-exit",W=X==="step1-exit",_=re||W||!s||n?"1":!h||a?"2":!d||o?"3":!c||i?"4":null,[J,C]=ir.default.useState(null),[L,I]=ir.default.useState(3);ir.default.useEffect(()=>{if(!i)return;I(3);let x=setInterval(()=>{I(R=>R<=1?(clearInterval(x),0):R-1)},1e3);return()=>clearInterval(x)},[i]);let K=s?yn(s,g)||s.charAt(0).toUpperCase()+s.slice(1):"";return ir.default.useEffect(()=>{if(n&&M){let x=typeof window<"u"?window.requestIdleCallback:void 0,R=x?x(()=>M("Urdu"),{timeout:2e3}):setTimeout(()=>M("Urdu"),500);return()=>{x&&typeof window<"u"?window.cancelIdleCallback?.(R):clearTimeout(R)}}},[n,M]),(0,ie.jsx)("div",{className:"hsk-cb-empty",children:(0,ie.jsxs)("div",{className:"hsk-cb-onboarding-card",children:[_&&(0,ie.jsx)("div",{className:"hsk-cb-onboarding-head",children:(0,ie.jsxs)("span",{className:"hsk-cb-step-badge",dir:"ltr",children:[_," / 4"]})}),re?(0,ie.jsx)("div",{className:de("hsk-lang-loader",X==="spinner-enter"&&"hsk-lang-loader--enter",X==="spinner-exit"&&"hsk-lang-loader--exit"),children:(0,ie.jsx)(Cc,{phase:X==="spinner-exit"?"exit":X==="spinner-enter"?"enter":"steady",label:A.preparing})},"spinner-loading"):W||n||!s?(0,ie.jsxs)("div",{className:de("hsk-cb-hello-wrap",W&&"hsk-step1-exit"),children:[(0,ie.jsx)("h2",{className:"hsk-cb-hello",children:"Which language do you want to use?"}),(0,ie.jsxs)("div",{className:"hsk-cb-lang-chips",children:[ua.map((x,R)=>(0,ie.jsx)("button",{type:"button",className:"hsk-cb-lang-chip",style:{"--hsk-pill-idx":R},lang:x.tag,dir:x.rtl?"rtl":"ltr",disabled:b,onPointerEnter:()=>!b&&M?.(x.value),onPointerDown:()=>!b&&M?.(x.value),onClick:()=>!b&&z(x.value),children:x.native},x.value)),(0,ie.jsx)("span",{className:"hsk-cb-lang-chips-hint",style:{"--hsk-pill-idx":ua.length},children:"or type another one"})]})]},"step-lang"):a||!h?(0,ie.jsxs)("div",{className:"hsk-cb-hello-wrap hsk-cb-name-step hsk-step-enter",children:[(0,ie.jsx)("h2",{className:"hsk-cb-hello",children:f("nameStepTitle")}),(0,ie.jsx)("p",{className:"hsk-cb-hello-ask",children:f("nameStepAsk")}),(0,ie.jsx)("p",{className:"hsk-cb-hello-hint",children:f("nameStepHint")})]},"step-name"):o?(0,ie.jsxs)("div",{className:"hsk-cb-hello-wrap",children:[(0,ie.jsx)("h2",{className:"hsk-cb-hello",children:f("howShouldResultsLook")}),(0,ie.jsx)("p",{className:"hsk-cb-hello-lead",children:k("entityLangIntro",{lang:K})}),(0,ie.jsx)("div",{className:"hsk-cb-entlang-opts",role:"radiogroup","aria-label":f("howShouldResultsLook"),children:["translated","original"].map((x,R)=>(0,ie.jsxs)("button",{type:"button",role:"radio","aria-checked":(J??d)===x,className:de("hsk-cb-entlang-opt",(J??d)===x&&"is-selected"),style:{"--hsk-opt-idx":R},onClick:()=>C(x),children:[(0,ie.jsx)(sp,{}),(0,ie.jsxs)("span",{className:"hsk-cb-entlang-opt-text",children:[(0,ie.jsx)("span",{className:"hsk-cb-entlang-opt-title",children:x==="translated"?k("inLanguage",{lang:K}):f("asWritten")}),(0,ie.jsx)("span",{className:"hsk-cb-entlang-opt-note",children:f(x==="translated"?"detailsTranslated":"namesAsWritten")})]})]},x))}),(0,ie.jsx)("div",{className:"hsk-cb-terms-action-wrap",children:(0,ie.jsx)("button",{type:"button",className:de("hsk-cb-terms-agree-btn",J&&"is-active"),disabled:!J,onClick:()=>J&&E(J),children:f("continueButton")})})]},"step-entity-lang"):i?(0,ie.jsxs)("div",{className:"hsk-cb-hello-wrap",children:[(0,ie.jsx)("h2",{className:"hsk-cb-hello",children:f("termsStepTitle")}),(0,ie.jsx)("p",{className:"hsk-cb-hello-lead",children:f("termsStepSubtitle")}),(0,ie.jsxs)("div",{className:"hsk-cb-terms-sanctuary",children:[(0,ie.jsxs)("div",{className:"hsk-cb-terms-item",style:{"--hsk-row-idx":0},children:[(0,ie.jsxs)("div",{className:"hsk-cb-terms-head",children:[(0,ie.jsx)("span",{className:"hsk-cb-terms-numeral",children:"I"}),(0,ie.jsx)("h3",{className:"hsk-cb-terms-title",children:f("termsPiiTitle")})]}),(0,ie.jsx)("p",{className:"hsk-cb-terms-desc",children:f("termsPiiDesc")})]}),(0,ie.jsx)("div",{className:"hsk-cb-terms-divider"}),(0,ie.jsxs)("div",{className:"hsk-cb-terms-item",style:{"--hsk-row-idx":1},children:[(0,ie.jsxs)("div",{className:"hsk-cb-terms-head",children:[(0,ie.jsx)("span",{className:"hsk-cb-terms-numeral",children:"II"}),(0,ie.jsx)("h3",{className:"hsk-cb-terms-title",children:f("termsSessionTitle")})]}),(0,ie.jsx)("p",{className:"hsk-cb-terms-desc",children:f("termsSessionDesc")})]}),(0,ie.jsx)("div",{className:"hsk-cb-terms-divider"}),(0,ie.jsxs)("div",{className:"hsk-cb-terms-item",style:{"--hsk-row-idx":2},children:[(0,ie.jsxs)("div",{className:"hsk-cb-terms-head",children:[(0,ie.jsx)("span",{className:"hsk-cb-terms-numeral",children:"III"}),(0,ie.jsx)("h3",{className:"hsk-cb-terms-title",children:f("termsMemoryTitle")})]}),(0,ie.jsx)("p",{className:"hsk-cb-terms-desc",children:f("termsMemoryDesc")})]}),(0,ie.jsx)("div",{className:"hsk-cb-terms-divider"}),(0,ie.jsxs)("div",{className:"hsk-cb-terms-item",style:{"--hsk-row-idx":3},children:[(0,ie.jsxs)("div",{className:"hsk-cb-terms-head",children:[(0,ie.jsx)("span",{className:"hsk-cb-terms-numeral",children:"IV"}),(0,ie.jsx)("h3",{className:"hsk-cb-terms-title",children:f("termsCookieTitle")})]}),(0,ie.jsx)("p",{className:"hsk-cb-terms-desc",children:f("termsCookieDesc")})]}),(0,ie.jsx)("div",{className:"hsk-cb-terms-divider"}),(0,ie.jsxs)("div",{className:"hsk-cb-terms-item",style:{"--hsk-row-idx":4},children:[(0,ie.jsxs)("div",{className:"hsk-cb-terms-head",children:[(0,ie.jsx)("span",{className:"hsk-cb-terms-numeral",children:"V"}),(0,ie.jsx)("h3",{className:"hsk-cb-terms-title",children:f("termsAiTitle")})]}),(0,ie.jsx)("p",{className:"hsk-cb-terms-desc",children:f("termsAiDesc")})]})]}),(0,ie.jsxs)("p",{className:"hsk-cb-terms-more",children:[f("privacyMore")," ",(0,ie.jsx)("a",{href:"https://akropolys.cloud/privacy",target:"_blank",rel:"noopener noreferrer",dir:"ltr",children:"akropolys.cloud/privacy"})]}),(0,ie.jsx)("div",{className:"hsk-cb-terms-action-wrap",children:(0,ie.jsx)("button",{type:"button",className:de("hsk-cb-terms-agree-btn",L===0&&"is-active"),disabled:L>0,onClick:F,children:L>0?f("termsAgreeCounting",{seconds:String(L)}):f("termsAgreeButton")})})]},"step-terms"):r?(0,ie.jsxs)("div",{className:"hsk-cb-hello-wrap",children:[(0,ie.jsx)("h2",{className:"hsk-cb-hello",children:k("allSet",{name:h})}),(0,ie.jsx)("p",{className:"hsk-cb-hello-lead",children:d==="translated"?k("replyingTranslated",{lang:K}):k("replyingOriginal",{lang:K})})]},"step-completed"):h?(0,ie.jsxs)("div",{className:"hsk-cb-hello-wrap",children:[(0,ie.jsx)("h2",{className:"hsk-cb-hello",children:k("greetReturning",{name:h})}),(0,ie.jsx)("p",{className:"hsk-cb-hello-lead",children:f("greetReturningLead")})]},"step-returning"):(0,ie.jsxs)("div",{className:"hsk-cb-hello-wrap",children:[(0,ie.jsxs)("h2",{className:"hsk-cb-hello",children:["Hello, I am ",(0,ie.jsx)("b",{children:"kiku"}),"."]}),(0,ie.jsx)("p",{className:"hsk-cb-hello-lead",children:"Ask me to find, show or save anything. I look through this whole website for you."})]},"step-initial"),!e&&(p?.length??0)>0&&(0,ie.jsx)("div",{className:"hsk-cb-chips",children:p.map((x,R)=>(0,ie.jsx)("button",{className:"hsk-cb-chip",style:{"--hsk-pill-idx":R},onClick:()=>w(x),children:x},x))})]})})}var ir,ie,Tc=Se(()=>{"use strict";ir=Wt(require("react"));yt();It();Sc();ie=require("react/jsx-runtime")});function Ma(e){let r=e.match(/<\s*thinking\s*>/i);if(!r)return{thinking:"",content:e,isComplete:!0};let t=r.index??0,n=r[0].length,a=t+n,o=e.slice(0,t),i=e.slice(a),c=i.match(/<\/\s*thinking\s*>/i);if(!c)return{thinking:i,content:o,isComplete:!1};let s=c.index??0,l=c[0].length;return{thinking:i.slice(0,s),content:o+i.slice(s+l),isComplete:!0}}function ip(e){return e<60?`${Math.max(1,Math.round(e))}s`:e<3600?`${Math.round(e/60)} min`:`${Math.round(e/3600)} h`}function Rc({text:e,isComplete:r,seconds:t,stage:n,repliedSeconds:a}){let o=wr(),i=(0,_r.useRef)(Date.now()),[c,s]=(0,_r.useState)(()=>r?null:0),[l,h]=(0,_r.useState)(!r);(0,_r.useEffect)(()=>{if(r){c!==null&&(s(Math.max(1,Math.round((Date.now()-i.current)/1e3))),h(!1));return}h(!0);let g=setInterval(()=>{s(Math.round((Date.now()-i.current)/1e3))},1e3);return()=>clearInterval(g)},[r]);let d=t??c,u=a!=null?o("repliedIn",{duration:ip(a)}):n==="with_team"?o("withTeam"):n==="back_with_kiku"?o("backWithKiku"):n==="team_closed"?o("teamClosed"):n==="team_joined"?o("teamJoined"):n==="reaching_team"?r?o("passedToTeam"):`${o("reachingTeam")}\u2026`:r?d!=null?o("thoughtForSeconds",{duration:`${d}s`}):o("thoughtProcess"):`${o("thinking")}${c?` \xB7 ${c}s`:"\u2026"}`,p=!!e;return(0,Fr.jsxs)("div",{className:de("hsk-cb-think",!r&&"hsk-cb-think--live",a==null&&Pn(n)&&"hsk-cb-think--note"),children:[(0,Fr.jsxs)("button",{type:"button",className:de("hsk-cb-think-head",!p&&"hsk-cb-think-head--static"),onClick:p?()=>h(g=>!g):void 0,"aria-expanded":p?l:void 0,children:[(0,Fr.jsx)("span",{children:u}),p&&(0,Fr.jsx)("span",{className:de("hsk-cb-think-chevron",l&&"hsk-cb-think-chevron--open"),children:"\u25B6"})]}),p&&l&&(0,Fr.jsx)("div",{className:"hsk-cb-think-body",children:e})]})}var _r,Fr,Pn,Ta=Se(()=>{"use strict";_r=require("react");yt();It();Fr=require("react/jsx-runtime");Pn=e=>e==="with_team"||e==="back_with_kiku"||e==="team_closed"||e==="team_joined"});function Fn(e,r){let[t,n]=(0,tr.useState)(!1),a=(0,tr.useRef)(null),o=(0,tr.useRef)(r);o.current=r,(0,tr.useEffect)(()=>()=>{a.current&&clearTimeout(a.current)},[]);let i=(0,tr.useCallback)(()=>{a.current||(n(!0),a.current=setTimeout(()=>{a.current=null,n(!1),o.current()},e))},[e]),c=(0,tr.useCallback)(()=>{a.current&&(clearTimeout(a.current),a.current=null),n(!1),o.current()},[]);return{closing:t,requestClose:i,closeNow:c}}var tr,qo=Se(()=>{"use strict";tr=require("react")});function hp(e){return e>=1424&&e<=2303||e>=64285&&e<=65023||e>=65136&&e<=65279}function Ra(e,r=1){let t=0,n=0;for(let a of e.replace(lp," "))cp.test(a)&&(hp(a.codePointAt(0)??0)?t++:n++);if(!(t+n<r||t===n))return t>n?"rtl":"ltr"}var cp,lp,Uo=Se(()=>{"use strict";cp=/\p{L}/u,lp=/\]\([^)]*\)|https?:\/\/\S+|www\.\S+/g});function _n(e){let r=String(e??"").trim();return Lc.test(r)||r.startsWith("/")&&!r.startsWith("//")?r:void 0}function Nc(e){if(xp.test(e))return!0;if(typeof location>"u")return!1;try{let r=new URL(e,location.href);return/^https?:$/.test(r.protocol)&&(r.host===location.host||!!Wo?.has(r.host))}catch{return!1}}function Ec(e,r){let t=e.trim();return r?t.includes("|"):t.startsWith("|")}function zc(e){let r=e.trim();return r.startsWith("|")&&(r=r.slice(1)),r.endsWith("|")&&(r=r.slice(0,-1)),r.split("|").map(t=>t.trim())}function Sp({children:e}){let r=Dr.default.useRef(null),[t,n]=Dr.default.useState("none"),[a,o]=Dr.default.useState(!1),i=Dr.default.useRef({startX:0,scrollLeft:0,isDown:!1,hasMoved:!1}),c=Dr.default.useCallback(()=>{let d=r.current;if(!d)return;if(!(d.scrollWidth>d.clientWidth+2)){n("none");return}let p=getComputedStyle(d).direction==="rtl",g=Math.abs(d.scrollLeft),f=g<=4,k=g+d.clientWidth>=d.scrollWidth-4;n(f?p?"right":"left":k?p?"left":"right":"middle")},[]);Dr.default.useEffect(()=>{c();let d=r.current;if(!d)return;let u=typeof ResizeObserver<"u"?new ResizeObserver(c):null;return u?.observe(d),()=>u?.disconnect()},[c]);let s=d=>{let u=r.current;!u||u.scrollWidth<=u.clientWidth||d.target.closest("a, button, input")||(i.current={startX:d.pageX-u.offsetLeft,scrollLeft:u.scrollLeft,isDown:!0,hasMoved:!1},o(!0))},l=d=>{if(!i.current.isDown)return;let u=r.current;if(!u)return;let g=(d.pageX-u.offsetLeft-i.current.startX)*1.5;Math.abs(g)>3&&(i.current.hasMoved=!0,d.preventDefault(),u.scrollLeft=i.current.scrollLeft-g)},h=()=>{i.current.isDown=!1,o(!1)};return(0,We.jsx)("div",{ref:r,className:`hsk-table-wrapper hsk-table-wrapper--${t}${a?" is-dragging":""}`,onScroll:c,onMouseDown:s,onMouseMove:l,onMouseUp:h,onMouseLeave:h,children:e})}function Ic(e,r=!1,t){Wo=t??null;try{return Mp(e,r)}finally{Wo=null}}function Mp(e,r){let t=e.split(`
|
|
36
|
+
`);if(r&&t.length>0){!e.endsWith(`
|
|
37
|
+
`)&&t[t.length-1].trim().startsWith("|")&&t.pop();let l=t.length-1;for(;l>=0&&t[l].trim().startsWith("|");)l--;l++,l<t.length&&!t.slice(l).some(h=>Cp.test(h))&&(t.length=l)}let n=(l,h)=>Ra(l,r&&h===t.length-1?15:1),a=[],o=[],i=0,c=()=>{o.length>0&&(a.push((0,We.jsx)("div",{className:"hsk-cb-ai-text",children:o},`text-bubble-${i++}`)),o=[])},s=0;for(;s<t.length;){let l=t[s],h=`md-line-${s}`;if(!l.trim()){s++;continue}let d=l.trim().match(/^!\[([^\]]*)\]\(([^)]+)\)$/);if(d){c();let p=d[1],g=d[2];Nc(g)&&a.push((0,We.jsx)("div",{className:"hsk-markdown-img-block",children:(0,We.jsx)("img",{src:g,alt:p||"Product image",className:"hsk-markdown-img",loading:"lazy",onError:f=>{f.target.style.display="none"}})},h)),s++;continue}let u=l.match(/^(#{1,3})\s+(.*)/);if(u){let p=u[1].length,g=`h${p+3}`;o.push((0,We.jsx)(g,{className:`hsk-markdown-h${p}`,dir:n(u[2],s),children:cr(u[2],h)},h)),s++;continue}if(l.match(/^[\s]*[-*+•]\s+/)){let p=[],g="";for(;s<t.length&&t[s].match(/^[\s]*[-*+•]\s+/);){let f=t[s].replace(/^[\s]*[-*+•]\s+/,"");g+=f+" ",p.push((0,We.jsx)("li",{children:cr(f,`li-${s}`)},`li-${s}`)),s++}o.push((0,We.jsx)("ul",{className:"hsk-markdown-list hsk-markdown-ul",dir:n(g,s-1),children:p},`ul-${h}`));continue}if(l.match(/^[\s]*\d+[\.\)]\s+/)){let p=[],g="";for(;s<t.length&&t[s].match(/^[\s]*\d+[\.\)]\s+/);){let f=t[s].replace(/^[\s]*\d+[\.\)]\s+/,"");g+=f+" ",p.push((0,We.jsx)("li",{children:cr(f,`li-${s}`)},`li-${s}`)),s++}o.push((0,We.jsx)("ol",{className:"hsk-markdown-list hsk-markdown-ol",dir:n(g,s-1),children:p},`ol-${h}`));continue}if(Ec(l,!1)){c();let p=[],g=[],f=[],k=!0;for(;s<t.length&&Ec(t[s],!0);){let E=t[s].trim();if(E.match(/^\|?[-:| ]+\|?$/)&&E.includes("-")){f=zc(E).map(H=>{let Q=H.trim(),T=Q.startsWith(":"),A=Q.endsWith(":");return T&&A?"center":A?"end":"start"}),s++,k=!1;continue}let F=zc(E);k&&p.length===0?p=F:g.push(F),s++}let z=Math.max(p.length,...g.map(E=>E.length)),b=[];for(let E=0;E<z;E++)if(f[E])b[E]=f[E];else if(E===0)b[E]="start";else{let F=g.filter(w=>{let H=(w[E]||"").trim();return/^[\$€£¥+-]?\d+([.,]\d+)?%?$/.test(H)||/^[\$€£¥+-]?\d+([.,]\d+)?\s*(bps|M|K|B)?$/i.test(H)}).length;b[E]=F>=Math.ceil(g.length/2)?"end":"start"}let N=p.length>0?(0,We.jsx)("tr",{children:p.map((E,F)=>(0,We.jsx)("th",{style:{textAlign:b[F]||"start"},children:(0,We.jsx)("bdi",{children:cr(E,`th-${h}-${F}`)})},`th-${h}-${F}`))},`tr-head-${h}`):null,M=g.map((E,F)=>(0,We.jsx)("tr",{children:E.map((w,H)=>(0,We.jsx)("td",{className:w.trim().startsWith("\u2713")?"hsk-md-ok":w.trim().startsWith("\u2717")?"hsk-md-bad":void 0,style:{textAlign:b[H]||"start"},children:(0,We.jsx)("bdi",{children:cr(w,`td-${h}-${F}-${H}`)})},`td-${h}-${F}-${H}`))},`tr-body-${h}-${F}`));a.push((0,We.jsx)(Sp,{children:(0,We.jsxs)("table",{className:"hsk-markdown-table",children:[N&&(0,We.jsx)("thead",{children:N}),(0,We.jsx)("tbody",{children:M})]})},`table-wrapper-${h}`));continue}o.push((0,We.jsx)("p",{className:"hsk-markdown-p",dir:n(l,s),children:cr(l,h)},h)),s++}return c(),(0,We.jsx)(We.Fragment,{children:a})}var Dr,We,dp,pp,up,mp,bp,fp,kp,gp,xp,Lc,Wo,vp,yp,wp,cr,Cp,Ac=Se(()=>{"use strict";Dr=Wt(require("react"));Uo();We=require("react/jsx-runtime"),dp=/[ \t]{2,}/g,pp=/ ([.,!?:;])/g,up=/\(([ \t]+)/g,mp=/([ \t]+)\)/g,bp=/(\d+)\s+(MP|mAh|W|GB|MB|KHz|Hz|KSh|KES|USD|EUR)\b/gi,fp=/(!\[[^\]]*\]\([^)]+\)|\[[^\]]+\]\([^)]+\)|\*\*[^*]+\*\*|`[^`]+`)/g,kp=/^!\[([^\]]*)\]\(([^)]+)\)$/,gp=/^\[([^\]]+)\]\(([^)]+)\)$/,xp=/^(data:image|blob):/i,Lc=/^(https?|mailto|tel):/i;Wo=null;vp=/memory|mimi/i,yp=/mimi\.akropolys/i,wp=e=>e&&e.replace(dp," ").replace(pp,"$1").replace(up,"(").replace(mp,")").replace(bp,"$1 $2"),cr=(e,r)=>wp(e).split(fp).map((a,o)=>{if(!a)return null;let i=`${r}-inline-${o}`;if(a.startsWith("`")&&a.endsWith("`"))return(0,We.jsx)("code",{className:"hsk-markdown-code",children:a.slice(1,-1)},i);if(a.startsWith("**")&&a.endsWith("**"))return(0,We.jsx)("strong",{children:cr(a.slice(2,-2),i)},i);let c=a.match(kp);if(c){let l=c[1],h=c[2];return Nc(h)?(0,We.jsx)("img",{src:h,alt:l||"Product image",className:"hsk-markdown-img",loading:"lazy",onError:d=>{d.target.style.display="none"}},i):null}let s=a.match(gp);if(s){let l=s[1],h=s[2];return vp.test(l)||yp.test(h)?null:Lc.test(h)||h.startsWith("/")?(0,We.jsx)("a",{href:h,target:"_blank",rel:"noopener noreferrer",className:"hsk-markdown-link",children:cr(l,i)},i):(0,We.jsx)("span",{children:cr(l,i)},i)}return a}),Cp=/^\s*\|?[\s:|-]*-[\s:|-]*\|?\s*$/});function Tp(e){let[,r]=(0,Dn.useState)(0),t=JSON.stringify(e);return(0,Dn.useEffect)(()=>(0,kt.subscribeLiveValues)(n=>{e.includes(n)&&r(a=>a+1)}),[t]),(0,Dn.useEffect)(()=>{let n=setInterval(()=>r(a=>a+1),1e3);return()=>clearInterval(n)},[]),e.map(kt.getLiveValue)}function Lp({record:e,now:r}){let t=(0,kt.isStale)(e,r),n=e.fields,a=Rp.find(s=>n[s]),o=a?n[a]:e.key,i=o.length>38?o.slice(0,36)+"\u2026":o,c=Object.entries(n).filter(([s,l])=>s!==a&&l!==""&&l.length<=zp&&!/^[0-9a-fA-F-]{26,}$/.test(l)).slice(0,Ep).map(([s,l])=>({label:(0,kt.labelFor)(s),value:(0,kt.formatLiveValue)(l),rawKey:s}));return(0,Ct.jsxs)("div",{className:`hsk-live-card${t?" is-stale":""}`,role:"region","aria-label":"Live values",children:[(0,Ct.jsx)("div",{className:"hsk-live-card__top",children:(0,Ct.jsxs)("div",{className:"hsk-live-card__badge",children:[(0,Ct.jsx)("span",{className:`hsk-live-dot${t?" is-stale":""}`,"aria-hidden":"true"}),(0,Ct.jsx)("span",{className:"hsk-live-card__age",children:t?`Paused \xB7 ${(0,kt.describeAge)(r-e.at)}`:`Live \xB7 ${(0,kt.describeAge)(r-e.at)}`})]})}),(0,Ct.jsx)("div",{className:"hsk-live-card__body",children:(0,Ct.jsx)("span",{className:"hsk-live-card__title",title:o,children:i})}),(0,Ct.jsx)("div",{className:"hsk-live-card__pills",children:c.map(s=>{let l=(0,kt.isFresh)(e,s.rawKey,r);return(0,Ct.jsxs)("div",{className:`hsk-live-pill${l?" is-changed":""}`,style:l?{animationDuration:`${kt.LIVE_FLASH_MS}ms`}:void 0,children:[(0,Ct.jsx)("span",{className:"hsk-live-pill__label",children:s.label}),(0,Ct.jsx)("span",{className:"hsk-live-pill__value",children:s.value})]},s.rawKey)})})]})}function Pc({keys:e}){let r=new Set,t=(e??[]).filter(c=>r.has(c)?!1:(r.add(c),!0)),n=Tp(t);if(t.filter((c,s)=>n[s]).length===0)return null;let o=n.filter(c=>!!c),i=Date.now();return(0,Ct.jsx)("div",{className:"hsk-live-wrap",role:"group","aria-label":"Live data",children:(0,Ct.jsx)("div",{className:"hsk-live-carousel",children:o.map(c=>(0,Ct.jsx)(Lp,{record:c,now:i},c.key))})})}var Dn,kt,Ct,Rp,Ep,zp,Fc=Se(()=>{"use strict";Dn=require("react"),kt=require("@akropolys/sdk"),Ct=require("react/jsx-runtime");Rp=["title","name","label","headline","subject"],Ep=8,zp=40});function Np({src:e,alt:r,onImageClick:t}){let[n,a]=(0,jt.useState)(!1);return n?(0,He.jsx)("div",{style:{width:"100%",height:"100%",display:"flex",alignItems:"center",justifyContent:"center",background:"var(--hsk-chat-source-bg, rgba(0,0,0,.04))",color:"var(--hsk-chat-muted, #888)"},children:(0,He.jsx)(vr,{})}):(0,He.jsx)("img",{src:e,alt:r??"",onError:()=>a(!0),onClick:t?o=>{o.stopPropagation(),t(e)}:void 0})}function za({sources:e,onSelectSource:r,onImageClick:t,referencedIds:n=[],compact:a=!1,targetLabel:o="Your colour"}){let i=(0,Ea.useAkropolysContext)(),c=(0,Ea.useCardFields)(),s=(0,jt.useRef)(null),[l,h]=(0,jt.useState)(!1),[d,u]=(0,jt.useState)(!1),[p,g]=(0,jt.useState)(0),f=e.filter(w=>w.id&&n.includes(w.id)),k=f.filter(w=>w.swatch),z=f.filter(w=>!w.swatch),b=(0,jt.useCallback)(()=>{let w=s.current;if(!w||z.length===0)return;let H=Math.abs(w.scrollLeft),Q=w.scrollWidth-w.clientWidth;h(H>10),u(Q>4&&H<Q-12);let A=Math.round(H/190);g(Math.min(Math.max(0,A),z.length-1))},[z.length]);(0,jt.useEffect)(()=>{b();let w=s.current;if(!w)return;let H=new ResizeObserver(b);return H.observe(w),w.addEventListener("scroll",b,{passive:!0}),()=>{H.disconnect(),w.removeEventListener("scroll",b)}},[b,e]);let N=w=>{let H=s.current;if(!H)return;let Q=getComputedStyle(H).direction==="rtl";H.scrollBy({left:190*w*(Q?-1:1),behavior:"smooth"})},M=()=>N(1),E=()=>N(-1);if(z.length===0&&k.length===0)return null;let F=k.length>0&&(0,He.jsx)("div",{className:"hsk-cb-swatch-grid",children:k.map((w,H)=>(0,He.jsxs)("button",{type:"button",className:de("hsk-cb-swatch",w.target&&"hsk-cb-swatch--target"),style:{animationDelay:`${H*40}ms`},onClick:w.target?void 0:()=>r?.(w),children:[(0,He.jsx)("span",{className:"hsk-cb-swatch-chip",style:{background:w.swatch}}),(0,He.jsx)("span",{className:"hsk-cb-swatch-name",children:w.target?o:w.name}),(0,He.jsx)("span",{className:"hsk-cb-swatch-code",children:w.swatch})]},w.id??H))});return z.length===0?F||null:(0,He.jsxs)(He.Fragment,{children:[F,(0,He.jsxs)("div",{className:de("hsk-cb-sources-wrap",a&&"hsk-cb-sources-wrap--compact"),children:[l&&(0,He.jsxs)(He.Fragment,{children:[(0,He.jsx)("div",{className:"hsk-cb-sources-fade-left"}),(0,He.jsx)("button",{className:"hsk-cb-sources-prev",onClick:E,"aria-label":"Previous",children:(0,He.jsx)(aa,{})})]}),(0,He.jsx)("div",{className:"hsk-cb-sources",ref:s,children:z.map((w,H)=>{let Q=!!(w.id&&n.includes(w.id));return(0,He.jsxs)("div",{className:de("hsk-cb-source",Q&&"hsk-cb-source--referenced"),style:{animationDelay:`${H*50}ms`},onClick:()=>r?.(w),children:[w.image?(0,He.jsx)("div",{className:"hsk-cb-src-imgwrap",style:{position:"relative"},children:(0,He.jsx)(Np,{src:w.image,alt:w.name,onImageClick:t})}):(0,He.jsx)("div",{className:"hsk-cb-src-imgwrap-empty",style:{position:"relative"},children:(0,He.jsx)(vr,{})}),(0,He.jsxs)("div",{className:"hsk-cb-src-info",children:[(0,He.jsx)("div",{className:"hsk-cb-src-name",children:w.name}),Ot(w,c).slice(0,2).map(T=>(0,He.jsx)("div",{className:"hsk-cb-src-detail",children:T.value},T.label))]})]},w.id??H)})}),d&&(0,He.jsxs)(He.Fragment,{children:[(0,He.jsx)("div",{className:"hsk-cb-sources-fade-right"}),(0,He.jsx)("button",{className:"hsk-cb-sources-next",onClick:M,"aria-label":"See more",children:(0,He.jsx)(oa,{})})]}),z.length>1&&(0,He.jsx)("div",{className:"hsk-cb-carousel-dots",children:z.map((w,H)=>(0,He.jsx)("div",{className:de("hsk-cb-dot-item",H===p&&"hsk-cb-dot-item--active"),onClick:()=>{let Q=s.current;if(Q){let T=getComputedStyle(Q).direction==="rtl";Q.scrollTo({left:H*190*(T?-1:1),behavior:"smooth"})}}},H))})]})]})}var jt,Ea,He,Oo=Se(()=>{"use strict";jt=require("react"),Ea=require("@akropolys/sdk");pn();yt();Bt();He=require("react/jsx-runtime")});function _c({intent:e,sources:r,onSend:t,loading:n}){let a=wr();if(!e)return null;let o=[],i=r[0]?.name??"",c=r.slice(0,2).map(s=>s.name);if(e==="search"&&r.length>0){if(c.length>=2&&o.push({emoji:"\u2696\uFE0F",label:a("pillCompareTop2"),query:a("pillCompareTop2Query",{a:c[0],b:c[1]})}),i){let s=i.split(" ").slice(0,3).join(" ");o.push({emoji:"\u{1F4A1}",label:a("pillMoreOn",{name:s}),query:a("pillMoreOnQuery",{name:i})})}}else e==="compare"&&r.length>0?(i&&o.push({emoji:"\u{1F50D}",label:a("pillSimilarOptions"),query:a("pillSimilarOptionsQuery",{name:i})}),o.push({emoji:"\u{1F4A1}",label:a("pillWhichBest"),query:a("pillWhichBestQuery")})):e==="specs"&&r.length>0?i&&o.push({emoji:"\u{1F504}",label:a("pillFindAlternatives"),query:a("pillFindAlternativesQuery",{name:i})}):e==="general"&&(o.push({emoji:"\u{1F50D}",label:a("pillShowPopular"),query:a("pillShowPopularQuery")}),o.push({emoji:"\u{1F4A1}",label:a("pillRecommend"),query:a("pillRecommendQuery")}));return o.length===0?null:(0,Bn.jsx)("div",{className:"hsk-action-pills",children:o.map(s=>(0,Bn.jsxs)("button",{className:"hsk-action-pill",onClick:()=>t(s.query),disabled:n,children:[(0,Bn.jsx)("span",{className:"hsk-pill-emoji",children:s.emoji}),s.label]},s.query))})}var Bn,Dc=Se(()=>{"use strict";It();Bn=require("react/jsx-runtime")});function Ip(e){let r=new Set;for(let t of e)if(t)try{r.add(new URL(t,location.href).host)}catch{}return[...r].sort().join(",")}function Ap(e,r){gt.default.useLayoutEffect(()=>{let t=e.current;if(!t)return;let n=()=>{t.style.width="";let i=document.createRange();i.selectNodeContents(t);let c=Array.from(i.getClientRects()),s=t.getBoundingClientRect();if(!c.length||!t.offsetWidth||!s.width)return;let l=s.width/t.offsetWidth,h=getComputedStyle(t),d=parseFloat(h.paddingLeft)+parseFloat(h.paddingRight)+parseFloat(h.borderLeftWidth)+parseFloat(h.borderRightWidth),u=Math.max(...c.map(g=>g.right))-Math.min(...c.map(g=>g.left)),p=Math.ceil(u/l)+1;p+d<t.offsetWidth&&(t.style.width=`${h.boxSizing==="border-box"?p+d:p}px`)};n(),document.fonts?.ready.then(n).catch(()=>{});let a=t.closest(".hsk-cb-msg-group");if(!a||typeof ResizeObserver>"u")return;let o=new ResizeObserver(n);return o.observe(a),()=>o.disconnect()},[e,r])}function $c({msg:e,idx:r,isLast:t,isLastUser:n,isRunEnd:a,runMid:o,runCont:i,isNarrow:c,loading:s,streaming:l,stopped:h,interrupted:d,sources:u,referencedIds:p,discussedSources:g,lastIntent:f,lastAction:k,vizState:z,setVizState:b,setLightboxSrc:N,setMarkupSrc:M,handleSend:E,handleSourceClick:F,onRetry:w,onEdit:H,onLongPress:Q,hasError:T,retrying:A,t:G,messageRef:B,photosSending:X,workingOn:xe,doodleTheme:se}){let V=(0,Bc.useAkropolysContext)()?.api,re=V?.siteId??"",W=Ip([V?.apiUrl,...(t?u:e.sources??[]).flatMap(j=>[j.image,j.url])]),_=e.role==="user",J=e.content,[C,L]=gt.default.useState(!1),I=gt.default.useRef(null);Ap(I,e.content);let K=gt.default.useRef(null),x=gt.default.useRef(null),R=gt.default.useRef(!1),m=gt.default.useCallback(j=>{let te=_?".hsk-cb-user-bubble":".hsk-cb-ai-text";return j.matches?.(te)?j:j.querySelector(te)||j},[_]),Z=gt.default.useCallback(j=>{x.current&&clearTimeout(x.current),x.current=setTimeout(()=>{if(Q){if(typeof navigator<"u"&&navigator.vibrate)try{navigator.vibrate(25)}catch{}let te=m(j),we=te.getBoundingClientRect();Q(e,{top:we.top,left:we.left,width:we.width,height:we.height},_,te),R.current=!0}x.current=null},420)},[e,_,Q,m]),D=gt.default.useCallback(j=>{if(j.touches.length!==1)return;let te=j.touches[0];K.current={x:te.clientX,y:te.clientY},R.current=!1,Z(j.currentTarget)},[Z]),O=gt.default.useCallback(j=>{if(!K.current||!x.current)return;let te=j.touches[0];Math.hypot(te.clientX-K.current.x,te.clientY-K.current.y)>8&&(clearTimeout(x.current),x.current=null)},[]),S=gt.default.useCallback(j=>{x.current&&(clearTimeout(x.current),x.current=null),K.current=null,R.current&&j.cancelable&&j.preventDefault()},[]),y=gt.default.useCallback(j=>{if(!Q||(j.preventDefault(),R.current))return;let te=m(j.currentTarget),we=te.getBoundingClientRect();Q(e,{top:we.top,left:we.left,width:we.width,height:we.height},_,te)},[e,_,Q,m]);gt.default.useEffect(()=>()=>{x.current&&clearTimeout(x.current)},[]);let P=gt.default.useCallback(j=>{if(j)try{navigator.clipboard.writeText(j),L(!0),setTimeout(()=>L(!1),2e3)}catch{}},[]),q=gt.default.useMemo(()=>Ma(J),[J]),ce=e.thinking||q.thinking,ge=/(?:^|\n+)(?:[>*_~`\s]*)(?:This is a calculation from live figures,?\s*not a guarantee\s*[—–-]\s*the market can move against it\.?)(?:[>*_~`\s]*)/gi,me=ge.test(q.content),ue=me?q.content.replace(ge,"").trimEnd():q.content;return(0,oe.jsx)("div",{className:de("hsk-cb-msg-group",o&&"hsk-cb-msg-group--run-mid",i&&"hsk-cb-msg-group--run-cont"),"data-hsk-role":_?"user":"assistant",ref:B,children:_?(0,oe.jsxs)("div",{className:`hsk-cb-user-msg${n?" hsk-sent":""}`,children:[e.images&&e.images.length>0&&(0,oe.jsx)("div",{className:"hsk-cb-user-imgs","data-count":Math.min(e.images.length,4),children:e.images.slice(0,4).map((j,te)=>(0,oe.jsxs)("button",{type:"button",className:"hsk-cb-user-img-cell",onClick:()=>N(j),children:[(0,oe.jsx)("img",{src:j,alt:`attachment ${te+1}`,className:"hsk-cb-user-img-thumb"}),(0,oe.jsx)(Vr,{active:X,seed:re,theme:se}),te===3&&e.images.length>4&&(0,oe.jsxs)("span",{className:"hsk-cb-user-img-more",children:["+",e.images.length-3]})]},te))}),e.content&&(0,oe.jsxs)("div",{ref:I,className:de("hsk-cb-user-bubble",a&&"hsk-cb-user-bubble--tail",e.spoken&&"hsk-cb-user-bubble--spoken",T&&"hsk-cb-user-bubble--error"),onTouchStart:D,onTouchMove:O,onTouchEnd:S,onTouchCancel:S,onContextMenu:y,dir:Ra(e.content.replace(/^@kiku\s*/i,"")),children:[e.spoken&&(0,oe.jsx)(bn,{className:"hsk-cb-spoken-mark",size:10}),/^@kiku\b/i.test(e.content)?(0,oe.jsxs)(oe.Fragment,{children:[(0,oe.jsx)("span",{className:"hsk-kiku-badge",children:"@kiku"}),e.content.replace(/^@kiku\s*/i,"")]}):e.content]}),a&&(0,oe.jsxs)("div",{className:"hsk-cb-user-footer",children:[(0,oe.jsxs)("div",{className:"hsk-cb-msg-actions",children:[w&&(T||n)&&(0,oe.jsxs)("button",{type:"button",className:"hsk-cb-msg-action hsk-cb-msg-action--retry",onClick:()=>w(e),"aria-label":G("retry"),children:[(0,oe.jsx)(mn,{className:A?"hsk-retry-icon--spinning":"",size:11}),(0,oe.jsx)("span",{className:"hsk-cb-msg-action-label",children:G("retry")})]}),H&&(0,oe.jsxs)("button",{type:"button",className:"hsk-cb-msg-action hsk-cb-msg-action--edit",onClick:()=>H(e),"aria-label":G("edit"),children:[(0,oe.jsx)(ca,{size:11}),(0,oe.jsx)("span",{className:"hsk-cb-msg-action-label",children:G("edit")})]}),(0,oe.jsxs)("button",{type:"button",className:de("hsk-cb-msg-action hsk-cb-msg-action--copy",C&&"hsk-cb-msg-action--copied"),onClick:()=>P(e.content),"aria-label":G(C?"copied":"copy"),children:[C?(0,oe.jsx)(zr,{size:11}):(0,oe.jsx)(Er,{size:11}),(0,oe.jsx)("span",{className:"hsk-cb-msg-action-label",children:G(C?"copied":"copy")})]})]}),n&&!T&&(0,oe.jsx)("span",{className:"hsk-cb-sent-status",children:G(h||d?"statusStopped":"statusSent")}),T&&(0,oe.jsxs)("span",{className:"hsk-cb-failed-notice",children:[(0,oe.jsx)("span",{className:"hsk-cb-failed-dot"}),G("msgFailed")]})]})]}):(0,oe.jsx)("div",{className:de("hsk-cb-ai-msg",c&&"hsk-cb-ai-msg--inline"),children:(0,oe.jsxs)("div",{className:"hsk-cb-ai-body",onTouchStart:D,onTouchMove:O,onTouchEnd:S,onTouchCancel:S,onContextMenu:y,children:[(()=>{let j=e.thoughtForSeconds!=null||ue.length>0||!(t&&(l||s));return(0,oe.jsxs)(oe.Fragment,{children:[!e.spoken&&(ce||e.thoughtForSeconds!=null||e.repliedSeconds!=null||Pn(e.statusStage)||t&&(l||s))&&(0,oe.jsx)(Rc,{text:ce,isComplete:j,seconds:e.thoughtForSeconds,stage:e.statusStage,repliedSeconds:e.repliedSeconds}),e.spoken&&typeof e.thoughtForSeconds=="number"&&e.thoughtForSeconds>0&&(0,oe.jsx)("div",{className:"hsk-cb-think",children:(0,oe.jsxs)("span",{className:"hsk-cb-think-head hsk-cb-think-head--static",children:[(0,oe.jsx)(bn,{size:11}),(0,oe.jsxs)("span",{children:["spoken \xB7 ",e.thoughtForSeconds.toFixed(1),"s"]})]})}),ue&&(0,oe.jsx)("div",{className:"hsk-cb-ai-content",children:(0,oe.jsx)(Hc,{content:ue,streaming:t&&l,hosts:W})}),me&&(0,oe.jsx)("div",{className:"hsk-cb-calc-disclaimer",children:G("calcDisclaimer")})]})})(),e.visualizing&&(0,oe.jsx)("div",{className:"hsk-cb-viz",children:(0,oe.jsxs)("div",{className:de("hsk-cb-viz--working",!xe&&"is-blank",e.visualizationType==="video"&&"is-video"),role:"status","aria-label":e.visualizingText||G("vizWorking"),children:[xe&&(0,oe.jsx)("img",{src:xe,alt:""}),(0,oe.jsx)(Vr,{active:!0,seed:re,theme:se})]})}),e.visualization&&(0,oe.jsxs)("div",{className:"hsk-cb-viz",children:[(0,oe.jsxs)("div",{className:"hsk-cb-viz-imgwrap",children:[e.visualizationType==="video"||e.visualization.includes("/videos/")?(0,oe.jsx)("video",{src:e.visualization,controls:!0,autoPlay:!0,loop:!0,muted:!0,playsInline:!0,className:"hsk-markdown-video",style:{display:"block",maxHeight:"400px",objectFit:"contain",width:"100%"}}):(0,oe.jsx)("img",{src:e.visualization,alt:"Product visualized in your photo",className:"hsk-markdown-img",style:z[e.visualization]==="err"?{display:"none"}:void 0,onLoad:()=>b(j=>({...j,[e.visualization]:"ok"})),onError:()=>b(j=>({...j,[e.visualization]:"err"}))}),z[e.visualization]==="err"&&(0,oe.jsx)("div",{className:"hsk-cb-viz-broken",children:G("vizUnavailable")}),t&&!l&&z[e.visualization]==="ok"&&e.visualizationType!=="video"&&!e.visualization.includes("/videos/")&&(0,oe.jsxs)("button",{className:"hsk-cb-viz-mark",onClick:()=>M(e.visualization),children:[(0,oe.jsxs)("svg",{width:"13",height:"13",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",children:[(0,oe.jsx)("path",{d:"M12 20h9"}),(0,oe.jsx)("path",{d:"M16.5 3.5a2.121 2.121 0 0 1 3 3L7 19l-4 1 1-4Z"})]}),G("vizMarkEdit")]})]}),(0,oe.jsx)("div",{className:"hsk-cb-viz-disclaimer",children:e.visualizationType==="video"||e.visualization.includes("/videos/")?G("vizDisclaimerVideo"):G("vizDisclaimerImage")})]}),!_&&(e.knowledgeImages?.length??0)>0&&(0,oe.jsx)("div",{className:"hsk-cb-kimgs",children:e.knowledgeImages.map(j=>(0,oe.jsxs)("div",{className:"hsk-cb-kimg-group",children:[(0,oe.jsx)("div",{className:"hsk-cb-kimg-grid",children:j.images.map((te,we)=>(0,oe.jsx)("img",{src:te.url,alt:te.note||j.title||"Reference image",className:"hsk-cb-kimg",loading:"lazy",onClick:()=>N(te.url),onError:$e=>{$e.target.style.display="none"}},we))}),(j.title||j.images[0]?.note)&&(0,oe.jsx)("div",{className:"hsk-cb-kimg-caption",children:j.title||j.images[0]?.note})]},j.entryId))}),!_&&(0,oe.jsx)(Pc,{keys:e.liveKeys}),!_&&(e.staleNotices?.length??0)>0&&(0,oe.jsxs)("div",{className:"hsk-cb-stale",role:"status",children:[(0,oe.jsx)("div",{className:"hsk-cb-stale-title",children:G("staleTitle")}),e.staleNotices.map((j,te)=>(0,oe.jsxs)("div",{className:"hsk-cb-stale-item",children:[j.state==="removed"?G("staleRemoved",{title:j.title}):G("staleUnavailable",{title:j.title}),j.reason&&(0,oe.jsxs)("span",{className:"hsk-cb-stale-reason",children:[" ",j.reason]})]},te))]}),(()=>{let j=t?p:e.referencedIds??[],te=t?u:e.sources??[],we=t?f:e.intent,$e=we==="compare"||we==="capture"||we==="capture_all"||we==="delete"||we==="view_history";return j.length>0&&!$e&&(!t||k?.type!=="request_kiku_key")&&(0,oe.jsx)(za,{sources:te,onSelectSource:F,onImageClick:N,referencedIds:j,compact:!!e.visualization,targetLabel:G("swatchTarget")})})(),t&&!s&&!l&&k?.type==="open_memory"&&_n(k.url)&&(0,oe.jsxs)("a",{className:"hsk-cb-memory-pill",href:_n(k.url),target:"_blank",rel:"noopener noreferrer",children:[G("openMemory"),(0,oe.jsx)(Fs,{})]}),t&&!s&&_n(k?.url)&&k?.type!=="open_memory"&&(0,oe.jsx)("div",{className:"hsk-action-pills",children:(0,oe.jsxs)("a",{className:"hsk-action-pill",href:_n(k?.url),children:[String(k?.type||"continue").replace(/_/g," ")," \u2192"]})}),t&&!s&&(0,oe.jsx)(_c,{intent:f,sources:g,onSend:E,loading:s}),!_&&a&&!l&&ue&&(0,oe.jsx)("div",{className:"hsk-cb-ai-footer",children:(0,oe.jsxs)("div",{className:"hsk-cb-msg-actions",children:[(0,oe.jsxs)("button",{type:"button",className:de("hsk-cb-msg-action hsk-cb-msg-action--copy",C&&"hsk-cb-msg-action--copied"),onClick:()=>P(ue),"aria-label":G(C?"copied":"copy"),children:[C?(0,oe.jsx)(zr,{size:11}):(0,oe.jsx)(Er,{size:11}),(0,oe.jsx)("span",{className:"hsk-cb-msg-action-label",children:G(C?"copied":"copy")})]}),t&&(T||ue.includes("We're experiencing high demand right now"))&&w&&(0,oe.jsxs)("button",{type:"button",className:"hsk-cb-msg-action hsk-cb-msg-action--retry",onClick:()=>w(e),"aria-label":G("retry"),children:[(0,oe.jsx)(mn,{className:A?"hsk-retry-icon--spinning":"",size:11}),(0,oe.jsx)("span",{className:"hsk-cb-msg-action-label",children:G("retry")})]})]})})]})})})}var gt,Bc,oe,Hc,qc=Se(()=>{"use strict";gt=Wt(require("react")),Bc=require("@akropolys/sdk");yt();Ac();Uo();Fc();vn();Ta();Oo();Dc();Bt();oe=require("react/jsx-runtime"),Hc=gt.default.memo(({content:e,streaming:r,hosts:t})=>(0,oe.jsx)(oe.Fragment,{children:Ic(e,r,new Set(t.split(",")))}),(e,r)=>e.content===r.content&&e.streaming===r.streaming&&e.hosts===r.hosts);Hc.displayName="MarkdownBlock"});function Uc({keyInput:e,setKeyInput:r,minting:t,handleUseExistingKey:n,handleCreateKey:a,t:o}){return(0,Ve.jsxs)("div",{className:"hsk-cb-ai-msg",children:[(0,Ve.jsx)("div",{className:"hsk-cb-ai-icon",style:{display:"flex",alignItems:"center"},children:(0,Ve.jsx)(vr,{})}),(0,Ve.jsx)("div",{className:"hsk-cb-ai-body",children:(0,Ve.jsx)("div",{className:"hsk-cb-ai-text",children:(0,Ve.jsxs)("div",{className:"hsk-cb-phone-form",children:[(0,Ve.jsx)("label",{className:"hsk-cb-phone-label",children:o("keyPastePrompt")}),(0,Ve.jsx)("input",{type:"text",className:"hsk-cb-phone-input",placeholder:o("keyPastePlaceholder"),value:e,onChange:i=>r(i.target.value),onKeyDown:i=>i.key==="Enter"&&n(),autoFocus:!0}),(0,Ve.jsxs)("div",{style:{display:"flex",gap:8},children:[(0,Ve.jsx)("button",{className:"hsk-cb-phone-submit",onClick:n,disabled:!e.trim(),children:o("keyUseMine")}),(0,Ve.jsx)("button",{className:"hsk-cb-phone-submit",onClick:a,disabled:t,children:o(t?"keyCreating":"keyCreateNew")})]})]})})})]})}function Wc({mintedKey:e,copied:r,keyCountdown:t,onDismiss:n,copyValue:a,t:o}){return(0,Ve.jsxs)("div",{className:"hsk-cb-ai-msg",children:[(0,Ve.jsx)("div",{className:"hsk-cb-ai-icon",style:{display:"flex",alignItems:"center"},children:(0,Ve.jsx)(vr,{})}),(0,Ve.jsx)("div",{className:"hsk-cb-ai-body",children:(0,Ve.jsxs)("div",{className:"hsk-cb-secret-card",children:[(0,Ve.jsxs)("div",{className:"hsk-cb-secret-head",children:[(0,Ve.jsx)("span",{className:"hsk-cb-secret-title",children:o("keySecretTitle")}),(0,Ve.jsxs)("span",{className:"hsk-cb-secret-timer",children:[t,"s"]}),(0,Ve.jsx)("button",{type:"button",className:"hsk-cb-secret-dismiss",onClick:n,"aria-label":o("keyDismiss"),children:"\xD7"})]}),(0,Ve.jsxs)("button",{type:"button",className:"hsk-cb-secret-key",onClick:()=>a(e,"secret"),children:[(0,Ve.jsx)("code",{children:e}),(0,Ve.jsxs)("span",{className:"hsk-cb-secret-copy",children:[r==="secret"?(0,Ve.jsx)(zr,{}):(0,Ve.jsx)(Er,{}),o(r==="secret"?"keyCopied":"keyCopySecret")]})]}),(0,Ve.jsx)("span",{className:"hsk-cb-secret-hint",children:o("keySecretHint")})]})})]})}var Ve,Oc=Se(()=>{"use strict";Bt();Ve=require("react/jsx-runtime")});function Pp(e,r){for(let t=r-1;t>=0;t--){let n=e[t];if(n.visualization&&n.visualizationType!=="video")return n.visualization;if(n.images?.length)return n.images[n.images.length-1]}}function Gc({displayMessages:e,messageRefs:r,isNarrow:t,loading:n,streaming:a,sources:o,referencedIds:i,discussedSources:c,lastIntent:s,lastAction:l,stopped:h,interrupted:d,halted:u,haltedEmpty:p,error:g,errorCode:f,keyPhase:k,keyInput:z,setKeyInput:b,mintedKey:N,setMintedKey:M,setMintedPub:E,minting:F,copied:w,keyCountdown:H,handleUseExistingKey:Q,handleCreateKey:T,copyValue:A,queuedMessage:G,sendQueuedNow:B,setLightboxSrc:X,setMarkupSrc:xe,handleSend:se,handleSourceClick:V,onRetry:re,onEdit:W,onLongPress:_,retrying:J,continueGenerating:C,t:L,spacerRef:I,vizState:K,setVizState:x,messages:R,doodleTheme:m}){return(0,rt.jsxs)(rt.Fragment,{children:[(()=>{let Z=-1;for(let D=e.length-1;D>=0;D--)if(e[D]?.role==="user"){Z=D;break}return e.map((D,O)=>{let S=O===e.length-1,y=D.role==="user",P=y&&O===Z,q=e[O+1]?.role!==D.role,ce=!q,ge=e[O-1]?.role===D.role,me=D.id||`${D.role}-${O}`,ue=e[O+1]?.content??"",j=P&&(n||a)&&!Ma(ue).content.trim(),te=D.visualizing?Pp(e,O):void 0,we=P&&!!g||!y&&S&&!!g||!y&&!!D.content?.includes("We're experiencing high demand right now");return(0,rt.jsx)($c,{msg:D,idx:O,isLast:S,isLastUser:P,isRunEnd:q,runMid:ce,runCont:ge,isNarrow:t,loading:n,streaming:a,stopped:h,interrupted:d,sources:o,referencedIds:i,discussedSources:c,lastIntent:s,lastAction:l,vizState:K,setVizState:x,setLightboxSrc:X,setMarkupSrc:xe,handleSend:se,handleSourceClick:V,onRetry:re,onEdit:W,onLongPress:_,hasError:we,retrying:J,t:L,messageRef:$e=>{r.current[O]=$e},photosSending:j,workingOn:te,doodleTheme:m},me)})})(),u&&R.length>0&&(0,rt.jsxs)("div",{className:de("hsk-cb-stopped",p&&"hsk-cb-stopped--empty"),children:[p&&(0,rt.jsxs)("span",{className:"hsk-cb-stopped-dots","aria-hidden":"true",children:[(0,rt.jsx)("i",{}),(0,rt.jsx)("i",{}),(0,rt.jsx)("i",{})]}),(0,rt.jsx)("span",{className:"hsk-cb-stopped-label",children:L(h?"stoppedByYou":"stoppedInterrupted")}),(0,rt.jsxs)("button",{className:"hsk-cb-continue",onClick:C,children:[(0,rt.jsx)(_s,{}),L(R[R.length-1]?.role==="assistant"?"continueGenerating":"generateResponse")]})]}),g&&(0,rt.jsx)("div",{className:"hsk-cb-error",children:vi({code:f??void 0,message:g},L)}),k==="prompt_key"&&(0,rt.jsx)(Uc,{keyInput:z,setKeyInput:b,minting:F,handleUseExistingKey:Q,handleCreateKey:T,t:L}),N&&(0,rt.jsx)(Wc,{mintedKey:N,copied:w,keyCountdown:H,onDismiss:()=>{M(null),E(null)},copyValue:A,t:L}),G&&(0,rt.jsx)("div",{className:de("hsk-cb-msg-group",e[e.length-1]?.role==="user"&&"hsk-cb-msg-group--run-cont"),children:(0,rt.jsxs)("div",{className:"hsk-cb-user-msg",children:[(0,rt.jsx)("div",{className:"hsk-cb-user-bubble hsk-cb-user-bubble--tail hsk-cb-user-bubble--queued",children:G.content}),(0,rt.jsxs)("button",{type:"button",className:"hsk-cb-queued-status",onClick:B,children:[(0,rt.jsx)("span",{className:"hsk-cb-queued-dot"}),L("queuedWaiting"),(0,rt.jsx)("span",{className:"hsk-cb-queued-now",children:L("queuedSendNow")})]})]})}),(0,rt.jsx)("div",{ref:I,className:"hsk-cb-msgs-spacer"})]})}var rt,Vc=Se(()=>{"use strict";yt();Bt();It();qc();Ta();Oc();rt=require("react/jsx-runtime")});function Vo(e){if(!e)return[];if(_p.test(e))return e.split(/(\s+)/).filter(Boolean);let r=typeof Intl<"u"?Intl:void 0;if(r?.Segmenter){let t=new r.Segmenter(void 0,{granularity:"grapheme"});return Array.from(t.segment(e),n=>n.segment)}return e.split(/(\s+)/).filter(Boolean)}function jc({text:e,placeholder:r,visible:t=!0,replay:n=0,replaySeed:a,staggerMs:o=La}){if(!t)return null;let i=e||r||"";if(!i)return null;let c=a!==void 0?a:n,s=i.length>26,l=s?i.match(/\S+\s*/g)??[i]:Vo(i),h=Math.max(l.length-1,1),d=i.length>44?"3":s?"2":"1";return(0,Go.jsx)("div",{className:"hsk-animated-placeholder","data-fit":d,dir:"auto","aria-hidden":"true",children:l.map((u,p)=>(0,Go.jsx)("span",{className:"hsk-animated-placeholder__char",style:{animationDelay:`${Fp+p*o}ms`,"--hsk-ph-hue":`${Math.round(p/h*300)}`},children:u},`${i}|${c}|${p}`))})}var Go,La,Fp,_p,Kc=Se(()=>{"use strict";Go=require("react/jsx-runtime"),La=16,Fp=110,_p=/[-ۿ܀-ݏ߀-߿ࡠ-ࣿﭐ-﷿ﹰ-]/});function Yc({gooId:e,input:r,setInput:t,showKikuPicker:n,setShowKikuPicker:a,showAtPicker:o,setShowAtPicker:i,captureAllowed:c,discussedSources:s,handleSelectExtension:l,handleKikuCapture:h,handleKikuCaptureAll:d,handleKikuViewHistory:u,handleKikuDelete:p,attachments:g,removeAttachment:f,chromeLoading:k,inputLocked:z,langSwitching:b=!1,imageInputRef:N,handleImageFiles:M,enableVision:E,enableVoice:F,canConverse:w,startVoice:H,voiceBlocked:Q,textareaRef:T,classNames:A={},handleInput:G,handleKeyDown:B,voice:X,voicePhase:xe,activePlaceholder:se,loading:V,streaming:re,stop:W,handleSend:_,voiceError:J,setVoiceError:C,t:L,rail:I,notice:K,onOpenMimi:x}){let R=(0,Na.useAkropolysContext)(),m=(0,Na.useCardFields)(),[Z,D]=St.default.useState(0),[O,S]=St.default.useState(!1);St.default.useEffect(()=>{if(!J)return;let ve=setTimeout(()=>{C?.("")},6e3);return()=>clearTimeout(ve)},[J,C]),St.default.useEffect(()=>{if(!O)return;let ve=_e=>{_e.key==="Escape"&&S(!1)};return window.addEventListener("keydown",ve),()=>window.removeEventListener("keydown",ve)},[O]);let y=se||"Ask me anything\u2026",P=(0,St.useRef)(null),[q,ce]=(0,St.useState)(()=>y.length>26);(0,St.useEffect)(()=>{let ve=P.current;if(!ve||r)return;let _e=()=>{let et=ve.querySelectorAll(".hsk-animated-placeholder__char");if(et.length<2)return ce(!1);let ye=et[0].offsetTop,at=et[et.length-1].offsetTop;ce(at-ye>et[0].offsetHeight/2)};_e();let Oe=new ResizeObserver(_e);return Oe.observe(ve),()=>Oe.disconnect()},[y,r]);let ge=Math.max(Vo(y).length-1,0)*La,[me,ue]=(0,St.useState)(!1),j=(0,St.useRef)(null),te=()=>{j.current&&clearTimeout(j.current),ue(!0),j.current=setTimeout(()=>{ue(!1),j.current=null},550)};(0,St.useEffect)(()=>()=>{j.current&&clearTimeout(j.current)},[]);let we=(0,St.useRef)(null),$e=!!K;return(0,St.useEffect)(()=>{we.current?.toggleAttribute("inert",$e)},[$e]),(0,Y.jsxs)("div",{className:"hsk-cb-input-wrap",children:[O&&(0,Y.jsxs)(Y.Fragment,{children:[(0,Y.jsx)("div",{className:"hsk-cb-toolsheet-scrim",onClick:()=>S(!1)}),(0,Y.jsx)("div",{className:"hsk-cb-toolsheet-wrap",children:(0,Y.jsxs)("div",{className:"hsk-cb-toolsheet",role:"menu",children:[E&&(0,Y.jsxs)("button",{className:"hsk-cb-toolsheet-item",role:"menuitem",onClick:()=>{S(!1),N.current?.click()},disabled:V,children:[(0,Y.jsx)(eo,{}),(0,Y.jsx)("span",{children:L("attachImage")})]}),F&&w&&(0,Y.jsxs)("button",{className:"hsk-cb-toolsheet-item",role:"menuitem",onClick:()=>{S(!1),Q?C?.(L("errAccountRequired")):H("converse")},disabled:V||k,children:[(0,Y.jsx)(to,{}),(0,Y.jsx)("span",{children:L("voiceModeStart")})]}),x&&(0,Y.jsxs)("button",{className:"hsk-cb-toolsheet-item",role:"menuitem",onClick:x,children:[(0,Y.jsx)(ia,{}),(0,Y.jsx)("span",{children:"MiMi"})]})]})})]}),K,(0,Y.jsxs)("div",{className:"hsk-cb-input-card",ref:we,children:[(/^@kiku\b/i.test(r)||n||o)&&(0,Y.jsxs)("div",{className:"hsk-cb-docked-header",children:[(0,Y.jsx)("span",{className:"hsk-cb-docked-sub",children:L("captureAndRemember")}),(0,Y.jsx)("button",{type:"button",className:"hsk-cb-docked-close",onClick:()=>{t(ve=>ve.replace(/^@kiku\s*/i,"")),a(!1),i(!1)},"aria-label":"Close mode",children:"\xD7"})]}),(n||o)&&(0,Y.jsxs)("div",{className:"hsk-cb-docked-options",onMouseDown:ve=>ve.preventDefault(),children:[o&&c&&(0,Y.jsxs)("button",{type:"button",className:"hsk-cb-docked-option",onClick:()=>l("@kiku"),children:[(0,Y.jsx)("span",{className:"hsk-cb-docked-option-icon",children:(0,Y.jsx)(vr,{})}),(0,Y.jsx)("span",{className:"hsk-cb-docked-option-title",children:"kiku"}),(0,Y.jsx)("span",{className:"hsk-cb-docked-option-desc",children:"capture & remember"})]}),n&&c&&(0,Y.jsxs)(Y.Fragment,{children:[s.map((ve,_e)=>(0,Y.jsxs)("button",{type:"button",className:"hsk-cb-docked-option",onClick:()=>{h(ve),a(!1)},children:[(0,Y.jsx)("span",{className:"hsk-cb-docked-option-icon",children:ve.image?(0,Y.jsx)("img",{src:ve.image,alt:""}):(0,Y.jsx)(sa,{})}),(0,Y.jsx)("span",{className:"hsk-cb-docked-option-title",children:ve.name}),Ot(ve,m)[0]&&(0,Y.jsx)("span",{className:"hsk-cb-docked-option-detail",children:Ot(ve,m)[0].value})]},ve.id??_e)),s.length>1&&(0,Y.jsxs)("button",{type:"button",className:"hsk-cb-docked-option",onClick:()=>{d(s),a(!1)},children:[(0,Y.jsx)("span",{className:"hsk-cb-docked-option-icon",children:(0,Y.jsx)(sa,{})}),(0,Y.jsx)("span",{className:"hsk-cb-docked-option-title",children:L("captureAll",{count:String(s.length)})})]}),s.length===0&&(0,Y.jsxs)("button",{type:"button",className:"hsk-cb-docked-option",onClick:()=>{h({name:"current page",id:void 0}),a(!1)},children:[(0,Y.jsx)("span",{className:"hsk-cb-docked-option-icon",children:(0,Y.jsx)(sa,{})}),(0,Y.jsx)("span",{className:"hsk-cb-docked-option-title",children:L("captureCurrentPage")})]}),(0,Y.jsxs)("button",{type:"button",className:"hsk-cb-docked-option",onClick:()=>{u(),a(!1)},children:[(0,Y.jsx)("span",{className:"hsk-cb-docked-option-icon",children:(0,Y.jsx)(Ds,{})}),(0,Y.jsx)("span",{className:"hsk-cb-docked-option-title",children:L("whatHaveYouSaved")})]}),(0,Y.jsxs)("button",{type:"button",className:"hsk-cb-docked-option",onClick:()=>{p(),a(!1)},children:[(0,Y.jsx)("span",{className:"hsk-cb-docked-option-icon",children:(0,Y.jsx)(Bs,{})}),(0,Y.jsx)("span",{className:"hsk-cb-docked-option-title",children:L("deleteThis")})]})]})]}),g.length>0&&(0,Y.jsx)("div",{className:"hsk-cb-img-strip",children:g.map((ve,_e)=>(0,Y.jsxs)("div",{className:"hsk-cb-img-thumb-wrap",children:[(0,Y.jsx)("img",{src:ve.thumb||ve.data,alt:`attachment ${_e+1}`,className:"hsk-cb-img-thumb"}),(0,Y.jsx)("button",{type:"button",className:"hsk-cb-img-thumb-remove",onClick:()=>f(_e),"aria-label":"Remove image",children:(0,Y.jsx)(Ys,{size:10})})]},_e))}),(0,Y.jsxs)("div",{className:de("hsk-cb-input-box",k&&"hsk-cb-input-box--waiting"),"data-cascade":Z%2?"b":"a","data-tools":O?"open":"closed",style:{"--hsk-text-sweep":`${ge}ms`},children:[(0,Y.jsx)("input",{ref:N,type:"file",accept:"image/*",className:"hsk-sr-only",onChange:ve=>{M(ve.target.files),ve.target.value=""}}),(E||F&&w)&&(0,Y.jsx)("button",{className:de("hsk-cb-tools-toggle",O&&"hsk-cb-tools-toggle--open"),onClick:()=>S(ve=>!ve),disabled:V||k,"aria-label":O?"Close options":"More options","aria-expanded":O,children:(0,Y.jsx)(Hs,{})}),(0,Y.jsx)(Y.Fragment,{children:E&&(0,Y.jsx)("button",{className:"hsk-cb-attach-btn",onClick:()=>N.current?.click(),disabled:V,"aria-label":"Attach image",children:(0,Y.jsx)(eo,{})})}),(0,Y.jsxs)("div",{className:"hsk-cb-field",ref:P,"data-ph-lines":!r&&q?"2":void 0,children:[(0,Y.jsx)("textarea",{ref:T,value:r,onChange:G,onKeyDown:B,rows:1,placeholder:"",className:de("hsk-cb-textarea",A.input),"aria-label":se,disabled:z||V&&!re||b}),(0,Y.jsx)(jc,{placeholder:se,visible:!r,staggerMs:La,replaySeed:Z})]}),F&&w&&(0,Y.jsx)("button",{className:de("hsk-cb-voice-mode-btn",Q&&"hsk-cb-voice-mode-btn--blocked"),onClick:()=>Q?C?.(L("errAccountRequired")):H("converse"),disabled:V||k,"aria-label":"Voice conversation",children:(0,Y.jsx)(to,{})}),(V||re)&&!me?(0,Y.jsx)("button",{className:de("hsk-cb-send","hsk-cb-send--stop",A.sendButton),onClick:W,"aria-label":"Stop generating",children:(0,Y.jsx)(Ps,{})}):(0,Y.jsxs)("button",{className:de("hsk-cb-send",me&&"is-launching",b&&"is-morph-spinning",A.sendButton),onClick:()=>{b||(te(),_())},disabled:!b&&(z||k||!r.trim()&&g.length===0),"aria-label":b?"Preparing language\u2026":"Send message",children:[(0,Y.jsx)("svg",{width:"0",height:"0","aria-hidden":"true",focusable:"false",style:{position:"absolute"},children:(0,Y.jsx)("defs",{children:(0,Y.jsxs)("filter",{id:e,children:[(0,Y.jsx)("feGaussianBlur",{in:"SourceGraphic",stdDeviation:"1.6",result:"blur"}),(0,Y.jsx)("feColorMatrix",{in:"blur",type:"matrix",values:"1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 16 -7",result:"goo"}),(0,Y.jsx)("feBlend",{in:"SourceGraphic",in2:"goo"})]})})}),(0,Y.jsx)("span",{className:"hsk-cb-send-sheath","aria-hidden":"true"}),(0,Y.jsxs)("span",{className:"hsk-cb-send-stage",style:{filter:`url(#${e})`},children:[(0,Y.jsx)("span",{className:"hsk-cb-send-seam","aria-hidden":"true"}),(0,Y.jsx)("span",{className:"hsk-cb-send-kite",children:b?(0,Y.jsxs)("span",{className:"hsk-cb-send-spinner-dots","aria-hidden":"true",children:[(0,Y.jsx)("span",{className:"hsk-goo-orb hsk-goo-orb--1"}),(0,Y.jsx)("span",{className:"hsk-goo-orb hsk-goo-orb--2"}),(0,Y.jsx)("span",{className:"hsk-goo-orb hsk-goo-orb--3"})]}):(0,Y.jsx)(Us,{})})]})]})]})]}),Q?(0,Y.jsxs)("div",{className:"hsk-cb-voice-error",role:"status",onClick:()=>C?.(""),children:[(0,Y.jsx)("span",{children:L("errAccountRequired")}),(0,Y.jsx)("button",{type:"button",className:"hsk-cb-voice-error-dismiss",onClick:ve=>{ve.stopPropagation(),C?.("")},"aria-label":"Dismiss error",children:"\xD7"})]}):J&&(0,Y.jsxs)("div",{className:"hsk-cb-voice-error",role:"status",onClick:()=>C?.(""),children:[(0,Y.jsx)("span",{children:L(J)}),(0,Y.jsx)("button",{type:"button",className:"hsk-cb-voice-error-dismiss",onClick:ve=>{ve.stopPropagation(),C?.("")},"aria-label":"Dismiss error",children:"\xD7"})]})]})}var St,Na,Y,Xc=Se(()=>{"use strict";St=Wt(require("react")),Na=require("@akropolys/sdk");yt();pn();Bt();Kc();Y=require("react/jsx-runtime")});function Qc(e,r){let t=e.match(/-?[\d.]+/g);return!t||t.length<3?r:[Number(t[0]),Number(t[1]),Number(t[2])]}function Dp(e,r,t){return[e[0]+(r[0]-e[0])*t,e[1]+(r[1]-e[1])*t,e[2]+(r[2]-e[2])*t]}function Zr(e,r){return`rgba(${e[0]|0}, ${e[1]|0}, ${e[2]|0}, ${r})`}function Jc({phase:e,level:r,spectrum:t,bins:n,className:a}){let o=(0,qt.useRef)(null),i=(0,qt.useRef)(e),c=(0,qt.useRef)(r),s=(0,qt.useRef)(t),l=(0,qt.useRef)(n);return(0,qt.useEffect)(()=>{i.current=e},[e]),(0,qt.useEffect)(()=>{c.current=r},[r]),(0,qt.useEffect)(()=>{s.current=t},[t]),(0,qt.useEffect)(()=>{l.current=n},[n]),(0,qt.useEffect)(()=>{let h=o.current;if(!h)return;let d=h.getContext("2d");if(!d)return;let u=getComputedStyle(h),p=Qc(u.getPropertyValue("--hsk-primary")||"",[255,106,51]),g=Qc(u.getPropertyValue("--hsk-chat-text")||"",[31,31,31]),f=0,k=0,z=0,b=()=>{let re=Math.min(window.devicePixelRatio||1,3),W=h.getBoundingClientRect();k=Math.max(1,W.width),z=Math.max(1,W.height),h.width=Math.round(k*re),h.height=Math.round(z*re),d.setTransform(re,0,0,re,0,0)};b();let N=typeof ResizeObserver<"u"?new ResizeObserver(b):null;N?.observe(h),window.addEventListener("resize",b);let M=window.matchMedia?.("(prefers-reduced-motion: reduce)")?.matches??!1,E=new Float32Array(lr),F=[],w=null,H=-1,Q=null,T=0,A=0,G=performance.now(),B=(re,W,_,J)=>re+(W-re)*(W>re?_:J),X=()=>{let re=s.current,W=l.current?.()??0;if(!re||!W||((!Q||Q.length!==W)&&(Q=new Uint8Array(W)),!re(Q)))return!1;let J=Math.max(lr,Math.floor(W*Bp))/lr;for(let C=0;C<lr;C++){let L=Math.floor(C*J),I=Math.max(L+1,Math.floor((C+1)*J)),K=0;for(let R=L;R<I;R++)K+=Q[R];let x=K/(I-L)/255;E[C]=B(E[C],x,M?.2:.55,M?.06:.14)}return!0},xe=(re,W)=>{for(let _=0;_<lr;_++){let J=_/(lr-1),C=Math.pow(1-J,1.6)*(.75+.25*Math.sin(re*3.1+_*.7));E[_]=B(E[_],C*W,.3,.12)}},se=re=>{let W=Math.min(lr-1,Math.max(0,re*(lr-1))),_=Math.floor(W),J=W-_,C=E[_],L=E[Math.min(lr-1,_+1)];return C+(L-C)*J*J*(3-2*J)},V=re=>{f=requestAnimationFrame(V);let W=(re-G)/1e3,_=i.current,J=Math.min(1,c.current());T=B(T,Math.max(_==="speaking"?.42:_==="listening"?.3:_==="thinking"?.28:.12,J),M?.1:.5,M?.05:.11),X()||xe(W,Math.max(.25,T)),d.clearRect(0,0,k,z);let L=z/2;A=_==="thinking"?(A+.012)%1.6:0;let I=3;if(H!==k){F=[];for(let R=0;R<I;R++){let m=R/(I-1||1),Z=Dp(p,g,m*.5),D=d.createLinearGradient(0,0,k,0);D.addColorStop(0,Zr(Z,0)),D.addColorStop(.5,Zr(Z,.9-m*.35)),D.addColorStop(1,Zr(Z,0)),F.push(D)}w=d.createLinearGradient(0,0,k,0),w.addColorStop(0,Zr(p,0)),w.addColorStop(.5,Zr(p,.14)),w.addColorStop(1,Zr(p,0)),H=k}let K=z*.32,x=Math.max(4,k/130);for(let R=0;R<I;R++){let m=R/(I-1||1),Z=R*.055,D=1-m*.22;d.beginPath();let O=0,S=L;for(let P=0;P<=k;P+=x){let q=P/k,ce=Math.pow(Math.sin(Math.PI*q),.85),ge=_==="thinking"?Math.exp(-Math.pow((q-(A-.3))*4.5,2)):1,me=se(Math.abs(q-.5)*2),ue=W-Z,j=Math.sin(q*Math.PI*2*2.1+ue*7.4)*.66+Math.sin(q*Math.PI*2*3.7-ue*5.6)*.26+Math.sin(q*Math.PI*2*5.9+ue*9.1)*.08,te=L+ce*ge*D*K*T*(.6+me*1.1)*j+Math.sin(q*Math.PI*2*.6+(W-Z)*2.2)*ce*z*.01;P===0?d.moveTo(P,te):d.quadraticCurveTo(O,S,(O+P)/2,(S+te)/2),O=P,S=te}d.quadraticCurveTo(O,S,k,S),d.lineCap="round",d.lineJoin="round";let y=(R===0?3:1.6)*(1+T*.6);R===0&&(d.strokeStyle=w,d.lineWidth=y*5,d.stroke()),d.strokeStyle=F[R],d.lineWidth=y,d.stroke()}};return f=requestAnimationFrame(V),()=>{cancelAnimationFrame(f),N?.disconnect(),window.removeEventListener("resize",b)}},[]),(0,Zc.jsx)("canvas",{ref:o,className:a,"aria-hidden":"true"})}var qt,Zc,lr,Bp,el=Se(()=>{"use strict";qt=require("react"),Zc=require("react/jsx-runtime");lr=24,Bp=.42});function Hn({src:e,onClose:r}){return e?(0,en.jsxs)("div",{className:"hsk-lightbox",onClick:r,children:[(0,en.jsx)("button",{className:"hsk-lightbox-close",onClick:r,"aria-label":"Close image",children:(0,en.jsx)(Or,{})}),(0,en.jsx)("img",{src:e,alt:"",className:"hsk-lightbox-img",onClick:t=>t.stopPropagation()})]}):null}var en,jo=Se(()=>{"use strict";Bt();en=require("react/jsx-runtime")});function Hp({images:e,siteId:r,themeAttr:t}){let n=(0,pt.useRef)(null),[a,o]=(0,pt.useState)(null);if((0,pt.useEffect)(()=>{let s=n.current;s&&s.scrollTo({left:s.scrollWidth,behavior:"smooth"})},[e.length]),!e.length)return null;let i=e.findIndex(s=>s.pending),c=i>0?e.slice(0,i).reverse().find(s=>s.url)?.id:void 0;return(0,Ce.jsxs)("div",{className:"hsk-voice-images",ref:n,children:[e.map(s=>(0,Ce.jsxs)("button",{type:"button",className:"hsk-voice-image","data-pending":s.pending?"":void 0,disabled:s.pending,onClick:()=>o(s.url),children:[s.pending&&(0,Ce.jsx)(Vr,{active:!0,seed:r,theme:t}),s.url&&(0,Ce.jsx)("img",{src:s.url,alt:"",draggable:!1},s.url),s.url&&(0,Ce.jsx)(Vr,{active:!!s.sending||s.id===c,seed:r,theme:t})]},s.id)),a&&(0,Ce.jsx)(Hn,{src:a,onClose:()=>o(null)})]})}function $p({current:e,choose:r,label:t,groups:n}){let a=Cn.find(l=>l.name===e),[o,i]=(0,pt.useState)(!1),c=(0,pt.useRef)(null),s=(0,pt.useRef)(null);return(0,pt.useEffect)(()=>{if(s.current&&(s.current.inert=!o),!o)return;let l=s.current,h=l?.querySelector('[aria-checked="true"]');l&&h&&(l.scrollTop=h.offsetTop-(l.clientHeight-h.offsetHeight)/2);let d=p=>{c.current&&!p.composedPath().includes(c.current)&&i(!1)},u=p=>{p.key==="Escape"&&i(!1)};return document.addEventListener("pointerdown",d),document.addEventListener("keydown",u),()=>{document.removeEventListener("pointerdown",d),document.removeEventListener("keydown",u)}},[o]),(0,Ce.jsxs)("div",{className:"hsk-voice-picker",ref:c,"data-open":o?"":void 0,dir:"ltr",children:[(0,Ce.jsxs)("button",{type:"button",className:"hsk-voice-pill hsk-voice-pill--current","aria-haspopup":"true","aria-expanded":o,"aria-label":`${t}: ${a?.trait??e} (${e})`,onClick:()=>i(l=>!l),children:[(0,Ce.jsx)("span",{children:a?.trait??e}),(0,Ce.jsx)("span",{className:"hsk-voice-pill-caret",children:(0,Ce.jsx)(oa,{})})]}),(0,Ce.jsx)("div",{className:"hsk-voice-menu-list",role:"radiogroup","aria-label":t,ref:s,children:["male","female"].map(l=>(0,Ce.jsxs)(pt.default.Fragment,{children:[(0,Ce.jsx)("div",{className:"hsk-voice-group","aria-hidden":"true",children:n[l]}),Cn.filter(h=>h.gender===l).map(h=>(0,Ce.jsxs)("button",{type:"button",role:"radio","aria-checked":e===h.name,"aria-label":`${h.trait}, ${n[l]} (${h.name})`,className:de("hsk-voice-option",e===h.name&&"hsk-voice-option--on"),onClick:()=>{r(h.name),i(!1)},children:[(0,Ce.jsx)("span",{className:"hsk-voice-option-name",children:h.trait}),(0,Ce.jsx)("span",{className:"hsk-voice-option-trait",children:h.name})]},h.name))]},l))})]})}function tl({siteId:e,themeAttr:r,stopVoice:t,chooseVoice:n,liveVoiceName:a,voiceSecondsLeft:o,voiceConnecting:i,voicePhase:c,live:s,earlier:l,newVoiceChat:h,voiceMuted:d,setVoiceMuted:u,voiceError:p,attachPhoto:g,onSelectSource:f,t:k}){let z=(0,pt.useRef)(null),b=(0,pt.useRef)(null),N=(0,pt.useRef)(null),M=[...l.turns,...s.turns??[]],E=[...l.images,...s.images??[]],F=s.sources??[],[w,H]=(0,pt.useState)(null),Q=E.some(B=>B.pending),T=M.length,A=M[T-1]?.text??"",G=(0,pt.useRef)(!1);return(0,pt.useEffect)(()=>{b.current?.scrollIntoView({block:"end",behavior:G.current?"smooth":"auto"}),G.current=!0},[T,A]),(0,Ce.jsxs)("div",{className:"hsk-voice-overlay",role:"dialog","aria-label":k("voiceModeStart"),children:[(0,Ce.jsx)(da,{seed:e,theme:r}),M.some(B=>B.text)&&(0,Ce.jsx)("button",{type:"button",className:"hsk-voice-new",onClick:h,disabled:i,"aria-label":k("voiceNewChat"),title:k("voiceNewChat"),children:(0,Ce.jsx)(ca,{size:15})}),(0,Ce.jsx)("button",{className:"hsk-voice-exit",onClick:t,"aria-label":k("voiceModeExit"),children:(0,Ce.jsx)(Or,{})}),(0,Ce.jsx)($p,{current:a,choose:n,label:k("voicePickerLabel"),groups:{female:k("voiceFemale"),male:k("voiceMale")}}),(0,Ce.jsxs)("div",{className:"hsk-voice-thread",ref:z,children:[M.filter(B=>B.text).map((B,X)=>B.role==="user"?(0,Ce.jsx)("div",{className:"hsk-cb-user-msg",children:(0,Ce.jsx)("div",{className:de("hsk-cb-user-bubble","hsk-cb-user-bubble--spoken",!B.done&&"hsk-voice-turn--live"),children:B.text})},X):(0,Ce.jsx)("div",{className:"hsk-cb-ai-msg",children:(0,Ce.jsx)("div",{className:de("hsk-cb-ai-body",!B.done&&"hsk-voice-turn--live"),children:B.text})},X)),(0,Ce.jsx)("div",{ref:b})]}),(E.length>0||F.length>0)&&(0,Ce.jsxs)("div",{className:"hsk-voice-shelf",children:[(0,Ce.jsx)(Hp,{images:E,siteId:e,themeAttr:r}),F.length>0&&(0,Ce.jsx)("div",{className:"hsk-voice-sources",children:(0,Ce.jsx)(za,{sources:F,onSelectSource:f,onImageClick:H,referencedIds:F.map(B=>B.id).filter(B=>!!B),compact:!0})})]}),w&&(0,Ce.jsx)(Hn,{src:w,onClose:()=>H(null)}),i&&(0,Ce.jsxs)("div",{className:"hsk-voice-connecting",role:"status",children:[(0,Ce.jsx)("span",{className:"hsk-voice-connecting-dot"}),(0,Ce.jsx)("span",{children:k("voiceConnecting")})]}),p&&(0,Ce.jsx)("div",{className:"hsk-voice-error",children:k(p)}),(0,Ce.jsxs)("div",{className:"hsk-voice-controls",dir:"ltr",children:[s.photos&&(0,Ce.jsxs)(Ce.Fragment,{children:[(0,Ce.jsx)("input",{ref:N,type:"file",accept:"image/*",className:"hsk-sr-only",onChange:B=>{let X=B.target.files?.[0];B.target.value="",X&&g(X)}}),(0,Ce.jsx)("button",{type:"button",className:"hsk-voice-control hsk-voice-control--attach","data-control":"attach",disabled:i||Q,onClick:()=>N.current?.click(),"aria-label":k("voiceAttachPhoto"),children:(0,Ce.jsx)("span",{className:"hsk-voice-control-icon",children:(0,Ce.jsx)($s,{})})})]}),(0,Ce.jsx)("div",{className:de("hsk-voice-stage",i&&"hsk-voice-stage--connecting"),children:(0,Ce.jsx)(Jc,{className:"hsk-voice-canvas",phase:c,level:s.micLevel,spectrum:s.micSpectrum,bins:s.spectrumBins})}),(0,Ce.jsx)("button",{className:de("hsk-voice-control",d&&"hsk-voice-control--muted",i&&"hsk-voice-control--waiting"),"data-control":"mic",disabled:i,onClick:()=>u(B=>!B),"aria-label":k(d?"voicePhaseListening":"voiceModeExit"),children:(0,Ce.jsx)("span",{className:"hsk-voice-control-icon",children:d?(0,Ce.jsx)(qs,{}):(0,Ce.jsx)(bn,{})},d?"off":"on")})]})]})}var pt,Ce,rl=Se(()=>{"use strict";pt=Wt(require("react"));yt();Bt();It();el();vn();jo();Oo();Ce=require("react/jsx-runtime")});function qp(e,r){let t=e.filter(Boolean);if(t.length<2)return null;let n=s=>s.offsetTop+s.offsetHeight/2,a=n(t[t.length-1])+10,o=s=>(s===r?nl*1.3:nl*.6)*(s%2?1:-1),i=`M ${$n} 0`,c=0;return t.forEach((s,l)=>{let h=n(s),d=c+(h-c)/2;i+=` C ${$n+o(l)} ${d}, ${$n+o(l)} ${d}, ${$n} ${h}`,c=h}),{d:i+` L ${$n} ${a}`,height:a}}function al({items:e,activeIdx:r,progress:t,onJump:n,side:a="right"}){let o=wr(),i=(0,hr.useRef)(null),c=(0,hr.useRef)(null),s=(0,hr.useRef)([]),l=(0,hr.useRef)(null),[h,d]=(0,hr.useState)(null),u=0;for(let p=0;p<e.length;p++)e[p].idx<=r&&(u=p);return(0,hr.useEffect)(()=>{let p=s.current[u],g=l.current,f=c.current,k=i.current;if(p&&(g&&(g.style.transform=`translateY(${p.offsetTop+p.offsetHeight/2}px)`),d(qp(s.current,u)),f&&k)){let z=k.clientHeight;if(f.scrollHeight>z&&z>0){let N=p.offsetTop+p.offsetHeight/2,M=z/2-N;f.style.transform=`translateY(${M}px)`}else f.style.transform="none"}},[u,e.length]),e.length<2?null:(0,rr.jsx)("nav",{ref:i,className:de("hsk-cb-timeline",a==="left"?"hsk-cb-timeline--left":"hsk-cb-timeline--right"),"aria-label":o("timelineLabel"),children:(0,rr.jsxs)("div",{ref:c,className:"hsk-cb-timeline-track",style:{"--hsk-tl-progress":t},children:[h&&(0,rr.jsx)("svg",{className:"hsk-cb-tl-wave",width:"28",height:h.height,viewBox:`0 0 28 ${h.height}`,"aria-hidden":"true",children:(0,rr.jsx)("path",{d:h.d})}),(0,rr.jsx)("span",{className:"hsk-cb-tl-cursor",ref:l,"aria-hidden":"true"}),e.map((p,g)=>(0,rr.jsxs)("button",{ref:f=>{s.current[g]=f},type:"button",className:de("hsk-cb-tl-item",g===u&&"hsk-cb-tl-item--on"),style:{"--hsk-tl-d":Math.min(Math.abs(g-u),4)},onClick:()=>n(p.idx),title:p.text,children:[(0,rr.jsx)("span",{className:"hsk-cb-tl-dot"}),(0,rr.jsx)("span",{className:"hsk-cb-tl-label",children:p.text})]},p.idx))]})})}var hr,rr,$n,nl,ol=Se(()=>{"use strict";hr=require("react");yt();It();rr=require("react/jsx-runtime"),$n=14,nl=6});function sl({msg:e,rect:r,containerRect:t,anchorEl:n,containerEl:a,isUser:o,isRTL:i=!1,canRetry:c,onPin:s,onRetry:l,onCopy:h,onClose:d,t:u}){let[p,g]=(0,xt.useState)(!1),f=(0,xt.useRef)(null),{closing:k,requestClose:z}=Fn(Up,d);(0,xt.useEffect)(()=>{let q=ce=>{ce.key==="Escape"&&z()};return window.addEventListener("keydown",q),()=>window.removeEventListener("keydown",q)},[z]);let b=(0,xt.useCallback)(async()=>{await h(e.content||"")&&(g(!0),setTimeout(z,450))},[e.content,h,z]),N=(0,xt.useCallback)(()=>{Gt("pin"),s(e),z()},[e,s,z]),M=(0,xt.useCallback)(()=>{l&&l(e),z()},[e,l,z]),[E,F]=(0,xt.useState)(0);(0,xt.useEffect)(()=>{if(f.current){let q=f.current.offsetWidth;q&&Math.abs(q-E)>2&&F(q)}},[E]);let[w,H]=(0,xt.useState)(r),[Q,T]=(0,xt.useState)(t);(0,xt.useEffect)(()=>{if(!n)return;let q=0,ce=(me,ue)=>Math.abs(me-ue)<.5,ge=()=>{let me=n.getBoundingClientRect();if(H(ue=>ce(ue.top,me.top)&&ce(ue.left,me.left)&&ce(ue.width,me.width)&&ce(ue.height,me.height)?ue:{top:me.top,left:me.left,width:me.width,height:me.height}),a){let ue=a.getBoundingClientRect();T(j=>j&&ce(j.top,ue.top)&&ce(j.left,ue.left)&&ce(j.width,ue.width)?j:{top:ue.top,left:ue.left,width:ue.width,height:ue.height})}q=requestAnimationFrame(ge)};return q=requestAnimationFrame(ge),()=>cancelAnimationFrame(q)},[n,a]);let[A,G]=(0,xt.useState)("");(0,xt.useEffect)(()=>{if(!n)return;let q=getComputedStyle(n).backgroundColor;q&&q!=="rgba(0, 0, 0, 0)"&&q!=="transparent"&&G(q)},[n]);let B=w,X=Q??t,xe=X?.top??0,se=X?.left??0,V=X?.width??(typeof window<"u"?window.innerWidth:390),re=B.top-xe,W=B.left-se,_=B.width,J=B.height,C=2;c&&l&&C++;let I=E||(C===2?122:170),K=36,x=!!n?.closest(".hsk-cb-think")||!!n?.parentElement?.querySelector(".hsk-cb-think-head"),R=re>=58&&!x,m=R?Math.max(8,re-K-9):Math.min(re+J+9,(X?.height??800)-K-8),Z=o?i:!i,D=Z?Math.min(V-18,W+_-7):Math.max(18,W+7),O=Z?D-I+18:D-18;O=Math.max(10,Math.min(O,V-I-10));let S=Math.max(18,Math.min(D-O,I-18)),y=A||(o?"var(--hsk-user-bubble-bg, var(--hsk-primary, #007aff))":"var(--hsk-bubble-bg, #eeeef0)"),P=0;return(0,ut.jsx)("div",{className:"hsk-tapback-overlay",onClick:z,children:(0,ut.jsxs)("div",{ref:f,className:de("hsk-tapback-group",k&&"is-closing",R?"is-above":"is-below",o?"is-user":"is-ai"),style:{top:`${m}px`,left:`${O}px`,"--tail-x":`${S}px`,"--tail-dir":Z?1:-1,"--tail-step":o?"9px":"8px","--hsk-anchor-color":y,"--hsk-skin":"var(--hsk-bubble-bg, var(--hsk-chat-ai-bg, #eeeef0))"},onClick:q=>q.stopPropagation(),children:[(0,ut.jsxs)("div",{className:"hsk-tapback-capsule",children:[(0,ut.jsxs)("button",{type:"button",className:"hsk-tapback-tool-btn hsk-tapback-tool-btn--pin",onClick:N,"aria-label":"Pin to Kiku Memory",style:{"--tool-idx":P++},children:[(0,ut.jsx)(Xs,{size:14}),(0,ut.jsx)("span",{children:"Pin"})]}),c&&l&&(0,ut.jsxs)("button",{type:"button",className:"hsk-tapback-tool-btn hsk-tapback-tool-btn--retry",onClick:M,"aria-label":u("retry"),style:{"--tool-idx":P++},children:[(0,ut.jsx)(mn,{size:14}),(0,ut.jsx)("span",{children:u("retry")})]}),(0,ut.jsxs)("button",{type:"button",className:de("hsk-tapback-tool-btn hsk-tapback-tool-btn--copy",p&&"is-copied"),onClick:b,"aria-label":u(p?"copied":"copy"),style:{"--tool-idx":P++},children:[p?(0,ut.jsx)(zr,{size:14}):(0,ut.jsx)(Er,{size:14}),(0,ut.jsx)("span",{children:u(p?"copied":"copy")})]})]}),(0,ut.jsxs)("div",{className:de("hsk-tapback-tail",R?"is-above":"is-below"),style:{left:`${S}px`},children:[(0,ut.jsx)("span",{className:"hsk-tapback-dot hsk-tapback-dot--mid"}),(0,ut.jsx)("span",{className:"hsk-tapback-dot hsk-tapback-dot--anchor"})]})]})})}var xt,ut,Up,il=Se(()=>{"use strict";xt=require("react");yt();Wr();qo();Bt();ut=require("react/jsx-runtime"),Up=190});function cl({title:e="kiku",logo:r,placeholder:t="Ask me anything\u2026",backdropColor:n,backdropBlur:a,onClose:o,onSelectSource:i,chips:c=wn,theme:s,classNames:l={},enableVoice:h=!1,voiceLang:d,enableVision:u=!1,ttsVoice:p="Puck",origin:g}){let f=(0,Aa.useAkropolysContext)(),k=(0,Aa.useCardFields)(),{messages:z,sources:b,loading:N,streaming:M,error:E,errorCode:F,lastAction:w,lastIntent:H,allowedActions:Q,send:T,queuedMessage:A,sendQueuedNow:G,appendSpokenExchange:B,stop:X,stopped:xe,interrupted:se,continueGenerating:V,reset:re,referencedIds:W,humanPending:_,leaveHuman:J}=(0,Ia.useKiku)(),[C,L]=(0,ee.useState)(null),I=(0,ee.useRef)(null),K=(0,ee.useCallback)(()=>{window.matchMedia?.("(prefers-reduced-motion: reduce)").matches||I.current?.animate([0,-7,6,-4,2,0].map(v=>({transform:`translateX(${v}px)`})),{duration:380,easing:"cubic-bezier(.36, .07, .19, .97)"})},[]);(0,ee.useEffect)(()=>{if(!C)return;let v=Ae=>{(Ae.key.length===1||Ae.key==="Enter"||Ae.key==="Backspace")&&K()},U=Ae=>{let Ie=je=>Ae.composedPath().some(De=>De.classList?.contains(je));!Ie("hsk-cb-leave")&&!Ie("hsk-cb-topbar")&&K()},be=dn.current;return be?.setAttribute("inert",""),document.addEventListener("keydown",v),document.addEventListener("pointerdown",U,!0),()=>{be?.removeAttribute("inert"),document.removeEventListener("keydown",v),document.removeEventListener("pointerdown",U,!0)}},[C,K]);let[x,R]=(0,ee.useState)(()=>{try{return f.getShopperName?.()??""}catch{return""}}),[m,Z]=(0,ee.useState)(()=>{try{return f.getShopperLanguage?.()??""}catch{return""}}),[D,O]=(0,ee.useState)(()=>{try{return f.getEntityLanguageMode?.()??""}catch{return""}}),[S,y]=(0,ee.useState)(!1),[P,q]=(0,ee.useState)(null),[ce,ge]=(0,ee.useState)(""),[me,ue]=(0,ee.useState)(!1),{chromeReady:j,baseFontReady:te,isRTL:we,speechLang:$e,scriptFont:ve,fontStack:_e,isNonLatin:Oe,hostFontCovers:et,t:ye,tNode:at}=Ei({shopperLanguage:m||ce,theme:s,preloadedStrings:P}),ct=ee.default.useMemo(()=>{let v=b.filter(De=>De.id&&W.includes(De.id)),U=[...z].reverse().find(De=>De.role==="assistant")?.content??"";if(!U)return v;let be=new Set(v.map(De=>De.id)),Ae=U.toLowerCase().replace(/\s+/g," "),Ie=De=>{let bt=String(De??"").toLowerCase().replace(/\s+/g," ").trim(),Xe=bt.split(" "),Ft=[bt];return Xe.length>3&&Ft.push(Xe.slice(0,3).join(" ")),Xe.length>4&&Ft.push(Xe.slice(0,4).join(" ")),Ft.filter(qr=>qr.length>=5)},je=b.filter(De=>De.id&&!be.has(De.id)&&Ie(De.name).some(bt=>Ae.includes(bt)));return[...v,...je]},[b,W,z]),At=Q===null||Q.includes("capture"),[mt,Ye]=(0,ee.useState)(""),[Yt,Lt]=(0,ee.useState)(!1),[dr,Xt]=(0,ee.useState)(!1),[pr,Ut]=(0,ee.useState)([]),ze=(0,ee.useRef)(new Map),Mt=(0,ee.useRef)(null),[ne,he]=(0,ee.useState)({}),[fe,ae]=(0,ee.useState)(null),[ke,pe]=(0,ee.useState)(null),[Re,Le]=(0,ee.useState)(()=>{if(typeof window>"u")return!1;try{return localStorage.getItem("akropolys_terms_agreed")==="true"}catch{return!1}}),Ne=z.length===0,nt=ce||m,nr=!nt||nt.toLowerCase()==="english"||nt.toLowerCase()==="en",ot=me||!!ce||!!m&&!j&&!nr,Pt=Ne&&!m&&!ot,Tr=Ne&&!!m&&!x&&!ot,ur=Ne&&!!m&&!!x&&!D,mr=Ne&&!!m&&!!x&&!!D&&!Re,Rr=Pt||Tr||ur||mr||ot,rn=ur||mr||ot,[nn,Pa]=(0,ee.useState)(ot),[qn,an]=(0,ee.useState)(!1),[on,Br]=(0,ee.useState)(!1),[Un,Pe]=(0,ee.useState)(!1),tt=(0,ee.useRef)(!1),Ue=(0,ee.useRef)(null),Tt=(0,ee.useRef)(null);ot!==nn&&(Pa(ot),ot?(Tt.current&&clearTimeout(Tt.current),Pe(!1),Br(!0),Ue.current=setTimeout(()=>{an(!0),Br(!1),tt.current=!0},280)):(Ue.current&&clearTimeout(Ue.current),Br(!1),an(!1),tt.current&&(tt.current=!1,Pe(!0),Tt.current=setTimeout(()=>Pe(!1),560)))),(0,ee.useEffect)(()=>()=>{Ue.current&&clearTimeout(Ue.current),Tt.current&&clearTimeout(Tt.current)},[]),(0,ee.useEffect)(()=>{if(!Pt)return;let v=mt.trim();if(v.length<2)return;let U=setTimeout(()=>{jr(f,v,wt)},150);return()=>clearTimeout(U)},[Pt,mt,f]);let lt=ee.default.useMemo(()=>z.some(v=>v.liveKeys?.length>0),[z]);(0,ee.useEffect)(()=>{if(lt)return(0,Ia.subscribeLiveStream)({client:f})},[lt,f]);let[vt,Wn]=(0,ee.useState)(!1);(0,ee.useEffect)(()=>{let v=window.matchMedia?.("(max-width: 1199px)");if(!v)return;let U=()=>Wn(v.matches);return U(),v.addEventListener?.("change",U),()=>v.removeEventListener?.("change",U)},[]);let On=async v=>{let U=v.trim();if(!U){try{f.setShopperLanguage?.("")}catch{}Z(""),ge(""),q(null);return}if(ge(U),ue(!0),U.toLowerCase()==="english"||U.toLowerCase()==="en"){q(wt);try{f.setShopperLanguage?.(U)}catch{}Z(U),ge(""),ue(!1),y(!1);return}let Ae=Date.now(),Ie=1200;try{let De=f.getCachedUIStrings?.(U,yr)??f.getCachedUIStrings?.(U,wt);if(De?.strings&&Object.keys(De.strings).length>0)q(De.strings),De.font&&await Dt(De.font,800);else{let bt=f.getUIStrings?.(U,yr),Xe=await Promise.race([bt,new Promise(Ft=>setTimeout(()=>Ft(null),8e3))]);Xe?.font&&await Dt(Xe.font,1200),Xe?.strings&&Object.keys(Xe.strings).length>0&&q(Xe.strings)}}catch{}let je=Date.now()-Ae;je<Ie&&await new Promise(De=>setTimeout(De,Ie-je));try{f.setShopperLanguage?.(U)}catch{}Z(U),ge(""),ue(!1),y(!1);try{f.getUIStrings?.(U,wt)?.catch?.(()=>{})}catch{}},Hr=v=>{try{f.setEntityLanguageMode?.(v)}catch{}O(v),Re&&y(!0)},br=()=>{try{localStorage.setItem("akropolys_terms_agreed","true")}catch{}Le(!0),y(!0)},Fa=ot?Ir(ce||m).preparing:Pt?ye("langPlaceholder"):Tr?ye("namePlaceholder"):ur?ye("entityLangPlaceholder"):mr?ye("termsPlaceholder"):t==="Ask me anything\u2026"?ye("defaultPlaceholder"):t,_a=!c||c===wn?[]:Array.isArray(c)?c:[],Da=Pt?"curious":Tr?"welcoming":ur?"guiding":mr?"focused":"happy",[fr,Ba]=(0,ee.useState)(()=>{if(no(s))return s;if(typeof window<"u"){let v=localStorage.getItem("akropolys_theme");return no(v)?v:window.matchMedia?.("(prefers-color-scheme: light)").matches?Qs:ro}return ro}),[Ha,Xo]=(0,ee.useState)(!1),sn=(0,ee.useRef)(null);(0,ee.useEffect)(()=>()=>{sn.current&&clearTimeout(sn.current)},[]);let Qo=(0,ee.useRef)(null),yl=()=>{let v=dn.current;if(!v?.animate||window.matchMedia?.("(prefers-reduced-motion: reduce)").matches)return;let U=we?-3:3;Qo.current?.cancel(),Qo.current=v.animate([{transform:"translate(0, 0)",easing:"cubic-bezier(.3, 0, .2, 1)"},{offset:.26,transform:`translate(${U}px, -6px)`,easing:"cubic-bezier(.45, 0, .35, 1)"},{offset:.52,transform:`translate(${-U*.3}px, 1.6px)`,easing:"cubic-bezier(.45, 0, .35, 1)"},{offset:.74,transform:`translate(${U*.1}px, -0.6px)`,easing:"cubic-bezier(.45, 0, .55, 1)"},{transform:"translate(0, 0)"}],{duration:1100,delay:380})},Jo=(0,ee.useRef)(!1);(0,ee.useEffect)(()=>{if(Jo.current)return;let v=dn.current;if(!v){mo();return}let U=!1,be=()=>v.querySelector(".hsk-cb-hello-wrap, .hsk-cb-msg-group"),Ae=()=>{U||(U=!0,Jo.current=!0,Ie.disconnect(),clearTimeout(je),mo())},Ie=new MutationObserver(()=>{be()&&Ae()});Ie.observe(v,{childList:!0,subtree:!0});let je=window.setTimeout(Ae,2e3);return be()&&Ae(),()=>{U=!0,Ie.disconnect(),clearTimeout(je)}},[]);let Zo=(v,U=!1)=>{Xo(!0),sn.current&&clearTimeout(sn.current),sn.current=setTimeout(()=>Xo(!1),420),Ba(v),yl(),U&&Wa();try{localStorage.setItem("akropolys_theme",v)}catch{}},{vars:wl}=ra(s),cn=fr;na(s);let es=(0,ee.useRef)(()=>{}),ar=(0,ee.useRef)(null),kr=async(v,U,be,Ae)=>{let Ie=(v??mt).trim(),je=U??pr;if(!Ie&&je.length===0||!j||A)return;if(Gt("send"),Tr){if(!Ie)return;let Xe=xi(Ie)||Ie.slice(0,40);try{f.setShopperName?.(Xe)}catch{}R(Xe),Ye("");return}if(Pt){if(!Ie||me)return;Ye(""),On(Ie);return}if(rn){Ye("");return}Lt(!1),Xt(!1),Ye(""),Ut([]);let De=(await Promise.all(je.map(async({thumb:Xe,...Ft})=>{let qr=Ft.data||(Xe?await ze.current.get(Xe)?.catch(()=>""):"")||"";return Xe&&URL.revokeObjectURL(Xe),{...Ft,data:qr}}))).filter(Xe=>Xe.data),bt=Ie||(De.some(Xe=>Xe.type==="image")?"Analyze this image":"What is this?");await T(bt,Ie,De.length>0?De:void 0,be,Ae)},[Cl,ts]=(0,ee.useState)(!1),Gn=(0,ee.useCallback)(async v=>{let U=v&&v.role==="user"?v:[...z].reverse().find(be=>be.role==="user");if(U?.content){ts(!0);try{await kr(U.content)}finally{ts(!1)}}},[z,kr]),Sl=(0,ee.useCallback)(v=>{v?.content&&(Ye(v.content),setTimeout(()=>{if(ar.current){ar.current.focus();let U=v.content.length;try{ar.current.setSelectionRange(U,U)}catch{}}},50))},[Ye,ar]),Ml=(0,ee.useCallback)(async()=>{await Gn()},[Gn]),{keyInput:Tl,setKeyInput:Rl,keyPhase:El,setKeyPhase:rs,mintedKey:zl,setMintedKey:Ll,mintedPub:Kp,setMintedPub:Nl,copied:Il,keyCountdown:Al,minting:Pl,copyValue:Fl,handleUseExistingKey:_l,handleCreateKey:Dl}=Fi(w,Ml),ns=(0,ee.useCallback)(()=>{let v=f?.getKikuKey?.();v&&window.open(`https://mimi.akropolys.cloud/#k=${encodeURIComponent(v)}`,"_blank","noopener")},[f]),[ln,as]=(0,ee.useState)(null),Bl=(0,ee.useCallback)((v,U,be,Ae)=>{as({msg:v,rect:U,isUser:be,el:Ae})},[]),Hl=(0,ee.useCallback)(async v=>{let be=`@kiku pin ${(v.content||"").slice(0,50).replace(/\n+/g," ")}`;await T(v.content||"pin message",be,void 0,"capture")},[T]),{handleKikuCapture:$l,handleKikuCaptureAll:ql,handleKikuViewHistory:Ul,handleKikuDelete:Wl}=Di({attachments:pr,setAttachments:Ut,setInput:Ye,send:T,t:ye}),{voiceMode:os,voicePhase:ss,voiceConnecting:Ol,voiceError:$a,setVoiceError:is,voiceMuted:Gl,setVoiceMuted:Vl,voiceSecondsLeft:jl,voiceBlocked:Kl,liveVoiceName:Yl,chooseVoice:Xl,canConverse:Ql,startVoice:Jl,stopVoice:Zl,voice:eh,live:cs,earlier:th,newVoiceChat:rh,attachPhoto:nh}=ic({voiceLang:d,speechLang:$e,shopperLanguage:m,ttsVoice:p,messages:z,handleSendUtterance:v=>es.current(v),appendSpokenExchange:B}),Vn=(0,ee.useRef)(null),[gr,jn]=(0,ee.useState)(!1),[ah,oh]=(0,ee.useState)(null),Kn=(0,ee.useRef)(null),qa=(0,ee.useRef)(null),ls=(0,ee.useRef)([]),hn=(0,ee.useRef)(null),sh=`hsk-goo-${(0,ee.useId)()}`,{closing:Ua,requestClose:hs,closeNow:Wa}=Fn(vt?Op:Wp,()=>jn(!1));(0,ee.useEffect)(()=>{if(!gr)return;let v=U=>{let be=U.composedPath?U.composedPath():[],Ae=Kn.current&&(be.includes(Kn.current)||Kn.current.contains(U.target)),Ie=qa.current&&(be.includes(qa.current)||qa.current.contains(U.target)),je=U.target,De=je?.closest?.(".hsk-cb-topbar-mark"),bt=je?.closest?.(".hsk-cb-topbar-ooze-menu")||be.some(Xe=>Xe?.classList?.contains?.("hsk-cb-topbar-ooze-menu"));Ae||Ie||De||bt||hs()};return document.addEventListener("mousedown",v),document.addEventListener("touchstart",v,{passive:!0}),()=>{document.removeEventListener("mousedown",v),document.removeEventListener("touchstart",v)}},[gr]);let{msgsContainerRef:dn,spacerRef:ih,lastExternalScrollRef:ch,showJumpToBottom:lh,scrollProgress:hh,activeMsgIdx:dh,unreadBelow:ph,jumpToMessage:uh,jumpToBottom:mh}=Li({messages:z,loading:N,streaming:M,messageRefs:ls}),{closing:bh,requestClose:ds}=Fn(Gp,o),Yn=(0,ee.useCallback)(v=>{v&&J(),jn(!1),window.matchMedia?.("(prefers-reduced-motion: reduce)").matches?o():ds()},[ds,o,J]),Xn=(0,ee.useCallback)(()=>{C?K():_?L("close"):Yn(!1)},[_,Yn,C,K]);Js({panel:(0,ee.useCallback)(()=>Vn.current,[]),scroller:(0,ee.useCallback)(()=>dn.current,[]),onDismiss:o,quiescent:(0,ee.useCallback)(()=>performance.now()-ch.current>90,[])}),(0,ee.useEffect)(()=>{if(typeof window>"u")return;let v=window.innerWidth-document.documentElement.clientWidth,U=document.body.style.overflow,be=document.body.style.paddingRight;if(v>0){let Ae=parseFloat(window.getComputedStyle(document.body).paddingRight)||0;document.body.style.paddingRight=`${Ae+v}px`,document.documentElement.style.setProperty("--hsk-scrollbar-width",`${v}px`)}return document.body.style.overflow="hidden",()=>{document.body.style.overflow=U,document.body.style.paddingRight=be,document.documentElement.style.removeProperty("--hsk-scrollbar-width")}},[]),(0,ee.useEffect)(()=>{let v=window.visualViewport;if(!v)return;let U=document.documentElement,be=()=>{U.style.setProperty("--hsk-vvh",`${v.height}px`)};return be(),v.addEventListener("resize",be),v.addEventListener("scroll",be),()=>{v.removeEventListener("resize",be),v.removeEventListener("scroll",be),U.style.removeProperty("--hsk-vvh")}},[]),(0,ee.useEffect)(()=>{let v=U=>{if(U.key==="Escape"){if(fe){ae(null);return}Xn()}};return document.addEventListener("keydown",v),()=>document.removeEventListener("keydown",v)},[fe,Xn]);let Qn=(0,ee.useCallback)(v=>{v&&J(),re(),rs("idle")},[re,rs,J]),fh=(0,ee.useCallback)(()=>{C?K():_?L("reset"):Qn(!1)},[_,Qn,C,K]),kh=v=>{i?.(v);let U=[...z].reverse().find(be=>be.role==="assistant");if(U&&U.content.trim().endsWith("?")){T(ye("cardClickAnswer",{name:v.name}));return}T(ye("cardClickQuery",{name:v.name,details:Va(Ot(v,k))}))},gh=v=>{Ye(v+" "),Xt(!1),Lt(!0),ar.current&&ar.current.focus()},xh=v=>{if(v.key==="Escape"&&Yt){v.preventDefault(),Lt(!1);return}if(v.key==="Escape"&&dr){v.preventDefault(),Xt(!1);return}v.key==="Enter"&&!v.shiftKey&&!v.nativeEvent.isComposing&&(v.preventDefault(),kr())},Oa=(0,ee.useRef)(28),ps=(0,ee.useRef)(280),Ga=(0,ee.useRef)(null),vh=(v,U)=>{try{!Ga.current&&typeof document<"u"&&(Ga.current=document.createElement("canvas"));let be=Ga.current?.getContext("2d");return be?(be.font=U,be.measureText(v).width):v.length*8.5}catch{return v.length*8.5}},yh=v=>{let U=v.closest(".hsk-cb-input-box");if(!U)return;let be=v.value;!(U.dataset.expanded==="true")&&v.clientWidth>50&&(ps.current=v.clientWidth);let Ie=window.getComputedStyle(v),je=Ie.font||`${Ie.fontSize||"16px"} ${Ie.fontFamily||"Geist, sans-serif"}`,De=vh(be,je),bt=Math.max(120,ps.current-14),Xe=be.includes(`
|
|
38
|
+
`),Ft=!!(be&&(Xe||De>bt));if(U.dataset.expanded!==(Ft?"true":"false")&&(U.dataset.expanded=Ft?"true":"false"),!be){Oa.current=28,v.style.height="";return}if(!Ft){Oa.current=28,v.style.height="";return}v.style.height="auto";let qr=Math.max(28,Math.min(v.scrollHeight,140));Oa.current=qr,v.style.height=`${qr}px`};(0,ee.useEffect)(()=>{ar.current&&yh(ar.current)},[mt]);let wh=v=>{let U=v.target.value;Ye(U),$a&&is("");let be=U.trim();Xt(be==="@"),Lt(/^@kiku\s*$/i.test(be))};(0,ee.useEffect)(()=>{es.current=v=>{kr(v)}});let Ch=async v=>{if(!v||v.length===0)return;let U=Array.from(v);for(let be of U){if(!be.type.startsWith("image/"))continue;let Ae=URL.createObjectURL(be),Ie=ha(be);ze.current.set(Ae,Ie),Ut(je=>[...je,{type:"image",data:"",thumb:Ae}]),Ie.then(je=>Ut(De=>De.map(bt=>bt.thumb===Ae?{...bt,data:je}:bt))).catch(()=>Ut(je=>je.filter(De=>De.thumb!==Ae))).finally(()=>ze.current.delete(Ae))}},Sh=v=>{Ut(U=>{let be=U[v]?.thumb;return be&&URL.revokeObjectURL(be),U.filter((Ae,Ie)=>Ie!==v)})},Mh=n&&(n.includes("rgba")||n.includes("hsla")||n==="transparent"),Th=a||Mh?{backdropFilter:`blur(${typeof a=="number"?`${a}px`:a||"20px"})`,WebkitBackdropFilter:`blur(${typeof a=="number"?`${a}px`:a||"20px"})`}:{},us=(0,ee.useRef)(!1);(0,ee.useEffect)(()=>{if(us.current&&!M){let v=z[z.length-1];v&&v.role!=="user"&&Gt("reply")}us.current=M},[M,z]);let ms=(xe||se)&&!N&&!M,Jn=z[z.length-1],Zn=Ii(Jn?.role==="assistant"?Jn.content??"":""),Rh=Jn?.role==="assistant"&&Zn.length<(Jn.content?.length??0),Eh=M||Rh,$r=ee.default.useMemo(()=>{let v=N||M,U=z.filter((Ie,je)=>Ie.role!=="assistant"||je===z.length-1&&v?!0:!!Ie.content||!!Ie.visualization||Ie.visualizing||(Ie.knowledgeImages?.length??0)>0||(Ie.referencedIds?.length??0)>0||Pn(Ie.statusStage)),be=U.length-1;if(be<0||U[be].role!=="assistant"||U[be]!==z[z.length-1])return U;let Ae=Zn.length<(U[be].content?.length??0);return!v&&!Ae?U:U.map((Ie,je)=>je===be?{...Ie,content:Zn}:Ie)},[z,N,M,Zn]),zh=ee.default.useMemo(()=>{let v=[];return $r.forEach((U,be)=>{if(U.role==="user"&&U.content.trim()){let Ae=U.content.replace(/^@kiku\s*/i,"").replace(/\s+/g," ").trim();v.push({idx:be,text:Ae.length>28?Ae.slice(0,27).trimEnd()+"\u2026":Ae})}}),v},[$r]),Lh=ms&&$r[$r.length-1]?.role!=="assistant",bs=(0,ee.useRef)(Date.now());return(0,ee.useEffect)(()=>{bs.current=Date.now()},[]),(0,Fe.jsx)(ko.Provider,{value:ye,children:(0,Fe.jsx)("div",{ref:hn,className:de("hsk-cb-overlay",g&&"hsk-cb-overlay--grows",bh&&"hsk-cb-overlay--closing",l.overlay),onPointerDown:v=>{xr(),v.target===v.currentTarget&&(hn.current._ptrDown=!0)},onClick:v=>{v.target===v.currentTarget&&hn.current?._ptrDown&&Date.now()-bs.current>200&&Xn(),hn.current&&(hn.current._ptrDown=!1)},"data-hsk-theme":cn,"data-hsk-theming":Ha?"":void 0,style:{...Th,...n?{background:n}:{},...g?{"--hsk-ox":`${g.x}px`,"--hsk-oy":`${g.y}px`}:{},...wl},children:(0,Fe.jsxs)("div",{ref:Vn,className:de("hsk-cb-panel",l.panel),dir:we?"rtl":"ltr",lang:$e||void 0,"data-script":Oe?"nonlatin":"latin","data-host-font":et?"covers":"gap","data-nastaliq":ve?.family==="Noto Nastaliq Urdu"||m?.toLowerCase()==="urdu"||m?.toLowerCase()==="ur"||m==="\u0627\u0631\u062F\u0648"?"true":void 0,style:_e?{"--hsk-font":_e}:void 0,onClick:v=>{v.stopPropagation();let U=v.target;if(U.tagName==="IMG"&&(U.classList.contains("hsk-markdown-img")||U.classList.contains("hsk-cb-user-img-thumb"))){let be=U.src;be&&ae(be)}},children:[(0,Fe.jsx)(Hn,{src:fe,onClose:()=>ae(null)}),ke&&(0,Fe.jsx)("div",{className:"hsk-markup-overlay",children:(0,Fe.jsx)(ai,{src:ke,t:ye,onCancel:()=>pe(null),onSend:(v,U,be,Ae)=>{pe(null),kr(U,[{type:"image",data:v,annotated:!0,marks:be,instructed:!0,preview:Ae}])}})}),(0,Fe.jsxs)("div",{className:"hsk-cb-main",children:[(0,Fe.jsx)(da,{seed:f?.api?.siteId??"",theme:cn,dir:we?"rtl":"ltr",waitForContent:!0}),(0,Fe.jsx)(gc,{title:e,logo:r,hasMessages:z.length>0,avatarState:M?"speaking":N?"thinking":"idle",unread:ph,awayFromBottom:lh,themeMenuOpen:gr,themeMenuClosing:Ua,onThemeMenuClosed:Wa,isNarrow:vt,currentTheme:fr,onJumpToLatest:mh,onReset:fh,onClose:Xn,onToggleThemeMenu:()=>gr?hs():jn(!0),onSelectTheme:v=>{Zo(v,!0)},themeAttr:cn}),(0,Fe.jsx)("div",{className:"hsk-cb-msgs",ref:dn,children:$r.length===0?(0,Fe.jsx)(Mc,{inOnboarding:Rr,justCompleted:S,onboardingMood:Da,awaitingLang:Pt,awaitingName:Tr,awaitingEntityLang:ur,awaitingConsent:mr,termsAgreed:Re,shopperLanguage:m,pendingLanguage:ce,shopperName:x,entityLangPref:D,chromeReady:j&&te,activeChips:_a,speechLang:$e,t:ye,tNode:at,chooseLanguage:On,langSwitching:me,isLangPreparing:ot,onPrewarmLanguage:v=>jr(f,v,wt),chooseEntityLang:Hr,agreeTerms:br,handleSend:kr}):(0,Fe.jsx)(Gc,{doodleTheme:cn,displayMessages:$r,messageRefs:ls,isNarrow:vt,loading:N,streaming:Eh,sources:b,referencedIds:W,discussedSources:ct,lastIntent:H,lastAction:w,stopped:xe,interrupted:se,halted:ms,haltedEmpty:Lh,error:E,errorCode:F,keyPhase:El,keyInput:Tl,setKeyInput:Rl,mintedKey:zl,setMintedKey:Ll,setMintedPub:Nl,minting:Pl,copied:Il,keyCountdown:Al,handleUseExistingKey:_l,handleCreateKey:Dl,copyValue:Fl,queuedMessage:A,sendQueuedNow:G,setLightboxSrc:ae,setMarkupSrc:pe,handleSend:kr,handleSourceClick:kh,onRetry:Gn,onEdit:Sl,onLongPress:Bl,retrying:Cl,continueGenerating:V,t:ye,spacerRef:ih,vizState:ne,setVizState:he,messages:z})}),!qn&&(0,Fe.jsx)("div",{className:de(on&&"hsk-composer-exit-up",Un&&"hsk-composer-reveal"),children:(0,Fe.jsx)(Yc,{notice:C&&(0,Fe.jsxs)("div",{className:"hsk-cb-leave",role:"alertdialog",ref:I,children:[(0,Fe.jsx)("span",{children:ye("leaveHumanWarning")}),(0,Fe.jsx)("button",{type:"button",className:"hsk-cb-leave-btn",onClick:()=>L(null),children:ye("leaveHumanStay")}),(0,Fe.jsx)("button",{type:"button",className:"hsk-cb-leave-btn",onClick:()=>{let v=C;L(null),v==="reset"?Qn(!0):Yn(!0)},children:ye("leaveHumanConfirm")}),(0,Fe.jsx)("button",{type:"button",className:"hsk-cb-leave-btn hsk-cb-leave-btn--end",onClick:()=>{let v=C;L(null),v==="reset"?Qn(!1):Yn(!1)},children:ye("leaveHumanKeep")})]}),gooId:sh,input:mt,setInput:Ye,showKikuPicker:Yt,setShowKikuPicker:Lt,showAtPicker:dr,setShowAtPicker:Xt,captureAllowed:At,discussedSources:ct,handleSelectExtension:gh,handleKikuCapture:$l,handleKikuCaptureAll:ql,handleKikuViewHistory:Ul,handleKikuDelete:Wl,attachments:pr,removeAttachment:Sh,chromeLoading:!j,imageInputRef:Mt,handleImageFiles:Ch,enableVision:u&&!Rr,enableVoice:h&&!Rr,canConverse:Ql,startVoice:Jl,inputLocked:rn,voiceBlocked:Kl,textareaRef:ar,classNames:l,handleInput:wh,handleKeyDown:xh,voice:eh,voicePhase:ss,activePlaceholder:Fa,loading:N,streaming:M,stop:X,handleSend:kr,voiceError:$a,setVoiceError:is,langSwitching:me||ot,t:ye,onOpenMimi:f?.getKikuKey?.()?ns:void 0})})]}),os!=="converse"&&(0,Fe.jsx)(al,{items:zh,activeIdx:dh,progress:hh,onJump:uh,side:we?"left":"right"}),(0,Fe.jsxs)("div",{className:de("hsk-cb-kiku-id-rail",we?"hsk-cb-kiku-id-rail--right":"hsk-cb-kiku-id-rail--left"),children:[(0,Fe.jsx)("div",{className:"hsk-cb-dock-frost","aria-hidden":"true"}),(0,Fe.jsx)(xa,{}),(0,Fe.jsxs)("div",{className:de("hsk-cb-theme-squircle-wrap",gr&&!Ua&&"is-open"),ref:Kn,children:[(0,Fe.jsx)("div",{className:"hsk-cb-theme-2x2-grid",role:"dialog","aria-label":"Theme selector",ref:v=>{v&&(v.inert=!gr||Ua)},children:Lr.map(({id:v,label:U,Icon:be})=>(0,Fe.jsxs)("button",{type:"button",className:de("hsk-cb-theme-grid-item",(ah??fr)===v&&"is-active"),onClick:Ae=>{Ae.stopPropagation(),Zo(v,!0)},children:[(0,Fe.jsx)(be,{}),(0,Fe.jsx)("span",{children:U})]},v))}),(0,Fe.jsxs)("button",{type:"button",className:"hsk-cb-theme-squircle-trigger",onClick:()=>{if(gr){Wa();return}oh(fr),jn(!0)},"aria-label":"Themes","aria-expanded":gr,children:[(0,Fe.jsx)("span",{className:"hsk-cb-theme-trigger-icon",children:ee.default.createElement(ao(fr).Icon)}),(0,Fe.jsx)("span",{className:"hsk-cb-theme-trigger-label",children:ao(fr).label})]})]}),f?.getKikuKey?.()&&(0,Fe.jsxs)("button",{type:"button",className:"hsk-cb-sound-pill",onClick:ns,children:[(0,Fe.jsx)(ia,{size:13}),(0,Fe.jsx)("span",{children:"MiMi"})]})]}),os==="converse"&&(0,Fe.jsx)(tl,{siteId:f?.api?.siteId??"",themeAttr:cn,stopVoice:Zl,chooseVoice:Xl,liveVoiceName:Yl,voiceSecondsLeft:jl,voiceConnecting:Ol,voicePhase:ss,live:cs,earlier:th,newVoiceChat:rh,voiceMuted:Gl,setVoiceMuted:Vl,voiceError:$a,attachPhoto:nh,onSelectSource:v=>{i?.(v),cs.ask(ye("cardClickQuery",{name:v.name,details:Va(Ot(v,k))}))},t:ye}),ln&&(0,Fe.jsx)(sl,{msg:ln.msg,rect:ln.rect,anchorEl:ln.el,containerEl:Vn.current,containerRect:Vn.current?.getBoundingClientRect(),isUser:ln.isUser,isRTL:we,canRetry:!N&&!M,onPin:Hl,onRetry:Gn,onCopy:async v=>{if(!v)return!1;try{return await navigator.clipboard.writeText(v),!0}catch{}try{let U=document.createElement("textarea");U.value=v,U.setAttribute("readonly",""),U.style.cssText="position:fixed;top:0;left:0;opacity:0;pointer-events:none",document.body.appendChild(U),U.select(),U.setSelectionRange(0,v.length);let be=document.execCommand("copy");return document.body.removeChild(U),be}catch{return!1}},onClose:()=>as(null),t:ye})]})})})}var ee,Ia,Aa,Fe,Wp,Op,Gp,ll=Se(()=>{"use strict";ee=Wt(require("react"));oo();Ia=require("@akropolys/sdk"),Aa=require("@akropolys/sdk");pn();yt();ja();un();Zs();so();oi();vn();It();ma();zi();Ni();Ai();_i();Bi();cc();xc();Bt();Tc();Wr();No();Ta();qo();Vc();Xc();rl();jo();ol();il();Fe=require("react/jsx-runtime"),Wp=240,Op=700,Gp=200});var Ko,hl=Se(()=>{"use strict";Ko='@property --hsk-chat-bg{syntax: "<color>"; inherits: true; initial-value: #0a0a0a;}@property --hsk-chat-text{syntax: "<color>"; inherits: true; initial-value: #f0efed;}@property --hsk-chat-muted{syntax: "<color>"; inherits: true; initial-value: #888888;}@property --hsk-chat-divide{syntax: "<color>"; inherits: true; initial-value: rgba(255,255,255,.08);}@property --hsk-chat-input-bg{syntax: "<color>"; inherits: true; initial-value: #191919;}@property --hsk-chat-source-bg{syntax: "<color>"; inherits: true; initial-value: rgba(255,255,255,.04);}@property --hsk-fade-bg{syntax: "<color>"; inherits: true; initial-value: #0a0a0a;}@property --hsk-surface-1{syntax: "<color>"; inherits: true; initial-value: rgba(255,255,255,.06);}@property --hsk-surface-2{syntax: "<color>"; inherits: true; initial-value: #1f1f22;}@property --hsk-bubble-bg{syntax: "<color>"; inherits: true; initial-value: #1f1f22;}@property --hsk-think-text{syntax: "<color>"; inherits: true; initial-value: #a6a6a6;}@property --hsk-placeholder{syntax: "<color>"; inherits: true; initial-value: #555555;}@property --hsk-grid-bg{syntax: "<color>"; inherits: true; initial-value: #1a1a1c;}@property --hsk-active-bg{syntax: "<color>"; inherits: true; initial-value: #f0efed;}@property --hsk-on-active{syntax: "<color>"; inherits: true; initial-value: #0a0a0a;}@property --hsk-src-title{syntax: "<color>"; inherits: true; initial-value: #f9fafb;}@property --hsk-src-desc{syntax: "<color>"; inherits: true; initial-value: #9ca3af;}@property --hsk-price-bg{syntax: "<color>"; inherits: true; initial-value: rgba(255,255,255,.08);}@property --hsk-price-text{syntax: "<color>"; inherits: true; initial-value: #ff7a45;}@property --hsk-sheet-bg{syntax: "<color>"; inherits: true; initial-value: #1f1f22;}@property --hsk-primary{syntax: "<color>"; inherits: true; initial-value: #ff6a33;}@property --hsk-pill-bg{syntax: "<color>"; inherits: true; initial-value: rgba(255,255,255,.06);}@property --hsk-glass-bg{syntax: "<color>"; inherits: true; initial-value: rgba(255,255,255,.07);}@property --hsk-glass-edge{syntax: "<color>"; inherits: true; initial-value: transparent;}@property --hsk-glass-edge-top{syntax: "<color>"; inherits: true; initial-value: transparent;}@property --hsk-glass-drop{syntax: "<color>"; inherits: true; initial-value: transparent;}@property --hsk-glass-sheen{syntax: "<color>"; inherits: true; initial-value: transparent;}[data-hsk-theme]{transition:--hsk-chat-bg .36s cubic-bezier(.4,0,.2,1),--hsk-chat-text .36s cubic-bezier(.4,0,.2,1),--hsk-chat-muted .36s cubic-bezier(.4,0,.2,1),--hsk-chat-divide .36s cubic-bezier(.4,0,.2,1),--hsk-chat-input-bg .36s cubic-bezier(.4,0,.2,1),--hsk-chat-source-bg .36s cubic-bezier(.4,0,.2,1),--hsk-fade-bg .36s cubic-bezier(.4,0,.2,1),--hsk-surface-1 .36s cubic-bezier(.4,0,.2,1),--hsk-surface-2 .36s cubic-bezier(.4,0,.2,1),--hsk-bubble-bg .36s cubic-bezier(.4,0,.2,1),--hsk-think-text .36s cubic-bezier(.4,0,.2,1),--hsk-placeholder .36s cubic-bezier(.4,0,.2,1),--hsk-grid-bg .36s cubic-bezier(.4,0,.2,1),--hsk-active-bg .36s cubic-bezier(.4,0,.2,1),--hsk-on-active .36s cubic-bezier(.4,0,.2,1),--hsk-src-title .36s cubic-bezier(.4,0,.2,1),--hsk-src-desc .36s cubic-bezier(.4,0,.2,1),--hsk-price-bg .36s cubic-bezier(.4,0,.2,1),--hsk-price-text .36s cubic-bezier(.4,0,.2,1),--hsk-sheet-bg .36s cubic-bezier(.4,0,.2,1),--hsk-primary .36s cubic-bezier(.4,0,.2,1),--hsk-pill-bg .36s cubic-bezier(.4,0,.2,1),--hsk-glass-bg .36s cubic-bezier(.4,0,.2,1),--hsk-glass-edge .36s cubic-bezier(.4,0,.2,1),--hsk-glass-edge-top .36s cubic-bezier(.4,0,.2,1),--hsk-glass-drop .36s cubic-bezier(.4,0,.2,1),--hsk-glass-sheen .36s cubic-bezier(.4,0,.2,1)}[data-hsk-theming] *,[data-hsk-theming] *:before,[data-hsk-theming] *:after{transition-property:transform,opacity!important}[data-hsk-theming] .hsk-cb-theme-squircle-wrap{transition-property:width,height,border-radius!important}[data-hsk-theming] .hsk-cb-theme-squircle-wrap>.hsk-cb-theme-squircle-trigger{transition-property:height,opacity!important}@media(prefers-reduced-motion:reduce){[data-hsk-theme]{transition:none}}:host,:root{--hsk-border-radius: 0px;--hsk-brand-green: #2D7A4B;--hsk-font: "Geist", "Inter", -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Display", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;--hsk-default-font-size: 15px}.hsk-cb-btn,.hsk-cb-close,.hsk-cb-topbar-btn,.hsk-cb-chip,.hsk-cb-source,.hsk-cb-sources-next,.hsk-action-pill,.hsk-chat-send,.hsk-chat-reset,.hsk-close-btn,.hsk-cb-overlay{--hsk-font-size: 16px;touch-action:manipulation;-webkit-tap-highlight-color:transparent;font-family:var(--hsk-font)}.hsk-cb-overlay{transition:--hsk-chat-bg .45s cubic-bezier(.16,1,.3,1),--hsk-chat-text .45s cubic-bezier(.16,1,.3,1),--hsk-chat-muted .45s cubic-bezier(.16,1,.3,1),--hsk-chat-divide .45s cubic-bezier(.16,1,.3,1),--hsk-chat-input-bg .45s cubic-bezier(.16,1,.3,1),--hsk-surface-1 .45s cubic-bezier(.16,1,.3,1),--hsk-surface-2 .45s cubic-bezier(.16,1,.3,1),--hsk-bubble-bg .45s cubic-bezier(.16,1,.3,1),--hsk-primary .45s cubic-bezier(.16,1,.3,1),--hsk-grid-bg .45s cubic-bezier(.16,1,.3,1),--hsk-active-bg .45s cubic-bezier(.16,1,.3,1),--hsk-on-active .45s cubic-bezier(.16,1,.3,1),--hsk-src-title .45s cubic-bezier(.16,1,.3,1),--hsk-src-desc .45s cubic-bezier(.16,1,.3,1),--hsk-price-bg .45s cubic-bezier(.16,1,.3,1),--hsk-price-text .45s cubic-bezier(.16,1,.3,1),--hsk-sheet-bg .45s cubic-bezier(.16,1,.3,1),--hsk-pill-bg .45s cubic-bezier(.16,1,.3,1),--hsk-glass-bg .45s cubic-bezier(.16,1,.3,1),--hsk-glass-edge .45s cubic-bezier(.16,1,.3,1),--hsk-glass-edge-top .45s cubic-bezier(.16,1,.3,1),--hsk-glass-drop .45s cubic-bezier(.16,1,.3,1),--hsk-glass-sheen .45s cubic-bezier(.16,1,.3,1),--hsk-fade-bg .45s cubic-bezier(.16,1,.3,1),--hsk-chat-source-bg .45s cubic-bezier(.16,1,.3,1),--hsk-think-text .45s cubic-bezier(.16,1,.3,1),--hsk-placeholder .45s cubic-bezier(.16,1,.3,1),background-color .45s cubic-bezier(.16,1,.3,1),border-color .45s cubic-bezier(.16,1,.3,1),color .45s cubic-bezier(.16,1,.3,1),fill .45s cubic-bezier(.16,1,.3,1),stroke .45s cubic-bezier(.16,1,.3,1),box-shadow .45s cubic-bezier(.16,1,.3,1)}.hsk-cb-overlay{--hsk-glass-border: 1px solid var(--hsk-glass-edge);--hsk-glass-border-top: 1px solid var(--hsk-glass-edge-top);--hsk-glass-shadow: 0 12px 32px -4px var(--hsk-glass-drop), 0 1px 0 0 var(--hsk-glass-sheen) inset}.hsk-kiku-avatar,.hsk-kiku-avatar *{transition:none}@media(prefers-reduced-motion:reduce){.hsk-cb-overlay,.hsk-cb-overlay *,.hsk-cb-overlay *:before,.hsk-cb-overlay *:after{transition:none}}.hsk-cb-overlay button,.hsk-cb-overlay [role=button],.hsk-cb-overlay input,.hsk-cb-overlay textarea,.hsk-cb-overlay select,.hsk-chat button,.hsk-chat [role=button],.hsk-chat input,.hsk-chat textarea,.hsk-chat select,.hsk-cb-btn,.hsk-search button,.hsk-search [role=button],.hsk-search input,.hsk-search textarea,.hsk-search select{touch-action:manipulation;-webkit-tap-highlight-color:transparent;font-family:var(--hsk-font)}:host,:root,.hsk-cb-btn,.hsk-cb-overlay,.hsk-chat-widget{--hsk-marble-1: color-mix(in srgb, var(--hsk-primary, #ff6a33) 12%, #fffaf4);--hsk-marble-2: color-mix(in srgb, var(--hsk-primary, #ff6a33) 30%, #fdf0e4);--hsk-marble-3: color-mix(in srgb, var(--hsk-primary, #ff6a33) 62%, #e8cbb0);--hsk-marble-4: color-mix(in srgb, var(--hsk-primary, #ff6a33) 85%, #6d3a1c);--hsk-marble-sheen: .5}@media(prefers-color-scheme:dark){:host,:root,.hsk-cb-btn,.hsk-cb-overlay,.hsk-chat-widget{--hsk-marble-1: #FFFDF6;--hsk-marble-2: #FBF3E2;--hsk-marble-3: color-mix(in srgb, var(--hsk-primary, #ff6a33) 20%, #EDDFC4);--hsk-marble-4: color-mix(in srgb, var(--hsk-primary, #ff6a33) 42%, #D8C39C);--hsk-marble-sheen: .9}}@keyframes hsk-pulse{0%,to{transform:scale(.8);opacity:.5}50%{transform:scale(1.2);opacity:1}}.hsk-cb-btn{--hsk-primary: var(--chat-primary-color, #ff6a33);display:inline-flex;align-items:center;gap:7px;padding:8px 16px;border-radius:var(--hsk-border-radius, 0px);border:1px solid rgba(255,106,51,.4);background:#ff6a331a;color:var(--hsk-primary);font-size:13px;font-weight:600;cursor:pointer;transition:background .15s,border-color .15s,transform .16s cubic-bezier(.34,1.56,.64,1),box-shadow .15s;will-change:transform}.hsk-cb-btn:hover{background:#ff6a332e;border-color:#ff6a33b3;box-shadow:0 4px 16px #ff6a3333}.hsk-cb-btn:active{transform:scale(.97)}.hsk-cb-topbar-mark:active .hsk-cb-topbar-name{transform:scale(.95)}.hsk-cb-btn-icon{font-size:15px;line-height:1;display:flex;align-items:center}.hsk-cb-overlay{--hsk-primary: var(--chat-primary-color, #ff6a33);--hsk-font: var(--chat-font-family, "Geist", ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);letter-spacing:normal;word-spacing:normal;font-kerning:normal;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;--hsk-font-size: var(--hsk-desktop-font-size, 15px);--hsk-mobile-font-size: 14px;position:fixed!important;inset:0!important;width:100vw!important;height:100vh!important;height:100dvh!important;z-index:2147483647!important;display:flex!important;flex-direction:column!important;overflow:hidden!important;animation:hsk-overlay-in .2s ease-out;background:var(--hsk-chat-bg, #ffffff)!important;box-sizing:border-box!important;margin:0!important;padding:0!important}@keyframes hsk-overlay-in{0%{opacity:0}to{opacity:1}}.hsk-cb-overlay.hsk-cb-overlay--grows{animation:hsk-overlay-in .18s cubic-bezier(.16,1,.3,1) both!important}.hsk-cb-overlay.hsk-cb-overlay--grows .hsk-cb-panel{transform-origin:var(--hsk-ox, 50%) var(--hsk-oy, 50%);animation:hsk-panel-float-in .22s cubic-bezier(.16,1,.3,1) both!important}@keyframes hsk-panel-float-in{0%{opacity:0;transform:translateY(8px) scale(.985)}to{opacity:1;transform:translateY(0) scale(1)}}.hsk-cb-overlay.hsk-cb-overlay--grows .hsk-cb-msgs{animation:hsk-content-fade .2s cubic-bezier(.16,1,.3,1) both}@keyframes hsk-content-fade{0%{opacity:0;transform:translateY(4px)}to{opacity:1;transform:translateY(0)}}.hsk-cb-lang-chip,.hsk-cb-chip{animation:hsk-pill-wave .22s cubic-bezier(.16,1,.3,1) both;animation-delay:calc(.04s + var(--hsk-pill-idx, 0) * 12ms)}.hsk-cb-lang-chips-hint{animation:hsk-content-fade .22s cubic-bezier(.16,1,.3,1) both;animation-delay:calc(.04s + var(--hsk-pill-idx, 0) * 12ms)}@keyframes hsk-pill-wave{0%{opacity:0;transform:translateY(6px) scale(.96)}to{opacity:1;transform:translateY(0) scale(1)}}.hsk-cb-overlay.hsk-cb-overlay--grows .hsk-cb-input-wrap{animation:hsk-input-dock .22s cubic-bezier(.16,1,.3,1) both}@keyframes hsk-input-dock{0%{opacity:0;transform:translateY(10px)}to{opacity:1;transform:translateY(0)}}.hsk-cb-overlay.hsk-cb-overlay--closing{animation:hsk-overlay-out .2s cubic-bezier(.4,0,1,1) both!important;pointer-events:none}.hsk-cb-overlay.hsk-cb-overlay--closing .hsk-cb-panel{animation:hsk-panel-sink .2s cubic-bezier(.4,0,1,1) both!important}@keyframes hsk-overlay-out{0%{opacity:1}to{opacity:0}}@keyframes hsk-panel-sink{0%{opacity:1;transform:translateY(0) scale(1)}to{opacity:0;transform:translateY(8px) scale(.985)}}@media(prefers-reduced-motion:reduce){.hsk-cb-overlay.hsk-cb-overlay--closing,.hsk-cb-overlay.hsk-cb-overlay--closing .hsk-cb-panel{animation:none!important}.hsk-cb-overlay.hsk-cb-overlay--grows{animation:none!important;-webkit-clip-path:none!important;clip-path:none!important}.hsk-cb-overlay.hsk-cb-overlay--grows .hsk-cb-panel,.hsk-cb-overlay.hsk-cb-overlay--grows .hsk-cb-msgs,.hsk-cb-overlay.hsk-cb-overlay--grows .hsk-cb-lang-chip,.hsk-cb-overlay.hsk-cb-overlay--grows .hsk-cb-chip,.hsk-cb-overlay.hsk-cb-overlay--grows .hsk-cb-input-wrap,.hsk-cb-overlay.hsk-cb-overlay--grows .hsk-cb-hello-avatar{animation:none!important}}.hsk-cb-panel:lang(ja){font-feature-settings:"palt";word-break:auto-phrase;line-break:strict}.hsk-cb-panel:lang(ja) p,.hsk-cb-panel:lang(ja) li{font-weight:500}.hsk-cb-panel{position:relative;display:flex;flex-direction:column;height:100%;max-width:720px;width:100%;margin:0 auto;animation:hsk-panel-in .28s cubic-bezier(.34,1.2,.64,1)}@keyframes hsk-panel-in{0%{opacity:0;transform:translateY(24px)}to{opacity:1;transform:translateY(0)}}.hsk-cb-topbar{display:grid;grid-template-columns:1fr auto 1fr;align-items:center;padding:14px var(--hsk-gutter, 24px) 10px;flex-shrink:0;position:relative;z-index:10;background:transparent!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important}.hsk-cb-topbar:after{display:none!important}.hsk-cb-topbar-left{display:flex;align-items:center;gap:10px;justify-self:start;min-width:0}.hsk-cb-topbar-mark{justify-self:center;display:flex;flex-direction:column;align-items:center;line-height:0;cursor:pointer;user-select:none;touch-action:manipulation;transition:transform .22s cubic-bezier(.34,1.56,.64,1)}@media(hover:hover)and (pointer:fine){.hsk-cb-topbar-mark:hover>*{translate:0 -1px}}.hsk-cb-topbar-mark[data-unread=true] .hsk-cb-topbar-name{background:var(--hsk-primary, #ff6a33);color:#fff;box-shadow:0 0 0 3px var(--hsk-chat-bg, #ffffff);animation:hsk-unread-pill .9s cubic-bezier(.34,1.56,.64,1) infinite}@keyframes hsk-unread-pill{0%,to{transform:scale(1)}38%{transform:scale(1.08,.92)}62%{transform:scale(.97,1.03)}}@media(prefers-reduced-motion:reduce){.hsk-cb-topbar-mark[data-unread=true] .hsk-cb-topbar-name{animation:none}}.hsk-cb-topbar-name{margin-top:-5px;padding:3px 13px;white-space:nowrap;border-radius:999px;background:var(--hsk-surface-2);box-shadow:0 0 0 3px var(--hsk-chat-bg),0 1px 3px #0000001f;font-size:12px;font-weight:700;line-height:18px;letter-spacing:-.01em;color:var(--hsk-name-text, var(--hsk-chat-text));transform-origin:50% 0%;transition:transform .18s cubic-bezier(.34,1.8,.64,1)}.hsk-cb-topbar-mark{position:relative;z-index:100}.hsk-cb-topbar-ooze-menu{position:absolute;top:var(--hsk-tray-top, calc(100% + 12px) )!important;left:50%;transform:translate(-50%);width:min(300px,calc(100vw - 28px))!important;padding:var(--hsk-tray-head, 6px) 6px 6px!important;border-radius:18px;background:color-mix(in srgb,var(--hsk-chat-bg, #ffffff) 68%,transparent)!important;backdrop-filter:blur(28px) saturate(190%) contrast(102%)!important;-webkit-backdrop-filter:blur(28px) saturate(190%) contrast(102%)!important;border:1px solid color-mix(in srgb,var(--hsk-chat-border, rgba(255, 255, 255, .35)) 35%,transparent)!important;z-index:1000;transform-origin:50% 0;animation:hsk-topbar-ooze .25s cubic-bezier(.16,1,.3,1) both}.hsk-cb-topbar.is-docked{z-index:20!important}.hsk-cb-topbar-scrim{position:fixed;inset:0;z-index:999;background:color-mix(in srgb,var(--hsk-chat-bg, #fff) 30%,transparent);backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px);mask-image:linear-gradient(to bottom,#000 40vh,rgba(0,0,0,.97) 43.5vh,rgba(0,0,0,.84) 48.75vh,rgba(0,0,0,.5) 57.5vh,rgba(0,0,0,.16) 66.25vh,rgba(0,0,0,.03) 71.5vh,transparent 75vh);-webkit-mask-image:linear-gradient(to bottom,#000 40vh,rgba(0,0,0,.97) 43.5vh,rgba(0,0,0,.84) 48.75vh,rgba(0,0,0,.5) 57.5vh,rgba(0,0,0,.16) 66.25vh,rgba(0,0,0,.03) 71.5vh,transparent 75vh);animation:hsk-scrim-in .25s cubic-bezier(.16,1,.3,1) both}.hsk-cb-topbar-scrim.is-closing{animation:hsk-scrim-out .18s cubic-bezier(.4,0,1,1) both}.hsk-cb-topbar-mark.is-oozing{position:relative;z-index:1001}@keyframes hsk-scrim-in{0%{opacity:0}to{opacity:1}}@keyframes hsk-scrim-out{0%{opacity:1}to{opacity:0}}.hsk-cb-topbar-ooze-menu.is-closing{animation:hsk-topbar-ooze-out .18s cubic-bezier(.4,0,1,1) both;pointer-events:none}@keyframes hsk-topbar-ooze-out{0%{opacity:1;transform:translate(-50%) scale(1)}to{opacity:0;transform:translate(-50%) scale(.96)}}@media(prefers-reduced-motion:reduce){.hsk-cb-topbar-scrim,.hsk-cb-topbar-scrim.is-closing,.hsk-cb-topbar-ooze-menu.is-closing{animation:none}}.hsk-cb-topbar-ooze-menu .hsk-cb-theme-grid-item{width:max-content;max-width:100%}.hsk-cb-topbar-ooze-menu .hsk-cb-theme-block{display:flex;align-items:stretch;gap:8px;padding:6px 7px 0}.hsk-cb-topbar-ooze-menu .hsk-cb-theme-vlabel{flex:0 0 auto;align-self:center;writing-mode:vertical-rl;transform:rotate(180deg);font-size:8px;font-weight:700;letter-spacing:.16em;text-transform:uppercase;color:var(--hsk-chat-muted);opacity:.38;user-select:none}.hsk-cb-topbar-ooze-menu .hsk-cb-theme-2x2-grid{display:flex!important;flex-wrap:wrap!important;justify-content:flex-start!important;gap:6px!important;width:100%!important;max-width:100%!important;min-width:0!important;padding:0!important;box-sizing:border-box!important;margin-top:0!important;background:none!important;border:none!important;border-radius:0!important;box-shadow:none!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important}.hsk-cb-topbar-ooze-menu .hsk-cb-theme-grid-item{width:max-content;max-width:100%;height:34px;display:inline-flex;align-items:center;justify-content:center;gap:7px;padding:0 12px;border-radius:999px;border:1px solid color-mix(in srgb,var(--hsk-chat-border, rgba(255, 255, 255, .4)) 22%,transparent)!important;background:color-mix(in srgb,var(--hsk-chat-bg, #ffffff) 34%,transparent)!important;color:var(--hsk-chat-muted, #71717a);font-size:11.5px;font-weight:600;box-sizing:border-box;white-space:nowrap;cursor:pointer;transition:background-color .16s cubic-bezier(.16,1,.3,1),color .16s cubic-bezier(.16,1,.3,1),border-color .16s cubic-bezier(.16,1,.3,1),box-shadow .16s cubic-bezier(.16,1,.3,1),transform .16s cubic-bezier(.16,1,.3,1)}.hsk-cb-topbar-ooze-menu .hsk-cb-theme-grid-item svg{flex-shrink:0;width:12px;height:12px}.hsk-cb-topbar-ooze-menu .hsk-cb-theme-grid-item:hover{color:var(--hsk-chat-text, currentColor)!important;transform:translateY(-1px)}.hsk-cb-topbar-ooze-menu .hsk-cb-theme-grid-item.is-active{background:var(--hsk-primary, #ff6a33)!important;color:#fff!important;border-color:var(--hsk-primary, #ff6a33)!important;box-shadow:0 3px 12px color-mix(in srgb,var(--hsk-primary, #ff6a33) 35%,transparent)!important}@keyframes hsk-topbar-ooze{0%{opacity:0;transform:translate(-50%) translateY(-6px) scale(.94)}to{opacity:1;transform:translate(-50%) translateY(0) scale(1)}}.hsk-cb-topbar-mark[data-impacting=true] .hsk-cb-topbar-name{transform:translateY(1.5px) scale(1.09,.91);box-shadow:0 0 0 3px var(--hsk-chat-bg, #ffffff),0 2px 10px var(--hsk-contact-glow, rgba(19, 78, 61, .45))}.hsk-cb-back{width:34px;height:34px;border-radius:999px;border:none;padding:0;display:flex;align-items:center;justify-content:center;background:var(--hsk-surface-1);color:var(--hsk-chat-muted);cursor:pointer;transition:transform .18s cubic-bezier(.34,1.56,.64,1)}.hsk-cb-back:hover{background:var(--hsk-chat-divide, rgba(0,0,0,.09))}.hsk-cb-back:active{transform:scale(.94)}.hsk-cb-panel[dir=rtl] .hsk-cb-back-icon{display:inline-flex;transform:scaleX(-1)}.hsk-cb-topbar-actions{justify-self:end}.hsk-cb-kiku-id-rail{display:none}@media(min-width:1200px){.hsk-cb-kiku-id-rail.hsk-cb-kiku-id-rail--left{display:flex;position:absolute;inset:auto 100% 48px auto!important;margin-right:28px!important;transform:none!important;flex-direction:column;justify-content:flex-end;align-items:flex-start;gap:8px;width:200px;max-width:200px;min-width:200px;padding:0;border:0;background:none;font-family:inherit;z-index:10}.hsk-cb-kiku-id-rail.hsk-cb-kiku-id-rail--right{display:flex;position:absolute;inset:auto auto 48px 100%!important;margin-left:28px!important;transform:none!important;flex-direction:column;justify-content:flex-end;align-items:flex-start;gap:8px;width:200px;max-width:200px;min-width:200px;padding:0;border:0;background:none;font-family:inherit;z-index:10}.hsk-cb-dock-frost{position:absolute;inset:-100vmax;z-index:-1;pointer-events:none;background:color-mix(in srgb,var(--hsk-chat-bg, #fff) 30%,transparent);backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px);mask-image:radial-gradient(circle at 50% 50%,#000 330px,rgba(0,0,0,.97) 369px,rgba(0,0,0,.84) 427px,rgba(0,0,0,.5) 525px,rgba(0,0,0,.16) 622px,rgba(0,0,0,.03) 681px,transparent 720px);-webkit-mask-image:radial-gradient(circle at 50% 50%,#000 330px,rgba(0,0,0,.97) 369px,rgba(0,0,0,.84) 427px,rgba(0,0,0,.5) 525px,rgba(0,0,0,.16) 622px,rgba(0,0,0,.03) 681px,transparent 720px);opacity:0;transition:opacity .2s cubic-bezier(.4,0,.9,.4)}.hsk-cb-panel[data-script=nonlatin] .hsk-cb-kiku-id-rail{bottom:50px!important}.hsk-cb-panel[data-nastaliq=true] .hsk-cb-kiku-id-rail{bottom:58px!important}.hsk-cb-kiku-id-pill{display:inline-flex;align-items:center;gap:6px;max-width:100%;height:28px;padding:0 11px;border-radius:999px;background:color-mix(in srgb,var(--hsk-chat-bg, #ffffff) 62%,transparent);backdrop-filter:blur(22px) saturate(180%);-webkit-backdrop-filter:blur(22px) saturate(180%);border:1px solid color-mix(in srgb,var(--hsk-chat-border, rgba(255, 255, 255, .35)) 30%,transparent)!important;border-top:1px solid color-mix(in srgb,var(--hsk-chat-bg, #fff) 60%,transparent)!important;border-bottom:1px solid color-mix(in srgb,#000 6%,transparent)!important;box-shadow:0 4px 14px -2px color-mix(in srgb,#000 12%,transparent),0 1px color-mix(in srgb,var(--hsk-chat-bg, #fff) 40%,transparent) inset;color:var(--hsk-chat-muted, #71717a);cursor:pointer;font-family:inherit;transition:all .2s cubic-bezier(.16,1,.3,1)}.hsk-cb-kiku-id-pill:hover{color:var(--hsk-primary, #ff6a33);background:color-mix(in srgb,var(--hsk-chat-bg, #ffffff) 80%,transparent);border-top-color:color-mix(in srgb,var(--hsk-chat-bg, #fff) 75%,transparent)!important;transform:translateY(-1px);box-shadow:0 6px 18px -2px color-mix(in srgb,#000 15%,transparent),0 1px color-mix(in srgb,var(--hsk-chat-bg, #fff) 55%,transparent) inset}.hsk-cb-kiku-id-rail-val{font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:11px;letter-spacing:-.01em;max-width:140px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.hsk-cb-kiku-id-pill svg{flex:none;opacity:.8}.hsk-cb-theme-squircle-wrap{position:relative;display:flex;flex-direction:column;align-items:flex-start;padding:0;margin:0;border:none!important;box-shadow:none!important;background:transparent!important}.hsk-cb-theme-squircle-trigger{display:inline-flex;align-items:center;gap:7px;height:32px;padding:0 12px;border-radius:16px;background:color-mix(in srgb,var(--hsk-chat-bg, #ffffff) 65%,transparent)!important;backdrop-filter:blur(24px) saturate(180%);-webkit-backdrop-filter:blur(24px) saturate(180%);border:1px solid color-mix(in srgb,var(--hsk-chat-border, rgba(255, 255, 255, .35)) 30%,transparent)!important;border-top:1px solid color-mix(in srgb,var(--hsk-chat-bg, #fff) 60%,transparent)!important;border-bottom:1px solid color-mix(in srgb,#000 6%,transparent)!important;box-shadow:0 4px 16px -2px color-mix(in srgb,#000 12%,transparent),0 1px color-mix(in srgb,var(--hsk-chat-bg, #fff) 40%,transparent) inset!important;color:var(--hsk-chat-text)!important;font-size:11.5px;font-weight:600;cursor:pointer;font-family:inherit;transition:all .2s cubic-bezier(.16,1,.3,1)}.hsk-cb-theme-squircle-trigger:hover{background:color-mix(in srgb,var(--hsk-chat-bg, #ffffff) 80%,transparent)!important;color:var(--hsk-primary, #ff6a33)!important;border-top-color:color-mix(in srgb,var(--hsk-chat-bg, #fff) 80%,transparent)!important;transform:translateY(-1px);box-shadow:0 6px 20px -2px color-mix(in srgb,#000 16%,transparent),0 1px color-mix(in srgb,var(--hsk-chat-bg, #fff) 55%,transparent) inset!important}.hsk-cb-theme-trigger-icon{display:inline-flex;align-items:center;justify-content:center;flex-shrink:0}.hsk-cb-theme-trigger-icon svg{width:13px;height:13px}.hsk-cb-theme-trigger-label{letter-spacing:-.01em}.hsk-cb-theme-2x2-grid{display:flex;flex-wrap:wrap;justify-content:center;gap:5px;padding:6px;width:200px;max-width:200px;min-width:200px;box-sizing:border-box;border-radius:18px;background:color-mix(in srgb,var(--hsk-chat-bg, #ffffff) 70%,transparent);backdrop-filter:blur(28px) saturate(190%) contrast(102%);-webkit-backdrop-filter:blur(28px) saturate(190%) contrast(102%);border:1px solid color-mix(in srgb,var(--hsk-chat-border, rgba(255, 255, 255, .4)) 35%,transparent);border-top:1px solid color-mix(in srgb,var(--hsk-chat-bg, #fff) 65%,transparent);border-bottom:1px solid color-mix(in srgb,#000 6%,transparent);box-shadow:0 16px 38px -6px color-mix(in srgb,#000 16%,transparent),0 0 0 1px color-mix(in srgb,var(--hsk-chat-bg, #fff) 20%,transparent) inset,0 1px color-mix(in srgb,var(--hsk-chat-bg, #fff) 50%,transparent) inset;transform-origin:bottom left;animation:hsk-theme-morph-in .26s cubic-bezier(.16,1,.3,1) both}.hsk-cb-theme-squircle-wrap.is-closing .hsk-cb-theme-2x2-grid{animation:hsk-theme-morph-out .22s cubic-bezier(.4,0,.2,1) both}.hsk-cb-theme-squircle-trigger{animation:hsk-theme-pill-in .24s cubic-bezier(.16,1,.3,1) both}.hsk-cb-theme-squircle-wrap{justify-content:flex-end;box-sizing:border-box;width:auto;height:32px;overflow:hidden;border-radius:16px;background:color-mix(in srgb,var(--hsk-chat-bg, #ffffff) 65%,transparent)!important;backdrop-filter:blur(24px) saturate(180%);-webkit-backdrop-filter:blur(24px) saturate(180%);border:1px solid color-mix(in srgb,var(--hsk-chat-border, rgba(255, 255, 255, .35)) 30%,transparent)!important;border-top:1px solid color-mix(in srgb,var(--hsk-chat-bg, #fff) 60%,transparent)!important;border-bottom:1px solid color-mix(in srgb,#000 6%,transparent)!important;box-shadow:0 4px 16px -2px color-mix(in srgb,#000 12%,transparent),0 1px color-mix(in srgb,var(--hsk-chat-bg, #fff) 40%,transparent) inset!important;interpolate-size:allow-keywords;transition:width .38s cubic-bezier(.16,1,.3,1),height .38s cubic-bezier(.16,1,.3,1),border-radius .38s cubic-bezier(.16,1,.3,1)}.hsk-cb-theme-squircle-wrap.is-open{width:222px;height:auto;border-radius:18px}.hsk-cb-kiku-id-rail .hsk-cb-theme-squircle-wrap>.hsk-cb-theme-squircle-trigger,.hsk-cb-kiku-id-rail .hsk-cb-theme-squircle-wrap>.hsk-cb-theme-squircle-trigger:hover{flex:none;height:30px;background:none!important;border:0!important;box-shadow:none!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important;transform:none;animation:none;transition:height .38s cubic-bezier(.16,1,.3,1),opacity .2s ease,color .2s ease}.hsk-cb-kiku-id-rail .hsk-cb-theme-squircle-wrap.is-open>.hsk-cb-theme-squircle-trigger{height:0;opacity:0;pointer-events:none}.hsk-cb-kiku-id-rail .hsk-cb-theme-squircle-wrap>.hsk-cb-theme-2x2-grid{flex:none;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));width:220px;min-width:220px;max-width:220px;margin-inline-end:-220px;background:none!important;border:0!important;box-shadow:none!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important;border-radius:0;animation:none;opacity:0;transition:opacity .1s ease}.hsk-cb-kiku-id-rail .hsk-cb-theme-squircle-wrap>.hsk-cb-theme-2x2-grid>.hsk-cb-theme-grid-item{width:100%;justify-content:flex-start;padding:0 10px}.hsk-cb-kiku-id-rail .hsk-cb-theme-squircle-wrap.is-open>.hsk-cb-theme-2x2-grid{opacity:1;transition:opacity .24s ease .1s}.hsk-cb-theme-grid-item{display:inline-flex;flex-direction:row;align-items:center;justify-content:center;gap:6px;height:30px;padding:0 12px;border-radius:999px;border:1px solid color-mix(in srgb,var(--hsk-chat-border, rgba(255, 255, 255, .3)) 25%,transparent)!important;border-top:1px solid color-mix(in srgb,var(--hsk-chat-bg, #fff) 45%,transparent)!important;outline:none!important;background:color-mix(in srgb,var(--hsk-chat-bg, #ffffff) 65%,transparent);color:var(--hsk-chat-text, currentColor);font-size:11px;font-weight:550;cursor:pointer;font-family:inherit;transition:all .18s cubic-bezier(.16,1,.3,1);box-shadow:0 1px 3px #0000000a,0 1px color-mix(in srgb,var(--hsk-chat-bg, #fff) 30%,transparent) inset!important;box-sizing:border-box;white-space:nowrap}.hsk-cb-theme-grid-item svg{flex-shrink:0;width:12px;height:12px}.hsk-cb-theme-grid-item:hover{background:color-mix(in srgb,var(--hsk-chat-bg, #ffffff) 85%,transparent);color:var(--hsk-chat-text, currentColor);border-top-color:color-mix(in srgb,var(--hsk-chat-bg, #fff) 70%,transparent)!important;transform:translateY(-1px);box-shadow:0 3px 8px #00000014,0 1px color-mix(in srgb,var(--hsk-chat-bg, #fff) 45%,transparent) inset!important}.hsk-cb-theme-grid-item.is-active{background:var(--hsk-primary, #ff6a33)!important;border-color:var(--hsk-primary, #ff6a33)!important;color:#fff!important;box-shadow:0 2px 10px color-mix(in srgb,var(--hsk-primary, #ff6a33) 38%,transparent),0 1px color-mix(in srgb,var(--hsk-chat-bg, #fff) 40%,transparent) inset!important}}.hsk-cb-topbar-actions{display:flex;align-items:center;gap:8px}.hsk-cb-topbar-btn{height:34px;padding:0 14px;border-radius:var(--hsk-control-radius, 999px);border:1px solid transparent;background:var(--hsk-chat-subtle, rgba(0,0,0,.045));color:var(--hsk-chat-muted, #5f6368);font-size:12px;font-weight:500;cursor:pointer;transition:all .15s;font-family:inherit}.hsk-cb-topbar-btn:hover{background:color-mix(in srgb,var(--hsk-primary) 12%,transparent);color:var(--hsk-primary)}.hsk-cb-squircle-btn{width:34px;height:34px;border-radius:11px;background:color-mix(in srgb,var(--hsk-surface-1, currentColor) 35%,transparent);backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px);border:1px solid color-mix(in srgb,var(--hsk-chat-border, currentColor) 16%,transparent);border-top:1px solid color-mix(in srgb,var(--hsk-chat-bg, #fff) 35%,transparent);border-bottom:1px solid color-mix(in srgb,#000 6%,transparent);box-shadow:0 2px 6px color-mix(in srgb,var(--hsk-chat-text, #000) 6%,transparent),0 1px color-mix(in srgb,var(--hsk-chat-bg, #fff) 25%,transparent) inset;color:var(--hsk-chat-muted, currentColor);display:inline-flex;align-items:center;justify-content:center;cursor:pointer;padding:0;transition:all .2s cubic-bezier(.16,1,.3,1);position:relative;flex-shrink:0}.hsk-cb-squircle-btn:hover{background:color-mix(in srgb,var(--hsk-surface-2, currentColor) 50%,transparent);color:var(--hsk-chat-text, currentColor);border-top-color:color-mix(in srgb,var(--hsk-chat-bg, #fff) 55%,transparent);box-shadow:0 3px 10px color-mix(in srgb,var(--hsk-chat-text, #000) 8%,transparent),0 1px color-mix(in srgb,var(--hsk-chat-bg, #fff) 35%,transparent) inset;transform:translateY(-1px)}.hsk-cb-squircle-btn:active{transform:scale(.95)}.hsk-cb-squircle-btn.is-active{background:color-mix(in srgb,var(--hsk-primary, #ff6a33) 16%,transparent);border-color:var(--hsk-primary, #ff6a33);color:var(--hsk-primary, #ff6a33);box-shadow:0 0 12px color-mix(in srgb,var(--hsk-primary, #ff6a33) 30%,transparent),0 1px color-mix(in srgb,var(--hsk-chat-bg, #fff) 30%,transparent) inset}.hsk-cb-exit-btn:hover{background:radial-gradient(120% 90% at 30% 0%,rgba(255,255,255,.4),transparent 65%),color-mix(in srgb,var(--hsk-surface-1, currentColor) 35%,transparent);color:#ef4444}.hsk-cb-msgs{position:relative;flex:1 1 auto;min-height:0;overflow-y:auto;overflow-x:hidden;-webkit-overflow-scrolling:touch;touch-action:pan-y;overscroll-behavior-y:none;overflow-anchor:none;padding:16px var(--hsk-gutter, 24px) 16px;display:flex;flex-direction:column;gap:0;scrollbar-width:none;-ms-overflow-style:none;mask-image:linear-gradient(to bottom,transparent 0px,#000000 8px,#000000 100%);-webkit-mask-image:linear-gradient(to bottom,transparent 0px,#000000 8px,#000000 100%)}.hsk-cb-msgs-spacer{flex:none;height:1px;pointer-events:none}.hsk-cb-msgs>:first-child{margin-top:auto}.hsk-cb-msgs.hsk-scrolling>*{pointer-events:none}.hsk-cb-msgs::-webkit-scrollbar{display:none!important;width:0!important;height:0!important}.hsk-cb-empty{flex:1 0 auto;display:flex;flex-direction:column;align-items:flex-start;justify-content:center;gap:14px;padding:24px 0 32px;width:100%;text-align:start}.hsk-cb-onboarding-card{display:flex;flex-direction:column;align-items:flex-start;width:100%;gap:10px;flex-shrink:0;overflow:hidden;padding-bottom:26px;margin-bottom:-26px}.hsk-cb-onboarding-head{display:flex;align-items:center;justify-content:flex-start;width:100%;margin-bottom:8px}.hsk-cb-step-badge{font-size:11px;font-weight:600;letter-spacing:.05em;color:var(--hsk-chat-muted, #71717a);background:var(--hsk-chat-source-bg, rgba(255, 255, 255, .06));border:1px solid var(--hsk-chat-border, rgba(255, 255, 255, .08));padding:4px 10px;border-radius:999px;line-height:1}.hsk-cb-hello-wrap{display:flex;flex-direction:column;align-items:flex-start;text-align:start;gap:6px;padding:0;width:100%}.hsk-cb-hello{margin:0;font-size:clamp(24px,4.5vw,34px);font-weight:500;line-height:1.2;letter-spacing:-.02em;color:color-mix(in srgb,var(--hsk-chat-text, #111) 55%,var(--hsk-chat-muted, #8b8b8f));text-align:start}.hsk-cb-hello b{font-weight:700;color:var(--hsk-primary, #ff6a33)}.hsk-cb-hello-lead{margin:0;font-size:15px;line-height:22px;color:var(--hsk-chat-muted, #5f6368);max-width:42ch;text-align:start}.hsk-cb-hello-ask{margin:2px 0;font-size:16px;font-weight:500;color:var(--hsk-chat-text, #111);text-align:start}.hsk-cb-hello-hint{margin:0;font-size:13px;line-height:1.5;color:var(--hsk-chat-muted, #5f6368);text-align:start}.hsk-cb-name-step .hsk-cb-hello{color:var(--hsk-chat-text, #111)}.hsk-cb-name-step .hsk-cb-hello-ask{margin-top:6px;font-size:19px;font-weight:600;color:color-mix(in srgb,var(--hsk-chat-text, #111) 62%,var(--hsk-chat-muted, #8b8b8f))}.hsk-cb-panel[dir=rtl] .hsk-cb-msgs{direction:ltr}.hsk-cb-panel[dir=rtl] .hsk-cb-msgs>*{direction:rtl}.hsk-cb-panel[dir=rtl] .hsk-cb-user-imgs{margin-left:0;margin-right:auto}.hsk-cb-panel[dir=rtl] .hsk-cb-user-bubble,.hsk-cb-panel[dir=rtl] .hsk-cb-ai-text{word-break:normal;overflow-wrap:break-word;letter-spacing:normal}.hsk-cb-panel[dir=rtl] .hsk-cb-hello{line-height:1.6;letter-spacing:normal}.hsk-cb-lang-chips{display:flex;flex-wrap:wrap;gap:8px 10px;margin:16px 0 8px;align-items:center}.hsk-cb-lang-chip{display:inline-flex;align-items:center;justify-content:center;min-height:34px;padding:6px 15px;font-family:var(--hsk-font);font-size:13.5px;font-weight:400;line-height:1.2;letter-spacing:-.01em;color:var(--hsk-chat-text, #27272a);background:color-mix(in srgb,var(--hsk-chat-card-bg, var(--hsk-chat-bg, #ffffff)) 72%,transparent);backdrop-filter:blur(24px) saturate(180%);-webkit-backdrop-filter:blur(24px) saturate(180%);border:none;border-radius:999px;box-shadow:0 2px 8px -1px #0000000f,0 1px 2px #00000005;cursor:pointer;transition:all .18s cubic-bezier(.16,1,.3,1);user-select:none;-webkit-font-smoothing:antialiased}.hsk-cb-lang-chip:hover{background:color-mix(in srgb,var(--hsk-primary, #ff6a33) 12%,var(--hsk-chat-card-bg, #ffffff));color:var(--hsk-primary, #ff6a33);transform:translateY(-1px);box-shadow:0 4px 12px -2px #00000014}.hsk-cb-lang-chip:active{transform:translateY(0) scale(.97)}.hsk-cb-lang-chip:focus-visible{outline:2px solid var(--hsk-primary, #ff6a33);outline-offset:2px}[data-hsk-theme=dark] .hsk-cb-lang-chip,[data-hsk-theme=midnight] .hsk-cb-lang-chip{color:#e4e4e7;background:#ffffff12;border:none;box-shadow:0 2px 8px -1px #0000004d}[data-hsk-theme=dark] .hsk-cb-lang-chip:hover,[data-hsk-theme=midnight] .hsk-cb-lang-chip:hover{background:rgba(var(--hsk-primary-rgb, 255, 106, 51),.2);color:#fff}.hsk-cb-lang-chips-hint{display:inline-flex;align-items:center;font-size:13px;font-weight:400;color:var(--hsk-chat-muted, #71717a);padding:0 6px;margin-inline-start:4px;user-select:none;align-self:center}.hsk-cb-chrome-loading{display:flex;flex-direction:column;align-items:flex-start;text-align:start;gap:12px;width:100%;max-width:480px;margin:4px 0 2px;animation:hsk-content-fade .3s ease-out both}.hsk-cb-chrome-loading-header{display:flex;flex-direction:column;align-items:flex-start;text-align:start;gap:6px;width:100%}.hsk-cb-chrome-progress{height:3px;width:100%;border-radius:3px;background:var(--hsk-chat-source-bg, rgba(255, 255, 255, .08));overflow:hidden;margin-top:4px}.hsk-cb-chrome-progress-track{height:100%;width:100%;border-radius:3px;background:linear-gradient(90deg,#ff6a33,#f7b733,#43c59e,#3d8bfd,#9b5de5,#ff5d8f,#ff6a33);background-size:300% 100%;animation:hsk-chrome-rainbow 2.6s linear infinite}.hsk-cb-chrome-progress{position:relative;overflow:hidden}.hsk-cb-chrome-progress:after{content:"";position:absolute;inset:0;background:linear-gradient(100deg,transparent 20%,rgba(255,255,255,.55) 50%,transparent 80%);transform:translate(-100%);animation:hsk-chrome-sheen 1.9s cubic-bezier(.55,0,.45,1) infinite;pointer-events:none}@keyframes hsk-chrome-rainbow{0%{background-position:0% 0}to{background-position:-300% 0}}@keyframes hsk-chrome-sheen{0%{transform:translate(-100%)}to{transform:translate(200%)}}@media(prefers-reduced-motion:reduce){.hsk-cb-chrome-progress-track{animation:none;opacity:.5}.hsk-cb-chrome-progress:after{animation:none;opacity:0}}.hsk-cb-chrome-back-btn{display:inline-flex;align-items:center;gap:6px;padding:6px 14px;margin-top:6px;font-size:13px;font-weight:500;color:var(--hsk-chat-muted, #a1a1aa);background:var(--hsk-chat-source-bg, rgba(255, 255, 255, .05));border:1px solid var(--hsk-chat-border, rgba(255, 255, 255, .09));border-radius:999px;cursor:pointer;transition:all .15s ease;user-select:none}.hsk-cb-chrome-back-btn:hover{background:var(--hsk-chat-source-bg, rgba(255, 255, 255, .12));color:var(--hsk-chat-text, #ffffff);border-color:var(--hsk-chat-border, rgba(255, 255, 255, .18))}.hsk-cb-chrome-notice{display:flex;flex-direction:column;gap:6px;max-width:48ch;margin:24px 0 0;padding:14px 16px;border-radius:14px;background:var(--hsk-chat-source-bg, rgba(255, 255, 255, .04));border:1px solid var(--hsk-chat-border, rgba(255, 255, 255, .09));text-align:start;font-family:var(--hsk-font, system-ui, sans-serif);animation:hsk-content-fade .4s ease-out both}.hsk-cb-chrome-notice-header{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.hsk-cb-chrome-notice-pill{display:inline-flex;align-items:center;padding:2px 7px;border-radius:6px;font-size:10px;font-weight:700;text-transform:uppercase;letter-spacing:.04em;background:#ff6a3326;color:var(--hsk-primary, #ff6a33);border:1px solid rgba(255,106,51,.28)}.hsk-cb-chrome-notice-title{font-size:12px;font-weight:600;letter-spacing:.01em;color:var(--hsk-chat-text, #ffffff)}.hsk-cb-chrome-notice-body{font-size:12px;line-height:1.55;color:var(--hsk-chat-muted, #a1a1aa)}.hsk-cb-chrome-notice-body b{color:var(--hsk-chat-text, #ffffff)}@media(prefers-color-scheme:light){.hsk-cb-chrome-progress{background:var(--hsk-chat-source-bg, rgba(0, 0, 0, .06))}.hsk-cb-chrome-back-btn{color:#52525b;background:#0000000a;border-color:#00000014}.hsk-cb-chrome-back-btn:hover{background:#00000014;color:#09090b;border-color:#00000024}}.hsk-cb-input-box--waiting{opacity:.45;pointer-events:none}.hsk-cb-entlang-opts{display:flex;flex-direction:column;gap:10px;width:100%;max-width:440px;margin-top:6px}.hsk-cb-entlang-opt{position:relative;display:flex;flex-direction:row;align-items:center;width:100%;padding:16px 20px;text-align:start;background:transparent!important;border:none!important;outline:none!important;border-radius:16px;cursor:pointer;user-select:none;box-shadow:none!important;animation:hsk-entlang-opt-in .22s cubic-bezier(.16,1,.3,1) both;animation-delay:calc(.04s + var(--hsk-opt-idx, 0) * .02s)}@media(prefers-color-scheme:light){.hsk-cb-entlang-opt{background:transparent!important}}[data-hsk-theme=light] .hsk-cb-entlang-opt{background:transparent!important}@keyframes hsk-entlang-opt-in{0%{opacity:0;transform:translateY(6px)}to{opacity:1;transform:translateY(0)}}.hsk-cb-entlang-opt:hover{background:transparent!important;border:none!important;box-shadow:none!important}.hsk-cb-entlang-opt:active{opacity:.8}.hsk-cb-check{display:inline-grid;place-items:center;width:20px;height:20px;flex-shrink:0;border-radius:6px;border:1.5px solid color-mix(in srgb,var(--hsk-chat-text, #111) 28%,transparent);background:transparent;box-sizing:border-box;transition:background-color .22s ease,border-color .22s ease}.hsk-cb-check svg{width:14px;height:14px;fill:none;stroke:#fff;stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round}.hsk-cb-check path{stroke-dasharray:16;stroke-dashoffset:16;transition:stroke-dashoffset .3s cubic-bezier(.65,0,.35,1) .06s}.is-selected>.hsk-cb-check{background:var(--hsk-primary, #ff6a33);border-color:var(--hsk-primary, #ff6a33);animation:hsk-cb-check-press .42s cubic-bezier(.34,1.56,.64,1)}.is-selected>.hsk-cb-check path{stroke-dashoffset:0}.hsk-cb-entlang-opt:hover>.hsk-cb-check{border-color:var(--hsk-primary, #ff6a33)}@keyframes hsk-cb-check-press{0%{transform:scale(1)}35%{transform:scale(.78)}to{transform:scale(1)}}.hsk-cb-entlang-opt>.hsk-cb-check{margin-inline-end:14px}.hsk-cb-entlang-opt-text{display:flex;flex-direction:column;gap:3px;width:100%}.hsk-cb-entlang-opt-title{font-size:15px;font-weight:600;color:var(--hsk-chat-text, #1f1f1f);letter-spacing:-.01em}.hsk-cb-entlang-opt-note{font-size:12.5px;color:var(--hsk-chat-muted, #71717a);line-height:1.45}.hsk-cb-ink-skeleton{display:flex;flex-direction:column;align-items:flex-start;width:100%;gap:12px;animation:hsk-ink-bloom-in .22s cubic-bezier(.16,1,.3,1) both}.hsk-cb-ink-line{position:relative;border-radius:999px;overflow:hidden;background:color-mix(in srgb,var(--hsk-chat-text, #ffffff) 6%,transparent)}.hsk-cb-ink-line:after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,transparent 0%,color-mix(in srgb,var(--hsk-primary, #ff6a33) 12%,transparent) 35%,color-mix(in srgb,var(--hsk-chat-text, #ffffff) 14%,transparent) 50%,color-mix(in srgb,var(--hsk-primary, #ff6a33) 12%,transparent) 65%,transparent 100%);transform:translate(-100%);animation:hsk-ink-sheen 2.2s cubic-bezier(.4,0,.2,1) infinite}.hsk-cb-ink-line--title{height:30px;width:50%;max-width:220px;border-radius:14px;margin-bottom:2px}.hsk-cb-ink-line--lead1{height:14px;width:78%;max-width:340px}.hsk-cb-ink-line--lead2{height:14px;width:60%;max-width:260px}.hsk-cb-ink-line--ask{height:15px;width:40%;max-width:170px;margin-top:3px}@keyframes hsk-ink-sheen{0%{transform:translate(-100%)}to{transform:translate(200%)}}@keyframes hsk-ink-bloom-in{0%{opacity:0;transform:translateY(6px)}to{opacity:1;transform:translateY(0)}}@keyframes hsk-hello-rise{0%{opacity:0}to{opacity:1}}.hsk-cb-hello,.hsk-cb-hello-lead,.hsk-cb-hello-ask,.hsk-cb-hello-hint,.hsk-cb-hello-skip{opacity:0;animation:hsk-hello-rise .45s cubic-bezier(.22,1,.36,1) both}.hsk-cb-hello{animation-delay:.04s}.hsk-cb-hello-lead{animation-delay:.12s}.hsk-cb-hello-ask{animation-delay:.2s}.hsk-cb-hello-hint{animation-delay:.28s}.hsk-cb-hello.hsk-cascade,.hsk-cb-hello-lead.hsk-cascade,.hsk-cb-hello-ask.hsk-cascade{opacity:1;animation:none;filter:none}.hsk-cascade__w{display:inline-block;white-space:nowrap;opacity:0;animation:hsk-cascade-rise .44s cubic-bezier(.16,1,.3,1) both}@keyframes hsk-cascade-rise{0%{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}@media(prefers-reduced-motion:reduce){.hsk-cb-hello,.hsk-cb-hello-lead,.hsk-cb-hello-ask,.hsk-cb-hello-hint,.hsk-cb-hello-skip,.hsk-cascade__w,.hsk-cb-check{animation:none;opacity:1;transform:none;filter:none}.hsk-cb-check path{transition:none}}.hsk-cb-chips{display:flex;flex-wrap:wrap;gap:8px;justify-content:flex-start;margin-top:4px}.hsk-cb-chip{padding:8px 16px;border-radius:var(--hsk-border-radius, 0px);border:1px solid var(--hsk-chat-divide, rgba(0,0,0,.1));background:var(--hsk-chat-source-bg, rgba(0,0,0,.03));color:var(--hsk-chat-text, #333);font-size:13px;cursor:pointer;transition:all .15s;font-family:inherit}.hsk-cb-chip:hover{border-color:var(--hsk-primary);color:var(--hsk-primary);background:#ff6a330f}.hsk-cb-msg-group{padding:16px 0;border-bottom:none;animation:hsk-msg-in .22s ease-out both}.hsk-cb-spoken-mark{position:absolute;top:50%;margin-top:-5px;inset-inline-start:-17px;opacity:.4;pointer-events:none}.hsk-cb-msg-group--run-mid{padding-bottom:0}.hsk-cb-msg-group--run-mid .hsk-cb-user-msg{margin-bottom:3px;gap:0}.hsk-cb-msg-group--run-cont{padding-top:0}.hsk-cb-msg-group--run-mid .hsk-cb-ai-msg{margin-bottom:3px}.hsk-cb-msg-group--run-cont .hsk-cb-ai-text{margin-top:0}.hsk-cb-msg-group--run-mid .hsk-cb-ai-msg .hsk-cb-ai-text:before,.hsk-cb-msg-group--run-mid .hsk-cb-ai-msg .hsk-cb-ai-text:after{display:none}.hsk-cb-msg-group--run-mid .hsk-cb-user-bubble{border-bottom-right-radius:20px!important}[dir=rtl] .hsk-cb-msg-group--run-mid .hsk-cb-user-bubble,.hsk-cb-panel[dir=rtl] .hsk-cb-msg-group--run-mid .hsk-cb-user-bubble,.hsk-cb-msg-group--run-mid .hsk-cb-user-bubble[dir=rtl]{border-bottom-right-radius:20px!important;border-bottom-left-radius:20px!important}.hsk-cb-msg-group--run-cont .hsk-cb-user-bubble{border-top-right-radius:20px!important}[dir=rtl] .hsk-cb-msg-group--run-cont .hsk-cb-user-bubble,.hsk-cb-panel[dir=rtl] .hsk-cb-msg-group--run-cont .hsk-cb-user-bubble,.hsk-cb-msg-group--run-cont .hsk-cb-user-bubble[dir=rtl]{border-top-right-radius:20px!important;border-top-left-radius:20px!important}.hsk-cb-msg-group:last-child{border-bottom:none}@keyframes hsk-msg-in{0%{opacity:0;transform:translateY(10px)}to{opacity:1;transform:translateY(0)}}.hsk-cb-user-msg{display:flex;flex-direction:column;align-items:flex-end;align-self:flex-end;max-width:min(75%,420px);margin-inline-start:auto;margin-inline-end:0;gap:6px;margin-bottom:20px}@media(max-width:640px){.hsk-cb-user-msg{max-width:84%}}.hsk-cb-user-msg.hsk-sent{transform-origin:bottom right;animation:hsk-send-in .3s cubic-bezier(.22,1,.36,1) both}.hsk-cb-panel[dir=rtl] .hsk-cb-user-msg.hsk-sent{transform-origin:bottom left}@keyframes hsk-send-in{0%{opacity:0;transform:translateY(12px) scale(.94)}60%{opacity:1}to{opacity:1;transform:translateY(0) scale(1)}}@media(prefers-reduced-motion:reduce){.hsk-cb-user-msg.hsk-sent{animation:none}}.hsk-cb-user-bubble{background:var(--hsk-user-bubble-bg, #007aff);color:#fff;padding:10px 18px;border-radius:20px;position:relative;font-size:var(--hsk-font-size, 15.5px);font-family:var(--hsk-font);line-height:1.45;max-width:100%;font-weight:500;width:fit-content;word-break:break-word;overflow-wrap:anywhere;letter-spacing:-.01em}.hsk-cb-user-bubble--tail:before,.hsk-cb-user-bubble--tail:after{content:"";position:absolute;bottom:0;height:25px;pointer-events:none}.hsk-cb-user-bubble--tail:before{right:-7px;width:20px;background:var(--hsk-user-bubble-bg, #007aff);border-bottom-left-radius:16px 14px}.hsk-cb-user-bubble--tail:after{right:-26px;width:26px;background:var(--hsk-chat-bg, #ffffff);border-bottom-left-radius:10px}.hsk-cb-panel[dir=rtl] .hsk-cb-user-bubble--tail:before{right:auto;left:-7px;border-bottom-left-radius:0;border-bottom-right-radius:16px 14px}.hsk-cb-panel[dir=rtl] .hsk-cb-user-bubble--tail:after{right:auto;left:-26px;border-bottom-left-radius:0;border-bottom-right-radius:10px}.hsk-cb-ai-msg{display:block}.hsk-cb-ai-icon{width:32px;height:32px;border-radius:0;background:transparent!important;border:none!important;color:var(--hsk-primary, #ff6a33);display:flex;align-items:center;justify-content:center;flex-shrink:0;margin-top:-2px}.hsk-cb-ai-icon>svg{width:30px!important;height:30px!important}.hsk-cb-ai-body{flex:1;min-width:0}.hsk-cb-ai-content{display:flex;flex-direction:column;gap:10px;align-items:flex-start;width:100%}.hsk-cb-think+.hsk-cb-ai-content>.hsk-cb-ai-text:first-child{padding-top:20px}.hsk-cb-ai-text{font-size:var(--hsk-font-size, 14.5px);font-family:var(--hsk-font);line-height:1.48;color:var(--hsk-chat-text, #111827);background:var(--hsk-chat-ai-bg, #eeeef0);padding:11px 15px;border-radius:18px;position:relative;display:inline-block;width:fit-content;box-sizing:border-box;max-width:min(88%,460px);word-break:break-word;overflow-wrap:anywhere;margin-top:4px}.hsk-cb-ai-text:not(:has(~.hsk-cb-ai-text)):before,.hsk-cb-ai-text:not(:has(~.hsk-cb-ai-text)):after{content:"";position:absolute;bottom:0;height:25px;pointer-events:none}.hsk-cb-ai-text:not(:has(~.hsk-cb-ai-text)):before{left:-7px;width:20px;background:var(--hsk-chat-ai-bg, #eeeef0);border-bottom-right-radius:16px 14px}.hsk-cb-ai-text:not(:has(~.hsk-cb-ai-text)):after{left:-26px;width:26px;background:var(--hsk-chat-bg, #ffffff);border-bottom-right-radius:10px}.hsk-cb-panel[dir=rtl] .hsk-cb-ai-text:not(:has(~.hsk-cb-ai-text)):before{left:auto;right:-7px;border-bottom-right-radius:0;border-bottom-left-radius:16px 14px}.hsk-cb-panel[dir=rtl] .hsk-cb-ai-text:not(:has(~.hsk-cb-ai-text)):after{left:auto;right:-26px;border-bottom-right-radius:0;border-bottom-left-radius:10px}.hsk-cb-user-bubble--tail{border-bottom-right-radius:25px}.hsk-cb-panel[dir=rtl] .hsk-cb-user-bubble--tail{border-bottom-right-radius:20px;border-bottom-left-radius:25px}.hsk-cb-user-footer{display:flex;flex-direction:row;align-items:center;justify-content:flex-end;gap:6px;width:100%;margin-top:2px;min-height:16px;line-height:1}.hsk-cb-ai-footer{display:flex;align-items:center;gap:4px;margin-top:4px;min-height:16px;line-height:1}.hsk-cb-ai-body:hover .hsk-cb-msg-actions,.hsk-cb-ai-body:focus-within .hsk-cb-msg-actions{opacity:1;pointer-events:auto;transform:translateY(0)}.hsk-cb-sent-status{font-size:11px;line-height:1;color:var(--hsk-chat-muted, #8a8f98);padding:0;display:inline-flex;align-items:center;user-select:none;animation:hsk-sent-in .2s ease-out both}.hsk-cb-msg-actions{display:inline-flex;align-items:center;gap:2px;padding:0;opacity:0;pointer-events:none;transform:translate(3px);transition:opacity .18s cubic-bezier(.16,1,.3,1),transform .18s cubic-bezier(.16,1,.3,1)}.hsk-cb-user-msg:hover .hsk-cb-msg-actions,.hsk-cb-user-msg:focus-within .hsk-cb-msg-actions,.hsk-cb-msg-actions--visible{opacity:1;pointer-events:auto;transform:translate(0)}.hsk-cb-msg-action{display:inline-flex;align-items:center;justify-content:center;gap:3.5px;padding:1px 6.5px;height:16px;border-radius:999px;font-size:11px;font-weight:500;font-family:var(--hsk-font);line-height:1;color:var(--hsk-chat-muted, #8a8f98);background:transparent;border:none;box-shadow:none;cursor:pointer;user-select:none;box-sizing:border-box;transition:color .15s ease,background-color .15s ease,transform .18s cubic-bezier(.34,1.56,.64,1)}.hsk-cb-msg-action .hsk-cb-msg-action-label{font-size:11px;line-height:1}.hsk-cb-msg-action:hover:not(:disabled){color:var(--hsk-chat-text, #ffffff)!important;background:var(--hsk-chat-divide, rgba(140, 140, 140, .18));border:none;transform:translateY(-.5px)}.hsk-cb-msg-action:active:not(:disabled){transform:translateY(0) scale(.95);transition-duration:.1s}.hsk-cb-msg-action--retry{color:var(--hsk-primary, #ff6a33);background:transparent;border:none;box-shadow:none}.hsk-cb-msg-action--retry:hover:not(:disabled){color:var(--hsk-on-active, #ffffff)!important;background:var(--hsk-primary, #ff6a33)!important;border:none!important;box-shadow:0 1px 6px color-mix(in srgb,var(--hsk-primary, #ff6a33) 35%,transparent)}.hsk-cb-failed-notice{display:inline-flex;align-items:center;gap:4px;font-size:11px;line-height:1;color:#ef4444;font-weight:500;user-select:none}.hsk-cb-failed-dot{width:5px;height:5px;border-radius:999px;background:#ef4444;box-shadow:0 0 5px #ef444499;animation:hsk-failed-pulse 1.8s ease-in-out infinite}@keyframes hsk-failed-pulse{0%,to{transform:scale(1);opacity:1}50%{transform:scale(1.25);opacity:.7}}.hsk-cb-msg-action--copied{color:#10b981!important;background:#10b98126!important;font-weight:600}@media(max-width:640px){.hsk-cb-msg-actions{display:none!important}}@keyframes hsk-sent-in{0%{opacity:0}to{opacity:1}}.hsk-cb-user-bubble--queued{opacity:.55}.hsk-cb-queued-status{display:inline-flex;align-items:center;gap:5px;font-size:11px;line-height:1;color:var(--hsk-chat-muted, #8a8f98);padding:4px 0 0;background:none;border:none;cursor:pointer;font-family:var(--hsk-font);animation:hsk-sent-in .2s ease-out both}.hsk-cb-queued-dot{width:5px;height:5px;border-radius:999px;background:currentColor;animation:hsk-queued-pulse 1.1s ease-in-out infinite}@keyframes hsk-queued-pulse{0%,to{opacity:.35;transform:scale(.85)}50%{opacity:1;transform:scale(1)}}.hsk-cb-queued-now{color:var(--hsk-primary, #ff6a33);font-weight:600;transition:opacity .15s ease}.hsk-cb-queued-status:hover .hsk-cb-queued-now{opacity:.7}@media(prefers-reduced-motion:reduce){.hsk-cb-queued-dot{animation:none;opacity:.8}}.hsk-cb-timeline{display:none}@media(min-width:1200px){.hsk-cb-timeline.hsk-cb-timeline--left{display:block;position:absolute;left:auto!important;right:100%!important;margin-right:28px!important;top:50%;transform:translateY(-50%)!important;width:180px;max-height:60%;overflow:hidden;z-index:10;pointer-events:auto;direction:ltr!important;-webkit-mask-image:linear-gradient(to bottom,transparent,#000 14%,#000 86%,transparent);mask-image:linear-gradient(to bottom,transparent,#000 14%,#000 86%,transparent)}.hsk-cb-timeline.hsk-cb-timeline--right{display:block;position:absolute;left:100%!important;right:auto!important;margin-left:28px!important;top:50%;transform:translateY(-50%)!important;width:180px;max-height:60%;overflow:hidden;z-index:10;pointer-events:auto;direction:ltr!important;-webkit-mask-image:linear-gradient(to bottom,transparent,#000 14%,#000 86%,transparent);mask-image:linear-gradient(to bottom,transparent,#000 14%,#000 86%,transparent)}.hsk-cb-timeline-track{animation:hsk-tl-in .32s cubic-bezier(.22,1,.36,1) both}}@keyframes hsk-tl-in{0%{opacity:0;transform:translate(-10px)}to{opacity:1;transform:translate(0)}}.hsk-cb-timeline-track{--hsk-tl-x: 14px;position:relative;padding-left:28px!important;padding-right:6px!important;transition:transform .28s cubic-bezier(.22,1,.36,1)}.hsk-cb-timeline-track:before,.hsk-cb-timeline-track:after{display:none!important}.hsk-cb-tl-wave{position:absolute;left:0;top:0;overflow:visible;pointer-events:none;fill:none;stroke:var(--hsk-chat-divide, rgba(0, 0, 0, .12));stroke-width:2;stroke-linecap:round;transition:d .35s cubic-bezier(.22,1,.36,1)}@media(prefers-color-scheme:dark){.hsk-cb-tl-wave{stroke:var(--hsk-chat-divide, rgba(255, 255, 255, .14))}}.hsk-cb-tl-item{--hsk-tl-d: 0;position:relative;display:block;width:100%;padding:7px 6px 7px 0!important;border:none;background:none;text-align:left!important;cursor:pointer;font-family:var(--hsk-font)}.hsk-cb-tl-dot{position:absolute;left:calc(var(--hsk-tl-x, 14px) - 3px)!important;right:auto!important;top:50%;width:6px;height:6px;margin-top:-3px;border-radius:999px;background:var(--hsk-chat-muted, #8a8f98);opacity:max(.1,calc(.28 - var(--hsk-tl-d) * .07));transition:transform .28s cubic-bezier(.34,1.4,.64,1),opacity .46s cubic-bezier(.22,1,.36,1),background .2s ease}.hsk-cb-tl-label{display:block;font-size:12px;line-height:1.4;color:var(--hsk-chat-muted, #8a8f98);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;transform:translate(calc(var(--hsk-tl-d) * 7px));opacity:max(.32,calc(.9 - var(--hsk-tl-d) * .15));transition:transform .46s cubic-bezier(.22,1,.36,1),opacity .46s cubic-bezier(.22,1,.36,1),color .2s ease}.hsk-cb-tl-item:hover .hsk-cb-tl-label{opacity:1;transform:translate(calc(var(--hsk-tl-d) * 7px - 2px))}.hsk-cb-tl-item:hover .hsk-cb-tl-dot{transform:scale(1.25)}.hsk-cb-tl-cursor{position:absolute;box-shadow:0 0 0 5px color-mix(in srgb,var(--hsk-primary, #ff6a33) 14%,transparent);left:calc(var(--hsk-tl-x, 14px) - 4.5px)!important;right:auto!important;top:0;width:9px;height:9px;margin-top:-4.5px;border-radius:999px;background:var(--hsk-primary, #ff6a33);transform:translateY(0);transition:transform .44s cubic-bezier(.22,1,.36,1);will-change:transform}.hsk-cb-tl-item--on .hsk-cb-tl-dot{opacity:0}.hsk-cb-tl-item--on .hsk-cb-tl-label{color:var(--hsk-chat-text, #1f1f1f);opacity:1;font-weight:500}@media(prefers-reduced-motion:reduce){.hsk-cb-timeline-track{animation:none}.hsk-cb-timeline-track:after,.hsk-cb-tl-label,.hsk-cb-tl-cursor,.hsk-cb-tl-dot{transition:none}}@media(prefers-color-scheme:dark){.hsk-cb-ai-text{--hsk-chat-ai-bg: #26262a;background:var(--hsk-chat-ai-bg);color:#f9fafb}}.hsk-cb-sources-wrap{position:relative;margin-top:20px}.hsk-cb-sources{display:flex;flex-direction:row;gap:14px;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:none;-ms-overflow-style:none;padding-bottom:4px}.hsk-cb-sources::-webkit-scrollbar{display:none}.hsk-cb-sources-fade-left,.hsk-cb-sources-fade-right{position:absolute;top:0;bottom:4px;width:30px;pointer-events:none;z-index:2}.hsk-cb-sources-fade-left,.hsk-cb-sources-fade-right{background-color:var(--hsk-fade-bg, var(--hsk-chat-bg, #0e0e0f))}.hsk-cb-sources-fade-left,[dir=rtl] .hsk-cb-sources-fade-right{-webkit-mask-image:linear-gradient(to right,#000 0%,rgba(0,0,0,.55) 45%,transparent 100%);mask-image:linear-gradient(to right,#000 0%,rgba(0,0,0,.55) 45%,transparent 100%)}.hsk-cb-sources-fade-right,[dir=rtl] .hsk-cb-sources-fade-left{-webkit-mask-image:linear-gradient(to left,#000 0%,rgba(0,0,0,.55) 45%,transparent 100%);mask-image:linear-gradient(to left,#000 0%,rgba(0,0,0,.55) 45%,transparent 100%)}.hsk-cb-sources-fade-left{inset-inline-start:0}.hsk-cb-sources-fade-right{inset-inline-end:0}.hsk-cb-sources-next,.hsk-cb-sources-prev{position:absolute;top:42%;transform:translateY(-50%);width:34px;height:34px;border-radius:50%!important;background:var(--hsk-chat-bg, #ffffff)!important;border:1px solid var(--hsk-chat-divide, rgba(0, 0, 0, .12))!important;color:var(--hsk-primary, #ff6a33)!important;display:flex;align-items:center;justify-content:center;box-shadow:0 4px 14px #00000024;z-index:10;cursor:pointer;transition:transform .2s cubic-bezier(.34,1.56,.64,1),background .18s ease,color .18s ease,box-shadow .18s ease}.hsk-cb-sources-next:hover,.hsk-cb-sources-prev:hover{background:var(--hsk-primary, #ff6a33)!important;color:#fff!important;border-color:var(--hsk-primary, #ff6a33)!important;transform:translateY(-50%) scale(1.1);box-shadow:0 6px 18px #ff6a3359}.hsk-cb-sources-next{inset-inline-end:2px}.hsk-cb-sources-prev{inset-inline-start:2px}[dir=rtl] .hsk-cb-sources-next svg,[dir=rtl] .hsk-cb-sources-prev svg{transform:scaleX(-1)}.hsk-cb-carousel-dots{display:flex;align-items:center;justify-content:center;gap:5px;margin-top:10px}.hsk-cb-dot-item{width:6px;height:6px;border-radius:50%;background:#96969659;transition:all .25s cubic-bezier(.34,1.56,.64,1);cursor:pointer}.hsk-cb-dot-item--active{width:18px;border-radius:999px;background:var(--hsk-primary, #ff6a33)}.hsk-cb-source{flex:0 0 188px;scroll-snap-align:start;border-radius:var(--hsk-border-radius, 0px);border:none;background:transparent;cursor:pointer;transition:transform .14s,opacity .14s;animation:hsk-card-in .26s ease-out both;overflow:visible}@keyframes hsk-card-in{0%{opacity:0;transform:translate(16px)}to{opacity:1;transform:none}}.hsk-cb-source:hover{transform:translateY(-3px);opacity:.92}.hsk-cb-src-imgwrap{width:188px;height:188px;overflow:hidden;border-radius:var(--hsk-border-radius, 0px);display:block;background:var(--hsk-chat-source-bg, #f8f9fa)}.hsk-cb-src-imgwrap img{width:100%;height:100%;object-fit:cover;transition:transform .22s;display:block}.hsk-cb-source:hover .hsk-cb-src-imgwrap img{transform:scale(1.05)}.hsk-cb-src-imgwrap-empty{width:188px;height:188px;background:var(--hsk-chat-divide, rgba(0,0,0,.06));display:flex;align-items:center;justify-content:center;color:var(--hsk-chat-muted, #555);font-size:32px}.hsk-cb-src-info{padding:8px 2px 0}.hsk-cb-sources-wrap--compact{margin-top:10px}.hsk-cb-sources-wrap--compact .hsk-cb-sources{gap:10px}.hsk-cb-sources-wrap--compact .hsk-cb-source{flex:0 0 96px}.hsk-cb-sources-wrap--compact .hsk-cb-src-imgwrap,.hsk-cb-sources-wrap--compact .hsk-cb-src-imgwrap-empty{width:96px;height:96px}.hsk-cb-sources-wrap--compact .hsk-cb-src-imgwrap-empty{font-size:20px}.hsk-cb-sources-wrap--compact .hsk-cb-src-name{font-size:12px;-webkit-line-clamp:1}.hsk-cb-sources-wrap--compact .hsk-cb-src-detail{font-size:11px;padding:1px 6px}.hsk-cb-src-name{font-size:13px;font-weight:600;color:var(--hsk-chat-text, #333);line-height:1.4;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.hsk-cb-src-detail{display:inline-flex;align-items:center;width:fit-content;max-width:100%;padding:2px 9px;border-radius:9999px;background:var(--hsk-chat-source-bg, rgba(0, 0, 0, .05));border:1px solid var(--hsk-chat-divide, rgba(0, 0, 0, .08));font-size:12px;font-weight:600;color:var(--hsk-primary, #ff6a33);margin-top:5px;line-height:1.2}.hsk-cb-input-wrap{position:relative;--hsk-composer-pad-top: 16px;--hsk-composer-pad-x: var(--hsk-gutter, 24px);padding:var(--hsk-composer-pad-top) var(--hsk-composer-pad-x) 24px;flex-shrink:0;background:transparent!important;z-index:10}.hsk-cb-input-wrap:after{display:none!important}.hsk-cb-input-card{position:relative;z-index:95;border-radius:20px;background:var(--hsk-chat-input-bg, #ffffff);border:none!important;outline:none!important;box-shadow:0 3px 14px -1px #0000000d,0 1px 4px #00000008!important;overflow:hidden;transition:height .22s cubic-bezier(.32,.72,0,1)}.hsk-cb-input-card:focus-within{border:none!important;outline:none!important;box-shadow:0 4px 18px -1px #00000012,0 2px 6px #0000000a!important}.hsk-cb-docked-header{display:flex;align-items:center;gap:8px;padding:10px 16px 6px;background:transparent;border-bottom:none!important;user-select:none}.hsk-cb-docked-sub{font-size:12px;font-weight:500;letter-spacing:-.01em;color:var(--hsk-chat-text, #1f1f1f);flex:1}.hsk-cb-docked-close{background:none;border:none;color:var(--hsk-chat-muted, rgba(0, 0, 0, .4));font-size:16px;line-height:1;cursor:pointer;padding:2px 6px;border-radius:50%;transition:background .12s,color .12s}.hsk-cb-docked-close:hover{background:#00000014;color:var(--hsk-chat-text, #111111)}.hsk-cb-field{margin-inline:5px}.hsk-cb-input-box[data-expanded=true]>.hsk-cb-field{margin-inline:0}.hsk-cb-docked-options{display:flex;flex-direction:column;padding:4px 6px;background:transparent;border-bottom:none!important;max-height:220px;overflow-y:auto;scrollbar-width:thin}.hsk-cb-docked-option{display:flex;align-items:center;gap:10px;width:100%;padding:8px 12px;border:none;background:transparent!important;border-radius:10px;color:var(--hsk-chat-text, #1f1f1f);font-family:inherit;font-size:14px;text-align:start;cursor:pointer;transition:color .15s ease}.hsk-cb-docked-option:hover,.hsk-cb-docked-option:focus{background:transparent!important;color:var(--hsk-primary, #ff6a33)}.hsk-cb-docked-option-icon{display:flex;align-items:center;justify-content:center;width:28px;height:28px;border-radius:8px;background:color-mix(in srgb,var(--hsk-primary, #ff6a33) 12%,transparent);color:var(--hsk-primary, #ff6a33);flex-shrink:0;overflow:hidden;transition:transform .2s cubic-bezier(.34,1.56,.64,1),background .18s ease}.hsk-cb-docked-option:hover .hsk-cb-docked-option-icon,.hsk-cb-docked-option:focus .hsk-cb-docked-option-icon{background:color-mix(in srgb,var(--hsk-primary, #ff6a33) 22%,transparent);transform:scale(1.15) rotate(4deg)}.hsk-cb-docked-option-icon img{width:100%;height:100%;object-fit:cover}.hsk-cb-docked-option-title{font-weight:500;flex:1;min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;transition:color .15s ease}.hsk-cb-docked-option-desc{font-size:12px;color:var(--hsk-chat-muted, #6b7280);font-weight:400}.hsk-cb-docked-option-detail{font-size:12px;font-weight:600;color:var(--hsk-chat-muted, #6b7280)}.hsk-cb-input-box{position:relative;display:grid;grid-template-columns:auto 1fr auto auto;grid-template-rows:auto 0px;align-items:center;justify-items:start;column-gap:10px;row-gap:0px;transition:grid-template-rows .2s cubic-bezier(.32,.72,0,1),row-gap .2s cubic-bezier(.32,.72,0,1);background:transparent!important;border:none!important;outline:none!important;border-radius:0!important;padding-block:12px;padding-inline:18px 14px;box-shadow:none!important}.hsk-cb-tools-toggle{display:none}.hsk-cb-toolsheet-wrap{position:absolute;bottom:calc(100% - 6px);inset-inline-start:var(--hsk-composer-pad-x, 14px);inset-inline-end:auto;z-index:100;transform-origin:bottom left;animation:hsk-toolsheet-in .22s cubic-bezier(.16,1,.3,1) both;pointer-events:auto}[dir=rtl] .hsk-cb-toolsheet-wrap,.hsk-cb-panel[dir=rtl] .hsk-cb-toolsheet-wrap{transform-origin:bottom right}.hsk-cb-toolsheet{position:relative;z-index:1;min-width:200px;padding:6px;border-radius:16px;background:var(--hsk-chat-source-bg, rgba(255, 255, 255, .08));border:none!important;box-shadow:none!important}@keyframes hsk-toolsheet-in{0%{opacity:0;transform:translateY(8px) scale(.92)}to{opacity:1;transform:translateY(0) scale(1)}}.hsk-cb-toolsheet-scrim{position:fixed;inset:0;z-index:90;background:color-mix(in srgb,var(--hsk-chat-bg, #fff) 30%,transparent);backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px);mask-image:linear-gradient(to top,#000 30vh,rgba(0,0,0,.84) 38vh,rgba(0,0,0,.4) 48vh,rgba(0,0,0,.1) 56vh,transparent 62vh);-webkit-mask-image:linear-gradient(to top,#000 30vh,rgba(0,0,0,.84) 38vh,rgba(0,0,0,.4) 48vh,rgba(0,0,0,.1) 56vh,transparent 62vh);animation:hsk-scrim-in .25s cubic-bezier(.16,1,.3,1) both;cursor:default}.hsk-cb-toolsheet-pub-text{display:flex;flex-direction:column;min-width:0;gap:2px}.hsk-cb-toolsheet-pub-text code{max-width:180px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:11px;color:var(--hsk-chat-muted, #6b7280)}.hsk-cb-toolsheet-item{display:flex;align-items:center;gap:11px;width:100%;padding:10px 12px;border:none;border-radius:11px;background:transparent;color:var(--hsk-chat-text, #111827);font-family:var(--hsk-font);font-size:15px;text-align:start;cursor:pointer;transition:background-color .15s ease}.hsk-cb-toolsheet-item:hover:not(:disabled){background:var(--hsk-chat-subtle, rgba(0,0,0,.05))}.hsk-cb-toolsheet-item:disabled{opacity:.45;cursor:default}.hsk-cb-toolsheet-item>svg{flex-shrink:0;color:var(--hsk-chat-muted, #6b7280)}[data-hsk-theme] .hsk-cb-toolsheet{background:var(--hsk-sheet-bg, var(--hsk-chat-input-bg, #f3f4f6))!important;border:none!important}[data-hsk-theme] .hsk-cb-toolsheet-item{color:var(--hsk-chat-text, #111827)!important}[data-hsk-theme] .hsk-cb-toolsheet-item:hover:not(:disabled){background:var(--hsk-sheet-hover, var(--hsk-surface-2, rgba(0, 0, 0, .05)))!important}[data-hsk-theme] .hsk-cb-toolsheet-item>svg{color:var(--hsk-chat-muted, #6b7280)!important}@media(prefers-reduced-motion:reduce){.hsk-cb-toolsheet-wrap,.hsk-cb-toolsheet-stem{animation:none}}.hsk-cb-input-box>.hsk-cb-attach-btn{grid-column:1;grid-row:1}.hsk-cb-input-box>.hsk-cb-field{grid-column:2;grid-row:1}.hsk-cb-input-box>.hsk-cb-voice-mode-btn{grid-column:3;grid-row:1}.hsk-cb-input-box>.hsk-cb-send,.hsk-cb-input-box>.hsk-chat-send{grid-column:4;grid-row:1}.hsk-cb-input-box[data-expanded=true]{grid-template-rows:auto 36px;row-gap:6px}.hsk-cb-input-box[data-expanded=true]>.hsk-cb-field{grid-column:1 / -1;grid-row:1}.hsk-cb-input-box[data-expanded=true]>.hsk-cb-attach-btn,.hsk-cb-input-box[data-expanded=true]>.hsk-cb-voice-mode-btn,.hsk-cb-input-box[data-expanded=true]>.hsk-cb-send,.hsk-cb-input-box[data-expanded=true]>.hsk-chat-send{grid-row:2}.hsk-cb-textarea{width:100%;background:transparent;border:none;outline:none;resize:none;font-size:var(--hsk-input-font-size, 16px);font-family:var(--hsk-font);color:var(--hsk-chat-text, #111);min-height:28px;max-height:140px;field-sizing:content;line-height:var(--hsk-input-line-height, 1.55);word-break:break-word;overflow-wrap:break-word;padding:0;transition:height .18s cubic-bezier(.32,.72,0,1),color .42s cubic-bezier(.16,1,.3,1);scrollbar-width:none}.hsk-cb-textarea::-webkit-scrollbar{width:0;height:0}.hsk-cb-textarea::placeholder{color:var(--hsk-chat-muted, #9ca3af);font-family:var(--hsk-font);font-size:var(--hsk-ph-font-size, var(--hsk-input-font-size, 16px))}.hsk-cb-attach-btn,.hsk-cb-send,.hsk-chat-send{width:36px;height:36px;border-radius:12px;display:flex;align-items:center;justify-content:center;flex-shrink:0;border:none;cursor:pointer;transition:transform .2s cubic-bezier(.34,1.56,.64,1),box-shadow .2s cubic-bezier(.34,1.56,.64,1),background-color .42s cubic-bezier(.16,1,.3,1),opacity .2s ease;font-family:inherit;margin:0;padding:0}.hsk-cb-send,.hsk-chat-send{background:linear-gradient(135deg,#007aff,#0056b3);color:#fff;border-radius:12px!important;box-shadow:0 4px 14px #007aff61,inset 0 1px color-mix(in srgb,var(--hsk-chat-bg, #fff) 35%,transparent);position:relative;overflow:hidden}.hsk-cb-send .hsk-telegram-icon,.hsk-chat-send .hsk-telegram-icon{transition:transform .25s cubic-bezier(.34,1.56,.64,1)}.hsk-cb-send:hover:not(:disabled),.hsk-chat-send:hover:not(:disabled){opacity:1;transform:translateY(-1px) scale(1.05);box-shadow:0 6px 18px #007aff7a,inset 0 1px color-mix(in srgb,var(--hsk-chat-bg, #fff) 45%,transparent)}.hsk-cb-send:hover:not(:disabled) .hsk-telegram-icon,.hsk-chat-send:hover:not(:disabled) .hsk-telegram-icon{transform:translate(2px,-2px) rotate(-10deg) scale(1.1)}.hsk-cb-send:active:not(:disabled),.hsk-chat-send:active:not(:disabled){transform:translateY(0) scale(.94);box-shadow:0 1px 4px #007aff4d}.hsk-cb-send:disabled,.hsk-chat-send:disabled{opacity:.4;cursor:not-allowed;background:var(--hsk-chat-muted, #ccc);box-shadow:none}.hsk-cb-send--stop{background:#e5342a!important}.hsk-cb-send--stop:hover{background:#c92a21!important;opacity:1}.hsk-cb-field{position:relative;grid-area:field;display:flex;align-items:center;width:100%;min-width:0;--hsk-input-font-size: 16px;--hsk-input-line-height: 1.55;--hsk-input-control: 36px;--hsk-input-line-box: calc(var(--hsk-input-font-size) * var(--hsk-input-line-height))}.hsk-cb-listening{position:absolute;inset:0;display:flex;align-items:center;justify-content:space-between;pointer-events:none}.hsk-cb-listening span{width:2px;height:2px;border-radius:999px;background:var(--hsk-primary, #ff6a33);opacity:.3;transform-origin:center;will-change:transform,opacity;transition:transform 90ms linear,opacity 90ms linear}.hsk-animated-placeholder{position:absolute;inset:0;display:flex;flex-wrap:wrap;align-items:center;align-content:center;row-gap:1px;height:100%;pointer-events:none;overflow:hidden;user-select:none;padding:0;z-index:1}.hsk-cb-input-box>*{--hsk-cascade-ease: cubic-bezier(.45, 0, .55, 1);--hsk-cascade-dur: .44s;--hsk-cascade-step: 55ms}.hsk-cb-input-box[data-cascade]>*:not([type=file]):not(.hsk-cb-field){animation-duration:var(--hsk-cascade-dur);animation-timing-function:var(--hsk-cascade-ease);animation-fill-mode:none}.hsk-cb-input-box[data-cascade=a]>*:not([type=file]):not(.hsk-cb-field){animation-name:hsk-leaf-settle-a}.hsk-cb-input-box[data-cascade=b]>*:not([type=file]):not(.hsk-cb-field){animation-name:hsk-leaf-settle-b}.hsk-cb-input-box[data-cascade]>*:not([type=file]):not(.hsk-cb-field),.hsk-animated-placeholder__char{will-change:transform}.hsk-cb-input-box:hover>*,.hsk-cb-input-box:focus-within>*{will-change:auto}.hsk-cb-input-box>*{--hsk-cascade-field: .11s}.hsk-cb-input-box[data-cascade]>.hsk-cb-attach-btn{animation-delay:0ms}.hsk-cb-input-box[data-cascade]>.hsk-cb-voice-mode-btn{animation-delay:calc(var(--hsk-cascade-field) + var(--hsk-text-sweep, 0ms))}.hsk-cb-input-box[data-cascade]>.hsk-cb-send,.hsk-cb-input-box[data-cascade]>.hsk-chat-send{animation-delay:calc(var(--hsk-cascade-field) + var(--hsk-text-sweep, 0ms) + var(--hsk-cascade-step))}@keyframes hsk-leaf-settle-a{0%{transform:translateY(0) scale(1)}42%{transform:translateY(-3px) scale(1.05)}to{transform:translateY(0) scale(1)}}@keyframes hsk-leaf-settle-b{0%{transform:translateY(0) scale(1)}42%{transform:translateY(-3px) scale(1.05)}to{transform:translateY(0) scale(1)}}.hsk-cb-input-box>.hsk-cb-field .hsk-animated-placeholder__char{animation-name:hsk-placeholder-animate-up}@media(prefers-reduced-motion:reduce){.hsk-cb-input-box[data-cascade=a]>*,.hsk-cb-input-box[data-cascade=b]>*{animation:none;transform:none;opacity:1}.hsk-cb-textarea,.hsk-cb-input-card{transition-property:background-color,box-shadow}}.hsk-animated-placeholder[data-fit="2"]{--hsk-ph-font-size: 15px}.hsk-animated-placeholder[data-fit="3"]{--hsk-ph-font-size: 14px}.hsk-cb-field{transition:min-block-size .26s cubic-bezier(.16,1,.3,1)}.hsk-cb-field[data-ph-lines="2"]{min-block-size:48px}.hsk-animated-placeholder__char{display:inline-block;font-size:var(--hsk-ph-font-size, var(--hsk-input-font-size, 16px));line-height:var(--hsk-input-line-height, 1.55);color:var(--hsk-chat-muted, #9ca3af);font-family:var(--hsk-font);white-space:pre;animation:hsk-placeholder-animate-up .46s cubic-bezier(.16,1,.3,1) both}@keyframes hsk-placeholder-animate-up{0%{opacity:0;transform:translateY(9px);color:hsl(var(--hsk-ph-hue, 0) var(--hsk-ph-sat, 68%) var(--hsk-ph-light, 55%))}55%{opacity:1;color:hsl(var(--hsk-ph-hue, 0) var(--hsk-ph-sat, 68%) var(--hsk-ph-light, 55%))}to{opacity:1;transform:translateY(0);color:var(--hsk-chat-muted, #9ca3af)}}@media(prefers-reduced-motion:reduce){.hsk-animated-placeholder__char{animation:none;transform:none;opacity:1;color:var(--hsk-chat-muted, #9ca3af);animation-delay:0ms!important}}.hsk-cb-voice-error{display:flex;align-items:center;justify-content:center;gap:8px;font-size:12px;line-height:1.45;width:fit-content;max-width:min(92%,520px);margin-inline:auto;margin:8px auto 0;text-align:center;text-wrap:balance;color:#ff6b6b;padding:3px 8px;border-radius:0;background:transparent;border:none;border-bottom:1px solid rgba(229,72,77,.35);cursor:pointer;animation:hsk-msg-in .2s ease-out both}.hsk-cb-voice-error span{text-align:center}.hsk-cb-voice-error-dismiss{display:inline-flex;align-items:center;justify-content:center;width:18px;height:18px;border-radius:50%;border:none;background:#ffffff1f;color:inherit;font-size:14px;line-height:1;cursor:pointer;padding:0;flex-shrink:0;transition:background .15s ease,transform .15s ease}.hsk-cb-voice-error-dismiss:hover{background:#ffffff40;transform:scale(1.1)}.hsk-cb-img-strip{display:flex;flex-wrap:wrap;align-items:center;gap:10px;padding:10px 18px 2px;background:transparent;border:none;box-shadow:none;backdrop-filter:none;-webkit-backdrop-filter:none;animation:hsk-msg-in .2s ease-out both}.hsk-cb-img-thumb-wrap{position:relative;width:60px;height:60px;flex-shrink:0;border-radius:12px;box-shadow:0 2px 8px #00000014,0 0 0 1px color-mix(in srgb,var(--hsk-chat-bg, #fff) 12%,transparent);transition:transform .2s cubic-bezier(.16,1,.3,1),box-shadow .2s cubic-bezier(.16,1,.3,1);overflow:visible}.hsk-cb-img-thumb-wrap:hover{transform:translateY(-2px);box-shadow:0 6px 14px #0000001f,0 0 0 1px color-mix(in srgb,var(--hsk-chat-bg, #fff) 20%,transparent)}.hsk-cb-img-thumb{width:100%;height:100%;object-fit:cover;border-radius:12px;border:none;display:block}.hsk-cb-img-thumb-remove{position:absolute;top:-5px;inset-inline-end:-5px;width:18px;height:18px;border-radius:50%;background:#141418bf;backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px);color:#fff;border:1px solid rgba(255,255,255,.25);box-shadow:0 2px 6px #00000040;display:flex;align-items:center;justify-content:center;cursor:pointer;padding:0;transition:transform .15s cubic-bezier(.16,1,.3,1),background-color .15s ease;z-index:2}.hsk-cb-img-thumb-remove:hover{background:#ef4444eb;border-color:#fff6;transform:scale(1.15)}.hsk-cb-attach-btn,.hsk-cb-voice-mode-btn{position:relative;width:36px;height:36px;border-radius:12px;border:none!important;outline:none!important;background:transparent;color:var(--hsk-chat-muted, #71717a);cursor:pointer;display:flex;align-items:center;justify-content:center;flex-shrink:0;box-shadow:none!important;opacity:.75;transition:transform .35s cubic-bezier(.34,1.8,.64,1),background-color .2s ease,color .2s ease,opacity .2s ease;font-family:inherit;overflow:visible}.hsk-cb-attach-btn:hover:not(:disabled),.hsk-cb-voice-mode-btn:hover:not(:disabled){opacity:1;color:var(--hsk-chat-text, #1f1f1f);background:transparent;transform:translateY(-1px)}.hsk-cb-attach-btn:active:not(:disabled),.hsk-cb-voice-mode-btn:active:not(:disabled){transform:translateY(0) scale(.94);transition-duration:.1s}.hsk-cb-attach-btn svg,.hsk-cb-voice-mode-btn svg{overflow:visible}.hsk-cb-attach-btn svg{transition:transform .34s cubic-bezier(.22,1,.36,1)}.hsk-cb-attach-btn:hover:not(:disabled) svg{transform:rotate(-14deg) translateY(-1px)}.hsk-mic-cap{transform-box:fill-box;transform-origin:center;transition:transform .32s cubic-bezier(.34,1.56,.64,1)}.hsk-wave-bar{transform-box:fill-box;transform-origin:center;transition:transform .3s cubic-bezier(.34,1.56,.64,1)}.hsk-cb-voice-mode-btn:hover:not(:disabled) .hsk-wave-bar{animation:hsk-wave-wake .52s cubic-bezier(.34,1.8,.64,1) both,hsk-wave-live var(--hsk-period, 1.1s) ease-in-out .52s infinite;animation-delay:calc(var(--hsk-bar, 0) * 55ms),calc(.52s + var(--hsk-bar, 0) * 55ms)}.hsk-cb-voice-mode-btn:hover:not(:disabled) .hsk-wave-bar--tip{animation-name:hsk-wave-wake-tip,hsk-wave-live-tip}@keyframes hsk-wave-wake{0%{transform:scaleY(.12)}55%{transform:scaleY(calc(var(--hsk-amp, 1.6) * 1.12))}to{transform:scaleY(1)}}@keyframes hsk-wave-live{0%,to{transform:scaleY(1)}30%{transform:scaleY(var(--hsk-amp, 1.6))}55%{transform:scaleY(calc(1 + (var(--hsk-amp, 1.6) - 1) * .22))}78%{transform:scaleY(calc(1 + (var(--hsk-amp, 1.6) - 1) * .62))}}@keyframes hsk-wave-wake-tip{0%{transform:scaleX(.2);opacity:.4}55%{transform:scaleX(calc(var(--hsk-amp, 1.9) * 1.1));opacity:1}to{transform:scaleX(1);opacity:.8}}@keyframes hsk-wave-live-tip{0%,to{transform:scaleX(1);opacity:.7}30%{transform:scaleX(var(--hsk-amp, 1.9));opacity:1}70%{transform:scaleX(1.15);opacity:.8}}.hsk-copy-sheet,.hsk-copy-back{transform-box:fill-box;transform-origin:center;transition:transform .3s cubic-bezier(.22,1,.36,1)}.hsk-cb-kiku-id-pill:hover .hsk-copy-sheet,.hsk-cb-toolsheet-pub:is(:hover,:active) .hsk-copy-sheet,.hsk-cb-secret-key:is(:hover,:active) .hsk-copy-sheet{transform:translate(.9px,.9px)}.hsk-cb-kiku-id-pill:hover .hsk-copy-back,.hsk-cb-toolsheet-pub:is(:hover,:active) .hsk-copy-back,.hsk-cb-secret-key:is(:hover,:active) .hsk-copy-back{transform:translate(-.9px,-.9px)}@media(prefers-reduced-motion:reduce){.hsk-cb-attach-btn:hover:not(:disabled) svg,.hsk-cb-kiku-id-pill:hover .hsk-copy-sheet,.hsk-cb-kiku-id-pill:hover .hsk-copy-back,.hsk-cb-toolsheet-pub:is(:hover,:active) :is(.hsk-copy-sheet,.hsk-copy-back),.hsk-cb-secret-key:is(:hover,:active) :is(.hsk-copy-sheet,.hsk-copy-back){transform:none}.hsk-cb-voice-mode-btn:hover:not(:disabled) .hsk-wave-bar{animation:none}}.hsk-cb-attach-btn:disabled,.hsk-cb-voice-mode-btn:disabled{opacity:.3;cursor:not-allowed;transform:none}.hsk-cb-user-imgs{display:grid;gap:2px;width:fit-content;max-width:min(78%,320px);margin-bottom:4px;margin-left:auto;border-radius:18px 18px 4px;overflow:hidden;box-shadow:0 4px 16px #00000029}.hsk-cb-user-imgs[data-count="1"]{grid-template-columns:1fr}.hsk-cb-user-imgs[data-count="2"]{grid-template-columns:1fr 1fr}.hsk-cb-user-imgs[data-count="3"]{grid-template-columns:2fr 1fr;grid-template-rows:1fr 1fr}.hsk-cb-user-imgs[data-count="3"]>:first-child{grid-row:span 2}.hsk-cb-user-imgs[data-count="4"]{grid-template-columns:1fr 1fr}.hsk-cb-user-img-cell{position:relative;display:block;padding:0;border:none;background:none;cursor:pointer;overflow:hidden;min-width:0;line-height:0}.hsk-cb-user-imgs[data-count="1"] .hsk-cb-user-img-cell{aspect-ratio:auto}.hsk-cb-user-imgs:not([data-count="1"]) .hsk-cb-user-img-cell{aspect-ratio:1}.hsk-cb-user-img-more{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;background:#00000073;color:#fff;font-size:20px;font-weight:600;line-height:1}.hsk-cb-user-img-thumb{width:100%;height:100%;object-fit:cover;display:block;cursor:pointer}.hsk-cb-user-imgs[data-count="1"] .hsk-cb-user-img-thumb{height:auto;max-height:300px;object-fit:contain}.hsk-cb-user-img-cell:hover .hsk-cb-user-img-thumb{filter:brightness(.93)}.hsk-cb-leave{position:relative;z-index:96;display:flex;flex-wrap:wrap;align-items:center;gap:6px 8px;width:fit-content;max-width:calc(100% - 24px);margin:0 12px -12px;padding:6px 6px 6px 14px;border-radius:18px;background:var(--hsk-chat-ai-bg, #eeeef0);color:var(--hsk-chat-text, #111827);box-shadow:0 0 0 3px var(--hsk-chat-bg, #fff),0 6px 20px #0000001f;font:500 13px/1.4 var(--hsk-font);animation:hsk-leave-in .18s cubic-bezier(.16,1,.3,1) both}@keyframes hsk-leave-in{0%{opacity:0;transform:translateY(6px)}to{opacity:1;transform:none}}.hsk-cb-leave+.hsk-cb-input-card>*{opacity:.45;transition:opacity .15s}.hsk-cb-leave-btn{height:28px;padding:0 13px;border:none;border-radius:999px;background:#80808029;color:inherit;font:600 12.5px var(--hsk-font);cursor:pointer}.hsk-cb-leave-btn--end{background:var(--hsk-chat-text, #111827);color:var(--hsk-chat-bg, #fff)}.hsk-cb-error{display:block;width:fit-content;max-width:min(560px,100%);margin:10px auto 8px;padding:10px 14px;border-radius:10px;background:#ef444414;border:1px solid rgba(239,68,68,.2);color:#ef4444;font-size:13px;line-height:1.5;font-family:var(--hsk-font);text-align:center}.hsk-kiku-badge{display:inline-block;font-size:var(--hsk-font-size, 16px);font-family:var(--hsk-font);font-weight:600;background:#ffffff38;border:1px solid rgba(255,255,255,.35);color:#fff;padding:1px 7px;border-radius:6px;margin-inline-end:6px}.hsk-cb-memory-pill{display:inline-flex;align-items:center;gap:10px;align-self:flex-start;margin:12px 0 6px;padding:12px 22px;font-size:15px;font-weight:600;text-decoration:none;color:#fff;background:linear-gradient(135deg,#007aff,#0056b3);border:none;border-radius:18px 18px 18px 4px!important;box-shadow:0 4px 16px -2px #007aff61,inset 0 1px color-mix(in srgb,var(--hsk-chat-bg, #fff) 28%,transparent);transition:transform .18s cubic-bezier(.34,1.56,.64,1),opacity .15s,box-shadow .18s ease;cursor:pointer}.hsk-cb-memory-pill:hover{opacity:.96;transform:translateY(-1px) scale(1.02);box-shadow:0 6px 20px #007aff7a}.hsk-cb-think{position:relative;z-index:2;margin-bottom:-11px;margin-inline-start:12px;font-size:14px;font-family:var(--hsk-font)}.hsk-cb-think--note{margin-bottom:0}.hsk-cb-think-head{display:inline-flex;align-items:center;gap:6px;height:24px;padding:0 11px;border:none;border-radius:999px;background:var(--hsk-chat-ai-bg, #eeeef0);box-shadow:0 0 0 3px var(--hsk-chat-bg, #ffffff),0 1px 3px #00000021;font-family:var(--hsk-font);font-size:12px;font-weight:600;color:var(--hsk-chat-muted, #6b7280);cursor:pointer;user-select:none;line-height:28px}.hsk-cb-think-head:hover{color:var(--hsk-chat-text, #111827)}.hsk-cb-think-head--static{cursor:default}.hsk-cb-think-head--static:hover{color:var(--hsk-chat-muted, #6b7280)}.hsk-cb-think-chevron{font-size:9px;transition:transform .12s}.hsk-cb-think-chevron--open{transform:rotate(90deg)}.hsk-cb-think-body{margin-top:6px;padding:8px 12px;border-left:2px solid var(--hsk-chat-border, rgba(128,128,128,.25));color:var(--hsk-chat-muted, #4b5563);white-space:pre-wrap;line-height:1.5;font-family:var(--hsk-font);font-size:14px}.hsk-cb-stopped{display:flex;flex-direction:column;align-items:start;gap:8px;margin:10px 0 14px}.hsk-cb-stopped--empty{align-items:center;text-align:center;margin:22px auto 18px}.hsk-cb-stopped--empty .hsk-cb-stopped-label{text-align:center}.hsk-cb-stopped-dots{display:flex;gap:5px;margin-bottom:2px}.hsk-cb-stopped-dots i{width:5px;height:5px;border-radius:50%;background:var(--hsk-chat-muted, #888);opacity:.4}.hsk-cb-stopped-label{font-size:13px;line-height:1.5;color:var(--hsk-chat-muted, #888);font-family:var(--hsk-font);text-align:start}.hsk-cb-continue{display:inline-flex;align-items:center;gap:7px;padding:7px 14px;font-size:13px;font-weight:500;font-family:var(--hsk-font);color:var(--hsk-chat-text, #111);background:color-mix(in srgb,var(--hsk-chat-text, #111) 7%,transparent);border:1px solid color-mix(in srgb,var(--hsk-chat-text, #111) 12%,transparent);border-radius:999px;cursor:pointer;transition:border-color .15s,color .15s,background .15s}.hsk-cb-continue:hover{border-color:var(--hsk-primary);color:var(--hsk-primary);background:transparent}.hsk-cb-continue svg{flex:none}[dir=rtl] .hsk-cb-continue svg{transform:scaleX(-1)}.hsk-sb-wrap{--hsk-bg: #ffffff;--hsk-border: #f1f3f4;--hsk-text: #1f1f1f;--hsk-muted: #5f6368;--hsk-hover: #f8f9fa;--hsk-drop-shadow: 0 8px 30px rgba(0,0,0,.06);--hsk-primary: var(--chat-primary-color, #ff6a33);position:relative;width:100%;font-family:inherit}@media(prefers-color-scheme:dark){.hsk-sb-wrap{--hsk-bg: #0a0a0a;--hsk-border: #202124;--hsk-text: #e8eaed;--hsk-muted: #888;--hsk-hover: #1a1a1b;--hsk-drop-shadow: 0 12px 40px rgba(0,0,0,.4)}}.hsk-sb-input{width:100%;padding:10px 16px 10px 40px;font-size:14px;border-radius:var(--hsk-border-radius, 0px);border:1.5px solid var(--hsk-border);outline:none;box-sizing:border-box;background:var(--hsk-bg);color:var(--hsk-text);transition:border-color .15s,box-shadow .15s;font-family:inherit}.hsk-sb-input::placeholder{color:var(--hsk-muted)}.hsk-sb-input:focus{border-color:var(--hsk-primary);box-shadow:0 0 0 3px #ff6a331f}.hsk-sb-icon{position:absolute;inset-inline-start:14px;top:50%;transform:translateY(-50%);color:var(--hsk-muted);pointer-events:none;display:flex;align-items:center}.hsk-sb-drop{position:absolute;top:calc(100% + 6px);left:0;right:0;background:var(--hsk-bg);border:1px solid var(--hsk-border);border-radius:var(--hsk-border-radius, 0px);box-shadow:var(--hsk-drop-shadow);z-index:9999;overflow:hidden;padding:6px 0}.hsk-sb-row{display:flex;align-items:center;gap:12px;padding:9px 16px;cursor:pointer;transition:background .1s}.hsk-sb-row:hover{background:var(--hsk-hover)}.hsk-sb-row-thumb{width:38px;height:38px;flex-shrink:0;display:flex;align-items:center;justify-content:center;color:var(--hsk-muted);background:var(--hsk-hover);border-radius:var(--hsk-border-radius, 0px);overflow:hidden}.hsk-sb-row-thumb img{width:100%;height:100%;object-fit:cover;display:block}.hsk-sb-row-body{flex:1;min-width:0}.hsk-sb-row-title{font-size:13px;font-weight:500;color:var(--hsk-text);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;line-height:1.3}.hsk-sb-row-sub{font-size:11px;color:var(--hsk-muted);margin-top:2px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.hsk-sb-empty{padding:14px 16px;font-size:13px;color:var(--hsk-muted)}.hsk-sb-loading-bar{height:2px;background:linear-gradient(90deg,transparent,var(--hsk-primary),transparent);background-size:200% 100%;animation:hsk-sweep .9s linear infinite;position:absolute;top:0;left:0;right:0}@keyframes hsk-sweep{0%{background-position:200% 0}to{background-position:-200% 0}}.hsk-sb-fade{animation:hsk-fin .1s ease-out both}@keyframes hsk-fin{0%{opacity:0;transform:translateY(3px)}to{opacity:1;transform:none}}.hsk-sb-skeleton-row{display:flex;align-items:center;gap:12px;padding:9px 16px}.hsk-sb-skeleton-icon{width:38px;height:38px;background:var(--hsk-hover, rgba(0, 0, 0, .05));border-radius:var(--hsk-border-radius, 0px);flex-shrink:0;animation:hsk-pulse 1.5s ease-in-out infinite}.hsk-sb-skeleton-text1{height:12px;background:var(--hsk-hover, rgba(0, 0, 0, .05));border-radius:3px;width:60%;animation:hsk-pulse 1.5s ease-in-out infinite}.hsk-sb-skeleton-text2{height:8px;background:var(--hsk-hover, rgba(0, 0, 0, .05));border-radius:2px;width:35%;margin-top:5px;animation:hsk-pulse 1.5s ease-in-out infinite}@keyframes hsk-pulse{0%,to{opacity:.6}50%{opacity:1}}@media(pointer:coarse){.hsk-cb-user-bubble,.hsk-cb-ai-body{-webkit-touch-callout:none;-webkit-user-select:none;user-select:none}}.hsk-tapback-overlay{position:absolute;inset:0;z-index:1000;background:transparent;backdrop-filter:none;-webkit-backdrop-filter:none;touch-action:none}.hsk-tapback-group{position:absolute;z-index:1002;display:flex;flex-direction:column;animation:hsk-tapback-flow-up .26s cubic-bezier(.34,1.56,.64,1) both}.hsk-tapback-group.is-closing{animation:hsk-tapback-flow-down .19s cubic-bezier(.55,0,.85,.35) forwards}.hsk-tapback-group.is-above{transform-origin:var(--tail-x, 80%) calc(100% + 16px)}.hsk-tapback-group.is-below{transform-origin:var(--tail-x, 80%) -16px}.hsk-tapback-capsule{display:inline-flex;align-items:center;gap:1px;padding:3px 5px;height:36px;min-height:36px;border-radius:999px;border:none;background:var(--hsk-skin, var(--hsk-bubble-bg, #eeeef0));box-shadow:0 0 0 3px var(--hsk-chat-bg, #ffffff),0 6px 18px #00000029;max-width:calc(100vw - 20px);position:relative;z-index:2;box-sizing:border-box}.hsk-tapback-tail{position:absolute;top:calc(100% - 2px);transform:translate(-50%);display:flex;flex-direction:column;align-items:center;gap:3px;pointer-events:none;z-index:1}.hsk-tapback-tail.is-below{top:auto;bottom:calc(100% - 2px);flex-direction:column-reverse}.hsk-tapback-dot--mid{margin-left:calc(var(--tail-dir, 0) * var(--tail-step, 5px))}.hsk-tapback-dot--anchor{margin-left:calc(var(--tail-dir, 0) * var(--tail-step, 5px) * 2.2)}.hsk-tapback-dot{display:block;border-radius:50%;flex-shrink:0;border:none}.hsk-tapback-dot--mid{width:12px;height:12px;background:var(--hsk-skin, var(--hsk-bubble-bg, #eeeef0));box-shadow:0 0 0 3px var(--hsk-chat-bg, #ffffff),0 2px 5px #0000001f;animation:hsk-tapback-bead .2s cubic-bezier(.16,1,.3,1) .06s backwards}.hsk-tapback-dot--anchor{width:9px;height:9px;background:var(--hsk-anchor-color, var(--hsk-primary, #007aff));animation:hsk-tapback-bead .2s cubic-bezier(.16,1,.3,1) .02s backwards}.hsk-tapback-tool-btn{display:inline-flex;align-items:center;gap:4px;padding:4px 8px;height:30px;border-radius:999px;font-size:12px;font-weight:500;font-family:var(--hsk-font);line-height:1;color:var(--hsk-chat-text, #f3f4f6);background:transparent;border:none;cursor:pointer;user-select:none;-webkit-tap-highlight-color:transparent;transition:background-color .15s ease,transform .12s ease;white-space:nowrap;animation:hsk-tapback-tool-pop .2s cubic-bezier(.16,1,.3,1) both;animation-delay:calc(.02s + var(--tool-idx, 0) * .02s)}.hsk-tapback-tool-btn:hover{background:color-mix(in srgb,var(--hsk-chat-text, #ffffff) 14%,transparent)}.hsk-tapback-tool-btn:active{transform:scale(.92)}.hsk-tapback-tool-btn--pin{color:var(--hsk-primary, #ff6a33)}.hsk-tapback-tool-btn--pin:hover{background:color-mix(in srgb,var(--hsk-primary, #ff6a33) 18%,transparent)}.hsk-tapback-tool-btn--copy.is-copied{color:#10b981!important}@keyframes hsk-tapback-flow-up{0%{opacity:0;transform:scale(.12,.04)}18%{opacity:1}46%{transform:scale(1.06,1.13)}74%{transform:scale(.985,.95)}to{opacity:1;transform:scale(1)}}@keyframes hsk-tapback-flow-down{0%{opacity:1;transform:scale(1)}65%{opacity:1;transform:scale(.5,.34)}to{opacity:0;transform:scale(.12,.04)}}@keyframes hsk-tapback-bead{0%{opacity:0;transform:scale(.2)}to{opacity:1;transform:scale(1)}}@keyframes hsk-tapback-tool-pop{0%{opacity:0;transform:scale(.85)}to{opacity:1;transform:scale(1)}}.hsk-cb-topbar-logo{display:block;max-height:18px;max-width:104px;object-fit:contain}.hsk-cb-sound-pill{display:inline-flex;align-items:center;gap:7px;height:32px;padding:0 12px;border-radius:16px;font-family:var(--hsk-font);font-size:11px;font-weight:550;color:var(--hsk-chat-muted, #71717a);background:color-mix(in srgb,var(--hsk-chat-bg, #ffffff) 65%,transparent);backdrop-filter:blur(24px) saturate(180%);-webkit-backdrop-filter:blur(24px) saturate(180%);border:1px solid color-mix(in srgb,var(--hsk-chat-border, rgba(255, 255, 255, .35)) 30%,transparent);cursor:pointer;transition:color .2s ease,border-color .2s ease,transform .2s cubic-bezier(.34,1.56,.64,1)}.hsk-cb-sound-pill.is-on{color:var(--hsk-chat-text, #111)}.hsk-cb-req{position:relative;width:100%}.hsk-cb-req-dot{width:7px;height:7px;border-radius:50%;background:var(--hsk-primary, #ff6a33)}.hsk-cb-req-list{position:absolute;bottom:calc(100% + 10px);inset-inline-start:0;z-index:60;display:flex;flex-direction:column;width:100%;max-height:300px;overflow-y:auto;scrollbar-width:none;font-family:var(--hsk-font);animation:hsk-leave-in .18s cubic-bezier(.16,1,.3,1) both}.hsk-cb-req-open{display:flex;align-items:flex-start;gap:9px;width:100%;padding:6px 0 6px 12px;padding-inline:12px 0;border:none;background:none;color:var(--hsk-chat-muted, #8a8f98);font:inherit;text-align:start;cursor:pointer;opacity:.6;transition:opacity .2s ease,color .2s ease}.hsk-cb-req-open:hover,.hsk-cb-req-card.is-open .hsk-cb-req-open,.hsk-cb-req-card.is-active .hsk-cb-req-open{opacity:1}.hsk-cb-req-card.is-active .hsk-cb-req-summary{color:var(--hsk-chat-text, #1f1f1f);font-weight:500}.hsk-cb-req-mark{flex:none;width:6px;height:6px;margin-top:5px;border-radius:50%;background:currentColor;opacity:.45}.hsk-cb-req-card.is-open .hsk-cb-req-mark{background:var(--hsk-primary, #ff6a33);box-shadow:0 0 0 4px color-mix(in srgb,var(--hsk-primary, #ff6a33) 14%,transparent);opacity:1}.hsk-cb-req-text{display:flex;flex-direction:column;gap:1px;min-width:0}.hsk-cb-req-summary,.hsk-cb-req-status{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.hsk-cb-req-summary{font-size:12px;line-height:1.4}.hsk-cb-req-status{font-size:10.5px;opacity:.75}.hsk-cb-tray-below{position:absolute;top:calc(var(--hsk-tray-top, 100%) + var(--hsk-tray-h, 0px) + 14px);left:50%;transform:translate(-50%);width:min(300px,calc(100vw - 28px));z-index:1000;animation:hsk-scrim-in .25s cubic-bezier(.16,1,.3,1) .08s both}.hsk-cb-tray-below.is-closing{animation:hsk-scrim-out .18s cubic-bezier(.4,0,1,1) both;pointer-events:none}.hsk-cb-tray-below .hsk-cb-req-list{position:static;max-height:32vh;animation:none}.hsk-cb-tray-below-title{display:block;padding:0 12px 4px;font:600 10.5px var(--hsk-font);letter-spacing:.04em;text-transform:uppercase;color:var(--hsk-chat-muted, #8a8f98);opacity:.7}.hsk-cb-btn-badge{display:inline-flex;align-items:center;justify-content:center;min-width:18px;height:18px;padding:0 5px;border-radius:9px;background:#ef4444;color:#fff;font-size:11px;font-weight:700;line-height:1}.hsk-cb-sound-pill:hover{transform:translateY(-1px);border-color:color-mix(in srgb,var(--hsk-primary, #ff6a33) 25%,transparent);color:var(--hsk-primary, #ff6a33)}.hsk-cb-topbar-ooze-menu .hsk-cb-tray-aside{flex:0 0 auto;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px}.hsk-cb-topbar-ooze-menu .hsk-cb-tray-rule{width:13px;height:1px;background:var(--hsk-chat-muted, #71717a);opacity:.25}.hsk-cb-sound-pill.is-compact{width:26px;height:26px;padding:0;gap:0;justify-content:center;border-radius:9px}.hsk-cb-topbar-ooze-menu .hsk-cb-tray-aside{width:14px;flex:0 0 14px}.hsk-cb-topbar-ooze-menu .hsk-cb-tray-aside .hsk-cb-sound-pill{width:14px;height:14px;border:none;background:none;backdrop-filter:none;-webkit-backdrop-filter:none;border-radius:0;opacity:.45}.hsk-cb-topbar-ooze-menu .hsk-cb-tray-aside .hsk-cb-sound-pill.is-on{opacity:.75}.hsk-cb-topbar-ooze-menu .hsk-cb-tray-aside .hsk-cb-sound-pill:hover{transform:none}.hsk-cb-topbar-ooze-menu .hsk-cb-tray-aside .hsk-cb-sound-pill svg{width:12px;height:12px}.hsk-cb-topbar-ooze-menu .hsk-cb-theme-2x2-grid{flex:1 1 auto!important}.hsk-cb-sound-pill.is-blocked{color:#ef4444!important;opacity:1!important}.hsk-cb-panel[dir=rtl] .hsk-cb-topbar-ooze-menu .hsk-cb-theme-vlabel{transform:none}.hsk-markdown-table td.hsk-md-ok,[data-hsk-theme] .hsk-markdown-table td.hsk-md-ok{color:color-mix(in srgb,#10b981 72%,var(--hsk-chat-text, #111))!important;font-weight:600}.hsk-markdown-table td.hsk-md-bad,[data-hsk-theme] .hsk-markdown-table td.hsk-md-bad{color:color-mix(in srgb,#ef4444 72%,var(--hsk-chat-text, #111))!important;font-weight:600}@media(max-width:1199px){.hsk-cb-topbar-ooze-menu.is-island,.hsk-cb-topbar-ooze-menu.is-island.is-closing{animation:none;will-change:clip-path}.hsk-cb-topbar-ooze-menu.is-island>*{opacity:var(--hsk-island-content, 1)}}.hsk-cb-topbar-ooze-menu.is-parked,.hsk-cb-tray-shadow.is-parked{visibility:hidden;pointer-events:none;opacity:0!important}[data-hsk-theme] .hsk-cb-topbar-ooze-menu.is-parked,.hsk-cb-topbar-ooze-menu.is-parked{backdrop-filter:none!important;-webkit-backdrop-filter:none!important;box-shadow:none!important}.hsk-cb-tray-shadow.is-parked>div{box-shadow:none!important}.hsk-cb-tray-shadow{position:absolute;top:var(--hsk-tray-top, 0px);left:50%;transform:translate(-50%);width:var(--hsk-tray-w, 0px);height:var(--hsk-tray-h, 0px);z-index:1000;pointer-events:none}.hsk-cb-tray-shadow>div{position:absolute;left:0;top:0;width:100%;height:100%;border-radius:18px;box-shadow:0 16px 38px -6px color-mix(in srgb,#000 16%,transparent)}.hsk-cb-allowance{display:flex;flex-wrap:wrap;gap:6px;margin-block-start:8px;pointer-events:none}@media(min-width:1200px){.hsk-cb-allowance{flex-direction:column;flex-wrap:nowrap;align-items:flex-start;gap:12px;position:absolute;bottom:48px;width:auto;max-width:200px;margin-block-start:0;z-index:10;direction:ltr}.hsk-cb-allowance--right{left:100%!important;right:auto!important;margin-left:28px!important;margin-right:0!important;align-items:flex-start}.hsk-cb-allowance--left{left:auto!important;right:100%!important;margin-right:28px!important;margin-left:0!important;align-items:flex-end}}.hsk-cb-allowance-pill{display:inline-flex;align-items:center;gap:8px;height:32px;padding:0 13px;border-radius:999px;font-family:inherit;font-size:11.5px;font-weight:550;letter-spacing:-.01em;line-height:1;white-space:nowrap;color:var(--hsk-chat-text)!important;background:color-mix(in srgb,var(--hsk-chat-bg, #ffffff) 68%,transparent)!important;backdrop-filter:blur(28px) saturate(var(--hsk-glass-saturate, 180%));-webkit-backdrop-filter:blur(28px) saturate(var(--hsk-glass-saturate, 180%));border:1px solid color-mix(in srgb,var(--hsk-chat-border, rgba(255, 255, 255, .35)) 35%,transparent)!important;border-top:1px solid color-mix(in srgb,var(--hsk-chat-bg, #fff) 70%,transparent)!important;border-bottom:1px solid color-mix(in srgb,#000 8%,transparent)!important;box-shadow:0 4px 18px -2px color-mix(in srgb,#000 14%,transparent),0 1px color-mix(in srgb,var(--hsk-chat-bg, #fff) 45%,transparent) inset!important;animation:hsk-allowance-in .34s cubic-bezier(.22,1,.36,1) both;transition:all .2s cubic-bezier(.16,1,.3,1);cursor:default}.hsk-cb-allowance-pill:hover{background:color-mix(in srgb,var(--hsk-chat-bg, #ffffff) 82%,transparent)!important;border-top-color:color-mix(in srgb,var(--hsk-chat-bg, #fff) 85%,transparent)!important;transform:translateY(-1px);box-shadow:0 6px 20px -2px color-mix(in srgb,#000 18%,transparent),0 1px color-mix(in srgb,var(--hsk-chat-bg, #fff) 60%,transparent) inset!important}.hsk-cb-allowance-pill-icon{display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;color:var(--hsk-primary, #6366f1);opacity:.95}.hsk-cb-allowance-pill-icon svg{width:12.5px;height:12.5px}.hsk-cb-allowance-pill-label{font-family:inherit;letter-spacing:-.01em}.hsk-cb-allowance-pill.is-spent{opacity:.5;filter:grayscale(.6)}@keyframes hsk-allowance-in{0%{opacity:0;transform:translateY(4px)}to{opacity:1;transform:translateY(0)}}@media(prefers-reduced-motion:reduce){.hsk-cb-allowance-pill{animation:none}}.hsk-cb-onboarding-card .hsk-cb-entlang-opt{padding-inline:2px 0}.hsk-cb-secret-card{display:flex;flex-direction:column;gap:8px;max-width:340px}.hsk-cb-secret-head{display:flex;align-items:center;gap:8px}.hsk-cb-secret-title{flex:1;font-size:13px;font-weight:600;color:var(--hsk-chat-text, #111)}.hsk-cb-secret-timer{font-size:11px;font-variant-numeric:tabular-nums;color:var(--hsk-chat-muted, #6b7280)}.hsk-cb-secret-dismiss{display:grid;place-items:center;width:24px;height:24px;padding:0;font-size:15px;line-height:1;color:var(--hsk-chat-text, #111);background:color-mix(in srgb,var(--hsk-chat-text, #111) 8%,transparent);border:0;border-radius:50%;cursor:pointer}.hsk-cb-secret-key{display:flex;align-items:center;gap:10px;width:100%;padding:8px 8px 8px 14px;border:1px solid color-mix(in srgb,var(--hsk-chat-text, #111) 10%,transparent);border-radius:999px;background:color-mix(in srgb,var(--hsk-chat-bg, #fff) 70%,transparent);cursor:pointer}.hsk-cb-secret-key code{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12px;text-align:start;color:var(--hsk-chat-text, #111)}.hsk-cb-secret-copy{display:inline-flex;align-items:center;gap:5px;flex-shrink:0;padding:5px 12px;font-size:12px;font-weight:600;color:#fff;background:var(--hsk-primary, #ff6a33);border-radius:999px}.hsk-cb-secret-hint{font-size:11px;color:var(--hsk-chat-muted, #6b7280)}.hsk-cb-swatch-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(104px,1fr));gap:10px;max-width:460px;margin-top:10px}.hsk-cb-swatch{display:flex;flex-direction:column;gap:2px;padding:0 0 8px;text-align:start;background:var(--hsk-chat-source-bg, rgba(0, 0, 0, .03));border:1px solid color-mix(in srgb,var(--hsk-chat-text, #111) 8%,transparent);border-radius:14px;overflow:hidden;cursor:pointer;animation:hsk-msg-in .25s ease-out both;transition:transform .2s cubic-bezier(.34,1.56,.64,1),box-shadow .2s ease}.hsk-cb-swatch--target{cursor:default;background:transparent;border-style:dashed;border-color:color-mix(in srgb,var(--hsk-chat-text, #111) 28%,transparent)}.hsk-cb-swatch--target .hsk-cb-swatch-name{color:var(--hsk-chat-muted, #6b7280)}.hsk-cb-swatch:not(.hsk-cb-swatch--target):hover{transform:translateY(-2px);box-shadow:0 10px 24px -12px color-mix(in srgb,#000 35%,transparent)}.hsk-cb-swatch-chip{display:block;aspect-ratio:1 / .8;margin-bottom:6px;box-shadow:inset 0 -1px color-mix(in srgb,#000 8%,transparent)}.hsk-cb-swatch-name{padding:0 10px;font-size:12px;font-weight:600;line-height:1.3;color:var(--hsk-chat-text, #111);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.hsk-cb-swatch-code{padding:0 10px;font-size:11px;font-variant-numeric:tabular-nums;letter-spacing:.02em;color:var(--hsk-chat-muted, #6b7280)}@media(prefers-reduced-motion:reduce){.hsk-cb-swatch,.hsk-cb-swatch:hover{animation:none;transform:none}}@keyframes hsk-card-in{0%{opacity:0;transform:scale(.96) translateY(-12px)}to{opacity:1;transform:scale(1) translateY(0)}}@keyframes hsk-bar{0%{background-position:200% 0}to{background-position:-200% 0}}@media(max-width:768px){.hsk-cb-overlay{--hsk-font-size: var(--hsk-mobile-font-size, 14px) !important;position:fixed!important;inset:0!important;width:100vw!important;height:100%!important;height:var(--hsk-vvh, 100dvh)!important;min-height:0!important;z-index:2147483647!important;display:flex!important;flex-direction:column!important;overflow:hidden!important;overscroll-behavior:contain!important;background:var(--hsk-chat-bg, #0a0a0a)!important;box-sizing:border-box!important}.hsk-cb-panel{position:relative!important;height:100%!important;width:100%!important;max-width:100%!important;margin:0!important;display:flex!important;flex-direction:column!important;overflow:hidden!important;border-radius:0!important;background:var(--hsk-chat-bg, #0a0a0a)!important;box-sizing:border-box!important}.hsk-cb-main{flex:1 1 auto!important;height:100%!important;min-height:0!important;display:flex!important;flex-direction:column!important;justify-content:space-between!important;overflow:hidden!important;background:var(--hsk-chat-bg, #0a0a0a)!important;box-sizing:border-box!important}.hsk-cb-topbar{padding:14px 14px 8px!important}.hsk-cb-msgs{flex:1 1 auto!important;min-height:0!important;overflow-y:auto!important;-webkit-overflow-scrolling:touch!important;padding:10px 14px 0!important}.hsk-cb-empty{flex:1 0 auto!important;justify-content:center!important;padding:16px 4px!important}.hsk-cb-input-box{grid-template-columns:auto 1fr auto auto}.hsk-cb-input-box>.hsk-cb-attach-btn{display:none}.hsk-cb-input-box>.hsk-cb-voice-mode-btn{display:none}.hsk-cb-input-box>.hsk-cb-field{grid-column:2}.hsk-cb-input-box>.hsk-cb-voice-mode-btn{grid-column:3}.hsk-cb-input-box>.hsk-cb-send,.hsk-cb-input-box>.hsk-chat-send{grid-column:4}.hsk-cb-tools-toggle{display:flex;grid-column:1;grid-row:1;width:36px;height:36px;align-items:center;justify-content:center;flex-shrink:0;padding:0;border:none;border-radius:12px;background:var(--hsk-chat-subtle, rgba(0,0,0,.045));color:var(--hsk-chat-muted, #6b7280);cursor:pointer;transition:transform .26s cubic-bezier(.34,1.56,.64,1),background-color .2s ease}.hsk-cb-tools-toggle--open{transform:rotate(45deg);background:var(--hsk-chat-divide, rgba(0,0,0,.09))}.hsk-cb-toolsheet-wrap,.hsk-cb-toolsheet-scrim{display:block}.hsk-cb-toolsheet-item{display:flex}.hsk-cb-input-box[data-expanded=true]>.hsk-cb-tools-toggle{grid-row:2}.hsk-cb-ai-msg--inline{display:block!important;padding-inline-end:34px}.hsk-cb-hello-wrap{align-items:center!important;text-align:center!important;gap:4px!important;width:100%!important;max-width:min(520px,100%)!important;padding-inline:16px!important;box-sizing:border-box!important;margin-inline:auto!important}.hsk-cb-ink-skeleton{align-items:center!important}.hsk-cb-hello{font-size:clamp(21px,5.8vw,30px)!important;font-weight:600!important;line-height:1.25!important;letter-spacing:-.02em!important;color:var(--hsk-chat-muted, #8b8b8f)!important;text-align:center!important;text-wrap:balance;max-width:100%!important;overflow-wrap:break-word}.hsk-cb-hello-lead,.hsk-cb-hello-ask{font-size:14px!important;font-weight:400!important;line-height:1.45!important;text-align:center!important;text-wrap:balance;max-width:100%!important;overflow-wrap:break-word;color:color-mix(in srgb,var(--hsk-chat-muted, #8b8b8f) 78%,transparent)!important}.hsk-cb-hello-lead{font-size:14px!important;margin-top:4px!important}.hsk-cb-lang-chips{justify-content:center!important;width:100%!important;gap:8px!important;margin:12px 0 6px!important}.hsk-cb-lang-chips-hint{width:100%!important;justify-content:center!important;margin-top:6px!important;margin-inline-start:0!important}.hsk-cb-onboarding-head{justify-content:flex-start!important;margin-bottom:12px!important}.hsk-cb-onboarding-card .hsk-cb-hello-wrap{align-items:flex-start!important;text-align:start!important}.hsk-cb-onboarding-card .hsk-cb-hello,.hsk-cb-onboarding-card .hsk-cb-hello-lead,.hsk-cb-onboarding-card .hsk-cb-hello-ask,.hsk-cb-onboarding-card .hsk-cb-hello-hint{text-align:start!important}.hsk-cb-onboarding-card .hsk-cb-lang-chips,.hsk-cb-onboarding-card .hsk-cb-lang-chips-hint{justify-content:flex-start!important}.hsk-cb-doodles{opacity:.92!important}.hsk-cb-input-wrap{margin-top:auto!important;flex-shrink:0!important;--hsk-composer-pad-top: 8px;--hsk-composer-pad-x: 14px;padding:8px 14px!important;padding-bottom:max(12px,env(safe-area-inset-bottom))!important;background:var(--hsk-chat-bg, #0a0a0a)!important;position:relative!important;z-index:10!important}.hsk-cb-attach-btn,.hsk-cb-send,.hsk-chat-send{width:32px!important;height:32px!important;border-radius:8px!important}.hsk-cb-attach-btn svg,.hsk-cb-send svg,.hsk-chat-send svg{width:15px!important;height:15px!important}.hsk-cb-input-box{padding:10px 10px 10px 14px}.hsk-cb-user-bubble{max-width:85%}}.hsk-table-wrapper{overflow-x:auto;-webkit-overflow-scrolling:touch;margin:12px 0 8px;width:100%;max-width:100%;min-width:0;border-radius:0;padding:0 0 6px;background:transparent;box-shadow:none;box-sizing:border-box;scrollbar-width:thin;scrollbar-color:var(--hsk-chat-divide, rgba(0, 0, 0, .2)) transparent;cursor:grab;user-select:auto;transition:mask-image .15s ease,-webkit-mask-image .15s ease}.hsk-table-wrapper.is-dragging{cursor:grabbing;user-select:none}.hsk-table-wrapper::-webkit-scrollbar{height:5px}.hsk-table-wrapper::-webkit-scrollbar-track{background:transparent}.hsk-table-wrapper::-webkit-scrollbar-thumb{background:var(--hsk-chat-divide, rgba(0, 0, 0, .25));border-radius:4px}.hsk-table-wrapper::-webkit-scrollbar-thumb:hover{background:var(--hsk-chat-muted, rgba(0, 0, 0, .5))}.hsk-cb-ai-text .hsk-markdown-p{margin:0 0 10px}.hsk-cb-ai-text .hsk-markdown-p:last-child{margin-bottom:0}.hsk-cb-ai-text .hsk-markdown-list{margin:0 0 10px;padding-inline-start:1.2em}.hsk-cb-ai-text .hsk-markdown-list:last-child{margin-bottom:0}.hsk-cb-ai-text .hsk-markdown-ul{list-style:disc outside}.hsk-cb-ai-text .hsk-markdown-ol{list-style:decimal outside}.hsk-cb-ai-text .hsk-markdown-list li{margin:0 0 7px;padding-left:3px;line-height:1.5}.hsk-cb-ai-text .hsk-markdown-list li:last-child{margin-bottom:0}.hsk-cb-ai-text .hsk-markdown-list li::marker{color:var(--hsk-primary, #ff6a33)}.hsk-cb-ai-text .hsk-markdown-h1,.hsk-cb-ai-text .hsk-markdown-h2,.hsk-cb-ai-text .hsk-markdown-h3{margin:14px 0 7px;font-weight:650;line-height:1.3;letter-spacing:-.01em}.hsk-cb-ai-text .hsk-markdown-h1{font-size:1.09em}.hsk-cb-ai-text .hsk-markdown-h2{font-size:1.03em}.hsk-cb-ai-text .hsk-markdown-h3{font-size:1em}.hsk-cb-ai-text>:first-child{margin-top:0}.hsk-markdown-table{width:max-content;min-width:100%;border-collapse:collapse;border-spacing:0;text-align:start;font-size:13px;background:transparent;margin:0;border:none;font-variant-numeric:tabular-nums}.hsk-markdown-table th{padding:8px 16px 6px;vertical-align:bottom;line-height:1.35;font-weight:600;font-size:12px;text-transform:uppercase;letter-spacing:.04em;white-space:nowrap;color:var(--hsk-chat-muted, rgba(0, 0, 0, .55));border-bottom:1px solid var(--hsk-chat-divide, rgba(0, 0, 0, .1));background:transparent!important}.hsk-markdown-table td{padding:8px 16px;vertical-align:middle;line-height:1.45;font-size:13px;white-space:nowrap;color:var(--hsk-chat-text, inherit);border-bottom:.5px solid var(--hsk-chat-divide, rgba(0, 0, 0, .06));background:transparent!important}.hsk-markdown-table th:first-child,.hsk-markdown-table td:first-child{padding-inline-start:0;font-weight:590;white-space:normal;max-width:280px;min-width:150px;line-height:1.35}.hsk-markdown-table th:last-child,.hsk-markdown-table td:last-child{padding-inline-end:0}.hsk-markdown-table tbody tr:last-child td{border-bottom:none}.hsk-markdown-table td *{color:inherit}.hsk-markdown-table .hsk-markdown-link{display:inline-flex;align-items:center;padding:2px 8px;background-color:var(--hsk-chat-source-bg, rgba(0, 0, 0, .04));border:1px solid var(--hsk-chat-divide, rgba(0, 0, 0, .08));color:var(--hsk-primary, #ff6a33);font-size:12px;font-weight:500;border-radius:6px;text-decoration:none!important;margin:2px 0;transition:opacity .15s ease}.hsk-markdown-table .hsk-markdown-link:hover{opacity:.8}@media(prefers-color-scheme:dark){.hsk-markdown-table th{color:var(--hsk-chat-muted, rgba(255, 255, 255, .5));border-bottom-color:var(--hsk-chat-divide, rgba(255, 255, 255, .1))}.hsk-markdown-table td{color:var(--hsk-chat-text, #f0efed);border-bottom-color:var(--hsk-chat-divide, rgba(255, 255, 255, .06))}}.hsk-markdown-link{color:var(--hsk-primary, #ff6a33);text-decoration:underline;text-underline-offset:2px}.hsk-markdown-code{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace,var(--hsk-font);font-size:.85em;background-color:#80808026;padding:.2em .4em;border-radius:var(--hsk-border-radius, 0px);color:inherit;word-break:break-word}.hsk-markdown-img-block{margin:8px 0;line-height:0}.hsk-markdown-img{display:block;max-width:100%;width:auto;max-height:220px;border-radius:10px;box-shadow:0 2px 12px #0000002e;object-fit:cover;background:#80808014}.hsk-chat-widget ::-webkit-scrollbar,.hsk-sp-card ::-webkit-scrollbar,.hsk-cb-msgs ::-webkit-scrollbar,.hsk-sp-details-pane ::-webkit-scrollbar,.hsk-sp-results ::-webkit-scrollbar,.hsk-chat-messages ::-webkit-scrollbar{width:3px;height:3px}.hsk-chat-widget ::-webkit-scrollbar-track,.hsk-sp-card ::-webkit-scrollbar-track,.hsk-cb-msgs ::-webkit-scrollbar-track,.hsk-sp-details-pane ::-webkit-scrollbar-track,.hsk-sp-results ::-webkit-scrollbar-track,.hsk-chat-messages ::-webkit-scrollbar-track{background:transparent}.hsk-chat-widget ::-webkit-scrollbar-thumb,.hsk-sp-card ::-webkit-scrollbar-thumb,.hsk-cb-msgs ::-webkit-scrollbar-thumb,.hsk-sp-details-pane ::-webkit-scrollbar-thumb,.hsk-sp-results ::-webkit-scrollbar-thumb,.hsk-chat-messages ::-webkit-scrollbar-thumb{background:#0000000f;border-radius:99px;transition:background .2s ease}.hsk-chat-widget ::-webkit-scrollbar-thumb:hover,.hsk-cb-msgs ::-webkit-scrollbar-thumb:hover{background:#00000026}@media(prefers-color-scheme:dark){.hsk-chat-widget ::-webkit-scrollbar-thumb,.hsk-sp-card ::-webkit-scrollbar-thumb,.hsk-cb-msgs ::-webkit-scrollbar-thumb,.hsk-sp-details-pane ::-webkit-scrollbar-thumb,.hsk-sp-results ::-webkit-scrollbar-thumb,.hsk-chat-messages ::-webkit-scrollbar-thumb{background:#ffffff14}.hsk-chat-widget ::-webkit-scrollbar-thumb:hover,.hsk-cb-msgs ::-webkit-scrollbar-thumb:hover{background:#fff3}}.hsk-cb-phone-form{display:flex;flex-direction:column;gap:8px;margin-top:8px}.hsk-cb-phone-label{font-size:.875rem;color:var(--hsk-chat-text, #111);margin:0}.hsk-cb-phone-input{width:100%;box-sizing:border-box;padding:8px 12px;border:1px solid var(--hsk-chat-divide, rgba(0,0,0,.12));border-radius:var(--hsk-border-radius, 0px);background:var(--hsk-chat-input-bg, rgba(0,0,0,.04));color:var(--hsk-chat-text, #111);font-size:.9rem;outline:none;transition:border-color .15s}.hsk-cb-phone-input::placeholder{color:var(--hsk-chat-muted, #888)}.hsk-cb-phone-input:focus{border-color:var(--hsk-primary, #ff6a33)}.hsk-cb-phone-submit{align-self:flex-start;padding:8px 16px;border:1px solid var(--hsk-chat-divide, rgba(0,0,0,.12));border-radius:var(--hsk-border-radius, 0px);background:transparent;color:var(--hsk-chat-text, #111);font-size:.875rem;font-weight:500;cursor:pointer;transition:background .15s,border-color .15s,color .15s}.hsk-cb-phone-submit:hover{border-color:var(--hsk-primary, #ff6a33);color:var(--hsk-primary, #ff6a33)}.hsk-cb-main{flex:1;min-width:0;display:flex;flex-direction:column;height:100%;overflow:hidden}@keyframes hsk-fade-in-up{0%{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}.hsk-action-pills{display:flex;flex-wrap:wrap;gap:6px;margin-top:10px;animation:hsk-fade-in-up .35s ease .1s both}.hsk-action-pill{display:inline-flex;align-items:center;gap:5px;padding:6px 12px;border-radius:20px;border:1px solid var(--hsk-chat-divide, rgba(0,0,0,.12));background:var(--hsk-pill-bg, rgba(255,255,255,.8));color:var(--hsk-chat-text, #1f1f1f);font-size:12px;font-weight:500;cursor:pointer;font-family:inherit;transition:all .15s;white-space:nowrap;backdrop-filter:blur(4px)}.hsk-action-pill:hover:not(:disabled){border-color:var(--hsk-primary, #ff6a33);background:color-mix(in srgb,var(--hsk-primary, #ff6a33) 8%,transparent);color:var(--hsk-primary, #ff6a33);transform:translateY(-1px);box-shadow:0 2px 8px #00000014}.hsk-action-pill:disabled{opacity:.4;cursor:not-allowed}.hsk-pill-emoji{font-size:13px;line-height:1}@media(prefers-color-scheme:dark){.hsk-action-pill{--hsk-pill-bg: rgba(40,40,42,.85);border-color:#ffffff1a;color:var(--hsk-chat-text, #e8eaed)}}[data-hsk-theme=dark] .hsk-action-pill{--hsk-pill-bg: rgba(40,40,42,.85);border-color:#ffffff1a;color:var(--hsk-chat-text, #e8eaed)}.kiku-voice-btn:hover{background:var(--hsk-hover-bg, rgba(0,0,0,.06));color:var(--hsk-primary, #6c47ff)}@keyframes kiku-voice-pulse{0%{transform:scale(1);opacity:1}to{transform:scale(1.6);opacity:0}}.kiku-style-tag{display:inline-flex;align-items:center;gap:3px;padding:2px 8px;border-radius:99px;background:var(--hsk-primary-alpha, rgba(108,71,255,.1));color:var(--hsk-primary, #6c47ff);font-size:11px;font-weight:500;white-space:nowrap}.kiku-voice-btn{position:relative;display:inline-flex;align-items:center;justify-content:center;width:36px;height:36px;border-radius:50%;border:none;background:transparent;color:var(--hsk-text-muted, #888);cursor:pointer;transition:color .2s,background .2s;flex-shrink:0}.kiku-voice-btn:hover{background:var(--hsk-hover-bg, rgba(0,0,0,.06));color:var(--hsk-primary, #ff6a33)}.kiku-voice-btn--active{color:#ef4444;background:#ef44441a}.kiku-voice-btn:disabled{opacity:.4;cursor:not-allowed}.kiku-voice-ripple{position:absolute;inset:-4px;border-radius:50%;border:2px solid #ef4444;animation:kiku-voice-pulse 1.2s ease-out infinite;pointer-events:none}@keyframes kiku-voice-pulse{0%{transform:scale(1);opacity:1}to{transform:scale(1.7);opacity:0}}.kiku-style-tags{display:flex;flex-wrap:wrap;gap:4px;margin-top:6px}.kiku-style-tag{display:inline-flex;align-items:center;gap:3px;padding:2px 8px;border-radius:99px;background:#ff6a331a;color:var(--hsk-primary, #ff6a33);font-size:11px;font-weight:500;white-space:nowrap}.hsk-kiku-badge{display:inline-flex;align-items:center;gap:3px;font-size:13px;font-weight:700;letter-spacing:-.01em;color:#fff;background:#ffffff47;border:1px solid rgba(255,255,255,.45);padding:2px 8px;border-radius:8px;margin-inline-end:8px;vertical-align:middle;position:relative;top:-1px;box-shadow:0 1px 3px #0000001f}.hsk-markdown-img,.hsk-cb-user-img-thumb,.hsk-cb-source .hsk-cb-src-imgwrap img{cursor:zoom-in}.hsk-lightbox{position:fixed;inset:0;z-index:999999;background:color-mix(in srgb,var(--hsk-chat-bg, #fff) 84%,transparent);backdrop-filter:blur(28px) saturate(180%);-webkit-backdrop-filter:blur(28px) saturate(180%);display:flex;align-items:center;justify-content:center;padding:24px;animation:hsk-lightbox-in .15s ease-out both;cursor:zoom-out}@keyframes hsk-lightbox-in{0%{opacity:0}to{opacity:1}}.hsk-lightbox-img{max-width:100%;max-height:100%;width:auto;height:auto;object-fit:contain;border-radius:4px;box-shadow:0 18px 50px -12px color-mix(in srgb,#000 30%,transparent);cursor:default}.hsk-lightbox-close{position:absolute;top:16px;right:16px;width:36px;height:36px;border-radius:50%;border:none;background:color-mix(in srgb,var(--hsk-chat-text, #111) 8%,transparent);color:var(--hsk-chat-text, #111);display:flex;align-items:center;justify-content:center;cursor:pointer;transition:background .15s}.hsk-lightbox-close:hover{background:color-mix(in srgb,var(--hsk-chat-text, #111) 16%,transparent)}.hsk-cb-viz{margin-top:10px;animation:hsk-msg-in .2s ease-out both}.hsk-cb-viz img,.hsk-cb-viz video{width:100%;max-width:420px;border-radius:8px;display:block}.hsk-cb-viz-disclaimer{max-width:420px;margin-top:4px;font-size:11px;line-height:1.4;color:var(--hsk-chat-muted, #9aa0a6)}.hsk-cb-calc-disclaimer{max-width:440px;margin-top:8px;padding:8px 12px;font-size:11.5px;line-height:1.45;color:var(--hsk-chat-muted, rgba(255, 255, 255, .65));background:var(--hsk-chat-callout-bg, rgba(255, 255, 255, .04));border:1px solid var(--hsk-border-subtle, rgba(255, 255, 255, .08));border-radius:8px}[data-hsk-theme=light] .hsk-cb-calc-disclaimer{color:#0009;background:#00000008;border-color:#00000014}.hsk-cb-stale{max-width:420px;margin-top:8px;padding:8px 10px;border:1px solid rgba(220,38,38,.35);border-left-width:3px;border-radius:6px;background:#dc26260f}.hsk-cb-stale-title{font-size:11px;font-weight:700;letter-spacing:.04em;text-transform:uppercase;color:#dc2626}.hsk-cb-stale-item{margin-top:3px;font-size:12px;line-height:1.45;color:var(--hsk-chat-text, #202124)}.hsk-cb-stale-reason{color:var(--hsk-chat-muted, #9aa0a6)}.hsk-cb-viz-imgwrap{position:relative;display:inline-block;max-width:100%}.hsk-cb-viz-mark{position:absolute;right:10px;bottom:10px;display:inline-flex;align-items:center;gap:6px;padding:8px 14px;font-size:13px;font-weight:600;color:#fff;background:#0000009e;backdrop-filter:blur(6px);border:1px solid rgba(255,255,255,.35);border-radius:999px;cursor:pointer;transition:background .15s}.hsk-cb-viz-mark:hover{background:var(--hsk-primary, #ff6a33);border-color:transparent}.hsk-markup-overlay{position:fixed;inset:0;z-index:999999;background:color-mix(in srgb,var(--hsk-chat-bg, #fff) 84%,transparent);backdrop-filter:blur(28px) saturate(180%);-webkit-backdrop-filter:blur(28px) saturate(180%);display:flex;align-items:center;justify-content:center;padding:12px;animation:hsk-lightbox-in .15s ease-out both}.hsk-markup{height:100%;box-sizing:border-box;padding-top:max(32px,env(safe-area-inset-top));padding-bottom:max(24px,env(safe-area-inset-bottom));display:flex;flex-direction:column;gap:12px;width:100%;max-height:100%;overflow-y:auto}.hsk-markup-head{display:flex;align-items:center;justify-content:space-between;gap:12px}.hsk-markup-title{font-size:12px;font-weight:500;line-height:1.4;color:color-mix(in srgb,var(--hsk-chat-text, #111) 55%,transparent)}.hsk-markup-cancel{flex-shrink:0;padding:6px 12px;font-size:12px;font-weight:600;color:var(--hsk-chat-text, #111);border-radius:999px;background:color-mix(in srgb,var(--hsk-chat-bg, #fff) 70%,transparent);backdrop-filter:blur(20px) saturate(180%);-webkit-backdrop-filter:blur(20px) saturate(180%);border:1px solid color-mix(in srgb,var(--hsk-chat-text, #111) 10%,transparent);box-shadow:0 6px 18px -8px color-mix(in srgb,#000 22%,transparent);cursor:pointer}.hsk-markup-cancel:hover{background:color-mix(in srgb,var(--hsk-chat-text, #111) 16%,transparent)}.hsk-markup-stage{display:flex;flex:1;min-height:0;align-items:center;justify-content:center}.hsk-markup-canvas-wrap{position:relative;max-width:100%}.hsk-markup-canvas{display:block;max-width:100%;max-height:calc(100vh - 130px);box-shadow:0 18px 50px -12px color-mix(in srgb,#000 30%,transparent);border-radius:var(--hsk-border-radius, 0px);touch-action:none}.hsk-markup-canvas--pen,.hsk-markup-canvas--eraser{cursor:crosshair}.hsk-markup-pinlabel{position:absolute;display:flex;align-items:center;gap:4px;max-width:calc(100% - 16px);padding:4px 4px 4px 12px;border-radius:999px;background:color-mix(in srgb,var(--hsk-chat-bg, #fff) 78%,transparent);backdrop-filter:blur(20px) saturate(180%);-webkit-backdrop-filter:blur(20px) saturate(180%);border:1px solid color-mix(in srgb,var(--hsk-chat-text, #111) 10%,transparent);box-shadow:0 10px 28px -10px color-mix(in srgb,#000 40%,transparent)}.hsk-markup-pinlabel input{min-width:0;max-width:100%;padding:6px 0;font-size:13px;color:var(--hsk-chat-text, #111);background:transparent;border:0;outline:none}.hsk-markup-pinlabel input::placeholder{color:color-mix(in srgb,var(--hsk-chat-text, #111) 45%,transparent)}.hsk-markup-pinlabel button{flex-shrink:0;display:grid;place-items:center;width:26px;height:26px;padding:0;font-size:15px;line-height:1;color:var(--hsk-chat-text, #111);background:color-mix(in srgb,var(--hsk-chat-text, #111) 8%,transparent);border:0;border-radius:50%;cursor:pointer}.hsk-markup-loading,.hsk-markup-error{padding:40px 16px;font-size:13px;color:color-mix(in srgb,var(--hsk-chat-text, #111) 70%,transparent);text-align:center}.hsk-markup-tools{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:8px;margin-top:auto}.hsk-markup-tool{flex-shrink:0;white-space:nowrap;padding:8px 14px;font-size:12px;font-weight:600;color:var(--hsk-chat-text, #111);border-radius:999px;background:color-mix(in srgb,var(--hsk-chat-bg, #fff) 70%,transparent);backdrop-filter:blur(20px) saturate(180%);-webkit-backdrop-filter:blur(20px) saturate(180%);border:1px solid color-mix(in srgb,var(--hsk-chat-text, #111) 10%,transparent);box-shadow:0 6px 18px -8px color-mix(in srgb,#000 22%,transparent);cursor:pointer}.hsk-markup-tool:hover:not(:disabled){background:color-mix(in srgb,var(--hsk-chat-text, #111) 16%,transparent)}.hsk-markup-tool--on{color:#fff;background:var(--hsk-primary, #ff6a33);border-color:transparent}.hsk-markup-tool--on:hover:not(:disabled){background:var(--hsk-primary, #ff6a33)}.hsk-markup-tool:disabled{opacity:.4;cursor:default}.hsk-markup-go{flex-shrink:0;padding:8px 22px;font-size:13px;font-weight:600;color:#fff;background:var(--hsk-primary, #ff6a33);border:none;border-radius:999px;box-shadow:0 6px 18px -8px color-mix(in srgb,var(--hsk-primary, #ff6a33) 60%,transparent);cursor:pointer}.hsk-markup-go:hover:not(:disabled){opacity:.9}.hsk-markup-go:disabled{opacity:.45;cursor:default}@media(max-width:640px){.hsk-markup-head{flex-direction:column-reverse;align-items:flex-start}.hsk-markup-cancel{align-self:flex-end}}.hsk-cb-kimgs{margin-top:10px;display:flex;flex-direction:column;gap:10px;animation:hsk-msg-in .2s ease-out both}.hsk-cb-kimg-grid{display:flex;flex-wrap:wrap;gap:6px}.hsk-cb-kimg{width:132px;height:132px;object-fit:cover;border-radius:8px;cursor:zoom-in;border:1px solid var(--hsk-chat-border, rgba(0, 0, 0, .08))}.hsk-cb-kimg:only-child{width:100%;max-width:320px;height:auto}.hsk-cb-kimg-caption{margin-top:4px;font-size:11px;line-height:1.4;color:var(--hsk-chat-muted, #9aa0a6)}.hsk-cb-panel[data-script=nonlatin][data-host-font=gap]{--hsk-font: "Geist", system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans", sans-serif}.hsk-cb-panel[data-script=nonlatin],.hsk-cb-panel[data-script=nonlatin] *{letter-spacing:normal;font-family:var(--hsk-font)}.hsk-cb-panel[data-script=nonlatin] .hsk-cb-hello,.hsk-cb-panel[data-script=nonlatin] .hsk-cb-hello-lead,.hsk-cb-panel[data-script=nonlatin] .hsk-cb-hello-ask,.hsk-cb-panel[data-script=nonlatin] .hsk-cb-ai-text,.hsk-cb-panel[data-script=nonlatin] .hsk-cb-user-bubble,.hsk-cb-panel[data-script=nonlatin] .hsk-cb-chip,.hsk-cb-panel[data-script=nonlatin] .hsk-cb-topbar-btn,.hsk-cb-panel[data-script=nonlatin] .hsk-cb-textarea,.hsk-cb-panel[data-script=nonlatin] .hsk-cb-entlang-opt-title,.hsk-cb-panel[data-script=nonlatin] .hsk-cb-entlang-opt-note,.hsk-cb-panel[data-script=nonlatin] .hsk-cb-ai-text .hsk-markdown-list li,.hsk-cb-panel[data-script=nonlatin] .hsk-cb-ai-text .hsk-markdown-h1,.hsk-cb-panel[data-script=nonlatin] .hsk-cb-ai-text .hsk-markdown-h2,.hsk-cb-panel[data-script=nonlatin] .hsk-cb-ai-text .hsk-markdown-h3,.hsk-cb-panel[data-script=nonlatin] .hsk-markdown-table th,.hsk-cb-panel[data-script=nonlatin] .hsk-markdown-table td{line-height:1.9}.hsk-cb-panel[data-script=nonlatin] .hsk-cb-voice-error{font-size:12px;line-height:1.7;max-width:min(92%,520px);margin-left:auto;margin-right:auto}.hsk-cb-panel[data-script=nonlatin] .hsk-cb-msg-action{height:16px;padding:1px 6.5px;font-size:9.5px;line-height:1}.hsk-cb-panel[data-script=nonlatin] .hsk-cb-msg-action .hsk-cb-msg-action-label{font-size:9.5px;line-height:1}.hsk-cb-panel[data-script=nonlatin] .hsk-cb-user-footer,.hsk-cb-panel[data-script=nonlatin] .hsk-cb-ai-footer{min-height:16px}.hsk-cb-panel[data-script=nonlatin] .hsk-cb-sent-status,.hsk-cb-panel[data-script=nonlatin] .hsk-cb-failed-notice{font-size:10px;line-height:1}.hsk-cb-panel[data-script=nonlatin] .hsk-cb-hello{font-size:clamp(20px,3.4vw,26px);line-height:1.5;text-wrap:balance;overflow-wrap:break-word}.hsk-cb-panel[data-script=nonlatin] .hsk-cb-hello-ask{font-size:15px;line-height:1.75}.hsk-cb-panel[data-script=nonlatin] .hsk-cb-hello-wrap{max-width:100%;min-width:0}.hsk-cb-panel[data-script=nonlatin] .hsk-cascade__w{white-space:normal}.hsk-cb-panel[data-nastaliq=true] .hsk-cb-hello,.hsk-cb-panel[data-nastaliq=true] .hsk-cb-hello-lead,.hsk-cb-panel[data-nastaliq=true] .hsk-cb-hello-ask,.hsk-cb-panel[data-nastaliq=true] .hsk-cb-ai-text,.hsk-cb-panel[data-nastaliq=true] .hsk-cb-user-bubble,.hsk-cb-panel[data-nastaliq=true] .hsk-cb-chip,.hsk-cb-panel[data-nastaliq=true] .hsk-cb-topbar-btn,.hsk-cb-panel[data-nastaliq=true] .hsk-cb-textarea,.hsk-cb-panel[data-nastaliq=true] .hsk-cb-entlang-opt-title,.hsk-cb-panel[data-nastaliq=true] .hsk-cb-entlang-opt-note,.hsk-cb-panel[data-nastaliq=true] .hsk-cb-ai-text .hsk-markdown-list li,.hsk-cb-panel[data-nastaliq=true] .hsk-cb-ai-text .hsk-markdown-h1,.hsk-cb-panel[data-nastaliq=true] .hsk-cb-ai-text .hsk-markdown-h2,.hsk-cb-panel[data-nastaliq=true] .hsk-cb-ai-text .hsk-markdown-h3,.hsk-cb-panel[data-nastaliq=true] .hsk-markdown-table th,.hsk-cb-panel[data-nastaliq=true] .hsk-markdown-table td{line-height:2.2}.hsk-cb-panel[data-nastaliq=true] .hsk-cb-voice-error{font-size:13px;line-height:2;max-width:min(92%,540px);margin-left:auto;margin-right:auto}.hsk-cb-panel[data-nastaliq=true] .hsk-cb-msg-action{height:16px;padding:1px 6.5px;font-size:9px;line-height:1}.hsk-cb-panel[data-nastaliq=true] .hsk-cb-msg-action .hsk-cb-msg-action-label{font-size:9px;line-height:1}.hsk-cb-panel[data-nastaliq=true] .hsk-cb-user-footer,.hsk-cb-panel[data-nastaliq=true] .hsk-cb-ai-footer{min-height:16px}.hsk-cb-panel[data-nastaliq=true] .hsk-cb-sent-status,.hsk-cb-panel[data-nastaliq=true] .hsk-cb-failed-notice{font-size:9.5px;line-height:1}.hsk-cb-panel[data-script=nonlatin] .hsk-cb-chip{font-size:14px}.hsk-cb-panel[data-script=nonlatin] .hsk-cb-topbar-btn{height:auto;min-height:34px;padding:5px 14px}.hsk-cb-panel[data-script=nonlatin] .hsk-cb-field{--hsk-input-line-height: 1.9}.hsk-cb-panel[data-script=nonlatin] .hsk-cb-textarea{min-height:34px}.hsk-cb-panel[data-nastaliq=true] .hsk-cb-field{--hsk-input-line-height: 2.2}.hsk-cb-panel[data-script=nonlatin] .hsk-cb-user-bubble,.hsk-cb-panel[data-script=nonlatin] .hsk-cb-ai-text{overflow-wrap:break-word;word-break:normal}.hsk-cb-viz-broken{font-size:13px;color:var(--hsk-chat-muted, #71717a);padding:14px 16px;border:1px dashed var(--hsk-chat-divide, rgba(0, 0, 0, .12));border-radius:12px}.hsk-cb-voice-mode-btn{width:36px;height:36px;display:flex;align-items:center;justify-content:center;flex-shrink:0;padding:0;background:transparent;border:1px solid transparent;border-radius:12px;color:var(--hsk-chat-muted, #71717a);cursor:pointer;transition:all .2s cubic-bezier(.34,1.56,.64,1);font-family:inherit}.hsk-cb-voice-mode-btn:hover:not(:disabled){border-color:color-mix(in srgb,var(--hsk-primary, #ff6a33) 25%,transparent);color:var(--hsk-primary, #ff6a33);background:color-mix(in srgb,var(--hsk-primary, #ff6a33) 8%,transparent);transform:translateY(-1px)}.hsk-cb-voice-mode-btn:disabled{opacity:.35;cursor:not-allowed}.hsk-cb-panel[data-script=nonlatin] .hsk-animated-placeholder[data-fit="2"]{--hsk-ph-font-size: 13.5px}.hsk-cb-panel[data-script=nonlatin] .hsk-animated-placeholder[data-fit="3"]{--hsk-ph-font-size: 12px}.hsk-cb-panel[data-nastaliq=true] .hsk-animated-placeholder[data-fit="1"]{--hsk-ph-font-size: 15px}.hsk-cb-panel[data-nastaliq=true] .hsk-animated-placeholder[data-fit="2"]{--hsk-ph-font-size: 13px}.hsk-cb-panel[data-nastaliq=true] .hsk-animated-placeholder[data-fit="3"]{--hsk-ph-font-size: 11.5px}.hsk-cb-panel[data-script=nonlatin] .hsk-animated-placeholder__char{line-height:1.35}.hsk-cb-panel[data-script] .hsk-cb-chrome-loading,.hsk-cb-panel[data-script] .hsk-cb-chrome-loading *{font-family:system-ui,-apple-system,Segoe UI,Roboto,Noto Sans,sans-serif}.hsk-voice-overlay{position:absolute;inset:0;z-index:30;display:flex;flex-direction:column;align-items:center;justify-content:flex-end;gap:clamp(8px,1.4vh,16px);padding:clamp(14px,2.5vh,24px);overflow:hidden;overscroll-behavior:contain;background:var(--hsk-chat-bg, #ffffff);animation:hsk-voice-in .32s cubic-bezier(.2,.8,.2,1);will-change:opacity;contain:paint}.hsk-voice-overlay:before{content:"";position:absolute;inset:0;background:radial-gradient(46% 20% at 50% 92%,color-mix(in srgb,var(--hsk-primary, #ff6a33) 8%,transparent) 0%,transparent 68%);pointer-events:none}.hsk-voice-overlay>*{position:relative}@keyframes hsk-voice-in{0%{opacity:0}to{opacity:1}}.hsk-voice-exit{position:absolute;z-index:2;top:14px;right:14px;display:flex;align-items:center;justify-content:center;width:36px;height:36px;padding:0;background:transparent;border:1px solid color-mix(in srgb,var(--hsk-chat-text, #1f1f1f) 14%,transparent);border-radius:999px;color:var(--hsk-chat-muted, #71717a);cursor:pointer;transition:color .18s ease,border-color .18s ease}.hsk-voice-exit:hover{color:var(--hsk-chat-text, #1f1f1f);border-color:color-mix(in srgb,var(--hsk-chat-text, #1f1f1f) 32%,transparent)}.hsk-voice-new{position:absolute;z-index:2;top:14px;right:58px;display:flex;align-items:center;justify-content:center;width:36px;height:36px;padding:0;background:transparent;border:1px solid color-mix(in srgb,var(--hsk-chat-text, #1f1f1f) 14%,transparent);border-radius:999px;color:var(--hsk-chat-muted, #71717a);cursor:pointer;transition:color .18s ease,border-color .18s ease,transform .12s ease}.hsk-voice-new:hover:not(:disabled){color:var(--hsk-chat-text, #1f1f1f);border-color:color-mix(in srgb,var(--hsk-chat-text, #1f1f1f) 32%,transparent)}.hsk-voice-new:active:not(:disabled){transform:scale(.92)}.hsk-voice-new:disabled{opacity:.4;cursor:default}.hsk-voice-stage{grid-column:2;width:100%;height:clamp(64px,13vh,140px);min-width:0;animation:hsk-composer-to-wave .42s cubic-bezier(.2,.8,.2,1) both}@keyframes hsk-composer-to-wave{0%{opacity:0;translate:0 18px}to{opacity:1;translate:0 0}}@media(prefers-reduced-motion:reduce){.hsk-voice-stage{animation:none}}.hsk-voice-thread{position:relative;z-index:1;flex:1 1 auto;width:min(720px,100%);min-height:0;overflow-y:auto;overflow-x:hidden;overscroll-behavior:contain;scrollbar-width:none;-ms-overflow-style:none;display:flex;flex-direction:column;gap:12px;padding:clamp(46px,8vh,72px) 4px 6px;-webkit-mask-image:linear-gradient(to bottom,transparent 0,#000 34px,#000 calc(100% - 30px),transparent 100%);mask-image:linear-gradient(to bottom,transparent 0,#000 34px,#000 calc(100% - 30px),transparent 100%)}.hsk-voice-turn--live{opacity:.72}.hsk-voice-canvas{display:block;width:100%;height:100%}.hsk-voice-controls{display:grid;grid-template-columns:52px minmax(0,1fr) 52px;align-items:center;gap:12px;flex:none;width:min(640px,100%)}.hsk-voice-controls [data-control=attach]{grid-column:1}.hsk-voice-controls [data-control=mic]{grid-column:3}.hsk-voice-control{display:flex;align-items:center;justify-content:center;width:52px;height:52px;padding:0;background:var(--hsk-surface-2, rgba(255, 255, 255, .95));border:1px solid color-mix(in srgb,var(--hsk-chat-text, #000000) 10%,transparent);border-radius:999px;color:var(--hsk-chat-text, #1f1f1f);cursor:pointer;box-shadow:0 2px 12px #00000014,0 1px 3px #0000000a;backdrop-filter:blur(16px);-webkit-backdrop-filter:blur(16px);transition:color .2s ease,border-color .2s ease,background .2s ease,transform .2s cubic-bezier(.16,1,.3,1),box-shadow .2s ease}.hsk-voice-control:hover{transform:scale(1.06);box-shadow:0 4px 18px #0000001f}.hsk-voice-control:active{transform:scale(.92);transition-duration:.08s}.hsk-voice-control--muted{color:var(--hsk-chat-muted, #888888);border-color:color-mix(in srgb,var(--hsk-chat-text, #000000) 12%,transparent);background:color-mix(in srgb,var(--hsk-chat-bg, #ffffff) 85%,transparent);box-shadow:0 1px 4px #0000000a}.hsk-voice-control-icon{display:inline-flex;align-items:center;justify-content:center;z-index:2;transition:transform .2s ease}@media(prefers-reduced-motion:reduce){.hsk-voice-control-icon,.hsk-voice-control--muted{animation:none}}.hsk-voice-stage--connecting{opacity:.4;transition:opacity .25s ease}.hsk-voice-connecting{display:flex;align-items:center;gap:7px;font-family:var(--hsk-font);font-size:13px;color:var(--hsk-chat-muted, #8a8f98);animation:hsk-sent-in .2s ease-out both}.hsk-voice-connecting-dot{width:6px;height:6px;border-radius:999px;background:currentColor;animation:hsk-queued-pulse 1s ease-in-out infinite}@media(prefers-reduced-motion:reduce){.hsk-voice-connecting-dot{animation:none;opacity:.7}}.hsk-voice-error{font-family:var(--hsk-font);font-size:.85rem;color:#e5484d;text-align:center}@media(prefers-reduced-motion:reduce){.hsk-voice-overlay{animation:none}}.hsk-sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.hsk-voice-picker{position:absolute;z-index:3;top:14px;left:14px;display:flex;flex-direction:column;width:auto;height:36px;overflow:hidden;border-radius:18px;border:1px solid color-mix(in srgb,var(--hsk-chat-text, #1f1f1f) 10%,transparent);background:linear-gradient(180deg,#ffffff1f,#fff0 60%),color-mix(in srgb,var(--hsk-chat-bg, #ffffff) 58%,transparent);backdrop-filter:blur(20px) saturate(160%);-webkit-backdrop-filter:blur(20px) saturate(160%);box-shadow:inset 0 1px #ffffff40,0 1px 2px #0000000d;interpolate-size:allow-keywords;transition:width .42s cubic-bezier(.16,1,.3,1),height .42s cubic-bezier(.16,1,.3,1),border-radius .42s cubic-bezier(.16,1,.3,1),box-shadow .3s ease;animation:hsk-voice-pill-in .42s cubic-bezier(.16,1,.3,1) both}.hsk-voice-picker[data-open]{width:224px;height:auto;border-radius:20px;background:linear-gradient(180deg,#ffffff1a,#fff0 50%),color-mix(in srgb,var(--hsk-chat-bg, #ffffff) 78%,transparent);box-shadow:inset 0 1px #ffffff40,0 8px 22px -8px #0003,0 1px 2px #0000000d}@keyframes hsk-voice-pill-in{0%{opacity:0;transform:translateY(-6px)}to{opacity:1;transform:none}}.hsk-voice-pill{display:flex;align-items:center;justify-content:space-between;gap:6px;flex:none;height:34px;padding:0 10px 0 14px;border:0;background:transparent;font:inherit;font-size:12px;font-weight:600;white-space:nowrap;color:var(--hsk-chat-text, #1f1f1f);cursor:pointer}.hsk-voice-pill-caret{display:inline-flex;color:var(--hsk-chat-muted, #71717a);transform:rotate(90deg) scale(.8);transition:transform .32s cubic-bezier(.16,1,.3,1)}.hsk-voice-picker[data-open] .hsk-voice-pill-caret{transform:rotate(-90deg) scale(.8)}.hsk-voice-menu-list{position:relative;contain:inline-size;display:flex;flex-direction:column;gap:1px;max-height:min(320px,50vh);padding:4px 5px 6px;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:none;opacity:0;transition:opacity .18s ease;-webkit-mask-image:linear-gradient(to bottom,transparent 0,#000 10px,#000 calc(100% - 16px),transparent 100%);mask-image:linear-gradient(to bottom,transparent 0,#000 10px,#000 calc(100% - 16px),transparent 100%)}.hsk-voice-menu-list::-webkit-scrollbar{display:none}.hsk-voice-picker[data-open] .hsk-voice-menu-list{opacity:1;transition:opacity .26s ease .12s}.hsk-voice-group{display:flex;align-items:center;gap:8px;flex:none;padding:10px 9px 4px;font-size:10px;font-weight:600;letter-spacing:.08em;text-transform:uppercase;color:var(--hsk-chat-muted, #71717a)}.hsk-voice-group:after{content:"";flex:1;height:1px;background:color-mix(in srgb,var(--hsk-chat-text, #1f1f1f) 12%,transparent)}.hsk-voice-group:first-child{padding-top:4px}.hsk-voice-option{display:flex;align-items:baseline;justify-content:space-between;gap:10px;flex:none;padding:7px 9px;border:0;border-radius:13px;background:transparent;font:inherit;text-align:start;color:var(--hsk-chat-text, #1f1f1f);cursor:pointer;transition:background .14s ease}.hsk-voice-option:hover{background:color-mix(in srgb,var(--hsk-chat-text, #1f1f1f) 6%,transparent)}.hsk-voice-option-name{display:inline-flex;align-items:center;gap:6px;font-size:12.5px;font-weight:600}.hsk-voice-option-trait{font-size:11px;color:var(--hsk-chat-muted, #71717a)}.hsk-voice-option--on,.hsk-voice-option--on:hover{background:color-mix(in srgb,var(--hsk-primary, #ff6a33) 12%,transparent)}.hsk-voice-option--on .hsk-voice-option-name{color:var(--hsk-primary, #ff6a33)}.hsk-voice-option--on .hsk-voice-option-name:before{content:"";width:5px;height:5px;border-radius:999px;background:currentColor}@media(prefers-reduced-motion:reduce){.hsk-voice-picker{animation:none;transition:none}}@media(max-width:520px){.hsk-cb-input-box{gap:6px;padding:10px 10px 10px 12px}.hsk-cb-attach-btn,.hsk-cb-send,.hsk-cb-voice-mode-btn,.hsk-chat-send{width:32px;height:32px;border-radius:10px}.hsk-cb-textarea{flex:1 1 auto;min-width:0;font-size:16px}.hsk-cb-input-box .hsk-cb-listening{display:none}}.hsk-cb-main{position:relative}.hsk-cb-main,.hsk-voice-overlay{--hsk-doodle-ink: 31, 31, 31;--hsk-doodle-tint: 255, 106, 51}@keyframes hsk-doodles-shimmer-in{0%{opacity:0}to{opacity:.9}}.hsk-cb-doodles{position:absolute;inset:0;width:100%;height:100%;z-index:0;pointer-events:none;opacity:.9;animation:hsk-doodles-shimmer-in .28s cubic-bezier(.16,1,.3,1) both}.hsk-cb-main>*:not(.hsk-cb-doodles){position:relative}@media(prefers-color-scheme:dark){.hsk-cb-main,.hsk-voice-overlay{--hsk-doodle-ink: 240, 239, 237;--hsk-doodle-tint: 255, 150, 110}}[data-hsk-theme=light] .hsk-cb-main,[data-hsk-theme=light] .hsk-voice-overlay{--hsk-doodle-ink: 31, 31, 31;--hsk-doodle-tint: 255, 106, 51}[data-hsk-theme=dark] .hsk-cb-main,[data-hsk-theme=dark] .hsk-voice-overlay{--hsk-doodle-ink: 240, 239, 237;--hsk-doodle-tint: 255, 150, 110}.hsk-cb-docked-option-detail,.hsk-cb-entlang-price,.hsk-cb-src-detail,.hsk-kiku-picker-item-price,.hsk-source-price,.hsk-sp-item-discount,.hsk-sp-item-original-price,.hsk-sp-item-price,.hsk-sp-mobile-main-card-price,.hsk-sp-mobile-similar-carousel-price,.hsk-voice-item-price,.hsk-live-cell{font-variant-numeric:tabular-nums}.hsk-live-wrap{margin:6px 0 2px;width:100%;max-width:100%;box-sizing:border-box}.hsk-live-carousel{display:flex;flex-wrap:wrap;gap:6px;align-items:flex-start;width:100%;box-sizing:border-box}.hsk-live-card{flex:0 1 auto;width:fit-content;min-width:120px;max-width:100%;background:var(--hsk-chat-source-bg, rgba(255, 255, 255, .05));border:1px solid var(--hsk-chat-divide, rgba(255, 255, 255, .08));border-radius:12px;padding:6px 10px;box-sizing:border-box;display:flex;flex-direction:column;gap:3px;transition:opacity .2s ease;overflow:hidden}.hsk-live-card.is-stale{opacity:.75}.hsk-live-card__top{display:flex;align-items:center;justify-content:space-between;gap:8px}.hsk-live-card__badge{display:inline-flex;align-items:center;gap:5px}.hsk-live-card__body{display:flex;align-items:center}.hsk-live-dot{width:6px;height:6px;border-radius:50%;background:#10b981;flex-shrink:0}@media(prefers-reduced-motion:no-preference){.hsk-live-dot:not(.is-stale){animation:hsk-live-pulse 2s ease-in-out infinite}}.hsk-live-dot.is-stale{background:var(--hsk-chat-muted, #9ca3af)}.hsk-live-card__title{font-size:13px;font-weight:600;color:var(--hsk-chat-text, #111827);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;letter-spacing:-.01em}.hsk-live-card__age{font-size:10.5px;font-weight:500;color:var(--hsk-chat-muted, #6b7280);white-space:nowrap;flex-shrink:0}.hsk-live-card__pills{display:flex;flex-wrap:wrap;gap:4px;align-items:center;margin-top:1px}.hsk-live-pill{display:inline-flex;align-items:center;gap:4px;padding:2px 7px;background:color-mix(in srgb,var(--hsk-surface-1, var(--hsk-chat-bg, #ffffff)) 85%,transparent);border:1px solid color-mix(in srgb,var(--hsk-chat-text, #ffffff) 10%,transparent);border-radius:6px;font-size:11.5px;font-variant-numeric:tabular-nums;line-height:1.25;color:var(--hsk-chat-text, #111827);box-shadow:0 1px 2px #00000008}.hsk-live-pill__label{font-weight:500;color:var(--hsk-chat-muted, #6b7280);font-size:11px;text-transform:capitalize}.hsk-live-pill__value{font-weight:650;color:var(--hsk-chat-text, #111827)}@media(prefers-reduced-motion:no-preference){.hsk-live-pill.is-changed{animation:hsk-live-pill-flash 1.2s ease-out}@keyframes hsk-live-pill-flash{0%{background:#10b98140;border-color:#10b981}to{background:var(--hsk-chat-bg, #ffffff);border-color:var(--hsk-chat-divide, rgba(0, 0, 0, .08))}}}@media(max-width:640px){.hsk-cb-source{flex:0 0 128px}.hsk-cb-src-imgwrap,.hsk-cb-src-imgwrap-empty{width:128px;height:128px;font-size:24px}.hsk-cb-sources{gap:10px}.hsk-cb-src-name{font-size:12px;line-height:1.35}.hsk-cb-src-detail{font-size:11px;padding:1px 7px;margin-top:4px}}@media(max-width:480px){.hsk-cb-source{flex:0 0 114px}.hsk-cb-src-imgwrap,.hsk-cb-src-imgwrap-empty{width:114px;height:114px;font-size:20px}.hsk-cb-sources{gap:8px}.hsk-live-card{flex:0 0 auto;width:fit-content;max-width:100%}}.hsk-voice-thread::-webkit-scrollbar{width:0;height:0}.hsk-voice-thread{font-family:var(--hsk-font);gap:0;padding-inline:20px}.hsk-voice-thread .hsk-cb-user-msg,.hsk-voice-thread .hsk-cb-ai-msg{align-self:stretch;max-width:100%;margin:0}.hsk-voice-thread .hsk-cb-user-bubble{max-width:100%;padding:0;background:none!important;border:none;border-radius:0;text-align:inherit;font-family:inherit;font-style:italic;font-size:16.5px;line-height:1.62;letter-spacing:.005em;color:color-mix(in srgb,var(--hsk-chat-text, #1f1f1f) 62%,transparent)}.hsk-voice-thread .hsk-cb-user-bubble:after{display:none!important}.hsk-voice-thread .hsk-cb-user-msg{align-items:flex-start}.hsk-voice-thread .hsk-cb-user-bubble{position:relative;text-align:start}.hsk-voice-thread .hsk-cb-user-bubble:before{content:"\\201c";display:block!important;position:absolute;inset-inline-start:-.62em;top:-.12em;width:auto;height:auto;background:none;font-size:1.55em;font-style:normal;line-height:1;color:color-mix(in srgb,var(--hsk-primary, #ff6a33) 72%,transparent);pointer-events:none}.hsk-voice-thread .hsk-cb-ai-msg{font-size:17px;line-height:1.68;color:var(--hsk-chat-text, #1f1f1f)}.hsk-voice-thread .hsk-cb-user-msg{margin-top:22px}.hsk-voice-thread>.hsk-cb-user-msg:first-child{margin-top:0}.hsk-voice-thread .hsk-cb-ai-msg{margin-top:6px}.hsk-voice-thread .hsk-cb-ai-body.hsk-voice-turn--live:after{content:"";display:inline-block;width:.36em;height:.36em;margin-inline-start:.34em;vertical-align:.08em;background:currentColor;border-radius:0 50% 50%;transform:rotate(45deg);animation:hsk-voice-nib 1.6s ease-in-out infinite}@keyframes hsk-voice-nib{0%,to{opacity:.25}50%{opacity:.85}}.hsk-voice-images{display:flex;gap:10px;flex:none;width:min(720px,100%);padding:4px 20px;overflow-x:auto;overscroll-behavior-x:contain;scrollbar-width:none}.hsk-voice-images::-webkit-scrollbar{display:none}.hsk-voice-image{position:relative;flex:none;width:76px;height:76px;padding:0;border-radius:14px;overflow:hidden;border:1px solid color-mix(in srgb,var(--hsk-chat-text, #1f1f1f) 12%,transparent);background:color-mix(in srgb,var(--hsk-chat-text, #1f1f1f) 4%,transparent);cursor:zoom-in;animation:hsk-voice-image-in .45s cubic-bezier(.16,1,.3,1) both}@media(min-width:720px){.hsk-voice-image{width:92px;height:92px}}.hsk-voice-image img{display:block;width:100%;height:100%;object-fit:cover;animation:hsk-voice-develop 1.1s cubic-bezier(.16,1,.3,1) both}@keyframes hsk-voice-image-in{0%{opacity:0;transform:translate(10px) scale(.92)}to{opacity:1;transform:none}}@keyframes hsk-voice-develop{0%{opacity:0;filter:blur(8px) saturate(.2) brightness(1.2);transform:scale(1.06)}to{opacity:1;filter:none;transform:scale(1)}}.hsk-voice-image[data-pending]{cursor:progress;border-color:transparent;background:color-mix(in srgb,var(--hsk-chat-text, #1f1f1f) 5%,var(--hsk-chat-bg, #ffffff))}.hsk-doodle-shimmer{position:absolute;inset:0;width:100%;height:100%}.hsk-working-veil{--hsk-feather-12: linear-gradient(to right, transparent, #000 12px, #000 calc(100% - 12px) , transparent), linear-gradient(to bottom, transparent, #000 12px, #000 calc(100% - 12px) , transparent);--hsk-doodle-ink: 255, 122, 64;--hsk-doodle-tint: 255, 200, 165;position:absolute;inset:0;overflow:hidden;border-radius:inherit;pointer-events:none;background:radial-gradient(ellipse at center,transparent 45%,rgba(0,0,0,.22) 100%);-webkit-mask-image:var(--hsk-feather-12);-webkit-mask-composite:source-in;mask-image:var(--hsk-feather-12);mask-composite:intersect;animation:hsk-veil-in .3s cubic-bezier(.16,1,.3,1) both}.hsk-working-veil.is-leaving{animation:hsk-veil-out .3s ease-out both}.hsk-working-veil .hsk-doodle-shimmer{filter:drop-shadow(0 0 .6px rgba(0,0,0,.75));-webkit-mask-image:radial-gradient(ellipse at center,transparent 14%,rgba(0,0,0,.5) 36%,rgba(0,0,0,.9) 58%,#000 75%);mask-image:radial-gradient(ellipse at center,transparent 14%,rgba(0,0,0,.5) 36%,rgba(0,0,0,.9) 58%,#000 75%)}.hsk-working-veil:after{content:"";position:absolute;inset:0;box-shadow:inset 0 0 20px 8px color-mix(in srgb,var(--hsk-primary, #ff6a33) 90%,transparent),inset 0 0 48px 12px color-mix(in srgb,var(--hsk-primary, #ff6a33) 30%,transparent);animation:hsk-halo-breathe 2.4s ease-in-out infinite}.hsk-cb-user-img-cell:has(>.hsk-working-veil)>img,.hsk-cb-viz--working>img,.hsk-voice-image:has(>.hsk-working-veil)>img,.hsk-voice-image[data-pending],.hsk-cb-viz--working.is-blank{-webkit-mask-image:linear-gradient(to right,transparent,#000 26px,#000 calc(100% - 26px),transparent),linear-gradient(to bottom,transparent,#000 26px,#000 calc(100% - 26px),transparent);-webkit-mask-composite:source-in;mask-image:linear-gradient(to right,transparent,#000 26px,#000 calc(100% - 26px),transparent),linear-gradient(to bottom,transparent,#000 26px,#000 calc(100% - 26px),transparent);mask-composite:intersect}.hsk-voice-image:has(>.hsk-working-veil){border-color:transparent}@keyframes hsk-veil-in{0%{opacity:0}to{opacity:1}}@keyframes hsk-veil-out{0%{opacity:1}to{opacity:0}}@keyframes hsk-halo-breathe{0%,to{opacity:.7}50%{opacity:1}}@media(prefers-reduced-motion:reduce){.hsk-working-veil:after{animation:none;opacity:.8}}.hsk-cb-viz--working{position:relative;display:inline-block;max-width:420px;border-radius:8px;overflow:hidden;line-height:0}.hsk-cb-viz--working.is-blank{display:block;width:min(100%,320px);aspect-ratio:1;background:color-mix(in srgb,var(--hsk-chat-text, #1f1f1f) 5%,var(--hsk-chat-bg, #ffffff))}.hsk-cb-viz--working.is-video{display:block;width:min(100%,420px);aspect-ratio:16 / 9}.hsk-cb-viz--working img{opacity:.85}.hsk-cb-viz--working.is-video img{width:100%;height:100%;object-fit:cover}.hsk-voice-control--attach{justify-self:center;width:44px;height:44px;color:var(--hsk-chat-muted, #888888);box-shadow:none}.hsk-voice-control--attach:hover:not(:disabled){transform:none;color:var(--hsk-chat-text, #1f1f1f);box-shadow:none}.hsk-voice-control--attach:active:not(:disabled){transform:scale(.9);transition-duration:.08s}@media(prefers-reduced-motion:reduce){.hsk-voice-thread .hsk-cb-ai-body.hsk-voice-turn--live:after,.hsk-voice-image,.hsk-voice-image img{animation:none}}.hsk-voice-shelf{display:flex;align-items:flex-start;gap:10px;flex:none;width:min(720px,100%);padding:0 20px;overflow-x:auto;overscroll-behavior-x:contain;scrollbar-width:none}.hsk-voice-shelf::-webkit-scrollbar{display:none}.hsk-voice-shelf>.hsk-voice-images{width:auto;padding:4px 0;overflow:visible}.hsk-voice-shelf>.hsk-voice-sources{flex:0 1 auto;width:auto;min-width:0;padding:0}.hsk-voice-sources{flex:none;width:min(720px,100%);padding:0 20px;animation:hsk-voice-image-in .45s cubic-bezier(.16,1,.3,1) both}@media(prefers-reduced-motion:reduce){.hsk-voice-sources{animation:none}}.hsk-cb-overlay[data-hsk-theme],[data-hsk-theme] .hsk-cb-overlay{background:var(--hsk-chat-bg)!important;color:var(--hsk-chat-text)!important}[data-hsk-theme] .hsk-cb-panel{background:transparent!important;color:var(--hsk-chat-text)!important}[data-hsk-theme] .hsk-cb-topbar-name{background:var(--hsk-surface-2)!important;color:var(--hsk-name-text, var(--hsk-chat-text))!important;box-shadow:0 0 0 3px var(--hsk-chat-bg),0 1px 3px rgba(var(--hsk-primary-rgb),.2)!important}[data-hsk-theme] .hsk-cb-think-head{background:var(--hsk-surface-2)!important;color:var(--hsk-think-text)!important;box-shadow:0 0 0 3px var(--hsk-chat-bg),0 1px 3px rgba(var(--hsk-primary-rgb),.2)!important}[data-hsk-theme] .hsk-cb-leave{background:var(--hsk-surface-2)!important;color:var(--hsk-chat-text)!important;box-shadow:0 0 0 3px var(--hsk-chat-bg),0 1px 3px rgba(var(--hsk-primary-rgb),.2)!important}[data-hsk-theme] .hsk-cb-leave-btn{background:var(--hsk-surface-1)!important;color:var(--hsk-chat-text)!important}[data-hsk-theme] .hsk-cb-leave-btn--end{background:var(--hsk-primary)!important;color:var(--hsk-chat-bg)!important}[data-hsk-theme] .hsk-cb-chip,[data-hsk-theme] .hsk-action-pill{border:var(--hsk-chip-border, none)!important;background:var(--hsk-surface-1)!important;color:var(--hsk-chat-text)!important}[data-hsk-theme] .hsk-cb-chip:hover,[data-hsk-theme] .hsk-action-pill:hover{background:rgba(var(--hsk-primary-rgb),.12)!important;color:var(--hsk-primary)!important}[data-hsk-theme] .hsk-cb-ai-text{background:var(--hsk-bubble-bg)!important;color:var(--hsk-chat-text)!important}[data-hsk-theme] .hsk-cb-ai-text:not(:has(~.hsk-cb-ai-text)):before{background:var(--hsk-bubble-bg)!important}[data-hsk-theme] .hsk-cb-ai-text:not(:has(~.hsk-cb-ai-text)):after{background:var(--hsk-chat-bg)!important}[data-hsk-theme] .hsk-cb-user-bubble--tail:before{background:#007aff!important}[data-hsk-theme] .hsk-cb-user-bubble--tail:after{background:var(--hsk-chat-bg)!important}[data-hsk-theme] .hsk-cb-topbar-btn,[data-hsk-theme] .hsk-cb-back{background:var(--hsk-surface-1)!important;color:var(--hsk-chat-muted)!important}[data-hsk-theme] .hsk-cb-input-box{background:transparent!important;border:none!important;border-radius:inherit!important}[data-hsk-theme] .hsk-cb-textarea{color:var(--hsk-chat-text)!important}[data-hsk-theme] .hsk-cb-textarea::placeholder{color:var(--hsk-placeholder)!important}[data-hsk-theme] .hsk-markdown-table th{color:var(--hsk-chat-muted)!important;border-bottom:1px solid var(--hsk-chat-divide)!important}[data-hsk-theme] .hsk-markdown-table td{color:var(--hsk-chat-text)!important;border-bottom:1px solid var(--hsk-chat-divide)!important}[data-hsk-theme] .hsk-cb-kiku-id-pill:hover{color:var(--hsk-primary)!important}[data-hsk-theme] .hsk-cb-theme-2x2-grid,[data-hsk-theme] .hsk-cb-topbar-ooze-menu{background:var(--hsk-glass-bg)!important;border:var(--hsk-glass-border)!important;border-top:var(--hsk-glass-border-top)!important;box-shadow:var(--hsk-glass-shadow)!important;backdrop-filter:blur(28px) saturate(var(--hsk-glass-saturate, 180%))!important;-webkit-backdrop-filter:blur(28px) saturate(var(--hsk-glass-saturate, 180%))!important}[data-hsk-theme] .hsk-cb-topbar-ooze-menu{border-top:var(--hsk-glass-border)!important;box-shadow:none!important}[data-hsk-theme] .hsk-cb-topbar-ooze-menu .hsk-cb-theme-2x2-grid{background:none!important;border:none!important;border-top:none!important;box-shadow:none!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important}[data-hsk-theme] .hsk-cb-theme-squircle-trigger,[data-hsk-theme] .hsk-cb-theme-squircle-wrap,[data-hsk-theme] .hsk-cb-kiku-id-pill,[data-hsk-theme] .hsk-cb-kiku-id-rail .hsk-cb-sound-pill,[data-hsk-theme] .hsk-cb-squircle-btn{background:var(--hsk-pill-bg)!important;color:var(--hsk-chat-text)!important;border:var(--hsk-glass-border)!important;border-top:var(--hsk-glass-border-top)!important;box-shadow:var(--hsk-glass-shadow)!important;backdrop-filter:blur(20px) saturate(var(--hsk-glass-saturate, 160%))!important;-webkit-backdrop-filter:blur(20px) saturate(var(--hsk-glass-saturate, 160%))!important}[data-hsk-theme] .hsk-cb-kiku-id-pill,[data-hsk-theme] .hsk-cb-squircle-btn{color:var(--hsk-chat-muted)!important}[data-hsk-theme] .hsk-cb-exit-btn:hover{background:radial-gradient(120% 90% at 30% 0%,rgba(255,255,255,.4),transparent 65%),var(--hsk-pill-bg)!important;color:#ef4444!important}[data-hsk-theme] .hsk-cb-theme-grid-item{background:var(--hsk-grid-bg)!important;color:var(--hsk-chat-muted)!important;border:none!important;box-shadow:none!important}[data-hsk-theme] .hsk-cb-theme-grid-item.is-active{background:var(--hsk-active-bg)!important;color:var(--hsk-on-active)!important;box-shadow:none!important}[data-hsk-theme] .hsk-cb-src-name,[data-hsk-theme] .hsk-source-card__title{color:var(--hsk-src-title)!important;font-weight:650!important}[data-hsk-theme] .hsk-cb-src-desc,[data-hsk-theme] .hsk-cb-src-detail,[data-hsk-theme] .hsk-source-card__desc{color:var(--hsk-src-desc)!important}[data-hsk-theme] .hsk-cb-src-detail{background:var(--hsk-price-bg)!important;color:var(--hsk-price-text)!important;font-weight:700!important}[data-hsk-theme] .hsk-cb-main,[data-hsk-theme] .hsk-voice-overlay{--hsk-doodle-ink: var(--hsk-ink) !important;--hsk-doodle-tint: var(--hsk-tint) !important}[data-hsk-theme] .hsk-voice-picker{background:var(--hsk-pill-bg)!important;border:var(--hsk-glass-border)!important;border-top:var(--hsk-glass-border-top)!important}[data-hsk-theme] .hsk-voice-picker[data-open]{background:linear-gradient(180deg,#ffffff1a,#fff0 50%),color-mix(in srgb,var(--hsk-chat-bg) 78%,transparent)!important}.hsk-cb-overlay[data-hsk-theme=light],[data-hsk-theme=light] .hsk-cb-overlay{--hsk-primary: #ff6a33 !important;--hsk-primary-rgb: 255, 106, 51 !important;--hsk-chat-bg: #ffffff !important;--hsk-chat-text: #1f1f1f !important;--hsk-chat-muted: #5f6368 !important;--hsk-chat-divide: #e5e7eb !important;--hsk-chat-input-bg: #f3f4f6 !important;--hsk-chat-source-bg: #f9fafb !important;--hsk-fade-bg: #ffffff !important;--hsk-goo-fill: #ffffff !important;--hsk-surface-1: rgba(0, 0, 0, .05) !important;--hsk-surface-2: #f1f3f4 !important;--hsk-bubble-bg: #f3f4f6 !important;--hsk-think-text: #4b5563 !important;--hsk-placeholder: #757575 !important;--hsk-grid-bg: #ffffff !important;--hsk-active-bg: #1f1f1f !important;--hsk-on-active: #ffffff !important;--hsk-src-title: #111827 !important;--hsk-src-desc: #4b5563 !important;--hsk-price-bg: #f3f4f6 !important;--hsk-price-text: #ea580c !important;--hsk-sheet-bg: #f3f4f6 !important;--hsk-chip-border: 1px solid rgba(0, 0, 0, .08) !important;--hsk-ink: 55, 65, 81 !important;--hsk-tint: 145, 77, 47 !important;--hsk-glass-bg: rgba(255, 255, 255, .72) !important;--hsk-glass-edge: rgba(0, 0, 0, .07) !important;--hsk-glass-edge-top: rgba(255, 255, 255, .9) !important;--hsk-glass-drop: rgba(0,0,0,.1) !important;--hsk-glass-sheen: rgba(255,255,255,.85) !important;--hsk-glass-saturate: 190% !important;--hsk-pill-bg: rgba(255, 255, 255, .65) !important}.hsk-cb-overlay[data-hsk-theme=dark],[data-hsk-theme=dark] .hsk-cb-overlay{--hsk-primary: #ff6a33 !important;--hsk-primary-rgb: 255, 106, 51 !important;--hsk-chat-bg: #0a0a0a !important;--hsk-chat-text: #f0efed !important;--hsk-chat-muted: #888888 !important;--hsk-chat-divide: rgba(255, 255, 255, .08) !important;--hsk-chat-input-bg: #191919 !important;--hsk-chat-source-bg: rgba(255, 255, 255, .04) !important;--hsk-fade-bg: #0a0a0a !important;--hsk-goo-fill: #1a1a1c !important;--hsk-surface-1: rgba(255, 255, 255, .06) !important;--hsk-surface-2: #1f1f22 !important;--hsk-bubble-bg: #1f1f22 !important;--hsk-think-text: #a6a6a6 !important;--hsk-placeholder: #555555 !important;--hsk-grid-bg: #1a1a1c !important;--hsk-active-bg: #f0efed !important;--hsk-on-active: #0a0a0a !important;--hsk-src-title: #f9fafb !important;--hsk-src-desc: #9ca3af !important;--hsk-price-bg: rgba(255, 255, 255, .08) !important;--hsk-price-text: #ff7a45 !important;--hsk-sheet-bg: #1f1f22 !important;--hsk-ink: 240, 239, 237 !important;--hsk-tint: 248, 195, 174 !important;--hsk-glass-bg: rgba(255, 255, 255, .07) !important;--hsk-glass-edge: rgba(255, 255, 255, .1) !important;--hsk-glass-edge-top: rgba(255, 255, 255, .22) !important;--hsk-glass-drop: rgba(0,0,0,.45) !important;--hsk-glass-sheen: rgba(255,255,255,.1) !important;--hsk-glass-saturate: 160% !important;--hsk-pill-bg: rgba(255, 255, 255, .06) !important}.hsk-cb-overlay[data-hsk-theme=mahogany],[data-hsk-theme=mahogany] .hsk-cb-overlay{--hsk-primary: #e07a38 !important;--hsk-primary-rgb: 224, 122, 56 !important;--hsk-chat-bg: #140d09 !important;--hsk-chat-text: #f6eee3 !important;--hsk-chat-muted: #a89485 !important;--hsk-chat-divide: rgba(217, 140, 85, .18) !important;--hsk-chat-input-bg: #211610 !important;--hsk-chat-source-bg: #1c130d !important;--hsk-fade-bg: #140d09 !important;--hsk-goo-fill: #211610 !important;--hsk-surface-1: #211610 !important;--hsk-surface-2: #2b1c14 !important;--hsk-bubble-bg: #261912 !important;--hsk-think-text: #c4b1a1 !important;--hsk-placeholder: #7a6557 !important;--hsk-grid-bg: #2b1c14 !important;--hsk-active-bg: #e07a38 !important;--hsk-on-active: #ffffff !important;--hsk-src-title: #fdf8f4 !important;--hsk-src-desc: #c4b1a1 !important;--hsk-price-bg: #2b1c14 !important;--hsk-price-text: #f59e0b !important;--hsk-sheet-bg: #211610 !important;--hsk-ink: 246, 238, 227 !important;--hsk-tint: 235, 180, 142 !important;--hsk-glass-bg: rgba(255, 220, 180, .07) !important;--hsk-glass-edge: rgba(217, 140, 85, .15) !important;--hsk-glass-edge-top: rgba(255, 200, 150, .25) !important;--hsk-glass-drop: rgba(0,0,0,.55) !important;--hsk-glass-sheen: rgba(255,200,150,.12) !important;--hsk-glass-saturate: 155% !important;--hsk-pill-bg: rgba(255, 220, 180, .06) !important}.hsk-cb-overlay[data-hsk-theme=blush],[data-hsk-theme=blush] .hsk-cb-overlay{--hsk-primary: #ec4899 !important;--hsk-primary-rgb: 236, 72, 153 !important;--hsk-chat-bg: #fff5f7 !important;--hsk-chat-text: #3d1424 !important;--hsk-chat-muted: #94536d !important;--hsk-chat-divide: rgba(236, 72, 153, .18) !important;--hsk-chat-input-bg: #ffe4ec !important;--hsk-chat-source-bg: #fff0f4 !important;--hsk-fade-bg: #fff5f7 !important;--hsk-goo-fill: #ffe4ec !important;--hsk-surface-1: #ffe4ec !important;--hsk-surface-2: #fbcfe8 !important;--hsk-bubble-bg: #ffebf1 !important;--hsk-think-text: #831843 !important;--hsk-name-text: #831843 !important;--hsk-placeholder: #b57a91 !important;--hsk-grid-bg: #fff0f4 !important;--hsk-active-bg: #ec4899 !important;--hsk-on-active: #ffffff !important;--hsk-src-title: #2b0c19 !important;--hsk-src-desc: #702648 !important;--hsk-price-bg: #fce7f3 !important;--hsk-price-text: #db2777 !important;--hsk-sheet-bg: #ffe4ec !important;--hsk-sheet-hover: #ffd2e0 !important;--hsk-ink: 130, 36, 75 !important;--hsk-tint: 175, 38, 97 !important;--hsk-glass-bg: rgba(255, 240, 248, .75) !important;--hsk-glass-edge: rgba(236, 72, 153, .1) !important;--hsk-glass-edge-top: rgba(255, 255, 255, .9) !important;--hsk-glass-drop: rgba(180, 30, 100, .08) !important;--hsk-glass-sheen: rgba(255,255,255,.85) !important;--hsk-glass-saturate: 185% !important;--hsk-pill-bg: rgba(255, 228, 236, .8) !important}.hsk-cb-overlay[data-hsk-theme=coffee],[data-hsk-theme=coffee] .hsk-cb-overlay{--hsk-primary: #a9714b !important;--hsk-primary-rgb: 169, 113, 75 !important;--hsk-chat-bg: #f7f1e8 !important;--hsk-chat-text: #3b2a1d !important;--hsk-chat-muted: #8a7561 !important;--hsk-chat-divide: rgba(169, 113, 75, .18) !important;--hsk-chat-input-bg: #efe4d6 !important;--hsk-chat-source-bg: #f2eade !important;--hsk-fade-bg: #f7f1e8 !important;--hsk-goo-fill: #efe4d6 !important;--hsk-surface-1: #efe4d6 !important;--hsk-surface-2: #e6d7c4 !important;--hsk-bubble-bg: #f0e7da !important;--hsk-think-text: #6b543f !important;--hsk-placeholder: #a89680 !important;--hsk-grid-bg: #f2eade !important;--hsk-active-bg: #a9714b !important;--hsk-on-active: #ffffff !important;--hsk-src-title: #2a1c11 !important;--hsk-src-desc: #6b543f !important;--hsk-price-bg: #ece0cf !important;--hsk-price-text: #9a5f32 !important;--hsk-sheet-bg: #efe4d6 !important;--hsk-sheet-hover: #e6d7c4 !important;--hsk-ink: 59, 42, 29 !important;--hsk-tint: 120, 88, 62 !important;--hsk-glass-bg: rgba(247, 241, 232, .78) !important;--hsk-glass-edge: rgba(169, 113, 75, .12) !important;--hsk-glass-edge-top: rgba(255, 255, 255, .88) !important;--hsk-glass-drop: rgba(90, 55, 20, .1) !important;--hsk-glass-sheen: rgba(255,255,255,.8) !important;--hsk-glass-saturate: 185% !important;--hsk-pill-bg: rgba(239, 228, 214, .82) !important}.hsk-cb-overlay[data-hsk-theme=midnight],[data-hsk-theme=midnight] .hsk-cb-overlay{--hsk-primary: #6366f1 !important;--hsk-primary-rgb: 99, 102, 241 !important;--hsk-chat-bg: #0f1420 !important;--hsk-chat-text: #dfe6f5 !important;--hsk-chat-muted: #8792ad !important;--hsk-chat-divide: rgba(99, 102, 241, .18) !important;--hsk-chat-input-bg: #1a2133 !important;--hsk-chat-source-bg: #161d2c !important;--hsk-fade-bg: #0f1420 !important;--hsk-goo-fill: #1a2133 !important;--hsk-surface-1: #1a2133 !important;--hsk-surface-2: #222b40 !important;--hsk-bubble-bg: #1e2637 !important;--hsk-think-text: #a8b3cc !important;--hsk-placeholder: #5c6780 !important;--hsk-grid-bg: #222b40 !important;--hsk-active-bg: #6366f1 !important;--hsk-on-active: #ffffff !important;--hsk-src-title: #f2f5fc !important;--hsk-src-desc: #a8b3cc !important;--hsk-price-bg: #222b40 !important;--hsk-price-text: #818cf8 !important;--hsk-sheet-bg: #1a2133 !important;--hsk-sheet-hover: #222b40 !important;--hsk-ink: 223, 230, 245 !important;--hsk-tint: 150, 160, 200 !important;--hsk-glass-bg: rgba(180, 190, 255, .06) !important;--hsk-glass-edge: rgba(99, 102, 241, .18) !important;--hsk-glass-edge-top: rgba(180, 185, 255, .25) !important;--hsk-glass-drop: rgba(0,0,0,.55) !important;--hsk-glass-sheen: rgba(180,190,255,.1) !important;--hsk-glass-saturate: 155% !important;--hsk-pill-bg: rgba(180, 190, 255, .06) !important}.hsk-cb-back-icon{display:inline-flex;transition:transform .22s cubic-bezier(.22,1,.36,1)}.hsk-cb-back:hover:not(:disabled) .hsk-cb-back-icon{transform:translate(-2px)}.hsk-cb-panel[dir=rtl] .hsk-cb-back:hover:not(:disabled) .hsk-cb-back-icon{transform:scaleX(-1) translate(-2px)}.hsk-cb-tools-toggle{transition:transform .26s cubic-bezier(.34,1.56,.64,1),background-color .42s cubic-bezier(.16,1,.3,1),color .42s cubic-bezier(.16,1,.3,1)}.hsk-cb-tools-toggle:hover:not(:disabled){color:var(--hsk-primary, #ff6a33);transform:rotate(90deg)}.hsk-cb-tools-toggle--open:hover:not(:disabled){transform:rotate(135deg)}.hsk-cb-tools-toggle:active:not(:disabled){transform:scale(.9);transition-duration:.1s}.hsk-cb-theme-trigger-icon{display:inline-flex;transition:transform .3s cubic-bezier(.34,1.56,.64,1)}.hsk-cb-theme-squircle-trigger:hover .hsk-cb-theme-trigger-icon{transform:translateY(-1.5px) rotate(-8deg)}.hsk-cb-dot-item:hover:not(.hsk-cb-dot-item--active){background:var(--hsk-chat-muted, rgba(120, 120, 120, .6));transform:scale(1.35)}@media(prefers-reduced-motion:reduce){.hsk-cb-back:hover:not(:disabled) .hsk-cb-back-icon,.hsk-cb-panel[dir=rtl] .hsk-cb-back:hover:not(:disabled) .hsk-cb-back-icon,.hsk-cb-theme-squircle-trigger:hover .hsk-cb-theme-trigger-icon,.hsk-cb-dot-item:hover:not(.hsk-cb-dot-item--active),.hsk-msg-audio-btn:hover:not(:disabled){transform:none}.hsk-cb-tools-toggle:hover:not(:disabled),.hsk-cb-tools-toggle--open:hover:not(:disabled){transform:none}}.hsk-voice-control{position:relative;isolation:isolate;border-radius:999px}.hsk-voice-control--waiting{opacity:.45;cursor:default}.hsk-voice-control--waiting:before,.hsk-voice-control--waiting .hsk-voice-control-icon{animation:none!important;background:none!important}.hsk-voice-control[data-control=mic]:not(.hsk-voice-control--muted):not(.hsk-voice-control--waiting):before{content:"";position:absolute;inset:-1.5px;border-radius:inherit;background:conic-gradient(from 0deg,#ff3b30,#ff9500,#ffd60a,#34c759,#00c7be,#30b0c7,#007aff,#5856d6,#af52de,#ff2d55,#ff3b30);-webkit-mask:radial-gradient(farthest-side,transparent calc(100% - 2.5px),#000 calc(100% - 2px));mask:radial-gradient(farthest-side,transparent calc(100% - 2.5px),#000 calc(100% - 2px));animation:hsk-apple-siri-spin 3s linear infinite;pointer-events:none;z-index:1}.hsk-voice-control:after{display:none!important}.hsk-voice-control-icon{will-change:transform}.hsk-voice-control[data-control=mic]:not(.hsk-voice-control--muted):not(.hsk-voice-control--waiting) .hsk-voice-control-icon{animation:hsk-apple-siri-mic-pulse 2.2s ease-in-out infinite}.hsk-img-sun,.hsk-img-ridge{transform-box:fill-box;transform-origin:center;transition:transform .34s cubic-bezier(.34,1.56,.64,1)}.hsk-voice-control--attach:is(:hover,:active) .hsk-img-sun{transform:translate(1px,-1.5px) scale(1.25)}.hsk-voice-control--attach:is(:hover,:active) .hsk-img-ridge{transform:translateY(-1px);transition-delay:40ms}.hsk-mic-slash{stroke-dasharray:29;animation:hsk-slash-draw .3s cubic-bezier(.65,0,.35,1) both}@keyframes hsk-slash-draw{0%{stroke-dashoffset:29}to{stroke-dashoffset:0}}.hsk-voice-control[data-control=mic].hsk-voice-control--muted .hsk-voice-control-icon{animation:hsk-icon-pop .38s cubic-bezier(.34,1.56,.64,1)}@keyframes hsk-icon-pop{0%{transform:scale(.82)}to{transform:scale(1)}}.hsk-voice-exit svg{transition:transform .32s cubic-bezier(.34,1.56,.64,1)}.hsk-voice-exit:hover svg{transform:rotate(90deg)}.hsk-snd-wave{transform-box:fill-box;transform-origin:left center}.hsk-cb-sound-pill:hover .hsk-snd-wave{animation:hsk-wave-ripple .9s ease-out infinite;animation-delay:calc(var(--hsk-wave, 0) * .14s)}.hsk-mimi-dot{transform-box:fill-box;transform-origin:center;opacity:.7}.hsk-cb-sound-pill:hover .hsk-mimi-dot,.hsk-cb-toolsheet-item:hover .hsk-mimi-dot{animation:hsk-mimi-typing .9s ease-in-out infinite;animation-delay:calc(var(--hsk-dot, 0) * .13s)}@keyframes hsk-mimi-typing{0%,60%,to{transform:translateY(0);opacity:.55}30%{transform:translateY(-1.8px);opacity:1}}@keyframes hsk-wave-ripple{0%{opacity:.25;transform:scale(.7)}45%{opacity:1;transform:scale(1.05)}to{opacity:.25;transform:scale(1)}}.hsk-snd-x{stroke-dasharray:8;animation:hsk-snd-x-draw .26s ease-out both}.hsk-snd-x+.hsk-snd-x{animation-delay:70ms}@keyframes hsk-snd-x-draw{0%{stroke-dashoffset:8}to{stroke-dashoffset:0}}@keyframes hsk-apple-siri-spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}@keyframes hsk-apple-siri-mic-pulse{0%,to{transform:scale(1)}50%{transform:scale(1.08)}}.hsk-voice-control--muted:before,.hsk-voice-control--muted:after{display:none}@media(prefers-reduced-motion:reduce){.hsk-voice-control:not(:hover):not(.hsk-voice-control--muted) .hsk-voice-control-icon,.hsk-voice-control:hover:before,.hsk-voice-control--muted:before,.hsk-voice-control--muted:after{animation:none}.hsk-voice-control:hover,.hsk-voice-control:hover .hsk-mic-cap{transform:none}.hsk-voice-control--attach:hover .hsk-img-sun,.hsk-voice-control--attach:hover .hsk-img-ridge,.hsk-voice-exit:hover svg{transform:none}.hsk-mic-slash,.hsk-snd-x,.hsk-cb-sound-pill:hover .hsk-snd-wave,.hsk-cb-sound-pill:hover .hsk-mimi-dot,.hsk-cb-toolsheet-item:hover .hsk-mimi-dot,.hsk-voice-controls .hsk-voice-control-icon{animation:none}}.hsk-cb-voice-error{animation:hsk-error-shake .26s cubic-bezier(.36,.07,.19,.97) both}@keyframes hsk-error-shake{0%,to{transform:translate(0)}22%{transform:translate(-3px)}55%{transform:translate(2px)}80%{transform:translate(-1px)}}@media(prefers-reduced-motion:reduce){.hsk-cb-voice-error{animation:none}}.hsk-sun-rays,.hsk-sun-core,.hsk-moon-body,.hsk-wood-layer,.hsk-heart-body,.hsk-steam,.hsk-star-spark,.hsk-check-mark,.hsk-send-tail,.hsk-send-body{transform-box:fill-box;transform-origin:center}.hsk-sun-rays{transform-origin:12px 12px;transition:transform .5s cubic-bezier(.22,1,.36,1)}.hsk-cb-theme-grid-item:hover .hsk-sun-rays,.hsk-cb-theme-squircle-trigger:hover .hsk-sun-rays{transform:rotate(45deg)}.hsk-sun-core{transition:transform .32s cubic-bezier(.34,1.56,.64,1)}.hsk-cb-theme-grid-item:hover .hsk-sun-core,.hsk-cb-theme-squircle-trigger:hover .hsk-sun-core{transform:scale(1.14)}.hsk-moon-body{transition:transform .34s cubic-bezier(.34,1.56,.64,1)}.hsk-cb-theme-grid-item:hover .hsk-moon-body,.hsk-cb-theme-squircle-trigger:hover .hsk-moon-body{transform:rotate(-16deg)}.hsk-wood-layer{transition:transform .34s cubic-bezier(.34,1.56,.64,1)}.hsk-wood-layer{transition-delay:calc(var(--hsk-layer, 0) * 45ms)}.hsk-cb-theme-grid-item:hover .hsk-wood-layer,.hsk-cb-theme-squircle-trigger:hover .hsk-wood-layer{transform:translateY(-1.2px)}.hsk-cb-theme-grid-item:hover .hsk-heart-body,.hsk-cb-theme-squircle-trigger:hover .hsk-heart-body{animation:hsk-heartbeat 1.1s ease-in-out infinite}@keyframes hsk-heartbeat{0%,to{transform:scale(1)}14%{transform:scale(1.18)}28%{transform:scale(1)}42%{transform:scale(1.12)}56%{transform:scale(1)}}.hsk-steam{opacity:.9}.hsk-cb-theme-grid-item:hover .hsk-steam,.hsk-cb-theme-squircle-trigger:hover .hsk-steam{animation:hsk-steam-rise 1.6s ease-out infinite;animation-delay:calc(var(--hsk-steam, 0) * .22s)}@keyframes hsk-steam-rise{0%{transform:translateY(2px) scaleY(.5);opacity:0}35%{opacity:.95}to{transform:translateY(-3px) scaleY(1.15);opacity:0}}.hsk-cb-theme-grid-item:hover .hsk-star-spark,.hsk-cb-theme-squircle-trigger:hover .hsk-star-spark{animation:hsk-twinkle 1.4s ease-in-out infinite}@keyframes hsk-twinkle{0%,to{transform:scale(1) rotate(0);opacity:.85}50%{transform:scale(1.45) rotate(20deg);opacity:1}}.hsk-check-mark{stroke-dasharray:30;stroke-dashoffset:30;animation:hsk-check-draw .42s cubic-bezier(.65,0,.35,1) forwards}@keyframes hsk-check-draw{to{stroke-dashoffset:0}}@media(prefers-reduced-motion:reduce){.hsk-sun-rays,.hsk-sun-core,.hsk-moon-body,.hsk-wood-layer,.hsk-send-body,.hsk-send-tail{transition:none;transform:none!important}.hsk-cb-theme-grid-item:hover .hsk-heart-body,.hsk-cb-theme-squircle-trigger:hover .hsk-heart-body,.hsk-cb-theme-grid-item:hover .hsk-steam,.hsk-cb-theme-squircle-trigger:hover .hsk-steam,.hsk-cb-theme-grid-item:hover .hsk-star-spark,.hsk-cb-theme-squircle-trigger:hover .hsk-star-spark{animation:none}.hsk-check-mark{animation:none;stroke-dashoffset:0}}.hsk-cb-send-stage{position:relative;display:inline-flex;align-items:center;justify-content:center;width:100%;height:100%;overflow:visible}.hsk-cb-send-seam{position:absolute;top:50%;left:50%;width:2px;height:15px;border-radius:2px;background:currentColor;transform:translate(-50%,-50%) rotate(38deg) scaleY(0);transform-origin:center;opacity:0;pointer-events:none}.hsk-cb-send-kite{display:inline-flex;transform-origin:center;will-change:transform}.hsk-cb-send:hover:not(:disabled) .hsk-cb-send-kite{transform:translate(1.5px,-1.5px);transition:transform .26s cubic-bezier(.22,1,.36,1)}.hsk-cb-send.is-launching .hsk-cb-send-kite{animation:hsk-kite-tear .55s cubic-bezier(.22,1,.36,1) both}.hsk-cb-send.is-launching .hsk-cb-send-seam{animation:hsk-seam-heal .55s cubic-bezier(.4,0,.3,1) both}@keyframes hsk-kite-tear{0%{transform:translate(0) scale(1) rotate(0);opacity:1}18%{transform:translate(-1px,2.5px) scale(.92,1.08) rotate(-4deg);opacity:1}45%{transform:translate(3px,-16px) scale(1.2,.8) rotate(6deg);opacity:.95}75%{transform:translate(6px,-38px) scale(1.05,.7) rotate(10deg);opacity:.6}to{transform:translate(8px,-56px) scale(.6,.4) rotate(12deg);opacity:0}}@keyframes hsk-seam-heal{0%{transform:translate(-50%,-50%) rotate(38deg) scaleY(0);opacity:0}22%{transform:translate(-50%,-50%) rotate(38deg) scaleY(1);opacity:.9}45%{transform:translate(-50%,-50%) rotate(38deg) scaleY(1.3);opacity:.8}72%{transform:translate(-50%,-50%) rotate(38deg) scaleY(.3);opacity:.35}to{transform:translate(-50%,-50%) rotate(38deg) scaleY(0);opacity:0}}.hsk-kite-wing{transform-box:fill-box;transform-origin:100% 0}.hsk-cb-send:not(:disabled):not(.is-launching) .hsk-kite-wing--far{animation:hsk-wing-beat-far .62s ease-in-out infinite}.hsk-cb-send:not(:disabled):not(.is-launching) .hsk-kite-wing--near{animation:hsk-wing-beat-near .62s ease-in-out .07s infinite}.hsk-cb-send:not(:disabled):not(.is-launching) .hsk-cb-send-kite{animation:hsk-kite-strain 2.4s cubic-bezier(.45,0,.35,1) infinite}.hsk-cb-send:not(:disabled):not(.is-launching) .hsk-cb-send-seam{animation:hsk-seam-strain 2.4s cubic-bezier(.45,0,.35,1) infinite}@keyframes hsk-kite-strain{0%,10%{transform:translate(0) scale(1) rotate(0)}20%{transform:translate(-1.2px,2px) scale(.94,1.05) rotate(-4deg)}34%{transform:translate(3.5px,-5px) scale(1.16,.86) rotate(8deg)}42%{transform:translate(4.2px,-6px) scale(1.2,.82) rotate(9deg)}50%{transform:translate(2.4px,-3.4px) scale(1.06,.94) rotate(5deg)}64%{transform:translate(-.6px,1.2px) scale(.97,1.03) rotate(-2deg)}78%,to{transform:translate(0) scale(1) rotate(0)}}@keyframes hsk-seam-strain{0%,22%{transform:translate(-50%,-50%) rotate(38deg) scaleY(0);opacity:0}34%{transform:translate(-50%,-50%) rotate(38deg) scaleY(.6);opacity:.34}42%{transform:translate(-50%,-50%) rotate(38deg) scaleY(.95);opacity:.5}52%{transform:translate(-50%,-50%) rotate(38deg) scaleY(.55);opacity:.3}66%,to{transform:translate(-50%,-50%) rotate(38deg) scaleY(0);opacity:0}}@keyframes hsk-wing-beat-far{0%,to{transform:scaleX(1) skewY(0)}50%{transform:scaleX(.86) skewY(-4deg)}}@keyframes hsk-wing-beat-near{0%,to{transform:scaleX(1) skewY(0)}50%{transform:scaleX(1.1) skewY(3deg)}}.hsk-stop-ring{transform-box:fill-box;transform-origin:center;stroke-dasharray:22 38;opacity:.85;animation:hsk-stop-orbit 1.4s linear infinite}.hsk-stop-core{transform-box:fill-box;transform-origin:center;animation:hsk-stop-pulse 1.4s ease-in-out infinite;transition:rx .2s ease,transform .2s cubic-bezier(.34,1.56,.64,1)}.hsk-cb-send--stop:hover .hsk-stop-core{transform:scale(1.16);animation-play-state:paused}.hsk-cb-send--stop:hover .hsk-stop-ring{animation-duration:.7s}@keyframes hsk-stop-orbit{to{transform:rotate(1turn)}}@keyframes hsk-stop-pulse{0%,to{transform:scale(1);opacity:1}50%{transform:scale(.86);opacity:.75}}@media(prefers-reduced-motion:reduce){.hsk-cb-send.is-launching .hsk-cb-send-kite,.hsk-cb-send.is-launching .hsk-cb-send-seam,.hsk-cb-send:hover:not(:disabled) .hsk-cb-send-kite{animation:none;transform:none}}.hsk-cb-send.is-launching{overflow:visible!important}.hsk-cb-send-sheath{position:absolute;inset:-1px;background:radial-gradient(120% 90% at 32% 22%,#ffffff70,#fff0 58%),linear-gradient(150deg,color-mix(in srgb,var(--hsk-primary, #1273e6) 72%,#ffffff) 0%,var(--hsk-primary, #1273e6) 46%,color-mix(in srgb,var(--hsk-primary, #1273e6) 74%,#000000) 100%);border-radius:46% 54% 52% 48%/50% 47% 53% 50%;box-shadow:inset 0 2px 3px #ffffff80,inset 0 -3px 5px color-mix(in srgb,var(--hsk-primary, #1273e6) 30%,rgba(0,0,0,.55)),0 2px 5px #0003,0 7px 16px color-mix(in srgb,var(--hsk-primary, #1273e6) 16%,transparent);transform-origin:58% 62%;pointer-events:none;z-index:1;will-change:transform,border-radius;transition:border-radius .5s cubic-bezier(.34,1.6,.5,1),box-shadow .3s ease}.hsk-cb-send-stage{z-index:2;position:relative}.hsk-cb-send:not(:disabled):not(.is-launching) .hsk-cb-send-sheath{animation:hsk-sheath-press 2.4s cubic-bezier(.35,.8,.3,1) infinite}@keyframes hsk-sheath-press{0%,12%{transform:scale(1);border-radius:46% 54% 52% 48%/50% 47% 53% 50%}22%{transform:scale(.94,1.08) translate(-1.4px,2.2px);border-radius:52% 48% 44% 56%/58% 40% 60% 42%}36%{transform:scale(1.14,.87) translate(2.6px,-3.4px) rotate(2deg);border-radius:38% 66% 54% 46%/40% 62% 38% 60%}46%{transform:scale(1.19,.83) translate(3.6px,-4.6px) rotate(2.8deg);border-radius:34% 72% 56% 44%/36% 68% 32% 64%}58%{transform:scale(.93,1.09) translate(-1.2px,1.8px) rotate(-1.4deg);border-radius:56% 44% 42% 58%/60% 38% 62% 40%}70%{transform:scale(1.05,.96) translate(.8px,-1px) rotate(.6deg);border-radius:44% 56% 50% 50%/46% 54%}80%{transform:scale(.98,1.03);border-radius:50% 50% 48% 52%/52% 48%}88%,to{transform:scale(1);border-radius:46% 54% 52% 48%/50% 47% 53% 50%}}.hsk-cb-send.is-launching .hsk-cb-send-sheath{animation:hsk-sheath-yield .55s cubic-bezier(.3,.7,.25,1) both}@keyframes hsk-sheath-yield{0%{transform:scale(1);border-radius:46% 54% 52% 48%/50% 47% 53% 50%}20%{transform:scale(.88,1.14) translate(-2px,3.4px);border-radius:56% 44% 40% 60%/64% 34% 66% 36%}45%{transform:scale(1.34,.68) translate(6px,-10px) rotate(4.6deg);border-radius:24% 86% 62% 38%/26% 80% 20% 74%}65%{transform:scale(.86,1.16) translate(-2.2px,3.6px) rotate(-2.2deg);border-radius:60% 40% 38% 62%/68% 30% 70% 32%}82%{transform:scale(1.06,.95) translate(1px,-1px) rotate(.8deg);border-radius:44% 56% 52% 48%/46% 54%}to{transform:scale(1);border-radius:46% 54% 52% 48%/50% 47% 53% 50%}}.hsk-cb-send:disabled:not(.is-morph-spinning) .hsk-cb-send-sheath{opacity:0}.hsk-cb-send--stop .hsk-cb-send-sheath{display:none}.hsk-cb-send.is-morph-spinning{cursor:wait!important;pointer-events:none!important;background:transparent!important;box-shadow:none!important;overflow:visible!important}.hsk-cb-send.is-morph-spinning .hsk-cb-send-sheath{opacity:1!important;animation:hsk-sheath-morph 1.2s ease-in-out infinite alternate!important}@keyframes hsk-sheath-morph{0%{border-radius:50%;transform:scale(.96)}50%{border-radius:46% 54% 52% 48%/50% 47% 53% 50%;transform:scale(1.03)}to{border-radius:54% 46% 48% 52%/47% 53%;transform:scale(.96)}}.hsk-cb-send.is-morph-spinning .hsk-cb-send-kite{animation:hsk-goo-spin .85s cubic-bezier(.4,0,.2,1) infinite!important}@keyframes hsk-goo-spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.hsk-cb-send-spinner-dots{position:relative;width:18px;height:18px;display:flex;align-items:center;justify-content:center}.hsk-goo-orb{position:absolute;width:6px;height:6px;border-radius:50%;background:#fff}.hsk-goo-orb--1{top:0;left:6px}.hsk-goo-orb--2{bottom:1px;left:1px}.hsk-goo-orb--3{bottom:1px;right:1px}.hsk-cb-send:active:not(:disabled) .hsk-cb-send-sheath{box-shadow:inset 0 1px 2px #ffffff4d,inset 0 -1px 3px color-mix(in srgb,var(--hsk-primary, #1273e6) 24%,rgba(0,0,0,.6)),0 1px 3px #0000003d}@media(prefers-reduced-motion:reduce){.hsk-cb-send:not(:disabled):not(.is-launching) .hsk-cb-send-sheath,.hsk-cb-send.is-launching .hsk-cb-send-sheath{animation:none}}.hsk-cb-send:not(.hsk-cb-send--stop):not(:disabled){background:transparent!important;box-shadow:none!important;overflow:visible!important}.hsk-cb-send:not(.hsk-cb-send--stop):not(:disabled):hover{box-shadow:none!important}.hsk-cb-send:not(:disabled):hover .hsk-cb-send-sheath{box-shadow:inset 0 2px 4px #ffffff94,inset 0 -3px 6px color-mix(in srgb,var(--hsk-primary, #1273e6) 28%,rgba(0,0,0,.5)),0 3px 7px #00000038,0 10px 22px color-mix(in srgb,var(--hsk-primary, #1273e6) 20%,transparent)}.hsk-cb-terms-sanctuary{display:flex;flex-direction:column;margin:18px 0 22px;width:100%;max-width:520px;text-align:start;background:transparent;backdrop-filter:none;-webkit-backdrop-filter:none;border:none;border-radius:0;padding:0;box-shadow:none;opacity:0;animation:hsk-terms-delicate-in .5s cubic-bezier(.16,1,.3,1) .05s forwards}@keyframes hsk-terms-delicate-in{0%{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}.hsk-cb-terms-item{display:flex;flex-direction:column;gap:4px;opacity:0;animation:hsk-terms-item-in .45s cubic-bezier(.16,1,.3,1) forwards;animation-delay:calc(var(--hsk-row-idx, 0) * 60ms + 80ms)}@keyframes hsk-terms-item-in{0%{opacity:0;transform:translateY(6px)}to{opacity:1;transform:translateY(0)}}.hsk-cb-terms-head{display:flex;align-items:baseline;gap:10px}.hsk-cb-terms-numeral{font-family:ui-serif,Georgia,Cambria,Times New Roman,Times,serif;font-style:italic;font-size:11px;font-weight:600;letter-spacing:.12em;color:var(--hsk-primary, #ff6a33);opacity:.85;flex-shrink:0;user-select:none}.hsk-cb-terms-title{margin:0;font-size:14.5px;font-weight:700;letter-spacing:-.015em;color:var(--hsk-chat-text, #ffffff)}.hsk-cb-terms-desc{margin:0;padding-inline-start:22px;font-size:13px;line-height:1.55;color:var(--hsk-chat-muted, #9ca3af);font-weight:400}.hsk-cb-terms-more{margin:0 0 4px;font-size:12.5px;color:var(--hsk-chat-muted, #9ca3af);text-align:start}.hsk-cb-terms-more a{color:var(--hsk-primary, #ff6a33);font-weight:600;text-decoration:none;unicode-bidi:isolate}.hsk-cb-terms-more a:hover{text-decoration:underline}.hsk-cb-terms-divider{height:1px;margin:14px 0;background:linear-gradient(90deg,transparent 0%,color-mix(in srgb,var(--hsk-chat-text, #000000) 8%,transparent) 20%,color-mix(in srgb,var(--hsk-chat-text, #000000) 8%,transparent) 80%,transparent 100%)}.hsk-cb-terms-action-wrap{display:flex;justify-content:center;width:100%;margin-top:14px}.hsk-cb-terms-agree-btn{display:inline-flex;align-items:center;justify-content:center;padding:12px 34px;font-size:14px;font-weight:600;border-radius:9999px;border:1px solid var(--hsk-chat-divide, rgba(255, 255, 255, .08));background:var(--hsk-chat-divide, rgba(255, 255, 255, .06));color:var(--hsk-chat-muted, rgba(255, 255, 255, .4));cursor:not-allowed;transition:all .3s cubic-bezier(.16,1,.3,1);letter-spacing:-.01em}.hsk-cb-terms-agree-btn.is-active{background:var(--hsk-primary, #ff6a33);color:#fff;border-color:var(--hsk-primary, #ff6a33);cursor:pointer;box-shadow:0 4px 14px color-mix(in srgb,var(--hsk-primary, #ff6a33) 35%,transparent)}.hsk-cb-terms-agree-btn.is-active:hover{filter:brightness(.92);transform:translateY(-1px);box-shadow:0 6px 18px color-mix(in srgb,var(--hsk-primary, #ff6a33) 45%,transparent)}.hsk-cb-terms-agree-btn.is-active:active{transform:translateY(0);box-shadow:0 2px 6px color-mix(in srgb,var(--hsk-primary, #ff6a33) 25%,transparent)}@keyframes hsk-theme-morph-in{0%{opacity:0;transform:scale(.92) translateY(4px)}to{opacity:1;transform:scale(1) translateY(0)}}@keyframes hsk-theme-pill-in{0%{opacity:0;transform:scale(.94)}to{opacity:1;transform:scale(1)}}.hsk-cb-panel[dir=rtl] .hsk-cb-theme-2x2-grid{transform-origin:bottom right}@media(prefers-reduced-motion:reduce){.hsk-cb-theme-squircle-trigger{animation:none}}@keyframes hsk-theme-morph-out{0%{opacity:1;transform:scale(1) translateY(0)}to{opacity:0;transform:scale(.92) translateY(4px)}}.hsk-retry-icon{display:inline-flex;transform-origin:center;transition:transform .36s cubic-bezier(.34,1.56,.64,1)}.hsk-cb-msg-action:hover:not(:disabled) .hsk-retry-icon{transform:rotate(-180deg)}.hsk-cb-msg-action:active:not(:disabled) .hsk-retry-icon{transform:rotate(-360deg) scale(.85);transition-duration:.18s}.hsk-retry-icon--spinning{animation:hsk-spin .65s linear infinite!important}.hsk-edit-icon{display:inline-flex;transform-origin:20% 80%;transition:transform .26s cubic-bezier(.34,1.56,.64,1)}.hsk-cb-msg-action:hover:not(:disabled) .hsk-edit-icon{transform:translateY(-1.5px) rotate(-14deg)}.hsk-cb-msg-action:active:not(:disabled) .hsk-edit-icon{transform:translateY(1px) scale(.88);transition-duration:.1s}.hsk-copy-icon{display:inline-flex}.hsk-copy-sheet{transition:transform .22s cubic-bezier(.34,1.56,.64,1)}.hsk-cb-msg-action:hover:not(:disabled) .hsk-copy-sheet{transform:translate(-1.5px,-1.5px)}.hsk-check-icon{display:inline-flex;animation:hsk-check-pop .28s cubic-bezier(.34,1.56,.64,1) both}@keyframes hsk-check-pop{0%{transform:scale(.4);opacity:0}60%{transform:scale(1.24);opacity:1}to{transform:scale(1);opacity:1}}:root{--hsk-apple-bezier: cubic-bezier(.16, 1, .3, 1);--hsk-apple-exit-bezier: cubic-bezier(.4, 0, .2, 1)}@keyframes hsk-step1-exit-up{0%{opacity:1;transform:translateY(0) scale(1);filter:blur(0px)}to{opacity:0;transform:translateY(-46px) scale(.96);filter:blur(14px)}}.hsk-step1-exit{animation:hsk-step1-exit-up .32s cubic-bezier(.16,1,.3,1) forwards;pointer-events:none;will-change:transform,opacity,filter}@keyframes hsk-composer-exit-up{0%{opacity:1;transform:translateY(0);filter:blur(0px)}to{opacity:0;transform:translateY(-42px);filter:blur(12px)}}.hsk-composer-exit-up{animation:hsk-composer-exit-up .3s cubic-bezier(.16,1,.3,1) forwards;pointer-events:none;will-change:transform,opacity,filter}.hsk-lang-loader{display:flex;flex-direction:column;align-items:center;gap:28px;padding:16px 0;width:100%}.hsk-lang-loader--enter{animation:hsk-clay-in .16s steps(2,end) both}@keyframes hsk-clay-in{0%{opacity:0}to{opacity:1}}.hsk-clay{display:flex;flex-direction:column;align-items:center;gap:8px}.hsk-clay-table{display:block;width:240px;height:160px}.hsk-lang-preparing{font-size:13px;font-weight:500;letter-spacing:-.015em;color:var(--hsk-chat-muted, rgba(255, 255, 255, .44));text-align:center;margin:0;line-height:1.4}.hsk-lang-loader--enter .hsk-lang-preparing{animation:hsk-preparing-in .42s .4s cubic-bezier(.16,1,.3,1) both}.hsk-lang-loader--exit .hsk-lang-preparing{animation:hsk-preparing-out .12s cubic-bezier(.4,0,.2,1) forwards}@keyframes hsk-preparing-in{0%{opacity:0;transform:translateY(10px);filter:blur(8px)}to{opacity:1;transform:translateY(0);filter:blur(0px)}}@keyframes hsk-preparing-out{to{opacity:0;transform:translateY(4px);filter:blur(6px)}}.hsk-composer-reveal{animation:hsk-composer-in .48s cubic-bezier(.16,1,.3,1) both;will-change:transform,opacity,filter}@keyframes hsk-composer-in{0%{opacity:0;transform:translateY(36px);filter:blur(10px)}to{opacity:1;transform:translateY(0);filter:blur(0px)}}.hsk-step-enter{animation:hsk-step-enter-in .46s cubic-bezier(.16,1,.3,1) both;will-change:transform,opacity,filter}@keyframes hsk-step-enter-in{0%{opacity:0;transform:translateY(22px);filter:blur(12px)}to{opacity:1;transform:translateY(0);filter:blur(0px)}}@media(prefers-reduced-motion:reduce){.hsk-step1-exit,.hsk-composer-exit-up,.hsk-lang-loader--enter,.hsk-lang-loader--exit,.hsk-composer-reveal,.hsk-step-enter{animation:none!important}}'});function ul(e){if(pl)return;if(pl=!0,typeof CSSStyleSheet<"u"&&"replaceSync"in CSSStyleSheet.prototype)try{let t=new CSSStyleSheet;t.replaceSync(Ko),e.adoptedStyleSheets=[t];return}catch{}let r=document.createElement("style");r.textContent=Ko,e.appendChild(r)}function ml(){return typeof document>"u"?null:tn?(ul(tn),tn):(Mr=document.getElementById(dl),Mr||(Mr=document.createElement("div"),Mr.id=dl,Mr.style.cssText="all: initial;",document.body.appendChild(Mr)),tn=Mr.shadowRoot??Mr.attachShadow({mode:"open"}),ul(tn),tn)}var dl,Mr,tn,pl,bl=Se(()=>{"use strict";hl();dl="akropolys-kiku-root",Mr=null,tn=null,pl=!1});var fl={};fs(fl,{ChatModal:()=>cl,DEFAULT_CHIPS:()=>wn,DEFAULT_UI_STRINGS:()=>wt,getShadowContainer:()=>ml,warmChrome:()=>Mi,warmLanguage:()=>jr});var kl=Se(()=>{"use strict";ll();It();bl();ma()});var jp={};fs(jp,{KikuButton:()=>vl,SearchBar:()=>Cs});module.exports=_h(jp);var or=require("react"),Ur=require("@akropolys/sdk");pn();yt();var Be=require("react/jsx-runtime"),ws=()=>(0,Be.jsxs)("svg",{width:"15",height:"15",viewBox:"0 0 20 20",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",children:[(0,Be.jsx)("circle",{cx:"8.5",cy:"8.5",r:"5.5"}),(0,Be.jsx)("line",{x1:"13",y1:"13",x2:"18",y2:"18"})]});function Cs({placeholder:e="Search products\u2026",limit:r=10,debounceMs:t=150,onSelect:n,className:a,inputClassName:o,dropdownClassName:i,renderResult:c,theme:s,classNames:l={}}){let[h,d]=(0,or.useState)(""),[u,p]=(0,or.useState)(!1),{results:g,loading:f,search:k,clear:z}=(0,Ur.useSearch)({debounceMs:t}),b=(0,Ur.useAkropolysContext)(),N=(0,Ur.useCardFields)(),M=(0,or.useRef)(null),E=(0,or.useRef)(!1);(0,or.useEffect)(()=>{if(E.current){E.current=!1;return}if(!h.trim()){z(),p(!1);return}p(!0),k(h,r)},[h]),(0,or.useEffect)(()=>{let T=A=>{M.current&&!M.current.contains(A.target)&&p(!1)};return document.addEventListener("mousedown",T),()=>document.removeEventListener("mousedown",T)},[]);let F=T=>{h.trim()&&b.api.searchVector(h,1,void 0,!0).catch(()=>{}),E.current=!0,p(!1),d(T.entity.title??T.entity.name??""),n?.(T)},w=()=>{h.trim()&&(b.api.searchVector(h,1,void 0,!0).catch(()=>{}),g.length>0&&F(g[0]))},H=u&&h.trim().length>0,Q={...s?.primaryColor&&{"--hsk-primary":s.primaryColor},...s?.backgroundColor&&{"--hsk-bg":s.backgroundColor},...s?.textColor&&{"--hsk-text":s.textColor},...s?.fontFamily&&{"--hsk-font":s.fontFamily},...s?.borderRadius&&{"--hsk-border-radius":s.borderRadius}};return(0,Be.jsxs)("div",{className:de("hsk-sb-wrap",l.root,a),ref:M,style:Q,children:[(0,Be.jsx)("span",{className:"hsk-sb-icon",children:(0,Be.jsx)(ws,{})}),(0,Be.jsx)("input",{className:de("hsk-sb-input",l.input,o),type:"text",value:h,placeholder:e,onChange:T=>d(T.target.value),onFocus:()=>g.length>0&&h.trim()&&p(!0),onKeyDown:T=>{T.key==="Enter"&&w()},autoComplete:"off",spellCheck:!1}),H&&(0,Be.jsxs)("div",{className:de("hsk-sb-drop",l.dropdown,i),style:{position:"absolute"},children:[f&&(0,Be.jsx)("div",{className:"hsk-sb-loading-bar"}),f&&g.length===0?(0,Be.jsxs)(Be.Fragment,{children:[(0,Be.jsxs)("div",{className:"hsk-sb-skeleton-row",children:[(0,Be.jsx)("span",{className:"hsk-sb-skeleton-icon"}),(0,Be.jsxs)("div",{className:"hsk-sb-row-body",children:[(0,Be.jsx)("div",{className:"hsk-sb-skeleton-text1"}),(0,Be.jsx)("div",{className:"hsk-sb-skeleton-text2"})]})]}),(0,Be.jsxs)("div",{className:"hsk-sb-skeleton-row",children:[(0,Be.jsx)("span",{className:"hsk-sb-skeleton-icon"}),(0,Be.jsxs)("div",{className:"hsk-sb-row-body",children:[(0,Be.jsx)("div",{className:"hsk-sb-skeleton-text1",style:{width:"45%"}}),(0,Be.jsx)("div",{className:"hsk-sb-skeleton-text2",style:{width:"25%"}})]})]})]}):(0,Be.jsxs)(Be.Fragment,{children:[g.length===0&&!f&&(0,Be.jsxs)("div",{className:"hsk-sb-empty",children:["No results for \u201C",h,"\u201D"]}),g.map((T,A)=>{if(c)return(0,Be.jsx)("div",{onClick:()=>F(T),className:"hsk-sb-fade",style:{animationDelay:`${A*18}ms`},children:c(T)},T.id);let G=T.entity.image??T.entity.thumbnail??T.entity.images?.[0];return(0,Be.jsxs)("div",{className:de("hsk-sb-row hsk-sb-fade",l.row),style:{animationDelay:`${A*18}ms`},onClick:()=>F(T),children:[(0,Be.jsx)("span",{className:"hsk-sb-row-thumb",children:G?(0,Be.jsx)("img",{src:G,alt:"",loading:"lazy",onError:B=>{B.currentTarget.style.display="none"}}):(0,Be.jsx)(ws,{})}),(0,Be.jsxs)("div",{className:"hsk-sb-row-body",children:[(0,Be.jsx)("div",{className:"hsk-sb-row-title",children:T.entity.title??T.entity.name}),Ot({fields:T.entity.fields??T.entity},N)[0]&&(0,Be.jsx)("div",{className:"hsk-sb-row-sub",children:Ot({fields:T.entity.fields??T.entity},N)[0].value})]})]},T.id)})]})]})]})}var Nt=require("react"),gl=require("react-dom");Wr();var xl=require("@akropolys/sdk");yt();ja();un();var Kt=require("react/jsx-runtime"),Yo=null;function Vp(){return Yo??(Yo=Promise.resolve().then(()=>(kl(),fl)).catch(e=>{throw Yo=null,e})),Yo}function vl({label:e="Ask AI",children:r,icon:t,title:n,logo:a,placeholder:o,backdropColor:i,backdropBlur:c,className:s,onSelectSource:l,chips:h,theme:d,classNames:u={},enableVoice:p=!1,voiceLang:g,ttsVoice:f,enableVision:k=!1}){let z=(0,xl.useAkropolysContext)(),[b,N]=(0,Nt.useState)(!1),[M,E]=(0,Nt.useState)(null),[F,w]=(0,Nt.useState)(null),H=(0,Nt.useRef)(!0),[Q,T]=(0,Nt.useState)(0);(0,Nt.useEffect)(()=>{if(b){T(0);return}let se=!0;return z?.api?.unreadFromTeam?.().then(V=>{se&&T(V)}).catch(()=>{}),()=>{se=!1}},[b,z]);let A=(0,Nt.useCallback)(()=>{Vp().then(se=>{se.getShadowContainer(),H.current&&w(se),se.warmChrome(z,z?.getShopperLanguage?.()??"",se.DEFAULT_UI_STRINGS),z?.api?.widgetSettings?.().then(V=>{V?.detectedLanguage&&V.detectedLanguage.toLowerCase()!=="english"&&se.warmLanguage(z,V.detectedLanguage,se.DEFAULT_UI_STRINGS)}).catch(()=>{})}).catch(()=>{})},[z]),G=(0,Nt.useRef)(null),B=(0,Nt.useCallback)(()=>{let se=G.current?.getBoundingClientRect();E(se?{x:se.left+se.width/2,y:se.top+se.height/2}:null),N(!0),A();try{xr()}catch{}},[A]);(0,Nt.useEffect)(()=>{H.current=!0;let se=window.requestIdleCallback,V=se?se(A,{timeout:2e3}):setTimeout(A,300);if(typeof window<"u"&&!window.__akropolys_nav_patched){window.__akropolys_nav_patched=!0;let W=window.location.pathname,_=window.history.pushState,J=window.history.replaceState;window.history.pushState=function(...C){_.apply(this,C),window.location.pathname!==W&&(W=window.location.pathname,window.dispatchEvent(new CustomEvent("akropolys:navigation")))},window.history.replaceState=function(...C){J.apply(this,C),window.location.pathname!==W&&(W=window.location.pathname,window.dispatchEvent(new CustomEvent("akropolys:navigation")))}}let re=()=>{N(!1)};return window.addEventListener("popstate",re),window.addEventListener("akropolys:navigation",re),()=>{H.current=!1;let W=window.cancelIdleCallback;se&&W?W(V):clearTimeout(V),window.removeEventListener("popstate",re),window.removeEventListener("akropolys:navigation",re)}},[A]);let{themeAttr:X,vars:xe}=ra(d);return na(d),(0,Kt.jsxs)(Kt.Fragment,{children:[(0,Kt.jsxs)("button",{ref:G,className:de("hsk-cb-btn",u.button,s),onClick:B,onPointerEnter:A,onPointerDown:A,style:xe,"data-hsk-theme":X,"aria-label":"Open AI chat",children:[r!==void 0?r:(0,Kt.jsxs)(Kt.Fragment,{children:[t?(0,Kt.jsx)("span",{className:"hsk-cb-btn-icon",style:{display:"flex",alignItems:"center"},children:t}):null,e]}),Q>0&&(0,Kt.jsx)("span",{className:"hsk-cb-btn-badge","aria-label":`${Q} new replies`,children:Q})]}),b&&F&&(0,gl.createPortal)((0,Kt.jsx)(F.ChatModal,{title:n,logo:a,placeholder:o,backdropColor:i,backdropBlur:c,origin:M,onClose:()=>N(!1),onSelectSource:l,chips:h??F.DEFAULT_CHIPS,theme:d,classNames:u,enableVoice:p,voiceLang:g,enableVision:k,ttsVoice:f}),F.getShadowContainer()??document.body)]})}0&&(module.exports={KikuButton,SearchBar});
|
|
41
39
|
//# sourceMappingURL=index.js.map
|