@inploi/plugin-chatbot 8.0.0 → 9.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,5 +1,5 @@
1
- "use strict";const Ot=require("@inploi/sdk");var Ht=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function ea(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}var wr=Array.isArray,Ke=wr,vr=typeof Ht=="object"&&Ht&&Ht.Object===Object&&Ht,gr=vr,br=gr,_r=typeof self=="object"&&self&&self.Object===Object&&self,mr=br||_r||Function("return this")(),We=mr,yr=We,xr=yr.Symbol,Ge=xr,pi=Ge,ia=Object.prototype,kr=ia.hasOwnProperty,$r=ia.toString,xt=pi?pi.toStringTag:void 0;function Sr(t){var e=kr.call(t,xt),i=t[xt];try{t[xt]=void 0;var a=!0}catch{}var r=$r.call(t);return a&&(e?t[xt]=i:delete t[xt]),r}var Cr=Sr,Er=Object.prototype,Pr=Er.toString;function Tr(t){return Pr.call(t)}var Or=Tr,hi=Ge,jr=Cr,Ir=Or,zr="[object Null]",Dr="[object Undefined]",fi=hi?hi.toStringTag:void 0;function Nr(t){return t==null?t===void 0?Dr:zr:fi&&fi in Object(t)?jr(t):Ir(t)}var aa=Nr;function Mr(t){return t!=null&&typeof t=="object"}var Ar=Mr,Fr=aa,Hr=Ar,Lr="[object Symbol]";function Br(t){return typeof t=="symbol"||Hr(t)&&Fr(t)==Lr}var Ye=Br,Rr=Ke,Ur=Ye,Vr=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,Kr=/^\w*$/;function Wr(t,e){if(Rr(t))return!1;var i=typeof t;return i=="number"||i=="symbol"||i=="boolean"||t==null||Ur(t)?!0:Kr.test(t)||!Vr.test(t)||e!=null&&t in Object(e)}var Gr=Wr;function Yr(t){var e=typeof t;return t!=null&&(e=="object"||e=="function")}var ra=Yr,qr=aa,Jr=ra,Xr="[object AsyncFunction]",Zr="[object Function]",Qr="[object GeneratorFunction]",to="[object Proxy]";function eo(t){if(!Jr(t))return!1;var e=qr(t);return e==Zr||e==Qr||e==Xr||e==to}var io=eo,ao=We,ro=ao["__core-js_shared__"],oo=ro,ue=oo,wi=function(){var t=/[^.]+$/.exec(ue&&ue.keys&&ue.keys.IE_PROTO||"");return t?"Symbol(src)_1."+t:""}();function no(t){return!!wi&&wi in t}var co=no,so=Function.prototype,lo=so.toString;function uo(t){if(t!=null){try{return lo.call(t)}catch{}try{return t+""}catch{}}return""}var po=uo,ho=io,fo=co,wo=ra,vo=po,go=/[\\^$.*+?()[\]{}|]/g,bo=/^\[object .+?Constructor\]$/,_o=Function.prototype,mo=Object.prototype,yo=_o.toString,xo=mo.hasOwnProperty,ko=RegExp("^"+yo.call(xo).replace(go,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function $o(t){if(!wo(t)||fo(t))return!1;var e=ho(t)?ko:bo;return e.test(vo(t))}var So=$o;function Co(t,e){return t==null?void 0:t[e]}var Eo=Co,Po=So,To=Eo;function Oo(t,e){var i=To(t,e);return Po(i)?i:void 0}var oa=Oo,jo=oa,Io=jo(Object,"create"),ee=Io,vi=ee;function zo(){this.__data__=vi?vi(null):{},this.size=0}var Do=zo;function No(t){var e=this.has(t)&&delete this.__data__[t];return this.size-=e?1:0,e}var Mo=No,Ao=ee,Fo="__lodash_hash_undefined__",Ho=Object.prototype,Lo=Ho.hasOwnProperty;function Bo(t){var e=this.__data__;if(Ao){var i=e[t];return i===Fo?void 0:i}return Lo.call(e,t)?e[t]:void 0}var Ro=Bo,Uo=ee,Vo=Object.prototype,Ko=Vo.hasOwnProperty;function Wo(t){var e=this.__data__;return Uo?e[t]!==void 0:Ko.call(e,t)}var Go=Wo,Yo=ee,qo="__lodash_hash_undefined__";function Jo(t,e){var i=this.__data__;return this.size+=this.has(t)?0:1,i[t]=Yo&&e===void 0?qo:e,this}var Xo=Jo,Zo=Do,Qo=Mo,tn=Ro,en=Go,an=Xo;function vt(t){var e=-1,i=t==null?0:t.length;for(this.clear();++e<i;){var a=t[e];this.set(a[0],a[1])}}vt.prototype.clear=Zo;vt.prototype.delete=Qo;vt.prototype.get=tn;vt.prototype.has=en;vt.prototype.set=an;var rn=vt;function on(){this.__data__=[],this.size=0}var nn=on;function cn(t,e){return t===e||t!==t&&e!==e}var sn=cn,ln=sn;function dn(t,e){for(var i=t.length;i--;)if(ln(t[i][0],e))return i;return-1}var ie=dn,un=ie,pn=Array.prototype,hn=pn.splice;function fn(t){var e=this.__data__,i=un(e,t);if(i<0)return!1;var a=e.length-1;return i==a?e.pop():hn.call(e,i,1),--this.size,!0}var wn=fn,vn=ie;function gn(t){var e=this.__data__,i=vn(e,t);return i<0?void 0:e[i][1]}var bn=gn,_n=ie;function mn(t){return _n(this.__data__,t)>-1}var yn=mn,xn=ie;function kn(t,e){var i=this.__data__,a=xn(i,t);return a<0?(++this.size,i.push([t,e])):i[a][1]=e,this}var $n=kn,Sn=nn,Cn=wn,En=bn,Pn=yn,Tn=$n;function gt(t){var e=-1,i=t==null?0:t.length;for(this.clear();++e<i;){var a=t[e];this.set(a[0],a[1])}}gt.prototype.clear=Sn;gt.prototype.delete=Cn;gt.prototype.get=En;gt.prototype.has=Pn;gt.prototype.set=Tn;var On=gt,jn=oa,In=We,zn=jn(In,"Map"),Dn=zn,gi=rn,Nn=On,Mn=Dn;function An(){this.size=0,this.__data__={hash:new gi,map:new(Mn||Nn),string:new gi}}var Fn=An;function Hn(t){var e=typeof t;return e=="string"||e=="number"||e=="symbol"||e=="boolean"?t!=="__proto__":t===null}var Ln=Hn,Bn=Ln;function Rn(t,e){var i=t.__data__;return Bn(e)?i[typeof e=="string"?"string":"hash"]:i.map}var ae=Rn,Un=ae;function Vn(t){var e=Un(this,t).delete(t);return this.size-=e?1:0,e}var Kn=Vn,Wn=ae;function Gn(t){return Wn(this,t).get(t)}var Yn=Gn,qn=ae;function Jn(t){return qn(this,t).has(t)}var Xn=Jn,Zn=ae;function Qn(t,e){var i=Zn(this,t),a=i.size;return i.set(t,e),this.size+=i.size==a?0:1,this}var tc=Qn,ec=Fn,ic=Kn,ac=Yn,rc=Xn,oc=tc;function bt(t){var e=-1,i=t==null?0:t.length;for(this.clear();++e<i;){var a=t[e];this.set(a[0],a[1])}}bt.prototype.clear=ec;bt.prototype.delete=ic;bt.prototype.get=ac;bt.prototype.has=rc;bt.prototype.set=oc;var nc=bt,na=nc,cc="Expected a function";function qe(t,e){if(typeof t!="function"||e!=null&&typeof e!="function")throw new TypeError(cc);var i=function(){var a=arguments,r=e?e.apply(this,a):a[0],o=i.cache;if(o.has(r))return o.get(r);var n=t.apply(this,a);return i.cache=o.set(r,n)||o,n};return i.cache=new(qe.Cache||na),i}qe.Cache=na;var sc=qe,lc=sc,dc=500;function uc(t){var e=lc(t,function(a){return i.size===dc&&i.clear(),a}),i=e.cache;return e}var pc=uc,hc=pc,fc=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,wc=/\\(\\)?/g,vc=hc(function(t){var e=[];return t.charCodeAt(0)===46&&e.push(""),t.replace(fc,function(i,a,r,o){e.push(r?o.replace(wc,"$1"):a||i)}),e}),gc=vc;function bc(t,e){for(var i=-1,a=t==null?0:t.length,r=Array(a);++i<a;)r[i]=e(t[i],i,t);return r}var _c=bc,bi=Ge,mc=_c,yc=Ke,xc=Ye,kc=1/0,_i=bi?bi.prototype:void 0,mi=_i?_i.toString:void 0;function ca(t){if(typeof t=="string")return t;if(yc(t))return mc(t,ca)+"";if(xc(t))return mi?mi.call(t):"";var e=t+"";return e=="0"&&1/t==-kc?"-0":e}var $c=ca,Sc=$c;function Cc(t){return t==null?"":Sc(t)}var Ec=Cc,Pc=Ke,Tc=Gr,Oc=gc,jc=Ec;function Ic(t,e){return Pc(t)?t:Tc(t,e)?[t]:Oc(jc(t))}var zc=Ic,Dc=Ye,Nc=1/0;function Mc(t){if(typeof t=="string"||Dc(t))return t;var e=t+"";return e=="0"&&1/t==-Nc?"-0":e}var Ac=Mc,Fc=zc,Hc=Ac;function Lc(t,e){e=Fc(e,t);for(var i=0,a=e.length;t!=null&&i<a;)t=t[Hc(e[i++])];return i&&i==a?t:void 0}var Bc=Lc,Rc=Bc;function Uc(t,e,i){var a=t==null?void 0:Rc(t,e);return a===void 0?i:a}var Vc=Uc;const sa=ea(Vc);var Dt,h,la,da,ot,yi,ua,Se,pa,ht={},ha=[],Kc=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i,re=Array.isArray;function Y(t,e){for(var i in e)t[i]=e[i];return t}function fa(t){var e=t.parentNode;e&&e.removeChild(t)}function F(t,e,i){var a,r,o,n={};for(o in e)o=="key"?a=e[o]:o=="ref"?r=e[o]:n[o]=e[o];if(arguments.length>2&&(n.children=arguments.length>3?Dt.call(arguments,2):i),typeof t=="function"&&t.defaultProps!=null)for(o in t.defaultProps)n[o]===void 0&&(n[o]=t.defaultProps[o]);return Ct(t,n,a,r,null)}function Ct(t,e,i,a,r){var o={type:t,props:e,key:i,ref:a,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,__h:null,constructor:void 0,__v:r??++la};return r==null&&h.vnode!=null&&h.vnode(o),o}function Wc(){return{current:null}}function L(t){return t.children}function H(t,e){this.props=t,this.context=e}function Gt(t,e){if(e==null)return t.__?Gt(t.__,t.__.__k.indexOf(t)+1):null;for(var i;e<t.__k.length;e++)if((i=t.__k[e])!=null&&i.__e!=null)return i.__e;return typeof t.type=="function"?Gt(t):null}function wa(t){var e,i;if((t=t.__)!=null&&t.__c!=null){for(t.__e=t.__c.base=null,e=0;e<t.__k.length;e++)if((i=t.__k[e])!=null&&i.__e!=null){t.__e=t.__c.base=i.__e;break}return wa(t)}}function Ce(t){(!t.__d&&(t.__d=!0)&&ot.push(t)&&!Yt.__r++||yi!==h.debounceRendering)&&((yi=h.debounceRendering)||ua)(Yt)}function Yt(){var t,e,i,a,r,o,n,c,l;for(ot.sort(Se);t=ot.shift();)t.__d&&(e=ot.length,a=void 0,r=void 0,o=void 0,c=(n=(i=t).__v).__e,(l=i.__P)&&(a=[],r=[],(o=Y({},n)).__v=n.__v+1,Je(l,n,o,i.__n,l.ownerSVGElement!==void 0,n.__h!=null?[c]:null,a,c??Gt(n),n.__h,r),_a(a,n,r),n.__e!=c&&wa(n)),ot.length>e&&ot.sort(Se));Yt.__r=0}function va(t,e,i,a,r,o,n,c,l,d,u){var s,w,v,f,g,D,k,b,_,y,E=0,T=a&&a.__k||ha,B=T.length,R=B,I=e.length;for(i.__k=[],s=0;s<I;s++)(f=i.__k[s]=(f=e[s])==null||typeof f=="boolean"||typeof f=="function"?null:typeof f=="string"||typeof f=="number"||typeof f=="bigint"?Ct(null,f,null,null,f):re(f)?Ct(L,{children:f},null,null,null):f.__b>0?Ct(f.type,f.props,f.key,f.ref?f.ref:null,f.__v):f)!=null&&(f.__=i,f.__b=i.__b+1,(b=Gc(f,T,k=s+E,R))===-1?v=ht:(v=T[b]||ht,T[b]=void 0,R--),Je(t,f,v,r,o,n,c,l,d,u),g=f.__e,(w=f.ref)&&v.ref!=w&&(v.ref&&Xe(v.ref,null,f),u.push(w,f.__c||g,f)),g!=null&&(D==null&&(D=g),y=!(_=v===ht||v.__v===null)&&b===k,_?b==-1&&E--:b!==k&&(b===k+1?(E++,y=!0):b>k?R>I-k?(E+=b-k,y=!0):E--:E=b<k&&b==k-1?b-k:0),k=s+E,y=y||b==s&&!_,typeof f.type!="function"||b===k&&v.__k!==f.__k?typeof f.type=="function"||y?f.__d!==void 0?(l=f.__d,f.__d=void 0):l=g.nextSibling:l=ba(t,g,l):l=ga(f,l,t),typeof i.type=="function"&&(i.__d=l)));for(i.__e=D,s=B;s--;)T[s]!=null&&(typeof i.type=="function"&&T[s].__e!=null&&T[s].__e==i.__d&&(i.__d=T[s].__e.nextSibling),ma(T[s],T[s]))}function ga(t,e,i){for(var a,r=t.__k,o=0;r&&o<r.length;o++)(a=r[o])&&(a.__=t,e=typeof a.type=="function"?ga(a,e,i):ba(i,a.__e,e));return e}function J(t,e){return e=e||[],t==null||typeof t=="boolean"||(re(t)?t.some(function(i){J(i,e)}):e.push(t)),e}function ba(t,e,i){return i==null||i.parentNode!==t?t.insertBefore(e,null):e==i&&e.parentNode!=null||t.insertBefore(e,i),e.nextSibling}function Gc(t,e,i,a){var r=t.key,o=t.type,n=i-1,c=i+1,l=e[i];if(l===null||l&&r==l.key&&o===l.type)return i;if(a>(l!=null?1:0))for(;n>=0||c<e.length;){if(n>=0){if((l=e[n])&&r==l.key&&o===l.type)return n;n--}if(c<e.length){if((l=e[c])&&r==l.key&&o===l.type)return c;c++}}return-1}function Yc(t,e,i,a,r){var o;for(o in i)o==="children"||o==="key"||o in e||qt(t,o,null,i[o],a);for(o in e)r&&typeof e[o]!="function"||o==="children"||o==="key"||o==="value"||o==="checked"||i[o]===e[o]||qt(t,o,e[o],i[o],a)}function xi(t,e,i){e[0]==="-"?t.setProperty(e,i??""):t[e]=i==null?"":typeof i!="number"||Kc.test(e)?i:i+"px"}function qt(t,e,i,a,r){var o;t:if(e==="style")if(typeof i=="string")t.style.cssText=i;else{if(typeof a=="string"&&(t.style.cssText=a=""),a)for(e in a)i&&e in i||xi(t.style,e,"");if(i)for(e in i)a&&i[e]===a[e]||xi(t.style,e,i[e])}else if(e[0]==="o"&&e[1]==="n")o=e!==(e=e.replace(/Capture$/,"")),e=e.toLowerCase()in t?e.toLowerCase().slice(2):e.slice(2),t.l||(t.l={}),t.l[e+o]=i,i?a||t.addEventListener(e,o?$i:ki,o):t.removeEventListener(e,o?$i:ki,o);else if(e!=="dangerouslySetInnerHTML"){if(r)e=e.replace(/xlink(H|:h)/,"h").replace(/sName$/,"s");else if(e!=="width"&&e!=="height"&&e!=="href"&&e!=="list"&&e!=="form"&&e!=="tabIndex"&&e!=="download"&&e!=="rowSpan"&&e!=="colSpan"&&e in t)try{t[e]=i??"";break t}catch{}typeof i=="function"||(i==null||i===!1&&e[4]!=="-"?t.removeAttribute(e):t.setAttribute(e,i))}}function ki(t){return this.l[t.type+!1](h.event?h.event(t):t)}function $i(t){return this.l[t.type+!0](h.event?h.event(t):t)}function Je(t,e,i,a,r,o,n,c,l,d){var u,s,w,v,f,g,D,k,b,_,y,E,T,B,R,I=e.type;if(e.constructor!==void 0)return null;i.__h!=null&&(l=i.__h,c=e.__e=i.__e,e.__h=null,o=[c]),(u=h.__b)&&u(e);try{t:if(typeof I=="function"){if(k=e.props,b=(u=I.contextType)&&a[u.__c],_=u?b?b.props.value:u.__:a,i.__c?D=(s=e.__c=i.__c).__=s.__E:("prototype"in I&&I.prototype.render?e.__c=s=new I(k,_):(e.__c=s=new H(k,_),s.constructor=I,s.render=Jc),b&&b.sub(s),s.props=k,s.state||(s.state={}),s.context=_,s.__n=a,w=s.__d=!0,s.__h=[],s._sb=[]),s.__s==null&&(s.__s=s.state),I.getDerivedStateFromProps!=null&&(s.__s==s.state&&(s.__s=Y({},s.__s)),Y(s.__s,I.getDerivedStateFromProps(k,s.__s))),v=s.props,f=s.state,s.__v=e,w)I.getDerivedStateFromProps==null&&s.componentWillMount!=null&&s.componentWillMount(),s.componentDidMount!=null&&s.__h.push(s.componentDidMount);else{if(I.getDerivedStateFromProps==null&&k!==v&&s.componentWillReceiveProps!=null&&s.componentWillReceiveProps(k,_),!s.__e&&(s.shouldComponentUpdate!=null&&s.shouldComponentUpdate(k,s.__s,_)===!1||e.__v===i.__v)){for(e.__v!==i.__v&&(s.props=k,s.state=s.__s,s.__d=!1),e.__e=i.__e,e.__k=i.__k,e.__k.forEach(function(Ft){Ft&&(Ft.__=e)}),y=0;y<s._sb.length;y++)s.__h.push(s._sb[y]);s._sb=[],s.__h.length&&n.push(s);break t}s.componentWillUpdate!=null&&s.componentWillUpdate(k,s.__s,_),s.componentDidUpdate!=null&&s.__h.push(function(){s.componentDidUpdate(v,f,g)})}if(s.context=_,s.props=k,s.__P=t,s.__e=!1,E=h.__r,T=0,"prototype"in I&&I.prototype.render){for(s.state=s.__s,s.__d=!1,E&&E(e),u=s.render(s.props,s.state,s.context),B=0;B<s._sb.length;B++)s.__h.push(s._sb[B]);s._sb=[]}else do s.__d=!1,E&&E(e),u=s.render(s.props,s.state,s.context),s.state=s.__s;while(s.__d&&++T<25);s.state=s.__s,s.getChildContext!=null&&(a=Y(Y({},a),s.getChildContext())),w||s.getSnapshotBeforeUpdate==null||(g=s.getSnapshotBeforeUpdate(v,f)),va(t,re(R=u!=null&&u.type===L&&u.key==null?u.props.children:u)?R:[R],e,i,a,r,o,n,c,l,d),s.base=e.__e,e.__h=null,s.__h.length&&n.push(s),D&&(s.__E=s.__=null)}else o==null&&e.__v===i.__v?(e.__k=i.__k,e.__e=i.__e):e.__e=qc(i.__e,e,i,a,r,o,n,l,d);(u=h.diffed)&&u(e)}catch(Ft){e.__v=null,(l||o!=null)&&(e.__e=c,e.__h=!!l,o[o.indexOf(c)]=null),h.__e(Ft,e,i)}}function _a(t,e,i){for(var a=0;a<i.length;a++)Xe(i[a],i[++a],i[++a]);h.__c&&h.__c(e,t),t.some(function(r){try{t=r.__h,r.__h=[],t.some(function(o){o.call(r)})}catch(o){h.__e(o,r.__v)}})}function qc(t,e,i,a,r,o,n,c,l){var d,u,s,w=i.props,v=e.props,f=e.type,g=0;if(f==="svg"&&(r=!0),o!=null){for(;g<o.length;g++)if((d=o[g])&&"setAttribute"in d==!!f&&(f?d.localName===f:d.nodeType===3)){t=d,o[g]=null;break}}if(t==null){if(f===null)return document.createTextNode(v);t=r?document.createElementNS("http://www.w3.org/2000/svg",f):document.createElement(f,v.is&&v),o=null,c=!1}if(f===null)w===v||c&&t.data===v||(t.data=v);else{if(o=o&&Dt.call(t.childNodes),u=(w=i.props||ht).dangerouslySetInnerHTML,s=v.dangerouslySetInnerHTML,!c){if(o!=null)for(w={},g=0;g<t.attributes.length;g++)w[t.attributes[g].name]=t.attributes[g].value;(s||u)&&(s&&(u&&s.__html==u.__html||s.__html===t.innerHTML)||(t.innerHTML=s&&s.__html||""))}if(Yc(t,v,w,r,c),s)e.__k=[];else if(va(t,re(g=e.props.children)?g:[g],e,i,a,r&&f!=="foreignObject",o,n,o?o[0]:i.__k&&Gt(i,0),c,l),o!=null)for(g=o.length;g--;)o[g]!=null&&fa(o[g]);c||("value"in v&&(g=v.value)!==void 0&&(g!==t.value||f==="progress"&&!g||f==="option"&&g!==w.value)&&qt(t,"value",g,w.value,!1),"checked"in v&&(g=v.checked)!==void 0&&g!==t.checked&&qt(t,"checked",g,w.checked,!1))}return t}function Xe(t,e,i){try{typeof t=="function"?t(e):t.current=e}catch(a){h.__e(a,i)}}function ma(t,e,i){var a,r;if(h.unmount&&h.unmount(t),(a=t.ref)&&(a.current&&a.current!==t.__e||Xe(a,null,e)),(a=t.__c)!=null){if(a.componentWillUnmount)try{a.componentWillUnmount()}catch(o){h.__e(o,e)}a.base=a.__P=null,t.__c=void 0}if(a=t.__k)for(r=0;r<a.length;r++)a[r]&&ma(a[r],e,i||typeof t.type!="function");i||t.__e==null||fa(t.__e),t.__=t.__e=t.__d=void 0}function Jc(t,e,i){return this.constructor(t,i)}function dt(t,e,i){var a,r,o,n;h.__&&h.__(t,e),r=(a=typeof i=="function")?null:i&&i.__k||e.__k,o=[],n=[],Je(e,t=(!a&&i||e).__k=F(L,null,[t]),r||ht,ht,e.ownerSVGElement!==void 0,!a&&i?[i]:r?null:e.firstChild?Dt.call(e.childNodes):null,o,!a&&i?i:r?r.__e:e.firstChild,a,n),_a(o,t,n)}function ya(t,e){dt(t,e,ya)}function Xc(t,e,i){var a,r,o,n,c=Y({},t.props);for(o in t.type&&t.type.defaultProps&&(n=t.type.defaultProps),e)o=="key"?a=e[o]:o=="ref"?r=e[o]:c[o]=e[o]===void 0&&n!==void 0?n[o]:e[o];return arguments.length>2&&(c.children=arguments.length>3?Dt.call(arguments,2):i),Ct(t.type,c,a||t.key,r||t.ref,null)}function xa(t,e){var i={__c:e="__cC"+pa++,__:t,Consumer:function(a,r){return a.children(r)},Provider:function(a){var r,o;return this.getChildContext||(r=[],(o={})[e]=this,this.getChildContext=function(){return o},this.shouldComponentUpdate=function(n){this.props.value!==n.value&&r.some(function(c){c.__e=!0,Ce(c)})},this.sub=function(n){r.push(n);var c=n.componentWillUnmount;n.componentWillUnmount=function(){r.splice(r.indexOf(n),1),c&&c.call(n)}}),a.children}};return i.Provider.__=i.Consumer.contextType=i}Dt=ha.slice,h={__e:function(t,e,i,a){for(var r,o,n;e=e.__;)if((r=e.__c)&&!r.__)try{if((o=r.constructor)&&o.getDerivedStateFromError!=null&&(r.setState(o.getDerivedStateFromError(t)),n=r.__d),r.componentDidCatch!=null&&(r.componentDidCatch(t,a||{}),n=r.__d),n)return r.__E=r}catch(c){t=c}throw t}},la=0,da=function(t){return t!=null&&t.constructor===void 0},H.prototype.setState=function(t,e){var i;i=this.__s!=null&&this.__s!==this.state?this.__s:this.__s=Y({},this.state),typeof t=="function"&&(t=t(Y({},i),this.props)),t&&Y(i,t),t!=null&&this.__v&&(e&&this._sb.push(e),Ce(this))},H.prototype.forceUpdate=function(t){this.__v&&(this.__e=!0,t&&this.__h.push(t),Ce(this))},H.prototype.render=L,ot=[],ua=typeof Promise=="function"?Promise.prototype.then.bind(Promise.resolve()):setTimeout,Se=function(t,e){return t.__v.__b-e.__v.__b},Yt.__r=0,pa=0;function ka(t){var e,i,a="";if(typeof t=="string"||typeof t=="number")a+=t;else if(typeof t=="object")if(Array.isArray(t)){var r=t.length;for(e=0;e<r;e++)t[e]&&(i=ka(t[e]))&&(a&&(a+=" "),a+=i)}else for(i in t)t[i]&&(a&&(a+=" "),a+=i);return a}function oe(){for(var t,e,i=0,a="",r=arguments.length;i<r;i++)(t=arguments[i])&&(e=ka(t))&&(a&&(a+=" "),a+=e);return a}const Si=t=>typeof t=="boolean"?`${t}`:t===0?"0":t,Ci=oe,ne=(t,e)=>i=>{var a;if((e==null?void 0:e.variants)==null)return Ci(t,i==null?void 0:i.class,i==null?void 0:i.className);const{variants:r,defaultVariants:o}=e,n=Object.keys(r).map(d=>{const u=i==null?void 0:i[d],s=o==null?void 0:o[d];if(u===null)return null;const w=Si(u)||Si(s);return r[d][w]}),c=i&&Object.entries(i).reduce((d,u)=>{let[s,w]=u;return w===void 0||(d[s]=w),d},{}),l=e==null||(a=e.compoundVariants)===null||a===void 0?void 0:a.reduce((d,u)=>{let{class:s,className:w,...v}=u;return Object.entries(v).every(f=>{let[g,D]=f;return Array.isArray(D)?D.includes({...o,...c}[g]):{...o,...c}[g]===D})?[...d,s,w]:d},[]);return Ci(t,n,l,i==null?void 0:i.class,i==null?void 0:i.className)};var it,C,pe,Ei,wt=0,$a=[],Bt=[],Pi=h.__b,Ti=h.__r,Oi=h.diffed,ji=h.__c,Ii=h.unmount;function _t(t,e){h.__h&&h.__h(C,t,wt||e),wt=0;var i=C.__H||(C.__H={__:[],__h:[]});return t>=i.__.length&&i.__.push({__V:Bt}),i.__[t]}function Ze(t){return wt=1,Sa(Ea,t)}function Sa(t,e,i){var a=_t(it++,2);if(a.t=t,!a.__c&&(a.__=[i?i(e):Ea(void 0,e),function(c){var l=a.__N?a.__N[0]:a.__[0],d=a.t(l,c);l!==d&&(a.__N=[d,a.__[1]],a.__c.setState({}))}],a.__c=C,!C.u)){var r=function(c,l,d){if(!a.__c.__H)return!0;var u=a.__c.__H.__.filter(function(w){return w.__c});if(u.every(function(w){return!w.__N}))return!o||o.call(this,c,l,d);var s=!1;return u.forEach(function(w){if(w.__N){var v=w.__[0];w.__=w.__N,w.__N=void 0,v!==w.__[0]&&(s=!0)}}),!(!s&&a.__c.props===c)&&(!o||o.call(this,c,l,d))};C.u=!0;var o=C.shouldComponentUpdate,n=C.componentWillUpdate;C.componentWillUpdate=function(c,l,d){if(this.__e){var u=o;o=void 0,r(c,l,d),o=u}n&&n.call(this,c,l,d)},C.shouldComponentUpdate=r}return a.__N||a.__}function Qe(t,e){var i=_t(it++,3);!h.__s&&ti(i.__H,e)&&(i.__=t,i.i=e,C.__H.__h.push(i))}function pt(t,e){var i=_t(it++,4);!h.__s&&ti(i.__H,e)&&(i.__=t,i.i=e,C.__h.push(i))}function Nt(t){return wt=5,rt(function(){return{current:t}},[])}function Zc(t,e,i){wt=6,pt(function(){return typeof t=="function"?(t(e()),function(){return t(null)}):t?(t.current=e(),function(){return t.current=null}):void 0},i==null?i:i.concat(t))}function rt(t,e){var i=_t(it++,7);return ti(i.__H,e)?(i.__V=t(),i.i=e,i.__h=t,i.__V):i.__}function Qc(t,e){return wt=8,rt(function(){return t},e)}function Ca(t){var e=C.context[t.__c],i=_t(it++,9);return i.c=t,e?(i.__==null&&(i.__=!0,e.sub(C)),e.props.value):t.__}function ts(t,e){h.useDebugValue&&h.useDebugValue(e?e(t):t)}function es(){var t=_t(it++,11);if(!t.__){for(var e=C.__v;e!==null&&!e.__m&&e.__!==null;)e=e.__;var i=e.__m||(e.__m=[0,0]);t.__="P"+i[0]+"-"+i[1]++}return t.__}function is(){for(var t;t=$a.shift();)if(t.__P&&t.__H)try{t.__H.__h.forEach(Rt),t.__H.__h.forEach(Ee),t.__H.__h=[]}catch(e){t.__H.__h=[],h.__e(e,t.__v)}}h.__b=function(t){C=null,Pi&&Pi(t)},h.__r=function(t){Ti&&Ti(t),it=0;var e=(C=t.__c).__H;e&&(pe===C?(e.__h=[],C.__h=[],e.__.forEach(function(i){i.__N&&(i.__=i.__N),i.__V=Bt,i.__N=i.i=void 0})):(e.__h.forEach(Rt),e.__h.forEach(Ee),e.__h=[],it=0)),pe=C},h.diffed=function(t){Oi&&Oi(t);var e=t.__c;e&&e.__H&&(e.__H.__h.length&&($a.push(e)!==1&&Ei===h.requestAnimationFrame||((Ei=h.requestAnimationFrame)||as)(is)),e.__H.__.forEach(function(i){i.i&&(i.__H=i.i),i.__V!==Bt&&(i.__=i.__V),i.i=void 0,i.__V=Bt})),pe=C=null},h.__c=function(t,e){e.some(function(i){try{i.__h.forEach(Rt),i.__h=i.__h.filter(function(a){return!a.__||Ee(a)})}catch(a){e.some(function(r){r.__h&&(r.__h=[])}),e=[],h.__e(a,i.__v)}}),ji&&ji(t,e)},h.unmount=function(t){Ii&&Ii(t);var e,i=t.__c;i&&i.__H&&(i.__H.__.forEach(function(a){try{Rt(a)}catch(r){e=r}}),i.__H=void 0,e&&h.__e(e,i.__v))};var zi=typeof requestAnimationFrame=="function";function as(t){var e,i=function(){clearTimeout(a),zi&&cancelAnimationFrame(e),setTimeout(t)},a=setTimeout(i,100);zi&&(e=requestAnimationFrame(i))}function Rt(t){var e=C,i=t.__c;typeof i=="function"&&(t.__c=void 0,i()),C=e}function Ee(t){var e=C;t.__c=t.__(),C=e}function ti(t,e){return!t||t.length!==e.length||e.some(function(i,a){return i!==t[a]})}function Ea(t,e){return typeof e=="function"?e(t):e}function Pa(t,e){for(var i in e)t[i]=e[i];return t}function Pe(t,e){for(var i in t)if(i!=="__source"&&!(i in e))return!0;for(var a in e)if(a!=="__source"&&t[a]!==e[a])return!0;return!1}function he(t,e){return t===e&&(t!==0||1/t==1/e)||t!=t&&e!=e}function Te(t){this.props=t}function rs(t,e){function i(r){var o=this.props.ref,n=o==r.ref;return!n&&o&&(o.call?o(null):o.current=null),e?!e(this.props,r)||!n:Pe(this.props,r)}function a(r){return this.shouldComponentUpdate=i,F(t,r)}return a.displayName="Memo("+(t.displayName||t.name)+")",a.prototype.isReactComponent=!0,a.__f=!0,a}(Te.prototype=new H).isPureReactComponent=!0,Te.prototype.shouldComponentUpdate=function(t,e){return Pe(this.props,t)||Pe(this.state,e)};var Di=h.__b;h.__b=function(t){t.type&&t.type.__f&&t.ref&&(t.props.ref=t.ref,t.ref=null),Di&&Di(t)};var os=typeof Symbol<"u"&&Symbol.for&&Symbol.for("react.forward_ref")||3911;function Ta(t){function e(i){var a=Pa({},i);return delete a.ref,t(a,i.ref||null)}return e.$$typeof=os,e.render=e,e.prototype.isReactComponent=e.__f=!0,e.displayName="ForwardRef("+(t.displayName||t.name)+")",e}var Ni=function(t,e){return t==null?null:J(J(t).map(e))},ns={map:Ni,forEach:Ni,count:function(t){return t?J(t).length:0},only:function(t){var e=J(t);if(e.length!==1)throw"Children.only";return e[0]},toArray:J},cs=h.__e;h.__e=function(t,e,i,a){if(t.then){for(var r,o=e;o=o.__;)if((r=o.__c)&&r.__c)return e.__e==null&&(e.__e=i.__e,e.__k=i.__k),r.__c(t,e)}cs(t,e,i,a)};var Mi=h.unmount;function Oa(t,e,i){return t&&(t.__c&&t.__c.__H&&(t.__c.__H.__.forEach(function(a){typeof a.__c=="function"&&a.__c()}),t.__c.__H=null),(t=Pa({},t)).__c!=null&&(t.__c.__P===i&&(t.__c.__P=e),t.__c=null),t.__k=t.__k&&t.__k.map(function(a){return Oa(a,e,i)})),t}function ja(t,e,i){return t&&(t.__v=null,t.__k=t.__k&&t.__k.map(function(a){return ja(a,e,i)}),t.__c&&t.__c.__P===e&&(t.__e&&i.insertBefore(t.__e,t.__d),t.__c.__e=!0,t.__c.__P=i)),t}function Et(){this.__u=0,this.t=null,this.__b=null}function Ia(t){var e=t.__.__c;return e&&e.__a&&e.__a(t)}function za(t){var e,i,a;function r(o){if(e||(e=t()).then(function(n){i=n.default||n},function(n){a=n}),a)throw a;if(!i)throw e;return F(i,o)}return r.displayName="Lazy",r.__f=!0,r}function St(){this.u=null,this.o=null}h.unmount=function(t){var e=t.__c;e&&e.__R&&e.__R(),e&&t.__h===!0&&(t.type=null),Mi&&Mi(t)},(Et.prototype=new H).__c=function(t,e){var i=e.__c,a=this;a.t==null&&(a.t=[]),a.t.push(i);var r=Ia(a.__v),o=!1,n=function(){o||(o=!0,i.__R=null,r?r(c):c())};i.__R=n;var c=function(){if(!--a.__u){if(a.state.__a){var d=a.state.__a;a.__v.__k[0]=ja(d,d.__c.__P,d.__c.__O)}var u;for(a.setState({__a:a.__b=null});u=a.t.pop();)u.forceUpdate()}},l=e.__h===!0;a.__u++||l||a.setState({__a:a.__b=a.__v.__k[0]}),t.then(n,n)},Et.prototype.componentWillUnmount=function(){this.t=[]},Et.prototype.render=function(t,e){if(this.__b){if(this.__v.__k){var i=document.createElement("div"),a=this.__v.__k[0].__c;this.__v.__k[0]=Oa(this.__b,i,a.__O=a.__P)}this.__b=null}var r=e.__a&&F(L,null,t.fallback);return r&&(r.__h=null),[F(L,null,e.__a?null:t.children),r]};var Ai=function(t,e,i){if(++i[1]===i[0]&&t.o.delete(e),t.props.revealOrder&&(t.props.revealOrder[0]!=="t"||!t.o.size))for(i=t.u;i;){for(;i.length>3;)i.pop()();if(i[1]<i[0])break;t.u=i=i[2]}};function ss(t){return this.getChildContext=function(){return t.context},t.children}function ls(t){var e=this,i=t.i;e.componentWillUnmount=function(){dt(null,e.l),e.l=null,e.i=null},e.i&&e.i!==i&&e.componentWillUnmount(),t.__v?(e.l||(e.i=i,e.l={nodeType:1,parentNode:i,childNodes:[],appendChild:function(a){this.childNodes.push(a),e.i.appendChild(a)},insertBefore:function(a,r){this.childNodes.push(a),e.i.appendChild(a)},removeChild:function(a){this.childNodes.splice(this.childNodes.indexOf(a)>>>1,1),e.i.removeChild(a)}}),dt(F(ss,{context:e.context},t.__v),e.l)):e.l&&e.componentWillUnmount()}function ds(t,e){var i=F(ls,{__v:t,i:e});return i.containerInfo=e,i}(St.prototype=new H).__a=function(t){var e=this,i=Ia(e.__v),a=e.o.get(t);return a[0]++,function(r){var o=function(){e.props.revealOrder?(a.push(r),Ai(e,t,a)):r()};i?i(o):o()}},St.prototype.render=function(t){this.u=null,this.o=new Map;var e=J(t.children);t.revealOrder&&t.revealOrder[0]==="b"&&e.reverse();for(var i=e.length;i--;)this.o.set(e[i],this.u=[1,0,this.u]);return t.children},St.prototype.componentDidUpdate=St.prototype.componentDidMount=function(){var t=this;this.o.forEach(function(e,i){Ai(t,i,e)})};var Da=typeof Symbol<"u"&&Symbol.for&&Symbol.for("react.element")||60103,us=/^(?: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]/,ps=/^on(Ani|Tra|Tou|BeforeInp|Compo)/,hs=/[A-Z0-9]/g,fs=typeof document<"u",ws=function(t){return(typeof Symbol<"u"&&typeof Symbol()=="symbol"?/fil|che|rad/:/fil|che|ra/).test(t)};function vs(t,e,i){return e.__k==null&&(e.textContent=""),dt(t,e),typeof i=="function"&&i(),t?t.__c:null}function gs(t,e,i){return ya(t,e),typeof i=="function"&&i(),t?t.__c:null}H.prototype.isReactComponent={},["componentWillMount","componentWillReceiveProps","componentWillUpdate"].forEach(function(t){Object.defineProperty(H.prototype,t,{configurable:!0,get:function(){return this["UNSAFE_"+t]},set:function(e){Object.defineProperty(this,t,{configurable:!0,writable:!0,value:e})}})});var Fi=h.event;function bs(){}function _s(){return this.cancelBubble}function ms(){return this.defaultPrevented}h.event=function(t){return Fi&&(t=Fi(t)),t.persist=bs,t.isPropagationStopped=_s,t.isDefaultPrevented=ms,t.nativeEvent=t};var ei,ys={enumerable:!1,configurable:!0,get:function(){return this.class}},Hi=h.vnode;h.vnode=function(t){typeof t.type=="string"&&function(e){var i=e.props,a=e.type,r={};for(var o in i){var n=i[o];if(!(o==="value"&&"defaultValue"in i&&n==null||fs&&o==="children"&&a==="noscript"||o==="class"||o==="className")){var c=o.toLowerCase();o==="defaultValue"&&"value"in i&&i.value==null?o="value":o==="download"&&n===!0?n="":c==="ondoubleclick"?o="ondblclick":c!=="onchange"||a!=="input"&&a!=="textarea"||ws(i.type)?c==="onfocus"?o="onfocusin":c==="onblur"?o="onfocusout":ps.test(o)?o=c:a.indexOf("-")===-1&&us.test(o)?o=o.replace(hs,"-$&").toLowerCase():n===null&&(n=void 0):c=o="oninput",c==="oninput"&&r[o=c]&&(o="oninputCapture"),r[o]=n}}a=="select"&&r.multiple&&Array.isArray(r.value)&&(r.value=J(i.children).forEach(function(l){l.props.selected=r.value.indexOf(l.props.value)!=-1})),a=="select"&&r.defaultValue!=null&&(r.value=J(i.children).forEach(function(l){l.props.selected=r.multiple?r.defaultValue.indexOf(l.props.value)!=-1:r.defaultValue==l.props.value})),i.class&&!i.className?(r.class=i.class,Object.defineProperty(r,"className",ys)):(i.className&&!i.class||i.class&&i.className)&&(r.class=r.className=i.className),e.props=r}(t),t.$$typeof=Da,Hi&&Hi(t)};var Li=h.__r;h.__r=function(t){Li&&Li(t),ei=t.__c};var Bi=h.diffed;h.diffed=function(t){Bi&&Bi(t);var e=t.props,i=t.__e;i!=null&&t.type==="textarea"&&"value"in e&&e.value!==i.value&&(i.value=e.value==null?"":e.value),ei=null};var xs={ReactCurrentDispatcher:{current:{readContext:function(t){return ei.__n[t.__c].props.value}}}};function ks(t){return F.bind(null,t)}function Na(t){return!!t&&t.$$typeof===Da}function $s(t){return Na(t)?Xc.apply(null,arguments):t}function Ss(t){return!!t.__k&&(dt(null,t),!0)}function Cs(t){return t&&(t.base||t.nodeType===1&&t)||null}var Es=function(t,e){return t(e)},Ps=function(t,e){return t(e)},Ts=L;function Ma(t){t()}function Os(t){return t}function js(){return[!1,Ma]}var Is=pt;function zs(t,e){var i=e(),a=Ze({h:{__:i,v:e}}),r=a[0].h,o=a[1];return pt(function(){r.__=i,r.v=e,he(r.__,e())||o({h:r})},[t,i,e]),Qe(function(){return he(r.__,r.v())||o({h:r}),t(function(){he(r.__,r.v())||o({h:r})})},[t]),i}var Ds={useState:Ze,useId:es,useReducer:Sa,useEffect:Qe,useLayoutEffect:pt,useInsertionEffect:Is,useTransition:js,useDeferredValue:Os,useSyncExternalStore:zs,startTransition:Ma,useRef:Nt,useImperativeHandle:Zc,useMemo:rt,useCallback:Qc,useContext:Ca,useDebugValue:ts,version:"17.0.2",Children:ns,render:vs,hydrate:gs,unmountComponentAtNode:Ss,createPortal:ds,createElement:F,createContext:xa,createFactory:ks,cloneElement:$s,createRef:Wc,Fragment:L,isValidElement:Na,findDOMNode:Cs,Component:H,PureComponent:Te,memo:rs,forwardRef:Ta,flushSync:Ps,unstable_batchedUpdates:Es,StrictMode:Ts,Suspense:Et,SuspenseList:St,lazy:za,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:xs};const M=Symbol.for("@ts-pattern/matcher"),Aa=Symbol.for("@ts-pattern/isVariadic"),Jt="@ts-pattern/anonymous-select-key",Oe=t=>!!(t&&typeof t=="object"),Ut=t=>t&&!!t[M],P=(t,e,i)=>{if(Ut(t)){const a=t[M](),{matched:r,selections:o}=a.match(e);return r&&o&&Object.keys(o).forEach(n=>i(n,o[n])),r}if(Oe(t)){if(!Oe(e))return!1;if(Array.isArray(t)){if(!Array.isArray(e))return!1;let a=[],r=[],o=[];for(const n of t.keys()){const c=t[n];Ut(c)&&c[Aa]?o.push(c):o.length?r.push(c):a.push(c)}if(o.length){if(o.length>1)throw new Error("Pattern error: Using `...P.array(...)` several times in a single pattern is not allowed.");if(e.length<a.length+r.length)return!1;const n=e.slice(0,a.length),c=r.length===0?[]:e.slice(-r.length),l=e.slice(a.length,r.length===0?1/0:-r.length);return a.every((d,u)=>P(d,n[u],i))&&r.every((d,u)=>P(d,c[u],i))&&(o.length===0||P(o[0],l,i))}return t.length===e.length&&t.every((n,c)=>P(n,e[c],i))}return Reflect.ownKeys(t).every(a=>{const r=t[a];return(a in e||Ut(o=r)&&o[M]().matcherType==="optional")&&P(r,e[a],i);var o})}return Object.is(e,t)},N=t=>{var e,i,a;return Oe(t)?Ut(t)?(e=(i=(a=t[M]()).getSelectionKeys)==null?void 0:i.call(a))!=null?e:[]:Array.isArray(t)?jt(t,N):jt(Object.values(t),N):[]},jt=(t,e)=>t.reduce((i,a)=>i.concat(e(a)),[]);function Ns(...t){if(t.length===1){const[e]=t;return i=>P(e,i,()=>{})}if(t.length===2){const[e,i]=t;return P(e,i,()=>{})}throw new Error(`isMatching wasn't given the right number of arguments: expected 1 or 2, received ${t.length}.`)}function O(t){return Object.assign(t,{optional:()=>ii(t),and:e=>S(t,e),or:e=>Fa(t,e),select:e=>e===void 0?It(t):It(e,t)})}function je(t){return Object.assign((e=>Object.assign(e,{[Symbol.iterator](){let i=0;const a=[{value:Object.assign(e,{[Aa]:!0}),done:!1},{done:!0,value:void 0}];return{next:()=>{var r;return(r=a[i++])!=null?r:a.at(-1)}}}}))(t),{optional:()=>je(ii(t)),select:e=>je(e===void 0?It(t):It(e,t))})}function ii(t){return O({[M]:()=>({match:e=>{let i={};const a=(r,o)=>{i[r]=o};return e===void 0?(N(t).forEach(r=>a(r,void 0)),{matched:!0,selections:i}):{matched:P(t,e,a),selections:i}},getSelectionKeys:()=>N(t),matcherType:"optional"})})}const Ms=(t,e)=>{for(const i of t)if(!e(i))return!1;return!0},As=(t,e)=>{for(const[i,a]of t.entries())if(!e(a,i))return!1;return!0},Fs=(t,e)=>{const i=Reflect.ownKeys(t);for(const a of i)if(!e(a,t[a]))return!1;return!0};function S(...t){return O({[M]:()=>({match:e=>{let i={};const a=(r,o)=>{i[r]=o};return{matched:t.every(r=>P(r,e,a)),selections:i}},getSelectionKeys:()=>jt(t,N),matcherType:"and"})})}function Fa(...t){return O({[M]:()=>({match:e=>{let i={};const a=(r,o)=>{i[r]=o};return jt(t,N).forEach(r=>a(r,void 0)),{matched:t.some(r=>P(r,e,a)),selections:i}},getSelectionKeys:()=>jt(t,N),matcherType:"or"})})}function m(t){return{[M]:()=>({match:e=>({matched:!!t(e)})})}}function It(...t){const e=typeof t[0]=="string"?t[0]:void 0,i=t.length===2?t[1]:typeof t[0]=="string"?void 0:t[0];return O({[M]:()=>({match:a=>{let r={[e??Jt]:a};return{matched:i===void 0||P(i,a,(o,n)=>{r[o]=n}),selections:r}},getSelectionKeys:()=>[e??Jt].concat(i===void 0?[]:N(i))})})}function Ha(t){return!0}function U(t){return typeof t=="number"}function X(t){return typeof t=="string"}function Z(t){return typeof t=="bigint"}const La=O(m(Ha)),Hs=O(m(Ha)),Ls=La,Q=t=>Object.assign(O(t),{startsWith:e=>{return Q(S(t,(i=e,m(a=>X(a)&&a.startsWith(i)))));var i},endsWith:e=>{return Q(S(t,(i=e,m(a=>X(a)&&a.endsWith(i)))));var i},minLength:e=>Q(S(t,(i=>m(a=>X(a)&&a.length>=i))(e))),length:e=>Q(S(t,(i=>m(a=>X(a)&&a.length===i))(e))),maxLength:e=>Q(S(t,(i=>m(a=>X(a)&&a.length<=i))(e))),includes:e=>{return Q(S(t,(i=e,m(a=>X(a)&&a.includes(i)))));var i},regex:e=>{return Q(S(t,(i=e,m(a=>X(a)&&!!a.match(i)))));var i}}),Ri=Q(m(X)),V=t=>Object.assign(O(t),{between:(e,i)=>V(S(t,((a,r)=>m(o=>U(o)&&a<=o&&r>=o))(e,i))),lt:e=>V(S(t,(i=>m(a=>U(a)&&a<i))(e))),gt:e=>V(S(t,(i=>m(a=>U(a)&&a>i))(e))),lte:e=>V(S(t,(i=>m(a=>U(a)&&a<=i))(e))),gte:e=>V(S(t,(i=>m(a=>U(a)&&a>=i))(e))),int:()=>V(S(t,m(e=>U(e)&&Number.isInteger(e)))),finite:()=>V(S(t,m(e=>U(e)&&Number.isFinite(e)))),positive:()=>V(S(t,m(e=>U(e)&&e>0))),negative:()=>V(S(t,m(e=>U(e)&&e<0)))}),Bs=V(m(U)),tt=t=>Object.assign(O(t),{between:(e,i)=>tt(S(t,((a,r)=>m(o=>Z(o)&&a<=o&&r>=o))(e,i))),lt:e=>tt(S(t,(i=>m(a=>Z(a)&&a<i))(e))),gt:e=>tt(S(t,(i=>m(a=>Z(a)&&a>i))(e))),lte:e=>tt(S(t,(i=>m(a=>Z(a)&&a<=i))(e))),gte:e=>tt(S(t,(i=>m(a=>Z(a)&&a>=i))(e))),positive:()=>tt(S(t,m(e=>Z(e)&&e>0))),negative:()=>tt(S(t,m(e=>Z(e)&&e<0)))}),Rs=tt(m(Z)),Us=O(m(function(t){return typeof t=="boolean"})),Vs=O(m(function(t){return typeof t=="symbol"})),Ks=O(m(function(t){return t==null})),Ws=O(m(function(t){return t!=null}));var ct={__proto__:null,matcher:M,optional:ii,array:function(...t){return je({[M]:()=>({match:e=>{if(!Array.isArray(e))return{matched:!1};if(t.length===0)return{matched:!0};const i=t[0];let a={};if(e.length===0)return N(i).forEach(o=>{a[o]=[]}),{matched:!0,selections:a};const r=(o,n)=>{a[o]=(a[o]||[]).concat([n])};return{matched:e.every(o=>P(i,o,r)),selections:a}},getSelectionKeys:()=>t.length===0?[]:N(t[0])})})},set:function(...t){return O({[M]:()=>({match:e=>{if(!(e instanceof Set))return{matched:!1};let i={};if(e.size===0)return{matched:!0,selections:i};if(t.length===0)return{matched:!0};const a=(o,n)=>{i[o]=(i[o]||[]).concat([n])},r=t[0];return{matched:Ms(e,o=>P(r,o,a)),selections:i}},getSelectionKeys:()=>t.length===0?[]:N(t[0])})})},map:function(...t){return O({[M]:()=>({match:e=>{if(!(e instanceof Map))return{matched:!1};let i={};if(e.size===0)return{matched:!0,selections:i};const a=(c,l)=>{i[c]=(i[c]||[]).concat([l])};if(t.length===0)return{matched:!0};var r;if(t.length===1)throw new Error(`\`P.map\` wasn't given enough arguments. Expected (key, value), received ${(r=t[0])==null?void 0:r.toString()}`);const[o,n]=t;return{matched:As(e,(c,l)=>{const d=P(o,l,a),u=P(n,c,a);return d&&u}),selections:i}},getSelectionKeys:()=>t.length===0?[]:[...N(t[0]),...N(t[1])]})})},record:function(...t){return O({[M]:()=>({match:e=>{if(e===null||typeof e!="object"||Array.isArray(e))return{matched:!1};var i;if(t.length===0)throw new Error(`\`P.record\` wasn't given enough arguments. Expected (value) or (key, value), received ${(i=t[0])==null?void 0:i.toString()}`);let a={};const r=(c,l)=>{a[c]=(a[c]||[]).concat([l])},[o,n]=t.length===1?[Ri,t[0]]:t;return{matched:Fs(e,(c,l)=>{const d=typeof c!="string"||Number.isNaN(Number(c))?null:Number(c),u=d!==null&&P(o,d,r),s=P(o,c,r),w=P(n,l,r);return(s||u)&&w}),selections:a}},getSelectionKeys:()=>t.length===0?[]:[...N(t[0]),...N(t[1])]})})},intersection:S,union:Fa,not:function(t){return O({[M]:()=>({match:e=>({matched:!P(t,e,()=>{})}),getSelectionKeys:()=>[],matcherType:"not"})})},when:m,select:It,any:La,unknown:Hs,_:Ls,string:Ri,number:Bs,bigint:Rs,boolean:Us,symbol:Vs,nullish:Ks,nonNullable:Ws,instanceOf:function(t){return O(m(function(e){return i=>i instanceof e}(t)))},shape:function(t){return O(m(Ns(t)))}};class Gs extends Error{constructor(e){let i;try{i=JSON.stringify(e)}catch{i=e}super(`Pattern matching error: no pattern matches value ${i}`),this.input=void 0,this.input=e}}const Ie={matched:!1,value:void 0};function Mt(t){return new Xt(t,Ie)}class Xt{constructor(e,i){this.input=void 0,this.state=void 0,this.input=e,this.state=i}with(...e){if(this.state.matched)return this;const i=e[e.length-1],a=[e[0]];let r;e.length===3&&typeof e[1]=="function"?r=e[1]:e.length>2&&a.push(...e.slice(1,e.length-1));let o=!1,n={};const c=(d,u)=>{o=!0,n[d]=u},l=!a.some(d=>P(d,this.input,c))||r&&!r(this.input)?Ie:{matched:!0,value:i(o?Jt in n?n[Jt]:n:this.input,this.input)};return new Xt(this.input,l)}when(e,i){if(this.state.matched)return this;const a=!!e(this.input);return new Xt(this.input,a?{matched:!0,value:i(this.input,this.input)}:Ie)}otherwise(e){return this.state.matched?this.state.value:e(this.input)}exhaustive(e=Ys){return this.state.matched?this.state.value:e(this.input)}run(){return this.exhaustive()}returnType(){return this}narrow(){return this}}function Ys(t){throw new Gs(t)}var qs=["other","few","many","two","one","zero"],Ui=({terms:t,overrides:e,locale:i})=>{const a=new Intl.PluralRules(i);function r(o,n){const c=(e==null?void 0:e[o])??t[o];switch(typeof c){case"string":return c.replace(/{{(\w+)}}/g,(l,d)=>{var u;return((u=n==null?void 0:n[d])==null?void 0:u.toString())??""});case"object":{if(typeof(n==null?void 0:n.count)!="number")throw new Error(`Missing count for translation key “${o.toString()}”`);let l=a.select(n.count);if(!(l in c)){const d=qs.find(u=>u in c);if(!d)throw new Error(`Missing plural rule for translation key “${o.toString()}”`);l=d}return c[l].replace(/{{(\w+)}}/g,(d,u)=>{var s;return((s=n==null?void 0:n[u])==null?void 0:s.toString())??""})}default:throw new Error(`Invalid translation value in dictionary for key “${o.toString()}”.`)}}return r},Js=0;function p(t,e,i,a,r,o){var n,c,l={};for(c in e)c=="ref"?n=e[c]:l[c]=e[c];var d={type:t,props:l,key:i,ref:n,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,__h:null,constructor:void 0,__v:--Js,__source:r,__self:o};if(typeof t=="function"&&(n=t.defaultProps))for(c in n)l[c]===void 0&&(l[c]=n[c]);return h.vnode&&h.vnode(d),d}var Vi=xa(null),Xs=t=>({defaultTerms:t,TranslationProvider:({terms:e,children:i,locale:a})=>{const r=rt(()=>Ui({locale:a,terms:t,overrides:e}),[e,a]);return p(Vi.Provider,{value:{t:r,locale:a},children:i})},useTranslation:()=>{const e=Ca(Vi);if(e===null)throw new Error("Please wrap useTranslation in a TranslationProvider");return{t:e.t,locale:e.locale}},createTFunction:({overrides:e,locale:i})=>Ui({terms:t,overrides:e,locale:i})});const{TranslationProvider:Zs,useTranslation:ce,createTFunction:Qs}=Xs({error_heading:"Something unexpected happened",undo:"Undo",send:"Send",skip:"Skip",skipped:"Skipped",submission_redirect_message:"Almost there! Please complete your submission here:",complete_submission:"Complete submission",submission_completed:"Submission completed!",submission_failed:"Failed to submit",maximize:"Maximise",minimize:"Minimise",close_application:"Close application",invalid_state:"Invalid application state",redirect_url_error:"Couldn’t get the redirect URL.",upload_file:{one:"Select file to upload",other:"Select files to upload"},file_max_size:"max {{size}}",file_extensions:"Accepted file extensions",address_error:"Something went wrong! Plase continue manually",address_search:"Type and search for places…",address_manual:"Fill in manually",back:"Back",search:"Search",unknown_error:"An error occurred",line1:"Line 1",line2:"Line 2",line3:"Line 3",city:"City",state:"State",postcode:"Postcode",country:"Country",select_country:"Select a country",validation_max_chars:"Please enter no more than {{count}} characters",validation_min_chars:"Please enter {{count}} or more characters",validation_phone:"Please enter a valid phone number",validation_phone_min_chars:"Your phone number must be at least {{count}} digits long",validation_country_code:"Please select a country code",validation_number:"Please enter a valid number",validation_number_min:"Please enter a number greater than or equal to {{min}}",validation_number_max:"Please enter a number less than or equal to {{max}}",validation_number_decimal_cases:"Please enter a number with at most {{count}} decimal cases",validation_file:"Please select a file",validation_file_ext:"Please only upload {{ext}} files",validation_file_max:{one:"Please only upload one file",other:"Please only upload up to {{count}} files"},validation_date:"Please enter a valid date (YYYY-MM-DD)",validation_email:"That doesn’t look like a valid email address",validation_url:"That doesn’t look like a valid URL",validation_multiple_choice_min:{one:"Please select at least {{count}} option",other:"Please select at least {{count}} options"},validation_multiple_choice_max:{one:"Please select at most {{count}} option",other:"Please select at most {{count}} options"}});function ai(t,e){if(!t)throw new Error(e)}var tl=Symbol.for("preact-signals");function ri(){if(ft>1)ft--;else{for(var t,e=!1;Pt!==void 0;){var i=Pt;for(Pt=void 0,ze++;i!==void 0;){var a=i.o;if(i.o=void 0,i.f&=-3,!(8&i.f)&&Ra(i))try{i.c()}catch(r){e||(t=r,e=!0)}i=a}}if(ze=0,ft--,e)throw t}}var $=void 0,Pt=void 0,ft=0,ze=0,Zt=0;function Ba(t){if($!==void 0){var e=t.n;if(e===void 0||e.t!==$)return e={i:0,S:t,p:$.s,n:void 0,t:$,e:void 0,x:void 0,r:e},$.s!==void 0&&($.s.n=e),$.s=e,t.n=e,32&$.f&&t.S(e),e;if(e.i===-1)return e.i=0,e.n!==void 0&&(e.n.p=e.p,e.p!==void 0&&(e.p.n=e.n),e.p=$.s,e.n=void 0,$.s.n=e,$.s=e),e}}function z(t){this.v=t,this.i=0,this.n=void 0,this.t=void 0}z.prototype.brand=tl;z.prototype.h=function(){return!0};z.prototype.S=function(t){this.t!==t&&t.e===void 0&&(t.x=this.t,this.t!==void 0&&(this.t.e=t),this.t=t)};z.prototype.U=function(t){if(this.t!==void 0){var e=t.e,i=t.x;e!==void 0&&(e.x=i,t.e=void 0),i!==void 0&&(i.e=e,t.x=void 0),t===this.t&&(this.t=i)}};z.prototype.subscribe=function(t){var e=this;return ni(function(){var i=e.value,a=$;$=void 0;try{t(i)}finally{$=a}})};z.prototype.valueOf=function(){return this.value};z.prototype.toString=function(){return this.value+""};z.prototype.toJSON=function(){return this.value};z.prototype.peek=function(){var t=$;$=void 0;try{return this.value}finally{$=t}};Object.defineProperty(z.prototype,"value",{get:function(){var t=Ba(this);return t!==void 0&&(t.i=this.i),this.v},set:function(t){if(t!==this.v){if(ze>100)throw new Error("Cycle detected");this.v=t,this.i++,Zt++,ft++;try{for(var e=this.t;e!==void 0;e=e.x)e.t.N()}finally{ri()}}}});function at(t){return new z(t)}function Ra(t){for(var e=t.s;e!==void 0;e=e.n)if(e.S.i!==e.i||!e.S.h()||e.S.i!==e.i)return!0;return!1}function Ua(t){for(var e=t.s;e!==void 0;e=e.n){var i=e.S.n;if(i!==void 0&&(e.r=i),e.S.n=e,e.i=-1,e.n===void 0){t.s=e;break}}}function Va(t){for(var e=t.s,i=void 0;e!==void 0;){var a=e.p;e.i===-1?(e.S.U(e),a!==void 0&&(a.n=e.n),e.n!==void 0&&(e.n.p=a)):i=e,e.S.n=e.r,e.r!==void 0&&(e.r=void 0),e=a}t.s=i}function mt(t){z.call(this,void 0),this.x=t,this.s=void 0,this.g=Zt-1,this.f=4}(mt.prototype=new z).h=function(){if(this.f&=-3,1&this.f)return!1;if((36&this.f)==32||(this.f&=-5,this.g===Zt))return!0;if(this.g=Zt,this.f|=1,this.i>0&&!Ra(this))return this.f&=-2,!0;var t=$;try{Ua(this),$=this;var e=this.x();(16&this.f||this.v!==e||this.i===0)&&(this.v=e,this.f&=-17,this.i++)}catch(i){this.v=i,this.f|=16,this.i++}return $=t,Va(this),this.f&=-2,!0};mt.prototype.S=function(t){if(this.t===void 0){this.f|=36;for(var e=this.s;e!==void 0;e=e.n)e.S.S(e)}z.prototype.S.call(this,t)};mt.prototype.U=function(t){if(this.t!==void 0&&(z.prototype.U.call(this,t),this.t===void 0)){this.f&=-33;for(var e=this.s;e!==void 0;e=e.n)e.S.U(e)}};mt.prototype.N=function(){if(!(2&this.f)){this.f|=6;for(var t=this.t;t!==void 0;t=t.x)t.t.N()}};Object.defineProperty(mt.prototype,"value",{get:function(){if(1&this.f)throw new Error("Cycle detected");var t=Ba(this);if(this.h(),t!==void 0&&(t.i=this.i),16&this.f)throw this.v;return this.v}});function el(t){return new mt(t)}function Ka(t){var e=t.u;if(t.u=void 0,typeof e=="function"){ft++;var i=$;$=void 0;try{e()}catch(a){throw t.f&=-2,t.f|=8,oi(t),a}finally{$=i,ri()}}}function oi(t){for(var e=t.s;e!==void 0;e=e.n)e.S.U(e);t.x=void 0,t.s=void 0,Ka(t)}function il(t){if($!==this)throw new Error("Out-of-order effect");Va(this),$=t,this.f&=-2,8&this.f&&oi(this),ri()}function At(t){this.x=t,this.u=void 0,this.s=void 0,this.o=void 0,this.f=32}At.prototype.c=function(){var t=this.S();try{if(8&this.f||this.x===void 0)return;var e=this.x();typeof e=="function"&&(this.u=e)}finally{t()}};At.prototype.S=function(){if(1&this.f)throw new Error("Cycle detected");this.f|=1,this.f&=-9,Ka(this),Ua(this),ft++;var t=$;return $=this,il.bind(this,t)};At.prototype.N=function(){2&this.f||(this.f|=2,this.o=Pt,Pt=this)};At.prototype.d=function(){this.f|=8,1&this.f||oi(this)};function ni(t){var e=new At(t);try{e.c()}catch(i){throw e.d(),i}return e.d.bind(e)}var fe;function yt(t,e){h[t]=e.bind(null,h[t]||function(){})}function Qt(t){fe&&fe(),fe=t&&t.S()}function Wa(t){var e=this,i=t.data,a=rl(i);a.value=i;var r=rt(function(){for(var o=e.__v;o=o.__;)if(o.__c){o.__c.__$f|=4;break}return e.__$u.c=function(){var n;!da(r.peek())&&((n=e.base)==null?void 0:n.nodeType)===3?e.base.data=r.peek():(e.__$f|=1,e.setState({}))},el(function(){var n=a.value.value;return n===0?0:n===!0?"":n||""})},[]);return r.value}Wa.displayName="_st";Object.defineProperties(z.prototype,{constructor:{configurable:!0,value:void 0},type:{configurable:!0,value:Wa},props:{configurable:!0,get:function(){return{data:this}}},__b:{configurable:!0,value:1}});yt("__b",function(t,e){if(typeof e.type=="string"){var i,a=e.props;for(var r in a)if(r!=="children"){var o=a[r];o instanceof z&&(i||(e.__np=i={}),i[r]=o,a[r]=o.peek())}}t(e)});yt("__r",function(t,e){Qt();var i,a=e.__c;a&&(a.__$f&=-2,(i=a.__$u)===void 0&&(a.__$u=i=function(r){var o;return ni(function(){o=this}),o.c=function(){a.__$f|=1,a.setState({})},o}())),Qt(i),t(e)});yt("__e",function(t,e,i,a){Qt(),t(e,i,a)});yt("diffed",function(t,e){Qt();var i;if(typeof e.type=="string"&&(i=e.__e)){var a=e.__np,r=e.props;if(a){var o=i.U;if(o)for(var n in o){var c=o[n];c!==void 0&&!(n in a)&&(c.d(),o[n]=void 0)}else i.U=o={};for(var l in a){var d=o[l],u=a[l];d===void 0?(d=al(i,l,u,r),o[l]=d):d.o(u,r)}}}t(e)});function al(t,e,i,a){var r=e in t&&t.ownerSVGElement===void 0,o=at(i);return{o:function(n,c){o.value=n,a=c},d:ni(function(){var n=o.value.value;a[e]!==n&&(a[e]=n,r?t[e]=n:n?t.setAttribute(e,n):t.removeAttribute(e))})}}yt("unmount",function(t,e){if(typeof e.type=="string"){var i=e.__e;if(i){var a=i.U;if(a){i.U=void 0;for(var r in a){var o=a[r];o&&o.d()}}}}else{var n=e.__c;if(n){var c=n.__$u;c&&(n.__$u=void 0,c.d())}}t(e)});yt("__h",function(t,e,i,a){(a<3||a===9)&&(e.__$f|=2),t(e,i,a)});H.prototype.shouldComponentUpdate=function(t,e){var i=this.__$u;if(!(i&&i.s!==void 0||4&this.__$f)||3&this.__$f)return!0;for(var a in e)return!0;for(var r in t)if(r!=="__source"&&t[r]!==this.props[r])return!0;for(var o in this.props)if(!(o in t))return!0;return!1};function rl(t){return rt(function(){return at(t)},[])}const De=(t,e)=>e.some(i=>t instanceof i);let Ki,Wi;function ol(){return Ki||(Ki=[IDBDatabase,IDBObjectStore,IDBIndex,IDBCursor,IDBTransaction])}function nl(){return Wi||(Wi=[IDBCursor.prototype.advance,IDBCursor.prototype.continue,IDBCursor.prototype.continuePrimaryKey])}const Ne=new WeakMap,we=new WeakMap,se=new WeakMap;function cl(t){const e=new Promise((i,a)=>{const r=()=>{t.removeEventListener("success",o),t.removeEventListener("error",n)},o=()=>{i(lt(t.result)),r()},n=()=>{a(t.error),r()};t.addEventListener("success",o),t.addEventListener("error",n)});return se.set(e,t),e}function sl(t){if(Ne.has(t))return;const e=new Promise((i,a)=>{const r=()=>{t.removeEventListener("complete",o),t.removeEventListener("error",n),t.removeEventListener("abort",n)},o=()=>{i(),r()},n=()=>{a(t.error||new DOMException("AbortError","AbortError")),r()};t.addEventListener("complete",o),t.addEventListener("error",n),t.addEventListener("abort",n)});Ne.set(t,e)}let Me={get(t,e,i){if(t instanceof IDBTransaction){if(e==="done")return Ne.get(t);if(e==="store")return i.objectStoreNames[1]?void 0:i.objectStore(i.objectStoreNames[0])}return lt(t[e])},set(t,e,i){return t[e]=i,!0},has(t,e){return t instanceof IDBTransaction&&(e==="done"||e==="store")?!0:e in t}};function Ga(t){Me=t(Me)}function ll(t){return nl().includes(t)?function(...e){return t.apply(Ae(this),e),lt(this.request)}:function(...e){return lt(t.apply(Ae(this),e))}}function dl(t){return typeof t=="function"?ll(t):(t instanceof IDBTransaction&&sl(t),De(t,ol())?new Proxy(t,Me):t)}function lt(t){if(t instanceof IDBRequest)return cl(t);if(we.has(t))return we.get(t);const e=dl(t);return e!==t&&(we.set(t,e),se.set(e,t)),e}const Ae=t=>se.get(t);function ul(t,e,{blocked:i,upgrade:a,blocking:r,terminated:o}={}){const n=indexedDB.open(t,e),c=lt(n);return a&&n.addEventListener("upgradeneeded",l=>{a(lt(n.result),l.oldVersion,l.newVersion,lt(n.transaction),l)}),i&&n.addEventListener("blocked",l=>i(l.oldVersion,l.newVersion,l)),c.then(l=>{o&&l.addEventListener("close",()=>o()),r&&l.addEventListener("versionchange",d=>r(d.oldVersion,d.newVersion,d))}).catch(()=>{}),c}const pl=["get","getKey","getAll","getAllKeys","count"],hl=["put","add","delete","clear"],ve=new Map;function Gi(t,e){if(!(t instanceof IDBDatabase&&!(e in t)&&typeof e=="string"))return;if(ve.get(e))return ve.get(e);const i=e.replace(/FromIndex$/,""),a=e!==i,r=hl.includes(i);if(!(i in(a?IDBIndex:IDBObjectStore).prototype)||!(r||pl.includes(i)))return;const o=async function(n,...c){const l=this.transaction(n,r?"readwrite":"readonly");let d=l.store;return a&&(d=d.index(c.shift())),(await Promise.all([d[i](...c),r&&l.done]))[0]};return ve.set(e,o),o}Ga(t=>({...t,get:(e,i,a)=>Gi(e,i)||t.get(e,i,a),has:(e,i)=>!!Gi(e,i)||t.has(e,i)}));const fl=["continue","continuePrimaryKey","advance"],Yi={},Fe=new WeakMap,Ya=new WeakMap,wl={get(t,e){if(!fl.includes(e))return t[e];let i=Yi[e];return i||(i=Yi[e]=function(...a){Fe.set(this,Ya.get(this)[e](...a))}),i}};async function*vl(...t){let e=this;if(e instanceof IDBCursor||(e=await e.openCursor(...t)),!e)return;e=e;const i=new Proxy(e,wl);for(Ya.set(i,e),se.set(i,Ae(e));e;)yield i,e=await(Fe.get(i)||e.continue()),Fe.delete(i)}function qi(t,e){return e===Symbol.asyncIterator&&De(t,[IDBIndex,IDBObjectStore,IDBCursor])||e==="iterate"&&De(t,[IDBIndex,IDBObjectStore])}Ga(t=>({...t,get(e,i,a){return qi(e,i)?vl:t.get(e,i,a)},has(e,i){return qi(e,i)||t.has(e,i)}}));const Vt=typeof indexedDB>"u"?void 0:ul("inploi-chatbot",3,{upgrade(t){try{t.deleteObjectStore("state")}catch{}t.createObjectStore("state")}});let Kt,ge,kt;const Ji=()=>{if(!Kt)return kt;const t=Kt;Kt=void 0;const e=qa(t),i=Vt==null?void 0:Vt.then(a=>a.put("state",t.data,e)).finally(()=>{kt===i&&(kt=void 0)});return kt=i,kt},nt={getStateData:async(t,e,i)=>{var r;const a=qa({...t,flowKeys:e,context:i});return(r=await Vt)==null?void 0:r.get("state",a)},setStateData:t=>{Kt=t,clearTimeout(ge),ge=setTimeout(()=>void Ji(),1e3)},flushStateData:()=>(clearTimeout(ge),Ji()??Promise.resolve())},gl=t=>Mt(t).with(ct.number.lte(1e3),()=>`${Math.round(t)}KB`).with(ct.number.lt(1e3*10),()=>`${(t/1e3).toFixed(1)}MB`).otherwise(()=>`${Math.round(t/1e3)}MB`),bl=t=>{const e=t.find(i=>i.isHead);if(!e)throw new Error("No head node found");return e},_l=t=>Object.entries(t).reduce((i,[a,r])=>(i[a]=r.value,i),{}),ml=t=>e=>e?e.type===t:!1;class st extends Error{constructor(){super("Aborted")}}const yl=t=>typeof t=="string",xl=t=>{let e=5381;for(let i=0;i<t.length;i++)e=e*33^t.charCodeAt(i);return e>>>0},He=t=>t===null||typeof t!="object"?t:Array.isArray(t)?t.map(He):Object.keys(t).sort().reduce((e,i)=>(e[i]=He(t[i]),e),{}),kl=t=>{const e=JSON.stringify(He(t));return xl(e).toString(36)},$l=()=>typeof crypto<"u"&&"randomUUID"in crypto?crypto.randomUUID():Math.random().toString(36).slice(2),Xi=()=>({messages:[],submissions:{},currentInput:null,nodeHistory:[],isFinished:!1,sequence:0,flowSessionId:$l()}),Sl=t=>Mt(t).with({nativeEvent:{submitter:ct.select(ct.union(ct.instanceOf(HTMLButtonElement),ct.instanceOf(HTMLInputElement)))}},e=>e).otherwise(()=>{throw new Error("invalid submitter")}),Wt=(t,e,i,a=0)=>{if(!e.nextId)return i(e.id,{stepsMade:a,remainingSteps:0}),{stepsMade:a,remainingSteps:0};const r=t.find(d=>d.id===e.nextId);if(r===void 0)return{stepsMade:a,remainingSteps:0};const o=e.type==="if-block"?e.branchId:void 0,n=t.find(d=>d.id===o),c=e.type.includes("question")?1:0;if(n){const d=c+Math.max(Wt(t,r,i,a+c).remainingSteps,Wt(t,n,i,a+c).remainingSteps);return i(e.id,{stepsMade:a,remainingSteps:d}),{stepsMade:a,remainingSteps:d}}const l=c+Wt(t,r,i,a+c).remainingSteps;return i(e.id,{stepsMade:a,remainingSteps:l}),{stepsMade:a,remainingSteps:l}},Cl=t=>{const e={},i=t.find(a=>a.isHead);return i&&Wt(t,i,(a,r)=>{e[a]=r}),e},qa=t=>[...t.flowKeys,t.id,t.version,kl(t.context)].join("/"),et=at({state:"idle"}),$t=t=>{const{state:e,flow:i}=et.value;if(e!=="loaded")return;ai(i,"No flow to update");const a=t(i.data);i.data=a,et.value={state:e,flow:i},nt.setStateData(i)},x={current$:et,viewState$:at("closed"),inputHeight$:at(53),prepareFlow:async({flow:t,context:e={},flowKeys:i,title:a,analytics:r,job:o,locationOrigin:n})=>(await nt.flushStateData().catch(()=>{}),{data:await nt.getStateData(t,i,e)??Xi(),startedAt:new Date,nodeIdToProgress:Cl(t.nodes),flowKeys:i,id:t.id,version:t.version,nodes:t.nodes,build:t.build,context:e,title:a,analytics:r,job:o,locationOrigin:n}),commitFlow:t=>{et.value={state:"loaded",flow:t},nt.setStateData(t)},cancelCurrentFlow:()=>{et.value={state:"idle"},x.viewState$.value="closed"},markAsFinished:()=>$t(t=>({...t,isFinished:!0})),setCurrentNodeId:t=>$t(e=>(e.nodeHistory.push(t),e)),restart:()=>{const{state:t,flow:e}=et.value;if(t!=="loaded")throw new Error("Flow cannot be restarted: not in valid state");const i=Xi();et.value={state:t,flow:{...e,data:i,startedAt:new Date}},nt.setStateData(e)},addMessage:(t,e)=>{const i={...t,groupId:e};return $t(a=>(a.messages.push(i),a))},removeMessagesSentByNodeIds:t=>{const{state:e,flow:i}=et.value;ai(e==="loaded","Application not loaded");const a=i.data.messages.filter(r=>!r.groupId||!t.includes(r.groupId));i.data.messages=a,nt.setStateData(i)},setSubmission:(t,e)=>$t(i=>(e===null?delete i.submissions[t]:i.submissions[t]=e,i)),setInput:t=>$t(e=>({...e,currentInput:t??null}))},El=({message:t})=>{const{t:e}=ce();return p("div",{class:"flex flex-grow flex-col items-center justify-center",children:[p("svg",{class:"text-error-9 h-16 w-16",fill:"none",xmlns:"http://www.w3.org/2000/svg","stroke-width":"2",stroke:"currentColor","stroke-linecap":"round",viewBox:"0 0 96 96",children:[p("path",{d:"M48 79H19.9l-1.3-.3a3 3 0 0 1-1.3-1.3c-.1-.3-.2-.6-.2-1.3l-.1-2.5V48a31 31 0 1 1 31 31Z",fill:"#fff"}),p("path",{d:"M48 79H19.9l-1.3-.3a3 3 0 0 1-1.3-1.3c-.1-.3-.2-.6-.2-1.3l-.1-2.5V48a31 31 0 1 1 31 31Z"}),p("line",{x1:"36.7",y1:"39.3",x2:"44.8",y2:"47.4"}),p("line",{x1:"52.2",y1:"39.3",x2:"60.3",y2:"47.4"}),p("line",{x1:"44.7",y1:"39.2",x2:"36.6",y2:"47.3"}),p("line",{x1:"60.2",y1:"39.2",x2:"52.1",y2:"47.3"}),p("path",{d:"M38 56h19"})]}),p("div",{class:"flex flex-col gap-2 text-center",children:[p("p",{class:"text-error-11 font-bold",children:e("error_heading")}),t&&p("p",{class:"text-neutral-9 text-sm",children:t})]})]})},Ja=t=>p("svg",{role:"img",viewBox:"0 0 24 24",...t,children:[p("title",{children:"Loading"}),p("style",{children:"#s1{animation:3s linear infinite forwards s1__to}@keyframes s1__to{0%{transform:translate(12px,0)}66.666667%{transform:translate(12px,0);animation-timing-function:cubic-bezier(0.77,0,0.175,1)}100%{transform:translate(12px,12px)}}#s2{animation:3s linear infinite forwards s2__ts}@keyframes s2__ts{0%{transform:scale(0,0)}70%{transform:scale(0,0);animation-timing-function:cubic-bezier(0.86,0,0.07,1)}100%{transform:scale(1,1)}}#s3{animation:3s linear infinite forwards s3__to}@keyframes s3__to{0%{transform:translate(12px,12px);animation-timing-function:cubic-bezier(0.77,0,0.175,1)}100%,33.333333%{transform:translate(12px,24px)}}#s4{animation:3s linear infinite forwards s4__ts}@keyframes s4__ts{0%{transform:scale(1,1);animation-timing-function:cubic-bezier(0.86,0,0.07,1)}100%,30%{transform:scale(0,0)}}#s5{animation:3s linear infinite forwards s5__to}@keyframes s5__to{0%{transform:translate(12px,0);animation-timing-function:cubic-bezier(0.77,0,0.175,1)}33.333333%{transform:translate(12px,12.045742px);animation-timing-function:cubic-bezier(0.77,0,0.175,1)}100%,66.666667%{transform:translate(12px,24px)}}#s6{animation:3s linear infinite forwards s6__ts}@keyframes s6__ts{0%,100%,63.333333%{transform:scale(0,0)}3.333333%{transform:scale(0,0);animation-timing-function:cubic-bezier(0.86,0,0.07,1)}33.333333%{transform:scale(1,1);animation-timing-function:cubic-bezier(0.86,0,0.07,1)}}#s7{animation:3s linear infinite forwards s7__to}@keyframes s7__to{0%{transform:translate(12px,0)}33.333333%{transform:translate(12px,0);animation-timing-function:cubic-bezier(0.77,0,0.175,1)}66.666667%{transform:translate(12px,12px);animation-timing-function:cubic-bezier(0.77,0,0.175,1)}100%{transform:translate(12px,24px)}}#s8{animation:3s linear infinite forwards s8__ts}@keyframes s8__ts{0%,100%,96.666667%{transform:scale(0,0)}36.666667%{transform:scale(0,0);animation-timing-function:cubic-bezier(0.86,0,0.07,1)}66.666667%{transform:scale(1,1);animation-timing-function:cubic-bezier(0.86,0,0.07,1)}}"}),p("g",{id:"s1",transform:"translate(12,0)",children:p("g",{id:"s2",transform:"scale(0,0)",children:p("circle",{r:"6.5",transform:"translate(0,0)",fill:"currentColor"})})}),p("g",{id:"s3",transform:"translate(12,12)",children:p("g",{id:"s4",transform:"scale(1,1)",children:p("circle",{r:"6.5",transform:"translate(0,0)",fill:"currentColor"})})}),p("g",{id:"s5",transform:"translate(12,0)",children:p("g",{id:"s6",transform:"scale(0,0)",children:p("path",{d:"M6.5,13c3.5899,0,6.5-2.9101,6.5-6.5s-2.9101-6.5-6.5-6.5-6.5,2.91015-6.5,6.5s2.91015,6.5,6.5,6.5Zm0-4C7.88071,9,9,7.88071,9,6.5s-1.11929-2.5-2.5-2.5-2.5,1.11929-2.5,2.5s1.11929,2.5,2.5,2.5Z",transform:"translate(-6.5,-6.5)","clip-rule":"evenodd",fill:"currentColor","fill-rule":"evenodd"})})}),p("g",{id:"s7",transform:"translate(12,0)",children:p("g",{id:"s8",transform:"scale(0,0)",children:p("path",{d:"M0,6c0,3.58984,2.91016,6.5,6.5,6.5s6.5-2.91016,6.5-6.5h-4C9,7.38086,7.88086,8.5,6.5,8.5s-2.5-1.11914-2.5-2.5h-4Z",transform:"translate(-6.5,-9.25)",fill:"currentColor"})})})]}),Zi=()=>p("div",{class:"flex flex-grow flex-col items-center justify-center",children:p(Ja,{class:"text-neutral-6 h-8 w-8"})}),Pl=t=>{const i=t/100,a=1.3;return t<0?"0%":t>100?"100%":`${Math.round((1-(1-.1)*Math.pow(1-i,a))*100)}%`},Tl=ne("touch-hitbox fr relative flex-none rounded-full p-2 transition-all",{variants:{variant:{neutral:"text-neutral-11 hover:text-neutral-12 active:text-neutral-12 hover:bg-interactive-bg-hover active:bg-interactive-bg-active ",white:"text-white/80 hover:text-white active:text-white hover:bg-white/20 active:bg-white/30"}},defaultVariants:{variant:"neutral"}}),te=({class:t,children:e,variant:i,...a})=>p("div",{class:"flex flex-1 items-center justify-end px-1",children:p("button",{class:oe(Tl({variant:i}),t),...a,children:p("svg",{class:"block",width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",stroke:"currentColor","stroke-width":"1.5","stroke-linecap":"round",xmlns:"http://www.w3.org/2000/svg",children:e})})}),Ol=()=>{if(x.current$.value.state!=="loaded")return null;const t=x.current$.value.flow.nodeIdToProgress,e=x.current$.value.flow.data.nodeHistory.at(-1);if(e===void 0)return null;const i=t[e];if(i===void 0)return null;const a=100*(i.stepsMade/(i.remainingSteps+i.stepsMade));return p("div",{class:"bg-accent-3",children:p("div",{style:{width:Pl(a)},class:"bg-accent-9 ring-accent-6 relative h-[3px] rounded-full transition-all duration-1000"})})},jl=({children:t,params:e})=>{const{t:i}=ce(),a=x.viewState$;return p(L,{children:p("header",{class:"ring-divider bg-statusbar absolute left-0 right-0 top-0 z-20 mx-auto items-center ring-1 backdrop-blur-md backdrop-saturate-150",children:[p("div",{class:"ring-neutral-7 flex h-[var(--header-height)] gap-2 rounded-t-3xl ring-0 ring-inset transition-all duration-300 [&:has(>.view-switch:focus-visible)]:ring-1",children:[p("p",{id:"chatbot-status-bar",class:"sr-only",children:t}),p("button",{onClick:()=>{a.value="minimised"},class:"view-switch h-full flex-grow overflow-hidden px-4 py-1 focus-visible:outline-none",onTouchStart:Le,children:p("p",{"aria-hidden":!0,class:"text-neutral-12 truncate text-sm font-bold tracking-tight",children:t})}),p("div",{class:"flex flex-shrink-0 items-center gap-3 p-1.5",children:[e.feedback?p("div",{"data-widget":"inploi-feedback","data-key":"chatbot-header",class:oe({hidden:x.current$.value.state!=="loaded"||a.value!=="maximised"}),children:p("div",{class:"ring-neutral-4 bg-neutral-3 h-8 w-[72px] animate-pulse rounded-full ring-1"})}):null,x.current$.value.state==="loaded"&&p(te,{"aria-label":"Restart",onClick:()=>{x.restart()},children:[p("path",{d:"M12 8.5C12 9.29113 11.7654 10.0645 11.3259 10.7223C10.8864 11.3801 10.2616 11.8928 9.53073 12.1955C8.79983 12.4983 7.99556 12.5775 7.21964 12.4231C6.44371 12.2688 5.73098 11.8878 5.17157 11.3284C4.61216 10.769 4.2312 10.0563 4.07686 9.28036C3.92252 8.50444 4.00173 7.70017 4.30448 6.96927C4.60723 6.23836 5.11992 5.61365 5.77772 5.17412C6.43552 4.7346 7.20887 4.5 8 4.5H9"}),p("path",{d:"M8 7L10 4.5L8 2.5"})]},"restart"),p(te,{class:"view-switch",onTouchStart:Le,"aria-label":i("minimize"),onClick:()=>a.value="minimised",children:p("path",{d:"M12.5 6.5L8 11L3.5 6.5"})},"minmax")]})]}),p(Ol,{})]})})};function Le(){}const Il=za(()=>Promise.resolve().then(()=>require("./chatbot-body-a3863b40.cjs")).then(t=>t.ChatbotBody)),Xa=ne("selection:bg-accent-4 selection:text-accent-12 fixed bottom-2 left-2 right-2 isolate mx-auto max-h-full focus:outline-none [&:has(.view-switch:active)]:scale-[0.98] transition-all duration-1000 ease-expo-out",{variants:{view:{closed:"hidden",minimised:"max-w-[min(300px,calc(100vw-4rem))] h-[var(--header-height)] animate-slide-in-bottom",maximised:"max-w-[450px] h-[var(--content-height)] animate-maximise"}}}),Za=ne("relative flex h-full overflow-hidden rounded-3xl outline outline-1",{variants:{view:{closed:"hidden",minimised:"outline-accent-10 bg-accent-9",maximised:"outline-neutral-3 bg-neutral-1 flex-col"}}}),zl=({open:t,...e})=>{const i=Nt(null);return pt(()=>{const a=i.current;a&&(t?a.showModal():a.close())},[t]),p("dialog",{ref:i,...e})},Dl=({logger:t,apiClient:e,analytics:i,platformClient:a,params:r})=>{const{state:o,flow:n,error:c}=x.current$.value,l=x.viewState$.value,d=o!=="idle"&&l==="maximised",u=Nt(null);return p(Zs,{terms:r.terms,locale:void 0,children:[p(zl,{open:d,onClose:()=>x.viewState$.value="minimised",children:p("div",{ref:u,"aria-modal":"true",role:"dialog","aria-labelledby":"chatbot-status-bar",class:Xa({view:"maximised"}),children:p("div",{class:Za({view:"maximised"}),children:[p(jl,{params:r,children:n==null?void 0:n.title}),Mt({state:o,view:l}).with({state:"idle"},()=>null).with({state:"loading"},()=>p(Zi,{},"loading")).with({state:"loaded"},()=>p(Et,{fallback:p(Zi,{},"loading"),children:p(Il,{analytics:i,apiClient:e,logger:t,platformClient:a})})).with({state:"error"},()=>p(El,{message:c})).exhaustive()]})})}),l==="minimised"?p(Nl,{flow:n}):null]})},Nl=({flow:t})=>{const{t:e}=ce();return p("div",{class:Xa({view:"minimised",class:"z-100 isolate"}),children:p("div",{class:Za({view:"minimised"}),children:[p("button",{onClick:()=>{x.viewState$.value="maximised"},class:"view-switch h-full flex-grow overflow-hidden px-4 py-1 focus-visible:outline-none",onTouchStart:Le,children:p("p",{"aria-hidden":!0,class:"truncate text-sm font-bold tracking-tight text-white",children:t==null?void 0:t.title})}),p("div",{class:"flex items-center px-0.5",children:p(te,{"aria-label":e("close_application"),onClick:x.cancelCurrentFlow,variant:"white",children:p("path",{d:"M12 12L4 4M12 4L4 12"})},"close")})]})})},Ml=`[data-widget=inploi-chatbot]{-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;user-select:none;position:relative;z-index:2147483647;font-size:16px;font-family:sans-serif;--i-lowest: 0 0% 100%;--i-e-1: 340 100% 99%;--i-e-2: 353 100% 98%;--i-e-3: 351 91% 96%;--i-e-4: 351 100% 93%;--i-e-5: 350 100% 90%;--i-e-6: 351 80% 86%;--i-e-7: 349 68% 81%;--i-e-8: 348 61% 74%;--i-e-9: 348 75% 59%;--i-e-10: 347 70% 55%;--i-e-11: 345 70% 47%;--i-e-12: 344 63% 24%;--header-height: 44px;--content-height:calc(100vh - 64px);--content-height:calc(100svh - 64px)}@media screen and (min-width: 768px){[data-widget=inploi-chatbot]{--content-height: min(640px, calc(100vh - 16px));--content-height: min(640px, calc(100svh - 16px)) }}[data-widget=inploi-chatbot] *,[data-widget=inploi-chatbot] :before,[data-widget=inploi-chatbot] :after{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }[data-widget=inploi-chatbot] ::backdrop{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }[data-widget=inploi-chatbot]{--tw-content: "";font-family:system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Open Sans,Helvetica Neue,sans-serif}[data-widget=inploi-chatbot] em{font-style:italic}[data-widget=inploi-chatbot] strong{font-weight:700}[data-widget=inploi-chatbot] *{font-weight:inherit;font-style:inherit;box-sizing:border-box;font-family:inherit;border-style:solid;border-width:0;-webkit-tap-highlight-color:transparent}[data-widget=inploi-chatbot] :before,[data-widget=inploi-chatbot] :after{box-sizing:border-box}[data-widget=inploi-chatbot] :is(ul,ol){list-style:none;padding:0;margin:0}[data-widget=inploi-chatbot] :is(p){margin:0;padding:0}[data-widget=inploi-chatbot] :is(li){margin:0;padding:0;list-style:none}[data-widget=inploi-chatbot] :is(button){margin:0;padding:0;border:unset;background:unset;text-align:unset}[data-widget=inploi-chatbot] .container{width:100%}@media (min-width: 640px){[data-widget=inploi-chatbot] .container{max-width:640px}}@media (min-width: 768px){[data-widget=inploi-chatbot] .container{max-width:768px}}@media (min-width: 1024px){[data-widget=inploi-chatbot] .container{max-width:1024px}}@media (min-width: 1280px){[data-widget=inploi-chatbot] .container{max-width:1280px}}@media (min-width: 1536px){[data-widget=inploi-chatbot] .container{max-width:1536px}}[data-widget=inploi-chatbot] .sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border-width:0}[data-widget=inploi-chatbot] .visible{visibility:visible}[data-widget=inploi-chatbot] .invisible{visibility:hidden}[data-widget=inploi-chatbot] .collapse{visibility:collapse}[data-widget=inploi-chatbot] .static{position:static}[data-widget=inploi-chatbot] .fixed{position:fixed}[data-widget=inploi-chatbot] .absolute{position:absolute}[data-widget=inploi-chatbot] .relative{position:relative}[data-widget=inploi-chatbot] .sticky{position:sticky}[data-widget=inploi-chatbot] .inset-0{top:0;right:0;bottom:0;left:0}[data-widget=inploi-chatbot] .bottom-0{bottom:0}[data-widget=inploi-chatbot] .bottom-2{bottom:8px}[data-widget=inploi-chatbot] .bottom-2\\.5{bottom:10px}[data-widget=inploi-chatbot] .left-0{left:0}[data-widget=inploi-chatbot] .left-2{left:8px}[data-widget=inploi-chatbot] .right-0{right:0}[data-widget=inploi-chatbot] .right-0\\.5{right:2px}[data-widget=inploi-chatbot] .right-1{right:4px}[data-widget=inploi-chatbot] .right-2{right:8px}[data-widget=inploi-chatbot] .top-0{top:0}[data-widget=inploi-chatbot] .isolate{isolation:isolate}[data-widget=inploi-chatbot] .z-20{z-index:20}[data-widget=inploi-chatbot] .z-50{z-index:50}[data-widget=inploi-chatbot] .m-0{margin:0}[data-widget=inploi-chatbot] .mx-auto{margin-left:auto;margin-right:auto}[data-widget=inploi-chatbot] .mb-1{margin-bottom:4px}[data-widget=inploi-chatbot] .ml-auto{margin-left:auto}[data-widget=inploi-chatbot] .mt-auto{margin-top:auto}[data-widget=inploi-chatbot] .block{display:block}[data-widget=inploi-chatbot] .inline-block{display:inline-block}[data-widget=inploi-chatbot] .inline{display:inline}[data-widget=inploi-chatbot] .flex{display:flex}[data-widget=inploi-chatbot] .inline-flex{display:inline-flex}[data-widget=inploi-chatbot] .table{display:table}[data-widget=inploi-chatbot] .table-row{display:table-row}[data-widget=inploi-chatbot] .flow-root{display:flow-root}[data-widget=inploi-chatbot] .grid{display:grid}[data-widget=inploi-chatbot] .inline-grid{display:inline-grid}[data-widget=inploi-chatbot] .contents{display:contents}[data-widget=inploi-chatbot] .list-item{display:list-item}[data-widget=inploi-chatbot] .\\!hidden{display:none!important}[data-widget=inploi-chatbot] .hidden{display:none}[data-widget=inploi-chatbot] .size-\\[1lh\\]{width:1lh;height:1lh}[data-widget=inploi-chatbot] .h-1\\.5{height:6px}[data-widget=inploi-chatbot] .h-16{height:64px}[data-widget=inploi-chatbot] .h-4{height:16px}[data-widget=inploi-chatbot] .h-48{height:192px}[data-widget=inploi-chatbot] .h-8{height:32px}[data-widget=inploi-chatbot] .h-\\[3px\\]{height:3px}[data-widget=inploi-chatbot] .h-\\[var\\(--content-height\\)\\]{height:var(--content-height)}[data-widget=inploi-chatbot] .h-\\[var\\(--header-height\\)\\]{height:var(--header-height)}[data-widget=inploi-chatbot] .h-full{height:100%}[data-widget=inploi-chatbot] .max-h-\\[calc\\(8lh\\+1rem\\)\\]{max-height:calc(8lh + 16px)}[data-widget=inploi-chatbot] .max-h-full{max-height:100%}[data-widget=inploi-chatbot] .min-h-\\[36px\\]{min-height:36px}[data-widget=inploi-chatbot] .min-h-\\[calc\\(1lh\\+1rem\\)\\]{min-height:calc(1lh + 16px)}[data-widget=inploi-chatbot] .w-1\\.5{width:6px}[data-widget=inploi-chatbot] .w-16{width:64px}[data-widget=inploi-chatbot] .w-24{width:96px}[data-widget=inploi-chatbot] .w-4{width:16px}[data-widget=inploi-chatbot] .w-64{width:256px}[data-widget=inploi-chatbot] .w-8{width:32px}[data-widget=inploi-chatbot] .w-\\[72px\\]{width:72px}[data-widget=inploi-chatbot] .w-full{width:100%}[data-widget=inploi-chatbot] .min-w-0{min-width:0px}[data-widget=inploi-chatbot] .min-w-\\[2rem\\]{min-width:32px}[data-widget=inploi-chatbot] .max-w-\\[450px\\]{max-width:450px}[data-widget=inploi-chatbot] .max-w-\\[min\\(100\\%\\,24rem\\)\\]{max-width:min(100%,384px)}[data-widget=inploi-chatbot] .max-w-\\[min\\(300px\\,calc\\(100vw-4rem\\)\\)\\]{max-width:min(300px,calc(100vw - 64px))}[data-widget=inploi-chatbot] .max-w-\\[var\\(--radix-popover-content-available-width\\)\\]{max-width:var(--radix-popover-content-available-width)}[data-widget=inploi-chatbot] .max-w-full{max-width:100%}[data-widget=inploi-chatbot] .flex-1{flex:1 1 0%}[data-widget=inploi-chatbot] .flex-auto{flex:1 1 auto}[data-widget=inploi-chatbot] .flex-none{flex:none}[data-widget=inploi-chatbot] .flex-shrink{flex-shrink:1}[data-widget=inploi-chatbot] .flex-shrink-0{flex-shrink:0}[data-widget=inploi-chatbot] .shrink{flex-shrink:1}[data-widget=inploi-chatbot] .flex-grow,[data-widget=inploi-chatbot] .grow{flex-grow:1}[data-widget=inploi-chatbot] .border-collapse{border-collapse:collapse}[data-widget=inploi-chatbot] .scale-75{--tw-scale-x: .75;--tw-scale-y: .75;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}[data-widget=inploi-chatbot] .transform{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}@keyframes bounce{0%,to{transform:translateY(-25%);animation-timing-function:cubic-bezier(.8,0,1,1)}50%{transform:none;animation-timing-function:cubic-bezier(0,0,.2,1)}}[data-widget=inploi-chatbot] .animate-bounce{animation:bounce 1s infinite}@keyframes bubble-in{0%{transform:translateY(100%) scale(.8);opacity:0}to{transform:translateY(0) scale(1);opacity:1}}[data-widget=inploi-chatbot] .animate-bubble-in{animation:bubble-in .3s cubic-bezier(.34,1.56,.64,1)}@keyframes maximise{0%{transform:translateY(50%) scaleX(.7)}to{transform:translateY(0)}}[data-widget=inploi-chatbot] .animate-maximise{animation:maximise .4s cubic-bezier(.16,1,.3,1)}@keyframes pulse{50%{opacity:.5}}[data-widget=inploi-chatbot] .animate-pulse{animation:pulse 2s cubic-bezier(.4,0,.6,1) infinite}@keyframes slide-in-bottom{0%{transform:translateY(-100%) scaleX(1.25)}to{transform:translateY(0)}}[data-widget=inploi-chatbot] .animate-slide-in-bottom{animation:slide-in-bottom .3s cubic-bezier(.175,.885,.32,1.275)}[data-widget=inploi-chatbot] .cursor-pointer{cursor:pointer}[data-widget=inploi-chatbot] .select-none{-webkit-user-select:none;-moz-user-select:none;user-select:none}[data-widget=inploi-chatbot] .select-text{-webkit-user-select:text;-moz-user-select:text;user-select:text}[data-widget=inploi-chatbot] .resize-y{resize:vertical}[data-widget=inploi-chatbot] .resize{resize:both}[data-widget=inploi-chatbot] .appearance-none{-webkit-appearance:none;-moz-appearance:none;appearance:none}[data-widget=inploi-chatbot] .flex-col{flex-direction:column}[data-widget=inploi-chatbot] .flex-wrap{flex-wrap:wrap}[data-widget=inploi-chatbot] .items-center{align-items:center}[data-widget=inploi-chatbot] .items-stretch{align-items:stretch}[data-widget=inploi-chatbot] .justify-end{justify-content:flex-end}[data-widget=inploi-chatbot] .justify-center{justify-content:center}[data-widget=inploi-chatbot] .gap-0{gap:0px}[data-widget=inploi-chatbot] .gap-1{gap:4px}[data-widget=inploi-chatbot] .gap-1\\.5{gap:6px}[data-widget=inploi-chatbot] .gap-2{gap:8px}[data-widget=inploi-chatbot] .gap-2\\.5{gap:10px}[data-widget=inploi-chatbot] .gap-3{gap:12px}[data-widget=inploi-chatbot] .gap-4{gap:16px}[data-widget=inploi-chatbot] .self-center{align-self:center}[data-widget=inploi-chatbot] .overflow-hidden{overflow:hidden}[data-widget=inploi-chatbot] .overflow-y-auto{overflow-y:auto}[data-widget=inploi-chatbot] .overflow-y-scroll{overflow-y:scroll}[data-widget=inploi-chatbot] .truncate{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}[data-widget=inploi-chatbot] .text-ellipsis{text-overflow:ellipsis}[data-widget=inploi-chatbot] .whitespace-nowrap{white-space:nowrap}[data-widget=inploi-chatbot] .text-balance{text-wrap:balance}[data-widget=inploi-chatbot] .text-pretty{text-wrap:pretty}[data-widget=inploi-chatbot] .break-words{overflow-wrap:break-word}[data-widget=inploi-chatbot] .rounded{border-radius:4px}[data-widget=inploi-chatbot] .rounded-2xl{border-radius:16px}[data-widget=inploi-chatbot] .rounded-3xl{border-radius:24px}[data-widget=inploi-chatbot] .rounded-\\[18px\\]{border-radius:18px}[data-widget=inploi-chatbot] .rounded-full{border-radius:9999px}[data-widget=inploi-chatbot] .rounded-lg{border-radius:8px}[data-widget=inploi-chatbot] .rounded-md{border-radius:6px}[data-widget=inploi-chatbot] .rounded-xl{border-radius:12px}[data-widget=inploi-chatbot] .rounded-b-3xl{border-bottom-right-radius:24px;border-bottom-left-radius:24px}[data-widget=inploi-chatbot] .rounded-l-full{border-top-left-radius:9999px;border-bottom-left-radius:9999px}[data-widget=inploi-chatbot] .rounded-r-full{border-top-right-radius:9999px;border-bottom-right-radius:9999px}[data-widget=inploi-chatbot] .rounded-t-3xl{border-top-left-radius:24px;border-top-right-radius:24px}[data-widget=inploi-chatbot] .rounded-bl-md{border-bottom-left-radius:6px}[data-widget=inploi-chatbot] .rounded-br-md{border-bottom-right-radius:6px}[data-widget=inploi-chatbot] .border{border-width:1px}[data-widget=inploi-chatbot] .border-b{border-bottom-width:1px}[data-widget=inploi-chatbot] .border-t{border-top-width:1px}[data-widget=inploi-chatbot] .border-solid{border-style:solid}[data-widget=inploi-chatbot] .border-dashed{border-style:dashed}[data-widget=inploi-chatbot] .border-accent-9{border-color:var(--i-color-a-9)}[data-widget=inploi-chatbot] .border-divider{border-color:var(--i-color-divider)}[data-widget=inploi-chatbot] .border-neutral-5{border-color:var(--i-color-n-5)}[data-widget=inploi-chatbot] .border-neutral-8{border-color:var(--i-color-n-8)}[data-widget=inploi-chatbot] .border-transparent{border-color:transparent}[data-widget=inploi-chatbot] .border-b-neutral-3{border-bottom-color:var(--i-color-n-3)}[data-widget=inploi-chatbot] .border-b-neutral-5{border-bottom-color:var(--i-color-n-5)}[data-widget=inploi-chatbot] .border-b-transparent{border-bottom-color:transparent}[data-widget=inploi-chatbot] .bg-accent-1{background-color:var(--i-color-a-1)}[data-widget=inploi-chatbot] .bg-accent-3{background-color:var(--i-color-a-3)}[data-widget=inploi-chatbot] .bg-accent-9{background-color:var(--i-color-a-9)}[data-widget=inploi-chatbot] .bg-bubble-weak-bg{background-color:var(--i-bubble-weak-bg)}[data-widget=inploi-chatbot] .bg-lowest{background-color:var(--i-color-lowest)}[data-widget=inploi-chatbot] .bg-neutral-1{background-color:var(--i-color-n-1)}[data-widget=inploi-chatbot] .bg-neutral-2{background-color:var(--i-color-n-2)}[data-widget=inploi-chatbot] .bg-neutral-3{background-color:var(--i-color-n-3)}[data-widget=inploi-chatbot] .bg-statusbar{background-color:var(--i-status-bar-bg)}[data-widget=inploi-chatbot] .bg-transparent{background-color:transparent}[data-widget=inploi-chatbot] .bg-none{background-image:none}[data-widget=inploi-chatbot] .p-1{padding:4px}[data-widget=inploi-chatbot] .p-1\\.5{padding:6px}[data-widget=inploi-chatbot] .p-10{padding:40px}[data-widget=inploi-chatbot] .p-11{padding:44px}[data-widget=inploi-chatbot] .p-12{padding:48px}[data-widget=inploi-chatbot] .p-2{padding:8px}[data-widget=inploi-chatbot] .p-2\\.5{padding:10px}[data-widget=inploi-chatbot] .p-3{padding:12px}[data-widget=inploi-chatbot] .p-4{padding:16px}[data-widget=inploi-chatbot] .p-5{padding:20px}[data-widget=inploi-chatbot] .p-6{padding:24px}[data-widget=inploi-chatbot] .p-7{padding:28px}[data-widget=inploi-chatbot] .p-8{padding:32px}[data-widget=inploi-chatbot] .p-9{padding:36px}[data-widget=inploi-chatbot] .px-0\\.5{padding-left:2px;padding-right:2px}[data-widget=inploi-chatbot] .px-1{padding-left:4px;padding-right:4px}[data-widget=inploi-chatbot] .px-1\\.5{padding-left:6px;padding-right:6px}[data-widget=inploi-chatbot] .px-2{padding-left:8px;padding-right:8px}[data-widget=inploi-chatbot] .px-3{padding-left:12px;padding-right:12px}[data-widget=inploi-chatbot] .px-4{padding-left:16px;padding-right:16px}[data-widget=inploi-chatbot] .px-5{padding-left:20px;padding-right:20px}[data-widget=inploi-chatbot] .py-0\\.5{padding-top:2px;padding-bottom:2px}[data-widget=inploi-chatbot] .py-1{padding-top:4px;padding-bottom:4px}[data-widget=inploi-chatbot] .py-1\\.5{padding-top:6px;padding-bottom:6px}[data-widget=inploi-chatbot] .py-2{padding-top:8px;padding-bottom:8px}[data-widget=inploi-chatbot] .py-2\\.5{padding-top:10px;padding-bottom:10px}[data-widget=inploi-chatbot] .py-3{padding-top:12px;padding-bottom:12px}[data-widget=inploi-chatbot] .pb-2{padding-bottom:8px}[data-widget=inploi-chatbot] .pb-6{padding-bottom:24px}[data-widget=inploi-chatbot] .pl-1\\.5{padding-left:6px}[data-widget=inploi-chatbot] .pl-2{padding-left:8px}[data-widget=inploi-chatbot] .pl-2\\.5{padding-left:10px}[data-widget=inploi-chatbot] .pl-3{padding-left:12px}[data-widget=inploi-chatbot] .pl-4{padding-left:16px}[data-widget=inploi-chatbot] .pr-1{padding-right:4px}[data-widget=inploi-chatbot] .pr-16{padding-right:64px}[data-widget=inploi-chatbot] .pr-2\\.5{padding-right:10px}[data-widget=inploi-chatbot] .pr-3{padding-right:12px}[data-widget=inploi-chatbot] .pr-4{padding-right:16px}[data-widget=inploi-chatbot] .pt-2\\.5{padding-top:10px}[data-widget=inploi-chatbot] .pt-3{padding-top:12px}[data-widget=inploi-chatbot] .pt-5{padding-top:20px}[data-widget=inploi-chatbot] .pt-\\[calc\\(var\\(--header-height\\)\\+1rem\\)\\]{padding-top:calc(var(--header-height) + 16px)}[data-widget=inploi-chatbot] .text-center{text-align:center}[data-widget=inploi-chatbot] .text-justify{text-align:justify}[data-widget=inploi-chatbot] .text-\\[10px\\]{font-size:10px}[data-widget=inploi-chatbot] .text-\\[11px\\]{font-size:11px}[data-widget=inploi-chatbot] .text-base{font-size:16px;line-height:24px}[data-widget=inploi-chatbot] .text-sm{font-size:14px;line-height:20px}[data-widget=inploi-chatbot] .text-xs{font-size:12px;line-height:16px}[data-widget=inploi-chatbot] .font-bold{font-weight:700}[data-widget=inploi-chatbot] .font-medium{font-weight:500}[data-widget=inploi-chatbot] .font-semibold{font-weight:600}[data-widget=inploi-chatbot] .uppercase{text-transform:uppercase}[data-widget=inploi-chatbot] .lowercase{text-transform:lowercase}[data-widget=inploi-chatbot] .capitalize{text-transform:capitalize}[data-widget=inploi-chatbot] .italic{font-style:italic}[data-widget=inploi-chatbot] .ordinal{--tw-ordinal: ordinal;font-variant-numeric:var(--tw-ordinal) var(--tw-slashed-zero) var(--tw-numeric-figure) var(--tw-numeric-spacing) var(--tw-numeric-fraction)}[data-widget=inploi-chatbot] .leading-3{line-height:12px}[data-widget=inploi-chatbot] .leading-snug{line-height:1.375}[data-widget=inploi-chatbot] .leading-tight{line-height:1.25}[data-widget=inploi-chatbot] .tracking-\\[-0\\.01em\\]{letter-spacing:-.01em}[data-widget=inploi-chatbot] .tracking-tight{letter-spacing:-.025em}[data-widget=inploi-chatbot] .tracking-wide{letter-spacing:.025em}[data-widget=inploi-chatbot] .tracking-widest{letter-spacing:.1em}[data-widget=inploi-chatbot] .text-\\[\\#4CAF50\\]{--tw-text-opacity: 1;color:rgb(76 175 80 / var(--tw-text-opacity, 1))}[data-widget=inploi-chatbot] .text-\\[\\#FFC107\\]{--tw-text-opacity: 1;color:rgb(255 193 7 / var(--tw-text-opacity, 1))}[data-widget=inploi-chatbot] .text-accent-1{color:var(--i-color-a-1)}[data-widget=inploi-chatbot] .text-accent-10{color:var(--i-color-a-10)}[data-widget=inploi-chatbot] .text-accent-11{color:var(--i-color-a-11)}[data-widget=inploi-chatbot] .text-accent-12{color:var(--i-color-a-12)}[data-widget=inploi-chatbot] .text-accent-9{color:var(--i-color-a-9)}[data-widget=inploi-chatbot] .text-error-11{color:var(--i-color-e-11)}[data-widget=inploi-chatbot] .text-error-9{color:var(--i-color-e-9)}[data-widget=inploi-chatbot] .text-neutral-10{color:var(--i-color-n-10)}[data-widget=inploi-chatbot] .text-neutral-11{color:var(--i-color-n-11)}[data-widget=inploi-chatbot] .text-neutral-12{color:var(--i-color-n-12)}[data-widget=inploi-chatbot] .text-neutral-6{color:var(--i-color-n-6)}[data-widget=inploi-chatbot] .text-neutral-8{color:var(--i-color-n-8)}[data-widget=inploi-chatbot] .text-neutral-9{color:var(--i-color-n-9)}[data-widget=inploi-chatbot] .text-white{--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity, 1))}[data-widget=inploi-chatbot] .text-white\\/80{color:#fffc}[data-widget=inploi-chatbot] .underline{text-decoration-line:underline}[data-widget=inploi-chatbot] .no-underline{text-decoration-line:none}[data-widget=inploi-chatbot] .underline-offset-2{text-underline-offset:2px}[data-widget=inploi-chatbot] .underline-offset-4{text-underline-offset:4px}[data-widget=inploi-chatbot] .caret-accent-9{caret-color:var(--i-color-a-9)}[data-widget=inploi-chatbot] .opacity-0{opacity:0}[data-widget=inploi-chatbot] .shadow{--tw-shadow: 0 1px 3px 0 rgb(0 0 0 / .1), 0 1px 2px -1px rgb(0 0 0 / .1);--tw-shadow-colored: 0 1px 3px 0 var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}[data-widget=inploi-chatbot] .shadow-\\[0_0_0_1px\\]{--tw-shadow: 0 0 0 1px;--tw-shadow-colored: 0 0 0 1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}[data-widget=inploi-chatbot] .shadow-surface-lg{--tw-shadow: 0px 3px 3px 0px oklch(0% 0 0 / .03), 0px 6px 4px 0px oklch(0% 0 0 / .02), 0px 11px 4px 0px oklch(0% 0 0 / .01), 0px 32px 24px -12px oklch(0% 0 0 / .06);--tw-shadow-colored: 0px 3px 3px 0px var(--tw-shadow-color), 0px 6px 4px 0px var(--tw-shadow-color), 0px 11px 4px 0px var(--tw-shadow-color), 0px 32px 24px -12px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}[data-widget=inploi-chatbot] .shadow-surface-md{--tw-shadow: 0px 3px 3px 0px oklch(0% 0 0 / .03), 0px 6px 4px 0px oklch(0% 0 0 / .02), 0px 6px 4px 0px oklch(0% 0 0 / .01);--tw-shadow-colored: 0px 3px 3px 0px var(--tw-shadow-color), 0px 6px 4px 0px var(--tw-shadow-color), 0px 6px 4px 0px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}[data-widget=inploi-chatbot] .shadow-surface-sm{--tw-shadow: 0px 3px 3px 0px oklch(0% 0 0 / .03), 0px 4px 4px 0px oklch(0% 0 0 / .02);--tw-shadow-colored: 0px 3px 3px 0px var(--tw-shadow-color), 0px 4px 4px 0px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}[data-widget=inploi-chatbot] .shadow-bubble-strong-shadow{--tw-shadow-color: var(--i-bubble-strong-shadow);--tw-shadow: var(--tw-shadow-colored)}[data-widget=inploi-chatbot] .outline-none{outline:2px solid transparent;outline-offset:2px}[data-widget=inploi-chatbot] .outline{outline-style:solid}[data-widget=inploi-chatbot] .outline-1{outline-width:1px}[data-widget=inploi-chatbot] .outline-2{outline-width:2px}[data-widget=inploi-chatbot] .outline-accent-10{outline-color:var(--i-color-a-10)}[data-widget=inploi-chatbot] .outline-accent-4{outline-color:var(--i-color-a-4)}[data-widget=inploi-chatbot] .outline-bubble-weak{outline-color:var(--i-bubble-weak-outline)}[data-widget=inploi-chatbot] .outline-divider{outline-color:var(--i-color-divider)}[data-widget=inploi-chatbot] .outline-neutral-3{outline-color:var(--i-color-n-3)}[data-widget=inploi-chatbot] .outline-neutral-6{outline-color:var(--i-color-n-6)}[data-widget=inploi-chatbot] .ring-0{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(0px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}[data-widget=inploi-chatbot] .ring-1{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}[data-widget=inploi-chatbot] .ring-2{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}[data-widget=inploi-chatbot] .ring-inset{--tw-ring-inset: inset}[data-widget=inploi-chatbot] .ring-accent-6{--tw-ring-color: var(--i-color-a-6)}[data-widget=inploi-chatbot] .ring-divider{--tw-ring-color: var(--i-color-divider)}[data-widget=inploi-chatbot] .ring-lowest{--tw-ring-color: var(--i-color-lowest)}[data-widget=inploi-chatbot] .ring-neutral-4{--tw-ring-color: var(--i-color-n-4)}[data-widget=inploi-chatbot] .ring-neutral-5{--tw-ring-color: var(--i-color-n-5)}[data-widget=inploi-chatbot] .ring-neutral-7{--tw-ring-color: var(--i-color-n-7)}[data-widget=inploi-chatbot] .ring-transparent{--tw-ring-color: transparent}[data-widget=inploi-chatbot] .ring-offset-\\[1\\.5px\\]{--tw-ring-offset-width: 1.5px}[data-widget=inploi-chatbot] .ring-offset-neutral-1{--tw-ring-offset-color: var(--i-color-n-1)}[data-widget=inploi-chatbot] .blur{--tw-blur: blur(8px);filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}[data-widget=inploi-chatbot] .drop-shadow-\\[0_1\\.5px_var\\(--i-color-n-1\\)\\]{--tw-drop-shadow: drop-shadow(0 1.5px var(--i-color-n-1));filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}[data-widget=inploi-chatbot] .grayscale{--tw-grayscale: grayscale(100%);filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}[data-widget=inploi-chatbot] .invert{--tw-invert: invert(100%);filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}[data-widget=inploi-chatbot] .sepia{--tw-sepia: sepia(100%);filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}[data-widget=inploi-chatbot] .filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}[data-widget=inploi-chatbot] .backdrop-blur-md{--tw-backdrop-blur: blur(12px);-webkit-backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia);backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia)}[data-widget=inploi-chatbot] .backdrop-blur-xl{--tw-backdrop-blur: blur(24px);-webkit-backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia);backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia)}[data-widget=inploi-chatbot] .backdrop-saturate-150{--tw-backdrop-saturate: saturate(1.5);-webkit-backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia);backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia)}[data-widget=inploi-chatbot] .backdrop-filter{-webkit-backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia);backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia)}[data-widget=inploi-chatbot] .transition{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}[data-widget=inploi-chatbot] .transition-\\[background\\,color\\,border-color\\,box-shadow\\]{transition-property:background,color,border-color,box-shadow;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}[data-widget=inploi-chatbot] .transition-all{transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}[data-widget=inploi-chatbot] .transition-colors{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}[data-widget=inploi-chatbot] .transition-transform{transition-property:transform;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}[data-widget=inploi-chatbot] .duration-100{transition-duration:.1s}[data-widget=inploi-chatbot] .duration-1000{transition-duration:1s}[data-widget=inploi-chatbot] .duration-300{transition-duration:.3s}[data-widget=inploi-chatbot] .duration-700{transition-duration:.7s}[data-widget=inploi-chatbot] .ease-expo-out{transition-timing-function:cubic-bezier(.16,1,.3,1)}[data-widget=inploi-chatbot] .ease-in-out{transition-timing-function:cubic-bezier(.4,0,.2,1)}[data-widget=inploi-chatbot] .will-change-\\[height\\]{will-change:height}[data-widget=inploi-chatbot] .will-change-\\[transform\\,opacity\\]{will-change:transform,opacity}[data-widget=inploi-chatbot] .text-wrap-balance{text-wrap:balance}[data-widget=inploi-chatbot] .fr{outline:none}[data-widget=inploi-chatbot] .fr:focus{outline:none}[data-widget=inploi-chatbot] .fr:focus-visible{outline:none;--tw-ring-offset-width: 1px;--tw-ring-offset-color: var(--i-color-lowest);--tw-ring-opacity: 1;--tw-ring-color: var(--i-color-a-9);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}[data-widget=inploi-chatbot] .gutter-stable{scrollbar-gutter:stable}[data-widget=inploi-chatbot] .hide-scrollbars::-webkit-scrollbar{display:none}[data-widget=inploi-chatbot] .hide-scrollbars{scrollbar-width:none;-ms-overflow-style:none}[data-widget=inploi-chatbot] .touch-hitbox:before{content:"";position:absolute;display:block;top:50%;left:50%;transform:translate(-50%,-50%);width:100%;height:100%;min-height:44px;min-width:44px;z-index:9999}[data-widget=inploi-chatbot] .\\[-webkit-outer-spin-button\\:none\\]{-webkit-outer-spin-button:none}[data-widget=inploi-chatbot] .\\[a-zA-Z0-9-_\\:\\.\\$\\@\\?\\]{a-z-a--z0-9-_:.$@?}[data-widget=inploi-chatbot] .\\[grid-template-columns\\:min-content_1fr\\]{grid-template-columns:min-content 1fr}[data-widget=inploi-chatbot] .\\[text-wrap\\:pretty\\]{text-wrap:pretty}[data-widget=inploi-chatbot] .selection\\:bg-accent-4 *::-moz-selection{background-color:var(--i-color-a-4)}[data-widget=inploi-chatbot] .selection\\:bg-accent-4 *::selection{background-color:var(--i-color-a-4)}[data-widget=inploi-chatbot] .selection\\:bg-transparent *::-moz-selection{background-color:transparent}[data-widget=inploi-chatbot] .selection\\:bg-transparent *::selection{background-color:transparent}[data-widget=inploi-chatbot] .selection\\:text-accent-12 *::-moz-selection{color:var(--i-color-a-12)}[data-widget=inploi-chatbot] .selection\\:text-accent-12 *::selection{color:var(--i-color-a-12)}[data-widget=inploi-chatbot] .selection\\:bg-accent-4::-moz-selection{background-color:var(--i-color-a-4)}[data-widget=inploi-chatbot] .selection\\:bg-accent-4::selection{background-color:var(--i-color-a-4)}[data-widget=inploi-chatbot] .selection\\:bg-transparent::-moz-selection{background-color:transparent}[data-widget=inploi-chatbot] .selection\\:bg-transparent::selection{background-color:transparent}[data-widget=inploi-chatbot] .selection\\:text-accent-12::-moz-selection{color:var(--i-color-a-12)}[data-widget=inploi-chatbot] .selection\\:text-accent-12::selection{color:var(--i-color-a-12)}[data-widget=inploi-chatbot] .placeholder\\:text-neutral-10::-moz-placeholder{color:var(--i-color-n-10)}[data-widget=inploi-chatbot] .placeholder\\:text-neutral-10::placeholder{color:var(--i-color-n-10)}[data-widget=inploi-chatbot] .placeholder\\:text-neutral-8::-moz-placeholder{color:var(--i-color-n-8)}[data-widget=inploi-chatbot] .placeholder\\:text-neutral-8::placeholder{color:var(--i-color-n-8)}[data-widget=inploi-chatbot] .first-of-type\\:rounded-l-lg:first-of-type{border-top-left-radius:8px;border-bottom-left-radius:8px}[data-widget=inploi-chatbot] .last-of-type\\:rounded-r-lg:last-of-type{border-top-right-radius:8px;border-bottom-right-radius:8px}[data-widget=inploi-chatbot] .autofill\\:shadow-\\[inset_0_0_0_1000px_hsl\\(210_16\\.7\\%_97\\.6\\%\\)\\]:-webkit-autofill{--tw-shadow: inset 0 0 0 1000px hsl(210 16.7% 97.6%);--tw-shadow-colored: inset 0 0 0 1000px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}[data-widget=inploi-chatbot] .autofill\\:shadow-\\[inset_0_0_0_1000px_hsl\\(210_16\\.7\\%_97\\.6\\%\\)\\]:autofill{--tw-shadow: inset 0 0 0 1000px hsl(210 16.7% 97.6%);--tw-shadow-colored: inset 0 0 0 1000px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}[data-widget=inploi-chatbot] .autofill\\:shadow-\\[inset_0_0_0_1000px_var\\(--i-color-a-2\\)\\]:-webkit-autofill{--tw-shadow: inset 0 0 0 1000px var(--i-color-a-2);--tw-shadow-colored: inset 0 0 0 1000px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}[data-widget=inploi-chatbot] .autofill\\:shadow-\\[inset_0_0_0_1000px_var\\(--i-color-a-2\\)\\]:autofill{--tw-shadow: inset 0 0 0 1000px var(--i-color-a-2);--tw-shadow-colored: inset 0 0 0 1000px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}[data-widget=inploi-chatbot] .autofill\\:\\[-webkit-text-fill-color\\:var\\(--i-color-a-11\\)\\]:-webkit-autofill{-webkit-text-fill-color:var(--i-color-a-11)}[data-widget=inploi-chatbot] .autofill\\:\\[-webkit-text-fill-color\\:var\\(--i-color-a-11\\)\\]:autofill{-webkit-text-fill-color:var(--i-color-a-11)}[data-widget=inploi-chatbot] .focus-within\\:bg-neutral-5:focus-within{background-color:var(--i-color-n-5)}[data-widget=inploi-chatbot] .focus-within\\:outline-none:focus-within{outline:2px solid transparent;outline-offset:2px}[data-widget=inploi-chatbot] .focus-within\\:outline-accent-7:focus-within{outline-color:var(--i-color-a-7)}[data-widget=inploi-chatbot] .hover\\:z-10:hover{z-index:10}[data-widget=inploi-chatbot] .hover\\:scale-\\[1\\.02\\]:hover{--tw-scale-x: 1.02;--tw-scale-y: 1.02;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}[data-widget=inploi-chatbot] .hover\\:border-accent-10:hover{border-color:var(--i-color-a-10)}[data-widget=inploi-chatbot] .hover\\:border-neutral-5:hover{border-color:var(--i-color-n-5)}[data-widget=inploi-chatbot] .hover\\:bg-accent-10:hover{background-color:var(--i-color-a-10)}[data-widget=inploi-chatbot] .hover\\:bg-divider:hover{background-color:var(--i-color-divider)}[data-widget=inploi-chatbot] .hover\\:bg-interactive-bg-hover:hover{background-color:var(--i-interactive-bg-hover)}[data-widget=inploi-chatbot] .hover\\:bg-neutral-2:hover{background-color:var(--i-color-n-2)}[data-widget=inploi-chatbot] .hover\\:bg-neutral-3:hover{background-color:var(--i-color-n-3)}[data-widget=inploi-chatbot] .hover\\:bg-neutral-4:hover{background-color:var(--i-color-n-4)}[data-widget=inploi-chatbot] .hover\\:bg-neutral-5:hover{background-color:var(--i-color-n-5)}[data-widget=inploi-chatbot] .hover\\:bg-white\\/20:hover{background-color:#fff3}[data-widget=inploi-chatbot] .hover\\:text-accent-11:hover{color:var(--i-color-a-11)}[data-widget=inploi-chatbot] .hover\\:text-neutral-12:hover{color:var(--i-color-n-12)}[data-widget=inploi-chatbot] .hover\\:text-white:hover{--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity, 1))}[data-widget=inploi-chatbot] .hover\\:underline:hover{text-decoration-line:underline}[data-widget=inploi-chatbot] .hover\\:ring-accent-8:hover{--tw-ring-color: var(--i-color-a-8)}[data-widget=inploi-chatbot] .hover\\:ring-divider:hover{--tw-ring-color: var(--i-color-divider)}[data-widget=inploi-chatbot] .focus\\:z-20:focus{z-index:20}[data-widget=inploi-chatbot] .focus\\:bg-neutral-5:focus{background-color:var(--i-color-n-5)}[data-widget=inploi-chatbot] .focus\\:shadow-\\[0_0_0_2px\\]:focus{--tw-shadow: 0 0 0 2px;--tw-shadow-colored: 0 0 0 2px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}[data-widget=inploi-chatbot] .focus\\:outline-none:focus{outline:2px solid transparent;outline-offset:2px}[data-widget=inploi-chatbot] .autofill\\:focus\\:shadow-\\[inset_0_0_0_1000px_var\\(--i-color-a-1\\)\\]:focus:-webkit-autofill{--tw-shadow: inset 0 0 0 1000px var(--i-color-a-1);--tw-shadow-colored: inset 0 0 0 1000px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}[data-widget=inploi-chatbot] .autofill\\:focus\\:shadow-\\[inset_0_0_0_1000px_var\\(--i-color-a-1\\)\\]:focus:autofill{--tw-shadow: inset 0 0 0 1000px var(--i-color-a-1);--tw-shadow-colored: inset 0 0 0 1000px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}[data-widget=inploi-chatbot] .focus-visible\\:bg-neutral-3:focus-visible{background-color:var(--i-color-n-3)}[data-widget=inploi-chatbot] .focus-visible\\:outline-none:focus-visible{outline:2px solid transparent;outline-offset:2px}[data-widget=inploi-chatbot] .focus-visible\\:outline-2:focus-visible{outline-width:2px}[data-widget=inploi-chatbot] .focus-visible\\:outline-accent-7:focus-visible{outline-color:var(--i-color-a-7)}[data-widget=inploi-chatbot] .focus-visible\\:outline-accent-8:focus-visible{outline-color:var(--i-color-a-8)}[data-widget=inploi-chatbot] .focus-visible\\:ring-4:focus-visible{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(4px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}[data-widget=inploi-chatbot] .focus-visible\\:ring-offset-2:focus-visible{--tw-ring-offset-width: 2px}[data-widget=inploi-chatbot] .active\\:scale-\\[\\.97\\]:active{--tw-scale-x: .97;--tw-scale-y: .97;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}[data-widget=inploi-chatbot] .active\\:border-submit-bg-active:active{border-color:var(--i-submit-button-bg-active)}[data-widget=inploi-chatbot] .active\\:bg-accent-10:active{background-color:var(--i-color-a-10)}[data-widget=inploi-chatbot] .active\\:bg-accent-2:active{background-color:var(--i-color-a-2)}[data-widget=inploi-chatbot] .active\\:bg-interactive-bg-active:active{background-color:var(--i-interactive-bg-active)}[data-widget=inploi-chatbot] .active\\:bg-interactive-bg-hover:active{background-color:var(--i-interactive-bg-hover)}[data-widget=inploi-chatbot] .active\\:bg-submit-bg-active:active{background-color:var(--i-submit-button-bg-active)}[data-widget=inploi-chatbot] .active\\:bg-white\\/30:active{background-color:#ffffff4d}[data-widget=inploi-chatbot] .active\\:text-accent-10:active{color:var(--i-color-a-10)}[data-widget=inploi-chatbot] .active\\:text-accent-11:active{color:var(--i-color-a-11)}[data-widget=inploi-chatbot] .active\\:text-neutral-12:active{color:var(--i-color-n-12)}[data-widget=inploi-chatbot] .active\\:text-white:active{--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity, 1))}[data-widget=inploi-chatbot] .active\\:outline-neutral-8:active{outline-color:var(--i-color-n-8)}[data-widget=inploi-chatbot] .active\\:ring-2:active{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}[data-widget=inploi-chatbot] .active\\:ring-accent-7:active{--tw-ring-color: var(--i-color-a-7)}[data-widget=inploi-chatbot] .active\\:ring-interactive-bg-hover:active{--tw-ring-color: var(--i-interactive-bg-hover)}[data-widget=inploi-chatbot] .active\\:ring-offset-2:active{--tw-ring-offset-width: 2px}[data-widget=inploi-chatbot] .disabled\\:cursor-not-allowed:disabled{cursor:not-allowed}[data-widget=inploi-chatbot] .disabled\\:opacity-50:disabled{opacity:.5}[data-widget=inploi-chatbot] .peer:checked~.peer-checked\\:bg-accent-2{background-color:var(--i-color-a-2)}[data-widget=inploi-chatbot] .peer:checked~.peer-checked\\:text-accent-9{color:var(--i-color-a-9)}[data-widget=inploi-chatbot] .peer:checked~.peer-checked\\:outline-accent-7{outline-color:var(--i-color-a-7)}[data-widget=inploi-chatbot] .peer:focus-visible~.peer-focus-visible\\:ring-4{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(4px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}[data-widget=inploi-chatbot] .peer:focus-visible~.peer-focus-visible\\:ring-accent-9{--tw-ring-color: var(--i-color-a-9)}[data-widget=inploi-chatbot] .peer:focus-visible~.peer-focus-visible\\:ring-offset-accent-7{--tw-ring-offset-color: var(--i-color-a-7)}[data-widget=inploi-chatbot] .group[aria-pressed=true] .group-aria-\\[pressed\\=true\\]\\:scale-100{--tw-scale-x: 1;--tw-scale-y: 1;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}@media (pointer: coarse){[data-widget=inploi-chatbot] .pointer-coarse\\:touch-hitbox\\:\\:before:before{content:"";position:absolute;display:block;top:50%;left:50%;transform:translate(-50%,-50%);width:100%;height:100%;min-height:44px;min-width:44px;z-index:9999}}[data-widget=inploi-chatbot] .\\[\\&\\:has\\(\\+\\*\\>input\\:focus\\)\\]\\:text-neutral-11:has(+*>input:focus){color:var(--i-color-n-11)}[data-widget=inploi-chatbot] .\\[\\&\\:has\\(\\.view-switch\\:active\\)\\]\\:scale-\\[0\\.98\\]:has(.view-switch:active){--tw-scale-x: .98;--tw-scale-y: .98;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}[data-widget=inploi-chatbot] .\\[\\&\\:has\\(\\>\\.view-switch\\:focus-visible\\)\\]\\:ring-1:has(>.view-switch:focus-visible){--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}@keyframes fade-in{0%{opacity:0}to{opacity:1}}[data-widget=inploi-chatbot] dialog::backdrop{animation:fade-in .5s cubic-bezier(.16,1,.3,1) both}[data-widget=inploi-chatbot] dialog::backdrop{background-color:var(--i-overlay-bg)}
2
- `,Qa="inploi-chatbot",Be=`[data-widget='${Qa}']`,Al=()=>({getChatbotElement:()=>document.querySelector(Be),getOrCreateChatbotElement:()=>{const t=document.querySelector(Be);if(t)return document.body.appendChild(t),t;const e=document.createElement("div");return document.body.appendChild(e),e.dataset.widget=Qa,e}}),Fl=25,Re=at({instant:()=>{},smooth:()=>{}}),Hl=(t,e)=>new Promise((i,a)=>{if(e!=null&&e.aborted)return a(new st);const r=setTimeout(i,t);e==null||e.addEventListener("abort",()=>{clearTimeout(r),a(new st)},{once:!0})}),Tt={onSubmitSuccessFn$:at(()=>{}),isBotTyping$:at(!1),scrollToEnd:{instant:()=>Re.value.instant(),smooth:()=>Re.value.smooth()}},Ll=()=>{const t=Nt(null);pt(()=>{Re.value={instant:()=>{var i;return(i=t.current)==null?void 0:i.scrollTo({top:t.current.scrollHeight,behavior:"instant"})},smooth:()=>{t.current&&t.current.scrollHeight-t.current.scrollTop<=t.current.clientHeight*2&&t.current.scrollTo({top:t.current.scrollHeight,behavior:"smooth"})}}},[t]);const e=rt(()=>({addToSubmissions:(a,r)=>x.setSubmission(a,r),send:async({message:a,signal:r,groupId:o})=>{if(await Mt(a).with({author:"bot",type:"text"},async n=>{if(r!=null&&r.aborted)throw new st;Tt.isBotTyping$.value=!0;const c=Math.min(Math.max(20,n.text.length),100)*Fl;try{await Hl(c,r)}finally{Tt.isBotTyping$.value=!1}}).otherwise(async()=>{}),r!=null&&r.aborted)throw new st;x.addMessage(a,o)},input:({input:a,signal:r})=>{if(r!=null&&r.aborted)throw new st;return x.setInput(a),new Promise(o=>{const n=c=>{if(r!=null&&r.aborted)throw new st;x.setInput(void 0),a.key&&x.setSubmission(a.key,c),o(c)};Tt.onSubmitSuccessFn$.value=n})}}),[]);return{chatRef:t,chatService:e}};var K;function le(t){return{lang:(t==null?void 0:t.lang)??(K==null?void 0:K.lang),message:t==null?void 0:t.message,abortEarly:(t==null?void 0:t.abortEarly)??(K==null?void 0:K.abortEarly),abortPipeEarly:(t==null?void 0:t.abortPipeEarly)??(K==null?void 0:K.abortPipeEarly)}}var be;function Bl(t){return be==null?void 0:be.get(t)}var _e;function Rl(t){return _e==null?void 0:_e.get(t)}var me;function Ul(t,e){var i;return(i=me==null?void 0:me.get(t))==null?void 0:i.get(e)}function ut(t){var i,a;const e=typeof t;return e==="string"?`"${t}"`:e==="number"||e==="bigint"||e==="boolean"?`${t}`:e==="object"||e==="function"?(t&&((a=(i=Object.getPrototypeOf(t))==null?void 0:i.constructor)==null?void 0:a.name))??"null":e}function j(t,e,i,a,r){const o=r&&"input"in r?r.input:i.value,n=(r==null?void 0:r.expected)??t.expects??null,c=(r==null?void 0:r.received)??ut(o),l={kind:t.kind,type:t.type,input:o,expected:n,received:c,message:`Invalid ${e}: ${n?`Expected ${n} but r`:"R"}eceived ${c}`,requirement:t.requirement,path:r==null?void 0:r.path,issues:r==null?void 0:r.issues,lang:a.lang,abortEarly:a.abortEarly,abortPipeEarly:a.abortPipeEarly},d=t.kind==="schema",u=(r==null?void 0:r.message)??t.message??Ul(t.reference,l.lang)??(d?Rl(l.lang):null)??a.message??Bl(l.lang);u!==void 0&&(l.message=typeof u=="function"?u(l):u),d&&(i.typed=!1),i.issues?i.issues.push(l):i.issues=[l]}function A(t){return{version:1,vendor:"valibot",validate(e){return t["~run"]({value:e},le())}}}function Vl(t,e){return Object.hasOwn(t,e)&&e!=="__proto__"&&e!=="prototype"&&e!=="constructor"}function tr(t,e){const i=[...new Set(t)];return i.length>1?`(${i.join(` ${e} `)})`:i[0]??"never"}function Kl(t){if(t.path){let e="";for(const i of t.path)if(typeof i.key=="string"||typeof i.key=="number")e?e+=`.${i.key}`:e+=i.key;else return null;return e}return null}var Wl=class extends Error{constructor(t){super(t[0].message),this.name="ValiError",this.issues=t}},Gl=/^[\w+-]+(?:\.[\w+-]+)*@[\da-z]+(?:[.-][\da-z]+)*\.[a-z]{2,}$/iu;function er(t,e){return{kind:"validation",type:"check",reference:er,async:!1,expects:null,requirement:t,message:e,"~run"(i,a){return i.typed&&!this.requirement(i.value)&&j(this,"input",i,a),i}}}function ir(t){return{kind:"validation",type:"email",reference:ir,expects:null,async:!1,requirement:Gl,message:t,"~run"(e,i){return e.typed&&!this.requirement.test(e.value)&&j(this,"email",e,i),e}}}function ar(t,e){return{kind:"validation",type:"max_length",reference:ar,async:!1,expects:`<=${t}`,requirement:t,message:e,"~run"(i,a){return i.typed&&i.value.length>this.requirement&&j(this,"length",i,a,{received:`${i.value.length}`}),i}}}function rr(t,e){return{kind:"validation",type:"max_value",reference:rr,async:!1,expects:`<=${t instanceof Date?t.toJSON():ut(t)}`,requirement:t,message:e,"~run"(i,a){return i.typed&&!(i.value<=this.requirement)&&j(this,"value",i,a,{received:i.value instanceof Date?i.value.toJSON():ut(i.value)}),i}}}function or(t,e){return{kind:"validation",type:"min_length",reference:or,async:!1,expects:`>=${t}`,requirement:t,message:e,"~run"(i,a){return i.typed&&i.value.length<this.requirement&&j(this,"length",i,a,{received:`${i.value.length}`}),i}}}function nr(t,e){return{kind:"validation",type:"min_value",reference:nr,async:!1,expects:`>=${t instanceof Date?t.toJSON():ut(t)}`,requirement:t,message:e,"~run"(i,a){return i.typed&&!(i.value>=this.requirement)&&j(this,"value",i,a,{received:i.value instanceof Date?i.value.toJSON():ut(i.value)}),i}}}function cr(t,e){return{kind:"validation",type:"regex",reference:cr,async:!1,expects:`${t}`,requirement:t,message:e,"~run"(i,a){return i.typed&&!this.requirement.test(i.value)&&j(this,"format",i,a),i}}}function ci(t){return{kind:"transformation",type:"transform",reference:ci,async:!1,operation:t,"~run"(e){return e.value=this.operation(e.value),e}}}function sr(t){return{kind:"validation",type:"url",reference:sr,async:!1,expects:null,requirement(e){try{return new URL(e),!0}catch{return!1}},message:t,"~run"(e,i){return e.typed&&!this.requirement(e.value)&&j(this,"URL",e,i),e}}}function Yl(t,e,i){return typeof t.fallback=="function"?t.fallback(e,i):t.fallback}function si(t,e,i){return typeof t.default=="function"?t.default(e,i):t.default}function lr(){return{kind:"schema",type:"any",reference:lr,expects:"any",async:!1,get"~standard"(){return A(this)},"~run"(t){return t.typed=!0,t}}}function li(t,e){return{kind:"schema",type:"array",reference:li,expects:"Array",async:!1,item:t,message:e,get"~standard"(){return A(this)},"~run"(i,a){var o;const r=i.value;if(Array.isArray(r)){i.typed=!0,i.value=[];for(let n=0;n<r.length;n++){const c=r[n],l=this.item["~run"]({value:c},a);if(l.issues){const d={type:"array",origin:"value",input:r,key:n,value:c};for(const u of l.issues)u.path?u.path.unshift(d):u.path=[d],(o=i.issues)==null||o.push(u);if(i.issues||(i.issues=l.issues),a.abortEarly){i.typed=!1;break}}l.typed||(i.typed=!1),i.value.push(l.value)}}else j(this,"type",i,a);return i}}}function de(t){return{kind:"schema",type:"boolean",reference:de,expects:"boolean",async:!1,message:t,get"~standard"(){return A(this)},"~run"(e,i){return typeof e.value=="boolean"?e.typed=!0:j(this,"type",e,i),e}}}function Ue(t,e){return{kind:"schema",type:"literal",reference:Ue,expects:ut(t),async:!1,literal:t,message:e,get"~standard"(){return A(this)},"~run"(i,a){return i.value===this.literal?i.typed=!0:j(this,"type",i,a),i}}}function dr(t,e){return{kind:"schema",type:"nullable",reference:dr,expects:`(${t.expects} | null)`,async:!1,wrapped:t,default:e,get"~standard"(){return A(this)},"~run"(i,a){return i.value===null&&(this.default!==void 0&&(i.value=si(this,i,a)),i.value===null)?(i.typed=!0,i):this.wrapped["~run"](i,a)}}}function zt(t){return{kind:"schema",type:"number",reference:zt,expects:"number",async:!1,message:t,get"~standard"(){return A(this)},"~run"(e,i){return typeof e.value=="number"&&!isNaN(e.value)?e.typed=!0:j(this,"type",e,i),e}}}function q(t,e){return{kind:"schema",type:"object",reference:q,expects:"Object",async:!1,entries:t,message:e,get"~standard"(){return A(this)},"~run"(i,a){var o;const r=i.value;if(r&&typeof r=="object"){i.typed=!0,i.value={};for(const n in this.entries){const c=this.entries[n];if(n in r||(c.type==="exact_optional"||c.type==="optional"||c.type==="nullish")&&c.default!==void 0){const l=n in r?r[n]:si(c),d=c["~run"]({value:l},a);if(d.issues){const u={type:"object",origin:"value",input:r,key:n,value:l};for(const s of d.issues)s.path?s.path.unshift(u):s.path=[u],(o=i.issues)==null||o.push(s);if(i.issues||(i.issues=d.issues),a.abortEarly){i.typed=!1;break}}d.typed||(i.typed=!1),i.value[n]=d.value}else if(c.fallback!==void 0)i.value[n]=Yl(c);else if(c.type!=="exact_optional"&&c.type!=="optional"&&c.type!=="nullish"&&(j(this,"key",i,a,{input:void 0,expected:`"${n}"`,path:[{type:"object",origin:"key",input:r,key:n,value:r[n]}]}),a.abortEarly))break}}else j(this,"type",i,a);return i}}}function W(t,e){return{kind:"schema",type:"optional",reference:W,expects:`(${t.expects} | undefined)`,async:!1,wrapped:t,default:e,get"~standard"(){return A(this)},"~run"(i,a){return i.value===void 0&&(this.default!==void 0&&(i.value=si(this,i,a)),i.value===void 0)?(i.typed=!0,i):this.wrapped["~run"](i,a)}}}function ur(t,e){return{kind:"schema",type:"picklist",reference:ur,expects:tr(t.map(ut),"|"),async:!1,options:t,message:e,get"~standard"(){return A(this)},"~run"(i,a){return this.options.includes(i.value)?i.typed=!0:j(this,"type",i,a),i}}}function di(t,e,i){return{kind:"schema",type:"record",reference:di,expects:"Object",async:!1,key:t,value:e,message:i,get"~standard"(){return A(this)},"~run"(a,r){var n,c;const o=a.value;if(o&&typeof o=="object"){a.typed=!0,a.value={};for(const l in o)if(Vl(o,l)){const d=o[l],u=this.key["~run"]({value:l},r);if(u.issues){const w={type:"object",origin:"key",input:o,key:l,value:d};for(const v of u.issues)v.path=[w],(n=a.issues)==null||n.push(v);if(a.issues||(a.issues=u.issues),r.abortEarly){a.typed=!1;break}}const s=this.value["~run"]({value:d},r);if(s.issues){const w={type:"object",origin:"value",input:o,key:l,value:d};for(const v of s.issues)v.path?v.path.unshift(w):v.path=[w],(c=a.issues)==null||c.push(v);if(a.issues||(a.issues=s.issues),r.abortEarly){a.typed=!1;break}}(!u.typed||!s.typed)&&(a.typed=!1),u.typed&&(a.value[u.value]=s.value)}}else j(this,"type",a,r);return a}}}function G(t){return{kind:"schema",type:"string",reference:G,expects:"string",async:!1,message:t,get"~standard"(){return A(this)},"~run"(e,i){return typeof e.value=="string"?e.typed=!0:j(this,"type",e,i),e}}}function Qi(t){let e;if(t)for(const i of t)e?e.push(...i.issues):e=i.issues;return e}function ui(t,e){return{kind:"schema",type:"union",reference:ui,expects:tr(t.map(i=>i.expects),"|"),async:!1,options:t,message:e,get"~standard"(){return A(this)},"~run"(i,a){let r,o,n;for(const c of this.options){const l=c["~run"]({value:i.value},a);if(l.typed)if(l.issues)o?o.push(l):o=[l];else{r=l;break}else n?n.push(l):n=[l]}if(r)return r;if(o){if(o.length===1)return o[0];j(this,"type",i,a,{issues:Qi(o)}),i.typed=!0}else{if((n==null?void 0:n.length)===1)return n[0];j(this,"type",i,a,{issues:Qi(n)})}return i}}}function ql(t,e,i){const a=t["~run"]({value:e},le(i));if(a.issues)throw new Wl(a.issues);return a.value}function Jl(t,e){const i={};for(const a in t.entries)i[a]=!e||e.includes(a)?W(t.entries[a]):t.entries[a];return{...t,entries:i,get"~standard"(){return A(this)}}}function pr(...t){return{...t[0],pipe:t,get"~standard"(){return A(this)},"~run"(e,i){for(const a of t)if(a.kind!=="metadata"){if(e.issues&&(a.kind==="schema"||a.kind==="transformation")){e.typed=!1;break}(!e.issues||!i.abortEarly&&!i.abortPipeEarly)&&(e=a["~run"](e,i))}return e}}}function Xl(t,e,i){const a=t["~run"]({value:e},le(i));return{typed:a.typed,success:!a.issues,output:a.value,issues:a.issues}}async function Zl(t,e,i){const a=await t["~run"]({value:e},le(i));return{typed:a.typed,success:!a.issues,output:a.value,issues:a.issues}}const hr=pr(ui([G(),zt()]),ci(String)),fr=q({id:hr,version:zt(),build:zt(),nodes:li(lr()),context_schema:W(dr(di(G(),q({required:de(),type:ui([Ue("string"),Ue("number")])}))))}),Ql=q({flow:fr}),td=q({company:q({name:G()}),flow:fr,job:q({id:hr,title:G()}),user:W(q({city:W(G()),country:W(G()),isEU:W(de()),continent:W(G())}))}),ed=Ot.endpoint({pathname:"/flow/job/:id",method:"GET",schema:{searchParams:Ot.typed(),response:td}}),id=Ot.endpoint({pathname:"/flow/id/:id",method:"GET",schema:{response:Ql}});var ad=["1","2","3","4","5","6","7","8","9","10","11","12"],rd={light:{1:[98.8,.015],2:[97.8,.018],3:[95.8,.025],4:[92,.04],5:[89,.05],6:[85,.07],7:[80.5,.08],8:[74,.11],9:[60,.22],10:[56,.23],11:[50,.19],12:[25,.18]},dark:{1:[19,.015],2:[21,.018],3:[25.5,.055],4:[29.3,.084],5:[33.5,.098],6:[39.05,.107],7:[45,.11],8:[55,.13],9:[60,.22],10:[67,.18],11:[79.3,.12],12:[95,.04]}},od=(t,e=1,i)=>a=>{const[r,o]=rd[i][a];return"oklch("+r+"% "+o*e+" "+t+")"},ye=t=>{const e=od(t.hue,t.chroma,t.mode);return Object.fromEntries(ad.map(i=>[t.prefix+i,t.transform(e(i))]))},xe=t=>t,nd=t=>{const e=Object.keys(t).flatMap(i=>{const a=t[i];return typeof a=="object"&&a!==null?Object.keys(a).map(r=>{const o=a[r];return[`${String(i)}.${r}`,o]}):[[i,a]]});return Object.fromEntries(e)},Lt=t=>!!t&&typeof t=="object"&&!Array.isArray(t),Ve=(t,...e)=>{if(!e.length)return t;const i=e.shift();if(Lt(t)&&Lt(i))for(const a in i){const r=i[a];if(Lt(r)){t[a]||Object.assign(t,{[a]:{}});const o=t[a];Lt(o)&&Ve(o,r)}else Object.assign(t,{[a]:i[a]})}return Ve(t,...e)},cd=t=>{function e(i,a){const r=[t.prefix,a.toString().replace(/\./g,"-")].join("");return i==="declaration"?`--${r}`:`var(--${r})`}return e},sd=()=>({core:t=>({semantic:e=>({component:i=>({from:a=>{const{theme:r,getToken:o}=a,n=w=>o("reference",w.toString()),c=t({theme:r}),l=e({theme:r,core:n,raw:{core:c}}),d=i({theme:r,core:n,semantic:n,raw:{core:c,semantic:l}}),u=nd(Ve(c,l,d)),s=([w,v],f)=>{const g=[f,w].filter(Boolean).join(".");return typeof v=="object"?Object.entries(v).flatMap(D=>s(D,g)):[[a.getToken("declaration",g),v]]};return{values:u,declarations:Object.fromEntries(Object.entries(u).flatMap(w=>s(w))),ref:w=>o("reference",w.toString())}}})})})});const[ke,$e,ta]=["oklch(0% 0 0)","oklch(100% 0 0)","transparent"],ld=sd().core(({theme:t})=>({color:{black:ke,white:$e,lowest:t.mode==="light"?$e:ke,highest:t.mode==="light"?ke:$e,...ye({prefix:"a-",hue:t.hue,chroma:t.chroma,mode:t.mode,transform:xe}),...ye({prefix:"n-",hue:t.hue,chroma:.05,mode:t.mode,transform:xe}),...ye({prefix:"e-",hue:20,chroma:t.chroma,mode:t.mode,transform:xe})},typography:{}})).semantic(({core:t,raw:e,theme:i})=>{const a=(r,o)=>e.core.color[r].replace(")",` / ${o})`);return{"font-family":{body:"inherit",headings:"inherit"},"font-style":{body:"normal",headings:"normal"},"font-weight-body":"normal","font-weight-headings":"normal","radius-app":"1.5rem","radius-interactive":"1.5rem",color:{divider:a("n-8",i.mode==="dark"?.4:.2)},"copy-body":t("color.n-12"),"copy-headings":t("color.n-12"),interactive:{copy:t("color.n-11"),"copy-hover":t("color.n-12"),"copy-active":t("color.n-12"),bg:ta,"bg-hover":a("n-10",.2),"bg-active":a("n-10",.3)}}}).component(({raw:t,theme:e,semantic:i,core:a})=>{const r=(o,n)=>t.core.color[o].replace(")",` / ${n})`);return{app:{bg:a(e.mode==="dark"?"color.n-1":"color.n-2")},overlay:{bg:r("black",.4)},bubble:{"weak-bg":a(e.mode==="dark"?"color.n-3":"color.lowest"),"weak-outline":i("color.divider"),"strong-shadow":r("a-9",.05)},"status-bar":{bg:r("n-2",.8),"bg-button":ta,"bg-button-hover":r("n-10",.4),"bg-button-active":r("n-10",.5)},"submit-button":{"bg-active":a(e.mode==="dark"?"color.a-8":"color.a-11")}}}),dd=cd({prefix:"i-"}),ud=t=>{const e=ld.from({theme:t,getToken:dd}),i=Object.entries(e.declarations).map(([a,r])=>`${a}: ${r};`);return`${Be} {
1
+ "use strict";const Ot=require("@inploi/sdk");var Ht=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function ea(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}var wr=Array.isArray,Ke=wr,vr=typeof Ht=="object"&&Ht&&Ht.Object===Object&&Ht,gr=vr,br=gr,_r=typeof self=="object"&&self&&self.Object===Object&&self,mr=br||_r||Function("return this")(),We=mr,yr=We,xr=yr.Symbol,Ge=xr,pi=Ge,ia=Object.prototype,kr=ia.hasOwnProperty,$r=ia.toString,xt=pi?pi.toStringTag:void 0;function Sr(t){var e=kr.call(t,xt),i=t[xt];try{t[xt]=void 0;var a=!0}catch{}var r=$r.call(t);return a&&(e?t[xt]=i:delete t[xt]),r}var Cr=Sr,Er=Object.prototype,Tr=Er.toString;function Pr(t){return Tr.call(t)}var Or=Pr,hi=Ge,jr=Cr,Ir=Or,zr="[object Null]",Dr="[object Undefined]",fi=hi?hi.toStringTag:void 0;function Nr(t){return t==null?t===void 0?Dr:zr:fi&&fi in Object(t)?jr(t):Ir(t)}var aa=Nr;function Mr(t){return t!=null&&typeof t=="object"}var Ar=Mr,Fr=aa,Hr=Ar,Lr="[object Symbol]";function Br(t){return typeof t=="symbol"||Hr(t)&&Fr(t)==Lr}var Ye=Br,Rr=Ke,Ur=Ye,Vr=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,Kr=/^\w*$/;function Wr(t,e){if(Rr(t))return!1;var i=typeof t;return i=="number"||i=="symbol"||i=="boolean"||t==null||Ur(t)?!0:Kr.test(t)||!Vr.test(t)||e!=null&&t in Object(e)}var Gr=Wr;function Yr(t){var e=typeof t;return t!=null&&(e=="object"||e=="function")}var ra=Yr,qr=aa,Jr=ra,Xr="[object AsyncFunction]",Zr="[object Function]",Qr="[object GeneratorFunction]",to="[object Proxy]";function eo(t){if(!Jr(t))return!1;var e=qr(t);return e==Zr||e==Qr||e==Xr||e==to}var io=eo,ao=We,ro=ao["__core-js_shared__"],oo=ro,ue=oo,wi=function(){var t=/[^.]+$/.exec(ue&&ue.keys&&ue.keys.IE_PROTO||"");return t?"Symbol(src)_1."+t:""}();function no(t){return!!wi&&wi in t}var co=no,so=Function.prototype,lo=so.toString;function uo(t){if(t!=null){try{return lo.call(t)}catch{}try{return t+""}catch{}}return""}var po=uo,ho=io,fo=co,wo=ra,vo=po,go=/[\\^$.*+?()[\]{}|]/g,bo=/^\[object .+?Constructor\]$/,_o=Function.prototype,mo=Object.prototype,yo=_o.toString,xo=mo.hasOwnProperty,ko=RegExp("^"+yo.call(xo).replace(go,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function $o(t){if(!wo(t)||fo(t))return!1;var e=ho(t)?ko:bo;return e.test(vo(t))}var So=$o;function Co(t,e){return t==null?void 0:t[e]}var Eo=Co,To=So,Po=Eo;function Oo(t,e){var i=Po(t,e);return To(i)?i:void 0}var oa=Oo,jo=oa,Io=jo(Object,"create"),ee=Io,vi=ee;function zo(){this.__data__=vi?vi(null):{},this.size=0}var Do=zo;function No(t){var e=this.has(t)&&delete this.__data__[t];return this.size-=e?1:0,e}var Mo=No,Ao=ee,Fo="__lodash_hash_undefined__",Ho=Object.prototype,Lo=Ho.hasOwnProperty;function Bo(t){var e=this.__data__;if(Ao){var i=e[t];return i===Fo?void 0:i}return Lo.call(e,t)?e[t]:void 0}var Ro=Bo,Uo=ee,Vo=Object.prototype,Ko=Vo.hasOwnProperty;function Wo(t){var e=this.__data__;return Uo?e[t]!==void 0:Ko.call(e,t)}var Go=Wo,Yo=ee,qo="__lodash_hash_undefined__";function Jo(t,e){var i=this.__data__;return this.size+=this.has(t)?0:1,i[t]=Yo&&e===void 0?qo:e,this}var Xo=Jo,Zo=Do,Qo=Mo,tn=Ro,en=Go,an=Xo;function vt(t){var e=-1,i=t==null?0:t.length;for(this.clear();++e<i;){var a=t[e];this.set(a[0],a[1])}}vt.prototype.clear=Zo;vt.prototype.delete=Qo;vt.prototype.get=tn;vt.prototype.has=en;vt.prototype.set=an;var rn=vt;function on(){this.__data__=[],this.size=0}var nn=on;function cn(t,e){return t===e||t!==t&&e!==e}var sn=cn,ln=sn;function dn(t,e){for(var i=t.length;i--;)if(ln(t[i][0],e))return i;return-1}var ie=dn,un=ie,pn=Array.prototype,hn=pn.splice;function fn(t){var e=this.__data__,i=un(e,t);if(i<0)return!1;var a=e.length-1;return i==a?e.pop():hn.call(e,i,1),--this.size,!0}var wn=fn,vn=ie;function gn(t){var e=this.__data__,i=vn(e,t);return i<0?void 0:e[i][1]}var bn=gn,_n=ie;function mn(t){return _n(this.__data__,t)>-1}var yn=mn,xn=ie;function kn(t,e){var i=this.__data__,a=xn(i,t);return a<0?(++this.size,i.push([t,e])):i[a][1]=e,this}var $n=kn,Sn=nn,Cn=wn,En=bn,Tn=yn,Pn=$n;function gt(t){var e=-1,i=t==null?0:t.length;for(this.clear();++e<i;){var a=t[e];this.set(a[0],a[1])}}gt.prototype.clear=Sn;gt.prototype.delete=Cn;gt.prototype.get=En;gt.prototype.has=Tn;gt.prototype.set=Pn;var On=gt,jn=oa,In=We,zn=jn(In,"Map"),Dn=zn,gi=rn,Nn=On,Mn=Dn;function An(){this.size=0,this.__data__={hash:new gi,map:new(Mn||Nn),string:new gi}}var Fn=An;function Hn(t){var e=typeof t;return e=="string"||e=="number"||e=="symbol"||e=="boolean"?t!=="__proto__":t===null}var Ln=Hn,Bn=Ln;function Rn(t,e){var i=t.__data__;return Bn(e)?i[typeof e=="string"?"string":"hash"]:i.map}var ae=Rn,Un=ae;function Vn(t){var e=Un(this,t).delete(t);return this.size-=e?1:0,e}var Kn=Vn,Wn=ae;function Gn(t){return Wn(this,t).get(t)}var Yn=Gn,qn=ae;function Jn(t){return qn(this,t).has(t)}var Xn=Jn,Zn=ae;function Qn(t,e){var i=Zn(this,t),a=i.size;return i.set(t,e),this.size+=i.size==a?0:1,this}var tc=Qn,ec=Fn,ic=Kn,ac=Yn,rc=Xn,oc=tc;function bt(t){var e=-1,i=t==null?0:t.length;for(this.clear();++e<i;){var a=t[e];this.set(a[0],a[1])}}bt.prototype.clear=ec;bt.prototype.delete=ic;bt.prototype.get=ac;bt.prototype.has=rc;bt.prototype.set=oc;var nc=bt,na=nc,cc="Expected a function";function qe(t,e){if(typeof t!="function"||e!=null&&typeof e!="function")throw new TypeError(cc);var i=function(){var a=arguments,r=e?e.apply(this,a):a[0],o=i.cache;if(o.has(r))return o.get(r);var n=t.apply(this,a);return i.cache=o.set(r,n)||o,n};return i.cache=new(qe.Cache||na),i}qe.Cache=na;var sc=qe,lc=sc,dc=500;function uc(t){var e=lc(t,function(a){return i.size===dc&&i.clear(),a}),i=e.cache;return e}var pc=uc,hc=pc,fc=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,wc=/\\(\\)?/g,vc=hc(function(t){var e=[];return t.charCodeAt(0)===46&&e.push(""),t.replace(fc,function(i,a,r,o){e.push(r?o.replace(wc,"$1"):a||i)}),e}),gc=vc;function bc(t,e){for(var i=-1,a=t==null?0:t.length,r=Array(a);++i<a;)r[i]=e(t[i],i,t);return r}var _c=bc,bi=Ge,mc=_c,yc=Ke,xc=Ye,kc=1/0,_i=bi?bi.prototype:void 0,mi=_i?_i.toString:void 0;function ca(t){if(typeof t=="string")return t;if(yc(t))return mc(t,ca)+"";if(xc(t))return mi?mi.call(t):"";var e=t+"";return e=="0"&&1/t==-kc?"-0":e}var $c=ca,Sc=$c;function Cc(t){return t==null?"":Sc(t)}var Ec=Cc,Tc=Ke,Pc=Gr,Oc=gc,jc=Ec;function Ic(t,e){return Tc(t)?t:Pc(t,e)?[t]:Oc(jc(t))}var zc=Ic,Dc=Ye,Nc=1/0;function Mc(t){if(typeof t=="string"||Dc(t))return t;var e=t+"";return e=="0"&&1/t==-Nc?"-0":e}var Ac=Mc,Fc=zc,Hc=Ac;function Lc(t,e){e=Fc(e,t);for(var i=0,a=e.length;t!=null&&i<a;)t=t[Hc(e[i++])];return i&&i==a?t:void 0}var Bc=Lc,Rc=Bc;function Uc(t,e,i){var a=t==null?void 0:Rc(t,e);return a===void 0?i:a}var Vc=Uc;const sa=ea(Vc);var Dt,h,la,da,ot,yi,ua,Se,pa,ht={},ha=[],Kc=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i,re=Array.isArray;function Y(t,e){for(var i in e)t[i]=e[i];return t}function fa(t){var e=t.parentNode;e&&e.removeChild(t)}function F(t,e,i){var a,r,o,n={};for(o in e)o=="key"?a=e[o]:o=="ref"?r=e[o]:n[o]=e[o];if(arguments.length>2&&(n.children=arguments.length>3?Dt.call(arguments,2):i),typeof t=="function"&&t.defaultProps!=null)for(o in t.defaultProps)n[o]===void 0&&(n[o]=t.defaultProps[o]);return Ct(t,n,a,r,null)}function Ct(t,e,i,a,r){var o={type:t,props:e,key:i,ref:a,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,__h:null,constructor:void 0,__v:r??++la};return r==null&&h.vnode!=null&&h.vnode(o),o}function Wc(){return{current:null}}function L(t){return t.children}function H(t,e){this.props=t,this.context=e}function Gt(t,e){if(e==null)return t.__?Gt(t.__,t.__.__k.indexOf(t)+1):null;for(var i;e<t.__k.length;e++)if((i=t.__k[e])!=null&&i.__e!=null)return i.__e;return typeof t.type=="function"?Gt(t):null}function wa(t){var e,i;if((t=t.__)!=null&&t.__c!=null){for(t.__e=t.__c.base=null,e=0;e<t.__k.length;e++)if((i=t.__k[e])!=null&&i.__e!=null){t.__e=t.__c.base=i.__e;break}return wa(t)}}function Ce(t){(!t.__d&&(t.__d=!0)&&ot.push(t)&&!Yt.__r++||yi!==h.debounceRendering)&&((yi=h.debounceRendering)||ua)(Yt)}function Yt(){var t,e,i,a,r,o,n,c,l;for(ot.sort(Se);t=ot.shift();)t.__d&&(e=ot.length,a=void 0,r=void 0,o=void 0,c=(n=(i=t).__v).__e,(l=i.__P)&&(a=[],r=[],(o=Y({},n)).__v=n.__v+1,Je(l,n,o,i.__n,l.ownerSVGElement!==void 0,n.__h!=null?[c]:null,a,c??Gt(n),n.__h,r),_a(a,n,r),n.__e!=c&&wa(n)),ot.length>e&&ot.sort(Se));Yt.__r=0}function va(t,e,i,a,r,o,n,c,l,d,u){var s,w,v,f,g,D,k,b,_,y,E=0,P=a&&a.__k||ha,B=P.length,R=B,I=e.length;for(i.__k=[],s=0;s<I;s++)(f=i.__k[s]=(f=e[s])==null||typeof f=="boolean"||typeof f=="function"?null:typeof f=="string"||typeof f=="number"||typeof f=="bigint"?Ct(null,f,null,null,f):re(f)?Ct(L,{children:f},null,null,null):f.__b>0?Ct(f.type,f.props,f.key,f.ref?f.ref:null,f.__v):f)!=null&&(f.__=i,f.__b=i.__b+1,(b=Gc(f,P,k=s+E,R))===-1?v=ht:(v=P[b]||ht,P[b]=void 0,R--),Je(t,f,v,r,o,n,c,l,d,u),g=f.__e,(w=f.ref)&&v.ref!=w&&(v.ref&&Xe(v.ref,null,f),u.push(w,f.__c||g,f)),g!=null&&(D==null&&(D=g),y=!(_=v===ht||v.__v===null)&&b===k,_?b==-1&&E--:b!==k&&(b===k+1?(E++,y=!0):b>k?R>I-k?(E+=b-k,y=!0):E--:E=b<k&&b==k-1?b-k:0),k=s+E,y=y||b==s&&!_,typeof f.type!="function"||b===k&&v.__k!==f.__k?typeof f.type=="function"||y?f.__d!==void 0?(l=f.__d,f.__d=void 0):l=g.nextSibling:l=ba(t,g,l):l=ga(f,l,t),typeof i.type=="function"&&(i.__d=l)));for(i.__e=D,s=B;s--;)P[s]!=null&&(typeof i.type=="function"&&P[s].__e!=null&&P[s].__e==i.__d&&(i.__d=P[s].__e.nextSibling),ma(P[s],P[s]))}function ga(t,e,i){for(var a,r=t.__k,o=0;r&&o<r.length;o++)(a=r[o])&&(a.__=t,e=typeof a.type=="function"?ga(a,e,i):ba(i,a.__e,e));return e}function J(t,e){return e=e||[],t==null||typeof t=="boolean"||(re(t)?t.some(function(i){J(i,e)}):e.push(t)),e}function ba(t,e,i){return i==null||i.parentNode!==t?t.insertBefore(e,null):e==i&&e.parentNode!=null||t.insertBefore(e,i),e.nextSibling}function Gc(t,e,i,a){var r=t.key,o=t.type,n=i-1,c=i+1,l=e[i];if(l===null||l&&r==l.key&&o===l.type)return i;if(a>(l!=null?1:0))for(;n>=0||c<e.length;){if(n>=0){if((l=e[n])&&r==l.key&&o===l.type)return n;n--}if(c<e.length){if((l=e[c])&&r==l.key&&o===l.type)return c;c++}}return-1}function Yc(t,e,i,a,r){var o;for(o in i)o==="children"||o==="key"||o in e||qt(t,o,null,i[o],a);for(o in e)r&&typeof e[o]!="function"||o==="children"||o==="key"||o==="value"||o==="checked"||i[o]===e[o]||qt(t,o,e[o],i[o],a)}function xi(t,e,i){e[0]==="-"?t.setProperty(e,i??""):t[e]=i==null?"":typeof i!="number"||Kc.test(e)?i:i+"px"}function qt(t,e,i,a,r){var o;t:if(e==="style")if(typeof i=="string")t.style.cssText=i;else{if(typeof a=="string"&&(t.style.cssText=a=""),a)for(e in a)i&&e in i||xi(t.style,e,"");if(i)for(e in i)a&&i[e]===a[e]||xi(t.style,e,i[e])}else if(e[0]==="o"&&e[1]==="n")o=e!==(e=e.replace(/Capture$/,"")),e=e.toLowerCase()in t?e.toLowerCase().slice(2):e.slice(2),t.l||(t.l={}),t.l[e+o]=i,i?a||t.addEventListener(e,o?$i:ki,o):t.removeEventListener(e,o?$i:ki,o);else if(e!=="dangerouslySetInnerHTML"){if(r)e=e.replace(/xlink(H|:h)/,"h").replace(/sName$/,"s");else if(e!=="width"&&e!=="height"&&e!=="href"&&e!=="list"&&e!=="form"&&e!=="tabIndex"&&e!=="download"&&e!=="rowSpan"&&e!=="colSpan"&&e in t)try{t[e]=i??"";break t}catch{}typeof i=="function"||(i==null||i===!1&&e[4]!=="-"?t.removeAttribute(e):t.setAttribute(e,i))}}function ki(t){return this.l[t.type+!1](h.event?h.event(t):t)}function $i(t){return this.l[t.type+!0](h.event?h.event(t):t)}function Je(t,e,i,a,r,o,n,c,l,d){var u,s,w,v,f,g,D,k,b,_,y,E,P,B,R,I=e.type;if(e.constructor!==void 0)return null;i.__h!=null&&(l=i.__h,c=e.__e=i.__e,e.__h=null,o=[c]),(u=h.__b)&&u(e);try{t:if(typeof I=="function"){if(k=e.props,b=(u=I.contextType)&&a[u.__c],_=u?b?b.props.value:u.__:a,i.__c?D=(s=e.__c=i.__c).__=s.__E:("prototype"in I&&I.prototype.render?e.__c=s=new I(k,_):(e.__c=s=new H(k,_),s.constructor=I,s.render=Jc),b&&b.sub(s),s.props=k,s.state||(s.state={}),s.context=_,s.__n=a,w=s.__d=!0,s.__h=[],s._sb=[]),s.__s==null&&(s.__s=s.state),I.getDerivedStateFromProps!=null&&(s.__s==s.state&&(s.__s=Y({},s.__s)),Y(s.__s,I.getDerivedStateFromProps(k,s.__s))),v=s.props,f=s.state,s.__v=e,w)I.getDerivedStateFromProps==null&&s.componentWillMount!=null&&s.componentWillMount(),s.componentDidMount!=null&&s.__h.push(s.componentDidMount);else{if(I.getDerivedStateFromProps==null&&k!==v&&s.componentWillReceiveProps!=null&&s.componentWillReceiveProps(k,_),!s.__e&&(s.shouldComponentUpdate!=null&&s.shouldComponentUpdate(k,s.__s,_)===!1||e.__v===i.__v)){for(e.__v!==i.__v&&(s.props=k,s.state=s.__s,s.__d=!1),e.__e=i.__e,e.__k=i.__k,e.__k.forEach(function(Ft){Ft&&(Ft.__=e)}),y=0;y<s._sb.length;y++)s.__h.push(s._sb[y]);s._sb=[],s.__h.length&&n.push(s);break t}s.componentWillUpdate!=null&&s.componentWillUpdate(k,s.__s,_),s.componentDidUpdate!=null&&s.__h.push(function(){s.componentDidUpdate(v,f,g)})}if(s.context=_,s.props=k,s.__P=t,s.__e=!1,E=h.__r,P=0,"prototype"in I&&I.prototype.render){for(s.state=s.__s,s.__d=!1,E&&E(e),u=s.render(s.props,s.state,s.context),B=0;B<s._sb.length;B++)s.__h.push(s._sb[B]);s._sb=[]}else do s.__d=!1,E&&E(e),u=s.render(s.props,s.state,s.context),s.state=s.__s;while(s.__d&&++P<25);s.state=s.__s,s.getChildContext!=null&&(a=Y(Y({},a),s.getChildContext())),w||s.getSnapshotBeforeUpdate==null||(g=s.getSnapshotBeforeUpdate(v,f)),va(t,re(R=u!=null&&u.type===L&&u.key==null?u.props.children:u)?R:[R],e,i,a,r,o,n,c,l,d),s.base=e.__e,e.__h=null,s.__h.length&&n.push(s),D&&(s.__E=s.__=null)}else o==null&&e.__v===i.__v?(e.__k=i.__k,e.__e=i.__e):e.__e=qc(i.__e,e,i,a,r,o,n,l,d);(u=h.diffed)&&u(e)}catch(Ft){e.__v=null,(l||o!=null)&&(e.__e=c,e.__h=!!l,o[o.indexOf(c)]=null),h.__e(Ft,e,i)}}function _a(t,e,i){for(var a=0;a<i.length;a++)Xe(i[a],i[++a],i[++a]);h.__c&&h.__c(e,t),t.some(function(r){try{t=r.__h,r.__h=[],t.some(function(o){o.call(r)})}catch(o){h.__e(o,r.__v)}})}function qc(t,e,i,a,r,o,n,c,l){var d,u,s,w=i.props,v=e.props,f=e.type,g=0;if(f==="svg"&&(r=!0),o!=null){for(;g<o.length;g++)if((d=o[g])&&"setAttribute"in d==!!f&&(f?d.localName===f:d.nodeType===3)){t=d,o[g]=null;break}}if(t==null){if(f===null)return document.createTextNode(v);t=r?document.createElementNS("http://www.w3.org/2000/svg",f):document.createElement(f,v.is&&v),o=null,c=!1}if(f===null)w===v||c&&t.data===v||(t.data=v);else{if(o=o&&Dt.call(t.childNodes),u=(w=i.props||ht).dangerouslySetInnerHTML,s=v.dangerouslySetInnerHTML,!c){if(o!=null)for(w={},g=0;g<t.attributes.length;g++)w[t.attributes[g].name]=t.attributes[g].value;(s||u)&&(s&&(u&&s.__html==u.__html||s.__html===t.innerHTML)||(t.innerHTML=s&&s.__html||""))}if(Yc(t,v,w,r,c),s)e.__k=[];else if(va(t,re(g=e.props.children)?g:[g],e,i,a,r&&f!=="foreignObject",o,n,o?o[0]:i.__k&&Gt(i,0),c,l),o!=null)for(g=o.length;g--;)o[g]!=null&&fa(o[g]);c||("value"in v&&(g=v.value)!==void 0&&(g!==t.value||f==="progress"&&!g||f==="option"&&g!==w.value)&&qt(t,"value",g,w.value,!1),"checked"in v&&(g=v.checked)!==void 0&&g!==t.checked&&qt(t,"checked",g,w.checked,!1))}return t}function Xe(t,e,i){try{typeof t=="function"?t(e):t.current=e}catch(a){h.__e(a,i)}}function ma(t,e,i){var a,r;if(h.unmount&&h.unmount(t),(a=t.ref)&&(a.current&&a.current!==t.__e||Xe(a,null,e)),(a=t.__c)!=null){if(a.componentWillUnmount)try{a.componentWillUnmount()}catch(o){h.__e(o,e)}a.base=a.__P=null,t.__c=void 0}if(a=t.__k)for(r=0;r<a.length;r++)a[r]&&ma(a[r],e,i||typeof t.type!="function");i||t.__e==null||fa(t.__e),t.__=t.__e=t.__d=void 0}function Jc(t,e,i){return this.constructor(t,i)}function dt(t,e,i){var a,r,o,n;h.__&&h.__(t,e),r=(a=typeof i=="function")?null:i&&i.__k||e.__k,o=[],n=[],Je(e,t=(!a&&i||e).__k=F(L,null,[t]),r||ht,ht,e.ownerSVGElement!==void 0,!a&&i?[i]:r?null:e.firstChild?Dt.call(e.childNodes):null,o,!a&&i?i:r?r.__e:e.firstChild,a,n),_a(o,t,n)}function ya(t,e){dt(t,e,ya)}function Xc(t,e,i){var a,r,o,n,c=Y({},t.props);for(o in t.type&&t.type.defaultProps&&(n=t.type.defaultProps),e)o=="key"?a=e[o]:o=="ref"?r=e[o]:c[o]=e[o]===void 0&&n!==void 0?n[o]:e[o];return arguments.length>2&&(c.children=arguments.length>3?Dt.call(arguments,2):i),Ct(t.type,c,a||t.key,r||t.ref,null)}function xa(t,e){var i={__c:e="__cC"+pa++,__:t,Consumer:function(a,r){return a.children(r)},Provider:function(a){var r,o;return this.getChildContext||(r=[],(o={})[e]=this,this.getChildContext=function(){return o},this.shouldComponentUpdate=function(n){this.props.value!==n.value&&r.some(function(c){c.__e=!0,Ce(c)})},this.sub=function(n){r.push(n);var c=n.componentWillUnmount;n.componentWillUnmount=function(){r.splice(r.indexOf(n),1),c&&c.call(n)}}),a.children}};return i.Provider.__=i.Consumer.contextType=i}Dt=ha.slice,h={__e:function(t,e,i,a){for(var r,o,n;e=e.__;)if((r=e.__c)&&!r.__)try{if((o=r.constructor)&&o.getDerivedStateFromError!=null&&(r.setState(o.getDerivedStateFromError(t)),n=r.__d),r.componentDidCatch!=null&&(r.componentDidCatch(t,a||{}),n=r.__d),n)return r.__E=r}catch(c){t=c}throw t}},la=0,da=function(t){return t!=null&&t.constructor===void 0},H.prototype.setState=function(t,e){var i;i=this.__s!=null&&this.__s!==this.state?this.__s:this.__s=Y({},this.state),typeof t=="function"&&(t=t(Y({},i),this.props)),t&&Y(i,t),t!=null&&this.__v&&(e&&this._sb.push(e),Ce(this))},H.prototype.forceUpdate=function(t){this.__v&&(this.__e=!0,t&&this.__h.push(t),Ce(this))},H.prototype.render=L,ot=[],ua=typeof Promise=="function"?Promise.prototype.then.bind(Promise.resolve()):setTimeout,Se=function(t,e){return t.__v.__b-e.__v.__b},Yt.__r=0,pa=0;function ka(t){var e,i,a="";if(typeof t=="string"||typeof t=="number")a+=t;else if(typeof t=="object")if(Array.isArray(t)){var r=t.length;for(e=0;e<r;e++)t[e]&&(i=ka(t[e]))&&(a&&(a+=" "),a+=i)}else for(i in t)t[i]&&(a&&(a+=" "),a+=i);return a}function oe(){for(var t,e,i=0,a="",r=arguments.length;i<r;i++)(t=arguments[i])&&(e=ka(t))&&(a&&(a+=" "),a+=e);return a}const Si=t=>typeof t=="boolean"?`${t}`:t===0?"0":t,Ci=oe,ne=(t,e)=>i=>{var a;if((e==null?void 0:e.variants)==null)return Ci(t,i==null?void 0:i.class,i==null?void 0:i.className);const{variants:r,defaultVariants:o}=e,n=Object.keys(r).map(d=>{const u=i==null?void 0:i[d],s=o==null?void 0:o[d];if(u===null)return null;const w=Si(u)||Si(s);return r[d][w]}),c=i&&Object.entries(i).reduce((d,u)=>{let[s,w]=u;return w===void 0||(d[s]=w),d},{}),l=e==null||(a=e.compoundVariants)===null||a===void 0?void 0:a.reduce((d,u)=>{let{class:s,className:w,...v}=u;return Object.entries(v).every(f=>{let[g,D]=f;return Array.isArray(D)?D.includes({...o,...c}[g]):{...o,...c}[g]===D})?[...d,s,w]:d},[]);return Ci(t,n,l,i==null?void 0:i.class,i==null?void 0:i.className)};var it,C,pe,Ei,wt=0,$a=[],Bt=[],Ti=h.__b,Pi=h.__r,Oi=h.diffed,ji=h.__c,Ii=h.unmount;function _t(t,e){h.__h&&h.__h(C,t,wt||e),wt=0;var i=C.__H||(C.__H={__:[],__h:[]});return t>=i.__.length&&i.__.push({__V:Bt}),i.__[t]}function Ze(t){return wt=1,Sa(Ea,t)}function Sa(t,e,i){var a=_t(it++,2);if(a.t=t,!a.__c&&(a.__=[i?i(e):Ea(void 0,e),function(c){var l=a.__N?a.__N[0]:a.__[0],d=a.t(l,c);l!==d&&(a.__N=[d,a.__[1]],a.__c.setState({}))}],a.__c=C,!C.u)){var r=function(c,l,d){if(!a.__c.__H)return!0;var u=a.__c.__H.__.filter(function(w){return w.__c});if(u.every(function(w){return!w.__N}))return!o||o.call(this,c,l,d);var s=!1;return u.forEach(function(w){if(w.__N){var v=w.__[0];w.__=w.__N,w.__N=void 0,v!==w.__[0]&&(s=!0)}}),!(!s&&a.__c.props===c)&&(!o||o.call(this,c,l,d))};C.u=!0;var o=C.shouldComponentUpdate,n=C.componentWillUpdate;C.componentWillUpdate=function(c,l,d){if(this.__e){var u=o;o=void 0,r(c,l,d),o=u}n&&n.call(this,c,l,d)},C.shouldComponentUpdate=r}return a.__N||a.__}function Qe(t,e){var i=_t(it++,3);!h.__s&&ti(i.__H,e)&&(i.__=t,i.i=e,C.__H.__h.push(i))}function pt(t,e){var i=_t(it++,4);!h.__s&&ti(i.__H,e)&&(i.__=t,i.i=e,C.__h.push(i))}function Nt(t){return wt=5,rt(function(){return{current:t}},[])}function Zc(t,e,i){wt=6,pt(function(){return typeof t=="function"?(t(e()),function(){return t(null)}):t?(t.current=e(),function(){return t.current=null}):void 0},i==null?i:i.concat(t))}function rt(t,e){var i=_t(it++,7);return ti(i.__H,e)?(i.__V=t(),i.i=e,i.__h=t,i.__V):i.__}function Qc(t,e){return wt=8,rt(function(){return t},e)}function Ca(t){var e=C.context[t.__c],i=_t(it++,9);return i.c=t,e?(i.__==null&&(i.__=!0,e.sub(C)),e.props.value):t.__}function ts(t,e){h.useDebugValue&&h.useDebugValue(e?e(t):t)}function es(){var t=_t(it++,11);if(!t.__){for(var e=C.__v;e!==null&&!e.__m&&e.__!==null;)e=e.__;var i=e.__m||(e.__m=[0,0]);t.__="P"+i[0]+"-"+i[1]++}return t.__}function is(){for(var t;t=$a.shift();)if(t.__P&&t.__H)try{t.__H.__h.forEach(Rt),t.__H.__h.forEach(Ee),t.__H.__h=[]}catch(e){t.__H.__h=[],h.__e(e,t.__v)}}h.__b=function(t){C=null,Ti&&Ti(t)},h.__r=function(t){Pi&&Pi(t),it=0;var e=(C=t.__c).__H;e&&(pe===C?(e.__h=[],C.__h=[],e.__.forEach(function(i){i.__N&&(i.__=i.__N),i.__V=Bt,i.__N=i.i=void 0})):(e.__h.forEach(Rt),e.__h.forEach(Ee),e.__h=[],it=0)),pe=C},h.diffed=function(t){Oi&&Oi(t);var e=t.__c;e&&e.__H&&(e.__H.__h.length&&($a.push(e)!==1&&Ei===h.requestAnimationFrame||((Ei=h.requestAnimationFrame)||as)(is)),e.__H.__.forEach(function(i){i.i&&(i.__H=i.i),i.__V!==Bt&&(i.__=i.__V),i.i=void 0,i.__V=Bt})),pe=C=null},h.__c=function(t,e){e.some(function(i){try{i.__h.forEach(Rt),i.__h=i.__h.filter(function(a){return!a.__||Ee(a)})}catch(a){e.some(function(r){r.__h&&(r.__h=[])}),e=[],h.__e(a,i.__v)}}),ji&&ji(t,e)},h.unmount=function(t){Ii&&Ii(t);var e,i=t.__c;i&&i.__H&&(i.__H.__.forEach(function(a){try{Rt(a)}catch(r){e=r}}),i.__H=void 0,e&&h.__e(e,i.__v))};var zi=typeof requestAnimationFrame=="function";function as(t){var e,i=function(){clearTimeout(a),zi&&cancelAnimationFrame(e),setTimeout(t)},a=setTimeout(i,100);zi&&(e=requestAnimationFrame(i))}function Rt(t){var e=C,i=t.__c;typeof i=="function"&&(t.__c=void 0,i()),C=e}function Ee(t){var e=C;t.__c=t.__(),C=e}function ti(t,e){return!t||t.length!==e.length||e.some(function(i,a){return i!==t[a]})}function Ea(t,e){return typeof e=="function"?e(t):e}function Ta(t,e){for(var i in e)t[i]=e[i];return t}function Te(t,e){for(var i in t)if(i!=="__source"&&!(i in e))return!0;for(var a in e)if(a!=="__source"&&t[a]!==e[a])return!0;return!1}function he(t,e){return t===e&&(t!==0||1/t==1/e)||t!=t&&e!=e}function Pe(t){this.props=t}function rs(t,e){function i(r){var o=this.props.ref,n=o==r.ref;return!n&&o&&(o.call?o(null):o.current=null),e?!e(this.props,r)||!n:Te(this.props,r)}function a(r){return this.shouldComponentUpdate=i,F(t,r)}return a.displayName="Memo("+(t.displayName||t.name)+")",a.prototype.isReactComponent=!0,a.__f=!0,a}(Pe.prototype=new H).isPureReactComponent=!0,Pe.prototype.shouldComponentUpdate=function(t,e){return Te(this.props,t)||Te(this.state,e)};var Di=h.__b;h.__b=function(t){t.type&&t.type.__f&&t.ref&&(t.props.ref=t.ref,t.ref=null),Di&&Di(t)};var os=typeof Symbol<"u"&&Symbol.for&&Symbol.for("react.forward_ref")||3911;function Pa(t){function e(i){var a=Ta({},i);return delete a.ref,t(a,i.ref||null)}return e.$$typeof=os,e.render=e,e.prototype.isReactComponent=e.__f=!0,e.displayName="ForwardRef("+(t.displayName||t.name)+")",e}var Ni=function(t,e){return t==null?null:J(J(t).map(e))},ns={map:Ni,forEach:Ni,count:function(t){return t?J(t).length:0},only:function(t){var e=J(t);if(e.length!==1)throw"Children.only";return e[0]},toArray:J},cs=h.__e;h.__e=function(t,e,i,a){if(t.then){for(var r,o=e;o=o.__;)if((r=o.__c)&&r.__c)return e.__e==null&&(e.__e=i.__e,e.__k=i.__k),r.__c(t,e)}cs(t,e,i,a)};var Mi=h.unmount;function Oa(t,e,i){return t&&(t.__c&&t.__c.__H&&(t.__c.__H.__.forEach(function(a){typeof a.__c=="function"&&a.__c()}),t.__c.__H=null),(t=Ta({},t)).__c!=null&&(t.__c.__P===i&&(t.__c.__P=e),t.__c=null),t.__k=t.__k&&t.__k.map(function(a){return Oa(a,e,i)})),t}function ja(t,e,i){return t&&(t.__v=null,t.__k=t.__k&&t.__k.map(function(a){return ja(a,e,i)}),t.__c&&t.__c.__P===e&&(t.__e&&i.insertBefore(t.__e,t.__d),t.__c.__e=!0,t.__c.__P=i)),t}function Et(){this.__u=0,this.t=null,this.__b=null}function Ia(t){var e=t.__.__c;return e&&e.__a&&e.__a(t)}function za(t){var e,i,a;function r(o){if(e||(e=t()).then(function(n){i=n.default||n},function(n){a=n}),a)throw a;if(!i)throw e;return F(i,o)}return r.displayName="Lazy",r.__f=!0,r}function St(){this.u=null,this.o=null}h.unmount=function(t){var e=t.__c;e&&e.__R&&e.__R(),e&&t.__h===!0&&(t.type=null),Mi&&Mi(t)},(Et.prototype=new H).__c=function(t,e){var i=e.__c,a=this;a.t==null&&(a.t=[]),a.t.push(i);var r=Ia(a.__v),o=!1,n=function(){o||(o=!0,i.__R=null,r?r(c):c())};i.__R=n;var c=function(){if(!--a.__u){if(a.state.__a){var d=a.state.__a;a.__v.__k[0]=ja(d,d.__c.__P,d.__c.__O)}var u;for(a.setState({__a:a.__b=null});u=a.t.pop();)u.forceUpdate()}},l=e.__h===!0;a.__u++||l||a.setState({__a:a.__b=a.__v.__k[0]}),t.then(n,n)},Et.prototype.componentWillUnmount=function(){this.t=[]},Et.prototype.render=function(t,e){if(this.__b){if(this.__v.__k){var i=document.createElement("div"),a=this.__v.__k[0].__c;this.__v.__k[0]=Oa(this.__b,i,a.__O=a.__P)}this.__b=null}var r=e.__a&&F(L,null,t.fallback);return r&&(r.__h=null),[F(L,null,e.__a?null:t.children),r]};var Ai=function(t,e,i){if(++i[1]===i[0]&&t.o.delete(e),t.props.revealOrder&&(t.props.revealOrder[0]!=="t"||!t.o.size))for(i=t.u;i;){for(;i.length>3;)i.pop()();if(i[1]<i[0])break;t.u=i=i[2]}};function ss(t){return this.getChildContext=function(){return t.context},t.children}function ls(t){var e=this,i=t.i;e.componentWillUnmount=function(){dt(null,e.l),e.l=null,e.i=null},e.i&&e.i!==i&&e.componentWillUnmount(),t.__v?(e.l||(e.i=i,e.l={nodeType:1,parentNode:i,childNodes:[],appendChild:function(a){this.childNodes.push(a),e.i.appendChild(a)},insertBefore:function(a,r){this.childNodes.push(a),e.i.appendChild(a)},removeChild:function(a){this.childNodes.splice(this.childNodes.indexOf(a)>>>1,1),e.i.removeChild(a)}}),dt(F(ss,{context:e.context},t.__v),e.l)):e.l&&e.componentWillUnmount()}function ds(t,e){var i=F(ls,{__v:t,i:e});return i.containerInfo=e,i}(St.prototype=new H).__a=function(t){var e=this,i=Ia(e.__v),a=e.o.get(t);return a[0]++,function(r){var o=function(){e.props.revealOrder?(a.push(r),Ai(e,t,a)):r()};i?i(o):o()}},St.prototype.render=function(t){this.u=null,this.o=new Map;var e=J(t.children);t.revealOrder&&t.revealOrder[0]==="b"&&e.reverse();for(var i=e.length;i--;)this.o.set(e[i],this.u=[1,0,this.u]);return t.children},St.prototype.componentDidUpdate=St.prototype.componentDidMount=function(){var t=this;this.o.forEach(function(e,i){Ai(t,i,e)})};var Da=typeof Symbol<"u"&&Symbol.for&&Symbol.for("react.element")||60103,us=/^(?: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]/,ps=/^on(Ani|Tra|Tou|BeforeInp|Compo)/,hs=/[A-Z0-9]/g,fs=typeof document<"u",ws=function(t){return(typeof Symbol<"u"&&typeof Symbol()=="symbol"?/fil|che|rad/:/fil|che|ra/).test(t)};function vs(t,e,i){return e.__k==null&&(e.textContent=""),dt(t,e),typeof i=="function"&&i(),t?t.__c:null}function gs(t,e,i){return ya(t,e),typeof i=="function"&&i(),t?t.__c:null}H.prototype.isReactComponent={},["componentWillMount","componentWillReceiveProps","componentWillUpdate"].forEach(function(t){Object.defineProperty(H.prototype,t,{configurable:!0,get:function(){return this["UNSAFE_"+t]},set:function(e){Object.defineProperty(this,t,{configurable:!0,writable:!0,value:e})}})});var Fi=h.event;function bs(){}function _s(){return this.cancelBubble}function ms(){return this.defaultPrevented}h.event=function(t){return Fi&&(t=Fi(t)),t.persist=bs,t.isPropagationStopped=_s,t.isDefaultPrevented=ms,t.nativeEvent=t};var ei,ys={enumerable:!1,configurable:!0,get:function(){return this.class}},Hi=h.vnode;h.vnode=function(t){typeof t.type=="string"&&function(e){var i=e.props,a=e.type,r={};for(var o in i){var n=i[o];if(!(o==="value"&&"defaultValue"in i&&n==null||fs&&o==="children"&&a==="noscript"||o==="class"||o==="className")){var c=o.toLowerCase();o==="defaultValue"&&"value"in i&&i.value==null?o="value":o==="download"&&n===!0?n="":c==="ondoubleclick"?o="ondblclick":c!=="onchange"||a!=="input"&&a!=="textarea"||ws(i.type)?c==="onfocus"?o="onfocusin":c==="onblur"?o="onfocusout":ps.test(o)?o=c:a.indexOf("-")===-1&&us.test(o)?o=o.replace(hs,"-$&").toLowerCase():n===null&&(n=void 0):c=o="oninput",c==="oninput"&&r[o=c]&&(o="oninputCapture"),r[o]=n}}a=="select"&&r.multiple&&Array.isArray(r.value)&&(r.value=J(i.children).forEach(function(l){l.props.selected=r.value.indexOf(l.props.value)!=-1})),a=="select"&&r.defaultValue!=null&&(r.value=J(i.children).forEach(function(l){l.props.selected=r.multiple?r.defaultValue.indexOf(l.props.value)!=-1:r.defaultValue==l.props.value})),i.class&&!i.className?(r.class=i.class,Object.defineProperty(r,"className",ys)):(i.className&&!i.class||i.class&&i.className)&&(r.class=r.className=i.className),e.props=r}(t),t.$$typeof=Da,Hi&&Hi(t)};var Li=h.__r;h.__r=function(t){Li&&Li(t),ei=t.__c};var Bi=h.diffed;h.diffed=function(t){Bi&&Bi(t);var e=t.props,i=t.__e;i!=null&&t.type==="textarea"&&"value"in e&&e.value!==i.value&&(i.value=e.value==null?"":e.value),ei=null};var xs={ReactCurrentDispatcher:{current:{readContext:function(t){return ei.__n[t.__c].props.value}}}};function ks(t){return F.bind(null,t)}function Na(t){return!!t&&t.$$typeof===Da}function $s(t){return Na(t)?Xc.apply(null,arguments):t}function Ss(t){return!!t.__k&&(dt(null,t),!0)}function Cs(t){return t&&(t.base||t.nodeType===1&&t)||null}var Es=function(t,e){return t(e)},Ts=function(t,e){return t(e)},Ps=L;function Ma(t){t()}function Os(t){return t}function js(){return[!1,Ma]}var Is=pt;function zs(t,e){var i=e(),a=Ze({h:{__:i,v:e}}),r=a[0].h,o=a[1];return pt(function(){r.__=i,r.v=e,he(r.__,e())||o({h:r})},[t,i,e]),Qe(function(){return he(r.__,r.v())||o({h:r}),t(function(){he(r.__,r.v())||o({h:r})})},[t]),i}var Ds={useState:Ze,useId:es,useReducer:Sa,useEffect:Qe,useLayoutEffect:pt,useInsertionEffect:Is,useTransition:js,useDeferredValue:Os,useSyncExternalStore:zs,startTransition:Ma,useRef:Nt,useImperativeHandle:Zc,useMemo:rt,useCallback:Qc,useContext:Ca,useDebugValue:ts,version:"17.0.2",Children:ns,render:vs,hydrate:gs,unmountComponentAtNode:Ss,createPortal:ds,createElement:F,createContext:xa,createFactory:ks,cloneElement:$s,createRef:Wc,Fragment:L,isValidElement:Na,findDOMNode:Cs,Component:H,PureComponent:Pe,memo:rs,forwardRef:Pa,flushSync:Ts,unstable_batchedUpdates:Es,StrictMode:Ps,Suspense:Et,SuspenseList:St,lazy:za,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:xs};const M=Symbol.for("@ts-pattern/matcher"),Aa=Symbol.for("@ts-pattern/isVariadic"),Jt="@ts-pattern/anonymous-select-key",Oe=t=>!!(t&&typeof t=="object"),Ut=t=>t&&!!t[M],T=(t,e,i)=>{if(Ut(t)){const a=t[M](),{matched:r,selections:o}=a.match(e);return r&&o&&Object.keys(o).forEach(n=>i(n,o[n])),r}if(Oe(t)){if(!Oe(e))return!1;if(Array.isArray(t)){if(!Array.isArray(e))return!1;let a=[],r=[],o=[];for(const n of t.keys()){const c=t[n];Ut(c)&&c[Aa]?o.push(c):o.length?r.push(c):a.push(c)}if(o.length){if(o.length>1)throw new Error("Pattern error: Using `...P.array(...)` several times in a single pattern is not allowed.");if(e.length<a.length+r.length)return!1;const n=e.slice(0,a.length),c=r.length===0?[]:e.slice(-r.length),l=e.slice(a.length,r.length===0?1/0:-r.length);return a.every((d,u)=>T(d,n[u],i))&&r.every((d,u)=>T(d,c[u],i))&&(o.length===0||T(o[0],l,i))}return t.length===e.length&&t.every((n,c)=>T(n,e[c],i))}return Reflect.ownKeys(t).every(a=>{const r=t[a];return(a in e||Ut(o=r)&&o[M]().matcherType==="optional")&&T(r,e[a],i);var o})}return Object.is(e,t)},N=t=>{var e,i,a;return Oe(t)?Ut(t)?(e=(i=(a=t[M]()).getSelectionKeys)==null?void 0:i.call(a))!=null?e:[]:Array.isArray(t)?jt(t,N):jt(Object.values(t),N):[]},jt=(t,e)=>t.reduce((i,a)=>i.concat(e(a)),[]);function Ns(...t){if(t.length===1){const[e]=t;return i=>T(e,i,()=>{})}if(t.length===2){const[e,i]=t;return T(e,i,()=>{})}throw new Error(`isMatching wasn't given the right number of arguments: expected 1 or 2, received ${t.length}.`)}function O(t){return Object.assign(t,{optional:()=>ii(t),and:e=>S(t,e),or:e=>Fa(t,e),select:e=>e===void 0?It(t):It(e,t)})}function je(t){return Object.assign((e=>Object.assign(e,{[Symbol.iterator](){let i=0;const a=[{value:Object.assign(e,{[Aa]:!0}),done:!1},{done:!0,value:void 0}];return{next:()=>{var r;return(r=a[i++])!=null?r:a.at(-1)}}}}))(t),{optional:()=>je(ii(t)),select:e=>je(e===void 0?It(t):It(e,t))})}function ii(t){return O({[M]:()=>({match:e=>{let i={};const a=(r,o)=>{i[r]=o};return e===void 0?(N(t).forEach(r=>a(r,void 0)),{matched:!0,selections:i}):{matched:T(t,e,a),selections:i}},getSelectionKeys:()=>N(t),matcherType:"optional"})})}const Ms=(t,e)=>{for(const i of t)if(!e(i))return!1;return!0},As=(t,e)=>{for(const[i,a]of t.entries())if(!e(a,i))return!1;return!0},Fs=(t,e)=>{const i=Reflect.ownKeys(t);for(const a of i)if(!e(a,t[a]))return!1;return!0};function S(...t){return O({[M]:()=>({match:e=>{let i={};const a=(r,o)=>{i[r]=o};return{matched:t.every(r=>T(r,e,a)),selections:i}},getSelectionKeys:()=>jt(t,N),matcherType:"and"})})}function Fa(...t){return O({[M]:()=>({match:e=>{let i={};const a=(r,o)=>{i[r]=o};return jt(t,N).forEach(r=>a(r,void 0)),{matched:t.some(r=>T(r,e,a)),selections:i}},getSelectionKeys:()=>jt(t,N),matcherType:"or"})})}function m(t){return{[M]:()=>({match:e=>({matched:!!t(e)})})}}function It(...t){const e=typeof t[0]=="string"?t[0]:void 0,i=t.length===2?t[1]:typeof t[0]=="string"?void 0:t[0];return O({[M]:()=>({match:a=>{let r={[e??Jt]:a};return{matched:i===void 0||T(i,a,(o,n)=>{r[o]=n}),selections:r}},getSelectionKeys:()=>[e??Jt].concat(i===void 0?[]:N(i))})})}function Ha(t){return!0}function U(t){return typeof t=="number"}function X(t){return typeof t=="string"}function Z(t){return typeof t=="bigint"}const La=O(m(Ha)),Hs=O(m(Ha)),Ls=La,Q=t=>Object.assign(O(t),{startsWith:e=>{return Q(S(t,(i=e,m(a=>X(a)&&a.startsWith(i)))));var i},endsWith:e=>{return Q(S(t,(i=e,m(a=>X(a)&&a.endsWith(i)))));var i},minLength:e=>Q(S(t,(i=>m(a=>X(a)&&a.length>=i))(e))),length:e=>Q(S(t,(i=>m(a=>X(a)&&a.length===i))(e))),maxLength:e=>Q(S(t,(i=>m(a=>X(a)&&a.length<=i))(e))),includes:e=>{return Q(S(t,(i=e,m(a=>X(a)&&a.includes(i)))));var i},regex:e=>{return Q(S(t,(i=e,m(a=>X(a)&&!!a.match(i)))));var i}}),Ri=Q(m(X)),V=t=>Object.assign(O(t),{between:(e,i)=>V(S(t,((a,r)=>m(o=>U(o)&&a<=o&&r>=o))(e,i))),lt:e=>V(S(t,(i=>m(a=>U(a)&&a<i))(e))),gt:e=>V(S(t,(i=>m(a=>U(a)&&a>i))(e))),lte:e=>V(S(t,(i=>m(a=>U(a)&&a<=i))(e))),gte:e=>V(S(t,(i=>m(a=>U(a)&&a>=i))(e))),int:()=>V(S(t,m(e=>U(e)&&Number.isInteger(e)))),finite:()=>V(S(t,m(e=>U(e)&&Number.isFinite(e)))),positive:()=>V(S(t,m(e=>U(e)&&e>0))),negative:()=>V(S(t,m(e=>U(e)&&e<0)))}),Bs=V(m(U)),tt=t=>Object.assign(O(t),{between:(e,i)=>tt(S(t,((a,r)=>m(o=>Z(o)&&a<=o&&r>=o))(e,i))),lt:e=>tt(S(t,(i=>m(a=>Z(a)&&a<i))(e))),gt:e=>tt(S(t,(i=>m(a=>Z(a)&&a>i))(e))),lte:e=>tt(S(t,(i=>m(a=>Z(a)&&a<=i))(e))),gte:e=>tt(S(t,(i=>m(a=>Z(a)&&a>=i))(e))),positive:()=>tt(S(t,m(e=>Z(e)&&e>0))),negative:()=>tt(S(t,m(e=>Z(e)&&e<0)))}),Rs=tt(m(Z)),Us=O(m(function(t){return typeof t=="boolean"})),Vs=O(m(function(t){return typeof t=="symbol"})),Ks=O(m(function(t){return t==null})),Ws=O(m(function(t){return t!=null}));var ct={__proto__:null,matcher:M,optional:ii,array:function(...t){return je({[M]:()=>({match:e=>{if(!Array.isArray(e))return{matched:!1};if(t.length===0)return{matched:!0};const i=t[0];let a={};if(e.length===0)return N(i).forEach(o=>{a[o]=[]}),{matched:!0,selections:a};const r=(o,n)=>{a[o]=(a[o]||[]).concat([n])};return{matched:e.every(o=>T(i,o,r)),selections:a}},getSelectionKeys:()=>t.length===0?[]:N(t[0])})})},set:function(...t){return O({[M]:()=>({match:e=>{if(!(e instanceof Set))return{matched:!1};let i={};if(e.size===0)return{matched:!0,selections:i};if(t.length===0)return{matched:!0};const a=(o,n)=>{i[o]=(i[o]||[]).concat([n])},r=t[0];return{matched:Ms(e,o=>T(r,o,a)),selections:i}},getSelectionKeys:()=>t.length===0?[]:N(t[0])})})},map:function(...t){return O({[M]:()=>({match:e=>{if(!(e instanceof Map))return{matched:!1};let i={};if(e.size===0)return{matched:!0,selections:i};const a=(c,l)=>{i[c]=(i[c]||[]).concat([l])};if(t.length===0)return{matched:!0};var r;if(t.length===1)throw new Error(`\`P.map\` wasn't given enough arguments. Expected (key, value), received ${(r=t[0])==null?void 0:r.toString()}`);const[o,n]=t;return{matched:As(e,(c,l)=>{const d=T(o,l,a),u=T(n,c,a);return d&&u}),selections:i}},getSelectionKeys:()=>t.length===0?[]:[...N(t[0]),...N(t[1])]})})},record:function(...t){return O({[M]:()=>({match:e=>{if(e===null||typeof e!="object"||Array.isArray(e))return{matched:!1};var i;if(t.length===0)throw new Error(`\`P.record\` wasn't given enough arguments. Expected (value) or (key, value), received ${(i=t[0])==null?void 0:i.toString()}`);let a={};const r=(c,l)=>{a[c]=(a[c]||[]).concat([l])},[o,n]=t.length===1?[Ri,t[0]]:t;return{matched:Fs(e,(c,l)=>{const d=typeof c!="string"||Number.isNaN(Number(c))?null:Number(c),u=d!==null&&T(o,d,r),s=T(o,c,r),w=T(n,l,r);return(s||u)&&w}),selections:a}},getSelectionKeys:()=>t.length===0?[]:[...N(t[0]),...N(t[1])]})})},intersection:S,union:Fa,not:function(t){return O({[M]:()=>({match:e=>({matched:!T(t,e,()=>{})}),getSelectionKeys:()=>[],matcherType:"not"})})},when:m,select:It,any:La,unknown:Hs,_:Ls,string:Ri,number:Bs,bigint:Rs,boolean:Us,symbol:Vs,nullish:Ks,nonNullable:Ws,instanceOf:function(t){return O(m(function(e){return i=>i instanceof e}(t)))},shape:function(t){return O(m(Ns(t)))}};class Gs extends Error{constructor(e){let i;try{i=JSON.stringify(e)}catch{i=e}super(`Pattern matching error: no pattern matches value ${i}`),this.input=void 0,this.input=e}}const Ie={matched:!1,value:void 0};function Mt(t){return new Xt(t,Ie)}class Xt{constructor(e,i){this.input=void 0,this.state=void 0,this.input=e,this.state=i}with(...e){if(this.state.matched)return this;const i=e[e.length-1],a=[e[0]];let r;e.length===3&&typeof e[1]=="function"?r=e[1]:e.length>2&&a.push(...e.slice(1,e.length-1));let o=!1,n={};const c=(d,u)=>{o=!0,n[d]=u},l=!a.some(d=>T(d,this.input,c))||r&&!r(this.input)?Ie:{matched:!0,value:i(o?Jt in n?n[Jt]:n:this.input,this.input)};return new Xt(this.input,l)}when(e,i){if(this.state.matched)return this;const a=!!e(this.input);return new Xt(this.input,a?{matched:!0,value:i(this.input,this.input)}:Ie)}otherwise(e){return this.state.matched?this.state.value:e(this.input)}exhaustive(e=Ys){return this.state.matched?this.state.value:e(this.input)}run(){return this.exhaustive()}returnType(){return this}narrow(){return this}}function Ys(t){throw new Gs(t)}var qs=["other","few","many","two","one","zero"],Ui=({terms:t,overrides:e,locale:i})=>{const a=new Intl.PluralRules(i);function r(o,n){const c=(e==null?void 0:e[o])??t[o];switch(typeof c){case"string":return c.replace(/{{(\w+)}}/g,(l,d)=>{var u;return((u=n==null?void 0:n[d])==null?void 0:u.toString())??""});case"object":{if(typeof(n==null?void 0:n.count)!="number")throw new Error(`Missing count for translation key “${o.toString()}”`);let l=a.select(n.count);if(!(l in c)){const d=qs.find(u=>u in c);if(!d)throw new Error(`Missing plural rule for translation key “${o.toString()}”`);l=d}return c[l].replace(/{{(\w+)}}/g,(d,u)=>{var s;return((s=n==null?void 0:n[u])==null?void 0:s.toString())??""})}default:throw new Error(`Invalid translation value in dictionary for key “${o.toString()}”.`)}}return r},Js=0;function p(t,e,i,a,r,o){var n,c,l={};for(c in e)c=="ref"?n=e[c]:l[c]=e[c];var d={type:t,props:l,key:i,ref:n,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,__h:null,constructor:void 0,__v:--Js,__source:r,__self:o};if(typeof t=="function"&&(n=t.defaultProps))for(c in n)l[c]===void 0&&(l[c]=n[c]);return h.vnode&&h.vnode(d),d}var Vi=xa(null),Xs=t=>({defaultTerms:t,TranslationProvider:({terms:e,children:i,locale:a})=>{const r=rt(()=>Ui({locale:a,terms:t,overrides:e}),[e,a]);return p(Vi.Provider,{value:{t:r,locale:a},children:i})},useTranslation:()=>{const e=Ca(Vi);if(e===null)throw new Error("Please wrap useTranslation in a TranslationProvider");return{t:e.t,locale:e.locale}},createTFunction:({overrides:e,locale:i})=>Ui({terms:t,overrides:e,locale:i})});const{TranslationProvider:Zs,useTranslation:ce,createTFunction:Qs}=Xs({error_heading:"Something unexpected happened",undo:"Undo",send:"Send",skip:"Skip",skipped:"Skipped",submission_redirect_message:"Almost there! Please complete your submission here:",complete_submission:"Complete submission",submission_completed:"Submission completed!",submission_failed:"Failed to submit",maximize:"Maximise",minimize:"Minimise",close_application:"Close application",invalid_state:"Invalid application state",redirect_url_error:"Couldn’t get the redirect URL.",upload_file:{one:"Select file to upload",other:"Select files to upload"},file_max_size:"max {{size}}",file_extensions:"Accepted file extensions",address_error:"Something went wrong! Plase continue manually",address_search:"Type and search for places…",address_manual:"Fill in manually",back:"Back",search:"Search",unknown_error:"An error occurred",line1:"Line 1",line2:"Line 2",line3:"Line 3",city:"City",state:"State",postcode:"Postcode",country:"Country",select_country:"Select a country",validation_max_chars:"Please enter no more than {{count}} characters",validation_min_chars:"Please enter {{count}} or more characters",validation_phone:"Please enter a valid phone number",validation_phone_min_chars:"Your phone number must be at least {{count}} digits long",validation_country_code:"Please select a country code",validation_number:"Please enter a valid number",validation_number_min:"Please enter a number greater than or equal to {{min}}",validation_number_max:"Please enter a number less than or equal to {{max}}",validation_number_decimal_cases:"Please enter a number with at most {{count}} decimal cases",validation_file:"Please select a file",validation_file_ext:"Please only upload {{ext}} files",validation_file_max:{one:"Please only upload one file",other:"Please only upload up to {{count}} files"},validation_date:"Please enter a valid date (YYYY-MM-DD)",validation_email:"That doesn’t look like a valid email address",validation_url:"That doesn’t look like a valid URL",validation_multiple_choice_min:{one:"Please select at least {{count}} option",other:"Please select at least {{count}} options"},validation_multiple_choice_max:{one:"Please select at most {{count}} option",other:"Please select at most {{count}} options"}});function ai(t,e){if(!t)throw new Error(e)}var tl=Symbol.for("preact-signals");function ri(){if(ft>1)ft--;else{for(var t,e=!1;Tt!==void 0;){var i=Tt;for(Tt=void 0,ze++;i!==void 0;){var a=i.o;if(i.o=void 0,i.f&=-3,!(8&i.f)&&Ra(i))try{i.c()}catch(r){e||(t=r,e=!0)}i=a}}if(ze=0,ft--,e)throw t}}var $=void 0,Tt=void 0,ft=0,ze=0,Zt=0;function Ba(t){if($!==void 0){var e=t.n;if(e===void 0||e.t!==$)return e={i:0,S:t,p:$.s,n:void 0,t:$,e:void 0,x:void 0,r:e},$.s!==void 0&&($.s.n=e),$.s=e,t.n=e,32&$.f&&t.S(e),e;if(e.i===-1)return e.i=0,e.n!==void 0&&(e.n.p=e.p,e.p!==void 0&&(e.p.n=e.n),e.p=$.s,e.n=void 0,$.s.n=e,$.s=e),e}}function z(t){this.v=t,this.i=0,this.n=void 0,this.t=void 0}z.prototype.brand=tl;z.prototype.h=function(){return!0};z.prototype.S=function(t){this.t!==t&&t.e===void 0&&(t.x=this.t,this.t!==void 0&&(this.t.e=t),this.t=t)};z.prototype.U=function(t){if(this.t!==void 0){var e=t.e,i=t.x;e!==void 0&&(e.x=i,t.e=void 0),i!==void 0&&(i.e=e,t.x=void 0),t===this.t&&(this.t=i)}};z.prototype.subscribe=function(t){var e=this;return ni(function(){var i=e.value,a=$;$=void 0;try{t(i)}finally{$=a}})};z.prototype.valueOf=function(){return this.value};z.prototype.toString=function(){return this.value+""};z.prototype.toJSON=function(){return this.value};z.prototype.peek=function(){var t=$;$=void 0;try{return this.value}finally{$=t}};Object.defineProperty(z.prototype,"value",{get:function(){var t=Ba(this);return t!==void 0&&(t.i=this.i),this.v},set:function(t){if(t!==this.v){if(ze>100)throw new Error("Cycle detected");this.v=t,this.i++,Zt++,ft++;try{for(var e=this.t;e!==void 0;e=e.x)e.t.N()}finally{ri()}}}});function at(t){return new z(t)}function Ra(t){for(var e=t.s;e!==void 0;e=e.n)if(e.S.i!==e.i||!e.S.h()||e.S.i!==e.i)return!0;return!1}function Ua(t){for(var e=t.s;e!==void 0;e=e.n){var i=e.S.n;if(i!==void 0&&(e.r=i),e.S.n=e,e.i=-1,e.n===void 0){t.s=e;break}}}function Va(t){for(var e=t.s,i=void 0;e!==void 0;){var a=e.p;e.i===-1?(e.S.U(e),a!==void 0&&(a.n=e.n),e.n!==void 0&&(e.n.p=a)):i=e,e.S.n=e.r,e.r!==void 0&&(e.r=void 0),e=a}t.s=i}function mt(t){z.call(this,void 0),this.x=t,this.s=void 0,this.g=Zt-1,this.f=4}(mt.prototype=new z).h=function(){if(this.f&=-3,1&this.f)return!1;if((36&this.f)==32||(this.f&=-5,this.g===Zt))return!0;if(this.g=Zt,this.f|=1,this.i>0&&!Ra(this))return this.f&=-2,!0;var t=$;try{Ua(this),$=this;var e=this.x();(16&this.f||this.v!==e||this.i===0)&&(this.v=e,this.f&=-17,this.i++)}catch(i){this.v=i,this.f|=16,this.i++}return $=t,Va(this),this.f&=-2,!0};mt.prototype.S=function(t){if(this.t===void 0){this.f|=36;for(var e=this.s;e!==void 0;e=e.n)e.S.S(e)}z.prototype.S.call(this,t)};mt.prototype.U=function(t){if(this.t!==void 0&&(z.prototype.U.call(this,t),this.t===void 0)){this.f&=-33;for(var e=this.s;e!==void 0;e=e.n)e.S.U(e)}};mt.prototype.N=function(){if(!(2&this.f)){this.f|=6;for(var t=this.t;t!==void 0;t=t.x)t.t.N()}};Object.defineProperty(mt.prototype,"value",{get:function(){if(1&this.f)throw new Error("Cycle detected");var t=Ba(this);if(this.h(),t!==void 0&&(t.i=this.i),16&this.f)throw this.v;return this.v}});function el(t){return new mt(t)}function Ka(t){var e=t.u;if(t.u=void 0,typeof e=="function"){ft++;var i=$;$=void 0;try{e()}catch(a){throw t.f&=-2,t.f|=8,oi(t),a}finally{$=i,ri()}}}function oi(t){for(var e=t.s;e!==void 0;e=e.n)e.S.U(e);t.x=void 0,t.s=void 0,Ka(t)}function il(t){if($!==this)throw new Error("Out-of-order effect");Va(this),$=t,this.f&=-2,8&this.f&&oi(this),ri()}function At(t){this.x=t,this.u=void 0,this.s=void 0,this.o=void 0,this.f=32}At.prototype.c=function(){var t=this.S();try{if(8&this.f||this.x===void 0)return;var e=this.x();typeof e=="function"&&(this.u=e)}finally{t()}};At.prototype.S=function(){if(1&this.f)throw new Error("Cycle detected");this.f|=1,this.f&=-9,Ka(this),Ua(this),ft++;var t=$;return $=this,il.bind(this,t)};At.prototype.N=function(){2&this.f||(this.f|=2,this.o=Tt,Tt=this)};At.prototype.d=function(){this.f|=8,1&this.f||oi(this)};function ni(t){var e=new At(t);try{e.c()}catch(i){throw e.d(),i}return e.d.bind(e)}var fe;function yt(t,e){h[t]=e.bind(null,h[t]||function(){})}function Qt(t){fe&&fe(),fe=t&&t.S()}function Wa(t){var e=this,i=t.data,a=rl(i);a.value=i;var r=rt(function(){for(var o=e.__v;o=o.__;)if(o.__c){o.__c.__$f|=4;break}return e.__$u.c=function(){var n;!da(r.peek())&&((n=e.base)==null?void 0:n.nodeType)===3?e.base.data=r.peek():(e.__$f|=1,e.setState({}))},el(function(){var n=a.value.value;return n===0?0:n===!0?"":n||""})},[]);return r.value}Wa.displayName="_st";Object.defineProperties(z.prototype,{constructor:{configurable:!0,value:void 0},type:{configurable:!0,value:Wa},props:{configurable:!0,get:function(){return{data:this}}},__b:{configurable:!0,value:1}});yt("__b",function(t,e){if(typeof e.type=="string"){var i,a=e.props;for(var r in a)if(r!=="children"){var o=a[r];o instanceof z&&(i||(e.__np=i={}),i[r]=o,a[r]=o.peek())}}t(e)});yt("__r",function(t,e){Qt();var i,a=e.__c;a&&(a.__$f&=-2,(i=a.__$u)===void 0&&(a.__$u=i=function(r){var o;return ni(function(){o=this}),o.c=function(){a.__$f|=1,a.setState({})},o}())),Qt(i),t(e)});yt("__e",function(t,e,i,a){Qt(),t(e,i,a)});yt("diffed",function(t,e){Qt();var i;if(typeof e.type=="string"&&(i=e.__e)){var a=e.__np,r=e.props;if(a){var o=i.U;if(o)for(var n in o){var c=o[n];c!==void 0&&!(n in a)&&(c.d(),o[n]=void 0)}else i.U=o={};for(var l in a){var d=o[l],u=a[l];d===void 0?(d=al(i,l,u,r),o[l]=d):d.o(u,r)}}}t(e)});function al(t,e,i,a){var r=e in t&&t.ownerSVGElement===void 0,o=at(i);return{o:function(n,c){o.value=n,a=c},d:ni(function(){var n=o.value.value;a[e]!==n&&(a[e]=n,r?t[e]=n:n?t.setAttribute(e,n):t.removeAttribute(e))})}}yt("unmount",function(t,e){if(typeof e.type=="string"){var i=e.__e;if(i){var a=i.U;if(a){i.U=void 0;for(var r in a){var o=a[r];o&&o.d()}}}}else{var n=e.__c;if(n){var c=n.__$u;c&&(n.__$u=void 0,c.d())}}t(e)});yt("__h",function(t,e,i,a){(a<3||a===9)&&(e.__$f|=2),t(e,i,a)});H.prototype.shouldComponentUpdate=function(t,e){var i=this.__$u;if(!(i&&i.s!==void 0||4&this.__$f)||3&this.__$f)return!0;for(var a in e)return!0;for(var r in t)if(r!=="__source"&&t[r]!==this.props[r])return!0;for(var o in this.props)if(!(o in t))return!0;return!1};function rl(t){return rt(function(){return at(t)},[])}const De=(t,e)=>e.some(i=>t instanceof i);let Ki,Wi;function ol(){return Ki||(Ki=[IDBDatabase,IDBObjectStore,IDBIndex,IDBCursor,IDBTransaction])}function nl(){return Wi||(Wi=[IDBCursor.prototype.advance,IDBCursor.prototype.continue,IDBCursor.prototype.continuePrimaryKey])}const Ne=new WeakMap,we=new WeakMap,se=new WeakMap;function cl(t){const e=new Promise((i,a)=>{const r=()=>{t.removeEventListener("success",o),t.removeEventListener("error",n)},o=()=>{i(lt(t.result)),r()},n=()=>{a(t.error),r()};t.addEventListener("success",o),t.addEventListener("error",n)});return se.set(e,t),e}function sl(t){if(Ne.has(t))return;const e=new Promise((i,a)=>{const r=()=>{t.removeEventListener("complete",o),t.removeEventListener("error",n),t.removeEventListener("abort",n)},o=()=>{i(),r()},n=()=>{a(t.error||new DOMException("AbortError","AbortError")),r()};t.addEventListener("complete",o),t.addEventListener("error",n),t.addEventListener("abort",n)});Ne.set(t,e)}let Me={get(t,e,i){if(t instanceof IDBTransaction){if(e==="done")return Ne.get(t);if(e==="store")return i.objectStoreNames[1]?void 0:i.objectStore(i.objectStoreNames[0])}return lt(t[e])},set(t,e,i){return t[e]=i,!0},has(t,e){return t instanceof IDBTransaction&&(e==="done"||e==="store")?!0:e in t}};function Ga(t){Me=t(Me)}function ll(t){return nl().includes(t)?function(...e){return t.apply(Ae(this),e),lt(this.request)}:function(...e){return lt(t.apply(Ae(this),e))}}function dl(t){return typeof t=="function"?ll(t):(t instanceof IDBTransaction&&sl(t),De(t,ol())?new Proxy(t,Me):t)}function lt(t){if(t instanceof IDBRequest)return cl(t);if(we.has(t))return we.get(t);const e=dl(t);return e!==t&&(we.set(t,e),se.set(e,t)),e}const Ae=t=>se.get(t);function ul(t,e,{blocked:i,upgrade:a,blocking:r,terminated:o}={}){const n=indexedDB.open(t,e),c=lt(n);return a&&n.addEventListener("upgradeneeded",l=>{a(lt(n.result),l.oldVersion,l.newVersion,lt(n.transaction),l)}),i&&n.addEventListener("blocked",l=>i(l.oldVersion,l.newVersion,l)),c.then(l=>{o&&l.addEventListener("close",()=>o()),r&&l.addEventListener("versionchange",d=>r(d.oldVersion,d.newVersion,d))}).catch(()=>{}),c}const pl=["get","getKey","getAll","getAllKeys","count"],hl=["put","add","delete","clear"],ve=new Map;function Gi(t,e){if(!(t instanceof IDBDatabase&&!(e in t)&&typeof e=="string"))return;if(ve.get(e))return ve.get(e);const i=e.replace(/FromIndex$/,""),a=e!==i,r=hl.includes(i);if(!(i in(a?IDBIndex:IDBObjectStore).prototype)||!(r||pl.includes(i)))return;const o=async function(n,...c){const l=this.transaction(n,r?"readwrite":"readonly");let d=l.store;return a&&(d=d.index(c.shift())),(await Promise.all([d[i](...c),r&&l.done]))[0]};return ve.set(e,o),o}Ga(t=>({...t,get:(e,i,a)=>Gi(e,i)||t.get(e,i,a),has:(e,i)=>!!Gi(e,i)||t.has(e,i)}));const fl=["continue","continuePrimaryKey","advance"],Yi={},Fe=new WeakMap,Ya=new WeakMap,wl={get(t,e){if(!fl.includes(e))return t[e];let i=Yi[e];return i||(i=Yi[e]=function(...a){Fe.set(this,Ya.get(this)[e](...a))}),i}};async function*vl(...t){let e=this;if(e instanceof IDBCursor||(e=await e.openCursor(...t)),!e)return;e=e;const i=new Proxy(e,wl);for(Ya.set(i,e),se.set(i,Ae(e));e;)yield i,e=await(Fe.get(i)||e.continue()),Fe.delete(i)}function qi(t,e){return e===Symbol.asyncIterator&&De(t,[IDBIndex,IDBObjectStore,IDBCursor])||e==="iterate"&&De(t,[IDBIndex,IDBObjectStore])}Ga(t=>({...t,get(e,i,a){return qi(e,i)?vl:t.get(e,i,a)},has(e,i){return qi(e,i)||t.has(e,i)}}));const Vt=typeof indexedDB>"u"?void 0:ul("inploi-chatbot",3,{upgrade(t){try{t.deleteObjectStore("state")}catch{}t.createObjectStore("state")}});let Kt,ge,kt;const Ji=()=>{if(!Kt)return kt;const t=Kt;Kt=void 0;const e=qa(t),i=Vt==null?void 0:Vt.then(a=>a.put("state",t.data,e)).finally(()=>{kt===i&&(kt=void 0)});return kt=i,kt},nt={getStateData:async(t,e,i)=>{var r;const a=qa({...t,flowKeys:e,context:i});return(r=await Vt)==null?void 0:r.get("state",a)},setStateData:t=>{Kt=t,clearTimeout(ge),ge=setTimeout(()=>void Ji(),1e3)},flushStateData:()=>(clearTimeout(ge),Ji()??Promise.resolve())},gl=t=>Mt(t).with(ct.number.lte(1e3),()=>`${Math.round(t)}KB`).with(ct.number.lt(1e3*10),()=>`${(t/1e3).toFixed(1)}MB`).otherwise(()=>`${Math.round(t/1e3)}MB`),bl=t=>{const e=t.find(i=>i.isHead);if(!e)throw new Error("No head node found");return e},_l=t=>Object.entries(t).reduce((i,[a,r])=>(i[a]=r.value,i),{}),ml=t=>e=>e?e.type===t:!1;class st extends Error{constructor(){super("Aborted")}}const yl=t=>typeof t=="string",xl=t=>{let e=5381;for(let i=0;i<t.length;i++)e=e*33^t.charCodeAt(i);return e>>>0},He=t=>t===null||typeof t!="object"?t:Array.isArray(t)?t.map(He):Object.keys(t).sort().reduce((e,i)=>(e[i]=He(t[i]),e),{}),kl=t=>{const e=JSON.stringify(He(t));return xl(e).toString(36)},$l=()=>typeof crypto<"u"&&"randomUUID"in crypto?crypto.randomUUID():Math.random().toString(36).slice(2),Xi=()=>({messages:[],submissions:{},currentInput:null,nodeHistory:[],isFinished:!1,sequence:0,flowSessionId:$l()}),Sl=t=>Mt(t).with({nativeEvent:{submitter:ct.select(ct.union(ct.instanceOf(HTMLButtonElement),ct.instanceOf(HTMLInputElement)))}},e=>e).otherwise(()=>{throw new Error("invalid submitter")}),Wt=(t,e,i,a=0)=>{if(!e.nextId)return i(e.id,{stepsMade:a,remainingSteps:0}),{stepsMade:a,remainingSteps:0};const r=t.find(d=>d.id===e.nextId);if(r===void 0)return{stepsMade:a,remainingSteps:0};const o=e.type==="if-block"?e.branchId:void 0,n=t.find(d=>d.id===o),c=e.type.includes("question")?1:0;if(n){const d=c+Math.max(Wt(t,r,i,a+c).remainingSteps,Wt(t,n,i,a+c).remainingSteps);return i(e.id,{stepsMade:a,remainingSteps:d}),{stepsMade:a,remainingSteps:d}}const l=c+Wt(t,r,i,a+c).remainingSteps;return i(e.id,{stepsMade:a,remainingSteps:l}),{stepsMade:a,remainingSteps:l}},Cl=t=>{const e={},i=t.find(a=>a.isHead);return i&&Wt(t,i,(a,r)=>{e[a]=r}),e},qa=t=>[...t.flowKeys,t.id,t.version,kl(t.context)].join("/"),et=at({state:"idle"}),$t=t=>{const{state:e,flow:i}=et.value;if(e!=="loaded")return;ai(i,"No flow to update");const a=t(i.data);i.data=a,et.value={state:e,flow:i},nt.setStateData(i)},x={current$:et,viewState$:at("closed"),inputHeight$:at(53),prepareFlow:async({flow:t,context:e={},flowKeys:i,title:a,analytics:r,job:o,locationOrigin:n})=>(await nt.flushStateData().catch(()=>{}),{data:await nt.getStateData(t,i,e)??Xi(),startedAt:new Date,nodeIdToProgress:Cl(t.nodes),flowKeys:i,id:t.id,version:t.version,nodes:t.nodes,build:t.build,context:e,title:a,analytics:r,job:o,locationOrigin:n}),commitFlow:t=>{et.value={state:"loaded",flow:t},nt.setStateData(t)},cancelCurrentFlow:()=>{et.value={state:"idle"},x.viewState$.value="closed"},markAsFinished:()=>$t(t=>({...t,isFinished:!0})),setCurrentNodeId:t=>$t(e=>(e.nodeHistory.push(t),e)),restart:()=>{const{state:t,flow:e}=et.value;if(t!=="loaded")throw new Error("Flow cannot be restarted: not in valid state");const i=Xi();et.value={state:t,flow:{...e,data:i,startedAt:new Date}},nt.setStateData(e)},addMessage:(t,e)=>{const i={...t,groupId:e};return $t(a=>(a.messages.push(i),a))},removeMessagesSentByNodeIds:t=>{const{state:e,flow:i}=et.value;ai(e==="loaded","Application not loaded");const a=i.data.messages.filter(r=>!r.groupId||!t.includes(r.groupId));i.data.messages=a,nt.setStateData(i)},setSubmission:(t,e)=>$t(i=>(e===null?delete i.submissions[t]:i.submissions[t]=e,i)),setInput:t=>$t(e=>({...e,currentInput:t??null}))},El=({message:t})=>{const{t:e}=ce();return p("div",{class:"flex flex-grow flex-col items-center justify-center",children:[p("svg",{class:"text-error-9 h-16 w-16",fill:"none",xmlns:"http://www.w3.org/2000/svg","stroke-width":"2",stroke:"currentColor","stroke-linecap":"round",viewBox:"0 0 96 96",children:[p("path",{d:"M48 79H19.9l-1.3-.3a3 3 0 0 1-1.3-1.3c-.1-.3-.2-.6-.2-1.3l-.1-2.5V48a31 31 0 1 1 31 31Z",fill:"#fff"}),p("path",{d:"M48 79H19.9l-1.3-.3a3 3 0 0 1-1.3-1.3c-.1-.3-.2-.6-.2-1.3l-.1-2.5V48a31 31 0 1 1 31 31Z"}),p("line",{x1:"36.7",y1:"39.3",x2:"44.8",y2:"47.4"}),p("line",{x1:"52.2",y1:"39.3",x2:"60.3",y2:"47.4"}),p("line",{x1:"44.7",y1:"39.2",x2:"36.6",y2:"47.3"}),p("line",{x1:"60.2",y1:"39.2",x2:"52.1",y2:"47.3"}),p("path",{d:"M38 56h19"})]}),p("div",{class:"flex flex-col gap-2 text-center",children:[p("p",{class:"text-error-11 font-bold",children:e("error_heading")}),t&&p("p",{class:"text-neutral-9 text-sm",children:t})]})]})},Ja=t=>p("svg",{role:"img",viewBox:"0 0 24 24",...t,children:[p("title",{children:"Loading"}),p("style",{children:"#s1{animation:3s linear infinite forwards s1__to}@keyframes s1__to{0%{transform:translate(12px,0)}66.666667%{transform:translate(12px,0);animation-timing-function:cubic-bezier(0.77,0,0.175,1)}100%{transform:translate(12px,12px)}}#s2{animation:3s linear infinite forwards s2__ts}@keyframes s2__ts{0%{transform:scale(0,0)}70%{transform:scale(0,0);animation-timing-function:cubic-bezier(0.86,0,0.07,1)}100%{transform:scale(1,1)}}#s3{animation:3s linear infinite forwards s3__to}@keyframes s3__to{0%{transform:translate(12px,12px);animation-timing-function:cubic-bezier(0.77,0,0.175,1)}100%,33.333333%{transform:translate(12px,24px)}}#s4{animation:3s linear infinite forwards s4__ts}@keyframes s4__ts{0%{transform:scale(1,1);animation-timing-function:cubic-bezier(0.86,0,0.07,1)}100%,30%{transform:scale(0,0)}}#s5{animation:3s linear infinite forwards s5__to}@keyframes s5__to{0%{transform:translate(12px,0);animation-timing-function:cubic-bezier(0.77,0,0.175,1)}33.333333%{transform:translate(12px,12.045742px);animation-timing-function:cubic-bezier(0.77,0,0.175,1)}100%,66.666667%{transform:translate(12px,24px)}}#s6{animation:3s linear infinite forwards s6__ts}@keyframes s6__ts{0%,100%,63.333333%{transform:scale(0,0)}3.333333%{transform:scale(0,0);animation-timing-function:cubic-bezier(0.86,0,0.07,1)}33.333333%{transform:scale(1,1);animation-timing-function:cubic-bezier(0.86,0,0.07,1)}}#s7{animation:3s linear infinite forwards s7__to}@keyframes s7__to{0%{transform:translate(12px,0)}33.333333%{transform:translate(12px,0);animation-timing-function:cubic-bezier(0.77,0,0.175,1)}66.666667%{transform:translate(12px,12px);animation-timing-function:cubic-bezier(0.77,0,0.175,1)}100%{transform:translate(12px,24px)}}#s8{animation:3s linear infinite forwards s8__ts}@keyframes s8__ts{0%,100%,96.666667%{transform:scale(0,0)}36.666667%{transform:scale(0,0);animation-timing-function:cubic-bezier(0.86,0,0.07,1)}66.666667%{transform:scale(1,1);animation-timing-function:cubic-bezier(0.86,0,0.07,1)}}"}),p("g",{id:"s1",transform:"translate(12,0)",children:p("g",{id:"s2",transform:"scale(0,0)",children:p("circle",{r:"6.5",transform:"translate(0,0)",fill:"currentColor"})})}),p("g",{id:"s3",transform:"translate(12,12)",children:p("g",{id:"s4",transform:"scale(1,1)",children:p("circle",{r:"6.5",transform:"translate(0,0)",fill:"currentColor"})})}),p("g",{id:"s5",transform:"translate(12,0)",children:p("g",{id:"s6",transform:"scale(0,0)",children:p("path",{d:"M6.5,13c3.5899,0,6.5-2.9101,6.5-6.5s-2.9101-6.5-6.5-6.5-6.5,2.91015-6.5,6.5s2.91015,6.5,6.5,6.5Zm0-4C7.88071,9,9,7.88071,9,6.5s-1.11929-2.5-2.5-2.5-2.5,1.11929-2.5,2.5s1.11929,2.5,2.5,2.5Z",transform:"translate(-6.5,-6.5)","clip-rule":"evenodd",fill:"currentColor","fill-rule":"evenodd"})})}),p("g",{id:"s7",transform:"translate(12,0)",children:p("g",{id:"s8",transform:"scale(0,0)",children:p("path",{d:"M0,6c0,3.58984,2.91016,6.5,6.5,6.5s6.5-2.91016,6.5-6.5h-4C9,7.38086,7.88086,8.5,6.5,8.5s-2.5-1.11914-2.5-2.5h-4Z",transform:"translate(-6.5,-9.25)",fill:"currentColor"})})})]}),Zi=()=>p("div",{class:"flex flex-grow flex-col items-center justify-center",children:p(Ja,{class:"text-neutral-6 h-8 w-8"})}),Tl=t=>{const i=t/100,a=1.3;return t<0?"0%":t>100?"100%":`${Math.round((1-(1-.1)*Math.pow(1-i,a))*100)}%`},Pl=ne("touch-hitbox fr relative flex-none rounded-full p-2 transition-all",{variants:{variant:{neutral:"text-neutral-11 hover:text-neutral-12 active:text-neutral-12 hover:bg-interactive-bg-hover active:bg-interactive-bg-active ",white:"text-white/80 hover:text-white active:text-white hover:bg-white/20 active:bg-white/30"}},defaultVariants:{variant:"neutral"}}),te=({class:t,children:e,variant:i,...a})=>p("div",{class:"flex flex-1 items-center justify-end px-1",children:p("button",{class:oe(Pl({variant:i}),t),...a,children:p("svg",{class:"block",width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",stroke:"currentColor","stroke-width":"1.5","stroke-linecap":"round",xmlns:"http://www.w3.org/2000/svg",children:e})})}),Ol=()=>{if(x.current$.value.state!=="loaded")return null;const t=x.current$.value.flow.nodeIdToProgress,e=x.current$.value.flow.data.nodeHistory.at(-1);if(e===void 0)return null;const i=t[e];if(i===void 0)return null;const a=100*(i.stepsMade/(i.remainingSteps+i.stepsMade));return p("div",{class:"bg-accent-3",children:p("div",{style:{width:Tl(a)},class:"bg-accent-9 ring-accent-6 relative h-[3px] rounded-full transition-all duration-1000"})})},jl=({children:t,params:e})=>{const{t:i}=ce(),a=x.viewState$;return p(L,{children:p("header",{class:"ring-divider bg-statusbar absolute left-0 right-0 top-0 z-20 mx-auto items-center ring-1 backdrop-blur-md backdrop-saturate-150",children:[p("div",{class:"ring-neutral-7 flex h-[var(--header-height)] gap-2 rounded-t-3xl ring-0 ring-inset transition-all duration-300 [&:has(>.view-switch:focus-visible)]:ring-1",children:[p("p",{id:"chatbot-status-bar",class:"sr-only",children:t}),p("button",{onClick:()=>{a.value="minimised"},class:"view-switch h-full flex-grow overflow-hidden px-4 py-1 focus-visible:outline-none",onTouchStart:Le,children:p("p",{"aria-hidden":!0,class:"text-neutral-12 truncate text-sm font-bold tracking-tight",children:t})}),p("div",{class:"flex flex-shrink-0 items-center gap-3 p-1.5",children:[e.feedback?p("div",{"data-widget":"inploi-feedback","data-key":"chatbot-header",class:oe({hidden:x.current$.value.state!=="loaded"||a.value!=="maximised"}),children:p("div",{class:"ring-neutral-4 bg-neutral-3 h-8 w-[72px] animate-pulse rounded-full ring-1"})}):null,x.current$.value.state==="loaded"&&p(te,{"aria-label":"Restart",onClick:()=>{x.restart()},children:[p("path",{d:"M12 8.5C12 9.29113 11.7654 10.0645 11.3259 10.7223C10.8864 11.3801 10.2616 11.8928 9.53073 12.1955C8.79983 12.4983 7.99556 12.5775 7.21964 12.4231C6.44371 12.2688 5.73098 11.8878 5.17157 11.3284C4.61216 10.769 4.2312 10.0563 4.07686 9.28036C3.92252 8.50444 4.00173 7.70017 4.30448 6.96927C4.60723 6.23836 5.11992 5.61365 5.77772 5.17412C6.43552 4.7346 7.20887 4.5 8 4.5H9"}),p("path",{d:"M8 7L10 4.5L8 2.5"})]},"restart"),p(te,{class:"view-switch",onTouchStart:Le,"aria-label":i("minimize"),onClick:()=>a.value="minimised",children:p("path",{d:"M12.5 6.5L8 11L3.5 6.5"})},"minmax")]})]}),p(Ol,{})]})})};function Le(){}const Il=za(()=>Promise.resolve().then(()=>require("./chatbot-body-3f51cdbc.cjs")).then(t=>t.ChatbotBody)),Xa=ne("selection:bg-accent-4 selection:text-accent-12 fixed bottom-2 left-2 right-2 isolate mx-auto max-h-full focus:outline-none [&:has(.view-switch:active)]:scale-[0.98] transition-all duration-1000 ease-expo-out",{variants:{view:{closed:"hidden",minimised:"max-w-[min(300px,calc(100vw-4rem))] h-[var(--header-height)] animate-slide-in-bottom",maximised:"max-w-[450px] h-[var(--content-height)] animate-maximise"}}}),Za=ne("relative flex h-full overflow-hidden rounded-3xl outline outline-1",{variants:{view:{closed:"hidden",minimised:"outline-accent-10 bg-accent-9",maximised:"outline-neutral-3 bg-neutral-1 flex-col"}}}),zl=({open:t,...e})=>{const i=Nt(null);return pt(()=>{const a=i.current;a&&(t?a.showModal():a.close())},[t]),p("dialog",{ref:i,...e})},Dl=({logger:t,apiClient:e,analytics:i,talentBankClient:a,params:r})=>{const{state:o,flow:n,error:c}=x.current$.value,l=x.viewState$.value,d=o!=="idle"&&l==="maximised",u=Nt(null);return p(Zs,{terms:r.terms,locale:void 0,children:[p(zl,{open:d,onClose:()=>x.viewState$.value="minimised",children:p("div",{ref:u,"aria-modal":"true",role:"dialog","aria-labelledby":"chatbot-status-bar",class:Xa({view:"maximised"}),children:p("div",{class:Za({view:"maximised"}),children:[p(jl,{params:r,children:n==null?void 0:n.title}),Mt({state:o,view:l}).with({state:"idle"},()=>null).with({state:"loading"},()=>p(Zi,{},"loading")).with({state:"loaded"},()=>p(Et,{fallback:p(Zi,{},"loading"),children:p(Il,{analytics:i,apiClient:e,logger:t,talentBankClient:a})})).with({state:"error"},()=>p(El,{message:c})).exhaustive()]})})}),l==="minimised"?p(Nl,{flow:n}):null]})},Nl=({flow:t})=>{const{t:e}=ce();return p("div",{class:Xa({view:"minimised",class:"z-100 isolate"}),children:p("div",{class:Za({view:"minimised"}),children:[p("button",{onClick:()=>{x.viewState$.value="maximised"},class:"view-switch h-full flex-grow overflow-hidden px-4 py-1 focus-visible:outline-none",onTouchStart:Le,children:p("p",{"aria-hidden":!0,class:"truncate text-sm font-bold tracking-tight text-white",children:t==null?void 0:t.title})}),p("div",{class:"flex items-center px-0.5",children:p(te,{"aria-label":e("close_application"),onClick:x.cancelCurrentFlow,variant:"white",children:p("path",{d:"M12 12L4 4M12 4L4 12"})},"close")})]})})},Ml=`[data-widget=inploi-chatbot]{-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;user-select:none;position:relative;z-index:2147483647;font-size:16px;font-family:sans-serif;--i-lowest: 0 0% 100%;--i-e-1: 340 100% 99%;--i-e-2: 353 100% 98%;--i-e-3: 351 91% 96%;--i-e-4: 351 100% 93%;--i-e-5: 350 100% 90%;--i-e-6: 351 80% 86%;--i-e-7: 349 68% 81%;--i-e-8: 348 61% 74%;--i-e-9: 348 75% 59%;--i-e-10: 347 70% 55%;--i-e-11: 345 70% 47%;--i-e-12: 344 63% 24%;--header-height: 44px;--content-height:calc(100vh - 64px);--content-height:calc(100svh - 64px)}@media screen and (min-width: 768px){[data-widget=inploi-chatbot]{--content-height: min(640px, calc(100vh - 16px));--content-height: min(640px, calc(100svh - 16px)) }}[data-widget=inploi-chatbot] *,[data-widget=inploi-chatbot] :before,[data-widget=inploi-chatbot] :after{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }[data-widget=inploi-chatbot] ::backdrop{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }[data-widget=inploi-chatbot]{--tw-content: "";font-family:system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Open Sans,Helvetica Neue,sans-serif}[data-widget=inploi-chatbot] em{font-style:italic}[data-widget=inploi-chatbot] strong{font-weight:700}[data-widget=inploi-chatbot] *{font-weight:inherit;font-style:inherit;box-sizing:border-box;font-family:inherit;border-style:solid;border-width:0;-webkit-tap-highlight-color:transparent}[data-widget=inploi-chatbot] :before,[data-widget=inploi-chatbot] :after{box-sizing:border-box}[data-widget=inploi-chatbot] :is(ul,ol){list-style:none;padding:0;margin:0}[data-widget=inploi-chatbot] :is(p){margin:0;padding:0}[data-widget=inploi-chatbot] :is(li){margin:0;padding:0;list-style:none}[data-widget=inploi-chatbot] :is(button){margin:0;padding:0;border:unset;background:unset;text-align:unset}[data-widget=inploi-chatbot] .container{width:100%}@media (min-width: 640px){[data-widget=inploi-chatbot] .container{max-width:640px}}@media (min-width: 768px){[data-widget=inploi-chatbot] .container{max-width:768px}}@media (min-width: 1024px){[data-widget=inploi-chatbot] .container{max-width:1024px}}@media (min-width: 1280px){[data-widget=inploi-chatbot] .container{max-width:1280px}}@media (min-width: 1536px){[data-widget=inploi-chatbot] .container{max-width:1536px}}[data-widget=inploi-chatbot] .sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border-width:0}[data-widget=inploi-chatbot] .visible{visibility:visible}[data-widget=inploi-chatbot] .invisible{visibility:hidden}[data-widget=inploi-chatbot] .collapse{visibility:collapse}[data-widget=inploi-chatbot] .static{position:static}[data-widget=inploi-chatbot] .fixed{position:fixed}[data-widget=inploi-chatbot] .absolute{position:absolute}[data-widget=inploi-chatbot] .relative{position:relative}[data-widget=inploi-chatbot] .sticky{position:sticky}[data-widget=inploi-chatbot] .inset-0{top:0;right:0;bottom:0;left:0}[data-widget=inploi-chatbot] .bottom-0{bottom:0}[data-widget=inploi-chatbot] .bottom-2{bottom:8px}[data-widget=inploi-chatbot] .bottom-2\\.5{bottom:10px}[data-widget=inploi-chatbot] .left-0{left:0}[data-widget=inploi-chatbot] .left-2{left:8px}[data-widget=inploi-chatbot] .right-0{right:0}[data-widget=inploi-chatbot] .right-0\\.5{right:2px}[data-widget=inploi-chatbot] .right-1{right:4px}[data-widget=inploi-chatbot] .right-2{right:8px}[data-widget=inploi-chatbot] .top-0{top:0}[data-widget=inploi-chatbot] .isolate{isolation:isolate}[data-widget=inploi-chatbot] .z-20{z-index:20}[data-widget=inploi-chatbot] .z-50{z-index:50}[data-widget=inploi-chatbot] .m-0{margin:0}[data-widget=inploi-chatbot] .mx-auto{margin-left:auto;margin-right:auto}[data-widget=inploi-chatbot] .mb-1{margin-bottom:4px}[data-widget=inploi-chatbot] .ml-auto{margin-left:auto}[data-widget=inploi-chatbot] .mt-auto{margin-top:auto}[data-widget=inploi-chatbot] .block{display:block}[data-widget=inploi-chatbot] .inline-block{display:inline-block}[data-widget=inploi-chatbot] .inline{display:inline}[data-widget=inploi-chatbot] .flex{display:flex}[data-widget=inploi-chatbot] .inline-flex{display:inline-flex}[data-widget=inploi-chatbot] .table{display:table}[data-widget=inploi-chatbot] .table-row{display:table-row}[data-widget=inploi-chatbot] .flow-root{display:flow-root}[data-widget=inploi-chatbot] .grid{display:grid}[data-widget=inploi-chatbot] .inline-grid{display:inline-grid}[data-widget=inploi-chatbot] .contents{display:contents}[data-widget=inploi-chatbot] .list-item{display:list-item}[data-widget=inploi-chatbot] .\\!hidden{display:none!important}[data-widget=inploi-chatbot] .hidden{display:none}[data-widget=inploi-chatbot] .size-\\[1lh\\]{width:1lh;height:1lh}[data-widget=inploi-chatbot] .h-1\\.5{height:6px}[data-widget=inploi-chatbot] .h-16{height:64px}[data-widget=inploi-chatbot] .h-4{height:16px}[data-widget=inploi-chatbot] .h-48{height:192px}[data-widget=inploi-chatbot] .h-8{height:32px}[data-widget=inploi-chatbot] .h-\\[3px\\]{height:3px}[data-widget=inploi-chatbot] .h-\\[var\\(--content-height\\)\\]{height:var(--content-height)}[data-widget=inploi-chatbot] .h-\\[var\\(--header-height\\)\\]{height:var(--header-height)}[data-widget=inploi-chatbot] .h-full{height:100%}[data-widget=inploi-chatbot] .max-h-\\[calc\\(8lh\\+1rem\\)\\]{max-height:calc(8lh + 16px)}[data-widget=inploi-chatbot] .max-h-full{max-height:100%}[data-widget=inploi-chatbot] .min-h-\\[36px\\]{min-height:36px}[data-widget=inploi-chatbot] .min-h-\\[calc\\(1lh\\+1rem\\)\\]{min-height:calc(1lh + 16px)}[data-widget=inploi-chatbot] .w-1\\.5{width:6px}[data-widget=inploi-chatbot] .w-16{width:64px}[data-widget=inploi-chatbot] .w-24{width:96px}[data-widget=inploi-chatbot] .w-4{width:16px}[data-widget=inploi-chatbot] .w-64{width:256px}[data-widget=inploi-chatbot] .w-8{width:32px}[data-widget=inploi-chatbot] .w-\\[72px\\]{width:72px}[data-widget=inploi-chatbot] .w-full{width:100%}[data-widget=inploi-chatbot] .min-w-0{min-width:0px}[data-widget=inploi-chatbot] .min-w-\\[2rem\\]{min-width:32px}[data-widget=inploi-chatbot] .max-w-\\[450px\\]{max-width:450px}[data-widget=inploi-chatbot] .max-w-\\[min\\(100\\%\\,24rem\\)\\]{max-width:min(100%,384px)}[data-widget=inploi-chatbot] .max-w-\\[min\\(300px\\,calc\\(100vw-4rem\\)\\)\\]{max-width:min(300px,calc(100vw - 64px))}[data-widget=inploi-chatbot] .max-w-\\[var\\(--radix-popover-content-available-width\\)\\]{max-width:var(--radix-popover-content-available-width)}[data-widget=inploi-chatbot] .max-w-full{max-width:100%}[data-widget=inploi-chatbot] .flex-1{flex:1 1 0%}[data-widget=inploi-chatbot] .flex-auto{flex:1 1 auto}[data-widget=inploi-chatbot] .flex-none{flex:none}[data-widget=inploi-chatbot] .flex-shrink{flex-shrink:1}[data-widget=inploi-chatbot] .flex-shrink-0{flex-shrink:0}[data-widget=inploi-chatbot] .shrink{flex-shrink:1}[data-widget=inploi-chatbot] .flex-grow,[data-widget=inploi-chatbot] .grow{flex-grow:1}[data-widget=inploi-chatbot] .border-collapse{border-collapse:collapse}[data-widget=inploi-chatbot] .scale-75{--tw-scale-x: .75;--tw-scale-y: .75;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}[data-widget=inploi-chatbot] .transform{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}@keyframes bounce{0%,to{transform:translateY(-25%);animation-timing-function:cubic-bezier(.8,0,1,1)}50%{transform:none;animation-timing-function:cubic-bezier(0,0,.2,1)}}[data-widget=inploi-chatbot] .animate-bounce{animation:bounce 1s infinite}@keyframes bubble-in{0%{transform:translateY(100%) scale(.8);opacity:0}to{transform:translateY(0) scale(1);opacity:1}}[data-widget=inploi-chatbot] .animate-bubble-in{animation:bubble-in .3s cubic-bezier(.34,1.56,.64,1)}@keyframes maximise{0%{transform:translateY(50%) scaleX(.7)}to{transform:translateY(0)}}[data-widget=inploi-chatbot] .animate-maximise{animation:maximise .4s cubic-bezier(.16,1,.3,1)}@keyframes pulse{50%{opacity:.5}}[data-widget=inploi-chatbot] .animate-pulse{animation:pulse 2s cubic-bezier(.4,0,.6,1) infinite}@keyframes slide-in-bottom{0%{transform:translateY(-100%) scaleX(1.25)}to{transform:translateY(0)}}[data-widget=inploi-chatbot] .animate-slide-in-bottom{animation:slide-in-bottom .3s cubic-bezier(.175,.885,.32,1.275)}[data-widget=inploi-chatbot] .cursor-pointer{cursor:pointer}[data-widget=inploi-chatbot] .select-none{-webkit-user-select:none;-moz-user-select:none;user-select:none}[data-widget=inploi-chatbot] .select-text{-webkit-user-select:text;-moz-user-select:text;user-select:text}[data-widget=inploi-chatbot] .resize-y{resize:vertical}[data-widget=inploi-chatbot] .resize{resize:both}[data-widget=inploi-chatbot] .appearance-none{-webkit-appearance:none;-moz-appearance:none;appearance:none}[data-widget=inploi-chatbot] .flex-col{flex-direction:column}[data-widget=inploi-chatbot] .flex-wrap{flex-wrap:wrap}[data-widget=inploi-chatbot] .items-center{align-items:center}[data-widget=inploi-chatbot] .items-stretch{align-items:stretch}[data-widget=inploi-chatbot] .justify-end{justify-content:flex-end}[data-widget=inploi-chatbot] .justify-center{justify-content:center}[data-widget=inploi-chatbot] .gap-0{gap:0px}[data-widget=inploi-chatbot] .gap-1{gap:4px}[data-widget=inploi-chatbot] .gap-1\\.5{gap:6px}[data-widget=inploi-chatbot] .gap-2{gap:8px}[data-widget=inploi-chatbot] .gap-2\\.5{gap:10px}[data-widget=inploi-chatbot] .gap-3{gap:12px}[data-widget=inploi-chatbot] .gap-4{gap:16px}[data-widget=inploi-chatbot] .self-center{align-self:center}[data-widget=inploi-chatbot] .overflow-hidden{overflow:hidden}[data-widget=inploi-chatbot] .overflow-y-auto{overflow-y:auto}[data-widget=inploi-chatbot] .overflow-y-scroll{overflow-y:scroll}[data-widget=inploi-chatbot] .truncate{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}[data-widget=inploi-chatbot] .text-ellipsis{text-overflow:ellipsis}[data-widget=inploi-chatbot] .whitespace-nowrap{white-space:nowrap}[data-widget=inploi-chatbot] .text-balance{text-wrap:balance}[data-widget=inploi-chatbot] .text-pretty{text-wrap:pretty}[data-widget=inploi-chatbot] .break-words{overflow-wrap:break-word}[data-widget=inploi-chatbot] .rounded{border-radius:4px}[data-widget=inploi-chatbot] .rounded-2xl{border-radius:16px}[data-widget=inploi-chatbot] .rounded-3xl{border-radius:24px}[data-widget=inploi-chatbot] .rounded-\\[18px\\]{border-radius:18px}[data-widget=inploi-chatbot] .rounded-full{border-radius:9999px}[data-widget=inploi-chatbot] .rounded-lg{border-radius:8px}[data-widget=inploi-chatbot] .rounded-md{border-radius:6px}[data-widget=inploi-chatbot] .rounded-xl{border-radius:12px}[data-widget=inploi-chatbot] .rounded-b-3xl{border-bottom-right-radius:24px;border-bottom-left-radius:24px}[data-widget=inploi-chatbot] .rounded-l-full{border-top-left-radius:9999px;border-bottom-left-radius:9999px}[data-widget=inploi-chatbot] .rounded-r-full{border-top-right-radius:9999px;border-bottom-right-radius:9999px}[data-widget=inploi-chatbot] .rounded-t-3xl{border-top-left-radius:24px;border-top-right-radius:24px}[data-widget=inploi-chatbot] .rounded-bl-md{border-bottom-left-radius:6px}[data-widget=inploi-chatbot] .rounded-br-md{border-bottom-right-radius:6px}[data-widget=inploi-chatbot] .border{border-width:1px}[data-widget=inploi-chatbot] .border-b{border-bottom-width:1px}[data-widget=inploi-chatbot] .border-t{border-top-width:1px}[data-widget=inploi-chatbot] .border-solid{border-style:solid}[data-widget=inploi-chatbot] .border-dashed{border-style:dashed}[data-widget=inploi-chatbot] .border-accent-9{border-color:var(--i-color-a-9)}[data-widget=inploi-chatbot] .border-divider{border-color:var(--i-color-divider)}[data-widget=inploi-chatbot] .border-neutral-5{border-color:var(--i-color-n-5)}[data-widget=inploi-chatbot] .border-neutral-8{border-color:var(--i-color-n-8)}[data-widget=inploi-chatbot] .border-transparent{border-color:transparent}[data-widget=inploi-chatbot] .border-b-neutral-3{border-bottom-color:var(--i-color-n-3)}[data-widget=inploi-chatbot] .border-b-neutral-5{border-bottom-color:var(--i-color-n-5)}[data-widget=inploi-chatbot] .border-b-transparent{border-bottom-color:transparent}[data-widget=inploi-chatbot] .bg-accent-1{background-color:var(--i-color-a-1)}[data-widget=inploi-chatbot] .bg-accent-3{background-color:var(--i-color-a-3)}[data-widget=inploi-chatbot] .bg-accent-9{background-color:var(--i-color-a-9)}[data-widget=inploi-chatbot] .bg-bubble-weak-bg{background-color:var(--i-bubble-weak-bg)}[data-widget=inploi-chatbot] .bg-lowest{background-color:var(--i-color-lowest)}[data-widget=inploi-chatbot] .bg-neutral-1{background-color:var(--i-color-n-1)}[data-widget=inploi-chatbot] .bg-neutral-2{background-color:var(--i-color-n-2)}[data-widget=inploi-chatbot] .bg-neutral-3{background-color:var(--i-color-n-3)}[data-widget=inploi-chatbot] .bg-statusbar{background-color:var(--i-status-bar-bg)}[data-widget=inploi-chatbot] .bg-transparent{background-color:transparent}[data-widget=inploi-chatbot] .bg-none{background-image:none}[data-widget=inploi-chatbot] .p-1{padding:4px}[data-widget=inploi-chatbot] .p-1\\.5{padding:6px}[data-widget=inploi-chatbot] .p-10{padding:40px}[data-widget=inploi-chatbot] .p-11{padding:44px}[data-widget=inploi-chatbot] .p-12{padding:48px}[data-widget=inploi-chatbot] .p-2{padding:8px}[data-widget=inploi-chatbot] .p-2\\.5{padding:10px}[data-widget=inploi-chatbot] .p-3{padding:12px}[data-widget=inploi-chatbot] .p-4{padding:16px}[data-widget=inploi-chatbot] .p-5{padding:20px}[data-widget=inploi-chatbot] .p-6{padding:24px}[data-widget=inploi-chatbot] .p-7{padding:28px}[data-widget=inploi-chatbot] .p-8{padding:32px}[data-widget=inploi-chatbot] .p-9{padding:36px}[data-widget=inploi-chatbot] .px-0\\.5{padding-left:2px;padding-right:2px}[data-widget=inploi-chatbot] .px-1{padding-left:4px;padding-right:4px}[data-widget=inploi-chatbot] .px-1\\.5{padding-left:6px;padding-right:6px}[data-widget=inploi-chatbot] .px-2{padding-left:8px;padding-right:8px}[data-widget=inploi-chatbot] .px-3{padding-left:12px;padding-right:12px}[data-widget=inploi-chatbot] .px-4{padding-left:16px;padding-right:16px}[data-widget=inploi-chatbot] .px-5{padding-left:20px;padding-right:20px}[data-widget=inploi-chatbot] .py-0\\.5{padding-top:2px;padding-bottom:2px}[data-widget=inploi-chatbot] .py-1{padding-top:4px;padding-bottom:4px}[data-widget=inploi-chatbot] .py-1\\.5{padding-top:6px;padding-bottom:6px}[data-widget=inploi-chatbot] .py-2{padding-top:8px;padding-bottom:8px}[data-widget=inploi-chatbot] .py-2\\.5{padding-top:10px;padding-bottom:10px}[data-widget=inploi-chatbot] .py-3{padding-top:12px;padding-bottom:12px}[data-widget=inploi-chatbot] .pb-2{padding-bottom:8px}[data-widget=inploi-chatbot] .pb-6{padding-bottom:24px}[data-widget=inploi-chatbot] .pl-1\\.5{padding-left:6px}[data-widget=inploi-chatbot] .pl-2{padding-left:8px}[data-widget=inploi-chatbot] .pl-2\\.5{padding-left:10px}[data-widget=inploi-chatbot] .pl-3{padding-left:12px}[data-widget=inploi-chatbot] .pl-4{padding-left:16px}[data-widget=inploi-chatbot] .pr-1{padding-right:4px}[data-widget=inploi-chatbot] .pr-16{padding-right:64px}[data-widget=inploi-chatbot] .pr-2\\.5{padding-right:10px}[data-widget=inploi-chatbot] .pr-3{padding-right:12px}[data-widget=inploi-chatbot] .pr-4{padding-right:16px}[data-widget=inploi-chatbot] .pt-2\\.5{padding-top:10px}[data-widget=inploi-chatbot] .pt-3{padding-top:12px}[data-widget=inploi-chatbot] .pt-5{padding-top:20px}[data-widget=inploi-chatbot] .pt-\\[calc\\(var\\(--header-height\\)\\+1rem\\)\\]{padding-top:calc(var(--header-height) + 16px)}[data-widget=inploi-chatbot] .text-center{text-align:center}[data-widget=inploi-chatbot] .text-justify{text-align:justify}[data-widget=inploi-chatbot] .text-\\[10px\\]{font-size:10px}[data-widget=inploi-chatbot] .text-\\[11px\\]{font-size:11px}[data-widget=inploi-chatbot] .text-base{font-size:16px;line-height:24px}[data-widget=inploi-chatbot] .text-sm{font-size:14px;line-height:20px}[data-widget=inploi-chatbot] .text-xs{font-size:12px;line-height:16px}[data-widget=inploi-chatbot] .font-bold{font-weight:700}[data-widget=inploi-chatbot] .font-medium{font-weight:500}[data-widget=inploi-chatbot] .font-semibold{font-weight:600}[data-widget=inploi-chatbot] .uppercase{text-transform:uppercase}[data-widget=inploi-chatbot] .lowercase{text-transform:lowercase}[data-widget=inploi-chatbot] .capitalize{text-transform:capitalize}[data-widget=inploi-chatbot] .italic{font-style:italic}[data-widget=inploi-chatbot] .ordinal{--tw-ordinal: ordinal;font-variant-numeric:var(--tw-ordinal) var(--tw-slashed-zero) var(--tw-numeric-figure) var(--tw-numeric-spacing) var(--tw-numeric-fraction)}[data-widget=inploi-chatbot] .leading-3{line-height:12px}[data-widget=inploi-chatbot] .leading-snug{line-height:1.375}[data-widget=inploi-chatbot] .leading-tight{line-height:1.25}[data-widget=inploi-chatbot] .tracking-\\[-0\\.01em\\]{letter-spacing:-.01em}[data-widget=inploi-chatbot] .tracking-tight{letter-spacing:-.025em}[data-widget=inploi-chatbot] .tracking-wide{letter-spacing:.025em}[data-widget=inploi-chatbot] .tracking-widest{letter-spacing:.1em}[data-widget=inploi-chatbot] .text-\\[\\#4CAF50\\]{--tw-text-opacity: 1;color:rgb(76 175 80 / var(--tw-text-opacity, 1))}[data-widget=inploi-chatbot] .text-\\[\\#FFC107\\]{--tw-text-opacity: 1;color:rgb(255 193 7 / var(--tw-text-opacity, 1))}[data-widget=inploi-chatbot] .text-accent-1{color:var(--i-color-a-1)}[data-widget=inploi-chatbot] .text-accent-10{color:var(--i-color-a-10)}[data-widget=inploi-chatbot] .text-accent-11{color:var(--i-color-a-11)}[data-widget=inploi-chatbot] .text-accent-12{color:var(--i-color-a-12)}[data-widget=inploi-chatbot] .text-accent-9{color:var(--i-color-a-9)}[data-widget=inploi-chatbot] .text-error-11{color:var(--i-color-e-11)}[data-widget=inploi-chatbot] .text-error-9{color:var(--i-color-e-9)}[data-widget=inploi-chatbot] .text-neutral-10{color:var(--i-color-n-10)}[data-widget=inploi-chatbot] .text-neutral-11{color:var(--i-color-n-11)}[data-widget=inploi-chatbot] .text-neutral-12{color:var(--i-color-n-12)}[data-widget=inploi-chatbot] .text-neutral-6{color:var(--i-color-n-6)}[data-widget=inploi-chatbot] .text-neutral-8{color:var(--i-color-n-8)}[data-widget=inploi-chatbot] .text-neutral-9{color:var(--i-color-n-9)}[data-widget=inploi-chatbot] .text-white{--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity, 1))}[data-widget=inploi-chatbot] .text-white\\/80{color:#fffc}[data-widget=inploi-chatbot] .underline{text-decoration-line:underline}[data-widget=inploi-chatbot] .no-underline{text-decoration-line:none}[data-widget=inploi-chatbot] .underline-offset-2{text-underline-offset:2px}[data-widget=inploi-chatbot] .underline-offset-4{text-underline-offset:4px}[data-widget=inploi-chatbot] .caret-accent-9{caret-color:var(--i-color-a-9)}[data-widget=inploi-chatbot] .opacity-0{opacity:0}[data-widget=inploi-chatbot] .shadow{--tw-shadow: 0 1px 3px 0 rgb(0 0 0 / .1), 0 1px 2px -1px rgb(0 0 0 / .1);--tw-shadow-colored: 0 1px 3px 0 var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}[data-widget=inploi-chatbot] .shadow-\\[0_0_0_1px\\]{--tw-shadow: 0 0 0 1px;--tw-shadow-colored: 0 0 0 1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}[data-widget=inploi-chatbot] .shadow-surface-lg{--tw-shadow: 0px 3px 3px 0px oklch(0% 0 0 / .03), 0px 6px 4px 0px oklch(0% 0 0 / .02), 0px 11px 4px 0px oklch(0% 0 0 / .01), 0px 32px 24px -12px oklch(0% 0 0 / .06);--tw-shadow-colored: 0px 3px 3px 0px var(--tw-shadow-color), 0px 6px 4px 0px var(--tw-shadow-color), 0px 11px 4px 0px var(--tw-shadow-color), 0px 32px 24px -12px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}[data-widget=inploi-chatbot] .shadow-surface-md{--tw-shadow: 0px 3px 3px 0px oklch(0% 0 0 / .03), 0px 6px 4px 0px oklch(0% 0 0 / .02), 0px 6px 4px 0px oklch(0% 0 0 / .01);--tw-shadow-colored: 0px 3px 3px 0px var(--tw-shadow-color), 0px 6px 4px 0px var(--tw-shadow-color), 0px 6px 4px 0px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}[data-widget=inploi-chatbot] .shadow-surface-sm{--tw-shadow: 0px 3px 3px 0px oklch(0% 0 0 / .03), 0px 4px 4px 0px oklch(0% 0 0 / .02);--tw-shadow-colored: 0px 3px 3px 0px var(--tw-shadow-color), 0px 4px 4px 0px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}[data-widget=inploi-chatbot] .shadow-bubble-strong-shadow{--tw-shadow-color: var(--i-bubble-strong-shadow);--tw-shadow: var(--tw-shadow-colored)}[data-widget=inploi-chatbot] .outline-none{outline:2px solid transparent;outline-offset:2px}[data-widget=inploi-chatbot] .outline{outline-style:solid}[data-widget=inploi-chatbot] .outline-1{outline-width:1px}[data-widget=inploi-chatbot] .outline-2{outline-width:2px}[data-widget=inploi-chatbot] .outline-accent-10{outline-color:var(--i-color-a-10)}[data-widget=inploi-chatbot] .outline-accent-4{outline-color:var(--i-color-a-4)}[data-widget=inploi-chatbot] .outline-bubble-weak{outline-color:var(--i-bubble-weak-outline)}[data-widget=inploi-chatbot] .outline-divider{outline-color:var(--i-color-divider)}[data-widget=inploi-chatbot] .outline-neutral-3{outline-color:var(--i-color-n-3)}[data-widget=inploi-chatbot] .outline-neutral-6{outline-color:var(--i-color-n-6)}[data-widget=inploi-chatbot] .ring-0{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(0px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}[data-widget=inploi-chatbot] .ring-1{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}[data-widget=inploi-chatbot] .ring-2{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}[data-widget=inploi-chatbot] .ring-inset{--tw-ring-inset: inset}[data-widget=inploi-chatbot] .ring-accent-6{--tw-ring-color: var(--i-color-a-6)}[data-widget=inploi-chatbot] .ring-divider{--tw-ring-color: var(--i-color-divider)}[data-widget=inploi-chatbot] .ring-lowest{--tw-ring-color: var(--i-color-lowest)}[data-widget=inploi-chatbot] .ring-neutral-4{--tw-ring-color: var(--i-color-n-4)}[data-widget=inploi-chatbot] .ring-neutral-5{--tw-ring-color: var(--i-color-n-5)}[data-widget=inploi-chatbot] .ring-neutral-7{--tw-ring-color: var(--i-color-n-7)}[data-widget=inploi-chatbot] .ring-transparent{--tw-ring-color: transparent}[data-widget=inploi-chatbot] .ring-offset-\\[1\\.5px\\]{--tw-ring-offset-width: 1.5px}[data-widget=inploi-chatbot] .ring-offset-neutral-1{--tw-ring-offset-color: var(--i-color-n-1)}[data-widget=inploi-chatbot] .blur{--tw-blur: blur(8px);filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}[data-widget=inploi-chatbot] .drop-shadow-\\[0_1\\.5px_var\\(--i-color-n-1\\)\\]{--tw-drop-shadow: drop-shadow(0 1.5px var(--i-color-n-1));filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}[data-widget=inploi-chatbot] .grayscale{--tw-grayscale: grayscale(100%);filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}[data-widget=inploi-chatbot] .invert{--tw-invert: invert(100%);filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}[data-widget=inploi-chatbot] .sepia{--tw-sepia: sepia(100%);filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}[data-widget=inploi-chatbot] .filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}[data-widget=inploi-chatbot] .backdrop-blur-md{--tw-backdrop-blur: blur(12px);-webkit-backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia);backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia)}[data-widget=inploi-chatbot] .backdrop-blur-xl{--tw-backdrop-blur: blur(24px);-webkit-backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia);backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia)}[data-widget=inploi-chatbot] .backdrop-saturate-150{--tw-backdrop-saturate: saturate(1.5);-webkit-backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia);backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia)}[data-widget=inploi-chatbot] .backdrop-filter{-webkit-backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia);backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia)}[data-widget=inploi-chatbot] .transition{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}[data-widget=inploi-chatbot] .transition-\\[background\\,color\\,border-color\\,box-shadow\\]{transition-property:background,color,border-color,box-shadow;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}[data-widget=inploi-chatbot] .transition-all{transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}[data-widget=inploi-chatbot] .transition-colors{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}[data-widget=inploi-chatbot] .transition-transform{transition-property:transform;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}[data-widget=inploi-chatbot] .duration-100{transition-duration:.1s}[data-widget=inploi-chatbot] .duration-1000{transition-duration:1s}[data-widget=inploi-chatbot] .duration-300{transition-duration:.3s}[data-widget=inploi-chatbot] .duration-700{transition-duration:.7s}[data-widget=inploi-chatbot] .ease-expo-out{transition-timing-function:cubic-bezier(.16,1,.3,1)}[data-widget=inploi-chatbot] .ease-in-out{transition-timing-function:cubic-bezier(.4,0,.2,1)}[data-widget=inploi-chatbot] .will-change-\\[height\\]{will-change:height}[data-widget=inploi-chatbot] .will-change-\\[transform\\,opacity\\]{will-change:transform,opacity}[data-widget=inploi-chatbot] .text-wrap-balance{text-wrap:balance}[data-widget=inploi-chatbot] .fr{outline:none}[data-widget=inploi-chatbot] .fr:focus{outline:none}[data-widget=inploi-chatbot] .fr:focus-visible{outline:none;--tw-ring-offset-width: 1px;--tw-ring-offset-color: var(--i-color-lowest);--tw-ring-opacity: 1;--tw-ring-color: var(--i-color-a-9);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}[data-widget=inploi-chatbot] .gutter-stable{scrollbar-gutter:stable}[data-widget=inploi-chatbot] .hide-scrollbars::-webkit-scrollbar{display:none}[data-widget=inploi-chatbot] .hide-scrollbars{scrollbar-width:none;-ms-overflow-style:none}[data-widget=inploi-chatbot] .touch-hitbox:before{content:"";position:absolute;display:block;top:50%;left:50%;transform:translate(-50%,-50%);width:100%;height:100%;min-height:44px;min-width:44px;z-index:9999}[data-widget=inploi-chatbot] .\\[-webkit-outer-spin-button\\:none\\]{-webkit-outer-spin-button:none}[data-widget=inploi-chatbot] .\\[a-zA-Z0-9-_\\:\\.\\$\\@\\?\\]{a-z-a--z0-9-_:.$@?}[data-widget=inploi-chatbot] .\\[grid-template-columns\\:min-content_1fr\\]{grid-template-columns:min-content 1fr}[data-widget=inploi-chatbot] .\\[text-wrap\\:pretty\\]{text-wrap:pretty}[data-widget=inploi-chatbot] .selection\\:bg-accent-4 *::-moz-selection{background-color:var(--i-color-a-4)}[data-widget=inploi-chatbot] .selection\\:bg-accent-4 *::selection{background-color:var(--i-color-a-4)}[data-widget=inploi-chatbot] .selection\\:bg-transparent *::-moz-selection{background-color:transparent}[data-widget=inploi-chatbot] .selection\\:bg-transparent *::selection{background-color:transparent}[data-widget=inploi-chatbot] .selection\\:text-accent-12 *::-moz-selection{color:var(--i-color-a-12)}[data-widget=inploi-chatbot] .selection\\:text-accent-12 *::selection{color:var(--i-color-a-12)}[data-widget=inploi-chatbot] .selection\\:bg-accent-4::-moz-selection{background-color:var(--i-color-a-4)}[data-widget=inploi-chatbot] .selection\\:bg-accent-4::selection{background-color:var(--i-color-a-4)}[data-widget=inploi-chatbot] .selection\\:bg-transparent::-moz-selection{background-color:transparent}[data-widget=inploi-chatbot] .selection\\:bg-transparent::selection{background-color:transparent}[data-widget=inploi-chatbot] .selection\\:text-accent-12::-moz-selection{color:var(--i-color-a-12)}[data-widget=inploi-chatbot] .selection\\:text-accent-12::selection{color:var(--i-color-a-12)}[data-widget=inploi-chatbot] .placeholder\\:text-neutral-10::-moz-placeholder{color:var(--i-color-n-10)}[data-widget=inploi-chatbot] .placeholder\\:text-neutral-10::placeholder{color:var(--i-color-n-10)}[data-widget=inploi-chatbot] .placeholder\\:text-neutral-8::-moz-placeholder{color:var(--i-color-n-8)}[data-widget=inploi-chatbot] .placeholder\\:text-neutral-8::placeholder{color:var(--i-color-n-8)}[data-widget=inploi-chatbot] .first-of-type\\:rounded-l-lg:first-of-type{border-top-left-radius:8px;border-bottom-left-radius:8px}[data-widget=inploi-chatbot] .last-of-type\\:rounded-r-lg:last-of-type{border-top-right-radius:8px;border-bottom-right-radius:8px}[data-widget=inploi-chatbot] .autofill\\:shadow-\\[inset_0_0_0_1000px_hsl\\(210_16\\.7\\%_97\\.6\\%\\)\\]:-webkit-autofill{--tw-shadow: inset 0 0 0 1000px hsl(210 16.7% 97.6%);--tw-shadow-colored: inset 0 0 0 1000px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}[data-widget=inploi-chatbot] .autofill\\:shadow-\\[inset_0_0_0_1000px_hsl\\(210_16\\.7\\%_97\\.6\\%\\)\\]:autofill{--tw-shadow: inset 0 0 0 1000px hsl(210 16.7% 97.6%);--tw-shadow-colored: inset 0 0 0 1000px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}[data-widget=inploi-chatbot] .autofill\\:shadow-\\[inset_0_0_0_1000px_var\\(--i-color-a-2\\)\\]:-webkit-autofill{--tw-shadow: inset 0 0 0 1000px var(--i-color-a-2);--tw-shadow-colored: inset 0 0 0 1000px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}[data-widget=inploi-chatbot] .autofill\\:shadow-\\[inset_0_0_0_1000px_var\\(--i-color-a-2\\)\\]:autofill{--tw-shadow: inset 0 0 0 1000px var(--i-color-a-2);--tw-shadow-colored: inset 0 0 0 1000px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}[data-widget=inploi-chatbot] .autofill\\:\\[-webkit-text-fill-color\\:var\\(--i-color-a-11\\)\\]:-webkit-autofill{-webkit-text-fill-color:var(--i-color-a-11)}[data-widget=inploi-chatbot] .autofill\\:\\[-webkit-text-fill-color\\:var\\(--i-color-a-11\\)\\]:autofill{-webkit-text-fill-color:var(--i-color-a-11)}[data-widget=inploi-chatbot] .focus-within\\:bg-neutral-5:focus-within{background-color:var(--i-color-n-5)}[data-widget=inploi-chatbot] .focus-within\\:outline-none:focus-within{outline:2px solid transparent;outline-offset:2px}[data-widget=inploi-chatbot] .focus-within\\:outline-accent-7:focus-within{outline-color:var(--i-color-a-7)}[data-widget=inploi-chatbot] .hover\\:z-10:hover{z-index:10}[data-widget=inploi-chatbot] .hover\\:scale-\\[1\\.02\\]:hover{--tw-scale-x: 1.02;--tw-scale-y: 1.02;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}[data-widget=inploi-chatbot] .hover\\:border-accent-10:hover{border-color:var(--i-color-a-10)}[data-widget=inploi-chatbot] .hover\\:border-neutral-5:hover{border-color:var(--i-color-n-5)}[data-widget=inploi-chatbot] .hover\\:bg-accent-10:hover{background-color:var(--i-color-a-10)}[data-widget=inploi-chatbot] .hover\\:bg-divider:hover{background-color:var(--i-color-divider)}[data-widget=inploi-chatbot] .hover\\:bg-interactive-bg-hover:hover{background-color:var(--i-interactive-bg-hover)}[data-widget=inploi-chatbot] .hover\\:bg-neutral-2:hover{background-color:var(--i-color-n-2)}[data-widget=inploi-chatbot] .hover\\:bg-neutral-3:hover{background-color:var(--i-color-n-3)}[data-widget=inploi-chatbot] .hover\\:bg-neutral-4:hover{background-color:var(--i-color-n-4)}[data-widget=inploi-chatbot] .hover\\:bg-neutral-5:hover{background-color:var(--i-color-n-5)}[data-widget=inploi-chatbot] .hover\\:bg-white\\/20:hover{background-color:#fff3}[data-widget=inploi-chatbot] .hover\\:text-accent-11:hover{color:var(--i-color-a-11)}[data-widget=inploi-chatbot] .hover\\:text-neutral-12:hover{color:var(--i-color-n-12)}[data-widget=inploi-chatbot] .hover\\:text-white:hover{--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity, 1))}[data-widget=inploi-chatbot] .hover\\:underline:hover{text-decoration-line:underline}[data-widget=inploi-chatbot] .hover\\:ring-accent-8:hover{--tw-ring-color: var(--i-color-a-8)}[data-widget=inploi-chatbot] .hover\\:ring-divider:hover{--tw-ring-color: var(--i-color-divider)}[data-widget=inploi-chatbot] .focus\\:z-20:focus{z-index:20}[data-widget=inploi-chatbot] .focus\\:bg-neutral-5:focus{background-color:var(--i-color-n-5)}[data-widget=inploi-chatbot] .focus\\:shadow-\\[0_0_0_2px\\]:focus{--tw-shadow: 0 0 0 2px;--tw-shadow-colored: 0 0 0 2px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}[data-widget=inploi-chatbot] .focus\\:outline-none:focus{outline:2px solid transparent;outline-offset:2px}[data-widget=inploi-chatbot] .autofill\\:focus\\:shadow-\\[inset_0_0_0_1000px_var\\(--i-color-a-1\\)\\]:focus:-webkit-autofill{--tw-shadow: inset 0 0 0 1000px var(--i-color-a-1);--tw-shadow-colored: inset 0 0 0 1000px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}[data-widget=inploi-chatbot] .autofill\\:focus\\:shadow-\\[inset_0_0_0_1000px_var\\(--i-color-a-1\\)\\]:focus:autofill{--tw-shadow: inset 0 0 0 1000px var(--i-color-a-1);--tw-shadow-colored: inset 0 0 0 1000px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}[data-widget=inploi-chatbot] .focus-visible\\:bg-neutral-3:focus-visible{background-color:var(--i-color-n-3)}[data-widget=inploi-chatbot] .focus-visible\\:outline-none:focus-visible{outline:2px solid transparent;outline-offset:2px}[data-widget=inploi-chatbot] .focus-visible\\:outline-2:focus-visible{outline-width:2px}[data-widget=inploi-chatbot] .focus-visible\\:outline-accent-7:focus-visible{outline-color:var(--i-color-a-7)}[data-widget=inploi-chatbot] .focus-visible\\:outline-accent-8:focus-visible{outline-color:var(--i-color-a-8)}[data-widget=inploi-chatbot] .focus-visible\\:ring-4:focus-visible{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(4px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}[data-widget=inploi-chatbot] .focus-visible\\:ring-offset-2:focus-visible{--tw-ring-offset-width: 2px}[data-widget=inploi-chatbot] .active\\:scale-\\[\\.97\\]:active{--tw-scale-x: .97;--tw-scale-y: .97;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}[data-widget=inploi-chatbot] .active\\:border-submit-bg-active:active{border-color:var(--i-submit-button-bg-active)}[data-widget=inploi-chatbot] .active\\:bg-accent-10:active{background-color:var(--i-color-a-10)}[data-widget=inploi-chatbot] .active\\:bg-accent-2:active{background-color:var(--i-color-a-2)}[data-widget=inploi-chatbot] .active\\:bg-interactive-bg-active:active{background-color:var(--i-interactive-bg-active)}[data-widget=inploi-chatbot] .active\\:bg-interactive-bg-hover:active{background-color:var(--i-interactive-bg-hover)}[data-widget=inploi-chatbot] .active\\:bg-submit-bg-active:active{background-color:var(--i-submit-button-bg-active)}[data-widget=inploi-chatbot] .active\\:bg-white\\/30:active{background-color:#ffffff4d}[data-widget=inploi-chatbot] .active\\:text-accent-10:active{color:var(--i-color-a-10)}[data-widget=inploi-chatbot] .active\\:text-accent-11:active{color:var(--i-color-a-11)}[data-widget=inploi-chatbot] .active\\:text-neutral-12:active{color:var(--i-color-n-12)}[data-widget=inploi-chatbot] .active\\:text-white:active{--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity, 1))}[data-widget=inploi-chatbot] .active\\:outline-neutral-8:active{outline-color:var(--i-color-n-8)}[data-widget=inploi-chatbot] .active\\:ring-2:active{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}[data-widget=inploi-chatbot] .active\\:ring-accent-7:active{--tw-ring-color: var(--i-color-a-7)}[data-widget=inploi-chatbot] .active\\:ring-interactive-bg-hover:active{--tw-ring-color: var(--i-interactive-bg-hover)}[data-widget=inploi-chatbot] .active\\:ring-offset-2:active{--tw-ring-offset-width: 2px}[data-widget=inploi-chatbot] .disabled\\:cursor-not-allowed:disabled{cursor:not-allowed}[data-widget=inploi-chatbot] .disabled\\:opacity-50:disabled{opacity:.5}[data-widget=inploi-chatbot] .peer:checked~.peer-checked\\:bg-accent-2{background-color:var(--i-color-a-2)}[data-widget=inploi-chatbot] .peer:checked~.peer-checked\\:text-accent-9{color:var(--i-color-a-9)}[data-widget=inploi-chatbot] .peer:checked~.peer-checked\\:outline-accent-7{outline-color:var(--i-color-a-7)}[data-widget=inploi-chatbot] .peer:focus-visible~.peer-focus-visible\\:ring-4{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(4px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}[data-widget=inploi-chatbot] .peer:focus-visible~.peer-focus-visible\\:ring-accent-9{--tw-ring-color: var(--i-color-a-9)}[data-widget=inploi-chatbot] .peer:focus-visible~.peer-focus-visible\\:ring-offset-accent-7{--tw-ring-offset-color: var(--i-color-a-7)}[data-widget=inploi-chatbot] .group[aria-pressed=true] .group-aria-\\[pressed\\=true\\]\\:scale-100{--tw-scale-x: 1;--tw-scale-y: 1;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}@media (pointer: coarse){[data-widget=inploi-chatbot] .pointer-coarse\\:touch-hitbox\\:\\:before:before{content:"";position:absolute;display:block;top:50%;left:50%;transform:translate(-50%,-50%);width:100%;height:100%;min-height:44px;min-width:44px;z-index:9999}}[data-widget=inploi-chatbot] .\\[\\&\\:has\\(\\+\\*\\>input\\:focus\\)\\]\\:text-neutral-11:has(+*>input:focus){color:var(--i-color-n-11)}[data-widget=inploi-chatbot] .\\[\\&\\:has\\(\\.view-switch\\:active\\)\\]\\:scale-\\[0\\.98\\]:has(.view-switch:active){--tw-scale-x: .98;--tw-scale-y: .98;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}[data-widget=inploi-chatbot] .\\[\\&\\:has\\(\\>\\.view-switch\\:focus-visible\\)\\]\\:ring-1:has(>.view-switch:focus-visible){--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}@keyframes fade-in{0%{opacity:0}to{opacity:1}}[data-widget=inploi-chatbot] dialog::backdrop{animation:fade-in .5s cubic-bezier(.16,1,.3,1) both}[data-widget=inploi-chatbot] dialog::backdrop{background-color:var(--i-overlay-bg)}
2
+ `,Qa="inploi-chatbot",Be=`[data-widget='${Qa}']`,Al=()=>({getChatbotElement:()=>document.querySelector(Be),getOrCreateChatbotElement:()=>{const t=document.querySelector(Be);if(t)return document.body.appendChild(t),t;const e=document.createElement("div");return document.body.appendChild(e),e.dataset.widget=Qa,e}}),Fl=25,Re=at({instant:()=>{},smooth:()=>{}}),Hl=(t,e)=>new Promise((i,a)=>{if(e!=null&&e.aborted)return a(new st);const r=setTimeout(i,t);e==null||e.addEventListener("abort",()=>{clearTimeout(r),a(new st)},{once:!0})}),Pt={onSubmitSuccessFn$:at(()=>{}),isBotTyping$:at(!1),scrollToEnd:{instant:()=>Re.value.instant(),smooth:()=>Re.value.smooth()}},Ll=()=>{const t=Nt(null);pt(()=>{Re.value={instant:()=>{var i;return(i=t.current)==null?void 0:i.scrollTo({top:t.current.scrollHeight,behavior:"instant"})},smooth:()=>{t.current&&t.current.scrollHeight-t.current.scrollTop<=t.current.clientHeight*2&&t.current.scrollTo({top:t.current.scrollHeight,behavior:"smooth"})}}},[t]);const e=rt(()=>({addToSubmissions:(a,r)=>x.setSubmission(a,r),send:async({message:a,signal:r,groupId:o})=>{if(await Mt(a).with({author:"bot",type:"text"},async n=>{if(r!=null&&r.aborted)throw new st;Pt.isBotTyping$.value=!0;const c=Math.min(Math.max(20,n.text.length),100)*Fl;try{await Hl(c,r)}finally{Pt.isBotTyping$.value=!1}}).otherwise(async()=>{}),r!=null&&r.aborted)throw new st;x.addMessage(a,o)},input:({input:a,signal:r})=>{if(r!=null&&r.aborted)throw new st;return x.setInput(a),new Promise(o=>{const n=c=>{if(r!=null&&r.aborted)throw new st;x.setInput(void 0),a.key&&x.setSubmission(a.key,c),o(c)};Pt.onSubmitSuccessFn$.value=n})}}),[]);return{chatRef:t,chatService:e}};var K;function le(t){return{lang:(t==null?void 0:t.lang)??(K==null?void 0:K.lang),message:t==null?void 0:t.message,abortEarly:(t==null?void 0:t.abortEarly)??(K==null?void 0:K.abortEarly),abortPipeEarly:(t==null?void 0:t.abortPipeEarly)??(K==null?void 0:K.abortPipeEarly)}}var be;function Bl(t){return be==null?void 0:be.get(t)}var _e;function Rl(t){return _e==null?void 0:_e.get(t)}var me;function Ul(t,e){var i;return(i=me==null?void 0:me.get(t))==null?void 0:i.get(e)}function ut(t){var i,a;const e=typeof t;return e==="string"?`"${t}"`:e==="number"||e==="bigint"||e==="boolean"?`${t}`:e==="object"||e==="function"?(t&&((a=(i=Object.getPrototypeOf(t))==null?void 0:i.constructor)==null?void 0:a.name))??"null":e}function j(t,e,i,a,r){const o=r&&"input"in r?r.input:i.value,n=(r==null?void 0:r.expected)??t.expects??null,c=(r==null?void 0:r.received)??ut(o),l={kind:t.kind,type:t.type,input:o,expected:n,received:c,message:`Invalid ${e}: ${n?`Expected ${n} but r`:"R"}eceived ${c}`,requirement:t.requirement,path:r==null?void 0:r.path,issues:r==null?void 0:r.issues,lang:a.lang,abortEarly:a.abortEarly,abortPipeEarly:a.abortPipeEarly},d=t.kind==="schema",u=(r==null?void 0:r.message)??t.message??Ul(t.reference,l.lang)??(d?Rl(l.lang):null)??a.message??Bl(l.lang);u!==void 0&&(l.message=typeof u=="function"?u(l):u),d&&(i.typed=!1),i.issues?i.issues.push(l):i.issues=[l]}function A(t){return{version:1,vendor:"valibot",validate(e){return t["~run"]({value:e},le())}}}function Vl(t,e){return Object.hasOwn(t,e)&&e!=="__proto__"&&e!=="prototype"&&e!=="constructor"}function tr(t,e){const i=[...new Set(t)];return i.length>1?`(${i.join(` ${e} `)})`:i[0]??"never"}function Kl(t){if(t.path){let e="";for(const i of t.path)if(typeof i.key=="string"||typeof i.key=="number")e?e+=`.${i.key}`:e+=i.key;else return null;return e}return null}var Wl=class extends Error{constructor(t){super(t[0].message),this.name="ValiError",this.issues=t}},Gl=/^[\w+-]+(?:\.[\w+-]+)*@[\da-z]+(?:[.-][\da-z]+)*\.[a-z]{2,}$/iu;function er(t,e){return{kind:"validation",type:"check",reference:er,async:!1,expects:null,requirement:t,message:e,"~run"(i,a){return i.typed&&!this.requirement(i.value)&&j(this,"input",i,a),i}}}function ir(t){return{kind:"validation",type:"email",reference:ir,expects:null,async:!1,requirement:Gl,message:t,"~run"(e,i){return e.typed&&!this.requirement.test(e.value)&&j(this,"email",e,i),e}}}function ar(t,e){return{kind:"validation",type:"max_length",reference:ar,async:!1,expects:`<=${t}`,requirement:t,message:e,"~run"(i,a){return i.typed&&i.value.length>this.requirement&&j(this,"length",i,a,{received:`${i.value.length}`}),i}}}function rr(t,e){return{kind:"validation",type:"max_value",reference:rr,async:!1,expects:`<=${t instanceof Date?t.toJSON():ut(t)}`,requirement:t,message:e,"~run"(i,a){return i.typed&&!(i.value<=this.requirement)&&j(this,"value",i,a,{received:i.value instanceof Date?i.value.toJSON():ut(i.value)}),i}}}function or(t,e){return{kind:"validation",type:"min_length",reference:or,async:!1,expects:`>=${t}`,requirement:t,message:e,"~run"(i,a){return i.typed&&i.value.length<this.requirement&&j(this,"length",i,a,{received:`${i.value.length}`}),i}}}function nr(t,e){return{kind:"validation",type:"min_value",reference:nr,async:!1,expects:`>=${t instanceof Date?t.toJSON():ut(t)}`,requirement:t,message:e,"~run"(i,a){return i.typed&&!(i.value>=this.requirement)&&j(this,"value",i,a,{received:i.value instanceof Date?i.value.toJSON():ut(i.value)}),i}}}function cr(t,e){return{kind:"validation",type:"regex",reference:cr,async:!1,expects:`${t}`,requirement:t,message:e,"~run"(i,a){return i.typed&&!this.requirement.test(i.value)&&j(this,"format",i,a),i}}}function ci(t){return{kind:"transformation",type:"transform",reference:ci,async:!1,operation:t,"~run"(e){return e.value=this.operation(e.value),e}}}function sr(t){return{kind:"validation",type:"url",reference:sr,async:!1,expects:null,requirement(e){try{return new URL(e),!0}catch{return!1}},message:t,"~run"(e,i){return e.typed&&!this.requirement(e.value)&&j(this,"URL",e,i),e}}}function Yl(t,e,i){return typeof t.fallback=="function"?t.fallback(e,i):t.fallback}function si(t,e,i){return typeof t.default=="function"?t.default(e,i):t.default}function lr(){return{kind:"schema",type:"any",reference:lr,expects:"any",async:!1,get"~standard"(){return A(this)},"~run"(t){return t.typed=!0,t}}}function li(t,e){return{kind:"schema",type:"array",reference:li,expects:"Array",async:!1,item:t,message:e,get"~standard"(){return A(this)},"~run"(i,a){var o;const r=i.value;if(Array.isArray(r)){i.typed=!0,i.value=[];for(let n=0;n<r.length;n++){const c=r[n],l=this.item["~run"]({value:c},a);if(l.issues){const d={type:"array",origin:"value",input:r,key:n,value:c};for(const u of l.issues)u.path?u.path.unshift(d):u.path=[d],(o=i.issues)==null||o.push(u);if(i.issues||(i.issues=l.issues),a.abortEarly){i.typed=!1;break}}l.typed||(i.typed=!1),i.value.push(l.value)}}else j(this,"type",i,a);return i}}}function de(t){return{kind:"schema",type:"boolean",reference:de,expects:"boolean",async:!1,message:t,get"~standard"(){return A(this)},"~run"(e,i){return typeof e.value=="boolean"?e.typed=!0:j(this,"type",e,i),e}}}function Ue(t,e){return{kind:"schema",type:"literal",reference:Ue,expects:ut(t),async:!1,literal:t,message:e,get"~standard"(){return A(this)},"~run"(i,a){return i.value===this.literal?i.typed=!0:j(this,"type",i,a),i}}}function dr(t,e){return{kind:"schema",type:"nullable",reference:dr,expects:`(${t.expects} | null)`,async:!1,wrapped:t,default:e,get"~standard"(){return A(this)},"~run"(i,a){return i.value===null&&(this.default!==void 0&&(i.value=si(this,i,a)),i.value===null)?(i.typed=!0,i):this.wrapped["~run"](i,a)}}}function zt(t){return{kind:"schema",type:"number",reference:zt,expects:"number",async:!1,message:t,get"~standard"(){return A(this)},"~run"(e,i){return typeof e.value=="number"&&!isNaN(e.value)?e.typed=!0:j(this,"type",e,i),e}}}function q(t,e){return{kind:"schema",type:"object",reference:q,expects:"Object",async:!1,entries:t,message:e,get"~standard"(){return A(this)},"~run"(i,a){var o;const r=i.value;if(r&&typeof r=="object"){i.typed=!0,i.value={};for(const n in this.entries){const c=this.entries[n];if(n in r||(c.type==="exact_optional"||c.type==="optional"||c.type==="nullish")&&c.default!==void 0){const l=n in r?r[n]:si(c),d=c["~run"]({value:l},a);if(d.issues){const u={type:"object",origin:"value",input:r,key:n,value:l};for(const s of d.issues)s.path?s.path.unshift(u):s.path=[u],(o=i.issues)==null||o.push(s);if(i.issues||(i.issues=d.issues),a.abortEarly){i.typed=!1;break}}d.typed||(i.typed=!1),i.value[n]=d.value}else if(c.fallback!==void 0)i.value[n]=Yl(c);else if(c.type!=="exact_optional"&&c.type!=="optional"&&c.type!=="nullish"&&(j(this,"key",i,a,{input:void 0,expected:`"${n}"`,path:[{type:"object",origin:"key",input:r,key:n,value:r[n]}]}),a.abortEarly))break}}else j(this,"type",i,a);return i}}}function W(t,e){return{kind:"schema",type:"optional",reference:W,expects:`(${t.expects} | undefined)`,async:!1,wrapped:t,default:e,get"~standard"(){return A(this)},"~run"(i,a){return i.value===void 0&&(this.default!==void 0&&(i.value=si(this,i,a)),i.value===void 0)?(i.typed=!0,i):this.wrapped["~run"](i,a)}}}function ur(t,e){return{kind:"schema",type:"picklist",reference:ur,expects:tr(t.map(ut),"|"),async:!1,options:t,message:e,get"~standard"(){return A(this)},"~run"(i,a){return this.options.includes(i.value)?i.typed=!0:j(this,"type",i,a),i}}}function di(t,e,i){return{kind:"schema",type:"record",reference:di,expects:"Object",async:!1,key:t,value:e,message:i,get"~standard"(){return A(this)},"~run"(a,r){var n,c;const o=a.value;if(o&&typeof o=="object"){a.typed=!0,a.value={};for(const l in o)if(Vl(o,l)){const d=o[l],u=this.key["~run"]({value:l},r);if(u.issues){const w={type:"object",origin:"key",input:o,key:l,value:d};for(const v of u.issues)v.path=[w],(n=a.issues)==null||n.push(v);if(a.issues||(a.issues=u.issues),r.abortEarly){a.typed=!1;break}}const s=this.value["~run"]({value:d},r);if(s.issues){const w={type:"object",origin:"value",input:o,key:l,value:d};for(const v of s.issues)v.path?v.path.unshift(w):v.path=[w],(c=a.issues)==null||c.push(v);if(a.issues||(a.issues=s.issues),r.abortEarly){a.typed=!1;break}}(!u.typed||!s.typed)&&(a.typed=!1),u.typed&&(a.value[u.value]=s.value)}}else j(this,"type",a,r);return a}}}function G(t){return{kind:"schema",type:"string",reference:G,expects:"string",async:!1,message:t,get"~standard"(){return A(this)},"~run"(e,i){return typeof e.value=="string"?e.typed=!0:j(this,"type",e,i),e}}}function Qi(t){let e;if(t)for(const i of t)e?e.push(...i.issues):e=i.issues;return e}function ui(t,e){return{kind:"schema",type:"union",reference:ui,expects:tr(t.map(i=>i.expects),"|"),async:!1,options:t,message:e,get"~standard"(){return A(this)},"~run"(i,a){let r,o,n;for(const c of this.options){const l=c["~run"]({value:i.value},a);if(l.typed)if(l.issues)o?o.push(l):o=[l];else{r=l;break}else n?n.push(l):n=[l]}if(r)return r;if(o){if(o.length===1)return o[0];j(this,"type",i,a,{issues:Qi(o)}),i.typed=!0}else{if((n==null?void 0:n.length)===1)return n[0];j(this,"type",i,a,{issues:Qi(n)})}return i}}}function ql(t,e,i){const a=t["~run"]({value:e},le(i));if(a.issues)throw new Wl(a.issues);return a.value}function Jl(t,e){const i={};for(const a in t.entries)i[a]=!e||e.includes(a)?W(t.entries[a]):t.entries[a];return{...t,entries:i,get"~standard"(){return A(this)}}}function pr(...t){return{...t[0],pipe:t,get"~standard"(){return A(this)},"~run"(e,i){for(const a of t)if(a.kind!=="metadata"){if(e.issues&&(a.kind==="schema"||a.kind==="transformation")){e.typed=!1;break}(!e.issues||!i.abortEarly&&!i.abortPipeEarly)&&(e=a["~run"](e,i))}return e}}}function Xl(t,e,i){const a=t["~run"]({value:e},le(i));return{typed:a.typed,success:!a.issues,output:a.value,issues:a.issues}}async function Zl(t,e,i){const a=await t["~run"]({value:e},le(i));return{typed:a.typed,success:!a.issues,output:a.value,issues:a.issues}}const hr=pr(ui([G(),zt()]),ci(String)),fr=q({id:hr,version:zt(),build:zt(),nodes:li(lr()),context_schema:W(dr(di(G(),q({required:de(),type:ui([Ue("string"),Ue("number")])}))))}),Ql=q({flow:fr}),td=q({company:q({name:G()}),flow:fr,job:q({id:hr,title:G()}),user:W(q({city:W(G()),country:W(G()),isEU:W(de()),continent:W(G())}))}),ed=Ot.endpoint({pathname:"/flow/job/:id",method:"GET",schema:{searchParams:Ot.typed(),response:td}}),id=Ot.endpoint({pathname:"/flow/id/:id",method:"GET",schema:{response:Ql}});var ad=["1","2","3","4","5","6","7","8","9","10","11","12"],rd={light:{1:[98.8,.015],2:[97.8,.018],3:[95.8,.025],4:[92,.04],5:[89,.05],6:[85,.07],7:[80.5,.08],8:[74,.11],9:[60,.22],10:[56,.23],11:[50,.19],12:[25,.18]},dark:{1:[19,.015],2:[21,.018],3:[25.5,.055],4:[29.3,.084],5:[33.5,.098],6:[39.05,.107],7:[45,.11],8:[55,.13],9:[60,.22],10:[67,.18],11:[79.3,.12],12:[95,.04]}},od=(t,e=1,i)=>a=>{const[r,o]=rd[i][a];return"oklch("+r+"% "+o*e+" "+t+")"},ye=t=>{const e=od(t.hue,t.chroma,t.mode);return Object.fromEntries(ad.map(i=>[t.prefix+i,t.transform(e(i))]))},xe=t=>t,nd=t=>{const e=Object.keys(t).flatMap(i=>{const a=t[i];return typeof a=="object"&&a!==null?Object.keys(a).map(r=>{const o=a[r];return[`${String(i)}.${r}`,o]}):[[i,a]]});return Object.fromEntries(e)},Lt=t=>!!t&&typeof t=="object"&&!Array.isArray(t),Ve=(t,...e)=>{if(!e.length)return t;const i=e.shift();if(Lt(t)&&Lt(i))for(const a in i){const r=i[a];if(Lt(r)){t[a]||Object.assign(t,{[a]:{}});const o=t[a];Lt(o)&&Ve(o,r)}else Object.assign(t,{[a]:i[a]})}return Ve(t,...e)},cd=t=>{function e(i,a){const r=[t.prefix,a.toString().replace(/\./g,"-")].join("");return i==="declaration"?`--${r}`:`var(--${r})`}return e},sd=()=>({core:t=>({semantic:e=>({component:i=>({from:a=>{const{theme:r,getToken:o}=a,n=w=>o("reference",w.toString()),c=t({theme:r}),l=e({theme:r,core:n,raw:{core:c}}),d=i({theme:r,core:n,semantic:n,raw:{core:c,semantic:l}}),u=nd(Ve(c,l,d)),s=([w,v],f)=>{const g=[f,w].filter(Boolean).join(".");return typeof v=="object"?Object.entries(v).flatMap(D=>s(D,g)):[[a.getToken("declaration",g),v]]};return{values:u,declarations:Object.fromEntries(Object.entries(u).flatMap(w=>s(w))),ref:w=>o("reference",w.toString())}}})})})});const[ke,$e,ta]=["oklch(0% 0 0)","oklch(100% 0 0)","transparent"],ld=sd().core(({theme:t})=>({color:{black:ke,white:$e,lowest:t.mode==="light"?$e:ke,highest:t.mode==="light"?ke:$e,...ye({prefix:"a-",hue:t.hue,chroma:t.chroma,mode:t.mode,transform:xe}),...ye({prefix:"n-",hue:t.hue,chroma:.05,mode:t.mode,transform:xe}),...ye({prefix:"e-",hue:20,chroma:t.chroma,mode:t.mode,transform:xe})},typography:{}})).semantic(({core:t,raw:e,theme:i})=>{const a=(r,o)=>e.core.color[r].replace(")",` / ${o})`);return{"font-family":{body:"inherit",headings:"inherit"},"font-style":{body:"normal",headings:"normal"},"font-weight-body":"normal","font-weight-headings":"normal","radius-app":"1.5rem","radius-interactive":"1.5rem",color:{divider:a("n-8",i.mode==="dark"?.4:.2)},"copy-body":t("color.n-12"),"copy-headings":t("color.n-12"),interactive:{copy:t("color.n-11"),"copy-hover":t("color.n-12"),"copy-active":t("color.n-12"),bg:ta,"bg-hover":a("n-10",.2),"bg-active":a("n-10",.3)}}}).component(({raw:t,theme:e,semantic:i,core:a})=>{const r=(o,n)=>t.core.color[o].replace(")",` / ${n})`);return{app:{bg:a(e.mode==="dark"?"color.n-1":"color.n-2")},overlay:{bg:r("black",.4)},bubble:{"weak-bg":a(e.mode==="dark"?"color.n-3":"color.lowest"),"weak-outline":i("color.divider"),"strong-shadow":r("a-9",.05)},"status-bar":{bg:r("n-2",.8),"bg-button":ta,"bg-button-hover":r("n-10",.4),"bg-button-active":r("n-10",.5)},"submit-button":{"bg-active":a(e.mode==="dark"?"color.a-8":"color.a-11")}}}),dd=cd({prefix:"i-"}),ud=t=>{const e=ld.from({theme:t,getToken:dd}),i=Object.entries(e.declarations).map(([a,r])=>`${a}: ${r};`);return`${Be} {
3
3
  ${i.concat(i).join(`
4
4
  `)}
5
- }`},pd=({context:t,schema:e,logger:i})=>{if(e)for(const a in e){const r=e[a];if(!r)continue;const o=sa(t,a,null);if(r.required&&o===null){const n=`Configuration error in context: ${a} is required`;throw i.error(n),new Error(n)}switch(r.type){case"number":if(typeof o!="number")throw new Error(`Configuration error in context: ${a} is not a number`);break;case"string":if(typeof o!="string")throw new Error(`Configuration error in context: ${a} is not a string`);break;default:r.type}}},hd=({_internal_domManager:t=Al(),theme:e,terms:i,feedback:a})=>Ot.createPlugin(({apiClient:r,rpcClient:o,logger:n,analytics:c,publishableKey:l,env:d})=>{let u=!1,s=0;const w=Qs({locale:void 0,overrides:i??{}}),v=l&&d?Ot.createPlatformClient({environment:d,publishableKey:l,logger:n}):void 0,f=b=>b===s,g=()=>{if(typeof window>"u")return;s++,nt.flushStateData().catch(()=>{}),x.cancelCurrentFlow(),x.inputHeight$.value=53,Tt.isBotTyping$.value=!1;const b=t.getChatbotElement();b&&(dt(null,b),b.remove()),u=!1,n.info("Chatbot plugin destroyed")},D=()=>{if(typeof window>"u")return;const b=s,_=[F("style",{id:"inploi-chatbot-styles"},Ml),F("style",{id:"inploi-chatbot-theme"},ud(e))],y=t.getOrCreateChatbotElement();if(dt(F(L,{},[_,F(Dl,{apiClient:r,logger:n,analytics:c,platformClient:v,params:{theme:e,terms:i,feedback:a}})]),y),a){const E=T=>{var R,I;if(!f(b))return;const B=(R=t.getChatbotElement())==null?void 0:R.querySelector("dialog");B&&fd({instance:T({rpcClient:o,apiClient:r,logger:n,analytics:c}),theme:e,terms:((I=a.params)==null?void 0:I.terms)??{},host:B})};a.plugin instanceof Promise?a.plugin.then(({feedbackPlugin:T})=>{E(T())}).catch(T=>{n.error("Error preparing feedback plugin",T)}):E(a.plugin)}u=!0},k=async(b,_)=>{if(!f(_))return;pd({context:b.context||{},schema:b.flow.context_schema,logger:n});const y=await x.prepareFlow(b);f(_)&&x.commitFlow(y)};return{prepare:async()=>{if(!(typeof window>"u"))try{if(u)return;D(),n.info("Chatbot plugin prepared")}catch(b){n.error("Error preparing chatbot plugin",b)}},fetchFlowByJobId:async(b,_)=>o.request(ed,{params:{id:b},searchParams:{id_type:(_==null?void 0:_.idType)==="inploi"?"internal":"external"}}).then(y=>({flow:y.flow,title:y.job.title,flowKeys:[y.job.id,...(_==null?void 0:_.flowKeys)??[]],job:{id:y.job.id,id_type:"external"},..._,context:{user:y.user,..._==null?void 0:_.context}})),fetchFlowById:async(b,_)=>o.request(id,{params:{id:b}}).then(y=>{var E;return{flow:y.flow,title:"Chatbot",flowKeys:(_==null?void 0:_.flowKeys)??[],..._,analytics:{customProperties:{flow_id:y.flow.id,flow_version:y.flow.version,...(E=_==null?void 0:_.analytics)==null?void 0:E.customProperties}}}}),open:async b=>{if(!(typeof window>"u"))try{x.cancelCurrentFlow(),x.viewState$.value="maximised",u||D();const _=s;b instanceof Promise?(x.current$.value={state:"loading"},b.then(y=>k(y,_)).catch(y=>{if(!f(_))return;const E=y instanceof Error?y.message:w("unknown_error");x.current$.value={state:"error",error:E}})):await k(b,_)}catch(_){n.error("Error starting flow",_)}},close:async()=>{typeof window>"u"||(x.cancelCurrentFlow(),n.info("Closed flow from an external source"))},destroy:g}});function fd({instance:t,terms:e,theme:i,host:a}){t.render({key:"chatbot-header",size:"sm",theme:{accent:{chroma:i.chroma??1,hue:i.hue},positive:{hue:180,chroma:1},negative:{hue:33,chroma:1},mode:i.mode,corners:"rounded",highlights:"stroke"},terms:e,host:a})}exports.AbortedError=st;exports.Cn=Ds;exports.F=rt;exports.LoadingIndicator=Ja;exports.M=Mt;exports.SvgIconButton=te;exports._=Nt;exports.array=li;exports.boolean=de;exports.chatStore=Tt;exports.chatbotPlugin=hd;exports.check=er;exports.clsx=oe;exports.cva=ne;exports.email=ir;exports.get=sa;exports.getDefaultExportFromCjs=ea;exports.getDotPath=Kl;exports.getFlowSubmissionsPayload=_l;exports.getFormSubmitter=Sl;exports.getHeadOrThrow=bl;exports.h=Ze;exports.invariant=ai;exports.isString=yl;exports.isSubmissionOfType=ml;exports.k=L;exports.k$1=Ta;exports.kbToReadableSize=gl;exports.maxLength=ar;exports.maxValue=rr;exports.minLength=or;exports.minValue=nr;exports.number=zt;exports.o=p;exports.object=q;exports.optional=W;exports.p=Qe;exports.parse=ql;exports.partial=Jl;exports.picklist=ur;exports.pipe=pr;exports.record=di;exports.regex=cr;exports.safeParse=Xl;exports.safeParseAsync=Zl;exports.store=x;exports.string=G;exports.transform=ci;exports.url=sr;exports.useChatService=Ll;exports.useTranslation=ce;exports.y=pt;exports.z=ct;
5
+ }`},pd=({context:t,schema:e,logger:i})=>{if(e)for(const a in e){const r=e[a];if(!r)continue;const o=sa(t,a,null);if(r.required&&o===null){const n=`Configuration error in context: ${a} is required`;throw i.error(n),new Error(n)}switch(r.type){case"number":if(typeof o!="number")throw new Error(`Configuration error in context: ${a} is not a number`);break;case"string":if(typeof o!="string")throw new Error(`Configuration error in context: ${a} is not a string`);break;default:r.type}}},hd=({_internal_domManager:t=Al(),theme:e,terms:i,feedback:a})=>Ot.createPlugin(({apiClient:r,rpcClient:o,logger:n,analytics:c,publishableKey:l,env:d})=>{let u=!1,s=0;const w=Qs({locale:void 0,overrides:i??{}}),v=l&&d?Ot.createTalentBankClient({environment:d,publishableKey:l,logger:n}):void 0,f=b=>b===s,g=()=>{if(typeof window>"u")return;s++,nt.flushStateData().catch(()=>{}),x.cancelCurrentFlow(),x.inputHeight$.value=53,Pt.isBotTyping$.value=!1;const b=t.getChatbotElement();b&&(dt(null,b),b.remove()),u=!1,n.info("Chatbot plugin destroyed")},D=()=>{if(typeof window>"u")return;const b=s,_=[F("style",{id:"inploi-chatbot-styles"},Ml),F("style",{id:"inploi-chatbot-theme"},ud(e))],y=t.getOrCreateChatbotElement();if(dt(F(L,{},[_,F(Dl,{apiClient:r,logger:n,analytics:c,talentBankClient:v,params:{theme:e,terms:i,feedback:a}})]),y),a){const E=P=>{var R,I;if(!f(b))return;const B=(R=t.getChatbotElement())==null?void 0:R.querySelector("dialog");B&&fd({instance:P({rpcClient:o,apiClient:r,logger:n,analytics:c}),theme:e,terms:((I=a.params)==null?void 0:I.terms)??{},host:B})};a.plugin instanceof Promise?a.plugin.then(({feedbackPlugin:P})=>{E(P())}).catch(P=>{n.error("Error preparing feedback plugin",P)}):E(a.plugin)}u=!0},k=async(b,_)=>{if(!f(_))return;pd({context:b.context||{},schema:b.flow.context_schema,logger:n});const y=await x.prepareFlow(b);f(_)&&x.commitFlow(y)};return{prepare:async()=>{if(!(typeof window>"u"))try{if(u)return;D(),n.info("Chatbot plugin prepared")}catch(b){n.error("Error preparing chatbot plugin",b)}},fetchFlowByJobId:async(b,_)=>o.request(ed,{params:{id:b},searchParams:{id_type:(_==null?void 0:_.idType)==="inploi"?"internal":"external"}}).then(y=>({flow:y.flow,title:y.job.title,flowKeys:[y.job.id,...(_==null?void 0:_.flowKeys)??[]],job:{id:y.job.id,id_type:"external"},..._,context:{user:y.user,..._==null?void 0:_.context}})),fetchFlowById:async(b,_)=>o.request(id,{params:{id:b}}).then(y=>{var E;return{flow:y.flow,title:"Chatbot",flowKeys:(_==null?void 0:_.flowKeys)??[],..._,analytics:{customProperties:{flow_id:y.flow.id,flow_version:y.flow.version,...(E=_==null?void 0:_.analytics)==null?void 0:E.customProperties}}}}),open:async b=>{if(!(typeof window>"u"))try{x.cancelCurrentFlow(),x.viewState$.value="maximised",u||D();const _=s;b instanceof Promise?(x.current$.value={state:"loading"},b.then(y=>k(y,_)).catch(y=>{if(!f(_))return;const E=y instanceof Error?y.message:w("unknown_error");x.current$.value={state:"error",error:E}})):await k(b,_)}catch(_){n.error("Error starting flow",_)}},close:async()=>{typeof window>"u"||(x.cancelCurrentFlow(),n.info("Closed flow from an external source"))},destroy:g}});function fd({instance:t,terms:e,theme:i,host:a}){t.render({key:"chatbot-header",size:"sm",theme:{accent:{chroma:i.chroma??1,hue:i.hue},positive:{hue:180,chroma:1},negative:{hue:33,chroma:1},mode:i.mode,corners:"rounded",highlights:"stroke"},terms:e,host:a})}exports.AbortedError=st;exports.Cn=Ds;exports.F=rt;exports.LoadingIndicator=Ja;exports.M=Mt;exports.SvgIconButton=te;exports._=Nt;exports.array=li;exports.boolean=de;exports.chatStore=Pt;exports.chatbotPlugin=hd;exports.check=er;exports.clsx=oe;exports.cva=ne;exports.email=ir;exports.get=sa;exports.getDefaultExportFromCjs=ea;exports.getDotPath=Kl;exports.getFlowSubmissionsPayload=_l;exports.getFormSubmitter=Sl;exports.getHeadOrThrow=bl;exports.h=Ze;exports.invariant=ai;exports.isString=yl;exports.isSubmissionOfType=ml;exports.k=L;exports.k$1=Pa;exports.kbToReadableSize=gl;exports.maxLength=ar;exports.maxValue=rr;exports.minLength=or;exports.minValue=nr;exports.number=zt;exports.o=p;exports.object=q;exports.optional=W;exports.p=Qe;exports.parse=ql;exports.partial=Jl;exports.picklist=ur;exports.pipe=pr;exports.record=di;exports.regex=cr;exports.safeParse=Xl;exports.safeParseAsync=Zl;exports.store=x;exports.string=G;exports.transform=ci;exports.url=sr;exports.useChatService=Ll;exports.useTranslation=ce;exports.y=pt;exports.z=ct;