@inploi/plugin-chatbot 14.17.1 → 14.17.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +9 -2
- package/cdn/index.js +5 -5
- package/dist/chatbot-body-045352bb.cjs +5 -0
- package/dist/{chatbot-body-b728cd78.js → chatbot-body-977addfb.js} +1497 -1513
- package/dist/components/chat-input/chat-input.address-countries.test.d.ts +1 -0
- package/dist/components/chat-input/chat-input.address.d.ts +1 -1
- package/dist/components/chat-input/chat-input.d.ts +3 -2
- package/dist/{index-3e26f368.cjs → index-62545280.cjs} +2 -2
- package/dist/{index-41fceabc.js → index-c55803dd.js} +8 -8
- package/dist/plugin-chatbot.cjs +1 -1
- package/dist/plugin-chatbot.js +1 -1
- package/package.json +3 -3
- package/dist/chatbot-body-f9ecbfd4.cjs +0 -5
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
"use strict";const mt=require("@inploi/sdk");var Q;function Ui(t){return{lang:(t==null?void 0:t.lang)??(Q==null?void 0:Q.lang),message:t==null?void 0:t.message,abortEarly:(t==null?void 0:t.abortEarly)??(Q==null?void 0:Q.abortEarly),abortPipeEarly:(t==null?void 0:t.abortPipeEarly)??(Q==null?void 0:Q.abortPipeEarly)}}var ne;function oa(t){return ne==null?void 0:ne.get(t)}var re;function aa(t){return re==null?void 0:re.get(t)}var se;function na(t,e){var i;return(i=se==null?void 0:se.get(t))==null?void 0:i.get(e)}function Me(t){var i,o;let e=typeof t;return e==="string"?`"${t}"`:e==="number"||e==="bigint"||e==="boolean"?`${t}`:e==="object"||e==="function"?(t&&((o=(i=Object.getPrototypeOf(t))==null?void 0:i.constructor)==null?void 0:o.name))??"null":e}function B(t,e,i,o,a){let n=a&&"input"in a?a.input:i.value,r=(a==null?void 0:a.expected)??t.expects??null,s=(a==null?void 0:a.received)??Me(n),l={kind:t.kind,type:t.type,input:n,expected:r,received:s,message:`Invalid ${e}: ${r?`Expected ${r} but r`:"R"}eceived ${s}`,requirement:t.requirement,path:a==null?void 0:a.path,issues:a==null?void 0:a.issues,lang:o.lang,abortEarly:o.abortEarly,abortPipeEarly:o.abortPipeEarly},d=t.kind==="schema",u=(a==null?void 0:a.message)??t.message??na(t.reference,l.lang)??(d?aa(l.lang):null)??o.message??oa(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 N(t){return{version:1,vendor:"valibot",validate(e){return t["~run"]({value:e},Ui())}}}function ra(t,e){return Object.hasOwn(t,e)&&e!=="__proto__"&&e!=="prototype"&&e!=="constructor"}function Re(t,e){let i=[...new Set(t)];return i.length>1?`(${i.join(` ${e} `)})`:i[0]??"never"}function Wi(t){return{kind:"transformation",type:"transform",reference:Wi,async:!1,operation:t,"~run"(e){return e.value=this.operation(e.value),e}}}function sa(t,e,i){return typeof t.fallback=="function"?t.fallback(e,i):t.fallback}function Le(t,e,i){return typeof t.default=="function"?t.default(e,i):t.default}function Vi(){return{kind:"schema",type:"any",reference:Vi,expects:"any",async:!1,get"~standard"(){return N(this)},"~run"(t){return t.typed=!0,t}}}function Yi(t,e){return{kind:"schema",type:"array",reference:Yi,expects:"Array",async:!1,item:t,message:e,get"~standard"(){return N(this)},"~run"(i,o){var n;let a=i.value;if(Array.isArray(a)){i.typed=!0,i.value=[];for(let r=0;r<a.length;r++){let s=a[r],l=this.item["~run"]({value:s},o);if(l.issues){let d={type:"array",origin:"value",input:a,key:r,value:s};for(let u of l.issues)u.path?u.path.unshift(d):u.path=[d],(n=i.issues)==null||n.push(u);if(i.issues||(i.issues=l.issues),o.abortEarly){i.typed=!1;break}}l.typed||(i.typed=!1),i.value.push(l.value)}}else B(this,"type",i,o);return i}}}function Be(t){return{kind:"schema",type:"boolean",reference:Be,expects:"boolean",async:!1,message:t,get"~standard"(){return N(this)},"~run"(e,i){return typeof e.value=="boolean"?e.typed=!0:B(this,"type",e,i),e}}}function L(t,e){return{kind:"schema",type:"literal",reference:L,expects:Me(t),async:!1,literal:t,message:e,get"~standard"(){return N(this)},"~run"(i,o){return i.value===this.literal?i.typed=!0:B(this,"type",i,o),i}}}function qi(t){return{kind:"schema",type:"null",reference:qi,expects:"null",async:!1,message:t,get"~standard"(){return N(this)},"~run"(e,i){return e.value===null?e.typed=!0:B(this,"type",e,i),e}}}function ht(t,e){return{kind:"schema",type:"nullable",reference:ht,expects:`(${t.expects} | null)`,async:!1,wrapped:t,default:e,get"~standard"(){return N(this)},"~run"(i,o){return i.value===null&&(this.default!==void 0&&(i.value=Le(this,i,o)),i.value===null)?(i.typed=!0,i):this.wrapped["~run"](i,o)}}}function Wt(t){return{kind:"schema",type:"number",reference:Wt,expects:"number",async:!1,message:t,get"~standard"(){return N(this)},"~run"(e,i){return typeof e.value=="number"&&!isNaN(e.value)?e.typed=!0:B(this,"type",e,i),e}}}function T(t,e){return{kind:"schema",type:"object",reference:T,expects:"Object",async:!1,entries:t,message:e,get"~standard"(){return N(this)},"~run"(i,o){var n;let a=i.value;if(a&&typeof a=="object"){i.typed=!0,i.value={};for(let r in this.entries){let s=this.entries[r];if(r in a||(s.type==="exact_optional"||s.type==="optional"||s.type==="nullish")&&s.default!==void 0){let l=r in a?a[r]:Le(s),d=s["~run"]({value:l},o);if(d.issues){let u={type:"object",origin:"value",input:a,key:r,value:l};for(let c of d.issues)c.path?c.path.unshift(u):c.path=[u],(n=i.issues)==null||n.push(c);if(i.issues||(i.issues=d.issues),o.abortEarly){i.typed=!1;break}}d.typed||(i.typed=!1),i.value[r]=d.value}else if(s.fallback!==void 0)i.value[r]=sa(s);else if(s.type!=="exact_optional"&&s.type!=="optional"&&s.type!=="nullish"&&(B(this,"key",i,o,{input:void 0,expected:`"${r}"`,path:[{type:"object",origin:"key",input:a,key:r,value:a[r]}]}),o.abortEarly))break}}else B(this,"type",i,o);return i}}}function M(t,e){return{kind:"schema",type:"optional",reference:M,expects:`(${t.expects} | undefined)`,async:!1,wrapped:t,default:e,get"~standard"(){return N(this)},"~run"(i,o){return i.value===void 0&&(this.default!==void 0&&(i.value=Le(this,i,o)),i.value===void 0)?(i.typed=!0,i):this.wrapped["~run"](i,o)}}}function Ki(t,e){return{kind:"schema",type:"picklist",reference:Ki,expects:Re(t.map(Me),"|"),async:!1,options:t,message:e,get"~standard"(){return N(this)},"~run"(i,o){return this.options.includes(i.value)?i.typed=!0:B(this,"type",i,o),i}}}function He(t,e,i){return{kind:"schema",type:"record",reference:He,expects:"Object",async:!1,key:t,value:e,message:i,get"~standard"(){return N(this)},"~run"(o,a){var r,s;let n=o.value;if(n&&typeof n=="object"){o.typed=!0,o.value={};for(let l in n)if(ra(n,l)){let d=n[l],u=this.key["~run"]({value:l},a);if(u.issues){let f={type:"object",origin:"key",input:n,key:l,value:d};for(let g of u.issues)g.path=[f],(r=o.issues)==null||r.push(g);if(o.issues||(o.issues=u.issues),a.abortEarly){o.typed=!1;break}}let c=this.value["~run"]({value:d},a);if(c.issues){let f={type:"object",origin:"value",input:n,key:l,value:d};for(let g of c.issues)g.path?g.path.unshift(f):g.path=[f],(s=o.issues)==null||s.push(g);if(o.issues||(o.issues=c.issues),a.abortEarly){o.typed=!1;break}}(!u.typed||!c.typed)&&(o.typed=!1),u.typed&&(o.value[u.value]=c.value)}}else B(this,"type",o,a);return o}}}function z(t){return{kind:"schema",type:"string",reference:z,expects:"string",async:!1,message:t,get"~standard"(){return N(this)},"~run"(e,i){return typeof e.value=="string"?e.typed=!0:B(this,"type",e,i),e}}}function ai(t){let e;if(t)for(let i of t)e?e.push(...i.issues):e=i.issues;return e}function Ue(t,e){return{kind:"schema",type:"union",reference:Ue,expects:Re(t.map(i=>i.expects),"|"),async:!1,options:t,message:e,get"~standard"(){return N(this)},"~run"(i,o){let a,n,r;for(let s of this.options){let l=s["~run"]({value:i.value},o);if(l.typed)if(l.issues)n?n.push(l):n=[l];else{a=l;break}else r?r.push(l):r=[l]}if(a)return a;if(n){if(n.length===1)return n[0];B(this,"type",i,o,{issues:ai(n)}),i.typed=!0}else{if((r==null?void 0:r.length)===1)return r[0];B(this,"type",i,o,{issues:ai(r)})}return i}}}function yt(){return{kind:"schema",type:"unknown",reference:yt,expects:"unknown",async:!1,get"~standard"(){return N(this)},"~run"(t){return t.typed=!0,t}}}function Zi(t,e,i){return{kind:"schema",type:"variant",reference:Zi,expects:"Object",async:!1,key:t,options:e,message:i,get"~standard"(){return N(this)},"~run"(o,a){let n=o.value;if(n&&typeof n=="object"){let r,s=0,l=this.key,d=[],u=(c,f)=>{for(let g of c.options){if(g.type==="variant")u(g,new Set(f).add(g.key));else{let p=!0,b=0;for(let k of f){let x=g.entries[k];if(k in n?x["~run"]({typed:!1,value:n[k]},{abortEarly:!0}).issues:x.type!=="exact_optional"&&x.type!=="optional"&&x.type!=="nullish"){p=!1,l!==k&&(s<b||s===b&&k in n&&!(l in n))&&(s=b,l=k,d=[]),l===k&&d.push(g.entries[k].expects);break}b++}if(p){let k=g["~run"]({value:n},a);(!r||!r.typed&&k.typed)&&(r=k)}}if(r&&!r.issues)break}};if(u(this,new Set([this.key])),r)return r;B(this,"type",o,a,{input:n[l],expected:Re(d,"|"),path:[{type:"object",origin:"value",input:n,key:l,value:n[l]}]})}else B(this,"type",o,a);return o}}}function la(...t){return{...t[0],pipe:t,get"~standard"(){return N(this)},"~run"(e,i){for(let o of t)if(o.kind!=="metadata"){if(e.issues&&(o.kind==="schema"||o.kind==="transformation")){e.typed=!1;break}(!e.issues||!i.abortEarly&&!i.abortPipeEarly)&&(e=o["~run"](e,i))}return e}}}function zt(t,e,i){let o=t["~run"]({value:e},Ui(i));return{typed:o.typed,success:!o.issues,output:o.value,issues:o.issues}}var ca=t=>({ok:!0,err:!1,val:t}),da=t=>({err:!0,ok:!1,val:t}),We=t=>t.filter(e=>(e.type==="question-boolean"||e.type==="question-enum")&&!!e.data.preApply);function Gi(t,e,i){var r,s;let o=t.find(l=>l.type==="pre-apply-result");if(!o)return;let a=(r=e[o.data.participationKey])==null?void 0:r.value,n={};if(a===!0)for(let l of We(t)){let d=(s=e[l.data.key])==null?void 0:s.value;Array.isArray(d)&&d.length===1&&(d=d[0]),(typeof d=="boolean"||typeof d=="string")&&(n[l.data.key]=d)}return{node_id:o.id,flow_session_id:i,participation:a,answers:n}}function ua(t,e){let i=Gi(t,e,""),o=We(t).map(n=>{let r=n.data.preApply,s=i==null?void 0:i.answers[n.data.key],l=n.type==="question-boolean"?typeof s=="boolean":n.data.options.some(d=>d.value===s);return{key:n.data.key,severity:r.severity,message:r.mismatchMessage,matched:l&&s===r.expectedValue,valid:l}}),a=(i==null?void 0:i.participation)===!1?"skipped":(i==null?void 0:i.participation)===!0&&o.length>0&&o.every(n=>n.valid)?"completed":"unavailable";return{status:a,hasHardConcerns:a==="completed"?o.some(n=>!n.matched&&n.severity==="hard"):null,hasAdvisoryConcerns:a==="completed"?o.some(n=>!n.matched&&n.severity==="advisory"):null,answers:a==="completed"?o:[]}}function pa(t,e){let i=new Set(We(t).map(o=>o.data.key));for(let o of t)o.type==="pre-apply-result"&&(i.add(o.data.key),i.add(o.data.participationKey));return Object.fromEntries(Object.entries(e).filter(([o])=>!i.has(o)))}var ut=class extends Error{constructor(){super("Aborted")}},Ve=(t,e)=>{if(e.length===0)return;let i=t;for(let o of e){if(i==null||typeof i!="object")return;i=i[o]}return i},ha=(t,e="all")=>{let i={},o=e==="all"?null:new Set(e);for(let a in t){let n=t[a];n&&(o&&!o.has(a)||(i[a]=n.value))}return i},Xi=(t,e)=>{let i=new Set(t.flatMap(o=>o.type==="add-submission"?[o.data.key]:[]));return Object.entries(e).some(([o,a])=>a!==void 0&&a.type!=="integration"&&!i.has(o))},fa=({key:t,submissions:e})=>{var o;let i=(o=e[t])==null?void 0:o.value;if(typeof i!="string"&&typeof i!="number")throw new Error(`Submission at “${t}” is not a string or number`);return i},wa=({key:t,path:e,submissions:i,context:o})=>{if(t==="$context"){if(!e)return;let a=Ve(o,e);switch(typeof a){case"string":return{type:"string",value:a};case"number":return{type:"number",value:a};case"boolean":return{type:"boolean",value:a};default:console.warn(`Unexpected type for $context.${e.join(".")}`,a);return}}return i[t]},ga=t=>{let e=t.split(".").pop();return e?ca(e?"."+e:""):da("No file extension found")},ba=(t,e)=>{if(e.length===0)return!0;let i=e.map(o=>o.toLowerCase());return t.every(o=>{let a=ga(o.name);return a.ok&&i.includes(a.val.toLowerCase())})},va=t=>t<=1e3?`${Math.round(t)}KB`:t<1e3*10?`${(t/1e3).toFixed(1)}MB`:`${Math.round(t/1e3)}MB`,_a=t=>typeof t=="string"?t:`+${t.countryCode} ${t.phoneNumber}`,ma=T({integration_response:T({data:T({redirect_url:z(),message:M(ht(z())),button_text:M(ht(z()))})})}),Ji=t=>zt(ma,t).success,ya=T({integration_response:T({status:M(yt()),error:T({message:z(),data:M(yt())})})}),Qi=t=>zt(ya,t).success,xa=T({success:L(!0),integration_response:T({data:T({outcome:L("pending"),message:M(yt())}),error:M(qi())})}),to=t=>{let e=zt(xa,t);if(!e.success||Ji(t))return;let{message:i}=e.output.integration_response.data;return typeof i=="string"&&i.trim()?{message:i}:{}};T({success:L(!1),message:M(yt())});var ka=T({error:L("Validation failed"),messages:T({})}),$a=(t,e)=>e===422&&zt(ka,t).success,Sa=(t,e)=>{if(!Qi(t))return;let i=t.integration_response,o=i.error.data,a=typeof o=="object"&&o!==null?o:{},n=p=>typeof a[p]=="string"?a[p]:void 0,r=p=>typeof a[p]=="boolean"?a[p]:void 0,s=p=>{let b=a[p];return Number.isSafeInteger(b)&&b>=0?b:void 0},l=p=>{let b=n(p),k=b===void 0?NaN:Date.parse(b);return Number.isFinite(k)?k:void 0},d=typeof i.status=="number"?i.status:e,u=n("phase"),c=n("verdict"),f=n("code"),g=d===409&&u==="submit"&&c==="confirmed"?"duplicate":d===410&&f==="job_closed"?"closed":u==="submit"&&c==="unknown"?"unknown":void 0;return{message:i.error.message,status:d,phase:u,providerStatus:s("provider_status"),retryAfterSeconds:s("retry_after_seconds"),retryable:r("retryable"),verdict:c,code:f,reason:n("reason"),maintenanceUntil:l("maintenance_until"),field:n("field"),outcome:g}},Ca=Zi("reason",[T({outcome:L("sent"),reason:L("sandbox"),ats_label:ht(z())}),T({outcome:L("held"),reason:Ki(["production_connection","no_sandbox_known","company_hold"]),ats_label:ht(z())}),T({outcome:L("internal"),reason:L("internal"),ats_label:ht(z())}),T({outcome:L("held"),reason:L("redirect"),ats_label:z()})]),Ea=t=>{let e=zt(T({staging_destination:Ca}),t);if(!e.success)return;let i=e.output.staging_destination;switch(i.reason){case"sandbox":return`Staging: sent to ${i.ats_label===null?"the ATS":i.ats_label} sandbox`;case"production_connection":return"Staging: held, production connection";case"no_sandbox_known":return"Staging: held, no sandbox known";case"company_hold":return"Staging: held, company set to hold all";case"internal":return"Staging: saved in inploi (no ATS)";case"redirect":return`Staging: held, redirect to ${i.ats_label}`}},eo=3e4,Pa=2e4,Ta=6e4,io=12e4,oo=6*60*6e4,Ia=60*6e4,ao=t=>{let e=(t==null?void 0:t.reason)==="provider_maintenance"?t.maintenanceUntil:void 0,i=e===void 0?0:e-Date.now();return i>0&&i<=oo?e:void 0},ja=t=>{if((t==null?void 0:t.reason)!=="provider_maintenance"||t.outcome==="unknown")return;let e=ao(t);return e===void 0?{}:{until:e}},Aa=(t,e)=>new Intl.DateTimeFormat(e,{hour:"numeric",minute:"2-digit"}).format(t),Oa=(t,e)=>{let i=ao(e);if(i!==void 0)return{waitMs:i-Date.now(),throttles:(t??0)+1,maintenance:!0};if(!((e==null?void 0:e.reason)==="provider_maintenance"||(e==null?void 0:e.retryable)===!0&&(e.providerStatus===429||e.providerStatus!==void 0&&e.providerStatus>=500||e.phase==="workflow"&&e.verdict==="not_submitted")))return{waitMs:eo};let o=(t??0)+1,a=Math.min(o*Pa,Ta),n=(e.retryAfterSeconds??0)*1e3;return{waitMs:Math.min(Math.max(a,n),io),throttles:o}},za=t=>(t==null?void 0:t.code)==="captcha_failed"&&t.verdict==="not_submitted",Da=t=>{if(!Qi(t))return!1;let e=t.integration_response.error.data;return typeof e=="object"&&e!==null&&"fallback"in e&&e.fallback==="contact"},Na=t=>((t==null?void 0:t.phase)==="workflow"||(t==null?void 0:t.phase)==="authentication"||(t==null?void 0:t.code)==="captcha_failed")&&t.retryable===!0&&t.verdict==="not_submitted",Fa=t=>(t==null?void 0:t.outcome)==="unknown"&&t.code==="repeatable_provider_crash",Ma=t=>(t==null?void 0:t.phase)==="submit"&&t.verdict==="confirmed"&&t.code==="unreadable_document"&&typeof t.field=="string"&&t.status!==void 0&&t.status>=400&&t.status<500?t.field:void 0,Ra=(t,e)=>{if(typeof t!="object"||t===null)return null;let i=t.integration_response;if(typeof i!="object"||i===null){if(e===void 0)return null;let l="code"in t&&typeof t.code=="string"?t.code:void 0;return{service:"API",response:{status:e,payload:l===void 0?{}:{code:l}}}}let o=i;if(typeof o.status!="number"||o.service!==void 0&&typeof o.service!="string")return null;let a="data"in o,n=o.error,r=typeof n=="object"&&n!==null&&typeof n.message=="string"&&"data"in n;if(!a&&!r)return null;let s=a?o.data:n.data??null;return{service:o.service??"INVALID_SERVICE",response:{status:o.status,payload:s},...to(t)&&{outcome:"pending"}}},La=t=>{if(!/^\d{4}-\d{2}-\d{2}$/.test(t))return!1;let e=new Date(`${t}T00:00:00Z`);return Number.isFinite(e.getTime())&&e.toISOString().slice(0,10)===t},Ba=(t,e)=>{if(!La(t))throw new RangeError("Invalid ISO calendar date");return new Intl.DateTimeFormat(e,{dateStyle:"long",timeZone:"UTC"}).format(new Date(`${t}T00:00:00Z`))},Ha=t=>new Promise((e,i)=>{let o=new FileReader;o.onload=()=>{if(typeof o.result!="string"||!o.result)return i(new Error("Invalid file"));e(o.result)},o.onerror=i,o.readAsDataURL(t)}),ni=t=>typeof t=="object"&&t!==null&&(Object.getPrototypeOf(t)===Object.prototype||Object.getPrototypeOf(t)===null),Ye=(t,e)=>t?{...t,...Object.fromEntries(Object.entries(e).filter(([,i])=>i!==void 0).map(([i,o])=>{let a=t[i];return[i,ni(a)&&ni(o)?Ye(a,o):o]}))}:e,Ua=({context:t,schema:e,logger:i})=>{if(e)for(let o in e){let a=e[o];if(!a)continue;let n=Ve(t,o.split("."));if(a.required&&n==null){let r=`Configuration error in context: ${o} is required`;throw i.error(r),new Error(r)}if(n!=null)switch(a.type){case"number":if(typeof n!="number")throw new Error(`Configuration error in context: ${o} is not a number`);break;case"string":if(typeof n!="string")throw new Error(`Configuration error in context: ${o} is not a string`);break;default:a.type}}},no=la(Ue([z(),Wt()]),Wi(String)),ro=T({id:no,version:Wt(),build:Wt(),nodes:Yi(Vi()),context_schema:M(ht(He(z(),T({required:Be(),type:Ue([L("string"),L("number")])}))))}),Wa=T({flow:ro}),Va=T({company:T({name:z()}),context:M(He(z(),yt())),flow:ro,job:T({id:no,title:z()}),user:M(T({city:M(z()),country:M(z()),isEU:M(Be()),continent:M(z())}))}),Ya=(t,e)=>({id:t.job.id,id_type:(e==null?void 0:e.idType)==="internal"&&e.id===t.job.id?"internal":"external"}),qa=mt.endpoint({pathname:"/flow/job/:id",method:"GET",schema:{searchParams:mt.typed(),response:Va}}),Ka=mt.endpoint({pathname:"/flow/id/:id",method:"GET",schema:{response:Wa}}),Dt,w,so,lo,dt,ri,co,_e,uo,vt={},po=[],Za=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i,Qt=Array.isArray;function tt(t,e){for(var i in e)t[i]=e[i];return t}function ho(t){var e=t.parentNode;e&&e.removeChild(t)}function Y(t,e,i){var o,a,n,r={};for(n in e)n=="key"?o=e[n]:n=="ref"?a=e[n]:r[n]=e[n];if(arguments.length>2&&(r.children=arguments.length>3?Dt.call(arguments,2):i),typeof t=="function"&&t.defaultProps!=null)for(n in t.defaultProps)r[n]===void 0&&(r[n]=t.defaultProps[n]);return Pt(t,r,o,a,null)}function Pt(t,e,i,o,a){var n={type:t,props:e,key:i,ref:o,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,__h:null,constructor:void 0,__v:a??++so};return a==null&&w.vnode!=null&&w.vnode(n),n}function Ga(){return{current:null}}function q(t){return t.children}function K(t,e){this.props=t,this.context=e}function Vt(t,e){if(e==null)return t.__?Vt(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"?Vt(t):null}function fo(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 fo(t)}}function me(t){(!t.__d&&(t.__d=!0)&&dt.push(t)&&!Yt.__r++||ri!==w.debounceRendering)&&((ri=w.debounceRendering)||co)(Yt)}function Yt(){var t,e,i,o,a,n,r,s,l;for(dt.sort(_e);t=dt.shift();)t.__d&&(e=dt.length,o=void 0,a=void 0,n=void 0,s=(r=(i=t).__v).__e,(l=i.__P)&&(o=[],a=[],(n=tt({},r)).__v=r.__v+1,qe(l,r,n,i.__n,l.ownerSVGElement!==void 0,r.__h!=null?[s]:null,o,s??Vt(r),r.__h,a),vo(o,r,a),r.__e!=s&&fo(r)),dt.length>e&&dt.sort(_e));Yt.__r=0}function wo(t,e,i,o,a,n,r,s,l,d,u){var c,f,g,p,b,k,x,I,v,_,$=0,y=o&&o.__k||po,Z=y.length,H=Z,O=e.length;for(i.__k=[],c=0;c<O;c++)(p=i.__k[c]=(p=e[c])==null||typeof p=="boolean"||typeof p=="function"?null:typeof p=="string"||typeof p=="number"||typeof p=="bigint"?Pt(null,p,null,null,p):Qt(p)?Pt(q,{children:p},null,null,null):p.__b>0?Pt(p.type,p.props,p.key,p.ref?p.ref:null,p.__v):p)!=null&&(p.__=i,p.__b=i.__b+1,(I=Xa(p,y,x=c+$,H))===-1?g=vt:(g=y[I]||vt,y[I]=void 0,H--),qe(t,p,g,a,n,r,s,l,d,u),b=p.__e,(f=p.ref)&&g.ref!=f&&(g.ref&&Ke(g.ref,null,p),u.push(f,p.__c||b,p)),b!=null&&(k==null&&(k=b),_=!(v=g===vt||g.__v===null)&&I===x,v?I==-1&&$--:I!==x&&(I===x+1?($++,_=!0):I>x?H>O-x?($+=I-x,_=!0):$--:$=I<x&&I==x-1?I-x:0),x=c+$,_=_||I==c&&!v,typeof p.type!="function"||I===x&&g.__k!==p.__k?typeof p.type=="function"||_?p.__d!==void 0?(l=p.__d,p.__d=void 0):l=b.nextSibling:l=bo(t,b,l):l=go(p,l,t),typeof i.type=="function"&&(i.__d=l)));for(i.__e=k,c=Z;c--;)y[c]!=null&&(typeof i.type=="function"&&y[c].__e!=null&&y[c].__e==i.__d&&(i.__d=y[c].__e.nextSibling),_o(y[c],y[c]))}function go(t,e,i){for(var o,a=t.__k,n=0;a&&n<a.length;n++)(o=a[n])&&(o.__=t,e=typeof o.type=="function"?go(o,e,i):bo(i,o.__e,e));return e}function et(t,e){return e=e||[],t==null||typeof t=="boolean"||(Qt(t)?t.some(function(i){et(i,e)}):e.push(t)),e}function bo(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 Xa(t,e,i,o){var a=t.key,n=t.type,r=i-1,s=i+1,l=e[i];if(l===null||l&&a==l.key&&n===l.type)return i;if(o>(l!=null?1:0))for(;r>=0||s<e.length;){if(r>=0){if((l=e[r])&&a==l.key&&n===l.type)return r;r--}if(s<e.length){if((l=e[s])&&a==l.key&&n===l.type)return s;s++}}return-1}function Ja(t,e,i,o,a){var n;for(n in i)n==="children"||n==="key"||n in e||qt(t,n,null,i[n],o);for(n in e)a&&typeof e[n]!="function"||n==="children"||n==="key"||n==="value"||n==="checked"||i[n]===e[n]||qt(t,n,e[n],i[n],o)}function si(t,e,i){e[0]==="-"?t.setProperty(e,i??""):t[e]=i==null?"":typeof i!="number"||Za.test(e)?i:i+"px"}function qt(t,e,i,o,a){var n;t:if(e==="style")if(typeof i=="string")t.style.cssText=i;else{if(typeof o=="string"&&(t.style.cssText=o=""),o)for(e in o)i&&e in i||si(t.style,e,"");if(i)for(e in i)o&&i[e]===o[e]||si(t.style,e,i[e])}else if(e[0]==="o"&&e[1]==="n")n=e!==(e=e.replace(/Capture$/,"")),e=e.toLowerCase()in t?e.toLowerCase().slice(2):e.slice(2),t.l||(t.l={}),t.l[e+n]=i,i?o||t.addEventListener(e,n?ci:li,n):t.removeEventListener(e,n?ci:li,n);else if(e!=="dangerouslySetInnerHTML"){if(a)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 li(t){return this.l[t.type+!1](w.event?w.event(t):t)}function ci(t){return this.l[t.type+!0](w.event?w.event(t):t)}function qe(t,e,i,o,a,n,r,s,l,d){var u,c,f,g,p,b,k,x,I,v,_,$,y,Z,H,O=e.type;if(e.constructor!==void 0)return null;i.__h!=null&&(l=i.__h,s=e.__e=i.__e,e.__h=null,n=[s]),(u=w.__b)&&u(e);try{t:if(typeof O=="function"){if(x=e.props,I=(u=O.contextType)&&o[u.__c],v=u?I?I.props.value:u.__:o,i.__c?k=(c=e.__c=i.__c).__=c.__E:("prototype"in O&&O.prototype.render?e.__c=c=new O(x,v):(e.__c=c=new K(x,v),c.constructor=O,c.render=tn),I&&I.sub(c),c.props=x,c.state||(c.state={}),c.context=v,c.__n=o,f=c.__d=!0,c.__h=[],c._sb=[]),c.__s==null&&(c.__s=c.state),O.getDerivedStateFromProps!=null&&(c.__s==c.state&&(c.__s=tt({},c.__s)),tt(c.__s,O.getDerivedStateFromProps(x,c.__s))),g=c.props,p=c.state,c.__v=e,f)O.getDerivedStateFromProps==null&&c.componentWillMount!=null&&c.componentWillMount(),c.componentDidMount!=null&&c.__h.push(c.componentDidMount);else{if(O.getDerivedStateFromProps==null&&x!==g&&c.componentWillReceiveProps!=null&&c.componentWillReceiveProps(x,v),!c.__e&&(c.shouldComponentUpdate!=null&&c.shouldComponentUpdate(x,c.__s,v)===!1||e.__v===i.__v)){for(e.__v!==i.__v&&(c.props=x,c.state=c.__s,c.__d=!1),e.__e=i.__e,e.__k=i.__k,e.__k.forEach(function(lt){lt&&(lt.__=e)}),_=0;_<c._sb.length;_++)c.__h.push(c._sb[_]);c._sb=[],c.__h.length&&r.push(c);break t}c.componentWillUpdate!=null&&c.componentWillUpdate(x,c.__s,v),c.componentDidUpdate!=null&&c.__h.push(function(){c.componentDidUpdate(g,p,b)})}if(c.context=v,c.props=x,c.__P=t,c.__e=!1,$=w.__r,y=0,"prototype"in O&&O.prototype.render){for(c.state=c.__s,c.__d=!1,$&&$(e),u=c.render(c.props,c.state,c.context),Z=0;Z<c._sb.length;Z++)c.__h.push(c._sb[Z]);c._sb=[]}else do c.__d=!1,$&&$(e),u=c.render(c.props,c.state,c.context),c.state=c.__s;while(c.__d&&++y<25);c.state=c.__s,c.getChildContext!=null&&(o=tt(tt({},o),c.getChildContext())),f||c.getSnapshotBeforeUpdate==null||(b=c.getSnapshotBeforeUpdate(g,p)),wo(t,Qt(H=u!=null&&u.type===q&&u.key==null?u.props.children:u)?H:[H],e,i,o,a,n,r,s,l,d),c.base=e.__e,e.__h=null,c.__h.length&&r.push(c),k&&(c.__E=c.__=null)}else n==null&&e.__v===i.__v?(e.__k=i.__k,e.__e=i.__e):e.__e=Qa(i.__e,e,i,o,a,n,r,l,d);(u=w.diffed)&&u(e)}catch(lt){e.__v=null,(l||n!=null)&&(e.__e=s,e.__h=!!l,n[n.indexOf(s)]=null),w.__e(lt,e,i)}}function vo(t,e,i){for(var o=0;o<i.length;o++)Ke(i[o],i[++o],i[++o]);w.__c&&w.__c(e,t),t.some(function(a){try{t=a.__h,a.__h=[],t.some(function(n){n.call(a)})}catch(n){w.__e(n,a.__v)}})}function Qa(t,e,i,o,a,n,r,s,l){var d,u,c,f=i.props,g=e.props,p=e.type,b=0;if(p==="svg"&&(a=!0),n!=null){for(;b<n.length;b++)if((d=n[b])&&"setAttribute"in d==!!p&&(p?d.localName===p:d.nodeType===3)){t=d,n[b]=null;break}}if(t==null){if(p===null)return document.createTextNode(g);t=a?document.createElementNS("http://www.w3.org/2000/svg",p):document.createElement(p,g.is&&g),n=null,s=!1}if(p===null)f===g||s&&t.data===g||(t.data=g);else{if(n=n&&Dt.call(t.childNodes),u=(f=i.props||vt).dangerouslySetInnerHTML,c=g.dangerouslySetInnerHTML,!s){if(n!=null)for(f={},b=0;b<t.attributes.length;b++)f[t.attributes[b].name]=t.attributes[b].value;(c||u)&&(c&&(u&&c.__html==u.__html||c.__html===t.innerHTML)||(t.innerHTML=c&&c.__html||""))}if(Ja(t,g,f,a,s),c)e.__k=[];else if(wo(t,Qt(b=e.props.children)?b:[b],e,i,o,a&&p!=="foreignObject",n,r,n?n[0]:i.__k&&Vt(i,0),s,l),n!=null)for(b=n.length;b--;)n[b]!=null&&ho(n[b]);s||("value"in g&&(b=g.value)!==void 0&&(b!==t.value||p==="progress"&&!b||p==="option"&&b!==f.value)&&qt(t,"value",b,f.value,!1),"checked"in g&&(b=g.checked)!==void 0&&b!==t.checked&&qt(t,"checked",b,f.checked,!1))}return t}function Ke(t,e,i){try{typeof t=="function"?t(e):t.current=e}catch(o){w.__e(o,i)}}function _o(t,e,i){var o,a;if(w.unmount&&w.unmount(t),(o=t.ref)&&(o.current&&o.current!==t.__e||Ke(o,null,e)),(o=t.__c)!=null){if(o.componentWillUnmount)try{o.componentWillUnmount()}catch(n){w.__e(n,e)}o.base=o.__P=null,t.__c=void 0}if(o=t.__k)for(a=0;a<o.length;a++)o[a]&&_o(o[a],e,i||typeof t.type!="function");i||t.__e==null||ho(t.__e),t.__=t.__e=t.__d=void 0}function tn(t,e,i){return this.constructor(t,i)}function wt(t,e,i){var o,a,n,r;w.__&&w.__(t,e),a=(o=typeof i=="function")?null:i&&i.__k||e.__k,n=[],r=[],qe(e,t=(!o&&i||e).__k=Y(q,null,[t]),a||vt,vt,e.ownerSVGElement!==void 0,!o&&i?[i]:a?null:e.firstChild?Dt.call(e.childNodes):null,n,!o&&i?i:a?a.__e:e.firstChild,o,r),vo(n,t,r)}function mo(t,e){wt(t,e,mo)}function en(t,e,i){var o,a,n,r,s=tt({},t.props);for(n in t.type&&t.type.defaultProps&&(r=t.type.defaultProps),e)n=="key"?o=e[n]:n=="ref"?a=e[n]:s[n]=e[n]===void 0&&r!==void 0?r[n]:e[n];return arguments.length>2&&(s.children=arguments.length>3?Dt.call(arguments,2):i),Pt(t.type,s,o||t.key,a||t.ref,null)}function yo(t,e){var i={__c:e="__cC"+uo++,__:t,Consumer:function(o,a){return o.children(a)},Provider:function(o){var a,n;return this.getChildContext||(a=[],(n={})[e]=this,this.getChildContext=function(){return n},this.shouldComponentUpdate=function(r){this.props.value!==r.value&&a.some(function(s){s.__e=!0,me(s)})},this.sub=function(r){a.push(r);var s=r.componentWillUnmount;r.componentWillUnmount=function(){a.splice(a.indexOf(r),1),s&&s.call(r)}}),o.children}};return i.Provider.__=i.Consumer.contextType=i}Dt=po.slice,w={__e:function(t,e,i,o){for(var a,n,r;e=e.__;)if((a=e.__c)&&!a.__)try{if((n=a.constructor)&&n.getDerivedStateFromError!=null&&(a.setState(n.getDerivedStateFromError(t)),r=a.__d),a.componentDidCatch!=null&&(a.componentDidCatch(t,o||{}),r=a.__d),r)return a.__E=a}catch(s){t=s}throw t}},so=0,lo=function(t){return t!=null&&t.constructor===void 0},K.prototype.setState=function(t,e){var i;i=this.__s!=null&&this.__s!==this.state?this.__s:this.__s=tt({},this.state),typeof t=="function"&&(t=t(tt({},i),this.props)),t&&tt(i,t),t!=null&&this.__v&&(e&&this._sb.push(e),me(this))},K.prototype.forceUpdate=function(t){this.__v&&(this.__e=!0,t&&this.__h.push(t),me(this))},K.prototype.render=q,dt=[],co=typeof Promise=="function"?Promise.prototype.then.bind(Promise.resolve()):setTimeout,_e=function(t,e){return t.__v.__b-e.__v.__b},Yt.__r=0,uo=0;var rt,P,le,di,xt=0,xo=[],Rt=[],ui=w.__b,pi=w.__r,hi=w.diffed,fi=w.__c,wi=w.unmount;function kt(t,e){w.__h&&w.__h(P,t,xt||e),xt=0;var i=P.__H||(P.__H={__:[],__h:[]});return t>=i.__.length&&i.__.push({__V:Rt}),i.__[t]}function Ze(t){return xt=1,ko(So,t)}function ko(t,e,i){var o=kt(rt++,2);if(o.t=t,!o.__c&&(o.__=[i?i(e):So(void 0,e),function(s){var l=o.__N?o.__N[0]:o.__[0],d=o.t(l,s);l!==d&&(o.__N=[d,o.__[1]],o.__c.setState({}))}],o.__c=P,!P.u)){var a=function(s,l,d){if(!o.__c.__H)return!0;var u=o.__c.__H.__.filter(function(f){return f.__c});if(u.every(function(f){return!f.__N}))return!n||n.call(this,s,l,d);var c=!1;return u.forEach(function(f){if(f.__N){var g=f.__[0];f.__=f.__N,f.__N=void 0,g!==f.__[0]&&(c=!0)}}),!(!c&&o.__c.props===s)&&(!n||n.call(this,s,l,d))};P.u=!0;var n=P.shouldComponentUpdate,r=P.componentWillUpdate;P.componentWillUpdate=function(s,l,d){if(this.__e){var u=n;n=void 0,a(s,l,d),n=u}r&&r.call(this,s,l,d)},P.shouldComponentUpdate=a}return o.__N||o.__}function te(t,e){var i=kt(rt++,3);!w.__s&&Ge(i.__H,e)&&(i.__=t,i.i=e,P.__H.__h.push(i))}function bt(t,e){var i=kt(rt++,4);!w.__s&&Ge(i.__H,e)&&(i.__=t,i.i=e,P.__h.push(i))}function gt(t){return xt=5,st(function(){return{current:t}},[])}function on(t,e,i){xt=6,bt(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 st(t,e){var i=kt(rt++,7);return Ge(i.__H,e)?(i.__V=t(),i.i=e,i.__h=t,i.__V):i.__}function an(t,e){return xt=8,st(function(){return t},e)}function $o(t){var e=P.context[t.__c],i=kt(rt++,9);return i.c=t,e?(i.__==null&&(i.__=!0,e.sub(P)),e.props.value):t.__}function nn(t,e){w.useDebugValue&&w.useDebugValue(e?e(t):t)}function rn(){var t=kt(rt++,11);if(!t.__){for(var e=P.__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 sn(){for(var t;t=xo.shift();)if(t.__P&&t.__H)try{t.__H.__h.forEach(Lt),t.__H.__h.forEach(ye),t.__H.__h=[]}catch(e){t.__H.__h=[],w.__e(e,t.__v)}}w.__b=function(t){P=null,ui&&ui(t)},w.__r=function(t){pi&&pi(t),rt=0;var e=(P=t.__c).__H;e&&(le===P?(e.__h=[],P.__h=[],e.__.forEach(function(i){i.__N&&(i.__=i.__N),i.__V=Rt,i.__N=i.i=void 0})):(e.__h.forEach(Lt),e.__h.forEach(ye),e.__h=[],rt=0)),le=P},w.diffed=function(t){hi&&hi(t);var e=t.__c;e&&e.__H&&(e.__H.__h.length&&(xo.push(e)!==1&&di===w.requestAnimationFrame||((di=w.requestAnimationFrame)||ln)(sn)),e.__H.__.forEach(function(i){i.i&&(i.__H=i.i),i.__V!==Rt&&(i.__=i.__V),i.i=void 0,i.__V=Rt})),le=P=null},w.__c=function(t,e){e.some(function(i){try{i.__h.forEach(Lt),i.__h=i.__h.filter(function(o){return!o.__||ye(o)})}catch(o){e.some(function(a){a.__h&&(a.__h=[])}),e=[],w.__e(o,i.__v)}}),fi&&fi(t,e)},w.unmount=function(t){wi&&wi(t);var e,i=t.__c;i&&i.__H&&(i.__H.__.forEach(function(o){try{Lt(o)}catch(a){e=a}}),i.__H=void 0,e&&w.__e(e,i.__v))};var gi=typeof requestAnimationFrame=="function";function ln(t){var e,i=function(){clearTimeout(o),gi&&cancelAnimationFrame(e),setTimeout(t)},o=setTimeout(i,100);gi&&(e=requestAnimationFrame(i))}function Lt(t){var e=P,i=t.__c;typeof i=="function"&&(t.__c=void 0,i()),P=e}function ye(t){var e=P;t.__c=t.__(),P=e}function Ge(t,e){return!t||t.length!==e.length||e.some(function(i,o){return i!==t[o]})}function So(t,e){return typeof e=="function"?e(t):e}var cn=Symbol.for("preact-signals");function Xe(){if(_t>1)_t--;else{for(var t,e=!1;Tt!==void 0;){var i=Tt;for(Tt=void 0,xe++;i!==void 0;){var o=i.o;if(i.o=void 0,i.f&=-3,!(8&i.f)&&Eo(i))try{i.c()}catch(a){e||(t=a,e=!0)}i=o}}if(xe=0,_t--,e)throw t}}var C=void 0,Tt=void 0,_t=0,xe=0,Kt=0;function Co(t){if(C!==void 0){var e=t.n;if(e===void 0||e.t!==C)return e={i:0,S:t,p:C.s,n:void 0,t:C,e:void 0,x:void 0,r:e},C.s!==void 0&&(C.s.n=e),C.s=e,t.n=e,32&C.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=C.s,e.n=void 0,C.s.n=e,C.s=e),e}}function D(t){this.v=t,this.i=0,this.n=void 0,this.t=void 0}D.prototype.brand=cn;D.prototype.h=function(){return!0};D.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)};D.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)}};D.prototype.subscribe=function(t){var e=this;return Qe(function(){var i=e.value,o=C;C=void 0;try{t(i)}finally{C=o}})};D.prototype.valueOf=function(){return this.value};D.prototype.toString=function(){return this.value+""};D.prototype.toJSON=function(){return this.value};D.prototype.peek=function(){var t=C;C=void 0;try{return this.value}finally{C=t}};Object.defineProperty(D.prototype,"value",{get:function(){var t=Co(this);return t!==void 0&&(t.i=this.i),this.v},set:function(t){if(t!==this.v){if(xe>100)throw new Error("Cycle detected");this.v=t,this.i++,Kt++,_t++;try{for(var e=this.t;e!==void 0;e=e.x)e.t.N()}finally{Xe()}}}});function V(t){return new D(t)}function Eo(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 Po(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 To(t){for(var e=t.s,i=void 0;e!==void 0;){var o=e.p;e.i===-1?(e.S.U(e),o!==void 0&&(o.n=e.n),e.n!==void 0&&(e.n.p=o)):i=e,e.S.n=e.r,e.r!==void 0&&(e.r=void 0),e=o}t.s=i}function $t(t){D.call(this,void 0),this.x=t,this.s=void 0,this.g=Kt-1,this.f=4}($t.prototype=new D).h=function(){if(this.f&=-3,1&this.f)return!1;if((36&this.f)==32||(this.f&=-5,this.g===Kt))return!0;if(this.g=Kt,this.f|=1,this.i>0&&!Eo(this))return this.f&=-2,!0;var t=C;try{Po(this),C=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 C=t,To(this),this.f&=-2,!0};$t.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)}D.prototype.S.call(this,t)};$t.prototype.U=function(t){if(this.t!==void 0&&(D.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)}};$t.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($t.prototype,"value",{get:function(){if(1&this.f)throw new Error("Cycle detected");var t=Co(this);if(this.h(),t!==void 0&&(t.i=this.i),16&this.f)throw this.v;return this.v}});function dn(t){return new $t(t)}function Io(t){var e=t.u;if(t.u=void 0,typeof e=="function"){_t++;var i=C;C=void 0;try{e()}catch(o){throw t.f&=-2,t.f|=8,Je(t),o}finally{C=i,Xe()}}}function Je(t){for(var e=t.s;e!==void 0;e=e.n)e.S.U(e);t.x=void 0,t.s=void 0,Io(t)}function un(t){if(C!==this)throw new Error("Out-of-order effect");To(this),C=t,this.f&=-2,8&this.f&&Je(this),Xe()}function Nt(t){this.x=t,this.u=void 0,this.s=void 0,this.o=void 0,this.f=32}Nt.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()}};Nt.prototype.S=function(){if(1&this.f)throw new Error("Cycle detected");this.f|=1,this.f&=-9,Io(this),Po(this),_t++;var t=C;return C=this,un.bind(this,t)};Nt.prototype.N=function(){2&this.f||(this.f|=2,this.o=Tt,Tt=this)};Nt.prototype.d=function(){this.f|=8,1&this.f||Je(this)};function Qe(t){var e=new Nt(t);try{e.c()}catch(i){throw e.d(),i}return e.d.bind(e)}var ce;function St(t,e){w[t]=e.bind(null,w[t]||function(){})}function Zt(t){ce&&ce(),ce=t&&t.S()}function jo(t){var e=this,i=t.data,o=hn(i);o.value=i;var a=st(function(){for(var n=e.__v;n=n.__;)if(n.__c){n.__c.__$f|=4;break}return e.__$u.c=function(){var r;!lo(a.peek())&&((r=e.base)==null?void 0:r.nodeType)===3?e.base.data=a.peek():(e.__$f|=1,e.setState({}))},dn(function(){var r=o.value.value;return r===0?0:r===!0?"":r||""})},[]);return a.value}jo.displayName="_st";Object.defineProperties(D.prototype,{constructor:{configurable:!0,value:void 0},type:{configurable:!0,value:jo},props:{configurable:!0,get:function(){return{data:this}}},__b:{configurable:!0,value:1}});St("__b",function(t,e){if(typeof e.type=="string"){var i,o=e.props;for(var a in o)if(a!=="children"){var n=o[a];n instanceof D&&(i||(e.__np=i={}),i[a]=n,o[a]=n.peek())}}t(e)});St("__r",function(t,e){Zt();var i,o=e.__c;o&&(o.__$f&=-2,(i=o.__$u)===void 0&&(o.__$u=i=function(a){var n;return Qe(function(){n=this}),n.c=function(){o.__$f|=1,o.setState({})},n}())),Zt(i),t(e)});St("__e",function(t,e,i,o){Zt(),t(e,i,o)});St("diffed",function(t,e){Zt();var i;if(typeof e.type=="string"&&(i=e.__e)){var o=e.__np,a=e.props;if(o){var n=i.U;if(n)for(var r in n){var s=n[r];s!==void 0&&!(r in o)&&(s.d(),n[r]=void 0)}else i.U=n={};for(var l in o){var d=n[l],u=o[l];d===void 0?(d=pn(i,l,u,a),n[l]=d):d.o(u,a)}}}t(e)});function pn(t,e,i,o){var a=e in t&&t.ownerSVGElement===void 0,n=V(i);return{o:function(r,s){n.value=r,o=s},d:Qe(function(){var r=n.value.value;o[e]!==r&&(o[e]=r,a?t[e]=r:r?t.setAttribute(e,r):t.removeAttribute(e))})}}St("unmount",function(t,e){if(typeof e.type=="string"){var i=e.__e;if(i){var o=i.U;if(o){i.U=void 0;for(var a in o){var n=o[a];n&&n.d()}}}}else{var r=e.__c;if(r){var s=r.__$u;s&&(r.__$u=void 0,s.d())}}t(e)});St("__h",function(t,e,i,o){(o<3||o===9)&&(e.__$f|=2),t(e,i,o)});K.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 o in e)return!0;for(var a in t)if(a!=="__source"&&t[a]!==this.props[a])return!0;for(var n in this.props)if(!(n in t))return!0;return!1};function hn(t){return st(function(){return V(t)},[])}const R=Symbol.for("@ts-pattern/matcher"),Ao=Symbol.for("@ts-pattern/isVariadic"),Gt="@ts-pattern/anonymous-select-key",ke=t=>!!(t&&typeof t=="object"),Bt=t=>t&&!!t[R],j=(t,e,i)=>{if(Bt(t)){const o=t[R](),{matched:a,selections:n}=o.match(e);return a&&n&&Object.keys(n).forEach(r=>i(r,n[r])),a}if(ke(t)){if(!ke(e))return!1;if(Array.isArray(t)){if(!Array.isArray(e))return!1;let o=[],a=[],n=[];for(const r of t.keys()){const s=t[r];Bt(s)&&s[Ao]?n.push(s):n.length?a.push(s):o.push(s)}if(n.length){if(n.length>1)throw new Error("Pattern error: Using `...P.array(...)` several times in a single pattern is not allowed.");if(e.length<o.length+a.length)return!1;const r=e.slice(0,o.length),s=a.length===0?[]:e.slice(-a.length),l=e.slice(o.length,a.length===0?1/0:-a.length);return o.every((d,u)=>j(d,r[u],i))&&a.every((d,u)=>j(d,s[u],i))&&(n.length===0||j(n[0],l,i))}return t.length===e.length&&t.every((r,s)=>j(r,e[s],i))}return Reflect.ownKeys(t).every(o=>{const a=t[o];return(o in e||Bt(n=a)&&n[R]().matcherType==="optional")&&j(a,e[o],i);var n})}return Object.is(e,t)},F=t=>{var e,i,o;return ke(t)?Bt(t)?(e=(i=(o=t[R]()).getSelectionKeys)==null?void 0:i.call(o))!=null?e:[]:Array.isArray(t)?At(t,F):At(Object.values(t),F):[]},At=(t,e)=>t.reduce((i,o)=>i.concat(e(o)),[]);function Oo(...t){if(t.length===1){const[e]=t;return i=>j(e,i,()=>{})}if(t.length===2){const[e,i]=t;return j(e,i,()=>{})}throw new Error(`isMatching wasn't given the right number of arguments: expected 1 or 2, received ${t.length}.`)}function A(t){return Object.assign(t,{optional:()=>ti(t),and:e=>E(t,e),or:e=>zo(t,e),select:e=>e===void 0?Ot(t):Ot(e,t)})}function $e(t){return Object.assign((e=>Object.assign(e,{[Symbol.iterator](){let i=0;const o=[{value:Object.assign(e,{[Ao]:!0}),done:!1},{done:!0,value:void 0}];return{next:()=>{var a;return(a=o[i++])!=null?a:o.at(-1)}}}}))(t),{optional:()=>$e(ti(t)),select:e=>$e(e===void 0?Ot(t):Ot(e,t))})}function ti(t){return A({[R]:()=>({match:e=>{let i={};const o=(a,n)=>{i[a]=n};return e===void 0?(F(t).forEach(a=>o(a,void 0)),{matched:!0,selections:i}):{matched:j(t,e,o),selections:i}},getSelectionKeys:()=>F(t),matcherType:"optional"})})}const fn=(t,e)=>{for(const i of t)if(!e(i))return!1;return!0},wn=(t,e)=>{for(const[i,o]of t.entries())if(!e(o,i))return!1;return!0},gn=(t,e)=>{const i=Reflect.ownKeys(t);for(const o of i)if(!e(o,t[o]))return!1;return!0};function E(...t){return A({[R]:()=>({match:e=>{let i={};const o=(a,n)=>{i[a]=n};return{matched:t.every(a=>j(a,e,o)),selections:i}},getSelectionKeys:()=>At(t,F),matcherType:"and"})})}function zo(...t){return A({[R]:()=>({match:e=>{let i={};const o=(a,n)=>{i[a]=n};return At(t,F).forEach(a=>o(a,void 0)),{matched:t.some(a=>j(a,e,o)),selections:i}},getSelectionKeys:()=>At(t,F),matcherType:"or"})})}function m(t){return{[R]:()=>({match:e=>({matched:!!t(e)})})}}function Ot(...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 A({[R]:()=>({match:o=>{let a={[e??Gt]:o};return{matched:i===void 0||j(i,o,(n,r)=>{a[n]=r}),selections:a}},getSelectionKeys:()=>[e??Gt].concat(i===void 0?[]:F(i))})})}function Do(t){return!0}function G(t){return typeof t=="number"}function it(t){return typeof t=="string"}function ot(t){return typeof t=="bigint"}const No=A(m(Do)),bn=A(m(Do)),vn=No,at=t=>Object.assign(A(t),{startsWith:e=>{return at(E(t,(i=e,m(o=>it(o)&&o.startsWith(i)))));var i},endsWith:e=>{return at(E(t,(i=e,m(o=>it(o)&&o.endsWith(i)))));var i},minLength:e=>at(E(t,(i=>m(o=>it(o)&&o.length>=i))(e))),length:e=>at(E(t,(i=>m(o=>it(o)&&o.length===i))(e))),maxLength:e=>at(E(t,(i=>m(o=>it(o)&&o.length<=i))(e))),includes:e=>{return at(E(t,(i=e,m(o=>it(o)&&o.includes(i)))));var i},regex:e=>{return at(E(t,(i=e,m(o=>it(o)&&!!o.match(i)))));var i}}),bi=at(m(it)),X=t=>Object.assign(A(t),{between:(e,i)=>X(E(t,((o,a)=>m(n=>G(n)&&o<=n&&a>=n))(e,i))),lt:e=>X(E(t,(i=>m(o=>G(o)&&o<i))(e))),gt:e=>X(E(t,(i=>m(o=>G(o)&&o>i))(e))),lte:e=>X(E(t,(i=>m(o=>G(o)&&o<=i))(e))),gte:e=>X(E(t,(i=>m(o=>G(o)&&o>=i))(e))),int:()=>X(E(t,m(e=>G(e)&&Number.isInteger(e)))),finite:()=>X(E(t,m(e=>G(e)&&Number.isFinite(e)))),positive:()=>X(E(t,m(e=>G(e)&&e>0))),negative:()=>X(E(t,m(e=>G(e)&&e<0)))}),_n=X(m(G)),nt=t=>Object.assign(A(t),{between:(e,i)=>nt(E(t,((o,a)=>m(n=>ot(n)&&o<=n&&a>=n))(e,i))),lt:e=>nt(E(t,(i=>m(o=>ot(o)&&o<i))(e))),gt:e=>nt(E(t,(i=>m(o=>ot(o)&&o>i))(e))),lte:e=>nt(E(t,(i=>m(o=>ot(o)&&o<=i))(e))),gte:e=>nt(E(t,(i=>m(o=>ot(o)&&o>=i))(e))),positive:()=>nt(E(t,m(e=>ot(e)&&e>0))),negative:()=>nt(E(t,m(e=>ot(e)&&e<0)))}),mn=nt(m(ot)),yn=A(m(function(t){return typeof t=="boolean"})),xn=A(m(function(t){return typeof t=="symbol"})),kn=A(m(function(t){return t==null})),$n=A(m(function(t){return t!=null}));var pt={__proto__:null,matcher:R,optional:ti,array:function(...t){return $e({[R]:()=>({match:e=>{if(!Array.isArray(e))return{matched:!1};if(t.length===0)return{matched:!0};const i=t[0];let o={};if(e.length===0)return F(i).forEach(n=>{o[n]=[]}),{matched:!0,selections:o};const a=(n,r)=>{o[n]=(o[n]||[]).concat([r])};return{matched:e.every(n=>j(i,n,a)),selections:o}},getSelectionKeys:()=>t.length===0?[]:F(t[0])})})},set:function(...t){return A({[R]:()=>({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 o=(n,r)=>{i[n]=(i[n]||[]).concat([r])},a=t[0];return{matched:fn(e,n=>j(a,n,o)),selections:i}},getSelectionKeys:()=>t.length===0?[]:F(t[0])})})},map:function(...t){return A({[R]:()=>({match:e=>{if(!(e instanceof Map))return{matched:!1};let i={};if(e.size===0)return{matched:!0,selections:i};const o=(s,l)=>{i[s]=(i[s]||[]).concat([l])};if(t.length===0)return{matched:!0};var a;if(t.length===1)throw new Error(`\`P.map\` wasn't given enough arguments. Expected (key, value), received ${(a=t[0])==null?void 0:a.toString()}`);const[n,r]=t;return{matched:wn(e,(s,l)=>{const d=j(n,l,o),u=j(r,s,o);return d&&u}),selections:i}},getSelectionKeys:()=>t.length===0?[]:[...F(t[0]),...F(t[1])]})})},record:function(...t){return A({[R]:()=>({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 o={};const a=(s,l)=>{o[s]=(o[s]||[]).concat([l])},[n,r]=t.length===1?[bi,t[0]]:t;return{matched:gn(e,(s,l)=>{const d=typeof s!="string"||Number.isNaN(Number(s))?null:Number(s),u=d!==null&&j(n,d,a),c=j(n,s,a),f=j(r,l,a);return(c||u)&&f}),selections:o}},getSelectionKeys:()=>t.length===0?[]:[...F(t[0]),...F(t[1])]})})},intersection:E,union:zo,not:function(t){return A({[R]:()=>({match:e=>({matched:!j(t,e,()=>{})}),getSelectionKeys:()=>[],matcherType:"not"})})},when:m,select:Ot,any:No,unknown:bn,_:vn,string:bi,number:_n,bigint:mn,boolean:yn,symbol:xn,nullish:kn,nonNullable:$n,instanceOf:function(t){return A(m(function(e){return i=>i instanceof e}(t)))},shape:function(t){return A(m(Oo(t)))}};let Sn=class 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 Se={matched:!1,value:void 0};function ee(t){return new Cn(t,Se)}let Cn=class Ce{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],o=[e[0]];let a;e.length===3&&typeof e[1]=="function"?a=e[1]:e.length>2&&o.push(...e.slice(1,e.length-1));let n=!1,r={};const s=(d,u)=>{n=!0,r[d]=u},l=!o.some(d=>j(d,this.input,s))||a&&!a(this.input)?Se:{matched:!0,value:i(n?Gt in r?r[Gt]:r:this.input,this.input)};return new Ce(this.input,l)}when(e,i){if(this.state.matched)return this;const o=!!e(this.input);return new Ce(this.input,o?{matched:!0,value:i(this.input,this.input)}:Se)}otherwise(e){return this.state.matched?this.state.value:e(this.input)}exhaustive(e=En){return this.state.matched?this.state.value:e(this.input)}run(){return this.exhaustive()}returnType(){return this}narrow(){return this}};function En(t){throw new Sn(t)}function Fo(t){var e,i,o="";if(typeof t=="string"||typeof t=="number")o+=t;else if(typeof t=="object")if(Array.isArray(t)){var a=t.length;for(e=0;e<a;e++)t[e]&&(i=Fo(t[e]))&&(o&&(o+=" "),o+=i)}else for(i in t)t[i]&&(o&&(o+=" "),o+=i);return o}function ie(){for(var t,e,i=0,o="",a=arguments.length;i<a;i++)(t=arguments[i])&&(e=Fo(t))&&(o&&(o+=" "),o+=e);return o}const vi=t=>typeof t=="boolean"?`${t}`:t===0?"0":t,_i=ie,oe=(t,e)=>i=>{var o;if((e==null?void 0:e.variants)==null)return _i(t,i==null?void 0:i.class,i==null?void 0:i.className);const{variants:a,defaultVariants:n}=e,r=Object.keys(a).map(d=>{const u=i==null?void 0:i[d],c=n==null?void 0:n[d];if(u===null)return null;const f=vi(u)||vi(c);return a[d][f]}),s=i&&Object.entries(i).reduce((d,u)=>{let[c,f]=u;return f===void 0||(d[c]=f),d},{}),l=e==null||(o=e.compoundVariants)===null||o===void 0?void 0:o.reduce((d,u)=>{let{class:c,className:f,...g}=u;return Object.entries(g).every(p=>{let[b,k]=p;return Array.isArray(k)?k.includes({...n,...s}[b]):{...n,...s}[b]===k})?[...d,c,f]:d},[]);return _i(t,r,l,i==null?void 0:i.class,i==null?void 0:i.className)};function Mo(t,e){for(var i in e)t[i]=e[i];return t}function Ee(t,e){for(var i in t)if(i!=="__source"&&!(i in e))return!0;for(var o in e)if(o!=="__source"&&t[o]!==e[o])return!0;return!1}function de(t,e){return t===e&&(t!==0||1/t==1/e)||t!=t&&e!=e}function Pe(t){this.props=t}function Pn(t,e){function i(a){var n=this.props.ref,r=n==a.ref;return!r&&n&&(n.call?n(null):n.current=null),e?!e(this.props,a)||!r:Ee(this.props,a)}function o(a){return this.shouldComponentUpdate=i,Y(t,a)}return o.displayName="Memo("+(t.displayName||t.name)+")",o.prototype.isReactComponent=!0,o.__f=!0,o}(Pe.prototype=new K).isPureReactComponent=!0,Pe.prototype.shouldComponentUpdate=function(t,e){return Ee(this.props,t)||Ee(this.state,e)};var mi=w.__b;w.__b=function(t){t.type&&t.type.__f&&t.ref&&(t.props.ref=t.ref,t.ref=null),mi&&mi(t)};var Tn=typeof Symbol<"u"&&Symbol.for&&Symbol.for("react.forward_ref")||3911;function Ro(t){function e(i){var o=Mo({},i);return delete o.ref,t(o,i.ref||null)}return e.$$typeof=Tn,e.render=e,e.prototype.isReactComponent=e.__f=!0,e.displayName="ForwardRef("+(t.displayName||t.name)+")",e}var yi=function(t,e){return t==null?null:et(et(t).map(e))},In={map:yi,forEach:yi,count:function(t){return t?et(t).length:0},only:function(t){var e=et(t);if(e.length!==1)throw"Children.only";return e[0]},toArray:et},jn=w.__e;w.__e=function(t,e,i,o){if(t.then){for(var a,n=e;n=n.__;)if((a=n.__c)&&a.__c)return e.__e==null&&(e.__e=i.__e,e.__k=i.__k),a.__c(t,e)}jn(t,e,i,o)};var xi=w.unmount;function Lo(t,e,i){return t&&(t.__c&&t.__c.__H&&(t.__c.__H.__.forEach(function(o){typeof o.__c=="function"&&o.__c()}),t.__c.__H=null),(t=Mo({},t)).__c!=null&&(t.__c.__P===i&&(t.__c.__P=e),t.__c=null),t.__k=t.__k&&t.__k.map(function(o){return Lo(o,e,i)})),t}function Bo(t,e,i){return t&&(t.__v=null,t.__k=t.__k&&t.__k.map(function(o){return Bo(o,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 It(){this.__u=0,this.t=null,this.__b=null}function Ho(t){var e=t.__.__c;return e&&e.__a&&e.__a(t)}function Uo(t){var e,i,o;function a(n){if(e||(e=t()).then(function(r){i=r.default||r},function(r){o=r}),o)throw o;if(!i)throw e;return Y(i,n)}return a.displayName="Lazy",a.__f=!0,a}function Et(){this.u=null,this.o=null}w.unmount=function(t){var e=t.__c;e&&e.__R&&e.__R(),e&&t.__h===!0&&(t.type=null),xi&&xi(t)},(It.prototype=new K).__c=function(t,e){var i=e.__c,o=this;o.t==null&&(o.t=[]),o.t.push(i);var a=Ho(o.__v),n=!1,r=function(){n||(n=!0,i.__R=null,a?a(s):s())};i.__R=r;var s=function(){if(!--o.__u){if(o.state.__a){var d=o.state.__a;o.__v.__k[0]=Bo(d,d.__c.__P,d.__c.__O)}var u;for(o.setState({__a:o.__b=null});u=o.t.pop();)u.forceUpdate()}},l=e.__h===!0;o.__u++||l||o.setState({__a:o.__b=o.__v.__k[0]}),t.then(r,r)},It.prototype.componentWillUnmount=function(){this.t=[]},It.prototype.render=function(t,e){if(this.__b){if(this.__v.__k){var i=document.createElement("div"),o=this.__v.__k[0].__c;this.__v.__k[0]=Lo(this.__b,i,o.__O=o.__P)}this.__b=null}var a=e.__a&&Y(q,null,t.fallback);return a&&(a.__h=null),[Y(q,null,e.__a?null:t.children),a]};var ki=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 An(t){return this.getChildContext=function(){return t.context},t.children}function On(t){var e=this,i=t.i;e.componentWillUnmount=function(){wt(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(o){this.childNodes.push(o),e.i.appendChild(o)},insertBefore:function(o,a){this.childNodes.push(o),e.i.appendChild(o)},removeChild:function(o){this.childNodes.splice(this.childNodes.indexOf(o)>>>1,1),e.i.removeChild(o)}}),wt(Y(An,{context:e.context},t.__v),e.l)):e.l&&e.componentWillUnmount()}function zn(t,e){var i=Y(On,{__v:t,i:e});return i.containerInfo=e,i}(Et.prototype=new K).__a=function(t){var e=this,i=Ho(e.__v),o=e.o.get(t);return o[0]++,function(a){var n=function(){e.props.revealOrder?(o.push(a),ki(e,t,o)):a()};i?i(n):n()}},Et.prototype.render=function(t){this.u=null,this.o=new Map;var e=et(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},Et.prototype.componentDidUpdate=Et.prototype.componentDidMount=function(){var t=this;this.o.forEach(function(e,i){ki(t,i,e)})};var Wo=typeof Symbol<"u"&&Symbol.for&&Symbol.for("react.element")||60103,Dn=/^(?: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]/,Nn=/^on(Ani|Tra|Tou|BeforeInp|Compo)/,Fn=/[A-Z0-9]/g,Mn=typeof document<"u",Rn=function(t){return(typeof Symbol<"u"&&typeof Symbol()=="symbol"?/fil|che|rad/:/fil|che|ra/).test(t)};function Ln(t,e,i){return e.__k==null&&(e.textContent=""),wt(t,e),typeof i=="function"&&i(),t?t.__c:null}function Bn(t,e,i){return mo(t,e),typeof i=="function"&&i(),t?t.__c:null}K.prototype.isReactComponent={},["componentWillMount","componentWillReceiveProps","componentWillUpdate"].forEach(function(t){Object.defineProperty(K.prototype,t,{configurable:!0,get:function(){return this["UNSAFE_"+t]},set:function(e){Object.defineProperty(this,t,{configurable:!0,writable:!0,value:e})}})});var $i=w.event;function Hn(){}function Un(){return this.cancelBubble}function Wn(){return this.defaultPrevented}w.event=function(t){return $i&&(t=$i(t)),t.persist=Hn,t.isPropagationStopped=Un,t.isDefaultPrevented=Wn,t.nativeEvent=t};var ei,Vn={enumerable:!1,configurable:!0,get:function(){return this.class}},Si=w.vnode;w.vnode=function(t){typeof t.type=="string"&&function(e){var i=e.props,o=e.type,a={};for(var n in i){var r=i[n];if(!(n==="value"&&"defaultValue"in i&&r==null||Mn&&n==="children"&&o==="noscript"||n==="class"||n==="className")){var s=n.toLowerCase();n==="defaultValue"&&"value"in i&&i.value==null?n="value":n==="download"&&r===!0?r="":s==="ondoubleclick"?n="ondblclick":s!=="onchange"||o!=="input"&&o!=="textarea"||Rn(i.type)?s==="onfocus"?n="onfocusin":s==="onblur"?n="onfocusout":Nn.test(n)?n=s:o.indexOf("-")===-1&&Dn.test(n)?n=n.replace(Fn,"-$&").toLowerCase():r===null&&(r=void 0):s=n="oninput",s==="oninput"&&a[n=s]&&(n="oninputCapture"),a[n]=r}}o=="select"&&a.multiple&&Array.isArray(a.value)&&(a.value=et(i.children).forEach(function(l){l.props.selected=a.value.indexOf(l.props.value)!=-1})),o=="select"&&a.defaultValue!=null&&(a.value=et(i.children).forEach(function(l){l.props.selected=a.multiple?a.defaultValue.indexOf(l.props.value)!=-1:a.defaultValue==l.props.value})),i.class&&!i.className?(a.class=i.class,Object.defineProperty(a,"className",Vn)):(i.className&&!i.class||i.class&&i.className)&&(a.class=a.className=i.className),e.props=a}(t),t.$$typeof=Wo,Si&&Si(t)};var Ci=w.__r;w.__r=function(t){Ci&&Ci(t),ei=t.__c};var Ei=w.diffed;w.diffed=function(t){Ei&&Ei(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 Yn={ReactCurrentDispatcher:{current:{readContext:function(t){return ei.__n[t.__c].props.value}}}};function qn(t){return Y.bind(null,t)}function Vo(t){return!!t&&t.$$typeof===Wo}function Kn(t){return Vo(t)?en.apply(null,arguments):t}function Zn(t){return!!t.__k&&(wt(null,t),!0)}function Gn(t){return t&&(t.base||t.nodeType===1&&t)||null}var Xn=function(t,e){return t(e)},Jn=function(t,e){return t(e)},Qn=q;function Yo(t){t()}function tr(t){return t}function er(){return[!1,Yo]}var ir=bt;function or(t,e){var i=e(),o=Ze({h:{__:i,v:e}}),a=o[0].h,n=o[1];return bt(function(){a.__=i,a.v=e,de(a.__,e())||n({h:a})},[t,i,e]),te(function(){return de(a.__,a.v())||n({h:a}),t(function(){de(a.__,a.v())||n({h:a})})},[t]),i}var ar={useState:Ze,useId:rn,useReducer:ko,useEffect:te,useLayoutEffect:bt,useInsertionEffect:ir,useTransition:er,useDeferredValue:tr,useSyncExternalStore:or,startTransition:Yo,useRef:gt,useImperativeHandle:on,useMemo:st,useCallback:an,useContext:$o,useDebugValue:nn,version:"17.0.2",Children:In,render:Ln,hydrate:Bn,unmountComponentAtNode:Zn,createPortal:zn,createElement:Y,createContext:yo,createFactory:qn,cloneElement:Kn,createRef:Ga,Fragment:q,isValidElement:Vo,findDOMNode:Gn,Component:K,PureComponent:Pe,memo:Pn,forwardRef:Ro,flushSync:Jn,unstable_batchedUpdates:Xn,StrictMode:Qn,Suspense:It,SuspenseList:Et,lazy:Uo,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:Yn},nr=["other","few","many","two","one","zero"],Pi=({terms:t,overrides:e,locale:i})=>{const o=new Intl.PluralRules(i);function a(n,r){const s=(e==null?void 0:e[n])??t[n];switch(typeof s){case"string":return s.replace(/{{(\w+)}}/g,(l,d)=>{var u;return((u=r==null?void 0:r[d])==null?void 0:u.toString())??""});case"object":{if(typeof(r==null?void 0:r.count)!="number")throw new Error(`Missing count for translation key “${n.toString()}”`);let l=o.select(r.count);if(!(l in s)){const d=nr.find(u=>u in s);if(!d)throw new Error(`Missing plural rule for translation key “${n.toString()}”`);l=d}return s[l].replace(/{{(\w+)}}/g,(d,u)=>{var c;return((c=r==null?void 0:r[u])==null?void 0:c.toString())??""})}default:throw new Error(`Invalid translation value in dictionary for key “${n.toString()}”.`)}}return a},rr=0;function h(t,e,i,o,a,n){var r,s,l={};for(s in e)s=="ref"?r=e[s]:l[s]=e[s];var d={type:t,props:l,key:i,ref:r,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,__h:null,constructor:void 0,__v:--rr,__source:a,__self:n};if(typeof t=="function"&&(r=t.defaultProps))for(s in r)l[s]===void 0&&(l[s]=r[s]);return w.vnode&&w.vnode(d),d}var Ti=yo(null),qo=t=>({defaultTerms:t,TranslationProvider:({terms:e,children:i,locale:o})=>{const a=st(()=>Pi({locale:o,terms:t,overrides:e}),[e,o]);return h(Ti.Provider,{value:{t:a,locale:o},children:i})},useTranslation:()=>{const e=$o(Ti);if(e===null)throw new Error("Please wrap useTranslation in a TranslationProvider");return{t:e.t,locale:e.locale}},createTFunction:({overrides:e,locale:i})=>Pi({terms:t,overrides:e,locale:i})}),sr={conversation_history:"Conversation history",jump_to_current:"Jump to current question",send:"Send",submitting:"Sending your application…",skip:"Skip",skipped:"Skipped",submission_closed:"Sorry, this role closed while you were applying.",submission_duplicate_earlier_attempt:"You've already applied for this role. If that doesn't sound right, it's most likely a hiccup from your earlier attempt — don't worry, we have your application.",submission_failed:"We couldn't submit your application. Choose Restart to try again.",submission_unknown_do_not_resubmit:"We couldn't confirm whether your application went through, and submitting it again won't help. Please don't keep resubmitting — check your email for a confirmation, or contact the employer if nothing arrives.",submission_unreadable_document:"We couldn't read that file. Please upload a different one.",submission_cooldown:{one:"Submit will be available again in {{count}} second.",other:"Submit will be available again in {{count}} seconds."},submission_cooldown_ready:"Submit is available again.",captcha_check:"One quick check before we send your application",submission_still_working:"Sending your application, this can take up to a minute. Please keep this page open.",file_preparing:{one:"Preparing your file…",other:"Preparing your files…"},file_ready:{one:"Your file is ready to send",other:"Your files are ready to send"},file_read_error:"We couldn't read this file. Select it again or choose another file.",file_read_error_replacement:"We couldn't read this file, so your previous file is no longer selected. Select it again or choose another file.",address_error:"We couldn't search for that address. Try again, or fill it in manually.",address_searching:"Searching addresses…",address_no_results:"We couldn't find that address. Check the spelling or postcode, or fill it in manually.",restart:"Restart",chat_messages:"Chat messages",file_name:"File name",file_size:"File size",file_total_size:"{{size}} total",loading:"Loading",minimize:"Minimise"},{TranslationProvider:as,useTranslation:ns,createTFunction:rs,defaultTerms:lr}=qo({submission_redirect_message:"One last step: finish your application on the employer's site.",complete_submission:"Continue on the employer's site",submission_completed:"Submission completed!",submission_pending:"Thanks, we've received your application and are processing it.",submission_failed:"Failed to submit",submission_provider_maintenance:"Sorry, our recruitment system is down for scheduled maintenance until about {{time}}. Please keep this page open and try again when maintenance ends. We apologise for the inconvenience.",submission_provider_maintenance_later:"Sorry, our recruitment system is down for scheduled maintenance until later today. Please keep this page open and try again when maintenance ends. We apologise for the inconvenience.",submission_available_at:"Submit will be available again at {{time}}.",resume_prompt:"You have an unfinished application for this role. Continue where you left off?",resume_continue:"Continue",resume_start_again:"Start again",captcha_failed:"Cloudflare seems to think you're a robot. If that's not the case, please try again in a moment.",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_empty:"Please enter a value",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_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_whole:"Enter a whole number",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_min:{one:"Please upload at least one file",other:"Please only upload at least {{count}} files"},validation_file_max:{one:"Please only upload one file",other:"Please only upload up to {{count}} files"},validation_file_size:"Your file is too big. Please upload a file smaller than {{size}}",validation_file_empty:"This file is empty. If it’s saved in iCloud, Google Drive or OneDrive, download it to your device, then select it again.",validation_required:"This field is required.",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"},optional:"optional"});const{TranslationProvider:cr,useTranslation:Ft,createTFunction:dr}=qo({...lr,...sr,error_heading:"Something unexpected happened",flow_closed:"This role is no longer accepting applications.",undo:"Change answer",job_alerts_offer:"Want to hear about similar roles? We can email you at {{email}} when new ones open.",job_alerts_accept:"Get job alerts",job_alerts_decline:"No thanks",job_alerts_privacy:"We'll use your email only for these alerts. You can unsubscribe at any time.",job_alerts_privacy_sender:"{{employer}} will email you new jobs like this one. Every email has an unsubscribe link.",job_alerts_success:"Done. We'll email you about similar roles.",job_alerts_error:"Sorry, we couldn't set that up. Please try again later.",submission_duplicate:"You've already applied for this role, so we haven't submitted a second application. If that doesn't sound right, check your email for a confirmation or try again in a few minutes.",submission_retryable:"We couldn't submit your application. Please try again.",submission_unknown:"We couldn't confirm whether your application was sent. Please check your email for a confirmation. If nothing arrives, choose Restart to apply again.",maximize:"Maximise",submit:"Submit",file_more:{one:"+{{count}} file",other:"+{{count}} files"}});function ii(t,e){if(!t)throw new Error(e)}var Te=t=>t===null||typeof t!="object"?t:Array.isArray(t)?t.map(Te):Object.keys(t).sort().reduce((e,i)=>(e[i]=Te(t[i]),e),{}),ur=t=>{let e=JSON.stringify(Te(t)),i=5381;for(let o=0;o<e.length;o++)i=i*33^e.charCodeAt(o);return(i>>>0).toString(36)};const Ie=(t,e)=>e.some(i=>t instanceof i);let Ii,ji;function pr(){return Ii||(Ii=[IDBDatabase,IDBObjectStore,IDBIndex,IDBCursor,IDBTransaction])}function hr(){return ji||(ji=[IDBCursor.prototype.advance,IDBCursor.prototype.continue,IDBCursor.prototype.continuePrimaryKey])}const je=new WeakMap,ue=new WeakMap,ae=new WeakMap;function fr(t){const e=new Promise((i,o)=>{const a=()=>{t.removeEventListener("success",n),t.removeEventListener("error",r)},n=()=>{i(ft(t.result)),a()},r=()=>{o(t.error),a()};t.addEventListener("success",n),t.addEventListener("error",r)});return ae.set(e,t),e}function wr(t){if(je.has(t))return;const e=new Promise((i,o)=>{const a=()=>{t.removeEventListener("complete",n),t.removeEventListener("error",r),t.removeEventListener("abort",r)},n=()=>{i(),a()},r=()=>{o(t.error||new DOMException("AbortError","AbortError")),a()};t.addEventListener("complete",n),t.addEventListener("error",r),t.addEventListener("abort",r)});je.set(t,e)}let Ae={get(t,e,i){if(t instanceof IDBTransaction){if(e==="done")return je.get(t);if(e==="store")return i.objectStoreNames[1]?void 0:i.objectStore(i.objectStoreNames[0])}return ft(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 Ko(t){Ae=t(Ae)}function gr(t){return hr().includes(t)?function(...e){return t.apply(Oe(this),e),ft(this.request)}:function(...e){return ft(t.apply(Oe(this),e))}}function br(t){return typeof t=="function"?gr(t):(t instanceof IDBTransaction&&wr(t),Ie(t,pr())?new Proxy(t,Ae):t)}function ft(t){if(t instanceof IDBRequest)return fr(t);if(ue.has(t))return ue.get(t);const e=br(t);return e!==t&&(ue.set(t,e),ae.set(e,t)),e}const Oe=t=>ae.get(t);function vr(t,e,{blocked:i,upgrade:o,blocking:a,terminated:n}={}){const r=indexedDB.open(t,e),s=ft(r);return o&&r.addEventListener("upgradeneeded",l=>{o(ft(r.result),l.oldVersion,l.newVersion,ft(r.transaction),l)}),i&&r.addEventListener("blocked",l=>i(l.oldVersion,l.newVersion,l)),s.then(l=>{n&&l.addEventListener("close",()=>n()),a&&l.addEventListener("versionchange",d=>a(d.oldVersion,d.newVersion,d))}).catch(()=>{}),s}const _r=["get","getKey","getAll","getAllKeys","count"],mr=["put","add","delete","clear"],pe=new Map;function Ai(t,e){if(!(t instanceof IDBDatabase&&!(e in t)&&typeof e=="string"))return;if(pe.get(e))return pe.get(e);const i=e.replace(/FromIndex$/,""),o=e!==i,a=mr.includes(i);if(!(i in(o?IDBIndex:IDBObjectStore).prototype)||!(a||_r.includes(i)))return;const n=async function(r,...s){const l=this.transaction(r,a?"readwrite":"readonly");let d=l.store;return o&&(d=d.index(s.shift())),(await Promise.all([d[i](...s),a&&l.done]))[0]};return pe.set(e,n),n}Ko(t=>({...t,get:(e,i,o)=>Ai(e,i)||t.get(e,i,o),has:(e,i)=>!!Ai(e,i)||t.has(e,i)}));const yr=["continue","continuePrimaryKey","advance"],Oi={},ze=new WeakMap,Zo=new WeakMap,xr={get(t,e){if(!yr.includes(e))return t[e];let i=Oi[e];return i||(i=Oi[e]=function(...o){ze.set(this,Zo.get(this)[e](...o))}),i}};async function*kr(...t){let e=this;if(e instanceof IDBCursor||(e=await e.openCursor(...t)),!e)return;e=e;const i=new Proxy(e,xr);for(Zo.set(i,e),ae.set(i,Oe(e));e;)yield i,e=await(ze.get(i)||e.continue()),ze.delete(i)}function zi(t,e){return e===Symbol.asyncIterator&&Ie(t,[IDBIndex,IDBObjectStore,IDBCursor])||e==="iterate"&&Ie(t,[IDBIndex,IDBObjectStore])}Ko(t=>({...t,get(e,i,o){return zi(e,i)?kr:t.get(e,i,o)},has(e,i){return zi(e,i)||t.has(e,i)}}));const jt=typeof indexedDB>"u"?void 0:vr("inploi-chatbot",3,{upgrade(t){try{t.deleteObjectStore("state")}catch{}t.createObjectStore("state")}}),$r=t=>({...t,messages:t.messages.map(e=>{if(e.type!=="link")return e;const{onClick:i,...o}=e;return o})});let Ht,he,Ct;const Di=()=>{if(!Ht)return Ct;const t=Ht;Ht=void 0;const e=Xt(t),i=jt==null?void 0:jt.then(o=>o.put("state",$r(t.data),e)).finally(()=>{Ct===i&&(Ct=void 0)});return Ct=i,Ct},W={getStateData:async(t,e,i)=>{var a;const o=Xt({...t,flowKeys:e,context:i});return(a=await jt)==null?void 0:a.get("state",o)},getAllStateData:async()=>{var t;return((t=await jt)==null?void 0:t.getAll("state"))??[]},setStateData:t=>{Ht=t,clearTimeout(he),he=setTimeout(()=>void Di(),1e3)},flushStateData:()=>(clearTimeout(he),Di()??Promise.resolve())},Sr=t=>e=>e?e.type===t:!1,Cr=()=>typeof crypto<"u"&&"randomUUID"in crypto?crypto.randomUUID():Math.random().toString(36).slice(2),Ni=()=>({messages:[],submissions:{},currentInput:null,nodeHistory:[],startedWriteNodeIds:[],isFinished:!1,hasInteracted:!1,sequence:0,flowSessionId:Cr()}),Er=t=>ee(t).with({nativeEvent:{submitter:pt.select(pt.union(pt.instanceOf(HTMLButtonElement),pt.instanceOf(HTMLInputElement)))}},e=>e).otherwise(()=>{throw new Error("invalid submitter")}),Ut=(t,e,i,o=0)=>{if(!e.nextId)return i(e.id,{stepsMade:o,remainingSteps:0}),{stepsMade:o,remainingSteps:0};const a=t.find(d=>d.id===e.nextId);if(a===void 0)return{stepsMade:o,remainingSteps:0};const n=e.type==="if-block"?e.branchId:void 0,r=t.find(d=>d.id===n),s=e.type.includes("question")?1:0;if(r){const d=s+Math.max(Ut(t,a,i,o+s).remainingSteps,Ut(t,r,i,o+s).remainingSteps);return i(e.id,{stepsMade:o,remainingSteps:d}),{stepsMade:o,remainingSteps:d}}const l=s+Ut(t,a,i,o+s).remainingSteps;return i(e.id,{stepsMade:o,remainingSteps:l}),{stepsMade:o,remainingSteps:l}},Pr=t=>{const e={},i=t.find(o=>o.isHead);return i&&Ut(t,i,(o,a)=>{e[o]=a}),e},Xt=t=>[...t.flowKeys,t.id,t.version,t.build,ur(t.hostContext??t.context)].join("/"),Tr=({data:t,nodes:e})=>{const i=t.startedWriteNodeIds===void 0?e.some(o=>o.type==="integration-application-submit"&&t.nodeHistory.includes(o.id)):t.startedWriteNodeIds.length>0;return!t.isFinished&&!i&&Xi(e,t.submissions)},Fi=({data:t,nodes:e})=>{var i;return!t.isFinished&&((((i=t.startedWriteNodeIds)==null?void 0:i.length)??0)>0||Xi(e,t.submissions))},J=V({state:"idle"}),fe=new Set,ct=t=>{const{state:e,flow:i}=J.value;if(e!=="loaded")return;ii(i,"No flow to update");const o=t(i.data);i.data=o,J.value={state:e,flow:i},W.setStateData(i)},S={current$:J,viewState$:V("closed"),prepareFlow:async({jobAlerts:t,flow:e,context:i={},jobContext:o,flowKeys:a,title:n,analytics:r,job:s,employer:l,locationOrigin:d})=>{await W.flushStateData().catch(()=>{});const u=await W.getStateData(e,a,i),c=u??Ni(),f=Xt({...e,flowKeys:a,context:i}),g=u!==void 0&&!fe.has(f)&&Tr({data:c,nodes:e.nodes});return g||fe.add(f),{jobAlerts:t,data:c,offerResume:g,startedAt:new Date,nodeIdToProgress:Pr(e.nodes),flowKeys:a,id:e.id,version:e.version,nodes:e.nodes,build:e.build,context:o===void 0?i:Ye(o,i),hostContext:o===void 0?void 0:i,title:n,analytics:r,job:s,employer:l,locationOrigin:d}},commitFlow:t=>{J.value={state:"loaded",flow:t},W.setStateData(t)},settleResume:t=>{t.offerResume=!1,fe.add(Xt(t))},cancelCurrentFlow:()=>{J.value={state:"idle"},S.viewState$.value="closed"},markAsFinished:()=>ct(t=>({...t,isFinished:!0})),markAsInteracted:()=>ct(t=>({...t,hasInteracted:!0})),setCurrentNodeId:t=>ct(e=>(e.nodeHistory.push(t),e)),setApplicationRecovery:async t=>{ct(e=>(t?e.applicationRecovery=t:delete e.applicationRecovery,e)),await W.flushStateData()},restart:()=>{const{state:t,flow:e}=J.value;if(t!=="loaded")throw new Error("Flow cannot be restarted: not in valid state");const i={...Ni(),failedAttemptAt:e.data.failedAttemptAt,unconfirmedAttemptKeys:e.data.unconfirmedAttemptKeys,submitCooldown:e.data.submitCooldown},o={...e,data:i,startedAt:new Date,offerResume:!1};J.value={state:t,flow:o},W.setStateData(o)},addMessage:(t,e)=>{const i={...t,groupId:e};return ct(o=>(o.messages.push(i),o))},removeMessagesSentByNodeIds:t=>{const{state:e,flow:i}=J.value;ii(e==="loaded","Application not loaded");const o=i.data.messages.filter(a=>!a.groupId||!t.includes(a.groupId));i.data.messages=o,W.setStateData(i)},setSubmission:(t,e)=>ct(i=>(e===null?delete i.submissions[t]:i.submissions[t]=e,i)),setInput:t=>ct(e=>({...e,currentInput:t??null})),persistWriteBarrier:async t=>{J.peek().flow===t&&(J.value={state:"loaded",flow:t}),W.setStateData(t),await W.flushStateData()}},Mi=({heading:t})=>{const{t:e}=Ft();return h("div",{class:"flex flex-grow flex-col items-center justify-center",children:[h("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:[h("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"}),h("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"}),h("line",{x1:"36.7",y1:"39.3",x2:"44.8",y2:"47.4"}),h("line",{x1:"52.2",y1:"39.3",x2:"60.3",y2:"47.4"}),h("line",{x1:"44.7",y1:"39.2",x2:"36.6",y2:"47.3"}),h("line",{x1:"60.2",y1:"39.2",x2:"52.1",y2:"47.3"}),h("path",{d:"M38 56h19"})]}),h("div",{class:"flex flex-col gap-2 text-center",children:h("p",{class:"text-error-11 font-bold",children:e(t)})})]})},Go=t=>{const{t:e}=Ft();return h("svg",{role:"img",viewBox:"0 0 24 24",...t,children:[h("title",{children:e("loading")}),h("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)}}"}),h("g",{id:"s1",transform:"translate(12,0)",children:h("g",{id:"s2",transform:"scale(0,0)",children:h("circle",{r:"6.5",transform:"translate(0,0)",fill:"currentColor"})})}),h("g",{id:"s3",transform:"translate(12,12)",children:h("g",{id:"s4",transform:"scale(1,1)",children:h("circle",{r:"6.5",transform:"translate(0,0)",fill:"currentColor"})})}),h("g",{id:"s5",transform:"translate(12,0)",children:h("g",{id:"s6",transform:"scale(0,0)",children:h("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"})})}),h("g",{id:"s7",transform:"translate(12,0)",children:h("g",{id:"s8",transform:"scale(0,0)",children:h("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"})})})]})},Ri=()=>h("div",{class:"flex flex-grow flex-col items-center justify-center",children:h(Go,{class:"text-neutral-6 h-8 w-8"})}),Ir=t=>{const i=t/100,o=1.3;return t<0?"0%":t>100?"100%":`${Math.round((1-(1-.1)*Math.pow(1-i,o))*100)}%`},jr=oe("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"}}),Jt=({class:t,children:e,variant:i,...o})=>h("button",{class:ie(jr({variant:i}),t),...o,children:h("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})}),Xo=()=>h("path",{d:"M12.5 6.5L8 11L3.5 6.5"}),Ar=()=>{if(S.current$.value.state!=="loaded")return null;const t=S.current$.value.flow.nodeIdToProgress,e=S.current$.value.flow.data.nodeHistory.at(-1);if(e===void 0)return null;const i=t[e];if(i===void 0)return null;const o=100*(i.stepsMade/(i.remainingSteps+i.stepsMade));return h("div",{class:"bg-accent-3",children:h("div",{style:{width:Ir(o)},class:"bg-accent-9 ring-accent-6 relative h-[3px] rounded-full transition-all duration-1000"})})},Or=({children:t,params:e,analytics:i,feedbackReady:o})=>{const{t:a}=Ft(),n=S.viewState$,r=!!e.feedback&&S.current$.value.state==="loaded"&&n.value==="maximised",s=r&&o.value,l=gt(!1);return te(()=>{var d,u;!s||l.current||(l.current=!0,i.log({event:"INTERACTION",properties:{tag:"feedback_shown"},customProperties:(u=(d=S.current$.peek().flow)==null?void 0:d.analytics)==null?void 0:u.customProperties}))},[s,i]),h(q,{children:h("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:[h("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:[h("p",{id:"chatbot-status-bar",class:"sr-only",children:t}),h("button",{"aria-label":a("minimize"),onClick:()=>{n.value="minimised"},class:"view-switch h-full flex-grow overflow-hidden px-4 py-1 focus-visible:outline-none",onTouchStart:De,children:h("p",{"aria-hidden":!0,class:"text-neutral-12 truncate text-sm font-bold tracking-tight",children:t})}),h("div",{class:"flex flex-shrink-0 items-center gap-3 p-1.5",children:[e.feedback?h("div",{"data-widget":"inploi-feedback","data-key":"chatbot-header",class:ie({hidden:!r}),children:h("div",{class:"ring-neutral-4 bg-neutral-3 h-8 w-[72px] animate-pulse rounded-full ring-1"})}):null,S.current$.value.state==="loaded"&&h(Jt,{class:"mx-1","aria-label":a("restart"),onClick:()=>{S.restart()},children:[h("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"}),h("path",{d:"M8 7L10 4.5L8 2.5"})]},"restart"),h(Jt,{class:"view-switch mx-1",onTouchStart:De,"aria-label":a("minimize"),onClick:()=>n.value="minimised",children:h(Xo,{})},"minmax")]})]}),h(Ar,{})]})})};function De(){}const zr=Uo(()=>Promise.resolve().then(()=>require("./chatbot-body-f9ecbfd4.cjs")).then(t=>t.ChatbotBody)),Jo=oe("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"}}}),Qo=oe("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"}}}),Dr=({open:t,...e})=>{const i=gt(null);return bt(()=>{const o=i.current;o&&(t?o.showModal():o.close())},[t]),h("dialog",{ref:i,...e})},Nr=({env:t,logger:e,apiClient:i,rpcClient:o,analytics:a,talentBankClient:n,params:r,feedbackReady:s})=>{const{state:l,flow:d}=S.current$.value,u=S.viewState$.value,c=l!=="idle"&&u==="maximised",f=gt(null),g=d?[...d.data.nodeHistory].reverse().map(p=>d.nodes.find(b=>b.id===p)).find(p=>(p==null?void 0:p.type)==="flow-section"):void 0;return h(cr,{terms:r.terms,locale:void 0,children:[h(Dr,{open:c,onClose:()=>S.viewState$.value="minimised",children:h("div",{ref:f,"aria-modal":"true",role:"dialog","aria-labelledby":"chatbot-status-bar",class:Jo({view:"maximised"}),children:h("div",{class:Qo({view:"maximised"}),children:[h(Or,{params:r,analytics:a,feedbackReady:s,children:g?h(q,{children:[h("span",{class:"block",children:g.data.title}),h("span",{class:"block truncate text-xs font-normal",children:d==null?void 0:d.title})]}):d==null?void 0:d.title}),ee({state:l,view:u}).with({state:"idle"},()=>null).with({state:"loading"},()=>h(Ri,{},"loading")).with({state:"loaded"},()=>h(It,{fallback:h(Ri,{},"loading"),children:h(zr,{env:t,rpcClient:o,analytics:a,apiClient:i,logger:e,talentBankClient:n})})).with({state:"closed"},()=>h(Mi,{heading:"flow_closed"})).with({state:"error"},()=>h(Mi,{heading:"error_heading"})).exhaustive()]})})}),u==="minimised"?h(Fr,{flow:d}):null]})},Fr=({flow:t})=>{const{t:e}=Ft();return h("div",{class:Jo({view:"minimised",class:"z-100 isolate"}),children:h("div",{class:Qo({view:"minimised"}),children:[h("button",{onClick:()=>{S.viewState$.value="maximised"},class:"view-switch h-full flex-grow overflow-hidden px-4 py-1 focus-visible:outline-none",onTouchStart:De,children:h("p",{"aria-hidden":!0,class:"truncate text-sm font-bold tracking-tight text-white",children:t==null?void 0:t.title})}),h("div",{class:"flex items-center px-0.5",children:h(Jt,{class:"mx-1","aria-label":e("close_application"),onClick:S.cancelCurrentFlow,variant:"white",children:h("path",{d:"M12 12L4 4M12 4L4 12"})},"close")})]})})},Mr=`[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!important}[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-1{bottom:4px}[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-1\\/2{left:50%}[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-1{margin-left:4px;margin-right:4px}[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-0\\.5{margin-top:2px}[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\\(100\\%-var\\(--header-height\\)-4rem\\)\\]{max-height:calc(100% - var(--header-height) - 64px)}[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-0{min-height:0px}[data-widget=inploi-chatbot] .min-h-\\[36px\\]{min-height:36px}[data-widget=inploi-chatbot] .min-h-\\[44px\\]{min-height:44px}[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] .shrink-0{flex-shrink:0}[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] .-translate-x-1\\/2{--tw-translate-x: -50%;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] .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-none{resize:none}[data-widget=inploi-chatbot] .resize-y{resize:vertical}[data-widget=inploi-chatbot] .resize{resize:both}[data-widget=inploi-chatbot] .scroll-pb-12{scroll-padding-bottom:48px}[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-start{align-items:flex-start}[data-widget=inploi-chatbot] .items-end{align-items:flex-end}[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] .overscroll-contain{overscroll-behavior:contain}[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-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{padding-top:8px}[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-right{text-align:right}[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-normal{font-weight:400}[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-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-system-success{color:var(--i-system-message-success)}[data-widget=inploi-chatbot] .text-system-warning{color:var(--i-system-message-warning)}[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{--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(3px + 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-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-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] .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-\\[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] .aria-disabled\\:cursor-not-allowed[aria-disabled=true]{cursor:not-allowed}[data-widget=inploi-chatbot] .aria-disabled\\:opacity-50[aria-disabled=true]{opacity:.5}[data-widget=inploi-chatbot] .aria-disabled\\:hover\\:border-accent-9:hover[aria-disabled=true]{border-color:var(--i-color-a-9)}[data-widget=inploi-chatbot] .aria-disabled\\:hover\\:bg-accent-9:hover[aria-disabled=true]{background-color:var(--i-color-a-9)}[data-widget=inploi-chatbot] .aria-disabled\\:active\\:ring-1:active[aria-disabled=true]{--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] .aria-disabled\\:active\\:ring-offset-\\[1\\.5px\\]:active[aria-disabled=true]{--tw-ring-offset-width: 1.5px}[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-12:has(+*>input:focus){color:var(--i-color-n-12)}[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)}@media (prefers-reduced-motion: reduce){[data-widget=inploi-chatbot] [data-widget=inploi-chatbot] dialog::backdrop{animation:inploi-chatbot-fade .15s ease-out}}@media (prefers-reduced-motion: reduce){[data-widget=inploi-chatbot],[data-widget=inploi-chatbot] *,[data-widget=inploi-chatbot] *:before,[data-widget=inploi-chatbot] *:after,[data-widget=inploi-chatbot] dialog::backdrop{animation:none!important;transition-property:opacity,color,background-color,border-color!important;transition-duration:.15s!important;scroll-behavior:auto!important}[data-widget=inploi-chatbot] .animate-fade-in,[data-widget=inploi-chatbot] .animate-bubble-in,[data-widget=inploi-chatbot] .animate-maximise,[data-widget=inploi-chatbot] .animate-slide-in-bottom,[data-widget=inploi-chatbot] dialog::backdrop{animation:inploi-chatbot-fade .15s ease-out!important}}@keyframes inploi-chatbot-fade{0%{opacity:0}}
|
|
1
|
+
"use strict";const mt=require("@inploi/sdk");var Q;function Ui(t){return{lang:(t==null?void 0:t.lang)??(Q==null?void 0:Q.lang),message:t==null?void 0:t.message,abortEarly:(t==null?void 0:t.abortEarly)??(Q==null?void 0:Q.abortEarly),abortPipeEarly:(t==null?void 0:t.abortPipeEarly)??(Q==null?void 0:Q.abortPipeEarly)}}var ne;function oa(t){return ne==null?void 0:ne.get(t)}var re;function aa(t){return re==null?void 0:re.get(t)}var se;function na(t,e){var i;return(i=se==null?void 0:se.get(t))==null?void 0:i.get(e)}function Me(t){var i,o;let e=typeof t;return e==="string"?`"${t}"`:e==="number"||e==="bigint"||e==="boolean"?`${t}`:e==="object"||e==="function"?(t&&((o=(i=Object.getPrototypeOf(t))==null?void 0:i.constructor)==null?void 0:o.name))??"null":e}function B(t,e,i,o,a){let n=a&&"input"in a?a.input:i.value,r=(a==null?void 0:a.expected)??t.expects??null,s=(a==null?void 0:a.received)??Me(n),l={kind:t.kind,type:t.type,input:n,expected:r,received:s,message:`Invalid ${e}: ${r?`Expected ${r} but r`:"R"}eceived ${s}`,requirement:t.requirement,path:a==null?void 0:a.path,issues:a==null?void 0:a.issues,lang:o.lang,abortEarly:o.abortEarly,abortPipeEarly:o.abortPipeEarly},d=t.kind==="schema",u=(a==null?void 0:a.message)??t.message??na(t.reference,l.lang)??(d?aa(l.lang):null)??o.message??oa(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 N(t){return{version:1,vendor:"valibot",validate(e){return t["~run"]({value:e},Ui())}}}function ra(t,e){return Object.hasOwn(t,e)&&e!=="__proto__"&&e!=="prototype"&&e!=="constructor"}function Re(t,e){let i=[...new Set(t)];return i.length>1?`(${i.join(` ${e} `)})`:i[0]??"never"}function Wi(t){return{kind:"transformation",type:"transform",reference:Wi,async:!1,operation:t,"~run"(e){return e.value=this.operation(e.value),e}}}function sa(t,e,i){return typeof t.fallback=="function"?t.fallback(e,i):t.fallback}function Le(t,e,i){return typeof t.default=="function"?t.default(e,i):t.default}function Vi(){return{kind:"schema",type:"any",reference:Vi,expects:"any",async:!1,get"~standard"(){return N(this)},"~run"(t){return t.typed=!0,t}}}function Yi(t,e){return{kind:"schema",type:"array",reference:Yi,expects:"Array",async:!1,item:t,message:e,get"~standard"(){return N(this)},"~run"(i,o){var n;let a=i.value;if(Array.isArray(a)){i.typed=!0,i.value=[];for(let r=0;r<a.length;r++){let s=a[r],l=this.item["~run"]({value:s},o);if(l.issues){let d={type:"array",origin:"value",input:a,key:r,value:s};for(let u of l.issues)u.path?u.path.unshift(d):u.path=[d],(n=i.issues)==null||n.push(u);if(i.issues||(i.issues=l.issues),o.abortEarly){i.typed=!1;break}}l.typed||(i.typed=!1),i.value.push(l.value)}}else B(this,"type",i,o);return i}}}function Be(t){return{kind:"schema",type:"boolean",reference:Be,expects:"boolean",async:!1,message:t,get"~standard"(){return N(this)},"~run"(e,i){return typeof e.value=="boolean"?e.typed=!0:B(this,"type",e,i),e}}}function L(t,e){return{kind:"schema",type:"literal",reference:L,expects:Me(t),async:!1,literal:t,message:e,get"~standard"(){return N(this)},"~run"(i,o){return i.value===this.literal?i.typed=!0:B(this,"type",i,o),i}}}function qi(t){return{kind:"schema",type:"null",reference:qi,expects:"null",async:!1,message:t,get"~standard"(){return N(this)},"~run"(e,i){return e.value===null?e.typed=!0:B(this,"type",e,i),e}}}function ht(t,e){return{kind:"schema",type:"nullable",reference:ht,expects:`(${t.expects} | null)`,async:!1,wrapped:t,default:e,get"~standard"(){return N(this)},"~run"(i,o){return i.value===null&&(this.default!==void 0&&(i.value=Le(this,i,o)),i.value===null)?(i.typed=!0,i):this.wrapped["~run"](i,o)}}}function Wt(t){return{kind:"schema",type:"number",reference:Wt,expects:"number",async:!1,message:t,get"~standard"(){return N(this)},"~run"(e,i){return typeof e.value=="number"&&!isNaN(e.value)?e.typed=!0:B(this,"type",e,i),e}}}function T(t,e){return{kind:"schema",type:"object",reference:T,expects:"Object",async:!1,entries:t,message:e,get"~standard"(){return N(this)},"~run"(i,o){var n;let a=i.value;if(a&&typeof a=="object"){i.typed=!0,i.value={};for(let r in this.entries){let s=this.entries[r];if(r in a||(s.type==="exact_optional"||s.type==="optional"||s.type==="nullish")&&s.default!==void 0){let l=r in a?a[r]:Le(s),d=s["~run"]({value:l},o);if(d.issues){let u={type:"object",origin:"value",input:a,key:r,value:l};for(let c of d.issues)c.path?c.path.unshift(u):c.path=[u],(n=i.issues)==null||n.push(c);if(i.issues||(i.issues=d.issues),o.abortEarly){i.typed=!1;break}}d.typed||(i.typed=!1),i.value[r]=d.value}else if(s.fallback!==void 0)i.value[r]=sa(s);else if(s.type!=="exact_optional"&&s.type!=="optional"&&s.type!=="nullish"&&(B(this,"key",i,o,{input:void 0,expected:`"${r}"`,path:[{type:"object",origin:"key",input:a,key:r,value:a[r]}]}),o.abortEarly))break}}else B(this,"type",i,o);return i}}}function M(t,e){return{kind:"schema",type:"optional",reference:M,expects:`(${t.expects} | undefined)`,async:!1,wrapped:t,default:e,get"~standard"(){return N(this)},"~run"(i,o){return i.value===void 0&&(this.default!==void 0&&(i.value=Le(this,i,o)),i.value===void 0)?(i.typed=!0,i):this.wrapped["~run"](i,o)}}}function Ki(t,e){return{kind:"schema",type:"picklist",reference:Ki,expects:Re(t.map(Me),"|"),async:!1,options:t,message:e,get"~standard"(){return N(this)},"~run"(i,o){return this.options.includes(i.value)?i.typed=!0:B(this,"type",i,o),i}}}function He(t,e,i){return{kind:"schema",type:"record",reference:He,expects:"Object",async:!1,key:t,value:e,message:i,get"~standard"(){return N(this)},"~run"(o,a){var r,s;let n=o.value;if(n&&typeof n=="object"){o.typed=!0,o.value={};for(let l in n)if(ra(n,l)){let d=n[l],u=this.key["~run"]({value:l},a);if(u.issues){let f={type:"object",origin:"key",input:n,key:l,value:d};for(let g of u.issues)g.path=[f],(r=o.issues)==null||r.push(g);if(o.issues||(o.issues=u.issues),a.abortEarly){o.typed=!1;break}}let c=this.value["~run"]({value:d},a);if(c.issues){let f={type:"object",origin:"value",input:n,key:l,value:d};for(let g of c.issues)g.path?g.path.unshift(f):g.path=[f],(s=o.issues)==null||s.push(g);if(o.issues||(o.issues=c.issues),a.abortEarly){o.typed=!1;break}}(!u.typed||!c.typed)&&(o.typed=!1),u.typed&&(o.value[u.value]=c.value)}}else B(this,"type",o,a);return o}}}function z(t){return{kind:"schema",type:"string",reference:z,expects:"string",async:!1,message:t,get"~standard"(){return N(this)},"~run"(e,i){return typeof e.value=="string"?e.typed=!0:B(this,"type",e,i),e}}}function ai(t){let e;if(t)for(let i of t)e?e.push(...i.issues):e=i.issues;return e}function Ue(t,e){return{kind:"schema",type:"union",reference:Ue,expects:Re(t.map(i=>i.expects),"|"),async:!1,options:t,message:e,get"~standard"(){return N(this)},"~run"(i,o){let a,n,r;for(let s of this.options){let l=s["~run"]({value:i.value},o);if(l.typed)if(l.issues)n?n.push(l):n=[l];else{a=l;break}else r?r.push(l):r=[l]}if(a)return a;if(n){if(n.length===1)return n[0];B(this,"type",i,o,{issues:ai(n)}),i.typed=!0}else{if((r==null?void 0:r.length)===1)return r[0];B(this,"type",i,o,{issues:ai(r)})}return i}}}function yt(){return{kind:"schema",type:"unknown",reference:yt,expects:"unknown",async:!1,get"~standard"(){return N(this)},"~run"(t){return t.typed=!0,t}}}function Zi(t,e,i){return{kind:"schema",type:"variant",reference:Zi,expects:"Object",async:!1,key:t,options:e,message:i,get"~standard"(){return N(this)},"~run"(o,a){let n=o.value;if(n&&typeof n=="object"){let r,s=0,l=this.key,d=[],u=(c,f)=>{for(let g of c.options){if(g.type==="variant")u(g,new Set(f).add(g.key));else{let p=!0,b=0;for(let k of f){let x=g.entries[k];if(k in n?x["~run"]({typed:!1,value:n[k]},{abortEarly:!0}).issues:x.type!=="exact_optional"&&x.type!=="optional"&&x.type!=="nullish"){p=!1,l!==k&&(s<b||s===b&&k in n&&!(l in n))&&(s=b,l=k,d=[]),l===k&&d.push(g.entries[k].expects);break}b++}if(p){let k=g["~run"]({value:n},a);(!r||!r.typed&&k.typed)&&(r=k)}}if(r&&!r.issues)break}};if(u(this,new Set([this.key])),r)return r;B(this,"type",o,a,{input:n[l],expected:Re(d,"|"),path:[{type:"object",origin:"value",input:n,key:l,value:n[l]}]})}else B(this,"type",o,a);return o}}}function la(...t){return{...t[0],pipe:t,get"~standard"(){return N(this)},"~run"(e,i){for(let o of t)if(o.kind!=="metadata"){if(e.issues&&(o.kind==="schema"||o.kind==="transformation")){e.typed=!1;break}(!e.issues||!i.abortEarly&&!i.abortPipeEarly)&&(e=o["~run"](e,i))}return e}}}function zt(t,e,i){let o=t["~run"]({value:e},Ui(i));return{typed:o.typed,success:!o.issues,output:o.value,issues:o.issues}}var ca=t=>({ok:!0,err:!1,val:t}),da=t=>({err:!0,ok:!1,val:t}),We=t=>t.filter(e=>(e.type==="question-boolean"||e.type==="question-enum")&&!!e.data.preApply);function Gi(t,e,i){var r,s;let o=t.find(l=>l.type==="pre-apply-result");if(!o)return;let a=(r=e[o.data.participationKey])==null?void 0:r.value,n={};if(a===!0)for(let l of We(t)){let d=(s=e[l.data.key])==null?void 0:s.value;Array.isArray(d)&&d.length===1&&(d=d[0]),(typeof d=="boolean"||typeof d=="string")&&(n[l.data.key]=d)}return{node_id:o.id,flow_session_id:i,participation:a,answers:n}}function ua(t,e){let i=Gi(t,e,""),o=We(t).map(n=>{let r=n.data.preApply,s=i==null?void 0:i.answers[n.data.key],l=n.type==="question-boolean"?typeof s=="boolean":n.data.options.some(d=>d.value===s);return{key:n.data.key,severity:r.severity,message:r.mismatchMessage,matched:l&&s===r.expectedValue,valid:l}}),a=(i==null?void 0:i.participation)===!1?"skipped":(i==null?void 0:i.participation)===!0&&o.length>0&&o.every(n=>n.valid)?"completed":"unavailable";return{status:a,hasHardConcerns:a==="completed"?o.some(n=>!n.matched&&n.severity==="hard"):null,hasAdvisoryConcerns:a==="completed"?o.some(n=>!n.matched&&n.severity==="advisory"):null,answers:a==="completed"?o:[]}}function pa(t,e){let i=new Set(We(t).map(o=>o.data.key));for(let o of t)o.type==="pre-apply-result"&&(i.add(o.data.key),i.add(o.data.participationKey));return Object.fromEntries(Object.entries(e).filter(([o])=>!i.has(o)))}var ut=class extends Error{constructor(){super("Aborted")}},Ve=(t,e)=>{if(e.length===0)return;let i=t;for(let o of e){if(i==null||typeof i!="object")return;i=i[o]}return i},ha=(t,e="all")=>{let i={},o=e==="all"?null:new Set(e);for(let a in t){let n=t[a];n&&(o&&!o.has(a)||(i[a]=n.value))}return i},Xi=(t,e)=>{let i=new Set(t.flatMap(o=>o.type==="add-submission"?[o.data.key]:[]));return Object.entries(e).some(([o,a])=>a!==void 0&&a.type!=="integration"&&!i.has(o))},fa=({key:t,submissions:e})=>{var o;let i=(o=e[t])==null?void 0:o.value;if(typeof i!="string"&&typeof i!="number")throw new Error(`Submission at “${t}” is not a string or number`);return i},wa=({key:t,path:e,submissions:i,context:o})=>{if(t==="$context"){if(!e)return;let a=Ve(o,e);switch(typeof a){case"string":return{type:"string",value:a};case"number":return{type:"number",value:a};case"boolean":return{type:"boolean",value:a};default:console.warn(`Unexpected type for $context.${e.join(".")}`,a);return}}return i[t]},ga=t=>{let e=t.split(".").pop();return e?ca(e?"."+e:""):da("No file extension found")},ba=(t,e)=>{if(e.length===0)return!0;let i=e.map(o=>o.toLowerCase());return t.every(o=>{let a=ga(o.name);return a.ok&&i.includes(a.val.toLowerCase())})},va=t=>t<=1e3?`${Math.round(t)}KB`:t<1e3*10?`${(t/1e3).toFixed(1)}MB`:`${Math.round(t/1e3)}MB`,_a=t=>typeof t=="string"?t:`+${t.countryCode} ${t.phoneNumber}`,ma=T({integration_response:T({data:T({redirect_url:z(),message:M(ht(z())),button_text:M(ht(z()))})})}),Ji=t=>zt(ma,t).success,ya=T({integration_response:T({status:M(yt()),error:T({message:z(),data:M(yt())})})}),Qi=t=>zt(ya,t).success,xa=T({success:L(!0),integration_response:T({data:T({outcome:L("pending"),message:M(yt())}),error:M(qi())})}),to=t=>{let e=zt(xa,t);if(!e.success||Ji(t))return;let{message:i}=e.output.integration_response.data;return typeof i=="string"&&i.trim()?{message:i}:{}};T({success:L(!1),message:M(yt())});var ka=T({error:L("Validation failed"),messages:T({})}),$a=(t,e)=>e===422&&zt(ka,t).success,Sa=(t,e)=>{if(!Qi(t))return;let i=t.integration_response,o=i.error.data,a=typeof o=="object"&&o!==null?o:{},n=p=>typeof a[p]=="string"?a[p]:void 0,r=p=>typeof a[p]=="boolean"?a[p]:void 0,s=p=>{let b=a[p];return Number.isSafeInteger(b)&&b>=0?b:void 0},l=p=>{let b=n(p),k=b===void 0?NaN:Date.parse(b);return Number.isFinite(k)?k:void 0},d=typeof i.status=="number"?i.status:e,u=n("phase"),c=n("verdict"),f=n("code"),g=d===409&&u==="submit"&&c==="confirmed"?"duplicate":d===410&&f==="job_closed"?"closed":u==="submit"&&c==="unknown"?"unknown":void 0;return{message:i.error.message,status:d,phase:u,providerStatus:s("provider_status"),retryAfterSeconds:s("retry_after_seconds"),retryable:r("retryable"),verdict:c,code:f,reason:n("reason"),maintenanceUntil:l("maintenance_until"),field:n("field"),outcome:g}},Ca=Zi("reason",[T({outcome:L("sent"),reason:L("sandbox"),ats_label:ht(z())}),T({outcome:L("held"),reason:Ki(["production_connection","no_sandbox_known","company_hold"]),ats_label:ht(z())}),T({outcome:L("internal"),reason:L("internal"),ats_label:ht(z())}),T({outcome:L("held"),reason:L("redirect"),ats_label:z()})]),Ea=t=>{let e=zt(T({staging_destination:Ca}),t);if(!e.success)return;let i=e.output.staging_destination;switch(i.reason){case"sandbox":return`Staging: sent to ${i.ats_label===null?"the ATS":i.ats_label} sandbox`;case"production_connection":return"Staging: held, production connection";case"no_sandbox_known":return"Staging: held, no sandbox known";case"company_hold":return"Staging: held, company set to hold all";case"internal":return"Staging: saved in inploi (no ATS)";case"redirect":return`Staging: held, redirect to ${i.ats_label}`}},eo=3e4,Pa=2e4,Ta=6e4,io=12e4,oo=6*60*6e4,Ia=60*6e4,ao=t=>{let e=(t==null?void 0:t.reason)==="provider_maintenance"?t.maintenanceUntil:void 0,i=e===void 0?0:e-Date.now();return i>0&&i<=oo?e:void 0},ja=t=>{if((t==null?void 0:t.reason)!=="provider_maintenance"||t.outcome==="unknown")return;let e=ao(t);return e===void 0?{}:{until:e}},Aa=(t,e)=>new Intl.DateTimeFormat(e,{hour:"numeric",minute:"2-digit"}).format(t),Oa=(t,e)=>{let i=ao(e);if(i!==void 0)return{waitMs:i-Date.now(),throttles:(t??0)+1,maintenance:!0};if(!((e==null?void 0:e.reason)==="provider_maintenance"||(e==null?void 0:e.retryable)===!0&&(e.providerStatus===429||e.providerStatus!==void 0&&e.providerStatus>=500||e.phase==="workflow"&&e.verdict==="not_submitted")))return{waitMs:eo};let o=(t??0)+1,a=Math.min(o*Pa,Ta),n=(e.retryAfterSeconds??0)*1e3;return{waitMs:Math.min(Math.max(a,n),io),throttles:o}},za=t=>(t==null?void 0:t.code)==="captcha_failed"&&t.verdict==="not_submitted",Da=t=>{if(!Qi(t))return!1;let e=t.integration_response.error.data;return typeof e=="object"&&e!==null&&"fallback"in e&&e.fallback==="contact"},Na=t=>((t==null?void 0:t.phase)==="workflow"||(t==null?void 0:t.phase)==="authentication"||(t==null?void 0:t.code)==="captcha_failed")&&t.retryable===!0&&t.verdict==="not_submitted",Fa=t=>(t==null?void 0:t.outcome)==="unknown"&&t.code==="repeatable_provider_crash",Ma=t=>(t==null?void 0:t.phase)==="submit"&&t.verdict==="confirmed"&&t.code==="unreadable_document"&&typeof t.field=="string"&&t.status!==void 0&&t.status>=400&&t.status<500?t.field:void 0,Ra=(t,e)=>{if(typeof t!="object"||t===null)return null;let i=t.integration_response;if(typeof i!="object"||i===null){if(e===void 0)return null;let l="code"in t&&typeof t.code=="string"?t.code:void 0;return{service:"API",response:{status:e,payload:l===void 0?{}:{code:l}}}}let o=i;if(typeof o.status!="number"||o.service!==void 0&&typeof o.service!="string")return null;let a="data"in o,n=o.error,r=typeof n=="object"&&n!==null&&typeof n.message=="string"&&"data"in n;if(!a&&!r)return null;let s=a?o.data:n.data??null;return{service:o.service??"INVALID_SERVICE",response:{status:o.status,payload:s},...to(t)&&{outcome:"pending"}}},La=t=>{if(!/^\d{4}-\d{2}-\d{2}$/.test(t))return!1;let e=new Date(`${t}T00:00:00Z`);return Number.isFinite(e.getTime())&&e.toISOString().slice(0,10)===t},Ba=(t,e)=>{if(!La(t))throw new RangeError("Invalid ISO calendar date");return new Intl.DateTimeFormat(e,{dateStyle:"long",timeZone:"UTC"}).format(new Date(`${t}T00:00:00Z`))},Ha=t=>new Promise((e,i)=>{let o=new FileReader;o.onload=()=>{if(typeof o.result!="string"||!o.result)return i(new Error("Invalid file"));e(o.result)},o.onerror=i,o.readAsDataURL(t)}),ni=t=>typeof t=="object"&&t!==null&&(Object.getPrototypeOf(t)===Object.prototype||Object.getPrototypeOf(t)===null),Ye=(t,e)=>t?{...t,...Object.fromEntries(Object.entries(e).filter(([,i])=>i!==void 0).map(([i,o])=>{let a=t[i];return[i,ni(a)&&ni(o)?Ye(a,o):o]}))}:e,Ua=({context:t,schema:e,logger:i})=>{if(e)for(let o in e){let a=e[o];if(!a)continue;let n=Ve(t,o.split("."));if(a.required&&n==null){let r=`Configuration error in context: ${o} is required`;throw i.error(r),new Error(r)}if(n!=null)switch(a.type){case"number":if(typeof n!="number")throw new Error(`Configuration error in context: ${o} is not a number`);break;case"string":if(typeof n!="string")throw new Error(`Configuration error in context: ${o} is not a string`);break;default:a.type}}},no=la(Ue([z(),Wt()]),Wi(String)),ro=T({id:no,version:Wt(),build:Wt(),nodes:Yi(Vi()),context_schema:M(ht(He(z(),T({required:Be(),type:Ue([L("string"),L("number")])}))))}),Wa=T({flow:ro}),Va=T({company:T({name:z()}),context:M(He(z(),yt())),flow:ro,job:T({id:no,title:z()}),user:M(T({city:M(z()),country:M(z()),isEU:M(Be()),continent:M(z())}))}),Ya=(t,e)=>({id:t.job.id,id_type:(e==null?void 0:e.idType)==="internal"&&e.id===t.job.id?"internal":"external"}),qa=mt.endpoint({pathname:"/flow/job/:id",method:"GET",schema:{searchParams:mt.typed(),response:Va}}),Ka=mt.endpoint({pathname:"/flow/id/:id",method:"GET",schema:{response:Wa}}),Dt,w,so,lo,dt,ri,co,_e,uo,vt={},po=[],Za=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i,Qt=Array.isArray;function tt(t,e){for(var i in e)t[i]=e[i];return t}function ho(t){var e=t.parentNode;e&&e.removeChild(t)}function Y(t,e,i){var o,a,n,r={};for(n in e)n=="key"?o=e[n]:n=="ref"?a=e[n]:r[n]=e[n];if(arguments.length>2&&(r.children=arguments.length>3?Dt.call(arguments,2):i),typeof t=="function"&&t.defaultProps!=null)for(n in t.defaultProps)r[n]===void 0&&(r[n]=t.defaultProps[n]);return Pt(t,r,o,a,null)}function Pt(t,e,i,o,a){var n={type:t,props:e,key:i,ref:o,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,__h:null,constructor:void 0,__v:a??++so};return a==null&&w.vnode!=null&&w.vnode(n),n}function Ga(){return{current:null}}function q(t){return t.children}function K(t,e){this.props=t,this.context=e}function Vt(t,e){if(e==null)return t.__?Vt(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"?Vt(t):null}function fo(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 fo(t)}}function me(t){(!t.__d&&(t.__d=!0)&&dt.push(t)&&!Yt.__r++||ri!==w.debounceRendering)&&((ri=w.debounceRendering)||co)(Yt)}function Yt(){var t,e,i,o,a,n,r,s,l;for(dt.sort(_e);t=dt.shift();)t.__d&&(e=dt.length,o=void 0,a=void 0,n=void 0,s=(r=(i=t).__v).__e,(l=i.__P)&&(o=[],a=[],(n=tt({},r)).__v=r.__v+1,qe(l,r,n,i.__n,l.ownerSVGElement!==void 0,r.__h!=null?[s]:null,o,s??Vt(r),r.__h,a),vo(o,r,a),r.__e!=s&&fo(r)),dt.length>e&&dt.sort(_e));Yt.__r=0}function wo(t,e,i,o,a,n,r,s,l,d,u){var c,f,g,p,b,k,x,I,v,_,$=0,y=o&&o.__k||po,Z=y.length,H=Z,O=e.length;for(i.__k=[],c=0;c<O;c++)(p=i.__k[c]=(p=e[c])==null||typeof p=="boolean"||typeof p=="function"?null:typeof p=="string"||typeof p=="number"||typeof p=="bigint"?Pt(null,p,null,null,p):Qt(p)?Pt(q,{children:p},null,null,null):p.__b>0?Pt(p.type,p.props,p.key,p.ref?p.ref:null,p.__v):p)!=null&&(p.__=i,p.__b=i.__b+1,(I=Xa(p,y,x=c+$,H))===-1?g=vt:(g=y[I]||vt,y[I]=void 0,H--),qe(t,p,g,a,n,r,s,l,d,u),b=p.__e,(f=p.ref)&&g.ref!=f&&(g.ref&&Ke(g.ref,null,p),u.push(f,p.__c||b,p)),b!=null&&(k==null&&(k=b),_=!(v=g===vt||g.__v===null)&&I===x,v?I==-1&&$--:I!==x&&(I===x+1?($++,_=!0):I>x?H>O-x?($+=I-x,_=!0):$--:$=I<x&&I==x-1?I-x:0),x=c+$,_=_||I==c&&!v,typeof p.type!="function"||I===x&&g.__k!==p.__k?typeof p.type=="function"||_?p.__d!==void 0?(l=p.__d,p.__d=void 0):l=b.nextSibling:l=bo(t,b,l):l=go(p,l,t),typeof i.type=="function"&&(i.__d=l)));for(i.__e=k,c=Z;c--;)y[c]!=null&&(typeof i.type=="function"&&y[c].__e!=null&&y[c].__e==i.__d&&(i.__d=y[c].__e.nextSibling),_o(y[c],y[c]))}function go(t,e,i){for(var o,a=t.__k,n=0;a&&n<a.length;n++)(o=a[n])&&(o.__=t,e=typeof o.type=="function"?go(o,e,i):bo(i,o.__e,e));return e}function et(t,e){return e=e||[],t==null||typeof t=="boolean"||(Qt(t)?t.some(function(i){et(i,e)}):e.push(t)),e}function bo(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 Xa(t,e,i,o){var a=t.key,n=t.type,r=i-1,s=i+1,l=e[i];if(l===null||l&&a==l.key&&n===l.type)return i;if(o>(l!=null?1:0))for(;r>=0||s<e.length;){if(r>=0){if((l=e[r])&&a==l.key&&n===l.type)return r;r--}if(s<e.length){if((l=e[s])&&a==l.key&&n===l.type)return s;s++}}return-1}function Ja(t,e,i,o,a){var n;for(n in i)n==="children"||n==="key"||n in e||qt(t,n,null,i[n],o);for(n in e)a&&typeof e[n]!="function"||n==="children"||n==="key"||n==="value"||n==="checked"||i[n]===e[n]||qt(t,n,e[n],i[n],o)}function si(t,e,i){e[0]==="-"?t.setProperty(e,i??""):t[e]=i==null?"":typeof i!="number"||Za.test(e)?i:i+"px"}function qt(t,e,i,o,a){var n;t:if(e==="style")if(typeof i=="string")t.style.cssText=i;else{if(typeof o=="string"&&(t.style.cssText=o=""),o)for(e in o)i&&e in i||si(t.style,e,"");if(i)for(e in i)o&&i[e]===o[e]||si(t.style,e,i[e])}else if(e[0]==="o"&&e[1]==="n")n=e!==(e=e.replace(/Capture$/,"")),e=e.toLowerCase()in t?e.toLowerCase().slice(2):e.slice(2),t.l||(t.l={}),t.l[e+n]=i,i?o||t.addEventListener(e,n?ci:li,n):t.removeEventListener(e,n?ci:li,n);else if(e!=="dangerouslySetInnerHTML"){if(a)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 li(t){return this.l[t.type+!1](w.event?w.event(t):t)}function ci(t){return this.l[t.type+!0](w.event?w.event(t):t)}function qe(t,e,i,o,a,n,r,s,l,d){var u,c,f,g,p,b,k,x,I,v,_,$,y,Z,H,O=e.type;if(e.constructor!==void 0)return null;i.__h!=null&&(l=i.__h,s=e.__e=i.__e,e.__h=null,n=[s]),(u=w.__b)&&u(e);try{t:if(typeof O=="function"){if(x=e.props,I=(u=O.contextType)&&o[u.__c],v=u?I?I.props.value:u.__:o,i.__c?k=(c=e.__c=i.__c).__=c.__E:("prototype"in O&&O.prototype.render?e.__c=c=new O(x,v):(e.__c=c=new K(x,v),c.constructor=O,c.render=tn),I&&I.sub(c),c.props=x,c.state||(c.state={}),c.context=v,c.__n=o,f=c.__d=!0,c.__h=[],c._sb=[]),c.__s==null&&(c.__s=c.state),O.getDerivedStateFromProps!=null&&(c.__s==c.state&&(c.__s=tt({},c.__s)),tt(c.__s,O.getDerivedStateFromProps(x,c.__s))),g=c.props,p=c.state,c.__v=e,f)O.getDerivedStateFromProps==null&&c.componentWillMount!=null&&c.componentWillMount(),c.componentDidMount!=null&&c.__h.push(c.componentDidMount);else{if(O.getDerivedStateFromProps==null&&x!==g&&c.componentWillReceiveProps!=null&&c.componentWillReceiveProps(x,v),!c.__e&&(c.shouldComponentUpdate!=null&&c.shouldComponentUpdate(x,c.__s,v)===!1||e.__v===i.__v)){for(e.__v!==i.__v&&(c.props=x,c.state=c.__s,c.__d=!1),e.__e=i.__e,e.__k=i.__k,e.__k.forEach(function(lt){lt&&(lt.__=e)}),_=0;_<c._sb.length;_++)c.__h.push(c._sb[_]);c._sb=[],c.__h.length&&r.push(c);break t}c.componentWillUpdate!=null&&c.componentWillUpdate(x,c.__s,v),c.componentDidUpdate!=null&&c.__h.push(function(){c.componentDidUpdate(g,p,b)})}if(c.context=v,c.props=x,c.__P=t,c.__e=!1,$=w.__r,y=0,"prototype"in O&&O.prototype.render){for(c.state=c.__s,c.__d=!1,$&&$(e),u=c.render(c.props,c.state,c.context),Z=0;Z<c._sb.length;Z++)c.__h.push(c._sb[Z]);c._sb=[]}else do c.__d=!1,$&&$(e),u=c.render(c.props,c.state,c.context),c.state=c.__s;while(c.__d&&++y<25);c.state=c.__s,c.getChildContext!=null&&(o=tt(tt({},o),c.getChildContext())),f||c.getSnapshotBeforeUpdate==null||(b=c.getSnapshotBeforeUpdate(g,p)),wo(t,Qt(H=u!=null&&u.type===q&&u.key==null?u.props.children:u)?H:[H],e,i,o,a,n,r,s,l,d),c.base=e.__e,e.__h=null,c.__h.length&&r.push(c),k&&(c.__E=c.__=null)}else n==null&&e.__v===i.__v?(e.__k=i.__k,e.__e=i.__e):e.__e=Qa(i.__e,e,i,o,a,n,r,l,d);(u=w.diffed)&&u(e)}catch(lt){e.__v=null,(l||n!=null)&&(e.__e=s,e.__h=!!l,n[n.indexOf(s)]=null),w.__e(lt,e,i)}}function vo(t,e,i){for(var o=0;o<i.length;o++)Ke(i[o],i[++o],i[++o]);w.__c&&w.__c(e,t),t.some(function(a){try{t=a.__h,a.__h=[],t.some(function(n){n.call(a)})}catch(n){w.__e(n,a.__v)}})}function Qa(t,e,i,o,a,n,r,s,l){var d,u,c,f=i.props,g=e.props,p=e.type,b=0;if(p==="svg"&&(a=!0),n!=null){for(;b<n.length;b++)if((d=n[b])&&"setAttribute"in d==!!p&&(p?d.localName===p:d.nodeType===3)){t=d,n[b]=null;break}}if(t==null){if(p===null)return document.createTextNode(g);t=a?document.createElementNS("http://www.w3.org/2000/svg",p):document.createElement(p,g.is&&g),n=null,s=!1}if(p===null)f===g||s&&t.data===g||(t.data=g);else{if(n=n&&Dt.call(t.childNodes),u=(f=i.props||vt).dangerouslySetInnerHTML,c=g.dangerouslySetInnerHTML,!s){if(n!=null)for(f={},b=0;b<t.attributes.length;b++)f[t.attributes[b].name]=t.attributes[b].value;(c||u)&&(c&&(u&&c.__html==u.__html||c.__html===t.innerHTML)||(t.innerHTML=c&&c.__html||""))}if(Ja(t,g,f,a,s),c)e.__k=[];else if(wo(t,Qt(b=e.props.children)?b:[b],e,i,o,a&&p!=="foreignObject",n,r,n?n[0]:i.__k&&Vt(i,0),s,l),n!=null)for(b=n.length;b--;)n[b]!=null&&ho(n[b]);s||("value"in g&&(b=g.value)!==void 0&&(b!==t.value||p==="progress"&&!b||p==="option"&&b!==f.value)&&qt(t,"value",b,f.value,!1),"checked"in g&&(b=g.checked)!==void 0&&b!==t.checked&&qt(t,"checked",b,f.checked,!1))}return t}function Ke(t,e,i){try{typeof t=="function"?t(e):t.current=e}catch(o){w.__e(o,i)}}function _o(t,e,i){var o,a;if(w.unmount&&w.unmount(t),(o=t.ref)&&(o.current&&o.current!==t.__e||Ke(o,null,e)),(o=t.__c)!=null){if(o.componentWillUnmount)try{o.componentWillUnmount()}catch(n){w.__e(n,e)}o.base=o.__P=null,t.__c=void 0}if(o=t.__k)for(a=0;a<o.length;a++)o[a]&&_o(o[a],e,i||typeof t.type!="function");i||t.__e==null||ho(t.__e),t.__=t.__e=t.__d=void 0}function tn(t,e,i){return this.constructor(t,i)}function wt(t,e,i){var o,a,n,r;w.__&&w.__(t,e),a=(o=typeof i=="function")?null:i&&i.__k||e.__k,n=[],r=[],qe(e,t=(!o&&i||e).__k=Y(q,null,[t]),a||vt,vt,e.ownerSVGElement!==void 0,!o&&i?[i]:a?null:e.firstChild?Dt.call(e.childNodes):null,n,!o&&i?i:a?a.__e:e.firstChild,o,r),vo(n,t,r)}function mo(t,e){wt(t,e,mo)}function en(t,e,i){var o,a,n,r,s=tt({},t.props);for(n in t.type&&t.type.defaultProps&&(r=t.type.defaultProps),e)n=="key"?o=e[n]:n=="ref"?a=e[n]:s[n]=e[n]===void 0&&r!==void 0?r[n]:e[n];return arguments.length>2&&(s.children=arguments.length>3?Dt.call(arguments,2):i),Pt(t.type,s,o||t.key,a||t.ref,null)}function yo(t,e){var i={__c:e="__cC"+uo++,__:t,Consumer:function(o,a){return o.children(a)},Provider:function(o){var a,n;return this.getChildContext||(a=[],(n={})[e]=this,this.getChildContext=function(){return n},this.shouldComponentUpdate=function(r){this.props.value!==r.value&&a.some(function(s){s.__e=!0,me(s)})},this.sub=function(r){a.push(r);var s=r.componentWillUnmount;r.componentWillUnmount=function(){a.splice(a.indexOf(r),1),s&&s.call(r)}}),o.children}};return i.Provider.__=i.Consumer.contextType=i}Dt=po.slice,w={__e:function(t,e,i,o){for(var a,n,r;e=e.__;)if((a=e.__c)&&!a.__)try{if((n=a.constructor)&&n.getDerivedStateFromError!=null&&(a.setState(n.getDerivedStateFromError(t)),r=a.__d),a.componentDidCatch!=null&&(a.componentDidCatch(t,o||{}),r=a.__d),r)return a.__E=a}catch(s){t=s}throw t}},so=0,lo=function(t){return t!=null&&t.constructor===void 0},K.prototype.setState=function(t,e){var i;i=this.__s!=null&&this.__s!==this.state?this.__s:this.__s=tt({},this.state),typeof t=="function"&&(t=t(tt({},i),this.props)),t&&tt(i,t),t!=null&&this.__v&&(e&&this._sb.push(e),me(this))},K.prototype.forceUpdate=function(t){this.__v&&(this.__e=!0,t&&this.__h.push(t),me(this))},K.prototype.render=q,dt=[],co=typeof Promise=="function"?Promise.prototype.then.bind(Promise.resolve()):setTimeout,_e=function(t,e){return t.__v.__b-e.__v.__b},Yt.__r=0,uo=0;var rt,P,le,di,xt=0,xo=[],Rt=[],ui=w.__b,pi=w.__r,hi=w.diffed,fi=w.__c,wi=w.unmount;function kt(t,e){w.__h&&w.__h(P,t,xt||e),xt=0;var i=P.__H||(P.__H={__:[],__h:[]});return t>=i.__.length&&i.__.push({__V:Rt}),i.__[t]}function Ze(t){return xt=1,ko(So,t)}function ko(t,e,i){var o=kt(rt++,2);if(o.t=t,!o.__c&&(o.__=[i?i(e):So(void 0,e),function(s){var l=o.__N?o.__N[0]:o.__[0],d=o.t(l,s);l!==d&&(o.__N=[d,o.__[1]],o.__c.setState({}))}],o.__c=P,!P.u)){var a=function(s,l,d){if(!o.__c.__H)return!0;var u=o.__c.__H.__.filter(function(f){return f.__c});if(u.every(function(f){return!f.__N}))return!n||n.call(this,s,l,d);var c=!1;return u.forEach(function(f){if(f.__N){var g=f.__[0];f.__=f.__N,f.__N=void 0,g!==f.__[0]&&(c=!0)}}),!(!c&&o.__c.props===s)&&(!n||n.call(this,s,l,d))};P.u=!0;var n=P.shouldComponentUpdate,r=P.componentWillUpdate;P.componentWillUpdate=function(s,l,d){if(this.__e){var u=n;n=void 0,a(s,l,d),n=u}r&&r.call(this,s,l,d)},P.shouldComponentUpdate=a}return o.__N||o.__}function te(t,e){var i=kt(rt++,3);!w.__s&&Ge(i.__H,e)&&(i.__=t,i.i=e,P.__H.__h.push(i))}function bt(t,e){var i=kt(rt++,4);!w.__s&&Ge(i.__H,e)&&(i.__=t,i.i=e,P.__h.push(i))}function gt(t){return xt=5,st(function(){return{current:t}},[])}function on(t,e,i){xt=6,bt(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 st(t,e){var i=kt(rt++,7);return Ge(i.__H,e)?(i.__V=t(),i.i=e,i.__h=t,i.__V):i.__}function an(t,e){return xt=8,st(function(){return t},e)}function $o(t){var e=P.context[t.__c],i=kt(rt++,9);return i.c=t,e?(i.__==null&&(i.__=!0,e.sub(P)),e.props.value):t.__}function nn(t,e){w.useDebugValue&&w.useDebugValue(e?e(t):t)}function rn(){var t=kt(rt++,11);if(!t.__){for(var e=P.__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 sn(){for(var t;t=xo.shift();)if(t.__P&&t.__H)try{t.__H.__h.forEach(Lt),t.__H.__h.forEach(ye),t.__H.__h=[]}catch(e){t.__H.__h=[],w.__e(e,t.__v)}}w.__b=function(t){P=null,ui&&ui(t)},w.__r=function(t){pi&&pi(t),rt=0;var e=(P=t.__c).__H;e&&(le===P?(e.__h=[],P.__h=[],e.__.forEach(function(i){i.__N&&(i.__=i.__N),i.__V=Rt,i.__N=i.i=void 0})):(e.__h.forEach(Lt),e.__h.forEach(ye),e.__h=[],rt=0)),le=P},w.diffed=function(t){hi&&hi(t);var e=t.__c;e&&e.__H&&(e.__H.__h.length&&(xo.push(e)!==1&&di===w.requestAnimationFrame||((di=w.requestAnimationFrame)||ln)(sn)),e.__H.__.forEach(function(i){i.i&&(i.__H=i.i),i.__V!==Rt&&(i.__=i.__V),i.i=void 0,i.__V=Rt})),le=P=null},w.__c=function(t,e){e.some(function(i){try{i.__h.forEach(Lt),i.__h=i.__h.filter(function(o){return!o.__||ye(o)})}catch(o){e.some(function(a){a.__h&&(a.__h=[])}),e=[],w.__e(o,i.__v)}}),fi&&fi(t,e)},w.unmount=function(t){wi&&wi(t);var e,i=t.__c;i&&i.__H&&(i.__H.__.forEach(function(o){try{Lt(o)}catch(a){e=a}}),i.__H=void 0,e&&w.__e(e,i.__v))};var gi=typeof requestAnimationFrame=="function";function ln(t){var e,i=function(){clearTimeout(o),gi&&cancelAnimationFrame(e),setTimeout(t)},o=setTimeout(i,100);gi&&(e=requestAnimationFrame(i))}function Lt(t){var e=P,i=t.__c;typeof i=="function"&&(t.__c=void 0,i()),P=e}function ye(t){var e=P;t.__c=t.__(),P=e}function Ge(t,e){return!t||t.length!==e.length||e.some(function(i,o){return i!==t[o]})}function So(t,e){return typeof e=="function"?e(t):e}var cn=Symbol.for("preact-signals");function Xe(){if(_t>1)_t--;else{for(var t,e=!1;Tt!==void 0;){var i=Tt;for(Tt=void 0,xe++;i!==void 0;){var o=i.o;if(i.o=void 0,i.f&=-3,!(8&i.f)&&Eo(i))try{i.c()}catch(a){e||(t=a,e=!0)}i=o}}if(xe=0,_t--,e)throw t}}var C=void 0,Tt=void 0,_t=0,xe=0,Kt=0;function Co(t){if(C!==void 0){var e=t.n;if(e===void 0||e.t!==C)return e={i:0,S:t,p:C.s,n:void 0,t:C,e:void 0,x:void 0,r:e},C.s!==void 0&&(C.s.n=e),C.s=e,t.n=e,32&C.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=C.s,e.n=void 0,C.s.n=e,C.s=e),e}}function D(t){this.v=t,this.i=0,this.n=void 0,this.t=void 0}D.prototype.brand=cn;D.prototype.h=function(){return!0};D.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)};D.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)}};D.prototype.subscribe=function(t){var e=this;return Qe(function(){var i=e.value,o=C;C=void 0;try{t(i)}finally{C=o}})};D.prototype.valueOf=function(){return this.value};D.prototype.toString=function(){return this.value+""};D.prototype.toJSON=function(){return this.value};D.prototype.peek=function(){var t=C;C=void 0;try{return this.value}finally{C=t}};Object.defineProperty(D.prototype,"value",{get:function(){var t=Co(this);return t!==void 0&&(t.i=this.i),this.v},set:function(t){if(t!==this.v){if(xe>100)throw new Error("Cycle detected");this.v=t,this.i++,Kt++,_t++;try{for(var e=this.t;e!==void 0;e=e.x)e.t.N()}finally{Xe()}}}});function V(t){return new D(t)}function Eo(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 Po(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 To(t){for(var e=t.s,i=void 0;e!==void 0;){var o=e.p;e.i===-1?(e.S.U(e),o!==void 0&&(o.n=e.n),e.n!==void 0&&(e.n.p=o)):i=e,e.S.n=e.r,e.r!==void 0&&(e.r=void 0),e=o}t.s=i}function $t(t){D.call(this,void 0),this.x=t,this.s=void 0,this.g=Kt-1,this.f=4}($t.prototype=new D).h=function(){if(this.f&=-3,1&this.f)return!1;if((36&this.f)==32||(this.f&=-5,this.g===Kt))return!0;if(this.g=Kt,this.f|=1,this.i>0&&!Eo(this))return this.f&=-2,!0;var t=C;try{Po(this),C=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 C=t,To(this),this.f&=-2,!0};$t.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)}D.prototype.S.call(this,t)};$t.prototype.U=function(t){if(this.t!==void 0&&(D.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)}};$t.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($t.prototype,"value",{get:function(){if(1&this.f)throw new Error("Cycle detected");var t=Co(this);if(this.h(),t!==void 0&&(t.i=this.i),16&this.f)throw this.v;return this.v}});function dn(t){return new $t(t)}function Io(t){var e=t.u;if(t.u=void 0,typeof e=="function"){_t++;var i=C;C=void 0;try{e()}catch(o){throw t.f&=-2,t.f|=8,Je(t),o}finally{C=i,Xe()}}}function Je(t){for(var e=t.s;e!==void 0;e=e.n)e.S.U(e);t.x=void 0,t.s=void 0,Io(t)}function un(t){if(C!==this)throw new Error("Out-of-order effect");To(this),C=t,this.f&=-2,8&this.f&&Je(this),Xe()}function Nt(t){this.x=t,this.u=void 0,this.s=void 0,this.o=void 0,this.f=32}Nt.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()}};Nt.prototype.S=function(){if(1&this.f)throw new Error("Cycle detected");this.f|=1,this.f&=-9,Io(this),Po(this),_t++;var t=C;return C=this,un.bind(this,t)};Nt.prototype.N=function(){2&this.f||(this.f|=2,this.o=Tt,Tt=this)};Nt.prototype.d=function(){this.f|=8,1&this.f||Je(this)};function Qe(t){var e=new Nt(t);try{e.c()}catch(i){throw e.d(),i}return e.d.bind(e)}var ce;function St(t,e){w[t]=e.bind(null,w[t]||function(){})}function Zt(t){ce&&ce(),ce=t&&t.S()}function jo(t){var e=this,i=t.data,o=hn(i);o.value=i;var a=st(function(){for(var n=e.__v;n=n.__;)if(n.__c){n.__c.__$f|=4;break}return e.__$u.c=function(){var r;!lo(a.peek())&&((r=e.base)==null?void 0:r.nodeType)===3?e.base.data=a.peek():(e.__$f|=1,e.setState({}))},dn(function(){var r=o.value.value;return r===0?0:r===!0?"":r||""})},[]);return a.value}jo.displayName="_st";Object.defineProperties(D.prototype,{constructor:{configurable:!0,value:void 0},type:{configurable:!0,value:jo},props:{configurable:!0,get:function(){return{data:this}}},__b:{configurable:!0,value:1}});St("__b",function(t,e){if(typeof e.type=="string"){var i,o=e.props;for(var a in o)if(a!=="children"){var n=o[a];n instanceof D&&(i||(e.__np=i={}),i[a]=n,o[a]=n.peek())}}t(e)});St("__r",function(t,e){Zt();var i,o=e.__c;o&&(o.__$f&=-2,(i=o.__$u)===void 0&&(o.__$u=i=function(a){var n;return Qe(function(){n=this}),n.c=function(){o.__$f|=1,o.setState({})},n}())),Zt(i),t(e)});St("__e",function(t,e,i,o){Zt(),t(e,i,o)});St("diffed",function(t,e){Zt();var i;if(typeof e.type=="string"&&(i=e.__e)){var o=e.__np,a=e.props;if(o){var n=i.U;if(n)for(var r in n){var s=n[r];s!==void 0&&!(r in o)&&(s.d(),n[r]=void 0)}else i.U=n={};for(var l in o){var d=n[l],u=o[l];d===void 0?(d=pn(i,l,u,a),n[l]=d):d.o(u,a)}}}t(e)});function pn(t,e,i,o){var a=e in t&&t.ownerSVGElement===void 0,n=V(i);return{o:function(r,s){n.value=r,o=s},d:Qe(function(){var r=n.value.value;o[e]!==r&&(o[e]=r,a?t[e]=r:r?t.setAttribute(e,r):t.removeAttribute(e))})}}St("unmount",function(t,e){if(typeof e.type=="string"){var i=e.__e;if(i){var o=i.U;if(o){i.U=void 0;for(var a in o){var n=o[a];n&&n.d()}}}}else{var r=e.__c;if(r){var s=r.__$u;s&&(r.__$u=void 0,s.d())}}t(e)});St("__h",function(t,e,i,o){(o<3||o===9)&&(e.__$f|=2),t(e,i,o)});K.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 o in e)return!0;for(var a in t)if(a!=="__source"&&t[a]!==this.props[a])return!0;for(var n in this.props)if(!(n in t))return!0;return!1};function hn(t){return st(function(){return V(t)},[])}const R=Symbol.for("@ts-pattern/matcher"),Ao=Symbol.for("@ts-pattern/isVariadic"),Gt="@ts-pattern/anonymous-select-key",ke=t=>!!(t&&typeof t=="object"),Bt=t=>t&&!!t[R],j=(t,e,i)=>{if(Bt(t)){const o=t[R](),{matched:a,selections:n}=o.match(e);return a&&n&&Object.keys(n).forEach(r=>i(r,n[r])),a}if(ke(t)){if(!ke(e))return!1;if(Array.isArray(t)){if(!Array.isArray(e))return!1;let o=[],a=[],n=[];for(const r of t.keys()){const s=t[r];Bt(s)&&s[Ao]?n.push(s):n.length?a.push(s):o.push(s)}if(n.length){if(n.length>1)throw new Error("Pattern error: Using `...P.array(...)` several times in a single pattern is not allowed.");if(e.length<o.length+a.length)return!1;const r=e.slice(0,o.length),s=a.length===0?[]:e.slice(-a.length),l=e.slice(o.length,a.length===0?1/0:-a.length);return o.every((d,u)=>j(d,r[u],i))&&a.every((d,u)=>j(d,s[u],i))&&(n.length===0||j(n[0],l,i))}return t.length===e.length&&t.every((r,s)=>j(r,e[s],i))}return Reflect.ownKeys(t).every(o=>{const a=t[o];return(o in e||Bt(n=a)&&n[R]().matcherType==="optional")&&j(a,e[o],i);var n})}return Object.is(e,t)},F=t=>{var e,i,o;return ke(t)?Bt(t)?(e=(i=(o=t[R]()).getSelectionKeys)==null?void 0:i.call(o))!=null?e:[]:Array.isArray(t)?At(t,F):At(Object.values(t),F):[]},At=(t,e)=>t.reduce((i,o)=>i.concat(e(o)),[]);function Oo(...t){if(t.length===1){const[e]=t;return i=>j(e,i,()=>{})}if(t.length===2){const[e,i]=t;return j(e,i,()=>{})}throw new Error(`isMatching wasn't given the right number of arguments: expected 1 or 2, received ${t.length}.`)}function A(t){return Object.assign(t,{optional:()=>ti(t),and:e=>E(t,e),or:e=>zo(t,e),select:e=>e===void 0?Ot(t):Ot(e,t)})}function $e(t){return Object.assign((e=>Object.assign(e,{[Symbol.iterator](){let i=0;const o=[{value:Object.assign(e,{[Ao]:!0}),done:!1},{done:!0,value:void 0}];return{next:()=>{var a;return(a=o[i++])!=null?a:o.at(-1)}}}}))(t),{optional:()=>$e(ti(t)),select:e=>$e(e===void 0?Ot(t):Ot(e,t))})}function ti(t){return A({[R]:()=>({match:e=>{let i={};const o=(a,n)=>{i[a]=n};return e===void 0?(F(t).forEach(a=>o(a,void 0)),{matched:!0,selections:i}):{matched:j(t,e,o),selections:i}},getSelectionKeys:()=>F(t),matcherType:"optional"})})}const fn=(t,e)=>{for(const i of t)if(!e(i))return!1;return!0},wn=(t,e)=>{for(const[i,o]of t.entries())if(!e(o,i))return!1;return!0},gn=(t,e)=>{const i=Reflect.ownKeys(t);for(const o of i)if(!e(o,t[o]))return!1;return!0};function E(...t){return A({[R]:()=>({match:e=>{let i={};const o=(a,n)=>{i[a]=n};return{matched:t.every(a=>j(a,e,o)),selections:i}},getSelectionKeys:()=>At(t,F),matcherType:"and"})})}function zo(...t){return A({[R]:()=>({match:e=>{let i={};const o=(a,n)=>{i[a]=n};return At(t,F).forEach(a=>o(a,void 0)),{matched:t.some(a=>j(a,e,o)),selections:i}},getSelectionKeys:()=>At(t,F),matcherType:"or"})})}function m(t){return{[R]:()=>({match:e=>({matched:!!t(e)})})}}function Ot(...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 A({[R]:()=>({match:o=>{let a={[e??Gt]:o};return{matched:i===void 0||j(i,o,(n,r)=>{a[n]=r}),selections:a}},getSelectionKeys:()=>[e??Gt].concat(i===void 0?[]:F(i))})})}function Do(t){return!0}function G(t){return typeof t=="number"}function it(t){return typeof t=="string"}function ot(t){return typeof t=="bigint"}const No=A(m(Do)),bn=A(m(Do)),vn=No,at=t=>Object.assign(A(t),{startsWith:e=>{return at(E(t,(i=e,m(o=>it(o)&&o.startsWith(i)))));var i},endsWith:e=>{return at(E(t,(i=e,m(o=>it(o)&&o.endsWith(i)))));var i},minLength:e=>at(E(t,(i=>m(o=>it(o)&&o.length>=i))(e))),length:e=>at(E(t,(i=>m(o=>it(o)&&o.length===i))(e))),maxLength:e=>at(E(t,(i=>m(o=>it(o)&&o.length<=i))(e))),includes:e=>{return at(E(t,(i=e,m(o=>it(o)&&o.includes(i)))));var i},regex:e=>{return at(E(t,(i=e,m(o=>it(o)&&!!o.match(i)))));var i}}),bi=at(m(it)),X=t=>Object.assign(A(t),{between:(e,i)=>X(E(t,((o,a)=>m(n=>G(n)&&o<=n&&a>=n))(e,i))),lt:e=>X(E(t,(i=>m(o=>G(o)&&o<i))(e))),gt:e=>X(E(t,(i=>m(o=>G(o)&&o>i))(e))),lte:e=>X(E(t,(i=>m(o=>G(o)&&o<=i))(e))),gte:e=>X(E(t,(i=>m(o=>G(o)&&o>=i))(e))),int:()=>X(E(t,m(e=>G(e)&&Number.isInteger(e)))),finite:()=>X(E(t,m(e=>G(e)&&Number.isFinite(e)))),positive:()=>X(E(t,m(e=>G(e)&&e>0))),negative:()=>X(E(t,m(e=>G(e)&&e<0)))}),_n=X(m(G)),nt=t=>Object.assign(A(t),{between:(e,i)=>nt(E(t,((o,a)=>m(n=>ot(n)&&o<=n&&a>=n))(e,i))),lt:e=>nt(E(t,(i=>m(o=>ot(o)&&o<i))(e))),gt:e=>nt(E(t,(i=>m(o=>ot(o)&&o>i))(e))),lte:e=>nt(E(t,(i=>m(o=>ot(o)&&o<=i))(e))),gte:e=>nt(E(t,(i=>m(o=>ot(o)&&o>=i))(e))),positive:()=>nt(E(t,m(e=>ot(e)&&e>0))),negative:()=>nt(E(t,m(e=>ot(e)&&e<0)))}),mn=nt(m(ot)),yn=A(m(function(t){return typeof t=="boolean"})),xn=A(m(function(t){return typeof t=="symbol"})),kn=A(m(function(t){return t==null})),$n=A(m(function(t){return t!=null}));var pt={__proto__:null,matcher:R,optional:ti,array:function(...t){return $e({[R]:()=>({match:e=>{if(!Array.isArray(e))return{matched:!1};if(t.length===0)return{matched:!0};const i=t[0];let o={};if(e.length===0)return F(i).forEach(n=>{o[n]=[]}),{matched:!0,selections:o};const a=(n,r)=>{o[n]=(o[n]||[]).concat([r])};return{matched:e.every(n=>j(i,n,a)),selections:o}},getSelectionKeys:()=>t.length===0?[]:F(t[0])})})},set:function(...t){return A({[R]:()=>({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 o=(n,r)=>{i[n]=(i[n]||[]).concat([r])},a=t[0];return{matched:fn(e,n=>j(a,n,o)),selections:i}},getSelectionKeys:()=>t.length===0?[]:F(t[0])})})},map:function(...t){return A({[R]:()=>({match:e=>{if(!(e instanceof Map))return{matched:!1};let i={};if(e.size===0)return{matched:!0,selections:i};const o=(s,l)=>{i[s]=(i[s]||[]).concat([l])};if(t.length===0)return{matched:!0};var a;if(t.length===1)throw new Error(`\`P.map\` wasn't given enough arguments. Expected (key, value), received ${(a=t[0])==null?void 0:a.toString()}`);const[n,r]=t;return{matched:wn(e,(s,l)=>{const d=j(n,l,o),u=j(r,s,o);return d&&u}),selections:i}},getSelectionKeys:()=>t.length===0?[]:[...F(t[0]),...F(t[1])]})})},record:function(...t){return A({[R]:()=>({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 o={};const a=(s,l)=>{o[s]=(o[s]||[]).concat([l])},[n,r]=t.length===1?[bi,t[0]]:t;return{matched:gn(e,(s,l)=>{const d=typeof s!="string"||Number.isNaN(Number(s))?null:Number(s),u=d!==null&&j(n,d,a),c=j(n,s,a),f=j(r,l,a);return(c||u)&&f}),selections:o}},getSelectionKeys:()=>t.length===0?[]:[...F(t[0]),...F(t[1])]})})},intersection:E,union:zo,not:function(t){return A({[R]:()=>({match:e=>({matched:!j(t,e,()=>{})}),getSelectionKeys:()=>[],matcherType:"not"})})},when:m,select:Ot,any:No,unknown:bn,_:vn,string:bi,number:_n,bigint:mn,boolean:yn,symbol:xn,nullish:kn,nonNullable:$n,instanceOf:function(t){return A(m(function(e){return i=>i instanceof e}(t)))},shape:function(t){return A(m(Oo(t)))}};let Sn=class 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 Se={matched:!1,value:void 0};function ee(t){return new Cn(t,Se)}let Cn=class Ce{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],o=[e[0]];let a;e.length===3&&typeof e[1]=="function"?a=e[1]:e.length>2&&o.push(...e.slice(1,e.length-1));let n=!1,r={};const s=(d,u)=>{n=!0,r[d]=u},l=!o.some(d=>j(d,this.input,s))||a&&!a(this.input)?Se:{matched:!0,value:i(n?Gt in r?r[Gt]:r:this.input,this.input)};return new Ce(this.input,l)}when(e,i){if(this.state.matched)return this;const o=!!e(this.input);return new Ce(this.input,o?{matched:!0,value:i(this.input,this.input)}:Se)}otherwise(e){return this.state.matched?this.state.value:e(this.input)}exhaustive(e=En){return this.state.matched?this.state.value:e(this.input)}run(){return this.exhaustive()}returnType(){return this}narrow(){return this}};function En(t){throw new Sn(t)}function Fo(t){var e,i,o="";if(typeof t=="string"||typeof t=="number")o+=t;else if(typeof t=="object")if(Array.isArray(t)){var a=t.length;for(e=0;e<a;e++)t[e]&&(i=Fo(t[e]))&&(o&&(o+=" "),o+=i)}else for(i in t)t[i]&&(o&&(o+=" "),o+=i);return o}function ie(){for(var t,e,i=0,o="",a=arguments.length;i<a;i++)(t=arguments[i])&&(e=Fo(t))&&(o&&(o+=" "),o+=e);return o}const vi=t=>typeof t=="boolean"?`${t}`:t===0?"0":t,_i=ie,oe=(t,e)=>i=>{var o;if((e==null?void 0:e.variants)==null)return _i(t,i==null?void 0:i.class,i==null?void 0:i.className);const{variants:a,defaultVariants:n}=e,r=Object.keys(a).map(d=>{const u=i==null?void 0:i[d],c=n==null?void 0:n[d];if(u===null)return null;const f=vi(u)||vi(c);return a[d][f]}),s=i&&Object.entries(i).reduce((d,u)=>{let[c,f]=u;return f===void 0||(d[c]=f),d},{}),l=e==null||(o=e.compoundVariants)===null||o===void 0?void 0:o.reduce((d,u)=>{let{class:c,className:f,...g}=u;return Object.entries(g).every(p=>{let[b,k]=p;return Array.isArray(k)?k.includes({...n,...s}[b]):{...n,...s}[b]===k})?[...d,c,f]:d},[]);return _i(t,r,l,i==null?void 0:i.class,i==null?void 0:i.className)};function Mo(t,e){for(var i in e)t[i]=e[i];return t}function Ee(t,e){for(var i in t)if(i!=="__source"&&!(i in e))return!0;for(var o in e)if(o!=="__source"&&t[o]!==e[o])return!0;return!1}function de(t,e){return t===e&&(t!==0||1/t==1/e)||t!=t&&e!=e}function Pe(t){this.props=t}function Pn(t,e){function i(a){var n=this.props.ref,r=n==a.ref;return!r&&n&&(n.call?n(null):n.current=null),e?!e(this.props,a)||!r:Ee(this.props,a)}function o(a){return this.shouldComponentUpdate=i,Y(t,a)}return o.displayName="Memo("+(t.displayName||t.name)+")",o.prototype.isReactComponent=!0,o.__f=!0,o}(Pe.prototype=new K).isPureReactComponent=!0,Pe.prototype.shouldComponentUpdate=function(t,e){return Ee(this.props,t)||Ee(this.state,e)};var mi=w.__b;w.__b=function(t){t.type&&t.type.__f&&t.ref&&(t.props.ref=t.ref,t.ref=null),mi&&mi(t)};var Tn=typeof Symbol<"u"&&Symbol.for&&Symbol.for("react.forward_ref")||3911;function Ro(t){function e(i){var o=Mo({},i);return delete o.ref,t(o,i.ref||null)}return e.$$typeof=Tn,e.render=e,e.prototype.isReactComponent=e.__f=!0,e.displayName="ForwardRef("+(t.displayName||t.name)+")",e}var yi=function(t,e){return t==null?null:et(et(t).map(e))},In={map:yi,forEach:yi,count:function(t){return t?et(t).length:0},only:function(t){var e=et(t);if(e.length!==1)throw"Children.only";return e[0]},toArray:et},jn=w.__e;w.__e=function(t,e,i,o){if(t.then){for(var a,n=e;n=n.__;)if((a=n.__c)&&a.__c)return e.__e==null&&(e.__e=i.__e,e.__k=i.__k),a.__c(t,e)}jn(t,e,i,o)};var xi=w.unmount;function Lo(t,e,i){return t&&(t.__c&&t.__c.__H&&(t.__c.__H.__.forEach(function(o){typeof o.__c=="function"&&o.__c()}),t.__c.__H=null),(t=Mo({},t)).__c!=null&&(t.__c.__P===i&&(t.__c.__P=e),t.__c=null),t.__k=t.__k&&t.__k.map(function(o){return Lo(o,e,i)})),t}function Bo(t,e,i){return t&&(t.__v=null,t.__k=t.__k&&t.__k.map(function(o){return Bo(o,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 It(){this.__u=0,this.t=null,this.__b=null}function Ho(t){var e=t.__.__c;return e&&e.__a&&e.__a(t)}function Uo(t){var e,i,o;function a(n){if(e||(e=t()).then(function(r){i=r.default||r},function(r){o=r}),o)throw o;if(!i)throw e;return Y(i,n)}return a.displayName="Lazy",a.__f=!0,a}function Et(){this.u=null,this.o=null}w.unmount=function(t){var e=t.__c;e&&e.__R&&e.__R(),e&&t.__h===!0&&(t.type=null),xi&&xi(t)},(It.prototype=new K).__c=function(t,e){var i=e.__c,o=this;o.t==null&&(o.t=[]),o.t.push(i);var a=Ho(o.__v),n=!1,r=function(){n||(n=!0,i.__R=null,a?a(s):s())};i.__R=r;var s=function(){if(!--o.__u){if(o.state.__a){var d=o.state.__a;o.__v.__k[0]=Bo(d,d.__c.__P,d.__c.__O)}var u;for(o.setState({__a:o.__b=null});u=o.t.pop();)u.forceUpdate()}},l=e.__h===!0;o.__u++||l||o.setState({__a:o.__b=o.__v.__k[0]}),t.then(r,r)},It.prototype.componentWillUnmount=function(){this.t=[]},It.prototype.render=function(t,e){if(this.__b){if(this.__v.__k){var i=document.createElement("div"),o=this.__v.__k[0].__c;this.__v.__k[0]=Lo(this.__b,i,o.__O=o.__P)}this.__b=null}var a=e.__a&&Y(q,null,t.fallback);return a&&(a.__h=null),[Y(q,null,e.__a?null:t.children),a]};var ki=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 An(t){return this.getChildContext=function(){return t.context},t.children}function On(t){var e=this,i=t.i;e.componentWillUnmount=function(){wt(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(o){this.childNodes.push(o),e.i.appendChild(o)},insertBefore:function(o,a){this.childNodes.push(o),e.i.appendChild(o)},removeChild:function(o){this.childNodes.splice(this.childNodes.indexOf(o)>>>1,1),e.i.removeChild(o)}}),wt(Y(An,{context:e.context},t.__v),e.l)):e.l&&e.componentWillUnmount()}function zn(t,e){var i=Y(On,{__v:t,i:e});return i.containerInfo=e,i}(Et.prototype=new K).__a=function(t){var e=this,i=Ho(e.__v),o=e.o.get(t);return o[0]++,function(a){var n=function(){e.props.revealOrder?(o.push(a),ki(e,t,o)):a()};i?i(n):n()}},Et.prototype.render=function(t){this.u=null,this.o=new Map;var e=et(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},Et.prototype.componentDidUpdate=Et.prototype.componentDidMount=function(){var t=this;this.o.forEach(function(e,i){ki(t,i,e)})};var Wo=typeof Symbol<"u"&&Symbol.for&&Symbol.for("react.element")||60103,Dn=/^(?: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]/,Nn=/^on(Ani|Tra|Tou|BeforeInp|Compo)/,Fn=/[A-Z0-9]/g,Mn=typeof document<"u",Rn=function(t){return(typeof Symbol<"u"&&typeof Symbol()=="symbol"?/fil|che|rad/:/fil|che|ra/).test(t)};function Ln(t,e,i){return e.__k==null&&(e.textContent=""),wt(t,e),typeof i=="function"&&i(),t?t.__c:null}function Bn(t,e,i){return mo(t,e),typeof i=="function"&&i(),t?t.__c:null}K.prototype.isReactComponent={},["componentWillMount","componentWillReceiveProps","componentWillUpdate"].forEach(function(t){Object.defineProperty(K.prototype,t,{configurable:!0,get:function(){return this["UNSAFE_"+t]},set:function(e){Object.defineProperty(this,t,{configurable:!0,writable:!0,value:e})}})});var $i=w.event;function Hn(){}function Un(){return this.cancelBubble}function Wn(){return this.defaultPrevented}w.event=function(t){return $i&&(t=$i(t)),t.persist=Hn,t.isPropagationStopped=Un,t.isDefaultPrevented=Wn,t.nativeEvent=t};var ei,Vn={enumerable:!1,configurable:!0,get:function(){return this.class}},Si=w.vnode;w.vnode=function(t){typeof t.type=="string"&&function(e){var i=e.props,o=e.type,a={};for(var n in i){var r=i[n];if(!(n==="value"&&"defaultValue"in i&&r==null||Mn&&n==="children"&&o==="noscript"||n==="class"||n==="className")){var s=n.toLowerCase();n==="defaultValue"&&"value"in i&&i.value==null?n="value":n==="download"&&r===!0?r="":s==="ondoubleclick"?n="ondblclick":s!=="onchange"||o!=="input"&&o!=="textarea"||Rn(i.type)?s==="onfocus"?n="onfocusin":s==="onblur"?n="onfocusout":Nn.test(n)?n=s:o.indexOf("-")===-1&&Dn.test(n)?n=n.replace(Fn,"-$&").toLowerCase():r===null&&(r=void 0):s=n="oninput",s==="oninput"&&a[n=s]&&(n="oninputCapture"),a[n]=r}}o=="select"&&a.multiple&&Array.isArray(a.value)&&(a.value=et(i.children).forEach(function(l){l.props.selected=a.value.indexOf(l.props.value)!=-1})),o=="select"&&a.defaultValue!=null&&(a.value=et(i.children).forEach(function(l){l.props.selected=a.multiple?a.defaultValue.indexOf(l.props.value)!=-1:a.defaultValue==l.props.value})),i.class&&!i.className?(a.class=i.class,Object.defineProperty(a,"className",Vn)):(i.className&&!i.class||i.class&&i.className)&&(a.class=a.className=i.className),e.props=a}(t),t.$$typeof=Wo,Si&&Si(t)};var Ci=w.__r;w.__r=function(t){Ci&&Ci(t),ei=t.__c};var Ei=w.diffed;w.diffed=function(t){Ei&&Ei(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 Yn={ReactCurrentDispatcher:{current:{readContext:function(t){return ei.__n[t.__c].props.value}}}};function qn(t){return Y.bind(null,t)}function Vo(t){return!!t&&t.$$typeof===Wo}function Kn(t){return Vo(t)?en.apply(null,arguments):t}function Zn(t){return!!t.__k&&(wt(null,t),!0)}function Gn(t){return t&&(t.base||t.nodeType===1&&t)||null}var Xn=function(t,e){return t(e)},Jn=function(t,e){return t(e)},Qn=q;function Yo(t){t()}function tr(t){return t}function er(){return[!1,Yo]}var ir=bt;function or(t,e){var i=e(),o=Ze({h:{__:i,v:e}}),a=o[0].h,n=o[1];return bt(function(){a.__=i,a.v=e,de(a.__,e())||n({h:a})},[t,i,e]),te(function(){return de(a.__,a.v())||n({h:a}),t(function(){de(a.__,a.v())||n({h:a})})},[t]),i}var ar={useState:Ze,useId:rn,useReducer:ko,useEffect:te,useLayoutEffect:bt,useInsertionEffect:ir,useTransition:er,useDeferredValue:tr,useSyncExternalStore:or,startTransition:Yo,useRef:gt,useImperativeHandle:on,useMemo:st,useCallback:an,useContext:$o,useDebugValue:nn,version:"17.0.2",Children:In,render:Ln,hydrate:Bn,unmountComponentAtNode:Zn,createPortal:zn,createElement:Y,createContext:yo,createFactory:qn,cloneElement:Kn,createRef:Ga,Fragment:q,isValidElement:Vo,findDOMNode:Gn,Component:K,PureComponent:Pe,memo:Pn,forwardRef:Ro,flushSync:Jn,unstable_batchedUpdates:Xn,StrictMode:Qn,Suspense:It,SuspenseList:Et,lazy:Uo,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:Yn},nr=["other","few","many","two","one","zero"],Pi=({terms:t,overrides:e,locale:i})=>{const o=new Intl.PluralRules(i);function a(n,r){const s=(e==null?void 0:e[n])??t[n];switch(typeof s){case"string":return s.replace(/{{(\w+)}}/g,(l,d)=>{var u;return((u=r==null?void 0:r[d])==null?void 0:u.toString())??""});case"object":{if(typeof(r==null?void 0:r.count)!="number")throw new Error(`Missing count for translation key “${n.toString()}”`);let l=o.select(r.count);if(!(l in s)){const d=nr.find(u=>u in s);if(!d)throw new Error(`Missing plural rule for translation key “${n.toString()}”`);l=d}return s[l].replace(/{{(\w+)}}/g,(d,u)=>{var c;return((c=r==null?void 0:r[u])==null?void 0:c.toString())??""})}default:throw new Error(`Invalid translation value in dictionary for key “${n.toString()}”.`)}}return a},rr=0;function h(t,e,i,o,a,n){var r,s,l={};for(s in e)s=="ref"?r=e[s]:l[s]=e[s];var d={type:t,props:l,key:i,ref:r,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,__h:null,constructor:void 0,__v:--rr,__source:a,__self:n};if(typeof t=="function"&&(r=t.defaultProps))for(s in r)l[s]===void 0&&(l[s]=r[s]);return w.vnode&&w.vnode(d),d}var Ti=yo(null),qo=t=>({defaultTerms:t,TranslationProvider:({terms:e,children:i,locale:o})=>{const a=st(()=>Pi({locale:o,terms:t,overrides:e}),[e,o]);return h(Ti.Provider,{value:{t:a,locale:o},children:i})},useTranslation:()=>{const e=$o(Ti);if(e===null)throw new Error("Please wrap useTranslation in a TranslationProvider");return{t:e.t,locale:e.locale}},createTFunction:({overrides:e,locale:i})=>Pi({terms:t,overrides:e,locale:i})}),sr={conversation_history:"Conversation history",jump_to_current:"Jump to current question",send:"Send",submitting:"Sending your application…",skip:"Skip",skipped:"Skipped",submission_closed:"Sorry, this role closed while you were applying.",submission_duplicate_earlier_attempt:"You've already applied for this role. If that doesn't sound right, it's most likely a hiccup from your earlier attempt — don't worry, we have your application.",submission_failed:"We couldn't submit your application. Choose Restart to try again.",submission_unknown_do_not_resubmit:"We couldn't confirm whether your application went through, and submitting it again won't help. Please don't keep resubmitting — check your email for a confirmation, or contact the employer if nothing arrives.",submission_unreadable_document:"We couldn't read that file. Please upload a different one.",submission_cooldown:{one:"Submit will be available again in {{count}} second.",other:"Submit will be available again in {{count}} seconds."},submission_cooldown_ready:"Submit is available again.",captcha_check:"One quick check before we send your application",submission_still_working:"Sending your application, this can take up to a minute. Please keep this page open.",file_preparing:{one:"Preparing your file…",other:"Preparing your files…"},file_ready:{one:"Your file is ready to send",other:"Your files are ready to send"},file_read_error:"We couldn't read this file. Select it again or choose another file.",file_read_error_replacement:"We couldn't read this file, so your previous file is no longer selected. Select it again or choose another file.",address_error:"We couldn't search for that address. Try again, or fill it in manually.",address_searching:"Searching addresses…",address_no_results:"We couldn't find that address. Check the spelling or postcode, or fill it in manually.",restart:"Restart",chat_messages:"Chat messages",file_name:"File name",file_size:"File size",file_total_size:"{{size}} total",loading:"Loading",minimize:"Minimise"},{TranslationProvider:as,useTranslation:ns,createTFunction:rs,defaultTerms:lr}=qo({submission_redirect_message:"One last step: finish your application on the employer's site.",complete_submission:"Continue on the employer's site",submission_completed:"Submission completed!",submission_pending:"Thanks, we've received your application and are processing it.",submission_failed:"Failed to submit",submission_provider_maintenance:"Sorry, our recruitment system is down for scheduled maintenance until about {{time}}. Please keep this page open and try again when maintenance ends. We apologise for the inconvenience.",submission_provider_maintenance_later:"Sorry, our recruitment system is down for scheduled maintenance until later today. Please keep this page open and try again when maintenance ends. We apologise for the inconvenience.",submission_available_at:"Submit will be available again at {{time}}.",resume_prompt:"You have an unfinished application for this role. Continue where you left off?",resume_continue:"Continue",resume_start_again:"Start again",captcha_failed:"Cloudflare seems to think you're a robot. If that's not the case, please try again in a moment.",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_empty:"Please enter a value",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_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_whole:"Enter a whole number",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_min:{one:"Please upload at least one file",other:"Please only upload at least {{count}} files"},validation_file_max:{one:"Please only upload one file",other:"Please only upload up to {{count}} files"},validation_file_size:"Your file is too big. Please upload a file smaller than {{size}}",validation_file_empty:"This file is empty. If it’s saved in iCloud, Google Drive or OneDrive, download it to your device, then select it again.",validation_required:"This field is required.",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"},optional:"optional"});const{TranslationProvider:cr,useTranslation:Ft,createTFunction:dr}=qo({...lr,...sr,error_heading:"Something unexpected happened",flow_closed:"This role is no longer accepting applications.",undo:"Change answer",job_alerts_offer:"Want to hear about similar roles? We can email you at {{email}} when new ones open.",job_alerts_accept:"Get job alerts",job_alerts_decline:"No thanks",job_alerts_privacy:"We'll use your email only for these alerts. You can unsubscribe at any time.",job_alerts_privacy_sender:"{{employer}} will email you new jobs like this one. Every email has an unsubscribe link.",job_alerts_success:"Done. We'll email you about similar roles.",job_alerts_error:"Sorry, we couldn't set that up. Please try again later.",submission_duplicate:"You've already applied for this role, so we haven't submitted a second application. If that doesn't sound right, check your email for a confirmation or try again in a few minutes.",submission_retryable:"We couldn't submit your application. Please try again.",submission_unknown:"We couldn't confirm whether your application was sent. Please check your email for a confirmation. If nothing arrives, choose Restart to apply again.",maximize:"Maximise",submit:"Submit",file_more:{one:"+{{count}} file",other:"+{{count}} files"}});function ii(t,e){if(!t)throw new Error(e)}var Te=t=>t===null||typeof t!="object"?t:Array.isArray(t)?t.map(Te):Object.keys(t).sort().reduce((e,i)=>(e[i]=Te(t[i]),e),{}),ur=t=>{let e=JSON.stringify(Te(t)),i=5381;for(let o=0;o<e.length;o++)i=i*33^e.charCodeAt(o);return(i>>>0).toString(36)};const Ie=(t,e)=>e.some(i=>t instanceof i);let Ii,ji;function pr(){return Ii||(Ii=[IDBDatabase,IDBObjectStore,IDBIndex,IDBCursor,IDBTransaction])}function hr(){return ji||(ji=[IDBCursor.prototype.advance,IDBCursor.prototype.continue,IDBCursor.prototype.continuePrimaryKey])}const je=new WeakMap,ue=new WeakMap,ae=new WeakMap;function fr(t){const e=new Promise((i,o)=>{const a=()=>{t.removeEventListener("success",n),t.removeEventListener("error",r)},n=()=>{i(ft(t.result)),a()},r=()=>{o(t.error),a()};t.addEventListener("success",n),t.addEventListener("error",r)});return ae.set(e,t),e}function wr(t){if(je.has(t))return;const e=new Promise((i,o)=>{const a=()=>{t.removeEventListener("complete",n),t.removeEventListener("error",r),t.removeEventListener("abort",r)},n=()=>{i(),a()},r=()=>{o(t.error||new DOMException("AbortError","AbortError")),a()};t.addEventListener("complete",n),t.addEventListener("error",r),t.addEventListener("abort",r)});je.set(t,e)}let Ae={get(t,e,i){if(t instanceof IDBTransaction){if(e==="done")return je.get(t);if(e==="store")return i.objectStoreNames[1]?void 0:i.objectStore(i.objectStoreNames[0])}return ft(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 Ko(t){Ae=t(Ae)}function gr(t){return hr().includes(t)?function(...e){return t.apply(Oe(this),e),ft(this.request)}:function(...e){return ft(t.apply(Oe(this),e))}}function br(t){return typeof t=="function"?gr(t):(t instanceof IDBTransaction&&wr(t),Ie(t,pr())?new Proxy(t,Ae):t)}function ft(t){if(t instanceof IDBRequest)return fr(t);if(ue.has(t))return ue.get(t);const e=br(t);return e!==t&&(ue.set(t,e),ae.set(e,t)),e}const Oe=t=>ae.get(t);function vr(t,e,{blocked:i,upgrade:o,blocking:a,terminated:n}={}){const r=indexedDB.open(t,e),s=ft(r);return o&&r.addEventListener("upgradeneeded",l=>{o(ft(r.result),l.oldVersion,l.newVersion,ft(r.transaction),l)}),i&&r.addEventListener("blocked",l=>i(l.oldVersion,l.newVersion,l)),s.then(l=>{n&&l.addEventListener("close",()=>n()),a&&l.addEventListener("versionchange",d=>a(d.oldVersion,d.newVersion,d))}).catch(()=>{}),s}const _r=["get","getKey","getAll","getAllKeys","count"],mr=["put","add","delete","clear"],pe=new Map;function Ai(t,e){if(!(t instanceof IDBDatabase&&!(e in t)&&typeof e=="string"))return;if(pe.get(e))return pe.get(e);const i=e.replace(/FromIndex$/,""),o=e!==i,a=mr.includes(i);if(!(i in(o?IDBIndex:IDBObjectStore).prototype)||!(a||_r.includes(i)))return;const n=async function(r,...s){const l=this.transaction(r,a?"readwrite":"readonly");let d=l.store;return o&&(d=d.index(s.shift())),(await Promise.all([d[i](...s),a&&l.done]))[0]};return pe.set(e,n),n}Ko(t=>({...t,get:(e,i,o)=>Ai(e,i)||t.get(e,i,o),has:(e,i)=>!!Ai(e,i)||t.has(e,i)}));const yr=["continue","continuePrimaryKey","advance"],Oi={},ze=new WeakMap,Zo=new WeakMap,xr={get(t,e){if(!yr.includes(e))return t[e];let i=Oi[e];return i||(i=Oi[e]=function(...o){ze.set(this,Zo.get(this)[e](...o))}),i}};async function*kr(...t){let e=this;if(e instanceof IDBCursor||(e=await e.openCursor(...t)),!e)return;e=e;const i=new Proxy(e,xr);for(Zo.set(i,e),ae.set(i,Oe(e));e;)yield i,e=await(ze.get(i)||e.continue()),ze.delete(i)}function zi(t,e){return e===Symbol.asyncIterator&&Ie(t,[IDBIndex,IDBObjectStore,IDBCursor])||e==="iterate"&&Ie(t,[IDBIndex,IDBObjectStore])}Ko(t=>({...t,get(e,i,o){return zi(e,i)?kr:t.get(e,i,o)},has(e,i){return zi(e,i)||t.has(e,i)}}));const jt=typeof indexedDB>"u"?void 0:vr("inploi-chatbot",3,{upgrade(t){try{t.deleteObjectStore("state")}catch{}t.createObjectStore("state")}}),$r=t=>({...t,messages:t.messages.map(e=>{if(e.type!=="link")return e;const{onClick:i,...o}=e;return o})});let Ht,he,Ct;const Di=()=>{if(!Ht)return Ct;const t=Ht;Ht=void 0;const e=Xt(t),i=jt==null?void 0:jt.then(o=>o.put("state",$r(t.data),e)).finally(()=>{Ct===i&&(Ct=void 0)});return Ct=i,Ct},W={getStateData:async(t,e,i)=>{var a;const o=Xt({...t,flowKeys:e,context:i});return(a=await jt)==null?void 0:a.get("state",o)},getAllStateData:async()=>{var t;return((t=await jt)==null?void 0:t.getAll("state"))??[]},setStateData:t=>{Ht=t,clearTimeout(he),he=setTimeout(()=>void Di(),1e3)},flushStateData:()=>(clearTimeout(he),Di()??Promise.resolve())},Sr=t=>e=>e?e.type===t:!1,Cr=()=>typeof crypto<"u"&&"randomUUID"in crypto?crypto.randomUUID():Math.random().toString(36).slice(2),Ni=()=>({messages:[],submissions:{},currentInput:null,nodeHistory:[],startedWriteNodeIds:[],isFinished:!1,hasInteracted:!1,sequence:0,flowSessionId:Cr()}),Er=t=>ee(t).with({nativeEvent:{submitter:pt.select(pt.union(pt.instanceOf(HTMLButtonElement),pt.instanceOf(HTMLInputElement)))}},e=>e).otherwise(()=>{throw new Error("invalid submitter")}),Ut=(t,e,i,o=0)=>{if(!e.nextId)return i(e.id,{stepsMade:o,remainingSteps:0}),{stepsMade:o,remainingSteps:0};const a=t.find(d=>d.id===e.nextId);if(a===void 0)return{stepsMade:o,remainingSteps:0};const n=e.type==="if-block"?e.branchId:void 0,r=t.find(d=>d.id===n),s=e.type.includes("question")?1:0;if(r){const d=s+Math.max(Ut(t,a,i,o+s).remainingSteps,Ut(t,r,i,o+s).remainingSteps);return i(e.id,{stepsMade:o,remainingSteps:d}),{stepsMade:o,remainingSteps:d}}const l=s+Ut(t,a,i,o+s).remainingSteps;return i(e.id,{stepsMade:o,remainingSteps:l}),{stepsMade:o,remainingSteps:l}},Pr=t=>{const e={},i=t.find(o=>o.isHead);return i&&Ut(t,i,(o,a)=>{e[o]=a}),e},Xt=t=>[...t.flowKeys,t.id,t.version,t.build,ur(t.hostContext??t.context)].join("/"),Tr=({data:t,nodes:e})=>{const i=t.startedWriteNodeIds===void 0?e.some(o=>o.type==="integration-application-submit"&&t.nodeHistory.includes(o.id)):t.startedWriteNodeIds.length>0;return!t.isFinished&&!i&&Xi(e,t.submissions)},Fi=({data:t,nodes:e})=>{var i;return!t.isFinished&&((((i=t.startedWriteNodeIds)==null?void 0:i.length)??0)>0||Xi(e,t.submissions))},J=V({state:"idle"}),fe=new Set,ct=t=>{const{state:e,flow:i}=J.value;if(e!=="loaded")return;ii(i,"No flow to update");const o=t(i.data);i.data=o,J.value={state:e,flow:i},W.setStateData(i)},S={current$:J,viewState$:V("closed"),prepareFlow:async({jobAlerts:t,flow:e,context:i={},jobContext:o,flowKeys:a,title:n,analytics:r,job:s,employer:l,locationOrigin:d})=>{await W.flushStateData().catch(()=>{});const u=await W.getStateData(e,a,i),c=u??Ni(),f=Xt({...e,flowKeys:a,context:i}),g=u!==void 0&&!fe.has(f)&&Tr({data:c,nodes:e.nodes});return g||fe.add(f),{jobAlerts:t,data:c,offerResume:g,startedAt:new Date,nodeIdToProgress:Pr(e.nodes),flowKeys:a,id:e.id,version:e.version,nodes:e.nodes,build:e.build,context:o===void 0?i:Ye(o,i),hostContext:o===void 0?void 0:i,title:n,analytics:r,job:s,employer:l,locationOrigin:d}},commitFlow:t=>{J.value={state:"loaded",flow:t},W.setStateData(t)},settleResume:t=>{t.offerResume=!1,fe.add(Xt(t))},cancelCurrentFlow:()=>{J.value={state:"idle"},S.viewState$.value="closed"},markAsFinished:()=>ct(t=>({...t,isFinished:!0})),markAsInteracted:()=>ct(t=>({...t,hasInteracted:!0})),setCurrentNodeId:t=>ct(e=>(e.nodeHistory.push(t),e)),setApplicationRecovery:async t=>{ct(e=>(t?e.applicationRecovery=t:delete e.applicationRecovery,e)),await W.flushStateData()},restart:()=>{const{state:t,flow:e}=J.value;if(t!=="loaded")throw new Error("Flow cannot be restarted: not in valid state");const i={...Ni(),failedAttemptAt:e.data.failedAttemptAt,unconfirmedAttemptKeys:e.data.unconfirmedAttemptKeys,submitCooldown:e.data.submitCooldown},o={...e,data:i,startedAt:new Date,offerResume:!1};J.value={state:t,flow:o},W.setStateData(o)},addMessage:(t,e)=>{const i={...t,groupId:e};return ct(o=>(o.messages.push(i),o))},removeMessagesSentByNodeIds:t=>{const{state:e,flow:i}=J.value;ii(e==="loaded","Application not loaded");const o=i.data.messages.filter(a=>!a.groupId||!t.includes(a.groupId));i.data.messages=o,W.setStateData(i)},setSubmission:(t,e)=>ct(i=>(e===null?delete i.submissions[t]:i.submissions[t]=e,i)),setInput:t=>ct(e=>({...e,currentInput:t??null})),persistWriteBarrier:async t=>{J.peek().flow===t&&(J.value={state:"loaded",flow:t}),W.setStateData(t),await W.flushStateData()}},Mi=({heading:t})=>{const{t:e}=Ft();return h("div",{class:"flex flex-grow flex-col items-center justify-center",children:[h("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:[h("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"}),h("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"}),h("line",{x1:"36.7",y1:"39.3",x2:"44.8",y2:"47.4"}),h("line",{x1:"52.2",y1:"39.3",x2:"60.3",y2:"47.4"}),h("line",{x1:"44.7",y1:"39.2",x2:"36.6",y2:"47.3"}),h("line",{x1:"60.2",y1:"39.2",x2:"52.1",y2:"47.3"}),h("path",{d:"M38 56h19"})]}),h("div",{class:"flex flex-col gap-2 text-center",children:h("p",{class:"text-error-11 font-bold",children:e(t)})})]})},Go=t=>{const{t:e}=Ft();return h("svg",{role:"img",viewBox:"0 0 24 24",...t,children:[h("title",{children:e("loading")}),h("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)}}"}),h("g",{id:"s1",transform:"translate(12,0)",children:h("g",{id:"s2",transform:"scale(0,0)",children:h("circle",{r:"6.5",transform:"translate(0,0)",fill:"currentColor"})})}),h("g",{id:"s3",transform:"translate(12,12)",children:h("g",{id:"s4",transform:"scale(1,1)",children:h("circle",{r:"6.5",transform:"translate(0,0)",fill:"currentColor"})})}),h("g",{id:"s5",transform:"translate(12,0)",children:h("g",{id:"s6",transform:"scale(0,0)",children:h("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"})})}),h("g",{id:"s7",transform:"translate(12,0)",children:h("g",{id:"s8",transform:"scale(0,0)",children:h("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"})})})]})},Ri=()=>h("div",{class:"flex flex-grow flex-col items-center justify-center",children:h(Go,{class:"text-neutral-6 h-8 w-8"})}),Ir=t=>{const i=t/100,o=1.3;return t<0?"0%":t>100?"100%":`${Math.round((1-(1-.1)*Math.pow(1-i,o))*100)}%`},jr=oe("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"}}),Jt=({class:t,children:e,variant:i,...o})=>h("button",{class:ie(jr({variant:i}),t),...o,children:h("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})}),Xo=()=>h("path",{d:"M12.5 6.5L8 11L3.5 6.5"}),Ar=()=>{if(S.current$.value.state!=="loaded")return null;const t=S.current$.value.flow.nodeIdToProgress,e=S.current$.value.flow.data.nodeHistory.at(-1);if(e===void 0)return null;const i=t[e];if(i===void 0)return null;const o=100*(i.stepsMade/(i.remainingSteps+i.stepsMade));return h("div",{class:"bg-accent-3",children:h("div",{style:{width:Ir(o)},class:"bg-accent-9 ring-accent-6 relative h-[3px] rounded-full transition-all duration-1000"})})},Or=({children:t,params:e,analytics:i,feedbackReady:o})=>{const{t:a}=Ft(),n=S.viewState$,r=!!e.feedback&&S.current$.value.state==="loaded"&&n.value==="maximised",s=r&&o.value,l=gt(!1);return te(()=>{var d,u;!s||l.current||(l.current=!0,i.log({event:"INTERACTION",properties:{tag:"feedback_shown"},customProperties:(u=(d=S.current$.peek().flow)==null?void 0:d.analytics)==null?void 0:u.customProperties}))},[s,i]),h(q,{children:h("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:[h("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:[h("p",{id:"chatbot-status-bar",class:"sr-only",children:t}),h("button",{"aria-label":a("minimize"),onClick:()=>{n.value="minimised"},class:"view-switch h-full flex-grow overflow-hidden px-4 py-1 focus-visible:outline-none",onTouchStart:De,children:h("p",{"aria-hidden":!0,class:"text-neutral-12 truncate text-sm font-bold tracking-tight",children:t})}),h("div",{class:"flex flex-shrink-0 items-center gap-3 p-1.5",children:[e.feedback?h("div",{"data-widget":"inploi-feedback","data-key":"chatbot-header",class:ie({hidden:!r}),children:h("div",{class:"ring-neutral-4 bg-neutral-3 h-8 w-[72px] animate-pulse rounded-full ring-1"})}):null,S.current$.value.state==="loaded"&&h(Jt,{class:"mx-1","aria-label":a("restart"),onClick:()=>{S.restart()},children:[h("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"}),h("path",{d:"M8 7L10 4.5L8 2.5"})]},"restart"),h(Jt,{class:"view-switch mx-1",onTouchStart:De,"aria-label":a("minimize"),onClick:()=>n.value="minimised",children:h(Xo,{})},"minmax")]})]}),h(Ar,{})]})})};function De(){}const zr=Uo(()=>Promise.resolve().then(()=>require("./chatbot-body-045352bb.cjs")).then(t=>t.ChatbotBody)),Jo=oe("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"}}}),Qo=oe("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"}}}),Dr=({open:t,...e})=>{const i=gt(null);return bt(()=>{const o=i.current;o&&(t?o.showModal():o.close())},[t]),h("dialog",{ref:i,...e})},Nr=({env:t,logger:e,apiClient:i,rpcClient:o,analytics:a,talentBankClient:n,params:r,feedbackReady:s})=>{const{state:l,flow:d}=S.current$.value,u=S.viewState$.value,c=l!=="idle"&&u==="maximised",f=gt(null),g=d?[...d.data.nodeHistory].reverse().map(p=>d.nodes.find(b=>b.id===p)).find(p=>(p==null?void 0:p.type)==="flow-section"):void 0;return h(cr,{terms:r.terms,locale:void 0,children:[h(Dr,{open:c,onClose:()=>S.viewState$.value="minimised",children:h("div",{ref:f,"aria-modal":"true",role:"dialog","aria-labelledby":"chatbot-status-bar",class:Jo({view:"maximised"}),children:h("div",{class:Qo({view:"maximised"}),children:[h(Or,{params:r,analytics:a,feedbackReady:s,children:g?h(q,{children:[h("span",{class:"block",children:g.data.title}),h("span",{class:"block truncate text-xs font-normal",children:d==null?void 0:d.title})]}):d==null?void 0:d.title}),ee({state:l,view:u}).with({state:"idle"},()=>null).with({state:"loading"},()=>h(Ri,{},"loading")).with({state:"loaded"},()=>h(It,{fallback:h(Ri,{},"loading"),children:h(zr,{env:t,rpcClient:o,analytics:a,apiClient:i,logger:e,talentBankClient:n})})).with({state:"closed"},()=>h(Mi,{heading:"flow_closed"})).with({state:"error"},()=>h(Mi,{heading:"error_heading"})).exhaustive()]})})}),u==="minimised"?h(Fr,{flow:d}):null]})},Fr=({flow:t})=>{const{t:e}=Ft();return h("div",{class:Jo({view:"minimised",class:"z-100 isolate"}),children:h("div",{class:Qo({view:"minimised"}),children:[h("button",{onClick:()=>{S.viewState$.value="maximised"},class:"view-switch h-full flex-grow overflow-hidden px-4 py-1 focus-visible:outline-none",onTouchStart:De,children:h("p",{"aria-hidden":!0,class:"truncate text-sm font-bold tracking-tight text-white",children:t==null?void 0:t.title})}),h("div",{class:"flex items-center px-0.5",children:h(Jt,{class:"mx-1","aria-label":e("close_application"),onClick:S.cancelCurrentFlow,variant:"white",children:h("path",{d:"M12 12L4 4M12 4L4 12"})},"close")})]})})},Mr=`[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!important}[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-1{bottom:4px}[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-1\\/2{left:50%}[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-1{margin-left:4px;margin-right:4px}[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-0\\.5{margin-top:2px}[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\\(100\\%-var\\(--header-height\\)-4rem\\)\\]{max-height:calc(100% - var(--header-height) - 64px)}[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-0{min-height:0px}[data-widget=inploi-chatbot] .min-h-\\[36px\\]{min-height:36px}[data-widget=inploi-chatbot] .min-h-\\[44px\\]{min-height:44px}[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] .shrink-0{flex-shrink:0}[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] .-translate-x-1\\/2{--tw-translate-x: -50%;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] .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-none{resize:none}[data-widget=inploi-chatbot] .resize-y{resize:vertical}[data-widget=inploi-chatbot] .resize{resize:both}[data-widget=inploi-chatbot] .scroll-pb-12{scroll-padding-bottom:48px}[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-start{align-items:flex-start}[data-widget=inploi-chatbot] .items-end{align-items:flex-end}[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] .overscroll-contain{overscroll-behavior:contain}[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-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{padding-top:8px}[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-right{text-align:right}[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-normal{font-weight:400}[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-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-system-success{color:var(--i-system-message-success)}[data-widget=inploi-chatbot] .text-system-warning{color:var(--i-system-message-warning)}[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{--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(3px + 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-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-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] .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-\\[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] .aria-disabled\\:cursor-not-allowed[aria-disabled=true]{cursor:not-allowed}[data-widget=inploi-chatbot] .aria-disabled\\:opacity-50[aria-disabled=true]{opacity:.5}[data-widget=inploi-chatbot] .aria-disabled\\:hover\\:border-accent-9:hover[aria-disabled=true]{border-color:var(--i-color-a-9)}[data-widget=inploi-chatbot] .aria-disabled\\:hover\\:bg-accent-9:hover[aria-disabled=true]{background-color:var(--i-color-a-9)}[data-widget=inploi-chatbot] .aria-disabled\\:active\\:ring-1:active[aria-disabled=true]{--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] .aria-disabled\\:active\\:ring-offset-\\[1\\.5px\\]:active[aria-disabled=true]{--tw-ring-offset-width: 1.5px}[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-12:has(+*>input:focus){color:var(--i-color-n-12)}[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)}@media (prefers-reduced-motion: reduce){[data-widget=inploi-chatbot] [data-widget=inploi-chatbot] dialog::backdrop{animation:inploi-chatbot-fade .15s ease-out}}@media (prefers-reduced-motion: reduce){[data-widget=inploi-chatbot],[data-widget=inploi-chatbot] *,[data-widget=inploi-chatbot] *:before,[data-widget=inploi-chatbot] *:after,[data-widget=inploi-chatbot] dialog::backdrop{animation:none!important;transition-property:opacity,color,background-color,border-color!important;transition-duration:.15s!important;scroll-behavior:auto!important}[data-widget=inploi-chatbot] .animate-fade-in,[data-widget=inploi-chatbot] .animate-bubble-in,[data-widget=inploi-chatbot] .animate-maximise,[data-widget=inploi-chatbot] .animate-slide-in-bottom,[data-widget=inploi-chatbot] dialog::backdrop{animation:inploi-chatbot-fade .15s ease-out!important}}@keyframes inploi-chatbot-fade{0%{opacity:0}}
|
|
2
2
|
`,ta="inploi-chatbot",Ne=`[data-widget='${ta}']`,Rr=()=>({getChatbotElement:()=>document.querySelector(Ne),getOrCreateChatbotElement:()=>{const t=document.querySelector(Ne);if(t)return document.body.appendChild(t),t;const e=document.createElement("div");return document.body.appendChild(e),e.dataset.widget=ta,e}}),Lr=25,ea=V(()=>{}),Li=["wheel","touchmove","keydown"],Br=(t,e)=>new Promise((i,o)=>{if(e!=null&&e.aborted)return o(new ut);const a=setTimeout(i,t);e==null||e.addEventListener("abort",()=>{clearTimeout(a),o(new ut)},{once:!0})}),U={onSubmitSuccessFn$:V(()=>{}),onInteractionFn$:V(()=>{}),isBotTyping$:V(!1),captchaVisible$:V(!1),themeMode$:V("light"),isReadingHistory$:V(!1),scrollToEnd:()=>ea.value()},Hr=()=>{const t=gt(null),e=gt(-1/0);bt(()=>{const o=t.current;if(!o)return;const a=()=>{U.isReadingHistory$.value=!1,o.scrollTo({top:o.scrollHeight,behavior:"instant"})};ea.value=a;const n=()=>e.current=performance.now(),r=()=>{o.scrollHeight-o.scrollTop-o.clientHeight<=24?U.isReadingHistory$.value=!1:performance.now()-e.current<1e3&&(U.isReadingHistory$.value=!0)};o.addEventListener("scroll",r,{passive:!0});for(const l of Li)o.addEventListener(l,n,{passive:!0});const s=new ResizeObserver(()=>{U.isReadingHistory$.peek()||a()});return s.observe(o),o.firstElementChild&&s.observe(o.firstElementChild),()=>{o.removeEventListener("scroll",r);for(const l of Li)o.removeEventListener(l,n);s.disconnect()}},[]);const i=st(()=>({setSubmission:(a,n)=>S.setSubmission(a,n),captcha:{container:()=>{var a;return((a=t.current)==null?void 0:a.querySelector("[data-captcha-slot]"))??null},get theme(){return U.themeMode$.peek()},reveal:a=>{U.captchaVisible$.value=a,a&&requestAnimationFrame(()=>{var n,r;(r=(n=t.current)==null?void 0:n.querySelector("[data-captcha-slot]"))==null||r.focus(),U.scrollToEnd()})}},send:async({message:a,signal:n,groupId:r})=>{if(await ee(a).with({author:"bot",type:"text"},async s=>{if(n!=null&&n.aborted)throw new ut;U.isBotTyping$.value=!0;const l=Math.min(Math.max(20,s.text.length),100)*Lr;try{await Br(l,n)}finally{U.isBotTyping$.value=!1}}).otherwise(async()=>{}),n!=null&&n.aborted)throw new ut;S.addMessage(a,r)},input:({input:a,signal:n})=>{if(n!=null&&n.aborted)throw new ut;return S.setInput(a),new Promise(r=>{const s=l=>{if(n!=null&&n.aborted)throw new ut;e.current=-1/0,S.setInput(void 0),a.key&&S.setSubmission(a.key,l),r(l)};U.onSubmitSuccessFn$.value=s})}}),[]);return{chatRef:t,chatService:i}};var Ur=["1","2","3","4","5","6","7","8","9","10","11","12"],Wr={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]}},Vr=(t,e=1,i)=>o=>{const[a,n]=Wr[i][o];return"oklch("+a+"% "+n*e+" "+t+")"},we=t=>{const e=Vr(t.hue,t.chroma,t.mode);return Object.fromEntries(Ur.map(i=>[t.prefix+i,t.transform(e(i))]))},ge=t=>t,Yr=t=>{const e=Object.keys(t).flatMap(i=>{const o=t[i];return typeof o=="object"&&o!==null?Object.keys(o).map(a=>{const n=o[a];return[`${String(i)}.${a}`,n]}):[[i,o]]});return Object.fromEntries(e)},Mt=t=>!!t&&typeof t=="object"&&!Array.isArray(t),Fe=(t,...e)=>{if(!e.length)return t;const i=e.shift();if(Mt(t)&&Mt(i))for(const o in i){const a=i[o];if(Mt(a)){t[o]||Object.assign(t,{[o]:{}});const n=t[o];Mt(n)&&Fe(n,a)}else Object.assign(t,{[o]:i[o]})}return Fe(t,...e)},qr=t=>{function e(i,o){const a=[t.prefix,o.toString().replace(/\./g,"-")].join("");return i==="declaration"?`--${a}`:`var(--${a})`}return e},Kr=()=>({core:t=>({semantic:e=>({component:i=>({from:o=>{const{theme:a,getToken:n}=o,r=f=>n("reference",f.toString()),s=t({theme:a}),l=e({theme:a,core:r,raw:{core:s}}),d=i({theme:a,core:r,semantic:r,raw:{core:s,semantic:l}}),u=Yr(Fe(s,l,d)),c=([f,g],p)=>{const b=[p,f].filter(Boolean).join(".");return typeof g=="object"?Object.entries(g).flatMap(k=>c(k,b)):[[o.getToken("declaration",b),g]]};return{values:u,declarations:Object.fromEntries(Object.entries(u).flatMap(f=>c(f))),ref:f=>n("reference",f.toString())}}})})})});const[be,ve,Bi]=["oklch(0% 0 0)","oklch(100% 0 0)","transparent"],Zr=Kr().core(({theme:t})=>({color:{black:be,white:ve,lowest:t.mode==="light"?ve:be,highest:t.mode==="light"?be:ve,...we({prefix:"a-",hue:t.hue,chroma:t.chroma,mode:t.mode,transform:ge}),...we({prefix:"n-",hue:t.hue,chroma:.05,mode:t.mode,transform:ge}),...we({prefix:"e-",hue:20,chroma:t.chroma,mode:t.mode,transform:ge})},typography:{}})).semantic(({core:t,raw:e,theme:i})=>{const o=(a,n)=>e.core.color[a].replace(")",` / ${n})`);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:o("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:Bi,"bg-hover":o("n-10",.2),"bg-active":o("n-10",.3)}}}).component(({raw:t,theme:e,semantic:i,core:o})=>{const a=(n,r)=>t.core.color[n].replace(")",` / ${r})`);return{app:{bg:o(e.mode==="dark"?"color.n-1":"color.n-2")},overlay:{bg:a("black",.4)},bubble:{"weak-bg":o(e.mode==="dark"?"color.n-3":"color.lowest"),"weak-outline":i("color.divider"),"strong-shadow":a("a-9",.05)},"status-bar":{bg:a("n-2",.8),"bg-button":Bi,"bg-button-hover":a("n-10",.4),"bg-button-active":a("n-10",.5)},"submit-button":{"bg-active":o(e.mode==="dark"?"color.a-8":"color.a-11")},"system-message":{warning:e.mode==="dark"?"#FFC107":"#8A5A00",success:e.mode==="dark"?"#4CAF50":"#2E7D32"}}}),Gr=qr({prefix:"i-"}),Xr=t=>{const e=Zr.from({theme:t,getToken:Gr}),i=Object.entries(e.declarations).map(([o,a])=>`${o}: ${a};`);return`${Ne} {
|
|
3
3
|
${i.concat(i).join(`
|
|
4
4
|
`)}
|
|
5
|
-
}`},Jr="14.17.
|
|
5
|
+
}`},Jr="14.17.2",Qr=(t,e=Jr)=>e===void 0?t:{fetch:(i,o)=>{if(i!=="/flow/submit")return t.fetch(i,o);const a=new Headers(o==null?void 0:o.headers);return a.set("x-inploi-widget-version",e),t.fetch(i,{...o,headers:Object.fromEntries(a.entries())})}};class Hi extends mt.ApiError{}const ts=({_internal_domManager:t=Rr(),theme:e,terms:i,feedback:o,jobAlerts:a})=>mt.createPlugin(({apiClient:n,rpcClient:r,logger:s,analytics:l,publishableKey:d,env:u})=>{let c=!1,f=0;const g=Qr(n),p=d&&u?mt.createTalentBankClient({environment:u,publishableKey:d,logger:s}):void 0,b=v=>v===f,k=()=>{if(typeof window>"u")return;f++,W.flushStateData().catch(()=>{}),S.cancelCurrentFlow(),U.isBotTyping$.value=!1;const v=t.getChatbotElement();v&&(wt(null,v),v.remove()),c=!1,s.info("Chatbot plugin destroyed")},x=()=>{if(typeof window>"u")return;const v=f,_=[Y("style",{id:"inploi-chatbot-styles"},Mr),Y("style",{id:"inploi-chatbot-theme"},Xr(e))],$=t.getOrCreateChatbotElement();U.themeMode$.value=e.mode;const y=V(!1);if(wt(Y(q,{},[_,Y(Nr,{env:u,rpcClient:r,apiClient:g,logger:s,analytics:l,talentBankClient:p,params:{theme:e,terms:i,feedback:o},feedbackReady:y})]),$),o){const Z=H=>{var lt,oi;if(!b(v))return;const O=(lt=t.getChatbotElement())==null?void 0:lt.querySelector("dialog");O&&es({instance:H({rpcClient:r,apiClient:n,logger:s,analytics:l}),theme:e,terms:((oi=o.params)==null?void 0:oi.terms)??{},host:O}).then(()=>void(y.value=!0),ia=>s.error("Error rendering feedback plugin",ia))};o.plugin instanceof Promise?o.plugin.then(({feedbackPlugin:H})=>{Z(H())}).catch(H=>{s.error("Error preparing feedback plugin",H)}):Z(o.plugin)}c=!0},I=async(v,_)=>{if(!b(_))return;Ua({context:Ye(v.jobContext,v.context||{}),schema:v.flow.context_schema,logger:s});const $=await S.prepareFlow({...v,jobAlerts:v.jobAlerts??a});b(_)&&S.commitFlow($)};return{prepare:async()=>{if(!(typeof window>"u"))try{if(c)return;x(),s.info("Chatbot plugin prepared")}catch(v){s.error("Error preparing chatbot plugin",v)}},fetchFlowByJobId:async(v,_)=>{const $=(_==null?void 0:_.idType)==="inploi"?"internal":"external";return r.request(qa,{params:{id:v},searchParams:{id_type:$}}).catch(y=>{throw Oo({name:"ApiError",message:pt.string,status:410,data:pt.union({job:{status:"closed"}},{integration_response:{error:{data:{code:"job_closed"}}}})},y)?new Hi(y.message,y.status,y.data):y}).then(y=>({flow:y.flow,title:y.job.title,flowKeys:[y.job.id,...(_==null?void 0:_.flowKeys)??[]],job:Ya(y,{id:v,idType:$}),employer:y.company.name,..._,jobContext:y.context,context:{user:y.user,..._==null?void 0:_.context}}))},fetchFlowById:async(v,_)=>r.request(Ka,{params:{id:v}}).then($=>{var y;return{flow:$.flow,title:"Chatbot",flowKeys:(_==null?void 0:_.flowKeys)??[],..._,analytics:{customProperties:{flow_id:$.flow.id,flow_version:$.flow.version,...(y=_==null?void 0:_.analytics)==null?void 0:y.customProperties}}}}),open:async v=>{if(!(typeof window>"u"))try{S.cancelCurrentFlow(),S.viewState$.value="maximised",c||x();const _=f;v instanceof Promise?(S.current$.value={state:"loading"},v.then($=>I($,_)).catch($=>{b(_)&&(s.error("Error loading flow",$),S.current$.value={state:$ instanceof Hi?"closed":"error"})})):await I(v,_)}catch(_){s.error("Error starting flow",_)}},hasApplicationInProgress:async v=>{const _=await W.getStateData(v.flow,v.flowKeys,v.context??{});return _!==void 0&&Fi({data:_,nodes:v.flow.nodes})},hasAnyApplicationInProgress:async()=>(await W.getAllStateData()).some(v=>Fi({data:v,nodes:[]})),close:async()=>{typeof window>"u"||(S.cancelCurrentFlow(),s.info("Closed flow from an external source"))},destroy:k}});function es({instance:t,terms:e,theme:i,host:o}){return 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:o})}exports.Ae=Ma;exports.C=ua;exports.ChevronDown=Xo;exports.Cn=ar;exports.Ee=Fa;exports.F=st;exports.Fe=Ra;exports.Ie=Ba;exports.J=io;exports.L=Ve;exports.LoadingIndicator=Go;exports.M=ee;exports.O=ut;exports.P=pa;exports.Q=oo;exports.Re=Na;exports.Se=Da;exports.SvgIconButton=Jt;exports.V=Ji;exports.W=to;exports.Z=eo;exports._=gt;exports._e=Oa;exports.be=$a;exports.chatStore=U;exports.chatbotPlugin=ts;exports.clsx=ie;exports.createTFunction=dr;exports.cva=oe;exports.d=V;exports.de=ba;exports.fe=_a;exports.getFormSubmitter=Er;exports.h=Ze;exports.he=Aa;exports.idb=W;exports.invariant=ii;exports.isSubmissionOfType=Sr;exports.j=Gi;exports.je=Ha;exports.k=q;exports.k$1=Ro;exports.ke=za;exports.le=fa;exports.me=va;exports.o=h;exports.p=te;exports.pe=wa;exports.store=S;exports.ue=ha;exports.useChatService=Hr;exports.useTranslation=Ft;exports.ve=Sa;exports.we=Ia;exports.xe=ja;exports.y=bt;exports.ye=Ea;exports.z=pt;
|