@akropolys/kiku 1.8.0 → 2.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -1,19 +1,10 @@
1
1
  'use client';
2
- "use strict";var lc=Object.create;var Rr=Object.defineProperty;var pc=Object.getOwnPropertyDescriptor;var dc=Object.getOwnPropertyNames;var hc=Object.getPrototypeOf,uc=Object.prototype.hasOwnProperty;var mc=(e,t)=>{for(var a in t)Rr(e,a,{get:t[a],enumerable:!0})},vn=(e,t,a,r)=>{if(t&&typeof t=="object"||typeof t=="function")for(let o of dc(t))!uc.call(e,o)&&o!==a&&Rr(e,o,{get:()=>t[o],enumerable:!(r=pc(t,o))||r.enumerable});return e};var Lt=(e,t,a)=>(a=e!=null?lc(hc(e)):{},vn(t||!e||!e.__esModule?Rr(a,"default",{value:e,enumerable:!0}):a,e)),kc=e=>vn(Rr({},"__esModule",{value:!0}),e);var Kl={};mc(Kl,{ChatWidget:()=>wo,KikuButton:()=>to,KikuChat:()=>wo,ScoutCharacter:()=>Ft,ScoutRail:()=>lr,SearchBar:()=>Sn,Sparkle:()=>gs,VisualSearch:()=>Dr,VoiceButton:()=>Lr,initKiku:()=>nn,normalizeShopifyProduct:()=>ao,shopifyAddToCart:()=>rn,shopifyGetCart:()=>on});module.exports=kc(Kl);var jt=require("react"),Pr=require("@akropolys/sdk");function yn(e){var t,a,r="";if(typeof e=="string"||typeof e=="number")r+=e;else if(typeof e=="object")if(Array.isArray(e)){var o=e.length;for(t=0;t<o;t++)e[t]&&(a=yn(e[t]))&&(r&&(r+=" "),r+=a)}else for(a in e)e[a]&&(r&&(r+=" "),r+=a);return r}function xn(){for(var e,t,a=0,r="",o=arguments.length;a<o;a++)(e=arguments[a])&&(t=yn(e))&&(r&&(r+=" "),r+=t);return r}function J(...e){return xn(e)}var ve=require("react/jsx-runtime"),wn=()=>(0,ve.jsxs)("svg",{width:"15",height:"15",viewBox:"0 0 20 20",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",children:[(0,ve.jsx)("circle",{cx:"8.5",cy:"8.5",r:"5.5"}),(0,ve.jsx)("line",{x1:"13",y1:"13",x2:"18",y2:"18"})]});function Sn({placeholder:e="Search products\u2026",limit:t=10,debounceMs:a=150,onSelect:r,className:o,inputClassName:n,dropdownClassName:i,renderResult:c,theme:s,classNames:l={}}){let[h,d]=(0,jt.useState)(""),[u,p]=(0,jt.useState)(!1),{results:k,loading:y,search:v,clear:N}=(0,Pr.useSearch)({debounceMs:a}),P=(0,Pr.useAkropolysContext)(),L=(0,jt.useRef)(null),f=(0,jt.useRef)(!1);(0,jt.useEffect)(()=>{if(f.current){f.current=!1;return}if(!h.trim()){N(),p(!1);return}p(!0),v(h,t)},[h]),(0,jt.useEffect)(()=>{let T=_=>{L.current&&!L.current.contains(_.target)&&p(!1)};return document.addEventListener("mousedown",T),()=>document.removeEventListener("mousedown",T)},[]);let z=T=>{h.trim()&&P.api.searchVector(h,1,void 0,!0).catch(()=>{}),f.current=!0,p(!1),d(T.entity.title??T.entity.name??""),r?.(T)},$=()=>{h.trim()&&(P.api.searchVector(h,1,void 0,!0).catch(()=>{}),k.length>0&&z(k[0]))},S=u&&h.trim().length>0,Y={...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,ve.jsxs)("div",{className:J("hsk-sb-wrap",l.root,o),ref:L,style:Y,children:[(0,ve.jsx)("span",{className:"hsk-sb-icon",children:(0,ve.jsx)(wn,{})}),(0,ve.jsx)("input",{className:J("hsk-sb-input",l.input,n),type:"text",value:h,placeholder:e,onChange:T=>d(T.target.value),onFocus:()=>k.length>0&&h.trim()&&p(!0),onKeyDown:T=>{T.key==="Enter"&&$()},autoComplete:"off",spellCheck:!1}),S&&(0,ve.jsxs)("div",{className:J("hsk-sb-drop",l.dropdown,i),style:{position:"absolute"},children:[y&&(0,ve.jsx)("div",{className:"hsk-sb-loading-bar"}),y&&k.length===0?(0,ve.jsxs)(ve.Fragment,{children:[(0,ve.jsxs)("div",{className:"hsk-sb-skeleton-row",children:[(0,ve.jsx)("span",{className:"hsk-sb-skeleton-icon"}),(0,ve.jsxs)("div",{className:"hsk-sb-row-body",children:[(0,ve.jsx)("div",{className:"hsk-sb-skeleton-text1"}),(0,ve.jsx)("div",{className:"hsk-sb-skeleton-text2"})]})]}),(0,ve.jsxs)("div",{className:"hsk-sb-skeleton-row",children:[(0,ve.jsx)("span",{className:"hsk-sb-skeleton-icon"}),(0,ve.jsxs)("div",{className:"hsk-sb-row-body",children:[(0,ve.jsx)("div",{className:"hsk-sb-skeleton-text1",style:{width:"45%"}}),(0,ve.jsx)("div",{className:"hsk-sb-skeleton-text2",style:{width:"25%"}})]})]})]}):(0,ve.jsxs)(ve.Fragment,{children:[k.length===0&&!y&&(0,ve.jsxs)("div",{className:"hsk-sb-empty",children:["No results for \u201C",h,"\u201D"]}),k.map((T,_)=>{if(c)return(0,ve.jsx)("div",{onClick:()=>z(T),className:"hsk-sb-fade",style:{animationDelay:`${_*18}ms`},children:c(T)},T.id);let F=T.entity.image??T.entity.thumbnail??T.entity.images?.[0];return(0,ve.jsxs)("div",{className:J("hsk-sb-row hsk-sb-fade",l.row),style:{animationDelay:`${_*18}ms`},onClick:()=>z(T),children:[(0,ve.jsx)("span",{className:"hsk-sb-row-thumb",children:F?(0,ve.jsx)("img",{src:F,alt:"",loading:"lazy",onError:ae=>{ae.currentTarget.style.display="none"}}):(0,ve.jsx)(wn,{})}),(0,ve.jsxs)("div",{className:"hsk-sb-row-body",children:[(0,ve.jsx)("div",{className:"hsk-sb-row-title",children:T.entity.title??T.entity.name}),(T.entity.category||T.entity.brand)&&(0,ve.jsx)("div",{className:"hsk-sb-row-sub",children:T.entity.category??T.entity.brand})]})]},T.id)})]})]})]})}var Ze=require("react"),Ea=require("@akropolys/sdk");var pa=Lt(require("react")),Ce=require("react/jsx-runtime"),bc=/[ \t]{2,}/g,fc=/ ([.,!?:;])/g,gc=/\(([ \t]+)/g,vc=/([ \t]+)\)/g,yc=/(\d+)\s+(MP|mAh|W|GB|MB|KHz|Hz|KSh|KES|USD|EUR)\b/gi,xc=/(!\[[^\]]*\]\([^)]+\)|\[[^\]]+\]\([^)]+\)|\*\*[^*]+\*\*|`[^`]+`)/g,wc=/^!\[([^\]]*)\]\(([^)]+)\)$/,Sc=/^\[([^\]]+)\]\(([^)]+)\)$/,Cc=/^(https?|data:image|blob):/i,Mc=/^(https?|mailto|tel):/i,Nc=/memory|mimi/i,Tc=/mimi\.akropolys/i,zc=e=>e&&e.replace(bc," ").replace(fc,"$1").replace(gc,"(").replace(vc,")").replace(yc,"$1 $2"),Vt=(e,t)=>zc(e).split(xc).map((o,n)=>{if(!o)return null;let i=`${t}-inline-${n}`;if(o.startsWith("`")&&o.endsWith("`"))return(0,Ce.jsx)("code",{className:"hsk-markdown-code",children:o.slice(1,-1)},i);if(o.startsWith("**")&&o.endsWith("**"))return(0,Ce.jsx)("strong",{children:Vt(o.slice(2,-2),i)},i);let c=o.match(wc);if(c){let l=c[1],h=c[2];return Cc.test(h)||h.startsWith("/")?(0,Ce.jsx)("img",{src:h,alt:l||"Product image",className:"hsk-markdown-img",loading:"lazy",onError:u=>{u.target.style.display="none"}},i):null}let s=o.match(Sc);if(s){let l=s[1],h=s[2];return Nc.test(l)||Tc.test(h)?null:Mc.test(h)||h.startsWith("/")?(0,Ce.jsx)("a",{href:h,target:"_blank",rel:"noopener noreferrer",className:"hsk-markdown-link",children:Vt(l,i)},i):(0,Ce.jsx)("span",{children:Vt(l,i)},i)}return o});function Cn(e,t){let a=e.trim();return t?a.includes("|"):a.startsWith("|")}function Mn(e){let t=e.trim();return t.startsWith("|")&&(t=t.slice(1)),t.endsWith("|")&&(t=t.slice(0,-1)),t.split("|").map(a=>a.trim())}function Rc({children:e}){let t=pa.default.useRef(null),[a,r]=pa.default.useState("none"),[o,n]=pa.default.useState(!1),i=pa.default.useRef({startX:0,scrollLeft:0,isDown:!1,hasMoved:!1}),c=pa.default.useCallback(()=>{let d=t.current;if(!d)return;if(!(d.scrollWidth>d.clientWidth+2)){r("none");return}let p=getComputedStyle(d).direction==="rtl",k=Math.abs(d.scrollLeft),y=k<=4,v=k+d.clientWidth>=d.scrollWidth-4;r(y?p?"right":"left":v?p?"left":"right":"middle")},[]);pa.default.useEffect(()=>{c();let d=t.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=t.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},n(!0))},l=d=>{if(!i.current.isDown)return;let u=t.current;if(!u)return;let k=(d.pageX-u.offsetLeft-i.current.startX)*1.5;Math.abs(k)>3&&(i.current.hasMoved=!0,d.preventDefault(),u.scrollLeft=i.current.scrollLeft-k)},h=()=>{i.current.isDown=!1,n(!1)};return(0,Ce.jsx)("div",{ref:t,className:`hsk-table-wrapper hsk-table-wrapper--${a}${o?" is-dragging":""}`,onScroll:c,onMouseDown:s,onMouseMove:l,onMouseUp:h,onMouseLeave:h,children:e})}function da(e,t=!1){return Pc(e,t)}function Pc(e,t){let a=e.split(`
3
- `);if(t&&a.length>0){let s=a[a.length-1];s.trim().startsWith("|")&&!s.trim().endsWith("|")&&a.pop()}let r=[],o=[],n=0,i=()=>{o.length>0&&(r.push((0,Ce.jsx)("div",{className:"hsk-cb-ai-text",children:o},`text-bubble-${n++}`)),o=[])},c=0;for(;c<a.length;){let s=a[c],l=`md-line-${c}`;if(!s.trim()){c++;continue}let h=s.trim().match(/^!\[([^\]]*)\]\(([^)]+)\)$/);if(h){i();let u=h[1],p=h[2];(/^(https?|data:image|blob):/i.test(p)||p.startsWith("/"))&&r.push((0,Ce.jsx)("div",{className:"hsk-markdown-img-block",children:(0,Ce.jsx)("img",{src:p,alt:u||"Product image",className:"hsk-markdown-img",loading:"lazy",onError:y=>{y.target.style.display="none"}})},l)),c++;continue}let d=s.match(/^(#{1,3})\s+(.*)/);if(d){let u=d[1].length,p=`h${u+3}`;o.push((0,Ce.jsx)(p,{className:`hsk-markdown-h${u}`,children:Vt(d[2],l)},l)),c++;continue}if(s.match(/^[\s]*[-*+•]\s+/)){let u=[];for(;c<a.length&&a[c].match(/^[\s]*[-*+•]\s+/);){let p=a[c].replace(/^[\s]*[-*+•]\s+/,"");u.push((0,Ce.jsx)("li",{children:Vt(p,`li-${c}`)},`li-${c}`)),c++}o.push((0,Ce.jsx)("ul",{className:"hsk-markdown-list hsk-markdown-ul",children:u},`ul-${l}`));continue}if(s.match(/^[\s]*\d+[\.\)]\s+/)){let u=[];for(;c<a.length&&a[c].match(/^[\s]*\d+[\.\)]\s+/);){let p=a[c].replace(/^[\s]*\d+[\.\)]\s+/,"");u.push((0,Ce.jsx)("li",{children:Vt(p,`li-${c}`)},`li-${c}`)),c++}o.push((0,Ce.jsx)("ol",{className:"hsk-markdown-list hsk-markdown-ol",children:u},`ol-${l}`));continue}if(Cn(s,!1)){i();let u=[],p=[],k=[],y=!0;for(;c<a.length&&Cn(a[c],!0);){let f=a[c].trim();if(f.match(/^\|?[-:| ]+\|?$/)&&f.includes("-")){k=Mn(f).map(S=>{let Y=S.trim(),T=Y.startsWith(":"),_=Y.endsWith(":");return T&&_?"center":_?"end":"start"}),c++,y=!1;continue}let z=Mn(f);y&&u.length===0?u=z:p.push(z),c++}let v=Math.max(u.length,...p.map(f=>f.length)),N=[];for(let f=0;f<v;f++)if(k[f])N[f]=k[f];else if(f===0)N[f]="start";else{let z=p.filter($=>{let S=($[f]||"").trim();return/^[\$€£¥+-]?\d+([.,]\d+)?%?$/.test(S)||/^[\$€£¥+-]?\d+([.,]\d+)?\s*(bps|M|K|B)?$/i.test(S)}).length;N[f]=z>=Math.ceil(p.length/2)?"end":"start"}let P=u.length>0?(0,Ce.jsx)("tr",{children:u.map((f,z)=>(0,Ce.jsx)("th",{style:{textAlign:N[z]||"start"},children:(0,Ce.jsx)("bdi",{children:Vt(f,`th-${l}-${z}`)})},`th-${l}-${z}`))},`tr-head-${l}`):null,L=p.map((f,z)=>(0,Ce.jsx)("tr",{children:f.map(($,S)=>(0,Ce.jsx)("td",{style:{textAlign:N[S]||"start"},children:(0,Ce.jsx)("bdi",{children:Vt($,`td-${l}-${z}-${S}`)})},`td-${l}-${z}-${S}`))},`tr-body-${l}-${z}`));r.push((0,Ce.jsx)(Rc,{children:(0,Ce.jsxs)("table",{className:"hsk-markdown-table",children:[P&&(0,Ce.jsx)("thead",{children:P}),(0,Ce.jsx)("tbody",{children:L})]})},`table-wrapper-${l}`));continue}o.push((0,Ce.jsx)("p",{className:"hsk-markdown-p",children:Vt(s,l)},l)),c++}return i(),(0,Ce.jsx)(Ce.Fragment,{children:r})}var Ja=require("react/jsx-runtime"),Za=()=>(0,Ja.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,Ja.jsx)("line",{x1:"22",y1:"2",x2:"11",y2:"13"}),(0,Ja.jsx)("polygon",{points:"22 2 15 22 11 13 2 9 22 2"})]});function Aa(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 Kt=require("react");var ue=require("react");var It=null,Zt=null,ea=null,Ia=null,Et=0,ta=!1,La=0,go=!1;function Ac(){if(typeof window>"u")return null;let e=window.AudioContext||window.webkitAudioContext;return e?(It||(It=new e,Zt=It.createAnalyser(),Zt.fftSize=1024,Zt.smoothingTimeConstant=.25,ea=It.createGain(),ea.gain.value=1,Zt.connect(ea),ea.connect(It.destination),Ia=new Uint8Array(Zt.fftSize)),{ctx:It,analyser:Zt}):null}function er(e,t=130){let a=ea;if(!a||!It)return;let r=It.currentTime;a.gain.cancelScheduledValues(r),a.gain.setValueAtTime(a.gain.value,r),a.gain.linearRampToValueAtTime(Math.max(0,Math.min(1,e)),r+t/1e3)}function Tn(){if(!ta)return La*=.85,La;if(go||!Zt||!Ia){let r=Date.now()/1e3;return .35+.18*Math.sin(r*7.1)+.1*Math.sin(r*3.3)}Zt.getByteTimeDomainData(Ia);let e=0;for(let r=0;r<Ia.length;r++){let o=(Ia[r]-128)/128;e+=o*o}let t=Math.sqrt(e/Ia.length),a=Math.min(1,t*3.2);return La+=(a-La)*(a>La?.6:.12),La}function Wt(){if(Et++,ta=!1,ea&&It&&(ea.gain.cancelScheduledValues(It.currentTime),ea.gain.value=1),typeof window<"u"&&"speechSynthesis"in window)try{window.speechSynthesis.cancel()}catch{}}function Lc(e){return e.replace(/```[\s\S]*?```/g," ").replace(/`([^`]+)`/g,"$1").replace(/!\[[^\]]*\]\([^)]*\)/g," ").replace(/\[([^\]]+)\]\([^)]+\)/g,"$1").replace(/https?:\/\/\S+/g," ").replace(/^\s{0,3}#{1,6}\s+/gm,"").replace(/^\s*[-*+]\s+/gm,"").replace(/[*_~>|]/g,"").replace(/\s*\n\s*\n\s*/g,". ").replace(/\s*\n\s*/g," ").replace(/\s+/g," ").replace(/\s+([.,!?;:])/g,"$1").trim()}var Ic=/([.!?…。!?؟۔।]+["'”’)\]]*\s+)/,Ec=240;function Dc(e,t=Ec){let a=e.split(Ic).filter(Boolean),r=[],o="";for(let n of a)for(o&&(o+n).length>t&&(r.push(o.trim()),o=""),o+=n;o.length>t*2;){let i=o.lastIndexOf(" ",t*2);r.push(o.slice(0,i>t?i:t*2).trim()),o=o.slice(i>t?i:t*2)}return o.trim()&&r.push(o.trim()),r.filter(n=>/\S/.test(n))}function $c(e,t,a){return new Promise(r=>{if(a!==Et)return r();let o=e.ctx.createBufferSource();o.buffer=t,o.connect(e.analyser),o.onended=()=>r(),o.start();let n=setInterval(()=>{if(a!==Et){clearInterval(n);try{o.stop()}catch{}r()}},100);o.onended=()=>{clearInterval(n),r()}})}async function vo({client:e,text:t,voice:a,language:r,bcp47:o,onStart:n,onEnd:i,onError:c,onRefused:s,onSecondsLeft:l}){Wt();let h=++Et;go=!1;let d=Lc(t);if(!d){i?.();return}let u=Ac();if(!u){Nn(d,o,n,i,c);return}if(u.ctx.state==="suspended")try{await u.ctx.resume()}catch{}let p=Dc(d),k=N=>e.synthesizeSpeech(N,a,r).catch(()=>null),y=!1,v=k(p[0]);for(let N=0;N<p.length&&h===Et;N++){let P=await v;if(v=N+1<p.length?k(p[N+1]):Promise.resolve(null),P&&"refused"in P&&P.refused){s?.(P.refused),i?.();return}if(!P){if(!y){Nn(p.slice(N).join(" "),o,n,i,c);return}continue}if(P.secondsLeft!==void 0&&l?.(P.secondsLeft),h!==Et)break;let L;try{L=await u.ctx.decodeAudioData(P.audio.slice(0))}catch(f){c?.(f);continue}if(h!==Et)break;y||(y=!0,ta=!0,n?.()),await $c(u,L,h)}h===Et&&(ta=!1,i?.())}function Fc(e){let t=window.speechSynthesis.getVoices?.()??[];if(!t.length||!e)return;let a=e.toLowerCase(),r=a.split("-")[0],o=t.filter(i=>i.lang?.toLowerCase().replace("_","-")===a),n=o.length?o:t.filter(i=>i.lang?.toLowerCase().split(/[-_]/)[0]===r);if(n.length)return n.find(i=>i.localService===!1)??n[0]}function Nn(e,t,a,r,o){if(typeof window>"u"||!("speechSynthesis"in window)){o?.("speech-unavailable"),r?.();return}let n=Et;go=!0;try{window.speechSynthesis.cancel();let i=new SpeechSynthesisUtterance(e),c=t||document.documentElement.lang||navigator.language||"";c&&(i.lang=c);let s=Fc(c);s&&(i.voice=s),i.rate=1,i.pitch=1,i.onstart=()=>{ta=!0,a?.()},i.onend=()=>{n===Et&&(ta=!1,r?.())},i.onerror=l=>{ta=!1,o?.(l),r?.()},window.speechSynthesis.speak(i)}catch(i){ta=!1,o?.(i),r?.()}}var _c=1100,yo=.012,Bc=320,qc=.09,Hc=.25,zn=130,Uc=700,jc=12,Vc=48,Wc=.45,Kc=.35,Oc=.2,Rn=.55;function Ar({lang:e,onUtterance:t,onError:a,onBargeIn:r,silenceMs:o=_c,paused:n=!1}){let[i,c]=(0,ue.useState)(!1),[s,l]=(0,ue.useState)(!1),[h,d]=(0,ue.useState)(""),[u,p]=(0,ue.useState)(!1),k=(0,ue.useRef)(null),y=(0,ue.useRef)(null),v=(0,ue.useRef)(null),N=(0,ue.useRef)(null),P=(0,ue.useRef)(null),L=(0,ue.useRef)(null),f=(0,ue.useRef)(0),z=(0,ue.useRef)(.008),$=(0,ue.useRef)(0),S=(0,ue.useRef)(0),Y=(0,ue.useRef)(""),T=(0,ue.useRef)(0),_=(0,ue.useRef)(0),F=(0,ue.useRef)(!1),ae=(0,ue.useRef)(n),I=(0,ue.useRef)(!1),B=(0,ue.useRef)(!1),E=(0,ue.useRef)(t),te=(0,ue.useRef)(a),A=(0,ue.useRef)(r);(0,ue.useEffect)(()=>{E.current=t},[t]),(0,ue.useEffect)(()=>{te.current=a},[a]),(0,ue.useEffect)(()=>{A.current=r},[r]),(0,ue.useEffect)(()=>{ae.current=n},[n]),(0,ue.useEffect)(()=>{p(typeof window<"u"&&("SpeechRecognition"in window||"webkitSpeechRecognition"in window)&&!!navigator.mediaDevices?.getUserMedia)},[]);let j=(0,ue.useCallback)(()=>f.current,[]),re=(0,ue.useCallback)(D=>{let g=N.current;return!g||D.length!==g.frequencyBinCount?!1:(g.getByteFrequencyData(D),!0)},[]),G=(0,ue.useCallback)(()=>N.current?.frequencyBinCount??0,[]),m=(0,ue.useRef)([]),U=(0,ue.useRef)(null),q=(0,ue.useRef)(!1),le=(0,ue.useRef)(0),w=(0,ue.useRef)(0),M=(0,ue.useCallback)(D=>{let g=N.current;if(!g)return 0;let O=m.current;O.push(D),O.length>Vc&&O.shift();let de=0;if(O.length>=12){let $e=0;for(let rt of O)$e+=rt;if($e/=O.length,$e>1e-4){let rt=0;for(let Rt of O)rt+=(Rt-$e)*(Rt-$e);de=Math.min(1,Math.sqrt(rt/O.length)/$e/.6)}}let oe=0;(!U.current||U.current.length!==g.frequencyBinCount)&&(U.current=new Uint8Array(g.frequencyBinCount));let ie=U.current;g.getByteFrequencyData(ie);let Be=(v.current?.sampleRate??48e3)/2/ie.length,qe=Math.floor(300/Be),et=Math.min(ie.length-1,Math.ceil(3400/Be)),Xe=0,mt=0;for(let $e=0;$e<ie.length;$e++)mt+=ie[$e],$e>=qe&&$e<=et&&(Xe+=ie[$e]);mt>0&&(oe=Xe/mt);let kt=Math.min(1,D/(z.current+yo*3));return Wc*kt+Kc*de+Oc*oe},[]),C=(0,ue.useCallback)(()=>{let D=Y.current.trim();if(Y.current="",T.current=_.current,d(""),l(!1),D){I.current=!1;let g=k.current;k.current=null;try{g?.stop()}catch{}E.current(D)}},[]),K=(0,ue.useCallback)(()=>{let D=N.current,g=L.current;if(!D||!g)return;D.getByteTimeDomainData(g);let O=0;for(let qe=0;qe<g.length;qe++){let et=(g[qe]-128)/128;O+=et*et}let de=Math.sqrt(O/g.length),oe=Math.min(1,de*4);f.current+=(oe-f.current)*(oe>f.current?.6:.12);let ie=Date.now(),Te=ae.current?Tn()*qc:0;de>z.current+yo+Te?($.current=ie,S.current||(S.current=ie)):(S.current=0,z.current=Math.min(z.current*1.02+2e-5,Math.max(.004,de))),ae.current?q.current?(M(de)>Rn?w.current+=1:w.current=Math.max(0,w.current-2),w.current>=jc?(q.current=!1,w.current=0,er(1,0),A.current?.()):ie-le.current>Uc&&(q.current=!1,w.current=0,er(1,zn*2))):S.current&&ie-S.current>Bc&&M(de)>Rn&&(S.current=0,q.current=!0,le.current=ie,w.current=0,er(Hc,zn)):Y.current.trim()&&ie-$.current>o&&C(),P.current=requestAnimationFrame(K)},[C,o,M]),X=(0,ue.useCallback)(()=>{if(k.current||!F.current)return;let D=window.SpeechRecognition||window.webkitSpeechRecognition,g=new D;T.current=0,_.current=0,g.lang=e||document.documentElement.lang||navigator.language||"en-US",g.interimResults=!0,g.maxAlternatives=1,g.continuous=!0,g.onresult=O=>{let de="";for(let oe=T.current;oe<O.results.length;oe++)de+=O.results[oe][0].transcript;_.current=O.results.length,de=de.trim(),de&&(Y.current=de,d(de),l(!0))},g.onerror=O=>{let de=O?.error||"";de==="no-speech"||de==="aborted"||te.current?.(de)},g.onend=()=>{k.current=null,F.current&&I.current&&setTimeout(()=>{X()},120)},k.current=g;try{g.start()}catch{k.current=null,te.current?.("failed-to-start")}},[e]),x=(0,ue.useCallback)(()=>{I.current=!1;let D=k.current;k.current=null;try{D?.stop()}catch{}},[]),V=(0,ue.useCallback)(()=>{F.current=!1,q.current=!1,w.current=0,m.current=[],er(1,0),I.current=!1,c(!1),l(!1),d(""),Y.current="",f.current=0;let D=k.current;k.current=null;try{D?.abort()}catch{}P.current!==null&&(cancelAnimationFrame(P.current),P.current=null),y.current?.getTracks().forEach(g=>g.stop()),y.current=null,N.current=null,v.current?.close().catch(()=>{}),v.current=null},[]),H=(0,ue.useCallback)(async()=>{if(!(F.current||!u)){F.current=!0,c(!0);try{let D=await navigator.mediaDevices.getUserMedia({audio:{echoCancellation:!0,noiseSuppression:!0,autoGainControl:!0}});y.current=D;let g=window.AudioContext||window.webkitAudioContext,O=new g;v.current=O;let de=O.createAnalyser();de.fftSize=1024,de.smoothingTimeConstant=.25,O.createMediaStreamSource(D).connect(de),N.current=de,L.current=new Uint8Array(de.fftSize),z.current=.008,$.current=Date.now(),P.current=requestAnimationFrame(K)}catch(D){F.current=!1,c(!1),te.current?.(D?.name==="NotAllowedError"?"not-allowed":"audio-capture");return}I.current=!0,X()}},[u,K,X]);return(0,ue.useEffect)(()=>{i&&(n?(Y.current="",d(""),q.current=!1,w.current=0,m.current=[],x()):(q.current=!1,$.current=Date.now(),I.current=!0,X()))},[n,i,X,x]),(0,ue.useEffect)(()=>{if(!i||n)return;let D=setInterval(()=>{let g=!!k.current,O=f.current>z.current+yo;g&&O&&Y.current},2e3);return()=>clearInterval(D)},[i,n]),(0,ue.useEffect)(()=>()=>{V()},[V]),{supported:u,active:i,hearing:s,interim:h,micLevel:j,micSpectrum:re,spectrumBins:G,start:H,stop:V}}var Dt=require("react/jsx-runtime"),Yc=({active:e})=>(0,Dt.jsxs)("svg",{width:"16",height:"16",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:[(0,Dt.jsx)("rect",{x:"9",y:"2",width:"6",height:"11",rx:"3",fill:e?"currentColor":"none"}),(0,Dt.jsx)("path",{d:"M5 10a7 7 0 0 0 14 0"}),(0,Dt.jsx)("line",{x1:"12",y1:"19",x2:"12",y2:"23"}),(0,Dt.jsx)("line",{x1:"8",y1:"23",x2:"16",y2:"23"})]});function Lr({onTranscript:e,onInterim:t,lang:a,className:r="",disabled:o=!1,onError:n}){let i=(0,Kt.useRef)(e);(0,Kt.useEffect)(()=>{i.current=e},[e]);let c=(0,Kt.useRef)(()=>{}),s=(0,Kt.useCallback)(h=>{c.current(),i.current(h)},[]),l=Ar({lang:a,onUtterance:s,onError:n});return(0,Kt.useEffect)(()=>{c.current=l.stop},[l.stop]),(0,Kt.useEffect)(()=>{l.interim&&t?.(l.interim)},[l.interim,t]),l.supported?(0,Dt.jsxs)("button",{type:"button",className:`kiku-voice-btn${l.active?" kiku-voice-btn--active":""} ${r}`,onClick:()=>l.active?l.stop():void l.start(),disabled:o,title:l.active?"Stop listening":"Speak your search","aria-label":l.active?"Stop voice input":"Start voice input",children:[(0,Dt.jsx)(Yc,{active:l.active}),l.active&&(0,Dt.jsx)("span",{className:"kiku-voice-ripple","aria-hidden":"true"})]}):null}var Er=require("react");function xo(e){let t=e.indexOf(","),a=t===-1?e:e.slice(t+1);return Math.floor(a.length*.75)}async function Ir(e){let t=await new Promise((a,r)=>{let o=new FileReader;o.onload=()=>a(o.result),o.onerror=()=>r(o.error??new Error("read failed")),o.readAsDataURL(e)});if(e.type==="image/gif"||e.type==="image/svg+xml"||xo(t)<=307200)return t;try{let a=await createImageBitmap(e);try{let r=Math.min(1,1536/Math.max(a.width,a.height)),o=Math.max(1,Math.round(a.width*r)),n=Math.max(1,Math.round(a.height*r)),i=document.createElement("canvas");i.width=o,i.height=n;let c=i.getContext("2d");if(!c)return t;c.drawImage(a,0,0,o,n);let s=e.type==="image/png",l=i.toDataURL(s?"image/png":"image/jpeg",.85);return xo(l)<xo(t)?l:t}finally{a.close?.()}}catch{return t}}var Pn=require("@akropolys/sdk"),Mt=require("react/jsx-runtime"),Gc=()=>(0,Mt.jsxs)("svg",{width:"16",height:"16",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:[(0,Mt.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,Mt.jsx)("circle",{cx:"12",cy:"13",r:"4"})]}),Qc=()=>(0,Mt.jsx)("svg",{width:"16",height:"16",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",className:"kiku-vs-spin",children:(0,Mt.jsx)("path",{d:"M21 12a9 9 0 1 1-6.219-8.56"})});function Xc(e){return Ir(e)}function Dr({onResults:e,onError:t,categoryHint:a,className:r="",disabled:o=!1}){let n=(0,Pn.useAkropolysContext)(),i=(0,Er.useRef)(null),[c,s]=(0,Er.useState)(!1),l=async h=>{if(h.type.startsWith("image/")){s(!0);try{let d=await Xc(h),u=await n.api.searchByImage(d,a);e(u,d)}catch(d){t?.(d instanceof Error?d:new Error(String(d)))}finally{s(!1),i.current&&(i.current.value="")}}};return(0,Mt.jsxs)("label",{className:`kiku-vs-btn${c?" kiku-vs-btn--loading":""} ${r}`,title:"Search by photo","aria-label":"Search by uploading a photo",style:{cursor:o||c?"not-allowed":"pointer"},children:[(0,Mt.jsx)("input",{ref:i,type:"file",accept:"image/*",capture:"environment",onChange:h=>h.target.files?.[0]&&l(h.target.files[0]),disabled:o||c,hidden:!0}),c?(0,Mt.jsx)(Qc,{}):(0,Mt.jsx)(Gc,{})]})}var Z=require("react/jsx-runtime"),tr=()=>(0,Z.jsx)("svg",{width:"16",height:"16",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:(0,Z.jsx)("path",{d:"m12 3-1.912 5.813a2 2 0 0 1-1.275 1.275L3 12l5.813 1.912a2 2 0 0 1 1.275 1.275L12 21l1.912-5.813a2 2 0 0 1 1.275-1.275L21 12l-5.813-1.912a2 2 0 0 1-1.275-1.275L12 3Z"})}),An=({active:e})=>(0,Z.jsxs)("svg",{width:"15",height:"15",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:[(0,Z.jsx)("polygon",{points:"11 5 6 9 2 9 2 15 6 15 11 19 11 5",fill:e?"currentColor":"none"}),e?(0,Z.jsxs)(Z.Fragment,{children:[(0,Z.jsx)("path",{d:"M15.54 8.46a5 5 0 0 1 0 7.07"}),(0,Z.jsx)("path",{d:"M19.07 4.93a10 10 0 0 1 0 14.14"})]}):(0,Z.jsx)("line",{x1:"23",y1:"9",x2:"17",y2:"15"})]});function $r({source:e,defaultCurrency:t,onSelect:a,isReferenced:r}){return(0,Z.jsxs)("div",{className:J("hsk-source-card",r&&"hsk-source-card--referenced"),onClick:()=>a?.(e),children:[e.image&&(0,Z.jsx)("img",{src:e.image,alt:e.name,className:"hsk-source-img"}),(0,Z.jsxs)("div",{style:{flex:1,minWidth:0,position:"relative"},children:[r&&(0,Z.jsx)("div",{className:"hsk-cb-source-ref-badge",title:"Featured in response",style:{top:"0",right:"0"},children:(0,Z.jsx)(tr,{})}),(0,Z.jsx)("div",{className:"hsk-source-name",style:{paddingRight:r?"20px":void 0},children:e.name}),e.price&&(0,Z.jsxs)("div",{className:"hsk-source-price",children:[e.currency??t," ",e.price]})]})]})}function wo({title:e="kiku",placeholder:t="Ask about anything in our store\u2026",emptyStateText:a="Ask me anything about our products",emptyStateSuggestions:r='"Find me headphones under KSh 5,000" \xB7 "Gift ideas"',defaultCurrency:o="KES",className:n,theme:i,classNames:c={},onSelectSource:s,enableVoice:l=!1,enableVision:h=!1,visionCategoryHint:d,enableAudioResponse:u=!0,ttsVoice:p,autoSpeakResponses:k=!0}){let y=(0,Ea.useAkropolysContext)(),{messages:v,sources:N,referencedIds:P,loading:L,streaming:f,error:z,send:$,reset:S}=(0,Ea.useKiku)(),[Y,T]=(0,Ze.useState)(""),[_,F]=(0,Ze.useState)(!1),ae=(0,Ze.useRef)(null),I=(0,Ze.useRef)(null),[B,E]=(0,Ze.useState)(u),[te,A]=(0,Ze.useState)(null),j=(0,Ze.useRef)(f),re=(0,Ze.useRef)(!1),G=L||_,[m,U]=(0,Ze.useState)([]),q=(0,Ze.useRef)(0);(0,Ze.useEffect)(()=>{if(v.length===0){U([]),q.current=0;return}if(v.length>q.current){let x=v.slice(q.current);U(V=>[...V,...x]),q.current=v.length}else v.length<q.current?(U(v),q.current=v.length):U(x=>{let V=[...x],H=v.length-1,D=V.length-1;for(;H>=0&&D>=0;){if(V[D].role===v[H].role){V[D]={...V[D],content:v[H].content,actionType:v[H].actionType,thinking:v[H].thinking,thoughtForSeconds:v[H].thoughtForSeconds,statusMessage:v[H].statusMessage};break}D--}return V})},[v]),(0,Ze.useEffect)(()=>{let x=j.current;j.current=f;let V=re.current;if(re.current=!1,x&&!f&&V&&B&&k){let H=m.length-1,D=m[H];D&&D.role==="assistant"&&D.content&&(A(H),vo({client:y,text:D.content,voice:p,language:y.getShopperLanguage?.(),onEnd:()=>A(null),onError:()=>A(null)}))}},[f,B,k,m,p,y]),(0,Ze.useEffect)(()=>{ae.current?.scrollIntoView({behavior:G?"auto":"smooth"})},[m,G]);let le=async()=>{let x=Y.trim();!x||G||(Wt(),A(null),T(""),I.current&&(I.current.style.height="auto"),await $(x))},w=x=>{x.key==="Enter"&&!x.shiftKey&&!x.nativeEvent.isComposing&&(x.preventDefault(),le())},M=x=>{T(x.target.value);let V=x.target;V.style.height="auto",V.style.height=Math.min(V.scrollHeight,120)+"px"},C=(x,V)=>{te===x?(Wt(),A(null)):(A(x),vo({client:y,text:V,voice:p,language:y.getShopperLanguage?.(),onEnd:()=>A(null),onError:()=>A(null)}))},K=(x,V)=>{let H={role:"user",content:"Uploaded a photo for visual search",imagePreview:V},D=x.style_dna,g=`I've analyzed your image! Here is the Style DNA I found:
4
- `;D&&(D.color_palette&&(g+=`* **Palette:** ${D.color_palette}
5
- `),D.dominant_colors&&D.dominant_colors.length>0&&(g+=`* **Colors:** ${D.dominant_colors.join(", ")}
6
- `),D.aesthetic&&D.aesthetic.length>0&&(g+=`* **Aesthetic:** ${D.aesthetic.join(", ")}
7
- `),D.texture&&(g+=`* **Texture:** ${D.texture}
8
- `),D.formality&&(g+=`* **Formality:** ${D.formality}
9
- `));let O=x.results||[];O.length>0?g+=`
10
- I found ${O.length} matching products in the store for you.`:g+=`
11
- I couldn't find any matching products in the store.`;let de={role:"assistant",content:g,styleDNA:D,visualSources:O.map(oe=>{let ie=oe.entity??{},Te=(0,Ea.resolveDisplayFields)(ie,void 0);return{id:oe.id,url:oe.url??ie.url,fields:ie,name:Te.title,price:Te.price,image:Te.image,brand:Te.subtitle,currency:typeof ie.currency=="string"?ie.currency:void 0}})};U(oe=>[...oe,H,de])},{vars:X}=Aa(i);return(0,Z.jsxs)("div",{className:J("hsk-chat-widget",c.root,n),style:X,children:[(0,Z.jsxs)("div",{className:J("hsk-chat-header",c.header),children:[(0,Z.jsx)("span",{className:"hsk-chat-header-icon",children:(0,Z.jsx)(tr,{})}),(0,Z.jsx)("span",{className:"hsk-chat-title",children:e}),(0,Z.jsx)("span",{className:"hsk-chat-badge",children:"AI"}),(0,Z.jsxs)("div",{style:{marginLeft:"auto",display:"flex",alignItems:"center",gap:"8px"},children:[u&&(0,Z.jsx)("button",{type:"button",className:J("hsk-audio-toggle-btn",B&&"hsk-audio-toggle-btn--active"),onClick:()=>{let x=!B;E(x),x||(Wt(),A(null))},title:B?"Mute AI audio response":"Enable AI audio response","aria-label":B?"Mute voice":"Enable voice",children:(0,Z.jsx)(An,{active:B})}),m.length>0&&(0,Z.jsx)("button",{className:"hsk-chat-reset",onClick:()=>{Wt(),S()},children:"Clear"})]})]}),(0,Z.jsxs)("div",{className:"hsk-chat-messages",children:[m.length===0?(0,Z.jsxs)("div",{className:"hsk-chat-empty",children:[(0,Z.jsx)("div",{className:"hsk-chat-empty-icon",children:(0,Z.jsx)(tr,{})}),(0,Z.jsx)("div",{children:a}),(0,Z.jsx)("div",{className:"hsk-chat-empty-suggestions",children:r})]}):m.map((x,V)=>(0,Z.jsxs)("div",{children:[(0,Z.jsxs)("div",{className:`hsk-msg-row ${x.role}`,children:[(0,Z.jsx)("div",{className:J("hsk-msg-avatar",x.role==="assistant"?"ai":"user"),children:x.role==="assistant"?(0,Z.jsx)(tr,{}):"U"}),(0,Z.jsxs)("div",{className:J("hsk-msg-bubble",x.role,c.messageBubble),children:[x.imagePreview&&(0,Z.jsx)("div",{className:"kiku-vs-preview-bubble",style:{marginBottom:"8px"},children:(0,Z.jsx)("img",{src:x.imagePreview,alt:"Uploaded Preview",className:"kiku-vs-preview-bubble-img",style:{maxWidth:"200px",borderRadius:"8px"}})}),x.thinking&&(0,Z.jsxs)("details",{className:"hsk-thinking-details",open:f&&V===m.length-1&&!x.content,children:[(0,Z.jsxs)("summary",{className:"hsk-thinking-summary",children:["Thought for ",x.thoughtForSeconds??1,"s"]}),(0,Z.jsx)("div",{className:"hsk-thinking-text",children:x.thinking})]}),!x.content&&!x.thinking&&x.role==="assistant"&&V===m.length-1&&(0,Z.jsxs)("div",{className:"hsk-status-live",children:[(0,Z.jsx)("span",{className:"hsk-status-dot"}),(0,Z.jsx)("span",{children:x.statusMessage||"Thinking..."})]}),da(x.content),x.role==="assistant"&&x.content&&!f&&(0,Z.jsx)("button",{type:"button",className:J("hsk-msg-audio-btn",te===V&&"hsk-msg-audio-btn--active"),onClick:()=>C(V,x.content),title:te===V?"Stop speaking":"Listen to response","aria-label":"Toggle speech",children:(0,Z.jsx)(An,{active:te===V})}),f&&V===m.length-1&&x.role==="assistant"&&(0,Z.jsx)("span",{className:"hsk-streaming-cursor"}),x.styleDNA&&(0,Z.jsxs)("div",{className:"kiku-vs-preview-banner",style:{marginTop:"10px"},children:[m[V-1]?.imagePreview&&(0,Z.jsx)("img",{src:m[V-1].imagePreview,alt:"Visual Search Input",className:"kiku-vs-preview-img"}),(0,Z.jsxs)("div",{className:"kiku-vs-preview-info",children:[(0,Z.jsx)("div",{className:"kiku-vs-preview-label",children:"Visual Match Palette"}),(0,Z.jsx)("div",{className:"kiku-vs-preview-palette",children:x.styleDNA.color_palette||"Detected Style DNA"}),x.styleDNA.style_tags&&x.styleDNA.style_tags.length>0&&(0,Z.jsx)("div",{className:"kiku-style-tags",children:x.styleDNA.style_tags.map((H,D)=>(0,Z.jsxs)("span",{className:"kiku-style-tag",children:["#",H]},D))})]})]})]})]}),x.role==="assistant"&&x.visualSources&&x.visualSources.length>0&&(0,Z.jsx)("div",{className:"hsk-sources-container",children:(0,Z.jsx)("div",{className:"hsk-sources",children:x.visualSources.map((H,D)=>(0,Z.jsx)($r,{source:H,defaultCurrency:o,onSelect:s},D))})}),x.role==="assistant"&&V===m.length-1&&!x.visualSources&&N.length>0&&(()=>{if(L||f)return(0,Z.jsx)("div",{className:"hsk-sources-container",children:(0,Z.jsx)("div",{className:"hsk-sources",children:N.map((O,de)=>{let oe=!!(O.id&&P.includes(O.id));return(0,Z.jsx)($r,{source:O,defaultCurrency:o,onSelect:s,isReferenced:oe},de)})})});let D=N.filter(O=>O.id&&P.includes(O.id)),g=P.length>0?[]:N.filter(O=>!O.id||!P.includes(O.id));return(0,Z.jsxs)("div",{className:"hsk-sources-container",children:[D.length>0&&(0,Z.jsxs)("div",{className:"hsk-sources-group",style:{marginBottom:"10px"},children:[(0,Z.jsx)("div",{className:"hsk-sources-group-title",children:"\u2B50 Featured in response"}),(0,Z.jsx)("div",{className:"hsk-sources",children:D.map((O,de)=>(0,Z.jsx)($r,{source:O,defaultCurrency:o,onSelect:s,isReferenced:!0},`feat-${de}`))})]}),g.length>0&&(0,Z.jsxs)("div",{className:"hsk-sources-group",children:[D.length>0&&(0,Z.jsx)("div",{className:"hsk-sources-group-title",children:"All matches"}),(0,Z.jsx)("div",{className:"hsk-sources",children:g.map((O,de)=>(0,Z.jsx)($r,{source:O,defaultCurrency:o,onSelect:s,isReferenced:!1},`gen-${de}`))})]})]})})()]},V)),G&&(0,Z.jsxs)("div",{className:"hsk-msg-row",children:[(0,Z.jsx)("div",{className:"hsk-msg-avatar ai",children:(0,Z.jsx)(tr,{})}),(0,Z.jsxs)("div",{className:"hsk-pending",role:"status","aria-live":"polite",children:[(0,Z.jsxs)("div",{className:"hsk-pending-glyph",children:[(0,Z.jsx)("span",{className:"hsk-pending-ring"}),(0,Z.jsx)("span",{className:"hsk-pending-dot"})]}),(0,Z.jsxs)("div",{className:"hsk-pending-text",children:[(0,Z.jsx)("span",{className:"hsk-pending-step step-1",children:"Searching catalog"}),(0,Z.jsx)("span",{className:"hsk-pending-step step-2",children:"Reasoning"}),(0,Z.jsx)("span",{className:"hsk-pending-step step-3",children:"Composing"})]})]})]}),z&&(0,Z.jsx)("div",{className:"hsk-chat-error",children:(()=>{try{let x=JSON.parse(z);return x.error||x.message||z}catch{return z}})()}),(0,Z.jsx)("div",{ref:ae})]}),(0,Z.jsxs)("div",{className:"hsk-chat-input-area",style:{display:"flex",alignItems:"center",gap:"8px"},children:[h&&(0,Z.jsx)(Dr,{onResults:K,onError:x=>console.error("[VisualSearch] error:",x),categoryHint:d,disabled:G}),(0,Z.jsx)("textarea",{ref:I,className:J("hsk-chat-input",c.input),value:Y,onChange:M,onKeyDown:w,placeholder:t,rows:1,disabled:G,style:{flex:1}}),l&&(0,Z.jsx)(Lr,{onTranscript:x=>{re.current=!0,Wt(),A(null),T(x),$(x),T("")},onInterim:x=>T(x),disabled:G}),(0,Z.jsx)("button",{className:"hsk-chat-send",onClick:le,disabled:!Y.trim()||G,"aria-label":"Send message",children:(0,Z.jsx)(Za,{})})]})]})}var Yt=require("react"),us=require("react-dom");var ar=`@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:216px !important;max-width:calc(100vw - 32px);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 rgba(255,255,255,.7) !important;border-bottom:1px solid color-mix(in srgb,#000 6%,transparent) !important;box-shadow:0 16px 38px -6px color-mix(in srgb,var(--hsk-chat-text,#000) 10%,transparent),0 0 0 1px rgba(255,255,255,.25) inset,0 1px 0 0 rgba(255,255,255,.5) 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-2x2-grid{display:grid !important;grid-template-columns:repeat(2,1fr) !important;gap:4px !important;width:100% !important;box-shadow:none !important;margin-top:6px !important;padding:0 !important;background:transparent !important}.hsk-cb-topbar-ooze-menu .hsk-cb-theme-grid-item{width:100%;height:30px;display:inline-flex;align-items:center;justify-content:flex-start;gap:6px;padding:6px 10px;border-radius:12px;border:1px solid color-mix(in srgb,var(--hsk-chat-border,rgba(255,255,255,.4)) 25%,transparent) !important;border-top:1px solid rgba(255,255,255,.6) !important;background:color-mix(in srgb,var(--hsk-chat-bg,#ffffff) 62%,transparent) !important;backdrop-filter:blur(14px) !important;-webkit-backdrop-filter:blur(14px) !important;color:var(--hsk-chat-muted,#71717a);font-size:11px;font-weight:550;box-sizing:border-box;white-space:nowrap;box-shadow:0 1px 3px rgba(0,0,0,.04),0 1px 0 0 rgba(255,255,255,.35) inset !important;cursor:pointer;transition:all .16s cubic-bezier(.16,1,.3,1)}.hsk-cb-topbar-ooze-menu .hsk-cb-theme-grid-item:hover{background:color-mix(in srgb,var(--hsk-chat-bg,#ffffff) 80%,transparent) !important;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),0 1px 0 0 rgba(255,255,255,.4) inset !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 rgba(255,255,255,.6) !important;border-bottom:1px solid color-mix(in srgb,#000 6%,transparent) !important;box-shadow:0 4px 14px -2px color-mix(in srgb,var(--hsk-chat-text,#000) 6%,transparent),0 1px 0 0 rgba(255,255,255,.4) 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:rgba(255,255,255,.75) !important;transform:translateY(-1px);box-shadow:0 6px 18px -2px color-mix(in srgb,var(--hsk-chat-text,#000) 9%,transparent),0 1px 0 0 rgba(255,255,255,.55) 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 rgba(255,255,255,.6) !important;border-bottom:1px solid color-mix(in srgb,#000 6%,transparent) !important;box-shadow:0 4px 16px -2px color-mix(in srgb,var(--hsk-chat-text,#000) 6%,transparent),0 1px 0 0 rgba(255,255,255,.4) 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:rgba(255,255,255,.8) !important;transform:translateY(-1px);box-shadow:0 6px 20px -2px color-mix(in srgb,var(--hsk-chat-text,#000) 10%,transparent),0 1px 0 0 rgba(255,255,255,.55) 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 rgba(255,255,255,.6) !important;border-bottom:1px solid color-mix(in srgb,#000 6%,transparent) !important;box-shadow:0 4px 16px -2px color-mix(in srgb,var(--hsk-chat-text,#000) 6%,transparent),0 1px 0 0 rgba(255,255,255,.4) 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:rgba(255,255,255,.8) !important;transform:translateY(-1px);box-shadow:0 6px 20px -2px color-mix(in srgb,var(--hsk-chat-text,#000) 10%,transparent),0 1px 0 0 rgba(255,255,255,.55) inset !important}.hsk-cb-scout-rail-card{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 rgba(255,255,255,.65);border-bottom:1px solid color-mix(in srgb,#000 6%,transparent);box-shadow:0 16px 38px -6px color-mix(in srgb,var(--hsk-chat-text,#000) 10%,transparent),0 0 0 1px rgba(255,255,255,.2) inset,0 1px 0 0 rgba(255,255,255,.5) 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-theme-2x2-grid{display:grid;grid-template-columns:repeat(2,1fr);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 rgba(255,255,255,.65);border-bottom:1px solid color-mix(in srgb,#000 6%,transparent);box-shadow:0 16px 38px -6px color-mix(in srgb,var(--hsk-chat-text,#000) 10%,transparent),0 0 0 1px rgba(255,255,255,.2) inset,0 1px 0 0 rgba(255,255,255,.5) 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:flex-start;gap:6px;height:30px;padding:0 10px;border-radius:12px;border:1px solid color-mix(in srgb,var(--hsk-chat-border,rgba(255,255,255,.3)) 25%,transparent) !important;border-top:1px solid rgba(255,255,255,.45) !important;outline:none !important;background:color-mix(in srgb,var(--hsk-chat-bg,#ffffff) 65%,transparent);color:var(--hsk-chat-text,currentColor);backdrop-filter:blur(16px);-webkit-backdrop-filter:blur(16px);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 rgba(255,255,255,.3) 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:rgba(255,255,255,.7) !important;transform:translateY(-1px);box-shadow:0 3px 8px rgba(0,0,0,.08),0 1px 0 0 rgba(255,255,255,.45) 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 rgba(255,255,255,.4) 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 rgba(255,255,255,.35);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 rgba(255,255,255,.25) 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:rgba(255,255,255,.55);box-shadow:0 3px 10px color-mix(in srgb,var(--hsk-chat-text,#000) 8%,transparent),0 1px 0 0 rgba(255,255,255,.35) 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 rgba(255,255,255,.3) 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 rgba(255,255,255,.5);border-bottom:1px solid color-mix(in srgb,#000 6%,transparent);box-shadow:0 12px 34px -4px color-mix(in srgb,var(--hsk-chat-text,#000) 10%,transparent),0 0 0 1px rgba(255,255,255,.25) inset,0 1px 0 0 rgba(255,255,255,.45) 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{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>: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-entlang-opt-note{font-size:12.5px;color:var(--hsk-chat-muted,#71717a);line-height:1.45}.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: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 rgba(255,255,255,.35);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 rgba(255,255,255,.45)}.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__char{display:inline-block;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 rgba(255,255,255,.12);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 rgba(255,255,255,.2)}.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 rgba(255,255,255,.28);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-above{transform-origin:var(--tail-x,80%) calc(100%+14px)}.hsk-tapback-group.is-below{transform-origin:var(--tail-x,80%) -14px}.hsk-tapback-capsule{display:inline-flex;align-items:center;gap:2px;padding:4px 6px;height:38px;min-height:38px;border-radius:999px;background:color-mix(in srgb,var(--hsk-surface-1,var(--hsk-bubble-bg,var(--hsk-chat-bg,#1c1c1e))) 80%,transparent);border:1px solid color-mix(in srgb,var(--hsk-chat-text,#ffffff) 14%,transparent);box-shadow:0 12px 32px rgba(0,0,0,.26),0 3px 8px rgba(0,0,0,.08),inset 0 1px 1px color-mix(in srgb,var(--hsk-chat-text,#ffffff) 12%,transparent);backdrop-filter:blur(28px) saturate(190%);-webkit-backdrop-filter:blur(28px) saturate(190%);max-width:calc(100vw - 20px);position:relative;z-index:2;box-sizing:border-box}.hsk-tapback-tail{position:absolute;top:calc(100% - 6px);transform:translateX(-50%);display:flex;flex-direction:column;align-items:center;pointer-events:none;z-index:1}.hsk-tapback-tail.is-below{top:auto;bottom:calc(100% - 6px);flex-direction:column-reverse}.hsk-tapback-dot{display:block;border-radius:50%;flex-shrink:0;position:relative}.hsk-tapback-dot--top{width:20px;height:20px;background:color-mix(in srgb,var(--hsk-surface-1,var(--hsk-bubble-bg,var(--hsk-chat-bg,#1c1c1e))) 80%,transparent);border:1px solid color-mix(in srgb,var(--hsk-chat-text,#ffffff) 14%,transparent);backdrop-filter:blur(28px) saturate(190%);-webkit-backdrop-filter:blur(28px) saturate(190%);box-shadow:0 3px 8px rgba(0,0,0,.16);z-index:3}.hsk-tapback-dot-bridge{position:absolute;top:-3px;left:2px;right:2px;height:8px;background:color-mix(in srgb,var(--hsk-surface-1,var(--hsk-bubble-bg,var(--hsk-chat-bg,#1c1c1e))) 90%,transparent);border-radius:999px;z-index:4}.hsk-tapback-tail.is-below .hsk-tapback-dot-bridge{top:auto;bottom:-3px}.hsk-tapback-dot--mid{width:11px;height:11px;margin-top:-3px;background:color-mix(in srgb,var(--hsk-surface-1,var(--hsk-bubble-bg,var(--hsk-chat-bg,#1c1c1e))) 80%,transparent);border:1px solid color-mix(in srgb,var(--hsk-chat-text,#ffffff) 14%,transparent);backdrop-filter:blur(28px) saturate(190%);-webkit-backdrop-filter:blur(28px) saturate(190%);box-shadow:0 2px 5px rgba(0,0,0,.14);z-index:2}.hsk-tapback-tail.is-below .hsk-tapback-dot--mid{margin-top:0;margin-bottom:-3px}.hsk-tapback-dot--anchor{width:6px;height:6px;margin-top:-2px;background:var(--hsk-anchor-color,var(--hsk-primary,#007aff));box-shadow:0 1px 3px rgba(0,0,0,.18);z-index:1}.hsk-tapback-tail.is-below .hsk-tapback-dot--anchor{margin-top:0;margin-bottom:-2px}.hsk-tapback-tool-btn{display:inline-flex;align-items:center;gap:5px;padding:4px 11px;height:30px;border-radius:999px;font-size:12.5px;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(.18) translateY(14px)}55%{opacity:1;transform:scale(1.05) translateY(-2px)}75%{transform:scale(.98) translateY(0)}100%{opacity:1;transform:scale(1) translateY(0)}}@keyframes hsk-tapback-tool-pop{0%{opacity:0;transform:scale(.85)}100%{opacity:1;transform:scale(1)}}.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,var(--hsk-chat-text) 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;animation:hsk-scout-ooze .5s cubic-bezier(.16,1,.3,1) backwards;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;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,var(--hsk-chat-text) 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}@keyframes hsk-scout-ooze{from{transform:scale(.15);opacity:0}to{transform:none;opacity:1}}.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;animation:hsk-scout-ooze .5s cubic-bezier(.16,1,.3,1) backwards;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-slider{inline-size:100%;block-size:4px;margin:0 0 8px;padding:0;border-radius:999px;appearance:none;-webkit-appearance:none;background:color-mix(in srgb,var(--hsk-chat-text) 14%,transparent);cursor:pointer}.hsk-cb-scout-slider::-webkit-slider-thumb{appearance:none;-webkit-appearance:none;inline-size:14px;block-size:14px;border:none;border-radius:999px;background:var(--hsk-primary);box-shadow:0 1px 5px color-mix(in srgb,var(--hsk-primary) 55%,transparent);cursor:pointer}.hsk-cb-scout-slider::-moz-range-thumb{inline-size:14px;block-size:14px;border:none;border-radius:999px;background:var(--hsk-primary);cursor:pointer}.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:8px;padding:7px 0;border:none;border-radius:11px;background:var(--hsk-primary);color:var(--hsk-on-active,#fff);font:inherit;font-size:11px;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-hit{font-size:8.5px;font-weight:800;text-transform:uppercase;letter-spacing:.04em;color:var(--hsk-primary)}.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-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-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 Ln="akropolys-kiku-root",aa=null,rr=null;function Jc(e){if(typeof CSSStyleSheet<"u"&&"replaceSync"in CSSStyleSheet.prototype)try{let a=new CSSStyleSheet;a.replaceSync(ar),e.adoptedStyleSheets=[...e.adoptedStyleSheets,a];return}catch{}let t=document.createElement("style");t.textContent=ar,e.appendChild(t)}function or(){return typeof document>"u"?null:rr||(aa=document.getElementById(Ln),aa||(aa=document.createElement("div"),aa.id=Ln,aa.style.cssText="all: initial;",document.body.appendChild(aa)),rr=aa.shadowRoot??aa.attachShadow({mode:"open"}),Jc(rr),rr)}var ms=require("@akropolys/sdk");var In=new WeakMap;function So(e){if(!e)return Promise.resolve(null);let t=In.get(e);if(t)return t;let a=Promise.resolve().then(()=>e.baseFont?.()??null).catch(()=>null);return In.set(e,a),a}function En(e,t,a){if(e&&(So(e),t))try{e.getUIStrings?.(t,a)?.catch?.(()=>{})}catch{}}var Co=require("react"),$t=new Map;function Zc(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 $n(e){let t=e.trim();return!t||/["'()\\\s]/.test(t)||/^(javascript|vbscript):/i.test(t)?null:t}var el=/^[Uu]\+[0-9A-Fa-f?]{1,6}(-[0-9A-Fa-f]{1,6})?$/,Dn=e=>{let t=e.split(",").map(a=>a.trim()).filter(Boolean);return t.length===0||!t.every(a=>el.test(a))?"":t.join(", ")},tl=e=>/^\d{3}( \d{3})?$/.test(e)?e:"400";function al(e,t){(0,Co.useEffect)(()=>{if(!e||!t||typeof document>"u")return;let a=5381;for(let o=0;o<e.length;o++)a=(a<<5)+a+e.charCodeAt(o)>>>0;let r=`hsk-font-${a.toString(36)}`;if($t.set(e,($t.get(e)??0)+1),!document.getElementById(r)){let o=document.createElement("style");o.id=r,o.textContent=t,document.head.appendChild(o)}return()=>{let o=($t.get(e)??1)-1;if(o>0){$t.set(e,o);return}$t.delete(e),document.getElementById(r)?.remove()}},[e,t])}function Fn(e){return e.faces.map(t=>{let a=$n(t.url);return a?`@font-face{font-family:"${e.family}";font-style:normal;font-weight:${tl(t.weight)};font-display:swap;src:url(${a}) format("woff2");`+(Dn(t.unicodeRange)?`unicode-range:${Dn(t.unicodeRange)};`:"")+"}":""}).join("")}function Mo(e){let t=e?.faces??[],a=e&&t.length?Fn(e):"";al(a?`script|${e.family}|${t.map(r=>r.url).join("|")}`:"",a)}async function _n(e,t=1200){if(typeof document>"u"||!("fonts"in document))return;let a=Fn(e);if(!a)return;let r=`script|${e.family}|${e.faces.map(s=>s.url).join("|")}`,o=5381;for(let s=0;s<r.length;s++)o=(o<<5)+o+r.charCodeAt(s)>>>0;let n=`hsk-font-${o.toString(36)}`;if(!document.getElementById(n)){let s=document.createElement("style");s.id=n,s.textContent=a,document.head.appendChild(s)}let i=document.fonts,c=e.faces.map(()=>i.load(`16px "${e.family}"`).catch(()=>{}));await Promise.race([Promise.all(c),new Promise(s=>setTimeout(s,t))])}function Fr(e){let t=typeof e=="object"&&e?e:void 0,a=t?.fontFamily?.split(",")[0].trim().replace(/^['"]|['"]$/g,"")??"",r=typeof t?.fontUrl=="string"?{normal:t.fontUrl}:t?.fontUrl??{},o=r.normal??"",n=r.bold??"",i=r.variable??"";(0,Co.useEffect)(()=>{if(!a||!o&&!n&&!i)return;let c=i?[["100 900",i]]:[["400",o],["700",n]],s=[];for(let[p,k]of c){if(!k)continue;let y=$n(k);if(!y)continue;let v=Zc(y);s.push(`@font-face{font-family:"${a}";font-style:normal;font-weight:${p};font-display:swap;src:url(${y})${v?` format("${v}")`:""};}`)}if(s.length===0)return;let l=s.join(""),h=`${a}|${o}|${n}|${i}`,d=5381;for(let p=0;p<h.length;p++)d=(d<<5)+d+h.charCodeAt(p)>>>0;let u=`hsk-host-font-${d.toString(36)}`;if($t.set(h,($t.get(h)??0)+1),!document.getElementById(u)){let p=document.createElement("style");p.id=u,p.textContent=l,document.head.appendChild(p)}return()=>{let p=($t.get(h)??1)-1;if(p>0){$t.set(h,p);return}$t.delete(h),document.getElementById(u)?.remove()}},[a,o,n,i])}var No=Lt(require("react")),ir=[],_r=[{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 nr(e){if(!e)return;let t=e.trim();if(!t)return;let a=t.toLowerCase(),r=_r.find(o=>o.value.toLowerCase()===a||o.native.toLowerCase()===a||o.tag===a);return r?r.native:t}function Bn(e){for(let t of e){let a=t.codePointAt(0)??0;if(a>=1424&&a<=2303||a>=64285&&a<=65023||a>=65136&&a<=65279)return!0}return!1}var rl={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 qn(e){let t=e.trim();return t?t.charAt(0).toUpperCase()+t.slice(1):"\u2026"}function To(e){if(!e)return{nativeName:"\u2026",preparing:"Preparing\u2026",changeLang:"\u2190",rtl:!1,known:!0};let t=e.trim().toLowerCase(),a=Object.entries(rl).find(([i,c])=>i===t||c.endonym?.toLowerCase()===t||nr(i)?.toLowerCase()===t);if(a)return{nativeName:a[1].endonym||nr(e)||qn(e),preparing:a[1].preparing,changeLang:a[1].changeLang,rtl:!!a[1].rtl||Bn(a[1].preparing),known:!0};let r=nr(e)||e,o=qn(r),n=Bn(o);return{nativeName:o,preparing:`Preparing in ${o}\u2026`,changeLang:n?"\u062A\u063A\u064A\u064A\u0631":"Change",rtl:n,known:!1}}var Br=[{name:"Puck",label:"Puck",gender:"male"},{name:"Charon",label:"Charon",gender:"male"},{name:"Kore",label:"Kore",gender:"female"},{name:"Aoede",label:"Aoede",gender:"female"}],zo="hsk-live-voice",ha={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"},Ro=No.default.createContext((e,t)=>{let a=ha[e];if(t)for(let[r,o]of Object.entries(t))a=a.split(`{${r}}`).join(o);return a}),ra=()=>No.default.useContext(Ro);function Un(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 a=t.split(/\s+/);if(a.length===0||a.length>3||!/^[\p{L}][\p{L}\-'’ ]{0,30}$/u.test(t))return null;let r=t.toLowerCase();if(["phone","laptop","tv","cheap","best","under","buy","search","find","show","need","want","price","sofa","shoe","headphone","camera","gift","help"].some(i=>r.includes(i)))return null;let n=a[0];return n.charAt(0).toUpperCase()+n.slice(1)}var Hn={shopper_reply_limit:"errShopperReplyLimit",RATE_LIMIT_EXCEEDED:"errShopperReplyLimit",access_revoked:"errAccessRevoked",account_required:"errAccountRequired",stream_interrupted:"errStreamInterrupted"};var jn=(e,t)=>{let a=e&&typeof e=="object"?e.code:void 0;if(a&&Hn[a])return t(Hn[a]);let r="";if(typeof e=="string")r=e;else if(e&&typeof e=="object"&&e.message)r=e.message;else try{r=JSON.stringify(e)}catch{r=String(e)}let o=r.toLowerCase();if(o.includes("429")||o.includes("too many requests")||o.includes("requests per minute limit exceeded")||o.includes("too_many_requests_error")||o.includes("request_quota_exceeded")||o.includes("quota"))return t("errTooManyRequests");if(o.includes("token limit"))return t("errTokenLimit");if(o.includes("failed to fetch")||o.includes("networkerror")||o.includes("request failed"))return t("errNetwork");if(r)try{console.warn("[kiku] untranslated error:",r)}catch{}return t("errGeneric")},Vn=()=>typeof window>"u"||window.isSecureContext!==!1,Po=15;var pe=Lt(require("react"));var W=require("react/jsx-runtime"),ol=({className:e,size:t=18,tight:a=!1})=>(0,W.jsx)("svg",{className:J("hsk-brand-mark",e),width:t,height:t,viewBox:a?"10.2 17.4 79.5 79.5":"0 0 100 100",xmlns:"http://www.w3.org/2000/svg","aria-label":"kiku",children:(0,W.jsxs)("g",{transform:"translate(22.7 19) scale(0.62)",fill:"currentColor",fillRule:"evenodd",children:[(0,W.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,W.jsx)("circle",{cx:"55",cy:"82",r:"3.4"})]})}),Nt=ol,Wn=()=>(0,W.jsxs)("svg",{className:"hsk-stop-icon",width:"18",height:"18",viewBox:"0 0 24 24",fill:"none",children:[(0,W.jsx)("circle",{className:"hsk-stop-ring",cx:"12",cy:"12",r:"9.5",stroke:"currentColor",strokeWidth:"1.6",strokeLinecap:"round"}),(0,W.jsx)("rect",{className:"hsk-stop-core",x:"8.5",y:"8.5",width:"7",height:"7",rx:"1.8",fill:"currentColor"})]});var Kn=()=>(0,W.jsxs)("svg",{width:"12",height:"12",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2.2",strokeLinecap:"round",strokeLinejoin:"round",children:[(0,W.jsx)("path",{d:"M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6"}),(0,W.jsx)("polyline",{points:"15 3 21 3 21 9"}),(0,W.jsx)("line",{x1:"10",y1:"14",x2:"21",y2:"3"})]}),On=()=>(0,W.jsx)("svg",{width:"13",height:"13",viewBox:"0 0 24 24",fill:"currentColor",children:(0,W.jsx)("path",{d:"M8 5v14l11-7z"})}),Da=()=>(0,W.jsxs)("svg",{width:"16",height:"16",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2.5",strokeLinecap:"round",strokeLinejoin:"round",children:[(0,W.jsx)("line",{x1:"18",y1:"6",x2:"6",y2:"18"}),(0,W.jsx)("line",{x1:"6",y1:"6",x2:"18",y2:"18"})]}),qr=()=>(0,W.jsx)("svg",{width:"16",height:"16",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:(0,W.jsx)("path",{d:"m15 18-6-6 6-6"})}),Yn=()=>(0,W.jsx)("svg",{width:"16",height:"16",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:(0,W.jsx)("path",{d:"m9 18 6-6-6-6"})}),Gn=()=>(0,W.jsxs)("svg",{width:"16",height:"16",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:[(0,W.jsx)("path",{d:"M3 12a9 9 0 1 0 9-9 9.75 9.75 0 0 0-6.74 2.74L3 8"}),(0,W.jsx)("path",{d:"M3 3v5h5"}),(0,W.jsx)("path",{d:"M12 7v5l4 2"})]}),Hr=()=>(0,W.jsx)("svg",{width:"16",height:"16",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:(0,W.jsx)("path",{d:"M19 21 12 16l-7 5V5a2 2 0 0 1 2-2h10a2 2 0 0 1 2 2z"})}),Qn=()=>(0,W.jsxs)("svg",{width:"16",height:"16",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:[(0,W.jsx)("path",{d:"M3 6h18"}),(0,W.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 Xn=()=>(0,W.jsx)("svg",{width:"19",height:"19",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",children:(0,W.jsx)("path",{d:"M12 5v14M5 12h14"})}),Ao=()=>(0,W.jsx)("svg",{width:"18",height:"18",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:(0,W.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"})}),sr=({className:e,size:t=13}={})=>(0,W.jsxs)("svg",{className:J("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,W.jsx)("path",{className:"hsk-retry-arrow",d:"M21.5 2v6h-6"}),(0,W.jsx)("path",{className:"hsk-retry-arc",d:"M21.34 15.57a10 10 0 1 1-.57-8.38l5.67-5.19"})]}),Ur=({className:e,size:t=13}={})=>(0,W.jsxs)("svg",{className:J("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,W.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,W.jsx)("path",{className:"hsk-edit-lead",d:"m15 5 4 4"})]}),ua=({className:e,size:t=13}={})=>(0,W.jsxs)("svg",{className:J("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,W.jsx)("rect",{className:"hsk-copy-sheet",x:"8.5",y:"7",width:"12",height:"14",rx:"3.5"}),(0,W.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"})]}),ma=({className:e,size:t=13}={})=>(0,W.jsx)("svg",{className:J("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,W.jsx)("polyline",{className:"hsk-check-mark",points:"20 6 9 17 4 12"})}),$a=({className:e,size:t=18}={})=>(0,W.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,W.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,W.jsx)("path",{d:"M19 10v2a7 7 0 0 1-14 0v-2"}),(0,W.jsx)("line",{x1:"12",y1:"19",x2:"12",y2:"22"})]}),jr=()=>(0,W.jsxs)("svg",{width:"18",height:"18",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:[(0,W.jsx)("line",{x1:"2",y1:"2",x2:"22",y2:"22"}),(0,W.jsx)("path",{d:"M18.89 13.23A7.12 7.12 0 0 0 19 12v-2"}),(0,W.jsx)("path",{d:"M5 10v2a7 7 0 0 0 12 5"}),(0,W.jsx)("path",{d:"M15 9.34V5a3 3 0 0 0-5.68-1.33"}),(0,W.jsx)("path",{d:"M9 9v3a3 3 0 0 0 5.12 2.12"}),(0,W.jsx)("line",{x1:"12",y1:"19",x2:"12",y2:"22"})]}),Lo=({active:e})=>(0,W.jsxs)("svg",{width:"18",height:"18",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:[(0,W.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,W.jsx)("path",{className:"hsk-wave-bar",style:{"--hsk-bar":1,"--hsk-amp":1.78,"--hsk-period":"0.94s"},d:"M6 8v8"}),(0,W.jsx)("path",{className:"hsk-wave-bar",style:{"--hsk-bar":2,"--hsk-amp":1.26,"--hsk-period":"1.42s"},d:"M10 4v16"}),(0,W.jsx)("path",{className:"hsk-wave-bar",style:{"--hsk-bar":3,"--hsk-amp":1.62,"--hsk-period":"1.08s"},d:"M14 7v10"}),(0,W.jsx)("path",{className:"hsk-wave-bar",style:{"--hsk-bar":4,"--hsk-amp":2.05,"--hsk-period":"0.86s"},d:"M18 9v6"}),(0,W.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"})]}),Jn=()=>(0,W.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,W.jsx)("polygon",{className:"hsk-kite-wing hsk-kite-wing--far",points:"22 2 11 13 2 9"}),(0,W.jsx)("polygon",{className:"hsk-kite-wing hsk-kite-wing--near",points:"22 2 15 22 11 13"}),(0,W.jsx)("line",{className:"hsk-kite-spine",x1:"22",y1:"2",x2:"11",y2:"13"})]}),Zn=()=>(0,W.jsxs)("svg",{width:"13",height:"13",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:[(0,W.jsx)("circle",{className:"hsk-sun-core",cx:"12",cy:"12",r:"5"}),(0,W.jsxs)("g",{className:"hsk-sun-rays",children:[(0,W.jsx)("line",{x1:"12",y1:"1",x2:"12",y2:"3"}),(0,W.jsx)("line",{x1:"12",y1:"21",x2:"12",y2:"23"}),(0,W.jsx)("line",{x1:"4.22",y1:"4.22",x2:"5.64",y2:"5.64"}),(0,W.jsx)("line",{x1:"18.36",y1:"18.36",x2:"19.78",y2:"19.78"}),(0,W.jsx)("line",{x1:"1",y1:"12",x2:"3",y2:"12"}),(0,W.jsx)("line",{x1:"21",y1:"12",x2:"23",y2:"12"}),(0,W.jsx)("line",{x1:"4.22",y1:"19.78",x2:"5.64",y2:"18.36"}),(0,W.jsx)("line",{x1:"18.36",y1:"5.64",x2:"19.78",y2:"4.22"})]})]}),ei=()=>(0,W.jsx)("svg",{width:"13",height:"13",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:(0,W.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"})}),ti=()=>(0,W.jsxs)("svg",{width:"13",height:"13",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:[(0,W.jsx)("path",{className:"hsk-wood-layer",style:{"--hsk-layer":0},d:"M12 2L2 7l10 5 10-5-10-5z"}),(0,W.jsx)("path",{className:"hsk-wood-layer",style:{"--hsk-layer":2},d:"M2 17l10 5 10-5"}),(0,W.jsx)("path",{className:"hsk-wood-layer",style:{"--hsk-layer":1},d:"M2 12l10 5 10-5"})]}),ai=()=>(0,W.jsx)("svg",{width:"13",height:"13",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:(0,W.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"})}),ri=()=>(0,W.jsxs)("svg",{width:"13",height:"13",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:[(0,W.jsx)("path",{d:"M17 8h1a4 4 0 1 1 0 8h-1"}),(0,W.jsx)("path",{d:"M3 8h14v9a4 4 0 0 1-4 4H7a4 4 0 0 1-4-4z"}),(0,W.jsx)("line",{className:"hsk-steam",style:{"--hsk-steam":0},x1:"6",y1:"1",x2:"6",y2:"4"}),(0,W.jsx)("line",{className:"hsk-steam",style:{"--hsk-steam":1},x1:"10",y1:"1",x2:"10",y2:"4"}),(0,W.jsx)("line",{className:"hsk-steam",style:{"--hsk-steam":2},x1:"14",y1:"1",x2:"14",y2:"4"})]}),oi=()=>(0,W.jsxs)("svg",{width:"13",height:"13",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:[(0,W.jsx)("path",{d:"M12 3a6.5 6.5 0 0 0 9 9 9 9 0 1 1-9-9z"}),(0,W.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 ni=({size:e=11})=>(0,W.jsxs)("svg",{width:e,height:e,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2.6",strokeLinecap:"round",strokeLinejoin:"round",children:[(0,W.jsx)("line",{x1:"18",y1:"6",x2:"6",y2:"18"}),(0,W.jsx)("line",{x1:"6",y1:"6",x2:"18",y2:"18"})]}),ii=({className:e,size:t=16,filled:a=!1}={})=>(0,W.jsxs)("svg",{className:J("hsk-pin-icon",e),width:t,height:t,viewBox:"0 0 24 24",fill:a?"currentColor":"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:[(0,W.jsx)("line",{x1:"12",y1:"17",x2:"12",y2:"22"}),(0,W.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 ka=[{id:"light",label:"Silver",Icon:Zn,dark:!1},{id:"dark",label:"Onyx",Icon:ei,dark:!0},{id:"mahogany",label:"Mahogany",Icon:ti,dark:!0},{id:"blush",label:"Blush",Icon:ai,dark:!1},{id:"coffee",label:"Coffee",Icon:ri,dark:!1},{id:"midnight",label:"Midnight",Icon:oi,dark:!0}],Io="dark",si="light";function Eo(e){return typeof e=="string"&&ka.some(t=>t.id===e)}function Do(e){return ka.find(t=>t.id===e)??ka[0]}var Ua=require("@akropolys/sdk"),hs=require("@akropolys/sdk");var Vr=require("react");function nl(e,t,a=.55){return t<=0?0:e*t*a/(t+a*Math.abs(e))}function il({stiffness:e=500,damping:t=45,onFrame:a,onRest:r}){let o=0,n=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)),k=u/p;for(let y=0;y<p;y++){let v=-e*(o-i)-t*n;n+=v*k,o+=n*k}if(Math.abs(o-i)<.5&&Math.abs(n)<.5){o=i,n=0,c=null,a(o),r?.();return}a(o),c=requestAnimationFrame(l)},h=()=>{c===null&&(s=performance.now(),c=requestAnimationFrame(l))};return{track(d){c!==null&&(cancelAnimationFrame(c),c=null),o=d,n=0,a(o)},to(d,u=0){i=d,n=u,h()},get value(){return o},stop(){c!==null&&(cancelAnimationFrame(c),c=null)}}}function ci({panel:e,scroller:t,onDismiss:a,quiescent:r,enabled:o=!0}){let n=(0,Vr.useRef)(a);n.current=a,(0,Vr.useEffect)(()=>{if(!o)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,k=0,y=!1,v=!1,P=il({onFrame:S=>{i.style.transform=S===0?"":`translate3d(0, ${S}px, 0)`;let Y=i.parentElement;Y&&(Y.style.opacity=S===0?"":String(Math.max(.35,1-S/(i.offsetHeight||1)*1.1)))},onRest:()=>{i.style.willChange="",v&&(v=!1,n.current())}}),L=()=>{let S=t();return S&&S.scrollTop>0?!1:r?r():!0},f=S=>{S.pointerType==="mouse"||!S.isPrimary||(c=!1,y=!1,d=S.pointerId,s=u=S.clientY,l=S.clientX,p=S.timeStamp,k=0,h=P.value)},z=S=>{if(S.pointerId!==d)return;let Y=S.clientY-s,T=S.clientX-l;if(!y){if(Math.abs(Y)<6&&Math.abs(T)<6)return;if(y=!0,c=Y>0&&Math.abs(Y)>Math.abs(T)&&L(),c){try{i.setPointerCapture(S.pointerId)}catch{}P.stop(),i.style.animation="none",i.style.willChange="transform"}}if(!c)return;let _=S.timeStamp-p;_>0&&(k=(S.clientY-u)/_*1e3),u=S.clientY,p=S.timeStamp;let F=h+Y;P.track(F<0?-nl(-F,i.offsetHeight||1):F),S.cancelable&&S.preventDefault()},$=S=>{if(S.pointerId!==d)return;try{i.hasPointerCapture(S.pointerId)&&i.releasePointerCapture(S.pointerId)}catch{}if(d=-1,!c)return;c=!1;let Y=i.offsetHeight||1;P.value+k*.12>Y*.3||k>900?(v=!0,i.style.pointerEvents="none",P.to(Y,k)):P.to(0,k)};return i.addEventListener("pointerdown",f,{passive:!0}),i.addEventListener("pointermove",z,{passive:!1}),i.addEventListener("pointerup",$,{passive:!0}),i.addEventListener("pointercancel",$,{passive:!0}),()=>{P.stop(),i.removeEventListener("pointerdown",f),i.removeEventListener("pointermove",z),i.removeEventListener("pointerup",$),i.removeEventListener("pointercancel",$),i.style.transform="",i.style.willChange="",i.style.animation="",i.style.pointerEvents="";let S=i.parentElement;S&&(S.style.opacity="")}},[o,e,t,r])}var Ve=require("react");var li=(e,t)=>Math.hypot(e.x-t.x,e.y-t.y);function sl(e){let t=0;for(let a=1;a<e.length;a++)t+=li(e[a-1],e[a]);return t}function pi(e){let t=1/0,a=1/0,r=-1/0,o=-1/0;for(let n of e)n.x<t&&(t=n.x),n.y<a&&(a=n.y),n.x>r&&(r=n.x),n.y>o&&(o=n.y);return{minX:t,minY:a,maxX:r,maxY:o}}var Fa=e=>Math.max(0,Math.min(1e3,Math.round(e)));function di(e,t,a){return[Fa(e.minY/a*1e3),Fa(e.minX/t*1e3),Fa(e.maxY/a*1e3),Fa(e.maxX/t*1e3)]}function cl(e,t){let[a,r,o,n]=e,[i,c,s,l]=t,h=Math.min(n,l)-Math.max(r,c),d=Math.min(o,s)-Math.max(a,i);if(h<=0||d<=0)return!1;let u=Math.min((n-r)*(o-a),(l-c)*(s-i));return u>0&&h*d/u>.35}var ll=(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 pl(e,t,a){if(e.length<2)return null;let r=pi(e),o=di(r,t,a),n=Math.hypot(r.maxX-r.minX,r.maxY-r.minY);if(n<4)return null;let i=sl(e),c=li(e[0],e[e.length-1]),s=i/Math.max(c,1e-6);return c/n<.3&&i>n*1.8?{gesture:"ring",box:o,straight:!1}:s<1.25?{gesture:"arrow",box:o,to:[Fa(e[e.length-1].y/a*1e3),Fa(e[e.length-1].x/t*1e3)],straight:!0}:{gesture:"scribble",box:o,straight:!1}}function hi(e,t,a){if(!t||!a)return[];let r=[],o=[];for(let c of e){if(c.kind==="text"&&c.value&&typeof c.x=="number"&&typeof c.y=="number"){let s={x:c.x,y:c.y};o.push({gesture:"text",box:di(pi([s,s]),t,a),text:c.value});continue}if(c.kind==="stroke"&&c.tool!=="eraser"&&c.points){let s=pl(c.points,t,a);s&&r.push(s)}}let n=new Set,i=[];for(let c=0;c<r.length;c++){if(n.has(c))continue;let s=r[c];for(let l=c+1;l<r.length;l++)n.has(l)||!s.straight||!r[l].straight||cl(s.box,r[l].box)&&(n.add(l),s={gesture:"cross",box:ll(s.box,r[l].box),straight:!1});n.add(c),i.push(s.gesture==="arrow"?{gesture:"arrow",box:s.box,to:s.to}:{gesture:s.gesture,box:s.box})}return[...i,...o]}var Pe=require("react/jsx-runtime"),ui=["#111111","#ff5a5a","#ffb300","#22c55e","#06b6d4","#d946ef","#9ca3af"],dl=1280;function mi({src:e,onCancel:t,onSend:a,t:r}){let[o,n]=(0,Ve.useState)(null),[i,c]=(0,Ve.useState)(!1),[s,l]=(0,Ve.useState)("pen"),[h,d]=(0,Ve.useState)(ui[1]),[u,p]=(0,Ve.useState)([]),[k,y]=(0,Ve.useState)(null),[v,N]=(0,Ve.useState)(""),[P,L]=(0,Ve.useState)(""),[f,z]=(0,Ve.useState)(!1),$=(0,Ve.useRef)(null),S=(0,Ve.useRef)(null),Y=(0,Ve.useRef)(null);(0,Ve.useEffect)(()=>{let m=new Image;m.crossOrigin="anonymous",m.onload=()=>n(m),m.onerror=()=>c(!0),m.src=e},[e]);let T=(()=>{if(!o)return{w:0,h:0};let m=Math.min(1,dl/Math.max(o.naturalWidth,o.naturalHeight));return{w:Math.round(o.naturalWidth*m),h:Math.round(o.naturalHeight*m)}})(),_=(0,Ve.useRef)(null),F=m=>{let U=$.current;if(!U||!o)return;let q=U.getContext("2d");if(!q)return;_.current||(_.current=document.createElement("canvas"));let le=_.current;le.width=U.width,le.height=U.height;let w=le.getContext("2d"),M=m?[...u,m]:u;for(let C of M)C.kind==="stroke"?(w.save(),w.globalCompositeOperation=C.tool==="eraser"?"destination-out":"source-over",w.strokeStyle=C.color,w.lineWidth=C.tool==="eraser"?C.size*3:C.size,w.lineCap="round",w.lineJoin="round",w.beginPath(),C.points.forEach((K,X)=>X===0?w.moveTo(K.x,K.y):w.lineTo(K.x,K.y)),C.points.length===1&&w.lineTo(C.points[0].x+.01,C.points[0].y),w.stroke(),w.restore()):(w.save(),w.fillStyle=C.color,w.font=`600 ${C.size}px system-ui, sans-serif`,w.fillText(C.value,C.x,C.y),w.restore());q.clearRect(0,0,U.width,U.height),q.drawImage(o,0,0,U.width,U.height),q.drawImage(le,0,0)};(0,Ve.useEffect)(()=>{F()},[o,u,T.w,T.h]),(0,Ve.useEffect)(()=>{k&&Y.current?.focus()},[k]);let ae=m=>{let U=$.current,q=U.getBoundingClientRect();return{x:(m.clientX-q.left)/q.width*U.width,y:(m.clientY-q.top)/q.height*U.height}},I=()=>Math.max(4,Math.round(T.w/180)),B=()=>Math.max(18,Math.round(T.w/28)),E=m=>{if(!o)return;let U=ae(m);if(s==="text"){y({x:U.x,y:U.y}),N("");return}m.target.setPointerCapture(m.pointerId),S.current={kind:"stroke",tool:s,color:h,size:I(),points:[U]},F(S.current)},te=m=>{S.current&&(S.current.points.push(ae(m)),F(S.current))},A=()=>{if(!S.current)return;let m=S.current;S.current=null,p(U=>[...U,m])},j=()=>{k&&v.trim()&&p(m=>[...m,{kind:"text",x:k.x,y:k.y,color:h,value:v.trim(),size:B()}]),y(null),N("")},re=()=>{if(o)try{let m=document.createElement("canvas");m.width=T.w,m.height=T.h;let U=m.getContext("2d");if(!U){z(!0);return}U.drawImage(o,0,0,T.w,T.h);let q=m.toDataURL("image/jpeg",.92),le=$.current?.toDataURL("image/jpeg",.85)||q;a(q,P.trim(),hi(u,T.w,T.h),le)}catch{z(!0)}},G=u.length>0;return(0,Pe.jsxs)("div",{className:"hsk-markup",role:"dialog","aria-label":r("markupDialogLabel"),children:[(0,Pe.jsxs)("div",{className:"hsk-markup-head",children:[(0,Pe.jsx)("span",{className:"hsk-markup-title",children:r("markupTitle")}),(0,Pe.jsx)("button",{className:"hsk-markup-cancel",onClick:t,children:r("markupCancel")})]}),(0,Pe.jsx)("div",{className:"hsk-markup-stage",children:i?(0,Pe.jsx)("div",{className:"hsk-markup-error",children:r("markupLoadError")}):o?(0,Pe.jsxs)("div",{className:"hsk-markup-canvas-wrap",children:[(0,Pe.jsx)("canvas",{ref:$,width:T.w,height:T.h,className:`hsk-markup-canvas hsk-markup-canvas--${s}`,onPointerDown:E,onPointerMove:te,onPointerUp:A,onPointerLeave:A}),k&&$.current&&(0,Pe.jsx)("input",{ref:Y,className:"hsk-markup-textinput",style:{left:`${k.x/T.w*100}%`,top:`${k.y/T.h*100}%`,color:h},value:v,placeholder:r("markupTextHint"),onChange:m=>N(m.target.value),onKeyDown:m=>{m.key==="Enter"&&j(),m.key==="Escape"&&(y(null),N(""))},onBlur:j})]}):(0,Pe.jsx)("div",{className:"hsk-markup-loading",children:r("markupLoading")})}),(0,Pe.jsxs)("div",{className:"hsk-markup-tools",children:[(0,Pe.jsx)("div",{className:"hsk-markup-colors",children:ui.map(m=>(0,Pe.jsx)("button",{className:`hsk-markup-color${h===m?" hsk-markup-color--on":""}`,style:{background:m},onClick:()=>{d(m),s==="eraser"&&l("pen")},"aria-label":r("markupColorLabel",{colour:m})},m))}),(0,Pe.jsxs)("div",{className:"hsk-markup-actions",children:[(0,Pe.jsx)("button",{className:`hsk-markup-tool${s==="pen"?" hsk-markup-tool--on":""}`,onClick:()=>l("pen"),children:r("markupSketch")}),(0,Pe.jsx)("button",{className:`hsk-markup-tool${s==="text"?" hsk-markup-tool--on":""}`,onClick:()=>l("text"),children:r("markupText")}),(0,Pe.jsx)("button",{className:`hsk-markup-tool${s==="eraser"?" hsk-markup-tool--on":""}`,onClick:()=>l("eraser"),children:r("markupEraser")}),(0,Pe.jsx)("button",{className:"hsk-markup-tool",onClick:()=>p(m=>m.slice(0,-1)),disabled:!G,children:r("markupUndo")}),(0,Pe.jsx)("button",{className:"hsk-markup-tool",onClick:()=>p([]),disabled:!G,children:r("markupClear")})]})]}),(0,Pe.jsxs)("div",{className:"hsk-markup-send",children:[(0,Pe.jsx)("input",{className:"hsk-markup-instruction",value:P,placeholder:r("markupInstruction"),onChange:m=>L(m.target.value),onKeyDown:m=>{m.key==="Enter"&&(G||P.trim())&&re()}}),(0,Pe.jsx)("button",{className:"hsk-markup-go",onClick:re,disabled:!o||!G&&!P.trim(),children:r("markupSend")})]}),f&&(0,Pe.jsx)("div",{className:"hsk-markup-error",children:r("markupError")})]})}var Ae=require("react"),Qr=require("@akropolys/sdk");var vt=require("react"),ye=require("react/jsx-runtime"),Wr=[{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,ye.jsxs)("g",{children:[(0,ye.jsx)("ellipse",{cx:"0",cy:t*.42,rx:"13",ry:"9",fill:"#EFA3AE"}),(0,ye.jsx)("ellipse",{cx:"-4.4",cy:t*.42,rx:"2.1",ry:"3",fill:"#D4818F"}),(0,ye.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,ye.jsxs)("g",{children:[(0,ye.jsx)("path",{d:`M${-e*.2} ${-t} q${e*.2} -9 ${e*.4} 0`,fill:"none",stroke:"#B08F5E",strokeWidth:"4",strokeLinecap:"round"}),(0,ye.jsx)("ellipse",{cx:-e*.42,cy:t*.06,rx:"4",ry:"3.2",fill:"#BE9E67",opacity:"0.75"}),(0,ye.jsx)("ellipse",{cx:e*.46,cy:t*.24,rx:"3.4",ry:"2.8",fill:"#BE9E67",opacity:"0.75"}),(0,ye.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,ye.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,ye.jsxs)("g",{stroke:"#7C8592",strokeWidth:"1.6",strokeLinecap:"round",opacity:"0.8",children:[(0,ye.jsx)("path",{d:`M${-e*.3} ${t*.4} l-14 -3`}),(0,ye.jsx)("path",{d:`M${-e*.3} ${t*.46} l-14 3`}),(0,ye.jsx)("path",{d:`M${e*.3} ${t*.4} l14 -3`}),(0,ye.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,ye.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,ye.jsxs)("g",{fill:"none",stroke:"#A79A84",strokeWidth:"4.5",strokeLinecap:"round",children:[(0,ye.jsx)("path",{d:`M${-e*.66} ${-t*.6} q-13 4 -9 13 q3 7 9 2`}),(0,ye.jsx)("path",{d:`M${e*.66} ${-t*.6} q13 4 9 13 q-3 7 -9 2`})]})}],Kr=Wr.map(e=>e.id);function Or(e,t){if(t){let r=Wr.find(o=>o.id===t);if(r)return r}let a=0;for(let r=0;r<e.length;r++)a=a*31+e.charCodeAt(r)>>>0;return Wr[a%Wr.length]}var hl={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 ki(e,t){let r=Math.min(e,t)*.72,o=(n,i)=>`${n.toFixed(2)} ${i.toFixed(2)}`;return`M${o(-e,-t+r)}C${o(-e,-t+r*.46)} ${o(-e+r*.46,-t)} ${o(-e+r,-t)}L${o(e-r,-t)}C${o(e-r*.46,-t)} ${o(e,-t+r*.46)} ${o(e,-t+r)}L${o(e,t-r)}C${o(e,t-r*.46)} ${o(e-r*.46,t)} ${o(e-r,t)}L${o(-e+r,t)}C${o(-e+r*.46,t)} ${o(-e,t-r*.46)} ${o(-e,t-r)}Z`}function Ft({scoutId:e,avatar:t,mood:a="watching",size:r=44,layer:o="all"}){let n=Or(e,t),i=(0,vt.useRef)(a);i.current=a;let c=(0,vt.useRef)(null),s=(0,vt.useRef)(null),l=(0,vt.useRef)(null),h=(0,vt.useRef)(null),d=(0,vt.useRef)(null),u=(0,vt.useRef)(null),p=(0,vt.useRef)(null),k=(0,vt.useRef)(null);return(0,vt.useEffect)(()=>{let y=window.matchMedia("(prefers-reduced-motion: reduce)").matches,v={lid:1,perk:1,tilt:0,dim:1,gx:0,gy:0,hop:0},N={lid:0,perk:0,tilt:0,dim:0,gx:0,gy:0,hop:0},P=0;for(let I=0;I<e.length;I++)P=P*31+e.charCodeAt(I)>>>0;let L=P%1e3*3,f=1200+P%2600,z=-1,$=0,S=900,Y=2e3+P%5e3,T=-1,_=0,F=(I,B,E=.16,te=.76)=>{N[I]=(N[I]+(B-v[I])*E)*te,v[I]+=N[I]},ae=I=>{let B=hl[i.current],E=i.current==="watching"||i.current==="struck";E&&!y&&I>S&&($=(Math.random()-.5)*2,S=I+1400+Math.random()*2800);let te=B.lid;!y&&E&&(z<0&&I>f&&(z=0),z>=0&&(z+=1/6,te=B.lid*Math.abs(z-.5)*2,z>=1&&(z=-1,f=I+(Math.random()<.24?300:2200+Math.random()*3800))));let A=0;i.current==="struck"&&!y&&(T<0&&I>Y&&(T=0),T>=0&&(T+=1/26,A=-Math.sin(T*Math.PI)*7,T>=1&&(T=-1,Y=I+1600+Math.random()*2200)));let j=y?0:Math.sin((I+L)/B.breath*Math.PI)*.03;F("lid",te,.3,.6),F("perk",B.perk),F("tilt",B.tilt),F("dim",B.dim),F("gx",E&&!y?$*2.4:0,.08,.84),F("gy",E&&!y?Math.sin((I+L)/2200)*1.4:1.5,.08,.84);let re=n.bw*(1+j*.9),G=n.bh*(1-j);if(s.current?.setAttribute("d",ki(re,G)),l.current?.setAttribute("d",n.ears(re,G)),l.current?.setAttribute("transform",`translate(0 ${((1-v.perk)*7).toFixed(2)}) scale(1 ${Math.max(.2,v.perk).toFixed(3)})`),o==="body"){_=requestAnimationFrame(ae);return}let m=Math.max(1.4,17*Math.max(.05,v.lid));for(let[U,q,le]of[[h,u,-1],[d,p,1]]){let w=U.current;w&&(w.setAttribute("x",String(le*n.eyeGap-6+v.gx)),w.setAttribute("y",String(n.eyeY-m/2+v.gy)),w.setAttribute("height",String(m)),w.setAttribute("ry",String(Math.min(6,m/2))));let M=q.current;M&&(M.setAttribute("cx",String(le*n.eyeGap-1.8+v.gx)),M.setAttribute("cy",String(n.eyeY-m/2+3.4+v.gy)),M.setAttribute("r",String(m>7?2.5:0)))}k.current?.setAttribute("transform",`translate(${v.gx.toFixed(2)} ${v.gy.toFixed(2)})`),c.current?.setAttribute("transform",`translate(0 ${A.toFixed(2)}) rotate(${v.tilt.toFixed(2)})`),c.current?.setAttribute("opacity",v.dim.toFixed(3)),_=requestAnimationFrame(ae)};return _=requestAnimationFrame(ae),()=>cancelAnimationFrame(_)},[e,n,o]),(0,ye.jsx)("svg",{className:"hsk-cb-scout-char",width:r,height:r,viewBox:"-50 -50 100 100",role:"img","aria-label":n.name,children:(0,ye.jsxs)("g",{ref:c,children:[(0,ye.jsx)("path",{ref:l,d:n.ears(n.bw,n.bh),fill:n.shade}),(0,ye.jsx)("path",{ref:s,d:ki(n.bw,n.bh),fill:n.coat}),o==="all"&&n.extras?.(n.bw,n.bh),o==="all"&&(0,ye.jsxs)(ye.Fragment,{children:[(0,ye.jsx)("ellipse",{cx:-n.eyeGap-7,cy:n.eyeY+9,rx:"6",ry:"3.6",fill:"#F08898",opacity:"0.5"}),(0,ye.jsx)("ellipse",{cx:n.eyeGap+7,cy:n.eyeY+9,rx:"6",ry:"3.6",fill:"#F08898",opacity:"0.5"}),(0,ye.jsx)("rect",{ref:h,x:-n.eyeGap-6,y:n.eyeY-8.5,width:"12",height:"17",rx:"6",fill:"#3A322C"}),(0,ye.jsx)("rect",{ref:d,x:n.eyeGap-6,y:n.eyeY-8.5,width:"12",height:"17",rx:"6",fill:"#3A322C"}),(0,ye.jsx)("circle",{ref:u,cx:-n.eyeGap-1.8,cy:n.eyeY-5,r:"2.5",fill:"#FFFFFF"}),(0,ye.jsx)("circle",{ref:p,cx:n.eyeGap-1.8,cy:n.eyeY-5,r:"2.5",fill:"#FFFFFF"}),(0,ye.jsx)("path",{ref:k,d:`M-3.6 ${n.eyeY+13} q3.6 3.6 7.2 0`,fill:"none",stroke:"#3A322C",strokeWidth:"1.8",strokeLinecap:"round",opacity:"0.75"})]})]})})}function $o(e,t){return Or(e,t).name}function Fo(e,t){return Or(e,t).nick}var _t=require("react/jsx-runtime");function ul({d:e,delay:t}){return(0,_t.jsx)("span",{className:"hsk-cb-num-slot",children:(0,_t.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(a=>(0,_t.jsx)("span",{className:"hsk-cb-num-d",children:a},a))})})}function ba({value:e,decimals:t=0,prefix:a,suffix:r,className:o}){let i=Math.abs(e).toFixed(t).split(""),c=i.filter(l=>l>="0"&&l<="9").length,s=0;return(0,_t.jsxs)("span",{className:["hsk-cb-num",o].filter(Boolean).join(" "),children:[a&&(0,_t.jsx)("span",{className:"hsk-cb-num-fix",children:a}),i.map((l,h)=>{if(l>="0"&&l<="9"){let d=c-1-s;return s+=1,(0,_t.jsx)(ul,{d:Number(l),delay:d*34},h)}return(0,_t.jsx)("span",{className:"hsk-cb-num-fix",children:l},h)}),r&&(0,_t.jsx)("span",{className:"hsk-cb-num-fix",children:r})]})}var Yr=require("react"),bi=require("react-dom");var De=require("react/jsx-runtime");function _o(){return typeof window<"u"&&"documentPictureInPicture"in window}function ml(e){switch(e.status){case"active":return"watching";case"paused":return"resting";case"triggered":return"struck";default:return"gone"}}function kl(e){let t=i=>{let c=parseFloat(String(i??"").replace(/[^0-9.\-]/g,""));return Number.isNaN(c)?null:c},a=t(e.initialValue),r=t(e.targetValue);if(a===null||r===null||a===r)return null;let n=((t(e.triggerValue)??a)-a)/(r-a)*100;return Math.max(0,Math.min(100,Math.round(n)))}function Bo({scouts:e,themeAttr:t,onClose:a}){let[r,o]=(0,Yr.useState)(null);if((0,Yr.useEffect)(()=>{let i=null,c=!1;return(async()=>{try{if(i=await window.documentPictureInPicture.requestWindow({width:260,height:300,disallowReturnToOpener:!0}),c||!i)return;let l=i.document.createElement("style");l.textContent=ar,i.document.head.appendChild(l),i.document.body.className="hsk-cb-pin-body",t&&i.document.body.setAttribute("data-hsk-theme",t),i.addEventListener("pagehide",a),o(i)}catch{a()}})(),()=>{c=!0;try{i?.close()}catch{}}},[t,a]),!r)return null;let n=e.filter(i=>i.status!=="canceled"&&i.status!=="expired"&&i.status!=="idle");return(0,bi.createPortal)((0,De.jsxs)("div",{className:"hsk-cb-scout-rail-card hsk-cb-pin-card",children:[(0,De.jsxs)("div",{className:"hsk-cb-scout-card-head",children:[(0,De.jsxs)("span",{className:"hsk-cb-scout-card-title",children:[(0,De.jsxs)("svg",{width:"12",height:"12",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:[(0,De.jsx)("path",{d:"M12 2a10 10 0 1 0 10 10A10 10 0 0 0 12 2Z"}),(0,De.jsx)("path",{d:"M12 6a6 6 0 1 0 6 6 6 6 0 0 0-6-6Z"}),(0,De.jsx)("circle",{cx:"12",cy:"12",r:"2"})]}),"Scouts"]}),(0,De.jsxs)("span",{className:"hsk-cb-pin-count",children:[n.filter(i=>i.status==="active").length," in motion"]})]}),n.length===0?(0,De.jsx)("div",{className:"hsk-cb-scout-pool-line",children:"Nothing out right now."}):n.map(i=>{let c=kl(i);return(0,De.jsxs)("div",{className:"hsk-cb-pin-row",children:[(0,De.jsxs)("span",{className:`hsk-cb-scout is-${i.status}`,children:[(0,De.jsxs)("span",{className:"hsk-cb-scout-face",children:[(0,De.jsx)(Ft,{scoutId:i.id,avatar:i.avatar,mood:ml(i),size:38}),i.status==="active"&&(0,De.jsx)("span",{className:"hsk-cb-scout-pulse"})]}),(0,De.jsx)("span",{className:"hsk-cb-scout-name",children:Fo(i.id,i.avatar)})]}),(0,De.jsxs)("span",{className:"hsk-cb-pin-text",children:[(0,De.jsxs)("span",{className:"hsk-cb-pin-watch",children:[i.instrument," ",i.operator," ",i.targetValue]}),c!==null&&(0,De.jsx)("span",{className:"hsk-cb-pin-bar",children:(0,De.jsx)("span",{className:"hsk-cb-pin-fill",style:{inlineSize:`${c}%`}})}),i.status==="triggered"&&(0,De.jsx)("span",{className:"hsk-cb-pin-hit",children:"hit"})]})]},i.id)})]}),r.document.body)}var ne=require("react/jsx-runtime"),cr=15,Gr=480;function fi(e){if(e<60)return`${e} minutes`;let t=Math.floor(e/60),a=e%60;return a?`${t}h ${a}m`:`${t} hour${t>1?"s":""}`}var gi=({size:e=13})=>(0,ne.jsxs)("svg",{width:e,height:e,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:[(0,ne.jsx)("path",{d:"M12 2a10 10 0 1 0 10 10A10 10 0 0 0 12 2Z"}),(0,ne.jsx)("path",{d:"M12 6a6 6 0 1 0 6 6 6 6 0 0 0-6-6Z"}),(0,ne.jsx)("circle",{cx:"12",cy:"12",r:"2"})]});function vi(e){switch(e.status){case"active":return"watching";case"paused":return"resting";case"triggered":return"struck";default:return"gone"}}function yi(e){let t=(e.instrument||"").trim();if(t&&t.length<=9)return t;let a=t.split(/[\s/]/)[0];return a&&a.length<=9?a:$o(e.id,e.avatar)}function lr({className:e,themeAttr:t,onAsk:a,onNew:r,open:o,onOpenChange:n}){let i=(0,Qr.useAkropolysContext)(),{scouts:c,balance:s,setAvatar:l,cancelScout:h}=(0,Qr.useScouts)(),[d,u]=(0,Ae.useState)(!1),p=o??d,k=(0,Ae.useCallback)(g=>{u(g),n?.(g)},[n]),[y,v]=(0,Ae.useState)(!1),N=(0,Ae.useRef)(null),P=(0,Ae.useRef)(null),[L,f]=(0,Ae.useState)(90),[z,$]=(0,Ae.useState)(0),[S,Y]=(0,Ae.useState)(null),[T,_]=(0,Ae.useState)(null),[F,ae]=(0,Ae.useState)(!1),[I,B]=(0,Ae.useState)(!1),[E,te]=(0,Ae.useState)(!1),[A,j]=(0,Ae.useState)(!1),[re,G]=(0,Ae.useState)(""),m=`hsk-scout-goo-${(0,Ae.useId)().replace(/:/g,"")}`,U=c.filter(g=>g.status==="idle"),q=new Set(U.map(g=>g.avatar).filter(Boolean)),le=U.length>0,w=c.filter(g=>g.status!=="canceled"&&g.status!=="expired"&&g.status!=="idle"),M=w.filter(g=>g.status==="active").length,C=w.length>0,K=w.filter(g=>g.status==="active"&&g.dedicatedMinutes<=0).length>1,X=(L-cr)/(Gr-cr)*100,x=M>0?Math.floor(s/M):s,V=(0,Ae.useCallback)(()=>{N.current||(v(!0),N.current=setTimeout(()=>{k(!1),v(!1),_(null),N.current=null},200))},[k]);(0,Ae.useEffect)(()=>()=>{N.current&&clearTimeout(N.current)},[]),(0,Ae.useEffect)(()=>{if(!p)return;let g=de=>{let oe=de.composedPath();P.current&&(oe.includes(P.current)||P.current.contains(de.target))||V()},O=de=>{de.key==="Escape"&&V()};return document.addEventListener("mousedown",g),document.addEventListener("keydown",O),()=>{document.removeEventListener("mousedown",g),document.removeEventListener("keydown",O)}},[p,V]),(0,Ae.useEffect)(()=>{if(!i||!p)return;let g=!1,O=setTimeout(()=>{i.scouts.quote(L).then(de=>{g||$(de.priceUSD)}).catch(()=>{})},90);return()=>{g=!0,clearTimeout(O)}},[i,L,p]);let H=()=>{te(!0),window.addEventListener("pointerup",()=>te(!1),{once:!0})},D=()=>{let g=Number(re);!Number.isNaN(g)&&re.trim()!==""&&f(Math.min(Gr,Math.max(cr,Math.round(g)))),j(!1)};return!p&&!y?(0,ne.jsx)("div",{className:J("hsk-cb-scout-rail-wrap",e),ref:P,children:(0,ne.jsxs)("button",{type:"button",className:"hsk-cb-scout-rail-trigger",onClick:()=>k(!0),"aria-label":"Scouts","aria-expanded":"false",children:[(0,ne.jsx)("span",{className:"hsk-cb-scout-trigger-icon",style:{color:M>0?"#10b981":void 0},children:(0,ne.jsx)(gi,{size:13})}),(0,ne.jsx)("span",{children:M>0?`${M} in motion`:"Scouts"}),M>0&&(0,ne.jsx)("span",{className:"hsk-cb-scout-trigger-dot"})]})}):(0,ne.jsxs)("div",{className:J("hsk-cb-scout-rail-wrap","is-open",y&&"is-closing",e),ref:P,children:[I&&(0,ne.jsx)(Bo,{scouts:c,themeAttr:t,onClose:()=>B(!1)}),(0,ne.jsx)("svg",{width:"0",height:"0","aria-hidden":"true",className:"hsk-cb-scout-defs",children:(0,ne.jsxs)("filter",{id:m,x:"-50%",y:"-50%",width:"200%",height:"200%",children:[(0,ne.jsx)("feGaussianBlur",{in:"SourceGraphic",stdDeviation:"4",result:"b"}),(0,ne.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,ne.jsxs)("div",{className:"hsk-cb-scout-rail-card",role:"dialog","aria-label":"Scouts",children:[(0,ne.jsxs)("div",{className:"hsk-cb-scout-card-head",children:[(0,ne.jsxs)("span",{className:"hsk-cb-scout-card-title",children:[(0,ne.jsx)(gi,{size:12})," ",C?"Scouts":"Send a scout"]}),C&&_o()&&(0,ne.jsx)("button",{type:"button",className:"hsk-cb-scout-card-pin",onClick:()=>B(!0),"aria-label":"Keep scouts on top",children:(0,ne.jsxs)("svg",{width:"11",height:"11",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2.2",strokeLinecap:"round",strokeLinejoin:"round",children:[(0,ne.jsx)("path",{d:"M15 3v6l3 4v2H6v-2l3-4V3"}),(0,ne.jsx)("line",{x1:"12",y1:"15",x2:"12",y2:"21"})]})}),(0,ne.jsx)("button",{type:"button",className:"hsk-cb-scout-card-x",onClick:V,"aria-label":"Close",children:(0,ne.jsxs)("svg",{width:"11",height:"11",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2.6",strokeLinecap:"round",children:[(0,ne.jsx)("line",{x1:"18",y1:"6",x2:"6",y2:"18"}),(0,ne.jsx)("line",{x1:"6",y1:"6",x2:"18",y2:"18"})]})})]}),C&&!F?(0,ne.jsxs)(ne.Fragment,{children:[(0,ne.jsxs)("div",{className:"hsk-cb-scouts-stage",children:[K&&(0,ne.jsx)("div",{className:"hsk-cb-scouts-glue",style:{filter:`url(#${m})`},"aria-hidden":"true",children:w.map(g=>(0,ne.jsx)("span",{className:J("hsk-cb-glue-cell",g.dedicatedMinutes>0&&"is-loose"),children:(0,ne.jsx)(Ft,{scoutId:g.id,avatar:g.avatar,mood:vi(g),size:38,layer:"body"})},g.id))}),(0,ne.jsxs)("div",{className:"hsk-cb-scouts-row",children:[w.map(g=>(0,ne.jsxs)("div",{className:"hsk-cb-scout-slot",children:[(0,ne.jsxs)("button",{type:"button",className:J("hsk-cb-scout",`is-${g.status}`),onClick:()=>a?.(g),onContextMenu:O=>{O.preventDefault(),_(T===g.id?null:g.id)},"aria-label":`${g.instrument} ${g.operator} ${g.targetValue}`,children:[(0,ne.jsxs)("span",{className:"hsk-cb-scout-face",children:[(0,ne.jsx)(Ft,{scoutId:g.id,avatar:g.avatar,mood:vi(g),size:38}),g.status==="active"&&(0,ne.jsx)("span",{className:"hsk-cb-scout-pulse"}),g.dedicatedMinutes>0&&(0,ne.jsxs)("span",{className:"hsk-cb-scout-own",children:[g.dedicatedMinutes,"m"]})]}),(0,ne.jsx)("span",{className:"hsk-cb-scout-name",children:yi(g)})]}),(0,ne.jsx)("button",{type:"button",className:"hsk-cb-scout-bin",onClick:O=>{O.stopPropagation(),h(g.id)},"aria-label":`Call ${yi(g)} back`,children:(0,ne.jsxs)("svg",{width:"9",height:"9",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2.6",strokeLinecap:"round",strokeLinejoin:"round",children:[(0,ne.jsx)("polyline",{points:"3 6 5 6 21 6"}),(0,ne.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"})]})}),T===g.id&&(0,ne.jsx)("div",{className:"hsk-cb-scout-picker",children:Kr.map(O=>(0,ne.jsx)("button",{type:"button",className:J("hsk-cb-scout-pick",g.avatar===O&&"is-on"),onClick:()=>{l(g.id,O),_(null)},"aria-label":O,children:(0,ne.jsx)(Ft,{scoutId:g.id,avatar:O,mood:"watching",size:26})},O))})]},g.id)),(0,ne.jsx)("button",{type:"button",className:"hsk-cb-scout-new",onClick:()=>{Y(null),ae(!0)},"aria-label":"Add another avatar",children:(0,ne.jsxs)("svg",{width:"15",height:"15",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2.4",strokeLinecap:"round",children:[(0,ne.jsx)("line",{x1:"12",y1:"5",x2:"12",y2:"19"}),(0,ne.jsx)("line",{x1:"5",y1:"12",x2:"19",y2:"12"})]})})]})]}),(0,ne.jsx)("div",{className:"hsk-cb-scout-pool-line",children:K?(0,ne.jsxs)(ne.Fragment,{children:[(0,ne.jsx)(ba,{value:s,suffix:"m"})," shared \xB7 ~",(0,ne.jsx)(ba,{value:x,suffix:"m"})," each"]}):(0,ne.jsxs)(ne.Fragment,{children:[(0,ne.jsx)(ba,{value:s,suffix:"m"})," left"]})})]}):(0,ne.jsx)("div",{className:"hsk-cb-scout-hatch",children:(0,ne.jsx)("div",{className:"hsk-cb-scout-hatch-row",children:Kr.map((g,O)=>(0,ne.jsx)("button",{type:"button",className:J("hsk-cb-scout-hatch-pick",S===g&&"is-on",!q.has(g)&&S!==g&&"is-unpaid"),style:{animationDelay:`${O*34}ms`},onClick:()=>Y(S===g?null:g),"aria-label":q.has(g)?`${g}, ready to send out`:`${g}, not paid for`,"aria-pressed":S===g,children:(0,ne.jsx)(Ft,{scoutId:g,avatar:g,mood:q.has(g)?"watching":"resting",size:30})},g))})}),(0,ne.jsxs)("div",{className:"hsk-cb-scout-time",children:[(0,ne.jsxs)("div",{className:J("hsk-cb-dial",E&&"is-dragging"),children:[(0,ne.jsx)("div",{className:"hsk-cb-dial-track",children:(0,ne.jsx)("div",{className:"hsk-cb-dial-fill",style:{inlineSize:`${X}%`}})}),(0,ne.jsx)("input",{className:"hsk-cb-dial-input",type:"range",min:cr,max:Gr,step:5,value:L,onChange:g=>f(Number(g.target.value)),"aria-label":"Minutes to buy","aria-valuetext":fi(L),onPointerDown:H,onFocus:()=>te(!0),onBlur:()=>te(!1)})]}),(0,ne.jsxs)("div",{className:J("hsk-cb-scout-time-row",E&&"is-lifted"),children:[A?(0,ne.jsx)("input",{className:"hsk-cb-scout-mins-input",type:"number",min:cr,max:Gr,value:re,autoFocus:!0,onChange:g=>G(g.target.value),onBlur:D,onKeyDown:g=>{g.key==="Enter"&&D(),g.key==="Escape"&&j(!1)},"aria-label":"Minutes"}):(0,ne.jsxs)("button",{type:"button",className:"hsk-cb-scout-mins",onClick:()=>{G(String(L)),j(!0)},"aria-label":`${fi(L)}, tap to type an exact number`,children:[(0,ne.jsx)(ba,{value:L}),(0,ne.jsx)("span",{className:"hsk-cb-scout-mins-unit",children:"min"})]}),(0,ne.jsx)("span",{className:"hsk-cb-scout-price",children:(0,ne.jsx)(ba,{value:z,decimals:2,prefix:"$"})})]})]}),(0,ne.jsx)("button",{type:"button",className:"hsk-cb-scout-buy-go",disabled:le?!1:!S,onClick:()=>{le&&(ae(!1),Y(null),V(),r?.(S??""))},children:le?"Send it out":S?"Buy time":"Pick an avatar"})]})]})}var Bt=Lt(require("react")),Ni=require("react/jsx-runtime");function bl(e){let t=2166136261;for(let a=0;a<e.length;a++)t^=e.charCodeAt(a),t=Math.imul(t,16777619);return t>>>0}function Uo(e){let t=e>>>0;return()=>{t=t+1831565813>>>0;let a=Math.imul(t^t>>>15,1|t);return a=a+Math.imul(a^a>>>7,61|a)^a,((a^a>>>14)>>>0)/4294967296}}var xi=e=>e*e*(3-2*e);function fl(e){let a=new Float32Array(65536);for(let o=0;o<a.length;o++)a[o]=e();let r=(o,n)=>a[(n&255)*256+(o&255)];return(o,n)=>{let i=Math.floor(o),c=Math.floor(n),s=xi(o-i),l=xi(n-c),h=r(i,c),d=r(i+1,c),u=r(i,c+1),p=r(i+1,c+1);return(h+(d-h)*s)*(1-l)+(u+(p-u)*s)*l}}function gl(e,t,a,r){let o=a/Math.SQRT2,n=Math.ceil(e/o),i=Math.ceil(t/o),c=new Int32Array(n*i).fill(-1),s=[],l=[],h=(u,p)=>{let k=s.length;s.push([u,p]),c[Math.floor(p/o)*n+Math.floor(u/o)]=k,l.push(k)},d=(u,p)=>{if(u<0||p<0||u>=e||p>=t)return!1;let k=Math.floor(u/o),y=Math.floor(p/o);for(let v=Math.max(y-2,0);v<=Math.min(y+2,i-1);v++)for(let N=Math.max(k-2,0);N<=Math.min(k+2,n-1);N++){let P=c[v*n+N];if(P<0)continue;let L=s[P][0]-u,f=s[P][1]-p;if(L*L+f*f<a*a)return!1}return!0};for(h(r()*e,r()*t);l.length;){let u=r()*l.length|0,[p,k]=s[l[u]],y=!1;for(let v=0;v<24;v++){let N=r()*Math.PI*2,P=a*(1+r()),L=p+Math.cos(N)*P,f=k+Math.sin(N)*P;if(d(L,f)){h(L,f),y=!0;break}}y||l.splice(u,1)}return s}var We=(e,t)=>(e()-.5)*t,qo=[(e,t,a)=>{let r=t*.5,o=t*(.14+a()*.04),n=t*.07;e.beginPath(),e.moveTo(-o-n*.6,-r),e.lineTo(o+n*.6,-r),e.moveTo(-o,-r+n),e.lineTo(o,-r+n),e.moveTo(-o,-r+n),e.lineTo(-o*.85,r-n),e.moveTo(o,-r+n),e.lineTo(o*.85,r-n),e.moveTo(0,-r+n*1.7),e.lineTo(0,r-n*1.7),e.moveTo(-o,r-n),e.lineTo(o,r-n),e.moveTo(-o-n*.6,r),e.lineTo(o+n*.6,r),e.stroke()},(e,t,a)=>{let r=t*.5,o=-r*(.18+a()*.1);e.beginPath(),e.moveTo(-r,o),e.lineTo(0,-r),e.lineTo(r,o),e.closePath(),e.moveTo(-r*.92,o+r*.16),e.lineTo(r*.92,o+r*.16);for(let n of[-.62,-.21,.21,.62])e.moveTo(r*n,o+r*.16),e.lineTo(r*n,r*.8);e.moveTo(-r,r*.8),e.lineTo(r,r*.8),e.stroke()},(e,t,a)=>{let r=t*.5,o=r*(.48+a()*.12);e.beginPath(),e.moveTo(-r*.2,-r*.86),e.lineTo(r*.2,-r*.86),e.moveTo(-r*.15,-r*.78),e.bezierCurveTo(-o,-r*.3,-o*.85,r*.6,0,r*.86),e.bezierCurveTo(o*.85,r*.6,o,-r*.3,r*.15,-r*.78),e.moveTo(-r*.17,-r*.64),e.quadraticCurveTo(-o*1.16,-r*.48,-o*.7,-r*.04),e.moveTo(r*.17,-r*.64),e.quadraticCurveTo(o*1.16,-r*.48,o*.7,-r*.04),e.stroke()},(e,t,a)=>{let r=t*.5;e.beginPath(),e.moveTo(-r*.9,r*.52),e.quadraticCurveTo(0,-r*.18,r*.9,-r*.58),e.stroke();let o=4+(a()*3|0);for(let n=0;n<o;n++){let i=.16+n/o*.8,c=-r*.9+i*r*1.8,s=r*.52-i*r*1.16+(1-i)*i*r*.3,l=n%2?1:-1,h=r*(.26+a()*.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,t,a)=>{let r=t*.5;e.beginPath(),e.moveTo(-r*.85,-r*.7),e.quadraticCurveTo(-r*.1,-r*.35,r*.2,r*.1),e.stroke();let o=[[-r*.45,-r*.12],[r*.05,r*.3],[r*.42,-r*.4]];for(let[n,i]of o)e.beginPath(),e.moveTo(n,i-r*.28),e.lineTo(n-r*.02,i-r*.16),e.stroke(),e.beginPath(),e.ellipse(n,i,r*(.15+a()*.04),r*.19,We(a,.5),0,Math.PI*2),e.stroke()},(e,t,a)=>{let r=t*.5;for(let o of[-1,1]){e.beginPath(),e.arc(0,0,r*.72,o>0?-1.25:1.25,o>0?1.25:Math.PI*2-1.25,o<0),e.stroke();for(let n=0;n<5;n++){let i=-1.05+n/4*2.1,c=Math.sin(i)*o*r*.72,s=Math.cos(i)*r*.72,l=r*(.2+a()*.08);e.beginPath(),e.moveTo(c,s),e.quadraticCurveTo(c+o*l*.9,s-l*.5,c+o*l*.6,s-l*1.05),e.stroke()}}},(e,t)=>{let a=t*.5;e.beginPath(),e.moveTo(-a,a*.6),e.lineTo(a*.55,a*.6),e.lineTo(a*.55,-a*.6),e.lineTo(-a*.45,-a*.6),e.lineTo(-a*.45,a*.15),e.lineTo(a*.1,a*.15),e.lineTo(a*.1,-a*.18),e.stroke()},(e,t)=>{let a=t*.5;e.beginPath(),e.moveTo(-a*.62,a*.8),e.lineTo(-a*.62,-a*.05),e.arc(0,-a*.05,a*.62,Math.PI,0),e.lineTo(a*.62,a*.8),e.stroke(),e.beginPath(),e.moveTo(-a*.86,a*.8),e.lineTo(a*.86,a*.8),e.stroke()},(e,t,a)=>{let r=t*.5;e.beginPath(),e.arc(0,0,r*.4,0,Math.PI*2),e.stroke();let o=a()*.5;for(let n=0;n<8;n++){let i=o+n/8*Math.PI*2;e.beginPath(),e.moveTo(Math.cos(i)*r*.6,Math.sin(i)*r*.6),e.lineTo(Math.cos(i)*r*.94,Math.sin(i)*r*.94),e.stroke()}},(e,t)=>{let a=t*.5;e.beginPath(),e.moveTo(-a*.44,a*.7),e.bezierCurveTo(-a,a*.2,-a*.8,-a*.7,-a*.3,-a*.6),e.moveTo(a*.44,a*.7),e.bezierCurveTo(a,a*.2,a*.8,-a*.7,a*.3,-a*.6),e.moveTo(-a*.32,-a*.64),e.lineTo(a*.32,-a*.64),e.moveTo(-a*.44,a*.7),e.lineTo(a*.44,a*.7);for(let r of[-.16,.02,.2])e.moveTo(a*r,-a*.56),e.lineTo(a*r,a*.62);e.stroke()},(e,t,a)=>{let r=t*.5,o=r*(.4+a()*.18);e.beginPath(),e.moveTo(-r,r*.16),e.quadraticCurveTo(-r*.5,-o,0,-r*.02),e.quadraticCurveTo(r*.5,-o,r,r*.16),e.stroke()}],wi=[(e,t,a)=>{let r=t*.5,o=-r+We(a,r*.3),n=We(a,r);e.beginPath(),e.moveTo(o,n);let i=4+(a()*4|0);for(let c=0;c<i;c++){let s=o+r*2/i+We(a,r*.5),l=We(a,r*1.5);e.quadraticCurveTo(o+We(a,r*.9),n+We(a,r*1.6),s,l),o=s,n=l}e.stroke()},(e,t,a)=>{let r=t*.5,o=2.2+a()*1.6,n=a()<.5?-1:1;e.beginPath();for(let i=0;i<=60;i++){let c=i/60,s=n*c*o*Math.PI*2,l=r*c*(.9+We(a,.06)),h=Math.cos(s)*l,d=Math.sin(s)*l;i===0?e.moveTo(h,d):e.lineTo(h,d)}e.stroke()},(e,t,a)=>{let r=t*.5,o=4+(a()*4|0),n=We(a,.7);for(let i=0;i<o;i++){let c=-r+i/(o-1)*r*2+We(a,r*.16),s=r*(.7+a()*.6);e.beginPath(),e.moveTo(c-n*s*.5,-s*.5),e.quadraticCurveTo(c+We(a,r*.2),0,c+n*s*.5,s*.5),e.stroke()}},(e,t,a)=>{let r=t*.5,o=2+(a()*3|0),n=r*2/o;e.beginPath(),e.moveTo(-r,r*.4);for(let i=0;i<o;i++){let c=-r+i*n,s=n*(.42+a()*.18);e.bezierCurveTo(c+s*.2,r*.4-s*2.1,c+n-s*.2,r*.4-s*2.1,c+n,r*.4+We(a,r*.14))}e.stroke()}],Si=[(e,t,a)=>{e.beginPath(),e.arc(0,0,t*.1+a()*t*.04,0,Math.PI*2),e.fill()},(e,t,a)=>{e.beginPath(),e.arc(We(a,t*.04),We(a,t*.04),t*.32,0,Math.PI*2),e.stroke()},(e,t,a)=>{let r=t*.4,o=r*(.2+a()*.12);e.beginPath(),e.moveTo(0,-r),e.quadraticCurveTo(o,-o,r,0),e.quadraticCurveTo(o,o,0,r),e.quadraticCurveTo(-o,o,-r,0),e.quadraticCurveTo(-o,-o,0,-r),e.stroke()},(e,t,a)=>{let r=t*.4;e.beginPath(),e.moveTo(-r,We(a,t*.08)),e.quadraticCurveTo(0,We(a,t*.16),r,We(a,t*.08)),e.stroke()}],vl={light:(e,t)=>{let a=t*.5;e.beginPath(),e.moveTo(0,-a),e.quadraticCurveTo(a*.16,-a*.16,a,0),e.quadraticCurveTo(a*.16,a*.16,0,a),e.quadraticCurveTo(-a*.16,a*.16,-a,0),e.quadraticCurveTo(-a*.16,-a*.16,0,-a),e.stroke()},dark:(e,t)=>{let a=t*.44;e.beginPath(),e.moveTo(-a*.6,-a*.5),e.lineTo(a*.6,-a*.5),e.lineTo(a,a*.05),e.lineTo(0,a),e.lineTo(-a,a*.05),e.closePath(),e.moveTo(-a,a*.05),e.lineTo(a,a*.05),e.moveTo(-a*.6,-a*.5),e.lineTo(-a*.3,a*.05),e.lineTo(0,a),e.moveTo(a*.6,-a*.5),e.lineTo(a*.3,a*.05),e.lineTo(0,a),e.stroke()},mahogany:(e,t)=>{let a=t*.5;e.beginPath(),e.moveTo(0,a),e.bezierCurveTo(-a*.9,a*.2,-a*.7,-a*.7,0,-a),e.bezierCurveTo(a*.7,-a*.7,a*.9,a*.2,0,a),e.moveTo(0,a*.86),e.lineTo(0,-a*.86);for(let r=0;r<3;r++){let o=-.34+r*.36;e.moveTo(0,a*o),e.lineTo(a*.44,a*(o-.26)),e.moveTo(0,a*o),e.lineTo(-a*.44,a*(o-.26))}e.stroke()},blush:(e,t)=>{let a=t*.5;for(let r=0;r<5;r++){let o=r/5*Math.PI*2-Math.PI/2;e.beginPath(),e.ellipse(Math.cos(o)*a*.52,Math.sin(o)*a*.52,a*.42,a*.26,o,0,Math.PI*2),e.stroke()}e.beginPath(),e.arc(0,0,a*.19,0,Math.PI*2),e.stroke()},coffee:(e,t)=>{let a=t*.5;e.beginPath(),e.ellipse(0,0,a*.6,a*.9,0,0,Math.PI*2),e.stroke(),e.beginPath(),e.moveTo(0,-a*.84),e.bezierCurveTo(a*.34,-a*.3,-a*.34,a*.3,0,a*.84),e.stroke()},midnight:(e,t)=>{let a=t*.5;e.beginPath();for(let r=0;r<10;r++){let o=r%2===0?a:a*.4,n=r/10*Math.PI*2-Math.PI/2,i=Math.cos(n)*o,c=Math.sin(n)*o;r===0?e.moveTo(i,c):e.lineTo(i,c)}e.closePath(),e.stroke()}},Ci=e=>{let t=e.split(",").map(a=>parseFloat(a.trim()));return[t[0]||0,t[1]||0,t[2]||0]};function Mi(e,t,a){let r=Ci(e),o=Ci(t);return`rgb(${Math.round(r[0]+(o[0]-r[0])*a)},${Math.round(r[1]+(o[1]-r[1])*a)},${Math.round(r[2]+(o[2]-r[2])*a)})`}function yl(e,t,a){return`hsl(${Math.round(t*300%360)}, ${a?72:68}%, ${a?58:46}%)`}function xl(e,t,a,r,o,n,i){let c=i?vl[i]:void 0,s=Uo(o),l=fl(Uo(o^2654435769)),h=e*t,u=Math.max(40,Math.min(520,Math.round(h/3100)))/.48,p=Math.max(26,Math.sqrt(.7*h/u)),k=gl(e,t,p,s),y=4.4/Math.max(e,t),v=y*2.6,N=Math.hypot(e,t),P=s()*Math.PI*2,L=Math.cos(P),f=Math.sin(P),z=e*(.18+s()*.64),$=t*(.12+s()*.5),S=[],Y=Math.hypot(e,t)||1,[T,_,F]=a.split(",").map(I=>parseFloat(I)||0),ae=.2126*T+.7152*_+.0722*F>128;for(let[I,B]of k){let E=l(I*y,B*y)*.72+l(I*v,B*v)*.28,te=Math.min(1,Math.max(0,(E-.26)/.44));if(s()>te*te*(3-2*te))continue;let A=s(),j=Math.max(0,1-Math.hypot(I-z,B-$)/(N*.72))**1.6,re=((I-e/2)*L+(B-t/2)*f)/N+.5,G=!ae,U=((G?.055:.028)+s()*(G?.04:.025))*(.75+re*.55)*(1+j*.4),q=Mi(a,r,j*.85),le=n?(e-I+t-B)/(e+t||1):(I+B)/(e+t||1),w=s()*16777215|0,M=yl(w,le,ae),C=0,K=G?1.05+s()*.35:.65+s()*.35,X=20,x=qo[0],V=1;A<.5?(C=We(s,.16),K=G?1.15+s()*.45:.7+s()*.35,X=20+s()*16,x=qo[s()*qo.length|0]):A<.82?(C=s()*Math.PI*2,K=G?.95+s()*.4:.6+s()*.4,X=16+s()*20,x=wi[s()*wi.length|0]):A<.95||!c?(C=s()*Math.PI*2,K=G?.85+s()*.35:.55+s()*.35,X=7+s()*7,x=Si[s()*Si.length|0]):(C=We(s,.3),K=G?1.1+s()*.3:.75+s()*.3,X=15+s()*9,x=c,V=2.6),S.push({x:I,y:B,roll:A,rotation:C,lineWidth:K,alpha:U*V,baseColor:q,shimmerColor:M,drawFn:x,size:X,seed:w,normDist:le})}return S}function Ho(e,t,a,r,o){e.clearRect(0,0,a,r),e.lineCap="round",e.lineJoin="round";let n=o>=0&&o<=1.4,i=n?o*1.4-.2:-999,c=.3;for(let s of t){let l=s.alpha,h=s.baseColor,d=s.lineWidth;if(n){let p=s.normDist-i;if(p>c)l=s.alpha*.45,h=s.baseColor,d=s.lineWidth;else if(p<-c)l=s.alpha,h=s.baseColor,d=s.lineWidth;else{let k=Math.cos(p/c*(Math.PI/2))**2;l=s.alpha+k*.08,h=k>.08?Mi(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=h,e.fillStyle=h,e.lineWidth=d;let u=Uo(s.seed);s.drawFn(e,s.size,u),e.restore()}}var wl=Bt.default.memo(function({seed:t="",theme:a,dir:r}){let o=(0,Bt.useRef)(null),n=(0,Bt.useRef)(!1),i=(0,Bt.useRef)(0),c=(0,Bt.useRef)(null),s=(0,Bt.useRef)(0);return(0,Bt.useEffect)(()=>{let l=o.current;if(!l)return;let h=bl(t||"kiku"),d=0,u=(P,L,f,z)=>$=>{let S=$-P,Y=Math.min(1,S/L),_=(1-Math.cos(Y*Math.PI))/2*1.4,F=l.clientWidth,ae=l.clientHeight;if(F&&ae){let I=Math.min(window.devicePixelRatio||1,3),B=Math.round(F*I),E=Math.round(ae*I);(l.width!==B||l.height!==E)&&(l.width=B,l.height=E);let te=l.getContext("2d");te&&(te.setTransform(I,0,0,I,0,0),Ho(te,f,F,ae,_))}if(Y<1)i.current=requestAnimationFrame(u(P,L,f,z));else{n.current=!1;let I=l.clientWidth,B=l.clientHeight,E=l.getContext("2d");if(E&&I&&B){let te=Math.min(window.devicePixelRatio||1,3);E.setTransform(te,0,0,te,0,0),Ho(E,f,I,B,-1)}}},p=()=>{let P=l.clientWidth,L=l.clientHeight;if(!P||!L)return;let f=Math.min(window.devicePixelRatio||1,3),z=l.getContext("2d");if(!z)return;let $=getComputedStyle(l),S=$.getPropertyValue("--hsk-doodle-ink").trim()||"31,31,31",Y=$.getPropertyValue("--hsk-doodle-tint").trim()||S,T=r==="rtl"||$.direction==="rtl"||l.closest('[dir="rtl"]')!==null,_=typeof window<"u"?Math.max(L,window.innerHeight||0):L,F=xl(P,_,S,Y,h,T,a);c.current=F,s.current=P;let ae=Math.round(P*f),I=Math.round(L*f);if((l.width!==ae||l.height!==I)&&(l.width=ae,l.height=I),z.setTransform(f,0,0,f,0,0),window.matchMedia?.("(prefers-reduced-motion: reduce)")?.matches){Ho(z,F,P,L,-1);return}cancelAnimationFrame(i.current),n.current=!0;let E=1200,te=performance.now();i.current=requestAnimationFrame(u(te,E,F,T))},k=()=>{clearTimeout(d),d=window.setTimeout(p,20)};p();let y=new ResizeObserver(k);y.observe(l);let v=window.matchMedia?.("(prefers-color-scheme: dark)"),N=()=>{p()};return v?.addEventListener?.("change",N),()=>{clearTimeout(d),cancelAnimationFrame(i.current),n.current=!1,y.disconnect(),v?.removeEventListener?.("change",N)}},[t,a,r]),(0,Ni.jsx)("canvas",{className:"hsk-cb-doodles",ref:o,"aria-hidden":"true"})}),Xr=wl;var Fe=Lt(require("react")),Ti=require("@akropolys/sdk");var jo={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 Vo=require("react/jsx-runtime");function pr(e){if(!e)return null;let t=e.trim().toLowerCase(),r={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!r||!(r in jo)?null:{strings:jo[r],dir:r==="arabic"||r==="urdu"?"rtl":"ltr",bcp47:r==="arabic"?"ar":r==="hindi"?"hi":r==="chinese"?"zh":r==="japanese"?"ja":r==="urdu"?"ur":r==="swahili"?"sw":r==="french"?"fr":r==="spanish"?"es":r==="portuguese"?"pt":"en"}}function Cl(e){let t=/var\(\s*(--[\w-]+)/.exec(e)?.[1];if(!t||typeof document>"u")return"";for(let a of[document.documentElement,document.body]){let r=a?getComputedStyle(a).getPropertyValue(t).trim():"";if(r)return r.split(",")[0].trim()}return""}function zi({shopperLanguage:e,theme:t}){let a=(0,Ti.useAkropolysContext)(),[r,o]=(0,Fe.useState)(()=>pr(e)?.strings||{}),[n,i]=(0,Fe.useState)(!0),[c,s]=(0,Fe.useState)(()=>!e||!!pr(e)),l=e?`akropolys_ui_dir_${e.toLowerCase()}`:"",[h,d]=(0,Fe.useState)(()=>{let T=pr(e);if(T)return T.dir==="rtl";if(To(e)?.rtl)return!0;if(typeof window>"u"||!l)return!1;try{return localStorage.getItem(l)==="rtl"}catch{return!1}}),[u,p]=(0,Fe.useState)(()=>pr(e)?.bcp47||""),[k,y]=(0,Fe.useState)(null),[v,N]=(0,Fe.useState)(null);(0,Fe.useEffect)(()=>{if(!e){p(""),y(null),o({}),s(!0),d(!1);return}let T=pr(e),_=To(e),F=e.trim().toLowerCase(),I=F==="urdu"||F==="ur"||e.trim()==="\u0627\u0631\u062F\u0648"||!T;T?(o(T.strings),d(T.dir==="rtl"),p(T.bcp47),s(!I)):(_?.rtl&&d(!0),s(!1));let B=!1;return(async()=>{try{let E=await a.getUIStrings?.(e,ha);if(!B&&E?.complete){i(E.curated!==!1),o(te=>({...E.strings,...T?.strings||{}})),d(E.dir==="rtl"),p(E.bcp47||T?.bcp47||"");try{localStorage.setItem(l,E.dir)}catch{}E.font&&(await _n(E.font,1200),B||y(E.font))}}catch{}B||s(!0)})(),()=>{B=!0}},[e,l,a]),(0,Fe.useEffect)(()=>{let T=!1;return(async()=>{try{let _=await So(a);!T&&_&&N(_)}catch{}})(),()=>{T=!0}},[a]),Mo(k),Mo(v);let P=Fe.default.useMemo(()=>{let _=(typeof t=="object"&&t?.fontFamily?t.fontFamily:"").split(",")[0].trim(),F=/^var\(/i.test(_),ae=_.replace(/^['"]|['"]$/g,""),I=F?Cl(_):"",B=F?I?`${I}, `:"":ae?`"${ae}", `:"";if(k)return`"${k.family}", ${B}"Geist", system-ui, sans-serif`;let E=e?e.trim().toLowerCase():"";if(E==="japanese"||E==="ja"||E==="\u65E5\u672C\u8A9E")return`${B}"Geist", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic", "Meiryo", system-ui, sans-serif`;if(E==="chinese"||E==="zh"||E==="\u4E2D\u6587")return`${B}"Geist", "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", system-ui, sans-serif`;if(E==="urdu"||E==="ur"||E==="\u0627\u0631\u062F\u0648")return`"Noto Nastaliq Urdu", ${B}"IBM Plex Sans Arabic", "Geist", system-ui, sans-serif`;if(E==="arabic"||E==="ar"||E==="\u0627\u0644\u0639\u0631\u0628\u064A\u0629")return`"IBM Plex Sans Arabic", ${B}"Geist", system-ui, sans-serif`;if(E==="hindi"||E==="hi"||E==="\u0939\u093F\u0928\u094D\u0926\u0940")return`"Hind", ${B}"Geist", system-ui, sans-serif`},[k,e,typeof t=="object"&&t?t.fontFamily:void 0]),L=Fe.default.useMemo(()=>{let T=0,_=0;for(let F of Object.values(r))for(let ae of F){let I=ae.codePointAt(0)??0;I<192||/\p{L}/u.test(ae)&&(I<=591?T++:_++)}return _>T},[r]),[f,z]=(0,Fe.useState)(0);(0,Fe.useEffect)(()=>{if(typeof document>"u"||!document.fonts?.ready)return;let T=!0;return document.fonts.ready.then(()=>{T&&z(_=>_+1)}),()=>{T=!1}},[k]);let $=Fe.default.useMemo(()=>{if(!L||typeof document>"u")return!0;let _=(typeof t=="object"&&t?.fontFamily?t.fontFamily:"").split(",")[0].trim();if(!_)return!1;let F="";for(let I of Object.values(r))if(I){F=I;break}if(!F)return!0;let ae=F.replace(/\s+/g,"");if(!ae)return!0;try{let B=document.createElement("canvas").getContext("2d");if(!B)return!0;let E=_.startsWith("var(")&&getComputedStyle(document.documentElement).getPropertyValue(_.slice(4,-1).trim()).trim()||_;B.font=`16px ${E}, __akropolys_nonexistent_font__`;let te=B.measureText(ae).width;B.font="16px __akropolys_nonexistent_font__";let A=B.measureText(ae).width;return Math.abs(te-A)>1}catch{return!0}},[L,r,typeof t=="object"&&t?t.fontFamily:void 0,f]),S=(0,Fe.useCallback)((T,_)=>{let F=r[T]||ha[T]||T;if(_)for(let[ae,I]of Object.entries(_))F=F.split(`{${ae}}`).join(I);return F},[r]),Y=(0,Fe.useCallback)((T,_)=>(r[T]||ha[T]||T).split(/(\{[a-zA-Z]+\})/g).map((ae,I)=>{let B=ae.match(/^\{([a-zA-Z]+)\}$/);return B&&_[B[1]]!==void 0?(0,Vo.jsx)("bdi",{children:_[B[1]]},I):(0,Vo.jsx)(Fe.default.Fragment,{children:ae},I)}),[r]);return{chromeStrings:r,chromeReady:c,chromeCurated:n,isRTL:h,speechLang:u,scriptFont:k,fontStack:P,isNonLatin:L,hostFontCovers:$,t:S,tNode:Y}}var ge=require("react");function Ri({messages:e,loading:t,messageRefs:a}){let r=(0,ge.useRef)(null),o=(0,ge.useRef)(0),[n,i]=(0,ge.useState)(!1),[c,s]=(0,ge.useState)(1),[l,h]=(0,ge.useState)(0),d=(0,ge.useRef)(()=>{}),u=(0,ge.useRef)(null),p=(0,ge.useRef)(!1),k=(0,ge.useRef)(!0),[y,v]=(0,ge.useState)(0),N=(0,ge.useRef)(0),P=(0,ge.useRef)(""),L=(0,ge.useRef)(()=>{}),f=(0,ge.useRef)(()=>{});(0,ge.useEffect)(()=>{let m=r.current;if(!m)return;let U,q=()=>{clearTimeout(U),U=setTimeout(()=>{p.current=!1},150)},le=()=>{clearTimeout(U),p.current=!0,L.current()},w=()=>{p.current&&q()};return m.addEventListener("touchstart",le,{passive:!0}),m.addEventListener("touchend",q,{passive:!0}),m.addEventListener("touchcancel",q,{passive:!0}),m.addEventListener("scroll",w,{passive:!0}),()=>{clearTimeout(U),m.removeEventListener("touchstart",le),m.removeEventListener("touchend",q),m.removeEventListener("touchcancel",q),m.removeEventListener("scroll",w)}},[]),(0,ge.useEffect)(()=>{let m=r.current;if(!m)return;let U=160,q=8,le=0,w=()=>{le=0;let K=m.scrollHeight-m.scrollTop-m.clientHeight;K<=q&&(k.current||f.current(),k.current=!0,F.current()),i(K>U&&!k.current);let X=m.scrollHeight-m.clientHeight;s(X>8?Math.min(1,Math.max(0,m.scrollTop/X)):1);let x=m.scrollTop+m.clientHeight*.33,V=0;for(let H=0;H<a.current.length;H++){let D=a.current[H];D&&D.offsetTop-m.offsetTop<=x&&(V=H)}h(V)},M=()=>{le||(le=requestAnimationFrame(w))};w(),m.addEventListener("scroll",M,{passive:!0});let C=new ResizeObserver(M);return C.observe(m),()=>{le&&cancelAnimationFrame(le),m.removeEventListener("scroll",M),C.disconnect()}},[e.length,a]);let z=(0,ge.useCallback)(m=>{let U=`${m}:${N.current}`;P.current!==U&&(P.current=U,v(q=>q+1))},[]),[$,S]=(0,ge.useState)(!1),Y=(0,ge.useRef)(!1),T=(0,ge.useCallback)(()=>{Y.current||(Y.current=!0,S(!0))},[]),_=(0,ge.useCallback)(()=>{Y.current&&(Y.current=!1,S(!1))},[]),F=(0,ge.useRef)(()=>{});F.current=_;let[ae,I]=(0,ge.useState)(!1),B=(0,ge.useRef)(!1),E=(0,ge.useRef)(0),te=(0,ge.useCallback)(()=>{B.current=!1,I(!1)},[]),A=(0,ge.useCallback)(()=>{P.current="",te(),_()},[te,_]),j=(0,ge.useCallback)(()=>{B.current&&(performance.now()-E.current<700||te())},[te]);L.current=j,f.current=A,(0,ge.useEffect)(()=>{if(y===0)return;B.current=!0,E.current=performance.now(),I(!0);let m=setTimeout(te,4200);return()=>clearTimeout(m)},[y,te]);let re=(0,ge.useCallback)(m=>{let U=r.current,q=a.current[m];if(!U||!q)return;let le=q.offsetTop-U.offsetTop-Math.max(0,(U.clientHeight-q.clientHeight)/2),w=Math.max(0,Math.min(U.scrollHeight-U.clientHeight,le));u.current?u.current(w):U.scrollTo({top:w,behavior:"smooth"})},[a]),G=(0,ge.useCallback)(()=>{let m=r.current;if(!m)return;k.current=!0,f.current();let U=m.scrollHeight-m.clientHeight;u.current?u.current(U):m.scrollTo({top:U,behavior:"smooth"})},[]);return(0,ge.useEffect)(()=>{let m=r.current;if(!m)return;let U=requestAnimationFrame(()=>{let q=m.scrollTop;if(!k.current)T(),z(e.length);else if(!p.current){let le=m.scrollHeight-m.clientHeight;if(u.current){u.current(le);return}m.scrollTop=m.scrollHeight}m.scrollTop!==q&&d.current()});return()=>cancelAnimationFrame(U)},[e,t,a,z,T]),(0,ge.useEffect)(()=>{let m=r.current;if(!m||typeof window<"u"&&window.matchMedia?.("(prefers-reduced-motion: reduce)").matches)return;let U=7,q=16,le=1/(window.devicePixelRatio||1),w=oe=>Math.round(oe/le)*le,M=m.scrollTop,C=m.scrollTop,K=m.scrollTop,X=0,x=null,V=oe=>{oe!==K&&(m.scrollTop=oe,K=m.scrollTop)},H=()=>{x!==null&&(cancelAnimationFrame(x),x=null),m.classList.remove("hsk-scrolling"),M=C=K=m.scrollTop};d.current=H,u.current=oe=>{Math.abs(m.scrollTop-K)>1&&(M=C=K=m.scrollTop);let ie=Math.round(Math.max(0,Math.min(m.scrollHeight-m.clientHeight,oe)));ie!==M&&(M=ie,x===null&&(X=performance.now(),x=requestAnimationFrame(D)))};let D=oe=>{let ie=Math.min((oe-X)/1e3,.05);if(X=oe,C+=(M-C)*(1-Math.exp(-U*ie)),Math.abs(M-C)<le){C=M,V(Math.round(M)),m.classList.remove("hsk-scrolling"),x=null;return}V(w(C)),x=requestAnimationFrame(D)},g=oe=>{if(oe.ctrlKey)return;Math.abs(m.scrollTop-K)>1&&(M=C=K=m.scrollTop),oe.deltaY<0&&(k.current&&(N.current+=1),k.current=!1),L.current();let ie=oe.deltaMode===1?q:oe.deltaMode===2?m.clientHeight:1,Te=Math.max(0,m.scrollHeight-m.clientHeight),Be=Math.round(Math.max(0,Math.min(Te,M+oe.deltaY*ie)));if(Be===M){Te>0&&oe.preventDefault();return}oe.preventDefault(),M=Be,x===null&&(X=performance.now(),m.classList.add("hsk-scrolling"),x=requestAnimationFrame(D))},O=m.scrollTop,de=()=>{let oe=Math.abs(m.scrollTop-K)>1;oe&&(o.current=performance.now(),m.scrollTop<O-1&&k.current&&(N.current+=1,k.current=!1)),O=m.scrollTop,x!==null&&oe&&(cancelAnimationFrame(x),x=null,m.classList.remove("hsk-scrolling"),M=C=K=m.scrollTop)};return m.addEventListener("wheel",g,{passive:!1}),m.addEventListener("scroll",de,{passive:!0}),()=>{m.removeEventListener("scroll",de),m.removeEventListener("wheel",g),x!==null&&cancelAnimationFrame(x),m.classList.remove("hsk-scrolling"),d.current=()=>{},u.current=null}},[]),{msgsContainerRef:r,lastExternalScrollRef:o,showJumpToBottom:n,scrollProgress:c,activeMsgIdx:l,jumpAlert:ae,unreadBelow:$,jumpToMessage:re,jumpToBottom:G,resetAlertArming:A}}var tt=require("react"),Pi=require("@akropolys/sdk");function Ai(e,t){let a=(0,Pi.useAkropolysContext)(),[r,o]=(0,tt.useState)(""),[n,i]=(0,tt.useState)("idle"),[c,s]=(0,tt.useState)(null),[l,h]=(0,tt.useState)(null),[d,u]=(0,tt.useState)(null),[p,k]=(0,tt.useState)(Po),[y,v]=(0,tt.useState)(!1),N=(0,tt.useCallback)(async(f,z)=>{try{await navigator.clipboard.writeText(f),u(z),setTimeout(()=>u(null),2e3)}catch{}},[]);(0,tt.useEffect)(()=>{e&&e.type==="request_kiku_key"&&(i("prompt_key"),o(""))},[e]),(0,tt.useEffect)(()=>{if(!c)return;k(Po);let f=setInterval(()=>{k(z=>z<=1?(clearInterval(f),s(null),h(null),0):z-1)},1e3);return()=>clearInterval(f)},[c]);let P=(0,tt.useCallback)(async()=>{let f=r.trim();f&&(a.setKikuPub(f),o(""),i("idle"),await t())},[a,r,t]),L=(0,tt.useCallback)(async()=>{if(!y){v(!0);try{let{secret:f,publicId:z}=await a.mintKikuKey();s(f),h(z),i("idle"),await t()}catch{}finally{v(!1)}}},[a,y,t]);return{keyInput:r,setKeyInput:o,keyPhase:n,setKeyPhase:i,mintedKey:c,setMintedKey:s,mintedPub:l,setMintedPub:h,copied:d,keyCountdown:p,minting:y,copyValue:N,handleUseExistingKey:P,handleCreateKey:L}}var dr=require("react");function Li({attachments:e,setAttachments:t,setInput:a,send:r,defaultCurrency:o,t:n}){let i=(0,dr.useCallback)(h=>{let d=h.name||"",u=`@kiku ${n("displayCapture",{name:d}).trim()}`,p=d||"capture current page";a("");let k=e;t([]),r(p,u,k.length>0?k:void 0,"capture")},[e,r,t,a,n]),c=(0,dr.useCallback)(h=>{let d=h.filter(k=>k.id).map(k=>({name:k.name||"",url:k.url||"",image:k.image||"",price:k.price?String(k.price):"",currency:k.currency||o})),u=h.map(k=>k.name).filter(Boolean).join(", "),p=`@kiku ${n("displayCaptureAll",{count:String(h.length)})}`;a(""),t([]),r(u||"capture all",p,void 0,"capture_all",d)},[o,r,t,a,n]),s=(0,dr.useCallback)(()=>{let h=`@kiku ${n("displayViewHistory")}`;a(""),t([]),r("show my saved items",h,void 0,"view_history")},[r,t,a,n]),l=(0,dr.useCallback)(()=>{let h=`@kiku ${n("displayDelete")}`;a(""),t([]),r("delete this",h,void 0,"delete")},[r,t,a,n]);return{handleKikuCapture:i,handleKikuCaptureAll:c,handleKikuViewHistory:s,handleKikuDelete:l}}var yt=require("react"),Di=require("@akropolys/sdk");var be=require("react"),Ii=16e3,Ml=`
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 for your account.",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=`
12
3
  class KikuCapture extends AudioWorkletProcessor {
13
4
  constructor() {
14
5
  super();
15
- this._ratio = sampleRate / ${Ii};
16
- this._chunk = ${Math.round(Ii*.04)};
6
+ this._ratio = sampleRate / ${So};
7
+ this._chunk = ${Math.round(So*.04)};
17
8
  this._acc = new Int16Array(this._chunk);
18
9
  this._n = 0;
19
10
  this._pos = 0;
@@ -41,8 +32,8 @@ class KikuCapture extends AudioWorkletProcessor {
41
32
  }
42
33
  }
43
34
  registerProcessor('kiku-capture', KikuCapture);
44
- `;function Nl(e){let t=new Uint8Array(e),a="";for(let r=0;r<t.length;r+=32768)a+=String.fromCharCode.apply(null,Array.from(t.subarray(r,r+32768)));return btoa(a)}function Tl(e){let t=atob(e),a=t.length,r=new Uint8Array(a);for(let c=0;c<a;c++)r[c]=t.charCodeAt(c);let o=new DataView(r.buffer,r.byteOffset,r.byteLength),n=a>>1,i=new Float32Array(n);for(let c=0;c<n;c++)i[c]=o.getInt16(c*2,!0)/32768;return i}function Ei(e){let[t,a]=(0,be.useState)("idle"),[r,o]=(0,be.useState)(!1),[n,i]=(0,be.useState)([]),[c,s]=(0,be.useState)(null),l=(0,be.useRef)(null),h=(0,be.useRef)(null),d=(0,be.useRef)(null),u=(0,be.useRef)(null),p=(0,be.useRef)(null),k=(0,be.useRef)(0),y=(0,be.useRef)(new Set),v=(0,be.useRef)(null),N=(0,be.useRef)(null),P=(0,be.useRef)(24e3),L=(0,be.useRef)(e);(0,be.useEffect)(()=>{L.current=e},[e]);let f=(0,be.useRef)(!1),z=(0,be.useRef)(null),$=(0,be.useRef)(""),S=(0,be.useRef)(""),Y=(0,be.useCallback)(()=>{let w=$.current.trim(),M=S.current.trim();$.current="",S.current="",!(!w&&!M)&&L.current.onExchange?.({heard:w,said:M})},[]),T=(0,be.useCallback)(()=>{},[]),_=(0,be.useCallback)(()=>{if(!f.current)return;h.current&&h.current.state==="suspended"&&h.current.resume().catch(()=>{});let w=z.current;w&&(z.current=null,w())},[]),F=(0,be.useCallback)(()=>{let w=p.current;if(!w)return 0;let M=new Uint8Array(w.fftSize);w.getByteTimeDomainData(M);let C=0;for(let K=0;K<M.length;K++){let X=(M[K]-128)/128;C+=X*X}return Math.min(1,Math.sqrt(C/M.length)*4)},[]),ae=t==="speaking"||t==="thinking",I=(0,be.useCallback)(w=>{let M=ae?v.current:p.current;return!M||w.length!==M.frequencyBinCount?!1:(M.getByteFrequencyData(w),!0)},[ae]),B=(0,be.useCallback)(()=>(ae?v.current:p.current)?.frequencyBinCount??0,[ae]),E=(0,be.useCallback)(()=>{k.current=0;let w=N.current,M=h.current;if(w&&M&&M.state!=="closed"){let C=M.currentTime;w.gain.cancelScheduledValues(C),w.gain.setValueAtTime(w.gain.value,C),w.gain.linearRampToValueAtTime(0,C+.08),setTimeout(()=>{for(let K of y.current)try{K.onended=null,K.stop()}catch{}y.current.clear(),w&&h.current&&h.current.state!=="closed"&&w.gain.setValueAtTime(1,h.current.currentTime)},100)}else{for(let C of y.current)try{C.onended=null,C.stop()}catch{}y.current.clear()}},[]),te=(0,be.useCallback)(w=>{let M=h.current,C=v.current;if(!M||!C||w.length===0)return;M.state==="suspended"&&M.resume().catch(()=>{});let K=P.current,X=M.createBuffer(1,w.length,K);X.getChannelData(0).set(w);let x=M.createBufferSource();x.buffer=X,x.connect(C);let V=M.currentTime,H=k.current>V?k.current:V+.03;x.start(H),k.current=H+X.duration,y.current.add(x),x.onended=()=>{y.current.delete(x),y.current.size===0&&(k.current=0,a(D=>D==="speaking"?"listening":D))},a(D=>D==="speaking"||D==="idle"||D==="ended"?D:"speaking")},[]),A=(0,be.useCallback)(()=>{},[]),j=(0,be.useCallback)(()=>{},[]),re=(0,be.useCallback)(w=>{Y(),l.current=null,f.current=!1,z.current=null,A(),E(),u.current?.disconnect(),u.current=null,d.current?.getTracks().forEach(M=>M.stop()),d.current=null,p.current=null,v.current=null,N.current=null,h.current?.close().catch(()=>{}),h.current=null,a(w),o(!1),i([])},[Y,E,A]),G=(0,be.useCallback)(()=>{try{l.current?.send(JSON.stringify({type:"close"}))}catch{}try{l.current?.close()}catch{}re("idle")},[re]),m=(0,be.useCallback)(w=>{let M=!1;w.onmessage=C=>{let K;try{K=JSON.parse(C.data)}catch{return}switch(K.type){case"ready":K.sampleRate&&(P.current=K.sampleRate),typeof K.secondsLeft=="number"&&s(K.secondsLeft),f.current=!0,a("listening"),_();break;case"audio":A(),K.audio&&te(Tl(K.audio));break;case"hearing":o(!0);break;case"thinking":o(!1),a("thinking"),j();break;case"heard":$.current+=K.text;break;case"said":S.current+=K.text;break;case"interrupted":A(),E(),o(!1),a("listening");break;case"turn_complete":A(),o(!1),Y();break;case"sources":Array.isArray(K.sources)&&K.sources.length&&i(K.sources);break;case"seconds":typeof K.secondsLeft=="number"&&s(K.secondsLeft);break;case"refused":L.current.onRefused?.(K.code||"guest"),G();break;case"error":L.current.onError?.(K.code||"unavailable"),G();break}},w.onclose=C=>{l.current===w&&(C.code===4402&&(M=!0,L.current.onError?.(C.reason==="site"?"siteLimit":"limit")),re("ended"))},w.onerror=()=>{!M&&l.current===w&&L.current.onError?.("connection")}},[_,te,Y,E,j,A,G,re]),U=(0,be.useCallback)(w=>{let M=l.current;if(f.current=!1,a("connecting"),E(),A(),M){try{M.send(JSON.stringify({type:"close"}))}catch{}try{M.close()}catch{}}let C=L.current,K=C.apiUrl.replace(/\/+$/,""),X=new URL(K+"/voice/live",window.location.href);X.protocol=X.protocol==="https:"?"wss:":"ws:",X.searchParams.set("siteId",C.siteId),C.kikuId&&X.searchParams.set("kikuId",C.kikuId),C.language&&X.searchParams.set("language",C.language),(w||C.voice)&&X.searchParams.set("voice",w||C.voice);let x=new WebSocket(X.toString(),["akropolys.token."+C.token]);l.current=x,m(x)},[m,E,A]),q=(0,be.useRef)(e.voice);(0,be.useEffect)(()=>{q.current!==e.voice&&(q.current=e.voice,l.current&&(t==="listening"||t==="thinking"||t==="speaking")&&U(e.voice))},[e.voice,t,U]);let le=(0,be.useCallback)(async()=>{if(l.current)return;a("connecting");let w=L.current,M=window.AudioContext||window.webkitAudioContext;M&&((!h.current||h.current.state==="closed")&&(h.current=new M({latencyHint:"interactive"})),h.current.state==="suspended"&&h.current.resume().catch(()=>{}));let C=w.apiUrl.replace(/\/+$/,""),K=new URL(C+"/voice/live",window.location.href);K.protocol=K.protocol==="https:"?"wss:":"ws:",K.searchParams.set("siteId",w.siteId),w.kikuId&&K.searchParams.set("kikuId",w.kikuId),w.language&&K.searchParams.set("language",w.language),w.voice&&K.searchParams.set("voice",w.voice);let X=new WebSocket(K.toString(),["akropolys.token."+w.token]);l.current=X,m(X);let x;try{if(!navigator.mediaDevices?.getUserMedia)throw{name:"NotAllowedError"};x=await navigator.mediaDevices.getUserMedia({audio:{echoCancellation:!0,noiseSuppression:!0,autoGainControl:!0}})}catch(O){abandoned=!0;try{X.close()}catch{}l.current=null,a("idle"),w.onError?.(O?.name==="NotAllowedError"?"not-allowed":"audio-capture");return}if(l.current!==X){x.getTracks().forEach(O=>O.stop());return}d.current=x;for(let O of x.getAudioTracks())O.enabled=!L.current.muted;let V=h.current&&h.current.state!=="closed"?h.current:M?new M({latencyHint:"interactive"}):null;if(!V)return;h.current=V,V.state==="suspended"&&V.resume().catch(()=>{});let H=V.createAnalyser();H.fftSize=1024,H.smoothingTimeConstant=.25,p.current=H;let D=V.createGain();D.gain.value=1,D.connect(V.destination),N.current=D;let g=V.createAnalyser();g.fftSize=1024,g.smoothingTimeConstant=.25,g.connect(D),v.current=g;try{let O=URL.createObjectURL(new Blob([Ml],{type:"application/javascript"}));if(await V.audioWorklet.addModule(O),URL.revokeObjectURL(O),l.current!==X){x.getTracks().forEach(ie=>ie.stop()),V.close().catch(()=>{});return}let de=new AudioWorkletNode(V,"kiku-capture");u.current=de,de.port.onmessage=ie=>{let Te=l.current;!Te||Te.readyState!==WebSocket.OPEN||Te.send(JSON.stringify({type:"audio",audio:Nl(ie.data)}))};let oe=V.createMediaStreamSource(x);z.current=()=>{oe.connect(H),oe.connect(de)},_()}catch{L.current.onError?.("audio-worklet"),G()}},[_,te,Y,E,j,A,G,re]);return(0,be.useEffect)(()=>()=>{G()},[G]),(0,be.useEffect)(()=>{let w=d.current;if(w)for(let M of w.getAudioTracks())M.enabled=!e.muted},[e.muted,t]),{state:t,phase:t,hearing:r,sources:n,secondsLeft:c,micLevel:F,micSpectrum:I,spectrumBins:B,start:le,stop:G}}var zl=e=>e==="connecting"||e==="ended"?"idle":e;function $i({voiceLang:e,speechLang:t,shopperLanguage:a,ttsVoice:r="Puck",handleSendUtterance:o,appendSpokenExchange:n}){let i=(0,Di.useAkropolysContext)(),[c,s]=(0,yt.useState)("off"),[l,h]=(0,yt.useState)("idle"),[d,u]=(0,yt.useState)(""),[p,k]=(0,yt.useState)(!1),[y,v]=(0,yt.useState)(null),[N,P]=(0,yt.useState)(!1),[L,f]=(0,yt.useState)(()=>{try{let A=localStorage.getItem(zo);if(A&&Br.some(j=>j.name===A))return A}catch{}return r||"Puck"}),z=(0,yt.useCallback)(A=>{f(A);try{localStorage.setItem(zo,A)}catch{}},[]),$=Ar({lang:e||t,onUtterance:A=>{h("thinking"),o(A)},onError:A=>{s("off"),h("idle"),u(A==="not-allowed"?"micDenied":A==="language-not-supported"?"micLangUnsupported":A==="audio-capture"?"micMissing":A==="network"?"micNetwork":"micFailed")},onBargeIn:()=>{Wt()}}),S=i?.api?.apiUrl||i?.apiUrl||"",Y=i?.api?.siteId||i?.siteId||"",T=i?.api?.apiToken||i?.apiToken||"",_=i?.getShopperId?.()||i?.getKikuPub?.()||void 0,F=Ei({apiUrl:S,siteId:Y,token:T,kikuId:_,language:a,voice:L,muted:p,onExchange:A=>{n(A.heard,A.said)},onError:A=>{if(A==="shopper_reply_limit"||A==="access_revoked"||A==="account_required"){P(!0),F.stop(),s("off");return}s("off"),u(A==="not-allowed"?"micDenied":A==="audio-capture"?"micMissing":A==="limit"?"voiceLimitReached":A==="siteLimit"?"voiceSiteLimit":A==="connection"||A==="network"?"micNetwork":"voiceUnavailable")},onRefused:A=>{(A==="shopper_reply_limit"||A==="access_revoked"||A==="account_required")&&P(!0),s("off"),u("voiceUnavailable")}}),ae=typeof window<"u"&&!!window.WebSocket&&!!(window.AudioContext||window.webkitAudioContext)&&!!navigator.mediaDevices?.getUserMedia,I=(0,yt.useCallback)(async A=>{if(!Vn()){u("micInsecure");return}u(""),s(A),A==="dictate"?(h("listening"),await $.start()):F.start()},[F,$]),B=(0,yt.useCallback)(()=>{s("off"),h("idle"),$.stop(),F.stop()},[F,$]),E=c==="converse"?zl(F.state):c==="dictate"?l==="listening"?$.hearing?"speaking":"listening":l:"idle",te=c==="converse"&&(F.phase==="connecting"||F.state==="connecting");return{voiceMode:c,voicePhase:E,voiceConnecting:te,voiceError:d,setVoiceError:u,voiceMuted:p,setVoiceMuted:k,voiceSecondsLeft:y,voiceBlocked:N,liveVoiceName:L,chooseVoice:z,canConverse:ae,startVoice:I,stopVoice:B,voice:$,live:F}}var dt=Lt(require("react"));var Le=require("react"),me=require("react/jsx-runtime"),Wo={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}},Ko={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}},Jr=[[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 Rl(e){let t=1;for(;t<Jr.length-1&&Jr[t][0]<e;)t++;let[a,r,o]=Jr[t-1],[n,i,c]=Jr[t],s=n===a?0:(e-a)/(n-a),l=s*s*(3-2*s);return[r+(i-r)*l,o+(c-o)*l]}var hr=6,Fi=["bw","bh","tr","br","bow","lid","warm","wob","gx","gy"],oa=(e,t,a)=>Math.max(t,Math.min(a,e));function _i(e,t,a,r){let o=l=>l.toFixed(2),n=(t+a)/2,i=e+r,c=(n-t)*.55,s=(a-n)*.55;return`C${o(e)} ${o(t+c)} ${o(i)} ${o(n-c)} ${o(i)} ${o(n)}C${o(i)} ${o(n+s)} ${o(e)} ${o(a-s)} ${o(e)} ${o(a)}`}function Pl(e,t,a,r,o){let n=oa(e*a,8,t*.96),i=oa(e*r,8,t*.96),c=(d,u)=>`${d.toFixed(2)} ${u.toFixed(2)}`,s=.46,l=oa((e-n)/e,0,1),h=oa((e-i)/e,0,1);return`M${c(-e,-t+n)}C${c(-e,-t+n*s)} ${c(-e+n*s,-t)} ${c(-e+n,-t)}C${c(-e*.3*l,-t-2*l)} ${c(e*.3*l,-t-2*l)} ${c(e-n,-t)}C${c(e-n*s,-t)} ${c(e,-t+n*s)} ${c(e,-t+n)}`+_i(e,-t+n,t-i,o)+`C${c(e,t-i*s)} ${c(e-i*s,t)} ${c(e-i,t)}C${c(e*.3*h,t+2*h)} ${c(-e*.3*h,t+2*h)} ${c(-e+i,t)}C${c(-e+i*s,t)} ${c(-e,t-i*s)} ${c(-e,t-i)}`+_i(-e,t-i,-t+n,-o)+"Z"}var _a=[{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)"}],Go=[{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)"}],Td=[..._a,...Go];function Oo(e){let r=(!Go.includes(e)&&Math.random()<.26?Go:_a).filter(o=>o!==e);return r[Math.floor(Math.random()*r.length)]}function qt(e){let t=parseInt(e.slice(1),16);return[t>>16&255,t>>8&255,t&255]}function Yo(e){return`rgb(${Math.round(e[0])}, ${Math.round(e[1])}, ${Math.round(e[2])})`}function Al(e,t,a){return[e[0]+(t[0]-e[0])*a,e[1]+(t[1]-e[1])*a,e[2]+(t[2]-e[2])*a]}var Ll=[[255,253,248],[247,240,231],[231,218,202],[198,178,156]],Bi=[.05,.15,.42,.74],Il=[.52,.72,.9,1],qi={color:"#E2581D",light:"#FFBE96",glow:"rgba(226, 88, 29, 0.34)"};function Hi({state:e="idle",size:t=40,alert:a=!1,theme:r,feminine:o,accessories:n,onImpact:i,triggerRef:c}){let s=(0,Le.useRef)(e);s.current=e;let l=(0,Le.useRef)(a);l.current=a;let h=r==="blush"||o===!0||!!(n?.flower||n?.eyelashes||n?.blush),d=n?.flower??h,u=n?.eyelashes??h,p=n?.blush??h,k=(0,Le.useRef)(null),y=(0,Le.useRef)(null),v=(0,Le.useRef)(null),N=(0,Le.useRef)(null),P=(0,Le.useRef)(null),L=(0,Le.useRef)(null),f=(0,Le.useRef)(null),z=(0,Le.useRef)(null),$=(0,Le.useRef)(null),S=(0,Le.useRef)(null),Y=(0,Le.useRef)(null),T=(0,Le.useRef)(null),_=(0,Le.useRef)(null),F=(0,Le.useRef)(null),ae=(0,Le.useRef)([]),I=(0,Le.useRef)([]),B=(0,Le.useRef)(null),E=(0,Le.useRef)(`kiku-${Math.random().toString(36).slice(2,8)}`).current,te=(0,Le.useRef)(i);return te.current=i,(0,Le.useEffect)(()=>{let A=window.matchMedia("(prefers-reduced-motion: reduce)").matches,j={},re={};Fi.forEach(ke=>{j[ke]=Wo.idle[ke]??Ko.idle[ke]??0,re[ke]=0});let G=Array.from({length:hr},()=>({x:0,y:0,w:0,h:0,rx:0,a:0})),m=Array.from({length:hr},()=>({x:0,y:0,w:0,h:0,rx:0,a:0})),U=1800,q=-1,le=0,w=2600,M=0,C=!1,K=9e3+Math.random()*8e3,X=-1,x=0,V=0,H=0,D=4200,g=0,O=0,de=0,oe=12e3,ie=_a[0],Te=qt(ie.color),Be=qt(ie.light),qe=[...Te],et=[...Be],Xe=2600,mt=-1/0,kt=!1,$e=0,rt=!1,Rt=0,wt=0,Wa=0,kr=!1,Ka=0,Ca=ke=>{ke-mt<Xe?(ie=Oo(ie),qe=qt(ie.color),et=qt(ie.light),mt=-1/0):mt=ke},Ma=(ke,ct,bt,ot)=>{let Je=s.current,lt=Array.from({length:hr},()=>({x:0,y:0,w:0,h:0,rx:0,a:0})),ft=(Pt,Oe,nt=0)=>{let He=Math.max(4,54*Math.max(.06,ct));lt[Pt]={x:Oe+bt,y:-4+ot+nt,w:21,h:He,rx:10.5,a:1}};if(Je==="thinking"){let Oe=ke%2800/2800,nt=Math.pow(Math.sin(Oe*Math.PI*2)*.5+.5,3);for(let He=0;He<4;He++){let At=ke/700+He/4*Math.PI*2,Ta=(26-He%2*5)*(1-.94*nt),Qt=16+nt*6+Math.sin(ke/420+He)*1.4;lt[He]={x:Math.cos(At)*Ta,y:Math.sin(At)*Ta*.86+2,w:Qt,h:Qt,rx:Qt/2,a:1}}}else if(Je==="visualizing")lt[0]={x:0,y:-2,w:78,h:26,rx:13,a:1};else if(Je==="speaking")for(let Oe=0;Oe<5;Oe++){let nt=12+Math.abs(Math.sin(ke/150+Oe*.9))*26;lt[Oe]={x:(Oe-4/2)*15,y:-2,w:9,h:nt,rx:4.5,a:1}}else Je==="failed"?(ft(0,-22,8),ft(1,22,8)):(ft(0,-22),ft(1,22));return lt};c&&(c.current=()=>{if(X>=0){rt=!0,ie=Oo(ie),qe=qt(ie.color),et=qt(ie.light),mt=-1/0;return}X=0,Ca(Rt),K=Rt+4e3});let Oa=ke=>{Rt=ke;let ct=s.current,bt=Wo[ct]??Wo.idle,ot=Ko[ct]??Ko.idle,Je=ct==="idle"||ct==="failed";Je&&!A&&(ke>w&&(le=(Math.random()-.5)*2,w=ke+1800+Math.random()*3600),j.wantGx=le*5);let lt=l.current?1:0;Wa=(Wa+(lt-wt)*.1)*.88,wt+=Wa;let ft=l.current&&!A?Math.sin(ke/480)*.055*wt:0,Pt={bw:bt.bw*(1+wt*.34+ft),bh:bt.bh*(1+wt*.2+ft),tr:bt.tr,br:bt.br,bow:bt.bow,warm:ot.warm,wob:ot.wob,lid:ot.lid,gx:Je&&!A?le*5:0,gy:Je&&!A?Math.sin(ke/2600)*2:0};!A&&Je&&(q<0&&ke>U&&(q=0),q>=0&&(q+=1/7,Pt.lid=ot.lid*Math.abs(q-.5)*2,q>=1&&(q=-1,Pt.lid=ot.lid,U=ke+(Math.random()<.22?340:2600+Math.random()*4200)))),Fi.forEach(fe=>{let Re=fe;if(A){j[Re]=Pt[Re];return}let ze=Re==="lid"?.42:.11,St=Re==="lid"?.55:.78;re[Re]=(re[Re]+(Pt[Re]-j[Re])*ze)*St,j[Re]+=re[Re]});let Oe=0,nt=0;!A&&l.current&&X<0&&ke>Ka&&(X=0,Ka=ke+2100,K=ke+4e3),!A&&ct==="idle"?X<0&&ke>K&&(X=0,kt?(kt=!1,$e=0,ie=Oo(ie),qe=qt(ie.color),et=qt(ie.light),mt=-1/0):($e++,Ca(ke))):X<0&&(K=ke+3e3+Math.random()*3e3),X>=0&&(X+=1/96,[Oe,nt]=Rl(X),X>=1&&(X=-1,Oe=0,nt=0,rt?(rt=!1,$e=0,K=ke+150):!kt&&$e>=2?(kt=!0,K=ke+240):K=ke+5e3+Math.random()*5e3));let He=Math.max(0,Oe);if(l.current!==kr){kr=l.current;let fe=l.current?qi:ie;qe=qt(fe.color),et=qt(fe.light),l.current&&!A&&(X<0&&(X=0),Ka=ke+2600)}let At=l.current?qi:ie;if(A)Te=[...qe],Be=[...et];else for(let fe=0;fe<3;fe++)Te[fe]+=(qe[fe]-Te[fe])*.055,Be[fe]+=(et[fe]-Be[fe])*.055;let Ta=Yo(Te),Qt=Yo(Be);T.current?.setAttribute("stop-color",Ta),_.current?.setAttribute("stop-color",Qt),F.current?.setAttribute("stop-color",Qt);for(let fe=0;fe<4;fe++){let Re=Bi[fe]+(Il[fe]-Bi[fe])*wt;ae.current[fe]?.style.setProperty("stop-color",Yo(Al(Ll[fe],Te,Re)))}let br=.34+Math.sin(ke/1200)*.06,ro=He>.02?Math.min(.72,br+He*.34):br;Y.current?.setAttribute("opacity",ro.toFixed(3)),He>.04?te.current?.(He,At.color,At.glow):Na>.04&&te.current?.(0,At.color,At.glow),Na=He;let fr=A?0:Math.sin(ke/1900)*.9*j.wob,gr=j.bw*(1+Oe*.55)+fr*.4,Ut=j.bh*(1-Oe*.62),vr=Pl(gr,Ut,oa(j.tr+He*.5,0,1.2),oa(j.br+He*.9,0,1),j.bow+fr+He*5);k.current?.setAttribute("d",vr),y.current?.setAttribute("d",vr);let za=ct==="thinking";za!==C&&(C=za,B.current?.setAttribute("filter",za?`url(#${E}-goo)`:"none"));let oo=Ma(ke,j.lid*(1-He*.85),j.gx,j.gy);for(let fe=0;fe<hr;fe++){let Re=oo[fe],ze=G[fe],St=m[fe];for(let st of["x","y","w","h","rx","a"]){if(A){ze[st]=Re[st];continue}St[st]=(St[st]+(Re[st]-ze[st])*.16)*.74,ze[st]+=St[st]}let Ge=I.current[fe];Ge&&(Ge.setAttribute("x",(ze.x-ze.w/2).toFixed(2)),Ge.setAttribute("y",(ze.y-ze.h/2).toFixed(2)),Ge.setAttribute("width",Math.max(0,ze.w).toFixed(2)),Ge.setAttribute("height",Math.max(0,ze.h).toFixed(2)),Ge.setAttribute("rx",Math.max(0,Math.min(ze.rx,ze.w/2,ze.h/2)).toFixed(2)),Ge.setAttribute("opacity",oa(ze.a,0,1).toFixed(2)))}let sa=A?0:Math.sin(ke/ot.breath)*1.5;!A&&Je&&X<0?(ke>D&&(H=(Math.random()<.5?-1:1)*(.35+Math.random()*.65),D=ke+2600+Math.random()*4200),ke>oe&&(de=de>.1?0:1,oe=ke+(de>.1?900:9e3+Math.random()*11e3))):(H=0,de=0),V=(V+(H-x)*.028)*.9,x+=V,O=(O+(de-g)*.06)*.82,g+=O;let Ya=j.bh-Ut,it=x*3.4+g*4.5,gt=x*2.2+g*3,yr=g*2.4;if(v.current?.setAttribute("transform",`translate(${gt.toFixed(2)} ${(sa+Ya-nt+yr).toFixed(2)}) rotate(${it.toFixed(2)} 0 60)`),N.current&&N.current.setAttribute("transform",`translate(${gt.toFixed(2)} ${(sa+Ya-nt+yr).toFixed(2)}) rotate(${it.toFixed(2)} 0 60)`),d&&P.current){let fe=-gr*.62,Re=-Ut*.7,ze=-16+(A?0:Math.sin(ke/1400)*3)+it*.4;P.current.setAttribute("transform",`translate(${fe.toFixed(2)}, ${Re.toFixed(2)}) rotate(${ze.toFixed(2)})`)}if(p&&L.current){let fe=12+j.gy*.5;L.current.setAttribute("transform",`translate(0, ${fe.toFixed(2)})`)}if(u&&f.current){let fe=ct!=="thinking"&&ct!=="visualizing"&&ct!=="speaking";f.current.setAttribute("opacity",fe?oa(j.lid*1.3,0,1).toFixed(2):"0");let Re=(ze,St)=>{let Ge=Math.max(1,Math.min(ze.w,ze.h)/2),st=ze.y-ze.h/2+Ge,xr="";for(let[wr,Ra]of[[20,7],[48,8],[76,6.5]]){let Xt=wr*Math.PI/180,Sr=ze.x+St*Math.sin(Xt)*Ge,no=st-Math.cos(Xt)*Ge,Cr=ze.x+St*Math.sin(Xt)*(Ge+Ra),io=st-Math.cos(Xt)*(Ge+Ra)-1.5,so=ze.x+St*Math.sin(Xt-.22)*(Ge+Ra*.65),Mr=st-Math.cos(Xt-.22)*(Ge+Ra*.65);xr+=` M ${Sr.toFixed(2)} ${no.toFixed(2)} Q ${so.toFixed(2)} ${Mr.toFixed(2)} ${Cr.toFixed(2)} ${io.toFixed(2)}`}return xr.trim()};z.current?.setAttribute("d",Re(G[0],-1)),$.current?.setAttribute("d",Re(G[1],1))}M=requestAnimationFrame(Oa)},Na=0;return M=requestAnimationFrame(Oa),()=>cancelAnimationFrame(M)},[d,u,p,h]),(0,me.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,me.jsxs)("defs",{children:[(0,me.jsx)("linearGradient",{id:`${E}-marble`,x1:".2",y1:"0",x2:".42",y2:"1",children:[0,40,82,100].map((A,j)=>(0,me.jsx)("stop",{ref:re=>{ae.current[j]=re},offset:`${A}%`,style:{stopColor:`var(--hsk-marble-${j+1}, #FAF7F2)`}},A))}),(0,me.jsxs)("linearGradient",{id:`${E}-contact`,x1:"0",y1:"1",x2:"0",y2:"0",children:[(0,me.jsx)("stop",{ref:T,offset:"0%",stopColor:_a[0].color,stopOpacity:"0.9"}),(0,me.jsx)("stop",{ref:_,offset:"45%",stopColor:_a[0].light,stopOpacity:"0.5"}),(0,me.jsx)("stop",{ref:F,offset:"100%",stopColor:_a[0].light,stopOpacity:"0"})]}),(0,me.jsxs)("radialGradient",{id:`${E}-sheen`,cx:".34",cy:".2",r:".55",children:[(0,me.jsx)("stop",{offset:"0%",stopColor:"#FFFFFF",style:{stopOpacity:"var(--hsk-marble-sheen, .9)"}}),(0,me.jsx)("stop",{offset:"100%",stopColor:"#FFFFFF",stopOpacity:"0"})]}),(0,me.jsxs)("linearGradient",{id:`${E}-hibiscus-petal`,x1:"0",y1:"1",x2:"0",y2:"0",children:[(0,me.jsx)("stop",{offset:"0%",stopColor:"#FF3366"}),(0,me.jsx)("stop",{offset:"65%",stopColor:"#FF758F"}),(0,me.jsx)("stop",{offset:"100%",stopColor:"#FFAAA6"})]}),(0,me.jsxs)("radialGradient",{id:`${E}-blush-cheek`,cx:"50%",cy:"50%",r:"50%",children:[(0,me.jsx)("stop",{offset:"0%",stopColor:"#FB7185",stopOpacity:"0.48"}),(0,me.jsx)("stop",{offset:"100%",stopColor:"#FB7185",stopOpacity:"0"})]}),(0,me.jsx)("clipPath",{id:`${E}-skin`,children:(0,me.jsx)("use",{href:`#${E}-body`})}),(0,me.jsxs)("filter",{id:`${E}-goo`,x:"-50%",y:"-50%",width:"200%",height:"200%",children:[(0,me.jsx)("feGaussianBlur",{in:"SourceGraphic",stdDeviation:"4",result:"b"}),(0,me.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,me.jsxs)("mask",{id:`${E}-cut`,children:[(0,me.jsx)("path",{ref:y,d:"",fill:"#FFFFFF"}),(0,me.jsx)("g",{ref:B,children:Array.from({length:hr},(A,j)=>(0,me.jsx)("rect",{ref:re=>{I.current[j]=re},fill:"#000000"},j))})]})]}),(0,me.jsxs)("g",{ref:v,mask:`url(#${E}-cut)`,children:[(0,me.jsx)("path",{id:`${E}-body`,ref:k,d:"",fill:`url(#${E}-marble)`}),(0,me.jsxs)("g",{clipPath:`url(#${E}-skin)`,children:[(0,me.jsx)("ellipse",{cx:"-14",cy:"-40",rx:"46",ry:"34",fill:`url(#${E}-sheen)`}),(0,me.jsx)("rect",{ref:Y,x:"-100",y:"-20",width:"200",height:"100",fill:`url(#${E}-contact)`,opacity:"0.45"})]})]}),(0,me.jsxs)("g",{ref:N,style:{pointerEvents:"none"},children:[p&&(0,me.jsxs)("g",{ref:L,children:[(0,me.jsx)("ellipse",{cx:"-28",cy:"0",rx:"10",ry:"5.5",fill:`url(#${E}-blush-cheek)`}),(0,me.jsx)("ellipse",{cx:"28",cy:"0",rx:"10",ry:"5.5",fill:`url(#${E}-blush-cheek)`})]}),u&&(0,me.jsxs)("g",{ref:f,children:[(0,me.jsx)("path",{ref:z,stroke:"#3D1424",strokeWidth:"1.7",strokeLinecap:"round",fill:"none"}),(0,me.jsx)("path",{ref:$,stroke:"#3D1424",strokeWidth:"1.7",strokeLinecap:"round",fill:"none"})]}),d&&(0,me.jsxs)("g",{ref:P,className:"hsk-avatar-flower",children:[(0,me.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(A=>(0,me.jsx)("path",{d:"M 0 0 C -6 -13 6 -13 0 0 Z",fill:`url(#${E}-hibiscus-petal)`,stroke:"#FF2A5F",strokeWidth:"0.6",transform:`rotate(${A-18})`},A)),(0,me.jsx)("path",{d:"M 0 0 Q 3 -10 9 -14",stroke:"#F59E0B",strokeWidth:"1.6",strokeLinecap:"round",fill:"none"}),(0,me.jsx)("circle",{cx:"9",cy:"-14",r:"1.3",fill:"#FDE047"}),(0,me.jsx)("circle",{cx:"7",cy:"-12",r:"1.1",fill:"#FDE047"}),(0,me.jsx)("circle",{cx:"6.5",cy:"-15",r:"1.1",fill:"#FDE047"}),(0,me.jsx)("circle",{cx:"0",cy:"0",r:"2.2",fill:"#881337"})]})]})]})}var Ke=require("react/jsx-runtime");function Ui({title:e,hasMessages:t,avatarState:a="idle",unread:r=!1,awayFromBottom:o=!1,themeMenuOpen:n=!1,themeMenuClosing:i=!1,isNarrow:c=!1,currentTheme:s="dark",onJumpToLatest:l,onReset:h,onClose:d,onToggleThemeMenu:u,onSelectTheme:p}){let k=ra(),[y,v]=dt.default.useState(!1),[N,P]=dt.default.useState("#134e3d"),[L,f]=dt.default.useState("rgba(19, 78, 61, 0.45)"),z=dt.default.useRef(void 0),$=dt.default.useRef(null),S=dt.default.useRef(!1),Y=dt.default.useRef(0),T=dt.default.useCallback(()=>{S.current=!1,Y.current=Date.now(),$.current=setTimeout(()=>{if(S.current=!0,typeof navigator<"u"&&navigator.vibrate)try{navigator.vibrate(25)}catch{}u?.()},350)},[u]),_=dt.default.useCallback(()=>{$.current&&(clearTimeout($.current),$.current=null)},[]),F=dt.default.useCallback(()=>{$.current&&(clearTimeout($.current),$.current=null)},[]),ae=dt.default.useCallback(B=>{if(S.current){S.current=!1,B.preventDefault(),B.stopPropagation();return}o?l?.():c?u?.():z.current?.()},[o,c,l,u]),I=dt.default.useCallback((B,E,te)=>{B>.04?(v(!0),P(E),f(te)):v(!1)},[]);return(0,Ke.jsxs)("div",{className:"hsk-cb-topbar",children:[(0,Ke.jsx)("div",{className:"hsk-cb-topbar-left",style:{minWidth:"34px"},children:c&&(0,Ke.jsx)("button",{type:"button",className:"hsk-cb-back",onClick:d,"aria-label":k("back"),children:(0,Ke.jsx)("span",{className:"hsk-cb-back-icon",children:(0,Ke.jsx)(qr,{})})})}),(0,Ke.jsxs)("div",{className:J("hsk-cb-topbar-mark",c&&n&&"is-oozing"),"data-impacting":y?"true":"false",style:{"--hsk-contact-color":N,"--hsk-contact-glow":L},"data-unread":r?"true":"false",onTouchStart:T,onTouchEnd:_,onTouchMove:F,onTouchCancel:F,onClick:ae,role:"button",tabIndex:0,"aria-label":o?k("jumpToLatest"):"kiku (tap for scouts and themes)",children:[(0,Ke.jsx)(Hi,{state:a,size:34,theme:s,alert:r,onImpact:I,triggerRef:z}),(0,Ke.jsx)("span",{className:"hsk-cb-topbar-name",children:e})]}),(0,Ke.jsxs)("div",{className:"hsk-cb-topbar-actions",style:{display:"flex",alignItems:"center",gap:"6px"},children:[t&&(0,Ke.jsx)("button",{className:"hsk-cb-topbar-btn",onClick:h,children:k("clearChat")}),!c&&(0,Ke.jsx)("button",{type:"button",className:"hsk-cb-squircle-btn hsk-cb-exit-btn",onClick:d,title:"Close","aria-label":"Close Chat",children:(0,Ke.jsx)(Da,{})})]}),c&&n&&(0,Ke.jsx)("div",{className:J("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:B=>B.stopPropagation(),onClick:B=>B.stopPropagation(),onMouseDown:B=>B.stopPropagation(),children:(0,Ke.jsx)("div",{className:"hsk-cb-theme-2x2-grid",style:{display:"grid",gridTemplateColumns:"repeat(2, 1fr)",gap:6},children:ka.map(({id:B,label:E,Icon:te})=>(0,Ke.jsxs)("button",{type:"button",className:J("hsk-cb-theme-grid-item",s===B&&"is-active"),onClick:A=>{A.stopPropagation(),p?.(B)},children:[(0,Ke.jsx)(te,{}),(0,Ke.jsx)("span",{children:E})]},B))})})]})}var ga=Lt(require("react"));var Zr=Lt(require("react")),na=require("react/jsx-runtime"),El=12;function Qo(e){return e==null||typeof e=="boolean"?"":typeof e=="string"||typeof e=="number"?String(e):Array.isArray(e)?e.map(Qo).join(""):Zr.default.isValidElement(e)?Qo(e.props.children):""}function ji(e){if(/^\s+$/.test(e))return[e];if(/\s/.test(e)){let t=e.split(/(\s+)/).filter(Boolean),a=[];for(let r of t)/^\s+$/.test(r)?a.push(r):a.push(...ji(r));return a}if(e.length>3&&typeof Intl<"u"&&Intl.Segmenter)try{let t=new Intl.Segmenter(void 0,{granularity:"word"}),a=Array.from(t.segment(e)).map(r=>r.segment);if(a.length>1)return a}catch{}return[e]}function Xo(e,t,a,r){if(e==null||typeof e=="boolean")return null;if(typeof e=="string"||typeof e=="number")return ji(String(e)).map((o,n)=>{if(/^\s+$/.test(o))return o;let i=a+t.i*El;return t.i+=1,(0,na.jsx)("span",{className:"hsk-cascade__w",style:{animationDelay:`${i}ms`},children:o},`${r}-w${n}`)});if(Array.isArray(e))return e.map((o,n)=>Xo(o,t,a,`${r}-${n}`));if(Zr.default.isValidElement(e)){let o=e;return Zr.default.cloneElement(o,{key:`${r}-el`},Xo(o.props.children,t,a,`${r}-c`))}return e}function at({children:e,baseMs:t=0}){let a=Qo(e),r=0;for(let n=0;n<a.length;n++)r=(r<<5)-r+a.charCodeAt(n)|0;let o=`c${Math.abs(r)}`;return(0,na.jsxs)(na.Fragment,{children:[(0,na.jsx)("span",{className:"hsk-sr-only",children:a}),(0,na.jsx)("span",{"aria-hidden":"true",children:Xo(e,{i:0},t,o)})]})}var fa=require("react/jsx-runtime");function Jo({lines:e=3,className:t=""}){return(0,fa.jsxs)("div",{className:`hsk-cb-ink-skeleton ${t}`,"aria-hidden":"true",role:"status",children:[(0,fa.jsx)("div",{className:"hsk-cb-ink-line hsk-cb-ink-line--title"}),(0,fa.jsx)("div",{className:"hsk-cb-ink-line hsk-cb-ink-line--lead1"}),e>=2&&(0,fa.jsx)("div",{className:"hsk-cb-ink-line hsk-cb-ink-line--lead2"}),e>=3&&(0,fa.jsx)("div",{className:"hsk-cb-ink-line hsk-cb-ink-line--ask"})]})}var Zo=require("react/jsx-runtime"),eo=16,Dl=110,$l=/[؀-ۿ܀-ݏ߀-߿ࡠ-ࣿﭐ-﷿ﹰ-]/;function Ba(e){if(!e)return[];if($l.test(e))return e.split(/(\s+)/).filter(Boolean);let t=typeof Intl<"u"?Intl:void 0;if(t?.Segmenter){let a=new t.Segmenter(void 0,{granularity:"grapheme"});return Array.from(a.segment(e),r=>r.segment)}return e.split(/(\s+)/).filter(Boolean)}function Vi({text:e,placeholder:t,visible:a=!0,replay:r=0,replaySeed:o,staggerMs:n=eo}){if(!a)return null;let i=e||t||"";if(!i)return null;let c=o!==void 0?o:r,s=Ba(i),l=Math.max(s.length-1,1);return(0,Zo.jsx)("div",{className:"hsk-animated-placeholder",dir:"auto","aria-hidden":"true",children:s.map((h,d)=>(0,Zo.jsx)("span",{className:"hsk-animated-placeholder__char",style:{animationDelay:`${Dl+d*n}ms`,"--hsk-ph-hue":`${Math.round(d/l*300)}`},children:h},`${i}|${c}|${d}`))})}var Q=require("react/jsx-runtime");function en(e){return typeof e=="string"?Ba(e).length:Array.isArray(e)?e.reduce((t,a)=>t+en(a),0):ga.default.isValidElement(e)?en(e.props?.children):0}function tn(e,t,a,r){return typeof e=="string"?Ba(e).map(o=>{let n=t.i++;return(0,Q.jsx)("span",{className:"hsk-cb-shimmer-char",style:{"--hsk-char-idx":r+n,"--hsk-ph-hue":`${Math.round(n/a*300)}`},children:o},n)}):Array.isArray(e)?e.map((o,n)=>(0,Q.jsx)(ga.default.Fragment,{children:tn(o,t,a,r)},n)):ga.default.isValidElement(e)?ga.default.cloneElement(e,{children:tn(e.props?.children,t,a,r)}):e}function Wi({text:e,baseIdx:t=0}){let a=Math.max(en(e)-1,1);return(0,Q.jsx)(Q.Fragment,{children:tn(e,{i:0},a,t)})}function Ki({inOnboarding:e,justCompleted:t,onboardingMood:a,awaitingLang:r,awaitingName:o,awaitingEntityLang:n,awaitingConsent:i,termsAgreed:c,shopperLanguage:s,shopperName:l,entityLangPref:h,chromeReady:d,activeChips:u,t:p,tNode:k,chooseLanguage:y,chooseEntityLang:v,agreeTerms:N,handleSend:P}){let L=r?"1":o?"2":n?"3":i?"4":null,f=nr(s)||s,[z,$]=ga.default.useState(30);return ga.default.useEffect(()=>{if(!i){$(30);return}let S=setInterval(()=>{$(Y=>Y<=1?(clearInterval(S),0):Y-1)},1e3);return()=>clearInterval(S)},[i]),(0,Q.jsx)("div",{className:"hsk-cb-empty",children:(0,Q.jsxs)("div",{className:"hsk-cb-onboarding-card",children:[L&&(0,Q.jsx)("div",{className:"hsk-cb-onboarding-head",children:(0,Q.jsxs)("span",{className:"hsk-cb-step-badge",dir:"ltr",children:[L," / 4"]})}),r?(0,Q.jsxs)("div",{className:"hsk-cb-hello-wrap",children:[(0,Q.jsx)("h2",{className:"hsk-cb-hello hsk-cascade",children:(0,Q.jsx)(at,{baseMs:0,children:"What language should we chat in?"})}),(0,Q.jsxs)("div",{className:"hsk-cb-lang-chips",children:[_r.map((S,Y)=>(0,Q.jsx)("button",{type:"button",className:"hsk-cb-lang-chip",style:{"--hsk-pill-idx":Y},lang:S.tag,dir:S.rtl?"rtl":"ltr",onClick:()=>y(S.value),children:S.native},S.value)),(0,Q.jsx)("span",{className:"hsk-cb-lang-chips-hint",style:{"--hsk-pill-idx":_r.length},children:"or type any other"})]})]},"step-lang"):o?(0,Q.jsx)("div",{className:"hsk-cb-hello-wrap",children:d?(0,Q.jsxs)(Q.Fragment,{children:[(0,Q.jsx)("h2",{className:"hsk-cb-hello hsk-cascade",children:(0,Q.jsx)(at,{baseMs:0,children:p("nameStepTitle")})}),(0,Q.jsx)("p",{className:"hsk-cb-hello-lead hsk-cascade",children:(0,Q.jsx)(at,{baseMs:30,children:p("nameStepLead")})}),(0,Q.jsx)("p",{className:"hsk-cb-hello-ask hsk-cascade",children:(0,Q.jsx)(at,{baseMs:60,children:p("nameStepAsk")})})]}):(0,Q.jsx)(Jo,{})},"step-name"):n?(0,Q.jsxs)("div",{className:"hsk-cb-hello-wrap",children:[d?(0,Q.jsxs)(Q.Fragment,{children:[(0,Q.jsx)("h2",{className:"hsk-cb-hello hsk-cascade",children:(0,Q.jsx)(at,{baseMs:0,children:p("howShouldResultsLook")})}),(0,Q.jsx)("p",{className:"hsk-cb-hello-lead hsk-cascade",children:(0,Q.jsx)(at,{baseMs:30,children:k("entityLangIntro",{lang:f})})})]}):(0,Q.jsx)(Jo,{lines:2}),d&&(0,Q.jsx)("div",{className:"hsk-cb-entlang-opts",role:"radiogroup","aria-label":p("howShouldResultsLook"),children:["translated","original"].map((S,Y)=>(0,Q.jsxs)("button",{type:"button",role:"radio","aria-checked":h===S,className:J("hsk-cb-entlang-opt",h===S&&"is-selected"),style:{"--hsk-opt-idx":Y},onClick:()=>v(S),children:[(0,Q.jsx)("span",{className:"hsk-cb-entlang-radio","aria-hidden":"true",children:(0,Q.jsx)("span",{className:"hsk-cb-entlang-radio-dot"})}),(0,Q.jsxs)("span",{className:"hsk-cb-entlang-opt-text",children:[(0,Q.jsx)("span",{className:"hsk-cb-entlang-opt-title",children:(0,Q.jsx)(Wi,{text:S==="translated"?k("inLanguage",{lang:f}):p("asWritten"),baseIdx:0})}),(0,Q.jsx)("span",{className:"hsk-cb-entlang-opt-note",children:(0,Q.jsx)(Wi,{text:p(S==="translated"?"detailsTranslated":"namesAsWritten"),baseIdx:15})})]})]},S))})]},"step-entity-lang"):i?(0,Q.jsx)("div",{className:"hsk-cb-hello-wrap",children:d&&(0,Q.jsxs)(Q.Fragment,{children:[(0,Q.jsx)("h2",{className:"hsk-cb-hello hsk-cascade",children:(0,Q.jsx)(at,{baseMs:0,children:p("termsStepTitle")})}),(0,Q.jsx)("p",{className:"hsk-cb-hello-lead hsk-cascade",children:(0,Q.jsx)(at,{baseMs:30,children:p("termsStepSubtitle")})}),(0,Q.jsxs)("div",{className:"hsk-cb-terms-sanctuary",children:[(0,Q.jsxs)("div",{className:"hsk-cb-terms-item",style:{"--hsk-row-idx":0},children:[(0,Q.jsxs)("div",{className:"hsk-cb-terms-head",children:[(0,Q.jsx)("span",{className:"hsk-cb-terms-numeral",children:"I"}),(0,Q.jsx)("h3",{className:"hsk-cb-terms-title",children:p("termsPiiTitle")})]}),(0,Q.jsx)("p",{className:"hsk-cb-terms-desc",children:p("termsPiiDesc")})]}),(0,Q.jsx)("div",{className:"hsk-cb-terms-divider"}),(0,Q.jsxs)("div",{className:"hsk-cb-terms-item",style:{"--hsk-row-idx":1},children:[(0,Q.jsxs)("div",{className:"hsk-cb-terms-head",children:[(0,Q.jsx)("span",{className:"hsk-cb-terms-numeral",children:"II"}),(0,Q.jsx)("h3",{className:"hsk-cb-terms-title",children:p("termsSessionTitle")})]}),(0,Q.jsx)("p",{className:"hsk-cb-terms-desc",children:p("termsSessionDesc")})]}),(0,Q.jsx)("div",{className:"hsk-cb-terms-divider"}),(0,Q.jsxs)("div",{className:"hsk-cb-terms-item",style:{"--hsk-row-idx":2},children:[(0,Q.jsxs)("div",{className:"hsk-cb-terms-head",children:[(0,Q.jsx)("span",{className:"hsk-cb-terms-numeral",children:"III"}),(0,Q.jsx)("h3",{className:"hsk-cb-terms-title",children:p("termsMemoryTitle")})]}),(0,Q.jsx)("p",{className:"hsk-cb-terms-desc",children:p("termsMemoryDesc")})]}),(0,Q.jsx)("div",{className:"hsk-cb-terms-divider"}),(0,Q.jsxs)("div",{className:"hsk-cb-terms-item",style:{"--hsk-row-idx":3},children:[(0,Q.jsxs)("div",{className:"hsk-cb-terms-head",children:[(0,Q.jsx)("span",{className:"hsk-cb-terms-numeral",children:"IV"}),(0,Q.jsx)("h3",{className:"hsk-cb-terms-title",children:p("termsCookieTitle")})]}),(0,Q.jsx)("p",{className:"hsk-cb-terms-desc",children:p("termsCookieDesc")})]})]}),(0,Q.jsx)("div",{className:"hsk-cb-terms-action-wrap",children:(0,Q.jsx)("button",{type:"button",className:J("hsk-cb-terms-agree-btn",z===0&&"is-active"),disabled:z>0,onClick:N,children:z>0?p("termsAgreeCounting",{seconds:String(z)}):p("termsAgreeButton")})})]})},"step-terms"):t?(0,Q.jsx)("div",{className:"hsk-cb-hello-wrap",children:d&&(0,Q.jsxs)(Q.Fragment,{children:[(0,Q.jsx)("h2",{className:"hsk-cb-hello hsk-cascade",children:(0,Q.jsx)(at,{baseMs:0,children:k("allSet",{name:l})})}),(0,Q.jsx)("p",{className:"hsk-cb-hello-lead hsk-cascade",children:(0,Q.jsx)(at,{baseMs:30,children:h==="translated"?k("replyingTranslated",{lang:f}):k("replyingOriginal",{lang:f})})})]})},"step-completed"):l?(0,Q.jsxs)("div",{className:"hsk-cb-hello-wrap",children:[(0,Q.jsx)("h2",{className:"hsk-cb-hello hsk-cascade",children:(0,Q.jsx)(at,{baseMs:0,children:k("greetReturning",{name:l})})}),(0,Q.jsx)("p",{className:"hsk-cb-hello-lead hsk-cascade",children:(0,Q.jsx)(at,{baseMs:30,children:p("greetReturningLead")})})]},"step-returning"):(0,Q.jsxs)("div",{className:"hsk-cb-hello-wrap",children:[(0,Q.jsx)("h2",{className:"hsk-cb-hello hsk-cascade",children:(0,Q.jsxs)(at,{baseMs:0,children:["Hi, I'm ",(0,Q.jsx)("b",{children:"kiku"}),"."]})}),(0,Q.jsx)("p",{className:"hsk-cb-hello-lead hsk-cascade",children:(0,Q.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&&(u?.length??0)>0&&(0,Q.jsx)("div",{className:"hsk-cb-chips",children:u.map((S,Y)=>(0,Q.jsx)("button",{className:"hsk-cb-chip",style:{"--hsk-pill-idx":Y},onClick:()=>P(S),children:S},S))})]})})}var ht=Lt(require("react"));var ur=require("react"),Me=require("@akropolys/sdk"),Qe=require("react/jsx-runtime");function Fl(e){let[,t]=(0,ur.useState)(0),a=JSON.stringify(e);return(0,ur.useEffect)(()=>(0,Me.subscribeLiveValues)(r=>{e.includes(r)&&t(o=>o+1)}),[a]),(0,ur.useEffect)(()=>{let r=setInterval(()=>t(o=>o+1),1e3);return()=>clearInterval(r)},[]),e.map(Me.getLiveValue)}function _l({record:e,now:t}){let a=(0,Me.isStale)(e,t),r=e.fields,o=r.event||r.question||r.title||e.key,n=o.length>38?o.slice(0,36)+"\u2026":o,i=!!r.yes_price||!!r.yesPrice,c=!!r.no_price||!!r.noPrice,s=[];i?s.push({label:"Yes",value:(0,Me.formatLiveValue)("yes_price",r.yes_price||r.yesPrice),rawKey:"yes_price"}):(r.yes_pct||r.yesPct)&&s.push({label:"Yes",value:(0,Me.formatLiveValue)("yes_pct",r.yes_pct||r.yesPct),rawKey:"yes_pct"}),c?s.push({label:"No",value:(0,Me.formatLiveValue)("no_price",r.no_price||r.noPrice),rawKey:"no_price"}):(r.no_pct||r.noPct)&&s.push({label:"No",value:(0,Me.formatLiveValue)("no_pct",r.no_pct||r.noPct),rawKey:"no_pct"}),r.bid&&s.push({label:"Bid",value:(0,Me.formatLiveValue)("bid",r.bid),rawKey:"bid"}),r.ask&&s.push({label:"Ask",value:(0,Me.formatLiveValue)("ask",r.ask),rawKey:"ask"}),r.spread&&s.push({label:"Spread",value:(0,Me.formatLiveValue)("spread",r.spread),rawKey:"spread"}),!i&&!c&&!r.bid&&r.price&&s.push({label:"Price",value:(0,Me.formatLiveValue)("price",r.price),rawKey:"price"}),(r.home_spread||r.spread_line)&&s.push({label:"Spread",value:(0,Me.formatLiveValue)("spread",r.home_spread||r.spread_line),rawKey:"spread"}),(r.moneyline||r.ml)&&s.push({label:"ML",value:(0,Me.formatLiveValue)("ml",r.moneyline||r.ml),rawKey:"moneyline"}),(r.over_under||r.total)&&s.push({label:"O/U",value:(0,Me.formatLiveValue)("total",r.over_under||r.total),rawKey:"over_under"}),(r["1_home"]||r.home_odd||r[1])&&s.push({label:"1",value:(0,Me.formatLiveValue)("odds",r["1_home"]||r.home_odd||r[1]),rawKey:"1_home"}),(r.X_draw||r.neutral_odd||r.draw_odd||r.X)&&s.push({label:"X",value:(0,Me.formatLiveValue)("odds",r.X_draw||r.neutral_odd||r.draw_odd||r.X),rawKey:"X_draw"}),(r["2_away"]||r.away_odd||r[2])&&s.push({label:"2",value:(0,Me.formatLiveValue)("odds",r["2_away"]||r.away_odd||r[2]),rawKey:"2_away"});let l=r.volume||r.vol||r["24h_volume"]||r.turnover;l&&s.push({label:"Vol",value:(0,Me.formatLiveValue)("volume",l),rawKey:"volume"});let h=r.close_date||r.expiry||r.expires_at||r.settle_date,d=h?(0,Me.formatLiveValue)("close_date",h):null;return(0,Qe.jsxs)("div",{className:`hsk-live-card${a?" is-stale":""}`,role:"region","aria-label":"Live quote",children:[(0,Qe.jsxs)("div",{className:"hsk-live-card__top",children:[(0,Qe.jsxs)("div",{className:"hsk-live-card__badge",children:[(0,Qe.jsx)("span",{className:`hsk-live-dot${a?" is-stale":""}`,"aria-hidden":"true"}),(0,Qe.jsx)("span",{className:"hsk-live-card__age",children:a?`Paused \xB7 ${(0,Me.describeAge)(t-e.at)}`:`Live \xB7 ${(0,Me.describeAge)(t-e.at)}`})]}),d&&(0,Qe.jsxs)("span",{className:"hsk-live-card__close",children:["Closes ",d]})]}),(0,Qe.jsx)("div",{className:"hsk-live-card__body",children:(0,Qe.jsx)("span",{className:"hsk-live-card__title",title:o,children:n})}),(0,Qe.jsx)("div",{className:"hsk-live-card__pills",children:s.map(u=>{let p=(0,Me.isFresh)(e,u.rawKey,t);return(0,Qe.jsxs)("div",{className:`hsk-live-pill${p?" is-changed":""}`,style:p?{animationDuration:`${Me.LIVE_FLASH_MS}ms`}:void 0,children:[(0,Qe.jsx)("span",{className:"hsk-live-pill__label",children:u.label}),(0,Qe.jsx)("span",{className:"hsk-live-pill__value",children:u.value})]},u.rawKey)})})]})}function Oi({keys:e}){let t=new Set,a=(e??[]).filter(c=>t.has(c)?!1:(t.add(c),!0)),r=Fl(a);if(a.filter((c,s)=>r[s]).length===0)return null;let n=r.filter(c=>!!c),i=Date.now();return(0,Qe.jsx)("div",{className:"hsk-live-wrap",role:"group","aria-label":"Live market data",children:(0,Qe.jsx)("div",{className:"hsk-live-carousel",children:n.map(c=>(0,Qe.jsx)(_l,{record:c,now:i},c.key))})})}var ya=require("react");var va=require("react/jsx-runtime");function Yi(e){let t=e.match(/<\s*thinking\s*>/i);if(!t)return{thinking:"",content:e,isComplete:!0};let a=t.index??0,r=t[0].length,o=a+r,n=e.slice(0,a),i=e.slice(o),c=i.match(/<\/\s*thinking\s*>/i);if(!c)return{thinking:i,content:n,isComplete:!1};let s=c.index??0,l=c[0].length;return{thinking:i.slice(0,s),content:n+i.slice(s+l),isComplete:!0}}function Gi({text:e,isComplete:t,seconds:a}){let r=ra(),o=(0,ya.useRef)(Date.now()),[n,i]=(0,ya.useState)(()=>t?null:0),[c,s]=(0,ya.useState)(!t);(0,ya.useEffect)(()=>{if(t){n!==null&&(i(Math.max(1,Math.round((Date.now()-o.current)/1e3))),s(!1));return}s(!0);let u=setInterval(()=>{i(Math.round((Date.now()-o.current)/1e3))},1e3);return()=>clearInterval(u)},[t]);let l=a??n,h=t?l!=null?r("thoughtForSeconds",{duration:`${l}s`}):r("thoughtProcess"):`${r("thinking")}${n?` \xB7 ${n}s`:"\u2026"}`,d=!!e;return(0,va.jsxs)("div",{className:J("hsk-cb-think",!t&&"hsk-cb-think--live"),children:[(0,va.jsxs)("button",{type:"button",className:J("hsk-cb-think-head",!d&&"hsk-cb-think-head--static"),onClick:d?()=>s(u=>!u):void 0,"aria-expanded":d?c:void 0,children:[(0,va.jsx)("span",{children:h}),d&&(0,va.jsx)("span",{className:J("hsk-cb-think-chevron",c&&"hsk-cb-think-chevron--open"),children:"\u25B6"})]}),d&&c&&(0,va.jsx)("div",{className:"hsk-cb-think-body",children:e})]})}var Tt=require("react"),Qi=require("@akropolys/sdk");var Ne=require("react/jsx-runtime");function Bl({src:e,alt:t,onImageClick:a}){let[r,o]=(0,Tt.useState)(!1);return r?(0,Ne.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,Ne.jsx)(Nt,{})}):(0,Ne.jsx)("img",{src:e,alt:t??"",onError:()=>o(!0),onClick:a?n=>{n.stopPropagation(),a(e)}:void 0})}function Xi({sources:e,defaultCurrency:t,onSelectSource:a,onImageClick:r,referencedIds:o=[],compact:n=!1}){let c=(0,Qi.useAkropolysContext)()?.vertical==="property",s=(0,Tt.useRef)(null),[l,h]=(0,Tt.useState)(!1),[d,u]=(0,Tt.useState)(!1),[p,k]=(0,Tt.useState)(0),y=e.filter(f=>f.id&&o.includes(f.id)),v=(0,Tt.useCallback)(()=>{let f=s.current;if(!f||y.length===0)return;let z=Math.abs(f.scrollLeft),$=f.scrollWidth-f.clientWidth;h(z>10),u($>4&&z<$-12);let Y=Math.round(z/190);k(Math.min(Math.max(0,Y),y.length-1))},[y.length]);(0,Tt.useEffect)(()=>{v();let f=s.current;if(!f)return;let z=new ResizeObserver(v);return z.observe(f),f.addEventListener("scroll",v,{passive:!0}),()=>{z.disconnect(),f.removeEventListener("scroll",v)}},[v,e]);let N=f=>{let z=s.current;if(!z)return;let $=getComputedStyle(z).direction==="rtl";z.scrollBy({left:190*f*($?-1:1),behavior:"smooth"})},P=()=>N(1),L=()=>N(-1);return y.length===0?null:(0,Ne.jsxs)("div",{className:J("hsk-cb-sources-wrap",n&&"hsk-cb-sources-wrap--compact"),children:[l&&(0,Ne.jsxs)(Ne.Fragment,{children:[(0,Ne.jsx)("div",{className:"hsk-cb-sources-fade-left"}),(0,Ne.jsx)("button",{className:"hsk-cb-sources-prev",onClick:L,"aria-label":"Previous",children:(0,Ne.jsx)(qr,{})})]}),(0,Ne.jsx)("div",{className:"hsk-cb-sources",ref:s,children:y.map((f,z)=>{let $=!!(f.id&&o.includes(f.id));return(0,Ne.jsxs)("div",{className:J("hsk-cb-source",$&&"hsk-cb-source--referenced"),style:{animationDelay:`${z*50}ms`},onClick:()=>a?.(f),children:[f.image?(0,Ne.jsxs)("div",{className:"hsk-cb-src-imgwrap",style:{position:"relative"},children:[(0,Ne.jsx)(Bl,{src:f.image,alt:f.name,onImageClick:r}),c&&(0,Ne.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,Ne.jsx)(Nt,{size:12})})]}):(0,Ne.jsx)("div",{className:"hsk-cb-src-imgwrap-empty",style:{position:"relative"},children:(0,Ne.jsx)(Nt,{})}),(0,Ne.jsxs)("div",{className:"hsk-cb-src-info",children:[(0,Ne.jsx)("div",{className:"hsk-cb-src-name",children:f.name}),f.price&&(0,Ne.jsxs)("div",{className:"hsk-cb-src-price",children:[f.currency||t?`${f.currency||t} `:"$",parseFloat(String(f.price).replace(/[^0-9.]/g,"")||"0").toLocaleString()]})]})]},f.id??z)})}),d&&(0,Ne.jsxs)(Ne.Fragment,{children:[(0,Ne.jsx)("div",{className:"hsk-cb-sources-fade-right"}),(0,Ne.jsx)("button",{className:"hsk-cb-sources-next",onClick:P,"aria-label":"See more",children:(0,Ne.jsx)(Yn,{})})]}),y.length>1&&(0,Ne.jsx)("div",{className:"hsk-cb-carousel-dots",children:y.map((f,z)=>(0,Ne.jsx)("div",{className:J("hsk-cb-dot-item",z===p&&"hsk-cb-dot-item--active"),onClick:()=>{let $=s.current;if($){let S=getComputedStyle($).direction==="rtl";$.scrollTo({left:z*190*(S?-1:1),behavior:"smooth"})}}},z))})]})}var mr=require("react/jsx-runtime");function Ji({intent:e,sources:t,onSend:a,loading:r,defaultCurrency:o=""}){let n=ra();if(!e)return null;let i=[],c=t.length>0?t.reduce((d,u)=>{let p=parseFloat(String(u.price??"").replace(/[^0-9.]/g,"")),k=parseFloat(String(d.price??"").replace(/[^0-9.]/g,""));return!isNaN(p)&&(isNaN(k)||p<k)?u:d},t[0]):null,s=t[0]?.name??"",l=t.slice(0,2).map(d=>d.name),h=()=>{let d=t.map(N=>parseFloat(String(N.price??"").replace(/[^0-9.]/g,""))).filter(N=>!isNaN(N)&&N>0);if(d.length===0)return null;let u=Math.max(...d),p=Math.pow(10,Math.floor(Math.log10(u))),k=Math.ceil(u/p)*p;return`${String(t.find(N=>N.price)?.price??"").replace(/[0-9.,\s]/g,"")||o} ${k.toLocaleString()}`.trim()};if(e==="search"&&t.length>0){if(l.length>=2&&i.push({emoji:"\u2696\uFE0F",label:n("pillCompareTop2"),query:n("pillCompareTop2Query",{a:l[0],b:l[1]})}),c?.name){let u=c.name.split(" ").slice(0,3).join(" ");i.push({emoji:"\u{1F4A1}",label:n("pillMoreOn",{name:u}),query:n("pillMoreOnQuery",{name:c.name})})}let d=h();d&&i.push({emoji:"\u{1F4B0}",label:n("pillUnder",{amount:d}),query:n("pillUnderQuery",{amount:d})})}else e==="compare"&&t.length>0?(s&&i.push({emoji:"\u{1F50D}",label:n("pillSimilarOptions"),query:n("pillSimilarOptionsQuery",{name:s})}),i.push({emoji:"\u{1F4A1}",label:n("pillWhichBest"),query:n("pillWhichBestQuery")})):e==="specs"&&t.length>0?s&&i.push({emoji:"\u{1F504}",label:n("pillFindAlternatives"),query:n("pillFindAlternativesQuery",{name:s})}):e==="general"&&(i.push({emoji:"\u{1F50D}",label:n("pillShowPopular"),query:n("pillShowPopularQuery")}),i.push({emoji:"\u{1F4A1}",label:n("pillRecommend"),query:n("pillRecommendQuery")}));return i.length===0?null:(0,mr.jsx)("div",{className:"hsk-action-pills",children:i.map(d=>(0,mr.jsxs)("button",{className:"hsk-action-pill",onClick:()=>a(d.query),disabled:r,children:[(0,mr.jsx)("span",{className:"hsk-pill-emoji",children:d.emoji}),d.label]},d.query))})}var ce=require("react/jsx-runtime"),Zi=ht.default.memo(({content:e,streaming:t})=>(0,ce.jsx)(ce.Fragment,{children:da(e,t)}),(e,t)=>e.content===t.content&&e.streaming===t.streaming);Zi.displayName="MarkdownBlock";function es({msg:e,idx:t,isLast:a,isLastUser:r,isRunEnd:o,runMid:n,runCont:i,isNarrow:c,loading:s,streaming:l,stopped:h,interrupted:d,sources:u,referencedIds:p,discussedSources:k,lastIntent:y,lastAction:v,defaultCurrency:N,vizState:P,setVizState:L,setLightboxSrc:f,setMarkupSrc:z,handleSend:$,handleSourceClick:S,onRetry:Y,onEdit:T,onLongPress:_,hasError:F,retrying:ae,t:I,messageRef:B}){let E=e.role==="user",te=e.content,[A,j]=ht.default.useState(!1),re=ht.default.useRef(null),G=ht.default.useRef(null),m=ht.default.useCallback(H=>{G.current&&clearTimeout(G.current),G.current=setTimeout(()=>{if(_){if(typeof navigator<"u"&&navigator.vibrate)try{navigator.vibrate(25)}catch{}let D=H.getBoundingClientRect();_(e,{top:D.top,left:D.left,width:D.width,height:D.height},E)}G.current=null},420)},[e,E,_]),U=ht.default.useCallback(H=>{if(H.touches.length!==1)return;let D=H.touches[0];re.current={x:D.clientX,y:D.clientY},m(H.currentTarget)},[m]),q=ht.default.useCallback(H=>{if(!re.current||!G.current)return;let D=H.touches[0];Math.hypot(D.clientX-re.current.x,D.clientY-re.current.y)>8&&(clearTimeout(G.current),G.current=null)},[]),le=ht.default.useCallback(()=>{G.current&&(clearTimeout(G.current),G.current=null),re.current=null},[]),w=ht.default.useCallback(H=>{if(!_)return;H.preventDefault();let D=H.currentTarget.getBoundingClientRect();_(e,{top:D.top,left:D.left,width:D.width,height:D.height},E)},[e,E,_]);ht.default.useEffect(()=>()=>{G.current&&clearTimeout(G.current)},[]);let M=ht.default.useCallback(H=>{if(H)try{navigator.clipboard.writeText(H),j(!0),setTimeout(()=>j(!1),2e3)}catch{}},[]),C=ht.default.useMemo(()=>Yi(te),[te]),K=e.thinking||C.thinking,X=/(?:^|\n+)(?:[>*_~`\s]*)(?:This is a calculation from live figures,?\s*not a guarantee\s*[—–-]\s*the market can move against it\.?)(?:[>*_~`\s]*)/gi,x=X.test(C.content),V=x?C.content.replace(X,"").trimEnd():C.content;return(0,ce.jsx)("div",{className:J("hsk-cb-msg-group",n&&"hsk-cb-msg-group--run-mid",i&&"hsk-cb-msg-group--run-cont"),ref:B,children:E?(0,ce.jsxs)("div",{className:`hsk-cb-user-msg${r?" hsk-sent":""}`,children:[e.images&&e.images.length>0&&(0,ce.jsx)("div",{className:"hsk-cb-user-imgs","data-count":Math.min(e.images.length,4),children:e.images.slice(0,4).map((H,D)=>(0,ce.jsxs)("button",{type:"button",className:"hsk-cb-user-img-cell",onClick:()=>f(H),children:[(0,ce.jsx)("img",{src:H,alt:`attachment ${D+1}`,className:"hsk-cb-user-img-thumb"}),D===3&&e.images.length>4&&(0,ce.jsxs)("span",{className:"hsk-cb-user-img-more",children:["+",e.images.length-3]})]},D))}),e.content&&(0,ce.jsxs)("div",{className:J("hsk-cb-user-bubble",o&&"hsk-cb-user-bubble--tail",e.spoken&&"hsk-cb-user-bubble--spoken",F&&"hsk-cb-user-bubble--error"),onTouchStart:U,onTouchMove:q,onTouchEnd:le,onTouchCancel:le,onContextMenu:w,children:[e.spoken&&(0,ce.jsx)($a,{className:"hsk-cb-spoken-mark",size:10}),/^@kiku\b/i.test(e.content)?(0,ce.jsxs)(ce.Fragment,{children:[(0,ce.jsx)("span",{className:"hsk-kiku-badge",children:"@kiku"}),e.content.replace(/^@kiku\s*/i,"")]}):e.content]}),(0,ce.jsxs)("div",{className:"hsk-cb-user-footer",children:[(0,ce.jsxs)("div",{className:J("hsk-cb-msg-actions",F&&"hsk-cb-msg-actions--failed"),children:[Y&&(F||r)&&(0,ce.jsxs)("button",{type:"button",className:"hsk-cb-msg-action hsk-cb-msg-action--retry",onClick:()=>Y(e),"aria-label":I("retry"),children:[(0,ce.jsx)(sr,{className:ae?"hsk-retry-icon--spinning":"",size:11}),(0,ce.jsx)("span",{className:"hsk-cb-msg-action-label",children:I("retry")})]}),T&&(0,ce.jsxs)("button",{type:"button",className:"hsk-cb-msg-action hsk-cb-msg-action--edit",onClick:()=>T(e),"aria-label":I("edit"),children:[(0,ce.jsx)(Ur,{size:11}),(0,ce.jsx)("span",{className:"hsk-cb-msg-action-label",children:I("edit")})]}),(0,ce.jsxs)("button",{type:"button",className:J("hsk-cb-msg-action hsk-cb-msg-action--copy",A&&"hsk-cb-msg-action--copied"),onClick:()=>M(e.content),"aria-label":I(A?"copied":"copy"),children:[A?(0,ce.jsx)(ma,{size:11}):(0,ce.jsx)(ua,{size:11}),(0,ce.jsx)("span",{className:"hsk-cb-msg-action-label",children:I(A?"copied":"copy")})]})]}),r&&!F&&(0,ce.jsx)("span",{className:"hsk-cb-sent-status",children:I(h||d?"statusStopped":"statusSent")}),F&&(0,ce.jsxs)("span",{className:"hsk-cb-failed-notice",children:[(0,ce.jsx)("span",{className:"hsk-cb-failed-dot"}),I("msgFailed")]})]})]}):(0,ce.jsx)("div",{className:J("hsk-cb-ai-msg",c&&"hsk-cb-ai-msg--inline"),children:(0,ce.jsxs)("div",{className:"hsk-cb-ai-body",onTouchStart:U,onTouchMove:q,onTouchEnd:le,onTouchCancel:le,onContextMenu:w,children:[(()=>{let H=e.thoughtForSeconds!=null||V.length>0||!(a&&(l||s));return(0,ce.jsxs)(ce.Fragment,{children:[!e.spoken&&(K||e.thoughtForSeconds!=null||a&&(l||s))&&(0,ce.jsx)(Gi,{text:K,isComplete:H,seconds:e.thoughtForSeconds}),V&&(0,ce.jsx)("div",{className:"hsk-cb-ai-content",children:(0,ce.jsx)(Zi,{content:V,streaming:a&&l})}),x&&(0,ce.jsx)("div",{className:"hsk-cb-calc-disclaimer",children:I("calcDisclaimer")})]})})(),e.visualizing&&(0,ce.jsxs)("div",{className:"hsk-cb-viz hsk-cb-viz--loading",children:[(0,ce.jsx)("span",{className:"hsk-cb-viz-spinner"}),(0,ce.jsx)("span",{children:e.visualizingText||I("vizWorking")})]}),e.visualization&&(0,ce.jsxs)("div",{className:"hsk-cb-viz",children:[(0,ce.jsxs)("div",{className:"hsk-cb-viz-imgwrap",children:[e.visualizationType==="video"||e.visualization.includes("/videos/")?(0,ce.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,ce.jsx)("img",{src:e.visualization,alt:"Product visualized in your photo",className:"hsk-markdown-img",style:P[e.visualization]==="err"?{display:"none"}:void 0,onLoad:()=>L(H=>({...H,[e.visualization]:"ok"})),onError:()=>L(H=>({...H,[e.visualization]:"err"}))}),P[e.visualization]==="err"&&(0,ce.jsx)("div",{className:"hsk-cb-viz-broken",children:I("vizUnavailable")}),a&&!l&&P[e.visualization]==="ok"&&e.visualizationType!=="video"&&!e.visualization.includes("/videos/")&&(0,ce.jsxs)("button",{className:"hsk-cb-viz-mark",onClick:()=>z(e.visualization),children:[(0,ce.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,ce.jsx)("path",{d:"M12 20h9"}),(0,ce.jsx)("path",{d:"M16.5 3.5a2.121 2.121 0 0 1 3 3L7 19l-4 1 1-4Z"})]}),I("vizMarkEdit")]})]}),(0,ce.jsx)("div",{className:"hsk-cb-viz-disclaimer",children:e.visualizationType==="video"||e.visualization.includes("/videos/")?I("vizDisclaimerVideo"):I("vizDisclaimerImage")})]}),!E&&(e.knowledgeImages?.length??0)>0&&(0,ce.jsx)("div",{className:"hsk-cb-kimgs",children:e.knowledgeImages.map(H=>(0,ce.jsxs)("div",{className:"hsk-cb-kimg-group",children:[(0,ce.jsx)("div",{className:"hsk-cb-kimg-grid",children:H.images.map((D,g)=>(0,ce.jsx)("img",{src:D.url,alt:D.note||H.title||"Reference image",className:"hsk-cb-kimg",loading:"lazy",onClick:()=>f(D.url),onError:O=>{O.target.style.display="none"}},g))}),(H.title||H.images[0]?.note)&&(0,ce.jsx)("div",{className:"hsk-cb-kimg-caption",children:H.title||H.images[0]?.note})]},H.entryId))}),!E&&(0,ce.jsx)(Oi,{keys:e.liveKeys}),!E&&(e.staleNotices?.length??0)>0&&(0,ce.jsxs)("div",{className:"hsk-cb-stale",role:"status",children:[(0,ce.jsx)("div",{className:"hsk-cb-stale-title",children:I("staleTitle")}),e.staleNotices.map((H,D)=>(0,ce.jsxs)("div",{className:"hsk-cb-stale-item",children:[H.state==="removed"?I("staleRemoved",{title:H.title}):I("staleUnavailable",{title:H.title}),H.reason&&(0,ce.jsxs)("span",{className:"hsk-cb-stale-reason",children:[" ",H.reason]})]},D))]}),(()=>{let H=a?p:e.referencedIds??[],D=a?u:e.sources??[],g=a?y:e.intent,O=g==="compare"||g==="capture"||g==="capture_all"||g==="delete"||g==="view_history";return H.length>0&&!O&&(!a||v?.type!=="request_kiku_key")&&(0,ce.jsx)(Xi,{sources:D,defaultCurrency:N,onSelectSource:S,onImageClick:f,referencedIds:H,compact:!!e.visualization})})(),a&&!s&&!l&&v?.type==="open_memory"&&v.url&&(0,ce.jsxs)("a",{className:"hsk-cb-memory-pill",href:String(v.url),target:"_blank",rel:"noopener noreferrer",children:[I("openMemory"),(0,ce.jsx)(Kn,{})]}),a&&!s&&v?.url&&v.type!=="open_memory"&&(0,ce.jsx)("div",{className:"hsk-action-pills",children:(0,ce.jsxs)("a",{className:"hsk-action-pill",href:v.url,children:[String(v.type||"continue").replace(/_/g," ")," \u2192"]})}),a&&!s&&(0,ce.jsx)(Ji,{intent:y,sources:k,onSend:$,loading:s,defaultCurrency:N}),!E&&!l&&V&&(0,ce.jsx)("div",{className:"hsk-cb-ai-footer",children:(0,ce.jsxs)("div",{className:J("hsk-cb-msg-actions",(F||V.includes("We're experiencing high demand right now"))&&"hsk-cb-msg-actions--failed"),children:[(0,ce.jsxs)("button",{type:"button",className:J("hsk-cb-msg-action hsk-cb-msg-action--copy",A&&"hsk-cb-msg-action--copied"),onClick:()=>M(V),"aria-label":I(A?"copied":"copy"),children:[A?(0,ce.jsx)(ma,{size:11}):(0,ce.jsx)(ua,{size:11}),(0,ce.jsx)("span",{className:"hsk-cb-msg-action-label",children:I(A?"copied":"copy")})]}),a&&(F||V.includes("We're experiencing high demand right now"))&&Y&&(0,ce.jsxs)("button",{type:"button",className:"hsk-cb-msg-action hsk-cb-msg-action--retry",onClick:()=>Y(e),"aria-label":I("retry"),children:[(0,ce.jsx)(sr,{className:ae?"hsk-retry-icon--spinning":"",size:11}),(0,ce.jsx)("span",{className:"hsk-cb-msg-action-label",children:I("retry")})]})]})})]})})})}var xe=require("react/jsx-runtime");function ts({keyInput:e,setKeyInput:t,minting:a,handleUseExistingKey:r,handleCreateKey:o,t:n}){return(0,xe.jsxs)("div",{className:"hsk-cb-ai-msg",children:[(0,xe.jsx)("div",{className:"hsk-cb-ai-icon",style:{display:"flex",alignItems:"center"},children:(0,xe.jsx)(Nt,{})}),(0,xe.jsx)("div",{className:"hsk-cb-ai-body",children:(0,xe.jsx)("div",{className:"hsk-cb-ai-text",children:(0,xe.jsxs)("div",{className:"hsk-cb-phone-form",children:[(0,xe.jsx)("label",{className:"hsk-cb-phone-label",children:n("keyPastePrompt")}),(0,xe.jsx)("input",{type:"text",className:"hsk-cb-phone-input",placeholder:n("keyPastePlaceholder"),value:e,onChange:i=>t(i.target.value),onKeyDown:i=>i.key==="Enter"&&r(),autoFocus:!0}),(0,xe.jsxs)("div",{style:{display:"flex",gap:8},children:[(0,xe.jsx)("button",{className:"hsk-cb-phone-submit",onClick:r,disabled:!e.trim(),children:n("keyUseMine")}),(0,xe.jsx)("button",{className:"hsk-cb-phone-submit",onClick:o,disabled:a,children:n(a?"keyCreating":"keyCreateNew")})]})]})})})]})}function as({mintedKey:e,mintedPub:t,copied:a,keyCountdown:r,onDismiss:o,copyValue:n,t:i}){return(0,xe.jsxs)("div",{className:"hsk-cb-ai-msg",children:[(0,xe.jsx)("div",{className:"hsk-cb-ai-icon",style:{display:"flex",alignItems:"center"},children:(0,xe.jsx)(Nt,{})}),(0,xe.jsx)("div",{className:"hsk-cb-ai-body",children:(0,xe.jsx)("div",{className:"hsk-cb-ai-text",children:(0,xe.jsxs)("div",{style:{padding:"4px 0",display:"flex",flexDirection:"column",gap:12},children:[(0,xe.jsxs)("div",{children:[(0,xe.jsxs)("div",{style:{display:"flex",justifyContent:"space-between",alignItems:"center",marginBottom:4},children:[(0,xe.jsx)("span",{style:{fontSize:12,fontWeight:600},children:i("keySecretTitle")}),(0,xe.jsxs)("button",{className:"hsk-cb-phone-submit",style:{padding:"2px 8px",fontSize:11,background:"transparent",border:0},onClick:o,children:[i("keyDismiss")," \u2715"]})]}),(0,xe.jsx)("code",{style:{display:"block",fontSize:13,fontWeight:700,marginBottom:8,wordBreak:"break-all"},children:e}),(0,xe.jsxs)("div",{style:{display:"flex",gap:8,alignItems:"center",flexWrap:"wrap"},children:[(0,xe.jsx)("button",{className:"hsk-cb-phone-submit",style:{padding:"4px 10px",border:0},onClick:()=>n(e,"secret"),children:i(a==="secret"?"keyCopied":"keyCopySecret")}),(0,xe.jsx)("span",{style:{fontSize:11,opacity:.7,flex:"1 1 180px"},children:i("keySecretHint")})]})]}),t&&(0,xe.jsxs)("div",{children:[(0,xe.jsx)("div",{style:{fontSize:12,fontWeight:600,marginBottom:4},children:i("keyPublicTitle")}),(0,xe.jsx)("code",{style:{display:"block",fontSize:12,fontWeight:600,marginBottom:6,wordBreak:"break-all",opacity:.85},children:t}),(0,xe.jsxs)("div",{style:{display:"flex",gap:8,alignItems:"center",flexWrap:"wrap"},children:[(0,xe.jsx)("button",{className:"hsk-cb-phone-submit",style:{padding:"4px 10px",border:0},onClick:()=>n(t,"pub"),children:i(a==="pub"?"keyCopied":"keyCopyId")}),(0,xe.jsx)("span",{style:{fontSize:11,opacity:.7,flex:"1 1 180px"},children:i("keyPublicHint")})]})]}),(0,xe.jsx)("div",{style:{fontSize:11,opacity:.6},children:i("keyAutoHide",{seconds:String(r)})})]})})})]})}var Ie=require("react/jsx-runtime");function rs({displayMessages:e,messageRefs:t,isNarrow:a,loading:r,streaming:o,sources:n,referencedIds:i,discussedSources:c,lastIntent:s,lastAction:l,defaultCurrency:h,stopped:d,interrupted:u,halted:p,haltedEmpty:k,error:y,errorCode:v,keyPhase:N,keyInput:P,setKeyInput:L,mintedKey:f,setMintedKey:z,mintedPub:$,setMintedPub:S,minting:Y,copied:T,keyCountdown:_,handleUseExistingKey:F,handleCreateKey:ae,copyValue:I,queuedMessage:B,sendQueuedNow:E,setLightboxSrc:te,setMarkupSrc:A,handleSend:j,handleSourceClick:re,onRetry:G,onEdit:m,onLongPress:U,retrying:q,continueGenerating:le,t:w,bottomRef:M,vizState:C,setVizState:K,messages:X}){return(0,Ie.jsxs)(Ie.Fragment,{children:[(()=>{let x=-1;for(let V=e.length-1;V>=0;V--)if(e[V]?.role==="user"){x=V;break}return e.map((V,H)=>{let D=H===e.length-1,g=V.role==="user",O=g&&H===x,de=g&&e[H+1]?.role!=="user",oe=g&&!de,ie=g&&e[H-1]?.role==="user",Te=V.id||`${V.role}-${H}`,Be=O&&!!y||!g&&D&&!!y||!g&&!!V.content?.includes("We're experiencing high demand right now");return(0,Ie.jsx)(es,{msg:V,idx:H,isLast:D,isLastUser:O,isRunEnd:de,runMid:oe,runCont:ie,isNarrow:a,loading:r,streaming:o,stopped:d,interrupted:u,sources:n,referencedIds:i,discussedSources:c,lastIntent:s,lastAction:l,defaultCurrency:h,vizState:C,setVizState:K,setLightboxSrc:te,setMarkupSrc:A,handleSend:j,handleSourceClick:re,onRetry:G,onEdit:m,onLongPress:U,hasError:Be,retrying:q,t:w,messageRef:qe=>{t.current[H]=qe}},Te)})})(),p&&X.length>0&&(0,Ie.jsxs)("div",{className:J("hsk-cb-stopped",k&&"hsk-cb-stopped--empty"),children:[k&&(0,Ie.jsxs)("span",{className:"hsk-cb-stopped-dots","aria-hidden":"true",children:[(0,Ie.jsx)("i",{}),(0,Ie.jsx)("i",{}),(0,Ie.jsx)("i",{})]}),(0,Ie.jsx)("span",{className:"hsk-cb-stopped-label",children:w(d?"stoppedByYou":"stoppedInterrupted")}),(0,Ie.jsxs)("button",{className:"hsk-cb-continue",onClick:le,children:[(0,Ie.jsx)(On,{}),w(X[X.length-1]?.role==="assistant"?"continueGenerating":"generateResponse")]})]}),y&&(0,Ie.jsx)("div",{className:"hsk-cb-error",children:jn({code:v??void 0,message:y},w)}),N==="prompt_key"&&(0,Ie.jsx)(ts,{keyInput:P,setKeyInput:L,minting:Y,handleUseExistingKey:F,handleCreateKey:ae,t:w}),f&&(0,Ie.jsx)(as,{mintedKey:f,mintedPub:$,copied:T,keyCountdown:_,onDismiss:()=>{z(null),S(null)},copyValue:I,t:w}),B&&(0,Ie.jsx)("div",{className:J("hsk-cb-msg-group",e[e.length-1]?.role==="user"&&"hsk-cb-msg-group--run-cont"),children:(0,Ie.jsxs)("div",{className:"hsk-cb-user-msg",children:[(0,Ie.jsx)("div",{className:"hsk-cb-user-bubble hsk-cb-user-bubble--tail hsk-cb-user-bubble--queued",children:B.content}),(0,Ie.jsxs)("button",{type:"button",className:"hsk-cb-queued-status",onClick:E,children:[(0,Ie.jsx)("span",{className:"hsk-cb-queued-dot"}),w("queuedWaiting"),(0,Ie.jsx)("span",{className:"hsk-cb-queued-now",children:w("queuedSendNow")})]})]})}),(0,Ie.jsx)("div",{ref:M,style:{height:1}})]})}var zt=Lt(require("react"));var ee=require("react/jsx-runtime");function os({gooId:e,input:t,setInput:a,showKikuPicker:r,setShowKikuPicker:o,showAtPicker:n,setShowAtPicker:i,captureAllowed:c,discussedSources:s,defaultCurrency:l,handleSelectExtension:h,handleKikuCapture:d,handleKikuCaptureAll:u,handleKikuViewHistory:p,handleKikuDelete:k,attachments:y,removeAttachment:v,chromeLoading:N,imageInputRef:P,handleImageFiles:L,enableVision:f,enableVoice:z,canConverse:$,voiceMode:S,startVoice:Y,stopVoice:T,voiceBlocked:_,textareaRef:F,classNames:ae={},handleInput:I,handleKeyDown:B,voice:E,voicePhase:te,activePlaceholder:A,loading:j,streaming:re,stop:G,handleSend:m,voiceError:U,setVoiceError:q,shopperLanguage:le,t:w,rail:M}){let[C,K]=zt.default.useState(0),[X,x]=zt.default.useState(!1);zt.default.useEffect(()=>{if(!U)return;let oe=setTimeout(()=>{q?.("")},6e3);return()=>clearTimeout(oe)},[U,q]),zt.default.useEffect(()=>{if(!X)return;let oe=ie=>{ie.key==="Escape"&&x(!1)};return window.addEventListener("keydown",oe),()=>window.removeEventListener("keydown",oe)},[X]);let H=Math.max(Ba(A||"Ask me anything\u2026").length-1,0)*eo,[D,g]=(0,zt.useState)(!1),O=(0,zt.useRef)(null),de=()=>{O.current&&clearTimeout(O.current),g(!0),O.current=setTimeout(()=>{g(!1),O.current=null},550)};return(0,zt.useEffect)(()=>()=>{O.current&&clearTimeout(O.current)},[]),(0,ee.jsxs)("div",{className:"hsk-cb-input-wrap",children:[X&&(0,ee.jsxs)(ee.Fragment,{children:[(0,ee.jsx)("div",{className:"hsk-cb-toolsheet-scrim",onClick:()=>x(!1)}),(0,ee.jsx)("div",{className:"hsk-cb-toolsheet-wrap",children:(0,ee.jsxs)("div",{className:"hsk-cb-toolsheet",role:"menu",children:[f&&(0,ee.jsxs)("button",{className:"hsk-cb-toolsheet-item",role:"menuitem",onClick:()=>{x(!1),P.current?.click()},disabled:j,children:[(0,ee.jsx)(Ao,{}),(0,ee.jsx)("span",{children:w("attachImage")})]}),z&&$&&(0,ee.jsxs)("button",{className:"hsk-cb-toolsheet-item",role:"menuitem",onClick:()=>{x(!1),S==="converse"?T():Y("converse")},disabled:j||N||_,children:[(0,ee.jsx)(Lo,{active:S==="converse"}),(0,ee.jsx)("span",{children:w(S==="converse"?"voiceModeExit":"voiceModeStart")})]})]})})]}),(0,ee.jsxs)("div",{className:"hsk-cb-input-card",children:[(/^@kiku\b/i.test(t)||r||n)&&(0,ee.jsxs)("div",{className:"hsk-cb-docked-header",children:[(0,ee.jsx)("span",{className:"hsk-cb-docked-sub",children:w("captureAndRemember")}),(0,ee.jsx)("button",{type:"button",className:"hsk-cb-docked-close",onClick:()=>{a(oe=>oe.replace(/^@kiku\s*/i,"")),o(!1),i(!1)},"aria-label":"Close mode",children:"\xD7"})]}),(r||n)&&(0,ee.jsxs)("div",{className:"hsk-cb-docked-options",onMouseDown:oe=>oe.preventDefault(),children:[n&&c&&(0,ee.jsxs)("button",{type:"button",className:"hsk-cb-docked-option",onClick:()=>h("@kiku"),children:[(0,ee.jsx)("span",{className:"hsk-cb-docked-option-icon",children:(0,ee.jsx)(Nt,{})}),(0,ee.jsx)("span",{className:"hsk-cb-docked-option-title",children:"kiku"}),(0,ee.jsx)("span",{className:"hsk-cb-docked-option-desc",children:"capture & remember"})]}),r&&c&&(0,ee.jsxs)(ee.Fragment,{children:[s.map((oe,ie)=>(0,ee.jsxs)("button",{type:"button",className:"hsk-cb-docked-option",onClick:()=>{d(oe),o(!1)},children:[(0,ee.jsx)("span",{className:"hsk-cb-docked-option-icon",children:oe.image?(0,ee.jsx)("img",{src:oe.image,alt:""}):(0,ee.jsx)(Hr,{})}),(0,ee.jsx)("span",{className:"hsk-cb-docked-option-title",children:oe.name}),oe.price&&(0,ee.jsxs)("span",{className:"hsk-cb-docked-option-price",children:[oe.currency??l," ",parseFloat(String(oe.price).replace(/[^0-9.]/g,"")||"0").toLocaleString()]})]},oe.id??ie)),s.length>1&&(0,ee.jsxs)("button",{type:"button",className:"hsk-cb-docked-option",onClick:()=>{u(s),o(!1)},children:[(0,ee.jsx)("span",{className:"hsk-cb-docked-option-icon",children:(0,ee.jsx)(Hr,{})}),(0,ee.jsx)("span",{className:"hsk-cb-docked-option-title",children:w("captureAll",{count:String(s.length)})})]}),s.length===0&&(0,ee.jsxs)("button",{type:"button",className:"hsk-cb-docked-option",onClick:()=>{d({name:"current page",id:void 0}),o(!1)},children:[(0,ee.jsx)("span",{className:"hsk-cb-docked-option-icon",children:(0,ee.jsx)(Hr,{})}),(0,ee.jsx)("span",{className:"hsk-cb-docked-option-title",children:w("captureCurrentPage")})]}),(0,ee.jsxs)("button",{type:"button",className:"hsk-cb-docked-option",onClick:()=>{p(),o(!1)},children:[(0,ee.jsx)("span",{className:"hsk-cb-docked-option-icon",children:(0,ee.jsx)(Gn,{})}),(0,ee.jsx)("span",{className:"hsk-cb-docked-option-title",children:w("whatHaveYouSaved")})]}),(0,ee.jsxs)("button",{type:"button",className:"hsk-cb-docked-option",onClick:()=>{k(),o(!1)},children:[(0,ee.jsx)("span",{className:"hsk-cb-docked-option-icon",children:(0,ee.jsx)(Qn,{})}),(0,ee.jsx)("span",{className:"hsk-cb-docked-option-title",children:w("deleteThis")})]})]})]}),y.length>0&&(0,ee.jsx)("div",{className:"hsk-cb-img-strip",children:y.map((oe,ie)=>(0,ee.jsxs)("div",{className:"hsk-cb-img-thumb-wrap",children:[(0,ee.jsx)("img",{src:oe.data,alt:`attachment ${ie+1}`,className:"hsk-cb-img-thumb"}),(0,ee.jsx)("button",{type:"button",className:"hsk-cb-img-thumb-remove",onClick:()=>v(ie),"aria-label":"Remove image",children:(0,ee.jsx)(ni,{size:10})})]},ie))}),(0,ee.jsxs)("div",{className:J("hsk-cb-input-box",N&&"hsk-cb-input-box--waiting"),"data-cascade":C%2?"b":"a","data-tools":X?"open":"closed",style:{"--hsk-text-sweep":`${H}ms`},children:[(0,ee.jsx)("input",{ref:P,type:"file",accept:"image/*",className:"hsk-sr-only",onChange:oe=>{L(oe.target.files),oe.target.value=""}}),(f||z&&$)&&(0,ee.jsx)("button",{className:J("hsk-cb-tools-toggle",X&&"hsk-cb-tools-toggle--open"),onClick:()=>x(oe=>!oe),disabled:j||N,"aria-label":X?"Close options":"More options","aria-expanded":X,children:(0,ee.jsx)(Xn,{})}),(0,ee.jsxs)(ee.Fragment,{children:[f&&(0,ee.jsx)("button",{className:"hsk-cb-attach-btn",onClick:()=>P.current?.click(),disabled:j,"aria-label":"Attach image",title:"Attach image",children:(0,ee.jsx)(Ao,{})}),z&&$&&(0,ee.jsx)("button",{className:J("hsk-cb-voice-mode-btn",_&&"hsk-cb-voice-mode-btn--blocked"),onClick:()=>_?q?.(w("errAccountRequired")):Y("converse"),disabled:j||N,"aria-label":"Voice conversation",title:"Voice conversation",children:(0,ee.jsx)(Lo,{})})]}),(0,ee.jsxs)("div",{className:"hsk-cb-field",children:[(0,ee.jsx)("textarea",{ref:F,value:t,onChange:I,onKeyDown:B,rows:1,placeholder:"",className:J("hsk-cb-textarea",ae.input),"aria-label":A,disabled:j&&!re}),(0,ee.jsx)(Vi,{placeholder:A,visible:!t,staggerMs:eo,replaySeed:C})]}),z&&(0,ee.jsx)("button",{className:J("hsk-cb-mic-btn",(S==="converse"||S==="dictate")&&"hsk-cb-mic-btn--active",_&&"hsk-cb-mic-btn--blocked"),onClick:()=>{S!=="off"?T():Y($?"converse":"dictate")},disabled:j||N,"aria-label":S==="off"?"Start voice mode":"Stop voice",title:S==="off"?$?"Voice conversation":"Voice input":"Stop",children:S==="off"?(0,ee.jsx)($a,{}):(0,ee.jsx)(jr,{})}),(j||re)&&!D?(0,ee.jsx)("button",{className:J("hsk-cb-send","hsk-cb-send--stop",ae.sendButton),onClick:G,"aria-label":"Stop generating",title:"Stop generating",children:(0,ee.jsx)(Wn,{})}):(0,ee.jsxs)("button",{className:J("hsk-cb-send",D&&"is-launching",ae.sendButton),onClick:()=>{de(),m()},disabled:N||!t.trim()&&y.length===0,"aria-label":"Send message",children:[(0,ee.jsx)("svg",{width:"0",height:"0","aria-hidden":"true",focusable:"false",style:{position:"absolute"},children:(0,ee.jsx)("defs",{children:(0,ee.jsxs)("filter",{id:e,children:[(0,ee.jsx)("feGaussianBlur",{in:"SourceGraphic",stdDeviation:"1.6",result:"blur"}),(0,ee.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,ee.jsx)("feBlend",{in:"SourceGraphic",in2:"goo"})]})})}),(0,ee.jsx)("span",{className:"hsk-cb-send-sheath","aria-hidden":"true"}),(0,ee.jsxs)("span",{className:"hsk-cb-send-stage",style:{filter:`url(#${e})`},children:[(0,ee.jsx)("span",{className:"hsk-cb-send-seam","aria-hidden":"true"}),(0,ee.jsx)("span",{className:"hsk-cb-send-kite",children:(0,ee.jsx)(Jn,{})})]})]})]})]}),_?(0,ee.jsxs)("div",{className:"hsk-cb-voice-error",role:"status",onClick:()=>q?.(""),children:[(0,ee.jsx)("span",{children:w("errAccountRequired")}),(0,ee.jsx)("button",{type:"button",className:"hsk-cb-voice-error-dismiss",onClick:oe=>{oe.stopPropagation(),q?.("")},"aria-label":"Dismiss error",children:"\xD7"})]}):U&&(0,ee.jsxs)("div",{className:"hsk-cb-voice-error",role:"status",onClick:()=>q?.(""),children:[(0,ee.jsx)("span",{children:w(U)}),(0,ee.jsx)("button",{type:"button",className:"hsk-cb-voice-error-dismiss",onClick:oe=>{oe.stopPropagation(),q?.("")},"aria-label":"Dismiss error",children:"\xD7"})]}),(0,ee.jsx)("div",{className:"hsk-cb-hint",children:le?w("footerHint"):"kiku \xB7 searches the whole catalogue in real time"})]})}var xt=require("react"),ss=require("react/jsx-runtime");function ns(e,t){let a=e.match(/-?[\d.]+/g);return!a||a.length<3?t:[Number(a[0]),Number(a[1]),Number(a[2])]}function ql(e,t,a){return[e[0]+(t[0]-e[0])*a,e[1]+(t[1]-e[1])*a,e[2]+(t[2]-e[2])*a]}function qa(e,t){return`rgba(${e[0]|0}, ${e[1]|0}, ${e[2]|0}, ${t})`}var Ot=24,Hl=.42;function is({phase:e,level:t,spectrum:a,bins:r,className:o}){let n=(0,xt.useRef)(null),i=(0,xt.useRef)(e),c=(0,xt.useRef)(t),s=(0,xt.useRef)(a),l=(0,xt.useRef)(r);return(0,xt.useEffect)(()=>{i.current=e},[e]),(0,xt.useEffect)(()=>{c.current=t},[t]),(0,xt.useEffect)(()=>{s.current=a},[a]),(0,xt.useEffect)(()=>{l.current=r},[r]),(0,xt.useEffect)(()=>{let h=n.current;if(!h)return;let d=h.getContext("2d");if(!d)return;let u=getComputedStyle(h),p=ns(u.getPropertyValue("--hsk-primary")||"",[255,106,51]),k=ns(u.getPropertyValue("--hsk-chat-text")||"",[31,31,31]),y=0,v=0,N=0,P=()=>{let j=Math.min(window.devicePixelRatio||1,3),re=h.getBoundingClientRect();v=Math.max(1,re.width),N=Math.max(1,re.height),h.width=Math.round(v*j),h.height=Math.round(N*j),d.setTransform(j,0,0,j,0,0)};P();let L=typeof ResizeObserver<"u"?new ResizeObserver(P):null;L?.observe(h),window.addEventListener("resize",P);let f=window.matchMedia?.("(prefers-reduced-motion: reduce)")?.matches??!1,z=new Float32Array(Ot),$=[],S=null,Y=-1,T=null,_=0,F=0,ae=performance.now(),I=(j,re,G,m)=>j+(re-j)*(re>j?G:m),B=()=>{let j=s.current,re=l.current?.()??0;if(!j||!re||((!T||T.length!==re)&&(T=new Uint8Array(re)),!j(T)))return!1;let m=Math.max(Ot,Math.floor(re*Hl))/Ot;for(let U=0;U<Ot;U++){let q=Math.floor(U*m),le=Math.max(q+1,Math.floor((U+1)*m)),w=0;for(let C=q;C<le;C++)w+=T[C];let M=w/(le-q)/255;z[U]=I(z[U],M,f?.2:.55,f?.06:.14)}return!0},E=(j,re)=>{for(let G=0;G<Ot;G++){let m=G/(Ot-1),U=Math.pow(1-m,1.6)*(.75+.25*Math.sin(j*3.1+G*.7));z[G]=I(z[G],U*re,.3,.12)}},te=j=>{let re=Math.min(Ot-1,Math.max(0,j*(Ot-1))),G=Math.floor(re),m=re-G,U=z[G],q=z[Math.min(Ot-1,G+1)];return U+(q-U)*m*m*(3-2*m)},A=j=>{y=requestAnimationFrame(A);let re=(j-ae)/1e3,G=i.current,m=Math.min(1,c.current());_=I(_,Math.max(G==="speaking"?.42:G==="listening"?.3:G==="thinking"?.28:.12,m),f?.1:.5,f?.05:.11),B()||E(re,Math.max(.25,_)),d.clearRect(0,0,v,N);let q=N/2;F=G==="thinking"?(F+.012)%1.6:0;let le=3;if(Y!==v){$=[];for(let C=0;C<le;C++){let K=C/(le-1||1),X=ql(p,k,K*.5),x=d.createLinearGradient(0,0,v,0);x.addColorStop(0,qa(X,0)),x.addColorStop(.5,qa(X,.9-K*.35)),x.addColorStop(1,qa(X,0)),$.push(x)}S=d.createLinearGradient(0,0,v,0),S.addColorStop(0,qa(p,0)),S.addColorStop(.5,qa(p,.14)),S.addColorStop(1,qa(p,0)),Y=v}let w=N*.32,M=Math.max(4,v/130);for(let C=0;C<le;C++){let K=C/(le-1||1),X=C*.055,x=1-K*.22;d.beginPath();let V=0,H=q;for(let g=0;g<=v;g+=M){let O=g/v,de=Math.pow(Math.sin(Math.PI*O),.85),oe=G==="thinking"?Math.exp(-Math.pow((O-(F-.3))*4.5,2)):1,ie=te(Math.abs(O-.5)*2),Te=re-X,Be=Math.sin(O*Math.PI*2*2.1+Te*7.4)*.66+Math.sin(O*Math.PI*2*3.7-Te*5.6)*.26+Math.sin(O*Math.PI*2*5.9+Te*9.1)*.08,qe=q+de*oe*x*w*_*(.6+ie*1.1)*Be+Math.sin(O*Math.PI*2*.6+(re-X)*2.2)*de*N*.01;g===0?d.moveTo(g,qe):d.quadraticCurveTo(V,H,(V+g)/2,(H+qe)/2),V=g,H=qe}d.quadraticCurveTo(V,H,v,H),d.lineCap="round",d.lineJoin="round";let D=(C===0?3:1.6)*(1+_*.6);C===0&&(d.strokeStyle=S,d.lineWidth=D*5,d.stroke()),d.strokeStyle=$[C],d.lineWidth=D,d.stroke()}};return y=requestAnimationFrame(A),()=>{cancelAnimationFrame(y),L?.disconnect(),window.removeEventListener("resize",P)}},[]),(0,ss.jsx)("canvas",{ref:n,className:o,"aria-hidden":"true"})}var Se=require("react/jsx-runtime");function cs({siteId:e,themeAttr:t,stopVoice:a,chooseVoice:r,liveVoiceName:o,voiceSecondsLeft:n,voiceConnecting:i,voicePhase:c,live:s,voiceMuted:l,setVoiceMuted:h,shownSources:d,onSelectSource:u,defaultCurrency:p,voiceError:k,t:y}){return(0,Se.jsxs)("div",{className:"hsk-voice-overlay",role:"dialog","aria-label":y("voiceModeStart"),children:[(0,Se.jsx)(Xr,{seed:e,theme:t}),(0,Se.jsx)("button",{className:"hsk-voice-exit",onClick:a,"aria-label":y("voiceModeExit"),title:y("voiceModeExit"),children:(0,Se.jsx)(Da,{})}),(0,Se.jsx)("div",{className:"hsk-voice-picker",role:"radiogroup","aria-label":y("voicePickerLabel"),children:Br.map((v,N)=>(0,Se.jsx)("button",{type:"button",role:"radio","aria-checked":o===v.name,className:J("hsk-voice-pill",o===v.name&&"hsk-voice-pill--on"),style:{animationDelay:`${N*60}ms`},onClick:()=>r(v.name),"aria-label":`${v.label}, ${v.gender}`,children:v.label},v.name))}),n!==null&&(0,Se.jsxs)("div",{className:J("hsk-voice-allowance",n<=5&&"hsk-voice-allowance--low"),role:"timer","aria-live":"off",children:[Math.max(0,Math.ceil(n)),"s"]}),(0,Se.jsx)("div",{className:J("hsk-voice-stage",i&&"hsk-voice-stage--connecting"),children:(0,Se.jsx)(is,{className:"hsk-voice-canvas",phase:c,level:s.micLevel,spectrum:s.micSpectrum,bins:s.spectrumBins})}),i?(0,Se.jsxs)("div",{className:"hsk-voice-connecting",role:"status",children:[(0,Se.jsx)("span",{className:"hsk-voice-connecting-dot"}),(0,Se.jsx)("span",{children:y("voiceConnecting")})]}):(0,Se.jsxs)("div",{className:"hsk-voice-caption","aria-live":"polite",children:[(0,Se.jsx)("span",{className:J("hsk-voice-phase",`hsk-voice-phase--${c}`),children:y(l?"voiceMuted":c==="speaking"?"voicePhaseSpeaking":c==="thinking"?"voicePhaseThinking":"voicePhaseListening")}),l&&(0,Se.jsx)("span",{className:"hsk-voice-heard",children:y("voiceMutedHint")}),!l&&c==="listening"&&(0,Se.jsx)("span",{className:"hsk-voice-hint-sub",children:y("voiceHint")})]}),d.length>0&&(0,Se.jsx)("div",{className:"hsk-voice-items",children:d.slice(0,4).map((v,N)=>(0,Se.jsxs)("button",{type:"button",className:"hsk-voice-item",style:{animationDelay:`${N*70}ms`},onClick:()=>u?.(v),children:[v.image?(0,Se.jsx)("img",{src:v.image,alt:"",className:"hsk-voice-item-img",loading:"lazy"}):(0,Se.jsx)("span",{className:"hsk-voice-item-img hsk-voice-item-img--empty",children:(0,Se.jsx)(Nt,{})}),(0,Se.jsx)("span",{className:"hsk-voice-item-name",children:v.name}),v.price&&(0,Se.jsxs)("span",{className:"hsk-voice-item-price",children:[v.currency??p," ",parseFloat(String(v.price).replace(/[^0-9.]/g,"")||"0").toLocaleString()]})]},v.id??N))}),k&&(0,Se.jsx)("div",{className:"hsk-voice-error",children:y(k)}),(0,Se.jsx)("div",{className:"hsk-voice-controls",children:(0,Se.jsx)("button",{className:J("hsk-voice-control",l&&"hsk-voice-control--muted"),onClick:()=>h(v=>!v),"aria-label":y(l?"voicePhaseListening":"voiceModeExit"),title:y(l?"voicePhaseListening":"voiceModeExit"),children:(0,Se.jsx)("span",{className:"hsk-voice-control-icon",children:l?(0,Se.jsx)(jr,{}):(0,Se.jsx)($a,{})},l?"off":"on")})})]})}var Ha=require("react/jsx-runtime");function ls({src:e,onClose:t}){return e?(0,Ha.jsxs)("div",{className:"hsk-lightbox",onClick:t,children:[(0,Ha.jsx)("button",{className:"hsk-lightbox-close",onClick:t,"aria-label":"Close image",children:(0,Ha.jsx)(Da,{})}),(0,Ha.jsx)("img",{src:e,alt:"",className:"hsk-lightbox-img",onClick:a=>a.stopPropagation()})]}):null}var xa=require("react");var ia=require("react/jsx-runtime");function ps({items:e,activeIdx:t,progress:a,onJump:r,side:o="right"}){let n=ra(),i=(0,xa.useRef)(null),c=(0,xa.useRef)(null),s=(0,xa.useRef)([]),l=(0,xa.useRef)(null),h=0;for(let d=0;d<e.length;d++)e[d].idx<=t&&(h=d);return(0,xa.useEffect)(()=>{let d=s.current[h],u=l.current,p=c.current,k=i.current;if(d&&(u&&(u.style.transform=`translateY(${d.offsetTop+d.offsetHeight/2}px)`),p&&k)){let y=k.clientHeight;if(p.scrollHeight>y&&y>0){let N=d.offsetTop+d.offsetHeight/2,P=y/2-N;p.style.transform=`translateY(${P}px)`}else p.style.transform="none"}},[h,e.length]),e.length<2?null:(0,ia.jsx)("nav",{ref:i,className:J("hsk-cb-timeline",o==="left"?"hsk-cb-timeline--left":"hsk-cb-timeline--right"),"aria-label":n("timelineLabel"),children:(0,ia.jsxs)("div",{ref:c,className:"hsk-cb-timeline-track",style:{"--hsk-tl-progress":a},children:[(0,ia.jsx)("span",{className:"hsk-cb-tl-cursor",ref:l,"aria-hidden":"true"}),e.map((d,u)=>(0,ia.jsxs)("button",{ref:p=>{s.current[u]=p},type:"button",className:J("hsk-cb-tl-item",u===h&&"hsk-cb-tl-item--on"),style:{"--hsk-tl-d":Math.min(Math.abs(u-h),4)},onClick:()=>r(d.idx),title:d.text,children:[(0,ia.jsx)("span",{className:"hsk-cb-tl-dot"}),(0,ia.jsx)("span",{className:"hsk-cb-tl-label",children:d.text})]},d.idx))]})})}var ut=require("react");var Ee=require("react/jsx-runtime");function ds({msg:e,rect:t,containerRect:a,isUser:r,canRetry:o,canEdit:n,onPin:i,onRetry:c,onEdit:s,onCopy:l,onClose:h,t:d}){let[u,p]=(0,ut.useState)(!1),k=(0,ut.useRef)(null);(0,ut.useEffect)(()=>{let q=le=>{le.key==="Escape"&&h()};return window.addEventListener("keydown",q),()=>window.removeEventListener("keydown",q)},[h]);let y=(0,ut.useCallback)(()=>{l(e.content||""),p(!0),setTimeout(()=>{h()},450)},[e.content,l,h]),v=(0,ut.useCallback)(()=>{i(e),h()},[e,i,h]),N=(0,ut.useCallback)(()=>{c&&c(e),h()},[e,c,h]),P=(0,ut.useCallback)(()=>{s&&s(e),h()},[e,s,h]),[L,f]=(0,ut.useState)(0);(0,ut.useEffect)(()=>{if(k.current){let q=k.current.offsetWidth;q&&Math.abs(q-L)>2&&f(q)}},[L]);let z=a?.top??0,$=a?.left??0,S=a?.width??(typeof window<"u"?window.innerWidth:390),Y=t.top-z,T=t.left-$,_=t.width,F=t.height,ae=2;o&&c&&ae++,r&&n&&s&&ae++;let B=L||(ae===2?140:ae===3?195:252),E=38,te=Y>=58,A=te?Math.max(8,Y-E-16):Math.min(Y+F+16,(a?.height??800)-E-8),j=r?Math.max(28,T+_-18):Math.min(S-28,T+20),re=r?j-B+18:j-18;re=Math.max(10,Math.min(re,S-B-10));let G=Math.max(18,Math.min(j-re,B-18)),m=r?"var(--hsk-user-bubble-bg, var(--hsk-primary, #007aff))":"var(--hsk-chat-source-bg, var(--hsk-bubble-bg, rgba(255, 255, 255, 0.12)))",U=0;return(0,Ee.jsx)("div",{className:"hsk-tapback-overlay",onClick:h,children:(0,Ee.jsxs)("div",{ref:k,className:J("hsk-tapback-group",te?"is-above":"is-below",r?"is-user":"is-ai"),style:{top:`${A}px`,left:`${re}px`,"--tail-x":`${G}px`,"--hsk-anchor-color":m},onClick:q=>q.stopPropagation(),children:[(0,Ee.jsxs)("div",{className:"hsk-tapback-capsule",children:[(0,Ee.jsxs)("button",{type:"button",className:"hsk-tapback-tool-btn hsk-tapback-tool-btn--pin",onClick:v,"aria-label":"Pin to Kiku Memory",style:{"--tool-idx":U++},children:[(0,Ee.jsx)(ii,{size:14}),(0,Ee.jsx)("span",{children:"Pin"})]}),o&&c&&(0,Ee.jsxs)("button",{type:"button",className:"hsk-tapback-tool-btn hsk-tapback-tool-btn--retry",onClick:N,"aria-label":d("retry"),style:{"--tool-idx":U++},children:[(0,Ee.jsx)(sr,{size:14}),(0,Ee.jsx)("span",{children:d("retry")})]}),r&&n&&s&&(0,Ee.jsxs)("button",{type:"button",className:"hsk-tapback-tool-btn hsk-tapback-tool-btn--edit",onClick:P,"aria-label":d("edit"),style:{"--tool-idx":U++},children:[(0,Ee.jsx)(Ur,{size:14}),(0,Ee.jsx)("span",{children:d("edit")})]}),(0,Ee.jsxs)("button",{type:"button",className:J("hsk-tapback-tool-btn hsk-tapback-tool-btn--copy",u&&"is-copied"),onClick:y,"aria-label":d(u?"copied":"copy"),style:{"--tool-idx":U++},children:[u?(0,Ee.jsx)(ma,{size:14}):(0,Ee.jsx)(ua,{size:14}),(0,Ee.jsx)("span",{children:d(u?"copied":"copy")})]})]}),(0,Ee.jsxs)("div",{className:J("hsk-tapback-tail",te?"is-above":"is-below"),style:{left:`${G}px`},children:[(0,Ee.jsx)("span",{className:"hsk-tapback-dot hsk-tapback-dot--top",children:(0,Ee.jsx)("span",{className:"hsk-tapback-dot-bridge"})}),(0,Ee.jsx)("span",{className:"hsk-tapback-dot hsk-tapback-dot--mid"}),(0,Ee.jsx)("span",{className:"hsk-tapback-dot hsk-tapback-dot--anchor"})]})]})})}var we=require("react/jsx-runtime");function an({title:e="kiku",placeholder:t="Ask me anything\u2026",backdropColor:a,backdropBlur:r,onClose:o,onSelectSource:n,defaultCurrency:i="",chips:c=ir,theme:s,classNames:l={},enableVoice:h=!1,voiceLang:d,enableVision:u=!1,visionCategoryHint:p,enableAudioResponse:k=!0,ttsVoice:y="Puck",autoSpeakResponses:v=!0,origin:N}){let P=(0,hs.useAkropolysContext)(),{messages:L,sources:f,loading:z,streaming:$,error:S,errorCode:Y,lastAction:T,lastIntent:_,allowedActions:F,send:ae,queuedMessage:I,sendQueuedNow:B,appendSpokenExchange:E,stop:te,stopped:A,interrupted:j,continueGenerating:re,reset:G,referencedIds:m}=(0,Ua.useKiku)(),{activeScouts:U}=(0,Ua.useScouts)(),[q,le]=(0,pe.useState)(()=>{try{return P.getShopperName?.()??""}catch{return""}}),[w,M]=(0,pe.useState)(()=>{try{return P.getShopperLanguage?.()??""}catch{return""}}),[C,K]=(0,pe.useState)(()=>{try{return P.getEntityLanguageMode?.()??""}catch{return""}}),[X,x]=(0,pe.useState)(!1),{chromeReady:V,isRTL:H,speechLang:D,scriptFont:g,fontStack:O,isNonLatin:de,hostFontCovers:oe,t:ie,tNode:Te}=zi({shopperLanguage:w,theme:s}),Be=pe.default.useMemo(()=>{let R=f.filter(Ye=>Ye.id&&m.includes(Ye.id)),se=[...L].reverse().find(Ye=>Ye.role==="assistant")?.content??"";if(!se)return R;let he=new Set(R.map(Ye=>Ye.id)),Ue=se.toLowerCase().replace(/\s+/g," "),je=Ye=>{let pt=String(Ye??"").toLowerCase().replace(/\s+/g," ").trim(),Jt=pt.split(" "),la=[pt];return Jt.length>3&&la.push(Jt.slice(0,3).join(" ")),Jt.length>4&&la.push(Jt.slice(0,4).join(" ")),la.filter(zr=>zr.length>=5)},Ct=f.filter(Ye=>Ye.id&&!he.has(Ye.id)&&je(Ye.name).some(pt=>Ue.includes(pt)));return[...R,...Ct]},[f,m,L]),qe=F===null||F.includes("capture"),[et,Xe]=(0,pe.useState)(""),[mt,kt]=(0,pe.useState)(!1),[$e,rt]=(0,pe.useState)(!1),[Rt,wt]=(0,pe.useState)([]),Wa=(0,pe.useRef)(null),[kr,Ka]=(0,pe.useState)({}),[Ca,Ma]=(0,pe.useState)(null),[Oa,Na]=(0,pe.useState)(null),[ke,ct]=(0,pe.useState)(()=>{if(typeof window>"u")return!1;try{return localStorage.getItem("akropolys_terms_agreed")==="true"}catch{return!1}}),bt=L.length===0,ot=bt&&!w,Je=bt&&!!w&&!q,lt=bt&&!!w&&!!q&&!C,ft=bt&&!!w&&!!q&&!!C&&!ke,Pt=ot||Je||lt||ft,Oe=pe.default.useMemo(()=>L.some(R=>R.liveKeys?.length>0),[L]);(0,pe.useEffect)(()=>{if(Oe)return(0,Ua.subscribeLiveStream)({client:P})},[Oe,P]);let[nt,He]=(0,pe.useState)(!1);(0,pe.useEffect)(()=>{let R=window.matchMedia?.("(max-width: 768px)");if(!R)return;let se=()=>He(R.matches);return se(),R.addEventListener?.("change",se),()=>R.removeEventListener?.("change",se)},[]);let At=R=>{let se=R.trim();if(!se){try{P.setShopperLanguage?.("")}catch{}M("");return}try{P.setShopperLanguage?.(se)}catch{}M(se),x(!1)},Ta=R=>{try{P.setEntityLanguageMode?.(R)}catch{}K(R),ke&&x(!0)},Qt=()=>{try{localStorage.setItem("akropolys_terms_agreed","true")}catch{}ct(!0),x(!0)},br=e==="kiku"&&ie("nameStepTitle")?"kiku":e,ro=ot?ie("langPlaceholder"):Je?ie("namePlaceholder"):lt?ie("entityLangPlaceholder"):ft?ie("termsPlaceholder"):t==="Ask me anything\u2026"?ie("defaultPlaceholder"):t,fr=!c||c===ir?[]:Array.isArray(c)?c:[],gr=ot?"curious":Je?"welcoming":lt?"guiding":ft?"focused":"happy",[Ut,vr]=(0,pe.useState)(()=>{if(Eo(s))return s;if(typeof window<"u"){let R=localStorage.getItem("akropolys_theme");return Eo(R)?R:window.matchMedia?.("(prefers-color-scheme: light)").matches?si:Io}return Io}),za=(R,se=!1)=>{vr(R),se&&(Nr(!1),uo(!1));try{localStorage.setItem("akropolys_theme",R)}catch{}},{vars:oo}=Aa(s),sa=Ut;Fr(s);let Ya=(0,pe.useRef)(()=>{}),it=(0,pe.useRef)(null),gt=async(R,se,he,Ue)=>{let je=(R??et).trim(),Ct=se??Rt;if(!je&&Ct.length===0||!V||I)return;if(Je){if(!je)return;let pt=Un(je)||je.slice(0,40);try{P.setShopperName?.(pt)}catch{}le(pt),Xe("");return}if(ot){if(!je)return;At(je),Xe("");return}if(lt){Xe("");return}kt(!1),rt(!1),Xe(""),wt([]);let Ye=je||(Ct.some(pt=>pt.type==="image")?"Analyze this image":"What is this?");await ae(Ye,je,Ct.length>0?Ct:void 0,he,Ue)},[yr,fe]=(0,pe.useState)(!1),Re=(0,pe.useCallback)(async R=>{let se=R&&R.role==="user"?R:[...L].reverse().find(he=>he.role==="user");if(se?.content){fe(!0);try{await gt(se.content)}finally{fe(!1)}}},[L,gt]),ze=(0,pe.useCallback)(R=>{R?.content&&(Xe(R.content),setTimeout(()=>{if(it.current){it.current.focus();let se=R.content.length;try{it.current.setSelectionRange(se,se)}catch{}}},50))},[Xe,it]),St=(0,pe.useCallback)(async()=>{await Re()},[Re]),{keyInput:Ge,setKeyInput:st,keyPhase:xr,setKeyPhase:wr,mintedKey:Ra,setMintedKey:Xt,mintedPub:Sr,setMintedPub:no,copied:Cr,keyCountdown:io,minting:so,copyValue:Mr,handleUseExistingKey:ys,handleCreateKey:xs}=Ai(T,St),ws=(0,pe.useCallback)(()=>{if(typeof window>"u")return"N/A";try{let R=sessionStorage.getItem("akropolys_kiku_pub")||sessionStorage.getItem("kiku_pub");if(R)return R;let se=localStorage.getItem("akropolys_kiku_pub")||localStorage.getItem("kiku_pub")||localStorage.getItem("kiku_id");if(se)return se;let he=document.cookie.match(/(?:^|;\s*)(?:akropolys_kiku_pub|kiku_pub|kiku_id)=([^;]+)/);if(he)return decodeURIComponent(he[1])}catch{}return"N/A"},[]),co=Sr??P?.getKikuPub?.()??ws(),[Ga,sn]=(0,pe.useState)(null),Ss=(0,pe.useCallback)((R,se,he)=>{sn({msg:R,rect:se,isUser:he})},[]),Cs=(0,pe.useCallback)(async R=>{let he=`@kiku pin ${(R.content||"").slice(0,50).replace(/\n+/g," ")}`;await ae(R.content||"pin message",he,void 0,"capture")},[ae]),{handleKikuCapture:Ms,handleKikuCaptureAll:Ns,handleKikuViewHistory:Ts,handleKikuDelete:zs}=Li({attachments:Rt,setAttachments:wt,setInput:Xe,send:ae,defaultCurrency:i,t:ie}),{voiceMode:cn,voicePhase:ln,voiceConnecting:Rs,voiceError:lo,setVoiceError:pn,voiceMuted:Ps,setVoiceMuted:As,voiceSecondsLeft:Ls,voiceBlocked:Is,liveVoiceName:Es,chooseVoice:Ds,canConverse:$s,startVoice:Fs,stopVoice:dn,voice:_s,live:po}=$i({voiceLang:d,speechLang:D,shopperLanguage:w,ttsVoice:y,handleSendUtterance:R=>Ya.current(R),appendSpokenExchange:E}),ho=(0,pe.useRef)(null),[ca,Nr]=(0,pe.useState)(!1),[Bs,hn]=(0,pe.useState)(!1),[un,uo]=(0,pe.useState)(!1),Qa=(0,pe.useRef)(null),Tr=(0,pe.useRef)(null),mo=(0,pe.useRef)(null),mn=(0,pe.useRef)([]),qs=(0,pe.useRef)(null),Xa=(0,pe.useRef)(null),Hs=`hsk-goo-${(0,pe.useId)()}`,ko=(0,pe.useCallback)(()=>{Qa.current||(uo(!0),Qa.current=setTimeout(()=>{Nr(!1),uo(!1),Qa.current=null},200))},[]);(0,pe.useEffect)(()=>()=>{Qa.current&&clearTimeout(Qa.current)},[]),(0,pe.useEffect)(()=>{if(!ca)return;let R=se=>{let he=se.composedPath?se.composedPath():[],Ue=Tr.current&&(he.includes(Tr.current)||Tr.current.contains(se.target)),je=mo.current&&(he.includes(mo.current)||mo.current.contains(se.target)),Ct=se.target,Ye=Ct?.closest?.(".hsk-cb-topbar-mark"),pt=Ct?.closest?.(".hsk-cb-topbar-ooze-menu")||he.some(Jt=>Jt?.classList?.contains?.("hsk-cb-topbar-ooze-menu"));Ue||je||Ye||pt||ko()};return document.addEventListener("mousedown",R),document.addEventListener("touchstart",R,{passive:!0}),()=>{document.removeEventListener("mousedown",R),document.removeEventListener("touchstart",R)}},[ca]);let{msgsContainerRef:kn,lastExternalScrollRef:Us,showJumpToBottom:js,scrollProgress:Vs,activeMsgIdx:Ws,unreadBelow:Ks,jumpToMessage:Os,jumpToBottom:Ys}=Ri({messages:L,loading:z,messageRefs:mn});ci({panel:(0,pe.useCallback)(()=>ho.current,[]),scroller:(0,pe.useCallback)(()=>kn.current,[]),onDismiss:o,quiescent:(0,pe.useCallback)(()=>performance.now()-Us.current>90,[])}),(0,pe.useEffect)(()=>{if(typeof window>"u")return;let R=window.innerWidth-document.documentElement.clientWidth,se=document.body.style.overflow,he=document.body.style.paddingRight;if(R>0){let Ue=parseFloat(window.getComputedStyle(document.body).paddingRight)||0;document.body.style.paddingRight=`${Ue+R}px`,document.documentElement.style.setProperty("--hsk-scrollbar-width",`${R}px`)}return document.body.style.overflow="hidden",()=>{document.body.style.overflow=se,document.body.style.paddingRight=he,document.documentElement.style.removeProperty("--hsk-scrollbar-width")}},[]),(0,pe.useEffect)(()=>{let R=window.visualViewport;if(!R)return;let se=document.documentElement,he=()=>{se.style.setProperty("--hsk-vvh",`${R.height}px`)};return he(),R.addEventListener("resize",he),R.addEventListener("scroll",he),()=>{R.removeEventListener("resize",he),R.removeEventListener("scroll",he),se.style.removeProperty("--hsk-vvh")}},[]),(0,pe.useEffect)(()=>{let R=se=>{if(se.key==="Escape"){if(Ca){Ma(null);return}o()}};return document.addEventListener("keydown",R),()=>document.removeEventListener("keydown",R)},[Ca,o]);let Gs=(0,pe.useCallback)(()=>{G(),wr("idle")},[G,wr]),Qs=R=>{n?.(R);let se=[...L].reverse().find(Ue=>Ue.role==="assistant");if(se&&se.content.trim().endsWith("?")){ae(ie("cardClickAnswer",{name:R.name}));return}let he=R.price?` (${R.currency??i} ${R.price})`:"";ae(ie("cardClickQuery",{name:R.name,price:he}))},Xs=R=>{Xe(R+" "),rt(!1),kt(!0),it.current&&it.current.focus()},Js=R=>{if(R.key==="Escape"&&mt){R.preventDefault(),kt(!1);return}if(R.key==="Escape"&&$e){R.preventDefault(),rt(!1);return}R.key==="Enter"&&!R.shiftKey&&!R.nativeEvent.isComposing&&(R.preventDefault(),gt())},bo=(0,pe.useRef)(28),bn=(0,pe.useRef)(280),fo=(0,pe.useRef)(null),Zs=(R,se)=>{try{!fo.current&&typeof document<"u"&&(fo.current=document.createElement("canvas"));let he=fo.current?.getContext("2d");return he?(he.font=se,he.measureText(R).width):R.length*8.5}catch{return R.length*8.5}},ec=R=>{let se=R.closest(".hsk-cb-input-box");if(!se)return;let he=R.value;!(se.dataset.expanded==="true")&&R.clientWidth>50&&(bn.current=R.clientWidth);let je=window.getComputedStyle(R),Ct=je.font||`${je.fontSize||"16px"} ${je.fontFamily||"Geist, sans-serif"}`,Ye=Zs(he,Ct),pt=Math.max(120,bn.current-14),Jt=he.includes(`
45
- `),la=!!(he&&(Jt||Ye>pt));if(se.dataset.expanded!==(la?"true":"false")&&(se.dataset.expanded=la?"true":"false"),!he){bo.current=28,R.style.height="";return}if(!la){bo.current=28,R.style.height="";return}R.style.height="auto";let zr=Math.max(28,Math.min(R.scrollHeight,140));bo.current=zr,R.style.height=`${zr}px`};(0,pe.useEffect)(()=>{it.current&&ec(it.current)},[et]);let tc=R=>{let se=R.target.value;Xe(se),lo&&pn("");let he=se.trim();rt(he==="@"),kt(/^@kiku\s*$/i.test(he))};(0,pe.useEffect)(()=>{Ya.current=R=>{gt(R)}});let ac=async R=>{if(!R||R.length===0)return;let se=Array.from(R);for(let he of se)if(he.type.startsWith("image/"))try{let Ue=await Ir(he);wt(je=>[...je,{type:"image",data:Ue}])}catch{}},rc=R=>{wt(se=>se.filter((he,Ue)=>Ue!==R))},oc=(po.sources?.length??0)>0?po.sources:Be,nc=a&&(a.includes("rgba")||a.includes("hsla")||a==="transparent"),ic=r||nc?{backdropFilter:`blur(${typeof r=="number"?`${r}px`:r||"20px"})`,WebkitBackdropFilter:`blur(${typeof r=="number"?`${r}px`:r||"20px"})`}:{},fn=(A||j)&&!z&&!$,Pa=pe.default.useMemo(()=>{let R=z||$;return L.filter((se,he)=>se.role!=="assistant"||he===L.length-1&&R?!0:!!se.content||!!se.visualization||se.visualizing||(se.knowledgeImages?.length??0)>0||(se.referencedIds?.length??0)>0)},[L,z,$]),sc=pe.default.useMemo(()=>Pa.map((R,se)=>({m:R,idx:se})).filter(({m:R})=>R.role==="user"&&!!R.content.trim()).map(({m:R,idx:se})=>{let he=R.content.replace(/^@kiku\s*/i,"").replace(/\s+/g," ").trim();return{idx:se,text:he.length>30?he.slice(0,29).trimEnd()+"\u2026":he}}),[Pa]),cc=fn&&Pa[Pa.length-1]?.role!=="assistant",gn=(0,pe.useRef)(Date.now());return(0,pe.useEffect)(()=>{gn.current=Date.now()},[]),(0,we.jsx)(Ro.Provider,{value:ie,children:(0,we.jsx)("div",{ref:Xa,className:J("hsk-cb-overlay",N&&"hsk-cb-overlay--grows",l.overlay),onPointerDown:R=>{R.target===R.currentTarget&&(Xa.current._ptrDown=!0)},onClick:R=>{R.target===R.currentTarget&&Xa.current?._ptrDown&&Date.now()-gn.current>200&&o(),Xa.current&&(Xa.current._ptrDown=!1)},"data-hsk-theme":sa,style:{...ic,...a?{background:a}:{},...N?{"--hsk-ox":`${N.x}px`,"--hsk-oy":`${N.y}px`,"--hsk-or":`${Math.ceil(N.r)}px`,"--hsk-bt":`${Math.round(N.top??N.y)}px`,"--hsk-bl":`${Math.round(N.left??N.x)}px`,"--hsk-bw":`${Math.round(N.width??0)}px`,"--hsk-bh":`${Math.round(N.height??0)}px`,"--hsk-bbr":`${Math.round(N.borderRadius??12)}px`}:{},...oo},children:(0,we.jsxs)("div",{ref:ho,className:J("hsk-cb-panel",l.panel),dir:H?"rtl":"ltr","data-script":de?"nonlatin":"latin","data-host-font":oe?"covers":"gap","data-nastaliq":g?.family==="Noto Nastaliq Urdu"||w?.toLowerCase()==="urdu"||w?.toLowerCase()==="ur"||w==="\u0627\u0631\u062F\u0648"?"true":void 0,style:O?{"--hsk-font":O}:void 0,onClick:R=>{R.stopPropagation();let se=R.target;if(se.tagName==="IMG"&&(se.classList.contains("hsk-markdown-img")||se.classList.contains("hsk-cb-user-img-thumb"))){let he=se.src;he&&Ma(he)}},children:[(0,we.jsx)(ls,{src:Ca,onClose:()=>Ma(null)}),Oa&&(0,we.jsx)("div",{className:"hsk-markup-overlay",children:(0,we.jsx)(mi,{src:Oa,t:ie,onCancel:()=>Na(null),onSend:(R,se,he,Ue)=>{Na(null),gt(se||ie("markupApplyMarks"),[{type:"image",data:R,annotated:!0,marks:he,instructed:!!se,preview:Ue}])}})}),(0,we.jsxs)("div",{className:"hsk-cb-main",children:[(0,we.jsx)(Xr,{seed:P?.api?.siteId??"",theme:sa,dir:H?"rtl":"ltr"}),(0,we.jsx)(Ui,{title:br,hasMessages:L.length>0,avatarState:$?"speaking":z?"thinking":"idle",unread:Ks,awayFromBottom:js,themeMenuOpen:ca,themeMenuClosing:un,isNarrow:nt,currentTheme:Ut,onJumpToLatest:Ys,onReset:Gs,onClose:o,onToggleThemeMenu:()=>ca?ko():Nr(!0),onSelectTheme:R=>{za(R,!0)}}),(0,we.jsx)("div",{className:"hsk-cb-msgs",ref:kn,children:Pa.length===0?(0,we.jsx)(Ki,{inOnboarding:Pt,justCompleted:X,onboardingMood:gr,awaitingLang:ot,awaitingName:Je,awaitingEntityLang:lt,awaitingConsent:ft,termsAgreed:ke,shopperLanguage:w,shopperName:q,entityLangPref:C,chromeReady:V,activeChips:fr,t:ie,tNode:Te,chooseLanguage:At,chooseEntityLang:Ta,agreeTerms:Qt,handleSend:gt}):(0,we.jsx)(rs,{displayMessages:Pa,messageRefs:mn,isNarrow:nt,loading:z,streaming:$,sources:f,referencedIds:m,discussedSources:Be,lastIntent:_,lastAction:T,defaultCurrency:i,stopped:A,interrupted:j,halted:fn,haltedEmpty:cc,error:S,errorCode:Y,keyPhase:xr,keyInput:Ge,setKeyInput:st,mintedKey:Ra,setMintedKey:Xt,mintedPub:Sr,setMintedPub:no,minting:so,copied:Cr,keyCountdown:io,handleUseExistingKey:ys,handleCreateKey:xs,copyValue:Mr,queuedMessage:I,sendQueuedNow:B,setLightboxSrc:Ma,setMarkupSrc:Na,handleSend:gt,handleSourceClick:Qs,onRetry:Re,onEdit:ze,onLongPress:Ss,retrying:yr,continueGenerating:re,t:ie,bottomRef:qs,vizState:kr,setVizState:Ka,messages:L})}),(0,we.jsx)(os,{gooId:Hs,input:et,setInput:Xe,showKikuPicker:mt,setShowKikuPicker:kt,showAtPicker:$e,setShowAtPicker:rt,captureAllowed:qe,discussedSources:Be,defaultCurrency:i,handleSelectExtension:Xs,handleKikuCapture:Ms,handleKikuCaptureAll:Ns,handleKikuViewHistory:Ts,handleKikuDelete:zs,attachments:Rt,removeAttachment:rc,chromeLoading:!V,imageInputRef:Wa,handleImageFiles:ac,enableVision:u,enableVoice:h,canConverse:$s,voiceMode:cn,startVoice:Fs,stopVoice:dn,voiceBlocked:Is,textareaRef:it,classNames:l,handleInput:tc,handleKeyDown:Js,voice:_s,voicePhase:ln,activePlaceholder:ro,loading:z,streaming:$,stop:te,handleSend:gt,voiceError:lo,setVoiceError:pn,shopperLanguage:w,t:ie})]}),(0,we.jsx)(ps,{items:sc,activeIdx:Ws,progress:Vs,onJump:Os,side:H?"left":"right"}),(0,we.jsxs)("div",{className:J("hsk-cb-kiku-id-rail",H?"hsk-cb-kiku-id-rail--right":"hsk-cb-kiku-id-rail--left"),children:[(0,we.jsx)(lr,{themeAttr:sa,open:Bs,onOpenChange:R=>{hn(R),R&&ca&&ko()},onAsk:R=>{gt(`scout ${R.id}`)},onNew:()=>{Xe(""),setTimeout(()=>it.current?.focus(),60)}}),(0,we.jsx)("div",{className:J("hsk-cb-theme-squircle-wrap",ca&&"is-open",un&&"is-closing"),ref:Tr,children:ca?(0,we.jsx)("div",{className:"hsk-cb-theme-2x2-grid",role:"dialog","aria-label":"Theme selector",children:ka.map(({id:R,label:se,Icon:he})=>(0,we.jsxs)("button",{type:"button",className:J("hsk-cb-theme-grid-item",Ut===R&&"is-active"),onClick:Ue=>{Ue.stopPropagation(),za(R,!0)},children:[(0,we.jsx)(he,{}),(0,we.jsx)("span",{children:se})]},R))}):(0,we.jsxs)("button",{type:"button",className:"hsk-cb-theme-squircle-trigger",onClick:()=>{hn(!1),Nr(!0)},"aria-label":"Themes","aria-expanded":"false",children:[(0,we.jsx)("span",{className:"hsk-cb-theme-trigger-icon",children:pe.default.createElement(Do(Ut).Icon)}),(0,we.jsx)("span",{className:"hsk-cb-theme-trigger-label",children:Do(Ut).label})]})}),(0,we.jsxs)("button",{type:"button",className:"hsk-cb-kiku-id-pill",onClick:()=>co!=="N/A"&&Mr(co,"pub"),title:ie("keyCopyId"),children:[(0,we.jsx)("span",{className:"hsk-cb-kiku-id-rail-val",children:co}),Cr==="pub"?(0,we.jsx)(ma,{}):(0,we.jsx)(ua,{})]})]}),cn==="converse"&&(0,we.jsx)(cs,{siteId:P?.api?.siteId??"",themeAttr:sa,stopVoice:dn,chooseVoice:Ds,liveVoiceName:Es,voiceSecondsLeft:Ls,voiceConnecting:Rs,voicePhase:ln,live:po,voiceMuted:Ps,setVoiceMuted:As,shownSources:oc,onSelectSource:n,defaultCurrency:i,voiceError:lo,t:ie}),Ga&&(0,we.jsx)(ds,{msg:Ga.msg,rect:Ga.rect,containerRect:ho.current?.getBoundingClientRect(),isUser:Ga.isUser,canRetry:!z&&!$,canEdit:Ga.isUser,onPin:Cs,onRetry:Re,onEdit:ze,onCopy:R=>{try{navigator.clipboard.writeText(R)}catch{}},onClose:()=>sn(null),t:ie})]})})})}var Ht=require("react/jsx-runtime");function to({label:e="Ask AI",children:t,icon:a,title:r,placeholder:o,backdropColor:n,backdropBlur:i,className:c,onSelectSource:s,defaultCurrency:l="$",chips:h=ir,theme:d,classNames:u={},enableVoice:p=!1,voiceLang:k,enableVision:y=!1,visionCategoryHint:v,enableAudioResponse:N,ttsVoice:P,autoSpeakResponses:L}){let f=(0,ms.useAkropolysContext)(),[z,$]=(0,Yt.useState)(!1),[S,Y]=(0,Yt.useState)(!1),[T,_]=(0,Yt.useState)(null),F=(0,Yt.useCallback)(()=>{or();try{En(f,f?.getShopperLanguage?.()??"",ha)}catch{}},[f]),ae=(0,Yt.useCallback)(E=>{F();let te=E.getBoundingClientRect(),A=window.getComputedStyle(E),j=parseFloat(A.borderRadius)||12,re=te.left+te.width/2,G=te.top+te.height/2,m=window.innerWidth,U=window.innerHeight,q=Math.max(Math.hypot(re,G),Math.hypot(m-re,G),Math.hypot(re,U-G),Math.hypot(m-re,U-G));_({x:re,y:G,r:q,top:te.top,left:te.left,width:te.width,height:te.height,borderRadius:j}),$(!0)},[F]);(0,Yt.useEffect)(()=>{Y(!0),F();let E=window.requestIdleCallback,te=E?E(F,{timeout:2e3}):setTimeout(F,300);if(typeof window<"u"&&!window.__akropolys_nav_patched){window.__akropolys_nav_patched=!0;let j=window.location.pathname,re=window.history.pushState,G=window.history.replaceState;window.history.pushState=function(...m){re.apply(this,m),window.location.pathname!==j&&(j=window.location.pathname,window.dispatchEvent(new CustomEvent("akropolys:navigation")))},window.history.replaceState=function(...m){G.apply(this,m),window.location.pathname!==j&&(j=window.location.pathname,window.dispatchEvent(new CustomEvent("akropolys:navigation")))}}let A=()=>{$(!1)};return window.addEventListener("popstate",A),window.addEventListener("akropolys:navigation",A),()=>{let j=window.cancelIdleCallback;E&&j?j(te):clearTimeout(te),window.removeEventListener("popstate",A),window.removeEventListener("akropolys:navigation",A)}},[F]);let{themeAttr:I,vars:B}=Aa(d);return Fr(d),(0,Ht.jsxs)(Ht.Fragment,{children:[(0,Ht.jsx)("button",{className:J("hsk-cb-btn",u.button,c),onClick:E=>ae(E.currentTarget),onPointerEnter:F,onPointerDown:F,style:B,"data-hsk-theme":I,"aria-label":"Open AI chat",children:t!==void 0?t:(0,Ht.jsxs)(Ht.Fragment,{children:[a?(0,Ht.jsx)("span",{className:"hsk-cb-btn-icon",style:{display:"flex",alignItems:"center"},children:a}):null,e]})}),z&&S&&(0,us.createPortal)((0,Ht.jsx)(an,{title:r,placeholder:o,backdropColor:n,backdropBlur:i,origin:T,onClose:()=>$(!1),onSelectSource:s,defaultCurrency:l,chips:h,theme:d,classNames:u,enableVoice:p,voiceLang:k,enableVision:y,visionCategoryHint:v,enableAudioResponse:N,ttsVoice:P,autoSpeakResponses:L}),or()??document.body)]})}var _e=require("react"),fs=require("react-dom");var ja=require("@akropolys/sdk");var b=require("react/jsx-runtime"),wa=({className:e,size:t=16})=>(0,b.jsx)("svg",{className:J("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"})]})}),ks=()=>(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"})]}),bs=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 a=JSON.parse(t);return a.error||a.message||t}catch{return t}};function Ul({productName:e,limit:t,backdropColor:a,backdropBlur:r,onClose:o,onNavigate:n,onResult:i,theme:c,classNames:s={},product:l}){let h=(0,ja.useAkropolysContext)(),[d,u]=(0,_e.useState)(null),p=l||d,{results:k,loading:y,search:v}=(0,ja.useSearch)({type:"vector"}),{messages:N,sources:P,loading:L,error:f,send:z}=(0,ja.useKiku)(),[$,S]=(0,_e.useState)(""),[Y,T]=(0,_e.useState)(!1),[_,F]=(0,_e.useState)(!1),[ae,I]=(0,_e.useState)(!1),B=(0,_e.useRef)(null),E=(0,_e.useRef)(null);(0,_e.useEffect)(()=>{!l&&!d&&h.api.searchVector(e,1).then(M=>{M.results&&M.results.length>0&&u(M.results[0].entity)}).catch(M=>console.error("[Akropolys] Failed to fetch product details",M)),v(e,t)},[e,l,d,h,t,v]),(0,_e.useEffect)(()=>{let M=()=>T(window.innerWidth<=768);if(M(),typeof window<"u")return window.addEventListener("resize",M),()=>window.removeEventListener("resize",M)},[]),(0,_e.useEffect)(()=>{k.length>0&&i?.(k)},[k,i]),(0,_e.useEffect)(()=>{let M=C=>{C.key==="Escape"&&o()};return document.addEventListener("keydown",M),()=>document.removeEventListener("keydown",M)},[o]);let te=(0,_e.useRef)(null);(0,_e.useEffect)(()=>{let M=document.body.style.overflow,C=document.body.style.position,K=document.body.style.width;document.body.style.overflow="hidden",document.body.style.position="fixed",document.body.style.width="100%";let X=()=>{window.scrollTo(0,0),te.current&&(te.current.scrollTop=0)};return window.addEventListener("scroll",X,{passive:!0}),()=>{document.body.style.overflow=M,document.body.style.position=C,document.body.style.width=K,window.removeEventListener("scroll",X)}},[]);let A=(0,_e.useRef)(null);(0,_e.useEffect)(()=>{A.current&&(A.current.scrollTop=A.current.scrollHeight)},[N,L]);let j=typeof r=="number"?`${r}px`:r??"16px",re=a??void 0,G=M=>{n?.(M)!==!1&&(o(),M.entity.url&&(window.location.href=M.entity.url))},m=async M=>{let C=(M??$).trim();if(!(!C||L))if(S(""),E.current&&(E.current.style.height="auto"),N.length===0&&p){let K=`[Context: Shopper is viewing "${p.name}". Price: ${p.price}. Description: ${p.description||""}]
46
-
47
- Question: ${C}`;await z(K,C)}else await z(C)},U=M=>{M.key==="Enter"&&!M.shiftKey&&!M.nativeEvent.isComposing&&(M.preventDefault(),m())},q=M=>{S(M.target.value);let C=M.target;C.style.height="auto",C.style.height=`${Math.min(C.scrollHeight,140)}px`},le={...c?.primaryColor&&{"--hsk-primary":c.primaryColor},...c?.backgroundColor&&{"--hsk-bg":c.backgroundColor},...c?.textColor&&{"--hsk-text":c.textColor},...c?.fontFamily&&{"--hsk-font":c.fontFamily},...c?.borderRadius&&{"--hsk-border-radius":c.borderRadius}},w=N.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!`}]:N;return Y?(0,b.jsx)("div",{ref:te,className:J("hsk-sp-backdrop hsk-sp-mobile-view",s.backdrop),onClick:o,style:{backdropFilter:`blur(${j})`,WebkitBackdropFilter:`blur(${j})`,background:re??void 0,...le},children:(0,b.jsxs)("div",{className:J("hsk-sp-card hsk-sp-fullscreen hsk-sp-mobile-card",s.card),onClick:M=>M.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)(wa,{})}),(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:()=>F(!0),children:"Specs"})]}),(0,b.jsx)("div",{className:"hsk-sp-header-sub",children:"kiku"})]}),(0,b.jsx)("button",{className:"hsk-sp-close",onClick:o,"aria-label":"Close",children:(0,b.jsx)(ks,{})})]}),y&&(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:[w.map((M,C)=>{let K=M.role==="user";return(0,b.jsx)("div",{className:"hsk-cb-msg-group",children:K?(0,b.jsx)("div",{className:"hsk-cb-user-msg",children:(0,b.jsx)("div",{className:"hsk-cb-user-bubble",children:M.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)(wa,{})}),(0,b.jsxs)("div",{className:"hsk-cb-ai-body",children:[(0,b.jsx)("div",{className:"hsk-cb-ai-text",children:da(M.content)}),C===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:()=>F(!0),children:"Specs"})]}),(()=>{let X=k.filter(x=>{let V=!!(x.entity.name&&p?.name&&x.entity.name.toLowerCase()===p.name.toLowerCase()),H=x.entity.slug&&p?.slug&&x.entity.slug.toLowerCase()===p.slug.toLowerCase();return!V&&!H});return X.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:X.map(x=>{let V=parseFloat(x.entity.price?.replace(/[^0-9.]/g,"")||"0"),H=x.entity.currency??"KES";return(0,b.jsxs)("div",{className:"hsk-sp-mobile-similar-carousel-item",onClick:()=>G(x),children:[(0,b.jsx)("div",{className:"hsk-sp-mobile-similar-carousel-img",children:x.entity.images?.[0]?(0,b.jsx)("img",{src:x.entity.images[0],alt:x.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:x.entity.name,children:x.entity.name}),(0,b.jsxs)("div",{className:"hsk-sp-mobile-similar-carousel-price",children:[H," ",V.toLocaleString()]})]})]},x.id)})})]})})()]})]})]})},C)}),L&&(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)(wa,{})}),(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"})]})]}),f&&(0,b.jsx)("div",{className:"hsk-cb-error",children:bs(f)}),(0,b.jsx)("div",{ref:B,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:E,className:"hsk-cb-textarea",value:$,onChange:q,onKeyDown:U,placeholder:"Ask about this product, specs, or comparison...",rows:1,disabled:L}),(0,b.jsx)("button",{className:"hsk-cb-send",onClick:()=>m(),disabled:!$.trim()||L,"aria-label":"Send message",children:(0,b.jsx)(Za,{})})]})})]}),_&&p&&(0,b.jsx)("div",{className:"hsk-sp-mobile-specs-overlay",onClick:()=>F(!1),children:(0,b.jsxs)("div",{className:"hsk-sp-mobile-specs-drawer",onClick:M=>M.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:()=>F(!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(([M,C])=>(0,b.jsxs)("div",{className:"hsk-sp-mobile-spec-row",children:[(0,b.jsx)("span",{className:"hsk-sp-mobile-spec-label",children:M}),(0,b.jsx)("span",{className:"hsk-sp-mobile-spec-value",children:C})]},M))]})]})]})})]})}):(0,b.jsx)("div",{className:J("hsk-sp-backdrop",s.backdrop),onClick:o,style:{backdropFilter:`blur(${j})`,WebkitBackdropFilter:`blur(${j})`,background:re??void 0,...le},children:(0,b.jsxs)("div",{className:J("hsk-sp-card hsk-sp-fullscreen",s.card),onClick:M=>M.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)(wa,{})}),(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:o,"aria-label":"Close",children:(0,b.jsx)(ks,{})})]}),y&&(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(([M,C])=>(0,b.jsxs)("div",{className:"hsk-sp-spec-item-horizontal",children:[(0,b.jsxs)("span",{className:"hsk-sp-spec-label-horizontal",children:[M,":"]}),(0,b.jsx)("span",{className:"hsk-sp-spec-value-horizontal",title:C,children:C})]},M))}),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 M=k.filter(C=>{let K=!!(C.entity.name&&p?.name&&C.entity.name.toLowerCase()===p.name.toLowerCase()),X=C.entity.slug&&p?.slug&&C.entity.slug.toLowerCase()===p.slug.toLowerCase();return!K&&!X});return!y&&M.length===0?(0,b.jsx)("div",{className:"hsk-sp-empty",children:"No similar products found."}):M.map((C,K)=>{let X=parseFloat(C.entity.price?.replace(/[^0-9.]/g,"")||"0"),x=C.entity.currency??"KES";return(0,b.jsxs)("div",{className:J("hsk-sp-item",s.item),style:{animationDelay:`${K*55}ms`,cursor:"pointer"},onClick:()=>G(C),children:[(0,b.jsx)("div",{className:"hsk-sp-img-wrap",children:C.entity.images?.[0]?(0,b.jsx)("img",{src:C.entity.images[0],alt:C.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:[C.entity.category&&(0,b.jsx)("div",{className:"hsk-sp-item-cat",children:C.entity.category}),(0,b.jsx)("div",{className:"hsk-sp-item-name",title:C.entity.name,children:C.entity.name})]}),(0,b.jsxs)("div",{className:"hsk-sp-item-price-row",children:[(0,b.jsx)("span",{className:"hsk-sp-item-currency",children:x}),(0,b.jsx)("span",{className:"hsk-sp-item-price",children:X.toLocaleString()})]}),(0,b.jsx)("div",{className:"hsk-sp-actions",children:(0,b.jsx)("button",{className:"hsk-sp-action hsk-sp-action-primary",onClick:V=>{V.stopPropagation(),G(C)},children:"View"})})]})]},C.id)})})()})]})]}),(0,b.jsxs)("div",{className:"hsk-sp-chat-pane",children:[(0,b.jsxs)("div",{className:"hsk-cb-msgs",children:[w.map((M,C)=>{let K=M.role==="user";return(0,b.jsx)("div",{className:"hsk-cb-msg-group",children:K?(0,b.jsx)("div",{className:"hsk-cb-user-msg",children:(0,b.jsx)("div",{className:"hsk-cb-user-bubble",children:M.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)(wa,{})}),(0,b.jsx)("div",{className:"hsk-cb-ai-body",children:(0,b.jsx)("div",{className:"hsk-cb-ai-text",children:da(M.content)})})]})},C)}),L&&(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)(wa,{})}),(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"})]})]}),f&&(0,b.jsx)("div",{className:"hsk-cb-error",children:bs(f)}),(0,b.jsx)("div",{ref:B,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:E,className:"hsk-cb-textarea",value:$,onChange:q,onKeyDown:U,placeholder:"Ask about this product, specs, or comparison...",rows:1,disabled:L}),(0,b.jsx)("button",{className:"hsk-cb-send",onClick:()=>m(),disabled:!$.trim()||L,"aria-label":"Send message",children:(0,b.jsx)(Za,{})})]}),(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 gs({productName:e,limit:t=8,onResult:a,backdropColor:r,backdropBlur:o,className:n,onNavigate:i,theme:c,classNames:s={},product:l,children:h}){let[d,u]=(0,_e.useState)(!1),[p,k]=(0,_e.useState)(!1);(0,_e.useEffect)(()=>{k(!0)},[]);let y={...c?.primaryColor&&{"--hsk-primary":c.primaryColor},...c?.backgroundColor&&{"--hsk-bg":c.backgroundColor},...c?.textColor&&{"--hsk-text":c.textColor},...c?.fontFamily&&{"--hsk-font":c.fontFamily},...c?.borderRadius&&{"--hsk-border-radius":c.borderRadius}};return(0,b.jsxs)(b.Fragment,{children:[(0,b.jsx)("button",{className:J("hsk-sp-btn",s.button,n),onClick:()=>u(!0),style:y,title:"Find similar products","aria-label":"Find similar products",children:h||(0,b.jsx)(wa,{})}),d&&p&&(0,fs.createPortal)((0,b.jsx)(Ul,{productName:e,limit:t,onResult:a,backdropColor:r,backdropBlur:o,onClose:()=>u(!1),onNavigate:i,theme:c,classNames:s,product:l}),or()??document.body)]})}var Gt=require("react"),vs=require("react-dom/client"),Va=require("@akropolys/sdk");var Sa=require("react/jsx-runtime");function ao(e){if(!e||typeof e!="object")return{};let t=String(e.id??e.handle??e.url??""),a=e.title||e.name||"",r;typeof e.price=="number"?r=e.price>=100&&Number.isInteger(e.price)?(e.price/100).toFixed(2):e.price.toString():typeof e.price=="string"&&(r=e.price);let o=e.featured_image||e.image;if(!o&&Array.isArray(e.images)&&e.images.length>0){let p=e.images[0];o=typeof p=="string"?p:p?.src}typeof o=="string"&&o.startsWith("//")&&(o="https:"+o);let n=e.url||"";if(!n&&e.handle&&(n=`/products/${e.handle}`),n&&typeof window<"u"&&!n.startsWith("http"))try{n=new URL(n,window.location.origin).href}catch{}let i=e.type||e.product_type||e.category||"",c=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||"",h=typeof l=="string"?l.replace(/<[^>]*>?/gm,"").trim():"",d=Array.isArray(e.variants)&&e.variants.length>0?e.variants[0]:null,u=d?d.id:void 0;return{id:t,name:a,title:a,price:r,image:o,url:n||(typeof window<"u"?window.location.href:""),category:i,brand:c,tags:s,description:h,availability:e.available!==!1?"in_stock":"out_of_stock",variant_id:u?String(u):void 0,shopify_product_id:e.id?String(e.id):void 0,handle:e.handle||void 0}}function rn(e){if(!e||e.length===0)return Promise.resolve();let t=e.map(a=>({id:a.fields?.variant_id||a.fields?.shopify_variant_id||a.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 a=>{a.ok||console.warn("[Akropolys Shopify] /cart/add.js returned error status:",a.status);let r=await a.json().catch(()=>null);return typeof document<"u"&&(document.dispatchEvent(new CustomEvent("cart:updated",{bubbles:!0,detail:{items:r}})),document.dispatchEvent(new CustomEvent("cart:refresh",{bubbles:!0,detail:{items:r}})),document.dispatchEvent(new CustomEvent("cart:build",{bubbles:!0})),window.dispatchEvent(new CustomEvent("cart:updated",{detail:{items:r}}))),r}).catch(a=>{console.warn("[Akropolys Shopify] Add to cart network error:",a)})}function on(){return fetch("/cart.js",{headers:{Accept:"application/json"}}).then(e=>e.ok?e.json():null).catch(()=>null)}function jl({children:e,position:t="bottom-right",dockable:a=!0,isInline:r=!1}){if(r||t==="inline"||t==="custom"||t==="hidden"||a===!1)return(0,Sa.jsx)("div",{className:"akropolys-kiku-inline-wrapper",style:{display:"inline-flex",alignItems:"center"},children:e});let[o,n]=(0,Gt.useState)(null),[i,c]=(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 P=window.innerWidth-140-20,L=window.innerHeight-44-20;t==="bottom-left"?(P=20,L=window.innerHeight-44-20):t==="top-right"?(P=window.innerWidth-140-20,L=20):t==="top-left"&&(P=20,L=20);try{let f=localStorage.getItem("akropolys_dock_pos");if(f){let z=JSON.parse(f);if(typeof z.x=="number"&&typeof z.y=="number"){let $=Math.max(10,Math.min(window.innerWidth-60,z.x)),S=Math.max(10,Math.min(window.innerHeight-60,z.y));return{x:$,y:S}}}}catch{}return{x:Math.max(10,P),y:Math.max(10,L)}};n(p());let k=()=>{n(y=>{if(!y)return p();let v=Math.max(10,Math.min(window.innerWidth-60,y.x)),N=Math.max(10,Math.min(window.innerHeight-60,y.y));return{x:v,y:N}})};return window.addEventListener("resize",k),()=>window.removeEventListener("resize",k)},[t]);let h=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,y=p.clientY-s.current.startY;if(!s.current.moved&&Math.hypot(k,y)>6&&(s.current.moved=!0,c(!0)),s.current.moved){let v=l.current?.offsetWidth||140,N=l.current?.offsetHeight||44,P=Math.max(8,Math.min(window.innerWidth-v-8,s.current.initX+k)),L=Math.max(8,Math.min(window.innerHeight-N-8,s.current.initY+y));n({x:P,y:L})}},u=()=>{if(!s.current)return;let p=s.current.moved;if(s.current=null,c(!1),p&&o){try{localStorage.setItem("akropolys_dock_pos",JSON.stringify(o))}catch{}let k=y=>{y.stopPropagation(),y.preventDefault(),window.removeEventListener("click",k,!0)};window.addEventListener("click",k,!0),setTimeout(()=>window.removeEventListener("click",k,!0),120)}};return o?(0,Sa.jsx)("div",{ref:l,className:"akropolys-kiku-dock-wrapper",onPointerDown:h,onPointerMove:d,onPointerUp:u,onPointerCancel:u,title:"Drag to dock anywhere",style:{position:"fixed",left:`${o.x}px`,top:`${o.y}px`,zIndex:2147483640,touchAction:"none",cursor:i?"grabbing":"grab",transition:i?"none":"transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.2s ease",transform:i?"scale(1.05)":"scale(1)",userSelect:"none",WebkitUserSelect:"none"},children:e}):null}function Vl({config:e,isInline:t}){(0,Gt.useEffect)(()=>{let r=(0,Va.getAkropolysClient)();if(!r)return;let o=e.product;if(!o&&typeof window.meta?.product=="object"&&(o=window.meta.product),o){let n=ao(o);(n.id||n.url)&&r.ingest(n).catch(i=>{console.debug("[Akropolys Shopify] Auto-ingest notice:",i)})}},[e.product]);let a=r=>{if(e.onAddToCart){e.onAddToCart(r);return}rn(r)};return(0,Sa.jsx)(Va.AkropolysProvider,{siteId:e.siteId,apiUrl:e.apiUrl,apiToken:e.apiToken,vertical:e.vertical||"commerce",shopperId:e.shopperId,onAddToCart:a,onAction:e.onAction,getCart:on,children:(0,Sa.jsx)(jl,{position:e.position,dockable:e.dockable!==!1,isInline:t,children:(0,Sa.jsx)(to,{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 Wl(){typeof document>"u"||document.addEventListener("click",e=>{e.target?.closest("[data-kiku-open], [data-kiku-toggle], .kiku-trigger")&&(e.preventDefault(),window.Kiku?.open())})}function nn(e){if(typeof window>"u"||typeof document>"u")return;let t={},a=document.getElementById("akropolys-kiku-script");if(a){let c=a.dataset;t={siteId:c.siteId,apiToken:c.apiToken,apiUrl:c.apiUrl,theme:c.theme,buttonLabel:c.buttonLabel,position:c.position,containerId:c.containerId,containerSelector:c.containerSelector,dockable:c.dockable!=="false",enableVoice:c.enableVoice==="true"||c.enableVoice==="1",enableVision:c.enableVision==="true"||c.enableVision==="1"}}let r={...t,...window.AkropolysConfig||{},...e||{}};(!r.siteId||!r.apiToken)&&console.warn('[Akropolys] Missing siteId or apiToken. Configure window.AkropolysConfig = { siteId: "...", apiToken: "..." }');let o=null,n=!1;r.containerSelector&&(o=document.querySelector(r.containerSelector),o&&(n=!0)),!o&&r.containerId&&(o=document.getElementById(r.containerId),o&&(n=!0)),o||(o=document.getElementById("kiku-mount")||document.querySelector("[data-kiku-mount]"),o&&(n=!0)),o||(o=document.createElement("div"),o.id="akropolys-kiku-host",document.body.appendChild(o)),(0,vs.createRoot)(o).render((0,Sa.jsx)(Vl,{config:r,isInline:n})),Wl(),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 c=>{let s=(0,Va.getAkropolysClient)();if(s&&c){let l=ao(c);await s.ingest(l)}},getClient:()=>(0,Va.getAkropolysClient)(),config:r}}if(typeof window<"u"){let e=()=>!!(window.AkropolysConfig||document.getElementById("akropolys-kiku-script")||document.getElementById("kiku-mount")||document.querySelector("[data-kiku-mount]")),t=()=>{e()&&nn()};document.readyState==="loading"?document.addEventListener("DOMContentLoaded",t):setTimeout(t,0)}0&&(module.exports={ChatWidget,KikuButton,KikuChat,ScoutCharacter,ScoutRail,SearchBar,Sparkle,VisualSearch,VoiceButton,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});
48
39
  //# sourceMappingURL=index.js.map