@helpai/elements 6.6.0 → 6.6.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/elements-web-component.esm.js +3 -3
- package/elements-web-component.esm.js.map +3 -3
- package/elements.cjs.js +3 -3
- package/elements.cjs.js.map +3 -3
- package/elements.esm.js +3 -3
- package/elements.esm.js.map +3 -3
- package/elements.js +3 -3
- package/elements.js.map +3 -3
- package/index.mjs +3 -3
- package/llms-full.txt +140 -140
- package/llms.txt +19 -19
- package/package.json +1 -1
- package/react.mjs +3 -3
- package/step-display.d.ts +7 -1
- package/step-display.mjs +2 -2
- package/web-component.mjs +3 -3
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
var sg=Object.defineProperty;var lg=(e,t,r)=>t in e?sg(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r;var ee=(e,t,r)=>lg(e,typeof t!="symbol"?t+"":t,r);var xe,Lc,ps,Cr,ds,ui,Nc,ci,Oc,_s,us,cg,eo=Symbol.for("pv"),pi={},_i=[],dg=/^m(i|n|o|s|text|space)$/,fi=Array.isArray,fs=_i.slice,Gr=Object.assign;function Wr(e){e&&e.parentNode&&e.remove()}function Ir(e,t,r){var n,o,s,a={},i=arguments.length;for(s in t)s=="key"?n=t[s]:s=="ref"&&typeof e!="function"?o=t[s]:a[s]=t[s];return i>2&&(a.children=i>3?fs.call(arguments,2):r),Zn(e,a,n,o,null)}function Zn(e,t,r,n,o){var s={type:e,props:t,key:r,ref:n,__k:null,__:null,__b:0,__e:null,__c:null,constructor:eo,__v:o||++Lc,__i:-1,__u:0};return!o&&xe.vnode&&xe.vnode(s),s}function he(e){return e.children}function Xt(e,t){this.props=e,this.context=t,this.__g=0}function Tr(e,t){if(t==null)return e.__&&Tr(e.__,e.__i+1);for(var r;t<e.__k.length;t++)if((r=e.__k[t])&&r.__e)return r.__e;return typeof e.type!="function"||e.props.__P?null:Tr(e)}function ug(e){var t,r=e.__v,n=r.__e,o=[],s=[],a=e.__P;a&&((t=Gr({constructor:eo},r)).__v=r.__v+1,xe.vnode&&xe.vnode(t),gs(a,t,r,e.__n,a.namespaceURI,32&r.__u?[n]:null,o,n||Tr(r),32&r.__u,s),t.__v=r.__v,t.__.__k[t.__i]=t,zc(o,t,s),r.__=r.__e=null,t.__e!=n&&$c(t))}function $c(e){if((e=e.__)&&e.__c&&!e.props.__P)return e.__e=null,e.__k.some(function(t){return t&&(e.__e=t.__e)}),$c(e)}function Ec(e){(8&e.__g||(e.__g|=8,Cr.push(e),ui++))&&ds==xe.debounceRendering||((ds=xe.debounceRendering)||queueMicrotask)(Dc)}function Dc(){try{for(var e,t=1;Cr.length;)Cr.length>t&&Cr.sort(Nc),e=Cr.shift(),t=Cr.length,8&e.__g&&ug(e)}finally{(ui=Cr.length)&&(ds||queueMicrotask)(Dc)}}function qc(e,t,r,n,o,s,a,i,c,u,p){var _,d,f,v,g,x,w=n.__k||_i,y=t.length;for(c=pg(r,t,w,c,y),_=0;_<y;_++)(f=r.__k[_])!=null&&(d=~f.__i&&w[f.__i]||pi,f.__i=_,x=gs(e,f,d,o,s,a,i,c,u,p),v=f.__e,(d.ref!=f.ref||8&d.__u)&&(d.ref&&vs(d.ref,null,f,d),f.ref&&p.push(f.ref,f.__c||v,f)),g=g||v,4&f.__u?(c=Bc(f,c,e,!d.__v),d.__e&&(d.__e=null)):typeof f.type=="function"&&x!==void 0?c=x:v&&(c=v.nextSibling),f.__u&=-21);return r.__e=g,c}function pg(e,t,r,n,o){var s,a,i,c,u,p,_,d,f,v=r.length,g=v,x=0,w=0,y=e.__k=Array(o);for(s=0;s<o;s++)(a=t[s])!=null&&typeof a!="boolean"&&typeof a!="function"?(typeof a!="object"||a.constructor===String?a=y[s]=Zn(null,a):fi(a)?a=y[s]=Zn(he,{children:a}):a.constructor===eo&&a.__b?a=y[s]=Zn(a.type,a.props,a.key,a.ref,a.__v):y[s]=a,c=s+x,a.__=e,a.__b=e.__b+1,i=null,~(u=a.__i=_g(a,r,c,g))&&(g--,(i=r[u])&&(i.__u|=2)),i&&i.__v?(a.__u|=16,u==c-1?x--:u==c+1?x++:u!=c&&(u>c?x--:x++,w=1)):(~u||(o>v?x--:o<v&&x++),typeof a.type!="function"&&(a.__u|=4))):y[s]=null;if(w){for(p=[],_=[],s=0;s<o;s++)if((a=y[s])&&16&a.__u){for(x=0,d=p.length;x<d;)p[f=x+d>>1]<a.__i?x=f+1:d=f;p[x]=a.__i,_[s]=x+1}for(x=p.length;s--;)_[s]&&(_[s]==x?x--:y[s].__u|=4)}if(g)for(s=0;s<v;s++)!(i=r[s])||2&i.__u||(i.__e==n&&(n=Tr(i)),hs(i,i));return n}function Bc(e,t,r,n){var o,s,a,i;if(typeof e.type=="function"){if(e.props.__P)return t;if(o=e.__k)for(s=0;s<o.length;s++)o[s]&&(o[s].__=e,t=Bc(o[s],t,r,!1));return t}for(t&&!t.parentNode&&(t=Tr(e))&&!t.parentNode&&(t=null),a=e.__e,i=t;i&&i.nodeType==8;)i=i.nextSibling;for(a!=i&&(!n&&r.moveBefore&&a.parentNode?r.moveBefore(a,t):r.insertBefore(a,t||null)),t=a;(t=t&&t.nextSibling)&&t.nodeType==8&&!t.data.startsWith("$s"););return t}function ms(e,t){return t=t||[],e!=null&&typeof e!="boolean"&&(fi(e)?e.some(function(r){ms(r,t)}):t.push(e)),t}function _g(e,t,r,n){var o,s=e.key,a=e.type,i=t[r],c=i&&!(2&i.__u);if(i===null&&s==null||c&&s==i.key&&a==i.type)return r;if(n>(c?1:0)){for(o=r-1;o>=0;o--)if((i=t[o])&&!(2&i.__u)&&s==i.key&&a==i.type)return o;for(o=r+1;o<t.length;o++)if((i=t[o])&&!(2&i.__u)&&s==i.key&&a==i.type)return o}return-1}function Mc(e,t,r){r==null&&(r=""),t[0]=="-"?e.setProperty(t,r):e[t]=r}function li(e,t,r,n,o){var s,a;if(t=="style")if(typeof r=="string")e.style.cssText=r;else{if(typeof n=="string"&&(e.style.cssText=n=""),n)for(t in n)r&&t in r||Mc(e.style,t);if(r)for(t in r)n&&r[t]==n[t]||Mc(e.style,t,r[t])}else if(t[0]=="o"&&t[1]=="n")typeof r!="function"&&(r=null),typeof n!="function"&&(n=null),(e.__e||(e.__e={}))[t]=r,r&&n||(a=us[t]||(us[t]=fg(t)),(e.__a||(e.__a={}))[t]=_s,s=t!=(t=t.replace(Oc,"$1")),(t=t.slice(2))[0]<"a"&&(t=t.toLowerCase()),r?e.addEventListener(t,a,s):e.removeEventListener(t,a,s));else{if(o=="http://www.w3.org/2000/svg")t=t.replace(/xlink(H|:h)/,"h").replace(/sName$/,"s");else if(t!="width"&&t!="height"&&t!="href"&&t!="list"&&t!="form"&&t!="tabIndex"&&t!="download"&&t!="rowSpan"&&t!="colSpan"&&t!="role"&&t!="popover"&&t in e)try{return void(e[t]=r??"")}catch{}if(typeof r=="function")return;r==null||r===!1&&t[4]!="-"?e.removeAttribute(t):e.setAttribute(t,t=="popover"&&r==1?"":r)}}function fg(e){return function(t){var r=this.__e;if(r){if(r=r[e],t[ci]==null)t[ci]=_s++;else if(t[ci]<this.__a[e])return;return r(xe.event?xe.event(t):t)}}}function gs(e,t,r,n,o,s,a,i,c,u){var p,_,d,f,v,g,x,w,y,S,b,k,h,m,P,R,I,A,C=t.type;if(t.constructor!==eo)return null;128&r.__u&&(c=32&r.__u,p=r.__c.__z)&&(t.__u|=c,_=s=[],p.nodeType==8?i=di(p,s):s.push(p),i=s[0]||i),(p=xe.__b)&&p(t);e:if(typeof C=="function"){d=a.length;try{if(w=t.props,y=(p=C.prototype)&&p.render,S=(p=C.contextType)&&n[p.__c],b=p?S?S.props.value:p.__:n,(f=r.__c)?(t.__c=f,2&f.__g&&(f.__g|=1)):(y?t.__c=f=new C(w,b):(t.__c=f=new Xt(w,b),f.constructor=C,f.render=gg),S&&S.sub(f),f.state||(f.state={}),f.__n=n,f.__g|=8,f.__h=[],f.__k=[]),y&&(f.__s||(f.__s=f.state),C.getDerivedStateFromProps&&(f.__s==f.state&&(f.__s=Gr({},f.__s)),Gr(f.__s,C.getDerivedStateFromProps(w,f.__s)))),v=f.props,g=f.state,f.__v=t,r.__c){if(w!==v&&y&&!C.getDerivedStateFromProps&&f.componentWillReceiveProps&&f.componentWillReceiveProps(w,b),t.__v==r.__v&&!(8&f.__g)||!(4&f.__g)&&f.shouldComponentUpdate&&f.shouldComponentUpdate(w,f.__s,b)===!1){t.__v!=r.__v&&(f.props=w,f.state=f.__s,f.__g&=-9),t.__e=r.__e,t.__k=r.__k,t.__k.some(function(M){M&&(M.__=t)}),_i.push.apply(f.__h,f.__k),f.__k=[],f.__h.length&&a.push(f),i=Tr(r);break e}f.componentWillUpdate&&f.componentWillUpdate(w,f.__s,b),y&&f.componentDidUpdate&&f.__h.push(function(){f.componentDidUpdate(v,g,x)})}else y&&!C.getDerivedStateFromProps&&f.componentWillMount&&f.componentWillMount(),y&&f.componentDidMount&&f.__h.push(f.componentDidMount);f.context=b,f.props=w,f.__P=e,f.__g&=-5,k=xe.__r,h=y?25:0;do f.__g&=-9,k&&k(t),p=f.render(f.props,f.state=f.__s,f.context);while(8&f.__g&&++h<25);y&&(_i.push.apply(f.__h,f.__k),f.__k=[]),f.state=f.__s,f.getChildContext&&(n=Gr({},n,f.getChildContext())),y&&r.__c&&f.getSnapshotBeforeUpdate&&(x=f.getSnapshotBeforeUpdate(v,g)),m=p&&p.type===he&&p.key==null?p.props.children:p,w.__P&&(p=i,o=(e=w.__P).namespaceURI,c=s=null,r.props&&r.props.__P!=e&&(r.__k.some(function(M){M&&hs(M,M)}),r.__k=null),i=r.__k?Tr(r,0):null),i=qc(e,fi(m)?m:[m],t,r,n,o,s,a,i,c,u),w.__P&&(t.__e=null,i=p),t.__u&=-161,_&&_.some(Wr),f.__h.length&&a.push(f),1&f.__g&&(f.__g&=-4)}catch(M){if(a.length=d,t.__v=null,c||s)if(M&&M.then){if(t.__u|=128|c,s){for(~(I=s.indexOf(i||void 0))||(I=s.length);(A=s[I-1])&&A.nodeType==8;)I--;for(;I<s.length;I++)if(A=s[I])if(s[I]=null,P){if(A==R)break}else{if(A.nodeType!=8)break;A.data.startsWith("$s")&&(R=di(P=A))}}if(!P){for(;i&&i.nodeType==8&&i.nextSibling;)i=i.nextSibling;P=i}(p=di(P=t.__c.__z||(t.__c.__z=P)))?(t.__e=P,i=p):t.__e=i,i=i&&i.nextSibling}else s&&s.some(Wr);else t.__e=r.__e;t.__k||(t.__k=r.__k||[]),M&&M.then||Uc(t),xe.__e(M,t,r)}}else i=t.__e=mg(r.__e,t,r,n,o,s,a,c,u,e);return(p=xe.diffed)&&p(t),i}function di(e,t){if(e&&e.nodeType==8&&e.data.startsWith("$s"))for(var r=1;e=e.nextSibling;){if(e.nodeType==8){if(e.data.startsWith("$s"))r++;else if(e.data.startsWith("/$s")&&!--r)return e}t&&t.push(e)}}function Uc(e){e&&(e.__c&&(e.__c.__g|=4),e.__k&&e.__k.some(Uc))}function zc(e,t,r){for(var n=0;n<r.length;)vs(r[n++],r[n++],r[n++]);xe.__c&&xe.__c(t,e),e.some(function(o){try{e=o.__h,o.__h=[],e.some(function(s){s.call(o)})}catch(s){xe.__e(s,o.__v)}})}function mg(e,t,r,n,o,s,a,i,c,u){var p,_,d,f,v,g,x,w,y=r.props||pi,S=t.props,b=t.type;if(b=="svg"?o="http://www.w3.org/2000/svg":b=="math"?o="http://www.w3.org/1998/Math/MathML":o||(o="http://www.w3.org/1999/xhtml"),s){for(p=0;p<s.length;p++)if((v=s[p])&&(b?v.localName==b:v.nodeType==3)){e=v,s[p]=null;break}}if(!e){if(w=u.ownerDocument||document,!b)return w.createTextNode(S);e=w.createElementNS(o,b,S.is?S:u),i&&(xe.__m&&xe.__m(t,s),i=!1),s=null}if(b){if(u=b=="template"&&e.content||e,s=b=="textarea"&&S.defaultValue!=null?null:s&&fs.call(u.childNodes),!i&&s)for(y={},p=0;p<e.attributes.length;p++)y[(v=e.attributes[p]).name]=v.value;for(p in y)v=y[p],p=="dangerouslySetInnerHTML"?d=v:p=="children"||p in S||p=="value"&&"defaultValue"in S||p=="checked"&&"defaultChecked"in S||li(e,p,null,v,o);for(p in S)v=S[p],p=="children"?f=v:p=="dangerouslySetInnerHTML"?_=v:p=="value"?g=v:p=="checked"?x=v:i&&typeof v!="function"||y[p]===v||li(e,p,v,y[p],o);_?(i||d&&(_.__html==d.__html||_.__html==e.innerHTML)||(e.innerHTML=_.__html),t.__k=[]):(d&&(e.textContent=""),(b=="foreignObject"||o=="http://www.w3.org/1998/Math/MathML"&&dg.test(b))&&(o="http://www.w3.org/1999/xhtml"),qc(u,fi(f)?f:[f],t,r,n,o,s,a,s?s[0]:r.__k&&Tr(r,0),i,c),s&&s.some(Wr)),i&&b!="textarea"||(p="value",b=="progress"&&g==null?e.removeAttribute(p):g==null||g===e[p]&&(b!="progress"||g)||li(e,p,g,y[p],o),p="checked",x!=null&&x!=e[p]&&li(e,p,x,y[p],o))}else y===S||i&&e.data==S||(e.data=S);return e}function vs(e,t,r,n){try{typeof e=="function"?t?t.__x=e(t)||1:n&&(n=n.__c||n.__e)&&(t=n.__x)&&(n.__x=null,typeof t=="function"?t():e(null)):e.current=t}catch(o){xe.__e(o,r)}}function hs(e,t,r){var n,o,s,a;if(xe.unmount&&xe.unmount(e),!(n=e.ref)||n.current&&n.current!=e.__e||vs(n,null,t,e),n=e.__c){if(n.componentWillUnmount)try{n.componentWillUnmount()}catch(i){xe.__e(i,t)}n.__P=n.__n=null}if(n=e.__k)for(a=0;a<n.length;a++)n[a]&&hs(n[a],t,typeof e.type!="function"||r&&!e.props.__P);!r&&(n=e.__c)&&(n=n.__z)&&(o=di(n,s=[]))&&(n==e.__e&&s.some(Wr),Wr(o),Wr(n)),r||Wr(e.__e),e.__e=e.__c=e.__=null}function gg(e,t,r){return this.constructor(e,r)}function Rr(e,t){var r,n,o,s;xe.__&&xe.__(e,t),t.nodeType==9&&(t=t.documentElement),n=(r=e&&32&e.__u)?null:t.__k,t.__k=Zn(he,{children:[e]}),o=[],s=[],gs(t,t.__k,n||pi,pi,t.namespaceURI,n?null:t.firstChild?fs.call(t.childNodes):null,o,n?n.__e:t.firstChild,r,s),zc(o,t.__k,s),t.__k.props.children=null}xe={__e:function(e,t,r,n){for(var o,s,a;t=t.__;)if((o=t.__c)&&!(1&o.__g)){o.__g|=4;try{if((a=(s=o.constructor)&&s.getDerivedStateFromError)&&o.setState(s.getDerivedStateFromError(e)),o.componentDidCatch&&(o.componentDidCatch(e,n||{}),a=1),a&&8&o.__g)return void(o.__g|=2)}catch(i){e=i}}throw ui=0,e}},Lc=0,ps=function(e){return e!=null&&e.constructor===eo},Xt.prototype.setState=function(e,t){var r=this.__s;r&&r!=this.state||(r=this.__s=Gr({},this.state)),typeof e=="function"&&(e=e(Gr({},r),this.props)),e&&(Gr(r,e),this.__v&&(t&&this.__k.push(t),Ec(this)))},Xt.prototype.forceUpdate=function(e){this.__v&&(this.__g|=4,e&&this.__h.push(e),Ec(this))},Xt.prototype.render=he,Cr=[],ui=0,Nc=function(e,t){return e.__v.__b-t.__v.__b},ci=Symbol(),Oc=/(PointerCapture)$|Capture$/i,_s=0,us={},cg=0;var vg=["en","fr","es","ar","he","zh"];function Fc(e){let t=e?.split("-")[0]?.toLowerCase();return vg.find(r=>r===t)??"en"}function bs(e){return typeof e=="object"&&e!==null&&!Array.isArray(e)}function ys(e){return bs(e)?e.id??e.key:void 0}function Ps(e,t){return bs(e)&&bs(t)?Object.fromEntries([...new Set([...Object.keys(e),...Object.keys(t)])].map(r=>[r,Ps(e[r],t[r])])):Array.isArray(e)&&Array.isArray(t)&&t.length>0&&t.every(r=>ys(r)!==void 0)?e.map(r=>Ps(r,t.find(n=>ys(n)===ys(r)))):t==null||typeof t=="string"&&!t.trim()?e:t}function Kr(e,t){let r=t?.toLowerCase(),n=r?.split("-")[0],o=e.translations??[],s=o.find(c=>c.locale.toLowerCase()===r)??o.find(c=>c.locale.toLowerCase().split("-")[0]===n);if(!s)return e;let{locale:a,...i}=s;return Ps(e,i)}var mi={attach:"Attach files",file:"File",attachmentMimeRejected:"{name} isn't a file type this chat accepts.",attachmentTooLarge:"{name} is too large. Files can be up to {max} together.",poweredBy:"Powered by {name}",attachmentTooMany:"The attachment limit is {count}.",attachmentUploadFailed:"{name} couldn't be uploaded.",conversationLoading:"Loading chat\u2026",loadPreviousMessages:"Load previous messages",close:"Close",collapse:"Collapse",collapseSidebar:"Collapse sidebar",composerPlaceholder:"Type a message\u2026",dateLastWeek:"Last 7 days",dateOlder:"Older",dateToday:"Today",dateYesterday:"Yesterday",dropZone:"Drop files to attach",dropZoneRejected:"These files can't be attached here",errorGeneric:"Something went wrong",errorRateLimited:"Too many requests \u2014 please try again in a moment.",errorRateLimitedIn:"Too many requests \u2014 please try again in {seconds} s.",errorOffline:"Can't reach the server. Check your connection and try again.",errorServer:"Something went wrong on our side. Please try again.",errorOriginNotAllowed:"This chat isn't set up for this website yet.",errorMessageTooLong:"That message is too long. Shorten it and send it again.",errorReconnecting:"Connection lost. Reconnecting\u2026",errorRetry:"Retry",expand:"Expand",expandSidebar:"Expand sidebar",exitFullscreen:"Exit fullscreen",fullscreen:"Fullscreen",history:"History",historyBack:"Back to chat",historyEmpty:"No previous chats yet",historyLoading:"Loading your chats\u2026",historyContinue:"Continue the chat",historyTitle:"Chat history",loadMoreConversations:"Load more conversations",language:"Language",launcherOpen:"Open chat",launcherAsk:"Ask {name}",micBlocked:"The microphone is blocked for this site, so voice input can't start.",micStart:"Start voice input",micStop:"Stop voice input",moreActions:"More actions",newConversation:"New chat",panelTitle:"Chat",popOut:"Open in new tab",resizeHandle:"Drag to resize",scrollToBottom:"Scroll to latest",send:"Send",queueMessage:"Queue message",removeQueuedMessage:"Remove queued message",removeAttachment:"Remove {name}",suggestedReplies:"Suggested replies",compactingContext:"Optimizing conversation context\u2026",soundOff:"Sound off",soundOn:"Sound on",talkToOperator:"Talk to a person",connectingOperator:"Connecting you to a person\u2026",noOperatorAvailable:"No one's available right now \u2014 leave your details and we'll follow up.",chattingWithOperator:"You're chatting with {operator}",operatorBadgeTitle:"Live chat",chatNotice:"You're chatting with an AI assistant.",cancelOperatorRequest:"Keep chatting with the AI",loginPrompt:"Log in for faster, more personalized support",loginAction:"Log in",loginRequired:"Log in to chat with us",loginExpired:"Your login expired. Log in to continue this chat.",loginExpiredGuest:"Your login expired. Log in to continue this chat, or start a new conversation as a guest.",startAsGuest:"Start new conversation",loggedInAs:"Logged in as {name}",loggedIn:"Logged in",dismissLoginPrompt:"Hide",emailTranscript:"Email transcript",emailTranscriptPrompt:"Get a copy of this conversation by email.",emailTranscriptEmailLabel:"Email address",emailTranscriptSend:"Send transcript",emailTranscriptSending:"Sending\u2026",emailTranscriptSent:"Sent to {email}.",emailTranscriptAlreadySent:"This conversation was already emailed. Send a new message to email it again.",emailTranscriptLimited:"You've reached the limit for now. Try again later.",emailTranscriptFailed:"Couldn't send it. Try again.",emailTranscriptNotDelivered:"Couldn't send to this address. Check it and try again.",emailTranscriptCancel:"Cancel",emailTranscriptDone:"Done",stop:"Stop",theme:"Theme",themeAuto:"Auto",themeDark:"Dark",themeLight:"Light",textSize:"Text size",textSizeSmall:"Small",textSizeNormal:"Normal",textSizeLarge:"Large",loading:"Loading\u2026",visualPreparing:"Preparing visual\u2026",visualError:"This visual could not be displayed.",visualPartial:"Some parts of this visual could not be displayed.",visualSoldOut:"Sold out",visualCartEmpty:"Your cart is empty.",visualQuantity:"Qty",visualChoose:"Choose",thinking:"Thinking\u2026",thought:"Thought",thoughtFor:"Thought for {time}",toolResult:"Result",sources:"Sources",feedbackUp:"Good response",feedbackDown:"Bad response",feedbackThanks:"Thanks for your feedback",copy:"Copy",copied:"Copied",copyTicketReference:"Ticket {reference}, copy",tabHome:"Home",tabConversations:"Chats",tabHelp:"Help",tabNews:"News",modulesEmpty:"Nothing here yet",chatUnavailable:"This chat isn't available right now",moduleBack:"Back",contentLoading:"Loading\u2026",contentHelpful:"Was this helpful?",homeGreeting:"How can we help?",homeGreetingNamed:"Hi {name} \u{1F44B}",homeGreetingLead:"How can we help?",homeSearchPlaceholder:"Search for help",homeAskPlaceholder:"Ask a question\u2026",homeWhatsNew:"What's new",homeContentTitle:"Popular articles",homeStatus:"Status",helpTitle:"Help",helpSearchPlaceholder:"Search for help",helpEmpty:"No help articles yet",helpLoading:"Loading help\u2026",helpSearchEmpty:"No results for \u201C{query}\u201D",helpShowMore:"Show more",newsTitle:"News",newsEmpty:"No news yet",newsLoading:"Loading news\u2026",newsShowMore:"Show more",newsUnseen:"New post",unread:"Unread",formRequired:"This field is required",formInvalidEmail:"Enter a valid email address",formInvalidTel:"Enter a valid phone number",formInvalidNumber:"Enter a valid number",formOtherPlaceholder:"Type your answer\u2026",inputRequired:"Questions for you",askFallbackQuestion:"Please provide the missing information.",inputBadge:"Questions",inputAnswered:"Answered",inputSkipped:"Skipped",showOptions:"Show options",hideOptions:"Hide options",qtypeText:"Your answer",qtypeEmail:"Email address",qtypePhone:"Phone number",qtypeNumber:"Number",qtypeDate:"Date",qtypeChooseOne:"Pick one",qtypeChooseAny:"Pick any",qtypeBoolean:"Yes / No",inputSubmit:"Submit answers",inputSubmitHint:"Enter to send \xB7 Shift+Enter = new line",inputSkip:"Skip",confirmYes:"Yes",confirmNo:"No",approve:"Approve",decline:"Decline",changeAnswer:"Change answer",approvalPrompt:"{action}?",approvalEditHint:"You can change your answer until this step continues.",stepInput:"Input",stepWorking:"Working",stepWorkingOnIt:"Working on it\u2026",stepNeedsYourApproval:"Needs your approval",stepWaitingForVisitor:"Waiting for the visitor",stepApproved:"Approved",stepDeclined:"Declined",stepReplaced:"Replaced",stepFailed:"Failed",stepDidNotWork:"Didn't work",decidedYouApproved:"You approved",decidedYouDeclined:"You declined",decidedVisitorApproved:"Approved by the visitor",decidedVisitorDeclined:"Declined by the visitor",decidedTeamApproved:"Approved by a team member",decidedTeamDeclined:"Declined by a team member",decidedMemberApproved:"Approved by {name}",decidedMemberDeclined:"Declined by {name}",stepRawData:"Raw data",decidedRulesApproved:"Approved automatically",decidedRulesDeclined:"Declined automatically",edit:"Edit",statusError:"Error",toolStepsFailed:"{count} failed",statusStopped:"Stopped",toolStepsStopped:"Stopped after {count} steps",toolStepsStoppedOne:"Stopped after 1 step"},hg={attach:"Joindre des fichiers",file:"Fichier",attachmentMimeRejected:"{name} n'est pas un type de fichier accept\xE9 ici.",attachmentTooLarge:"{name} est trop volumineux. Les fichiers peuvent faire jusqu'\xE0 {max} au total.",poweredBy:"Propuls\xE9 par {name}",attachmentTooMany:"Limite de pi\xE8ces jointes : {count}.",attachmentUploadFailed:"{name} n'a pas pu \xEAtre envoy\xE9.",conversationLoading:"Chargement du chat\u2026",loadPreviousMessages:"Charger les messages pr\xE9c\xE9dents",close:"Fermer",collapse:"R\xE9duire",collapseSidebar:"R\xE9duire la barre lat\xE9rale",composerPlaceholder:"\xC9crivez un message\u2026",dateLastWeek:"7 derniers jours",dateOlder:"Plus ancien",dateToday:"Aujourd'hui",dateYesterday:"Hier",dropZone:"D\xE9posez les fichiers \xE0 joindre",dropZoneRejected:"Ces fichiers ne peuvent pas \xEAtre joints ici",errorGeneric:"Une erreur s'est produite",errorRateLimited:"Trop de requ\xEAtes \u2014 veuillez r\xE9essayer dans un instant.",errorRateLimitedIn:"Trop de requ\xEAtes \u2014 veuillez r\xE9essayer dans {seconds} s.",errorOffline:"Impossible de joindre le serveur. V\xE9rifiez votre connexion et r\xE9essayez.",errorServer:"Un probl\xE8me est survenu de notre c\xF4t\xE9. Veuillez r\xE9essayer.",errorOriginNotAllowed:"Ce chat n'est pas encore configur\xE9 pour ce site.",errorMessageTooLong:"Ce message est trop long. Raccourcissez-le et renvoyez-le.",errorReconnecting:"Connexion perdue. Reconnexion\u2026",errorRetry:"R\xE9essayer",expand:"Agrandir",expandSidebar:"D\xE9velopper la barre lat\xE9rale",exitFullscreen:"Quitter le plein \xE9cran",fullscreen:"Plein \xE9cran",history:"Historique",historyBack:"Retour au chat",historyEmpty:"Aucun chat pour le moment",historyContinue:"Poursuivre le chat",historyLoading:"Chargement de vos chats\u2026",historyTitle:"Historique des chats",loadMoreConversations:"Charger plus de conversations",language:"Langue",launcherOpen:"Ouvrir le chat",launcherAsk:"Demander \xE0 {name}",micBlocked:"Le micro est bloqu\xE9 pour ce site : la saisie vocale ne peut pas d\xE9marrer.",micStart:"D\xE9marrer la saisie vocale",micStop:"Arr\xEAter la saisie vocale",moreActions:"Plus d'actions",newConversation:"Nouveau chat",panelTitle:"Chat",popOut:"Ouvrir dans un nouvel onglet",resizeHandle:"Glisser pour redimensionner",scrollToBottom:"Aller au plus r\xE9cent",send:"Envoyer",queueMessage:"Mettre le message en attente",removeQueuedMessage:"Retirer le message en attente",removeAttachment:"Retirer {name}",suggestedReplies:"R\xE9ponses sugg\xE9r\xE9es",compactingContext:"Optimisation du contexte de la conversation\u2026",soundOff:"Son d\xE9sactiv\xE9",soundOn:"Son activ\xE9",talkToOperator:"Parler \xE0 une personne",connectingOperator:"Mise en relation avec une personne\u2026",noOperatorAvailable:"Personne n'est disponible pour le moment \u2014 laissez vos coordonn\xE9es et nous reviendrons vers vous.",chattingWithOperator:"Vous discutez avec {operator}",operatorBadgeTitle:"Chat en direct",chatNotice:"Vous discutez avec un assistant IA.",cancelOperatorRequest:"Continuer avec l'IA",loginPrompt:"Connectez-vous pour une aide plus rapide et personnalis\xE9e",loginAction:"Se connecter",loginRequired:"Connectez-vous pour discuter avec nous",loginExpired:"Votre connexion a expir\xE9. Connectez-vous pour poursuivre cette conversation.",loginExpiredGuest:"Votre connexion a expir\xE9. Connectez-vous pour poursuivre cette conversation, ou d\xE9marrez-en une nouvelle en tant qu'invit\xE9.",startAsGuest:"D\xE9marrer une nouvelle conversation",loggedInAs:"Connect\xE9 en tant que {name}",loggedIn:"Connect\xE9",dismissLoginPrompt:"Masquer",emailTranscript:"Envoyer la transcription",emailTranscriptPrompt:"Recevez une copie de cette conversation par e-mail.",emailTranscriptEmailLabel:"Adresse e-mail",emailTranscriptSend:"Envoyer la transcription",emailTranscriptSending:"Envoi\u2026",emailTranscriptSent:"Envoy\xE9 \xE0 {email}.",emailTranscriptAlreadySent:"Cette conversation a d\xE9j\xE0 \xE9t\xE9 envoy\xE9e. Envoyez un nouveau message pour l'envoyer \xE0 nouveau.",emailTranscriptLimited:"Vous avez atteint la limite pour le moment. R\xE9essayez plus tard.",emailTranscriptFailed:"Envoi impossible. R\xE9essayez.",emailTranscriptNotDelivered:"Envoi impossible \xE0 cette adresse. V\xE9rifiez-la et r\xE9essayez.",emailTranscriptCancel:"Annuler",emailTranscriptDone:"Termin\xE9",stop:"Arr\xEAter",theme:"Th\xE8me",themeAuto:"Auto",themeDark:"Sombre",themeLight:"Clair",textSize:"Taille du texte",textSizeSmall:"Petite",textSizeNormal:"Normale",textSizeLarge:"Grande",loading:"Chargement\u2026",visualPreparing:"Pr\xE9paration du visuel\u2026",visualError:"Ce visuel n\u2019a pas pu \xEAtre affich\xE9.",visualPartial:"Certaines parties de ce visuel n\u2019ont pas pu \xEAtre affich\xE9es.",visualSoldOut:"\xC9puis\xE9",visualCartEmpty:"Votre panier est vide.",visualQuantity:"Qt\xE9",visualChoose:"Choisissez",thinking:"R\xE9flexion\u2026",thought:"R\xE9flexion",thoughtFor:"R\xE9flexion : {time}",toolResult:"R\xE9sultat",sources:"Sources",feedbackUp:"Bonne r\xE9ponse",feedbackDown:"Mauvaise r\xE9ponse",feedbackThanks:"Merci pour votre retour",copy:"Copier",copied:"Copi\xE9",copyTicketReference:"Ticket {reference}, copier",tabHome:"Accueil",tabConversations:"Chats",tabHelp:"Aide",tabNews:"Actualit\xE9s",modulesEmpty:"Rien pour le moment",chatUnavailable:"Ce chat n'est pas disponible pour le moment",moduleBack:"Retour",contentLoading:"Chargement\u2026",contentHelpful:"Cela vous a-t-il aid\xE9 ?",homeGreeting:"Comment pouvons-nous vous aider ?",homeGreetingNamed:"Bonjour {name} \u{1F44B}",homeGreetingLead:"Comment pouvons-nous vous aider ?",homeSearchPlaceholder:"Rechercher de l'aide",homeAskPlaceholder:"Posez une question\u2026",homeWhatsNew:"Nouveaut\xE9s",homeContentTitle:"Articles populaires",homeStatus:"Statut",helpTitle:"Aide",helpSearchPlaceholder:"Rechercher de l'aide",helpEmpty:"Aucun article d'aide pour le moment",helpLoading:"Chargement de l'aide\u2026",helpSearchEmpty:"Aucun r\xE9sultat pour \xAB\xA0{query}\xA0\xBB",helpShowMore:"Afficher plus",newsTitle:"Actualit\xE9s",newsEmpty:"Aucune actualit\xE9 pour le moment",newsLoading:"Chargement des actualit\xE9s\u2026",newsShowMore:"Afficher plus",newsUnseen:"Nouvelle publication",unread:"Non lu",formRequired:"Ce champ est obligatoire",formInvalidEmail:"Saisissez une adresse e-mail valide",formInvalidTel:"Saisissez un num\xE9ro de t\xE9l\xE9phone valide",formInvalidNumber:"Saisissez un nombre valide",formOtherPlaceholder:"Saisissez votre r\xE9ponse\u2026",inputRequired:"Questions pour vous",askFallbackQuestion:"Veuillez fournir les informations manquantes.",inputBadge:"Questions",inputAnswered:"R\xE9pondu",inputSkipped:"Ignor\xE9",showOptions:"Afficher les options",hideOptions:"Masquer les options",qtypeText:"Votre r\xE9ponse",qtypeEmail:"Adresse e-mail",qtypePhone:"Num\xE9ro de t\xE9l\xE9phone",qtypeNumber:"Nombre",qtypeDate:"Date",qtypeChooseOne:"Choisir une",qtypeChooseAny:"Choisir plusieurs",qtypeBoolean:"Oui / Non",inputSubmit:"Envoyer les r\xE9ponses",inputSubmitHint:"Entr\xE9e pour envoyer \xB7 Maj+Entr\xE9e = saut de ligne",inputSkip:"Ignorer",confirmYes:"Oui",confirmNo:"Non",approve:"Approuver",decline:"Refuser",changeAnswer:"Modifier la r\xE9ponse",approvalPrompt:"{action} ?",approvalEditHint:"Vous pouvez modifier votre r\xE9ponse jusqu'\xE0 la reprise de cette \xE9tape.",stepInput:"Entr\xE9e",stepWorking:"En cours",stepWorkingOnIt:"En cours\u2026",stepNeedsYourApproval:"Votre accord est requis",stepWaitingForVisitor:"En attente du visiteur",stepApproved:"Approuv\xE9",stepDeclined:"Refus\xE9",stepReplaced:"Remplac\xE9",stepFailed:"\xC9chec",stepDidNotWork:"N'a pas fonctionn\xE9",decidedYouApproved:"Vous avez approuv\xE9",decidedYouDeclined:"Vous avez refus\xE9",decidedVisitorApproved:"Approuv\xE9 par le visiteur",decidedVisitorDeclined:"Refus\xE9 par le visiteur",decidedTeamApproved:"Approuv\xE9 par un membre de l'\xE9quipe",decidedTeamDeclined:"Refus\xE9 par un membre de l'\xE9quipe",decidedMemberApproved:"Approuv\xE9 par {name}",decidedMemberDeclined:"Refus\xE9 par {name}",stepRawData:"Donn\xE9es brutes",decidedRulesApproved:"Approuv\xE9 automatiquement",decidedRulesDeclined:"Refus\xE9 automatiquement",edit:"Modifier",statusError:"Erreur",toolStepsFailed:"{count} en \xE9chec",statusStopped:"Arr\xEAt\xE9",toolStepsStopped:"Arr\xEAt\xE9 apr\xE8s {count} \xE9tapes",toolStepsStoppedOne:"Arr\xEAt\xE9 apr\xE8s 1 \xE9tape"},yg={attach:"\u0625\u0631\u0641\u0627\u0642 \u0645\u0644\u0641\u0627\u062A",file:"\u0645\u0644\u0641",attachmentMimeRejected:"\u0646\u0648\u0639 \u0627\u0644\u0645\u0644\u0641 {name} \u063A\u064A\u0631 \u0645\u0642\u0628\u0648\u0644 \u0641\u064A \u0647\u0630\u0647 \u0627\u0644\u0645\u062D\u0627\u062F\u062B\u0629.",attachmentTooLarge:"\u0627\u0644\u0645\u0644\u0641 {name} \u0643\u0628\u064A\u0631 \u062C\u062F\u064B\u0627. \u064A\u0645\u0643\u0646 \u0623\u0646 \u064A\u0635\u0644 \u062D\u062C\u0645 \u0627\u0644\u0645\u0644\u0641\u0627\u062A \u0645\u0639\u064B\u0627 \u0625\u0644\u0649 {max}.",poweredBy:"\u0645\u062F\u0639\u0648\u0645 \u0645\u0646 {name}",attachmentTooMany:"\u0627\u0644\u062D\u062F \u0627\u0644\u0623\u0642\u0635\u0649 \u0644\u0644\u0645\u0631\u0641\u0642\u0627\u062A: {count}.",attachmentUploadFailed:"\u062A\u0639\u0630\u0651\u0631 \u0631\u0641\u0639 {name}.",conversationLoading:"\u062C\u0627\u0631\u064D \u062A\u062D\u0645\u064A\u0644 \u0627\u0644\u062F\u0631\u062F\u0634\u0629\u2026",loadPreviousMessages:"\u062A\u062D\u0645\u064A\u0644 \u0627\u0644\u0631\u0633\u0627\u0626\u0644 \u0627\u0644\u0633\u0627\u0628\u0642\u0629",close:"\u0625\u063A\u0644\u0627\u0642",collapse:"\u0637\u064A\u0651",collapseSidebar:"\u0637\u064A\u0651 \u0627\u0644\u0634\u0631\u064A\u0637 \u0627\u0644\u062C\u0627\u0646\u0628\u064A",composerPlaceholder:"\u0627\u0643\u062A\u0628 \u0631\u0633\u0627\u0644\u0629\u2026",dateLastWeek:"\u0622\u062E\u0631 \u0667 \u0623\u064A\u0627\u0645",dateOlder:"\u0623\u0642\u062F\u0645",dateToday:"\u0627\u0644\u064A\u0648\u0645",dateYesterday:"\u0623\u0645\u0633",dropZone:"\u0623\u0641\u0644\u062A \u0627\u0644\u0645\u0644\u0641\u0627\u062A \u0644\u0625\u0631\u0641\u0627\u0642\u0647\u0627",dropZoneRejected:"\u0644\u0627 \u064A\u0645\u0643\u0646 \u0625\u0631\u0641\u0627\u0642 \u0647\u0630\u0647 \u0627\u0644\u0645\u0644\u0641\u0627\u062A \u0647\u0646\u0627",errorGeneric:"\u062D\u062F\u062B \u062E\u0637\u0623 \u0645\u0627",errorRateLimited:"\u0637\u0644\u0628\u0627\u062A \u0643\u062B\u064A\u0631\u0629 \u062C\u062F\u064B\u0627 \u2014 \u064A\u0631\u062C\u0649 \u0627\u0644\u0645\u062D\u0627\u0648\u0644\u0629 \u0628\u0639\u062F \u0644\u062D\u0638\u0629.",errorRateLimitedIn:"\u0637\u0644\u0628\u0627\u062A \u0643\u062B\u064A\u0631\u0629 \u062C\u062F\u064B\u0627 \u2014 \u064A\u0631\u062C\u0649 \u0627\u0644\u0645\u062D\u0627\u0648\u0644\u0629 \u0628\u0639\u062F {seconds} \u062B.",errorOffline:"\u062A\u0639\u0630\u0651\u0631 \u0627\u0644\u0648\u0635\u0648\u0644 \u0625\u0644\u0649 \u0627\u0644\u062E\u0627\u062F\u0645. \u062A\u062D\u0642\u0651\u0642 \u0645\u0646 \u0627\u062A\u0635\u0627\u0644\u0643 \u0648\u062D\u0627\u0648\u0644 \u0645\u0631\u0629 \u0623\u062E\u0631\u0649.",errorServer:"\u062D\u062F\u062B \u062E\u0637\u0623 \u0645\u0646 \u062C\u0647\u062A\u0646\u0627. \u064A\u0631\u062C\u0649 \u0627\u0644\u0645\u062D\u0627\u0648\u0644\u0629 \u0645\u0631\u0629 \u0623\u062E\u0631\u0649.",errorOriginNotAllowed:"\u0647\u0630\u0647 \u0627\u0644\u0645\u062D\u0627\u062F\u062B\u0629 \u063A\u064A\u0631 \u0645\u064F\u0639\u062F\u0651\u0629 \u0644\u0647\u0630\u0627 \u0627\u0644\u0645\u0648\u0642\u0639 \u0628\u0639\u062F.",errorMessageTooLong:"\u0647\u0630\u0647 \u0627\u0644\u0631\u0633\u0627\u0644\u0629 \u0637\u0648\u064A\u0644\u0629 \u062C\u062F\u064B\u0627. \u0627\u062E\u062A\u0635\u0631\u0647\u0627 \u0648\u0623\u0631\u0633\u0644\u0647\u0627 \u0645\u0631\u0629 \u0623\u062E\u0631\u0649.",errorReconnecting:"\u0627\u0646\u0642\u0637\u0639 \u0627\u0644\u0627\u062A\u0635\u0627\u0644. \u062C\u0627\u0631\u064D \u0625\u0639\u0627\u062F\u0629 \u0627\u0644\u0627\u062A\u0635\u0627\u0644\u2026",errorRetry:"\u0625\u0639\u0627\u062F\u0629 \u0627\u0644\u0645\u062D\u0627\u0648\u0644\u0629",expand:"\u062A\u0648\u0633\u064A\u0639",expandSidebar:"\u062A\u0648\u0633\u064A\u0639 \u0627\u0644\u0634\u0631\u064A\u0637 \u0627\u0644\u062C\u0627\u0646\u0628\u064A",exitFullscreen:"\u0625\u0646\u0647\u0627\u0621 \u0645\u0644\u0621 \u0627\u0644\u0634\u0627\u0634\u0629",fullscreen:"\u0645\u0644\u0621 \u0627\u0644\u0634\u0627\u0634\u0629",history:"\u0627\u0644\u0633\u062C\u0644",historyBack:"\u0627\u0644\u0639\u0648\u062F\u0629 \u0625\u0644\u0649 \u0627\u0644\u062F\u0631\u062F\u0634\u0629",historyEmpty:"\u0644\u0627 \u062A\u0648\u062C\u062F \u062F\u0631\u062F\u0634\u0627\u062A \u0633\u0627\u0628\u0642\u0629 \u0628\u0639\u062F",historyContinue:"\u0645\u062A\u0627\u0628\u0639\u0629 \u0627\u0644\u062F\u0631\u062F\u0634\u0629",historyLoading:"\u062C\u0627\u0631\u064D \u062A\u062D\u0645\u064A\u0644 \u062F\u0631\u062F\u0634\u0627\u062A\u0643\u2026",historyTitle:"\u0633\u062C\u0644 \u0627\u0644\u062F\u0631\u062F\u0634\u0627\u062A",loadMoreConversations:"\u062A\u062D\u0645\u064A\u0644 \u0627\u0644\u0645\u0632\u064A\u062F \u0645\u0646 \u0627\u0644\u0645\u062D\u0627\u062F\u062B\u0627\u062A",language:"\u0627\u0644\u0644\u063A\u0629",launcherOpen:"\u0641\u062A\u062D \u0627\u0644\u062F\u0631\u062F\u0634\u0629",launcherAsk:"\u0627\u0633\u0623\u0644 {name}",micBlocked:"\u0627\u0644\u0645\u064A\u0643\u0631\u0648\u0641\u0648\u0646 \u0645\u062D\u0638\u0648\u0631 \u0644\u0647\u0630\u0627 \u0627\u0644\u0645\u0648\u0642\u0639\u060C \u0644\u0630\u0627 \u0644\u0627 \u064A\u0645\u0643\u0646 \u0628\u062F\u0621 \u0627\u0644\u0625\u062F\u062E\u0627\u0644 \u0627\u0644\u0635\u0648\u062A\u064A.",micStart:"\u0628\u062F\u0621 \u0627\u0644\u0625\u062F\u062E\u0627\u0644 \u0627\u0644\u0635\u0648\u062A\u064A",micStop:"\u0625\u064A\u0642\u0627\u0641 \u0627\u0644\u0625\u062F\u062E\u0627\u0644 \u0627\u0644\u0635\u0648\u062A\u064A",moreActions:"\u0625\u062C\u0631\u0627\u0621\u0627\u062A \u0625\u0636\u0627\u0641\u064A\u0629",newConversation:"\u062F\u0631\u062F\u0634\u0629 \u062C\u062F\u064A\u062F\u0629",panelTitle:"\u0627\u0644\u062F\u0631\u062F\u0634\u0629",popOut:"\u0641\u062A\u062D \u0641\u064A \u0639\u0644\u0627\u0645\u0629 \u062A\u0628\u0648\u064A\u0628 \u062C\u062F\u064A\u062F\u0629",resizeHandle:"\u0627\u0633\u062D\u0628 \u0644\u062A\u063A\u064A\u064A\u0631 \u0627\u0644\u062D\u062C\u0645",scrollToBottom:"\u0627\u0644\u0627\u0646\u062A\u0642\u0627\u0644 \u0625\u0644\u0649 \u0627\u0644\u0623\u062D\u062F\u062B",send:"\u0625\u0631\u0633\u0627\u0644",queueMessage:"\u0625\u0636\u0627\u0641\u0629 \u0627\u0644\u0631\u0633\u0627\u0644\u0629 \u0625\u0644\u0649 \u0642\u0627\u0626\u0645\u0629 \u0627\u0644\u0627\u0646\u062A\u0638\u0627\u0631",removeQueuedMessage:"\u0625\u0632\u0627\u0644\u0629 \u0627\u0644\u0631\u0633\u0627\u0644\u0629 \u0645\u0646 \u0642\u0627\u0626\u0645\u0629 \u0627\u0644\u0627\u0646\u062A\u0638\u0627\u0631",removeAttachment:"\u0625\u0632\u0627\u0644\u0629 {name}",suggestedReplies:"\u0631\u062F\u0648\u062F \u0645\u0642\u062A\u0631\u062D\u0629",compactingContext:"\u062C\u0627\u0631\u064D \u062A\u062D\u0633\u064A\u0646 \u0633\u064A\u0627\u0642 \u0627\u0644\u0645\u062D\u0627\u062F\u062B\u0629\u2026",soundOff:"\u0643\u062A\u0645 \u0627\u0644\u0635\u0648\u062A",soundOn:"\u062A\u0634\u063A\u064A\u0644 \u0627\u0644\u0635\u0648\u062A",talkToOperator:"\u0627\u0644\u062A\u062D\u062F\u062B \u0625\u0644\u0649 \u0634\u062E\u0635",connectingOperator:"\u062C\u0627\u0631\u064D \u062A\u0648\u0635\u064A\u0644\u0643 \u0628\u0634\u062E\u0635\u2026",noOperatorAvailable:"\u0644\u0627 \u064A\u0648\u062C\u062F \u0645\u0648\u0638\u0641\u0648\u0646 \u0645\u062A\u0627\u062D\u0648\u0646 \u0627\u0644\u0622\u0646 \u2014 \u0627\u062A\u0631\u0643 \u0628\u064A\u0627\u0646\u0627\u062A\u0643 \u0648\u0633\u0646\u062A\u0648\u0627\u0635\u0644 \u0645\u0639\u0643.",chattingWithOperator:"\u0623\u0646\u062A \u062A\u062A\u062D\u062F\u062B \u0645\u0639 {operator}",operatorBadgeTitle:"\u0645\u062D\u0627\u062F\u062B\u0629 \u0645\u0628\u0627\u0634\u0631\u0629",chatNotice:"\u0623\u0646\u062A \u062A\u062A\u062D\u062F\u062B \u0645\u0639 \u0645\u0633\u0627\u0639\u062F \u0630\u0643\u0627\u0621 \u0627\u0635\u0637\u0646\u0627\u0639\u064A.",cancelOperatorRequest:"\u0645\u062A\u0627\u0628\u0639\u0629 \u0627\u0644\u0645\u062D\u0627\u062F\u062B\u0629 \u0645\u0639 \u0627\u0644\u0630\u0643\u0627\u0621 \u0627\u0644\u0627\u0635\u0637\u0646\u0627\u0639\u064A",loginPrompt:"\u0633\u062C\u0651\u0644 \u0627\u0644\u062F\u062E\u0648\u0644 \u0644\u0644\u062D\u0635\u0648\u0644 \u0639\u0644\u0649 \u062F\u0639\u0645 \u0623\u0633\u0631\u0639 \u0648\u0645\u062E\u0635\u0651\u0635 \u0644\u0643",loginAction:"\u062A\u0633\u062C\u064A\u0644 \u0627\u0644\u062F\u062E\u0648\u0644",loginRequired:"\u0633\u062C\u0651\u0644 \u0627\u0644\u062F\u062E\u0648\u0644 \u0644\u0644\u062F\u0631\u062F\u0634\u0629 \u0645\u0639\u0646\u0627",loginExpired:"\u0627\u0646\u062A\u0647\u062A \u0635\u0644\u0627\u062D\u064A\u0629 \u062A\u0633\u062C\u064A\u0644 \u062F\u062E\u0648\u0644\u0643. \u0633\u062C\u0651\u0644 \u0627\u0644\u062F\u062E\u0648\u0644 \u0644\u0645\u062A\u0627\u0628\u0639\u0629 \u0647\u0630\u0647 \u0627\u0644\u0645\u062D\u0627\u062F\u062B\u0629.",loginExpiredGuest:"\u0627\u0646\u062A\u0647\u062A \u0635\u0644\u0627\u062D\u064A\u0629 \u062A\u0633\u062C\u064A\u0644 \u062F\u062E\u0648\u0644\u0643. \u0633\u062C\u0651\u0644 \u0627\u0644\u062F\u062E\u0648\u0644 \u0644\u0645\u062A\u0627\u0628\u0639\u0629 \u0647\u0630\u0647 \u0627\u0644\u0645\u062D\u0627\u062F\u062B\u0629\u060C \u0623\u0648 \u0627\u0628\u062F\u0623 \u0645\u062D\u0627\u062F\u062B\u0629 \u062C\u062F\u064A\u062F\u0629 \u0643\u0636\u064A\u0641.",startAsGuest:"\u0628\u062F\u0621 \u0645\u062D\u0627\u062F\u062B\u0629 \u062C\u062F\u064A\u062F\u0629",loggedInAs:"\u062A\u0645 \u062A\u0633\u062C\u064A\u0644 \u0627\u0644\u062F\u062E\u0648\u0644 \u0628\u0627\u0633\u0645 {name}",loggedIn:"\u062A\u0645 \u062A\u0633\u062C\u064A\u0644 \u0627\u0644\u062F\u062E\u0648\u0644",dismissLoginPrompt:"\u0625\u062E\u0641\u0627\u0621",emailTranscript:"\u0625\u0631\u0633\u0627\u0644 \u0646\u0635 \u0627\u0644\u0645\u062D\u0627\u062F\u062B\u0629",emailTranscriptPrompt:"\u0627\u062D\u0635\u0644 \u0639\u0644\u0649 \u0646\u0633\u062E\u0629 \u0645\u0646 \u0647\u0630\u0647 \u0627\u0644\u0645\u062D\u0627\u062F\u062B\u0629 \u0639\u0628\u0631 \u0627\u0644\u0628\u0631\u064A\u062F \u0627\u0644\u0625\u0644\u0643\u062A\u0631\u0648\u0646\u064A.",emailTranscriptEmailLabel:"\u0639\u0646\u0648\u0627\u0646 \u0627\u0644\u0628\u0631\u064A\u062F \u0627\u0644\u0625\u0644\u0643\u062A\u0631\u0648\u0646\u064A",emailTranscriptSend:"\u0625\u0631\u0633\u0627\u0644 \u0646\u0635 \u0627\u0644\u0645\u062D\u0627\u062F\u062B\u0629",emailTranscriptSending:"\u062C\u0627\u0631\u064D \u0627\u0644\u0625\u0631\u0633\u0627\u0644\u2026",emailTranscriptSent:"\u062A\u0645 \u0627\u0644\u0625\u0631\u0633\u0627\u0644 \u0625\u0644\u0649 {email}.",emailTranscriptAlreadySent:"\u062A\u0645 \u0625\u0631\u0633\u0627\u0644 \u0647\u0630\u0647 \u0627\u0644\u0645\u062D\u0627\u062F\u062B\u0629 \u0628\u0627\u0644\u0641\u0639\u0644. \u0623\u0631\u0633\u0644 \u0631\u0633\u0627\u0644\u0629 \u062C\u062F\u064A\u062F\u0629 \u0644\u0625\u0631\u0633\u0627\u0644\u0647\u0627 \u0645\u0631\u0629 \u0623\u062E\u0631\u0649.",emailTranscriptLimited:"\u0644\u0642\u062F \u0628\u0644\u063A\u062A \u0627\u0644\u062D\u062F \u0627\u0644\u0645\u0633\u0645\u0648\u062D \u0628\u0647 \u062D\u0627\u0644\u064A\u064B\u0627. \u062D\u0627\u0648\u0644 \u0645\u0631\u0629 \u0623\u062E\u0631\u0649 \u0644\u0627\u062D\u0642\u064B\u0627.",emailTranscriptFailed:"\u062A\u0639\u0630\u0651\u0631 \u0627\u0644\u0625\u0631\u0633\u0627\u0644. \u062D\u0627\u0648\u0644 \u0645\u0631\u0629 \u0623\u062E\u0631\u0649.",emailTranscriptNotDelivered:"\u062A\u0639\u0630\u0651\u0631 \u0627\u0644\u0625\u0631\u0633\u0627\u0644 \u0625\u0644\u0649 \u0647\u0630\u0627 \u0627\u0644\u0639\u0646\u0648\u0627\u0646. \u062A\u062D\u0642\u0651\u0642 \u0645\u0646\u0647 \u0648\u062D\u0627\u0648\u0644 \u0645\u0631\u0629 \u0623\u062E\u0631\u0649.",emailTranscriptCancel:"\u0625\u0644\u063A\u0627\u0621",emailTranscriptDone:"\u062A\u0645",stop:"\u0625\u064A\u0642\u0627\u0641",theme:"\u0627\u0644\u0645\u0638\u0647\u0631",themeAuto:"\u062A\u0644\u0642\u0627\u0626\u064A",themeDark:"\u062F\u0627\u0643\u0646",themeLight:"\u0641\u0627\u062A\u062D",textSize:"\u062D\u062C\u0645 \u0627\u0644\u0646\u0635",textSizeSmall:"\u0635\u063A\u064A\u0631",textSizeNormal:"\u0639\u0627\u062F\u064A",textSizeLarge:"\u0643\u0628\u064A\u0631",loading:"\u062C\u0627\u0631\u064D \u0627\u0644\u062A\u062D\u0645\u064A\u0644\u2026",visualPreparing:"\u062C\u0627\u0631\u064D \u0625\u0639\u062F\u0627\u062F \u0627\u0644\u0645\u062D\u062A\u0648\u0649 \u0627\u0644\u0645\u0631\u0626\u064A\u2026",visualError:"\u062A\u0639\u0630\u0631 \u0639\u0631\u0636 \u0647\u0630\u0627 \u0627\u0644\u0645\u062D\u062A\u0648\u0649 \u0627\u0644\u0645\u0631\u0626\u064A.",visualPartial:"\u062A\u0639\u0630\u0631 \u0639\u0631\u0636 \u0628\u0639\u0636 \u0623\u062C\u0632\u0627\u0621 \u0647\u0630\u0627 \u0627\u0644\u0645\u062D\u062A\u0648\u0649 \u0627\u0644\u0645\u0631\u0626\u064A.",visualSoldOut:"\u0646\u0641\u062F\u062A \u0627\u0644\u0643\u0645\u064A\u0629",visualCartEmpty:"\u0633\u0644\u062A\u0643 \u0641\u0627\u0631\u063A\u0629.",visualQuantity:"\u0627\u0644\u0643\u0645\u064A\u0629",visualChoose:"\u0627\u062E\u062A\u0631",thinking:"\u064A\u0641\u0643\u0651\u0631\u2026",thought:"\u062A\u0641\u0643\u064A\u0631",thoughtFor:"\u0641\u0643\u0651\u0631 \u0644\u0645\u062F\u0629 {time}",toolResult:"\u0627\u0644\u0646\u062A\u064A\u062C\u0629",sources:"\u0627\u0644\u0645\u0635\u0627\u062F\u0631",feedbackUp:"\u0631\u062F \u062C\u064A\u062F",feedbackDown:"\u0631\u062F \u0633\u064A\u0626",feedbackThanks:"\u0634\u0643\u0631\u064B\u0627 \u0639\u0644\u0649 \u0645\u0644\u0627\u062D\u0638\u0627\u062A\u0643",copy:"\u0646\u0633\u062E",copied:"\u062A\u0645 \u0627\u0644\u0646\u0633\u062E",copyTicketReference:"\u0627\u0644\u062A\u0630\u0643\u0631\u0629 {reference}\u060C \u0646\u0633\u062E",tabHome:"\u0627\u0644\u0631\u0626\u064A\u0633\u064A\u0629",tabConversations:"\u0627\u0644\u062F\u0631\u062F\u0634\u0627\u062A",tabHelp:"\u0627\u0644\u0645\u0633\u0627\u0639\u062F\u0629",tabNews:"\u0627\u0644\u0623\u062E\u0628\u0627\u0631",modulesEmpty:"\u0644\u0627 \u0634\u064A\u0621 \u0647\u0646\u0627 \u0628\u0639\u062F",chatUnavailable:"\u0647\u0630\u0647 \u0627\u0644\u0645\u062D\u0627\u062F\u062B\u0629 \u063A\u064A\u0631 \u0645\u062A\u0627\u062D\u0629 \u062D\u0627\u0644\u064A\u0627\u064B",moduleBack:"\u0631\u062C\u0648\u0639",contentLoading:"\u062C\u0627\u0631\u064D \u0627\u0644\u062A\u062D\u0645\u064A\u0644\u2026",contentHelpful:"\u0647\u0644 \u0643\u0627\u0646 \u0647\u0630\u0627 \u0645\u0641\u064A\u062F\u064B\u0627\u061F",homeGreeting:"\u0643\u064A\u0641 \u064A\u0645\u0643\u0646\u0646\u0627 \u0645\u0633\u0627\u0639\u062F\u062A\u0643\u061F",homeGreetingNamed:"\u0645\u0631\u062D\u0628\u064B\u0627 {name} \u{1F44B}",homeGreetingLead:"\u0643\u064A\u0641 \u064A\u0645\u0643\u0646\u0646\u0627 \u0645\u0633\u0627\u0639\u062F\u062A\u0643\u061F",homeSearchPlaceholder:"\u0627\u0628\u062D\u062B \u0639\u0646 \u0645\u0633\u0627\u0639\u062F\u0629",homeAskPlaceholder:"\u0627\u0637\u0631\u062D \u0633\u0624\u0627\u0644\u0627\u064B\u2026",homeWhatsNew:"\u0645\u0627 \u0627\u0644\u062C\u062F\u064A\u062F",homeContentTitle:"\u0645\u0642\u0627\u0644\u0627\u062A \u0634\u0627\u0626\u0639\u0629",homeStatus:"\u0627\u0644\u062D\u0627\u0644\u0629",helpTitle:"\u0627\u0644\u0645\u0633\u0627\u0639\u062F\u0629",helpSearchPlaceholder:"\u0627\u0628\u062D\u062B \u0639\u0646 \u0645\u0633\u0627\u0639\u062F\u0629",helpEmpty:"\u0644\u0627 \u062A\u0648\u062C\u062F \u0645\u0642\u0627\u0644\u0627\u062A \u0645\u0633\u0627\u0639\u062F\u0629 \u0628\u0639\u062F",helpLoading:"\u062C\u0627\u0631\u064D \u062A\u062D\u0645\u064A\u0644 \u0627\u0644\u0645\u0633\u0627\u0639\u062F\u0629\u2026",helpSearchEmpty:"\u0644\u0627 \u0646\u062A\u0627\u0626\u062C \u0644\u0640 \xAB{query}\xBB",helpShowMore:"\u0639\u0631\u0636 \u0627\u0644\u0645\u0632\u064A\u062F",newsTitle:"\u0627\u0644\u0623\u062E\u0628\u0627\u0631",newsEmpty:"\u0644\u0627 \u062A\u0648\u062C\u062F \u0623\u062E\u0628\u0627\u0631 \u0628\u0639\u062F",newsLoading:"\u062C\u0627\u0631\u064D \u062A\u062D\u0645\u064A\u0644 \u0627\u0644\u0623\u062E\u0628\u0627\u0631\u2026",newsShowMore:"\u0639\u0631\u0636 \u0627\u0644\u0645\u0632\u064A\u062F",newsUnseen:"\u0645\u0646\u0634\u0648\u0631 \u062C\u062F\u064A\u062F",unread:"\u063A\u064A\u0631 \u0645\u0642\u0631\u0648\u0621",formRequired:"\u0647\u0630\u0627 \u0627\u0644\u062D\u0642\u0644 \u0645\u0637\u0644\u0648\u0628",formInvalidEmail:"\u0623\u062F\u062E\u0644 \u0628\u0631\u064A\u062F\u064B\u0627 \u0625\u0644\u0643\u062A\u0631\u0648\u0646\u064A\u064B\u0627 \u0635\u062D\u064A\u062D\u064B\u0627",formInvalidTel:"\u0623\u062F\u062E\u0644 \u0631\u0642\u0645 \u0647\u0627\u062A\u0641 \u0635\u062D\u064A\u062D\u064B\u0627",formInvalidNumber:"\u0623\u062F\u062E\u0644 \u0631\u0642\u0645\u064B\u0627 \u0635\u062D\u064A\u062D\u064B\u0627",formOtherPlaceholder:"\u0627\u0643\u062A\u0628 \u0625\u062C\u0627\u0628\u062A\u0643\u2026",inputRequired:"\u0623\u0633\u0626\u0644\u0629 \u0644\u0643",askFallbackQuestion:"\u064A\u0631\u062C\u0649 \u062A\u0642\u062F\u064A\u0645 \u0627\u0644\u0645\u0639\u0644\u0648\u0645\u0627\u062A \u0627\u0644\u0646\u0627\u0642\u0635\u0629.",inputBadge:"\u0623\u0633\u0626\u0644\u0629",inputAnswered:"\u062A\u0645\u062A \u0627\u0644\u0625\u062C\u0627\u0628\u0629",inputSkipped:"\u062A\u0645 \u0627\u0644\u062A\u062E\u0637\u064A",showOptions:"\u0625\u0638\u0647\u0627\u0631 \u0627\u0644\u062E\u064A\u0627\u0631\u0627\u062A",hideOptions:"\u0625\u062E\u0641\u0627\u0621 \u0627\u0644\u062E\u064A\u0627\u0631\u0627\u062A",qtypeText:"\u0625\u062C\u0627\u0628\u062A\u0643",qtypeEmail:"\u0639\u0646\u0648\u0627\u0646 \u0627\u0644\u0628\u0631\u064A\u062F \u0627\u0644\u0625\u0644\u0643\u062A\u0631\u0648\u0646\u064A",qtypePhone:"\u0631\u0642\u0645 \u0627\u0644\u0647\u0627\u062A\u0641",qtypeNumber:"\u0631\u0642\u0645",qtypeDate:"\u062A\u0627\u0631\u064A\u062E",qtypeChooseOne:"\u0627\u062E\u062A\u0631 \u0648\u0627\u062D\u062F\u064B\u0627",qtypeChooseAny:"\u0627\u062E\u062A\u0631 \u0623\u064A\u064B\u0627",qtypeBoolean:"\u0646\u0639\u0645 / \u0644\u0627",inputSubmit:"\u0625\u0631\u0633\u0627\u0644 \u0627\u0644\u0625\u062C\u0627\u0628\u0627\u062A",inputSubmitHint:"Enter \u0644\u0644\u0625\u0631\u0633\u0627\u0644 \xB7 Shift+Enter = \u0633\u0637\u0631 \u062C\u062F\u064A\u062F",inputSkip:"\u062A\u062E\u0637\u064D\u0651",confirmYes:"\u0646\u0639\u0645",confirmNo:"\u0644\u0627",approve:"\u0645\u0648\u0627\u0641\u0642\u0629",decline:"\u0631\u0641\u0636",changeAnswer:"\u062A\u063A\u064A\u064A\u0631 \u0627\u0644\u0625\u062C\u0627\u0628\u0629",approvalPrompt:"{action}\u061F",approvalEditHint:"\u064A\u0645\u0643\u0646\u0643 \u062A\u063A\u064A\u064A\u0631 \u0625\u062C\u0627\u0628\u062A\u0643 \u062D\u062A\u0649 \u062A\u0633\u062A\u0623\u0646\u0641 \u0647\u0630\u0647 \u0627\u0644\u062E\u0637\u0648\u0629.",stepInput:"\u0627\u0644\u0645\u062F\u062E\u0644\u0627\u062A",stepWorking:"\u0642\u064A\u062F \u0627\u0644\u062A\u0646\u0641\u064A\u0630",stepWorkingOnIt:"\u062C\u0627\u0631\u064D \u0627\u0644\u062A\u0646\u0641\u064A\u0630\u2026",stepNeedsYourApproval:"\u0628\u062D\u0627\u062C\u0629 \u0625\u0644\u0649 \u0645\u0648\u0627\u0641\u0642\u062A\u0643",stepWaitingForVisitor:"\u0628\u0627\u0646\u062A\u0638\u0627\u0631 \u0627\u0644\u0632\u0627\u0626\u0631",stepApproved:"\u062A\u0645\u062A \u0627\u0644\u0645\u0648\u0627\u0641\u0642\u0629",stepDeclined:"\u0645\u0631\u0641\u0648\u0636",stepReplaced:"\u062A\u0645 \u0627\u0644\u0627\u0633\u062A\u0628\u062F\u0627\u0644",stepFailed:"\u0641\u0634\u0644",stepDidNotWork:"\u0644\u0645 \u064A\u0646\u062C\u062D",decidedYouApproved:"\u0648\u0627\u0641\u0642\u062A",decidedYouDeclined:"\u0631\u0641\u0636\u062A",decidedVisitorApproved:"\u0648\u0627\u0641\u0642 \u0627\u0644\u0632\u0627\u0626\u0631",decidedVisitorDeclined:"\u0631\u0641\u0636 \u0627\u0644\u0632\u0627\u0626\u0631",decidedTeamApproved:"\u0648\u0627\u0641\u0642 \u0639\u0636\u0648 \u0641\u064A \u0627\u0644\u0641\u0631\u064A\u0642",decidedTeamDeclined:"\u0631\u0641\u0636 \u0639\u0636\u0648 \u0641\u064A \u0627\u0644\u0641\u0631\u064A\u0642",decidedMemberApproved:"\u0648\u0627\u0641\u0642 {name}",decidedMemberDeclined:"\u0631\u0641\u0636 {name}",stepRawData:"\u0627\u0644\u0628\u064A\u0627\u0646\u0627\u062A \u0627\u0644\u0623\u0648\u0644\u064A\u0629",decidedRulesApproved:"\u062A\u0645\u062A \u0627\u0644\u0645\u0648\u0627\u0641\u0642\u0629 \u062A\u0644\u0642\u0627\u0626\u064A\u064B\u0627",decidedRulesDeclined:"\u0631\u064F\u0641\u0636 \u062A\u0644\u0642\u0627\u0626\u064A\u064B\u0627",edit:"\u062A\u0639\u062F\u064A\u0644",statusError:"\u062E\u0637\u0623",toolStepsFailed:"\u0641\u0634\u0644 {count}",statusStopped:"\u0623\u064F\u0648\u0642\u0641",toolStepsStopped:"\u0623\u064F\u0648\u0642\u0641 \u0628\u0639\u062F {count} \u062E\u0637\u0648\u0627\u062A",toolStepsStoppedOne:"\u0623\u064F\u0648\u0642\u0641 \u0628\u0639\u062F \u062E\u0637\u0648\u0629 \u0648\u0627\u062D\u062F\u0629"},bg={attach:"Adjuntar archivos",file:"Archivo",attachmentMimeRejected:"{name} no es un tipo de archivo que acepte este chat.",attachmentTooLarge:"{name} es demasiado grande. Los archivos pueden ocupar hasta {max} en total.",poweredBy:"Con la tecnolog\xEDa de {name}",attachmentTooMany:"L\xEDmite de adjuntos: {count}.",attachmentUploadFailed:"No se pudo subir {name}.",conversationLoading:"Cargando chat\u2026",loadPreviousMessages:"Cargar mensajes anteriores",close:"Cerrar",collapse:"Contraer",collapseSidebar:"Contraer la barra lateral",composerPlaceholder:"Escribe un mensaje\u2026",dateLastWeek:"\xDAltimos 7 d\xEDas",dateOlder:"Anteriores",dateToday:"Hoy",dateYesterday:"Ayer",dropZone:"Suelta los archivos para adjuntarlos",dropZoneRejected:"Estos archivos no se pueden adjuntar aqu\xED",errorGeneric:"Algo sali\xF3 mal",errorRateLimited:"Demasiadas solicitudes: int\xE9ntalo de nuevo en un momento.",errorRateLimitedIn:"Demasiadas solicitudes: int\xE9ntalo de nuevo en {seconds} s.",errorOffline:"No se puede conectar con el servidor. Revisa tu conexi\xF3n e int\xE9ntalo de nuevo.",errorServer:"Algo sali\xF3 mal por nuestra parte. Int\xE9ntalo de nuevo.",errorOriginNotAllowed:"Este chat a\xFAn no est\xE1 configurado para este sitio web.",errorMessageTooLong:"Ese mensaje es demasiado largo. Ac\xF3rtalo y env\xEDalo de nuevo.",errorReconnecting:"Se perdi\xF3 la conexi\xF3n. Reconectando\u2026",errorRetry:"Reintentar",expand:"Ampliar",expandSidebar:"Expandir la barra lateral",exitFullscreen:"Salir de pantalla completa",fullscreen:"Pantalla completa",history:"Historial",historyBack:"Volver al chat",historyEmpty:"A\xFAn no tienes chats",historyContinue:"Continuar el chat",historyLoading:"Cargando tus chats\u2026",historyTitle:"Historial de chats",loadMoreConversations:"Cargar m\xE1s conversaciones",language:"Idioma",launcherOpen:"Abrir el chat",launcherAsk:"Preg\xFAntale a {name}",micBlocked:"El micr\xF3fono est\xE1 bloqueado para este sitio, as\xED que la entrada de voz no puede iniciarse.",micStart:"Iniciar entrada de voz",micStop:"Detener entrada de voz",moreActions:"M\xE1s acciones",newConversation:"Nuevo chat",panelTitle:"Chat",popOut:"Abrir en una pesta\xF1a nueva",resizeHandle:"Arrastra para cambiar el tama\xF1o",scrollToBottom:"Ir a lo m\xE1s reciente",send:"Enviar",queueMessage:"Poner mensaje en cola",removeQueuedMessage:"Quitar mensaje de la cola",removeAttachment:"Quitar {name}",suggestedReplies:"Respuestas sugeridas",compactingContext:"Optimizando el contexto de la conversaci\xF3n\u2026",soundOff:"Sonido desactivado",soundOn:"Sonido activado",talkToOperator:"Hablar con una persona",connectingOperator:"Conect\xE1ndote con una persona\u2026",noOperatorAvailable:"Nadie est\xE1 disponible ahora \u2014 deja tus datos y te contactaremos.",chattingWithOperator:"Est\xE1s chateando con {operator}",operatorBadgeTitle:"Chat en vivo",chatNotice:"Est\xE1s chateando con un asistente de IA.",cancelOperatorRequest:"Seguir con la IA",loginPrompt:"Inicia sesi\xF3n para recibir una ayuda m\xE1s r\xE1pida y personalizada",loginAction:"Iniciar sesi\xF3n",loginRequired:"Inicia sesi\xF3n para chatear con nosotros",loginExpired:"Tu sesi\xF3n ha caducado. Inicia sesi\xF3n para continuar esta conversaci\xF3n.",loginExpiredGuest:"Tu sesi\xF3n ha caducado. Inicia sesi\xF3n para continuar esta conversaci\xF3n o empieza una nueva como invitado.",startAsGuest:"Empezar una nueva conversaci\xF3n",loggedInAs:"Sesi\xF3n iniciada como {name}",loggedIn:"Sesi\xF3n iniciada",dismissLoginPrompt:"Ocultar",emailTranscript:"Enviar transcripci\xF3n",emailTranscriptPrompt:"Recibe una copia de esta conversaci\xF3n por correo.",emailTranscriptEmailLabel:"Correo electr\xF3nico",emailTranscriptSend:"Enviar transcripci\xF3n",emailTranscriptSending:"Enviando\u2026",emailTranscriptSent:"Enviado a {email}.",emailTranscriptAlreadySent:"Esta conversaci\xF3n ya se envi\xF3. Env\xEDa un mensaje nuevo para enviarla otra vez.",emailTranscriptLimited:"Has alcanzado el l\xEDmite por ahora. Int\xE9ntalo m\xE1s tarde.",emailTranscriptFailed:"No se pudo enviar. Int\xE9ntalo de nuevo.",emailTranscriptNotDelivered:"No se pudo enviar a esta direcci\xF3n. Rev\xEDsala e int\xE9ntalo de nuevo.",emailTranscriptCancel:"Cancelar",emailTranscriptDone:"Listo",stop:"Detener",theme:"Tema",themeAuto:"Autom\xE1tico",themeDark:"Oscuro",themeLight:"Claro",textSize:"Tama\xF1o del texto",textSizeSmall:"Peque\xF1o",textSizeNormal:"Normal",textSizeLarge:"Grande",loading:"Cargando\u2026",visualPreparing:"Preparando visualizaci\xF3n\u2026",visualError:"No se pudo mostrar esta visualizaci\xF3n.",visualPartial:"No se pudieron mostrar algunas partes de esta visualizaci\xF3n.",visualSoldOut:"Agotado",visualCartEmpty:"Tu carrito est\xE1 vac\xEDo.",visualQuantity:"Cant.",visualChoose:"Elige",thinking:"Pensando\u2026",thought:"Razonamiento",thoughtFor:"Razon\xF3 durante {time}",toolResult:"Resultado",sources:"Fuentes",feedbackUp:"Buena respuesta",feedbackDown:"Mala respuesta",feedbackThanks:"Gracias por tu opini\xF3n",copy:"Copiar",copied:"Copiado",copyTicketReference:"Ticket {reference}, copiar",tabHome:"Inicio",tabConversations:"Chats",tabHelp:"Ayuda",tabNews:"Novedades",modulesEmpty:"A\xFAn no hay nada aqu\xED",chatUnavailable:"Este chat no est\xE1 disponible en este momento",moduleBack:"Atr\xE1s",contentLoading:"Cargando\u2026",contentHelpful:"\xBFTe result\xF3 \xFAtil?",homeGreeting:"\xBFC\xF3mo podemos ayudarte?",homeGreetingNamed:"Hola, {name} \u{1F44B}",homeGreetingLead:"\xBFC\xF3mo podemos ayudarte?",homeSearchPlaceholder:"Buscar ayuda",homeAskPlaceholder:"Haz una pregunta\u2026",homeWhatsNew:"Lo nuevo",homeContentTitle:"Art\xEDculos populares",homeStatus:"Estado",helpTitle:"Ayuda",helpSearchPlaceholder:"Buscar ayuda",helpEmpty:"A\xFAn no hay art\xEDculos de ayuda",helpLoading:"Cargando la ayuda\u2026",helpSearchEmpty:"Sin resultados para \xAB{query}\xBB",helpShowMore:"Mostrar m\xE1s",newsTitle:"Novedades",newsEmpty:"A\xFAn no hay novedades",newsLoading:"Cargando novedades\u2026",newsShowMore:"Mostrar m\xE1s",newsUnseen:"Publicaci\xF3n nueva",unread:"No le\xEDdo",formRequired:"Este campo es obligatorio",formInvalidEmail:"Introduce un correo electr\xF3nico v\xE1lido",formInvalidTel:"Introduce un n\xFAmero de tel\xE9fono v\xE1lido",formInvalidNumber:"Introduce un n\xFAmero v\xE1lido",formOtherPlaceholder:"Escribe tu respuesta\u2026",inputRequired:"Preguntas para ti",askFallbackQuestion:"Indica la informaci\xF3n que falta.",inputBadge:"Preguntas",inputAnswered:"Respondido",inputSkipped:"Omitido",showOptions:"Mostrar opciones",hideOptions:"Ocultar opciones",qtypeText:"Tu respuesta",qtypeEmail:"Correo electr\xF3nico",qtypePhone:"N\xFAmero de tel\xE9fono",qtypeNumber:"N\xFAmero",qtypeDate:"Fecha",qtypeChooseOne:"Elige una",qtypeChooseAny:"Elige varias",qtypeBoolean:"S\xED / No",inputSubmit:"Enviar respuestas",inputSubmitHint:"Enter para enviar \xB7 May\xFAs+Enter = nueva l\xEDnea",inputSkip:"Omitir",confirmYes:"S\xED",confirmNo:"No",approve:"Aprobar",decline:"Rechazar",changeAnswer:"Cambiar respuesta",approvalPrompt:"\xBF{action}?",approvalEditHint:"Puedes cambiar tu respuesta hasta que este paso contin\xFAe.",stepInput:"Entrada",stepWorking:"En curso",stepWorkingOnIt:"En curso\u2026",stepNeedsYourApproval:"Necesita tu aprobaci\xF3n",stepWaitingForVisitor:"Esperando al visitante",stepApproved:"Aprobado",stepDeclined:"Rechazado",stepReplaced:"Reemplazado",stepFailed:"Fall\xF3",stepDidNotWork:"No funcion\xF3",decidedYouApproved:"Lo aprobaste",decidedYouDeclined:"Lo rechazaste",decidedVisitorApproved:"Aprobado por el visitante",decidedVisitorDeclined:"Rechazado por el visitante",decidedTeamApproved:"Aprobado por un miembro del equipo",decidedTeamDeclined:"Rechazado por un miembro del equipo",decidedMemberApproved:"Aprobado por {name}",decidedMemberDeclined:"Rechazado por {name}",stepRawData:"Datos sin procesar",decidedRulesApproved:"Aprobado autom\xE1ticamente",decidedRulesDeclined:"Rechazado autom\xE1ticamente",edit:"Editar",statusError:"Error",toolStepsFailed:"{count} con error",statusStopped:"Detenido",toolStepsStopped:"Detenido tras {count} pasos",toolStepsStoppedOne:"Detenido tras 1 paso"},Pg={attach:"\u05E6\u05D9\u05E8\u05D5\u05E3 \u05E7\u05D1\u05E6\u05D9\u05DD",file:"\u05E7\u05D5\u05D1\u05E5",attachmentMimeRejected:"\u05D4\u05E7\u05D5\u05D1\u05E5 {name} \u05D0\u05D9\u05E0\u05D5 \u05DE\u05E1\u05D5\u05D2 \u05E9\u05D4\u05E6\u05F3\u05D0\u05D8 \u05D4\u05D6\u05D4 \u05DE\u05E7\u05D1\u05DC.",attachmentTooLarge:"\u05D4\u05E7\u05D5\u05D1\u05E5 {name} \u05D2\u05D3\u05D5\u05DC \u05DE\u05D3\u05D9. \u05D4\u05E7\u05D1\u05E6\u05D9\u05DD \u05D9\u05DB\u05D5\u05DC\u05D9\u05DD \u05DC\u05D4\u05D2\u05D9\u05E2 \u05D9\u05D7\u05D3 \u05E2\u05D3 {max}.",poweredBy:"\u05DE\u05D5\u05E4\u05E2\u05DC \u05E2\u05DC \u05D9\u05D3\u05D9 {name}",attachmentTooMany:"\u05DE\u05E1\u05E4\u05E8 \u05D4\u05E7\u05D1\u05E6\u05D9\u05DD \u05D4\u05DE\u05E8\u05D1\u05D9 \u05DC\u05E6\u05D9\u05E8\u05D5\u05E3: {count}.",attachmentUploadFailed:"\u05DC\u05D0 \u05E0\u05D9\u05EA\u05DF \u05D4\u05D9\u05D4 \u05DC\u05D4\u05E2\u05DC\u05D5\u05EA \u05D0\u05EA {name}.",conversationLoading:"\u05D8\u05D5\u05E2\u05DF \u05E6\u05F3\u05D0\u05D8\u2026",loadPreviousMessages:"\u05D8\u05E2\u05D9\u05E0\u05EA \u05D4\u05D5\u05D3\u05E2\u05D5\u05EA \u05E7\u05D5\u05D3\u05DE\u05D5\u05EA",close:"\u05E1\u05D2\u05D9\u05E8\u05D4",collapse:"\u05DB\u05D9\u05D5\u05D5\u05E5",collapseSidebar:"\u05DB\u05D9\u05D5\u05D5\u05E5 \u05E1\u05E8\u05D2\u05DC \u05D4\u05E6\u05D3",composerPlaceholder:"\u05DB\u05EA\u05D5\u05D1 \u05D4\u05D5\u05D3\u05E2\u05D4\u2026",dateLastWeek:"7 \u05D4\u05D9\u05DE\u05D9\u05DD \u05D4\u05D0\u05D7\u05E8\u05D5\u05E0\u05D9\u05DD",dateOlder:"\u05D9\u05E9\u05DF \u05D9\u05D5\u05EA\u05E8",dateToday:"\u05D4\u05D9\u05D5\u05DD",dateYesterday:"\u05D0\u05EA\u05DE\u05D5\u05DC",dropZone:"\u05E9\u05D7\u05E8\u05E8 \u05E7\u05D1\u05E6\u05D9\u05DD \u05DB\u05D3\u05D9 \u05DC\u05E6\u05E8\u05E3",dropZoneRejected:"\u05DC\u05D0 \u05E0\u05D9\u05EA\u05DF \u05DC\u05E6\u05E8\u05E3 \u05DB\u05D0\u05DF \u05D0\u05EA \u05D4\u05E7\u05D1\u05E6\u05D9\u05DD \u05D4\u05D0\u05DC\u05D4",errorGeneric:"\u05DE\u05E9\u05D4\u05D5 \u05D4\u05E9\u05EA\u05D1\u05E9",errorRateLimited:"\u05D9\u05D5\u05EA\u05E8 \u05DE\u05D3\u05D9 \u05D1\u05E7\u05E9\u05D5\u05EA \u2014 \u05E0\u05E1\u05D4 \u05E9\u05D5\u05D1 \u05D1\u05E2\u05D5\u05D3 \u05E8\u05D2\u05E2.",errorRateLimitedIn:"\u05D9\u05D5\u05EA\u05E8 \u05DE\u05D3\u05D9 \u05D1\u05E7\u05E9\u05D5\u05EA \u2014 \u05E0\u05E1\u05D4 \u05E9\u05D5\u05D1 \u05D1\u05E2\u05D5\u05D3 {seconds} \u05E9\u05E0\u05F3.",errorOffline:"\u05D0\u05D9\u05DF \u05D7\u05D9\u05D1\u05D5\u05E8 \u05DC\u05E9\u05E8\u05EA. \u05D1\u05D3\u05D5\u05E7 \u05D0\u05EA \u05D4\u05D7\u05D9\u05D1\u05D5\u05E8 \u05D5\u05E0\u05E1\u05D4 \u05E9\u05D5\u05D1.",errorServer:"\u05DE\u05E9\u05D4\u05D5 \u05D4\u05E9\u05EA\u05D1\u05E9 \u05D0\u05E6\u05DC\u05E0\u05D5. \u05E0\u05E1\u05D4 \u05E9\u05D5\u05D1.",errorOriginNotAllowed:"\u05D4\u05E6'\u05D0\u05D8 \u05D4\u05D6\u05D4 \u05E2\u05D3\u05D9\u05D9\u05DF \u05DC\u05D0 \u05DE\u05D5\u05D2\u05D3\u05E8 \u05DC\u05D0\u05EA\u05E8 \u05D4\u05D6\u05D4.",errorMessageTooLong:"\u05D4\u05D4\u05D5\u05D3\u05E2\u05D4 \u05D4\u05D6\u05D5 \u05D0\u05E8\u05D5\u05DB\u05D4 \u05DE\u05D3\u05D9. \u05E7\u05E6\u05E8\u05D5 \u05D0\u05D5\u05EA\u05D4 \u05D5\u05E9\u05DC\u05D7\u05D5 \u05E9\u05D5\u05D1.",errorReconnecting:"\u05D4\u05D7\u05D9\u05D1\u05D5\u05E8 \u05D0\u05D1\u05D3. \u05DE\u05EA\u05D7\u05D1\u05E8 \u05DE\u05D7\u05D3\u05E9\u2026",errorRetry:"\u05E0\u05E1\u05D4 \u05E9\u05D5\u05D1",expand:"\u05D4\u05E8\u05D7\u05D1\u05D4",expandSidebar:"\u05D4\u05E8\u05D7\u05D1\u05EA \u05E1\u05E8\u05D2\u05DC \u05D4\u05E6\u05D3",exitFullscreen:"\u05D9\u05E6\u05D9\u05D0\u05D4 \u05DE\u05DE\u05E1\u05DA \u05DE\u05DC\u05D0",fullscreen:"\u05DE\u05E1\u05DA \u05DE\u05DC\u05D0",history:"\u05D4\u05D9\u05E1\u05D8\u05D5\u05E8\u05D9\u05D4",historyBack:"\u05D7\u05D6\u05E8\u05D4 \u05DC\u05E6\u05F3\u05D0\u05D8",historyEmpty:"\u05D0\u05D9\u05DF \u05E2\u05D3\u05D9\u05D9\u05DF \u05E6\u05F3\u05D0\u05D8\u05D9\u05DD \u05E7\u05D5\u05D3\u05DE\u05D9\u05DD",historyContinue:"\u05D4\u05DE\u05E9\u05DA \u05E6\u05F3\u05D0\u05D8",historyLoading:"\u05D8\u05D5\u05E2\u05DF \u05D0\u05EA \u05D4\u05E6\u05F3\u05D0\u05D8\u05D9\u05DD \u05E9\u05DC\u05DA\u2026",historyTitle:"\u05D4\u05D9\u05E1\u05D8\u05D5\u05E8\u05D9\u05D9\u05EA \u05E6\u05F3\u05D0\u05D8\u05D9\u05DD",loadMoreConversations:"\u05D8\u05E2\u05D9\u05E0\u05EA \u05E9\u05D9\u05D7\u05D5\u05EA \u05E0\u05D5\u05E1\u05E4\u05D5\u05EA",language:"\u05E9\u05E4\u05D4",launcherOpen:"\u05E4\u05EA\u05D9\u05D7\u05EA \u05E6\u05F3\u05D0\u05D8",launcherAsk:"\u05DC\u05E9\u05D0\u05D5\u05DC \u05D0\u05EA {name}",micBlocked:"\u05D4\u05DE\u05D9\u05E7\u05E8\u05D5\u05E4\u05D5\u05DF \u05D7\u05E1\u05D5\u05DD \u05D1\u05D0\u05EA\u05E8 \u05D4\u05D6\u05D4, \u05D5\u05DC\u05DB\u05DF \u05D0\u05D9 \u05D0\u05E4\u05E9\u05E8 \u05DC\u05D4\u05EA\u05D7\u05D9\u05DC \u05E7\u05DC\u05D8 \u05E7\u05D5\u05DC\u05D9.",micStart:"\u05D4\u05EA\u05D7\u05DC\u05EA \u05E7\u05DC\u05D8 \u05E7\u05D5\u05DC\u05D9",micStop:"\u05E2\u05E6\u05D9\u05E8\u05EA \u05E7\u05DC\u05D8 \u05E7\u05D5\u05DC\u05D9",moreActions:"\u05E4\u05E2\u05D5\u05DC\u05D5\u05EA \u05E0\u05D5\u05E1\u05E4\u05D5\u05EA",newConversation:"\u05E6\u05F3\u05D0\u05D8 \u05D7\u05D3\u05E9",panelTitle:"\u05E6\u05F3\u05D0\u05D8",popOut:"\u05E4\u05EA\u05D9\u05D7\u05D4 \u05D1\u05DB\u05E8\u05D8\u05D9\u05E1\u05D9\u05D9\u05D4 \u05D7\u05D3\u05E9\u05D4",resizeHandle:"\u05D2\u05E8\u05D5\u05E8 \u05DC\u05E9\u05D9\u05E0\u05D5\u05D9 \u05D4\u05D2\u05D5\u05D3\u05DC",scrollToBottom:"\u05DE\u05E2\u05D1\u05E8 \u05DC\u05D7\u05D3\u05E9 \u05D1\u05D9\u05D5\u05EA\u05E8",send:"\u05E9\u05DC\u05D9\u05D7\u05D4",queueMessage:"\u05D4\u05D5\u05E1\u05E4\u05EA \u05D4\u05D4\u05D5\u05D3\u05E2\u05D4 \u05DC\u05EA\u05D5\u05E8",removeQueuedMessage:"\u05D4\u05E1\u05E8\u05EA \u05D4\u05D4\u05D5\u05D3\u05E2\u05D4 \u05DE\u05D4\u05EA\u05D5\u05E8",removeAttachment:"\u05D4\u05E1\u05E8\u05EA {name}",suggestedReplies:"\u05EA\u05E9\u05D5\u05D1\u05D5\u05EA \u05DE\u05D5\u05E6\u05E2\u05D5\u05EA",compactingContext:"\u05DE\u05D1\u05E6\u05E2 \u05D0\u05D5\u05E4\u05D8\u05D9\u05DE\u05D9\u05D6\u05E6\u05D9\u05D4 \u05DC\u05D4\u05E7\u05E9\u05E8 \u05D4\u05E9\u05D9\u05D7\u05D4\u2026",soundOff:"\u05D4\u05E9\u05EA\u05E7\u05EA \u05D4\u05E6\u05DC\u05D9\u05DC",soundOn:"\u05D4\u05E4\u05E2\u05DC\u05EA \u05D4\u05E6\u05DC\u05D9\u05DC",talkToOperator:"\u05D3\u05D1\u05E8\u05D5 \u05E2\u05DD \u05D0\u05D3\u05DD",connectingOperator:"\u05DE\u05D7\u05D1\u05E8\u05D9\u05DD \u05D0\u05D5\u05EA\u05DA \u05DC\u05D0\u05D3\u05DD\u2026",noOperatorAvailable:"\u05D0\u05D9\u05DF \u05E0\u05E6\u05D9\u05D2\u05D9\u05DD \u05D6\u05DE\u05D9\u05E0\u05D9\u05DD \u05DB\u05E2\u05EA \u2014 \u05D4\u05E9\u05D0\u05E8 \u05D0\u05EA \u05D4\u05E4\u05E8\u05D8\u05D9\u05DD \u05E9\u05DC\u05DA \u05D5\u05E0\u05D7\u05D6\u05D5\u05E8 \u05D0\u05DC\u05D9\u05DA.",chattingWithOperator:"\u05D0\u05EA\u05D4 \u05DE\u05E6\u05F3\u05D5\u05D8\u05D8 \u05E2\u05DD {operator}",operatorBadgeTitle:"\u05E6\u05F3\u05D0\u05D8 \u05D7\u05D9",chatNotice:"\u05D0\u05EA\u05D4 \u05DE\u05E6\u05F3\u05D5\u05D8\u05D8 \u05E2\u05DD \u05E2\u05D5\u05D6\u05E8 \u05D1\u05D9\u05E0\u05D4 \u05DE\u05DC\u05D0\u05DB\u05D5\u05EA\u05D9\u05EA.",cancelOperatorRequest:"\u05D4\u05DE\u05E9\u05DA \u05DC\u05E9\u05D5\u05D7\u05D7 \u05E2\u05DD \u05D4-AI",loginPrompt:"\u05D4\u05EA\u05D7\u05D1\u05E8\u05D5 \u05DC\u05E7\u05D1\u05DC\u05EA \u05EA\u05DE\u05D9\u05DB\u05D4 \u05DE\u05D4\u05D9\u05E8\u05D4 \u05D5\u05DE\u05D5\u05EA\u05D0\u05DE\u05EA \u05D0\u05D9\u05E9\u05D9\u05EA",loginAction:"\u05D4\u05EA\u05D7\u05D1\u05E8\u05D5\u05EA",loginRequired:"\u05D4\u05EA\u05D7\u05D1\u05E8\u05D5 \u05DB\u05D3\u05D9 \u05DC\u05E9\u05D5\u05D7\u05D7 \u05D0\u05D9\u05EA\u05E0\u05D5",loginExpired:"\u05E4\u05D2 \u05EA\u05D5\u05E7\u05E3 \u05D4\u05D4\u05EA\u05D7\u05D1\u05E8\u05D5\u05EA \u05E9\u05DC\u05DA. \u05D4\u05EA\u05D7\u05D1\u05E8\u05D5 \u05DB\u05D3\u05D9 \u05DC\u05D4\u05DE\u05E9\u05D9\u05DA \u05D1\u05E9\u05D9\u05D7\u05D4 \u05D4\u05D6\u05D5.",loginExpiredGuest:"\u05E4\u05D2 \u05EA\u05D5\u05E7\u05E3 \u05D4\u05D4\u05EA\u05D7\u05D1\u05E8\u05D5\u05EA \u05E9\u05DC\u05DA. \u05D4\u05EA\u05D7\u05D1\u05E8\u05D5 \u05DB\u05D3\u05D9 \u05DC\u05D4\u05DE\u05E9\u05D9\u05DA \u05D1\u05E9\u05D9\u05D7\u05D4 \u05D4\u05D6\u05D5, \u05D0\u05D5 \u05D4\u05EA\u05D7\u05D9\u05DC\u05D5 \u05E9\u05D9\u05D7\u05D4 \u05D7\u05D3\u05E9\u05D4 \u05DB\u05D0\u05D5\u05E8\u05D7\u05D9\u05DD.",startAsGuest:"\u05D4\u05EA\u05D7\u05DC\u05EA \u05E9\u05D9\u05D7\u05D4 \u05D7\u05D3\u05E9\u05D4",loggedInAs:"\u05DE\u05D7\u05D5\u05D1\u05E8/\u05EA \u05D1\u05EA\u05D5\u05E8 {name}",loggedIn:"\u05DE\u05D7\u05D5\u05D1\u05E8/\u05EA",dismissLoginPrompt:"\u05D4\u05E1\u05EA\u05E8\u05D4",emailTranscript:"\u05E9\u05DC\u05D9\u05D7\u05EA \u05EA\u05DE\u05DC\u05D9\u05DC \u05D1\u05D3\u05D5\u05D0\u05F4\u05DC",emailTranscriptPrompt:"\u05E7\u05D1\u05DC\u05D5 \u05E2\u05D5\u05EA\u05E7 \u05E9\u05DC \u05D4\u05E9\u05D9\u05D7\u05D4 \u05D4\u05D6\u05D5 \u05D1\u05D3\u05D5\u05D0\u05F4\u05DC.",emailTranscriptEmailLabel:"\u05DB\u05EA\u05D5\u05D1\u05EA \u05D3\u05D5\u05D0\u05F4\u05DC",emailTranscriptSend:"\u05E9\u05DC\u05D9\u05D7\u05EA \u05D4\u05EA\u05DE\u05DC\u05D9\u05DC",emailTranscriptSending:"\u05E9\u05D5\u05DC\u05D7\u05D9\u05DD\u2026",emailTranscriptSent:"\u05E0\u05E9\u05DC\u05D7 \u05D0\u05DC {email}.",emailTranscriptAlreadySent:"\u05D4\u05E9\u05D9\u05D7\u05D4 \u05D4\u05D6\u05D5 \u05DB\u05D1\u05E8 \u05E0\u05E9\u05DC\u05D7\u05D4. \u05E9\u05DC\u05D7\u05D5 \u05D4\u05D5\u05D3\u05E2\u05D4 \u05D7\u05D3\u05E9\u05D4 \u05DB\u05D3\u05D9 \u05DC\u05E9\u05DC\u05D5\u05D7 \u05D0\u05D5\u05EA\u05D4 \u05E9\u05D5\u05D1.",emailTranscriptLimited:"\u05D4\u05D2\u05E2\u05EA\u05DD \u05DC\u05DE\u05D2\u05D1\u05DC\u05D4 \u05DB\u05E8\u05D2\u05E2. \u05E0\u05E1\u05D5 \u05E9\u05D5\u05D1 \u05DE\u05D0\u05D5\u05D7\u05E8 \u05D9\u05D5\u05EA\u05E8.",emailTranscriptFailed:"\u05D4\u05E9\u05DC\u05D9\u05D7\u05D4 \u05E0\u05DB\u05E9\u05DC\u05D4. \u05E0\u05E1\u05D5 \u05E9\u05D5\u05D1.",emailTranscriptNotDelivered:"\u05DC\u05D0 \u05E0\u05D9\u05EA\u05DF \u05DC\u05E9\u05DC\u05D5\u05D7 \u05DC\u05DB\u05EA\u05D5\u05D1\u05EA \u05D4\u05D6\u05D5. \u05D1\u05D3\u05E7\u05D5 \u05D0\u05D5\u05EA\u05D4 \u05D5\u05E0\u05E1\u05D5 \u05E9\u05D5\u05D1.",emailTranscriptCancel:"\u05D1\u05D9\u05D8\u05D5\u05DC",emailTranscriptDone:"\u05E1\u05D9\u05D5\u05DD",stop:"\u05E2\u05E6\u05D9\u05E8\u05D4",theme:"\u05E2\u05E8\u05DB\u05EA \u05E0\u05D5\u05E9\u05D0",themeAuto:"\u05D0\u05D5\u05D8\u05D5\u05DE\u05D8\u05D9",themeDark:"\u05DB\u05D4\u05D4",themeLight:"\u05D1\u05D4\u05D9\u05E8",textSize:"\u05D2\u05D5\u05D3\u05DC \u05D8\u05E7\u05E1\u05D8",textSizeSmall:"\u05E7\u05D8\u05DF",textSizeNormal:"\u05E8\u05D2\u05D9\u05DC",textSizeLarge:"\u05D2\u05D3\u05D5\u05DC",loading:"\u05D8\u05D5\u05E2\u05DF\u2026",visualPreparing:"\u05DE\u05DB\u05D9\u05DF \u05EA\u05E6\u05D5\u05D2\u05D4\u2026",visualError:"\u05DC\u05D0 \u05E0\u05D9\u05EA\u05DF \u05D4\u05D9\u05D4 \u05DC\u05D4\u05E6\u05D9\u05D2 \u05EA\u05E6\u05D5\u05D2\u05D4 \u05D6\u05D5.",visualPartial:"\u05DC\u05D0 \u05E0\u05D9\u05EA\u05DF \u05D4\u05D9\u05D4 \u05DC\u05D4\u05E6\u05D9\u05D2 \u05D7\u05DC\u05E7\u05D9\u05DD \u05DE\u05EA\u05E6\u05D5\u05D2\u05D4 \u05D6\u05D5.",visualSoldOut:"\u05D0\u05D6\u05DC \u05DE\u05D4\u05DE\u05DC\u05D0\u05D9",visualCartEmpty:"\u05D4\u05E2\u05D2\u05DC\u05D4 \u05E9\u05DC\u05DA \u05E8\u05D9\u05E7\u05D4.",visualQuantity:"\u05DB\u05DE\u05D5\u05EA",visualChoose:"\u05D1\u05D7\u05E8\u05D5",thinking:"\u05D7\u05D5\u05E9\u05D1\u2026",thought:"\u05DE\u05D7\u05E9\u05D1\u05D4",thoughtFor:"\u05D7\u05E9\u05D1 \u05D1\u05DE\u05E9\u05DA {time}",toolResult:"\u05EA\u05D5\u05E6\u05D0\u05D4",sources:"\u05DE\u05E7\u05D5\u05E8\u05D5\u05EA",feedbackUp:"\u05EA\u05E9\u05D5\u05D1\u05D4 \u05D8\u05D5\u05D1\u05D4",feedbackDown:"\u05EA\u05E9\u05D5\u05D1\u05D4 \u05D2\u05E8\u05D5\u05E2\u05D4",feedbackThanks:"\u05EA\u05D5\u05D3\u05D4 \u05E2\u05DC \u05D4\u05DE\u05E9\u05D5\u05D1",copy:"\u05D4\u05E2\u05EA\u05E7",copied:"\u05D4\u05D5\u05E2\u05EA\u05E7",copyTicketReference:"\u05E4\u05E0\u05D9\u05D9\u05D4 {reference}, \u05D4\u05E2\u05EA\u05E7\u05D4",tabHome:"\u05D1\u05D9\u05EA",tabConversations:"\u05E6\u05F3\u05D0\u05D8\u05D9\u05DD",tabHelp:"\u05E2\u05D6\u05E8\u05D4",tabNews:"\u05D7\u05D3\u05E9\u05D5\u05EA",modulesEmpty:"\u05D0\u05D9\u05DF \u05DB\u05D0\u05DF \u05E2\u05D3\u05D9\u05D9\u05DF \u05DB\u05DC\u05D5\u05DD",chatUnavailable:"\u05D4\u05E6\u05F3\u05D0\u05D8 \u05D4\u05D6\u05D4 \u05D0\u05D9\u05E0\u05D5 \u05D6\u05DE\u05D9\u05DF \u05DB\u05E8\u05D2\u05E2",moduleBack:"\u05D7\u05D6\u05E8\u05D4",contentLoading:"\u05D8\u05D5\u05E2\u05DF\u2026",contentHelpful:"\u05D4\u05D0\u05DD \u05D6\u05D4 \u05E2\u05D6\u05E8?",homeGreeting:"\u05DB\u05D9\u05E6\u05D3 \u05E0\u05D5\u05DB\u05DC \u05DC\u05E2\u05D6\u05D5\u05E8?",homeGreetingNamed:"\u05E9\u05DC\u05D5\u05DD {name} \u{1F44B}",homeGreetingLead:"\u05DB\u05D9\u05E6\u05D3 \u05E0\u05D5\u05DB\u05DC \u05DC\u05E2\u05D6\u05D5\u05E8?",homeSearchPlaceholder:"\u05D7\u05D9\u05E4\u05D5\u05E9 \u05E2\u05D6\u05E8\u05D4",homeAskPlaceholder:"\u05E9\u05D0\u05DC\u05D5 \u05E9\u05D0\u05DC\u05D4\u2026",homeWhatsNew:"\u05DE\u05D4 \u05D7\u05D3\u05E9",homeContentTitle:"\u05DE\u05D0\u05DE\u05E8\u05D9\u05DD \u05E4\u05D5\u05E4\u05D5\u05DC\u05E8\u05D9\u05D9\u05DD",homeStatus:"\u05E1\u05D8\u05D8\u05D5\u05E1",helpTitle:"\u05E2\u05D6\u05E8\u05D4",helpSearchPlaceholder:"\u05D7\u05D9\u05E4\u05D5\u05E9 \u05E2\u05D6\u05E8\u05D4",helpEmpty:"\u05D0\u05D9\u05DF \u05E2\u05D3\u05D9\u05D9\u05DF \u05DE\u05D0\u05DE\u05E8\u05D9 \u05E2\u05D6\u05E8\u05D4",helpLoading:"\u05D8\u05D5\u05E2\u05DF \u05E2\u05D6\u05E8\u05D4\u2026",helpSearchEmpty:"\u05D0\u05D9\u05DF \u05EA\u05D5\u05E6\u05D0\u05D5\u05EA \u05E2\u05D1\u05D5\u05E8 \u201E{query}\u201D",helpShowMore:"\u05D4\u05E6\u05D2\u05EA \u05E2\u05D5\u05D3",newsTitle:"\u05D7\u05D3\u05E9\u05D5\u05EA",newsEmpty:"\u05D0\u05D9\u05DF \u05E2\u05D3\u05D9\u05D9\u05DF \u05D7\u05D3\u05E9\u05D5\u05EA",newsLoading:"\u05D8\u05D5\u05E2\u05DF \u05D7\u05D3\u05E9\u05D5\u05EA\u2026",newsShowMore:"\u05D4\u05E6\u05D2\u05EA \u05E2\u05D5\u05D3",newsUnseen:"\u05E4\u05D5\u05E1\u05D8 \u05D7\u05D3\u05E9",unread:"\u05DC\u05D0 \u05E0\u05E7\u05E8\u05D0",formRequired:"\u05E9\u05D3\u05D4 \u05D7\u05D5\u05D1\u05D4",formInvalidEmail:"\u05D4\u05D6\u05DF \u05DB\u05EA\u05D5\u05D1\u05EA \u05D0\u05D9\u05DE\u05D9\u05D9\u05DC \u05EA\u05E7\u05D9\u05E0\u05D4",formInvalidTel:"\u05D4\u05D6\u05DF \u05DE\u05E1\u05E4\u05E8 \u05D8\u05DC\u05E4\u05D5\u05DF \u05EA\u05E7\u05D9\u05DF",formInvalidNumber:"\u05D4\u05D6\u05DF \u05DE\u05E1\u05E4\u05E8 \u05EA\u05E7\u05D9\u05DF",formOtherPlaceholder:"\u05DB\u05EA\u05D5\u05D1 \u05D0\u05EA \u05EA\u05E9\u05D5\u05D1\u05EA\u05DA\u2026",inputRequired:"\u05E9\u05D0\u05DC\u05D5\u05EA \u05E2\u05D1\u05D5\u05E8\u05DA",askFallbackQuestion:"\u05D0\u05E0\u05D0 \u05E1\u05E4\u05E7\u05D5 \u05D0\u05EA \u05D4\u05DE\u05D9\u05D3\u05E2 \u05D4\u05D7\u05E1\u05E8.",inputBadge:"\u05E9\u05D0\u05DC\u05D5\u05EA",inputAnswered:"\u05E0\u05E2\u05E0\u05D4",inputSkipped:"\u05D3\u05D5\u05DC\u05D2",showOptions:"\u05D4\u05E6\u05D2 \u05D0\u05E4\u05E9\u05E8\u05D5\u05D9\u05D5\u05EA",hideOptions:"\u05D4\u05E1\u05EA\u05E8 \u05D0\u05E4\u05E9\u05E8\u05D5\u05D9\u05D5\u05EA",qtypeText:"\u05D4\u05EA\u05E9\u05D5\u05D1\u05D4 \u05E9\u05DC\u05DA",qtypeEmail:"\u05DB\u05EA\u05D5\u05D1\u05EA \u05D0\u05D9\u05DE\u05D9\u05D9\u05DC",qtypePhone:"\u05DE\u05E1\u05E4\u05E8 \u05D8\u05DC\u05E4\u05D5\u05DF",qtypeNumber:"\u05DE\u05E1\u05E4\u05E8",qtypeDate:"\u05EA\u05D0\u05E8\u05D9\u05DA",qtypeChooseOne:"\u05D1\u05D7\u05E8 \u05D0\u05D7\u05EA",qtypeChooseAny:"\u05D1\u05D7\u05E8 \u05DB\u05DE\u05D4",qtypeBoolean:"\u05DB\u05DF / \u05DC\u05D0",inputSubmit:"\u05E9\u05DC\u05D9\u05D7\u05EA \u05EA\u05E9\u05D5\u05D1\u05D5\u05EA",inputSubmitHint:"Enter \u05DC\u05E9\u05DC\u05D9\u05D7\u05D4 \xB7 Shift+Enter = \u05E9\u05D5\u05E8\u05D4 \u05D7\u05D3\u05E9\u05D4",inputSkip:"\u05D3\u05D9\u05DC\u05D5\u05D2",confirmYes:"\u05DB\u05DF",confirmNo:"\u05DC\u05D0",approve:"\u05D0\u05D9\u05E9\u05D5\u05E8",decline:"\u05D3\u05D7\u05D9\u05D9\u05D4",changeAnswer:"\u05E9\u05D9\u05E0\u05D5\u05D9 \u05D4\u05EA\u05E9\u05D5\u05D1\u05D4",approvalPrompt:"{action}?",approvalEditHint:"\u05D0\u05E4\u05E9\u05E8 \u05DC\u05E9\u05E0\u05D5\u05EA \u05D0\u05EA \u05D4\u05EA\u05E9\u05D5\u05D1\u05D4 \u05E2\u05D3 \u05E9\u05D4\u05E9\u05DC\u05D1 \u05D4\u05D6\u05D4 \u05D9\u05DE\u05E9\u05D9\u05DA.",stepInput:"\u05E7\u05DC\u05D8",stepWorking:"\u05D1\u05D1\u05D9\u05E6\u05D5\u05E2",stepWorkingOnIt:"\u05DE\u05D8\u05E4\u05DC\u05D9\u05DD \u05D1\u05D6\u05D4\u2026",stepNeedsYourApproval:"\u05E0\u05D3\u05E8\u05E9 \u05D4\u05D0\u05D9\u05E9\u05D5\u05E8 \u05E9\u05DC\u05DA",stepWaitingForVisitor:"\u05DE\u05DE\u05EA\u05D9\u05DF \u05DC\u05DE\u05D1\u05E7\u05E8",stepApproved:"\u05D0\u05D5\u05E9\u05E8",stepDeclined:"\u05E0\u05D3\u05D7\u05D4",stepReplaced:"\u05D4\u05D5\u05D7\u05DC\u05E3",stepFailed:"\u05E0\u05DB\u05E9\u05DC",stepDidNotWork:"\u05DC\u05D0 \u05D4\u05E6\u05DC\u05D9\u05D7",decidedYouApproved:"\u05D0\u05D9\u05E9\u05E8\u05EA",decidedYouDeclined:"\u05D3\u05D7\u05D9\u05EA",decidedVisitorApproved:"\u05D0\u05D5\u05E9\u05E8 \u05E2\u05DC \u05D9\u05D3\u05D9 \u05D4\u05DE\u05D1\u05E7\u05E8",decidedVisitorDeclined:"\u05E0\u05D3\u05D7\u05D4 \u05E2\u05DC \u05D9\u05D3\u05D9 \u05D4\u05DE\u05D1\u05E7\u05E8",decidedTeamApproved:"\u05D0\u05D5\u05E9\u05E8 \u05E2\u05DC \u05D9\u05D3\u05D9 \u05D7\u05D1\u05E8 \u05E6\u05D5\u05D5\u05EA",decidedTeamDeclined:"\u05E0\u05D3\u05D7\u05D4 \u05E2\u05DC \u05D9\u05D3\u05D9 \u05D7\u05D1\u05E8 \u05E6\u05D5\u05D5\u05EA",decidedMemberApproved:"\u05D0\u05D5\u05E9\u05E8 \u05E2\u05DC \u05D9\u05D3\u05D9 {name}",decidedMemberDeclined:"\u05E0\u05D3\u05D7\u05D4 \u05E2\u05DC \u05D9\u05D3\u05D9 {name}",stepRawData:"\u05E0\u05EA\u05D5\u05E0\u05D9\u05DD \u05D2\u05D5\u05DC\u05DE\u05D9\u05D9\u05DD",decidedRulesApproved:"\u05D0\u05D5\u05E9\u05E8 \u05D0\u05D5\u05D8\u05D5\u05DE\u05D8\u05D9\u05EA",decidedRulesDeclined:"\u05E0\u05D3\u05D7\u05D4 \u05D0\u05D5\u05D8\u05D5\u05DE\u05D8\u05D9\u05EA",edit:"\u05E2\u05E8\u05D9\u05DB\u05D4",statusError:"\u05E9\u05D2\u05D9\u05D0\u05D4",toolStepsFailed:"{count} \u05E0\u05DB\u05E9\u05DC\u05D5",statusStopped:"\u05E0\u05E2\u05E6\u05E8",toolStepsStopped:"\u05E0\u05E2\u05E6\u05E8 \u05D0\u05D7\u05E8\u05D9 {count} \u05E9\u05DC\u05D1\u05D9\u05DD",toolStepsStoppedOne:"\u05E0\u05E2\u05E6\u05E8 \u05D0\u05D7\u05E8\u05D9 \u05E9\u05DC\u05D1 \u05D0\u05D7\u05D3"},xg={attach:"\u6DFB\u52A0\u9644\u4EF6",file:"\u6587\u4EF6",attachmentMimeRejected:"\u6B64\u804A\u5929\u4E0D\u63A5\u53D7 {name} \u7684\u6587\u4EF6\u7C7B\u578B\u3002",attachmentTooLarge:"{name} \u592A\u5927\u4E86\u3002\u6587\u4EF6\u603B\u5927\u5C0F\u4E0D\u80FD\u8D85\u8FC7 {max}\u3002",poweredBy:"\u7531 {name} \u63D0\u4F9B\u652F\u6301",attachmentTooMany:"\u6700\u591A\u53EF\u6DFB\u52A0 {count} \u4E2A\u9644\u4EF6\u3002",attachmentUploadFailed:"{name} \u4E0A\u4F20\u5931\u8D25\u3002",conversationLoading:"\u6B63\u5728\u52A0\u8F7D\u804A\u5929\u2026",loadPreviousMessages:"\u52A0\u8F7D\u66F4\u65E9\u7684\u6D88\u606F",close:"\u5173\u95ED",collapse:"\u6536\u8D77",collapseSidebar:"\u6536\u8D77\u4FA7\u8FB9\u680F",composerPlaceholder:"\u8F93\u5165\u6D88\u606F\u2026",dateLastWeek:"\u6700\u8FD1 7 \u5929",dateOlder:"\u66F4\u65E9",dateToday:"\u4ECA\u5929",dateYesterday:"\u6628\u5929",dropZone:"\u62D6\u653E\u6587\u4EF6\u4EE5\u6DFB\u52A0\u9644\u4EF6",dropZoneRejected:"\u8FD9\u4E9B\u6587\u4EF6\u65E0\u6CD5\u5728\u6B64\u6DFB\u52A0",errorGeneric:"\u51FA\u4E86\u70B9\u95EE\u9898",errorRateLimited:"\u8BF7\u6C42\u8FC7\u591A\uFF0C\u8BF7\u7A0D\u540E\u518D\u8BD5\u3002",errorRateLimitedIn:"\u8BF7\u6C42\u8FC7\u591A\uFF0C\u8BF7\u5728 {seconds} \u79D2\u540E\u91CD\u8BD5\u3002",errorOffline:"\u65E0\u6CD5\u8FDE\u63A5\u670D\u52A1\u5668\u3002\u8BF7\u68C0\u67E5\u7F51\u7EDC\u540E\u91CD\u8BD5\u3002",errorServer:"\u6211\u4EEC\u8FD9\u8FB9\u51FA\u4E86\u70B9\u95EE\u9898\u3002\u8BF7\u91CD\u8BD5\u3002",errorOriginNotAllowed:"\u6B64\u804A\u5929\u5C1A\u672A\u4E3A\u672C\u7F51\u7AD9\u8BBE\u7F6E\u3002",errorMessageTooLong:"\u6D88\u606F\u592A\u957F\u4E86\u3002\u8BF7\u7F29\u77ED\u540E\u91CD\u65B0\u53D1\u9001\u3002",errorReconnecting:"\u8FDE\u63A5\u5DF2\u65AD\u5F00\uFF0C\u6B63\u5728\u91CD\u65B0\u8FDE\u63A5\u2026",errorRetry:"\u91CD\u8BD5",expand:"\u5C55\u5F00",expandSidebar:"\u5C55\u5F00\u4FA7\u8FB9\u680F",exitFullscreen:"\u9000\u51FA\u5168\u5C4F",fullscreen:"\u5168\u5C4F",history:"\u5386\u53F2\u8BB0\u5F55",historyBack:"\u8FD4\u56DE\u804A\u5929",historyEmpty:"\u8FD8\u6CA1\u6709\u4EE5\u524D\u7684\u804A\u5929",historyLoading:"\u6B63\u5728\u52A0\u8F7D\u4F60\u7684\u804A\u5929\u2026",historyContinue:"\u7EE7\u7EED\u804A\u5929",historyTitle:"\u804A\u5929\u8BB0\u5F55",loadMoreConversations:"\u52A0\u8F7D\u66F4\u591A\u5BF9\u8BDD",language:"\u8BED\u8A00",launcherOpen:"\u6253\u5F00\u804A\u5929",launcherAsk:"\u8BE2\u95EE {name}",micBlocked:"\u6B64\u7F51\u7AD9\u7684\u9EA6\u514B\u98CE\u5DF2\u88AB\u963B\u6B62\uFF0C\u65E0\u6CD5\u5F00\u59CB\u8BED\u97F3\u8F93\u5165\u3002",micStart:"\u5F00\u59CB\u8BED\u97F3\u8F93\u5165",micStop:"\u505C\u6B62\u8BED\u97F3\u8F93\u5165",moreActions:"\u66F4\u591A\u64CD\u4F5C",newConversation:"\u65B0\u804A\u5929",panelTitle:"\u804A\u5929",popOut:"\u5728\u65B0\u6807\u7B7E\u9875\u4E2D\u6253\u5F00",resizeHandle:"\u62D6\u52A8\u4EE5\u8C03\u6574\u5927\u5C0F",scrollToBottom:"\u6EDA\u52A8\u5230\u6700\u65B0",send:"\u53D1\u9001",queueMessage:"\u6392\u961F\u53D1\u9001",removeQueuedMessage:"\u79FB\u9664\u6392\u961F\u7684\u6D88\u606F",removeAttachment:"\u79FB\u9664 {name}",suggestedReplies:"\u63A8\u8350\u56DE\u590D",compactingContext:"\u6B63\u5728\u4F18\u5316\u5BF9\u8BDD\u4E0A\u4E0B\u6587\u2026",soundOff:"\u5173\u95ED\u58F0\u97F3",soundOn:"\u6253\u5F00\u58F0\u97F3",talkToOperator:"\u4E0E\u771F\u4EBA\u4EA4\u8C08",connectingOperator:"\u6B63\u5728\u4E3A\u4F60\u8054\u7CFB\u771F\u4EBA\u2026",noOperatorAvailable:"\u76EE\u524D\u6CA1\u6709\u4EBA\u6709\u7A7A\uFF0C\u8BF7\u7559\u4E0B\u4F60\u7684\u8054\u7CFB\u65B9\u5F0F\uFF0C\u6211\u4EEC\u4F1A\u8DDF\u8FDB\u3002",chattingWithOperator:"\u4F60\u6B63\u5728\u4E0E {operator} \u804A\u5929",operatorBadgeTitle:"\u5728\u7EBF\u804A\u5929",chatNotice:"\u4F60\u6B63\u5728\u4E0E AI \u52A9\u624B\u804A\u5929\u3002",cancelOperatorRequest:"\u7EE7\u7EED\u4E0E AI \u804A\u5929",loginPrompt:"\u767B\u5F55\u4EE5\u83B7\u5F97\u66F4\u5FEB\u3001\u66F4\u4E2A\u6027\u5316\u7684\u652F\u6301",loginAction:"\u767B\u5F55",loginRequired:"\u767B\u5F55\u540E\u4E0E\u6211\u4EEC\u804A\u5929",loginExpired:"\u4F60\u7684\u767B\u5F55\u5DF2\u8FC7\u671F\u3002\u8BF7\u767B\u5F55\u4EE5\u7EE7\u7EED\u6B64\u804A\u5929\u3002",loginExpiredGuest:"\u4F60\u7684\u767B\u5F55\u5DF2\u8FC7\u671F\u3002\u8BF7\u767B\u5F55\u4EE5\u7EE7\u7EED\u6B64\u804A\u5929\uFF0C\u6216\u4EE5\u8BBF\u5BA2\u8EAB\u4EFD\u5F00\u59CB\u65B0\u5BF9\u8BDD\u3002",startAsGuest:"\u5F00\u59CB\u65B0\u5BF9\u8BDD",loggedInAs:"\u5DF2\u767B\u5F55\u4E3A {name}",loggedIn:"\u5DF2\u767B\u5F55",dismissLoginPrompt:"\u9690\u85CF",emailTranscript:"\u901A\u8FC7\u90AE\u4EF6\u53D1\u9001\u804A\u5929\u8BB0\u5F55",emailTranscriptPrompt:"\u901A\u8FC7\u90AE\u4EF6\u83B7\u53D6\u6B64\u5BF9\u8BDD\u7684\u526F\u672C\u3002",emailTranscriptEmailLabel:"\u90AE\u7BB1\u5730\u5740",emailTranscriptSend:"\u53D1\u9001\u804A\u5929\u8BB0\u5F55",emailTranscriptSending:"\u6B63\u5728\u53D1\u9001\u2026",emailTranscriptSent:"\u5DF2\u53D1\u9001\u81F3 {email}\u3002",emailTranscriptAlreadySent:"\u6B64\u5BF9\u8BDD\u5DF2\u901A\u8FC7\u90AE\u4EF6\u53D1\u9001\u3002\u53D1\u9001\u4E00\u6761\u65B0\u6D88\u606F\u540E\u53EF\u518D\u6B21\u53D1\u9001\u3002",emailTranscriptLimited:"\u4F60\u5DF2\u8FBE\u5230\u5F53\u524D\u4E0A\u9650\u3002\u8BF7\u7A0D\u540E\u518D\u8BD5\u3002",emailTranscriptFailed:"\u53D1\u9001\u5931\u8D25\u3002\u8BF7\u91CD\u8BD5\u3002",emailTranscriptNotDelivered:"\u65E0\u6CD5\u53D1\u9001\u5230\u6B64\u5730\u5740\u3002\u8BF7\u68C0\u67E5\u540E\u91CD\u8BD5\u3002",emailTranscriptCancel:"\u53D6\u6D88",emailTranscriptDone:"\u5B8C\u6210",stop:"\u505C\u6B62",theme:"\u4E3B\u9898",themeAuto:"\u81EA\u52A8",themeDark:"\u6DF1\u8272",themeLight:"\u6D45\u8272",textSize:"\u6587\u5B57\u5927\u5C0F",textSizeSmall:"\u5C0F",textSizeNormal:"\u6807\u51C6",textSizeLarge:"\u5927",loading:"\u6B63\u5728\u52A0\u8F7D\u2026",visualPreparing:"\u6B63\u5728\u51C6\u5907\u56FE\u8868\u2026",visualError:"\u65E0\u6CD5\u663E\u793A\u6B64\u56FE\u8868\u3002",visualPartial:"\u6B64\u56FE\u8868\u7684\u90E8\u5206\u5185\u5BB9\u65E0\u6CD5\u663E\u793A\u3002",visualSoldOut:"\u5DF2\u552E\u7F44",visualCartEmpty:"\u4F60\u7684\u8D2D\u7269\u8F66\u662F\u7A7A\u7684\u3002",visualQuantity:"\u6570\u91CF",visualChoose:"\u9009\u62E9",thinking:"\u6B63\u5728\u601D\u8003\u2026",thought:"\u601D\u8003\u8FC7\u7A0B",thoughtFor:"\u601D\u8003\u4E86 {time}",toolResult:"\u7ED3\u679C",sources:"\u6765\u6E90",feedbackUp:"\u56DE\u7B54\u5F88\u597D",feedbackDown:"\u56DE\u7B54\u4E0D\u597D",feedbackThanks:"\u611F\u8C22\u4F60\u7684\u53CD\u9988",copy:"\u590D\u5236",copied:"\u5DF2\u590D\u5236",copyTicketReference:"\u5DE5\u5355 {reference}\uFF0C\u590D\u5236",tabHome:"\u9996\u9875",tabConversations:"\u804A\u5929",tabHelp:"\u5E2E\u52A9",tabNews:"\u52A8\u6001",modulesEmpty:"\u8FD9\u91CC\u8FD8\u6CA1\u6709\u5185\u5BB9",chatUnavailable:"\u6B64\u804A\u5929\u76EE\u524D\u4E0D\u53EF\u7528",moduleBack:"\u8FD4\u56DE",contentLoading:"\u6B63\u5728\u52A0\u8F7D\u2026",contentHelpful:"\u8FD9\u5BF9\u4F60\u6709\u5E2E\u52A9\u5417\uFF1F",homeGreeting:"\u6709\u4EC0\u4E48\u53EF\u4EE5\u5E2E\u4F60\uFF1F",homeGreetingNamed:"\u4F60\u597D\uFF0C{name} \u{1F44B}",homeGreetingLead:"\u6709\u4EC0\u4E48\u53EF\u4EE5\u5E2E\u4F60\uFF1F",homeSearchPlaceholder:"\u641C\u7D22\u5E2E\u52A9",homeAskPlaceholder:"\u63D0\u51FA\u95EE\u9898\u2026",homeWhatsNew:"\u6700\u65B0\u52A8\u6001",homeContentTitle:"\u70ED\u95E8\u6587\u7AE0",homeStatus:"\u72B6\u6001",helpTitle:"\u5E2E\u52A9",helpSearchPlaceholder:"\u641C\u7D22\u5E2E\u52A9",helpEmpty:"\u8FD8\u6CA1\u6709\u5E2E\u52A9\u6587\u7AE0",helpLoading:"\u6B63\u5728\u52A0\u8F7D\u5E2E\u52A9\u2026",helpSearchEmpty:"\u6CA1\u6709\u627E\u5230\u201C{query}\u201D\u7684\u7ED3\u679C",helpShowMore:"\u663E\u793A\u66F4\u591A",newsTitle:"\u52A8\u6001",newsEmpty:"\u8FD8\u6CA1\u6709\u52A8\u6001",newsLoading:"\u6B63\u5728\u52A0\u8F7D\u52A8\u6001\u2026",newsShowMore:"\u663E\u793A\u66F4\u591A",newsUnseen:"\u65B0\u6587\u7AE0",unread:"\u672A\u8BFB",formRequired:"\u6B64\u9879\u4E3A\u5FC5\u586B",formInvalidEmail:"\u8BF7\u8F93\u5165\u6709\u6548\u7684\u90AE\u7BB1\u5730\u5740",formInvalidTel:"\u8BF7\u8F93\u5165\u6709\u6548\u7684\u7535\u8BDD\u53F7\u7801",formInvalidNumber:"\u8BF7\u8F93\u5165\u6709\u6548\u7684\u6570\u5B57",formOtherPlaceholder:"\u8F93\u5165\u4F60\u7684\u56DE\u7B54\u2026",inputRequired:"\u9700\u8981\u4F60\u56DE\u7B54\u7684\u95EE\u9898",askFallbackQuestion:"\u8BF7\u63D0\u4F9B\u7F3A\u5C11\u7684\u4FE1\u606F\u3002",inputBadge:"\u95EE\u9898",inputAnswered:"\u5DF2\u56DE\u7B54",inputSkipped:"\u5DF2\u8DF3\u8FC7",showOptions:"\u663E\u793A\u9009\u9879",hideOptions:"\u9690\u85CF\u9009\u9879",qtypeText:"\u4F60\u7684\u56DE\u7B54",qtypeEmail:"\u90AE\u7BB1\u5730\u5740",qtypePhone:"\u7535\u8BDD\u53F7\u7801",qtypeNumber:"\u6570\u5B57",qtypeDate:"\u65E5\u671F",qtypeChooseOne:"\u9009\u62E9\u4E00\u9879",qtypeChooseAny:"\u53EF\u591A\u9009",qtypeBoolean:"\u662F / \u5426",inputSubmit:"\u63D0\u4EA4\u56DE\u7B54",inputSubmitHint:"Enter \u53D1\u9001 \xB7 Shift+Enter \u6362\u884C",inputSkip:"\u8DF3\u8FC7",confirmYes:"\u662F",confirmNo:"\u5426",approve:"\u6279\u51C6",decline:"\u62D2\u7EDD",changeAnswer:"\u4FEE\u6539\u56DE\u7B54",approvalPrompt:"{action}\uFF1F",approvalEditHint:"\u5728\u6B64\u6B65\u9AA4\u7EE7\u7EED\u4E4B\u524D\uFF0C\u4F60\u53EF\u4EE5\u4FEE\u6539\u56DE\u7B54\u3002",stepInput:"\u8F93\u5165",stepWorking:"\u8FDB\u884C\u4E2D",stepWorkingOnIt:"\u6B63\u5728\u5904\u7406\u2026",stepNeedsYourApproval:"\u9700\u8981\u4F60\u7684\u6279\u51C6",stepWaitingForVisitor:"\u7B49\u5F85\u8BBF\u5BA2",stepApproved:"\u5DF2\u6279\u51C6",stepDeclined:"\u5DF2\u62D2\u7EDD",stepReplaced:"\u5DF2\u66FF\u6362",stepFailed:"\u5931\u8D25",stepDidNotWork:"\u672A\u6210\u529F",decidedYouApproved:"\u4F60\u5DF2\u6279\u51C6",decidedYouDeclined:"\u4F60\u5DF2\u62D2\u7EDD",decidedVisitorApproved:"\u8BBF\u5BA2\u5DF2\u6279\u51C6",decidedVisitorDeclined:"\u8BBF\u5BA2\u5DF2\u62D2\u7EDD",decidedTeamApproved:"\u56E2\u961F\u6210\u5458\u5DF2\u6279\u51C6",decidedTeamDeclined:"\u56E2\u961F\u6210\u5458\u5DF2\u62D2\u7EDD",decidedMemberApproved:"{name} \u5DF2\u6279\u51C6",decidedMemberDeclined:"{name} \u5DF2\u62D2\u7EDD",stepRawData:"\u539F\u59CB\u6570\u636E",decidedRulesApproved:"\u5DF2\u81EA\u52A8\u6279\u51C6",decidedRulesDeclined:"\u5DF2\u81EA\u52A8\u62D2\u7EDD",edit:"\u7F16\u8F91",statusError:"\u9519\u8BEF",toolStepsFailed:"{count} \u4E2A\u5931\u8D25",statusStopped:"\u5DF2\u505C\u6B62",toolStepsStopped:"\u5728 {count} \u6B65\u540E\u505C\u6B62",toolStepsStoppedOne:"\u5728 1 \u6B65\u540E\u505C\u6B62"},Sg={en:mi,fr:hg,es:bg,ar:yg,he:Pg,zh:xg};function gi(e,t){let r=Hc(e),n=hi(t),o=Sg[Fc(r)],s=n?{...t[r],...t[e]}:t??{},a=n?t.en??{}:{};return{...mi,...o,...a,...s}}function Hc(e){return(e.split("-")[0]??"en").toLowerCase()}var wg=new Set(["ar","he","iw","fa","ur","ps","sd","ug","yi","dv","ckb","ks","nqo","prs","syr"]);function vi(e){return wg.has(Hc(e))}function gt(e,t){return e[t]??t}function hi(e){if(!e)return!1;for(let t of Object.values(e))if(t&&typeof t=="object")return!0;return!1}var q={id:"help-ai",name:"@helpai/elements",global:"HelpAI",tagName:"web-ai-chat",cssPrefix:"helpai",defaultBaseUrl:"https://help.ai",displayName:"Help AI",domain:"help.ai",siteUrl:"https://help.ai"};var bi={simple:{showSteps:!1,showStepDetails:!1,showStepSystem:!1,showDecidedBy:!1,foldApprovals:!0},technical:{showSteps:!0,showStepDetails:!0,showStepSystem:!0,showDecidedBy:!0,foldApprovals:!0}};function Wc(e){return Object.hasOwn(bi,e)}function Gc(e,t){return{...bi[t],...e}}var Kc=/^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$/i,kg=4e3;function xs(e){let t=e.replace(/([a-z0-9])([A-Z])/g,"$1 $2").replace(/[_-]+/g," ").trim().toLowerCase();return t.charAt(0).toUpperCase()+t.slice(1)}function Cg(e){if(e.title)return e.title;let t=e.toolName.replace(/^tool[:-]/,""),r=t.indexOf("__");return xs(r>0?t.slice(r+2):t)}function Tg(e,t,r){let n=e.approval;return n?.replacedByMessageId?"replaced":e.state==="output-available"?r.error===void 0?"done":"failed":e.state==="output-error"?t.interrupted?"stopped":"failed":e.state==="output-denied"||n?.approved===!1?"declined":e.state==="approval-responded"||n?.approved===!0?t.cutOff?"stopped":"approved":e.state==="approval-requested"?t.submitted?"submitted":t.cutOff?"stopped":t.superseded?"replaced":"waiting":t.live?"running":"stopped"}function Ig(e,t){if(e.isAutomatic)return"rules";let r=e.respondedBy;return r?.visitorId?"visitor":r?.userId?r.userId===t.userId?"you":"teamMember":t.decides?"you":"visitor"}function Rg(e,t,r,n){return e==="teamMember"&&r?n[t?"decidedMemberApproved":"decidedMemberDeclined"].replace("{name}",r):n[Ag[e][t?0:1]]}var Ag={you:["decidedYouApproved","decidedYouDeclined"],visitor:["decidedVisitorApproved","decidedVisitorDeclined"],teamMember:["decidedTeamApproved","decidedTeamDeclined"],rules:["decidedRulesApproved","decidedRulesDeclined"]};function Eg(e,t){switch(e){case"running":return t.strings.stepWorking;case"waiting":return t.reader.decides?t.strings.stepNeedsYourApproval:t.strings.stepWaitingForVisitor;case"submitted":return t.strings.stepWorkingOnIt;case"approved":return t.strings.stepApproved;case"declined":return t.strings.stepDeclined;case"replaced":return t.strings.stepReplaced;case"stopped":return t.strings.statusStopped;case"failed":return t.display.showStepDetails?t.strings.stepFailed:t.strings.stepDidNotWork;case"done":return"";default:return e}}function lr(e){return typeof e=="object"&&e!==null&&!Array.isArray(e)}function Qc(e){return typeof e=="string"?e.trim():typeof e=="number"||typeof e=="boolean"?String(e):""}function jc(e){return Qc(e)||(e!==null&&typeof e=="object"?JSON.stringify(e):"")}function Mg(e){if(!lr(e))return jc(e);let[t,...r]=Object.values(e).map(jc).filter(Boolean);return t===void 0?"":r.length>0?`${t} (${r.join(", ")})`:t}function Vc(e,t){if(!lr(e))return[];let r=[];function n(s,a){if(Array.isArray(s)){let c=s.map(Mg).filter(Boolean).join(", ");c&&r.push({path:a,value:c});return}if(lr(s)){for(let[c,u]of Object.entries(s))n(u,[...a,c]);return}let i=Qc(s);i&&(t.withIds||!Kc.test(i))&&r.push({path:a,value:i})}n(e,[]);let o=r.map(({path:s})=>xs(s.at(-1)??""));return r.map(({path:s,value:a},i)=>{let c=o[i]??"";return{label:o.filter(p=>p===c).length>1&&s.length>1?`${xs(s.at(-2)??"")} \xB7 ${c.toLowerCase()}`:c,value:a}})}function Lg(e){if(lr(e))return Object.values(e).find(t=>typeof t=="string"&&t.trim().length>0&&!Kc.test(t.trim()))?.trim()}function yi(e,t=Number.POSITIVE_INFINITY){if(e==null)return;let r=typeof e=="string"?e:JSON.stringify(e,null,2);if(!(!r||r==="{}"||r==="[]"||r==='""'))return r.length>t?`${r.slice(0,t)}\u2026`:r}function Ng(e){let t=e.trim();if(!t.startsWith("{")&&!t.startsWith("["))return e;try{return JSON.parse(t)}catch{return e}}function Og(e){if(lr(e)&&e.storage==="tool-result-ref"&&"summary"in e)return{value:e.summary};if(lr(e)&&Array.isArray(e.content)){let t=e.content.flatMap(n=>lr(n)&&typeof n.text=="string"?[n.text]:[]).join(`
|
|
2
|
-
`),r=lr(e.structuredContent)?e.structuredContent:Ng(t);return e.isError===!0?{value:r,error:lr(r)&&typeof r.error=="string"?r.error:t}:{value:r}}return lr(e)&&typeof e.error=="string"&&typeof e.instruction=="string"?{value:e,error:e.error}:{value:e}}function $g(e){return yi(e.input)!==void 0||yi(e.output)!==void 0||!!e.errorText}function Dg(e,t,r){let{display:n}=r,o=e.approval;if(typeof e.toolMetadata?.card=="string"&&o)return"card";let s=o!==void 0&&!o.isAutomatic;if(s&&Ss(e,r.turn))return"card";let a=t.decision?.by==="you"||s&&t.decision===void 0&&r.reader.decides;return s&&a?n.foldApprovals?"step":"card":s?n.showSteps||n.showDecidedBy?n.foldApprovals?"step":"card":"hidden":o?.isAutomatic?n.showSteps||n.showDecidedBy?"step":"hidden":n.showSteps&&$g(e)?"step":"hidden"}function Ss(e,t){return e.approval?.replacedByMessageId||(t.superseded||t.cutOff)&&e.approval?.approved===void 0?!1:e.state==="approval-requested"||e.state==="approval-responded"}function Yc(e,t){let{turn:r,reader:n,display:o,strings:s}=t,a=Og(e.output),i=Tg(e,r,a),c=e.approval,u=c?.replacedByMessageId?void 0:c?.approved,p=c&&u!==void 0?Ig(c,n):void 0,_=p==="teamMember"?c?.respondedBy?.userId:void 0,d=p&&u!==void 0&&(p==="you"||o.showDecidedBy)?{approved:u,by:p,label:Rg(p,u,_&&t.names?.get(_),s),..._?{userId:_}:{}}:void 0,f=Cg(e),v=typeof e.toolMetadata?.system=="string"&&(o.showStepSystem||e.toolMetadata.nameShared===!0)?e.toolMetadata.system:void 0,g=Lg(e.input),x=e.errorText??a.error,w=o.showStepDetails&&a.error===void 0?Vc(a.value,{withIds:!0}):[],y=o.showStepDetails?{input:yi(e.input),output:yi(a.value,kg)}:void 0,S=c!==void 0&&!c.isAutomatic&&!e.toolMetadata?.card,b={toolCallId:e.toolCallId,placement:"hidden",...typeof e.toolMetadata?.card=="string"&&c?{card:e.toolMetadata.card}:{},name:f,...v?{system:v}:{},status:i,statusLabel:Eg(i,{reader:n,display:o,strings:s}),...d?{decision:d}:{},...d?.by==="rules"&&c?.reason?{reason:c.reason}:{},...g?{summary:g}:{},fields:Vc(e.input,{withIds:o.showStepDetails||c!==void 0&&!c.isAutomatic&&Ss(e,r)}),...w.length>0?{resultFields:w}:{},...x&&o.showStepDetails?{error:x}:{},...y?{raw:y}:{},...S?{approval:qg(e,i,{turn:r,reader:n,strings:s,name:f})}:{}};return{...b,placement:Dg(e,b,{turn:r,reader:n,display:o})}}function qg(e,t,r){let n=r.strings.approvalPrompt.replace("{action}",r.name);return t==="waiting"?{ask:n,buttons:r.reader.decides?"decide":"none"}:t==="submitted"?{ask:n,buttons:"none"}:Ss(e,r.turn)?r.turn.canAct&&r.reader.decides?{ask:n,buttons:"change",note:r.strings.approvalEditHint}:t==="approved"?{ask:n,buttons:"none",note:r.strings.stepWorkingOnIt}:{ask:n,buttons:"none"}:{ask:n,buttons:"none"}}function Jc(e){let t=new Map;for(let s of e)t.set(s.name,(t.get(s.name)??0)+1);let r=new Map;for(let{decision:s}of e){if(!s)continue;let a=r.get(s.label)??{approved:s.approved,label:s.label,...s.userId?{userId:s.userId}:{},count:0};r.set(s.label,{...a,count:a.count+1})}let[n]=e,o=e.some(s=>s.status==="stopped");return{tools:[...t].map(([s,a])=>({name:s,count:a})),...e.length===1&&n?{single:{name:n.name,...n.system?{system:n.system}:{},...n.summary?{summary:n.summary}:{},...Bg(n)}}:{},marks:[...r.values()].map(({count:s,...a})=>Object.assign(a,{label:s>1?`${a.label} \xD7${s}`:a.label})),failed:e.filter(s=>s.status==="failed").length,...o?{stopped:{finished:e.filter(s=>s.status!=="stopped").length}}:{}}}function Bg(e){return!e.decision&&(e.status==="replaced"||e.status==="declined")?{outcome:e.statusLabel}:{}}function Xc(e,t){return e===0?t.statusStopped:e===1?t.toolStepsStoppedOne:t.toolStepsStopped.replace("{count}",String(e))}var ws=class{get(t){try{return localStorage.getItem(t)}catch{return null}}set(t,r){try{localStorage.setItem(t,r)}catch{}}remove(t){try{localStorage.removeItem(t)}catch{}}},Pi=new ws,Qr={get(e){try{return sessionStorage.getItem(e)}catch{return null}},set(e,t){try{sessionStorage.setItem(e,t)}catch{}},remove(e){try{sessionStorage.removeItem(e)}catch{}}};var xi={maxBytes:10485760,maxCount:10,accept:"*/*"},Zc={voice:"local"},ks={enabled:!0,sampleRate:1},Cs={upload:"/pai/upload-file",transcribe:"/pai/transcribe-audio"},Sn={variant:"circle",size:"md",label:void 0,icon:"chat",hidden:!1},ed={floating:["theme","textSize","history","close","clear","expand","fullscreen","popOut","sound","language"],inline:["theme","textSize","history","close","clear","fullscreen","popOut","sound","language"],standalone:["theme","textSize","history","clear","sound","language"],page:["theme","textSize","history","clear","sound","language"],modal:["theme","textSize","history","close","clear","fullscreen","popOut","sound","language"],drawer:["theme","textSize","history","close","clear","fullscreen","popOut","sound","language"]},Ts={enabled:!0,volume:.3,events:void 0},td={enabled:!0,events:void 0},rd=[{label:"tabConversations",layout:"chat"}];var Ug=["off","error","warn","info","debug","trace"],Is=q.cssPrefix,zg=`${Is}.debug`,Fg=`__${q.global}_DEBUG__`,Hg=`${Is}-debug`,id=2,nd=null;function jg(){if(typeof window>"u")return 2;try{let e=new URLSearchParams(window.location.search).get(Hg);if(e!==null){let t=od(e);if(t>=0)return t}}catch{}try{let e=window.localStorage?.getItem(zg);if(e){let t=od(e);if(t>=0)return t}}catch{}return Reflect.get(window,Fg)?4:2}function od(e){if(e===!0||e==="1"||e==="true")return 4;if(e===!1||e==="0"||e==="false"||e==="off")return 0;if(typeof e=="number")return Math.max(0,Math.min(5,Math.floor(e)));if(typeof e=="string"){let t=Ug.findIndex(r=>r===e);if(t>=0)return t}return-1}id=jg();function ad(e){let t=`[${Is}:${e}]`;function r(n,o,s){return(a,i)=>{if(!(id<n)&&(i===void 0?console[o](t,a):console[o](t,a,i),nd))try{nd({level:s,scope:e,message:a,payload:i})}catch{}}}return{error:r(1,"error","error"),warn:r(2,"warn","warn"),info:r(3,"info","info"),debug:r(4,"debug","debug"),trace:r(5,"debug","trace"),scope:n=>ad(`${e}:${n}`)}}var ae=ad("core");var Yr=ae.scope("context"),Vg=new Set(["visitorId","conversationId","jwt","token","authorization","password"]),sd=50,Rs=1024,Wg=/^[^\s@]+@[^\s@]+\.[^\s@]+$/;function As(e){return ld(e,"userContext",!0)}function Es(e){return ld(e,"pageContext",!1)}function Gg(e){return typeof e=="object"&&e!==null&&!Array.isArray(e)}function ld(e,t,r){if(e==null)return;if(!Gg(e)){Yr.warn(`ignored ${t} \u2014 expected an object`,{type:Array.isArray(e)?"array":typeof e});return}let n={},o=0;for(let[s,a]of Object.entries(e)){if(Vg.has(s)){Yr.warn(`dropped reserved ${t} key "${s}" \u2014 managed by the widget, not host-settable`);continue}if(a==null)continue;if(o>=sd){Yr.warn(`${t} truncated at ${sd} keys \u2014 dropped "${s}"`);continue}let i=Kg(t,s,a);i!==void 0&&(n[s]=i,o++)}return r&&typeof n.email=="string"&&!Wg.test(n.email)&&(Yr.warn("dropped malformed context field",{field:`${t}.email`,reason:"invalid format"}),delete n.email),Object.keys(n).length>0?n:void 0}function Kg(e,t,r){if(typeof r=="boolean")return r;if(typeof r=="number"){if(!Number.isFinite(r)){Yr.warn(`dropped non-finite ${e}.${t}`);return}return r}if(typeof r=="string"){let n=r.trim();return n===""?void 0:n.length>Rs?(Yr.warn(`truncated ${e}.${t} to ${Rs} chars`),n.slice(0,Rs)):n}Yr.warn(`dropped ${e}.${t} \u2014 only string/number/boolean values are allowed`,{type:typeof r})}function wn(e){let t=e!==null&&typeof e=="object"?e:{},r=t.presentation??{},n=t.behavior??{},o=t.i18n??{},s=t.feedback??{},a=t.footer??{},i=t.header??{},c={enabled:t.history?.enabled??!0},{themeMode:u,themeOverrides:p}=Qg(t.theme),_=r.mode??"floating",d=Yg(o.defaultLocale),f=o.availableLocales??[o.locale??d],v=kn(o.locale??d,f,d),g=(t.baseUrl??q.defaultBaseUrl).replace(/\/$/,""),x=(t.agentApiBaseUrl??`${g}/api/agent`).replace(/\/$/,""),w=(t.dataApiBaseUrl??`${g}/api/data`).replace(/\/$/,"");return{widgetId:t.widgetId??"default",publicKey:t.publicKey,aiAgentDeploymentId:t.aiAgentDeploymentId,baseUrl:g,agentApiBaseUrl:x,dataApiBaseUrl:w,userContext:As(t.userContext),pageContext:Es(t.pageContext),position:r.position??(vi(v)?"bottom-left":"bottom-right"),themeMode:u,textSize:"normal",themeOverrides:p,mode:_,responseMode:n.responseMode??"streaming",showReasoning:n.showReasoning??!1,stepDisplay:Gc(n.stepDisplay,"simple"),showSources:n.showSources??!1,enableMessageFeedback:!(n.disableMessageFeedback??!1),autoSendSuggestions:n.autoSendSuggestions??!1,cardAnswerWaitSeconds:n.cardAnswerWaitSeconds??60,popOutUrl:n.popOutUrl,features:{voice:t.features?.voice??Zc.voice,fileUpload:!(t.features?.disableFileUpload??!1),humanInLoop:!(t.features?.disableHumanInLoop??!1),emailTranscript:!(t.features?.disableEmailTranscript??!1),operatorRequest:t.features?.enableOperatorRequest===!0&&!(t.features.hideRequestOperatorButton??!1)},endpoints:{upload:t.endpoints?.upload??Cs.upload,transcribe:t.endpoints?.transcribe??Cs.transcribe},attachments:{accept:t.composer?.attachments?.accept??xi.accept,maxBytes:t.composer?.attachments?.maxBytes??xi.maxBytes,maxCount:t.composer?.attachments?.maxCount??xi.maxCount},locale:v,defaultLocale:d,availableLocales:f,startMinimized:n.startMinimized??!0,actions:Jg(_,i.actions,c.enabled),size:{...r.size,resize:{...r.size?.resize,enabled:r.size?.resize?.enabled??!0}},launcher:ov(t.launcher,t.agent?.name),sound:Xg(s.sound),haptics:Zg(s.haptics),strings:gi(v,o.strings),stringsOverride:o.strings,composerDisclaimer:a.composerDisclaimer??"",header:{variant:i.variant??"plain",notice:i.notice,showNotice:!(i.hideNotice??!1)},poweredBy:tv(a.poweredBy),composer:rv(t.composer),modules:nv(t.modules,c.enabled),tracking:ev(t.tracking,w),history:c,storage:t.storage??Pi,userToken:t.userToken,continueLink:t.continueLink,tools:t.tools,onMessage:t.onMessage,onOpen:t.onOpen,onClose:t.onClose,onError:t.onError}}function Qg(e){if(typeof e=="string")return{themeMode:e,themeOverrides:{}};if(!e||typeof e!="object")return{themeMode:"host",themeOverrides:{}};let{mode:t,...r}=e;return{themeMode:t??"host",themeOverrides:r}}function Yg(e){return e&&e!=="auto"?e:globalThis.navigator?.language||"en"}function kn(e,t,r){if(t.length<=1||t.includes(e))return e;let n=e.split("-")[0];return n&&t.includes(n)?n:t.includes(r)?r:t[0]??e}function Jg(e,t,r){let n=t??ed[e];return r?n:n.filter(o=>o!=="history")}function Xg(e){return{enabled:e?.enabled??Ts.enabled,volume:e?.volume??Ts.volume,events:e?.events}}function Zg(e){return{enabled:e?.enabled??td.enabled,events:e?.events}}function ev(e,t){let r=e?.sampleRate??ks.sampleRate;return{enabled:e?.enabled??ks.enabled,endpoint:e?.endpoint??`${t}/pai/elements-px.gif`,sampleRate:Math.min(1,Math.max(0,Number.isFinite(r)?r:1)),token:e?.token}}function tv(e){return e?.text===""&&!e.logoUrl?null:{href:q.siteUrl,...e}}function rv(e){let t=e?.sendButton;return{sendButton:{shape:t?.shape??"circle",icon:t?.icon??"arrowUp",variant:t?.variant??"filled"}}}function nv(e,t){let r=(e??rd).slice(0,4),n=r.some(i=>i?.label&&i.layout==="help"),o=new Set,s=[];for(let i of r){if(!i?.label||!i?.layout)continue;let c=i.contentCollectionIds?.filter(Boolean),u=i.id??c?.[0]??i.layout;for(;o.has(u);)u=`${u}-${s.length}`;o.add(u);let p={id:u,label:i.label,layout:i.layout};c?.length&&(p.contentCollectionIds=c),i.layout==="home"&&(p.brandName=i.brandName,p.greetingText=i.greetingText,p.showGreeting=!(i.hideGreeting??!1),p.showSearchBar=n&&!(i.hideSearchBar??!1),p.showRecentConversations=t&&!(i.hideRecentConversations??!1),i.userAvatars?.length&&(p.userAvatars=i.userAvatars),i.status&&(p.status=i.status),p.contentBlockTitle=i.contentBlockTitle),s.push(p)}let a=Object.fromEntries(s.map(i=>[i.id,i]));return{list:s,byId:a}}function ov(e,t){let r=e?.callout?.text?{shape:"pill",position:"auto",delayMs:1200,autoDismissMs:0,animated:!0,persistent:!0,...e.callout}:null;return{variant:e?.variant??Sn.variant,size:e?.size??Sn.size,label:e?.label??Sn.label,icon:e?.icon??Sn.icon,hidden:e?.hidden??Sn.hidden,...t&&{personaName:t},callout:r}}function to(e,t){return e==="host"?"host":t??e}function Ms(e,t,r,n){let o=kn(t,e.availableLocales,e.defaultLocale);if(o===e.locale&&r===e.themeMode&&n===e.textSize)return e;let s={...e};return o!==e.locale&&(s.locale=o,s.strings=gi(o,e.stringsOverride)),r!==e.themeMode&&(s.themeMode=r),n!==e.textSize&&(s.textSize=n),s}function Si(e){return typeof e=="object"&&e!==null&&!Array.isArray(e)}var iv=["agent","presentation","behavior","theme","launcher","header","composer","feedback","i18n","footer","features","tracking","endpoints","history"];function Ls(e,t){if(!t)return e;let r={...e};for(let s of iv){let a=t[s];if(a===void 0)continue;let i=e[s];if(s==="theme"){i===void 0?r[s]=a:typeof i=="string"&&typeof a=="object"&&a!==null&&(r[s]={...a,mode:i});continue}s!=="i18n"&&(r[s]=cd(Si(a)?a:{},Si(i)?i:void 0))}t.modules!==void 0&&e.modules===void 0&&(r.modules=t.modules),t.dataApiBaseUrl!==void 0&&e.dataApiBaseUrl===void 0&&(r.dataApiBaseUrl=t.dataApiBaseUrl);let n=e.i18n,o=t.i18n;if(n||o){let s=cd(Si(o)?o:{},Si(n)?n:void 0);o?.availableLocales!==void 0&&(s.availableLocales=o.availableLocales),o?.defaultLocale!==void 0&&(s.defaultLocale=o.defaultLocale);let a=n?.strings,i=o?.strings;(a||i)&&(s.strings=av(i,a)),r.i18n=s}return r}function cd(e,t){if(!t)return e;let r={...e};for(let[n,o]of Object.entries(t))o!==void 0&&(r[n]=o);return r}function av(e,t){if(!e)return t;if(!t)return e;let r=hi(e),n=hi(t);if(!r&&!n)return{...e,...t};let o={},s=r?e:{en:e},a=n?t:{en:t};for(let[i,c]of Object.entries(s))o[i]={...c};for(let[i,c]of Object.entries(a))o[i]={...o[i],...c};return o}var sv=["clear","expand","fullscreen","popOut","sound","history","language","theme","textSize","close"];function lv(e){return typeof e=="object"&&e!==null&&!Array.isArray(e)}function Ar(e){return e!=="false"}function cv(e){return Wc(e)?bi[e]:void 0}function dv(e){let t=Number.parseInt(e,10);return Number.isFinite(t)&&t>=0?t:void 0}function uv(e){return e.split(",").map(t=>t.trim()).filter(Boolean)}var ud=[["public-key","publicKey"],["ai-agent-deployment-id","aiAgentDeploymentId"],["base-url","baseUrl"],["agent-api-base-url","agentApiBaseUrl"],["data-api-base-url","dataApiBaseUrl"],["continue-link","continueLink"],["theme","theme",e=>e]],pd=[["mode","mode",e=>e],["position","position",e=>e]],_d=[["width","width"],["height","height"]],fd=[["response-mode","responseMode",e=>e],["start-minimized","startMinimized",Ar],["show-reasoning","showReasoning",Ar],["step-display","stepDisplay",cv],["show-sources","showSources",Ar],["disable-message-feedback","disableMessageFeedback",Ar],["auto-send-suggestions","autoSendSuggestions",Ar],["card-answer-wait-seconds","cardAnswerWaitSeconds",dv],["pop-out-url","popOutUrl"]],md=[["locale","locale"]],pv=new Set(sv);function _v(e){return uv(e).filter(t=>pv.has(t))}var gd=[["launcher-variant","variant",e=>e],["launcher-size","size",e=>e],["launcher-icon","icon"],["launcher-hidden","hidden",Ar]],vd=[["features-disable-file-upload","disableFileUpload",Ar],["features-disable-email-transcript","disableEmailTranscript",Ar],["features-voice","voice",e=>e]],hd=[["endpoint-upload","upload"],["endpoint-transcribe","transcribe"]],yd=[["user-id","id"],["user-email","email"],["user-name","name"]],bd=[["page-area","area"],["page-url","url"],["page-path","path"],["page-title","title"]],fv=["launcher-label","callout-text","callout-delay","actions","user-context","page-context"],mv=[ud,pd,_d,fd,md,gd,vd,hd,yd,bd],gv=new Set(["start-minimized"]),Ns=[...mv.flatMap(e=>e.map(([t])=>t).filter(t=>!gv.has(t))),...fv];function Os(e){let t={};function r(f){let v=e(f);return v===null||v===""?void 0:v}for(let[f,v,g]of ud){let x=r(f);x!==void 0&&Reflect.set(t,v,g?g(x):x)}let n=Jr(r,pd),o=Jr(r,_d);(n||o)&&(t.presentation={...n,...o?{size:o}:{}});let s=Jr(r,fd);s&&(t.behavior=s);let a=Jr(r,md);a&&(t.i18n=a);let i=vv(e,r);i&&(t.launcher=i);let c=Jr(r,vd);c&&(t.features=c);let u=Jr(r,hd);u&&(t.endpoints=u);let p=dd(r,yd,"user-context");p&&(t.userContext=p);let _=dd(r,bd,"page-context");_&&(t.pageContext=_);let d=r("actions");return d!==void 0&&(t.header={actions:_v(d)}),t}function Jr(e,t){let r={};for(let[n,o,s]of t){let a=e(n);a!==void 0&&Reflect.set(r,o,s?s(a):a)}return Object.keys(r).length>0?r:null}function dd(e,t,r){let n={};for(let[i,c]of t){let u=e(i);u!==void 0&&(n[c]=u)}let o={},s=e(r);if(s)try{let i=JSON.parse(s);if(lv(i))for(let[c,u]of Object.entries(i))(typeof u=="string"||typeof u=="number"||typeof u=="boolean")&&(o[c]=u)}catch{}let a={...o,...n};return Object.keys(a).length>0?a:null}function vv(e,t){let r=Jr(t,gd)??{},n=e("launcher-label");n!==null&&(r.label=n);let o=t("callout-text");if(o){let s=Number.parseInt(t("callout-delay")??"",10);r.callout={text:o,...Number.isFinite(s)?{delayMs:s}:{}}}return Object.keys(r).length>0?r:null}var Pd=ae.scope("track"),hv=64,yv=256,bv=10;function xd(e,t){let r=typeof e=="string"?e.trim():"";if(!r||r.length>hv){Pd.warn("track: ignored an event without a name of 1\u201364 characters",{name:e});return}let n=Object.fromEntries(Object.entries(typeof t=="object"&&t!==null?t:{}).filter(o=>typeof o[1]=="string"||typeof o[1]=="boolean"||Number.isFinite(o[1])));return JSON.stringify(n).length>yv?(Pd.warn("track: sent the event without its data, which is over 256 characters",{name:r}),{name:r}):Object.keys(n).length>0?{name:r,data:n}:{name:r}}function Sd(e){let t=[];return e.on("hostEvent",r=>{t.push({...r,at:Date.now()}),t.length>bv&&t.shift()}),t}function Wt(){let e=Date.now(),t=new Uint8Array(16);t[0]=Math.floor(e/2**40)&255,t[1]=Math.floor(e/2**32)&255,t[2]=e>>>24&255,t[3]=e>>>16&255,t[4]=e>>>8&255,t[5]=e&255,Pv(t.subarray(6)),t[6]=(t[6]??0)&15|112,t[8]=(t[8]??0)&63|128;let r=Array.from(t,n=>n.toString(16).padStart(2,"0")).join("");return`${r.slice(0,8)}-${r.slice(8,12)}-${r.slice(12,16)}-${r.slice(16,20)}-${r.slice(20)}`}function Pv(e){if(typeof crypto<"u"&&typeof crypto.getRandomValues=="function"){crypto.getRandomValues(e);return}for(let t=0;t<e.length;t++)e[t]=Math.floor(Math.random()*256)}var Er=ae.scope("persistence");function Cn(e,t=Pi,r){let n=r?`${e}.${r}`:e,o=`${q.cssPrefix}.${n}.storageVersion`,s=t.get(o)??void 0,a=s?`.v${s}`:"",i=`${q.cssPrefix}.${n}${a}`,c=`${q.cssPrefix}${a}.visitorId`,u=`${q.cssPrefix}${a}.lastUserSub`,p=`${i}.conversationId`,_=`${i}.userPrefs`,d=`${i}.panelOpen`,f=`${i}.panelSize`,v=`${i}.calloutDismissed`,g=`${i}.sidebarCollapsed`,x=`${i}.activeModule`,w=`${i}.seenNewsId`,y=`${i}.historyCount`,S=`${i}.loginReturn`,b=`${i}.loginPromptDismissedIn`,k={getVisitorId(){let h=t.get(c);if(h)return h;let m=Wt();return t.set(c,m),m},loadLastUserSub(){return t.get(u)??void 0},saveLastUserSub(h){t.set(u,h)},loadConversationId(){return t.get(p)??void 0},saveConversationId(h){Er.trace("saveConversationId",{id:h,scope:n}),h?t.set(p,h):t.remove(p)},loadDraft(h){return t.get(`${i}.draft.${h}`)??""},saveDraft(h,m){let P=`${i}.draft.${h}`;m?t.set(P,m):t.remove(P)},loadMessageQueue(h){let m=t.get(`${i}.messageQueue.${h}`);if(!m)return[];try{let P=JSON.parse(m);return!Array.isArray(P)||!P.every(xv)?[]:P}catch(P){return Er.warn("loadMessageQueue parse failed",{error:P}),[]}},saveMessageQueue(h,m){let P=`${i}.messageQueue.${h}`;if(m.length===0){t.remove(P);return}try{t.set(P,JSON.stringify(m))}catch(R){Er.warn("saveMessageQueue serialise failed",{error:R})}},loadUserPrefs(){let h=t.get(_);if(!h)return{};try{return $s(JSON.parse(h))}catch(m){return Er.warn("loadUserPrefs parse failed",{error:m}),{}}},saveUserPrefs(h){try{t.set(_,JSON.stringify(h))}catch(m){Er.warn("saveUserPrefs serialise failed",{error:m})}},patchUserPrefs(h){let m=k.loadUserPrefs();k.saveUserPrefs({...m,...h})},loadPanelOpen(){let h=t.get(d);return h==="1"?!0:h==="0"?!1:null},savePanelOpen(h){t.set(d,h?"1":"0")},loadPanelSize(){let h=t.get(f);return h==="normal"||h==="expanded"||h==="fullscreen"?h:null},savePanelSize(h){t.set(f,h)},loadCalloutDismissed(h){if(!h)return!1;let m=t.get(v);return!!m&&m===h},saveCalloutDismissed(h){h?t.set(v,h):t.remove(v)},loadSidebarCollapsed(){let h=t.get(g);return h==="1"?!0:h==="0"?!1:null},saveSidebarCollapsed(h){t.set(g,h?"1":"0")},loadActiveModule(){return t.get(x)||null},saveActiveModule(h){t.set(x,h)},loadSeenNewsId(){return t.get(w)||null},saveSeenNewsId(h){t.set(w,h)},loadHistoryCount(){let h=t.get(y);if(!h)return null;let m=Number.parseInt(h,10);return Number.isFinite(m)&&m>=0?m:null},saveHistoryCount(h){t.set(y,String(h))},rememberStorageVersion(h){h&&h!==t.get(o)&&(Er.debug("rememberStorageVersion (force-reset on next load)",{version:h}),t.set(o,h))},saveLoginReturn(h){Qr.set(S,JSON.stringify(h))},takeLoginReturn(){let h=Qr.get(S);if(h){Qr.remove(S);try{let m=JSON.parse(h);return wi(m)&&typeof m.conversationId=="string"&&m.conversationId&&typeof m.draft=="string"?{conversationId:m.conversationId,draft:m.draft}:void 0}catch(m){Er.warn("takeLoginReturn parse failed",{error:m});return}}},loadLoginPromptDismissedIn(){return Qr.get(b)??void 0},dismissLoginPromptIn(h){Qr.set(b,h)},clearConversation(){t.remove(p)},reset(){let h=t.get(p);h&&(t.remove(`${i}.draft.${h}`),t.remove(`${i}.messageQueue.${h}`));for(let m of[S,b])Qr.remove(m);for(let m of[c,u,p,_,f,v,g,x,w,y])t.remove(m);Er.info("reset: forgot the visitor",{scope:n})}};return k}function wi(e){return typeof e=="object"&&e!==null&&!Array.isArray(e)}function xv(e){return wi(e)&&typeof e.id=="string"&&e.id.length>0&&typeof e.text=="string"}function $s(e){if(!wi(e))return{};let t={};return typeof e.locale=="string"&&(t.locale=e.locale),typeof e.soundMuted=="boolean"&&(t.soundMuted=e.soundMuted),(e.themeMode==="auto"||e.themeMode==="light"||e.themeMode==="dark")&&(t.themeMode=e.themeMode),(e.textSize==="small"||e.textSize==="normal"||e.textSize==="large")&&(t.textSize=e.textSize),wi(e.widgetSize)&&typeof e.widgetSize.width=="number"&&typeof e.widgetSize.height=="number"&&(t.widgetSize={width:e.widgetSize.width,height:e.widgetSize.height}),t}var ki="6.6.0";var Sv="1",wd=60,wv=2e3,Ds={open:()=>{},close:()=>{},expand:e=>({on:e}),fullscreen:e=>({on:e}),send:e=>({attachments:e.attachmentCount}),message:e=>({role:e.role}),stop:()=>{},clear:()=>{},suggestion:()=>{},toggleHistory:e=>({view:e.view}),handshake:()=>{},toolResult:()=>{},toolDecision:e=>({approved:e.approved}),hostEvent:e=>({name:e.name,data:e.data&&JSON.stringify(e.data)}),messageFeedback:e=>({value:e.value??"none"}),contentView:e=>({section:e.section,count:e.count}),contentOpen:e=>({contentId:e.contentId,contentCollectionId:e.contentCollectionId}),contentSearch:e=>({qlen:e.queryLength,hits:e.hitCount}),contentRead:e=>({contentId:e.contentId}),contentLinkClick:e=>({contentId:e.contentId}),attach:e=>({count:e.count,bytes:e.totalBytes}),voiceStart:()=>{},voiceStop:e=>({ms:e.durationMs}),voiceCancel:()=>{},localeChange:e=>({locale:e}),themeChange:e=>({theme:e}),textSizeChange:e=>({size:e}),soundToggle:e=>({muted:e.muted}),sidebarToggle:e=>({collapsed:e.collapsed}),calloutDismiss:()=>{},error:()=>{}};function kv(){let e=navigator;return e.globalPrivacyControl===!0||e.doNotTrack==="1"}function Cv(){return location.origin+location.pathname}function Tv(){try{return document.referrer?new URL(document.referrer).origin:""}catch{return""}}function kd(e,t){let r=Math.random(),n=0,o=0,s=new Set;function a(_,d){let{tracking:f,publicKey:v,aiAgentDeploymentId:g,mode:x,themeMode:w}=t.getOptions();if(!f.enabled||kv()||r>=f.sampleRate)return;let y=performance.now();if(y-n>6e4&&(n=y,o=0),++o>wd)return;let S=new URLSearchParams;S.set("v",Sv),S.set("_ev",ki),S.set("e",_),f.token&&S.set("tk",f.token),v&&S.set("pk",v),g&&S.set("dep",g),S.set("vid",t.getVisitorId());let b=t.getConversationId();b&&S.set("cid",b),S.set("url",Cv());let k=Tv();k&&S.set("ref",k),S.set("sw",String(screen.width)),S.set("sh",String(screen.height)),S.set("vw",String(innerWidth)),S.set("vh",String(innerHeight)),S.set("dpr",String(devicePixelRatio)),S.set("lang",navigator.language);try{S.set("tz",Intl.DateTimeFormat().resolvedOptions().timeZone)}catch{}if(S.set("m",x),S.set("th",w),d)for(let[R,I]of Object.entries(d))I!==void 0&&S.set(R,String(I));S.set("ts",String(Date.now()));let h=`${f.endpoint}?${S}`;if(h.length>wv)return;let m=new Image(1,1);s.add(m);function P(){return s.delete(m)}m.addEventListener("load",P,{once:!0}),m.addEventListener("error",P,{once:!0}),m.src=h}let i=[];function c(_,d){if(i&&_!=="handshake"){i.length<wd&&i.push([_,d]);return}let f=i??[];i=void 0;for(let[v,g]of f)a(v,g);a(_,d)}function u(_,d){return Ds[_]?.(d)}let p=Object.keys(Ds).filter(_=>Object.hasOwn(Ds,_)).map(_=>e.on(_,d=>c(_,u(_,d))));return()=>{for(let _ of p)_();s.clear()}}var Cd=`.__P__-generative-ui{display:grid;gap:var(--__P__-space-3);overflow-wrap:anywhere;white-space:pre-wrap}.__P__-generative-ui p{margin:0}.__P__-generative-ui-grid-container{container:__P__-generative-ui-grid / inline-size;min-width:0}.__P__-generative-ui-grid{display:grid;grid-template-columns:minmax(0,1fr);gap:16px}.__P__-generative-ui-cell{display:flex;flex-direction:column;align-self:start;min-width:0;gap:16px}.__P__-generative-ui-grid[data-equal-heights]>.__P__-generative-ui-cell{align-self:stretch}.__P__-generative-ui-grid[data-equal-heights]>.__P__-generative-ui-cell>:only-child{flex:1}@container __P__-generative-ui-grid (min-width: 496px){.__P__-generative-ui-grid:is([data-columns="2"],[data-columns="3"],[data-columns="4"]){grid-template-columns:repeat(2,minmax(0,1fr))}.__P__-generative-ui-grid:is([data-columns="2"],[data-columns="3"],[data-columns="4"])>.__P__-generative-ui-cell:is([data-span="2"],[data-span="3"],[data-span="4"]){grid-column:span 2}}@container __P__-generative-ui-grid (min-width: 752px){.__P__-generative-ui-grid:is([data-columns="3"],[data-columns="4"]){grid-template-columns:repeat(3,minmax(0,1fr))}.__P__-generative-ui-grid:is([data-columns="3"],[data-columns="4"])>.__P__-generative-ui-cell:is([data-span="3"],[data-span="4"]){grid-column:span 3}}@container __P__-generative-ui-grid (min-width: 1008px){.__P__-generative-ui-grid[data-columns="4"]{grid-template-columns:repeat(4,minmax(0,1fr))}.__P__-generative-ui-grid[data-columns="4"]>.__P__-generative-ui-cell[data-span="4"]{grid-column:span 4}}.__P__-generative-ui section{display:flex;flex-direction:column;gap:var(--__P__-space-2);padding:var(--__P__-space-3);border:1px solid var(--__P__-border);border-radius:var(--__P__-radius-md);min-width:0}.__P__-generative-ui-metric{font-size:1.6em;font-weight:700}.__P__-generative-ui-table{overflow-x:auto}.__P__-generative-ui table{width:100%;border-collapse:collapse;white-space:normal}.__P__-generative-ui caption{text-align:start;font-weight:600;padding-bottom:var(--__P__-space-2)}.__P__-generative-ui th,.__P__-generative-ui td{text-align:start;padding:var(--__P__-space-2);border-bottom:1px solid var(--__P__-border)}.__P__-generative-ui-chart{display:block;width:100%;color:var(--__P__-accent)}.__P__-generative-ui-axis{stroke:var(--__P__-border)}.__P__-generative-ui-data{display:flex;flex-wrap:wrap;gap:var(--__P__-space-2);font-size:.85em}.__P__-generative-ui-carousel{display:flex;gap:var(--__P__-space-3);margin:0 calc(var(--__P__-space-1) * -1);padding:0 var(--__P__-space-1) var(--__P__-space-2);overflow-x:auto;scroll-snap-type:x mandatory;scroll-padding-inline:var(--__P__-space-1);scrollbar-width:thin;min-width:0}.__P__-generative-ui-carousel>[role=listitem]{display:flex;flex:0 0 min(250px,80%);scroll-snap-align:start;min-width:0}.__P__-generative-ui-carousel>[role=listitem]>section{flex:1}.__P__-generative-ui-product{overflow:hidden}.__P__-generative-ui>.__P__-generative-ui-product{max-width:320px}.__P__-generative-ui-footer{display:flex;flex-direction:column;gap:var(--__P__-space-1);margin-top:auto}.__P__-generative-ui-hint{min-height:1.4em;line-height:1.4;color:var(--__P__-fg-muted);font-size:var(--__P__-text-xs)}.__P__-generative-ui-photo{display:block;flex:none;width:calc(100% + 2 * var(--__P__-space-3));aspect-ratio:4 / 3;margin:calc(var(--__P__-space-3) * -1) calc(var(--__P__-space-3) * -1) var(--__P__-space-1);overflow:hidden;background:var(--__P__-hover)}.__P__-generative-ui-thumb{display:block;flex:0 0 auto;width:48px;height:48px;overflow:hidden;border-radius:var(--__P__-radius-sm);background:var(--__P__-hover)}.__P__-generative-ui-photo img,.__P__-generative-ui-thumb img{display:block;width:100%;max-width:none;height:100%;object-fit:cover}.__P__-generative-ui-heading{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:var(--__P__-space-2)}.__P__-generative-ui-product>.__P__-generative-ui-heading{justify-content:flex-start}.__P__-generative-ui-title{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden}.__P__-generative-ui a{color:inherit}.__P__-generative-ui .__P__-generative-ui-title a,.__P__-generative-ui .__P__-generative-ui-lines a,.__P__-generative-ui .__P__-generative-ui-actions>a{text-decoration:none}.__P__-generative-ui .__P__-generative-ui-title a:hover,.__P__-generative-ui .__P__-generative-ui-lines span>a:hover{text-decoration:underline}.__P__-generative-ui-pill{display:inline-flex;align-items:center;padding:2px var(--__P__-space-2);border-radius:var(--__P__-radius-sm);background:var(--__P__-hover);color:var(--__P__-fg-muted);font-size:var(--__P__-text-xs);font-weight:600}.__P__-generative-ui-muted{color:var(--__P__-fg-muted);font-size:var(--__P__-text-xs)}.__P__-generative-ui-star{color:var(--__P__-warning)}.__P__-generative-ui-price{display:flex;flex-wrap:wrap;align-items:baseline;gap:0 var(--__P__-space-2);font-variant-numeric:tabular-nums}.__P__-generative-ui-price strong{font-size:1.1em}.__P__-generative-ui-price s{color:var(--__P__-fg-muted)}.__P__-generative-ui-description{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;overflow:hidden;color:var(--__P__-fg-muted)}.__P__-generative-ui-option{display:grid;gap:var(--__P__-space-1);min-width:0;margin:0;padding:0;border:0}.__P__-generative-ui-option legend{padding:0 0 var(--__P__-space-1);color:var(--__P__-fg-muted);font-size:var(--__P__-text-xs);font-weight:600}.__P__-generative-ui-option div{display:flex;gap:6px;min-width:0;margin:-4px;padding:4px;overflow-x:auto;overflow-y:hidden;scrollbar-width:none}.__P__-generative-ui-option div::-webkit-scrollbar{display:none}.__P__-generative-ui-option div[data-cut-end]{mask-image:linear-gradient(to right,#000 calc(100% - 32px),transparent)}.__P__-generative-ui-option div[data-cut-start]{mask-image:linear-gradient(to right,transparent,#000 32px)}.__P__-generative-ui-option div[data-cut-start][data-cut-end]{mask-image:linear-gradient(to right,transparent,#000 32px,#000 calc(100% - 32px),transparent)}.__P__-generative-ui-option div:dir(rtl)[data-cut-end]{mask-image:linear-gradient(to left,#000 calc(100% - 32px),transparent)}.__P__-generative-ui-option div:dir(rtl)[data-cut-start]{mask-image:linear-gradient(to left,transparent,#000 32px)}.__P__-generative-ui-option div:dir(rtl)[data-cut-start][data-cut-end]{mask-image:linear-gradient(to left,transparent,#000 32px,#000 calc(100% - 32px),transparent)}.__P__-generative-ui-option button{flex:0 0 auto;min-height:32px;padding:0 10px;border:1px solid var(--__P__-border);border-radius:var(--__P__-radius-sm);background:var(--__P__-bg-elevated);color:var(--__P__-fg);font:inherit;font-size:var(--__P__-text-sm);white-space:nowrap;cursor:pointer;transition:background var(--__P__-dur-quick) var(--__P__-ease),border-color var(--__P__-dur-quick) var(--__P__-ease)}.__P__-generative-ui-option button:hover{border-color:var(--__P__-border-strong)}.__P__-generative-ui-option button[aria-pressed=true]{border-color:var(--__P__-accent);box-shadow:inset 0 0 0 1px var(--__P__-accent);font-weight:600}.__P__-generative-ui-option button:disabled{color:var(--__P__-fg-muted);text-decoration:line-through;opacity:.6;cursor:not-allowed}.__P__-generative-ui-actions{display:flex;flex-wrap:wrap;gap:var(--__P__-space-2);margin-top:auto;padding-top:var(--__P__-space-1)}.__P__-generative-ui-actions:not([data-small=true])>*{flex:1 1 auto}.__P__-generative-ui-actions>*{display:inline-flex;align-items:center;justify-content:center;min-height:36px;padding:0 var(--__P__-space-3);border:1px solid var(--__P__-border);border-radius:var(--__P__-radius-sm);background:var(--__P__-bg-elevated);color:var(--__P__-fg);font:inherit;font-size:var(--__P__-text-sm);font-weight:600;text-decoration:none;white-space:nowrap;min-width:0;overflow:hidden;text-overflow:ellipsis;cursor:pointer;transition:background var(--__P__-dur-quick) var(--__P__-ease),border-color var(--__P__-dur-quick) var(--__P__-ease)}.__P__-generative-ui-actions[data-small=true]>*{min-height:28px;padding:0 var(--__P__-space-2);font-size:var(--__P__-text-xs)}.__P__-generative-ui-actions>:hover{border-color:var(--__P__-border-strong)}.__P__-generative-ui-actions>[data-primary=true]{border-color:var(--__P__-accent);background:var(--__P__-accent);color:var(--__P__-on-accent)}.__P__-generative-ui-actions>:focus-visible,.__P__-generative-ui-option button:focus-visible{outline:2px solid var(--__P__-focus);outline-offset:2px}.__P__-generative-ui-actions>:disabled{border-color:var(--__P__-border);background:var(--__P__-hover);color:var(--__P__-fg-muted);cursor:not-allowed}.__P__-generative-ui .__P__-generative-ui-lines{display:grid;margin:0;padding:0;list-style:none}.__P__-generative-ui .__P__-generative-ui-lines li{display:flex;margin:0;gap:var(--__P__-space-3);padding:var(--__P__-space-2) 0;border-bottom:1px solid var(--__P__-border)}.__P__-generative-ui .__P__-generative-ui-lines li:first-child{padding-top:0}.__P__-generative-ui-lines li>div{display:grid;flex:1;gap:2px;min-width:0}.__P__-generative-ui-line-head{display:flex;align-items:baseline;gap:var(--__P__-space-3)}.__P__-generative-ui-line-head>span{display:-webkit-box;flex:1;min-width:0;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:2}.__P__-generative-ui-line-head>strong{flex:none;font-variant-numeric:tabular-nums}.__P__-generative-ui-totals{display:grid;gap:var(--__P__-space-1);margin:0;font-variant-numeric:tabular-nums}.__P__-generative-ui-totals div{display:flex;justify-content:space-between;gap:var(--__P__-space-3);color:var(--__P__-fg-muted)}.__P__-generative-ui-totals div:last-child{padding-top:var(--__P__-space-1);color:var(--__P__-fg);font-weight:700}.__P__-generative-ui-totals dd{margin:0}.__P__-generative-ui-notice{padding:var(--__P__-space-2) var(--__P__-space-3);border-radius:var(--__P__-radius-sm);background:var(--__P__-hover)}.__P__-generative-ui-notice[data-severity=warning]{color:var(--__P__-fg);background:color-mix(in oklch,var(--__P__-warning) 16%,transparent)}.__P__-generative-ui-notice[data-severity=error]{color:var(--__P__-danger-text);background:var(--__P__-danger-bg)}.__P__-generative-ui .__P__-generative-ui-timeline{display:grid;gap:var(--__P__-space-2);margin:0;padding:0;list-style:none}.__P__-generative-ui .__P__-generative-ui-timeline li{display:flex;margin:0;align-items:baseline;gap:var(--__P__-space-2);color:var(--__P__-fg-muted)}.__P__-generative-ui-timeline li:before{content:"";flex:0 0 auto;width:8px;height:8px;border:2px solid var(--__P__-border-strong);border-radius:50%}.__P__-generative-ui-timeline li[data-done=true]{color:var(--__P__-fg);font-weight:600}.__P__-generative-ui-timeline li[data-done=true]:before{border-color:var(--__P__-accent);background:var(--__P__-accent)}.__P__-generative-ui-timeline li>:first-child{flex:1}
|
|
1
|
+
var sg=Object.defineProperty;var lg=(e,t,r)=>t in e?sg(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r;var ee=(e,t,r)=>lg(e,typeof t!="symbol"?t+"":t,r);var xe,Lc,ps,Cr,ds,ui,Nc,ci,Oc,_s,us,cg,eo=Symbol.for("pv"),pi={},_i=[],dg=/^m(i|n|o|s|text|space)$/,fi=Array.isArray,fs=_i.slice,Gr=Object.assign;function Wr(e){e&&e.parentNode&&e.remove()}function Ir(e,t,r){var n,o,s,a={},i=arguments.length;for(s in t)s=="key"?n=t[s]:s=="ref"&&typeof e!="function"?o=t[s]:a[s]=t[s];return i>2&&(a.children=i>3?fs.call(arguments,2):r),Zn(e,a,n,o,null)}function Zn(e,t,r,n,o){var s={type:e,props:t,key:r,ref:n,__k:null,__:null,__b:0,__e:null,__c:null,constructor:eo,__v:o||++Lc,__i:-1,__u:0};return!o&&xe.vnode&&xe.vnode(s),s}function he(e){return e.children}function Xt(e,t){this.props=e,this.context=t,this.__g=0}function Tr(e,t){if(t==null)return e.__&&Tr(e.__,e.__i+1);for(var r;t<e.__k.length;t++)if((r=e.__k[t])&&r.__e)return r.__e;return typeof e.type!="function"||e.props.__P?null:Tr(e)}function ug(e){var t,r=e.__v,n=r.__e,o=[],s=[],a=e.__P;a&&((t=Gr({constructor:eo},r)).__v=r.__v+1,xe.vnode&&xe.vnode(t),gs(a,t,r,e.__n,a.namespaceURI,32&r.__u?[n]:null,o,n||Tr(r),32&r.__u,s),t.__v=r.__v,t.__.__k[t.__i]=t,zc(o,t,s),r.__=r.__e=null,t.__e!=n&&$c(t))}function $c(e){if((e=e.__)&&e.__c&&!e.props.__P)return e.__e=null,e.__k.some(function(t){return t&&(e.__e=t.__e)}),$c(e)}function Ec(e){(8&e.__g||(e.__g|=8,Cr.push(e),ui++))&&ds==xe.debounceRendering||((ds=xe.debounceRendering)||queueMicrotask)(Dc)}function Dc(){try{for(var e,t=1;Cr.length;)Cr.length>t&&Cr.sort(Nc),e=Cr.shift(),t=Cr.length,8&e.__g&&ug(e)}finally{(ui=Cr.length)&&(ds||queueMicrotask)(Dc)}}function qc(e,t,r,n,o,s,a,i,c,u,p){var _,d,f,v,g,x,w=n.__k||_i,y=t.length;for(c=pg(r,t,w,c,y),_=0;_<y;_++)(f=r.__k[_])!=null&&(d=~f.__i&&w[f.__i]||pi,f.__i=_,x=gs(e,f,d,o,s,a,i,c,u,p),v=f.__e,(d.ref!=f.ref||8&d.__u)&&(d.ref&&vs(d.ref,null,f,d),f.ref&&p.push(f.ref,f.__c||v,f)),g=g||v,4&f.__u?(c=Bc(f,c,e,!d.__v),d.__e&&(d.__e=null)):typeof f.type=="function"&&x!==void 0?c=x:v&&(c=v.nextSibling),f.__u&=-21);return r.__e=g,c}function pg(e,t,r,n,o){var s,a,i,c,u,p,_,d,f,v=r.length,g=v,x=0,w=0,y=e.__k=Array(o);for(s=0;s<o;s++)(a=t[s])!=null&&typeof a!="boolean"&&typeof a!="function"?(typeof a!="object"||a.constructor===String?a=y[s]=Zn(null,a):fi(a)?a=y[s]=Zn(he,{children:a}):a.constructor===eo&&a.__b?a=y[s]=Zn(a.type,a.props,a.key,a.ref,a.__v):y[s]=a,c=s+x,a.__=e,a.__b=e.__b+1,i=null,~(u=a.__i=_g(a,r,c,g))&&(g--,(i=r[u])&&(i.__u|=2)),i&&i.__v?(a.__u|=16,u==c-1?x--:u==c+1?x++:u!=c&&(u>c?x--:x++,w=1)):(~u||(o>v?x--:o<v&&x++),typeof a.type!="function"&&(a.__u|=4))):y[s]=null;if(w){for(p=[],_=[],s=0;s<o;s++)if((a=y[s])&&16&a.__u){for(x=0,d=p.length;x<d;)p[f=x+d>>1]<a.__i?x=f+1:d=f;p[x]=a.__i,_[s]=x+1}for(x=p.length;s--;)_[s]&&(_[s]==x?x--:y[s].__u|=4)}if(g)for(s=0;s<v;s++)!(i=r[s])||2&i.__u||(i.__e==n&&(n=Tr(i)),hs(i,i));return n}function Bc(e,t,r,n){var o,s,a,i;if(typeof e.type=="function"){if(e.props.__P)return t;if(o=e.__k)for(s=0;s<o.length;s++)o[s]&&(o[s].__=e,t=Bc(o[s],t,r,!1));return t}for(t&&!t.parentNode&&(t=Tr(e))&&!t.parentNode&&(t=null),a=e.__e,i=t;i&&i.nodeType==8;)i=i.nextSibling;for(a!=i&&(!n&&r.moveBefore&&a.parentNode?r.moveBefore(a,t):r.insertBefore(a,t||null)),t=a;(t=t&&t.nextSibling)&&t.nodeType==8&&!t.data.startsWith("$s"););return t}function ms(e,t){return t=t||[],e!=null&&typeof e!="boolean"&&(fi(e)?e.some(function(r){ms(r,t)}):t.push(e)),t}function _g(e,t,r,n){var o,s=e.key,a=e.type,i=t[r],c=i&&!(2&i.__u);if(i===null&&s==null||c&&s==i.key&&a==i.type)return r;if(n>(c?1:0)){for(o=r-1;o>=0;o--)if((i=t[o])&&!(2&i.__u)&&s==i.key&&a==i.type)return o;for(o=r+1;o<t.length;o++)if((i=t[o])&&!(2&i.__u)&&s==i.key&&a==i.type)return o}return-1}function Mc(e,t,r){r==null&&(r=""),t[0]=="-"?e.setProperty(t,r):e[t]=r}function li(e,t,r,n,o){var s,a;if(t=="style")if(typeof r=="string")e.style.cssText=r;else{if(typeof n=="string"&&(e.style.cssText=n=""),n)for(t in n)r&&t in r||Mc(e.style,t);if(r)for(t in r)n&&r[t]==n[t]||Mc(e.style,t,r[t])}else if(t[0]=="o"&&t[1]=="n")typeof r!="function"&&(r=null),typeof n!="function"&&(n=null),(e.__e||(e.__e={}))[t]=r,r&&n||(a=us[t]||(us[t]=fg(t)),(e.__a||(e.__a={}))[t]=_s,s=t!=(t=t.replace(Oc,"$1")),(t=t.slice(2))[0]<"a"&&(t=t.toLowerCase()),r?e.addEventListener(t,a,s):e.removeEventListener(t,a,s));else{if(o=="http://www.w3.org/2000/svg")t=t.replace(/xlink(H|:h)/,"h").replace(/sName$/,"s");else if(t!="width"&&t!="height"&&t!="href"&&t!="list"&&t!="form"&&t!="tabIndex"&&t!="download"&&t!="rowSpan"&&t!="colSpan"&&t!="role"&&t!="popover"&&t in e)try{return void(e[t]=r??"")}catch{}if(typeof r=="function")return;r==null||r===!1&&t[4]!="-"?e.removeAttribute(t):e.setAttribute(t,t=="popover"&&r==1?"":r)}}function fg(e){return function(t){var r=this.__e;if(r){if(r=r[e],t[ci]==null)t[ci]=_s++;else if(t[ci]<this.__a[e])return;return r(xe.event?xe.event(t):t)}}}function gs(e,t,r,n,o,s,a,i,c,u){var p,_,d,f,v,g,x,w,y,S,b,k,h,m,P,R,I,A,C=t.type;if(t.constructor!==eo)return null;128&r.__u&&(c=32&r.__u,p=r.__c.__z)&&(t.__u|=c,_=s=[],p.nodeType==8?i=di(p,s):s.push(p),i=s[0]||i),(p=xe.__b)&&p(t);e:if(typeof C=="function"){d=a.length;try{if(w=t.props,y=(p=C.prototype)&&p.render,S=(p=C.contextType)&&n[p.__c],b=p?S?S.props.value:p.__:n,(f=r.__c)?(t.__c=f,2&f.__g&&(f.__g|=1)):(y?t.__c=f=new C(w,b):(t.__c=f=new Xt(w,b),f.constructor=C,f.render=gg),S&&S.sub(f),f.state||(f.state={}),f.__n=n,f.__g|=8,f.__h=[],f.__k=[]),y&&(f.__s||(f.__s=f.state),C.getDerivedStateFromProps&&(f.__s==f.state&&(f.__s=Gr({},f.__s)),Gr(f.__s,C.getDerivedStateFromProps(w,f.__s)))),v=f.props,g=f.state,f.__v=t,r.__c){if(w!==v&&y&&!C.getDerivedStateFromProps&&f.componentWillReceiveProps&&f.componentWillReceiveProps(w,b),t.__v==r.__v&&!(8&f.__g)||!(4&f.__g)&&f.shouldComponentUpdate&&f.shouldComponentUpdate(w,f.__s,b)===!1){t.__v!=r.__v&&(f.props=w,f.state=f.__s,f.__g&=-9),t.__e=r.__e,t.__k=r.__k,t.__k.some(function(M){M&&(M.__=t)}),_i.push.apply(f.__h,f.__k),f.__k=[],f.__h.length&&a.push(f),i=Tr(r);break e}f.componentWillUpdate&&f.componentWillUpdate(w,f.__s,b),y&&f.componentDidUpdate&&f.__h.push(function(){f.componentDidUpdate(v,g,x)})}else y&&!C.getDerivedStateFromProps&&f.componentWillMount&&f.componentWillMount(),y&&f.componentDidMount&&f.__h.push(f.componentDidMount);f.context=b,f.props=w,f.__P=e,f.__g&=-5,k=xe.__r,h=y?25:0;do f.__g&=-9,k&&k(t),p=f.render(f.props,f.state=f.__s,f.context);while(8&f.__g&&++h<25);y&&(_i.push.apply(f.__h,f.__k),f.__k=[]),f.state=f.__s,f.getChildContext&&(n=Gr({},n,f.getChildContext())),y&&r.__c&&f.getSnapshotBeforeUpdate&&(x=f.getSnapshotBeforeUpdate(v,g)),m=p&&p.type===he&&p.key==null?p.props.children:p,w.__P&&(p=i,o=(e=w.__P).namespaceURI,c=s=null,r.props&&r.props.__P!=e&&(r.__k.some(function(M){M&&hs(M,M)}),r.__k=null),i=r.__k?Tr(r,0):null),i=qc(e,fi(m)?m:[m],t,r,n,o,s,a,i,c,u),w.__P&&(t.__e=null,i=p),t.__u&=-161,_&&_.some(Wr),f.__h.length&&a.push(f),1&f.__g&&(f.__g&=-4)}catch(M){if(a.length=d,t.__v=null,c||s)if(M&&M.then){if(t.__u|=128|c,s){for(~(I=s.indexOf(i||void 0))||(I=s.length);(A=s[I-1])&&A.nodeType==8;)I--;for(;I<s.length;I++)if(A=s[I])if(s[I]=null,P){if(A==R)break}else{if(A.nodeType!=8)break;A.data.startsWith("$s")&&(R=di(P=A))}}if(!P){for(;i&&i.nodeType==8&&i.nextSibling;)i=i.nextSibling;P=i}(p=di(P=t.__c.__z||(t.__c.__z=P)))?(t.__e=P,i=p):t.__e=i,i=i&&i.nextSibling}else s&&s.some(Wr);else t.__e=r.__e;t.__k||(t.__k=r.__k||[]),M&&M.then||Uc(t),xe.__e(M,t,r)}}else i=t.__e=mg(r.__e,t,r,n,o,s,a,c,u,e);return(p=xe.diffed)&&p(t),i}function di(e,t){if(e&&e.nodeType==8&&e.data.startsWith("$s"))for(var r=1;e=e.nextSibling;){if(e.nodeType==8){if(e.data.startsWith("$s"))r++;else if(e.data.startsWith("/$s")&&!--r)return e}t&&t.push(e)}}function Uc(e){e&&(e.__c&&(e.__c.__g|=4),e.__k&&e.__k.some(Uc))}function zc(e,t,r){for(var n=0;n<r.length;)vs(r[n++],r[n++],r[n++]);xe.__c&&xe.__c(t,e),e.some(function(o){try{e=o.__h,o.__h=[],e.some(function(s){s.call(o)})}catch(s){xe.__e(s,o.__v)}})}function mg(e,t,r,n,o,s,a,i,c,u){var p,_,d,f,v,g,x,w,y=r.props||pi,S=t.props,b=t.type;if(b=="svg"?o="http://www.w3.org/2000/svg":b=="math"?o="http://www.w3.org/1998/Math/MathML":o||(o="http://www.w3.org/1999/xhtml"),s){for(p=0;p<s.length;p++)if((v=s[p])&&(b?v.localName==b:v.nodeType==3)){e=v,s[p]=null;break}}if(!e){if(w=u.ownerDocument||document,!b)return w.createTextNode(S);e=w.createElementNS(o,b,S.is?S:u),i&&(xe.__m&&xe.__m(t,s),i=!1),s=null}if(b){if(u=b=="template"&&e.content||e,s=b=="textarea"&&S.defaultValue!=null?null:s&&fs.call(u.childNodes),!i&&s)for(y={},p=0;p<e.attributes.length;p++)y[(v=e.attributes[p]).name]=v.value;for(p in y)v=y[p],p=="dangerouslySetInnerHTML"?d=v:p=="children"||p in S||p=="value"&&"defaultValue"in S||p=="checked"&&"defaultChecked"in S||li(e,p,null,v,o);for(p in S)v=S[p],p=="children"?f=v:p=="dangerouslySetInnerHTML"?_=v:p=="value"?g=v:p=="checked"?x=v:i&&typeof v!="function"||y[p]===v||li(e,p,v,y[p],o);_?(i||d&&(_.__html==d.__html||_.__html==e.innerHTML)||(e.innerHTML=_.__html),t.__k=[]):(d&&(e.textContent=""),(b=="foreignObject"||o=="http://www.w3.org/1998/Math/MathML"&&dg.test(b))&&(o="http://www.w3.org/1999/xhtml"),qc(u,fi(f)?f:[f],t,r,n,o,s,a,s?s[0]:r.__k&&Tr(r,0),i,c),s&&s.some(Wr)),i&&b!="textarea"||(p="value",b=="progress"&&g==null?e.removeAttribute(p):g==null||g===e[p]&&(b!="progress"||g)||li(e,p,g,y[p],o),p="checked",x!=null&&x!=e[p]&&li(e,p,x,y[p],o))}else y===S||i&&e.data==S||(e.data=S);return e}function vs(e,t,r,n){try{typeof e=="function"?t?t.__x=e(t)||1:n&&(n=n.__c||n.__e)&&(t=n.__x)&&(n.__x=null,typeof t=="function"?t():e(null)):e.current=t}catch(o){xe.__e(o,r)}}function hs(e,t,r){var n,o,s,a;if(xe.unmount&&xe.unmount(e),!(n=e.ref)||n.current&&n.current!=e.__e||vs(n,null,t,e),n=e.__c){if(n.componentWillUnmount)try{n.componentWillUnmount()}catch(i){xe.__e(i,t)}n.__P=n.__n=null}if(n=e.__k)for(a=0;a<n.length;a++)n[a]&&hs(n[a],t,typeof e.type!="function"||r&&!e.props.__P);!r&&(n=e.__c)&&(n=n.__z)&&(o=di(n,s=[]))&&(n==e.__e&&s.some(Wr),Wr(o),Wr(n)),r||Wr(e.__e),e.__e=e.__c=e.__=null}function gg(e,t,r){return this.constructor(e,r)}function Rr(e,t){var r,n,o,s;xe.__&&xe.__(e,t),t.nodeType==9&&(t=t.documentElement),n=(r=e&&32&e.__u)?null:t.__k,t.__k=Zn(he,{children:[e]}),o=[],s=[],gs(t,t.__k,n||pi,pi,t.namespaceURI,n?null:t.firstChild?fs.call(t.childNodes):null,o,n?n.__e:t.firstChild,r,s),zc(o,t.__k,s),t.__k.props.children=null}xe={__e:function(e,t,r,n){for(var o,s,a;t=t.__;)if((o=t.__c)&&!(1&o.__g)){o.__g|=4;try{if((a=(s=o.constructor)&&s.getDerivedStateFromError)&&o.setState(s.getDerivedStateFromError(e)),o.componentDidCatch&&(o.componentDidCatch(e,n||{}),a=1),a&&8&o.__g)return void(o.__g|=2)}catch(i){e=i}}throw ui=0,e}},Lc=0,ps=function(e){return e!=null&&e.constructor===eo},Xt.prototype.setState=function(e,t){var r=this.__s;r&&r!=this.state||(r=this.__s=Gr({},this.state)),typeof e=="function"&&(e=e(Gr({},r),this.props)),e&&(Gr(r,e),this.__v&&(t&&this.__k.push(t),Ec(this)))},Xt.prototype.forceUpdate=function(e){this.__v&&(this.__g|=4,e&&this.__h.push(e),Ec(this))},Xt.prototype.render=he,Cr=[],ui=0,Nc=function(e,t){return e.__v.__b-t.__v.__b},ci=Symbol(),Oc=/(PointerCapture)$|Capture$/i,_s=0,us={},cg=0;var vg=["en","fr","es","ar","he","zh"];function Fc(e){let t=e?.split("-")[0]?.toLowerCase();return vg.find(r=>r===t)??"en"}function bs(e){return typeof e=="object"&&e!==null&&!Array.isArray(e)}function ys(e){return bs(e)?e.id??e.key:void 0}function Ps(e,t){return bs(e)&&bs(t)?Object.fromEntries([...new Set([...Object.keys(e),...Object.keys(t)])].map(r=>[r,Ps(e[r],t[r])])):Array.isArray(e)&&Array.isArray(t)&&t.length>0&&t.every(r=>ys(r)!==void 0)?e.map(r=>Ps(r,t.find(n=>ys(n)===ys(r)))):t==null||typeof t=="string"&&!t.trim()?e:t}function Kr(e,t){let r=t?.toLowerCase(),n=r?.split("-")[0],o=e.translations??[],s=o.find(c=>c.locale.toLowerCase()===r)??o.find(c=>c.locale.toLowerCase().split("-")[0]===n);if(!s)return e;let{locale:a,...i}=s;return Ps(e,i)}var mi={attach:"Attach files",file:"File",attachmentMimeRejected:"{name} isn't a file type this chat accepts.",attachmentTooLarge:"{name} is too large. Files can be up to {max} together.",poweredBy:"Powered by {name}",attachmentTooMany:"The attachment limit is {count}.",attachmentUploadFailed:"{name} couldn't be uploaded.",conversationLoading:"Loading chat\u2026",loadPreviousMessages:"Load previous messages",close:"Close",collapse:"Collapse",collapseSidebar:"Collapse sidebar",composerPlaceholder:"Type a message\u2026",dateLastWeek:"Last 7 days",dateOlder:"Older",dateToday:"Today",dateYesterday:"Yesterday",dropZone:"Drop files to attach",dropZoneRejected:"These files can't be attached here",errorGeneric:"Something went wrong",errorRateLimited:"Too many requests \u2014 please try again in a moment.",errorRateLimitedIn:"Too many requests \u2014 please try again in {seconds} s.",errorOffline:"Can't reach the server. Check your connection and try again.",errorServer:"Something went wrong on our side. Please try again.",errorOriginNotAllowed:"This chat isn't set up for this website yet.",errorMessageTooLong:"That message is too long. Shorten it and send it again.",errorReconnecting:"Connection lost. Reconnecting\u2026",errorRetry:"Retry",expand:"Expand",expandSidebar:"Expand sidebar",exitFullscreen:"Exit fullscreen",fullscreen:"Fullscreen",history:"History",historyBack:"Back to chat",historyEmpty:"No previous chats yet",historyLoading:"Loading your chats\u2026",historyContinue:"Continue the chat",historyTitle:"Chat history",loadMoreConversations:"Load more conversations",language:"Language",launcherOpen:"Open chat",launcherAsk:"Ask {name}",micBlocked:"The microphone is blocked for this site, so voice input can't start.",micStart:"Start voice input",micStop:"Stop voice input",moreActions:"More actions",newConversation:"New chat",panelTitle:"Chat",popOut:"Open in new tab",resizeHandle:"Drag to resize",scrollToBottom:"Scroll to latest",send:"Send",queueMessage:"Queue message",removeQueuedMessage:"Remove queued message",removeAttachment:"Remove {name}",suggestedReplies:"Suggested replies",compactingContext:"Optimizing conversation context\u2026",soundOff:"Sound off",soundOn:"Sound on",talkToOperator:"Talk to a person",connectingOperator:"Connecting you to a person\u2026",noOperatorAvailable:"No one's available right now \u2014 leave your details and we'll follow up.",chattingWithOperator:"You're chatting with {operator}",operatorBadgeTitle:"Live chat",chatNotice:"You're chatting with an AI assistant.",cancelOperatorRequest:"Keep chatting with the AI",loginPrompt:"Log in for faster, more personalized support",loginAction:"Log in",loginRequired:"Log in to chat with us",loginExpired:"Your login expired. Log in to continue this chat.",loginExpiredGuest:"Your login expired. Log in to continue this chat, or start a new conversation as a guest.",startAsGuest:"Start new conversation",loggedInAs:"Logged in as {name}",loggedIn:"Logged in",dismissLoginPrompt:"Hide",emailTranscript:"Email transcript",emailTranscriptPrompt:"Get a copy of this conversation by email.",emailTranscriptEmailLabel:"Email address",emailTranscriptSend:"Send transcript",emailTranscriptSending:"Sending\u2026",emailTranscriptSent:"Sent to {email}.",emailTranscriptAlreadySent:"This conversation was already emailed. Send a new message to email it again.",emailTranscriptLimited:"You've reached the limit for now. Try again later.",emailTranscriptFailed:"Couldn't send it. Try again.",emailTranscriptNotDelivered:"Couldn't send to this address. Check it and try again.",emailTranscriptCancel:"Cancel",emailTranscriptDone:"Done",stop:"Stop",theme:"Theme",themeAuto:"Auto",themeDark:"Dark",themeLight:"Light",textSize:"Text size",textSizeSmall:"Small",textSizeNormal:"Normal",textSizeLarge:"Large",loading:"Loading\u2026",visualPreparing:"Preparing visual\u2026",visualError:"This visual could not be displayed.",visualPartial:"Some parts of this visual could not be displayed.",visualSoldOut:"Sold out",visualCartEmpty:"Your cart is empty.",visualQuantity:"Qty",visualChoose:"Choose",thinking:"Thinking\u2026",thought:"Thought",thoughtFor:"Thought for {time}",toolResult:"Result",sources:"Sources",feedbackUp:"Good response",feedbackDown:"Bad response",feedbackThanks:"Thanks for your feedback",copy:"Copy",copied:"Copied",copyTicketReference:"Ticket {reference}, copy",tabHome:"Home",tabConversations:"Chats",tabHelp:"Help",tabNews:"News",modulesEmpty:"Nothing here yet",chatUnavailable:"This chat isn't available right now",moduleBack:"Back",contentLoading:"Loading\u2026",contentHelpful:"Was this helpful?",homeGreeting:"How can we help?",homeGreetingNamed:"Hi {name} \u{1F44B}",homeGreetingLead:"How can we help?",homeSearchPlaceholder:"Search for help",homeAskPlaceholder:"Ask a question\u2026",homeWhatsNew:"What's new",homeContentTitle:"Popular articles",homeStatus:"Status",helpTitle:"Help",helpSearchPlaceholder:"Search for help",helpEmpty:"No help articles yet",helpLoading:"Loading help\u2026",helpSearchEmpty:"No results for \u201C{query}\u201D",helpShowMore:"Show more",newsTitle:"News",newsEmpty:"No news yet",newsLoading:"Loading news\u2026",newsShowMore:"Show more",newsUnseen:"New post",unread:"Unread",formRequired:"This field is required",formInvalidEmail:"Enter a valid email address",formInvalidTel:"Enter a valid phone number",formInvalidNumber:"Enter a valid number",formOtherPlaceholder:"Type your answer\u2026",inputRequired:"Questions for you",askFallbackQuestion:"Please provide the missing information.",inputBadge:"Questions",inputAnswered:"Answered",inputSkipped:"Skipped",showOptions:"Show options",hideOptions:"Hide options",qtypeText:"Your answer",qtypeEmail:"Email address",qtypePhone:"Phone number",qtypeNumber:"Number",qtypeDate:"Date",qtypeChooseOne:"Pick one",qtypeChooseAny:"Pick any",qtypeBoolean:"Yes / No",inputSubmit:"Submit answers",inputSubmitHint:"Enter to send \xB7 Shift+Enter = new line",inputSkip:"Skip",confirmYes:"Yes",confirmNo:"No",approve:"Approve",decline:"Decline",changeAnswer:"Change answer",approvalPrompt:"{action}?",approvalEditHint:"You can change your answer until this step continues.",stepInput:"Input",stepWorking:"Working",stepWorkingOnIt:"Working on it\u2026",stepNeedsYourApproval:"Needs your approval",stepWaitingForVisitor:"Waiting for the visitor",stepApproved:"Approved",stepDeclined:"Declined",stepReplaced:"Replaced",stepFailed:"Failed",stepDidNotWork:"Didn't work",decidedYouApproved:"You approved",decidedYouDeclined:"You declined",decidedVisitorApproved:"Visitor approved",decidedVisitorDeclined:"Visitor declined",decidedTeamApproved:"Approved by a team member",decidedTeamDeclined:"Declined by a team member",decidedMemberApproved:"Approved by {name}",decidedMemberDeclined:"Declined by {name}",stepRawData:"Raw data",decidedRulesApproved:"Auto-approved",decidedRulesDeclined:"Auto-declined",edit:"Edit",statusError:"Error",toolStepsFailed:"{count} failed",statusStopped:"Stopped",toolStepsStopped:"Stopped after {count} steps",toolStepsStoppedOne:"Stopped after 1 step"},hg={attach:"Joindre des fichiers",file:"Fichier",attachmentMimeRejected:"{name} n'est pas un type de fichier accept\xE9 ici.",attachmentTooLarge:"{name} est trop volumineux. Les fichiers peuvent faire jusqu'\xE0 {max} au total.",poweredBy:"Propuls\xE9 par {name}",attachmentTooMany:"Limite de pi\xE8ces jointes : {count}.",attachmentUploadFailed:"{name} n'a pas pu \xEAtre envoy\xE9.",conversationLoading:"Chargement du chat\u2026",loadPreviousMessages:"Charger les messages pr\xE9c\xE9dents",close:"Fermer",collapse:"R\xE9duire",collapseSidebar:"R\xE9duire la barre lat\xE9rale",composerPlaceholder:"\xC9crivez un message\u2026",dateLastWeek:"7 derniers jours",dateOlder:"Plus ancien",dateToday:"Aujourd'hui",dateYesterday:"Hier",dropZone:"D\xE9posez les fichiers \xE0 joindre",dropZoneRejected:"Ces fichiers ne peuvent pas \xEAtre joints ici",errorGeneric:"Une erreur s'est produite",errorRateLimited:"Trop de requ\xEAtes \u2014 veuillez r\xE9essayer dans un instant.",errorRateLimitedIn:"Trop de requ\xEAtes \u2014 veuillez r\xE9essayer dans {seconds} s.",errorOffline:"Impossible de joindre le serveur. V\xE9rifiez votre connexion et r\xE9essayez.",errorServer:"Un probl\xE8me est survenu de notre c\xF4t\xE9. Veuillez r\xE9essayer.",errorOriginNotAllowed:"Ce chat n'est pas encore configur\xE9 pour ce site.",errorMessageTooLong:"Ce message est trop long. Raccourcissez-le et renvoyez-le.",errorReconnecting:"Connexion perdue. Reconnexion\u2026",errorRetry:"R\xE9essayer",expand:"Agrandir",expandSidebar:"D\xE9velopper la barre lat\xE9rale",exitFullscreen:"Quitter le plein \xE9cran",fullscreen:"Plein \xE9cran",history:"Historique",historyBack:"Retour au chat",historyEmpty:"Aucun chat pour le moment",historyContinue:"Poursuivre le chat",historyLoading:"Chargement de vos chats\u2026",historyTitle:"Historique des chats",loadMoreConversations:"Charger plus de conversations",language:"Langue",launcherOpen:"Ouvrir le chat",launcherAsk:"Demander \xE0 {name}",micBlocked:"Le micro est bloqu\xE9 pour ce site : la saisie vocale ne peut pas d\xE9marrer.",micStart:"D\xE9marrer la saisie vocale",micStop:"Arr\xEAter la saisie vocale",moreActions:"Plus d'actions",newConversation:"Nouveau chat",panelTitle:"Chat",popOut:"Ouvrir dans un nouvel onglet",resizeHandle:"Glisser pour redimensionner",scrollToBottom:"Aller au plus r\xE9cent",send:"Envoyer",queueMessage:"Mettre le message en attente",removeQueuedMessage:"Retirer le message en attente",removeAttachment:"Retirer {name}",suggestedReplies:"R\xE9ponses sugg\xE9r\xE9es",compactingContext:"Optimisation du contexte de la conversation\u2026",soundOff:"Son d\xE9sactiv\xE9",soundOn:"Son activ\xE9",talkToOperator:"Parler \xE0 une personne",connectingOperator:"Mise en relation avec une personne\u2026",noOperatorAvailable:"Personne n'est disponible pour le moment \u2014 laissez vos coordonn\xE9es et nous reviendrons vers vous.",chattingWithOperator:"Vous discutez avec {operator}",operatorBadgeTitle:"Chat en direct",chatNotice:"Vous discutez avec un assistant IA.",cancelOperatorRequest:"Continuer avec l'IA",loginPrompt:"Connectez-vous pour une aide plus rapide et personnalis\xE9e",loginAction:"Se connecter",loginRequired:"Connectez-vous pour discuter avec nous",loginExpired:"Votre connexion a expir\xE9. Connectez-vous pour poursuivre cette conversation.",loginExpiredGuest:"Votre connexion a expir\xE9. Connectez-vous pour poursuivre cette conversation, ou d\xE9marrez-en une nouvelle en tant qu'invit\xE9.",startAsGuest:"D\xE9marrer une nouvelle conversation",loggedInAs:"Connect\xE9 en tant que {name}",loggedIn:"Connect\xE9",dismissLoginPrompt:"Masquer",emailTranscript:"Envoyer la transcription",emailTranscriptPrompt:"Recevez une copie de cette conversation par e-mail.",emailTranscriptEmailLabel:"Adresse e-mail",emailTranscriptSend:"Envoyer la transcription",emailTranscriptSending:"Envoi\u2026",emailTranscriptSent:"Envoy\xE9 \xE0 {email}.",emailTranscriptAlreadySent:"Cette conversation a d\xE9j\xE0 \xE9t\xE9 envoy\xE9e. Envoyez un nouveau message pour l'envoyer \xE0 nouveau.",emailTranscriptLimited:"Vous avez atteint la limite pour le moment. R\xE9essayez plus tard.",emailTranscriptFailed:"Envoi impossible. R\xE9essayez.",emailTranscriptNotDelivered:"Envoi impossible \xE0 cette adresse. V\xE9rifiez-la et r\xE9essayez.",emailTranscriptCancel:"Annuler",emailTranscriptDone:"Termin\xE9",stop:"Arr\xEAter",theme:"Th\xE8me",themeAuto:"Auto",themeDark:"Sombre",themeLight:"Clair",textSize:"Taille du texte",textSizeSmall:"Petite",textSizeNormal:"Normale",textSizeLarge:"Grande",loading:"Chargement\u2026",visualPreparing:"Pr\xE9paration du visuel\u2026",visualError:"Ce visuel n\u2019a pas pu \xEAtre affich\xE9.",visualPartial:"Certaines parties de ce visuel n\u2019ont pas pu \xEAtre affich\xE9es.",visualSoldOut:"\xC9puis\xE9",visualCartEmpty:"Votre panier est vide.",visualQuantity:"Qt\xE9",visualChoose:"Choisissez",thinking:"R\xE9flexion\u2026",thought:"R\xE9flexion",thoughtFor:"R\xE9flexion : {time}",toolResult:"R\xE9sultat",sources:"Sources",feedbackUp:"Bonne r\xE9ponse",feedbackDown:"Mauvaise r\xE9ponse",feedbackThanks:"Merci pour votre retour",copy:"Copier",copied:"Copi\xE9",copyTicketReference:"Ticket {reference}, copier",tabHome:"Accueil",tabConversations:"Chats",tabHelp:"Aide",tabNews:"Actualit\xE9s",modulesEmpty:"Rien pour le moment",chatUnavailable:"Ce chat n'est pas disponible pour le moment",moduleBack:"Retour",contentLoading:"Chargement\u2026",contentHelpful:"Cela vous a-t-il aid\xE9 ?",homeGreeting:"Comment pouvons-nous vous aider ?",homeGreetingNamed:"Bonjour {name} \u{1F44B}",homeGreetingLead:"Comment pouvons-nous vous aider ?",homeSearchPlaceholder:"Rechercher de l'aide",homeAskPlaceholder:"Posez une question\u2026",homeWhatsNew:"Nouveaut\xE9s",homeContentTitle:"Articles populaires",homeStatus:"Statut",helpTitle:"Aide",helpSearchPlaceholder:"Rechercher de l'aide",helpEmpty:"Aucun article d'aide pour le moment",helpLoading:"Chargement de l'aide\u2026",helpSearchEmpty:"Aucun r\xE9sultat pour \xAB\xA0{query}\xA0\xBB",helpShowMore:"Afficher plus",newsTitle:"Actualit\xE9s",newsEmpty:"Aucune actualit\xE9 pour le moment",newsLoading:"Chargement des actualit\xE9s\u2026",newsShowMore:"Afficher plus",newsUnseen:"Nouvelle publication",unread:"Non lu",formRequired:"Ce champ est obligatoire",formInvalidEmail:"Saisissez une adresse e-mail valide",formInvalidTel:"Saisissez un num\xE9ro de t\xE9l\xE9phone valide",formInvalidNumber:"Saisissez un nombre valide",formOtherPlaceholder:"Saisissez votre r\xE9ponse\u2026",inputRequired:"Questions pour vous",askFallbackQuestion:"Veuillez fournir les informations manquantes.",inputBadge:"Questions",inputAnswered:"R\xE9pondu",inputSkipped:"Ignor\xE9",showOptions:"Afficher les options",hideOptions:"Masquer les options",qtypeText:"Votre r\xE9ponse",qtypeEmail:"Adresse e-mail",qtypePhone:"Num\xE9ro de t\xE9l\xE9phone",qtypeNumber:"Nombre",qtypeDate:"Date",qtypeChooseOne:"Choisir une",qtypeChooseAny:"Choisir plusieurs",qtypeBoolean:"Oui / Non",inputSubmit:"Envoyer les r\xE9ponses",inputSubmitHint:"Entr\xE9e pour envoyer \xB7 Maj+Entr\xE9e = saut de ligne",inputSkip:"Ignorer",confirmYes:"Oui",confirmNo:"Non",approve:"Approuver",decline:"Refuser",changeAnswer:"Modifier la r\xE9ponse",approvalPrompt:"{action} ?",approvalEditHint:"Vous pouvez modifier votre r\xE9ponse jusqu'\xE0 la reprise de cette \xE9tape.",stepInput:"Entr\xE9e",stepWorking:"En cours",stepWorkingOnIt:"En cours\u2026",stepNeedsYourApproval:"Votre accord est requis",stepWaitingForVisitor:"En attente du visiteur",stepApproved:"Approuv\xE9",stepDeclined:"Refus\xE9",stepReplaced:"Remplac\xE9",stepFailed:"\xC9chec",stepDidNotWork:"N'a pas fonctionn\xE9",decidedYouApproved:"Vous avez approuv\xE9",decidedYouDeclined:"Vous avez refus\xE9",decidedVisitorApproved:"Approuv\xE9 par le visiteur",decidedVisitorDeclined:"Refus\xE9 par le visiteur",decidedTeamApproved:"Approuv\xE9 par un membre de l'\xE9quipe",decidedTeamDeclined:"Refus\xE9 par un membre de l'\xE9quipe",decidedMemberApproved:"Approuv\xE9 par {name}",decidedMemberDeclined:"Refus\xE9 par {name}",stepRawData:"Donn\xE9es brutes",decidedRulesApproved:"Approuv\xE9 automatiquement",decidedRulesDeclined:"Refus\xE9 automatiquement",edit:"Modifier",statusError:"Erreur",toolStepsFailed:"{count} en \xE9chec",statusStopped:"Arr\xEAt\xE9",toolStepsStopped:"Arr\xEAt\xE9 apr\xE8s {count} \xE9tapes",toolStepsStoppedOne:"Arr\xEAt\xE9 apr\xE8s 1 \xE9tape"},yg={attach:"\u0625\u0631\u0641\u0627\u0642 \u0645\u0644\u0641\u0627\u062A",file:"\u0645\u0644\u0641",attachmentMimeRejected:"\u0646\u0648\u0639 \u0627\u0644\u0645\u0644\u0641 {name} \u063A\u064A\u0631 \u0645\u0642\u0628\u0648\u0644 \u0641\u064A \u0647\u0630\u0647 \u0627\u0644\u0645\u062D\u0627\u062F\u062B\u0629.",attachmentTooLarge:"\u0627\u0644\u0645\u0644\u0641 {name} \u0643\u0628\u064A\u0631 \u062C\u062F\u064B\u0627. \u064A\u0645\u0643\u0646 \u0623\u0646 \u064A\u0635\u0644 \u062D\u062C\u0645 \u0627\u0644\u0645\u0644\u0641\u0627\u062A \u0645\u0639\u064B\u0627 \u0625\u0644\u0649 {max}.",poweredBy:"\u0645\u062F\u0639\u0648\u0645 \u0645\u0646 {name}",attachmentTooMany:"\u0627\u0644\u062D\u062F \u0627\u0644\u0623\u0642\u0635\u0649 \u0644\u0644\u0645\u0631\u0641\u0642\u0627\u062A: {count}.",attachmentUploadFailed:"\u062A\u0639\u0630\u0651\u0631 \u0631\u0641\u0639 {name}.",conversationLoading:"\u062C\u0627\u0631\u064D \u062A\u062D\u0645\u064A\u0644 \u0627\u0644\u062F\u0631\u062F\u0634\u0629\u2026",loadPreviousMessages:"\u062A\u062D\u0645\u064A\u0644 \u0627\u0644\u0631\u0633\u0627\u0626\u0644 \u0627\u0644\u0633\u0627\u0628\u0642\u0629",close:"\u0625\u063A\u0644\u0627\u0642",collapse:"\u0637\u064A\u0651",collapseSidebar:"\u0637\u064A\u0651 \u0627\u0644\u0634\u0631\u064A\u0637 \u0627\u0644\u062C\u0627\u0646\u0628\u064A",composerPlaceholder:"\u0627\u0643\u062A\u0628 \u0631\u0633\u0627\u0644\u0629\u2026",dateLastWeek:"\u0622\u062E\u0631 \u0667 \u0623\u064A\u0627\u0645",dateOlder:"\u0623\u0642\u062F\u0645",dateToday:"\u0627\u0644\u064A\u0648\u0645",dateYesterday:"\u0623\u0645\u0633",dropZone:"\u0623\u0641\u0644\u062A \u0627\u0644\u0645\u0644\u0641\u0627\u062A \u0644\u0625\u0631\u0641\u0627\u0642\u0647\u0627",dropZoneRejected:"\u0644\u0627 \u064A\u0645\u0643\u0646 \u0625\u0631\u0641\u0627\u0642 \u0647\u0630\u0647 \u0627\u0644\u0645\u0644\u0641\u0627\u062A \u0647\u0646\u0627",errorGeneric:"\u062D\u062F\u062B \u062E\u0637\u0623 \u0645\u0627",errorRateLimited:"\u0637\u0644\u0628\u0627\u062A \u0643\u062B\u064A\u0631\u0629 \u062C\u062F\u064B\u0627 \u2014 \u064A\u0631\u062C\u0649 \u0627\u0644\u0645\u062D\u0627\u0648\u0644\u0629 \u0628\u0639\u062F \u0644\u062D\u0638\u0629.",errorRateLimitedIn:"\u0637\u0644\u0628\u0627\u062A \u0643\u062B\u064A\u0631\u0629 \u062C\u062F\u064B\u0627 \u2014 \u064A\u0631\u062C\u0649 \u0627\u0644\u0645\u062D\u0627\u0648\u0644\u0629 \u0628\u0639\u062F {seconds} \u062B.",errorOffline:"\u062A\u0639\u0630\u0651\u0631 \u0627\u0644\u0648\u0635\u0648\u0644 \u0625\u0644\u0649 \u0627\u0644\u062E\u0627\u062F\u0645. \u062A\u062D\u0642\u0651\u0642 \u0645\u0646 \u0627\u062A\u0635\u0627\u0644\u0643 \u0648\u062D\u0627\u0648\u0644 \u0645\u0631\u0629 \u0623\u062E\u0631\u0649.",errorServer:"\u062D\u062F\u062B \u062E\u0637\u0623 \u0645\u0646 \u062C\u0647\u062A\u0646\u0627. \u064A\u0631\u062C\u0649 \u0627\u0644\u0645\u062D\u0627\u0648\u0644\u0629 \u0645\u0631\u0629 \u0623\u062E\u0631\u0649.",errorOriginNotAllowed:"\u0647\u0630\u0647 \u0627\u0644\u0645\u062D\u0627\u062F\u062B\u0629 \u063A\u064A\u0631 \u0645\u064F\u0639\u062F\u0651\u0629 \u0644\u0647\u0630\u0627 \u0627\u0644\u0645\u0648\u0642\u0639 \u0628\u0639\u062F.",errorMessageTooLong:"\u0647\u0630\u0647 \u0627\u0644\u0631\u0633\u0627\u0644\u0629 \u0637\u0648\u064A\u0644\u0629 \u062C\u062F\u064B\u0627. \u0627\u062E\u062A\u0635\u0631\u0647\u0627 \u0648\u0623\u0631\u0633\u0644\u0647\u0627 \u0645\u0631\u0629 \u0623\u062E\u0631\u0649.",errorReconnecting:"\u0627\u0646\u0642\u0637\u0639 \u0627\u0644\u0627\u062A\u0635\u0627\u0644. \u062C\u0627\u0631\u064D \u0625\u0639\u0627\u062F\u0629 \u0627\u0644\u0627\u062A\u0635\u0627\u0644\u2026",errorRetry:"\u0625\u0639\u0627\u062F\u0629 \u0627\u0644\u0645\u062D\u0627\u0648\u0644\u0629",expand:"\u062A\u0648\u0633\u064A\u0639",expandSidebar:"\u062A\u0648\u0633\u064A\u0639 \u0627\u0644\u0634\u0631\u064A\u0637 \u0627\u0644\u062C\u0627\u0646\u0628\u064A",exitFullscreen:"\u0625\u0646\u0647\u0627\u0621 \u0645\u0644\u0621 \u0627\u0644\u0634\u0627\u0634\u0629",fullscreen:"\u0645\u0644\u0621 \u0627\u0644\u0634\u0627\u0634\u0629",history:"\u0627\u0644\u0633\u062C\u0644",historyBack:"\u0627\u0644\u0639\u0648\u062F\u0629 \u0625\u0644\u0649 \u0627\u0644\u062F\u0631\u062F\u0634\u0629",historyEmpty:"\u0644\u0627 \u062A\u0648\u062C\u062F \u062F\u0631\u062F\u0634\u0627\u062A \u0633\u0627\u0628\u0642\u0629 \u0628\u0639\u062F",historyContinue:"\u0645\u062A\u0627\u0628\u0639\u0629 \u0627\u0644\u062F\u0631\u062F\u0634\u0629",historyLoading:"\u062C\u0627\u0631\u064D \u062A\u062D\u0645\u064A\u0644 \u062F\u0631\u062F\u0634\u0627\u062A\u0643\u2026",historyTitle:"\u0633\u062C\u0644 \u0627\u0644\u062F\u0631\u062F\u0634\u0627\u062A",loadMoreConversations:"\u062A\u062D\u0645\u064A\u0644 \u0627\u0644\u0645\u0632\u064A\u062F \u0645\u0646 \u0627\u0644\u0645\u062D\u0627\u062F\u062B\u0627\u062A",language:"\u0627\u0644\u0644\u063A\u0629",launcherOpen:"\u0641\u062A\u062D \u0627\u0644\u062F\u0631\u062F\u0634\u0629",launcherAsk:"\u0627\u0633\u0623\u0644 {name}",micBlocked:"\u0627\u0644\u0645\u064A\u0643\u0631\u0648\u0641\u0648\u0646 \u0645\u062D\u0638\u0648\u0631 \u0644\u0647\u0630\u0627 \u0627\u0644\u0645\u0648\u0642\u0639\u060C \u0644\u0630\u0627 \u0644\u0627 \u064A\u0645\u0643\u0646 \u0628\u062F\u0621 \u0627\u0644\u0625\u062F\u062E\u0627\u0644 \u0627\u0644\u0635\u0648\u062A\u064A.",micStart:"\u0628\u062F\u0621 \u0627\u0644\u0625\u062F\u062E\u0627\u0644 \u0627\u0644\u0635\u0648\u062A\u064A",micStop:"\u0625\u064A\u0642\u0627\u0641 \u0627\u0644\u0625\u062F\u062E\u0627\u0644 \u0627\u0644\u0635\u0648\u062A\u064A",moreActions:"\u0625\u062C\u0631\u0627\u0621\u0627\u062A \u0625\u0636\u0627\u0641\u064A\u0629",newConversation:"\u062F\u0631\u062F\u0634\u0629 \u062C\u062F\u064A\u062F\u0629",panelTitle:"\u0627\u0644\u062F\u0631\u062F\u0634\u0629",popOut:"\u0641\u062A\u062D \u0641\u064A \u0639\u0644\u0627\u0645\u0629 \u062A\u0628\u0648\u064A\u0628 \u062C\u062F\u064A\u062F\u0629",resizeHandle:"\u0627\u0633\u062D\u0628 \u0644\u062A\u063A\u064A\u064A\u0631 \u0627\u0644\u062D\u062C\u0645",scrollToBottom:"\u0627\u0644\u0627\u0646\u062A\u0642\u0627\u0644 \u0625\u0644\u0649 \u0627\u0644\u0623\u062D\u062F\u062B",send:"\u0625\u0631\u0633\u0627\u0644",queueMessage:"\u0625\u0636\u0627\u0641\u0629 \u0627\u0644\u0631\u0633\u0627\u0644\u0629 \u0625\u0644\u0649 \u0642\u0627\u0626\u0645\u0629 \u0627\u0644\u0627\u0646\u062A\u0638\u0627\u0631",removeQueuedMessage:"\u0625\u0632\u0627\u0644\u0629 \u0627\u0644\u0631\u0633\u0627\u0644\u0629 \u0645\u0646 \u0642\u0627\u0626\u0645\u0629 \u0627\u0644\u0627\u0646\u062A\u0638\u0627\u0631",removeAttachment:"\u0625\u0632\u0627\u0644\u0629 {name}",suggestedReplies:"\u0631\u062F\u0648\u062F \u0645\u0642\u062A\u0631\u062D\u0629",compactingContext:"\u062C\u0627\u0631\u064D \u062A\u062D\u0633\u064A\u0646 \u0633\u064A\u0627\u0642 \u0627\u0644\u0645\u062D\u0627\u062F\u062B\u0629\u2026",soundOff:"\u0643\u062A\u0645 \u0627\u0644\u0635\u0648\u062A",soundOn:"\u062A\u0634\u063A\u064A\u0644 \u0627\u0644\u0635\u0648\u062A",talkToOperator:"\u0627\u0644\u062A\u062D\u062F\u062B \u0625\u0644\u0649 \u0634\u062E\u0635",connectingOperator:"\u062C\u0627\u0631\u064D \u062A\u0648\u0635\u064A\u0644\u0643 \u0628\u0634\u062E\u0635\u2026",noOperatorAvailable:"\u0644\u0627 \u064A\u0648\u062C\u062F \u0645\u0648\u0638\u0641\u0648\u0646 \u0645\u062A\u0627\u062D\u0648\u0646 \u0627\u0644\u0622\u0646 \u2014 \u0627\u062A\u0631\u0643 \u0628\u064A\u0627\u0646\u0627\u062A\u0643 \u0648\u0633\u0646\u062A\u0648\u0627\u0635\u0644 \u0645\u0639\u0643.",chattingWithOperator:"\u0623\u0646\u062A \u062A\u062A\u062D\u062F\u062B \u0645\u0639 {operator}",operatorBadgeTitle:"\u0645\u062D\u0627\u062F\u062B\u0629 \u0645\u0628\u0627\u0634\u0631\u0629",chatNotice:"\u0623\u0646\u062A \u062A\u062A\u062D\u062F\u062B \u0645\u0639 \u0645\u0633\u0627\u0639\u062F \u0630\u0643\u0627\u0621 \u0627\u0635\u0637\u0646\u0627\u0639\u064A.",cancelOperatorRequest:"\u0645\u062A\u0627\u0628\u0639\u0629 \u0627\u0644\u0645\u062D\u0627\u062F\u062B\u0629 \u0645\u0639 \u0627\u0644\u0630\u0643\u0627\u0621 \u0627\u0644\u0627\u0635\u0637\u0646\u0627\u0639\u064A",loginPrompt:"\u0633\u062C\u0651\u0644 \u0627\u0644\u062F\u062E\u0648\u0644 \u0644\u0644\u062D\u0635\u0648\u0644 \u0639\u0644\u0649 \u062F\u0639\u0645 \u0623\u0633\u0631\u0639 \u0648\u0645\u062E\u0635\u0651\u0635 \u0644\u0643",loginAction:"\u062A\u0633\u062C\u064A\u0644 \u0627\u0644\u062F\u062E\u0648\u0644",loginRequired:"\u0633\u062C\u0651\u0644 \u0627\u0644\u062F\u062E\u0648\u0644 \u0644\u0644\u062F\u0631\u062F\u0634\u0629 \u0645\u0639\u0646\u0627",loginExpired:"\u0627\u0646\u062A\u0647\u062A \u0635\u0644\u0627\u062D\u064A\u0629 \u062A\u0633\u062C\u064A\u0644 \u062F\u062E\u0648\u0644\u0643. \u0633\u062C\u0651\u0644 \u0627\u0644\u062F\u062E\u0648\u0644 \u0644\u0645\u062A\u0627\u0628\u0639\u0629 \u0647\u0630\u0647 \u0627\u0644\u0645\u062D\u0627\u062F\u062B\u0629.",loginExpiredGuest:"\u0627\u0646\u062A\u0647\u062A \u0635\u0644\u0627\u062D\u064A\u0629 \u062A\u0633\u062C\u064A\u0644 \u062F\u062E\u0648\u0644\u0643. \u0633\u062C\u0651\u0644 \u0627\u0644\u062F\u062E\u0648\u0644 \u0644\u0645\u062A\u0627\u0628\u0639\u0629 \u0647\u0630\u0647 \u0627\u0644\u0645\u062D\u0627\u062F\u062B\u0629\u060C \u0623\u0648 \u0627\u0628\u062F\u0623 \u0645\u062D\u0627\u062F\u062B\u0629 \u062C\u062F\u064A\u062F\u0629 \u0643\u0636\u064A\u0641.",startAsGuest:"\u0628\u062F\u0621 \u0645\u062D\u0627\u062F\u062B\u0629 \u062C\u062F\u064A\u062F\u0629",loggedInAs:"\u062A\u0645 \u062A\u0633\u062C\u064A\u0644 \u0627\u0644\u062F\u062E\u0648\u0644 \u0628\u0627\u0633\u0645 {name}",loggedIn:"\u062A\u0645 \u062A\u0633\u062C\u064A\u0644 \u0627\u0644\u062F\u062E\u0648\u0644",dismissLoginPrompt:"\u0625\u062E\u0641\u0627\u0621",emailTranscript:"\u0625\u0631\u0633\u0627\u0644 \u0646\u0635 \u0627\u0644\u0645\u062D\u0627\u062F\u062B\u0629",emailTranscriptPrompt:"\u0627\u062D\u0635\u0644 \u0639\u0644\u0649 \u0646\u0633\u062E\u0629 \u0645\u0646 \u0647\u0630\u0647 \u0627\u0644\u0645\u062D\u0627\u062F\u062B\u0629 \u0639\u0628\u0631 \u0627\u0644\u0628\u0631\u064A\u062F \u0627\u0644\u0625\u0644\u0643\u062A\u0631\u0648\u0646\u064A.",emailTranscriptEmailLabel:"\u0639\u0646\u0648\u0627\u0646 \u0627\u0644\u0628\u0631\u064A\u062F \u0627\u0644\u0625\u0644\u0643\u062A\u0631\u0648\u0646\u064A",emailTranscriptSend:"\u0625\u0631\u0633\u0627\u0644 \u0646\u0635 \u0627\u0644\u0645\u062D\u0627\u062F\u062B\u0629",emailTranscriptSending:"\u062C\u0627\u0631\u064D \u0627\u0644\u0625\u0631\u0633\u0627\u0644\u2026",emailTranscriptSent:"\u062A\u0645 \u0627\u0644\u0625\u0631\u0633\u0627\u0644 \u0625\u0644\u0649 {email}.",emailTranscriptAlreadySent:"\u062A\u0645 \u0625\u0631\u0633\u0627\u0644 \u0647\u0630\u0647 \u0627\u0644\u0645\u062D\u0627\u062F\u062B\u0629 \u0628\u0627\u0644\u0641\u0639\u0644. \u0623\u0631\u0633\u0644 \u0631\u0633\u0627\u0644\u0629 \u062C\u062F\u064A\u062F\u0629 \u0644\u0625\u0631\u0633\u0627\u0644\u0647\u0627 \u0645\u0631\u0629 \u0623\u062E\u0631\u0649.",emailTranscriptLimited:"\u0644\u0642\u062F \u0628\u0644\u063A\u062A \u0627\u0644\u062D\u062F \u0627\u0644\u0645\u0633\u0645\u0648\u062D \u0628\u0647 \u062D\u0627\u0644\u064A\u064B\u0627. \u062D\u0627\u0648\u0644 \u0645\u0631\u0629 \u0623\u062E\u0631\u0649 \u0644\u0627\u062D\u0642\u064B\u0627.",emailTranscriptFailed:"\u062A\u0639\u0630\u0651\u0631 \u0627\u0644\u0625\u0631\u0633\u0627\u0644. \u062D\u0627\u0648\u0644 \u0645\u0631\u0629 \u0623\u062E\u0631\u0649.",emailTranscriptNotDelivered:"\u062A\u0639\u0630\u0651\u0631 \u0627\u0644\u0625\u0631\u0633\u0627\u0644 \u0625\u0644\u0649 \u0647\u0630\u0627 \u0627\u0644\u0639\u0646\u0648\u0627\u0646. \u062A\u062D\u0642\u0651\u0642 \u0645\u0646\u0647 \u0648\u062D\u0627\u0648\u0644 \u0645\u0631\u0629 \u0623\u062E\u0631\u0649.",emailTranscriptCancel:"\u0625\u0644\u063A\u0627\u0621",emailTranscriptDone:"\u062A\u0645",stop:"\u0625\u064A\u0642\u0627\u0641",theme:"\u0627\u0644\u0645\u0638\u0647\u0631",themeAuto:"\u062A\u0644\u0642\u0627\u0626\u064A",themeDark:"\u062F\u0627\u0643\u0646",themeLight:"\u0641\u0627\u062A\u062D",textSize:"\u062D\u062C\u0645 \u0627\u0644\u0646\u0635",textSizeSmall:"\u0635\u063A\u064A\u0631",textSizeNormal:"\u0639\u0627\u062F\u064A",textSizeLarge:"\u0643\u0628\u064A\u0631",loading:"\u062C\u0627\u0631\u064D \u0627\u0644\u062A\u062D\u0645\u064A\u0644\u2026",visualPreparing:"\u062C\u0627\u0631\u064D \u0625\u0639\u062F\u0627\u062F \u0627\u0644\u0645\u062D\u062A\u0648\u0649 \u0627\u0644\u0645\u0631\u0626\u064A\u2026",visualError:"\u062A\u0639\u0630\u0631 \u0639\u0631\u0636 \u0647\u0630\u0627 \u0627\u0644\u0645\u062D\u062A\u0648\u0649 \u0627\u0644\u0645\u0631\u0626\u064A.",visualPartial:"\u062A\u0639\u0630\u0631 \u0639\u0631\u0636 \u0628\u0639\u0636 \u0623\u062C\u0632\u0627\u0621 \u0647\u0630\u0627 \u0627\u0644\u0645\u062D\u062A\u0648\u0649 \u0627\u0644\u0645\u0631\u0626\u064A.",visualSoldOut:"\u0646\u0641\u062F\u062A \u0627\u0644\u0643\u0645\u064A\u0629",visualCartEmpty:"\u0633\u0644\u062A\u0643 \u0641\u0627\u0631\u063A\u0629.",visualQuantity:"\u0627\u0644\u0643\u0645\u064A\u0629",visualChoose:"\u0627\u062E\u062A\u0631",thinking:"\u064A\u0641\u0643\u0651\u0631\u2026",thought:"\u062A\u0641\u0643\u064A\u0631",thoughtFor:"\u0641\u0643\u0651\u0631 \u0644\u0645\u062F\u0629 {time}",toolResult:"\u0627\u0644\u0646\u062A\u064A\u062C\u0629",sources:"\u0627\u0644\u0645\u0635\u0627\u062F\u0631",feedbackUp:"\u0631\u062F \u062C\u064A\u062F",feedbackDown:"\u0631\u062F \u0633\u064A\u0626",feedbackThanks:"\u0634\u0643\u0631\u064B\u0627 \u0639\u0644\u0649 \u0645\u0644\u0627\u062D\u0638\u0627\u062A\u0643",copy:"\u0646\u0633\u062E",copied:"\u062A\u0645 \u0627\u0644\u0646\u0633\u062E",copyTicketReference:"\u0627\u0644\u062A\u0630\u0643\u0631\u0629 {reference}\u060C \u0646\u0633\u062E",tabHome:"\u0627\u0644\u0631\u0626\u064A\u0633\u064A\u0629",tabConversations:"\u0627\u0644\u062F\u0631\u062F\u0634\u0627\u062A",tabHelp:"\u0627\u0644\u0645\u0633\u0627\u0639\u062F\u0629",tabNews:"\u0627\u0644\u0623\u062E\u0628\u0627\u0631",modulesEmpty:"\u0644\u0627 \u0634\u064A\u0621 \u0647\u0646\u0627 \u0628\u0639\u062F",chatUnavailable:"\u0647\u0630\u0647 \u0627\u0644\u0645\u062D\u0627\u062F\u062B\u0629 \u063A\u064A\u0631 \u0645\u062A\u0627\u062D\u0629 \u062D\u0627\u0644\u064A\u0627\u064B",moduleBack:"\u0631\u062C\u0648\u0639",contentLoading:"\u062C\u0627\u0631\u064D \u0627\u0644\u062A\u062D\u0645\u064A\u0644\u2026",contentHelpful:"\u0647\u0644 \u0643\u0627\u0646 \u0647\u0630\u0627 \u0645\u0641\u064A\u062F\u064B\u0627\u061F",homeGreeting:"\u0643\u064A\u0641 \u064A\u0645\u0643\u0646\u0646\u0627 \u0645\u0633\u0627\u0639\u062F\u062A\u0643\u061F",homeGreetingNamed:"\u0645\u0631\u062D\u0628\u064B\u0627 {name} \u{1F44B}",homeGreetingLead:"\u0643\u064A\u0641 \u064A\u0645\u0643\u0646\u0646\u0627 \u0645\u0633\u0627\u0639\u062F\u062A\u0643\u061F",homeSearchPlaceholder:"\u0627\u0628\u062D\u062B \u0639\u0646 \u0645\u0633\u0627\u0639\u062F\u0629",homeAskPlaceholder:"\u0627\u0637\u0631\u062D \u0633\u0624\u0627\u0644\u0627\u064B\u2026",homeWhatsNew:"\u0645\u0627 \u0627\u0644\u062C\u062F\u064A\u062F",homeContentTitle:"\u0645\u0642\u0627\u0644\u0627\u062A \u0634\u0627\u0626\u0639\u0629",homeStatus:"\u0627\u0644\u062D\u0627\u0644\u0629",helpTitle:"\u0627\u0644\u0645\u0633\u0627\u0639\u062F\u0629",helpSearchPlaceholder:"\u0627\u0628\u062D\u062B \u0639\u0646 \u0645\u0633\u0627\u0639\u062F\u0629",helpEmpty:"\u0644\u0627 \u062A\u0648\u062C\u062F \u0645\u0642\u0627\u0644\u0627\u062A \u0645\u0633\u0627\u0639\u062F\u0629 \u0628\u0639\u062F",helpLoading:"\u062C\u0627\u0631\u064D \u062A\u062D\u0645\u064A\u0644 \u0627\u0644\u0645\u0633\u0627\u0639\u062F\u0629\u2026",helpSearchEmpty:"\u0644\u0627 \u0646\u062A\u0627\u0626\u062C \u0644\u0640 \xAB{query}\xBB",helpShowMore:"\u0639\u0631\u0636 \u0627\u0644\u0645\u0632\u064A\u062F",newsTitle:"\u0627\u0644\u0623\u062E\u0628\u0627\u0631",newsEmpty:"\u0644\u0627 \u062A\u0648\u062C\u062F \u0623\u062E\u0628\u0627\u0631 \u0628\u0639\u062F",newsLoading:"\u062C\u0627\u0631\u064D \u062A\u062D\u0645\u064A\u0644 \u0627\u0644\u0623\u062E\u0628\u0627\u0631\u2026",newsShowMore:"\u0639\u0631\u0636 \u0627\u0644\u0645\u0632\u064A\u062F",newsUnseen:"\u0645\u0646\u0634\u0648\u0631 \u062C\u062F\u064A\u062F",unread:"\u063A\u064A\u0631 \u0645\u0642\u0631\u0648\u0621",formRequired:"\u0647\u0630\u0627 \u0627\u0644\u062D\u0642\u0644 \u0645\u0637\u0644\u0648\u0628",formInvalidEmail:"\u0623\u062F\u062E\u0644 \u0628\u0631\u064A\u062F\u064B\u0627 \u0625\u0644\u0643\u062A\u0631\u0648\u0646\u064A\u064B\u0627 \u0635\u062D\u064A\u062D\u064B\u0627",formInvalidTel:"\u0623\u062F\u062E\u0644 \u0631\u0642\u0645 \u0647\u0627\u062A\u0641 \u0635\u062D\u064A\u062D\u064B\u0627",formInvalidNumber:"\u0623\u062F\u062E\u0644 \u0631\u0642\u0645\u064B\u0627 \u0635\u062D\u064A\u062D\u064B\u0627",formOtherPlaceholder:"\u0627\u0643\u062A\u0628 \u0625\u062C\u0627\u0628\u062A\u0643\u2026",inputRequired:"\u0623\u0633\u0626\u0644\u0629 \u0644\u0643",askFallbackQuestion:"\u064A\u0631\u062C\u0649 \u062A\u0642\u062F\u064A\u0645 \u0627\u0644\u0645\u0639\u0644\u0648\u0645\u0627\u062A \u0627\u0644\u0646\u0627\u0642\u0635\u0629.",inputBadge:"\u0623\u0633\u0626\u0644\u0629",inputAnswered:"\u062A\u0645\u062A \u0627\u0644\u0625\u062C\u0627\u0628\u0629",inputSkipped:"\u062A\u0645 \u0627\u0644\u062A\u062E\u0637\u064A",showOptions:"\u0625\u0638\u0647\u0627\u0631 \u0627\u0644\u062E\u064A\u0627\u0631\u0627\u062A",hideOptions:"\u0625\u062E\u0641\u0627\u0621 \u0627\u0644\u062E\u064A\u0627\u0631\u0627\u062A",qtypeText:"\u0625\u062C\u0627\u0628\u062A\u0643",qtypeEmail:"\u0639\u0646\u0648\u0627\u0646 \u0627\u0644\u0628\u0631\u064A\u062F \u0627\u0644\u0625\u0644\u0643\u062A\u0631\u0648\u0646\u064A",qtypePhone:"\u0631\u0642\u0645 \u0627\u0644\u0647\u0627\u062A\u0641",qtypeNumber:"\u0631\u0642\u0645",qtypeDate:"\u062A\u0627\u0631\u064A\u062E",qtypeChooseOne:"\u0627\u062E\u062A\u0631 \u0648\u0627\u062D\u062F\u064B\u0627",qtypeChooseAny:"\u0627\u062E\u062A\u0631 \u0623\u064A\u064B\u0627",qtypeBoolean:"\u0646\u0639\u0645 / \u0644\u0627",inputSubmit:"\u0625\u0631\u0633\u0627\u0644 \u0627\u0644\u0625\u062C\u0627\u0628\u0627\u062A",inputSubmitHint:"Enter \u0644\u0644\u0625\u0631\u0633\u0627\u0644 \xB7 Shift+Enter = \u0633\u0637\u0631 \u062C\u062F\u064A\u062F",inputSkip:"\u062A\u062E\u0637\u064D\u0651",confirmYes:"\u0646\u0639\u0645",confirmNo:"\u0644\u0627",approve:"\u0645\u0648\u0627\u0641\u0642\u0629",decline:"\u0631\u0641\u0636",changeAnswer:"\u062A\u063A\u064A\u064A\u0631 \u0627\u0644\u0625\u062C\u0627\u0628\u0629",approvalPrompt:"{action}\u061F",approvalEditHint:"\u064A\u0645\u0643\u0646\u0643 \u062A\u063A\u064A\u064A\u0631 \u0625\u062C\u0627\u0628\u062A\u0643 \u062D\u062A\u0649 \u062A\u0633\u062A\u0623\u0646\u0641 \u0647\u0630\u0647 \u0627\u0644\u062E\u0637\u0648\u0629.",stepInput:"\u0627\u0644\u0645\u062F\u062E\u0644\u0627\u062A",stepWorking:"\u0642\u064A\u062F \u0627\u0644\u062A\u0646\u0641\u064A\u0630",stepWorkingOnIt:"\u062C\u0627\u0631\u064D \u0627\u0644\u062A\u0646\u0641\u064A\u0630\u2026",stepNeedsYourApproval:"\u0628\u062D\u0627\u062C\u0629 \u0625\u0644\u0649 \u0645\u0648\u0627\u0641\u0642\u062A\u0643",stepWaitingForVisitor:"\u0628\u0627\u0646\u062A\u0638\u0627\u0631 \u0627\u0644\u0632\u0627\u0626\u0631",stepApproved:"\u062A\u0645\u062A \u0627\u0644\u0645\u0648\u0627\u0641\u0642\u0629",stepDeclined:"\u0645\u0631\u0641\u0648\u0636",stepReplaced:"\u062A\u0645 \u0627\u0644\u0627\u0633\u062A\u0628\u062F\u0627\u0644",stepFailed:"\u0641\u0634\u0644",stepDidNotWork:"\u0644\u0645 \u064A\u0646\u062C\u062D",decidedYouApproved:"\u0648\u0627\u0641\u0642\u062A",decidedYouDeclined:"\u0631\u0641\u0636\u062A",decidedVisitorApproved:"\u0648\u0627\u0641\u0642 \u0627\u0644\u0632\u0627\u0626\u0631",decidedVisitorDeclined:"\u0631\u0641\u0636 \u0627\u0644\u0632\u0627\u0626\u0631",decidedTeamApproved:"\u0648\u0627\u0641\u0642 \u0639\u0636\u0648 \u0641\u064A \u0627\u0644\u0641\u0631\u064A\u0642",decidedTeamDeclined:"\u0631\u0641\u0636 \u0639\u0636\u0648 \u0641\u064A \u0627\u0644\u0641\u0631\u064A\u0642",decidedMemberApproved:"\u0648\u0627\u0641\u0642 {name}",decidedMemberDeclined:"\u0631\u0641\u0636 {name}",stepRawData:"\u0627\u0644\u0628\u064A\u0627\u0646\u0627\u062A \u0627\u0644\u0623\u0648\u0644\u064A\u0629",decidedRulesApproved:"\u062A\u0645\u062A \u0627\u0644\u0645\u0648\u0627\u0641\u0642\u0629 \u062A\u0644\u0642\u0627\u0626\u064A\u064B\u0627",decidedRulesDeclined:"\u0631\u064F\u0641\u0636 \u062A\u0644\u0642\u0627\u0626\u064A\u064B\u0627",edit:"\u062A\u0639\u062F\u064A\u0644",statusError:"\u062E\u0637\u0623",toolStepsFailed:"\u0641\u0634\u0644 {count}",statusStopped:"\u0623\u064F\u0648\u0642\u0641",toolStepsStopped:"\u0623\u064F\u0648\u0642\u0641 \u0628\u0639\u062F {count} \u062E\u0637\u0648\u0627\u062A",toolStepsStoppedOne:"\u0623\u064F\u0648\u0642\u0641 \u0628\u0639\u062F \u062E\u0637\u0648\u0629 \u0648\u0627\u062D\u062F\u0629"},bg={attach:"Adjuntar archivos",file:"Archivo",attachmentMimeRejected:"{name} no es un tipo de archivo que acepte este chat.",attachmentTooLarge:"{name} es demasiado grande. Los archivos pueden ocupar hasta {max} en total.",poweredBy:"Con la tecnolog\xEDa de {name}",attachmentTooMany:"L\xEDmite de adjuntos: {count}.",attachmentUploadFailed:"No se pudo subir {name}.",conversationLoading:"Cargando chat\u2026",loadPreviousMessages:"Cargar mensajes anteriores",close:"Cerrar",collapse:"Contraer",collapseSidebar:"Contraer la barra lateral",composerPlaceholder:"Escribe un mensaje\u2026",dateLastWeek:"\xDAltimos 7 d\xEDas",dateOlder:"Anteriores",dateToday:"Hoy",dateYesterday:"Ayer",dropZone:"Suelta los archivos para adjuntarlos",dropZoneRejected:"Estos archivos no se pueden adjuntar aqu\xED",errorGeneric:"Algo sali\xF3 mal",errorRateLimited:"Demasiadas solicitudes: int\xE9ntalo de nuevo en un momento.",errorRateLimitedIn:"Demasiadas solicitudes: int\xE9ntalo de nuevo en {seconds} s.",errorOffline:"No se puede conectar con el servidor. Revisa tu conexi\xF3n e int\xE9ntalo de nuevo.",errorServer:"Algo sali\xF3 mal por nuestra parte. Int\xE9ntalo de nuevo.",errorOriginNotAllowed:"Este chat a\xFAn no est\xE1 configurado para este sitio web.",errorMessageTooLong:"Ese mensaje es demasiado largo. Ac\xF3rtalo y env\xEDalo de nuevo.",errorReconnecting:"Se perdi\xF3 la conexi\xF3n. Reconectando\u2026",errorRetry:"Reintentar",expand:"Ampliar",expandSidebar:"Expandir la barra lateral",exitFullscreen:"Salir de pantalla completa",fullscreen:"Pantalla completa",history:"Historial",historyBack:"Volver al chat",historyEmpty:"A\xFAn no tienes chats",historyContinue:"Continuar el chat",historyLoading:"Cargando tus chats\u2026",historyTitle:"Historial de chats",loadMoreConversations:"Cargar m\xE1s conversaciones",language:"Idioma",launcherOpen:"Abrir el chat",launcherAsk:"Preg\xFAntale a {name}",micBlocked:"El micr\xF3fono est\xE1 bloqueado para este sitio, as\xED que la entrada de voz no puede iniciarse.",micStart:"Iniciar entrada de voz",micStop:"Detener entrada de voz",moreActions:"M\xE1s acciones",newConversation:"Nuevo chat",panelTitle:"Chat",popOut:"Abrir en una pesta\xF1a nueva",resizeHandle:"Arrastra para cambiar el tama\xF1o",scrollToBottom:"Ir a lo m\xE1s reciente",send:"Enviar",queueMessage:"Poner mensaje en cola",removeQueuedMessage:"Quitar mensaje de la cola",removeAttachment:"Quitar {name}",suggestedReplies:"Respuestas sugeridas",compactingContext:"Optimizando el contexto de la conversaci\xF3n\u2026",soundOff:"Sonido desactivado",soundOn:"Sonido activado",talkToOperator:"Hablar con una persona",connectingOperator:"Conect\xE1ndote con una persona\u2026",noOperatorAvailable:"Nadie est\xE1 disponible ahora \u2014 deja tus datos y te contactaremos.",chattingWithOperator:"Est\xE1s chateando con {operator}",operatorBadgeTitle:"Chat en vivo",chatNotice:"Est\xE1s chateando con un asistente de IA.",cancelOperatorRequest:"Seguir con la IA",loginPrompt:"Inicia sesi\xF3n para recibir una ayuda m\xE1s r\xE1pida y personalizada",loginAction:"Iniciar sesi\xF3n",loginRequired:"Inicia sesi\xF3n para chatear con nosotros",loginExpired:"Tu sesi\xF3n ha caducado. Inicia sesi\xF3n para continuar esta conversaci\xF3n.",loginExpiredGuest:"Tu sesi\xF3n ha caducado. Inicia sesi\xF3n para continuar esta conversaci\xF3n o empieza una nueva como invitado.",startAsGuest:"Empezar una nueva conversaci\xF3n",loggedInAs:"Sesi\xF3n iniciada como {name}",loggedIn:"Sesi\xF3n iniciada",dismissLoginPrompt:"Ocultar",emailTranscript:"Enviar transcripci\xF3n",emailTranscriptPrompt:"Recibe una copia de esta conversaci\xF3n por correo.",emailTranscriptEmailLabel:"Correo electr\xF3nico",emailTranscriptSend:"Enviar transcripci\xF3n",emailTranscriptSending:"Enviando\u2026",emailTranscriptSent:"Enviado a {email}.",emailTranscriptAlreadySent:"Esta conversaci\xF3n ya se envi\xF3. Env\xEDa un mensaje nuevo para enviarla otra vez.",emailTranscriptLimited:"Has alcanzado el l\xEDmite por ahora. Int\xE9ntalo m\xE1s tarde.",emailTranscriptFailed:"No se pudo enviar. Int\xE9ntalo de nuevo.",emailTranscriptNotDelivered:"No se pudo enviar a esta direcci\xF3n. Rev\xEDsala e int\xE9ntalo de nuevo.",emailTranscriptCancel:"Cancelar",emailTranscriptDone:"Listo",stop:"Detener",theme:"Tema",themeAuto:"Autom\xE1tico",themeDark:"Oscuro",themeLight:"Claro",textSize:"Tama\xF1o del texto",textSizeSmall:"Peque\xF1o",textSizeNormal:"Normal",textSizeLarge:"Grande",loading:"Cargando\u2026",visualPreparing:"Preparando visualizaci\xF3n\u2026",visualError:"No se pudo mostrar esta visualizaci\xF3n.",visualPartial:"No se pudieron mostrar algunas partes de esta visualizaci\xF3n.",visualSoldOut:"Agotado",visualCartEmpty:"Tu carrito est\xE1 vac\xEDo.",visualQuantity:"Cant.",visualChoose:"Elige",thinking:"Pensando\u2026",thought:"Razonamiento",thoughtFor:"Razon\xF3 durante {time}",toolResult:"Resultado",sources:"Fuentes",feedbackUp:"Buena respuesta",feedbackDown:"Mala respuesta",feedbackThanks:"Gracias por tu opini\xF3n",copy:"Copiar",copied:"Copiado",copyTicketReference:"Ticket {reference}, copiar",tabHome:"Inicio",tabConversations:"Chats",tabHelp:"Ayuda",tabNews:"Novedades",modulesEmpty:"A\xFAn no hay nada aqu\xED",chatUnavailable:"Este chat no est\xE1 disponible en este momento",moduleBack:"Atr\xE1s",contentLoading:"Cargando\u2026",contentHelpful:"\xBFTe result\xF3 \xFAtil?",homeGreeting:"\xBFC\xF3mo podemos ayudarte?",homeGreetingNamed:"Hola, {name} \u{1F44B}",homeGreetingLead:"\xBFC\xF3mo podemos ayudarte?",homeSearchPlaceholder:"Buscar ayuda",homeAskPlaceholder:"Haz una pregunta\u2026",homeWhatsNew:"Lo nuevo",homeContentTitle:"Art\xEDculos populares",homeStatus:"Estado",helpTitle:"Ayuda",helpSearchPlaceholder:"Buscar ayuda",helpEmpty:"A\xFAn no hay art\xEDculos de ayuda",helpLoading:"Cargando la ayuda\u2026",helpSearchEmpty:"Sin resultados para \xAB{query}\xBB",helpShowMore:"Mostrar m\xE1s",newsTitle:"Novedades",newsEmpty:"A\xFAn no hay novedades",newsLoading:"Cargando novedades\u2026",newsShowMore:"Mostrar m\xE1s",newsUnseen:"Publicaci\xF3n nueva",unread:"No le\xEDdo",formRequired:"Este campo es obligatorio",formInvalidEmail:"Introduce un correo electr\xF3nico v\xE1lido",formInvalidTel:"Introduce un n\xFAmero de tel\xE9fono v\xE1lido",formInvalidNumber:"Introduce un n\xFAmero v\xE1lido",formOtherPlaceholder:"Escribe tu respuesta\u2026",inputRequired:"Preguntas para ti",askFallbackQuestion:"Indica la informaci\xF3n que falta.",inputBadge:"Preguntas",inputAnswered:"Respondido",inputSkipped:"Omitido",showOptions:"Mostrar opciones",hideOptions:"Ocultar opciones",qtypeText:"Tu respuesta",qtypeEmail:"Correo electr\xF3nico",qtypePhone:"N\xFAmero de tel\xE9fono",qtypeNumber:"N\xFAmero",qtypeDate:"Fecha",qtypeChooseOne:"Elige una",qtypeChooseAny:"Elige varias",qtypeBoolean:"S\xED / No",inputSubmit:"Enviar respuestas",inputSubmitHint:"Enter para enviar \xB7 May\xFAs+Enter = nueva l\xEDnea",inputSkip:"Omitir",confirmYes:"S\xED",confirmNo:"No",approve:"Aprobar",decline:"Rechazar",changeAnswer:"Cambiar respuesta",approvalPrompt:"\xBF{action}?",approvalEditHint:"Puedes cambiar tu respuesta hasta que este paso contin\xFAe.",stepInput:"Entrada",stepWorking:"En curso",stepWorkingOnIt:"En curso\u2026",stepNeedsYourApproval:"Necesita tu aprobaci\xF3n",stepWaitingForVisitor:"Esperando al visitante",stepApproved:"Aprobado",stepDeclined:"Rechazado",stepReplaced:"Reemplazado",stepFailed:"Fall\xF3",stepDidNotWork:"No funcion\xF3",decidedYouApproved:"Lo aprobaste",decidedYouDeclined:"Lo rechazaste",decidedVisitorApproved:"El visitante aprob\xF3",decidedVisitorDeclined:"El visitante rechaz\xF3",decidedTeamApproved:"Aprobado por un miembro del equipo",decidedTeamDeclined:"Rechazado por un miembro del equipo",decidedMemberApproved:"Aprobado por {name}",decidedMemberDeclined:"Rechazado por {name}",stepRawData:"Datos sin procesar",decidedRulesApproved:"Aprobado autom\xE1ticamente",decidedRulesDeclined:"Rechazado autom\xE1ticamente",edit:"Editar",statusError:"Error",toolStepsFailed:"{count} con error",statusStopped:"Detenido",toolStepsStopped:"Detenido tras {count} pasos",toolStepsStoppedOne:"Detenido tras 1 paso"},Pg={attach:"\u05E6\u05D9\u05E8\u05D5\u05E3 \u05E7\u05D1\u05E6\u05D9\u05DD",file:"\u05E7\u05D5\u05D1\u05E5",attachmentMimeRejected:"\u05D4\u05E7\u05D5\u05D1\u05E5 {name} \u05D0\u05D9\u05E0\u05D5 \u05DE\u05E1\u05D5\u05D2 \u05E9\u05D4\u05E6\u05F3\u05D0\u05D8 \u05D4\u05D6\u05D4 \u05DE\u05E7\u05D1\u05DC.",attachmentTooLarge:"\u05D4\u05E7\u05D5\u05D1\u05E5 {name} \u05D2\u05D3\u05D5\u05DC \u05DE\u05D3\u05D9. \u05D4\u05E7\u05D1\u05E6\u05D9\u05DD \u05D9\u05DB\u05D5\u05DC\u05D9\u05DD \u05DC\u05D4\u05D2\u05D9\u05E2 \u05D9\u05D7\u05D3 \u05E2\u05D3 {max}.",poweredBy:"\u05DE\u05D5\u05E4\u05E2\u05DC \u05E2\u05DC \u05D9\u05D3\u05D9 {name}",attachmentTooMany:"\u05DE\u05E1\u05E4\u05E8 \u05D4\u05E7\u05D1\u05E6\u05D9\u05DD \u05D4\u05DE\u05E8\u05D1\u05D9 \u05DC\u05E6\u05D9\u05E8\u05D5\u05E3: {count}.",attachmentUploadFailed:"\u05DC\u05D0 \u05E0\u05D9\u05EA\u05DF \u05D4\u05D9\u05D4 \u05DC\u05D4\u05E2\u05DC\u05D5\u05EA \u05D0\u05EA {name}.",conversationLoading:"\u05D8\u05D5\u05E2\u05DF \u05E6\u05F3\u05D0\u05D8\u2026",loadPreviousMessages:"\u05D8\u05E2\u05D9\u05E0\u05EA \u05D4\u05D5\u05D3\u05E2\u05D5\u05EA \u05E7\u05D5\u05D3\u05DE\u05D5\u05EA",close:"\u05E1\u05D2\u05D9\u05E8\u05D4",collapse:"\u05DB\u05D9\u05D5\u05D5\u05E5",collapseSidebar:"\u05DB\u05D9\u05D5\u05D5\u05E5 \u05E1\u05E8\u05D2\u05DC \u05D4\u05E6\u05D3",composerPlaceholder:"\u05DB\u05EA\u05D5\u05D1 \u05D4\u05D5\u05D3\u05E2\u05D4\u2026",dateLastWeek:"7 \u05D4\u05D9\u05DE\u05D9\u05DD \u05D4\u05D0\u05D7\u05E8\u05D5\u05E0\u05D9\u05DD",dateOlder:"\u05D9\u05E9\u05DF \u05D9\u05D5\u05EA\u05E8",dateToday:"\u05D4\u05D9\u05D5\u05DD",dateYesterday:"\u05D0\u05EA\u05DE\u05D5\u05DC",dropZone:"\u05E9\u05D7\u05E8\u05E8 \u05E7\u05D1\u05E6\u05D9\u05DD \u05DB\u05D3\u05D9 \u05DC\u05E6\u05E8\u05E3",dropZoneRejected:"\u05DC\u05D0 \u05E0\u05D9\u05EA\u05DF \u05DC\u05E6\u05E8\u05E3 \u05DB\u05D0\u05DF \u05D0\u05EA \u05D4\u05E7\u05D1\u05E6\u05D9\u05DD \u05D4\u05D0\u05DC\u05D4",errorGeneric:"\u05DE\u05E9\u05D4\u05D5 \u05D4\u05E9\u05EA\u05D1\u05E9",errorRateLimited:"\u05D9\u05D5\u05EA\u05E8 \u05DE\u05D3\u05D9 \u05D1\u05E7\u05E9\u05D5\u05EA \u2014 \u05E0\u05E1\u05D4 \u05E9\u05D5\u05D1 \u05D1\u05E2\u05D5\u05D3 \u05E8\u05D2\u05E2.",errorRateLimitedIn:"\u05D9\u05D5\u05EA\u05E8 \u05DE\u05D3\u05D9 \u05D1\u05E7\u05E9\u05D5\u05EA \u2014 \u05E0\u05E1\u05D4 \u05E9\u05D5\u05D1 \u05D1\u05E2\u05D5\u05D3 {seconds} \u05E9\u05E0\u05F3.",errorOffline:"\u05D0\u05D9\u05DF \u05D7\u05D9\u05D1\u05D5\u05E8 \u05DC\u05E9\u05E8\u05EA. \u05D1\u05D3\u05D5\u05E7 \u05D0\u05EA \u05D4\u05D7\u05D9\u05D1\u05D5\u05E8 \u05D5\u05E0\u05E1\u05D4 \u05E9\u05D5\u05D1.",errorServer:"\u05DE\u05E9\u05D4\u05D5 \u05D4\u05E9\u05EA\u05D1\u05E9 \u05D0\u05E6\u05DC\u05E0\u05D5. \u05E0\u05E1\u05D4 \u05E9\u05D5\u05D1.",errorOriginNotAllowed:"\u05D4\u05E6'\u05D0\u05D8 \u05D4\u05D6\u05D4 \u05E2\u05D3\u05D9\u05D9\u05DF \u05DC\u05D0 \u05DE\u05D5\u05D2\u05D3\u05E8 \u05DC\u05D0\u05EA\u05E8 \u05D4\u05D6\u05D4.",errorMessageTooLong:"\u05D4\u05D4\u05D5\u05D3\u05E2\u05D4 \u05D4\u05D6\u05D5 \u05D0\u05E8\u05D5\u05DB\u05D4 \u05DE\u05D3\u05D9. \u05E7\u05E6\u05E8\u05D5 \u05D0\u05D5\u05EA\u05D4 \u05D5\u05E9\u05DC\u05D7\u05D5 \u05E9\u05D5\u05D1.",errorReconnecting:"\u05D4\u05D7\u05D9\u05D1\u05D5\u05E8 \u05D0\u05D1\u05D3. \u05DE\u05EA\u05D7\u05D1\u05E8 \u05DE\u05D7\u05D3\u05E9\u2026",errorRetry:"\u05E0\u05E1\u05D4 \u05E9\u05D5\u05D1",expand:"\u05D4\u05E8\u05D7\u05D1\u05D4",expandSidebar:"\u05D4\u05E8\u05D7\u05D1\u05EA \u05E1\u05E8\u05D2\u05DC \u05D4\u05E6\u05D3",exitFullscreen:"\u05D9\u05E6\u05D9\u05D0\u05D4 \u05DE\u05DE\u05E1\u05DA \u05DE\u05DC\u05D0",fullscreen:"\u05DE\u05E1\u05DA \u05DE\u05DC\u05D0",history:"\u05D4\u05D9\u05E1\u05D8\u05D5\u05E8\u05D9\u05D4",historyBack:"\u05D7\u05D6\u05E8\u05D4 \u05DC\u05E6\u05F3\u05D0\u05D8",historyEmpty:"\u05D0\u05D9\u05DF \u05E2\u05D3\u05D9\u05D9\u05DF \u05E6\u05F3\u05D0\u05D8\u05D9\u05DD \u05E7\u05D5\u05D3\u05DE\u05D9\u05DD",historyContinue:"\u05D4\u05DE\u05E9\u05DA \u05E6\u05F3\u05D0\u05D8",historyLoading:"\u05D8\u05D5\u05E2\u05DF \u05D0\u05EA \u05D4\u05E6\u05F3\u05D0\u05D8\u05D9\u05DD \u05E9\u05DC\u05DA\u2026",historyTitle:"\u05D4\u05D9\u05E1\u05D8\u05D5\u05E8\u05D9\u05D9\u05EA \u05E6\u05F3\u05D0\u05D8\u05D9\u05DD",loadMoreConversations:"\u05D8\u05E2\u05D9\u05E0\u05EA \u05E9\u05D9\u05D7\u05D5\u05EA \u05E0\u05D5\u05E1\u05E4\u05D5\u05EA",language:"\u05E9\u05E4\u05D4",launcherOpen:"\u05E4\u05EA\u05D9\u05D7\u05EA \u05E6\u05F3\u05D0\u05D8",launcherAsk:"\u05DC\u05E9\u05D0\u05D5\u05DC \u05D0\u05EA {name}",micBlocked:"\u05D4\u05DE\u05D9\u05E7\u05E8\u05D5\u05E4\u05D5\u05DF \u05D7\u05E1\u05D5\u05DD \u05D1\u05D0\u05EA\u05E8 \u05D4\u05D6\u05D4, \u05D5\u05DC\u05DB\u05DF \u05D0\u05D9 \u05D0\u05E4\u05E9\u05E8 \u05DC\u05D4\u05EA\u05D7\u05D9\u05DC \u05E7\u05DC\u05D8 \u05E7\u05D5\u05DC\u05D9.",micStart:"\u05D4\u05EA\u05D7\u05DC\u05EA \u05E7\u05DC\u05D8 \u05E7\u05D5\u05DC\u05D9",micStop:"\u05E2\u05E6\u05D9\u05E8\u05EA \u05E7\u05DC\u05D8 \u05E7\u05D5\u05DC\u05D9",moreActions:"\u05E4\u05E2\u05D5\u05DC\u05D5\u05EA \u05E0\u05D5\u05E1\u05E4\u05D5\u05EA",newConversation:"\u05E6\u05F3\u05D0\u05D8 \u05D7\u05D3\u05E9",panelTitle:"\u05E6\u05F3\u05D0\u05D8",popOut:"\u05E4\u05EA\u05D9\u05D7\u05D4 \u05D1\u05DB\u05E8\u05D8\u05D9\u05E1\u05D9\u05D9\u05D4 \u05D7\u05D3\u05E9\u05D4",resizeHandle:"\u05D2\u05E8\u05D5\u05E8 \u05DC\u05E9\u05D9\u05E0\u05D5\u05D9 \u05D4\u05D2\u05D5\u05D3\u05DC",scrollToBottom:"\u05DE\u05E2\u05D1\u05E8 \u05DC\u05D7\u05D3\u05E9 \u05D1\u05D9\u05D5\u05EA\u05E8",send:"\u05E9\u05DC\u05D9\u05D7\u05D4",queueMessage:"\u05D4\u05D5\u05E1\u05E4\u05EA \u05D4\u05D4\u05D5\u05D3\u05E2\u05D4 \u05DC\u05EA\u05D5\u05E8",removeQueuedMessage:"\u05D4\u05E1\u05E8\u05EA \u05D4\u05D4\u05D5\u05D3\u05E2\u05D4 \u05DE\u05D4\u05EA\u05D5\u05E8",removeAttachment:"\u05D4\u05E1\u05E8\u05EA {name}",suggestedReplies:"\u05EA\u05E9\u05D5\u05D1\u05D5\u05EA \u05DE\u05D5\u05E6\u05E2\u05D5\u05EA",compactingContext:"\u05DE\u05D1\u05E6\u05E2 \u05D0\u05D5\u05E4\u05D8\u05D9\u05DE\u05D9\u05D6\u05E6\u05D9\u05D4 \u05DC\u05D4\u05E7\u05E9\u05E8 \u05D4\u05E9\u05D9\u05D7\u05D4\u2026",soundOff:"\u05D4\u05E9\u05EA\u05E7\u05EA \u05D4\u05E6\u05DC\u05D9\u05DC",soundOn:"\u05D4\u05E4\u05E2\u05DC\u05EA \u05D4\u05E6\u05DC\u05D9\u05DC",talkToOperator:"\u05D3\u05D1\u05E8\u05D5 \u05E2\u05DD \u05D0\u05D3\u05DD",connectingOperator:"\u05DE\u05D7\u05D1\u05E8\u05D9\u05DD \u05D0\u05D5\u05EA\u05DA \u05DC\u05D0\u05D3\u05DD\u2026",noOperatorAvailable:"\u05D0\u05D9\u05DF \u05E0\u05E6\u05D9\u05D2\u05D9\u05DD \u05D6\u05DE\u05D9\u05E0\u05D9\u05DD \u05DB\u05E2\u05EA \u2014 \u05D4\u05E9\u05D0\u05E8 \u05D0\u05EA \u05D4\u05E4\u05E8\u05D8\u05D9\u05DD \u05E9\u05DC\u05DA \u05D5\u05E0\u05D7\u05D6\u05D5\u05E8 \u05D0\u05DC\u05D9\u05DA.",chattingWithOperator:"\u05D0\u05EA\u05D4 \u05DE\u05E6\u05F3\u05D5\u05D8\u05D8 \u05E2\u05DD {operator}",operatorBadgeTitle:"\u05E6\u05F3\u05D0\u05D8 \u05D7\u05D9",chatNotice:"\u05D0\u05EA\u05D4 \u05DE\u05E6\u05F3\u05D5\u05D8\u05D8 \u05E2\u05DD \u05E2\u05D5\u05D6\u05E8 \u05D1\u05D9\u05E0\u05D4 \u05DE\u05DC\u05D0\u05DB\u05D5\u05EA\u05D9\u05EA.",cancelOperatorRequest:"\u05D4\u05DE\u05E9\u05DA \u05DC\u05E9\u05D5\u05D7\u05D7 \u05E2\u05DD \u05D4-AI",loginPrompt:"\u05D4\u05EA\u05D7\u05D1\u05E8\u05D5 \u05DC\u05E7\u05D1\u05DC\u05EA \u05EA\u05DE\u05D9\u05DB\u05D4 \u05DE\u05D4\u05D9\u05E8\u05D4 \u05D5\u05DE\u05D5\u05EA\u05D0\u05DE\u05EA \u05D0\u05D9\u05E9\u05D9\u05EA",loginAction:"\u05D4\u05EA\u05D7\u05D1\u05E8\u05D5\u05EA",loginRequired:"\u05D4\u05EA\u05D7\u05D1\u05E8\u05D5 \u05DB\u05D3\u05D9 \u05DC\u05E9\u05D5\u05D7\u05D7 \u05D0\u05D9\u05EA\u05E0\u05D5",loginExpired:"\u05E4\u05D2 \u05EA\u05D5\u05E7\u05E3 \u05D4\u05D4\u05EA\u05D7\u05D1\u05E8\u05D5\u05EA \u05E9\u05DC\u05DA. \u05D4\u05EA\u05D7\u05D1\u05E8\u05D5 \u05DB\u05D3\u05D9 \u05DC\u05D4\u05DE\u05E9\u05D9\u05DA \u05D1\u05E9\u05D9\u05D7\u05D4 \u05D4\u05D6\u05D5.",loginExpiredGuest:"\u05E4\u05D2 \u05EA\u05D5\u05E7\u05E3 \u05D4\u05D4\u05EA\u05D7\u05D1\u05E8\u05D5\u05EA \u05E9\u05DC\u05DA. \u05D4\u05EA\u05D7\u05D1\u05E8\u05D5 \u05DB\u05D3\u05D9 \u05DC\u05D4\u05DE\u05E9\u05D9\u05DA \u05D1\u05E9\u05D9\u05D7\u05D4 \u05D4\u05D6\u05D5, \u05D0\u05D5 \u05D4\u05EA\u05D7\u05D9\u05DC\u05D5 \u05E9\u05D9\u05D7\u05D4 \u05D7\u05D3\u05E9\u05D4 \u05DB\u05D0\u05D5\u05E8\u05D7\u05D9\u05DD.",startAsGuest:"\u05D4\u05EA\u05D7\u05DC\u05EA \u05E9\u05D9\u05D7\u05D4 \u05D7\u05D3\u05E9\u05D4",loggedInAs:"\u05DE\u05D7\u05D5\u05D1\u05E8/\u05EA \u05D1\u05EA\u05D5\u05E8 {name}",loggedIn:"\u05DE\u05D7\u05D5\u05D1\u05E8/\u05EA",dismissLoginPrompt:"\u05D4\u05E1\u05EA\u05E8\u05D4",emailTranscript:"\u05E9\u05DC\u05D9\u05D7\u05EA \u05EA\u05DE\u05DC\u05D9\u05DC \u05D1\u05D3\u05D5\u05D0\u05F4\u05DC",emailTranscriptPrompt:"\u05E7\u05D1\u05DC\u05D5 \u05E2\u05D5\u05EA\u05E7 \u05E9\u05DC \u05D4\u05E9\u05D9\u05D7\u05D4 \u05D4\u05D6\u05D5 \u05D1\u05D3\u05D5\u05D0\u05F4\u05DC.",emailTranscriptEmailLabel:"\u05DB\u05EA\u05D5\u05D1\u05EA \u05D3\u05D5\u05D0\u05F4\u05DC",emailTranscriptSend:"\u05E9\u05DC\u05D9\u05D7\u05EA \u05D4\u05EA\u05DE\u05DC\u05D9\u05DC",emailTranscriptSending:"\u05E9\u05D5\u05DC\u05D7\u05D9\u05DD\u2026",emailTranscriptSent:"\u05E0\u05E9\u05DC\u05D7 \u05D0\u05DC {email}.",emailTranscriptAlreadySent:"\u05D4\u05E9\u05D9\u05D7\u05D4 \u05D4\u05D6\u05D5 \u05DB\u05D1\u05E8 \u05E0\u05E9\u05DC\u05D7\u05D4. \u05E9\u05DC\u05D7\u05D5 \u05D4\u05D5\u05D3\u05E2\u05D4 \u05D7\u05D3\u05E9\u05D4 \u05DB\u05D3\u05D9 \u05DC\u05E9\u05DC\u05D5\u05D7 \u05D0\u05D5\u05EA\u05D4 \u05E9\u05D5\u05D1.",emailTranscriptLimited:"\u05D4\u05D2\u05E2\u05EA\u05DD \u05DC\u05DE\u05D2\u05D1\u05DC\u05D4 \u05DB\u05E8\u05D2\u05E2. \u05E0\u05E1\u05D5 \u05E9\u05D5\u05D1 \u05DE\u05D0\u05D5\u05D7\u05E8 \u05D9\u05D5\u05EA\u05E8.",emailTranscriptFailed:"\u05D4\u05E9\u05DC\u05D9\u05D7\u05D4 \u05E0\u05DB\u05E9\u05DC\u05D4. \u05E0\u05E1\u05D5 \u05E9\u05D5\u05D1.",emailTranscriptNotDelivered:"\u05DC\u05D0 \u05E0\u05D9\u05EA\u05DF \u05DC\u05E9\u05DC\u05D5\u05D7 \u05DC\u05DB\u05EA\u05D5\u05D1\u05EA \u05D4\u05D6\u05D5. \u05D1\u05D3\u05E7\u05D5 \u05D0\u05D5\u05EA\u05D4 \u05D5\u05E0\u05E1\u05D5 \u05E9\u05D5\u05D1.",emailTranscriptCancel:"\u05D1\u05D9\u05D8\u05D5\u05DC",emailTranscriptDone:"\u05E1\u05D9\u05D5\u05DD",stop:"\u05E2\u05E6\u05D9\u05E8\u05D4",theme:"\u05E2\u05E8\u05DB\u05EA \u05E0\u05D5\u05E9\u05D0",themeAuto:"\u05D0\u05D5\u05D8\u05D5\u05DE\u05D8\u05D9",themeDark:"\u05DB\u05D4\u05D4",themeLight:"\u05D1\u05D4\u05D9\u05E8",textSize:"\u05D2\u05D5\u05D3\u05DC \u05D8\u05E7\u05E1\u05D8",textSizeSmall:"\u05E7\u05D8\u05DF",textSizeNormal:"\u05E8\u05D2\u05D9\u05DC",textSizeLarge:"\u05D2\u05D3\u05D5\u05DC",loading:"\u05D8\u05D5\u05E2\u05DF\u2026",visualPreparing:"\u05DE\u05DB\u05D9\u05DF \u05EA\u05E6\u05D5\u05D2\u05D4\u2026",visualError:"\u05DC\u05D0 \u05E0\u05D9\u05EA\u05DF \u05D4\u05D9\u05D4 \u05DC\u05D4\u05E6\u05D9\u05D2 \u05EA\u05E6\u05D5\u05D2\u05D4 \u05D6\u05D5.",visualPartial:"\u05DC\u05D0 \u05E0\u05D9\u05EA\u05DF \u05D4\u05D9\u05D4 \u05DC\u05D4\u05E6\u05D9\u05D2 \u05D7\u05DC\u05E7\u05D9\u05DD \u05DE\u05EA\u05E6\u05D5\u05D2\u05D4 \u05D6\u05D5.",visualSoldOut:"\u05D0\u05D6\u05DC \u05DE\u05D4\u05DE\u05DC\u05D0\u05D9",visualCartEmpty:"\u05D4\u05E2\u05D2\u05DC\u05D4 \u05E9\u05DC\u05DA \u05E8\u05D9\u05E7\u05D4.",visualQuantity:"\u05DB\u05DE\u05D5\u05EA",visualChoose:"\u05D1\u05D7\u05E8\u05D5",thinking:"\u05D7\u05D5\u05E9\u05D1\u2026",thought:"\u05DE\u05D7\u05E9\u05D1\u05D4",thoughtFor:"\u05D7\u05E9\u05D1 \u05D1\u05DE\u05E9\u05DA {time}",toolResult:"\u05EA\u05D5\u05E6\u05D0\u05D4",sources:"\u05DE\u05E7\u05D5\u05E8\u05D5\u05EA",feedbackUp:"\u05EA\u05E9\u05D5\u05D1\u05D4 \u05D8\u05D5\u05D1\u05D4",feedbackDown:"\u05EA\u05E9\u05D5\u05D1\u05D4 \u05D2\u05E8\u05D5\u05E2\u05D4",feedbackThanks:"\u05EA\u05D5\u05D3\u05D4 \u05E2\u05DC \u05D4\u05DE\u05E9\u05D5\u05D1",copy:"\u05D4\u05E2\u05EA\u05E7",copied:"\u05D4\u05D5\u05E2\u05EA\u05E7",copyTicketReference:"\u05E4\u05E0\u05D9\u05D9\u05D4 {reference}, \u05D4\u05E2\u05EA\u05E7\u05D4",tabHome:"\u05D1\u05D9\u05EA",tabConversations:"\u05E6\u05F3\u05D0\u05D8\u05D9\u05DD",tabHelp:"\u05E2\u05D6\u05E8\u05D4",tabNews:"\u05D7\u05D3\u05E9\u05D5\u05EA",modulesEmpty:"\u05D0\u05D9\u05DF \u05DB\u05D0\u05DF \u05E2\u05D3\u05D9\u05D9\u05DF \u05DB\u05DC\u05D5\u05DD",chatUnavailable:"\u05D4\u05E6\u05F3\u05D0\u05D8 \u05D4\u05D6\u05D4 \u05D0\u05D9\u05E0\u05D5 \u05D6\u05DE\u05D9\u05DF \u05DB\u05E8\u05D2\u05E2",moduleBack:"\u05D7\u05D6\u05E8\u05D4",contentLoading:"\u05D8\u05D5\u05E2\u05DF\u2026",contentHelpful:"\u05D4\u05D0\u05DD \u05D6\u05D4 \u05E2\u05D6\u05E8?",homeGreeting:"\u05DB\u05D9\u05E6\u05D3 \u05E0\u05D5\u05DB\u05DC \u05DC\u05E2\u05D6\u05D5\u05E8?",homeGreetingNamed:"\u05E9\u05DC\u05D5\u05DD {name} \u{1F44B}",homeGreetingLead:"\u05DB\u05D9\u05E6\u05D3 \u05E0\u05D5\u05DB\u05DC \u05DC\u05E2\u05D6\u05D5\u05E8?",homeSearchPlaceholder:"\u05D7\u05D9\u05E4\u05D5\u05E9 \u05E2\u05D6\u05E8\u05D4",homeAskPlaceholder:"\u05E9\u05D0\u05DC\u05D5 \u05E9\u05D0\u05DC\u05D4\u2026",homeWhatsNew:"\u05DE\u05D4 \u05D7\u05D3\u05E9",homeContentTitle:"\u05DE\u05D0\u05DE\u05E8\u05D9\u05DD \u05E4\u05D5\u05E4\u05D5\u05DC\u05E8\u05D9\u05D9\u05DD",homeStatus:"\u05E1\u05D8\u05D8\u05D5\u05E1",helpTitle:"\u05E2\u05D6\u05E8\u05D4",helpSearchPlaceholder:"\u05D7\u05D9\u05E4\u05D5\u05E9 \u05E2\u05D6\u05E8\u05D4",helpEmpty:"\u05D0\u05D9\u05DF \u05E2\u05D3\u05D9\u05D9\u05DF \u05DE\u05D0\u05DE\u05E8\u05D9 \u05E2\u05D6\u05E8\u05D4",helpLoading:"\u05D8\u05D5\u05E2\u05DF \u05E2\u05D6\u05E8\u05D4\u2026",helpSearchEmpty:"\u05D0\u05D9\u05DF \u05EA\u05D5\u05E6\u05D0\u05D5\u05EA \u05E2\u05D1\u05D5\u05E8 \u201E{query}\u201D",helpShowMore:"\u05D4\u05E6\u05D2\u05EA \u05E2\u05D5\u05D3",newsTitle:"\u05D7\u05D3\u05E9\u05D5\u05EA",newsEmpty:"\u05D0\u05D9\u05DF \u05E2\u05D3\u05D9\u05D9\u05DF \u05D7\u05D3\u05E9\u05D5\u05EA",newsLoading:"\u05D8\u05D5\u05E2\u05DF \u05D7\u05D3\u05E9\u05D5\u05EA\u2026",newsShowMore:"\u05D4\u05E6\u05D2\u05EA \u05E2\u05D5\u05D3",newsUnseen:"\u05E4\u05D5\u05E1\u05D8 \u05D7\u05D3\u05E9",unread:"\u05DC\u05D0 \u05E0\u05E7\u05E8\u05D0",formRequired:"\u05E9\u05D3\u05D4 \u05D7\u05D5\u05D1\u05D4",formInvalidEmail:"\u05D4\u05D6\u05DF \u05DB\u05EA\u05D5\u05D1\u05EA \u05D0\u05D9\u05DE\u05D9\u05D9\u05DC \u05EA\u05E7\u05D9\u05E0\u05D4",formInvalidTel:"\u05D4\u05D6\u05DF \u05DE\u05E1\u05E4\u05E8 \u05D8\u05DC\u05E4\u05D5\u05DF \u05EA\u05E7\u05D9\u05DF",formInvalidNumber:"\u05D4\u05D6\u05DF \u05DE\u05E1\u05E4\u05E8 \u05EA\u05E7\u05D9\u05DF",formOtherPlaceholder:"\u05DB\u05EA\u05D5\u05D1 \u05D0\u05EA \u05EA\u05E9\u05D5\u05D1\u05EA\u05DA\u2026",inputRequired:"\u05E9\u05D0\u05DC\u05D5\u05EA \u05E2\u05D1\u05D5\u05E8\u05DA",askFallbackQuestion:"\u05D0\u05E0\u05D0 \u05E1\u05E4\u05E7\u05D5 \u05D0\u05EA \u05D4\u05DE\u05D9\u05D3\u05E2 \u05D4\u05D7\u05E1\u05E8.",inputBadge:"\u05E9\u05D0\u05DC\u05D5\u05EA",inputAnswered:"\u05E0\u05E2\u05E0\u05D4",inputSkipped:"\u05D3\u05D5\u05DC\u05D2",showOptions:"\u05D4\u05E6\u05D2 \u05D0\u05E4\u05E9\u05E8\u05D5\u05D9\u05D5\u05EA",hideOptions:"\u05D4\u05E1\u05EA\u05E8 \u05D0\u05E4\u05E9\u05E8\u05D5\u05D9\u05D5\u05EA",qtypeText:"\u05D4\u05EA\u05E9\u05D5\u05D1\u05D4 \u05E9\u05DC\u05DA",qtypeEmail:"\u05DB\u05EA\u05D5\u05D1\u05EA \u05D0\u05D9\u05DE\u05D9\u05D9\u05DC",qtypePhone:"\u05DE\u05E1\u05E4\u05E8 \u05D8\u05DC\u05E4\u05D5\u05DF",qtypeNumber:"\u05DE\u05E1\u05E4\u05E8",qtypeDate:"\u05EA\u05D0\u05E8\u05D9\u05DA",qtypeChooseOne:"\u05D1\u05D7\u05E8 \u05D0\u05D7\u05EA",qtypeChooseAny:"\u05D1\u05D7\u05E8 \u05DB\u05DE\u05D4",qtypeBoolean:"\u05DB\u05DF / \u05DC\u05D0",inputSubmit:"\u05E9\u05DC\u05D9\u05D7\u05EA \u05EA\u05E9\u05D5\u05D1\u05D5\u05EA",inputSubmitHint:"Enter \u05DC\u05E9\u05DC\u05D9\u05D7\u05D4 \xB7 Shift+Enter = \u05E9\u05D5\u05E8\u05D4 \u05D7\u05D3\u05E9\u05D4",inputSkip:"\u05D3\u05D9\u05DC\u05D5\u05D2",confirmYes:"\u05DB\u05DF",confirmNo:"\u05DC\u05D0",approve:"\u05D0\u05D9\u05E9\u05D5\u05E8",decline:"\u05D3\u05D7\u05D9\u05D9\u05D4",changeAnswer:"\u05E9\u05D9\u05E0\u05D5\u05D9 \u05D4\u05EA\u05E9\u05D5\u05D1\u05D4",approvalPrompt:"{action}?",approvalEditHint:"\u05D0\u05E4\u05E9\u05E8 \u05DC\u05E9\u05E0\u05D5\u05EA \u05D0\u05EA \u05D4\u05EA\u05E9\u05D5\u05D1\u05D4 \u05E2\u05D3 \u05E9\u05D4\u05E9\u05DC\u05D1 \u05D4\u05D6\u05D4 \u05D9\u05DE\u05E9\u05D9\u05DA.",stepInput:"\u05E7\u05DC\u05D8",stepWorking:"\u05D1\u05D1\u05D9\u05E6\u05D5\u05E2",stepWorkingOnIt:"\u05DE\u05D8\u05E4\u05DC\u05D9\u05DD \u05D1\u05D6\u05D4\u2026",stepNeedsYourApproval:"\u05E0\u05D3\u05E8\u05E9 \u05D4\u05D0\u05D9\u05E9\u05D5\u05E8 \u05E9\u05DC\u05DA",stepWaitingForVisitor:"\u05DE\u05DE\u05EA\u05D9\u05DF \u05DC\u05DE\u05D1\u05E7\u05E8",stepApproved:"\u05D0\u05D5\u05E9\u05E8",stepDeclined:"\u05E0\u05D3\u05D7\u05D4",stepReplaced:"\u05D4\u05D5\u05D7\u05DC\u05E3",stepFailed:"\u05E0\u05DB\u05E9\u05DC",stepDidNotWork:"\u05DC\u05D0 \u05D4\u05E6\u05DC\u05D9\u05D7",decidedYouApproved:"\u05D0\u05D9\u05E9\u05E8\u05EA",decidedYouDeclined:"\u05D3\u05D7\u05D9\u05EA",decidedVisitorApproved:"\u05D0\u05D5\u05E9\u05E8 \u05E2\u05DC \u05D9\u05D3\u05D9 \u05D4\u05DE\u05D1\u05E7\u05E8",decidedVisitorDeclined:"\u05E0\u05D3\u05D7\u05D4 \u05E2\u05DC \u05D9\u05D3\u05D9 \u05D4\u05DE\u05D1\u05E7\u05E8",decidedTeamApproved:"\u05D0\u05D5\u05E9\u05E8 \u05E2\u05DC \u05D9\u05D3\u05D9 \u05D7\u05D1\u05E8 \u05E6\u05D5\u05D5\u05EA",decidedTeamDeclined:"\u05E0\u05D3\u05D7\u05D4 \u05E2\u05DC \u05D9\u05D3\u05D9 \u05D7\u05D1\u05E8 \u05E6\u05D5\u05D5\u05EA",decidedMemberApproved:"\u05D0\u05D5\u05E9\u05E8 \u05E2\u05DC \u05D9\u05D3\u05D9 {name}",decidedMemberDeclined:"\u05E0\u05D3\u05D7\u05D4 \u05E2\u05DC \u05D9\u05D3\u05D9 {name}",stepRawData:"\u05E0\u05EA\u05D5\u05E0\u05D9\u05DD \u05D2\u05D5\u05DC\u05DE\u05D9\u05D9\u05DD",decidedRulesApproved:"\u05D0\u05D5\u05E9\u05E8 \u05D0\u05D5\u05D8\u05D5\u05DE\u05D8\u05D9\u05EA",decidedRulesDeclined:"\u05E0\u05D3\u05D7\u05D4 \u05D0\u05D5\u05D8\u05D5\u05DE\u05D8\u05D9\u05EA",edit:"\u05E2\u05E8\u05D9\u05DB\u05D4",statusError:"\u05E9\u05D2\u05D9\u05D0\u05D4",toolStepsFailed:"{count} \u05E0\u05DB\u05E9\u05DC\u05D5",statusStopped:"\u05E0\u05E2\u05E6\u05E8",toolStepsStopped:"\u05E0\u05E2\u05E6\u05E8 \u05D0\u05D7\u05E8\u05D9 {count} \u05E9\u05DC\u05D1\u05D9\u05DD",toolStepsStoppedOne:"\u05E0\u05E2\u05E6\u05E8 \u05D0\u05D7\u05E8\u05D9 \u05E9\u05DC\u05D1 \u05D0\u05D7\u05D3"},xg={attach:"\u6DFB\u52A0\u9644\u4EF6",file:"\u6587\u4EF6",attachmentMimeRejected:"\u6B64\u804A\u5929\u4E0D\u63A5\u53D7 {name} \u7684\u6587\u4EF6\u7C7B\u578B\u3002",attachmentTooLarge:"{name} \u592A\u5927\u4E86\u3002\u6587\u4EF6\u603B\u5927\u5C0F\u4E0D\u80FD\u8D85\u8FC7 {max}\u3002",poweredBy:"\u7531 {name} \u63D0\u4F9B\u652F\u6301",attachmentTooMany:"\u6700\u591A\u53EF\u6DFB\u52A0 {count} \u4E2A\u9644\u4EF6\u3002",attachmentUploadFailed:"{name} \u4E0A\u4F20\u5931\u8D25\u3002",conversationLoading:"\u6B63\u5728\u52A0\u8F7D\u804A\u5929\u2026",loadPreviousMessages:"\u52A0\u8F7D\u66F4\u65E9\u7684\u6D88\u606F",close:"\u5173\u95ED",collapse:"\u6536\u8D77",collapseSidebar:"\u6536\u8D77\u4FA7\u8FB9\u680F",composerPlaceholder:"\u8F93\u5165\u6D88\u606F\u2026",dateLastWeek:"\u6700\u8FD1 7 \u5929",dateOlder:"\u66F4\u65E9",dateToday:"\u4ECA\u5929",dateYesterday:"\u6628\u5929",dropZone:"\u62D6\u653E\u6587\u4EF6\u4EE5\u6DFB\u52A0\u9644\u4EF6",dropZoneRejected:"\u8FD9\u4E9B\u6587\u4EF6\u65E0\u6CD5\u5728\u6B64\u6DFB\u52A0",errorGeneric:"\u51FA\u4E86\u70B9\u95EE\u9898",errorRateLimited:"\u8BF7\u6C42\u8FC7\u591A\uFF0C\u8BF7\u7A0D\u540E\u518D\u8BD5\u3002",errorRateLimitedIn:"\u8BF7\u6C42\u8FC7\u591A\uFF0C\u8BF7\u5728 {seconds} \u79D2\u540E\u91CD\u8BD5\u3002",errorOffline:"\u65E0\u6CD5\u8FDE\u63A5\u670D\u52A1\u5668\u3002\u8BF7\u68C0\u67E5\u7F51\u7EDC\u540E\u91CD\u8BD5\u3002",errorServer:"\u6211\u4EEC\u8FD9\u8FB9\u51FA\u4E86\u70B9\u95EE\u9898\u3002\u8BF7\u91CD\u8BD5\u3002",errorOriginNotAllowed:"\u6B64\u804A\u5929\u5C1A\u672A\u4E3A\u672C\u7F51\u7AD9\u8BBE\u7F6E\u3002",errorMessageTooLong:"\u6D88\u606F\u592A\u957F\u4E86\u3002\u8BF7\u7F29\u77ED\u540E\u91CD\u65B0\u53D1\u9001\u3002",errorReconnecting:"\u8FDE\u63A5\u5DF2\u65AD\u5F00\uFF0C\u6B63\u5728\u91CD\u65B0\u8FDE\u63A5\u2026",errorRetry:"\u91CD\u8BD5",expand:"\u5C55\u5F00",expandSidebar:"\u5C55\u5F00\u4FA7\u8FB9\u680F",exitFullscreen:"\u9000\u51FA\u5168\u5C4F",fullscreen:"\u5168\u5C4F",history:"\u5386\u53F2\u8BB0\u5F55",historyBack:"\u8FD4\u56DE\u804A\u5929",historyEmpty:"\u8FD8\u6CA1\u6709\u4EE5\u524D\u7684\u804A\u5929",historyLoading:"\u6B63\u5728\u52A0\u8F7D\u4F60\u7684\u804A\u5929\u2026",historyContinue:"\u7EE7\u7EED\u804A\u5929",historyTitle:"\u804A\u5929\u8BB0\u5F55",loadMoreConversations:"\u52A0\u8F7D\u66F4\u591A\u5BF9\u8BDD",language:"\u8BED\u8A00",launcherOpen:"\u6253\u5F00\u804A\u5929",launcherAsk:"\u8BE2\u95EE {name}",micBlocked:"\u6B64\u7F51\u7AD9\u7684\u9EA6\u514B\u98CE\u5DF2\u88AB\u963B\u6B62\uFF0C\u65E0\u6CD5\u5F00\u59CB\u8BED\u97F3\u8F93\u5165\u3002",micStart:"\u5F00\u59CB\u8BED\u97F3\u8F93\u5165",micStop:"\u505C\u6B62\u8BED\u97F3\u8F93\u5165",moreActions:"\u66F4\u591A\u64CD\u4F5C",newConversation:"\u65B0\u804A\u5929",panelTitle:"\u804A\u5929",popOut:"\u5728\u65B0\u6807\u7B7E\u9875\u4E2D\u6253\u5F00",resizeHandle:"\u62D6\u52A8\u4EE5\u8C03\u6574\u5927\u5C0F",scrollToBottom:"\u6EDA\u52A8\u5230\u6700\u65B0",send:"\u53D1\u9001",queueMessage:"\u6392\u961F\u53D1\u9001",removeQueuedMessage:"\u79FB\u9664\u6392\u961F\u7684\u6D88\u606F",removeAttachment:"\u79FB\u9664 {name}",suggestedReplies:"\u63A8\u8350\u56DE\u590D",compactingContext:"\u6B63\u5728\u4F18\u5316\u5BF9\u8BDD\u4E0A\u4E0B\u6587\u2026",soundOff:"\u5173\u95ED\u58F0\u97F3",soundOn:"\u6253\u5F00\u58F0\u97F3",talkToOperator:"\u4E0E\u771F\u4EBA\u4EA4\u8C08",connectingOperator:"\u6B63\u5728\u4E3A\u4F60\u8054\u7CFB\u771F\u4EBA\u2026",noOperatorAvailable:"\u76EE\u524D\u6CA1\u6709\u4EBA\u6709\u7A7A\uFF0C\u8BF7\u7559\u4E0B\u4F60\u7684\u8054\u7CFB\u65B9\u5F0F\uFF0C\u6211\u4EEC\u4F1A\u8DDF\u8FDB\u3002",chattingWithOperator:"\u4F60\u6B63\u5728\u4E0E {operator} \u804A\u5929",operatorBadgeTitle:"\u5728\u7EBF\u804A\u5929",chatNotice:"\u4F60\u6B63\u5728\u4E0E AI \u52A9\u624B\u804A\u5929\u3002",cancelOperatorRequest:"\u7EE7\u7EED\u4E0E AI \u804A\u5929",loginPrompt:"\u767B\u5F55\u4EE5\u83B7\u5F97\u66F4\u5FEB\u3001\u66F4\u4E2A\u6027\u5316\u7684\u652F\u6301",loginAction:"\u767B\u5F55",loginRequired:"\u767B\u5F55\u540E\u4E0E\u6211\u4EEC\u804A\u5929",loginExpired:"\u4F60\u7684\u767B\u5F55\u5DF2\u8FC7\u671F\u3002\u8BF7\u767B\u5F55\u4EE5\u7EE7\u7EED\u6B64\u804A\u5929\u3002",loginExpiredGuest:"\u4F60\u7684\u767B\u5F55\u5DF2\u8FC7\u671F\u3002\u8BF7\u767B\u5F55\u4EE5\u7EE7\u7EED\u6B64\u804A\u5929\uFF0C\u6216\u4EE5\u8BBF\u5BA2\u8EAB\u4EFD\u5F00\u59CB\u65B0\u5BF9\u8BDD\u3002",startAsGuest:"\u5F00\u59CB\u65B0\u5BF9\u8BDD",loggedInAs:"\u5DF2\u767B\u5F55\u4E3A {name}",loggedIn:"\u5DF2\u767B\u5F55",dismissLoginPrompt:"\u9690\u85CF",emailTranscript:"\u901A\u8FC7\u90AE\u4EF6\u53D1\u9001\u804A\u5929\u8BB0\u5F55",emailTranscriptPrompt:"\u901A\u8FC7\u90AE\u4EF6\u83B7\u53D6\u6B64\u5BF9\u8BDD\u7684\u526F\u672C\u3002",emailTranscriptEmailLabel:"\u90AE\u7BB1\u5730\u5740",emailTranscriptSend:"\u53D1\u9001\u804A\u5929\u8BB0\u5F55",emailTranscriptSending:"\u6B63\u5728\u53D1\u9001\u2026",emailTranscriptSent:"\u5DF2\u53D1\u9001\u81F3 {email}\u3002",emailTranscriptAlreadySent:"\u6B64\u5BF9\u8BDD\u5DF2\u901A\u8FC7\u90AE\u4EF6\u53D1\u9001\u3002\u53D1\u9001\u4E00\u6761\u65B0\u6D88\u606F\u540E\u53EF\u518D\u6B21\u53D1\u9001\u3002",emailTranscriptLimited:"\u4F60\u5DF2\u8FBE\u5230\u5F53\u524D\u4E0A\u9650\u3002\u8BF7\u7A0D\u540E\u518D\u8BD5\u3002",emailTranscriptFailed:"\u53D1\u9001\u5931\u8D25\u3002\u8BF7\u91CD\u8BD5\u3002",emailTranscriptNotDelivered:"\u65E0\u6CD5\u53D1\u9001\u5230\u6B64\u5730\u5740\u3002\u8BF7\u68C0\u67E5\u540E\u91CD\u8BD5\u3002",emailTranscriptCancel:"\u53D6\u6D88",emailTranscriptDone:"\u5B8C\u6210",stop:"\u505C\u6B62",theme:"\u4E3B\u9898",themeAuto:"\u81EA\u52A8",themeDark:"\u6DF1\u8272",themeLight:"\u6D45\u8272",textSize:"\u6587\u5B57\u5927\u5C0F",textSizeSmall:"\u5C0F",textSizeNormal:"\u6807\u51C6",textSizeLarge:"\u5927",loading:"\u6B63\u5728\u52A0\u8F7D\u2026",visualPreparing:"\u6B63\u5728\u51C6\u5907\u56FE\u8868\u2026",visualError:"\u65E0\u6CD5\u663E\u793A\u6B64\u56FE\u8868\u3002",visualPartial:"\u6B64\u56FE\u8868\u7684\u90E8\u5206\u5185\u5BB9\u65E0\u6CD5\u663E\u793A\u3002",visualSoldOut:"\u5DF2\u552E\u7F44",visualCartEmpty:"\u4F60\u7684\u8D2D\u7269\u8F66\u662F\u7A7A\u7684\u3002",visualQuantity:"\u6570\u91CF",visualChoose:"\u9009\u62E9",thinking:"\u6B63\u5728\u601D\u8003\u2026",thought:"\u601D\u8003\u8FC7\u7A0B",thoughtFor:"\u601D\u8003\u4E86 {time}",toolResult:"\u7ED3\u679C",sources:"\u6765\u6E90",feedbackUp:"\u56DE\u7B54\u5F88\u597D",feedbackDown:"\u56DE\u7B54\u4E0D\u597D",feedbackThanks:"\u611F\u8C22\u4F60\u7684\u53CD\u9988",copy:"\u590D\u5236",copied:"\u5DF2\u590D\u5236",copyTicketReference:"\u5DE5\u5355 {reference}\uFF0C\u590D\u5236",tabHome:"\u9996\u9875",tabConversations:"\u804A\u5929",tabHelp:"\u5E2E\u52A9",tabNews:"\u52A8\u6001",modulesEmpty:"\u8FD9\u91CC\u8FD8\u6CA1\u6709\u5185\u5BB9",chatUnavailable:"\u6B64\u804A\u5929\u76EE\u524D\u4E0D\u53EF\u7528",moduleBack:"\u8FD4\u56DE",contentLoading:"\u6B63\u5728\u52A0\u8F7D\u2026",contentHelpful:"\u8FD9\u5BF9\u4F60\u6709\u5E2E\u52A9\u5417\uFF1F",homeGreeting:"\u6709\u4EC0\u4E48\u53EF\u4EE5\u5E2E\u4F60\uFF1F",homeGreetingNamed:"\u4F60\u597D\uFF0C{name} \u{1F44B}",homeGreetingLead:"\u6709\u4EC0\u4E48\u53EF\u4EE5\u5E2E\u4F60\uFF1F",homeSearchPlaceholder:"\u641C\u7D22\u5E2E\u52A9",homeAskPlaceholder:"\u63D0\u51FA\u95EE\u9898\u2026",homeWhatsNew:"\u6700\u65B0\u52A8\u6001",homeContentTitle:"\u70ED\u95E8\u6587\u7AE0",homeStatus:"\u72B6\u6001",helpTitle:"\u5E2E\u52A9",helpSearchPlaceholder:"\u641C\u7D22\u5E2E\u52A9",helpEmpty:"\u8FD8\u6CA1\u6709\u5E2E\u52A9\u6587\u7AE0",helpLoading:"\u6B63\u5728\u52A0\u8F7D\u5E2E\u52A9\u2026",helpSearchEmpty:"\u6CA1\u6709\u627E\u5230\u201C{query}\u201D\u7684\u7ED3\u679C",helpShowMore:"\u663E\u793A\u66F4\u591A",newsTitle:"\u52A8\u6001",newsEmpty:"\u8FD8\u6CA1\u6709\u52A8\u6001",newsLoading:"\u6B63\u5728\u52A0\u8F7D\u52A8\u6001\u2026",newsShowMore:"\u663E\u793A\u66F4\u591A",newsUnseen:"\u65B0\u6587\u7AE0",unread:"\u672A\u8BFB",formRequired:"\u6B64\u9879\u4E3A\u5FC5\u586B",formInvalidEmail:"\u8BF7\u8F93\u5165\u6709\u6548\u7684\u90AE\u7BB1\u5730\u5740",formInvalidTel:"\u8BF7\u8F93\u5165\u6709\u6548\u7684\u7535\u8BDD\u53F7\u7801",formInvalidNumber:"\u8BF7\u8F93\u5165\u6709\u6548\u7684\u6570\u5B57",formOtherPlaceholder:"\u8F93\u5165\u4F60\u7684\u56DE\u7B54\u2026",inputRequired:"\u9700\u8981\u4F60\u56DE\u7B54\u7684\u95EE\u9898",askFallbackQuestion:"\u8BF7\u63D0\u4F9B\u7F3A\u5C11\u7684\u4FE1\u606F\u3002",inputBadge:"\u95EE\u9898",inputAnswered:"\u5DF2\u56DE\u7B54",inputSkipped:"\u5DF2\u8DF3\u8FC7",showOptions:"\u663E\u793A\u9009\u9879",hideOptions:"\u9690\u85CF\u9009\u9879",qtypeText:"\u4F60\u7684\u56DE\u7B54",qtypeEmail:"\u90AE\u7BB1\u5730\u5740",qtypePhone:"\u7535\u8BDD\u53F7\u7801",qtypeNumber:"\u6570\u5B57",qtypeDate:"\u65E5\u671F",qtypeChooseOne:"\u9009\u62E9\u4E00\u9879",qtypeChooseAny:"\u53EF\u591A\u9009",qtypeBoolean:"\u662F / \u5426",inputSubmit:"\u63D0\u4EA4\u56DE\u7B54",inputSubmitHint:"Enter \u53D1\u9001 \xB7 Shift+Enter \u6362\u884C",inputSkip:"\u8DF3\u8FC7",confirmYes:"\u662F",confirmNo:"\u5426",approve:"\u6279\u51C6",decline:"\u62D2\u7EDD",changeAnswer:"\u4FEE\u6539\u56DE\u7B54",approvalPrompt:"{action}\uFF1F",approvalEditHint:"\u5728\u6B64\u6B65\u9AA4\u7EE7\u7EED\u4E4B\u524D\uFF0C\u4F60\u53EF\u4EE5\u4FEE\u6539\u56DE\u7B54\u3002",stepInput:"\u8F93\u5165",stepWorking:"\u8FDB\u884C\u4E2D",stepWorkingOnIt:"\u6B63\u5728\u5904\u7406\u2026",stepNeedsYourApproval:"\u9700\u8981\u4F60\u7684\u6279\u51C6",stepWaitingForVisitor:"\u7B49\u5F85\u8BBF\u5BA2",stepApproved:"\u5DF2\u6279\u51C6",stepDeclined:"\u5DF2\u62D2\u7EDD",stepReplaced:"\u5DF2\u66FF\u6362",stepFailed:"\u5931\u8D25",stepDidNotWork:"\u672A\u6210\u529F",decidedYouApproved:"\u4F60\u5DF2\u6279\u51C6",decidedYouDeclined:"\u4F60\u5DF2\u62D2\u7EDD",decidedVisitorApproved:"\u8BBF\u5BA2\u5DF2\u6279\u51C6",decidedVisitorDeclined:"\u8BBF\u5BA2\u5DF2\u62D2\u7EDD",decidedTeamApproved:"\u56E2\u961F\u6210\u5458\u5DF2\u6279\u51C6",decidedTeamDeclined:"\u56E2\u961F\u6210\u5458\u5DF2\u62D2\u7EDD",decidedMemberApproved:"{name} \u5DF2\u6279\u51C6",decidedMemberDeclined:"{name} \u5DF2\u62D2\u7EDD",stepRawData:"\u539F\u59CB\u6570\u636E",decidedRulesApproved:"\u5DF2\u81EA\u52A8\u6279\u51C6",decidedRulesDeclined:"\u5DF2\u81EA\u52A8\u62D2\u7EDD",edit:"\u7F16\u8F91",statusError:"\u9519\u8BEF",toolStepsFailed:"{count} \u4E2A\u5931\u8D25",statusStopped:"\u5DF2\u505C\u6B62",toolStepsStopped:"\u5728 {count} \u6B65\u540E\u505C\u6B62",toolStepsStoppedOne:"\u5728 1 \u6B65\u540E\u505C\u6B62"},Sg={en:mi,fr:hg,es:bg,ar:yg,he:Pg,zh:xg};function gi(e,t){let r=Hc(e),n=hi(t),o=Sg[Fc(r)],s=n?{...t[r],...t[e]}:t??{},a=n?t.en??{}:{};return{...mi,...o,...a,...s}}function Hc(e){return(e.split("-")[0]??"en").toLowerCase()}var wg=new Set(["ar","he","iw","fa","ur","ps","sd","ug","yi","dv","ckb","ks","nqo","prs","syr"]);function vi(e){return wg.has(Hc(e))}function gt(e,t){return e[t]??t}function hi(e){if(!e)return!1;for(let t of Object.values(e))if(t&&typeof t=="object")return!0;return!1}var q={id:"help-ai",name:"@helpai/elements",global:"HelpAI",tagName:"web-ai-chat",cssPrefix:"helpai",defaultBaseUrl:"https://help.ai",displayName:"Help AI",domain:"help.ai",siteUrl:"https://help.ai"};var bi={simple:{showSteps:!1,showStepDetails:!1,showStepSystem:!1,showDecidedBy:!1,foldApprovals:!0},technical:{showSteps:!0,showStepDetails:!0,showStepSystem:!0,showDecidedBy:!0,foldApprovals:!0}};function Wc(e){return Object.hasOwn(bi,e)}function Gc(e,t){return{...bi[t],...e}}var Kc=/^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$/i,kg=4e3;function xs(e){let t=e.replace(/([a-z0-9])([A-Z])/g,"$1 $2").replace(/[_-]+/g," ").trim().toLowerCase();return t.charAt(0).toUpperCase()+t.slice(1)}function Cg(e){if(e.title)return e.title;let t=e.toolName.replace(/^tool[:-]/,""),r=t.indexOf("__");return xs(r>0?t.slice(r+2):t)}function Tg(e,t,r){let n=e.approval;return n?.replacedByMessageId?"replaced":e.state==="output-available"?r.error===void 0?"done":"failed":e.state==="output-error"?t.interrupted?"stopped":"failed":e.state==="output-denied"||n?.approved===!1?"declined":e.state==="approval-responded"||n?.approved===!0?t.cutOff?"stopped":"approved":e.state==="approval-requested"?t.submitted?"submitted":t.cutOff?"stopped":t.superseded?"replaced":"waiting":t.live?"running":"stopped"}function Ig(e,t){if(e.isAutomatic)return"rules";let r=e.respondedBy;return r?.visitorId?"visitor":r?.userId?r.userId===t.userId?"you":"teamMember":t.decides?"you":"visitor"}function Rg(e,t,r,n){let o=n[t?"stepApproved":"stepDeclined"];if(e==="teamMember"&&r)return{label:o,title:n[t?"decidedMemberApproved":"decidedMemberDeclined"].replace("{name}",r)};let s=n[Ag[e][t?0:1]];return e==="you"?{label:o,title:s}:{label:s,title:s}}var Ag={you:["decidedYouApproved","decidedYouDeclined"],visitor:["decidedVisitorApproved","decidedVisitorDeclined"],teamMember:["decidedTeamApproved","decidedTeamDeclined"],rules:["decidedRulesApproved","decidedRulesDeclined"]};function Eg(e,t){switch(e){case"running":return t.strings.stepWorking;case"waiting":return t.reader.decides?t.strings.stepNeedsYourApproval:t.strings.stepWaitingForVisitor;case"submitted":return t.strings.stepWorkingOnIt;case"approved":return t.strings.stepApproved;case"declined":return t.strings.stepDeclined;case"replaced":return t.strings.stepReplaced;case"stopped":return t.strings.statusStopped;case"failed":return t.display.showStepDetails?t.strings.stepFailed:t.strings.stepDidNotWork;case"done":return"";default:return e}}function lr(e){return typeof e=="object"&&e!==null&&!Array.isArray(e)}function Qc(e){return typeof e=="string"?e.trim():typeof e=="number"||typeof e=="boolean"?String(e):""}function jc(e){return Qc(e)||(e!==null&&typeof e=="object"?JSON.stringify(e):"")}function Mg(e){if(!lr(e))return jc(e);let[t,...r]=Object.values(e).map(jc).filter(Boolean);return t===void 0?"":r.length>0?`${t} (${r.join(", ")})`:t}function Vc(e,t){if(!lr(e))return[];let r=[];function n(s,a){if(Array.isArray(s)){let c=s.map(Mg).filter(Boolean).join(", ");c&&r.push({path:a,value:c});return}if(lr(s)){for(let[c,u]of Object.entries(s))n(u,[...a,c]);return}let i=Qc(s);i&&(t.withIds||!Kc.test(i))&&r.push({path:a,value:i})}n(e,[]);let o=r.map(({path:s})=>xs(s.at(-1)??""));return r.map(({path:s,value:a},i)=>{let c=o[i]??"";return{label:o.filter(p=>p===c).length>1&&s.length>1?`${xs(s.at(-2)??"")} \xB7 ${c.toLowerCase()}`:c,value:a}})}function Lg(e){if(lr(e))return Object.values(e).find(t=>typeof t=="string"&&t.trim().length>0&&!Kc.test(t.trim()))?.trim()}function yi(e,t=Number.POSITIVE_INFINITY){if(e==null)return;let r=typeof e=="string"?e:JSON.stringify(e,null,2);if(!(!r||r==="{}"||r==="[]"||r==='""'))return r.length>t?`${r.slice(0,t)}\u2026`:r}function Ng(e){let t=e.trim();if(!t.startsWith("{")&&!t.startsWith("["))return e;try{return JSON.parse(t)}catch{return e}}function Og(e){if(lr(e)&&e.storage==="tool-result-ref"&&"summary"in e)return{value:e.summary};if(lr(e)&&Array.isArray(e.content)){let t=e.content.flatMap(n=>lr(n)&&typeof n.text=="string"?[n.text]:[]).join(`
|
|
2
|
+
`),r=lr(e.structuredContent)?e.structuredContent:Ng(t);return e.isError===!0?{value:r,error:lr(r)&&typeof r.error=="string"?r.error:t}:{value:r}}return lr(e)&&typeof e.error=="string"&&typeof e.instruction=="string"?{value:e,error:e.error}:{value:e}}function $g(e){return yi(e.input)!==void 0||yi(e.output)!==void 0||!!e.errorText}function Dg(e,t,r){let{display:n}=r,o=e.approval;if(typeof e.toolMetadata?.card=="string"&&o)return"card";let s=o!==void 0&&!o.isAutomatic;if(s&&Ss(e,r.turn))return"card";let a=t.decision?.by==="you"||s&&t.decision===void 0&&r.reader.decides;return s&&a?n.foldApprovals?"step":"card":s?n.showSteps||n.showDecidedBy?n.foldApprovals?"step":"card":"hidden":o?.isAutomatic?n.showSteps||n.showDecidedBy?"step":"hidden":n.showSteps&&$g(e)?"step":"hidden"}function Ss(e,t){return e.approval?.replacedByMessageId||(t.superseded||t.cutOff)&&e.approval?.approved===void 0?!1:e.state==="approval-requested"||e.state==="approval-responded"}function Yc(e,t){let{turn:r,reader:n,display:o,strings:s}=t,a=Og(e.output),i=Tg(e,r,a),c=e.approval,u=c?.replacedByMessageId?void 0:c?.approved,p=c&&u!==void 0?Ig(c,n):void 0,_=p==="teamMember"?c?.respondedBy?.userId:void 0,d=p&&u!==void 0&&(p==="you"||o.showDecidedBy)?{approved:u,by:p,...Rg(p,u,_&&t.names?.get(_),s),..._?{userId:_}:{}}:void 0,f=Cg(e),v=typeof e.toolMetadata?.system=="string"&&(o.showStepSystem||e.toolMetadata.nameShared===!0)?e.toolMetadata.system:void 0,g=Lg(e.input),x=e.errorText??a.error,w=o.showStepDetails&&a.error===void 0?Vc(a.value,{withIds:!0}):[],y=o.showStepDetails?{input:yi(e.input),output:yi(a.value,kg)}:void 0,S=c!==void 0&&!c.isAutomatic&&!e.toolMetadata?.card,b={toolCallId:e.toolCallId,placement:"hidden",...typeof e.toolMetadata?.card=="string"&&c?{card:e.toolMetadata.card}:{},name:f,...v?{system:v}:{},status:i,statusLabel:Eg(i,{reader:n,display:o,strings:s}),...d?{decision:d}:{},...d?.by==="rules"&&c?.reason?{reason:c.reason}:{},...g?{summary:g}:{},fields:Vc(e.input,{withIds:o.showStepDetails||c!==void 0&&!c.isAutomatic&&Ss(e,r)}),...w.length>0?{resultFields:w}:{},...x&&o.showStepDetails?{error:x}:{},...y?{raw:y}:{},...S?{approval:qg(e,i,{turn:r,reader:n,strings:s,name:f})}:{}};return{...b,placement:Dg(e,b,{turn:r,reader:n,display:o})}}function qg(e,t,r){let n=r.strings.approvalPrompt.replace("{action}",r.name);return t==="waiting"?{ask:n,buttons:r.reader.decides?"decide":"none"}:t==="submitted"?{ask:n,buttons:"none"}:Ss(e,r.turn)?r.turn.canAct&&r.reader.decides?{ask:n,buttons:"change",note:r.strings.approvalEditHint}:t==="approved"?{ask:n,buttons:"none",note:r.strings.stepWorkingOnIt}:{ask:n,buttons:"none"}:{ask:n,buttons:"none"}}function Jc(e){let t=new Map;for(let s of e)t.set(s.name,(t.get(s.name)??0)+1);let r=new Map;for(let{decision:s}of e){if(!s)continue;let a=r.get(s.title)??{approved:s.approved,label:s.label,title:s.title,...s.userId?{userId:s.userId}:{},count:0};r.set(s.title,{...a,count:a.count+1})}let[n]=e,o=e.some(s=>s.status==="stopped");return{tools:[...t].map(([s,a])=>({name:s,count:a})),...e.length===1&&n?{single:{name:n.name,...n.system?{system:n.system}:{},...n.summary?{summary:n.summary}:{},...Bg(n)}}:{},marks:[...r.values()].map(({count:s,...a})=>Object.assign(a,{label:s>1?`${a.label} \xD7${s}`:a.label})),failed:e.filter(s=>s.status==="failed").length,...o?{stopped:{finished:e.filter(s=>s.status!=="stopped").length}}:{}}}function Bg(e){return!e.decision&&(e.status==="replaced"||e.status==="declined")?{outcome:e.statusLabel}:{}}function Xc(e,t){return e===0?t.statusStopped:e===1?t.toolStepsStoppedOne:t.toolStepsStopped.replace("{count}",String(e))}var ws=class{get(t){try{return localStorage.getItem(t)}catch{return null}}set(t,r){try{localStorage.setItem(t,r)}catch{}}remove(t){try{localStorage.removeItem(t)}catch{}}},Pi=new ws,Qr={get(e){try{return sessionStorage.getItem(e)}catch{return null}},set(e,t){try{sessionStorage.setItem(e,t)}catch{}},remove(e){try{sessionStorage.removeItem(e)}catch{}}};var xi={maxBytes:10485760,maxCount:10,accept:"*/*"},Zc={voice:"local"},ks={enabled:!0,sampleRate:1},Cs={upload:"/pai/upload-file",transcribe:"/pai/transcribe-audio"},Sn={variant:"circle",size:"md",label:void 0,icon:"chat",hidden:!1},ed={floating:["theme","textSize","history","close","clear","expand","fullscreen","popOut","sound","language"],inline:["theme","textSize","history","close","clear","fullscreen","popOut","sound","language"],standalone:["theme","textSize","history","clear","sound","language"],page:["theme","textSize","history","clear","sound","language"],modal:["theme","textSize","history","close","clear","fullscreen","popOut","sound","language"],drawer:["theme","textSize","history","close","clear","fullscreen","popOut","sound","language"]},Ts={enabled:!0,volume:.3,events:void 0},td={enabled:!0,events:void 0},rd=[{label:"tabConversations",layout:"chat"}];var Ug=["off","error","warn","info","debug","trace"],Is=q.cssPrefix,zg=`${Is}.debug`,Fg=`__${q.global}_DEBUG__`,Hg=`${Is}-debug`,id=2,nd=null;function jg(){if(typeof window>"u")return 2;try{let e=new URLSearchParams(window.location.search).get(Hg);if(e!==null){let t=od(e);if(t>=0)return t}}catch{}try{let e=window.localStorage?.getItem(zg);if(e){let t=od(e);if(t>=0)return t}}catch{}return Reflect.get(window,Fg)?4:2}function od(e){if(e===!0||e==="1"||e==="true")return 4;if(e===!1||e==="0"||e==="false"||e==="off")return 0;if(typeof e=="number")return Math.max(0,Math.min(5,Math.floor(e)));if(typeof e=="string"){let t=Ug.findIndex(r=>r===e);if(t>=0)return t}return-1}id=jg();function ad(e){let t=`[${Is}:${e}]`;function r(n,o,s){return(a,i)=>{if(!(id<n)&&(i===void 0?console[o](t,a):console[o](t,a,i),nd))try{nd({level:s,scope:e,message:a,payload:i})}catch{}}}return{error:r(1,"error","error"),warn:r(2,"warn","warn"),info:r(3,"info","info"),debug:r(4,"debug","debug"),trace:r(5,"debug","trace"),scope:n=>ad(`${e}:${n}`)}}var ae=ad("core");var Yr=ae.scope("context"),Vg=new Set(["visitorId","conversationId","jwt","token","authorization","password"]),sd=50,Rs=1024,Wg=/^[^\s@]+@[^\s@]+\.[^\s@]+$/;function As(e){return ld(e,"userContext",!0)}function Es(e){return ld(e,"pageContext",!1)}function Gg(e){return typeof e=="object"&&e!==null&&!Array.isArray(e)}function ld(e,t,r){if(e==null)return;if(!Gg(e)){Yr.warn(`ignored ${t} \u2014 expected an object`,{type:Array.isArray(e)?"array":typeof e});return}let n={},o=0;for(let[s,a]of Object.entries(e)){if(Vg.has(s)){Yr.warn(`dropped reserved ${t} key "${s}" \u2014 managed by the widget, not host-settable`);continue}if(a==null)continue;if(o>=sd){Yr.warn(`${t} truncated at ${sd} keys \u2014 dropped "${s}"`);continue}let i=Kg(t,s,a);i!==void 0&&(n[s]=i,o++)}return r&&typeof n.email=="string"&&!Wg.test(n.email)&&(Yr.warn("dropped malformed context field",{field:`${t}.email`,reason:"invalid format"}),delete n.email),Object.keys(n).length>0?n:void 0}function Kg(e,t,r){if(typeof r=="boolean")return r;if(typeof r=="number"){if(!Number.isFinite(r)){Yr.warn(`dropped non-finite ${e}.${t}`);return}return r}if(typeof r=="string"){let n=r.trim();return n===""?void 0:n.length>Rs?(Yr.warn(`truncated ${e}.${t} to ${Rs} chars`),n.slice(0,Rs)):n}Yr.warn(`dropped ${e}.${t} \u2014 only string/number/boolean values are allowed`,{type:typeof r})}function wn(e){let t=e!==null&&typeof e=="object"?e:{},r=t.presentation??{},n=t.behavior??{},o=t.i18n??{},s=t.feedback??{},a=t.footer??{},i=t.header??{},c={enabled:t.history?.enabled??!0},{themeMode:u,themeOverrides:p}=Qg(t.theme),_=r.mode??"floating",d=Yg(o.defaultLocale),f=o.availableLocales??[o.locale??d],v=kn(o.locale??d,f,d),g=(t.baseUrl??q.defaultBaseUrl).replace(/\/$/,""),x=(t.agentApiBaseUrl??`${g}/api/agent`).replace(/\/$/,""),w=(t.dataApiBaseUrl??`${g}/api/data`).replace(/\/$/,"");return{widgetId:t.widgetId??"default",publicKey:t.publicKey,aiAgentDeploymentId:t.aiAgentDeploymentId,baseUrl:g,agentApiBaseUrl:x,dataApiBaseUrl:w,userContext:As(t.userContext),pageContext:Es(t.pageContext),position:r.position??(vi(v)?"bottom-left":"bottom-right"),themeMode:u,textSize:"normal",themeOverrides:p,mode:_,responseMode:n.responseMode??"streaming",showReasoning:n.showReasoning??!1,stepDisplay:Gc(n.stepDisplay,"simple"),showSources:n.showSources??!1,enableMessageFeedback:!(n.disableMessageFeedback??!1),autoSendSuggestions:n.autoSendSuggestions??!1,cardAnswerWaitSeconds:n.cardAnswerWaitSeconds??60,popOutUrl:n.popOutUrl,features:{voice:t.features?.voice??Zc.voice,fileUpload:!(t.features?.disableFileUpload??!1),humanInLoop:!(t.features?.disableHumanInLoop??!1),emailTranscript:!(t.features?.disableEmailTranscript??!1),operatorRequest:t.features?.enableOperatorRequest===!0&&!(t.features.hideRequestOperatorButton??!1)},endpoints:{upload:t.endpoints?.upload??Cs.upload,transcribe:t.endpoints?.transcribe??Cs.transcribe},attachments:{accept:t.composer?.attachments?.accept??xi.accept,maxBytes:t.composer?.attachments?.maxBytes??xi.maxBytes,maxCount:t.composer?.attachments?.maxCount??xi.maxCount},locale:v,defaultLocale:d,availableLocales:f,startMinimized:n.startMinimized??!0,actions:Jg(_,i.actions,c.enabled),size:{...r.size,resize:{...r.size?.resize,enabled:r.size?.resize?.enabled??!0}},launcher:ov(t.launcher,t.agent?.name),sound:Xg(s.sound),haptics:Zg(s.haptics),strings:gi(v,o.strings),stringsOverride:o.strings,composerDisclaimer:a.composerDisclaimer??"",header:{variant:i.variant??"plain",notice:i.notice,showNotice:!(i.hideNotice??!1)},poweredBy:tv(a.poweredBy),composer:rv(t.composer),modules:nv(t.modules,c.enabled),tracking:ev(t.tracking,w),history:c,storage:t.storage??Pi,userToken:t.userToken,continueLink:t.continueLink,tools:t.tools,onMessage:t.onMessage,onOpen:t.onOpen,onClose:t.onClose,onError:t.onError}}function Qg(e){if(typeof e=="string")return{themeMode:e,themeOverrides:{}};if(!e||typeof e!="object")return{themeMode:"host",themeOverrides:{}};let{mode:t,...r}=e;return{themeMode:t??"host",themeOverrides:r}}function Yg(e){return e&&e!=="auto"?e:globalThis.navigator?.language||"en"}function kn(e,t,r){if(t.length<=1||t.includes(e))return e;let n=e.split("-")[0];return n&&t.includes(n)?n:t.includes(r)?r:t[0]??e}function Jg(e,t,r){let n=t??ed[e];return r?n:n.filter(o=>o!=="history")}function Xg(e){return{enabled:e?.enabled??Ts.enabled,volume:e?.volume??Ts.volume,events:e?.events}}function Zg(e){return{enabled:e?.enabled??td.enabled,events:e?.events}}function ev(e,t){let r=e?.sampleRate??ks.sampleRate;return{enabled:e?.enabled??ks.enabled,endpoint:e?.endpoint??`${t}/pai/elements-px.gif`,sampleRate:Math.min(1,Math.max(0,Number.isFinite(r)?r:1)),token:e?.token}}function tv(e){return e?.text===""&&!e.logoUrl?null:{href:q.siteUrl,...e}}function rv(e){let t=e?.sendButton;return{sendButton:{shape:t?.shape??"circle",icon:t?.icon??"arrowUp",variant:t?.variant??"filled"}}}function nv(e,t){let r=(e??rd).slice(0,4),n=r.some(i=>i?.label&&i.layout==="help"),o=new Set,s=[];for(let i of r){if(!i?.label||!i?.layout)continue;let c=i.contentCollectionIds?.filter(Boolean),u=i.id??c?.[0]??i.layout;for(;o.has(u);)u=`${u}-${s.length}`;o.add(u);let p={id:u,label:i.label,layout:i.layout};c?.length&&(p.contentCollectionIds=c),i.layout==="home"&&(p.brandName=i.brandName,p.greetingText=i.greetingText,p.showGreeting=!(i.hideGreeting??!1),p.showSearchBar=n&&!(i.hideSearchBar??!1),p.showRecentConversations=t&&!(i.hideRecentConversations??!1),i.userAvatars?.length&&(p.userAvatars=i.userAvatars),i.status&&(p.status=i.status),p.contentBlockTitle=i.contentBlockTitle),s.push(p)}let a=Object.fromEntries(s.map(i=>[i.id,i]));return{list:s,byId:a}}function ov(e,t){let r=e?.callout?.text?{shape:"pill",position:"auto",delayMs:1200,autoDismissMs:0,animated:!0,persistent:!0,...e.callout}:null;return{variant:e?.variant??Sn.variant,size:e?.size??Sn.size,label:e?.label??Sn.label,icon:e?.icon??Sn.icon,hidden:e?.hidden??Sn.hidden,...t&&{personaName:t},callout:r}}function to(e,t){return e==="host"?"host":t??e}function Ms(e,t,r,n){let o=kn(t,e.availableLocales,e.defaultLocale);if(o===e.locale&&r===e.themeMode&&n===e.textSize)return e;let s={...e};return o!==e.locale&&(s.locale=o,s.strings=gi(o,e.stringsOverride)),r!==e.themeMode&&(s.themeMode=r),n!==e.textSize&&(s.textSize=n),s}function Si(e){return typeof e=="object"&&e!==null&&!Array.isArray(e)}var iv=["agent","presentation","behavior","theme","launcher","header","composer","feedback","i18n","footer","features","tracking","endpoints","history"];function Ls(e,t){if(!t)return e;let r={...e};for(let s of iv){let a=t[s];if(a===void 0)continue;let i=e[s];if(s==="theme"){i===void 0?r[s]=a:typeof i=="string"&&typeof a=="object"&&a!==null&&(r[s]={...a,mode:i});continue}s!=="i18n"&&(r[s]=cd(Si(a)?a:{},Si(i)?i:void 0))}t.modules!==void 0&&e.modules===void 0&&(r.modules=t.modules),t.dataApiBaseUrl!==void 0&&e.dataApiBaseUrl===void 0&&(r.dataApiBaseUrl=t.dataApiBaseUrl);let n=e.i18n,o=t.i18n;if(n||o){let s=cd(Si(o)?o:{},Si(n)?n:void 0);o?.availableLocales!==void 0&&(s.availableLocales=o.availableLocales),o?.defaultLocale!==void 0&&(s.defaultLocale=o.defaultLocale);let a=n?.strings,i=o?.strings;(a||i)&&(s.strings=av(i,a)),r.i18n=s}return r}function cd(e,t){if(!t)return e;let r={...e};for(let[n,o]of Object.entries(t))o!==void 0&&(r[n]=o);return r}function av(e,t){if(!e)return t;if(!t)return e;let r=hi(e),n=hi(t);if(!r&&!n)return{...e,...t};let o={},s=r?e:{en:e},a=n?t:{en:t};for(let[i,c]of Object.entries(s))o[i]={...c};for(let[i,c]of Object.entries(a))o[i]={...o[i],...c};return o}var sv=["clear","expand","fullscreen","popOut","sound","history","language","theme","textSize","close"];function lv(e){return typeof e=="object"&&e!==null&&!Array.isArray(e)}function Ar(e){return e!=="false"}function cv(e){return Wc(e)?bi[e]:void 0}function dv(e){let t=Number.parseInt(e,10);return Number.isFinite(t)&&t>=0?t:void 0}function uv(e){return e.split(",").map(t=>t.trim()).filter(Boolean)}var ud=[["public-key","publicKey"],["ai-agent-deployment-id","aiAgentDeploymentId"],["base-url","baseUrl"],["agent-api-base-url","agentApiBaseUrl"],["data-api-base-url","dataApiBaseUrl"],["continue-link","continueLink"],["theme","theme",e=>e]],pd=[["mode","mode",e=>e],["position","position",e=>e]],_d=[["width","width"],["height","height"]],fd=[["response-mode","responseMode",e=>e],["start-minimized","startMinimized",Ar],["show-reasoning","showReasoning",Ar],["step-display","stepDisplay",cv],["show-sources","showSources",Ar],["disable-message-feedback","disableMessageFeedback",Ar],["auto-send-suggestions","autoSendSuggestions",Ar],["card-answer-wait-seconds","cardAnswerWaitSeconds",dv],["pop-out-url","popOutUrl"]],md=[["locale","locale"]],pv=new Set(sv);function _v(e){return uv(e).filter(t=>pv.has(t))}var gd=[["launcher-variant","variant",e=>e],["launcher-size","size",e=>e],["launcher-icon","icon"],["launcher-hidden","hidden",Ar]],vd=[["features-disable-file-upload","disableFileUpload",Ar],["features-disable-email-transcript","disableEmailTranscript",Ar],["features-voice","voice",e=>e]],hd=[["endpoint-upload","upload"],["endpoint-transcribe","transcribe"]],yd=[["user-id","id"],["user-email","email"],["user-name","name"]],bd=[["page-area","area"],["page-url","url"],["page-path","path"],["page-title","title"]],fv=["launcher-label","callout-text","callout-delay","actions","user-context","page-context"],mv=[ud,pd,_d,fd,md,gd,vd,hd,yd,bd],gv=new Set(["start-minimized"]),Ns=[...mv.flatMap(e=>e.map(([t])=>t).filter(t=>!gv.has(t))),...fv];function Os(e){let t={};function r(f){let v=e(f);return v===null||v===""?void 0:v}for(let[f,v,g]of ud){let x=r(f);x!==void 0&&Reflect.set(t,v,g?g(x):x)}let n=Jr(r,pd),o=Jr(r,_d);(n||o)&&(t.presentation={...n,...o?{size:o}:{}});let s=Jr(r,fd);s&&(t.behavior=s);let a=Jr(r,md);a&&(t.i18n=a);let i=vv(e,r);i&&(t.launcher=i);let c=Jr(r,vd);c&&(t.features=c);let u=Jr(r,hd);u&&(t.endpoints=u);let p=dd(r,yd,"user-context");p&&(t.userContext=p);let _=dd(r,bd,"page-context");_&&(t.pageContext=_);let d=r("actions");return d!==void 0&&(t.header={actions:_v(d)}),t}function Jr(e,t){let r={};for(let[n,o,s]of t){let a=e(n);a!==void 0&&Reflect.set(r,o,s?s(a):a)}return Object.keys(r).length>0?r:null}function dd(e,t,r){let n={};for(let[i,c]of t){let u=e(i);u!==void 0&&(n[c]=u)}let o={},s=e(r);if(s)try{let i=JSON.parse(s);if(lv(i))for(let[c,u]of Object.entries(i))(typeof u=="string"||typeof u=="number"||typeof u=="boolean")&&(o[c]=u)}catch{}let a={...o,...n};return Object.keys(a).length>0?a:null}function vv(e,t){let r=Jr(t,gd)??{},n=e("launcher-label");n!==null&&(r.label=n);let o=t("callout-text");if(o){let s=Number.parseInt(t("callout-delay")??"",10);r.callout={text:o,...Number.isFinite(s)?{delayMs:s}:{}}}return Object.keys(r).length>0?r:null}var Pd=ae.scope("track"),hv=64,yv=256,bv=10;function xd(e,t){let r=typeof e=="string"?e.trim():"";if(!r||r.length>hv){Pd.warn("track: ignored an event without a name of 1\u201364 characters",{name:e});return}let n=Object.fromEntries(Object.entries(typeof t=="object"&&t!==null?t:{}).filter(o=>typeof o[1]=="string"||typeof o[1]=="boolean"||Number.isFinite(o[1])));return JSON.stringify(n).length>yv?(Pd.warn("track: sent the event without its data, which is over 256 characters",{name:r}),{name:r}):Object.keys(n).length>0?{name:r,data:n}:{name:r}}function Sd(e){let t=[];return e.on("hostEvent",r=>{t.push({...r,at:Date.now()}),t.length>bv&&t.shift()}),t}function Wt(){let e=Date.now(),t=new Uint8Array(16);t[0]=Math.floor(e/2**40)&255,t[1]=Math.floor(e/2**32)&255,t[2]=e>>>24&255,t[3]=e>>>16&255,t[4]=e>>>8&255,t[5]=e&255,Pv(t.subarray(6)),t[6]=(t[6]??0)&15|112,t[8]=(t[8]??0)&63|128;let r=Array.from(t,n=>n.toString(16).padStart(2,"0")).join("");return`${r.slice(0,8)}-${r.slice(8,12)}-${r.slice(12,16)}-${r.slice(16,20)}-${r.slice(20)}`}function Pv(e){if(typeof crypto<"u"&&typeof crypto.getRandomValues=="function"){crypto.getRandomValues(e);return}for(let t=0;t<e.length;t++)e[t]=Math.floor(Math.random()*256)}var Er=ae.scope("persistence");function Cn(e,t=Pi,r){let n=r?`${e}.${r}`:e,o=`${q.cssPrefix}.${n}.storageVersion`,s=t.get(o)??void 0,a=s?`.v${s}`:"",i=`${q.cssPrefix}.${n}${a}`,c=`${q.cssPrefix}${a}.visitorId`,u=`${q.cssPrefix}${a}.lastUserSub`,p=`${i}.conversationId`,_=`${i}.userPrefs`,d=`${i}.panelOpen`,f=`${i}.panelSize`,v=`${i}.calloutDismissed`,g=`${i}.sidebarCollapsed`,x=`${i}.activeModule`,w=`${i}.seenNewsId`,y=`${i}.historyCount`,S=`${i}.loginReturn`,b=`${i}.loginPromptDismissedIn`,k={getVisitorId(){let h=t.get(c);if(h)return h;let m=Wt();return t.set(c,m),m},loadLastUserSub(){return t.get(u)??void 0},saveLastUserSub(h){t.set(u,h)},loadConversationId(){return t.get(p)??void 0},saveConversationId(h){Er.trace("saveConversationId",{id:h,scope:n}),h?t.set(p,h):t.remove(p)},loadDraft(h){return t.get(`${i}.draft.${h}`)??""},saveDraft(h,m){let P=`${i}.draft.${h}`;m?t.set(P,m):t.remove(P)},loadMessageQueue(h){let m=t.get(`${i}.messageQueue.${h}`);if(!m)return[];try{let P=JSON.parse(m);return!Array.isArray(P)||!P.every(xv)?[]:P}catch(P){return Er.warn("loadMessageQueue parse failed",{error:P}),[]}},saveMessageQueue(h,m){let P=`${i}.messageQueue.${h}`;if(m.length===0){t.remove(P);return}try{t.set(P,JSON.stringify(m))}catch(R){Er.warn("saveMessageQueue serialise failed",{error:R})}},loadUserPrefs(){let h=t.get(_);if(!h)return{};try{return $s(JSON.parse(h))}catch(m){return Er.warn("loadUserPrefs parse failed",{error:m}),{}}},saveUserPrefs(h){try{t.set(_,JSON.stringify(h))}catch(m){Er.warn("saveUserPrefs serialise failed",{error:m})}},patchUserPrefs(h){let m=k.loadUserPrefs();k.saveUserPrefs({...m,...h})},loadPanelOpen(){let h=t.get(d);return h==="1"?!0:h==="0"?!1:null},savePanelOpen(h){t.set(d,h?"1":"0")},loadPanelSize(){let h=t.get(f);return h==="normal"||h==="expanded"||h==="fullscreen"?h:null},savePanelSize(h){t.set(f,h)},loadCalloutDismissed(h){if(!h)return!1;let m=t.get(v);return!!m&&m===h},saveCalloutDismissed(h){h?t.set(v,h):t.remove(v)},loadSidebarCollapsed(){let h=t.get(g);return h==="1"?!0:h==="0"?!1:null},saveSidebarCollapsed(h){t.set(g,h?"1":"0")},loadActiveModule(){return t.get(x)||null},saveActiveModule(h){t.set(x,h)},loadSeenNewsId(){return t.get(w)||null},saveSeenNewsId(h){t.set(w,h)},loadHistoryCount(){let h=t.get(y);if(!h)return null;let m=Number.parseInt(h,10);return Number.isFinite(m)&&m>=0?m:null},saveHistoryCount(h){t.set(y,String(h))},rememberStorageVersion(h){h&&h!==t.get(o)&&(Er.debug("rememberStorageVersion (force-reset on next load)",{version:h}),t.set(o,h))},saveLoginReturn(h){Qr.set(S,JSON.stringify(h))},takeLoginReturn(){let h=Qr.get(S);if(h){Qr.remove(S);try{let m=JSON.parse(h);return wi(m)&&typeof m.conversationId=="string"&&m.conversationId&&typeof m.draft=="string"?{conversationId:m.conversationId,draft:m.draft}:void 0}catch(m){Er.warn("takeLoginReturn parse failed",{error:m});return}}},loadLoginPromptDismissedIn(){return Qr.get(b)??void 0},dismissLoginPromptIn(h){Qr.set(b,h)},clearConversation(){t.remove(p)},reset(){let h=t.get(p);h&&(t.remove(`${i}.draft.${h}`),t.remove(`${i}.messageQueue.${h}`));for(let m of[S,b])Qr.remove(m);for(let m of[c,u,p,_,f,v,g,x,w,y])t.remove(m);Er.info("reset: forgot the visitor",{scope:n})}};return k}function wi(e){return typeof e=="object"&&e!==null&&!Array.isArray(e)}function xv(e){return wi(e)&&typeof e.id=="string"&&e.id.length>0&&typeof e.text=="string"}function $s(e){if(!wi(e))return{};let t={};return typeof e.locale=="string"&&(t.locale=e.locale),typeof e.soundMuted=="boolean"&&(t.soundMuted=e.soundMuted),(e.themeMode==="auto"||e.themeMode==="light"||e.themeMode==="dark")&&(t.themeMode=e.themeMode),(e.textSize==="small"||e.textSize==="normal"||e.textSize==="large")&&(t.textSize=e.textSize),wi(e.widgetSize)&&typeof e.widgetSize.width=="number"&&typeof e.widgetSize.height=="number"&&(t.widgetSize={width:e.widgetSize.width,height:e.widgetSize.height}),t}var ki="6.6.1";var Sv="1",wd=60,wv=2e3,Ds={open:()=>{},close:()=>{},expand:e=>({on:e}),fullscreen:e=>({on:e}),send:e=>({attachments:e.attachmentCount}),message:e=>({role:e.role}),stop:()=>{},clear:()=>{},suggestion:()=>{},toggleHistory:e=>({view:e.view}),handshake:()=>{},toolResult:()=>{},toolDecision:e=>({approved:e.approved}),hostEvent:e=>({name:e.name,data:e.data&&JSON.stringify(e.data)}),messageFeedback:e=>({value:e.value??"none"}),contentView:e=>({section:e.section,count:e.count}),contentOpen:e=>({contentId:e.contentId,contentCollectionId:e.contentCollectionId}),contentSearch:e=>({qlen:e.queryLength,hits:e.hitCount}),contentRead:e=>({contentId:e.contentId}),contentLinkClick:e=>({contentId:e.contentId}),attach:e=>({count:e.count,bytes:e.totalBytes}),voiceStart:()=>{},voiceStop:e=>({ms:e.durationMs}),voiceCancel:()=>{},localeChange:e=>({locale:e}),themeChange:e=>({theme:e}),textSizeChange:e=>({size:e}),soundToggle:e=>({muted:e.muted}),sidebarToggle:e=>({collapsed:e.collapsed}),calloutDismiss:()=>{},error:()=>{}};function kv(){let e=navigator;return e.globalPrivacyControl===!0||e.doNotTrack==="1"}function Cv(){return location.origin+location.pathname}function Tv(){try{return document.referrer?new URL(document.referrer).origin:""}catch{return""}}function kd(e,t){let r=Math.random(),n=0,o=0,s=new Set;function a(_,d){let{tracking:f,publicKey:v,aiAgentDeploymentId:g,mode:x,themeMode:w}=t.getOptions();if(!f.enabled||kv()||r>=f.sampleRate)return;let y=performance.now();if(y-n>6e4&&(n=y,o=0),++o>wd)return;let S=new URLSearchParams;S.set("v",Sv),S.set("_ev",ki),S.set("e",_),f.token&&S.set("tk",f.token),v&&S.set("pk",v),g&&S.set("dep",g),S.set("vid",t.getVisitorId());let b=t.getConversationId();b&&S.set("cid",b),S.set("url",Cv());let k=Tv();k&&S.set("ref",k),S.set("sw",String(screen.width)),S.set("sh",String(screen.height)),S.set("vw",String(innerWidth)),S.set("vh",String(innerHeight)),S.set("dpr",String(devicePixelRatio)),S.set("lang",navigator.language);try{S.set("tz",Intl.DateTimeFormat().resolvedOptions().timeZone)}catch{}if(S.set("m",x),S.set("th",w),d)for(let[R,I]of Object.entries(d))I!==void 0&&S.set(R,String(I));S.set("ts",String(Date.now()));let h=`${f.endpoint}?${S}`;if(h.length>wv)return;let m=new Image(1,1);s.add(m);function P(){return s.delete(m)}m.addEventListener("load",P,{once:!0}),m.addEventListener("error",P,{once:!0}),m.src=h}let i=[];function c(_,d){if(i&&_!=="handshake"){i.length<wd&&i.push([_,d]);return}let f=i??[];i=void 0;for(let[v,g]of f)a(v,g);a(_,d)}function u(_,d){return Ds[_]?.(d)}let p=Object.keys(Ds).filter(_=>Object.hasOwn(Ds,_)).map(_=>e.on(_,d=>c(_,u(_,d))));return()=>{for(let _ of p)_();s.clear()}}var Cd=`.__P__-generative-ui{display:grid;gap:var(--__P__-space-3);overflow-wrap:anywhere;white-space:pre-wrap}.__P__-generative-ui p{margin:0}.__P__-generative-ui-grid-container{container:__P__-generative-ui-grid / inline-size;min-width:0}.__P__-generative-ui-grid{display:grid;grid-template-columns:minmax(0,1fr);gap:16px}.__P__-generative-ui-cell{display:flex;flex-direction:column;align-self:start;min-width:0;gap:16px}.__P__-generative-ui-grid[data-equal-heights]>.__P__-generative-ui-cell{align-self:stretch}.__P__-generative-ui-grid[data-equal-heights]>.__P__-generative-ui-cell>:only-child{flex:1}@container __P__-generative-ui-grid (min-width: 496px){.__P__-generative-ui-grid:is([data-columns="2"],[data-columns="3"],[data-columns="4"]){grid-template-columns:repeat(2,minmax(0,1fr))}.__P__-generative-ui-grid:is([data-columns="2"],[data-columns="3"],[data-columns="4"])>.__P__-generative-ui-cell:is([data-span="2"],[data-span="3"],[data-span="4"]){grid-column:span 2}}@container __P__-generative-ui-grid (min-width: 752px){.__P__-generative-ui-grid:is([data-columns="3"],[data-columns="4"]){grid-template-columns:repeat(3,minmax(0,1fr))}.__P__-generative-ui-grid:is([data-columns="3"],[data-columns="4"])>.__P__-generative-ui-cell:is([data-span="3"],[data-span="4"]){grid-column:span 3}}@container __P__-generative-ui-grid (min-width: 1008px){.__P__-generative-ui-grid[data-columns="4"]{grid-template-columns:repeat(4,minmax(0,1fr))}.__P__-generative-ui-grid[data-columns="4"]>.__P__-generative-ui-cell[data-span="4"]{grid-column:span 4}}.__P__-generative-ui section{display:flex;flex-direction:column;gap:var(--__P__-space-2);padding:var(--__P__-space-3);border:1px solid var(--__P__-border);border-radius:var(--__P__-radius-md);min-width:0}.__P__-generative-ui-metric{font-size:1.6em;font-weight:700}.__P__-generative-ui-table{overflow-x:auto}.__P__-generative-ui table{width:100%;border-collapse:collapse;white-space:normal}.__P__-generative-ui caption{text-align:start;font-weight:600;padding-bottom:var(--__P__-space-2)}.__P__-generative-ui th,.__P__-generative-ui td{text-align:start;padding:var(--__P__-space-2);border-bottom:1px solid var(--__P__-border)}.__P__-generative-ui-chart{display:block;width:100%;color:var(--__P__-accent)}.__P__-generative-ui-axis{stroke:var(--__P__-border)}.__P__-generative-ui-data{display:flex;flex-wrap:wrap;gap:var(--__P__-space-2);font-size:.85em}.__P__-generative-ui-carousel{display:flex;gap:var(--__P__-space-3);margin:0 calc(var(--__P__-space-1) * -1);padding:0 var(--__P__-space-1) var(--__P__-space-2);overflow-x:auto;scroll-snap-type:x mandatory;scroll-padding-inline:var(--__P__-space-1);scrollbar-width:thin;min-width:0}.__P__-generative-ui-carousel>[role=listitem]{display:flex;flex:0 0 min(250px,80%);scroll-snap-align:start;min-width:0}.__P__-generative-ui-carousel>[role=listitem]>section{flex:1}.__P__-generative-ui-product{overflow:hidden}.__P__-generative-ui>.__P__-generative-ui-product{max-width:320px}.__P__-generative-ui-footer{display:flex;flex-direction:column;gap:var(--__P__-space-1);margin-top:auto}.__P__-generative-ui-hint{min-height:1.4em;line-height:1.4;color:var(--__P__-fg-muted);font-size:var(--__P__-text-xs)}.__P__-generative-ui-photo{display:block;flex:none;width:calc(100% + 2 * var(--__P__-space-3));aspect-ratio:4 / 3;margin:calc(var(--__P__-space-3) * -1) calc(var(--__P__-space-3) * -1) var(--__P__-space-1);overflow:hidden;background:var(--__P__-hover)}.__P__-generative-ui-thumb{display:block;flex:0 0 auto;width:48px;height:48px;overflow:hidden;border-radius:var(--__P__-radius-sm);background:var(--__P__-hover)}.__P__-generative-ui-photo img,.__P__-generative-ui-thumb img{display:block;width:100%;max-width:none;height:100%;object-fit:cover}.__P__-generative-ui-heading{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:var(--__P__-space-2)}.__P__-generative-ui-product>.__P__-generative-ui-heading{justify-content:flex-start}.__P__-generative-ui-title{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden}.__P__-generative-ui a{color:inherit}.__P__-generative-ui .__P__-generative-ui-title a,.__P__-generative-ui .__P__-generative-ui-lines a,.__P__-generative-ui .__P__-generative-ui-actions>a{text-decoration:none}.__P__-generative-ui .__P__-generative-ui-title a:hover,.__P__-generative-ui .__P__-generative-ui-lines span>a:hover{text-decoration:underline}.__P__-generative-ui-pill{display:inline-flex;align-items:center;padding:2px var(--__P__-space-2);border-radius:var(--__P__-radius-sm);background:var(--__P__-hover);color:var(--__P__-fg-muted);font-size:var(--__P__-text-xs);font-weight:600}.__P__-generative-ui-muted{color:var(--__P__-fg-muted);font-size:var(--__P__-text-xs)}.__P__-generative-ui-star{color:var(--__P__-warning)}.__P__-generative-ui-price{display:flex;flex-wrap:wrap;align-items:baseline;gap:0 var(--__P__-space-2);font-variant-numeric:tabular-nums}.__P__-generative-ui-price strong{font-size:1.1em}.__P__-generative-ui-price s{color:var(--__P__-fg-muted)}.__P__-generative-ui-description{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;overflow:hidden;color:var(--__P__-fg-muted)}.__P__-generative-ui-option{display:grid;gap:var(--__P__-space-1);min-width:0;margin:0;padding:0;border:0}.__P__-generative-ui-option legend{padding:0 0 var(--__P__-space-1);color:var(--__P__-fg-muted);font-size:var(--__P__-text-xs);font-weight:600}.__P__-generative-ui-option div{display:flex;gap:6px;min-width:0;margin:-4px;padding:4px;overflow-x:auto;overflow-y:hidden;scrollbar-width:none}.__P__-generative-ui-option div::-webkit-scrollbar{display:none}.__P__-generative-ui-option div[data-cut-end]{mask-image:linear-gradient(to right,#000 calc(100% - 32px),transparent)}.__P__-generative-ui-option div[data-cut-start]{mask-image:linear-gradient(to right,transparent,#000 32px)}.__P__-generative-ui-option div[data-cut-start][data-cut-end]{mask-image:linear-gradient(to right,transparent,#000 32px,#000 calc(100% - 32px),transparent)}.__P__-generative-ui-option div:dir(rtl)[data-cut-end]{mask-image:linear-gradient(to left,#000 calc(100% - 32px),transparent)}.__P__-generative-ui-option div:dir(rtl)[data-cut-start]{mask-image:linear-gradient(to left,transparent,#000 32px)}.__P__-generative-ui-option div:dir(rtl)[data-cut-start][data-cut-end]{mask-image:linear-gradient(to left,transparent,#000 32px,#000 calc(100% - 32px),transparent)}.__P__-generative-ui-option button{flex:0 0 auto;min-height:32px;padding:0 10px;border:1px solid var(--__P__-border);border-radius:var(--__P__-radius-sm);background:var(--__P__-bg-elevated);color:var(--__P__-fg);font:inherit;font-size:var(--__P__-text-sm);white-space:nowrap;cursor:pointer;transition:background var(--__P__-dur-quick) var(--__P__-ease),border-color var(--__P__-dur-quick) var(--__P__-ease)}.__P__-generative-ui-option button:hover{border-color:var(--__P__-border-strong)}.__P__-generative-ui-option button[aria-pressed=true]{border-color:var(--__P__-accent);box-shadow:inset 0 0 0 1px var(--__P__-accent);font-weight:600}.__P__-generative-ui-option button:disabled{color:var(--__P__-fg-muted);text-decoration:line-through;opacity:.6;cursor:not-allowed}.__P__-generative-ui-actions{display:flex;flex-wrap:wrap;gap:var(--__P__-space-2);margin-top:auto;padding-top:var(--__P__-space-1)}.__P__-generative-ui-actions:not([data-small=true])>*{flex:1 1 auto}.__P__-generative-ui-actions>*{display:inline-flex;align-items:center;justify-content:center;min-height:36px;padding:0 var(--__P__-space-3);border:1px solid var(--__P__-border);border-radius:var(--__P__-radius-sm);background:var(--__P__-bg-elevated);color:var(--__P__-fg);font:inherit;font-size:var(--__P__-text-sm);font-weight:600;text-decoration:none;white-space:nowrap;min-width:0;overflow:hidden;text-overflow:ellipsis;cursor:pointer;transition:background var(--__P__-dur-quick) var(--__P__-ease),border-color var(--__P__-dur-quick) var(--__P__-ease)}.__P__-generative-ui-actions[data-small=true]>*{min-height:28px;padding:0 var(--__P__-space-2);font-size:var(--__P__-text-xs)}.__P__-generative-ui-actions>:hover{border-color:var(--__P__-border-strong)}.__P__-generative-ui-actions>[data-primary=true]{border-color:var(--__P__-accent);background:var(--__P__-accent);color:var(--__P__-on-accent)}.__P__-generative-ui-actions>:focus-visible,.__P__-generative-ui-option button:focus-visible{outline:2px solid var(--__P__-focus);outline-offset:2px}.__P__-generative-ui-actions>:disabled{border-color:var(--__P__-border);background:var(--__P__-hover);color:var(--__P__-fg-muted);cursor:not-allowed}.__P__-generative-ui .__P__-generative-ui-lines{display:grid;margin:0;padding:0;list-style:none}.__P__-generative-ui .__P__-generative-ui-lines li{display:flex;margin:0;gap:var(--__P__-space-3);padding:var(--__P__-space-2) 0;border-bottom:1px solid var(--__P__-border)}.__P__-generative-ui .__P__-generative-ui-lines li:first-child{padding-top:0}.__P__-generative-ui-lines li>div{display:grid;flex:1;gap:2px;min-width:0}.__P__-generative-ui-line-head{display:flex;align-items:baseline;gap:var(--__P__-space-3)}.__P__-generative-ui-line-head>span{display:-webkit-box;flex:1;min-width:0;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:2}.__P__-generative-ui-line-head>strong{flex:none;font-variant-numeric:tabular-nums}.__P__-generative-ui-totals{display:grid;gap:var(--__P__-space-1);margin:0;font-variant-numeric:tabular-nums}.__P__-generative-ui-totals div{display:flex;justify-content:space-between;gap:var(--__P__-space-3);color:var(--__P__-fg-muted)}.__P__-generative-ui-totals div:last-child{padding-top:var(--__P__-space-1);color:var(--__P__-fg);font-weight:700}.__P__-generative-ui-totals dd{margin:0}.__P__-generative-ui-notice{padding:var(--__P__-space-2) var(--__P__-space-3);border-radius:var(--__P__-radius-sm);background:var(--__P__-hover)}.__P__-generative-ui-notice[data-severity=warning]{color:var(--__P__-fg);background:color-mix(in oklch,var(--__P__-warning) 16%,transparent)}.__P__-generative-ui-notice[data-severity=error]{color:var(--__P__-danger-text);background:var(--__P__-danger-bg)}.__P__-generative-ui .__P__-generative-ui-timeline{display:grid;gap:var(--__P__-space-2);margin:0;padding:0;list-style:none}.__P__-generative-ui .__P__-generative-ui-timeline li{display:flex;margin:0;align-items:baseline;gap:var(--__P__-space-2);color:var(--__P__-fg-muted)}.__P__-generative-ui-timeline li:before{content:"";flex:0 0 auto;width:8px;height:8px;border:2px solid var(--__P__-border-strong);border-radius:50%}.__P__-generative-ui-timeline li[data-done=true]{color:var(--__P__-fg);font-weight:600}.__P__-generative-ui-timeline li[data-done=true]:before{border-color:var(--__P__-accent);background:var(--__P__-accent)}.__P__-generative-ui-timeline li>:first-child{flex:1}
|
|
3
3
|
`;var Td=`:host([data-mode="page"]){min-height:0}:host([data-mode="page"]) .__P__-page-shell{display:grid;grid-template-columns:280px 1fr;width:100%;height:100%;min-height:0;background:var(--__P__-bg);color:var(--__P__-fg);transition:grid-template-columns var(--__P__-dur-base) var(--__P__-ease-in-out)}:host([data-mode="page"]) .__P__-page-shell[data-sidebar-collapsed=true]{grid-template-columns:48px 1fr}:host([data-mode="page"]) .__P__-page-chat{display:flex;flex-direction:column;min-width:0;min-height:0;overflow:hidden}:host([data-mode="page"]) .__P__-anchor{position:static;inset:auto;padding:0;align-items:stretch;width:100%;height:100%;min-width:0;min-height:0;flex:1 1 0}:host([data-mode="page"]) .__P__-panel{width:100%;height:100%;min-width:0;min-height:0;max-width:none;max-height:none;border-radius:0;border:0;box-shadow:none;animation:none}:host([data-mode="page"]) .__P__-sidebar{border-inline-end:1px solid var(--__P__-border);display:flex;flex-direction:column;overflow:hidden;background:var(--__P__-surface)}:host([data-mode="page"]) .__P__-sidebar-header{padding:var(--__P__-space-4) var(--__P__-space-5);border-bottom:1px solid var(--__P__-border);display:flex;align-items:center;justify-content:space-between;gap:var(--__P__-space-2);min-height:56px;box-sizing:border-box}:host([data-mode="page"]) .__P__-sidebar[data-collapsed=true] .__P__-sidebar-header{padding:var(--__P__-space-4) var(--__P__-space-2);justify-content:center}:host([data-mode="page"]) .__P__-sidebar[data-collapsed=true] .__P__-sidebar-logo,:host([data-mode="page"]) .__P__-sidebar[data-collapsed=true] .__P__-sidebar-title{display:none}:host([data-mode="page"]) .__P__-sidebar-toggle{flex:0 0 auto;display:inline-flex;align-items:center;justify-content:center;width:28px;height:28px;padding:0;border:1px solid var(--__P__-border);border-radius:6px;background:transparent;color:var(--__P__-fg);cursor:pointer;transition:background .12s,border-color .12s}:host([data-mode="page"]) .__P__-sidebar-toggle:hover{background:var(--__P__-hover);border-color:var(--__P__-accent)}:host([data-mode="page"]) .__P__-sidebar-toggle:focus-visible{outline:2px solid var(--__P__-accent);outline-offset:2px}:host([data-mode="page"]) .__P__-sidebar-logo{height:32px;display:block;border-radius:var(--__P__-radius-md)}:host([data-mode="page"]) .__P__-sidebar-title{font-size:var(--__P__-text-md);font-weight:600}:host([data-mode="page"]) .__P__-sidebar-section{padding:var(--__P__-space-3) var(--__P__-space-4);border-bottom:1px solid var(--__P__-border)}:host([data-mode="page"]) .__P__-sidebar-nav{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:2px}:host([data-mode="page"]) .__P__-sidebar-nav-item{display:flex;align-items:center;gap:10px;padding:var(--__P__-space-2) var(--__P__-space-3);border-radius:var(--__P__-radius-sm);color:var(--__P__-fg);text-decoration:none;font-size:calc(14px * var(--__P__-text-scale));transition:background var(--__P__-dur-quick) var(--__P__-ease-out)}:host([data-mode="page"]) .__P__-sidebar-nav-item:hover{background:var(--__P__-hover)}:host([data-mode="page"]) .__P__-sidebar-nav-item:focus-visible{outline:2px solid var(--__P__-focus);outline-offset:-2px}:host([data-mode="page"]) .__P__-sidebar-cards{display:grid;grid-template-columns:1fr;gap:var(--__P__-space-2)}:host([data-mode="page"]) .__P__-sidebar-card{display:block;padding:10px 12px;border:1px solid var(--__P__-border);border-radius:var(--__P__-radius-sm);text-decoration:none;color:var(--__P__-fg);transition:border-color var(--__P__-dur-quick) var(--__P__-ease-out)}:host([data-mode="page"]) .__P__-sidebar-card:hover{border-color:var(--__P__-accent)}:host([data-mode="page"]) .__P__-sidebar-card:focus-visible{outline:2px solid var(--__P__-focus);outline-offset:2px}:host([data-mode="page"]) .__P__-sidebar-card-label{font-weight:600;font-size:calc(14px * var(--__P__-text-scale))}:host([data-mode="page"]) .__P__-sidebar-card-desc{font-size:var(--__P__-text-xs);color:var(--__P__-muted);margin-top:2px}:host([data-mode="page"]) .__P__-sidebar-conversations{flex:1 1 auto;overflow-y:auto;padding:var(--__P__-space-3) var(--__P__-space-4)}:host([data-mode="page"]) .__P__-page-chat{display:flex;flex-direction:column;overflow:hidden}@media(max-width:768px){:host([data-mode="page"]) .__P__-page-shell{grid-template-columns:1fr}:host([data-mode="page"]) .__P__-sidebar{display:none}}
|
|
4
4
|
`;var Id=`.__P__-anchor{color-scheme:var(--__P__-color-scheme, light);right:16px;bottom:16px}.__P__-surface{display:contents}.__P__-surface[hidden]{display:none}:host([data-position="bottom-left"]) .__P__-anchor,:host([data-position="top-left"]) .__P__-anchor{right:auto;left:16px}:host([data-position="top-right"]) .__P__-anchor,:host([data-position="top-left"]) .__P__-anchor{bottom:auto;top:16px}.__P__-anchor{position:fixed;display:flex;flex-direction:column;align-items:flex-end;gap:var(--__P__-space-3);pointer-events:none}.__P__-anchor{--__P__-fab-size: 56px}.__P__-anchor[data-launcher-size=sm]{--__P__-fab-size: 44px}.__P__-anchor[data-launcher-size=md]{--__P__-fab-size: 56px}.__P__-anchor[data-launcher-size=lg]{--__P__-fab-size: 68px}.__P__-anchor>*{pointer-events:auto}.__P__-fab[data-size=sm]{--__P__-fab-size: 44px;font-size:var(--__P__-text-sm)}.__P__-fab[data-size=md]{--__P__-fab-size: 56px;font-size:calc(14px * var(--__P__-text-scale))}.__P__-fab[data-size=lg]{--__P__-fab-size: 68px;font-size:var(--__P__-text-base)}.__P__-fab{display:inline-flex;align-items:center;justify-content:center;gap:var(--__P__-space-2);color:var(--__P__-accent-text);background:var(--__P__-accent);box-shadow:var(--__P__-shadow-fab);font-weight:600;line-height:1;transform-origin:bottom right;animation:__P__-fab-in var(--__P__-dur-base) var(--__P__-ease) both;transition:transform var(--__P__-dur-base) var(--__P__-ease),opacity var(--__P__-dur-base) var(--__P__-ease),box-shadow var(--__P__-dur-base) var(--__P__-ease)}.__P__-fab:hover{transform:translateY(-2px)}.__P__-fab:active{transform:translateY(0)}.__P__-fab:focus-visible{outline:2px solid var(--__P__-on-accent);outline-offset:3px}.__P__-fab svg{width:24px;height:24px;flex-shrink:0}@keyframes __P__-fab-in{0%{opacity:0;transform:scale(.8)}to{opacity:1;transform:none}}.__P__-fab[data-leaving]{position:absolute;right:0;bottom:0;animation:__P__-fab-out var(--__P__-dur-quick) var(--__P__-ease) forwards;pointer-events:none}:host([data-position^="top-"]) .__P__-fab[data-leaving]{bottom:auto;top:0}:host([data-position$="-left"]) .__P__-fab[data-leaving]{right:auto;left:0}@keyframes __P__-fab-out{0%{opacity:1;transform:none}to{opacity:0;transform:scale(.85)}}.__P__-fab[data-variant=circle]{width:var(--__P__-fab-size);height:var(--__P__-fab-size);border-radius:999px}.__P__-fab[data-variant=circle] .__P__-fab-label{display:none}.__P__-fab[data-variant=pill]{height:var(--__P__-fab-size);padding:0 18px 0 16px;border-radius:999px}.__P__-fab[data-variant=bar]{height:var(--__P__-fab-size);padding:0 22px;border-radius:var(--__P__-radius)}.__P__-fab[data-variant=minimal]{height:var(--__P__-fab-size);padding:0 var(--__P__-space-4);border-radius:999px;background:transparent;color:var(--__P__-accent-fg);box-shadow:none;border:1px solid currentColor}.__P__-fab[data-variant=minimal]:hover{background:color-mix(in srgb,var(--__P__-accent) 12%,transparent)}.__P__-callout{--__P__-callout-fab-h: var(--__P__-fab-size, 56px);--__P__-callout-gap: clamp(12px, calc(var(--__P__-callout-fab-h) * .25), 22px);--__P__-callout-nudge-direction: -1;position:absolute;display:inline-flex;align-items:center;gap:var(--__P__-space-2);padding:10px 14px;background:var(--__P__-fg);color:var(--__P__-bg);border-radius:18px;font-size:var(--__P__-text-sm);font-weight:600;line-height:1.2;box-shadow:0 10px 30px -8px #00000059;pointer-events:auto;animation:__P__-callout-in var(--__P__-dur-slow) var(--__P__-ease);z-index:1;width:max-content;max-width:min(260px,calc(100vw - 100% - var(--__P__-callout-gap) - 32px));white-space:normal;overflow-wrap:anywhere}.__P__-callout[data-position=left]{right:calc(100% + var(--__P__-callout-gap));bottom:calc(var(--__P__-callout-fab-h) / 2);transform:translateY(50%)}.__P__-callout[data-position=right]{left:calc(100% + var(--__P__-callout-gap));bottom:calc(var(--__P__-callout-fab-h) / 2);transform:translateY(50%);--__P__-callout-nudge-direction: 1}.__P__-callout[data-position=top]{bottom:calc(100% + var(--__P__-callout-gap));right:0;max-width:min(280px,calc(100vw - 32px))}.__P__-callout[data-position=bottom]{top:calc(100% + var(--__P__-callout-gap));right:0;max-width:min(280px,calc(100vw - 32px))}:host([data-position$="-left"]) .__P__-callout[data-position=top],:host([data-position$="-left"]) .__P__-callout[data-position=bottom]{right:auto;left:0}.__P__-callout[data-shape=bubble]{border-radius:var(--__P__-radius-md)}.__P__-callout[data-shape=callout]{padding:12px 18px;font-size:calc(14px * var(--__P__-text-scale));background:var(--__P__-accent);color:var(--__P__-accent-text)}.__P__-callout:after{content:"";position:absolute;width:12px;height:12px;background:inherit;border-radius:2px;transform:rotate(45deg)}.__P__-callout[data-position=left]:after{right:-5px;top:50%;margin-top:-6px}.__P__-callout[data-position=right]:after{left:-5px;top:50%;margin-top:-6px}.__P__-callout[data-position=top]:after{bottom:-5px;right:calc(var(--__P__-fab-size, 56px) / 2 - 6px)}.__P__-callout[data-position=bottom]:after{top:-5px;right:calc(var(--__P__-fab-size, 56px) / 2 - 6px)}:host([data-position$="-left"]) .__P__-callout[data-position=top]:after,:host([data-position$="-left"]) .__P__-callout[data-position=bottom]:after{right:auto;left:calc(var(--__P__-fab-size, 56px) / 2 - 6px)}.__P__-callout[data-animated]{animation:__P__-callout-in var(--__P__-dur-slow) var(--__P__-ease),__P__-callout-nudge 1.6s var(--__P__-ease-in-out) var(--__P__-dur-slow) infinite}@keyframes __P__-callout-in{0%{opacity:0}to{opacity:1}}@keyframes __P__-callout-nudge{0%,to{margin-left:0;margin-right:0}50%{margin-left:calc(6px * var(--__P__-callout-nudge-direction));margin-right:calc(-6px * var(--__P__-callout-nudge-direction))}}@media(prefers-reduced-motion:reduce){.__P__-callout[data-animated]{animation:__P__-callout-in 1ms var(--__P__-ease)}.__P__-icon-btn[data-recording=true],.__P__-typing span{animation:none}}.__P__-callout-close{flex-shrink:0;display:inline-flex;align-items:center;justify-content:center;width:18px;height:18px;border-radius:999px;color:inherit;opacity:.7;cursor:pointer}.__P__-callout-close:hover{opacity:1;background:color-mix(in srgb,currentColor 15%,transparent)}.__P__-callout-close:focus-visible{outline:2px solid var(--__P__-focus);outline-offset:2px}.__P__-callout-close svg{width:12px;height:12px}.__P__-panel{width:var(--__P__-panel-w);height:var(--__P__-panel-h);max-width:calc(100vw - 32px);max-height:calc(100dvh - 32px);background:var(--__P__-bg);color:var(--__P__-fg);border-radius:var(--__P__-radius-lg);box-shadow:var(--__P__-shadow-panel);display:flex;flex-direction:column;overflow:hidden;overflow:clip;overscroll-behavior:none;transform-origin:bottom right;animation:__P__-panel-in var(--__P__-dur-slow) var(--__P__-ease);border:1px solid var(--__P__-border)}@media(prefers-reduced-motion:no-preference){.__P__-panel{transition:width var(--__P__-dur-base) var(--__P__-ease),height var(--__P__-dur-base) var(--__P__-ease),max-width var(--__P__-dur-base) var(--__P__-ease),max-height var(--__P__-dur-base) var(--__P__-ease)}.__P__-panel[data-resizing]{transition:none}}:host([data-mode="open"]) .__P__-panel{width:var(--__P__-widget-w, var(--__P__-panel-w));height:var(--__P__-widget-h, var(--__P__-panel-h));min-width:var(--__P__-resize-min-w, auto);min-height:var(--__P__-resize-min-h, auto);max-width:var(--__P__-resize-max-w, calc(100vw - 32px) );max-height:var(--__P__-resize-max-h, calc(100dvh - 32px) )}@keyframes __P__-panel-in{0%{opacity:0;transform:translateY(8px) scale(.98)}to{opacity:1;transform:none}}:host([data-mode="expanded"]) .__P__-panel{width:var(--__P__-expanded-w, 640px);height:var(--__P__-expanded-h, 820px);max-width:calc(100vw - 32px);max-height:calc(100dvh - 32px)}:host([data-mode="fullscreen"]){z-index:var(--__P__-z-panel)!important}:host([data-mode="fullscreen"]) .__P__-anchor{inset:var(--__P__-visual-viewport-top, 0px) 0 auto;height:var(--__P__-visual-viewport-height, 100dvh);padding:0;justify-content:flex-end;align-items:flex-end}:host([data-mode="fullscreen"][data-position*="top"]) .__P__-anchor{justify-content:flex-start}:host([data-mode="fullscreen"][data-position*="left"]) .__P__-anchor{align-items:flex-start}:host([data-mode="fullscreen"]) .__P__-panel{width:100vw;height:100%;max-width:none;max-height:none;border-radius:0;border:0}:host([data-mode="fullscreen"]) .__P__-fab{display:none}:host([data-mode="inline"]) .__P__-anchor,:host([data-mode="standalone"]) .__P__-anchor{position:static;inset:auto;padding:0;align-items:stretch;width:100%;height:100%;min-height:0}:host([data-mode="inline"]) .__P__-panel,:host([data-mode="standalone"]) .__P__-panel{width:100%;height:100%;min-width:0;min-height:0;max-width:none;max-height:none;animation:none}:host([data-mode="inline"]) .__P__-fab,:host([data-mode="standalone"]) .__P__-fab{display:none}:host([data-mode="inline"]){min-height:320px}:host([data-mode="inline"]) .__P__-panel{border-radius:var(--__P__-radius)}:host([data-mode="standalone"]) .__P__-panel{border-radius:0;border:0;box-shadow:none}:host([data-mode="modal"]){position:fixed!important;inset:0!important;z-index:var(--__P__-z-panel)!important;display:block!important;width:100vw;height:100dvh;background:var(--__P__-modal-backdrop, var(--__P__-backdrop));animation:__P__-backdrop-in var(--__P__-dur-base) var(--__P__-ease) both;--__P__-panel-w: min(960px, 92vw);--__P__-panel-h: min(720px, 88dvh)}:host([data-mode="modal"]) .__P__-anchor{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;padding:var(--__P__-space-6);pointer-events:none}:host([data-mode="modal"]) .__P__-panel{pointer-events:auto;width:var(--__P__-widget-w, var(--__P__-panel-w));height:var(--__P__-widget-h, var(--__P__-panel-h));max-width:calc(100vw - 48px);max-height:calc(100dvh - 48px);min-width:0;min-height:0;border-radius:var(--__P__-radius);box-shadow:var(--__P__-shadow-panel);animation:__P__-modal-in var(--__P__-dur-base) var(--__P__-ease);translate:var(--__P__-modal-dx, 0px) var(--__P__-modal-dy, 0px)}:host([data-mode="modal"]) .__P__-header,:host([data-mode="modal"]) .__P__-back-header,:host([data-mode="modal"]) .__P__-home-hero{cursor:grab;touch-action:none}:host([data-mode="modal"]) .__P__-panel[data-dragging]{cursor:grabbing;user-select:none}:host([data-mode="modal"]) .__P__-panel[data-dragging] *{cursor:grabbing}:host([data-mode="modal"]) .__P__-fab{display:none}@keyframes __P__-backdrop-in{0%{background:#0000}to{background:var(--__P__-modal-backdrop, var(--__P__-backdrop))}}@keyframes __P__-modal-in{0%{opacity:0;transform:translateY(8px) scale(.98)}to{opacity:1;transform:translateY(0) scale(1)}}:host([data-mode="drawer"]){--__P__-panel-w: clamp(440px, 32vw, 640px);--__P__-panel-h: 100dvh}:host([data-mode="drawer"]) .__P__-anchor{position:fixed;--__P__-inset-x: var(--__P__-panel-inset, 12px);--__P__-inset-y: var(--__P__-panel-inset, 3dvh);top:var(--__P__-inset-y);bottom:auto;right:var(--__P__-inset-x);left:auto;height:min(var(--__P__-widget-h, var(--__P__-panel-h)),calc(100dvh - var(--__P__-inset-y) * 2));padding:0;display:block;pointer-events:auto}:host([data-mode="drawer"][data-position$="-left"]) .__P__-anchor{right:auto;left:var(--__P__-inset-x)}:host([data-mode="drawer"][data-position^="bottom-"]) .__P__-anchor{top:auto;bottom:var(--__P__-inset-y)}:host([data-mode="drawer"]) .__P__-panel{width:min(var(--__P__-widget-w, var(--__P__-panel-w)),calc(100vw - var(--__P__-inset-x) * 2));height:100%;min-width:min(var(--__P__-resize-min-w, 0px),calc(100vw - var(--__P__-inset-x) * 2));max-width:var(--__P__-resize-max-w, none);max-height:none;min-height:0;border-radius:var(--__P__-radius, 12px);border:1px solid var(--__P__-border);box-shadow:-8px 16px 32px -12px #00000038;animation:__P__-drawer-in var(--__P__-dur-base) var(--__P__-ease)}:host([data-mode="drawer"][data-position$="-left"]) .__P__-panel{box-shadow:8px 16px 32px -12px #00000038;animation:__P__-drawer-in-left var(--__P__-dur-base) var(--__P__-ease)}.__P__-fab[data-edge-tab]{display:inline-flex;flex-direction:column;align-items:center;justify-content:center;gap:var(--__P__-space-2);position:fixed;top:50%;height:140px;width:auto;min-width:0;padding:10px 8px;writing-mode:vertical-rl;text-orientation:mixed;transform:translateY(-50%);transform-origin:center;animation:__P__-edge-tab-in var(--__P__-dur-base) var(--__P__-ease) both}.__P__-fab[data-edge-tab] svg{writing-mode:horizontal-tb}.__P__-fab[data-edge-tab]:hover{transform:translateY(-50%) scale(1.03)}.__P__-fab[data-edge-tab]:active{transform:translateY(-50%) scale(.97)}:host([data-position$="-right"]) .__P__-fab[data-edge-tab]{right:0;left:auto;border-radius:12px 0 0 12px;box-shadow:-6px 0 18px -8px #0000004d}:host([data-position$="-left"]) .__P__-fab[data-edge-tab]{left:0;right:auto;border-radius:0 12px 12px 0;box-shadow:6px 0 18px -8px #0000004d}.__P__-fab[data-edge-tab][data-leaving]{position:fixed;top:50%;bottom:auto;animation:__P__-edge-tab-out var(--__P__-dur-quick) var(--__P__-ease) forwards}@keyframes __P__-edge-tab-in{0%{opacity:0;transform:translateY(-50%) scale(.9)}to{opacity:1;transform:translateY(-50%) scale(1)}}@keyframes __P__-edge-tab-out{0%{opacity:1;transform:translateY(-50%) scale(1)}to{opacity:0;transform:translateY(-50%) scale(.85)}}@keyframes __P__-drawer-in{0%{transform:translate(100%)}to{transform:translate(0)}}@keyframes __P__-drawer-in-left{0%{transform:translate(-100%)}to{transform:translate(0)}}@media(prefers-reduced-motion:reduce){:host([data-mode="drawer"]) .__P__-panel,.__P__-fab[data-edge-tab]{animation:none}}@media(max-width:640px){:host([data-mode="open"][data-position]) .__P__-anchor,:host([data-mode="expanded"][data-position]) .__P__-anchor,:host([data-mode="drawer"][data-position]) .__P__-anchor,:host([data-mode="modal"][data-position]) .__P__-anchor{inset:var(--__P__-visual-viewport-top, 0px) 0 auto;align-items:stretch;width:auto;height:var(--__P__-visual-viewport-height, 100dvh);padding:0}:host([data-mode="open"][data-position]) .__P__-panel,:host([data-mode="expanded"][data-position]) .__P__-panel,:host([data-mode="drawer"][data-position]) .__P__-panel,:host([data-mode="modal"][data-position]) .__P__-panel{width:100vw;height:100%;min-width:0;min-height:0;max-width:none;max-height:none;border-radius:0;border:0;box-shadow:none;translate:none}:host([data-mode="modal"]){background:none;animation:none}}.__P__-header{display:flex;align-items:center;gap:var(--__P__-space-2);padding:10px 12px;border-bottom:1px solid var(--__P__-border);background:var(--__P__-bg)}.__P__-header h1{font-size:calc(14px * var(--__P__-text-scale));font-weight:600;flex:1;letter-spacing:-.01em}.__P__-header-actions{margin-inline-start:auto;display:flex;align-items:center;gap:var(--__P__-space-1);flex-shrink:0}.__P__-header[data-variant=accent]{background:var(--__P__-accent);color:var(--__P__-on-accent);border-bottom-color:transparent}.__P__-header[data-variant=accent]>h1,.__P__-header[data-variant=accent] .__P__-agent-meta strong,.__P__-header[data-variant=accent] .__P__-agent-sub span,.__P__-header[data-variant=accent] .__P__-agent-ticket,.__P__-header[data-variant=accent] .__P__-agent-ticket:hover,.__P__-header[data-variant=accent]>.__P__-icon-btn,.__P__-header[data-variant=accent] .__P__-header-actions>.__P__-icon-btn,.__P__-header[data-variant=accent] .__P__-menu-wrap>.__P__-icon-btn{color:var(--__P__-on-accent);--__P__-focus: var(--__P__-on-accent)}.__P__-header[data-variant=accent]>.__P__-icon-btn:hover,.__P__-header[data-variant=accent] .__P__-header-actions>.__P__-icon-btn:hover,.__P__-header[data-variant=accent] .__P__-menu-wrap>.__P__-icon-btn:hover{background:color-mix(in oklch,var(--__P__-on-accent) 16%,transparent);color:var(--__P__-on-accent)}.__P__-header[data-variant=accent]>.__P__-icon-btn:active,.__P__-header[data-variant=accent] .__P__-header-actions>.__P__-icon-btn:active,.__P__-header[data-variant=accent] .__P__-menu-wrap>.__P__-icon-btn:active{background:color-mix(in oklch,var(--__P__-on-accent) 24%,transparent)}.__P__-header[data-variant=accent] .__P__-agent-avatar{background:color-mix(in oklch,var(--__P__-on-accent) 18%,transparent);color:var(--__P__-on-accent)}.__P__-header[data-variant=accent] .__P__-agent-avatar:after{border-color:var(--__P__-accent)}.__P__-agent{flex:1;display:inline-flex;align-items:center;gap:10px;min-width:0}.__P__-agent-avatar{position:relative;width:32px;height:32px;border-radius:var(--__P__-radius-md);background:var(--__P__-bg-elevated);color:var(--__P__-fg-muted);display:inline-flex;align-items:center;justify-content:center;font-weight:700;font-size:var(--__P__-text-xs);flex-shrink:0}.__P__-agent-avatar img{width:100%;height:100%;border-radius:inherit;object-fit:cover}.__P__-agent-avatar:after{content:"";position:absolute;right:-1px;bottom:-1px;width:10px;height:10px;border-radius:999px;border:2px solid var(--__P__-bg);background:var(--__P__-neutral)}.__P__-agent-avatar[data-status=online]:after{background:var(--__P__-success)}.__P__-agent-avatar[data-status=away]:after{background:var(--__P__-warning)}.__P__-agent-avatar[data-status=offline]:after{background:var(--__P__-neutral)}.__P__-agent-meta{display:flex;flex-direction:column;line-height:1.15;min-width:0}.__P__-agent-meta strong{font-size:calc(14px * var(--__P__-text-scale));font-weight:600;letter-spacing:-.01em;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.__P__-agent-meta span{font-size:var(--__P__-text-xs);color:var(--__P__-fg-muted);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.__P__-agent-sub{display:flex;gap:4px;min-width:0}.__P__-agent-sub button+span:before{content:"\\b7\\a0"}.__P__-agent-ticket{flex:none;font-size:var(--__P__-text-xs);color:var(--__P__-fg-muted);cursor:copy}.__P__-agent-ticket:hover{color:var(--__P__-fg)}.__P__-suggestions{display:flex;flex-wrap:nowrap;gap:var(--__P__-space-2);padding:6px 14px 10px;overflow-x:auto;overflow-y:hidden;scroll-behavior:smooth;scroll-snap-type:x proximity;scrollbar-width:none;-ms-overflow-style:none;min-width:0}.__P__-suggestions::-webkit-scrollbar{display:none}.__P__-suggestions[data-cut-end=true]{mask-image:linear-gradient(to right,#000 calc(100% - 32px),transparent)}.__P__-suggestions[data-cut-start=true]{mask-image:linear-gradient(to right,transparent,#000 32px)}.__P__-suggestions[data-cut-start=true][data-cut-end=true]{mask-image:linear-gradient(to right,transparent,#000 32px,#000 calc(100% - 32px),transparent)}:host([dir="rtl"]) .__P__-suggestions[data-cut-end=true]{mask-image:linear-gradient(to left,#000 calc(100% - 32px),transparent)}:host([dir="rtl"]) .__P__-suggestions[data-cut-start=true]{mask-image:linear-gradient(to left,transparent,#000 32px)}:host([dir="rtl"]) .__P__-suggestions[data-cut-start=true][data-cut-end=true]{mask-image:linear-gradient(to left,transparent,#000 32px,#000 calc(100% - 32px),transparent)}.__P__-suggestions:before,.__P__-suggestions:after{content:"";flex:1 1 0;min-width:0}.__P__-suggestion{flex:0 0 auto;scroll-snap-align:center;padding:7px 14px;border-radius:999px;background:var(--__P__-bg-elevated);border:1px solid var(--__P__-border);color:var(--__P__-fg);font-size:var(--__P__-text-sm);font-weight:500;white-space:nowrap;transition:background var(--__P__-dur-quick) var(--__P__-ease),border-color var(--__P__-dur-quick) var(--__P__-ease),transform var(--__P__-dur-quick) var(--__P__-ease)}.__P__-suggestion:hover{border-color:var(--__P__-accent);color:var(--__P__-accent-fg);transform:translateY(-1px)}.__P__-suggestion:focus-visible{outline:2px solid var(--__P__-accent);outline-offset:2px;border-color:var(--__P__-accent)}.__P__-suggestion:active{transform:translateY(0)}.__P__-icon-btn{width:32px;height:32px;border-radius:999px;position:relative;display:inline-flex;align-items:center;justify-content:center;color:var(--__P__-fg-muted);transition:background var(--__P__-dur-quick) var(--__P__-ease),color var(--__P__-dur-quick) var(--__P__-ease)}.__P__-icon-btn:hover{background:var(--__P__-bg-elevated);color:var(--__P__-fg)}.__P__-icon-btn:focus-visible{outline:2px solid var(--__P__-focus);outline-offset:2px}.__P__-icon-btn:active{background:var(--__P__-border)}.__P__-icon-btn:disabled{opacity:.45;cursor:not-allowed}.__P__-icon-btn:before{content:"";position:absolute;inset:-6px}.__P__-icon-btn svg{width:18px;height:18px}.__P__-icon-btn[data-recording=true]{color:var(--__P__-accent-fg);background:color-mix(in srgb,var(--__P__-accent) 12%,transparent);animation:__P__-pulse 1.2s var(--__P__-ease) infinite}@keyframes __P__-pulse{0%,to{box-shadow:0 0 color-mix(in srgb,var(--__P__-accent) 40%,transparent)}50%{box-shadow:0 0 0 6px color-mix(in srgb,var(--__P__-accent) 0%,transparent)}}.__P__-list,.__P__-history,.__P__-module-scroll,.__P__-home-scroll,.__P__-help-list,.__P__-toolui-code,.__P__-sidebar-conversations{scrollbar-width:thin;scrollbar-color:var(--__P__-border-strong) transparent;overscroll-behavior:contain;scrollbar-gutter:stable}.__P__-list::-webkit-scrollbar,.__P__-history::-webkit-scrollbar,.__P__-module-scroll::-webkit-scrollbar,.__P__-home-scroll::-webkit-scrollbar,.__P__-help-list::-webkit-scrollbar,.__P__-toolui-code::-webkit-scrollbar,.__P__-sidebar-conversations::-webkit-scrollbar{width:8px}.__P__-list::-webkit-scrollbar-thumb,.__P__-history::-webkit-scrollbar-thumb,.__P__-module-scroll::-webkit-scrollbar-thumb,.__P__-home-scroll::-webkit-scrollbar-thumb,.__P__-help-list::-webkit-scrollbar-thumb,.__P__-toolui-code::-webkit-scrollbar-thumb,.__P__-sidebar-conversations::-webkit-scrollbar-thumb{background:var(--__P__-border-strong);border-radius:8px}.__P__-list-wrap{position:relative;flex:1;min-height:0;display:flex;flex-direction:column}.__P__-jump{position:absolute;inset-inline:0;bottom:14px;z-index:2;margin-inline:auto;display:flex;align-items:center;justify-content:center;width:34px;height:34px;border-radius:999px;border:1px solid var(--__P__-border);background:var(--__P__-bg-elevated);color:var(--__P__-fg);box-shadow:var(--__P__-shadow-panel);cursor:pointer;opacity:.85;transition:opacity var(--__P__-dur-quick) var(--__P__-ease),transform var(--__P__-dur-quick) var(--__P__-ease);animation:__P__-bubble-in var(--__P__-dur-base) var(--__P__-ease)}.__P__-jump:hover{opacity:1}.__P__-jump:focus-visible{outline:2px solid var(--__P__-focus);outline-offset:2px;opacity:1}.__P__-jump:active{transform:translateY(1px)}.__P__-jump svg{width:18px;height:18px}.__P__-list{flex:1;min-height:0;overflow-y:auto;padding:var(--__P__-space-4);padding-bottom:var(--__P__-space-8);display:flex;flex-direction:column;gap:14px;overflow-anchor:none}.__P__-list--fade{--__P__-fade-size: 20px;--__P__-fade-top: 0px;--__P__-fade-bottom: 0px;-webkit-mask-image:linear-gradient(to bottom,transparent 0,#000 var(--__P__-fade-top),#000 calc(100% - var(--__P__-fade-bottom)),transparent 100%);mask-image:linear-gradient(to bottom,transparent 0,#000 var(--__P__-fade-top),#000 calc(100% - var(--__P__-fade-bottom)),transparent 100%)}.__P__-list--fade[data-fade-top=true]{--__P__-fade-top: var(--__P__-fade-size)}.__P__-list--fade[data-fade-bottom=true]{--__P__-fade-bottom: var(--__P__-fade-size)}.__P__-list>*{width:100%;max-width:var(--__P__-conversation-max, 768px);margin-inline:auto}.__P__-load-previous,.__P__-history-more{display:flex;justify-content:center}.__P__-load-previous button,.__P__-history-more button{border:0;padding:4px 8px;background:transparent;color:var(--__P__-accent);font:inherit;font-size:var(--__P__-text-sm);font-weight:600;cursor:pointer}.__P__-load-previous button:hover,.__P__-history-more button:hover{text-decoration:underline}.__P__-load-previous button:focus-visible,.__P__-history-more button:focus-visible{outline:2px solid var(--__P__-focus);outline-offset:2px;border-radius:var(--__P__-radius-sm)}.__P__-load-previous button:disabled,.__P__-history-more button:disabled{cursor:wait;opacity:.6}.__P__-date-divider{display:flex;justify-content:center;margin-block:var(--__P__-space-3)}.__P__-date-pill{padding:3px 10px;border-radius:999px;font-size:calc(11px * var(--__P__-text-scale));font-weight:600;color:var(--__P__-fg-muted);background:var(--__P__-bg-elevated);border:1px solid var(--__P__-border);box-shadow:var(--__P__-shadow-card)}.__P__-bubble-row{display:flex}.__P__-bubble-row[data-role=user]{justify-content:flex-end}.__P__-bubble-row[data-role=assistant]{justify-content:flex-start}.__P__-bubble{max-width:100%;min-width:0;padding:var(--__P__-space-3) var(--__P__-space-4);border-radius:var(--__P__-radius);line-height:1.6;font-size:calc(14px * var(--__P__-text-scale));word-wrap:break-word;overflow-wrap:break-word;box-shadow:0 1px 2px #0000000a,0 1px 8px -4px #0000000f;animation:__P__-bubble-in var(--__P__-dur-base) var(--__P__-ease)}.__P__-bubble ::selection{background:color-mix(in srgb,var(--__P__-accent) 30%,transparent)}.__P__-bubble-row[data-role=user] .__P__-bubble ::selection{background:#fff6;color:var(--__P__-bubble-user-text)}@keyframes __P__-bubble-in{0%{opacity:0;transform:translateY(4px)}to{opacity:1;transform:none}}.__P__-bubble-row[data-role=user] .__P__-bubble{background:var(--__P__-bubble-user);color:var(--__P__-bubble-user-text);border-end-end-radius:5px}.__P__-bubble-row[data-role=assistant] .__P__-bubble{background:var(--__P__-bubble-assistant);color:var(--__P__-bubble-assistant-text);border:1px solid var(--__P__-border);border-end-start-radius:5px}.__P__-bubble-row[data-role=operator] .__P__-bubble{display:flex;align-items:stretch;padding:0;overflow:hidden;background:var(--__P__-bubble-assistant);color:var(--__P__-bubble-assistant-text);border-end-start-radius:5px}.__P__-bubble-row[data-role=operator] .__P__-bubble-col{align-items:flex-start}.__P__-bubble-author{display:flex;flex:0 0 auto;align-items:center;padding:0 .875rem;border-inline-end:1px solid color-mix(in oklab,var(--__P__-accent),transparent 60%);color:var(--__P__-accent);font-size:calc(13px * var(--__P__-text-scale));font-weight:600;letter-spacing:.025em;user-select:none}.__P__-bubble-body{display:flex;flex-wrap:wrap;align-items:flex-start;gap:var(--__P__-space-3) 6px;min-width:0}.__P__-bubble-body>*{flex:1 0 100%;min-width:0}.__P__-bubble-body>.__P__-source,.__P__-bubble-body>.__P__-typing{flex:0 1 auto}.__P__-bubble-row[data-role=operator] .__P__-bubble-body{flex:1 1 auto;min-width:0;padding:var(--__P__-space-3) var(--__P__-space-4)}.__P__-bubble-col{display:flex;flex-direction:column;max-width:85%;min-width:0}.__P__-bubble-row[data-role=user] .__P__-bubble-col{align-items:flex-end}.__P__-bubble-row[data-role=assistant] .__P__-bubble-col{align-items:flex-start}.__P__-bubble-row[data-role=assistant] .__P__-bubble-col:has(.__P__-toolui,.__P__-steps){width:100%}.__P__-bubble-row[data-role=assistant] .__P__-bubble-col:has(.__P__-toolui,.__P__-steps) .__P__-bubble{width:100%}@media(max-width:640px){.__P__-bubble-col{max-width:92%}.__P__-toolui:not(.__P__-toolui-collapsible){padding:var(--__P__-space-3);gap:var(--__P__-space-2)}details.__P__-toolui-collapsible>summary{padding:var(--__P__-space-2) var(--__P__-space-3)}details.__P__-toolui-collapsible>.__P__-toolui-section{margin:var(--__P__-space-3)}.__P__-toolui-section,.__P__-toolui-desc{padding:var(--__P__-space-2) var(--__P__-space-3)}}.__P__-bubble-meta{display:flex;align-items:center;gap:8px;margin-top:2px;padding:0 2px;min-height:24px}.__P__-bubble-actions{display:flex;align-items:center;gap:2px}.__P__-bubble-time{font-size:calc(11px * var(--__P__-text-scale));line-height:1;color:var(--__P__-fg-muted);user-select:none}.__P__-feedback{display:flex;align-items:center;gap:2px}.__P__-msg-action{display:inline-flex;align-items:center;justify-content:center;width:24px;height:24px;border:0;border-radius:var(--__P__-radius-sm);background:transparent;color:var(--__P__-fg-muted);cursor:pointer;opacity:.65;transition:opacity var(--__P__-dur-quick) var(--__P__-ease),background var(--__P__-dur-quick) var(--__P__-ease),color var(--__P__-dur-quick) var(--__P__-ease)}.__P__-msg-action:hover{opacity:1;background:var(--__P__-bg-elevated);color:var(--__P__-fg)}.__P__-msg-action:focus-visible{outline:2px solid var(--__P__-focus);outline-offset:2px;opacity:1}.__P__-msg-action[data-active=true]{opacity:1;color:var(--__P__-accent-fg)}.__P__-msg-action svg{width:15px;height:15px}.__P__-md>*:first-child{margin-top:0}.__P__-md>*:last-child{margin-bottom:0}.__P__-md p{margin:10px 0}.__P__-md h1,.__P__-md h2,.__P__-md h3,.__P__-md h4,.__P__-md h5,.__P__-md h6{margin:18px 0 8px;line-height:1.3;letter-spacing:-.01em;font-weight:700}.__P__-md h1{font-size:1.4em}.__P__-md h2{font-size:1.22em}.__P__-md h3{font-size:1.08em}.__P__-md h4,.__P__-md h5,.__P__-md h6{font-size:1em}.__P__-md>h1:first-child,.__P__-md>h2:first-child,.__P__-md>h3:first-child,.__P__-md>h4:first-child,.__P__-md>h5:first-child,.__P__-md>h6:first-child{margin-top:0}.__P__-md ul,.__P__-md ol{padding-inline-start:1.5em;margin:10px 0}.__P__-md ul{list-style:disc}.__P__-md ol{list-style:decimal}.__P__-md li{margin:6px 0;padding-inline-start:2px}.__P__-md li::marker{color:var(--__P__-fg-muted)}.__P__-md li>p{margin:6px 0}.__P__-md li>ul,.__P__-md li>ol{margin:6px 0}.__P__-md strong,.__P__-md b{font-weight:650;letter-spacing:-.005em}.__P__-md em,.__P__-md i{font-style:italic}.__P__-md :not(pre)>code{font-family:var(--__P__-font-mono);font-size:.86em;padding:1px 6px;border-radius:5px;background:color-mix(in srgb,var(--__P__-accent) 10%,transparent);color:var(--__P__-fg);border:1px solid color-mix(in srgb,var(--__P__-accent) 16%,transparent)}.__P__-md pre{font-family:var(--__P__-font-mono);font-size:calc(12.5px * var(--__P__-text-scale));padding:12px 14px;border-radius:var(--__P__-radius-sm);background:#7f7f7f1f;overflow-x:auto;margin:var(--__P__-space-3) 0;line-height:1.5}.__P__-file-image,.__P__-file-chip{border-radius:var(--__P__-radius-sm);color:inherit;text-decoration:none}.__P__-file-image{display:block;width:fit-content;max-width:min(100%,240px);overflow:hidden}.__P__-file-image img{max-height:240px;object-fit:cover}.__P__-file-chip{display:flex;align-items:center;gap:var(--__P__-space-2);max-width:min(100%,280px);padding:var(--__P__-space-2);border:1px solid color-mix(in srgb,currentColor 18%,transparent);background:color-mix(in srgb,currentColor 5%,transparent);transition:background var(--__P__-dur-base) var(--__P__-ease)}.__P__-file-chip:hover{background:color-mix(in srgb,currentColor 10%,transparent)}.__P__-file-image:focus-visible,.__P__-file-chip:focus-visible{outline:2px solid currentColor;outline-offset:2px}.__P__-file-chip-icon{flex:none;display:grid;place-items:center;width:32px;height:32px;border-radius:var(--__P__-radius-sm);background:color-mix(in srgb,currentColor 10%,transparent)}.__P__-file-chip-text{display:grid;min-width:0;line-height:1.35}.__P__-file-chip-name{font-weight:500;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.__P__-file-chip-meta{font-size:var(--__P__-text-xs);opacity:.75}.__P__-md a{color:inherit;text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:2px}.__P__-md a:hover{text-decoration-thickness:2px}.__P__-chat-notice{padding:0 var(--__P__-space-3);text-align:center;font-size:var(--__P__-text-xs);line-height:1.5;color:var(--__P__-fg-muted)}.__P__-chat-notice .__P__-md p{margin:0}.__P__-chat-notice .__P__-md a{color:var(--__P__-accent-fg)}.__P__-md blockquote{margin:14px 0;padding:6px 14px;border-inline-start:3px solid color-mix(in srgb,var(--__P__-accent) 50%,transparent);background:color-mix(in srgb,var(--__P__-accent) 5%,transparent);border-start-end-radius:var(--__P__-radius-sm);border-end-end-radius:var(--__P__-radius-sm);color:var(--__P__-fg-muted)}.__P__-md blockquote>:first-child{margin-top:0}.__P__-md blockquote>:last-child{margin-bottom:0}.__P__-md hr{border:0;height:1px;background:color-mix(in srgb,currentColor 18%,transparent);margin:var(--__P__-space-4) 0}.__P__-md table{border-collapse:collapse;margin:var(--__P__-space-3) 0;font-size:.95em;display:block;overflow-x:auto;max-width:100%;font-variant-numeric:tabular-nums}.__P__-md th,.__P__-md td{padding:6px 10px;border-bottom:1px solid color-mix(in srgb,currentColor 12%,transparent);text-align:start}.__P__-md th{font-weight:700;background:color-mix(in srgb,currentColor 6%,transparent)}.__P__-md h1+ul,.__P__-md h1+ol,.__P__-md h2+ul,.__P__-md h2+ol,.__P__-md h3+ul,.__P__-md h3+ol,.__P__-md h4+ul,.__P__-md h4+ol{margin-top:var(--__P__-space-1)}.__P__-loading{display:inline-flex;align-items:center;gap:var(--__P__-space-2);color:var(--__P__-fg-muted);font-size:var(--__P__-text-sm)}.__P__-loading-spinner{width:14px;height:14px;border-radius:999px;border:2px solid currentColor;border-top-color:transparent;animation:__P__-spin .8s linear infinite}@keyframes __P__-spin{to{transform:rotate(1turn)}}.__P__-typing{display:inline-flex;gap:var(--__P__-space-1);padding:var(--__P__-space-1) 0}.__P__-typing span{width:5px;height:5px;border-radius:999px;background:currentColor;opacity:.4;animation:__P__-blink 1.2s var(--__P__-ease) infinite}.__P__-typing span:nth-child(2){animation-delay:.2s}.__P__-typing span:nth-child(3){animation-delay:.4s}@keyframes __P__-blink{0%,80%,to{opacity:.3;transform:translateY(0)}40%{opacity:1;transform:translateY(-2px)}}.__P__-steps{min-width:0;font-size:var(--__P__-text-sm)}.__P__-steps-head,.__P__-steps-row-head{display:inline-flex;align-items:center;gap:var(--__P__-space-2);max-width:100%;min-width:0;min-height:28px;padding:0;border:0;background:none;color:var(--__P__-fg-muted);font:inherit;text-align:start;cursor:pointer;-webkit-tap-highlight-color:transparent}.__P__-steps-head:hover,.__P__-steps-row-head:hover{color:var(--__P__-fg)}.__P__-steps-head:focus-visible,.__P__-steps-row-head:focus-visible{outline:2px solid var(--__P__-focus);outline-offset:2px;border-radius:var(--__P__-radius-sm)}.__P__-steps-icon,.__P__-steps-row-icon{display:inline-flex;flex:none;align-items:center;justify-content:center;width:16px;height:16px}.__P__-steps-icon svg,.__P__-steps-row-icon svg{width:14px;height:14px}.__P__-steps-label,.__P__-steps-row-label{flex:0 1 auto;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.__P__-steps-sep{margin-inline:var(--__P__-space-1)}.__P__-steps-name .__P__-steps-count{margin-inline-start:var(--__P__-space-1)}.__P__-steps-count,.__P__-steps-failed,.__P__-steps-denied,.__P__-steps-time{flex:none;font-variant-numeric:tabular-nums}.__P__-steps-failed{color:var(--__P__-danger-text)}.__P__-steps-denied{color:var(--__P__-fg-muted)}.__P__-steps-decision{display:inline-flex;flex:none;align-items:center;gap:var(--__P__-space-1);font-variant-numeric:tabular-nums;color:var(--__P__-success)}.__P__-steps-decision[data-approved=false]{color:var(--__P__-warning)}.__P__-steps-decision svg{width:14px;height:14px}.__P__-steps-row-reason{margin:0;color:var(--__P__-fg-muted)}.__P__-steps-row-error{margin:0;color:var(--__P__-danger-text)}.__P__-steps-chevron{display:inline-flex;flex:none;width:16px;height:16px;transition:transform var(--__P__-dur-quick) var(--__P__-ease)}.__P__-steps-chevron svg{width:16px;height:16px}.__P__-steps-chevron[data-open=true]{transform:rotate(180deg)}.__P__-steps-list{position:relative;display:flex;flex-direction:column;gap:var(--__P__-space-1);margin:var(--__P__-space-1) 0 0;padding:0;list-style:none}.__P__-steps-list:before{content:"";position:absolute;inset-block:0;inset-inline-start:7px;width:2px;border-radius:1px;background:var(--__P__-border)}.__P__-steps-row{position:relative;display:grid;grid-template-columns:16px minmax(0,1fr);column-gap:var(--__P__-space-2);align-items:start}.__P__-steps-row .__P__-steps-row-icon{margin-block:6px;border-radius:999px;background:var(--__P__-bubble-assistant);color:var(--__P__-fg-muted)}.__P__-steps-row[data-status=error] .__P__-steps-row-icon{color:var(--__P__-danger-text)}.__P__-steps-row-main{display:flex;flex-direction:column;align-items:flex-start;min-width:0}.__P__-steps-row-name{color:var(--__P__-fg);font-weight:500}.__P__-steps-row-system,.__P__-steps-row-summary{margin-inline-start:var(--__P__-space-2);color:var(--__P__-fg-muted)}.__P__-steps-row-body{display:flex;flex-direction:column;gap:var(--__P__-space-2);width:100%;margin:var(--__P__-space-1) 0 var(--__P__-space-2)}.__P__-steps-body{display:grid;grid-template-rows:0fr;transition:grid-template-rows .2s ease-out}.__P__-steps-body[data-open=true]{grid-template-rows:1fr}.__P__-steps-body-inner{min-height:0;overflow:hidden}.__P__-steps-live{min-width:0;overflow:hidden;text-overflow:ellipsis;background:linear-gradient(90deg,var(--__P__-fg-muted) 0%,var(--__P__-fg) 50%,var(--__P__-fg-muted) 100%) 0 0 / 200% 100%;background-clip:text;-webkit-background-clip:text;color:transparent;animation:__P__-steps-shimmer 2s linear infinite}@keyframes __P__-steps-shimmer{to{background-position:-200% 0}}@media(prefers-reduced-motion:reduce){.__P__-steps-body,.__P__-steps-chevron{transition:none}.__P__-steps-live{background:none;color:var(--__P__-fg-muted);animation:none}}.__P__-steps-thought,.__P__-steps-stopped-label{color:var(--__P__-fg-muted)}.__P__-steps-thought-label,.__P__-steps-stopped-label{display:inline-flex;align-items:center;min-height:28px}.__P__-steps-thought-text{width:100%;margin:var(--__P__-space-1) 0 var(--__P__-space-2)}.__P__-reasoning-body{color:var(--__P__-fg-muted);font-size:var(--__P__-text-sm)}.__P__-reasoning-body>:first-child{margin-top:0}.__P__-reasoning-body>:last-child{margin-bottom:0}.__P__-source{display:inline-flex;align-items:center;gap:6px;max-width:100%;padding:var(--__P__-space-1) var(--__P__-space-2);border-radius:999px;background:var(--__P__-bg-elevated);border:1px solid var(--__P__-border);color:var(--__P__-fg-muted);font-size:var(--__P__-text-xs);text-decoration:none}a.__P__-source:hover{color:var(--__P__-fg);border-color:var(--__P__-accent)}.__P__-source-label{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.__P__-composer{border-top:1px solid var(--__P__-border);padding:10px 12px;background:var(--__P__-bg);display:flex;flex-direction:column;gap:var(--__P__-space-2)}.__P__-composer>*{width:100%;max-width:var(--__P__-conversation-max, 768px);margin-inline:auto}.__P__-compaction-status{width:100%;padding:10px 14px;justify-content:center;font-size:var(--__P__-text-xs)}.__P__-message-queue{display:flex;max-height:112px;flex-direction:column;gap:var(--__P__-space-1);overflow-y:auto}.__P__-attachment-chip.__P__-queued-message{width:100%;max-width:none}.__P__-queued-text{min-width:0;flex:1}.__P__-composer-row{--__P__-composer-line-height: 40px;display:flex;align-items:flex-end;gap:6px}.__P__-textarea{flex:1;--__P__-textarea-base-height: 40px;height:var(--__P__-textarea-base-height);max-height:160px;padding:10px 12px;border-radius:var(--__P__-radius);background:var(--__P__-bg-elevated);border:1px solid transparent;font-size:calc(14px * var(--__P__-text-scale));line-height:1.4;transition:height var(--__P__-dur-quick) var(--__P__-ease),border-color var(--__P__-dur-quick) var(--__P__-ease)}.__P__-textarea:focus-visible{outline:none;border-color:var(--__P__-focus)}.__P__-textarea:placeholder-shown{white-space:nowrap;overflow:hidden}.__P__-textarea::placeholder{text-overflow:ellipsis}@media(pointer:coarse){.__P__-textarea{--__P__-textarea-base-height: 44px}.__P__-composer-row{--__P__-composer-line-height: 44px}.__P__-composer-row>.__P__-send{margin-block-end:2px}}.__P__-send{width:40px;height:40px;display:inline-flex;align-items:center;justify-content:center;border:1px solid transparent;transition:opacity var(--__P__-dur-quick) var(--__P__-ease),transform var(--__P__-dur-quick) var(--__P__-ease),background var(--__P__-dur-quick) var(--__P__-ease)}.__P__-send[data-shape=circle]{border-radius:999px}.__P__-send[data-shape=square]{border-radius:var(--__P__-radius-sm)}.__P__-send[data-shape=pill]{width:auto;padding:0 18px;border-radius:999px}.__P__-send[data-variant=filled]{background:var(--__P__-accent);color:var(--__P__-accent-text)}.__P__-send[data-variant=outline]{background:transparent;color:var(--__P__-accent-fg);border-color:var(--__P__-accent)}.__P__-send[data-variant=outline]:not(:disabled):hover{background:color-mix(in srgb,var(--__P__-accent) 10%,transparent)}.__P__-send[data-variant=ghost]{background:transparent;color:var(--__P__-accent-fg)}.__P__-send[data-variant=ghost]:not(:disabled):hover{background:color-mix(in srgb,var(--__P__-accent) 8%,transparent)}.__P__-send:disabled{opacity:.4;cursor:not-allowed}.__P__-send:not(:disabled):hover{transform:translateY(-1px)}.__P__-send:not(:disabled):active{transform:translateY(0)}.__P__-send:focus-visible{outline:2px solid var(--__P__-focus);outline-offset:2px}.__P__-send svg{width:18px;height:18px}.__P__-composer-actions{display:flex;gap:var(--__P__-space-1);flex-wrap:wrap;margin-block-end:calc((var(--__P__-composer-line-height) - 32px) / 2)}.__P__-attachments{display:flex;flex-wrap:wrap;gap:6px}.__P__-attachment-chip{position:relative;display:inline-flex;align-items:center;gap:8px;padding:5px;border-radius:var(--__P__-radius-md);background:var(--__P__-bg-elevated);border:1px solid var(--__P__-border);font-size:var(--__P__-text-xs);max-width:220px;overflow:hidden}.__P__-attachment-chip[data-upload=error]{border-color:color-mix(in oklab,var(--__P__-danger) 45%,transparent);background:color-mix(in oklab,var(--__P__-danger) 6%,var(--__P__-bg-elevated))}.__P__-attachment-thumb{flex-shrink:0;width:32px;height:32px;border-radius:var(--__P__-radius-sm);object-fit:cover;background:var(--__P__-border);display:inline-flex;align-items:center;justify-content:center;color:var(--__P__-fg-muted)}.__P__-attachment-text{display:flex;flex-direction:column;min-width:0;line-height:1.3}.__P__-attachment-name{min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:var(--__P__-fg);font-weight:500}.__P__-attachment-meta{display:inline-flex;align-items:center;gap:4px;color:var(--__P__-fg-muted);font-variant-numeric:tabular-nums;white-space:nowrap}.__P__-attachment-meta svg{flex:none;width:12px;height:12px}.__P__-attachment-chip[data-upload=error] .__P__-attachment-meta{color:var(--__P__-danger)}.__P__-attachment-chip[data-upload=done] .__P__-attachment-meta svg{color:var(--__P__-success)}.__P__-attachment-progress{position:absolute;inset-inline:0;bottom:0;height:2px;background:color-mix(in oklab,var(--__P__-accent) 15%,transparent)}.__P__-attachment-progress>span{display:block;height:100%;background:var(--__P__-accent);transition:width var(--__P__-dur-quick) var(--__P__-ease)}.__P__-attachment-remove{flex-shrink:0;width:24px;height:24px;border-radius:999px;display:inline-flex;align-items:center;justify-content:center;color:var(--__P__-fg-muted)}.__P__-attachment-remove svg{width:14px;height:14px}.__P__-attachment-remove:hover{background:var(--__P__-border);color:var(--__P__-fg)}.__P__-dropzone{position:absolute;inset:8px;border:2px dashed var(--__P__-accent);border-radius:var(--__P__-radius);background:color-mix(in srgb,var(--__P__-accent) 8%,color-mix(in srgb,var(--__P__-bg) 92%,transparent));display:flex;flex-direction:column;gap:10px;align-items:center;justify-content:center;text-align:center;padding:16px;font-weight:600;color:var(--__P__-accent-fg);pointer-events:none;z-index:10;animation:__P__-fade-in var(--__P__-dur-quick) var(--__P__-ease)}.__P__-dropzone-icon{display:inline-flex;align-items:center;justify-content:center;width:44px;height:44px;border-radius:999px;background:color-mix(in srgb,var(--__P__-accent) 14%,transparent)}.__P__-dropzone-icon svg{width:22px;height:22px}.__P__-dropzone[data-state=reject]{border-color:var(--__P__-danger);background:color-mix(in srgb,var(--__P__-danger) 8%,color-mix(in srgb,var(--__P__-bg) 92%,transparent));color:var(--__P__-danger)}.__P__-dropzone[data-state=reject] .__P__-dropzone-icon{background:color-mix(in srgb,var(--__P__-danger) 14%,transparent)}@keyframes __P__-fade-in{0%{opacity:0}to{opacity:1}}.__P__-error{display:flex;align-items:center;gap:var(--__P__-space-2);padding:8px 12px;border-radius:var(--__P__-radius-sm);background:color-mix(in oklab,var(--__P__-danger) 8%,var(--__P__-bg-elevated));border:1px solid color-mix(in oklab,var(--__P__-danger) 20%,transparent);color:var(--__P__-fg-muted);font-size:var(--__P__-text-sm)}.__P__-error-icon{display:inline-flex;flex:none;width:16px;height:16px;color:var(--__P__-danger-text)}.__P__-error-icon svg{width:16px;height:16px}.__P__-error-text{min-width:0}.__P__-error-retry{flex:none;margin-inline-start:auto;min-height:28px;border:0;background:none;padding:0;color:var(--__P__-accent-fg);font:inherit;font-size:var(--__P__-text-sm);font-weight:600;text-decoration:underline;white-space:nowrap;cursor:pointer}.__P__-error-retry:focus-visible{outline:2px solid var(--__P__-focus);outline-offset:2px;border-radius:var(--__P__-radius-sm)}.__P__-history{flex:1;overflow-y:auto;padding:var(--__P__-space-2) var(--__P__-space-1) var(--__P__-space-3)}.__P__-history-footer{flex:none;padding:var(--__P__-space-2) var(--__P__-space-3) var(--__P__-space-3);border-top:1px solid var(--__P__-border);background:var(--__P__-surface)}.__P__-history-new{width:100%;display:flex;align-items:center;justify-content:center;gap:var(--__P__-space-2);padding:var(--__P__-space-2) var(--__P__-space-3);border:none;border-radius:var(--__P__-radius-md);background:var(--__P__-accent);color:var(--__P__-on-accent);cursor:pointer;font-size:var(--__P__-text-sm);font-weight:600;transition:filter var(--__P__-dur-quick) var(--__P__-ease-out),transform var(--__P__-dur-quick) var(--__P__-ease-out)}.__P__-history-new svg{width:16px;height:16px}.__P__-history-new:hover{filter:brightness(1.08)}.__P__-history-new:active{transform:translateY(1px)}.__P__-history-new:focus-visible{outline:2px solid var(--__P__-focus);outline-offset:2px}.__P__-history-empty{flex:1;display:flex;align-items:center;justify-content:center;padding:40px 16px;color:var(--__P__-fg-muted);font-size:calc(14px * var(--__P__-text-scale));text-align:center}.__P__-history-group{display:flex;flex-direction:column;padding:0 var(--__P__-space-3)}.__P__-history-heading{font-size:var(--__P__-text-xs);font-weight:600;color:var(--__P__-fg-muted);padding:14px 4px 8px;text-transform:uppercase;letter-spacing:.04em}.__P__-history-card{display:flex;flex-direction:column;background:var(--__P__-surface);border:1px solid var(--__P__-border);border-radius:var(--__P__-radius-lg, 14px);overflow:hidden}.__P__-history-card>[role=listitem]{display:flex;flex-direction:column}.__P__-history-item{all:unset;display:flex;align-items:center;gap:var(--__P__-space-3);padding:12px var(--__P__-space-3);cursor:pointer;transition:background var(--__P__-dur-base) var(--__P__-ease)}.__P__-history-card>*+*{border-top:1px solid var(--__P__-border)}.__P__-history-item:hover{background:var(--__P__-bg-elevated)}.__P__-history-item:focus-visible{background:var(--__P__-bg-elevated);outline:2px solid var(--__P__-focus);outline-offset:-2px}.__P__-history-avatar{flex:none;display:grid;place-items:center;width:36px;height:36px;border-radius:var(--__P__-radius-md);background:color-mix(in oklab,var(--__P__-accent) 12%,transparent);color:var(--__P__-accent-fg)}.__P__-history-avatar svg{width:18px;height:18px}.__P__-history-body{flex:1;min-width:0;display:flex;flex-direction:column;gap:2px}.__P__-history-row{display:flex;align-items:center;justify-content:space-between;gap:var(--__P__-space-2)}.__P__-history-title{flex:1;min-width:0;font-size:calc(14px * var(--__P__-text-scale));font-weight:500;color:var(--__P__-fg);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.__P__-history-time{flex:none;font-size:var(--__P__-text-xs);color:var(--__P__-fg-muted)}.__P__-history-preview{flex:1;min-width:0;font-size:var(--__P__-text-xs);color:var(--__P__-fg-muted);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.__P__-history-dot{flex:none;width:8px;height:8px;border-radius:50%;background:var(--__P__-accent)}.__P__-history-item[data-unread=true] .__P__-history-title{font-weight:600}.__P__-history-item-skeleton{cursor:default;pointer-events:none}.__P__-skeleton{display:block;border-radius:4px;background:linear-gradient(90deg,color-mix(in oklab,var(--__P__-fg) 9%,transparent) 30%,color-mix(in oklab,var(--__P__-fg) 17%,transparent),color-mix(in oklab,var(--__P__-fg) 9%,transparent) 70%);background-size:200% 100%;animation:__P__-skeleton-shimmer 1.8s ease-in-out infinite}.__P__-history-avatar.__P__-skeleton{border-radius:var(--__P__-radius-md)}.__P__-skeleton-heading{width:52px;height:8px}.__P__-skeleton-title{width:55%;height:12px}.__P__-skeleton-time{width:34px;height:10px}.__P__-skeleton-preview{width:80%;height:10px}@keyframes __P__-skeleton-shimmer{0%{background-position:200% 0}to{background-position:-200% 0}}@media(prefers-reduced-motion:reduce){.__P__-skeleton{animation:none}}.__P__-list-loading{margin:auto;padding:var(--__P__-space-6) var(--__P__-space-4);color:var(--__P__-fg-muted);font-size:var(--__P__-text-sm);text-align:center}.__P__-transcript-layer{position:absolute;inset:0;z-index:20;display:flex;align-items:center;justify-content:center;padding:var(--__P__-space-4);border-radius:inherit;overflow:hidden}.__P__-transcript-backdrop{position:absolute;inset:0;background:var(--__P__-backdrop);animation:__P__-transcript-fade var(--__P__-dur-base) var(--__P__-ease-out)}.__P__-transcript-sheet{position:relative;display:flex;flex-direction:column;gap:var(--__P__-space-3);box-sizing:border-box;width:100%;max-width:360px;padding:var(--__P__-space-4);border-radius:var(--__P__-radius-lg);background:var(--__P__-bg);color:var(--__P__-fg);box-shadow:var(--__P__-shadow-panel),inset 0 0 0 1px var(--__P__-border);animation:__P__-transcript-in var(--__P__-dur-base) var(--__P__-ease-out)}.__P__-transcript-sheet-head{display:flex;align-items:center;gap:var(--__P__-space-2);margin-block:-4px;margin-inline-end:-6px}.__P__-transcript-sheet-icon{display:inline-flex;align-items:center;justify-content:center;inline-size:28px;block-size:28px;flex-shrink:0;border-radius:var(--__P__-radius-sm);background:color-mix(in oklab,var(--__P__-accent) 12%,transparent);color:var(--__P__-accent-fg)}.__P__-transcript-sheet-icon svg{inline-size:16px;block-size:16px}.__P__-transcript-sheet-title{flex:1;min-width:0;margin:0;font-size:var(--__P__-text-base);font-weight:600;text-wrap:balance}.__P__-transcript-sheet-form{display:flex;flex-direction:column;gap:var(--__P__-space-3)}.__P__-transcript-sheet-text{margin:0;font-size:var(--__P__-text-sm);line-height:1.45;color:var(--__P__-fg-muted);overflow-wrap:anywhere;text-wrap:pretty}.__P__-transcript-sheet-sent{display:flex;align-items:flex-start;gap:var(--__P__-space-2);color:var(--__P__-fg)}.__P__-transcript-sheet-sent svg{flex-shrink:0;inline-size:18px;block-size:18px;color:var(--__P__-success)}.__P__-transcript-sheet-action{width:100%;min-height:44px;text-align:center;transition:filter var(--__P__-dur-quick) var(--__P__-ease-out),scale var(--__P__-dur-quick) var(--__P__-ease-out)}.__P__-transcript-sheet-action:active:not(:disabled){scale:.96}@keyframes __P__-transcript-fade{0%{opacity:0}}@keyframes __P__-transcript-in{0%{opacity:0;translate:0 8px}}@media(max-width:640px){.__P__-transcript-layer{align-items:flex-end;padding:0}.__P__-transcript-sheet{max-width:none;padding-bottom:calc(var(--__P__-space-4) + env(safe-area-inset-bottom,0px));border-end-start-radius:0;border-end-end-radius:0;animation-name:__P__-transcript-up}}@keyframes __P__-transcript-up{0%{translate:0 100%}}@media(prefers-reduced-motion:reduce){.__P__-transcript-backdrop,.__P__-transcript-sheet{animation:none}}.__P__-operator-banner{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:start;column-gap:10px;box-sizing:border-box;width:calc(100% - 2 * var(--__P__-space-3));max-width:var(--__P__-conversation-max, 768px);margin:0 auto var(--__P__-space-2);padding:10px 12px;border-radius:var(--__P__-radius-lg);background:var(--__P__-bg-elevated);box-shadow:inset 0 0 0 1px var(--__P__-border);color:var(--__P__-fg);font-size:var(--__P__-text-sm);line-height:1.45;text-align:start}.__P__-operator-label{text-wrap:pretty}.__P__-operator-pulse{width:8px;height:8px;margin-block-start:calc((1.45em - 8px)/2);border-radius:50%;background:var(--__P__-accent)}.__P__-operator-banner[data-mode=awaiting-operator] .__P__-operator-pulse{animation:__P__-operator-pulse 1.4s var(--__P__-ease-out) infinite}.__P__-operator-banner[data-available=false] .__P__-operator-pulse{background:var(--__P__-warning);animation:none}.__P__-operator-banner[data-mode=operator] .__P__-operator-pulse{background:var(--__P__-success)}.__P__-operator-dismiss{width:28px;height:28px;margin-block:-4px;margin-inline-end:-6px}.__P__-operator-dismiss:before{inset:-8px}.__P__-operator-dismiss svg{width:16px;height:16px}@media(prefers-reduced-motion:reduce){.__P__-operator-banner[data-mode=awaiting-operator] .__P__-operator-pulse{animation:none}}@keyframes __P__-operator-pulse{0%,to{opacity:1;transform:scale(1)}50%{opacity:.4;transform:scale(.7)}}.__P__-login-bar{display:grid;grid-template-columns:auto minmax(0,1fr) auto auto;align-items:center;column-gap:10px;padding:6px 8px;padding-inline-start:14px;border-bottom:1px solid var(--__P__-border);background:var(--__P__-bg-elevated);color:var(--__P__-fg);font-size:var(--__P__-text-sm);line-height:1.4}.__P__-login-bar-icon,.__P__-login-gate-icon{display:inline-flex;color:var(--__P__-fg-muted)}.__P__-login-bar-icon svg{width:16px;height:16px}.__P__-login-bar-text{text-wrap:pretty}.__P__-login-bar[data-kind=user]{grid-template-columns:auto minmax(0,1fr);padding-inline-end:14px;color:var(--__P__-fg-muted)}.__P__-login-bar[data-kind=user] .__P__-login-bar-text{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.__P__-login-bar-action{appearance:none;border:0;cursor:pointer;padding:6px 12px;border-radius:999px;background:transparent;color:var(--__P__-accent-fg);font:inherit;font-weight:600;white-space:nowrap;transition:background var(--__P__-dur-quick) var(--__P__-ease)}.__P__-login-bar-action:hover{background:var(--__P__-hover)}.__P__-login-bar-action:focus-visible{outline:2px solid var(--__P__-focus);outline-offset:1px}.__P__-login-bar-hide{width:28px;height:28px}.__P__-login-bar-hide:before{inset:-8px}.__P__-login-bar-hide svg{width:16px;height:16px}.__P__-login-gate{display:flex;flex-direction:column;align-items:center;gap:10px;box-sizing:border-box;width:calc(100% - 2 * var(--__P__-space-3));max-width:var(--__P__-conversation-max, 768px);margin:0 auto var(--__P__-space-3);padding:18px 16px;border-radius:var(--__P__-radius-lg);background:var(--__P__-bg-elevated);box-shadow:inset 0 0 0 1px var(--__P__-border);text-align:center}.__P__-login-gate[data-alone]{flex:1;justify-content:center;margin-block-start:var(--__P__-space-3);background:transparent;box-shadow:none}.__P__-login-gate-icon{align-items:center;justify-content:center;width:40px;height:40px;border-radius:50%;background:var(--__P__-bg);box-shadow:inset 0 0 0 1px var(--__P__-border)}.__P__-login-gate[data-alone] .__P__-login-gate-icon{width:48px;height:48px;background:var(--__P__-bg-elevated)}.__P__-login-gate-icon svg{width:20px;height:20px}.__P__-form-actions.__P__-login-gate-actions{justify-content:center;width:100%;max-width:320px;margin-top:var(--__P__-space-1)}.__P__-login-gate-title{margin:0;color:var(--__P__-fg);font-size:var(--__P__-text-md);font-weight:600;line-height:1.35;text-wrap:balance}.__P__-composer-footer{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;padding:10px 16px;margin:0 var(--__P__-space-3);border-top:1px solid var(--__P__-border);text-align:center;font-size:calc(11px * var(--__P__-text-scale));line-height:1.4;color:var(--__P__-fg-muted)}.__P__-disclaimer{max-width:320px;margin:0 auto;opacity:.9;letter-spacing:.01em}.__P__-poweredby{display:inline-flex;align-items:center;justify-content:center;gap:6px;color:inherit;text-decoration:none;opacity:.7;transition:opacity var(--__P__-dur-base) var(--__P__-ease);font-size:calc(11px * var(--__P__-text-scale));letter-spacing:.02em}.__P__-poweredby:hover{opacity:1}.__P__-poweredby-logo{height:12px;width:auto;display:inline-block;vertical-align:middle}.__P__-poweredby-bar{flex:none;display:flex;align-items:center;justify-content:center;padding:6px 16px;border-top:1px solid var(--__P__-border);background:var(--__P__-bg-elevated)}.__P__-menu-wrap{position:relative;display:inline-flex}.__P__-menu{position:absolute;top:100%;inset-inline-end:0;margin-top:6px;min-width:200px;padding:6px;background:var(--__P__-bg);color:var(--__P__-fg);border:1px solid var(--__P__-border);border-radius:var(--__P__-radius-md);box-shadow:var(--__P__-shadow-panel);z-index:10;display:flex;flex-direction:column;gap:2px;animation:__P__-menu-in var(--__P__-dur-base) var(--__P__-ease)}@media(prefers-reduced-motion:reduce){.__P__-menu{animation:none}}@keyframes __P__-menu-in{0%{opacity:0;transform:translateY(-4px) scale(.98);transform-origin:top right}to{opacity:1;transform:none}}.__P__-menu-item{all:unset;display:flex;align-items:center;gap:10px;padding:8px 10px;font-size:var(--__P__-text-sm);color:var(--__P__-fg);border-radius:var(--__P__-radius-sm);cursor:pointer;user-select:none}.__P__-menu-item:hover{background:var(--__P__-bg-elevated)}.__P__-menu-item:focus-visible{background:var(--__P__-bg-elevated);outline:2px solid var(--__P__-focus);outline-offset:-2px}.__P__-menu-item[disabled]{opacity:.45;cursor:not-allowed}.__P__-menu-icon{display:inline-flex;width:16px;height:16px;color:var(--__P__-fg-muted)}.__P__-menu-icon svg{width:16px;height:16px}.__P__-menu-label{flex:1}.__P__-menu-check{display:inline-flex;color:var(--__P__-accent-fg)}.__P__-menu-check svg{width:14px;height:14px}.__P__-menu-item-segmented{cursor:default}.__P__-menu-item-segmented:hover{background:transparent}.__P__-segmented{display:inline-flex;gap:2px;padding:2px;background:var(--__P__-bg-elevated);border-radius:var(--__P__-radius-sm)}.__P__-segment{all:unset;min-width:26px;padding:3px 8px;font-size:var(--__P__-text-xs);font-weight:600;letter-spacing:.02em;text-align:center;color:var(--__P__-fg-muted);border-radius:calc(var(--__P__-radius-sm) - 2px);cursor:pointer;transition:color .12s ease,background .12s ease}.__P__-segment:hover{color:var(--__P__-fg)}.__P__-segment[data-on=true]{background:var(--__P__-bg);color:var(--__P__-accent-fg);box-shadow:var(--__P__-shadow-card)}.__P__-segment:focus-visible{outline:2px solid var(--__P__-focus);outline-offset:-2px}.__P__-resize-grip{position:absolute;width:18px;height:18px;display:flex;align-items:center;justify-content:center;color:var(--__P__-fg-muted);opacity:.45;transition:opacity var(--__P__-dur-base) var(--__P__-ease);z-index:2;touch-action:none;user-select:none}.__P__-resize-grip:hover,.__P__-resize-grip:focus-visible,.__P__-panel[data-resizing] .__P__-resize-grip{opacity:1}.__P__-resize-grip:focus-visible{outline:2px solid var(--__P__-focus);outline-offset:-2px;border-radius:4px}.__P__-resize-grip svg{width:10px;height:10px}.__P__-resize-grip--bottom-left{bottom:2px;left:2px;cursor:nesw-resize;transform:scaleX(-1)}.__P__-resize-grip--bottom-right{bottom:2px;right:2px;cursor:nwse-resize}.__P__-resize-grip--top-left{top:2px;left:2px;cursor:nwse-resize;transform:rotate(180deg)}.__P__-resize-grip--top-right{top:2px;right:2px;cursor:nesw-resize;transform:scaleY(-1)}.__P__-resize-grip--edge{top:0;bottom:0;left:0;width:8px;height:auto;opacity:1;cursor:ew-resize}.__P__-resize-grip--edge:focus-visible{outline:none}.__P__-resize-grip--edge:after{content:"";position:absolute;top:var(--__P__-radius, 12px);bottom:var(--__P__-radius, 12px);left:0;width:2px;border-radius:1px;background:var(--__P__-focus);opacity:0;transition:opacity var(--__P__-dur-base) var(--__P__-ease)}:host([data-position$="-left"]) .__P__-resize-grip--edge,:host([data-position$="-left"]) .__P__-resize-grip--edge:after{left:auto;right:0}.__P__-resize-grip--edge:hover:after{opacity:1;transition-delay:.15s}.__P__-resize-grip--edge:focus-visible:after,.__P__-panel[data-resizing] .__P__-resize-grip--edge:after{opacity:1}@media(pointer:coarse){.__P__-resize-grip{width:24px;height:24px}.__P__-resize-grip--edge{width:14px;height:auto}}:host(:not([data-mode="open"]):not([data-mode="expanded"]):not([data-mode="drawer"])) .__P__-resize-grip{display:none}@media(max-width:640px){.__P__-resize-grip{display:none}}.__P__-messenger{display:flex;flex-direction:column;overflow:hidden}.__P__-messenger-body,.__P__-messenger-pane{flex:1;min-height:0;display:flex;flex-direction:column;overflow:hidden}.__P__-messenger-pane[hidden]{display:none}@keyframes __P__-view-in{0%{opacity:0;transform:translateY(4px)}to{opacity:1;transform:none}}.__P__-module{display:flex;flex-direction:column;height:100%;min-height:0}@media(prefers-reduced-motion:no-preference){.__P__-module,.__P__-history{animation:__P__-view-in .18s var(--__P__-ease-out)}}.__P__-module-scroll{flex:1;min-height:0;overflow-y:auto;padding:var(--__P__-space-3);display:flex;flex-direction:column;gap:var(--__P__-space-3)}.__P__-home{container-type:inline-size;background:radial-gradient(125% 65% at 88% 0%,color-mix(in srgb,#fff 16%,transparent),transparent 55%),linear-gradient(180deg,var(--__P__-accent) 0%,var(--__P__-accent) 22%,color-mix(in srgb,var(--__P__-accent) 28%,var(--__P__-surface)) 44%,var(--__P__-surface) 70%);border-radius:var(--__P__-radius-lg) var(--__P__-radius-lg) 0 0}.__P__-home-scroll{flex:1;min-height:0;overflow-y:auto;display:flex;flex-direction:column;background:transparent}.__P__-home-cards{display:flex;flex-direction:column;gap:var(--__P__-space-3);padding:4px 14px 16px}.__P__-module-pad{padding:var(--__P__-space-3) var(--__P__-space-3) 0}.__P__-module-empty{display:flex;flex-direction:column;align-items:center;gap:var(--__P__-space-3);padding:var(--__P__-space-8) var(--__P__-space-4);text-align:center;color:var(--__P__-fg-muted);font-size:var(--__P__-text-base)}.__P__-module-retry{padding:var(--__P__-space-2) var(--__P__-space-4);border:1px solid var(--__P__-border-strong);border-radius:var(--__P__-radius-sm);color:var(--__P__-fg);font-weight:600;cursor:pointer;transition:background var(--__P__-dur-quick) var(--__P__-ease-out),border-color var(--__P__-dur-quick) var(--__P__-ease-out)}.__P__-module-retry:hover{background:var(--__P__-hover);border-color:var(--__P__-accent)}.__P__-module-retry:active{background:var(--__P__-border)}.__P__-module-retry:focus-visible{outline:2px solid var(--__P__-focus);outline-offset:2px}.__P__-help-list{flex:1;min-height:0;overflow-y:auto;padding-bottom:var(--__P__-space-3)}.__P__-help-group{display:flex;flex-direction:column}.__P__-help-section-title{position:sticky;top:0;z-index:1;margin:0;padding:var(--__P__-space-3) var(--__P__-space-5) var(--__P__-space-2);font-size:var(--__P__-text-xs);font-weight:700;text-transform:uppercase;letter-spacing:.06em;color:var(--__P__-fg-muted);background:var(--__P__-bg)}.__P__-help-card{margin:0 var(--__P__-space-3) var(--__P__-space-3);background:var(--__P__-surface);border:1px solid var(--__P__-border);border-radius:var(--__P__-radius);overflow:hidden}.__P__-help-card .__P__-list-row{border-bottom:0;border-radius:0}.__P__-help-card .__P__-list-row+.__P__-list-row{border-top:1px solid var(--__P__-border)}.__P__-help-more{justify-content:center;color:var(--__P__-accent-fg);font-weight:600}.__P__-tabbar{display:flex;border-top:1px solid var(--__P__-border);background:var(--__P__-bg-elevated);flex-shrink:0}.__P__-tab{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:var(--__P__-space-1);min-height:48px;padding:var(--__P__-space-2) var(--__P__-space-1);color:var(--__P__-fg-muted);font-size:var(--__P__-text-xs);font-weight:600;transition:color var(--__P__-dur-quick) var(--__P__-ease-out)}@media(hover:hover){.__P__-tab:hover{background:var(--__P__-hover)}}.__P__-tab[aria-selected=true]{color:var(--__P__-accent-fg)}.__P__-tab:focus-visible{outline:2px solid var(--__P__-focus);outline-offset:-2px}.__P__-tab:active{background:var(--__P__-hover)}.__P__-tab-icon{position:relative;display:inline-flex}.__P__-tab-icon svg{width:22px;height:22px}.__P__-tab-badge{position:absolute;top:-2px;left:calc(50% + 6px);width:8px;height:8px;border-radius:50%;background:var(--__P__-accent);box-shadow:0 0 0 2px var(--__P__-bg-elevated)}.__P__-home-hero{flex-shrink:0;padding:var(--__P__-space-5) var(--__P__-space-5) var(--__P__-space-3);color:var(--__P__-on-accent);--__P__-focus: var(--__P__-on-accent)}.__P__-home-hero-top{display:flex;align-items:center;justify-content:space-between;gap:var(--__P__-space-3);min-height:32px}.__P__-home-brand{font-size:clamp(calc(12px * var(--__P__-text-scale)),calc(3.2cqi * var(--__P__-text-scale)),calc(14px * var(--__P__-text-scale)));font-weight:600;letter-spacing:.01em;color:color-mix(in srgb,#fff 82%,transparent);overflow:hidden;text-overflow:ellipsis;white-space:nowrap;min-width:0}.__P__-home-brand-spacer{flex:1}.__P__-home-hero-actions{display:flex;align-items:center;gap:var(--__P__-space-2);flex-shrink:0}.__P__-home-hero-actions .__P__-icon-btn{color:#fff}.__P__-home-hero-actions .__P__-icon-btn:hover{background:color-mix(in srgb,#fff 18%,transparent);color:#fff}.__P__-home-hero-actions .__P__-icon-btn:active{background:color-mix(in srgb,#fff 26%,transparent)}.__P__-home-greeting{margin:28px 0 0;font-family:var(--__P__-font-display);font-size:clamp(calc(19px * var(--__P__-text-scale)),calc(5.5cqi * var(--__P__-text-scale)),var(--__P__-text-2xl));font-weight:800;line-height:1.18;letter-spacing:-.01em;overflow-wrap:anywhere}.__P__-home-lead{margin:10px 0 0;font-family:var(--__P__-font-display);font-size:clamp(calc(15px * var(--__P__-text-scale)),calc(4.2cqi * var(--__P__-text-scale)),var(--__P__-text-xl));font-weight:600;line-height:1.25;letter-spacing:-.005em;color:color-mix(in srgb,var(--__P__-on-accent) 78%,transparent);overflow-wrap:anywhere}.__P__-home-avatars{display:flex}.__P__-home-avatar{width:30px;height:30px;border-radius:var(--__P__-radius-md);overflow:hidden;margin-inline-start:-10px;border:2px solid color-mix(in srgb,#fff 92%,transparent);box-shadow:0 1px 3px #0000002e;background:var(--__P__-surface);display:inline-flex;align-items:center;justify-content:center;font-size:var(--__P__-text-xs);font-weight:700;color:var(--__P__-fg)}.__P__-home-avatar:first-child{margin-inline-start:0}.__P__-home-avatar img{width:100%;height:100%;object-fit:cover}.__P__-home-content{background:var(--__P__-surface);border:1px solid var(--__P__-border);border-radius:var(--__P__-radius);box-shadow:var(--__P__-shadow-card);overflow:hidden}.__P__-home-content-title{padding:var(--__P__-space-4) var(--__P__-space-4) var(--__P__-space-3);font-size:var(--__P__-text-sm);font-weight:700}.__P__-home-content-list{display:flex;flex-direction:column;padding:0 var(--__P__-space-2) var(--__P__-space-2)}.__P__-home-content-list .__P__-list-row+.__P__-list-row{border-top:1px solid var(--__P__-border)}.__P__-home-card{display:block;width:100%;text-align:start;background:var(--__P__-surface);border:1px solid var(--__P__-border);border-radius:var(--__P__-radius);padding:var(--__P__-space-4);box-shadow:var(--__P__-shadow-card)}.__P__-home-card[data-interactive=true]{cursor:pointer;transition:background var(--__P__-dur-quick) var(--__P__-ease-out),transform var(--__P__-dur-quick) var(--__P__-ease-out)}.__P__-home-card[data-interactive=true]:hover{background:var(--__P__-bg-elevated)}.__P__-home-card[data-interactive=true]:active{transform:translateY(1px)}.__P__-home-card[data-interactive=true]:focus-visible{outline:2px solid var(--__P__-focus);outline-offset:2px}.__P__-home-recent-row{display:flex;align-items:center;gap:var(--__P__-space-3)}.__P__-home-recent-avatar{display:inline-flex;align-items:center;justify-content:center;width:38px;height:38px;flex-shrink:0;border-radius:var(--__P__-radius-md);background:color-mix(in oklch,var(--__P__-accent) 14%,transparent);color:var(--__P__-accent-fg)}.__P__-home-recent-avatar svg{width:20px;height:20px}.__P__-home-recent-body{display:flex;flex-direction:column;gap:3px;min-width:0;flex:1;line-height:1.45}.__P__-home-recent-title{font-weight:600;font-size:calc(14px * var(--__P__-text-scale))}.__P__-home-recent-preview{color:var(--__P__-fg-muted);font-size:var(--__P__-text-sm);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.__P__-home-recent-dot{width:8px;height:8px;border-radius:999px;background:var(--__P__-accent);flex-shrink:0}.__P__-home-recent-row[data-unread=true] .__P__-home-recent-title{font-weight:700}.__P__-home-status{display:flex;align-items:center;gap:var(--__P__-space-3)}.__P__-home-status-icon svg{width:22px;height:22px;color:var(--__P__-success)}.__P__-home-status[data-level=degraded] .__P__-home-status-icon svg{color:var(--__P__-warning)}.__P__-home-status[data-level=down] .__P__-home-status-icon svg{color:var(--__P__-danger)}.__P__-home-status-text{font-weight:600;font-size:calc(14px * var(--__P__-text-scale))}.__P__-home-search{display:flex;align-items:center;gap:var(--__P__-space-2);width:100%;padding:var(--__P__-space-3) var(--__P__-space-4);border-radius:var(--__P__-radius);border:1px solid var(--__P__-border);background:var(--__P__-surface);text-align:start}.__P__-home-search[data-input=true]{background:var(--__P__-bg-elevated)}.__P__-home-search:hover{border-color:var(--__P__-border-strong)}.__P__-home-search:focus-visible{outline:2px solid var(--__P__-focus);outline-offset:2px}.__P__-home-search[data-input=true]:focus-within{outline:none;border-color:var(--__P__-focus)}.__P__-home-search-text{flex:1;color:var(--__P__-fg-muted);font-size:calc(14px * var(--__P__-text-scale))}.__P__-home-search-input{flex:1;border:0;background:transparent;font-size:calc(14px * var(--__P__-text-scale));color:var(--__P__-fg);outline:none}.__P__-home-search-input:focus-visible{outline:none}.__P__-home-search-icon svg{width:18px;height:18px;color:var(--__P__-accent-fg)}.__P__-home-ask{padding-block:6px;padding-inline-end:6px}.__P__-home-ask .__P__-send{width:32px;height:32px;flex-shrink:0}.__P__-home-ask .__P__-send[data-shape=pill]{width:auto;padding:0 14px}.__P__-home-ask .__P__-send svg{width:16px;height:16px}.__P__-list-row{display:flex;align-items:center;gap:var(--__P__-space-3);width:100%;min-height:44px;text-align:start;padding:var(--__P__-space-3) var(--__P__-space-2);border-radius:var(--__P__-radius-sm)}.__P__-list-row:hover{background:var(--__P__-hover)}.__P__-list-row:active{background:var(--__P__-border)}.__P__-list-row:focus-visible{outline:2px solid var(--__P__-focus);outline-offset:-2px}.__P__-list-row-body{display:flex;flex-direction:column;min-width:0;flex:1}.__P__-list-row-title{font-weight:600;font-size:var(--__P__-text-md);line-height:1.35}.__P__-list-row-sub{color:var(--__P__-fg-muted);font-size:var(--__P__-text-sm);margin-top:var(--__P__-space-1);line-height:1.45;display:-webkit-box;-webkit-line-clamp:2;line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.__P__-list-row-chevron svg{width:18px;height:18px;color:var(--__P__-accent-fg);flex-shrink:0}.__P__-back-header{display:flex;align-items:center;gap:var(--__P__-space-2);padding:10px 12px;border-bottom:1px solid var(--__P__-border);flex-shrink:0}.__P__-back-title{flex:1;text-align:center;font-size:var(--__P__-text-md);font-weight:700;margin:0;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.__P__-back-spacer{width:32px;height:1px}.__P__-history>*,.__P__-home-scroll>*,.__P__-module-scroll>*,.__P__-help-list>*,.__P__-history-footer>*,.__P__-module-pad{width:100%;max-width:var(--__P__-conversation-max, 768px);margin-inline:auto}.__P__-header,.__P__-back-header{padding-inline:max(12px,calc((100% - var(--__P__-conversation-max, 768px)) / 2))}.__P__-tabbar{padding-inline:max(0px,calc((100% - var(--__P__-conversation-max, 768px)) / 2))}.__P__-content{display:flex;flex-direction:column;gap:14px;width:100%;max-width:68ch;margin:0 auto}.__P__-content-hero{width:100%;border-radius:var(--__P__-radius)}.__P__-content-subtitle{color:var(--__P__-fg-muted);margin:0}.__P__-content-vote{display:flex;align-items:center;flex-wrap:wrap;gap:var(--__P__-space-2);padding-top:var(--__P__-space-3);border-top:1px solid var(--__P__-border)}.__P__-news-list{display:flex;flex-direction:column;gap:var(--__P__-space-3)}.__P__-news-card{display:block;width:100%;text-align:start;line-height:1.45;border:1px solid var(--__P__-border);border-radius:var(--__P__-radius);overflow:hidden;background:var(--__P__-surface);transition:background var(--__P__-dur-quick) var(--__P__-ease-out),transform var(--__P__-dur-quick) var(--__P__-ease-out)}.__P__-news-card:hover{background:var(--__P__-bg-elevated)}.__P__-news-card:active{transform:translateY(1px)}.__P__-news-card:focus-visible{outline:2px solid var(--__P__-focus);outline-offset:2px}.__P__-news-hero{width:100%;display:block}.__P__-news-body{display:flex;flex-direction:column;gap:6px;padding:14px 16px}.__P__-news-title{font-weight:700;font-size:var(--__P__-text-md)}.__P__-news-meta{display:flex;flex-wrap:wrap;align-items:center;gap:6px;color:var(--__P__-fg-muted);font-size:var(--__P__-text-sm)}.__P__-news-tag{padding:1px 8px;border-radius:6px;background:var(--__P__-hover);color:var(--__P__-fg);font-size:calc(12px * var(--__P__-text-scale));white-space:nowrap}.__P__-news-more{display:flex;align-items:center;justify-content:center;gap:var(--__P__-space-2);width:100%;min-height:44px;border:1px solid var(--__P__-border);border-radius:var(--__P__-radius);background:var(--__P__-surface);color:var(--__P__-accent-fg);font-weight:600}.__P__-news-more:hover{background:var(--__P__-bg-elevated)}.__P__-news-more:focus-visible{outline:2px solid var(--__P__-focus);outline-offset:2px}.__P__-news-summary{color:var(--__P__-fg-muted);font-size:calc(14px * var(--__P__-text-scale));display:-webkit-box;-webkit-line-clamp:2;line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.__P__-panel-notice{display:flex;align-items:center;justify-content:center;position:relative;padding:var(--__P__-space-6);text-align:center}.__P__-panel-notice-close{position:absolute;top:12px;inset-inline-end:12px}.__P__-panel-notice-text{color:var(--__P__-fg-muted);font-size:var(--__P__-text-base)}.__P__-form{display:flex;flex-direction:column;gap:var(--__P__-space-4)}.__P__-field{display:flex;flex-direction:column;gap:6px}.__P__-field-head{display:flex;flex-wrap:wrap;align-items:baseline;gap:var(--__P__-space-2)}.__P__-field-label{font-size:var(--__P__-text-sm);font-weight:600;color:var(--__P__-fg)}.__P__-field-req{color:var(--__P__-danger)}.__P__-field-type{flex-shrink:0;align-self:center;margin-inline-start:auto;border:1px solid var(--__P__-border);border-radius:5px;background:color-mix(in oklab,var(--__P__-fg-muted) 9%,transparent);padding:1px 7px;font-size:var(--__P__-text-xs);font-weight:600;color:var(--__P__-fg-muted);white-space:nowrap}.__P__-field-input{width:100%;min-width:0;max-width:100%;box-sizing:border-box;padding:10px var(--__P__-space-3);border:1px solid var(--__P__-border);border-radius:var(--__P__-radius-md);background:var(--__P__-bg);color:var(--__P__-fg);font:inherit;font-size:var(--__P__-text-sm);resize:vertical;transition:border-color var(--__P__-dur-quick) var(--__P__-ease-out)}.__P__-field-input:focus-visible{outline:none;border-color:var(--__P__-accent)}.__P__-field[data-invalid=true] .__P__-field-input{border-color:var(--__P__-danger)}.__P__-field-input[type=date],.__P__-field-input[type=time]{appearance:none;-webkit-appearance:none}@media(pointer:coarse){.__P__-textarea,.__P__-home-search-input,.__P__-field-input{font-size:max(16px,calc(16px * var(--__P__-text-scale)))}}.__P__-field-hint{font-size:var(--__P__-text-xs);color:var(--__P__-fg-muted)}.__P__-field-error{font-size:var(--__P__-text-xs);color:var(--__P__-danger)}.__P__-field-choices{display:flex;flex-direction:column;gap:10px;padding-top:2px}.__P__-choice{display:flex;align-items:flex-start;gap:10px;font-size:var(--__P__-text-sm);color:var(--__P__-fg);cursor:pointer}.__P__-choice input{margin-top:2px;accent-color:var(--__P__-accent)}.__P__-form-actions{display:flex;flex-wrap:wrap;align-items:center;justify-content:flex-end;gap:var(--__P__-space-2);margin-top:var(--__P__-space-2)}.__P__-form-hint{flex:1 1 auto;min-width:6rem;margin-inline-end:auto;font-size:var(--__P__-text-xs);color:var(--__P__-fg-muted)}.__P__-form-submit{padding:var(--__P__-space-2) var(--__P__-space-4);border:none;border-radius:var(--__P__-radius-md);background:var(--__P__-accent);color:var(--__P__-accent-text, #fff);font:inherit;font-weight:600;font-size:var(--__P__-text-sm);white-space:nowrap;flex-shrink:0;cursor:pointer;transition:filter var(--__P__-dur-quick) var(--__P__-ease-out)}.__P__-form-submit:hover:not(:disabled){filter:brightness(1.06)}.__P__-form-submit:disabled{opacity:.6;cursor:default}.__P__-form-skip{padding:var(--__P__-space-2) var(--__P__-space-4);border:1px solid var(--__P__-border);border-radius:var(--__P__-radius-md);background:transparent;color:var(--__P__-fg-muted);font:inherit;font-size:var(--__P__-text-sm);white-space:nowrap;flex-shrink:0;cursor:pointer;transition:background var(--__P__-dur-quick) var(--__P__-ease-out)}.__P__-form-skip:hover:not(:disabled){background:var(--__P__-bg-elevated)}@media(max-width:640px){.__P__-form-hint{flex-basis:100%;margin-inline-end:0;font-size:var(--__P__-text-xs)}.__P__-form-submit,.__P__-form-skip{flex:1 1 0;text-align:center}}.__P__-toolui{border:1px solid var(--__P__-border);border-radius:var(--__P__-radius-lg, 14px);background:var(--__P__-bg-elevated);font-size:var(--__P__-text-sm)}.__P__-toolui:not(.__P__-toolui-collapsible){display:flex;flex-direction:column;gap:var(--__P__-space-3);padding:var(--__P__-space-4)}.__P__-toolui-group{display:flex;flex-direction:column;gap:var(--__P__-space-3)}.__P__-toolui-stale{opacity:.7}details.__P__-toolui-collapsible>summary{display:flex;align-items:center;gap:var(--__P__-space-2);padding:var(--__P__-space-3) var(--__P__-space-4);cursor:pointer;list-style:none;-webkit-tap-highlight-color:transparent;user-select:none}details.__P__-toolui-collapsible>summary::-webkit-details-marker{display:none}details.__P__-toolui-collapsible[open]>summary{border-bottom:1px solid var(--__P__-border)}details.__P__-toolui-collapsible>.__P__-toolui-section{margin:var(--__P__-space-4)}details.__P__-toolui-collapsible>.__P__-toolui-section~.__P__-toolui-section{margin-top:calc(-1 * var(--__P__-space-2))}.__P__-toolui-name-text{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.__P__-toolui-chevron{display:inline-flex;color:var(--__P__-fg-muted);transition:transform var(--__P__-dur-quick) var(--__P__-ease-out)}details.__P__-toolui-collapsible>summary .__P__-toolui-status{margin-inline-start:auto}.__P__-toolui-chevron svg{width:16px;height:16px}details.__P__-toolui-collapsible[open]>summary .__P__-toolui-chevron{transform:rotate(180deg)}.__P__-toolui-badge,.__P__-toolui-name-pill,.__P__-toolui-q-pill{--__P__-pill: var(--__P__-fg-muted);display:inline-flex;min-width:0;align-items:center;gap:5px;padding:3px 7px;border-radius:5px;border:1px solid var(--__P__-border);background:color-mix(in oklab,var(--__P__-fg-muted) 9%,transparent);color:var(--__P__-pill);font-size:var(--__P__-text-xs);font-weight:600;white-space:nowrap}.__P__-toolui-badge svg,.__P__-toolui-name-pill svg,.__P__-toolui-q-pill svg{flex-shrink:0;width:14px;height:14px}.__P__-toolui-status-icon{display:inline-flex}.__P__-toolui-name-pill{--__P__-pill: oklch(.68 .13 233)}.__P__-toolui-q-pill{--__P__-pill: oklch(.66 .12 195)}.__P__-toolui-status[data-status=done]{--__P__-pill: var(--__P__-success, #16a34a)}.__P__-toolui-status[data-status=approved],.__P__-toolui-status[data-status=submitted]{--__P__-pill: oklch(.62 .15 255)}.__P__-toolui-status[data-status=waiting]{--__P__-pill: var(--__P__-warning, #f59e0b)}.__P__-toolui-status[data-status=declined]{--__P__-pill: oklch(.66 .16 45)}.__P__-toolui-status[data-status=failed]{--__P__-pill: var(--__P__-danger, #dc2626)}.__P__-toolui-status[data-status=replaced],.__P__-toolui-status[data-status=running],.__P__-toolui-status[data-status=stopped]{--__P__-pill: var(--__P__-fg-muted)}@supports (color: oklch(from red l c h)){.__P__-toolui-badge,.__P__-toolui-name-pill,.__P__-toolui-q-pill{color:oklch(from var(--__P__-pill) clamp(var(--__P__-pill-l-min),l,var(--__P__-pill-l-max)) c h)}}.__P__-toolui-head{display:flex;align-items:center;flex-wrap:wrap;gap:var(--__P__-space-2)}.__P__-toolui-head-end{display:inline-flex;align-items:center;gap:var(--__P__-space-2);margin-inline-start:auto}.__P__-toolui-collapse-body{display:flex;flex-direction:column;gap:var(--__P__-space-3);padding:var(--__P__-space-4)}.__P__-toolui-summary{display:flex;flex-direction:column;gap:var(--__P__-space-3)}.__P__-toolui-collapse-body>.__P__-form{gap:var(--__P__-space-3)}.__P__-toolui-collapse-body>.__P__-form>.__P__-field,.__P__-toolui-summary>.__P__-field{padding:10px var(--__P__-space-3);border:1px solid var(--__P__-border);border-radius:var(--__P__-radius-md);background:color-mix(in oklab,var(--__P__-bg) 80%,transparent);line-height:1.5}.__P__-toolui-collapse-body>.__P__-form>.__P__-field{gap:var(--__P__-space-2)}.__P__-toolui-summary>.__P__-field{gap:var(--__P__-space-1)}.__P__-toolui-summary .__P__-field-label{color:var(--__P__-fg-muted)}.__P__-toolui-answer{margin:0;font-size:var(--__P__-text-sm);color:var(--__P__-fg-muted);overflow-wrap:anywhere;white-space:pre-wrap}.__P__-toolui-footer{display:flex;align-items:center;justify-content:space-between;gap:var(--__P__-space-3);margin-inline:calc(-1 * var(--__P__-space-4));padding:var(--__P__-space-3) var(--__P__-space-4) 0;border-top:1px solid var(--__P__-border)}.__P__-toolui-options-toggle{display:inline-flex;align-items:center;gap:4px;border:0;background:transparent;padding:0;cursor:pointer;font-size:var(--__P__-text-xs);font-weight:600;color:var(--__P__-fg-muted);transition:color var(--__P__-dur-quick) var(--__P__-ease)}.__P__-toolui-options-toggle:hover{color:var(--__P__-fg)}.__P__-toolui-options-chevron{display:inline-flex;transition:transform var(--__P__-dur-quick) var(--__P__-ease-out)}.__P__-toolui-options-chevron svg{width:14px;height:14px}.__P__-toolui-options-chevron.__P__-open{transform:rotate(180deg)}.__P__-toolui-desc{margin:0;padding:var(--__P__-space-3);border-radius:var(--__P__-radius-md);background:var(--__P__-bg);border:1px solid var(--__P__-border);color:var(--__P__-fg-muted);line-height:1.5}.__P__-toolui-section{display:flex;flex-direction:column;gap:8px;padding:var(--__P__-space-3);border-radius:var(--__P__-radius-md);background:var(--__P__-bg);border:1px solid var(--__P__-border)}.__P__-toolui:not(.__P__-toolui-collapsible) .__P__-toolui-section,.__P__-toolui:not(.__P__-toolui-collapsible) .__P__-toolui-desc{padding:0;background:none;border:0;border-radius:0}.__P__-toolui-label{font-size:var(--__P__-text-xs);font-weight:600;letter-spacing:.06em;text-transform:uppercase;color:var(--__P__-fg-muted)}.__P__-toolui-code{margin:0;max-height:240px;overflow:auto;color:var(--__P__-fg);font-family:var(--__P__-font-mono, ui-monospace, SFMono-Regular, Menlo, monospace);font-size:var(--__P__-text-xs);line-height:1.5;white-space:pre-wrap;word-break:break-word}.__P__-toolui-system{min-width:0;overflow:hidden;color:var(--__P__-fg-muted);text-overflow:ellipsis;white-space:nowrap}.__P__-toolui-preview{min-width:0}.__P__-toolui-body{gap:6px}.__P__-toolui-prompt{margin:0;font-weight:600;color:var(--__P__-fg);overflow-wrap:anywhere}.__P__-toolui-subtle{margin:0;font-size:var(--__P__-text-xs);color:var(--__P__-fg-muted);line-height:1.5}.__P__-toolui-fields{max-height:240px;overflow:auto;overscroll-behavior:contain;border:1px solid var(--__P__-border);border-radius:var(--__P__-radius-sm)}.__P__-toolui-fields table{width:100%;border-collapse:collapse;font-size:var(--__P__-text-sm);line-height:1.5}.__P__-toolui-fields tr:nth-child(2n){background:color-mix(in oklab,var(--__P__-fg) 4%,transparent)}.__P__-toolui-fields tr+tr{border-top:1px solid var(--__P__-border)}.__P__-toolui-fields th,.__P__-toolui-fields td{padding:6px var(--__P__-space-2);text-align:start;vertical-align:top}.__P__-toolui-fields th{width:1%;color:var(--__P__-fg-muted);font-weight:400;white-space:nowrap}.__P__-toolui-fields td{color:var(--__P__-fg);white-space:pre-wrap;overflow-wrap:anywhere}.__P__-toolui-raw>summary{width:fit-content;color:var(--__P__-fg-muted);cursor:pointer}.__P__-toolui-raw>summary:hover{color:var(--__P__-fg)}.__P__-toolui-raw>summary:focus-visible{outline:2px solid var(--__P__-focus);outline-offset:2px;border-radius:var(--__P__-radius-sm)}.__P__-toolui-raw[open]{display:flex;flex-direction:column;gap:var(--__P__-space-2)}.__P__-toolui-actions{display:flex;flex-wrap:wrap;align-items:center;justify-content:flex-end;gap:var(--__P__-space-2);margin-top:var(--__P__-space-2)}:host([dir="rtl"]) .__P__-icon-dir{transform:scaleX(-1)}:host([dir="rtl"]) .__P__-field-input[type=date],:host([dir="rtl"]) .__P__-field-input[type=time]{position:relative;text-align:right;padding-left:34px}:host([dir="rtl"]) .__P__-field-input[type=date]::-webkit-datetime-edit,:host([dir="rtl"]) .__P__-field-input[type=time]::-webkit-datetime-edit{text-align:right}:host([dir="rtl"]) .__P__-field-input[type=date]::-webkit-calendar-picker-indicator,:host([dir="rtl"]) .__P__-field-input[type=time]::-webkit-calendar-picker-indicator{position:absolute;left:var(--__P__-space-3);margin:0}
|
|
5
5
|
`;var Rd=`*,*:before,*:after{box-sizing:border-box;margin:0;padding:0;border:0}button{font:inherit;color:inherit;background:none;cursor:pointer;-webkit-appearance:none;appearance:none;line-height:1}button:focus-visible,[tabindex]:focus-visible,textarea:focus-visible,input:focus-visible{outline:2px solid var(--__P__-accent);outline-offset:2px}textarea,input{font:inherit;color:inherit;background:none;border:0;outline:0;resize:none}a{color:var(--__P__-accent-fg);text-decoration:underline;text-underline-offset:2px}img,svg{display:block;max-width:100%}ul,ol{list-style:none}.__P__-app{display:block;width:100%;height:100%;font-family:var(--__P__-font);-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-feature-settings:"cv11","ss01","ss03"}.__P__-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}
|
|
@@ -62,7 +62,7 @@ ${s}`:s;continue}o.startsWith("id:")&&(n=o.slice(3).trim())}if(r==="[DONE]")retu
|
|
|
62
62
|
${u}`).join(`
|
|
63
63
|
`)??r):n;if(o)return t--,s&&(r=r.slice(2)),s?`
|
|
64
64
|
${r}`:"";i||(t++,s&&(r+="> "));let _={};a.replace(/(\w+)=(["'])(.*?)\2/g,(v,g,x,w)=>_[g]=w);let d=_.href??_.src,f=_.title??_.path??_.query??_.body??_.header??_.name??d;return(s?"> ":"")+(f?`**${d?`[${f}](${d})`:f}**${_.type?` \`${_.type}\``:""}
|
|
65
|
-
${r}`:"")})}var ub=new Set(["http:","https:","mailto:","tel:"]),pb=new Set(["http:","https:"]);function _b(e){let t=document.createElement("a");return{...e,set_attr:(r,n,o)=>{if(n!==Rn&&n!==fo||(t.href=o,(n===Rn?ub:pb).has(t.protocol)))return e.set_attr(r,n,o);let s=n===fo?r.nodes[r.index]:void 0;s?.replaceWith(...s.childNodes)}}}function S_(e){for(let t of e.querySelectorAll("a")){let r=t.getAttribute("href")??"";!r||r.startsWith("#")||(t.target="_blank",t.rel="noopener noreferrer")}}var w_=new Set([11,12,13,14,15,16,17,18,19,31]);function Ca(e){let t="",r=[],n=go({data:void 0,add_token:(o,s)=>{r.push(s),w_.has(s)||(t+=" ")},end_token:()=>{let o=r.pop();o!==void 0&&!w_.has(o)&&(t+=" ")},add_text:(o,s)=>{t+=s},set_attr:()=>{}});return ot(n,ql(e)),An(n),t.replaceAll(wa,"_").replace(/\s+/g," ").trim()}var C_=q.cssPrefix;function jt({tone:e="info",message:t,onRetry:r,strings:n}){return l("div",{class:`${C_}-module-empty`,role:e==="error"?"alert":"status","aria-live":"polite",children:[l("span",{children:t}),r?l("button",{type:"button",class:`${C_}-module-retry`,onClick:r,children:n.errorRetry}):null]})}var qr=q.cssPrefix,fb=ae.scope("content"),mb=5e3;function T_({id:e,title:t,transport:r,strings:n,bus:o,onBack:s,actions:a}){let[i,c]=B(null),[u,p]=B(!1),[_,d]=B(!1),[f,v]=B(0),[g,x]=B(null),w=H(()=>{d(!1),c(null),v(k=>k+1)},[]);F(()=>{let k=!1,h=r.listContentCollections([]).catch(()=>{});return Promise.all([r.listContent({ids:[e],limit:1}),h]).then(([m,P])=>{if(k)return;let R=m.items[0];R?(c(R),p(P?.items.find(I=>I.id===R.contentCollectionId)?.settings?.voteAccess==="portal"),o.emit("contentOpen",{contentId:e,contentCollectionId:R.contentCollectionId})):d(!0)}).catch(m=>{k||(fb.warn("listContent (reader) failed",{err:m}),d(!0))}),()=>{k=!0}},[r,e,f,o]),F(()=>{if(!i)return;let k=setTimeout(()=>o.emit("contentRead",{contentId:e}),mb);return()=>clearTimeout(k)},[i,e,o]);let y=H(k=>{let m=(k.target instanceof HTMLElement?k.target.closest("a"):null)?.getAttribute("href")??"";m&&!m.startsWith("#")&&o.emit("contentLinkClick",{contentId:e})},[o,e]);function S(k){x(e),r.setContentVote({contentId:e,value:k})}function b(){return _?l(jt,{tone:"error",message:n.errorGeneric,onRetry:w,strings:n}):i===null?l(jt,{message:n.contentLoading,strings:n}):l("article",{class:`${qr}-content`,"data-testid":D.contentView,onClick:y,children:[i.image?l("img",{class:`${qr}-content-hero`,src:i.image,alt:"",loading:"lazy"}):null,i.description?l("p",{class:`${qr}-content-subtitle`,children:i.description}):null,l(ka,{text:k_(i.content??"")}),u?l("div",{class:`${qr}-content-vote`,"aria-live":"polite",children:g===e?n.feedbackThanks:l(he,{children:[l("span",{children:n.contentHelpful}),l("button",{type:"button",class:`${qr}-module-retry`,onClick:()=>S(1),children:n.confirmYes}),l("button",{type:"button",class:`${qr}-module-retry`,onClick:()=>S(0),children:n.confirmNo})]})}):null]})}return l("div",{class:`${qr}-module`,children:[l(x_,{title:i?.title||t||n.moduleBack,backLabel:n.moduleBack,onBack:s,actions:a,testid:D.backHeader}),l("div",{class:`${qr}-module-scroll`,"data-testid":D.contentScroll,children:b()})]})}function I_({itemCount:e,initialFocusIndex:t}){let[r,n]=B(!1),o=U(null),s=U(null),[a,i]=B(-1),c=H(()=>{n(!1),i(-1),o.current?.focus()},[]),u=H(()=>n(d=>!d),[]);F(()=>{if(!r)return;function d(f){let v=s.current,g=o.current;if(!v||!g)return;let x=f.composedPath();x.includes(v)||x.includes(g)||(n(!1),i(-1))}return document.addEventListener("click",d,!0),()=>document.removeEventListener("click",d,!0)},[r]),F(()=>{if(!r||e===0)return;let d=t?.()??0,f=d<0||d>=e?0:d;i(f)},[r,e,t]),F(()=>{if(!r||a<0)return;s.current?.querySelectorAll("[role='menuitem']")?.[a]?.focus()},[r,a]);let p=H(d=>{(d.key==="ArrowDown"||d.key==="Enter"||d.key===" ")&&(d.preventDefault(),n(!0))},[]),_=H(d=>{if(e!==0)switch(d.key){case"Escape":d.preventDefault(),d.stopPropagation(),c();return;case"ArrowDown":d.preventDefault(),i(f=>(f+1)%e);return;case"ArrowUp":d.preventDefault(),i(f=>(f-1+e)%e);return;case"Home":d.preventDefault(),i(0);return;case"End":d.preventDefault(),i(e-1)}},[e,c]);return{open:r,focusIndex:a,triggerRef:o,menuRef:s,toggle:u,close:c,onTriggerKey:p,onMenuKey:_}}function R_({items:e,triggerLabel:t}){let r=q.cssPrefix,n=I_({itemCount:e.length});function o(i){i.disabled||(i.onSelect?.(),i.keepOpen||n.close())}function s(i,c){return i.onSelectValue?.(c)}function a(i,c){let u=c.segments;if(!u?.length)return;let p=Math.max(0,u.findIndex(f=>f.value===c.value)),_=-1;if(i.key==="ArrowRight"||i.key==="Enter"||i.key===" ")_=(p+1)%u.length;else if(i.key==="ArrowLeft")_=(p-1+u.length)%u.length;else return;let d=u[_];d&&(i.preventDefault(),i.stopPropagation(),s(c,d.value))}return l("div",{class:`${r}-menu-wrap`,children:[l("button",{ref:n.triggerRef,type:"button",class:`${r}-icon-btn`,"aria-label":t,"aria-haspopup":"menu","aria-expanded":n.open,title:t,onClick:n.toggle,onKeyDown:n.onTriggerKey,children:l(t_,{})}),n.open?l("div",{ref:n.menuRef,class:`${r}-menu`,role:"menu","aria-label":t,onKeyDown:n.onMenuKey,tabIndex:-1,children:e.map(i=>i.segments?l("div",{role:"menuitem",class:`${r}-menu-item ${r}-menu-item-segmented`,"aria-label":i.label,tabIndex:-1,onKeyDown:c=>a(c,i),children:[i.icon?l("span",{class:`${r}-menu-icon`,children:i.icon}):null,l("span",{class:`${r}-menu-label`,children:i.label}),l("span",{class:`${r}-segmented`,role:"group","aria-label":i.label,children:i.segments.map(c=>{let u=c.value===i.value;return l("button",{type:"button",role:"menuitemradio","aria-checked":u,class:`${r}-segment`,"data-on":u?"true":void 0,lang:c.lang,title:c.value,tabIndex:-1,"data-testid":`${D.langSegment}-${c.value}`,onClick:()=>s(i,c.value),children:c.label},c.value)})})]},i.id):l("button",{type:"button",role:"menuitem",class:`${r}-menu-item`,"aria-pressed":i.type==="switch"?i.on:void 0,disabled:i.disabled,onClick:()=>o(i),children:[i.icon?l("span",{class:`${r}-menu-icon`,children:i.icon}):null,l("span",{class:`${r}-menu-label`,children:i.label}),i.type==="switch"&&i.on?l("span",{class:`${r}-menu-check`,"aria-hidden":"true",children:l(qn,{})}):null]},i.id))}):null]})}var Bl=q.cssPrefix;function gb(e){let t=typeof matchMedia=="function"?matchMedia("(prefers-color-scheme: dark)").matches:!0;return e==="auto"?t?"light":"dark":t?e==="light"?"dark":"auto":e==="dark"?"light":"auto"}var vb={normal:"large",large:"small",small:"normal"};function hb(e){return e==="light"?l(d_,{}):e==="dark"?l(u_,{}):l(p_,{})}function yb(e,t){let r=e.split("-")[0];return(t.some(o=>o!==e&&o.split("-")[0]===r)?e:r??e).toUpperCase()}function bb(e,t){let r;try{r=new URL(e,window.location.href)}catch{return}if(!(r.protocol!=="http:"&&r.protocol!=="https:"))return t.conversationId&&r.searchParams.set("chat",t.conversationId),r.searchParams.set("widgetId",t.widgetId),t.publicKey&&r.searchParams.set("public_key",t.publicKey),r.searchParams.set("ai_agent_deployment_id",t.aiAgentDeploymentId),r.href}function dr({panelProps:e,variant:t,onEmailTranscript:r,onLogIn:n}){let{options:o,panelSize:s,feedback:a,onClose:i,onClear:c,onExpand:u,onFullscreen:p,onSoundToggle:_}=e,{onToggleHistory:d,onLocaleChange:f,onThemeChange:v,onTextSizeChange:g}=e,x=o.strings,w=o.mode,y=t==="chat",S=It(()=>a.mutedSig.value).value,b=new Set(o.actions);function k(z){return b.has(z)}let h=typeof matchMedia=="function"&&matchMedia("(max-width: 640px)").matches;function m(z){return h?!1:On(z,w,s)}let P=o.themeMode,R={auto:x.themeAuto,light:x.themeLight,dark:x.themeDark},I=o.textSize,A={small:x.textSizeSmall,normal:x.textSizeNormal,large:x.textSizeLarge},C=[];if(y&&k("clear")&&C.push({id:"clear",icon:l(s_,{}),label:x.newConversation,onSelect:c}),y&&r&&C.push({id:"emailTranscript",icon:l(ya,{}),label:x.emailTranscript,onSelect:r}),y&&n&&C.push({id:"logIn",icon:l(xr,{}),label:x.loginAction,onSelect:n}),k("expand")&&m("expand")){let z=s==="expanded";C.push({id:"expand",icon:z?l(Yp,{}):l(Qp,{}),label:z?x.collapse:x.expand,type:"switch",on:z,onSelect:u})}if(k("fullscreen")&&m("fullscreen")){let z=s==="fullscreen";C.push({id:"fullscreen",icon:z?l(Xp,{}):l(Jp,{}),label:z?x.exitFullscreen:x.fullscreen,type:"switch",on:z,onSelect:p})}let M=o.popOutUrl,N=o.aiAgentDeploymentId;k("popOut")&&M&&N&&On("popOut",w,s)&&C.push({id:"popOut",icon:l(Zp,{}),label:x.popOut,onSelect:()=>{let z=bb(M,{conversationId:e.conversationId,widgetId:o.widgetId,publicKey:o.publicKey,aiAgentDeploymentId:N});z&&window.open(z,"_blank","noopener,noreferrer")}}),y&&k("sound")&&C.push({id:"sound",icon:S?l(n_,{}):l(r_,{}),label:S?x.soundOff:x.soundOn,type:"switch",on:!S,onSelect:_}),k("theme")&&P!=="host"&&C.push({id:"theme",icon:hb(P),label:`${x.theme}: ${R[P]}`,onSelect:()=>v(gb(P)),keepOpen:!0}),k("textSize")&&C.push({id:"textSize",icon:l(o_,{}),label:`${x.textSize}: ${A[I]}`,onSelect:()=>g(vb[I]),keepOpen:!0}),k("language")&&o.availableLocales.length>1&&C.push({id:"language",icon:l(a_,{}),label:x.language,segments:o.availableLocales.map(z=>({value:z,label:yb(z,o.availableLocales),lang:z})),value:o.locale,onSelectValue:f});let j=!!i&&fa(w,s,o.actions),G=y&&k("history");return l("div",{class:`${Bl}-header-actions`,children:[G?l("button",{type:"button",class:`${Bl}-icon-btn`,onClick:d,"aria-label":x.history,title:x.history,"data-testid":D.actionHistory,children:l(i_,{})}):null,C.length>0?l(R_,{items:C,triggerLabel:x.moreActions}):null,j?l("button",{type:"button",class:`${Bl}-icon-btn`,onClick:i,"aria-label":x.close,title:x.close,"data-testid":D.actionClose,children:l(qt,{})}):null]})}var A_={Icon:No};function Sr(e,t){return e instanceof De?e.status===429?e.retryAfterSeconds?t.errorRateLimitedIn.replace("{seconds}",String(e.retryAfterSeconds)):t.errorRateLimited:e.code==="network"?t.errorOffline:e.status===403?t.errorOriginNotAllowed:e.errorCode==="MESSAGE_TOO_LONG"?t.errorMessageTooLong:e.status!==void 0&&e.status>=500?t.errorServer:t.errorGeneric:t.errorGeneric}var zn=q.cssPrefix;function E_({placeholder:e,onActivate:t}){return l("button",{type:"button",class:`${zn}-home-search`,onClick:t,"data-testid":D.homeSearch,children:[l("span",{class:`${zn}-home-search-text`,children:e}),l("span",{class:`${zn}-home-search-icon`,"aria-hidden":"true",children:l(Dl,{})})]})}function M_({placeholder:e,value:t,onInput:r}){return l("div",{class:`${zn}-home-search`,"data-input":"true",children:[l("input",{type:"search",class:`${zn}-home-search-input`,placeholder:e,value:t,maxLength:200,onInput:n=>r(n.currentTarget.value),"data-testid":D.helpSearch}),l("span",{class:`${zn}-home-search-icon`,"aria-hidden":"true",children:l(Dl,{})})]})}var Do=q.cssPrefix;function Ta({title:e,subtitle:t,onClick:r,testid:n}){return l("button",{type:"button",class:`${Do}-list-row`,onClick:r,"data-testid":n,children:[l("span",{class:`${Do}-list-row-body`,children:[l("span",{class:`${Do}-list-row-title`,children:e}),t?l("span",{class:`${Do}-list-row-sub`,children:t}):null]}),l("span",{class:`${Do}-list-row-chevron`,"aria-hidden":"true",children:l(va,{})})]})}var ur=q.cssPrefix,Pb=ae.scope("help"),xb=20,Sb=300;function wb(e,t,r){let n=new Map(r.map(o=>[o.id,o.title]));return t.map(o=>({id:o,title:n.get(o),rows:e.filter(s=>s.contentCollectionId===o)})).filter(o=>o.rows.length>0)}function L_({transport:e,strings:t,bus:r},n,o){let[s,a]=B(),i=U(void 0),c=n?.join(",");function u(p){if(!n?.length)return;let _={};i.current=_,a(d=>({search:o,items:[],collections:[],...d,pagination:p>1?d?.pagination:void 0,loading:!0,error:void 0})),Promise.all([e.listContent({contentCollectionIds:n,sortBy:"order",page:p,limit:xb,search:o}),p>1?void 0:e.listContentCollections(n)]).then(([d,f])=>{i.current===_&&(a(v=>({search:o,items:[...p>1?v?.items??[]:[],...d.items],collections:f?.items??v?.collections??[],pagination:d.pagination,loading:!1})),!(p>1)&&(o?r.emit("contentSearch",{queryLength:o.length,hitCount:d.pagination.total}):r.emit("contentView",{section:"help",count:d.items.length})))}).catch(d=>{i.current===_&&(Pb.warn("listContent (help) failed",{err:d,page:p}),a(f=>f&&{...f,loading:!1,error:Sr(d,t)}))})}return F(()=>{if(!n?.length){a(void 0);return}return u(1),()=>{i.current=void 0}},[e,c,o]),[s,()=>!s?.loading&&u((s?.pagination?.page??0)+1)]}function kb(e){let{strings:t,config:r,nav:n,panelProps:o}=e,s=r.contentCollectionIds,[a,i]=B(""),[c,u]=B(""),p=L_(e,s),_=L_(e,c?s:void 0,c),[d,f]=a.trim()?_:p;F(()=>{let g=setTimeout(()=>u(a.trim()),Sb);return()=>clearTimeout(g)},[a]);function v(){if(!s?.length)return l(jt,{message:t.helpEmpty,strings:t});let g=d?.error?l(jt,{tone:"error",message:d.error,onRetry:f,strings:t}):null;return g&&!d?.pagination?g:!d||!d.pagination&&!d.items.length?l(jt,{message:t.helpLoading,strings:t}):d.items.length?l(he,{children:[wb(d.items,s,d.collections).map(x=>l("section",{class:`${ur}-help-group`,children:[x.title?l("h2",{class:`${ur}-help-section-title`,children:x.title}):null,l("div",{class:`${ur}-help-card`,children:x.rows.map(w=>l(Ta,{title:w.title,subtitle:w.description,onClick:()=>w.url?Ao(w.url):n.push({kind:"content",id:w.id,title:w.title}),testid:Ct(D.helpArticle,w.id)},w.id))})]},x.id)),g,d.pagination?.hasNext&&!g?l("div",{children:l("div",{class:`${ur}-help-card`,children:l("button",{type:"button",class:`${ur}-list-row ${ur}-help-more`,onClick:f,"aria-busy":d.loading,children:[d.loading?l("span",{class:`${ur}-loading-spinner`,"aria-hidden":"true"}):null,t.helpShowMore]})})}):null]}):l(jt,{message:d.search?t.helpSearchEmpty.replace("{query}",d.search):t.helpEmpty,strings:t})}return l("div",{class:`${ur}-module`,children:[l(Sa,{title:t.helpTitle,actions:l(dr,{panelProps:o,variant:"plain"})}),l("div",{class:`${ur}-module-pad`,children:l(M_,{placeholder:t.helpSearchPlaceholder,value:a,onInput:i})}),l("div",{class:`${ur}-help-list`,children:v()})]})}var N_={Icon:Lo,Root:e=>l(kb,{...e})};var O_=ae.scope("attachments");function Ia(e,t,r){let n=Tb(e),o=[],s=[],a=D_(r.accept),i=t.reduce((u,p)=>u+p.size,0),c=t.length;for(let u of n){let p=Cb(u,c,i,r,a);if(p){s.push({file:u,reason:p});continue}o.push(Eb(u)),i+=u.size,c+=1}return(o.length||s.length)&&O_.debug("ingest",{accepted:o.length,rejected:s.map(u=>({name:u.file.name,reason:u.reason}))}),{accepted:o,rejected:s}}function Fn(e){let t=Math.min(Math.floor(Math.log10(Math.max(e,1))/3),2);return new Intl.NumberFormat(void 0,{style:"unit",unit:["byte","kilobyte","megabyte"][t],unitDisplay:"narrow",maximumFractionDigits:1}).format(e/1e3**t)}function $_(e,t){let r=D_(t);return!e||r.length===0||r.some(n=>n.kind==="ext"||q_(new File([],"",{type:e}),[n]))}function Hn(e){try{URL.revokeObjectURL(e.previewUrl)}catch(t){O_.debug("revokeObjectURL failed",{error:t})}}function Cb(e,t,r,n,o){return t>=n.maxCount?"count":r+e.size>n.maxBytes?"bytes":q_(e,o)?null:"mime"}function Tb(e){return e?Array.isArray(e)?e.filter(t=>t instanceof File):[...e].map(t=>t instanceof File?t:Ib(t)).filter(t=>t!==null):[]}function Ib(e){let t=Rb(e)?e:null;return!t?.getAsFile||t.kind!=="file"?null:t.getAsFile()}function Rb(e){return Ab(e)&&(e.getAsFile===void 0||typeof e.getAsFile=="function")}function Ab(e){return typeof e=="object"&&e!==null&&!Array.isArray(e)}function Eb(e){return{file:e,id:Wt(),mediaType:e.type||"application/octet-stream",name:e.name||"pasted-file",previewUrl:URL.createObjectURL(e),size:e.size}}function D_(e){return e.split(",").map(t=>t.trim().toLowerCase()).filter(Boolean).map(t=>{if(t.startsWith("."))return{kind:"ext",ext:t};let[r="*",n="*"]=t.split("/");return{kind:"mime",type:r,subtype:n}})}function q_(e,t){if(t.length===0)return!0;let[r="*",n="*"]=(e.type||"").toLowerCase().split("/"),o=(e.name||"").toLowerCase();return t.some(s=>s.kind==="ext"?o.endsWith(s.ext):s.type==="image"&&s.subtype==="*"&&/\.(heic|heif|avif|bmp|tif|tiff)$/.test(o)?!0:(s.type==="*"||s.type===r)&&(s.subtype==="*"||s.subtype===n))}var Br=q.cssPrefix,Mb={error:Bn,done:qn};function B_({attachment:e,upload:t,strings:r,onRemove:n,disabled:o=!1}){let s=/^image\/(jpeg|png|gif|webp|avif|bmp|x-ms-bmp|svg\+xml)$/i.test(e.mediaType),a=Math.round((t?.fraction??0)*100),i=Fn(e.size),c=t?.status==="error"||t?.status==="done"?Mb[t.status]:void 0;return l("span",{class:`${Br}-attachment-chip`,"data-upload":t?.status,title:e.name,"data-testid":Ct(D.attachmentChip,e.id),children:[s?l("img",{class:`${Br}-attachment-thumb`,src:e.previewUrl,alt:""}):l("span",{class:`${Br}-attachment-thumb`,"aria-hidden":"true",children:l(ba,{})}),l("span",{class:`${Br}-attachment-text`,children:[l("span",{class:`${Br}-attachment-name`,children:e.name}),l("span",{class:`${Br}-attachment-meta`,children:[c?l(c,{}):null,t?.status==="uploading"?`${a}% \xB7 ${i}`:i]})]}),l("button",{type:"button",class:`${Br}-attachment-remove`,onClick:n,disabled:o,"aria-label":r.removeAttachment.replace("{name}",e.name),"data-testid":Ct(D.attachmentRemove,e.id),children:l(qt,{})}),t?.status==="uploading"?l("span",{class:`${Br}-attachment-progress`,role:"progressbar","aria-label":e.name,"aria-valuemin":0,"aria-valuemax":100,"aria-valuenow":a,children:l("span",{style:{width:`${a}%`}})}):null]})}var U_=new WeakMap;function Ra(e){e.currentTarget&&U_.set(e.currentTarget,e.timeStamp)}function Aa(e){let t=e.currentTarget?U_.get(e.currentTarget):void 0;return e.isComposing||t!==void 0&&e.timeStamp-t<100}var Ea=q.cssPrefix;function qo({text:e,retryLabel:t,onRetry:r,retryTestId:n}){return l("div",{class:`${Ea}-error`,role:"alert",children:[l("span",{class:`${Ea}-error-icon`,"aria-hidden":"true",children:l(Bn,{})}),l("span",{class:`${Ea}-error-text`,children:e}),r&&t?l("button",{type:"button",class:`${Ea}-error-retry`,onClick:r,"data-testid":n,children:t}):null]})}var Ul={isSupported:!1,start:()=>{},stop:()=>{},cancel:()=>{}};function zl(e,t,r){return e==="disabled"?Ul:e==="server"?$b(r):Lb(t)}function Lb(e){let t=Nb();if(!t)return Ul;let r=null,n=0;return{isSupported:!0,start(o,s){let a=r,i=++n;r=null,a?.abort();let c=new t;r=c,c.continuous=!0,c.interimResults=!0,c.lang=e;let u=!1;c.addEventListener("result",_=>{if(n!==i||r!==c)return;let d=_,f="",v=!1;for(let g=d.resultIndex;g<d.results.length;g++){let x=d.results[g];x&&(f+=x[0].transcript,x.isFinal&&(v=!0))}o(f,v)});function p(_){u||n!==i||r!==c||(u=!0,r=null,s(_))}c.addEventListener("end",()=>p(!1)),c.addEventListener("error",_=>p("error"in _&&(_.error==="not-allowed"||_.error==="service-not-allowed")));try{c.start()}catch{p(!1)}},stop(){r?.stop()},cancel(){n++;let o=r;r=null,o?.abort()}}}function Nb(){return window.SpeechRecognition??window.webkitSpeechRecognition}var Ob=["audio/webm;codecs=opus","audio/webm","audio/ogg;codecs=opus","audio/mp4"];function $b(e){if(typeof MediaRecorder>"u"||!navigator?.mediaDevices?.getUserMedia)return Ul;let t=0,r=null;function n(a){for(let i of a.stream?.getTracks()??[])i.stop();a.stream=null}function o(){t++;let a=r;r=null,a&&(n(a),a.recorder?.state!=="inactive"&&a.recorder?.stop())}async function s(a){if(a.finishing)return;a.finishing=!0;let i=a.recorder?.mimeType??"audio/webm";n(a);let c=new Blob(a.chunks,{type:i});a.chunks=[];try{let{text:u}=await e(c,i);r===a&&t===a.generation&&u&&a.onText(u,!0)}catch{}finally{r===a&&t===a.generation&&(r=null,a.onEnd(!1))}}return{isSupported:!0,async start(a,i){o();let c={generation:t,recorder:null,stream:null,chunks:[],onText:a,onEnd:i,finishing:!1};r=c;try{let u=await navigator.mediaDevices.getUserMedia({audio:!0});if(r!==c||t!==c.generation){for(let d of u.getTracks())d.stop();return}c.stream=u;let p=Db(),_=new MediaRecorder(u,p?{mimeType:p}:void 0);c.recorder=_,_.addEventListener("dataavailable",d=>{r===c&&t===c.generation&&d.data.size>0&&c.chunks.push(d.data)}),_.addEventListener("stop",()=>{r===c&&t===c.generation&&s(c)}),_.start()}catch(u){n(c),r===c&&t===c.generation&&(r=null,i(u instanceof DOMException&&u.name==="NotAllowedError"))}},stop(){let a=r;if(a){if(!a.recorder){o();return}a.recorder.state!=="inactive"&&a.recorder.stop()}},cancel(){o()}}}function Db(){for(let e of Ob)if(MediaRecorder.isTypeSupported(e))return e}function qb(e,{file:t,reason:r},n){return r==="count"?e.attachmentTooMany.replace("{count}",String(n.maxCount)):r==="bytes"?e.attachmentTooLarge.replace("{name}",t.name).replace("{max}",Fn(n.maxBytes)):e.attachmentMimeRejected.replace("{name}",t.name)}var Ye=q.cssPrefix,jn=ae.scope("composer"),Bb=300;function Vn(e){return e.reduce((t,r)=>t+r.size,0)}var Fl={arrowUp:Wp,paperPlane:Vp,send:Gp,chevron:va};function z_(e){return"activeElement"in e}function Ub(e){return"host"in e&&"activeElement"in e}function zb(e){return"clipboardData"in e}function F_({options:e,transport:t,feedback:r,bus:n,persistence:o,conversationId:s,maxMessageCharacters:a,isStreaming:i,pageToolRunning:c=!1,isMemoryCompacting:u=!1,canReleaseQueuedMessages:p=!0,queueManualMessages:_=!1,replyAwaitsCard:d=!1,active:f=!0,isPreparing:v=!1,attachmentUploadsSig:g,operatorRequestEnabled:x,canRequestOperator:w=!1,controlMode:y="ai-agent",onRequestOperator:S,onSend:b,onStop:k,apiRef:h}){let m=e.strings,[P,R]=B(()=>o.loadDraft(s)),[I,A]=B([]),[C,M]=B(),[N,j]=B(()=>o.loadMessageQueue(s).map(V=>({id:V.id,text:V.text,attachments:[]}))),G=U(N),z=U(!1),ce=U(void 0),[pe,_e]=B(!1),[se,ge]=B(!1),[at,st]=B(!1),[Ge,Rt]=B(!1),Ee=U(!1),rt=U(null),Mt=U(null),Tt=U(null),oe=U(0),Se=U(s);Se.current=s;let Be=U(f);Be.current=f;let be=U(v);be.current=v;let Ue=Ge||v||!f,Ae=i&&y==="ai-agent",Pt=Ae||u&&y==="ai-agent",$=y==="ai-agent"&&(Pt||_||N.length>0),L=H(V=>{j(J=>{let Q=V(J);return o.saveMessageQueue(Se.current,Q.filter(fe=>fe.attachments.length===0).map(({id:fe,text:Oe})=>({id:fe,text:Oe}))),G.current=Q,Q})},[o]),Y=H(V=>{L(J=>(J.find(Q=>Q.id===V)?.attachments.forEach(Hn),J.filter(Q=>Q.id!==V)))},[L]),K=H(V=>{R(J=>{let Q=(typeof V=="function"?V(J):V).slice(0,a);return Q===J?J:(o.saveDraft(Se.current,Q),Q)})},[o,a]),te=e.features.fileUpload,ye=e.features.voice,[de,Pe]=B(()=>zl(ye,e.locale,(V,J)=>t.transcribe(V,J))),lt=U(de);lt.current=de;let ze=U({mode:ye,locale:e.locale,transport:t});F(()=>{let V=ze.current;V.mode===ye&&V.locale===e.locale&&V.transport===t||(ze.current={mode:ye,locale:e.locale,transport:t},oe.current++,lt.current.cancel(),Tt.current=null,ge(!1),Pe(zl(ye,e.locale,(J,Q)=>t.transcribe(J,Q))))},[e.locale,ye,t]),St(()=>()=>{oe.current++,de.cancel()},[de]);let _t=H(V=>{let J=Tt.current;if(J===null)return!1;let Q=Math.round(performance.now()-J);return jn[V]("voiceStop",{durationMs:Q}),n.emit("voiceStop",{durationMs:Q}),Tt.current=null,!0},[n]),je=H(()=>{Tt.current!==null&&(de.stop(),ge(!1),_t("info")&&r.play("voiceStop"))},[_t,r,de]),Lt=H(()=>{oe.current++,de.cancel(),ge(!1),_t("info")&&r.play("voiceStop")},[_t,r,de]);F(()=>{(v||!f)&&Lt()},[f,Lt,v]),F(()=>{let V=rt.current;if(!V)return;let J=V.getRootNode(),Q=z_(J)?J.activeElement:null;Q&&V.closest(`.${Ye}-panel`)?.contains(Q)||V.focus({preventScroll:!0})},[]),F(()=>{let V=rt.current;if(!V)return;if(P.length===0){V.style.height="";return}V.style.height="auto";let J=getComputedStyle(V),Q=Number.parseFloat(J.getPropertyValue(`--${Ye}-textarea-base-height`)),fe=Number.parseFloat(J.borderTopWidth)+Number.parseFloat(J.borderBottomWidth),Oe=Math.min(V.scrollHeight+fe,Number.parseFloat(J.maxHeight)),At=Number.parseFloat(J.fontSize)*.7;V.style.height=`${Oe<Q+At?Q:Oe}px`},[P]);let Vt=U(I);Vt.current=I,F(()=>()=>{Vt.current.forEach(Hn);for(let V of G.current)V.attachments.forEach(Hn)},[]),St(()=>{if(h)return h.current={attachFromDrop:V=>{if(!te||!Be.current||Ee.current||be.current)return;let J=Ia(V,Vt.current,e.attachments);M(J.rejected[0]),J.accepted.length!==0&&(jn.info("attach (drop)",{count:J.accepted.length,totalBytes:Vn(J.accepted)}),n.emit("attach",{count:J.accepted.length,totalBytes:Vn(J.accepted)}),A(Q=>[...Q,...J.accepted]))},fill:V=>{if(!Be.current||Ee.current||be.current)return;K(V);let J=rt.current;J&&(J.focus({preventScroll:!0}),requestAnimationFrame(()=>J.setSelectionRange(J.value.length,J.value.length)))},acceptQueuedMessage:Y},()=>{h.current&&(h.current=null)}},[h,te,v,e.attachments,Y,K]),F(()=>{let V=rt.current;if(!V)return;let J=V.closest(`.${Ye}-panel`);if(!J)return;let Q=Oe=>{if(!Be.current||Ee.current||be.current)return;let At=Oe.clipboardData;if(!At)return;let pr=Oe.target instanceof HTMLElement?Oe.target.closest("input, textarea, [contenteditable]:not([contenteditable='false'])"):null;if(pr&&pr!==V)return;if(te){let zt=Ia(At.items,Vt.current,e.attachments);if(M(zt.rejected[0]),zt.accepted.length>0){Oe.preventDefault(),jn.info("attach (paste)",{count:zt.accepted.length,totalBytes:Vn(zt.accepted)}),n.emit("attach",{count:zt.accepted.length,totalBytes:Vn(zt.accepted)}),A(Ja=>[...Ja,...zt.accepted]);return}}if(pr===V)return;let _r=At.getData("text/plain");_r&&(Oe.preventDefault(),K(zt=>zt+_r),V.focus())};function fe(Oe){zb(Oe)&&Q(Oe)}return J.addEventListener("paste",fe),()=>J.removeEventListener("paste",fe)},[te,e.attachments,K]);async function Yt(){let V=P.trim();if(!V&&I.length===0||!f||Ae||Ee.current||v)return;Lt(),Ee.current=!0,Rt(!0);let J=P,Q=I;try{await b(V,Q)&&(M(void 0),K(fe=>fe===J?"":fe),A(fe=>fe!==Q?fe:(Q.forEach(Hn),Vt.current=[],[])))}finally{Ee.current=!1,Rt(!1),requestAnimationFrame(()=>{let fe=rt.current;if(!fe||fe.disabled||!Be.current)return;let Oe=fe.getRootNode(),At=z_(Oe)?Oe.activeElement:null,pr=At?.getAttribute("data-testid");if(!(At&&At!==fe&&pr!==D.composerSend&&pr!==D.composerStop)){if(Ub(Oe)){let _r=Oe.host.ownerDocument;if(!_r.hasFocus())return;let zt=_r.activeElement;if(zt&&zt!==Oe.host&&zt!==_r.body)return}fe.focus({preventScroll:!0})}})}}function ft(){let V=P.trim();if(!V&&I.length===0||!f||!$||Ee.current||v)return;Lt();let J=I;L(Q=>[...Q,{id:Wt(),text:V,attachments:J}]),Pt||_e(!0),K(""),A(Q=>Q!==J?Q:(Vt.current=[],[])),rt.current?.focus({preventScroll:!0})}F(()=>{Pt&&(z.current=!1,ce.current=void 0,_e(!1))},[Pt]),F(()=>{let V=N[0];if(!V||!p||Pt||z.current||Ge||v||!f)return;let J=d&&!pe?(ce.current??(ce.current=performance.now()+e.cardAnswerWaitSeconds*1e3))-performance.now():0,Q=setTimeout(()=>{z.current=!0,b(V.text,V.attachments,V.id).then(fe=>{if(fe){Y(V.id);return}z.current=!1})},Math.max(J,Bb));return()=>clearTimeout(Q)},[f,p,pe,v,b,e.cardAnswerWaitSeconds,Pt,N,Y,d,Ge]);function xt(V){V.key!=="Enter"||V.shiftKey||Aa(V)||(V.preventDefault(),$&&(P.trim()||I.length>0)?ft():Ae?k():Yt())}function Jt(V){if(!(V.target instanceof HTMLInputElement))return;let J=V.target;if(!f||Ee.current||v){J.value="";return}let Q=Ia(J.files,I,e.attachments);M(Q.rejected[0]),Q.accepted.length>0&&(jn.info("attach (file picker)",{count:Q.accepted.length,totalBytes:Vn(Q.accepted)}),n.emit("attach",{count:Q.accepted.length,totalBytes:Vn(Q.accepted)}),A(fe=>[...fe,...Q.accepted])),J.value=""}function _n(V){!f||Ee.current||v||(jn.info("removeAttachment",{id:V}),n.emit("removeAttachment",{id:V}),M(void 0),A(J=>{let Q=J.find(fe=>fe.id===V);return Q&&Hn(Q),J.filter(fe=>fe.id!==V)}))}function fn(){if(se){je();return}if(!f||!de.isSupported||Ee.current||v)return;let V=++oe.current;Tt.current=performance.now(),jn.info("voiceStart"),n.emit("voiceStart",void 0),st(!1),ge(!0),r.play("voiceStart"),de.start((J,Q)=>{oe.current!==V||!Be.current||be.current||Ee.current||!Q||K(fe=>`${fe}${J} `)},J=>{oe.current!==V||!Be.current||(ge(!1),st(J),_t("debug"))})}let Fr=Fl[e.composer.sendButton.icon],mn=!!(P.trim()||I.length>0),Hr=g?.value,Xo=I.some(V=>Hr?.get(V.id)?.status==="uploading"),jr=I.filter(V=>Hr?.get(V.id)?.status==="error"),gn=jr.find(V=>Hr?.get(V.id)?.refusal),Ya=gn&&(Hr?.get(gn.id)?.refusal==="INVALID_FILE_TYPE"?m.attachmentMimeRejected:m.attachmentUploadFailed).replace("{name}",gn.name),Zo=Ae||Xo||c&&!mn;return l("div",{class:`${Ye}-composer`,part:"composer","data-testid":D.composer,children:[N.length>0?l("div",{class:`${Ye}-message-queue`,"aria-label":m.queueMessage,"data-testid":D.messageQueue,children:N.map(V=>l("div",{class:`${Ye}-attachment-chip ${Ye}-queued-message`,"data-testid":`${D.queuedMessage}-${V.id}`,children:[l("span",{class:`${Ye}-attachment-name ${Ye}-queued-text`,children:V.text||V.attachments.map(J=>J.name).join(", ")}),l("button",{type:"button",class:`${Ye}-attachment-remove`,onClick:()=>Y(V.id),"aria-label":m.removeQueuedMessage,title:m.removeQueuedMessage,"data-testid":`${D.queuedMessageRemove}-${V.id}`,children:l(qt,{})})]},V.id))}):null,I.length>0?l("div",{class:`${Ye}-attachments`,children:I.map(V=>l(B_,{attachment:V,upload:Hr?.get(V.id),strings:m,onRemove:()=>_n(V.id),disabled:Ue},V.id))}):null,jr.length>0&&!Ue?l(qo,{text:Ya??m.attachmentUploadFailed.replace("{name}",jr.map(V=>V.name).join(", ")),retryLabel:m.errorRetry,onRetry:gn?void 0:()=>{Yt()},retryTestId:D.attachmentRetry}):null,C?l("p",{class:`${Ye}-field-error`,role:"alert",children:qb(m,C,e.attachments)}):null,at?l("p",{class:`${Ye}-field-error`,role:"alert",children:m.micBlocked}):null,a!==void 0&&P.length>=a*.9?l("p",{class:`${Ye}-field-${P.length<a?"hint":"error"}`,"data-testid":D.composerCount,children:`${P.length} / ${a}`}):null,l("div",{class:`${Ye}-composer-row`,children:[l("div",{class:`${Ye}-composer-actions`,children:[te?l("button",{type:"button",class:`${Ye}-icon-btn`,onClick:()=>Mt.current?.click(),disabled:Ue,"aria-label":m.attach,title:m.attach,"data-testid":D.composerAttach,children:l(ha,{})}):null,de.isSupported?l("button",{type:"button",class:`${Ye}-icon-btn`,onClick:fn,disabled:Ue,"aria-label":se?m.micStop:m.micStart,title:se?m.micStop:m.micStart,"aria-pressed":se,"data-recording":se?"true":void 0,"data-testid":D.composerVoice,children:l(Kp,{})}):null,x&&y==="ai-agent"&&S?l("button",{type:"button",class:`${Ye}-icon-btn`,onClick:S,disabled:Ue||!w,"aria-label":m.talkToOperator,title:m.talkToOperator,"data-testid":D.operatorRequest,children:l(xr,{})}):null]}),l("textarea",{ref:rt,name:"message",class:`${Ye}-textarea`,rows:1,value:P,maxLength:a,placeholder:m.composerPlaceholder,onInput:V=>K(V.currentTarget.value),onKeyDown:xt,onCompositionEnd:Ra,disabled:Ue,"aria-label":m.composerPlaceholder,"data-testid":D.composerInput}),$&&mn?l("button",{type:"button",class:`${Ye}-send`,"data-shape":e.composer.sendButton.shape,"data-variant":e.composer.sendButton.variant,onClick:ft,disabled:Ue,"aria-label":m.queueMessage,title:m.queueMessage,"data-testid":D.composerSend,children:l(Fr,{})}):null,Zo?l("button",{type:"button",class:`${Ye}-send`,onClick:k,disabled:Ue&&!Xo,"aria-label":m.stop,"data-testid":D.composerStop,children:l($r,{})}):null,!Zo&&(!$||!mn)?l("button",{type:"button",class:`${Ye}-send`,"data-shape":e.composer.sendButton.shape,"data-variant":e.composer.sendButton.variant,onClick:()=>{Yt()},disabled:Ue||!P.trim()&&I.length===0,"aria-label":m.send,"data-testid":D.composerSend,children:l(Fr,{})}):null]}),l("input",{ref:Mt,name:"attachments",type:"file",multiple:!0,accept:e.attachments.accept,onChange:Jt,disabled:Ue,class:`${Ye}-sr-only`,"data-testid":D.composerFileInput})]})}var H_=q.cssPrefix;function Ma({onClick:e,children:t,testid:r}){return e?l("button",{type:"button",class:`${H_}-home-card`,"data-interactive":"true",onClick:e,"data-testid":r,children:t}):l("div",{class:`${H_}-home-card`,"data-testid":r,children:t})}function La(e){return e.trim().split(/\s+/).slice(0,2).map(t=>t.charAt(0).toUpperCase()).join("")}var tr=q.cssPrefix,Fb=ae.scope("news"),Hb=10;function Hl(e,t){let r=e?new Date(e):void 0;if(!(!r||Number.isNaN(r.getTime())))return new Intl.DateTimeFormat(t,{dateStyle:"medium"}).format(r)}function jb({options:e,transport:t,strings:r,config:n,nav:o,bus:s,panelProps:a,latestNews:i}){let c=n.contentCollectionIds,u=c?.join(","),[p,_]=B({items:[],loading:!0}),d=U(void 0);function f(w){if(!c?.length)return;let y={};d.current=y,_(S=>({...S,loading:!0,error:void 0})),t.listContent({contentCollectionIds:c,sortBy:"publishedAt",sortOrder:"desc",page:w,limit:Hb}).then(S=>{if(d.current!==y||(_(k=>({items:w>1?[...k.items,...S.items]:S.items,pagination:S.pagination,loading:!1})),w>1))return;s.emit("contentView",{section:"news",count:S.items.length});let b=S.items[0];b&&i.markSeen(b.id)}).catch(S=>{d.current===y&&(Fb.warn("listContent (news) failed",{err:S,page:w}),_(b=>({...b,loading:!1,error:Sr(S,r)})))})}function v(){p.loading||f((p.pagination?.page??0)+1)}F(()=>(_({items:[],loading:!0}),f(1),()=>{d.current=void 0}),[t,u]);function g(w){let y=Hl(w.publishedAt,e.locale);return l("button",{type:"button",class:`${tr}-news-card`,onClick:()=>o.push({kind:"content",id:w.id,title:w.title}),"data-testid":Ct(D.newsItem,w.id),children:[w.image?l("img",{class:`${tr}-news-hero`,src:w.image,alt:"",loading:"lazy"}):null,l("span",{class:`${tr}-news-body`,children:[l("span",{class:`${tr}-news-title`,children:w.title}),y||w.tags?.length?l("span",{class:`${tr}-news-meta`,children:[y?l("time",{dateTime:w.publishedAt,children:y}):null,w.tags?.map(S=>l("span",{class:`${tr}-news-tag`,children:S},S))]}):null,w.description?l("span",{class:`${tr}-news-summary`,children:w.description}):null]})]},w.id)}function x(){if(!c?.length)return l(jt,{message:r.newsEmpty,strings:r});let w=p.error?l(jt,{tone:"error",message:p.error,onRetry:v,strings:r}):null;return w&&!p.pagination?w:p.pagination?p.items.length?l("div",{class:`${tr}-news-list`,children:[p.items.map(g),w,p.pagination.hasNext&&!w?l("button",{type:"button",class:`${tr}-news-more`,onClick:v,"aria-busy":p.loading,"data-testid":D.newsMore,children:[p.loading?l("span",{class:`${tr}-loading-spinner`,"aria-hidden":"true"}):null,r.newsShowMore]}):null]}):l(jt,{message:r.newsEmpty,strings:r}):l(jt,{message:r.newsLoading,strings:r})}return l("div",{class:`${tr}-module`,children:[l(Sa,{title:r.newsTitle,actions:l(dr,{panelProps:a,variant:"plain"})}),l("div",{class:`${tr}-module-scroll`,children:x()})]})}var j_={Icon:Pa,Root:e=>l(jb,{...e})};var we=q.cssPrefix,V_=ae.scope("home");function Vb(e){let t=e.options.userContext?.name,r=e.config.greetingText?gt(e.strings,e.config.greetingText):void 0;if(r){let n=t?r.replace("{name}",t):r.replace(/\s*\{name\}\s*/," ").trim(),o=e.strings.homeGreetingLead;return{title:n,subtitle:n.toLowerCase()===o.toLowerCase()?void 0:o}}return t?{title:e.strings.homeGreetingNamed.replace("{name}",t),subtitle:e.strings.homeGreetingLead}:{title:e.strings.homeGreeting}}function Wb(e,t){return t.url?Ao(t.url):e.push({kind:"content",id:t.id,title:t.title})}function Gb({options:e,onAsk:t}){let[r,n]=B(""),{sendButton:o}=e.composer,s=Fl[o.icon];function a(i){i.preventDefault();let c=r.trim();c&&(n(""),t(c))}return l("form",{class:`${we}-home-search ${we}-home-ask`,"data-input":"true",onSubmit:a,"data-testid":D.homeAsk,children:[l("input",{type:"text",class:`${we}-home-search-input`,placeholder:e.strings.homeAskPlaceholder,"aria-label":e.strings.homeAskPlaceholder,value:r,enterKeyHint:"send",onInput:i=>n(i.currentTarget.value)}),l("button",{type:"submit",class:`${we}-send`,"data-shape":o.shape,"data-variant":o.variant,disabled:!r.trim(),"aria-label":e.strings.send,children:l(s,{})})]})}function W_(e,t){return Pr(e,t,t.type!=="upsert"||t.activity===!0)}function Kb(e){let{transport:t,strings:r,config:n,nav:o,bus:s,panelProps:a,latestNews:i}=e,[c,u]=B(null),[p,_]=B([]),d=n.contentCollectionIds?.join(","),f=e.options.modules.list.some(h=>h.layout==="chat");F(()=>{if(n.showRecentConversations===!1)return;let h=!1,m=!0,P=[],R=t.subscribeConversationChanges(I=>{m&&P.push(I),u(A=>W_(A?[A]:[],I)[0]??null)});return t.listConversations({limit:f?50:1}).then(I=>{if(h)return;let A=P.reduce(W_,I.conversations);P=[],m=!1,u(A[0]??null)}).catch(I=>{h||(P=[],m=!1,V_.warn("listConversations (home) failed",{err:I}))}),()=>{h=!0,R()}},[t,n.showRecentConversations,f]),F(()=>{if(!n.contentCollectionIds?.length)return;let h=!1;return t.listContent({contentCollectionIds:n.contentCollectionIds,pinned:!0,limit:6}).then(m=>{h||(_(m.items),s.emit("contentView",{section:"home",count:m.items.length}))}).catch(m=>!h&&V_.warn("listContent (home) failed",{err:m})),()=>{h=!0}},[t,d,s]);let v=Vb(e),g=n.userAvatars??[],x=n.status,w=x?.text?gt(r,x.text):r.homeStatus,y=x?.url,S=n.contentBlockTitle?gt(r,n.contentBlockTitle):r.homeContentTitle,b=i.item,k=Hl(b?.publishedAt,e.options.locale);return l("div",{class:`${we}-module ${we}-home`,"data-testid":D.homeView,children:l("div",{class:`${we}-home-scroll`,children:[l("div",{class:`${we}-home-hero`,children:[l("div",{class:`${we}-home-hero-top`,children:[n.brandName?l("span",{class:`${we}-home-brand`,"data-testid":D.homeBrand,children:n.brandName}):l("span",{class:`${we}-home-brand-spacer`,"aria-hidden":"true"}),l("div",{class:`${we}-home-hero-actions`,children:[g.length>0?l("div",{class:`${we}-home-avatars`,children:g.map(h=>l("span",{class:`${we}-home-avatar`,title:h.role?`${h.name} \xB7 ${h.role}`:h.name,children:h.avatar?l("img",{src:h.avatar,alt:"",loading:"lazy"}):l("span",{children:La(h.name)})},h.name))}):null,l(dr,{panelProps:a,variant:"plain"})]})]}),n.showGreeting!==!1?l(he,{children:[l("h1",{class:`${we}-home-greeting`,"data-testid":D.homeGreeting,children:v.title}),v.subtitle?l("p",{class:`${we}-home-lead`,children:v.subtitle}):null]}):null]}),l("div",{class:`${we}-home-cards`,children:[f?l(Gb,{options:e.options,onAsk:h=>o.startNewConversation(h)}):null,n.showSearchBar!==!1?l(E_,{placeholder:r.homeSearchPlaceholder,onActivate:()=>o.switchToLayout("help")}):null,b?l(Ma,{onClick:()=>{i.markSeen(b.id),o.push({kind:"content",id:b.id,title:b.title})},testid:D.homeWhatsNew,children:l("div",{class:`${we}-home-recent-row`,"data-unread":i.unseen?"true":void 0,children:[l("span",{class:`${we}-home-recent-avatar`,"aria-hidden":"true",children:l(Pa,{})}),l("span",{class:`${we}-home-recent-body`,children:[l("span",{class:`${we}-home-recent-title`,children:r.homeWhatsNew}),l("span",{class:`${we}-home-recent-preview`,children:k?`${b.title} \xB7 ${k}`:b.title})]}),i.unseen?l("span",{class:`${we}-home-recent-dot`,role:"img","aria-label":r.newsUnseen}):null]})}):null,c?l(Ma,{onClick:()=>o.selectConversation(c),testid:D.homeRecent,children:l("div",{class:`${we}-home-recent-row`,"data-unread":c.hasUnread?"true":void 0,children:[l("span",{class:`${we}-home-recent-avatar`,"aria-hidden":"true",children:l(No,{})}),l("span",{class:`${we}-home-recent-body`,children:[l("span",{class:`${we}-home-recent-title`,children:c.title}),c.preview?l("span",{class:`${we}-home-recent-preview`,children:Ca(c.preview)}):null]}),c.hasUnread?l("span",{class:`${we}-home-recent-dot`,role:"img","aria-label":r.unread}):null]})}):null,x?l(Ma,{onClick:y?()=>Ao(y):void 0,children:l("div",{class:`${we}-home-status`,"data-level":x.level??"operational",children:[l("span",{class:`${we}-home-status-icon`,"aria-hidden":"true",children:l(l_,{})}),l("span",{class:`${we}-home-status-text`,children:w})]})}):null,p.length>0?l("section",{class:`${we}-home-content`,children:[l("div",{class:`${we}-home-content-title`,children:S}),l("div",{class:`${we}-home-content-list`,children:p.map(h=>l(Ta,{title:h.title,subtitle:h.description,onClick:()=>Wb(o,h),testid:Ct(D.homeContentRow,h.id)},h.id))})]}):null]})]})})}var G_={Icon:c_,Root:e=>l(Kb,{...e})};var Na={chat:A_,home:G_,help:N_,news:j_};var Bo=q.cssPrefix;function K_({modules:e,activeTab:t,strings:r,hasUnread:n,onSelect:o}){return l("nav",{class:`${Bo}-tabbar`,role:"tablist","aria-label":r.panelTitle,children:e.map(s=>{let a=Na[s.layout].Icon,i=s.id===t,c=s.layout==="chat"&&n;return l("button",{type:"button",role:"tab","aria-selected":i,class:`${Bo}-tab`,onClick:()=>o(s.id),"data-testid":Ct(D.tab,s.id),children:[l("span",{class:`${Bo}-tab-icon`,children:[l(a,{}),c?l("span",{class:`${Bo}-tab-badge`,"data-testid":D.tabBadge,role:"img","aria-label":r.unread}):null]}),l("span",{class:`${Bo}-tab-label`,children:gt(r,s.label)})]},s.id)})})}var Uo=q.cssPrefix;function Q_({agent:e,strings:t,ticketReference:r,person:n=!1}){let o=e.status??"online",s=gt(t,e.name),a=e.title?gt(t,e.title):null,i=n?l(xr,{}):l("span",{children:La(s)});return l("div",{class:`${Uo}-agent`,children:[l("div",{class:`${Uo}-agent-avatar`,"data-status":o,children:e.avatar?l("img",{src:e.avatar,alt:""}):i}),l("div",{class:`${Uo}-agent-meta`,children:[l("strong",{children:s}),a||r?l("div",{class:`${Uo}-agent-sub`,children:[r?l(Qb,{reference:r,strings:t}):null,a?l("span",{children:a}):null]}):null]})]})}function Qb({reference:e,strings:t}){let[r,n]=B(!1);function o(){navigator.clipboard?.writeText(e).then(()=>{n(!0),setTimeout(()=>n(!1),1500)}).catch(()=>{})}return l("button",{type:"button",class:`${Uo}-agent-ticket`,onClick:o,title:t.copy,"aria-label":r?t.copied:t.copyTicketReference.replace("{reference}",e),children:r?t.copied:e})}var Yb=["today","yesterday","lastWeek","older"];function Jb(e,t){let r=Date.parse(t);if(!Number.isFinite(r))return"older";let n=Math.round((Y_(e)-Y_(r))/(1440*60*1e3));return n<=0?"today":n===1?"yesterday":n<7?"lastWeek":"older"}function J_(e,t){let r=new Map;for(let n of t){let o=Jb(e,n.lastMessageAt),s=r.get(o);s?s.push(n):r.set(o,[n])}return Yb.flatMap(n=>{let o=r.get(n);return o?[{bucket:n,conversations:o}]:[]})}function Y_(e){return new Date(e).setHours(0,0,0,0)}var X_=ae.scope("history"),Xb=3,Zb=6,eP={today:"dateToday",yesterday:"dateYesterday",lastWeek:"dateLastWeek",older:"dateOlder"};function Z_(e,t){let r=t.type!=="upsert"||t.activity===!0;if(t.type==="snapshot"&&t.result.pagination.page===1&&e.pagination.page>1){let o=Pr(e.conversations.slice(0,t.result.pagination.limit),t,r);if(t.result.conversations.length===0){if(o.length===0)return t.result;let u=Math.max(t.result.pagination.total,o.length);return{...t.result,conversations:o,pagination:{...t.result.pagination,total:u,totalPages:Math.ceil(u/t.result.pagination.limit)}}}let s=new Set(o.map(u=>u.conversationId)),a=e.conversations.slice(t.result.pagination.limit).filter(u=>!s.has(u.conversationId)),i=e.pagination.page,c={...t.result.pagination,page:i,hasPrev:i>1,hasNext:i<t.result.pagination.totalPages};return{conversations:[...o,...a],pagination:c}}let n=Pr(e.conversations,t,r);return n===e.conversations?e:{...t.type==="snapshot"?t.result:e,conversations:n}}function tP(e,t,r){let n=Date.parse(e);return Number.isFinite(n)?new Date(n).toDateString()===new Date(t).toDateString()?new Intl.DateTimeFormat(r,{hour:"numeric",minute:"2-digit"}).format(n):t-n<10080*60*1e3?new Intl.DateTimeFormat(r,{weekday:"short"}).format(n):new Intl.DateTimeFormat(r,{month:"short",day:"numeric"}).format(n):""}function Oa({transport:e,strings:t,locale:r,persistence:n,onSelect:o,onNewConversation:s}){let a=q.cssPrefix,i=e.peekConversations({limit:50}),[c,u]=B(i?"loaded":"loading"),[p,_]=B(0),[d,f]=B(i),[v,g]=B(!1),x=U(void 0),w=d?.conversations??[],y=d?.pagination;F(()=>{let m=!1,P=!0,R=[],I=e.subscribeConversationChanges(C=>{P&&R.push(C),f(M=>M&&Z_(M,C))});x.current=void 0,g(!1);let A=e.peekConversations({limit:50});return f(A),u(A?"loaded":"loading"),e.listConversations({limit:50}).then(C=>{if(m)return;let M=C;for(let N of R)M=Z_(M,N);R=[],P=!1,f(M),u("loaded"),n.saveHistoryCount(M.conversations.length)}).catch(C=>{m||(R=[],P=!1,X_.warn("listConversations failed",{err:C}),u({failure:Sr(C,t)}))}),()=>{m=!0,I(),x.current=void 0}},[e,n,r,p]);async function S(){if(x.current||!y?.hasNext)return;let m={};x.current=m,g(!0);try{let P=await e.listConversations({page:y.page+1,limit:y.limit});if(x.current!==m)return;f(R=>{if(!R)return R;let I=new Set(R.conversations.map(M=>M.conversationId)),A=P.conversations.filter(M=>I.has(M.conversationId)?!1:(I.add(M.conversationId),!0)),C={conversations:[...R.conversations,...A],pagination:P.pagination};return n.saveHistoryCount(C.conversations.length),C})}catch(P){if(x.current!==m)return;X_.warn("listConversations page failed",{err:P,page:y.page+1})}finally{x.current===m&&(x.current=void 0,g(!1))}}let b=s?l("div",{class:`${a}-history-footer`,children:l("button",{type:"button",class:`${a}-history-new`,onClick:s,"data-testid":D.sidebarNewConversation,children:[l(jp,{}),t.newConversation]})}):null;if(c==="loading"){let m=Math.min(n.loadHistoryCount()??Xb,Zb);return l(he,{children:[l("div",{class:`${a}-history`,"aria-busy":"true","aria-label":t.historyLoading,children:l("div",{class:`${a}-history-group`,"aria-hidden":"true",children:[l("div",{class:`${a}-history-heading`,children:l("span",{class:`${a}-skeleton ${a}-skeleton-heading`})}),l("div",{class:`${a}-history-card`,children:Array.from({length:Math.max(1,m)},(P,R)=>l("div",{class:`${a}-history-item ${a}-history-item-skeleton`,children:[l("span",{class:`${a}-history-avatar ${a}-skeleton`}),l("span",{class:`${a}-history-body`,children:[l("span",{class:`${a}-history-row`,children:[l("span",{class:`${a}-history-title`,children:l("span",{class:`${a}-skeleton ${a}-skeleton-title`})}),l("span",{class:`${a}-history-time`,children:l("span",{class:`${a}-skeleton ${a}-skeleton-time`})})]}),l("span",{class:`${a}-history-row`,children:l("span",{class:`${a}-history-preview`,children:l("span",{class:`${a}-skeleton ${a}-skeleton-preview`})})})]})]},R))})]})}),b]})}if(typeof c=="object")return l(he,{children:[l(jt,{tone:"error",message:c.failure,onRetry:()=>_(m=>m+1),strings:t}),b]});if(w.length===0)return l(he,{children:[l("div",{class:`${a}-history-empty`,children:t.historyEmpty}),b]});let k=Date.now(),h=J_(k,w);return l(he,{children:[l("div",{class:`${a}-history`,role:"list",children:[h.map(m=>l("div",{class:`${a}-history-group`,children:[l("div",{class:`${a}-history-heading`,children:t[eP[m.bucket]]}),l("div",{class:`${a}-history-card`,children:m.conversations.map(P=>l("div",{role:"listitem",children:l("button",{type:"button",class:`${a}-history-item`,onClick:()=>o(P),"data-unread":P.hasUnread?"true":void 0,"data-testid":Ct(D.historyItem,P.conversationId),children:[l("span",{class:`${a}-history-avatar`,"aria-hidden":"true",children:l($l,{})}),l("span",{class:`${a}-history-body`,children:[l("span",{class:`${a}-history-row`,children:[l("span",{class:`${a}-history-title`,children:P.title}),l("span",{class:`${a}-history-time`,children:[P.ticketReference&&`${P.ticketReference} \xB7 `,tP(P.lastMessageAt,k,r)]})]}),l("span",{class:`${a}-history-row`,children:[l("span",{class:`${a}-history-preview`,children:P.preview&&Ca(P.preview)||t.historyContinue}),P.hasUnread?l("span",{class:`${a}-history-dot`,role:"img","aria-label":t.unread}):null]})]})]})},P.conversationId))})]},m.bucket)),y?.hasNext?l("div",{class:`${a}-history-more`,children:l("button",{type:"button",onClick:S,disabled:v,"aria-busy":v,"data-testid":D.historyLoadMore,children:t.loadMoreConversations})}):null]}),b]})}var ef=q.cssPrefix;function tf({state:e,strings:t}){return e?l("div",{class:`${ef}-dropzone`,"data-state":e,role:"status","aria-live":"polite",children:[l("span",{class:`${ef}-dropzone-icon`,"aria-hidden":"true",children:e==="reject"?l(Bn,{}):l(ha,{})}),e==="reject"?t.dropZoneRejected:t.dropZone]}):null}var jl=new RegExp(String.raw`^(?:[A-Za-z0-9_'+\-]+\.)*[A-Za-z0-9_'+\-]*[A-Za-z0-9_+-]@(?:[A-Za-z0-9][A-Za-z0-9\-]*\.)+[A-Za-z]{2,}$`),rP=/^[+]?[\d\s().-]{6,}$/;function nP(e,t,r){let n=Array.isArray(t)?t.join(""):t?.trim()??"";if(!n)return e.required?r.formRequired:void 0;if(e.type==="email"&&!jl.test(n))return r.formInvalidEmail;if(e.type==="tel"&&!rP.test(n))return r.formInvalidTel;if(e.type==="number"&&!Number.isFinite(Number(n)))return r.formInvalidNumber}function rf(e,t,r){return Object.fromEntries(e.flatMap(n=>{let o=nP(n,t[n.name],r);return o?[[n.name,o]]:[]}))}var yt=q.cssPrefix;function nf(e){return e.tokenEmail||e.userContext?.email?.trim()}function oP(e,t){let r=e instanceof De?e.status:void 0;return r===400?t.formInvalidEmail:r===409?t.emailTranscriptAlreadySent:r===422?t.emailTranscriptNotDelivered:r===429?t.emailTranscriptLimited:t.emailTranscriptFailed}function iP(e){return"host"in e&&"activeElement"in e}function of({transport:e,strings:t,knownEmail:r,onClose:n}){let[o,s]=B(r??""),[a,i]=B(!1),[c,u]=B({status:"idle"}),p=U(null),_=io(),d=`${_}-title`,f=`${_}-error`,v=c.status==="sending",g=c.status==="sent";St(()=>{let y=p.current;if(!y)return;let S=y.getRootNode(),b=iP(S)?S.activeElement:null,k=Un(y);return()=>{k(),b instanceof HTMLElement&&b.isConnected&&b.focus({preventScroll:!0})}},[]),St(()=>{p.current?.querySelector("[data-autofocus]")?.focus({preventScroll:!0})},[g]);async function x(y){if(y.preventDefault(),v)return;let S=o.trim();if(!jl.test(S)){i(!0),p.current?.querySelector("input")?.focus();return}i(!1),u({status:"sending"});let b=await e.emailTranscript(S).then(k=>({status:"sent",to:k.to}),k=>({status:"failed",message:oP(k,t)}));u(b)}function w(y){y.key==="Tab"&&y.stopPropagation(),y.key==="Escape"&&(y.stopPropagation(),n())}return l("div",{class:`${yt}-transcript-layer`,children:[l("div",{class:`${yt}-transcript-backdrop`,"aria-hidden":"true",onClick:n}),l("section",{ref:p,class:`${yt}-transcript-sheet`,role:"dialog","aria-modal":"true","aria-labelledby":d,onKeyDown:w,"data-testid":D.emailTranscriptSheet,children:[l("header",{class:`${yt}-transcript-sheet-head`,children:[l("span",{class:`${yt}-transcript-sheet-icon`,children:l(ya,{})}),l("h2",{id:d,class:`${yt}-transcript-sheet-title`,children:t.emailTranscript}),l("button",{type:"button",class:`${yt}-icon-btn`,onClick:n,"aria-label":t.emailTranscriptCancel,title:t.emailTranscriptCancel,children:l(qt,{})})]}),c.status==="sent"?l(he,{children:[l("p",{class:`${yt}-transcript-sheet-text ${yt}-transcript-sheet-sent`,role:"status",children:[l(cn,{}),l("span",{children:t.emailTranscriptSent.replace("{email}",c.to)})]}),l("button",{type:"button",class:`${yt}-form-submit ${yt}-transcript-sheet-action`,onClick:n,"data-autofocus":!0,children:t.emailTranscriptDone})]}):l("form",{class:`${yt}-transcript-sheet-form`,onSubmit:y=>{x(y)},noValidate:!0,children:[l("p",{class:`${yt}-transcript-sheet-text`,children:t.emailTranscriptPrompt}),l("label",{class:`${yt}-field`,"data-invalid":a?"true":void 0,children:[l("span",{class:`${yt}-field-label`,children:t.emailTranscriptEmailLabel}),l("input",{class:`${yt}-field-input`,type:"email",name:"email",autocomplete:"email",inputMode:"email",autocapitalize:"off",spellcheck:!1,value:o,readOnly:v,"aria-invalid":a,"aria-describedby":a?f:void 0,onInput:y=>{s(y.currentTarget.value),i(!1)},"data-autofocus":!0,"data-testid":D.emailTranscriptEmail}),a?l("span",{id:f,class:`${yt}-field-error`,role:"alert",children:t.formInvalidEmail}):null]}),l("button",{type:"submit",class:`${yt}-form-submit ${yt}-transcript-sheet-action`,disabled:v,"aria-busy":v,"data-testid":D.emailTranscriptSend,children:v?t.emailTranscriptSending:t.emailTranscriptSend}),c.status==="failed"?l("p",{class:`${yt}-field-error`,role:"alert",children:c.message}):null]})]})]})}var af=Object.assign;function lP(e,t){for(var r in e)if(r!="__source"&&e[r]!==t[r])return!0;for(var n in t)if(n!="__source"&&!(n in e))return!0;return!1}var cP=/^(-|f[lo].*[^se]$|g.{5,}[^ps]$|z|o[pr]|(W.{5})?[lL]i.*(t|mp)$|an|(bo|s).{4}Im|sca|m.{6}[ds]|ta|c.*[st]$|wido|ini|asp|fill|st)/;function cf(e,t){function r(o){var s=this.props.ref;return s!=o.ref&&s&&(typeof s=="function"?s(null):s.current=null),t?!t(this.props,o)||s!=o.ref:lP(this.props,o)}function n(o){return this.shouldComponentUpdate=r,Ir(e,o)}return n.displayName="Memo("+(e.displayName||e.name)+")",n.prototype.isReactComponent=!0,n.type=e,n}var dP=Symbol.for("react.element"),uP=/^(?:accent|alignment|arabic|baseline|cap|clip(?!PathU)|color|dominant|fill|flood|font|glyph(?!R)|horiz|image(?!S)|letter|lighting|marker(?!H|W|U)|overline|paint|pointer|shape|stop|strikethrough|stroke|text(?!L)|transform|underline|unicode|units|v|vector|vert|word|writing|x(?!C))[A-Z]/,pP=/[A-Z0-9]/g,_P=typeof document<"u";var fP=function(e){return/fil|che|rad/.test(e)};Xt.prototype.isReactComponent=!0,["componentWillMount","componentWillReceiveProps","componentWillUpdate"].forEach(function(e){Object.defineProperty(Xt.prototype,e,{configurable:!0,get:function(){return this["UNSAFE_"+e]},set:function(t){Object.defineProperty(this,e,{configurable:!0,writable:!0,value:t})}})});var sf=xe.event;xe.event=function(e){return sf&&(e=sf(e)),e.persist=function(){},e.isPropagationStopped=function(){return this.cancelBubble},e.isDefaultPrevented=function(){return this.defaultPrevented},e.nativeEvent=e};var mP={configurable:!0,get:function(){return this.class}},lf=xe.vnode;xe.vnode=function(e){if(typeof e.type=="string")(function(n){var o=n.props,s=n.type,a={},i=s.indexOf("-")==-1;for(var c in o){var u=o[c];if(!(c=="value"&&"defaultValue"in o&&u==null||_P&&c=="children"&&s=="noscript"||c=="class"||c=="className")){if(c=="style"&&u&&u.constructor==Object){var p=void 0;for(var _ in u)typeof u[_]!="number"||cP.test(_)||(p||(p=u=af({},u)),u[_]+="px")}else if(c=="defaultValue"&&"value"in o&&o.value==null)c="value";else if(c=="download"&&u===!0)u="";else if(c=="translate"&&u==="no")u=!1;else if(c[0]=="o"&&c[1]=="n"){var d=c.toLowerCase();d=="ondoubleclick"?c="ondblclick":d!="onchange"||s!="input"&&s!="textarea"||fP(o.type)?d=="onfocus"?c="onfocusin":d=="onblur"&&(c="onfocusout"):d=c="oninput",d=="oninput"&&a[c=d]&&(c="oninputCapture")}else i&&uP.test(c)?c=c.replace(pP,"-$&").toLowerCase():u===null&&(u=void 0);a[c]=u}}if(s=="select"){var f=a.defaultValue!=null?a.defaultValue:a.multiple&&Array.isArray(a.value)?a.value:null;f!=null&&(a.value=ms(o.children).forEach(function(v){v.props.selected=a.multiple?f.indexOf(v.props.value)!=-1:f==v.props.value}))}o.class&&!o.className?(a.class=o.class,Object.defineProperty(a,"className",mP)):o.className&&(a.class=a.className=o.className),n.props=a})(e);else if(typeof e.type=="function"&&("ref"in e.props&&"prototype"in e.type&&e.type.prototype.render&&(e.ref=e.props.ref,delete e.props.ref),e.type.defaultProps)){var t=af({},e.props);for(var r in e.type.defaultProps)t[r]===void 0&&(t[r]=e.type.defaultProps[r]);e.props=t}e.ref&&!("ref"in e.props)&&Object.defineProperty(e.props,"ref",{value:e.ref,configurable:!0,writable:!0}),e.$$typeof=dP,lf&&lf(e)};var gP=new Set(["hidden","submit","button","reset","image","file","password"]);function uf(e){return e instanceof HTMLInputElement||e instanceof HTMLSelectElement||e instanceof HTMLTextAreaElement}function vP(e){return!uf(e)||e.name===""||e.disabled?!1:!(e instanceof HTMLInputElement&&gP.has(e.type))}function hP(e){let t=e.labels?.[0]?.textContent?.trim();return e.getAttribute("toolparamdescription")??(t||e.getAttribute("aria-description"))??void 0}function yP(e,t){let r=hP(e),n=r?{description:r}:{};return e instanceof HTMLSelectElement?{...n,type:"string",enum:[...e.options].map(o=>o.value)}:e instanceof HTMLTextAreaElement?{...n,type:"string"}:e.type==="checkbox"?{...n,type:"boolean"}:e.type==="radio"?{...n,type:"string",enum:t}:e.type==="number"||e.type==="range"?{...n,type:"number"}:{...n,type:"string"}}function bP(e,t){Object.getOwnPropertyDescriptor(Reflect.getPrototypeOf(e)??e,"value")?.set?.call(e,t),e.dispatchEvent(new Event("input",{bubbles:!0})),e.dispatchEvent(new Event("change",{bubbles:!0}))}function df(e){return e==null?"":typeof e=="string"?e:JSON.stringify(e)}function PP(e,t){if(e instanceof HTMLInputElement&&e.type==="checkbox"){e.checked!==(t===!0||t==="true")&&e.click();return}if(e instanceof HTMLInputElement&&e.type==="radio"){e.value===df(t)&&!e.checked&&e.click();return}bP(e,df(t))}function xP(e,t,r){var a;let n=[...e.elements].filter(vP),o={},s=new Set;for(let i of n){let c=n.flatMap(u=>u instanceof HTMLInputElement&&u.type==="radio"&&u.name===i.name?[u.value]:[]);o[a=i.name]??(o[a]=yP(i,c)),i.required&&s.add(i.name)}return{name:t,description:r,inputSchema:{type:"object",properties:o,...s.size>0?{required:[...s]}:{}},execute(i){let c=typeof i=="object"&&i!==null?Object.entries(i):[];for(let[p,_]of c)for(let d of n)d.name===p&&PP(d,_);if(!e.hasAttribute("toolautosubmit"))return"Filled in the form. The visitor still needs to check it and press its submit button.";let u=[...new Set([...e.elements].flatMap(p=>uf(p)&&p.name&&!p.checkValidity()?[p.name]:[]))];return u.length>0?`Filled in the form, but it can't be submitted yet: ${u.join(", ")} still needs the visitor. Ask them to complete it and press the submit button.`:(setTimeout(()=>e.requestSubmit(),0),"Filled in the form and submitted it.")}}}function pf(){return[...document.querySelectorAll("form[toolname][tooldescription]")].flatMap(e=>{let t=e.getAttribute("toolname")?.trim()??"",r=e.getAttribute("tooldescription")?.trim()??"";return t&&r?[xP(e,t,r)]:[]})}var _f=`${q.cssPrefix}.page-tools`,SP=20,wP=50;function $a(e){return typeof e=="object"&&e!==null}function kP(e){return $a(e)&&(e.state==="running"||e.state==="stopped"||e.state==="finished"&&$a(e.outcome))}function CP(e){let t=e?JSON.parse(e):void 0;if(!$a(t))return{sent:[],calls:{}};let r=Array.isArray(t.sent)?t.sent.filter(o=>typeof o=="string"):[],n=Object.fromEntries(Object.entries($a(t.calls)?t.calls:{}).filter(o=>kP(o[1])));return{sent:r,calls:n}}var Wl={sent:[],calls:{}};function zo(){try{Wl=CP(sessionStorage.getItem(_f))}catch{}return Wl}function Vl(e){Wl=e;try{sessionStorage.setItem(_f,JSON.stringify(e))}catch{}}var Bt={markSent(e){let t=zo();Vl({...t,sent:[...t.sent.filter(r=>r!==e),e].slice(-SP)})},sentHere(e){return zo().sent.includes(e)},get(e){return zo().calls[e]},set(e,t){let r=zo(),n=Object.entries(r.calls).filter(([o])=>o!==e);Vl({...r,calls:Object.fromEntries([...n,[e,t]].slice(-wP))})},clear(e){let t=zo();e.some(r=>r in t.calls)&&Vl({...t,calls:Object.fromEntries(Object.entries(t.calls).filter(([r])=>!e.includes(r)))})}};var Ql=ae.scope("page-tools"),ff="site__",mf=3e4,TP=1e3,gf=Symbol.for(`${q.cssPrefix}.page-tools`),Kl={state:"output-error",errorText:"The page reloaded before this finished, so it may or may not have taken effect. Check with the visitor before trying it again."},hf="The visitor stopped this before it finished.";function Ur(e){return typeof e=="object"&&e!==null}function IP(e){return Ur(e)&&Array.isArray(e.registered)&&e.runs instanceof Map}function Fo(){let e=Reflect.get(globalThis,gf);if(IP(e))return e;let t={registered:[],runs:new Map};return Reflect.set(globalThis,gf,t),t}function yf(e,t){let r=Ur(t)&&t.signal instanceof AbortSignal?t.signal:void 0;if(r?.aborted)return;let n=Fo().registered;n.push(e);function o(){let s=n.indexOf(e);s>=0&&n.splice(s,1)}r?.addEventListener("abort",o,{once:!0})}function vf(e){return e.replace(/[^A-Za-z0-9_-]/g,"_").slice(0,58)}function bf(e){if(!Ur(e)||typeof e.name!="string"||!vf(e.name))return;let t=typeof e.title=="string"&&e.title.trim()!==""?e.title.trim().slice(0,120):void 0,r=[e.description,t].find(o=>typeof o=="string"&&o.trim()!=="")??e.name,n=e.preview;return{name:vf(e.name),...t?{title:t}:{},...typeof n=="function"?{preview:o=>Reflect.apply(n,e,[o])}:{},description:r.trim().slice(0,1024),inputSchema:{properties:{},...Ur(e.inputSchema)?e.inputSchema:{},type:"object"},consequential:Ur(e.annotations)&&e.annotations.consequentialHint===!0}}function Gl(e){return e.flatMap(t=>{let r=bf(t),n=Ur(t)?t.execute:void 0;return!r||typeof n!="function"?(Ql.warn("skipped a tool without a name or an execute function",t),[]):[{...r,run:(o,s)=>Reflect.apply(n,t,[o,{signal:s}])}]})}async function RP(){let e=Reflect.get(document,"modelContext")??Reflect.get(navigator,"modelContext");if(!Ur(e)||typeof e.getTools!="function"||typeof e.executeTool!="function")return[];let t=e.getTools,r=e.executeTool,n=await Promise.race([Promise.resolve().then(()=>Reflect.apply(t,e,[])),ln(TP).then(()=>[])]).catch(()=>[]);return(Array.isArray(n)?n:[]).flatMap(o=>{let s=bf(o);return s?[{...s,run:(a,i)=>Reflect.apply(r,e,[o,a,{signal:i}])}]:[]})}async function Ho(e=[]){let t=Gl(pf()),r=new Set(t.map(s=>s.name)),o=[...(await RP()).filter(s=>!r.has(s.name)),...t,...Gl(e),...Gl(Fo().registered)];return new Map(o.map(s=>[s.name,s]))}function Yl(e){return[...e.values()].map(({name:t,title:r,description:n,inputSchema:o,consequential:s})=>{let a={name:t,description:n,inputSchema:o};return r&&(a.title=r),s&&(a.annotations={consequentialHint:!0}),a})}function dn(e){return e?.execution==="client"}function Wn(e){return e.startsWith(ff)?e.slice(ff.length):e}function AP(e){if(e===void 0||typeof e=="function"||typeof e=="symbol")return null;let t=new WeakSet,r=JSON.stringify(e,(n,o)=>{if(typeof o=="bigint")return o.toString();if(!(typeof o=="function"||typeof o=="symbol"))return o instanceof Node?`[${o.nodeName.toLowerCase()}]`:Ur(o)?t.has(o)?"[circular]":(t.add(o),o):o});return r.length>mf?{truncated:!0,preview:r.slice(0,mf)}:JSON.parse(r)}async function Pf(e){let t=(await Ho(e.optionTools)).get(Wn(e.toolName));if(!t?.preview)return;let r=t.preview;return Promise.resolve().then(()=>r(e.input)).catch(n=>{Ql.warn("a page tool preview failed",{name:t.name,error:n})})}async function EP(e){let t=Wn(e.toolName),r=(await Ho(e.optionTools)).get(t);return r?Promise.resolve().then(()=>r.run(e.input,e.signal)).then(n=>({state:"output-available",output:AP(n)})).catch(n=>(Ql.warn("a page tool failed",{name:t,error:n}),{state:"output-error",errorText:(n instanceof Error?n.message:String(n)).slice(0,1e3)||"The page tool failed."})):{state:"output-error",errorText:`This page doesn't offer "${t}" right now; the visitor may have moved on. Tell them, or continue without it.`}}function xf(e){let{toolCallId:t}=e,r=Bt.get(t);if(r?.state==="finished")return Promise.resolve(r.outcome);let{runs:n}=Fo(),o=n.get(t);if(o)return o.outcome;if(r?.state==="running")return Bt.set(t,{state:"finished",outcome:Kl}),e.onSettled("interrupted",0),Promise.resolve(Kl);let s=new AbortController,a=performance.now();Bt.set(t,{state:"running"});let i=EP({...e,signal:s.signal}).then(c=>(n.delete(t),Bt.get(t)?.state!=="running"||(Bt.set(t,{state:"finished",outcome:c}),e.onSettled(c.state==="output-available"?"completed":"failed",Math.round(performance.now()-a))),c));return n.set(t,{outcome:i,controller:s}),i}function Sf(e){return e===Kl.errorText||e===hf}function Jl(e){return Bt.set(e,{state:"stopped"}),Fo().runs.get(e)?.controller.abort(),hf}function wf(e){Bt.clear([e]),Fo().runs.get(e)?.controller.abort()}var Da=q.cssPrefix;function kf({messageId:e,initial:t,strings:r,onFeedback:n}){let[o,s]=B(t);F(()=>s(t),[e,t]);function a(i){let c=o===i?null:i;s(c),n(e,c)}return l("div",{class:`${Da}-feedback`,role:"group","data-testid":D.messageFeedback,children:[l("button",{type:"button",class:`${Da}-msg-action`,"data-active":o==="up"?"true":void 0,"aria-pressed":o==="up","aria-label":r.feedbackUp,title:r.feedbackUp,onClick:()=>a("up"),"data-testid":D.feedbackUp,children:l(f_,{})}),l("button",{type:"button",class:`${Da}-msg-action`,"data-active":o==="down"?"true":void 0,"aria-pressed":o==="down","aria-label":r.feedbackDown,title:r.feedbackDown,onClick:()=>a("down"),"data-testid":D.feedbackDown,children:l(m_,{})}),l("span",{class:`${Da}-sr-only`,role:"status","aria-live":"polite",children:o?r.feedbackThanks:""})]})}function Cf(e){return e.partsSig.value.some(t=>t.kind==="text"&&t.textSig.value.length>0)}function Tf(e){return e.partsSig.value.some(t=>t.kind==="reasoning")}function MP(e){return e.streaming&&!e.bufferedHold&&!(e.reasoningVisible&&e.working)}function If(e){let{streaming:t,reasoningVisible:r,emptyReply:n,hidden:o}=e,s=e.responseMode==="buffered"&&t,a=t&&!e.hasAnswerText;return{streaming:t,bufferedHold:s,reasoningVisible:r,working:a,showStreamDots:MP({streaming:t,bufferedHold:s,reasoningVisible:r,working:a}),emptyReply:n,hidden:o}}var Gn=q.cssPrefix;function Rf({part:e,strings:t}){let r=e.title||e.filename||e.url||t.sources;return e.url?l("a",{class:`${Gn}-source`,href:e.url,target:"_blank",rel:"noreferrer noopener","data-testid":D.source,children:[l("span",{class:`${Gn}-source-icon`,"aria-hidden":"true",children:"\u{1F517}"}),l("span",{class:`${Gn}-source-label`,children:r})]}):l("span",{class:`${Gn}-source`,"data-testid":D.source,children:[l("span",{class:`${Gn}-source-icon`,"aria-hidden":"true",children:"\u{1F4C4}"}),l("span",{class:`${Gn}-source-label`,children:r})]})}var Kt=q.cssPrefix;function Mf(e){return{toolCallId:e.toolCallId,toolName:e.toolName,...e.title?{title:e.title}:{},state:e.stateSig.value,input:e.inputSig.value,output:e.outputSig.value,...e.errorSig.value?{errorText:e.errorSig.value}:{},...e.approvalSig.value?{approval:e.approvalSig.value}:{},...e.toolMetadata?{toolMetadata:e.toolMetadata}:{}}}function Lf(e,t){if(t?.replacedByMessageId)return{terminal:!1,responded:!1,decided:!1};let r=e==="output-available"||e==="output-error"||e==="output-denied",n=e==="approval-responded"||t?.approved!==void 0;return{terminal:r,responded:n,decided:r||n}}function qa({status:e,label:t,icon:r}){return l("span",{class:`${Kt}-toolui-badge ${Kt}-toolui-status`,"data-status":e,children:[l("span",{class:`${Kt}-toolui-status-icon`,children:r??l(Xl,{status:e})}),t]})}function Xl({status:e}){return e==="running"?l("span",{class:`${Kt}-loading-spinner`}):e==="stopped"?l($r,{}):e==="waiting"||e==="submitted"?l(v_,{}):e==="failed"||e==="declined"||e==="replaced"?l(Oo,{}):l(cn,{})}function Ba(e){return e==="approved"||e==="declined"||e==="done"}function jo({decision:e}){return l("span",{class:`${Kt}-steps-decision`,"data-approved":e.approved?"true":"false",children:[e.approved?l(cn,{}):l(Oo,{}),e.label]})}function Ua({view:e,strings:t}){let r=e.raw;return l(he,{children:[e.reason?l("p",{class:`${Kt}-steps-row-reason`,children:e.reason}):null,e.error?l("p",{class:`${Kt}-steps-row-error`,children:e.error}):null,e.fields.length>0?l(Af,{fields:e.fields,label:r?t.stepInput:void 0}):null,e.resultFields?l(Af,{fields:e.resultFields,label:t.toolResult}):null,r?.input||r?.output?l("details",{class:`${Kt}-toolui-raw`,children:[l("summary",{children:t.stepRawData}),r.input?l(Ef,{label:t.stepInput,text:r.input}):null,r.output?l(Ef,{label:t.toolResult,text:r.output}):null]}):null]})}function Af({fields:e,label:t}){let r=l("div",{class:`${Kt}-toolui-fields`,children:l("table",{children:l("tbody",{children:e.map(({label:n,value:o},s)=>l("tr",{children:[l("th",{scope:"row",children:n}),l("td",{children:o})]},`${n}#${s}`))})})});return t?l("div",{class:`${Kt}-toolui-section`,children:[l("span",{class:`${Kt}-toolui-label`,children:t}),r]}):r}function Ef({label:e,text:t}){return l("div",{class:`${Kt}-toolui-section`,children:[l("span",{class:`${Kt}-toolui-label`,children:e}),l("pre",{class:`${Kt}-toolui-code`,children:t})]})}var Ut=q.cssPrefix;function Nf({part:e,view:t,strings:r,locale:n,canAct:o,onDecision:s,onEdit:a,preview:i}){let c=t.approval,u=t.status==="waiting"||t.status==="submitted"||t.status==="approved",p=e.toolCallId;return l("details",{class:`${Ut}-toolui ${Ut}-toolui-collapsible`,open:u||c?.buttons==="change"||void 0,"data-testid":t.status==="waiting"?D.toolApproval:D.toolDecision,"data-status":t.status,children:[l("summary",{class:`${Ut}-toolui-head`,children:[l("span",{class:`${Ut}-toolui-prompt`,children:u&&c?c.ask:t.name}),t.system?l("span",{class:`${Ut}-toolui-system`,children:t.system}):null,l("span",{class:`${Ut}-toolui-head-end`,children:[t.decision?l(jo,{decision:t.decision}):null,t.statusLabel&&!(t.decision&&Ba(t.status))?l(qa,{status:t.status,label:t.statusLabel}):null,l("span",{class:`${Ut}-toolui-chevron`,children:l(ar,{})})]})]}),l("div",{class:`${Ut}-toolui-collapse-body`,children:[u&&i&&dn(e.toolMetadata)?l(NP,{toolName:e.toolName,input:e.inputSig.value,preview:i,strings:r,locale:n}):null,l(Ua,{view:t,strings:r}),c?.note?l("p",{class:`${Ut}-toolui-subtle`,children:c.note}):null,c?.buttons==="decide"?l("div",{class:`${Ut}-toolui-actions`,children:[l("button",{type:"button",class:`${Ut}-form-skip`,disabled:!o,onClick:()=>s(p,!1),"data-testid":D.toolDecline,children:r.decline}),l("button",{type:"button",class:`${Ut}-form-submit`,disabled:!o,onClick:()=>s(p,!0),"data-testid":D.toolApprove,children:r.approve})]}):null,c?.buttons==="change"?l("div",{class:`${Ut}-toolui-actions`,children:l("button",{type:"button",class:`${Ut}-form-skip`,onClick:()=>a(p),"data-testid":D.toolEdit,children:r.changeAnswer})}):null]})]})}function LP(e){if(!(typeof e!="object"||e===null)&&"totals"in e)return"number"in e&&"items"in e?`root = Root([preview])
|
|
65
|
+
${r}`:"")})}var ub=new Set(["http:","https:","mailto:","tel:"]),pb=new Set(["http:","https:"]);function _b(e){let t=document.createElement("a");return{...e,set_attr:(r,n,o)=>{if(n!==Rn&&n!==fo||(t.href=o,(n===Rn?ub:pb).has(t.protocol)))return e.set_attr(r,n,o);let s=n===fo?r.nodes[r.index]:void 0;s?.replaceWith(...s.childNodes)}}}function S_(e){for(let t of e.querySelectorAll("a")){let r=t.getAttribute("href")??"";!r||r.startsWith("#")||(t.target="_blank",t.rel="noopener noreferrer")}}var w_=new Set([11,12,13,14,15,16,17,18,19,31]);function Ca(e){let t="",r=[],n=go({data:void 0,add_token:(o,s)=>{r.push(s),w_.has(s)||(t+=" ")},end_token:()=>{let o=r.pop();o!==void 0&&!w_.has(o)&&(t+=" ")},add_text:(o,s)=>{t+=s},set_attr:()=>{}});return ot(n,ql(e)),An(n),t.replaceAll(wa,"_").replace(/\s+/g," ").trim()}var C_=q.cssPrefix;function jt({tone:e="info",message:t,onRetry:r,strings:n}){return l("div",{class:`${C_}-module-empty`,role:e==="error"?"alert":"status","aria-live":"polite",children:[l("span",{children:t}),r?l("button",{type:"button",class:`${C_}-module-retry`,onClick:r,children:n.errorRetry}):null]})}var qr=q.cssPrefix,fb=ae.scope("content"),mb=5e3;function T_({id:e,title:t,transport:r,strings:n,bus:o,onBack:s,actions:a}){let[i,c]=B(null),[u,p]=B(!1),[_,d]=B(!1),[f,v]=B(0),[g,x]=B(null),w=H(()=>{d(!1),c(null),v(k=>k+1)},[]);F(()=>{let k=!1,h=r.listContentCollections([]).catch(()=>{});return Promise.all([r.listContent({ids:[e],limit:1}),h]).then(([m,P])=>{if(k)return;let R=m.items[0];R?(c(R),p(P?.items.find(I=>I.id===R.contentCollectionId)?.settings?.voteAccess==="portal"),o.emit("contentOpen",{contentId:e,contentCollectionId:R.contentCollectionId})):d(!0)}).catch(m=>{k||(fb.warn("listContent (reader) failed",{err:m}),d(!0))}),()=>{k=!0}},[r,e,f,o]),F(()=>{if(!i)return;let k=setTimeout(()=>o.emit("contentRead",{contentId:e}),mb);return()=>clearTimeout(k)},[i,e,o]);let y=H(k=>{let m=(k.target instanceof HTMLElement?k.target.closest("a"):null)?.getAttribute("href")??"";m&&!m.startsWith("#")&&o.emit("contentLinkClick",{contentId:e})},[o,e]);function S(k){x(e),r.setContentVote({contentId:e,value:k})}function b(){return _?l(jt,{tone:"error",message:n.errorGeneric,onRetry:w,strings:n}):i===null?l(jt,{message:n.contentLoading,strings:n}):l("article",{class:`${qr}-content`,"data-testid":D.contentView,onClick:y,children:[i.image?l("img",{class:`${qr}-content-hero`,src:i.image,alt:"",loading:"lazy"}):null,i.description?l("p",{class:`${qr}-content-subtitle`,children:i.description}):null,l(ka,{text:k_(i.content??"")}),u?l("div",{class:`${qr}-content-vote`,"aria-live":"polite",children:g===e?n.feedbackThanks:l(he,{children:[l("span",{children:n.contentHelpful}),l("button",{type:"button",class:`${qr}-module-retry`,onClick:()=>S(1),children:n.confirmYes}),l("button",{type:"button",class:`${qr}-module-retry`,onClick:()=>S(0),children:n.confirmNo})]})}):null]})}return l("div",{class:`${qr}-module`,children:[l(x_,{title:i?.title||t||n.moduleBack,backLabel:n.moduleBack,onBack:s,actions:a,testid:D.backHeader}),l("div",{class:`${qr}-module-scroll`,"data-testid":D.contentScroll,children:b()})]})}function I_({itemCount:e,initialFocusIndex:t}){let[r,n]=B(!1),o=U(null),s=U(null),[a,i]=B(-1),c=H(()=>{n(!1),i(-1),o.current?.focus()},[]),u=H(()=>n(d=>!d),[]);F(()=>{if(!r)return;function d(f){let v=s.current,g=o.current;if(!v||!g)return;let x=f.composedPath();x.includes(v)||x.includes(g)||(n(!1),i(-1))}return document.addEventListener("click",d,!0),()=>document.removeEventListener("click",d,!0)},[r]),F(()=>{if(!r||e===0)return;let d=t?.()??0,f=d<0||d>=e?0:d;i(f)},[r,e,t]),F(()=>{if(!r||a<0)return;s.current?.querySelectorAll("[role='menuitem']")?.[a]?.focus()},[r,a]);let p=H(d=>{(d.key==="ArrowDown"||d.key==="Enter"||d.key===" ")&&(d.preventDefault(),n(!0))},[]),_=H(d=>{if(e!==0)switch(d.key){case"Escape":d.preventDefault(),d.stopPropagation(),c();return;case"ArrowDown":d.preventDefault(),i(f=>(f+1)%e);return;case"ArrowUp":d.preventDefault(),i(f=>(f-1+e)%e);return;case"Home":d.preventDefault(),i(0);return;case"End":d.preventDefault(),i(e-1)}},[e,c]);return{open:r,focusIndex:a,triggerRef:o,menuRef:s,toggle:u,close:c,onTriggerKey:p,onMenuKey:_}}function R_({items:e,triggerLabel:t}){let r=q.cssPrefix,n=I_({itemCount:e.length});function o(i){i.disabled||(i.onSelect?.(),i.keepOpen||n.close())}function s(i,c){return i.onSelectValue?.(c)}function a(i,c){let u=c.segments;if(!u?.length)return;let p=Math.max(0,u.findIndex(f=>f.value===c.value)),_=-1;if(i.key==="ArrowRight"||i.key==="Enter"||i.key===" ")_=(p+1)%u.length;else if(i.key==="ArrowLeft")_=(p-1+u.length)%u.length;else return;let d=u[_];d&&(i.preventDefault(),i.stopPropagation(),s(c,d.value))}return l("div",{class:`${r}-menu-wrap`,children:[l("button",{ref:n.triggerRef,type:"button",class:`${r}-icon-btn`,"aria-label":t,"aria-haspopup":"menu","aria-expanded":n.open,title:t,onClick:n.toggle,onKeyDown:n.onTriggerKey,children:l(t_,{})}),n.open?l("div",{ref:n.menuRef,class:`${r}-menu`,role:"menu","aria-label":t,onKeyDown:n.onMenuKey,tabIndex:-1,children:e.map(i=>i.segments?l("div",{role:"menuitem",class:`${r}-menu-item ${r}-menu-item-segmented`,"aria-label":i.label,tabIndex:-1,onKeyDown:c=>a(c,i),children:[i.icon?l("span",{class:`${r}-menu-icon`,children:i.icon}):null,l("span",{class:`${r}-menu-label`,children:i.label}),l("span",{class:`${r}-segmented`,role:"group","aria-label":i.label,children:i.segments.map(c=>{let u=c.value===i.value;return l("button",{type:"button",role:"menuitemradio","aria-checked":u,class:`${r}-segment`,"data-on":u?"true":void 0,lang:c.lang,title:c.value,tabIndex:-1,"data-testid":`${D.langSegment}-${c.value}`,onClick:()=>s(i,c.value),children:c.label},c.value)})})]},i.id):l("button",{type:"button",role:"menuitem",class:`${r}-menu-item`,"aria-pressed":i.type==="switch"?i.on:void 0,disabled:i.disabled,onClick:()=>o(i),children:[i.icon?l("span",{class:`${r}-menu-icon`,children:i.icon}):null,l("span",{class:`${r}-menu-label`,children:i.label}),i.type==="switch"&&i.on?l("span",{class:`${r}-menu-check`,"aria-hidden":"true",children:l(qn,{})}):null]},i.id))}):null]})}var Bl=q.cssPrefix;function gb(e){let t=typeof matchMedia=="function"?matchMedia("(prefers-color-scheme: dark)").matches:!0;return e==="auto"?t?"light":"dark":t?e==="light"?"dark":"auto":e==="dark"?"light":"auto"}var vb={normal:"large",large:"small",small:"normal"};function hb(e){return e==="light"?l(d_,{}):e==="dark"?l(u_,{}):l(p_,{})}function yb(e,t){let r=e.split("-")[0];return(t.some(o=>o!==e&&o.split("-")[0]===r)?e:r??e).toUpperCase()}function bb(e,t){let r;try{r=new URL(e,window.location.href)}catch{return}if(!(r.protocol!=="http:"&&r.protocol!=="https:"))return t.conversationId&&r.searchParams.set("chat",t.conversationId),r.searchParams.set("widgetId",t.widgetId),t.publicKey&&r.searchParams.set("public_key",t.publicKey),r.searchParams.set("ai_agent_deployment_id",t.aiAgentDeploymentId),r.href}function dr({panelProps:e,variant:t,onEmailTranscript:r,onLogIn:n}){let{options:o,panelSize:s,feedback:a,onClose:i,onClear:c,onExpand:u,onFullscreen:p,onSoundToggle:_}=e,{onToggleHistory:d,onLocaleChange:f,onThemeChange:v,onTextSizeChange:g}=e,x=o.strings,w=o.mode,y=t==="chat",S=It(()=>a.mutedSig.value).value,b=new Set(o.actions);function k(z){return b.has(z)}let h=typeof matchMedia=="function"&&matchMedia("(max-width: 640px)").matches;function m(z){return h?!1:On(z,w,s)}let P=o.themeMode,R={auto:x.themeAuto,light:x.themeLight,dark:x.themeDark},I=o.textSize,A={small:x.textSizeSmall,normal:x.textSizeNormal,large:x.textSizeLarge},C=[];if(y&&k("clear")&&C.push({id:"clear",icon:l(s_,{}),label:x.newConversation,onSelect:c}),y&&r&&C.push({id:"emailTranscript",icon:l(ya,{}),label:x.emailTranscript,onSelect:r}),y&&n&&C.push({id:"logIn",icon:l(xr,{}),label:x.loginAction,onSelect:n}),k("expand")&&m("expand")){let z=s==="expanded";C.push({id:"expand",icon:z?l(Yp,{}):l(Qp,{}),label:z?x.collapse:x.expand,type:"switch",on:z,onSelect:u})}if(k("fullscreen")&&m("fullscreen")){let z=s==="fullscreen";C.push({id:"fullscreen",icon:z?l(Xp,{}):l(Jp,{}),label:z?x.exitFullscreen:x.fullscreen,type:"switch",on:z,onSelect:p})}let M=o.popOutUrl,N=o.aiAgentDeploymentId;k("popOut")&&M&&N&&On("popOut",w,s)&&C.push({id:"popOut",icon:l(Zp,{}),label:x.popOut,onSelect:()=>{let z=bb(M,{conversationId:e.conversationId,widgetId:o.widgetId,publicKey:o.publicKey,aiAgentDeploymentId:N});z&&window.open(z,"_blank","noopener,noreferrer")}}),y&&k("sound")&&C.push({id:"sound",icon:S?l(n_,{}):l(r_,{}),label:S?x.soundOff:x.soundOn,type:"switch",on:!S,onSelect:_}),k("theme")&&P!=="host"&&C.push({id:"theme",icon:hb(P),label:`${x.theme}: ${R[P]}`,onSelect:()=>v(gb(P)),keepOpen:!0}),k("textSize")&&C.push({id:"textSize",icon:l(o_,{}),label:`${x.textSize}: ${A[I]}`,onSelect:()=>g(vb[I]),keepOpen:!0}),k("language")&&o.availableLocales.length>1&&C.push({id:"language",icon:l(a_,{}),label:x.language,segments:o.availableLocales.map(z=>({value:z,label:yb(z,o.availableLocales),lang:z})),value:o.locale,onSelectValue:f});let j=!!i&&fa(w,s,o.actions),G=y&&k("history");return l("div",{class:`${Bl}-header-actions`,children:[G?l("button",{type:"button",class:`${Bl}-icon-btn`,onClick:d,"aria-label":x.history,title:x.history,"data-testid":D.actionHistory,children:l(i_,{})}):null,C.length>0?l(R_,{items:C,triggerLabel:x.moreActions}):null,j?l("button",{type:"button",class:`${Bl}-icon-btn`,onClick:i,"aria-label":x.close,title:x.close,"data-testid":D.actionClose,children:l(qt,{})}):null]})}var A_={Icon:No};function Sr(e,t){return e instanceof De?e.status===429?e.retryAfterSeconds?t.errorRateLimitedIn.replace("{seconds}",String(e.retryAfterSeconds)):t.errorRateLimited:e.code==="network"?t.errorOffline:e.status===403?t.errorOriginNotAllowed:e.errorCode==="MESSAGE_TOO_LONG"?t.errorMessageTooLong:e.status!==void 0&&e.status>=500?t.errorServer:t.errorGeneric:t.errorGeneric}var zn=q.cssPrefix;function E_({placeholder:e,onActivate:t}){return l("button",{type:"button",class:`${zn}-home-search`,onClick:t,"data-testid":D.homeSearch,children:[l("span",{class:`${zn}-home-search-text`,children:e}),l("span",{class:`${zn}-home-search-icon`,"aria-hidden":"true",children:l(Dl,{})})]})}function M_({placeholder:e,value:t,onInput:r}){return l("div",{class:`${zn}-home-search`,"data-input":"true",children:[l("input",{type:"search",class:`${zn}-home-search-input`,placeholder:e,value:t,maxLength:200,onInput:n=>r(n.currentTarget.value),"data-testid":D.helpSearch}),l("span",{class:`${zn}-home-search-icon`,"aria-hidden":"true",children:l(Dl,{})})]})}var Do=q.cssPrefix;function Ta({title:e,subtitle:t,onClick:r,testid:n}){return l("button",{type:"button",class:`${Do}-list-row`,onClick:r,"data-testid":n,children:[l("span",{class:`${Do}-list-row-body`,children:[l("span",{class:`${Do}-list-row-title`,children:e}),t?l("span",{class:`${Do}-list-row-sub`,children:t}):null]}),l("span",{class:`${Do}-list-row-chevron`,"aria-hidden":"true",children:l(va,{})})]})}var ur=q.cssPrefix,Pb=ae.scope("help"),xb=20,Sb=300;function wb(e,t,r){let n=new Map(r.map(o=>[o.id,o.title]));return t.map(o=>({id:o,title:n.get(o),rows:e.filter(s=>s.contentCollectionId===o)})).filter(o=>o.rows.length>0)}function L_({transport:e,strings:t,bus:r},n,o){let[s,a]=B(),i=U(void 0),c=n?.join(",");function u(p){if(!n?.length)return;let _={};i.current=_,a(d=>({search:o,items:[],collections:[],...d,pagination:p>1?d?.pagination:void 0,loading:!0,error:void 0})),Promise.all([e.listContent({contentCollectionIds:n,sortBy:"order",page:p,limit:xb,search:o}),p>1?void 0:e.listContentCollections(n)]).then(([d,f])=>{i.current===_&&(a(v=>({search:o,items:[...p>1?v?.items??[]:[],...d.items],collections:f?.items??v?.collections??[],pagination:d.pagination,loading:!1})),!(p>1)&&(o?r.emit("contentSearch",{queryLength:o.length,hitCount:d.pagination.total}):r.emit("contentView",{section:"help",count:d.items.length})))}).catch(d=>{i.current===_&&(Pb.warn("listContent (help) failed",{err:d,page:p}),a(f=>f&&{...f,loading:!1,error:Sr(d,t)}))})}return F(()=>{if(!n?.length){a(void 0);return}return u(1),()=>{i.current=void 0}},[e,c,o]),[s,()=>!s?.loading&&u((s?.pagination?.page??0)+1)]}function kb(e){let{strings:t,config:r,nav:n,panelProps:o}=e,s=r.contentCollectionIds,[a,i]=B(""),[c,u]=B(""),p=L_(e,s),_=L_(e,c?s:void 0,c),[d,f]=a.trim()?_:p;F(()=>{let g=setTimeout(()=>u(a.trim()),Sb);return()=>clearTimeout(g)},[a]);function v(){if(!s?.length)return l(jt,{message:t.helpEmpty,strings:t});let g=d?.error?l(jt,{tone:"error",message:d.error,onRetry:f,strings:t}):null;return g&&!d?.pagination?g:!d||!d.pagination&&!d.items.length?l(jt,{message:t.helpLoading,strings:t}):d.items.length?l(he,{children:[wb(d.items,s,d.collections).map(x=>l("section",{class:`${ur}-help-group`,children:[x.title?l("h2",{class:`${ur}-help-section-title`,children:x.title}):null,l("div",{class:`${ur}-help-card`,children:x.rows.map(w=>l(Ta,{title:w.title,subtitle:w.description,onClick:()=>w.url?Ao(w.url):n.push({kind:"content",id:w.id,title:w.title}),testid:Ct(D.helpArticle,w.id)},w.id))})]},x.id)),g,d.pagination?.hasNext&&!g?l("div",{children:l("div",{class:`${ur}-help-card`,children:l("button",{type:"button",class:`${ur}-list-row ${ur}-help-more`,onClick:f,"aria-busy":d.loading,children:[d.loading?l("span",{class:`${ur}-loading-spinner`,"aria-hidden":"true"}):null,t.helpShowMore]})})}):null]}):l(jt,{message:d.search?t.helpSearchEmpty.replace("{query}",d.search):t.helpEmpty,strings:t})}return l("div",{class:`${ur}-module`,children:[l(Sa,{title:t.helpTitle,actions:l(dr,{panelProps:o,variant:"plain"})}),l("div",{class:`${ur}-module-pad`,children:l(M_,{placeholder:t.helpSearchPlaceholder,value:a,onInput:i})}),l("div",{class:`${ur}-help-list`,children:v()})]})}var N_={Icon:Lo,Root:e=>l(kb,{...e})};var O_=ae.scope("attachments");function Ia(e,t,r){let n=Tb(e),o=[],s=[],a=D_(r.accept),i=t.reduce((u,p)=>u+p.size,0),c=t.length;for(let u of n){let p=Cb(u,c,i,r,a);if(p){s.push({file:u,reason:p});continue}o.push(Eb(u)),i+=u.size,c+=1}return(o.length||s.length)&&O_.debug("ingest",{accepted:o.length,rejected:s.map(u=>({name:u.file.name,reason:u.reason}))}),{accepted:o,rejected:s}}function Fn(e){let t=Math.min(Math.floor(Math.log10(Math.max(e,1))/3),2);return new Intl.NumberFormat(void 0,{style:"unit",unit:["byte","kilobyte","megabyte"][t],unitDisplay:"narrow",maximumFractionDigits:1}).format(e/1e3**t)}function $_(e,t){let r=D_(t);return!e||r.length===0||r.some(n=>n.kind==="ext"||q_(new File([],"",{type:e}),[n]))}function Hn(e){try{URL.revokeObjectURL(e.previewUrl)}catch(t){O_.debug("revokeObjectURL failed",{error:t})}}function Cb(e,t,r,n,o){return t>=n.maxCount?"count":r+e.size>n.maxBytes?"bytes":q_(e,o)?null:"mime"}function Tb(e){return e?Array.isArray(e)?e.filter(t=>t instanceof File):[...e].map(t=>t instanceof File?t:Ib(t)).filter(t=>t!==null):[]}function Ib(e){let t=Rb(e)?e:null;return!t?.getAsFile||t.kind!=="file"?null:t.getAsFile()}function Rb(e){return Ab(e)&&(e.getAsFile===void 0||typeof e.getAsFile=="function")}function Ab(e){return typeof e=="object"&&e!==null&&!Array.isArray(e)}function Eb(e){return{file:e,id:Wt(),mediaType:e.type||"application/octet-stream",name:e.name||"pasted-file",previewUrl:URL.createObjectURL(e),size:e.size}}function D_(e){return e.split(",").map(t=>t.trim().toLowerCase()).filter(Boolean).map(t=>{if(t.startsWith("."))return{kind:"ext",ext:t};let[r="*",n="*"]=t.split("/");return{kind:"mime",type:r,subtype:n}})}function q_(e,t){if(t.length===0)return!0;let[r="*",n="*"]=(e.type||"").toLowerCase().split("/"),o=(e.name||"").toLowerCase();return t.some(s=>s.kind==="ext"?o.endsWith(s.ext):s.type==="image"&&s.subtype==="*"&&/\.(heic|heif|avif|bmp|tif|tiff)$/.test(o)?!0:(s.type==="*"||s.type===r)&&(s.subtype==="*"||s.subtype===n))}var Br=q.cssPrefix,Mb={error:Bn,done:qn};function B_({attachment:e,upload:t,strings:r,onRemove:n,disabled:o=!1}){let s=/^image\/(jpeg|png|gif|webp|avif|bmp|x-ms-bmp|svg\+xml)$/i.test(e.mediaType),a=Math.round((t?.fraction??0)*100),i=Fn(e.size),c=t?.status==="error"||t?.status==="done"?Mb[t.status]:void 0;return l("span",{class:`${Br}-attachment-chip`,"data-upload":t?.status,title:e.name,"data-testid":Ct(D.attachmentChip,e.id),children:[s?l("img",{class:`${Br}-attachment-thumb`,src:e.previewUrl,alt:""}):l("span",{class:`${Br}-attachment-thumb`,"aria-hidden":"true",children:l(ba,{})}),l("span",{class:`${Br}-attachment-text`,children:[l("span",{class:`${Br}-attachment-name`,children:e.name}),l("span",{class:`${Br}-attachment-meta`,children:[c?l(c,{}):null,t?.status==="uploading"?`${a}% \xB7 ${i}`:i]})]}),l("button",{type:"button",class:`${Br}-attachment-remove`,onClick:n,disabled:o,"aria-label":r.removeAttachment.replace("{name}",e.name),"data-testid":Ct(D.attachmentRemove,e.id),children:l(qt,{})}),t?.status==="uploading"?l("span",{class:`${Br}-attachment-progress`,role:"progressbar","aria-label":e.name,"aria-valuemin":0,"aria-valuemax":100,"aria-valuenow":a,children:l("span",{style:{width:`${a}%`}})}):null]})}var U_=new WeakMap;function Ra(e){e.currentTarget&&U_.set(e.currentTarget,e.timeStamp)}function Aa(e){let t=e.currentTarget?U_.get(e.currentTarget):void 0;return e.isComposing||t!==void 0&&e.timeStamp-t<100}var Ea=q.cssPrefix;function qo({text:e,retryLabel:t,onRetry:r,retryTestId:n}){return l("div",{class:`${Ea}-error`,role:"alert",children:[l("span",{class:`${Ea}-error-icon`,"aria-hidden":"true",children:l(Bn,{})}),l("span",{class:`${Ea}-error-text`,children:e}),r&&t?l("button",{type:"button",class:`${Ea}-error-retry`,onClick:r,"data-testid":n,children:t}):null]})}var Ul={isSupported:!1,start:()=>{},stop:()=>{},cancel:()=>{}};function zl(e,t,r){return e==="disabled"?Ul:e==="server"?$b(r):Lb(t)}function Lb(e){let t=Nb();if(!t)return Ul;let r=null,n=0;return{isSupported:!0,start(o,s){let a=r,i=++n;r=null,a?.abort();let c=new t;r=c,c.continuous=!0,c.interimResults=!0,c.lang=e;let u=!1;c.addEventListener("result",_=>{if(n!==i||r!==c)return;let d=_,f="",v=!1;for(let g=d.resultIndex;g<d.results.length;g++){let x=d.results[g];x&&(f+=x[0].transcript,x.isFinal&&(v=!0))}o(f,v)});function p(_){u||n!==i||r!==c||(u=!0,r=null,s(_))}c.addEventListener("end",()=>p(!1)),c.addEventListener("error",_=>p("error"in _&&(_.error==="not-allowed"||_.error==="service-not-allowed")));try{c.start()}catch{p(!1)}},stop(){r?.stop()},cancel(){n++;let o=r;r=null,o?.abort()}}}function Nb(){return window.SpeechRecognition??window.webkitSpeechRecognition}var Ob=["audio/webm;codecs=opus","audio/webm","audio/ogg;codecs=opus","audio/mp4"];function $b(e){if(typeof MediaRecorder>"u"||!navigator?.mediaDevices?.getUserMedia)return Ul;let t=0,r=null;function n(a){for(let i of a.stream?.getTracks()??[])i.stop();a.stream=null}function o(){t++;let a=r;r=null,a&&(n(a),a.recorder?.state!=="inactive"&&a.recorder?.stop())}async function s(a){if(a.finishing)return;a.finishing=!0;let i=a.recorder?.mimeType??"audio/webm";n(a);let c=new Blob(a.chunks,{type:i});a.chunks=[];try{let{text:u}=await e(c,i);r===a&&t===a.generation&&u&&a.onText(u,!0)}catch{}finally{r===a&&t===a.generation&&(r=null,a.onEnd(!1))}}return{isSupported:!0,async start(a,i){o();let c={generation:t,recorder:null,stream:null,chunks:[],onText:a,onEnd:i,finishing:!1};r=c;try{let u=await navigator.mediaDevices.getUserMedia({audio:!0});if(r!==c||t!==c.generation){for(let d of u.getTracks())d.stop();return}c.stream=u;let p=Db(),_=new MediaRecorder(u,p?{mimeType:p}:void 0);c.recorder=_,_.addEventListener("dataavailable",d=>{r===c&&t===c.generation&&d.data.size>0&&c.chunks.push(d.data)}),_.addEventListener("stop",()=>{r===c&&t===c.generation&&s(c)}),_.start()}catch(u){n(c),r===c&&t===c.generation&&(r=null,i(u instanceof DOMException&&u.name==="NotAllowedError"))}},stop(){let a=r;if(a){if(!a.recorder){o();return}a.recorder.state!=="inactive"&&a.recorder.stop()}},cancel(){o()}}}function Db(){for(let e of Ob)if(MediaRecorder.isTypeSupported(e))return e}function qb(e,{file:t,reason:r},n){return r==="count"?e.attachmentTooMany.replace("{count}",String(n.maxCount)):r==="bytes"?e.attachmentTooLarge.replace("{name}",t.name).replace("{max}",Fn(n.maxBytes)):e.attachmentMimeRejected.replace("{name}",t.name)}var Ye=q.cssPrefix,jn=ae.scope("composer"),Bb=300;function Vn(e){return e.reduce((t,r)=>t+r.size,0)}var Fl={arrowUp:Wp,paperPlane:Vp,send:Gp,chevron:va};function z_(e){return"activeElement"in e}function Ub(e){return"host"in e&&"activeElement"in e}function zb(e){return"clipboardData"in e}function F_({options:e,transport:t,feedback:r,bus:n,persistence:o,conversationId:s,maxMessageCharacters:a,isStreaming:i,pageToolRunning:c=!1,isMemoryCompacting:u=!1,canReleaseQueuedMessages:p=!0,queueManualMessages:_=!1,replyAwaitsCard:d=!1,active:f=!0,isPreparing:v=!1,attachmentUploadsSig:g,operatorRequestEnabled:x,canRequestOperator:w=!1,controlMode:y="ai-agent",onRequestOperator:S,onSend:b,onStop:k,apiRef:h}){let m=e.strings,[P,R]=B(()=>o.loadDraft(s)),[I,A]=B([]),[C,M]=B(),[N,j]=B(()=>o.loadMessageQueue(s).map(V=>({id:V.id,text:V.text,attachments:[]}))),G=U(N),z=U(!1),ce=U(void 0),[pe,_e]=B(!1),[se,ge]=B(!1),[at,st]=B(!1),[Ge,Rt]=B(!1),Ee=U(!1),rt=U(null),Mt=U(null),Tt=U(null),oe=U(0),Se=U(s);Se.current=s;let Be=U(f);Be.current=f;let be=U(v);be.current=v;let Ue=Ge||v||!f,Ae=i&&y==="ai-agent",Pt=Ae||u&&y==="ai-agent",$=y==="ai-agent"&&(Pt||_||N.length>0),L=H(V=>{j(J=>{let Q=V(J);return o.saveMessageQueue(Se.current,Q.filter(fe=>fe.attachments.length===0).map(({id:fe,text:Oe})=>({id:fe,text:Oe}))),G.current=Q,Q})},[o]),Y=H(V=>{L(J=>(J.find(Q=>Q.id===V)?.attachments.forEach(Hn),J.filter(Q=>Q.id!==V)))},[L]),K=H(V=>{R(J=>{let Q=(typeof V=="function"?V(J):V).slice(0,a);return Q===J?J:(o.saveDraft(Se.current,Q),Q)})},[o,a]),te=e.features.fileUpload,ye=e.features.voice,[de,Pe]=B(()=>zl(ye,e.locale,(V,J)=>t.transcribe(V,J))),lt=U(de);lt.current=de;let ze=U({mode:ye,locale:e.locale,transport:t});F(()=>{let V=ze.current;V.mode===ye&&V.locale===e.locale&&V.transport===t||(ze.current={mode:ye,locale:e.locale,transport:t},oe.current++,lt.current.cancel(),Tt.current=null,ge(!1),Pe(zl(ye,e.locale,(J,Q)=>t.transcribe(J,Q))))},[e.locale,ye,t]),St(()=>()=>{oe.current++,de.cancel()},[de]);let _t=H(V=>{let J=Tt.current;if(J===null)return!1;let Q=Math.round(performance.now()-J);return jn[V]("voiceStop",{durationMs:Q}),n.emit("voiceStop",{durationMs:Q}),Tt.current=null,!0},[n]),je=H(()=>{Tt.current!==null&&(de.stop(),ge(!1),_t("info")&&r.play("voiceStop"))},[_t,r,de]),Lt=H(()=>{oe.current++,de.cancel(),ge(!1),_t("info")&&r.play("voiceStop")},[_t,r,de]);F(()=>{(v||!f)&&Lt()},[f,Lt,v]),F(()=>{let V=rt.current;if(!V)return;let J=V.getRootNode(),Q=z_(J)?J.activeElement:null;Q&&V.closest(`.${Ye}-panel`)?.contains(Q)||V.focus({preventScroll:!0})},[]),F(()=>{let V=rt.current;if(!V)return;if(P.length===0){V.style.height="";return}V.style.height="auto";let J=getComputedStyle(V),Q=Number.parseFloat(J.getPropertyValue(`--${Ye}-textarea-base-height`)),fe=Number.parseFloat(J.borderTopWidth)+Number.parseFloat(J.borderBottomWidth),Oe=Math.min(V.scrollHeight+fe,Number.parseFloat(J.maxHeight)),At=Number.parseFloat(J.fontSize)*.7;V.style.height=`${Oe<Q+At?Q:Oe}px`},[P]);let Vt=U(I);Vt.current=I,F(()=>()=>{Vt.current.forEach(Hn);for(let V of G.current)V.attachments.forEach(Hn)},[]),St(()=>{if(h)return h.current={attachFromDrop:V=>{if(!te||!Be.current||Ee.current||be.current)return;let J=Ia(V,Vt.current,e.attachments);M(J.rejected[0]),J.accepted.length!==0&&(jn.info("attach (drop)",{count:J.accepted.length,totalBytes:Vn(J.accepted)}),n.emit("attach",{count:J.accepted.length,totalBytes:Vn(J.accepted)}),A(Q=>[...Q,...J.accepted]))},fill:V=>{if(!Be.current||Ee.current||be.current)return;K(V);let J=rt.current;J&&(J.focus({preventScroll:!0}),requestAnimationFrame(()=>J.setSelectionRange(J.value.length,J.value.length)))},acceptQueuedMessage:Y},()=>{h.current&&(h.current=null)}},[h,te,v,e.attachments,Y,K]),F(()=>{let V=rt.current;if(!V)return;let J=V.closest(`.${Ye}-panel`);if(!J)return;let Q=Oe=>{if(!Be.current||Ee.current||be.current)return;let At=Oe.clipboardData;if(!At)return;let pr=Oe.target instanceof HTMLElement?Oe.target.closest("input, textarea, [contenteditable]:not([contenteditable='false'])"):null;if(pr&&pr!==V)return;if(te){let zt=Ia(At.items,Vt.current,e.attachments);if(M(zt.rejected[0]),zt.accepted.length>0){Oe.preventDefault(),jn.info("attach (paste)",{count:zt.accepted.length,totalBytes:Vn(zt.accepted)}),n.emit("attach",{count:zt.accepted.length,totalBytes:Vn(zt.accepted)}),A(Ja=>[...Ja,...zt.accepted]);return}}if(pr===V)return;let _r=At.getData("text/plain");_r&&(Oe.preventDefault(),K(zt=>zt+_r),V.focus())};function fe(Oe){zb(Oe)&&Q(Oe)}return J.addEventListener("paste",fe),()=>J.removeEventListener("paste",fe)},[te,e.attachments,K]);async function Yt(){let V=P.trim();if(!V&&I.length===0||!f||Ae||Ee.current||v)return;Lt(),Ee.current=!0,Rt(!0);let J=P,Q=I;try{await b(V,Q)&&(M(void 0),K(fe=>fe===J?"":fe),A(fe=>fe!==Q?fe:(Q.forEach(Hn),Vt.current=[],[])))}finally{Ee.current=!1,Rt(!1),requestAnimationFrame(()=>{let fe=rt.current;if(!fe||fe.disabled||!Be.current)return;let Oe=fe.getRootNode(),At=z_(Oe)?Oe.activeElement:null,pr=At?.getAttribute("data-testid");if(!(At&&At!==fe&&pr!==D.composerSend&&pr!==D.composerStop)){if(Ub(Oe)){let _r=Oe.host.ownerDocument;if(!_r.hasFocus())return;let zt=_r.activeElement;if(zt&&zt!==Oe.host&&zt!==_r.body)return}fe.focus({preventScroll:!0})}})}}function ft(){let V=P.trim();if(!V&&I.length===0||!f||!$||Ee.current||v)return;Lt();let J=I;L(Q=>[...Q,{id:Wt(),text:V,attachments:J}]),Pt||_e(!0),K(""),A(Q=>Q!==J?Q:(Vt.current=[],[])),rt.current?.focus({preventScroll:!0})}F(()=>{Pt&&(z.current=!1,ce.current=void 0,_e(!1))},[Pt]),F(()=>{let V=N[0];if(!V||!p||Pt||z.current||Ge||v||!f)return;let J=d&&!pe?(ce.current??(ce.current=performance.now()+e.cardAnswerWaitSeconds*1e3))-performance.now():0,Q=setTimeout(()=>{z.current=!0,b(V.text,V.attachments,V.id).then(fe=>{if(fe){Y(V.id);return}z.current=!1})},Math.max(J,Bb));return()=>clearTimeout(Q)},[f,p,pe,v,b,e.cardAnswerWaitSeconds,Pt,N,Y,d,Ge]);function xt(V){V.key!=="Enter"||V.shiftKey||Aa(V)||(V.preventDefault(),$&&(P.trim()||I.length>0)?ft():Ae?k():Yt())}function Jt(V){if(!(V.target instanceof HTMLInputElement))return;let J=V.target;if(!f||Ee.current||v){J.value="";return}let Q=Ia(J.files,I,e.attachments);M(Q.rejected[0]),Q.accepted.length>0&&(jn.info("attach (file picker)",{count:Q.accepted.length,totalBytes:Vn(Q.accepted)}),n.emit("attach",{count:Q.accepted.length,totalBytes:Vn(Q.accepted)}),A(fe=>[...fe,...Q.accepted])),J.value=""}function _n(V){!f||Ee.current||v||(jn.info("removeAttachment",{id:V}),n.emit("removeAttachment",{id:V}),M(void 0),A(J=>{let Q=J.find(fe=>fe.id===V);return Q&&Hn(Q),J.filter(fe=>fe.id!==V)}))}function fn(){if(se){je();return}if(!f||!de.isSupported||Ee.current||v)return;let V=++oe.current;Tt.current=performance.now(),jn.info("voiceStart"),n.emit("voiceStart",void 0),st(!1),ge(!0),r.play("voiceStart"),de.start((J,Q)=>{oe.current!==V||!Be.current||be.current||Ee.current||!Q||K(fe=>`${fe}${J} `)},J=>{oe.current!==V||!Be.current||(ge(!1),st(J),_t("debug"))})}let Fr=Fl[e.composer.sendButton.icon],mn=!!(P.trim()||I.length>0),Hr=g?.value,Xo=I.some(V=>Hr?.get(V.id)?.status==="uploading"),jr=I.filter(V=>Hr?.get(V.id)?.status==="error"),gn=jr.find(V=>Hr?.get(V.id)?.refusal),Ya=gn&&(Hr?.get(gn.id)?.refusal==="INVALID_FILE_TYPE"?m.attachmentMimeRejected:m.attachmentUploadFailed).replace("{name}",gn.name),Zo=Ae||Xo||c&&!mn;return l("div",{class:`${Ye}-composer`,part:"composer","data-testid":D.composer,children:[N.length>0?l("div",{class:`${Ye}-message-queue`,"aria-label":m.queueMessage,"data-testid":D.messageQueue,children:N.map(V=>l("div",{class:`${Ye}-attachment-chip ${Ye}-queued-message`,"data-testid":`${D.queuedMessage}-${V.id}`,children:[l("span",{class:`${Ye}-attachment-name ${Ye}-queued-text`,children:V.text||V.attachments.map(J=>J.name).join(", ")}),l("button",{type:"button",class:`${Ye}-attachment-remove`,onClick:()=>Y(V.id),"aria-label":m.removeQueuedMessage,title:m.removeQueuedMessage,"data-testid":`${D.queuedMessageRemove}-${V.id}`,children:l(qt,{})})]},V.id))}):null,I.length>0?l("div",{class:`${Ye}-attachments`,children:I.map(V=>l(B_,{attachment:V,upload:Hr?.get(V.id),strings:m,onRemove:()=>_n(V.id),disabled:Ue},V.id))}):null,jr.length>0&&!Ue?l(qo,{text:Ya??m.attachmentUploadFailed.replace("{name}",jr.map(V=>V.name).join(", ")),retryLabel:m.errorRetry,onRetry:gn?void 0:()=>{Yt()},retryTestId:D.attachmentRetry}):null,C?l("p",{class:`${Ye}-field-error`,role:"alert",children:qb(m,C,e.attachments)}):null,at?l("p",{class:`${Ye}-field-error`,role:"alert",children:m.micBlocked}):null,a!==void 0&&P.length>=a*.9?l("p",{class:`${Ye}-field-${P.length<a?"hint":"error"}`,"data-testid":D.composerCount,children:`${P.length} / ${a}`}):null,l("div",{class:`${Ye}-composer-row`,children:[l("div",{class:`${Ye}-composer-actions`,children:[te?l("button",{type:"button",class:`${Ye}-icon-btn`,onClick:()=>Mt.current?.click(),disabled:Ue,"aria-label":m.attach,title:m.attach,"data-testid":D.composerAttach,children:l(ha,{})}):null,de.isSupported?l("button",{type:"button",class:`${Ye}-icon-btn`,onClick:fn,disabled:Ue,"aria-label":se?m.micStop:m.micStart,title:se?m.micStop:m.micStart,"aria-pressed":se,"data-recording":se?"true":void 0,"data-testid":D.composerVoice,children:l(Kp,{})}):null,x&&y==="ai-agent"&&S?l("button",{type:"button",class:`${Ye}-icon-btn`,onClick:S,disabled:Ue||!w,"aria-label":m.talkToOperator,title:m.talkToOperator,"data-testid":D.operatorRequest,children:l(xr,{})}):null]}),l("textarea",{ref:rt,name:"message",class:`${Ye}-textarea`,rows:1,value:P,maxLength:a,placeholder:m.composerPlaceholder,onInput:V=>K(V.currentTarget.value),onKeyDown:xt,onCompositionEnd:Ra,disabled:Ue,"aria-label":m.composerPlaceholder,"data-testid":D.composerInput}),$&&mn?l("button",{type:"button",class:`${Ye}-send`,"data-shape":e.composer.sendButton.shape,"data-variant":e.composer.sendButton.variant,onClick:ft,disabled:Ue,"aria-label":m.queueMessage,title:m.queueMessage,"data-testid":D.composerSend,children:l(Fr,{})}):null,Zo?l("button",{type:"button",class:`${Ye}-send`,onClick:k,disabled:Ue&&!Xo,"aria-label":m.stop,"data-testid":D.composerStop,children:l($r,{})}):null,!Zo&&(!$||!mn)?l("button",{type:"button",class:`${Ye}-send`,"data-shape":e.composer.sendButton.shape,"data-variant":e.composer.sendButton.variant,onClick:()=>{Yt()},disabled:Ue||!P.trim()&&I.length===0,"aria-label":m.send,"data-testid":D.composerSend,children:l(Fr,{})}):null]}),l("input",{ref:Mt,name:"attachments",type:"file",multiple:!0,accept:e.attachments.accept,onChange:Jt,disabled:Ue,class:`${Ye}-sr-only`,"data-testid":D.composerFileInput})]})}var H_=q.cssPrefix;function Ma({onClick:e,children:t,testid:r}){return e?l("button",{type:"button",class:`${H_}-home-card`,"data-interactive":"true",onClick:e,"data-testid":r,children:t}):l("div",{class:`${H_}-home-card`,"data-testid":r,children:t})}function La(e){return e.trim().split(/\s+/).slice(0,2).map(t=>t.charAt(0).toUpperCase()).join("")}var tr=q.cssPrefix,Fb=ae.scope("news"),Hb=10;function Hl(e,t){let r=e?new Date(e):void 0;if(!(!r||Number.isNaN(r.getTime())))return new Intl.DateTimeFormat(t,{dateStyle:"medium"}).format(r)}function jb({options:e,transport:t,strings:r,config:n,nav:o,bus:s,panelProps:a,latestNews:i}){let c=n.contentCollectionIds,u=c?.join(","),[p,_]=B({items:[],loading:!0}),d=U(void 0);function f(w){if(!c?.length)return;let y={};d.current=y,_(S=>({...S,loading:!0,error:void 0})),t.listContent({contentCollectionIds:c,sortBy:"publishedAt",sortOrder:"desc",page:w,limit:Hb}).then(S=>{if(d.current!==y||(_(k=>({items:w>1?[...k.items,...S.items]:S.items,pagination:S.pagination,loading:!1})),w>1))return;s.emit("contentView",{section:"news",count:S.items.length});let b=S.items[0];b&&i.markSeen(b.id)}).catch(S=>{d.current===y&&(Fb.warn("listContent (news) failed",{err:S,page:w}),_(b=>({...b,loading:!1,error:Sr(S,r)})))})}function v(){p.loading||f((p.pagination?.page??0)+1)}F(()=>(_({items:[],loading:!0}),f(1),()=>{d.current=void 0}),[t,u]);function g(w){let y=Hl(w.publishedAt,e.locale);return l("button",{type:"button",class:`${tr}-news-card`,onClick:()=>o.push({kind:"content",id:w.id,title:w.title}),"data-testid":Ct(D.newsItem,w.id),children:[w.image?l("img",{class:`${tr}-news-hero`,src:w.image,alt:"",loading:"lazy"}):null,l("span",{class:`${tr}-news-body`,children:[l("span",{class:`${tr}-news-title`,children:w.title}),y||w.tags?.length?l("span",{class:`${tr}-news-meta`,children:[y?l("time",{dateTime:w.publishedAt,children:y}):null,w.tags?.map(S=>l("span",{class:`${tr}-news-tag`,children:S},S))]}):null,w.description?l("span",{class:`${tr}-news-summary`,children:w.description}):null]})]},w.id)}function x(){if(!c?.length)return l(jt,{message:r.newsEmpty,strings:r});let w=p.error?l(jt,{tone:"error",message:p.error,onRetry:v,strings:r}):null;return w&&!p.pagination?w:p.pagination?p.items.length?l("div",{class:`${tr}-news-list`,children:[p.items.map(g),w,p.pagination.hasNext&&!w?l("button",{type:"button",class:`${tr}-news-more`,onClick:v,"aria-busy":p.loading,"data-testid":D.newsMore,children:[p.loading?l("span",{class:`${tr}-loading-spinner`,"aria-hidden":"true"}):null,r.newsShowMore]}):null]}):l(jt,{message:r.newsEmpty,strings:r}):l(jt,{message:r.newsLoading,strings:r})}return l("div",{class:`${tr}-module`,children:[l(Sa,{title:r.newsTitle,actions:l(dr,{panelProps:a,variant:"plain"})}),l("div",{class:`${tr}-module-scroll`,children:x()})]})}var j_={Icon:Pa,Root:e=>l(jb,{...e})};var we=q.cssPrefix,V_=ae.scope("home");function Vb(e){let t=e.options.userContext?.name,r=e.config.greetingText?gt(e.strings,e.config.greetingText):void 0;if(r){let n=t?r.replace("{name}",t):r.replace(/\s*\{name\}\s*/," ").trim(),o=e.strings.homeGreetingLead;return{title:n,subtitle:n.toLowerCase()===o.toLowerCase()?void 0:o}}return t?{title:e.strings.homeGreetingNamed.replace("{name}",t),subtitle:e.strings.homeGreetingLead}:{title:e.strings.homeGreeting}}function Wb(e,t){return t.url?Ao(t.url):e.push({kind:"content",id:t.id,title:t.title})}function Gb({options:e,onAsk:t}){let[r,n]=B(""),{sendButton:o}=e.composer,s=Fl[o.icon];function a(i){i.preventDefault();let c=r.trim();c&&(n(""),t(c))}return l("form",{class:`${we}-home-search ${we}-home-ask`,"data-input":"true",onSubmit:a,"data-testid":D.homeAsk,children:[l("input",{type:"text",class:`${we}-home-search-input`,placeholder:e.strings.homeAskPlaceholder,"aria-label":e.strings.homeAskPlaceholder,value:r,enterKeyHint:"send",onInput:i=>n(i.currentTarget.value)}),l("button",{type:"submit",class:`${we}-send`,"data-shape":o.shape,"data-variant":o.variant,disabled:!r.trim(),"aria-label":e.strings.send,children:l(s,{})})]})}function W_(e,t){return Pr(e,t,t.type!=="upsert"||t.activity===!0)}function Kb(e){let{transport:t,strings:r,config:n,nav:o,bus:s,panelProps:a,latestNews:i}=e,[c,u]=B(null),[p,_]=B([]),d=n.contentCollectionIds?.join(","),f=e.options.modules.list.some(h=>h.layout==="chat");F(()=>{if(n.showRecentConversations===!1)return;let h=!1,m=!0,P=[],R=t.subscribeConversationChanges(I=>{m&&P.push(I),u(A=>W_(A?[A]:[],I)[0]??null)});return t.listConversations({limit:f?50:1}).then(I=>{if(h)return;let A=P.reduce(W_,I.conversations);P=[],m=!1,u(A[0]??null)}).catch(I=>{h||(P=[],m=!1,V_.warn("listConversations (home) failed",{err:I}))}),()=>{h=!0,R()}},[t,n.showRecentConversations,f]),F(()=>{if(!n.contentCollectionIds?.length)return;let h=!1;return t.listContent({contentCollectionIds:n.contentCollectionIds,pinned:!0,limit:6}).then(m=>{h||(_(m.items),s.emit("contentView",{section:"home",count:m.items.length}))}).catch(m=>!h&&V_.warn("listContent (home) failed",{err:m})),()=>{h=!0}},[t,d,s]);let v=Vb(e),g=n.userAvatars??[],x=n.status,w=x?.text?gt(r,x.text):r.homeStatus,y=x?.url,S=n.contentBlockTitle?gt(r,n.contentBlockTitle):r.homeContentTitle,b=i.item,k=Hl(b?.publishedAt,e.options.locale);return l("div",{class:`${we}-module ${we}-home`,"data-testid":D.homeView,children:l("div",{class:`${we}-home-scroll`,children:[l("div",{class:`${we}-home-hero`,children:[l("div",{class:`${we}-home-hero-top`,children:[n.brandName?l("span",{class:`${we}-home-brand`,"data-testid":D.homeBrand,children:n.brandName}):l("span",{class:`${we}-home-brand-spacer`,"aria-hidden":"true"}),l("div",{class:`${we}-home-hero-actions`,children:[g.length>0?l("div",{class:`${we}-home-avatars`,children:g.map(h=>l("span",{class:`${we}-home-avatar`,title:h.role?`${h.name} \xB7 ${h.role}`:h.name,children:h.avatar?l("img",{src:h.avatar,alt:"",loading:"lazy"}):l("span",{children:La(h.name)})},h.name))}):null,l(dr,{panelProps:a,variant:"plain"})]})]}),n.showGreeting!==!1?l(he,{children:[l("h1",{class:`${we}-home-greeting`,"data-testid":D.homeGreeting,children:v.title}),v.subtitle?l("p",{class:`${we}-home-lead`,children:v.subtitle}):null]}):null]}),l("div",{class:`${we}-home-cards`,children:[f?l(Gb,{options:e.options,onAsk:h=>o.startNewConversation(h)}):null,n.showSearchBar!==!1?l(E_,{placeholder:r.homeSearchPlaceholder,onActivate:()=>o.switchToLayout("help")}):null,b?l(Ma,{onClick:()=>{i.markSeen(b.id),o.push({kind:"content",id:b.id,title:b.title})},testid:D.homeWhatsNew,children:l("div",{class:`${we}-home-recent-row`,"data-unread":i.unseen?"true":void 0,children:[l("span",{class:`${we}-home-recent-avatar`,"aria-hidden":"true",children:l(Pa,{})}),l("span",{class:`${we}-home-recent-body`,children:[l("span",{class:`${we}-home-recent-title`,children:r.homeWhatsNew}),l("span",{class:`${we}-home-recent-preview`,children:k?`${b.title} \xB7 ${k}`:b.title})]}),i.unseen?l("span",{class:`${we}-home-recent-dot`,role:"img","aria-label":r.newsUnseen}):null]})}):null,c?l(Ma,{onClick:()=>o.selectConversation(c),testid:D.homeRecent,children:l("div",{class:`${we}-home-recent-row`,"data-unread":c.hasUnread?"true":void 0,children:[l("span",{class:`${we}-home-recent-avatar`,"aria-hidden":"true",children:l(No,{})}),l("span",{class:`${we}-home-recent-body`,children:[l("span",{class:`${we}-home-recent-title`,children:c.title}),c.preview?l("span",{class:`${we}-home-recent-preview`,children:Ca(c.preview)}):null]}),c.hasUnread?l("span",{class:`${we}-home-recent-dot`,role:"img","aria-label":r.unread}):null]})}):null,x?l(Ma,{onClick:y?()=>Ao(y):void 0,children:l("div",{class:`${we}-home-status`,"data-level":x.level??"operational",children:[l("span",{class:`${we}-home-status-icon`,"aria-hidden":"true",children:l(l_,{})}),l("span",{class:`${we}-home-status-text`,children:w})]})}):null,p.length>0?l("section",{class:`${we}-home-content`,children:[l("div",{class:`${we}-home-content-title`,children:S}),l("div",{class:`${we}-home-content-list`,children:p.map(h=>l(Ta,{title:h.title,subtitle:h.description,onClick:()=>Wb(o,h),testid:Ct(D.homeContentRow,h.id)},h.id))})]}):null]})]})})}var G_={Icon:c_,Root:e=>l(Kb,{...e})};var Na={chat:A_,home:G_,help:N_,news:j_};var Bo=q.cssPrefix;function K_({modules:e,activeTab:t,strings:r,hasUnread:n,onSelect:o}){return l("nav",{class:`${Bo}-tabbar`,role:"tablist","aria-label":r.panelTitle,children:e.map(s=>{let a=Na[s.layout].Icon,i=s.id===t,c=s.layout==="chat"&&n;return l("button",{type:"button",role:"tab","aria-selected":i,class:`${Bo}-tab`,onClick:()=>o(s.id),"data-testid":Ct(D.tab,s.id),children:[l("span",{class:`${Bo}-tab-icon`,children:[l(a,{}),c?l("span",{class:`${Bo}-tab-badge`,"data-testid":D.tabBadge,role:"img","aria-label":r.unread}):null]}),l("span",{class:`${Bo}-tab-label`,children:gt(r,s.label)})]},s.id)})})}var Uo=q.cssPrefix;function Q_({agent:e,strings:t,ticketReference:r,person:n=!1}){let o=e.status??"online",s=gt(t,e.name),a=e.title?gt(t,e.title):null,i=n?l(xr,{}):l("span",{children:La(s)});return l("div",{class:`${Uo}-agent`,children:[l("div",{class:`${Uo}-agent-avatar`,"data-status":o,children:e.avatar?l("img",{src:e.avatar,alt:""}):i}),l("div",{class:`${Uo}-agent-meta`,children:[l("strong",{children:s}),a||r?l("div",{class:`${Uo}-agent-sub`,children:[r?l(Qb,{reference:r,strings:t}):null,a?l("span",{children:a}):null]}):null]})]})}function Qb({reference:e,strings:t}){let[r,n]=B(!1);function o(){navigator.clipboard?.writeText(e).then(()=>{n(!0),setTimeout(()=>n(!1),1500)}).catch(()=>{})}return l("button",{type:"button",class:`${Uo}-agent-ticket`,onClick:o,title:t.copy,"aria-label":r?t.copied:t.copyTicketReference.replace("{reference}",e),children:r?t.copied:e})}var Yb=["today","yesterday","lastWeek","older"];function Jb(e,t){let r=Date.parse(t);if(!Number.isFinite(r))return"older";let n=Math.round((Y_(e)-Y_(r))/(1440*60*1e3));return n<=0?"today":n===1?"yesterday":n<7?"lastWeek":"older"}function J_(e,t){let r=new Map;for(let n of t){let o=Jb(e,n.lastMessageAt),s=r.get(o);s?s.push(n):r.set(o,[n])}return Yb.flatMap(n=>{let o=r.get(n);return o?[{bucket:n,conversations:o}]:[]})}function Y_(e){return new Date(e).setHours(0,0,0,0)}var X_=ae.scope("history"),Xb=3,Zb=6,eP={today:"dateToday",yesterday:"dateYesterday",lastWeek:"dateLastWeek",older:"dateOlder"};function Z_(e,t){let r=t.type!=="upsert"||t.activity===!0;if(t.type==="snapshot"&&t.result.pagination.page===1&&e.pagination.page>1){let o=Pr(e.conversations.slice(0,t.result.pagination.limit),t,r);if(t.result.conversations.length===0){if(o.length===0)return t.result;let u=Math.max(t.result.pagination.total,o.length);return{...t.result,conversations:o,pagination:{...t.result.pagination,total:u,totalPages:Math.ceil(u/t.result.pagination.limit)}}}let s=new Set(o.map(u=>u.conversationId)),a=e.conversations.slice(t.result.pagination.limit).filter(u=>!s.has(u.conversationId)),i=e.pagination.page,c={...t.result.pagination,page:i,hasPrev:i>1,hasNext:i<t.result.pagination.totalPages};return{conversations:[...o,...a],pagination:c}}let n=Pr(e.conversations,t,r);return n===e.conversations?e:{...t.type==="snapshot"?t.result:e,conversations:n}}function tP(e,t,r){let n=Date.parse(e);return Number.isFinite(n)?new Date(n).toDateString()===new Date(t).toDateString()?new Intl.DateTimeFormat(r,{hour:"numeric",minute:"2-digit"}).format(n):t-n<10080*60*1e3?new Intl.DateTimeFormat(r,{weekday:"short"}).format(n):new Intl.DateTimeFormat(r,{month:"short",day:"numeric"}).format(n):""}function Oa({transport:e,strings:t,locale:r,persistence:n,onSelect:o,onNewConversation:s}){let a=q.cssPrefix,i=e.peekConversations({limit:50}),[c,u]=B(i?"loaded":"loading"),[p,_]=B(0),[d,f]=B(i),[v,g]=B(!1),x=U(void 0),w=d?.conversations??[],y=d?.pagination;F(()=>{let m=!1,P=!0,R=[],I=e.subscribeConversationChanges(C=>{P&&R.push(C),f(M=>M&&Z_(M,C))});x.current=void 0,g(!1);let A=e.peekConversations({limit:50});return f(A),u(A?"loaded":"loading"),e.listConversations({limit:50}).then(C=>{if(m)return;let M=C;for(let N of R)M=Z_(M,N);R=[],P=!1,f(M),u("loaded"),n.saveHistoryCount(M.conversations.length)}).catch(C=>{m||(R=[],P=!1,X_.warn("listConversations failed",{err:C}),u({failure:Sr(C,t)}))}),()=>{m=!0,I(),x.current=void 0}},[e,n,r,p]);async function S(){if(x.current||!y?.hasNext)return;let m={};x.current=m,g(!0);try{let P=await e.listConversations({page:y.page+1,limit:y.limit});if(x.current!==m)return;f(R=>{if(!R)return R;let I=new Set(R.conversations.map(M=>M.conversationId)),A=P.conversations.filter(M=>I.has(M.conversationId)?!1:(I.add(M.conversationId),!0)),C={conversations:[...R.conversations,...A],pagination:P.pagination};return n.saveHistoryCount(C.conversations.length),C})}catch(P){if(x.current!==m)return;X_.warn("listConversations page failed",{err:P,page:y.page+1})}finally{x.current===m&&(x.current=void 0,g(!1))}}let b=s?l("div",{class:`${a}-history-footer`,children:l("button",{type:"button",class:`${a}-history-new`,onClick:s,"data-testid":D.sidebarNewConversation,children:[l(jp,{}),t.newConversation]})}):null;if(c==="loading"){let m=Math.min(n.loadHistoryCount()??Xb,Zb);return l(he,{children:[l("div",{class:`${a}-history`,"aria-busy":"true","aria-label":t.historyLoading,children:l("div",{class:`${a}-history-group`,"aria-hidden":"true",children:[l("div",{class:`${a}-history-heading`,children:l("span",{class:`${a}-skeleton ${a}-skeleton-heading`})}),l("div",{class:`${a}-history-card`,children:Array.from({length:Math.max(1,m)},(P,R)=>l("div",{class:`${a}-history-item ${a}-history-item-skeleton`,children:[l("span",{class:`${a}-history-avatar ${a}-skeleton`}),l("span",{class:`${a}-history-body`,children:[l("span",{class:`${a}-history-row`,children:[l("span",{class:`${a}-history-title`,children:l("span",{class:`${a}-skeleton ${a}-skeleton-title`})}),l("span",{class:`${a}-history-time`,children:l("span",{class:`${a}-skeleton ${a}-skeleton-time`})})]}),l("span",{class:`${a}-history-row`,children:l("span",{class:`${a}-history-preview`,children:l("span",{class:`${a}-skeleton ${a}-skeleton-preview`})})})]})]},R))})]})}),b]})}if(typeof c=="object")return l(he,{children:[l(jt,{tone:"error",message:c.failure,onRetry:()=>_(m=>m+1),strings:t}),b]});if(w.length===0)return l(he,{children:[l("div",{class:`${a}-history-empty`,children:t.historyEmpty}),b]});let k=Date.now(),h=J_(k,w);return l(he,{children:[l("div",{class:`${a}-history`,role:"list",children:[h.map(m=>l("div",{class:`${a}-history-group`,children:[l("div",{class:`${a}-history-heading`,children:t[eP[m.bucket]]}),l("div",{class:`${a}-history-card`,children:m.conversations.map(P=>l("div",{role:"listitem",children:l("button",{type:"button",class:`${a}-history-item`,onClick:()=>o(P),"data-unread":P.hasUnread?"true":void 0,"data-testid":Ct(D.historyItem,P.conversationId),children:[l("span",{class:`${a}-history-avatar`,"aria-hidden":"true",children:l($l,{})}),l("span",{class:`${a}-history-body`,children:[l("span",{class:`${a}-history-row`,children:[l("span",{class:`${a}-history-title`,children:P.title}),l("span",{class:`${a}-history-time`,children:[P.ticketReference&&`${P.ticketReference} \xB7 `,tP(P.lastMessageAt,k,r)]})]}),l("span",{class:`${a}-history-row`,children:[l("span",{class:`${a}-history-preview`,children:P.preview&&Ca(P.preview)||t.historyContinue}),P.hasUnread?l("span",{class:`${a}-history-dot`,role:"img","aria-label":t.unread}):null]})]})]})},P.conversationId))})]},m.bucket)),y?.hasNext?l("div",{class:`${a}-history-more`,children:l("button",{type:"button",onClick:S,disabled:v,"aria-busy":v,"data-testid":D.historyLoadMore,children:t.loadMoreConversations})}):null]}),b]})}var ef=q.cssPrefix;function tf({state:e,strings:t}){return e?l("div",{class:`${ef}-dropzone`,"data-state":e,role:"status","aria-live":"polite",children:[l("span",{class:`${ef}-dropzone-icon`,"aria-hidden":"true",children:e==="reject"?l(Bn,{}):l(ha,{})}),e==="reject"?t.dropZoneRejected:t.dropZone]}):null}var jl=new RegExp(String.raw`^(?:[A-Za-z0-9_'+\-]+\.)*[A-Za-z0-9_'+\-]*[A-Za-z0-9_+-]@(?:[A-Za-z0-9][A-Za-z0-9\-]*\.)+[A-Za-z]{2,}$`),rP=/^[+]?[\d\s().-]{6,}$/;function nP(e,t,r){let n=Array.isArray(t)?t.join(""):t?.trim()??"";if(!n)return e.required?r.formRequired:void 0;if(e.type==="email"&&!jl.test(n))return r.formInvalidEmail;if(e.type==="tel"&&!rP.test(n))return r.formInvalidTel;if(e.type==="number"&&!Number.isFinite(Number(n)))return r.formInvalidNumber}function rf(e,t,r){return Object.fromEntries(e.flatMap(n=>{let o=nP(n,t[n.name],r);return o?[[n.name,o]]:[]}))}var yt=q.cssPrefix;function nf(e){return e.tokenEmail||e.userContext?.email?.trim()}function oP(e,t){let r=e instanceof De?e.status:void 0;return r===400?t.formInvalidEmail:r===409?t.emailTranscriptAlreadySent:r===422?t.emailTranscriptNotDelivered:r===429?t.emailTranscriptLimited:t.emailTranscriptFailed}function iP(e){return"host"in e&&"activeElement"in e}function of({transport:e,strings:t,knownEmail:r,onClose:n}){let[o,s]=B(r??""),[a,i]=B(!1),[c,u]=B({status:"idle"}),p=U(null),_=io(),d=`${_}-title`,f=`${_}-error`,v=c.status==="sending",g=c.status==="sent";St(()=>{let y=p.current;if(!y)return;let S=y.getRootNode(),b=iP(S)?S.activeElement:null,k=Un(y);return()=>{k(),b instanceof HTMLElement&&b.isConnected&&b.focus({preventScroll:!0})}},[]),St(()=>{p.current?.querySelector("[data-autofocus]")?.focus({preventScroll:!0})},[g]);async function x(y){if(y.preventDefault(),v)return;let S=o.trim();if(!jl.test(S)){i(!0),p.current?.querySelector("input")?.focus();return}i(!1),u({status:"sending"});let b=await e.emailTranscript(S).then(k=>({status:"sent",to:k.to}),k=>({status:"failed",message:oP(k,t)}));u(b)}function w(y){y.key==="Tab"&&y.stopPropagation(),y.key==="Escape"&&(y.stopPropagation(),n())}return l("div",{class:`${yt}-transcript-layer`,children:[l("div",{class:`${yt}-transcript-backdrop`,"aria-hidden":"true",onClick:n}),l("section",{ref:p,class:`${yt}-transcript-sheet`,role:"dialog","aria-modal":"true","aria-labelledby":d,onKeyDown:w,"data-testid":D.emailTranscriptSheet,children:[l("header",{class:`${yt}-transcript-sheet-head`,children:[l("span",{class:`${yt}-transcript-sheet-icon`,children:l(ya,{})}),l("h2",{id:d,class:`${yt}-transcript-sheet-title`,children:t.emailTranscript}),l("button",{type:"button",class:`${yt}-icon-btn`,onClick:n,"aria-label":t.emailTranscriptCancel,title:t.emailTranscriptCancel,children:l(qt,{})})]}),c.status==="sent"?l(he,{children:[l("p",{class:`${yt}-transcript-sheet-text ${yt}-transcript-sheet-sent`,role:"status",children:[l(cn,{}),l("span",{children:t.emailTranscriptSent.replace("{email}",c.to)})]}),l("button",{type:"button",class:`${yt}-form-submit ${yt}-transcript-sheet-action`,onClick:n,"data-autofocus":!0,children:t.emailTranscriptDone})]}):l("form",{class:`${yt}-transcript-sheet-form`,onSubmit:y=>{x(y)},noValidate:!0,children:[l("p",{class:`${yt}-transcript-sheet-text`,children:t.emailTranscriptPrompt}),l("label",{class:`${yt}-field`,"data-invalid":a?"true":void 0,children:[l("span",{class:`${yt}-field-label`,children:t.emailTranscriptEmailLabel}),l("input",{class:`${yt}-field-input`,type:"email",name:"email",autocomplete:"email",inputMode:"email",autocapitalize:"off",spellcheck:!1,value:o,readOnly:v,"aria-invalid":a,"aria-describedby":a?f:void 0,onInput:y=>{s(y.currentTarget.value),i(!1)},"data-autofocus":!0,"data-testid":D.emailTranscriptEmail}),a?l("span",{id:f,class:`${yt}-field-error`,role:"alert",children:t.formInvalidEmail}):null]}),l("button",{type:"submit",class:`${yt}-form-submit ${yt}-transcript-sheet-action`,disabled:v,"aria-busy":v,"data-testid":D.emailTranscriptSend,children:v?t.emailTranscriptSending:t.emailTranscriptSend}),c.status==="failed"?l("p",{class:`${yt}-field-error`,role:"alert",children:c.message}):null]})]})]})}var af=Object.assign;function lP(e,t){for(var r in e)if(r!="__source"&&e[r]!==t[r])return!0;for(var n in t)if(n!="__source"&&!(n in e))return!0;return!1}var cP=/^(-|f[lo].*[^se]$|g.{5,}[^ps]$|z|o[pr]|(W.{5})?[lL]i.*(t|mp)$|an|(bo|s).{4}Im|sca|m.{6}[ds]|ta|c.*[st]$|wido|ini|asp|fill|st)/;function cf(e,t){function r(o){var s=this.props.ref;return s!=o.ref&&s&&(typeof s=="function"?s(null):s.current=null),t?!t(this.props,o)||s!=o.ref:lP(this.props,o)}function n(o){return this.shouldComponentUpdate=r,Ir(e,o)}return n.displayName="Memo("+(e.displayName||e.name)+")",n.prototype.isReactComponent=!0,n.type=e,n}var dP=Symbol.for("react.element"),uP=/^(?:accent|alignment|arabic|baseline|cap|clip(?!PathU)|color|dominant|fill|flood|font|glyph(?!R)|horiz|image(?!S)|letter|lighting|marker(?!H|W|U)|overline|paint|pointer|shape|stop|strikethrough|stroke|text(?!L)|transform|underline|unicode|units|v|vector|vert|word|writing|x(?!C))[A-Z]/,pP=/[A-Z0-9]/g,_P=typeof document<"u";var fP=function(e){return/fil|che|rad/.test(e)};Xt.prototype.isReactComponent=!0,["componentWillMount","componentWillReceiveProps","componentWillUpdate"].forEach(function(e){Object.defineProperty(Xt.prototype,e,{configurable:!0,get:function(){return this["UNSAFE_"+e]},set:function(t){Object.defineProperty(this,e,{configurable:!0,writable:!0,value:t})}})});var sf=xe.event;xe.event=function(e){return sf&&(e=sf(e)),e.persist=function(){},e.isPropagationStopped=function(){return this.cancelBubble},e.isDefaultPrevented=function(){return this.defaultPrevented},e.nativeEvent=e};var mP={configurable:!0,get:function(){return this.class}},lf=xe.vnode;xe.vnode=function(e){if(typeof e.type=="string")(function(n){var o=n.props,s=n.type,a={},i=s.indexOf("-")==-1;for(var c in o){var u=o[c];if(!(c=="value"&&"defaultValue"in o&&u==null||_P&&c=="children"&&s=="noscript"||c=="class"||c=="className")){if(c=="style"&&u&&u.constructor==Object){var p=void 0;for(var _ in u)typeof u[_]!="number"||cP.test(_)||(p||(p=u=af({},u)),u[_]+="px")}else if(c=="defaultValue"&&"value"in o&&o.value==null)c="value";else if(c=="download"&&u===!0)u="";else if(c=="translate"&&u==="no")u=!1;else if(c[0]=="o"&&c[1]=="n"){var d=c.toLowerCase();d=="ondoubleclick"?c="ondblclick":d!="onchange"||s!="input"&&s!="textarea"||fP(o.type)?d=="onfocus"?c="onfocusin":d=="onblur"&&(c="onfocusout"):d=c="oninput",d=="oninput"&&a[c=d]&&(c="oninputCapture")}else i&&uP.test(c)?c=c.replace(pP,"-$&").toLowerCase():u===null&&(u=void 0);a[c]=u}}if(s=="select"){var f=a.defaultValue!=null?a.defaultValue:a.multiple&&Array.isArray(a.value)?a.value:null;f!=null&&(a.value=ms(o.children).forEach(function(v){v.props.selected=a.multiple?f.indexOf(v.props.value)!=-1:f==v.props.value}))}o.class&&!o.className?(a.class=o.class,Object.defineProperty(a,"className",mP)):o.className&&(a.class=a.className=o.className),n.props=a})(e);else if(typeof e.type=="function"&&("ref"in e.props&&"prototype"in e.type&&e.type.prototype.render&&(e.ref=e.props.ref,delete e.props.ref),e.type.defaultProps)){var t=af({},e.props);for(var r in e.type.defaultProps)t[r]===void 0&&(t[r]=e.type.defaultProps[r]);e.props=t}e.ref&&!("ref"in e.props)&&Object.defineProperty(e.props,"ref",{value:e.ref,configurable:!0,writable:!0}),e.$$typeof=dP,lf&&lf(e)};var gP=new Set(["hidden","submit","button","reset","image","file","password"]);function uf(e){return e instanceof HTMLInputElement||e instanceof HTMLSelectElement||e instanceof HTMLTextAreaElement}function vP(e){return!uf(e)||e.name===""||e.disabled?!1:!(e instanceof HTMLInputElement&&gP.has(e.type))}function hP(e){let t=e.labels?.[0]?.textContent?.trim();return e.getAttribute("toolparamdescription")??(t||e.getAttribute("aria-description"))??void 0}function yP(e,t){let r=hP(e),n=r?{description:r}:{};return e instanceof HTMLSelectElement?{...n,type:"string",enum:[...e.options].map(o=>o.value)}:e instanceof HTMLTextAreaElement?{...n,type:"string"}:e.type==="checkbox"?{...n,type:"boolean"}:e.type==="radio"?{...n,type:"string",enum:t}:e.type==="number"||e.type==="range"?{...n,type:"number"}:{...n,type:"string"}}function bP(e,t){Object.getOwnPropertyDescriptor(Reflect.getPrototypeOf(e)??e,"value")?.set?.call(e,t),e.dispatchEvent(new Event("input",{bubbles:!0})),e.dispatchEvent(new Event("change",{bubbles:!0}))}function df(e){return e==null?"":typeof e=="string"?e:JSON.stringify(e)}function PP(e,t){if(e instanceof HTMLInputElement&&e.type==="checkbox"){e.checked!==(t===!0||t==="true")&&e.click();return}if(e instanceof HTMLInputElement&&e.type==="radio"){e.value===df(t)&&!e.checked&&e.click();return}bP(e,df(t))}function xP(e,t,r){var a;let n=[...e.elements].filter(vP),o={},s=new Set;for(let i of n){let c=n.flatMap(u=>u instanceof HTMLInputElement&&u.type==="radio"&&u.name===i.name?[u.value]:[]);o[a=i.name]??(o[a]=yP(i,c)),i.required&&s.add(i.name)}return{name:t,description:r,inputSchema:{type:"object",properties:o,...s.size>0?{required:[...s]}:{}},execute(i){let c=typeof i=="object"&&i!==null?Object.entries(i):[];for(let[p,_]of c)for(let d of n)d.name===p&&PP(d,_);if(!e.hasAttribute("toolautosubmit"))return"Filled in the form. The visitor still needs to check it and press its submit button.";let u=[...new Set([...e.elements].flatMap(p=>uf(p)&&p.name&&!p.checkValidity()?[p.name]:[]))];return u.length>0?`Filled in the form, but it can't be submitted yet: ${u.join(", ")} still needs the visitor. Ask them to complete it and press the submit button.`:(setTimeout(()=>e.requestSubmit(),0),"Filled in the form and submitted it.")}}}function pf(){return[...document.querySelectorAll("form[toolname][tooldescription]")].flatMap(e=>{let t=e.getAttribute("toolname")?.trim()??"",r=e.getAttribute("tooldescription")?.trim()??"";return t&&r?[xP(e,t,r)]:[]})}var _f=`${q.cssPrefix}.page-tools`,SP=20,wP=50;function $a(e){return typeof e=="object"&&e!==null}function kP(e){return $a(e)&&(e.state==="running"||e.state==="stopped"||e.state==="finished"&&$a(e.outcome))}function CP(e){let t=e?JSON.parse(e):void 0;if(!$a(t))return{sent:[],calls:{}};let r=Array.isArray(t.sent)?t.sent.filter(o=>typeof o=="string"):[],n=Object.fromEntries(Object.entries($a(t.calls)?t.calls:{}).filter(o=>kP(o[1])));return{sent:r,calls:n}}var Wl={sent:[],calls:{}};function zo(){try{Wl=CP(sessionStorage.getItem(_f))}catch{}return Wl}function Vl(e){Wl=e;try{sessionStorage.setItem(_f,JSON.stringify(e))}catch{}}var Bt={markSent(e){let t=zo();Vl({...t,sent:[...t.sent.filter(r=>r!==e),e].slice(-SP)})},sentHere(e){return zo().sent.includes(e)},get(e){return zo().calls[e]},set(e,t){let r=zo(),n=Object.entries(r.calls).filter(([o])=>o!==e);Vl({...r,calls:Object.fromEntries([...n,[e,t]].slice(-wP))})},clear(e){let t=zo();e.some(r=>r in t.calls)&&Vl({...t,calls:Object.fromEntries(Object.entries(t.calls).filter(([r])=>!e.includes(r)))})}};var Ql=ae.scope("page-tools"),ff="site__",mf=3e4,TP=1e3,gf=Symbol.for(`${q.cssPrefix}.page-tools`),Kl={state:"output-error",errorText:"The page reloaded before this finished, so it may or may not have taken effect. Check with the visitor before trying it again."},hf="The visitor stopped this before it finished.";function Ur(e){return typeof e=="object"&&e!==null}function IP(e){return Ur(e)&&Array.isArray(e.registered)&&e.runs instanceof Map}function Fo(){let e=Reflect.get(globalThis,gf);if(IP(e))return e;let t={registered:[],runs:new Map};return Reflect.set(globalThis,gf,t),t}function yf(e,t){let r=Ur(t)&&t.signal instanceof AbortSignal?t.signal:void 0;if(r?.aborted)return;let n=Fo().registered;n.push(e);function o(){let s=n.indexOf(e);s>=0&&n.splice(s,1)}r?.addEventListener("abort",o,{once:!0})}function vf(e){return e.replace(/[^A-Za-z0-9_-]/g,"_").slice(0,58)}function bf(e){if(!Ur(e)||typeof e.name!="string"||!vf(e.name))return;let t=typeof e.title=="string"&&e.title.trim()!==""?e.title.trim().slice(0,120):void 0,r=[e.description,t].find(o=>typeof o=="string"&&o.trim()!=="")??e.name,n=e.preview;return{name:vf(e.name),...t?{title:t}:{},...typeof n=="function"?{preview:o=>Reflect.apply(n,e,[o])}:{},description:r.trim().slice(0,1024),inputSchema:{properties:{},...Ur(e.inputSchema)?e.inputSchema:{},type:"object"},consequential:Ur(e.annotations)&&e.annotations.consequentialHint===!0}}function Gl(e){return e.flatMap(t=>{let r=bf(t),n=Ur(t)?t.execute:void 0;return!r||typeof n!="function"?(Ql.warn("skipped a tool without a name or an execute function",t),[]):[{...r,run:(o,s)=>Reflect.apply(n,t,[o,{signal:s}])}]})}async function RP(){let e=Reflect.get(document,"modelContext")??Reflect.get(navigator,"modelContext");if(!Ur(e)||typeof e.getTools!="function"||typeof e.executeTool!="function")return[];let t=e.getTools,r=e.executeTool,n=await Promise.race([Promise.resolve().then(()=>Reflect.apply(t,e,[])),ln(TP).then(()=>[])]).catch(()=>[]);return(Array.isArray(n)?n:[]).flatMap(o=>{let s=bf(o);return s?[{...s,run:(a,i)=>Reflect.apply(r,e,[o,a,{signal:i}])}]:[]})}async function Ho(e=[]){let t=Gl(pf()),r=new Set(t.map(s=>s.name)),o=[...(await RP()).filter(s=>!r.has(s.name)),...t,...Gl(e),...Gl(Fo().registered)];return new Map(o.map(s=>[s.name,s]))}function Yl(e){return[...e.values()].map(({name:t,title:r,description:n,inputSchema:o,consequential:s})=>{let a={name:t,description:n,inputSchema:o};return r&&(a.title=r),s&&(a.annotations={consequentialHint:!0}),a})}function dn(e){return e?.execution==="client"}function Wn(e){return e.startsWith(ff)?e.slice(ff.length):e}function AP(e){if(e===void 0||typeof e=="function"||typeof e=="symbol")return null;let t=new WeakSet,r=JSON.stringify(e,(n,o)=>{if(typeof o=="bigint")return o.toString();if(!(typeof o=="function"||typeof o=="symbol"))return o instanceof Node?`[${o.nodeName.toLowerCase()}]`:Ur(o)?t.has(o)?"[circular]":(t.add(o),o):o});return r.length>mf?{truncated:!0,preview:r.slice(0,mf)}:JSON.parse(r)}async function Pf(e){let t=(await Ho(e.optionTools)).get(Wn(e.toolName));if(!t?.preview)return;let r=t.preview;return Promise.resolve().then(()=>r(e.input)).catch(n=>{Ql.warn("a page tool preview failed",{name:t.name,error:n})})}async function EP(e){let t=Wn(e.toolName),r=(await Ho(e.optionTools)).get(t);return r?Promise.resolve().then(()=>r.run(e.input,e.signal)).then(n=>({state:"output-available",output:AP(n)})).catch(n=>(Ql.warn("a page tool failed",{name:t,error:n}),{state:"output-error",errorText:(n instanceof Error?n.message:String(n)).slice(0,1e3)||"The page tool failed."})):{state:"output-error",errorText:`This page doesn't offer "${t}" right now; the visitor may have moved on. Tell them, or continue without it.`}}function xf(e){let{toolCallId:t}=e,r=Bt.get(t);if(r?.state==="finished")return Promise.resolve(r.outcome);let{runs:n}=Fo(),o=n.get(t);if(o)return o.outcome;if(r?.state==="running")return Bt.set(t,{state:"finished",outcome:Kl}),e.onSettled("interrupted",0),Promise.resolve(Kl);let s=new AbortController,a=performance.now();Bt.set(t,{state:"running"});let i=EP({...e,signal:s.signal}).then(c=>(n.delete(t),Bt.get(t)?.state!=="running"||(Bt.set(t,{state:"finished",outcome:c}),e.onSettled(c.state==="output-available"?"completed":"failed",Math.round(performance.now()-a))),c));return n.set(t,{outcome:i,controller:s}),i}function Sf(e){return e===Kl.errorText||e===hf}function Jl(e){return Bt.set(e,{state:"stopped"}),Fo().runs.get(e)?.controller.abort(),hf}function wf(e){Bt.clear([e]),Fo().runs.get(e)?.controller.abort()}var Da=q.cssPrefix;function kf({messageId:e,initial:t,strings:r,onFeedback:n}){let[o,s]=B(t);F(()=>s(t),[e,t]);function a(i){let c=o===i?null:i;s(c),n(e,c)}return l("div",{class:`${Da}-feedback`,role:"group","data-testid":D.messageFeedback,children:[l("button",{type:"button",class:`${Da}-msg-action`,"data-active":o==="up"?"true":void 0,"aria-pressed":o==="up","aria-label":r.feedbackUp,title:r.feedbackUp,onClick:()=>a("up"),"data-testid":D.feedbackUp,children:l(f_,{})}),l("button",{type:"button",class:`${Da}-msg-action`,"data-active":o==="down"?"true":void 0,"aria-pressed":o==="down","aria-label":r.feedbackDown,title:r.feedbackDown,onClick:()=>a("down"),"data-testid":D.feedbackDown,children:l(m_,{})}),l("span",{class:`${Da}-sr-only`,role:"status","aria-live":"polite",children:o?r.feedbackThanks:""})]})}function Cf(e){return e.partsSig.value.some(t=>t.kind==="text"&&t.textSig.value.length>0)}function Tf(e){return e.partsSig.value.some(t=>t.kind==="reasoning")}function MP(e){return e.streaming&&!e.bufferedHold&&!(e.reasoningVisible&&e.working)}function If(e){let{streaming:t,reasoningVisible:r,emptyReply:n,hidden:o}=e,s=e.responseMode==="buffered"&&t,a=t&&!e.hasAnswerText;return{streaming:t,bufferedHold:s,reasoningVisible:r,working:a,showStreamDots:MP({streaming:t,bufferedHold:s,reasoningVisible:r,working:a}),emptyReply:n,hidden:o}}var Gn=q.cssPrefix;function Rf({part:e,strings:t}){let r=e.title||e.filename||e.url||t.sources;return e.url?l("a",{class:`${Gn}-source`,href:e.url,target:"_blank",rel:"noreferrer noopener","data-testid":D.source,children:[l("span",{class:`${Gn}-source-icon`,"aria-hidden":"true",children:"\u{1F517}"}),l("span",{class:`${Gn}-source-label`,children:r})]}):l("span",{class:`${Gn}-source`,"data-testid":D.source,children:[l("span",{class:`${Gn}-source-icon`,"aria-hidden":"true",children:"\u{1F4C4}"}),l("span",{class:`${Gn}-source-label`,children:r})]})}var Kt=q.cssPrefix;function Mf(e){return{toolCallId:e.toolCallId,toolName:e.toolName,...e.title?{title:e.title}:{},state:e.stateSig.value,input:e.inputSig.value,output:e.outputSig.value,...e.errorSig.value?{errorText:e.errorSig.value}:{},...e.approvalSig.value?{approval:e.approvalSig.value}:{},...e.toolMetadata?{toolMetadata:e.toolMetadata}:{}}}function Lf(e,t){if(t?.replacedByMessageId)return{terminal:!1,responded:!1,decided:!1};let r=e==="output-available"||e==="output-error"||e==="output-denied",n=e==="approval-responded"||t?.approved!==void 0;return{terminal:r,responded:n,decided:r||n}}function qa({status:e,label:t,icon:r}){return l("span",{class:`${Kt}-toolui-badge ${Kt}-toolui-status`,"data-status":e,children:[l("span",{class:`${Kt}-toolui-status-icon`,children:r??l(Xl,{status:e})}),t]})}function Xl({status:e}){return e==="running"?l("span",{class:`${Kt}-loading-spinner`}):e==="stopped"?l($r,{}):e==="waiting"||e==="submitted"?l(v_,{}):e==="failed"||e==="declined"||e==="replaced"?l(Oo,{}):l(cn,{})}function Ba(e){return e==="approved"||e==="declined"||e==="done"}function jo({decision:e}){return l("span",{class:`${Kt}-steps-decision`,"data-approved":e.approved?"true":"false",title:e.title,children:[e.approved?l(cn,{}):l(Oo,{}),e.label]})}function Ua({view:e,strings:t}){let r=e.raw;return l(he,{children:[e.reason?l("p",{class:`${Kt}-steps-row-reason`,children:e.reason}):null,e.error?l("p",{class:`${Kt}-steps-row-error`,children:e.error}):null,e.fields.length>0?l(Af,{fields:e.fields,label:r?t.stepInput:void 0}):null,e.resultFields?l(Af,{fields:e.resultFields,label:t.toolResult}):null,r?.input||r?.output?l("details",{class:`${Kt}-toolui-raw`,children:[l("summary",{children:t.stepRawData}),r.input?l(Ef,{label:t.stepInput,text:r.input}):null,r.output?l(Ef,{label:t.toolResult,text:r.output}):null]}):null]})}function Af({fields:e,label:t}){let r=l("div",{class:`${Kt}-toolui-fields`,children:l("table",{children:l("tbody",{children:e.map(({label:n,value:o},s)=>l("tr",{children:[l("th",{scope:"row",children:n}),l("td",{children:o})]},`${n}#${s}`))})})});return t?l("div",{class:`${Kt}-toolui-section`,children:[l("span",{class:`${Kt}-toolui-label`,children:t}),r]}):r}function Ef({label:e,text:t}){return l("div",{class:`${Kt}-toolui-section`,children:[l("span",{class:`${Kt}-toolui-label`,children:e}),l("pre",{class:`${Kt}-toolui-code`,children:t})]})}var Ut=q.cssPrefix;function Nf({part:e,view:t,strings:r,locale:n,canAct:o,onDecision:s,onEdit:a,preview:i}){let c=t.approval,u=t.status==="waiting"||t.status==="submitted"||t.status==="approved",p=e.toolCallId;return l("details",{class:`${Ut}-toolui ${Ut}-toolui-collapsible`,open:u||c?.buttons==="change"||void 0,"data-testid":t.status==="waiting"?D.toolApproval:D.toolDecision,"data-status":t.status,children:[l("summary",{class:`${Ut}-toolui-head`,children:[l("span",{class:`${Ut}-toolui-prompt`,children:u&&c?c.ask:t.name}),t.system?l("span",{class:`${Ut}-toolui-system`,children:t.system}):null,l("span",{class:`${Ut}-toolui-head-end`,children:[t.decision?l(jo,{decision:t.decision}):null,t.statusLabel&&!(t.decision&&Ba(t.status))?l(qa,{status:t.status,label:t.statusLabel}):null,l("span",{class:`${Ut}-toolui-chevron`,children:l(ar,{})})]})]}),l("div",{class:`${Ut}-toolui-collapse-body`,children:[u&&i&&dn(e.toolMetadata)?l(NP,{toolName:e.toolName,input:e.inputSig.value,preview:i,strings:r,locale:n}):null,l(Ua,{view:t,strings:r}),c?.note?l("p",{class:`${Ut}-toolui-subtle`,children:c.note}):null,c?.buttons==="decide"?l("div",{class:`${Ut}-toolui-actions`,children:[l("button",{type:"button",class:`${Ut}-form-skip`,disabled:!o,onClick:()=>s(p,!1),"data-testid":D.toolDecline,children:r.decline}),l("button",{type:"button",class:`${Ut}-form-submit`,disabled:!o,onClick:()=>s(p,!0),"data-testid":D.toolApprove,children:r.approve})]}):null,c?.buttons==="change"?l("div",{class:`${Ut}-toolui-actions`,children:l("button",{type:"button",class:`${Ut}-form-skip`,onClick:()=>a(p),"data-testid":D.toolEdit,children:r.changeAnswer})}):null]})]})}function LP(e){if(!(typeof e!="object"||e===null)&&"totals"in e)return"number"in e&&"items"in e?`root = Root([preview])
|
|
66
66
|
preview = Order(${JSON.stringify(e)})`:"lines"in e?`root = Root([preview])
|
|
67
67
|
preview = Cart(${JSON.stringify(e)})`:void 0}function NP({toolName:e,input:t,preview:r,strings:n,locale:o}){let[s,a]=B();F(()=>{let c=!0;return r(e,t).then(u=>{c&&a(LP(u))}),()=>{c=!1}},[e,t,r]);let i=ke(()=>s?{textSig:ie(s),doneSig:ie(!0),replyDoneSig:ie(!0)}:void 0,[s]);return i?l("div",{class:`${Ut}-toolui-preview`,"data-testid":D.toolPreview,children:l(vl,{cssPrefix:Ut,textSig:i.textSig,doneSig:i.doneSig,replyDoneSig:i.replyDoneSig,strings:n,locale:o})}):null}var OP=["text","email","phone","number","date","single-select","multi-select","boolean"];function Of(e){return e!==null&&typeof e=="object"}function $f(e,t){let r=Of(e)?e:{},o=(Array.isArray(r.questions)?r.questions:[]).map((s,a)=>$P(s,a,t)).filter(s=>s!==null);return{intro:za(r.intro),questions:o}}function $P(e,t,r){if(!Of(e))return null;let n=OP.find(o=>o===e.type)??"text";return{key:za(e.key)??`q${t+1}`,question:za(e.question)??r,type:n,options:Array.isArray(e.options)?e.options.filter(o=>typeof o=="string"&&o.trim().length>0):void 0,required:typeof e.required=="boolean"?e.required:void 0,helpText:za(e.helpText)}}function DP(e){switch(e){case"text":return"textarea";case"phone":return"tel";case"single-select":case"boolean":return"radio";case"multi-select":return"multiselect";default:return e}}function Zl(e,t,r){return e.questions.map(n=>{let o=DP(n.type),s=n.type==="boolean"?[{value:"yes",label:t},{value:"no",label:r}]:(n.options??[]).map(a=>({value:a,label:a}));return{name:n.key,label:n.question,type:o,required:n.required??!1,options:s.length>0?s:void 0,validationHint:n.helpText}})}function za(e){return typeof e=="string"&&e.trim()?e.trim():void 0}var bt=q.cssPrefix;function ec({fields:e,strings:t,submitLabel:r,onSubmit:n,skipLabel:o,onSkip:s,footerHint:a,submitOnEnter:i,disabled:c,initialValues:u,hideActions:p,fieldTypeLabels:_,rootTestId:d,submitTestId:f,skipTestId:v}){let[g,x]=B(()=>u??{}),[w,y]=B({}),[S,b]=B({});function k(I){S[I]&&b(A=>({...A,[I]:""}))}function h(I,A){x(C=>({...C,[I]:A})),k(I)}function m(I,A){y(C=>({...C,[I]:A})),k(I)}function P(I){if(I.preventDefault(),c)return;let A=zP(e,g,w),C=rf(e,A,t);if(Object.keys(C).length>0){b(C);return}n(A)}function R(I){!i||I.key!=="Enter"||I.shiftKey||Aa(I)||!I.target||!("tagName"in I.target)||I.target.tagName!=="TEXTAREA"||P(I)}return l("form",{class:`${bt}-form`,onSubmit:P,onKeyDown:R,onCompositionEnd:Ra,"data-testid":d,noValidate:!0,children:[e.map(I=>l(qP,{field:I,value:g[I.name],otherText:w[I.name]??"",error:S[I.name],disabled:c,typeLabel:_?.[I.name],strings:t,onChange:A=>h(I.name,A),onOtherChange:A=>m(I.name,A)},I.name)),p?null:l("div",{class:`${bt}-form-actions`,children:[a?l("span",{class:`${bt}-form-hint`,children:a}):null,o&&s?l("button",{type:"button",class:`${bt}-form-skip`,onClick:s,disabled:c,"data-testid":v,children:o}):null,l("button",{type:"submit",class:`${bt}-form-submit`,disabled:c,"data-testid":f,children:r})]})]})}function qP({field:e,value:t,otherText:r,error:n,disabled:o,typeLabel:s,strings:a,onChange:i,onOtherChange:c}){let u=Ct(D.formField,e.name),p=io(),_=BP({field:e,value:t,otherText:r,disabled:o,strings:a,onChange:i,onOtherChange:c,fieldTid:u,labelId:p}),d=e.type==="radio"||e.type==="multiselect"?"div":"label";return l(d,{class:`${bt}-field`,"data-field":e.name,"data-invalid":n?"true":void 0,children:[l("span",{class:`${bt}-field-head`,children:[l("span",{class:`${bt}-field-label`,id:p,children:[e.label,e.required?l("span",{class:`${bt}-field-req`,"aria-hidden":"true",children:" *"}):null]}),s?l("span",{class:`${bt}-field-type`,children:s}):null]}),_,e.validationHint&&!n?l("span",{class:`${bt}-field-hint`,children:e.validationHint}):null,n?l("span",{class:`${bt}-field-error`,role:"alert",children:n}):null]})}function BP(e){let{field:t,value:r,otherText:n,disabled:o,strings:s,onChange:a,onOtherChange:i,fieldTid:c,labelId:u}=e,p=typeof r=="string"?r:"";switch(t.type){case"textarea":return l("textarea",{class:`${bt}-field-input`,rows:3,value:p,disabled:o,onInput:d=>a(d.currentTarget.value),"data-testid":c});case"radio":return l("div",{class:`${bt}-field-choices`,role:"radiogroup","aria-labelledby":u,"data-testid":c,children:(t.options??[]).map(d=>l("label",{class:`${bt}-choice`,children:[l("input",{type:"radio",name:`${bt}-${t.name}`,checked:p===d.value,disabled:o,onChange:()=>a(d.value)}),l("span",{children:d.label})]},d.value))});case"multiselect":{let f=function(v,g){return a(g?[...d,v]:d.filter(x=>x!==v))};var _=f;let d=Array.isArray(r)?r:[];return l("div",{class:`${bt}-field-choices`,role:"group","aria-labelledby":u,"data-testid":c,children:[(t.options??[]).map(v=>l("label",{class:`${bt}-choice`,children:[l("input",{type:"checkbox",checked:d.includes(v.value),disabled:o,onChange:g=>f(v.value,g.currentTarget.checked)}),l("span",{children:v.label})]},v.value)),(t.options??[]).length===0?l("textarea",{class:`${bt}-field-input`,rows:2,value:n,placeholder:s.formOtherPlaceholder,disabled:o,onInput:v=>i(v.currentTarget.value)}):null]})}default:return l("input",{...UP(t.type),class:`${bt}-field-input`,value:p,disabled:o,onInput:d=>a(d.currentTarget.value),"data-testid":c})}}function UP(e){switch(e){case"number":return{type:e};case"email":return{type:e};case"tel":return{type:e};case"date":return{type:e};default:return{type:"text"}}}function zP(e,t,r){let n={...t};for(let o of e){let s=r[o.name]?.trim();if(o.type==="multiselect"&&s){let a=s.split(/[,\n;]+/).map(c=>c.trim()).filter(Boolean),i=t[o.name];n[o.name]=[...Array.isArray(i)?i:[],...a]}}return n}var pt=q.cssPrefix;function FP({skipped:e,submitted:t,strings:r}){return e?{status:"replaced",statusLabel:r.inputSkipped}:t?{status:"submitted",statusLabel:r.stepWorkingOnIt}:{status:"done",statusLabel:r.inputAnswered}}var HP={text:"qtypeText",email:"qtypeEmail",phone:"qtypePhone",number:"qtypeNumber",date:"qtypeDate","single-select":"qtypeChooseOne","multi-select":"qtypeChooseAny",boolean:"qtypeBoolean"};function qf(e,t){let r={};for(let n of e)r[n.key]=t[HP[n.type]];return r}function Bf({part:e,strings:t,active:r,superseded:n=!1,continuationStreaming:o=!1,onDecision:s,onEdit:a}){let i=ke(()=>ut(()=>e.stateSig.value),[e]).value,c=ke(()=>ut(()=>e.approvalSig.value),[e]).value,u=ke(()=>ut(()=>$f(e.inputSig.value,t.askFallbackQuestion)),[e,t]).value,{terminal:p,decided:_}=Lf(i,c),d=_&&c?.approved===!0,f=o&&!_,v=!_&&!n&&!f,g=!v&&!d&&!f,x=d&&r&&!p,w=u.questions,[y,S]=B(null),k=y??(v||d||f),[h,m]=B(!1),P=w.length>1?Ol:Lo,R=v?t.inputRequired:t.inputBadge,I=f?l("p",{class:`${pt}-toolui-subtle`,children:t.stepWorkingOnIt}):v?l(jP,{req:u,strings:t,active:r,resolve:(M,N)=>s(e.toolCallId,N,M)}):h?l(ec,{fields:Zl(u,t.confirmYes,t.confirmNo),strings:t,submitLabel:t.inputSubmit,onSubmit:()=>{},disabled:!0,hideActions:!0,fieldTypeLabels:qf(w,t),initialValues:d?QP(w,c?.reason):void 0}):l(VP,{questions:w,answers:d?KP(c?.reason):{},strings:t}),{status:A,statusLabel:C}=FP({skipped:g,submitted:f,strings:t});return l("details",{class:`${pt}-toolui ${pt}-toolui-collapsible${n?` ${pt}-toolui-stale`:""}`,open:k,onToggle:M=>{let N=M.currentTarget.open;N!==k&&S(N)},"data-testid":v?D.toolAskQuestions:D.toolDecision,children:[l("summary",{class:`${pt}-toolui-head`,children:[l("span",{class:`${pt}-toolui-q-pill`,children:[l(P,{}),R]}),l("span",{class:`${pt}-toolui-head-end`,children:[v?null:l(qa,{status:A,icon:g?l(Oo,{}):l(cn,{}),label:C}),l("span",{class:`${pt}-toolui-chevron`,children:l(ar,{})})]})]}),l("div",{class:`${pt}-toolui-collapse-body`,children:[u.intro?l("div",{class:`${pt}-toolui-desc`,children:u.intro}):null,I,v||f?null:l("div",{class:`${pt}-toolui-footer`,children:[l("button",{type:"button",class:`${pt}-toolui-options-toggle`,onClick:()=>m(M=>!M),"data-testid":D.toolAskOptions,children:[l("span",{class:`${pt}-toolui-options-chevron${h?` ${pt}-open`:""}`,children:l(ar,{})}),h?t.hideOptions:t.showOptions]}),x?l("button",{type:"button",class:`${pt}-form-skip`,onClick:()=>a(e.toolCallId),"data-testid":D.toolEdit,children:t.edit}):null]})]})]})}function jP({req:e,strings:t,active:r,resolve:n}){let o=Zl(e,t.confirmYes,t.confirmNo),s=e.questions.length===1&&e.questions[0]?.type==="text";return l(ec,{fields:o,strings:t,disabled:!r,submitLabel:t.inputSubmit,footerHint:s?t.inputSubmitHint:void 0,onSubmit:a=>n(GP(e.questions,a),!0),skipLabel:t.inputSkip,onSkip:()=>n(void 0,!1),submitOnEnter:s,fieldTypeLabels:qf(e.questions,t),submitTestId:D.toolInputSubmit,skipTestId:D.toolInputSkip})}function VP({questions:e,answers:t,strings:r}){return l("div",{class:`${pt}-toolui-summary`,"data-testid":D.toolAskSummary,children:e.map(n=>l("div",{class:`${pt}-field`,children:[l("span",{class:`${pt}-field-head`,children:l("span",{class:`${pt}-field-label`,children:[n.question,n.required?l("span",{class:`${pt}-field-req`,"aria-hidden":"true",children:" *"}):null]})}),l("p",{class:`${pt}-toolui-answer`,children:WP(n,t[n.key],r)||"\u2014"})]},n.key))})}function WP(e,t,r){return e.type!=="boolean"?t??"":t==="yes"?r.confirmYes:t==="no"?r.confirmNo:t??""}function GP(e,t){let r=e.flatMap(n=>{let o=t[n.key],s=typeof o=="string"?o.trim():o;return s?.length?[{key:n.key,value:s}]:[]});return JSON.stringify({answers:r})}function Uf(e){if(!e)return{};let t=(()=>{try{return JSON.parse(e)}catch{return}})(),r=Df(t)?t.answers:void 0;if(!Array.isArray(r))return{};let n={};for(let o of r)if(Df(o)){let{key:s,value:a}=o;if(typeof s!="string")continue;typeof a=="string"?n[s]=a:Array.isArray(a)&&(n[s]=a.filter(i=>typeof i=="string"))}return n}function Df(e){return typeof e=="object"&&e!==null&&!Array.isArray(e)}function KP(e){let t=Uf(e),r={};for(let[n,o]of Object.entries(t))r[n]=Array.isArray(o)?o.join(", "):o;return r}function QP(e,t){let r=Uf(t),n={};for(let o of e){let s=r[o.key];s!==void 0&&(o.type==="multi-select"?n[o.key]=Array.isArray(s)?s:[s]:n[o.key]=Array.isArray(s)?s[0]??"":s)}return n}var ve=q.cssPrefix;function Ff(e,t){let r=[];for(let[n,o]of e.entries()){let s=r.at(-1),a=o.kind==="tool"?t.viewOf(o):void 0,i=YP(o,a,t.showReasoning);if(i){s?.kind==="steps"?(s.rows.push(i),s.indices.push(n)):r.push({kind:"steps",rows:[i],indices:[n]});continue}o.kind==="step-start"||o.kind==="reasoning"||o.kind==="source"&&!t.showSources||a?.placement==="hidden"||r.push({kind:"part",part:o,index:n})}return r}function YP(e,t,r){return e.kind==="reasoning"?r?{kind:"thought",part:e}:void 0:e.kind==="tool"&&t?.placement==="step"?{kind:"tool",part:e,view:t}:void 0}function JP(e,t){let r=[...new Set(t)];if(!(!e||r.length===0||r.some(n=>n<0||n>=e.length)))return r.reduce((n,o)=>n+(e[o]?.durationMs??0),0)}function Hf(e){let t=[];for(let r of e)t.push((t.at(-1)??-1)+(r.kind==="step-start"?1:0));return t}function XP(e,t){return e.streaming?t.thinking:e.reasoningMs===void 0?t.thought:t.thoughtFor.replace("{time}",tc(e.reasoningMs))}function tc(e){if(e<1e4)return`${Number((e/1e3).toFixed(1))} s`;let t=Math.round(e/1e3);return t<60?`${t} s`:`${Math.floor(t/60)} m ${t%60} s`}function ZP(e){return e.split(`
|
|
68
68
|
`).map(t=>t.trim()).findLast(t=>/^\*\*[^*].*\*\*$/.test(t))?.slice(2,-2).trim()}function ex(e,t){return e?.kind==="tool"?`${e.view.name}\u2026`:(e&&ZP(e.part.textSig.value))??t.thinking}function jf({rows:e,steps:t=[],stepTimings:r,timed:n=!0,strings:o,running:s,runStartedAt:a}){let[i,c]=B(!1),[u,p]=B(!1),_=Jc(e.flatMap(w=>w.kind==="tool"?[w.view]:[])),d=e.at(-1),f=ke(()=>ut(()=>ex(d,o)),[d,o]).value,v=n?JP(r,t):void 0;function g(){c(!i),p(!0)}let[x]=e;return!s&&e.length===1&&x?.kind==="tool"?l("div",{class:`${ve}-steps`,"data-testid":D.toolSteps,"data-stopped":_.stopped?"true":void 0,children:l(zf,{view:x.view,strings:o,durationMs:v,standalone:!0})}):l("div",{class:`${ve}-steps`,"data-testid":D.toolSteps,"data-running":s?"true":void 0,"data-stopped":_.stopped?"true":void 0,children:[l("button",{type:"button",class:`${ve}-steps-head`,"aria-expanded":i,onClick:g,children:[l("span",{class:`${ve}-steps-icon`,"aria-hidden":"true",children:l(rx,{running:s,stopped:_.stopped!==void 0})}),l("span",{class:`${ve}-steps-label`,children:s?l("span",{class:`${ve}-steps-live`,children:f}):l(nx,{line:_,strings:o})}),!s&&_.failed>0?l("span",{class:`${ve}-steps-failed`,children:o.toolStepsFailed.replace("{count}",String(_.failed))}):null,s?null:_.marks.map(w=>l(jo,{decision:w},w.label)),s&&a?l(tx,{since:a}):null,!s&&v!==void 0?l("span",{class:`${ve}-steps-time`,children:tc(v)}):null,l("span",{class:`${ve}-steps-chevron`,"data-open":i?"true":void 0,children:l(ar,{})})]}),l("span",{class:`${ve}-sr-only`,role:"status",children:s?f:""}),l("div",{class:`${ve}-steps-body`,"data-open":i?"true":void 0,inert:!i,children:l("div",{class:`${ve}-steps-body-inner`,children:u?l("ol",{class:`${ve}-steps-list`,children:e.map((w,y)=>w.kind==="tool"?l(zf,{view:w.view,strings:o},w.part.toolCallId):l(rc,{part:w.part,current:s&&y===e.length-1,reasoningMs:r?.[t[y]??-1]?.reasoningMs,strings:o},`${w.part.id}#${y}`))}):null})})]})}function tx({since:e}){let[t,r]=B(()=>Date.now());F(()=>{let o=setInterval(()=>r(Date.now()),1e3);return()=>clearInterval(o)},[]);let n=Math.max(0,Math.floor((t-Date.parse(e))/1e3));return l("span",{class:`${ve}-steps-time`,children:n<60?`${n} s`:`${Math.floor(n/60)} m ${n%60} s`})}function rx({running:e,stopped:t}){return e?l("span",{class:`${ve}-loading-spinner`}):t?l($r,{}):l(g_,{})}function nx({line:e,strings:t}){return e.stopped?l(he,{children:Xc(e.stopped.finished,t)}):e.single?l(he,{children:[e.single.name,e.single.summary?l(he,{children:[l("span",{class:`${ve}-steps-sep`,"aria-hidden":"true",children:"\xB7"}),l("span",{class:`${ve}-steps-summary`,children:e.single.summary})]}):null,e.single.outcome?l("span",{class:`${ve}-steps-denied`,children:e.single.outcome}):null]}):l(he,{children:e.tools.map(({name:r,count:n},o)=>l("span",{class:`${ve}-steps-name`,children:[o>0?l("span",{class:`${ve}-steps-sep`,"aria-hidden":"true",children:"\xB7"}):null,r,n>1?l("span",{class:`${ve}-steps-count`,children:["\xD7",n]}):null]},r))})}function ox({view:e}){let t=e.statusLabel&&e.status!=="running"&&!(e.decision&&Ba(e.status))?l("span",{class:e.status==="failed"?`${ve}-steps-failed`:`${ve}-steps-denied`,children:e.statusLabel}):null;return l(he,{children:[e.decision?l(jo,{decision:e.decision}):null,t]})}function zf({view:e,strings:t,durationMs:r,standalone:n=!1}){let[o,s]=B(!1);return l(n?"div":"li",{class:`${ve}-steps-row`,"data-testid":D.toolStep,"data-status":e.status,children:[l("span",{class:`${ve}-steps-row-icon`,"aria-hidden":"true",children:l(Xl,{status:e.status})}),l("div",{class:`${ve}-steps-row-main`,children:[l("button",{type:"button",class:`${ve}-steps-row-head`,"aria-expanded":o,onClick:()=>s(!o),children:[l("span",{class:`${ve}-steps-row-label`,children:[l("span",{class:`${ve}-steps-row-name`,children:e.name}),e.system?l("span",{class:`${ve}-steps-row-system`,children:e.system}):null,e.summary?l("span",{class:`${ve}-steps-row-summary`,children:e.summary}):null]}),l(ox,{view:e}),r!==void 0?l("span",{class:`${ve}-steps-time`,children:tc(r)}):null,l("span",{class:`${ve}-steps-chevron`,"data-open":o?"true":void 0,children:l(ar,{})})]}),o?l("div",{class:`${ve}-steps-row-body`,children:l(Ua,{view:e,strings:t})}):null]})]})}function rc({part:e,current:t,reasoningMs:r,strings:n,standalone:o=!1}){let[s,a]=B(!1),i=ke(()=>ut(()=>e.textSig.value.trim()===""),[e]).value,c=l("span",{class:t?`${ve}-steps-thought-label ${ve}-steps-live`:`${ve}-steps-thought-label`,children:XP({streaming:t,reasoningMs:r},n)});return l(o?"div":"li",{class:`${ve}-steps-row ${ve}-steps-thought`,"data-status":"thought","data-testid":o?D.reasoning:void 0,children:[l("span",{class:`${ve}-steps-row-icon`,"aria-hidden":"true",children:l(h_,{})}),l("div",{class:`${ve}-steps-row-main`,children:[i?c:l("button",{type:"button",class:`${ve}-steps-row-head`,"aria-expanded":s,onClick:()=>a(!s),children:[c,l("span",{class:`${ve}-steps-chevron`,"data-open":s?"true":void 0,children:l(ar,{})})]}),s&&!i?l("div",{class:`${ve}-steps-thought-text ${ve}-reasoning-body`,children:l($o,{textSig:e.textSig,doneSig:e.doneSig})}):null]})]})}var tt=q.cssPrefix,Vf=cf(ix);function ix({message:e,status:t,createdAt:r,strings:n,locale:o,responseMode:s,showReasoning:a,stepDisplay:i,showSources:c,interactive:u=!1,superseded:p=!1,tool:_,onRetry:d,enableMessageFeedback:f=!1,onFeedback:v,reconnecting:g=!1,clientToolRunning:x=!1,onCardAction:w}){let S=[...ke(()=>ut(()=>e.partsSig.value),[e]).value];for(let oe of e.attachments??[])!oe.url||S.some(Se=>Se.kind==="file"&&Se.url===oe.url)||S.push({kind:"file",url:oe.url,mediaType:oe.mediaType,filename:oe.name,fileId:oe.id,fileSize:oe.size});let b=ke(()=>ut(()=>on(e)),[e,t,e.canceled]),k=ke(()=>ut(()=>Cf(e)),[e]),h=ke(()=>ut(()=>a&&Tf(e)),[e,a]),m=ke(()=>ut(()=>xp(e,h.value)),[e,h,t,e.canceled]),P=ke(()=>ut(()=>!Cl(e)),[e]),R=t==="streaming",I=e.role==="assistant"&&x,A=e.role==="assistant"&&(R||I),C=R||I,M=If({streaming:A,responseMode:s,reasoningVisible:h.value,hasAnswerText:k.value,emptyReply:b.value,hidden:m.value}),{bufferedHold:N,showStreamDots:j}=M;if(M.hidden)return null;let G=sx(r,o),z=e.role==="assistant"||e.role==="operator",ce=f&&!!v&&!!e.serverMessageId&&z&&!C&&t!=="error"&&!b.value,pe=C?"":S.filter(oe=>oe.kind==="text").map(oe=>e.role==="assistant"?oa(oe.textSig.peek()):oe.textSig.peek()).join(`
|