@molin.ai/shop-ai 0.8.25 → 0.8.26

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.
@@ -117,7 +117,7 @@ var lu=Object.defineProperty;var Qs=t=>{throw TypeError(t)};var uu=(t,e,r)=>e in
117
117
  <path d="M11.9998 9.00006V12.7501M2.69653 16.1257C1.83114 17.6257 2.91371 19.5001 4.64544 19.5001H19.3541C21.0858 19.5001 22.1684 17.6257 21.303 16.1257L13.9487 3.37819C13.0828 1.87736 10.9167 1.87736 10.0509 3.37819L2.69653 16.1257ZM11.9998 15.7501H12.0073V15.7576H11.9998V15.7501Z" stroke="#0F172A" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/>
118
118
  </svg>`,"arrow-down":`<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
119
119
  <path d="M19.5 13.5L12 21M12 21L4.5 13.5M12 21L12 3" stroke="#0F172A" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/>
120
- </svg>`};var xu=wo,Ti=class extends un{resolveIcon(e){return xu[e]}render(){super.render();let e=this.shadowRoot?.querySelector("svg");if(!e)throw new Error("svgEl not found");e.setAttribute("fill","none"),e.querySelectorAll("[stroke]").forEach(r=>{r.setAttribute("stroke","currentColor")})}};customElements.get("hi-outline")||customElements.define("hi-outline",Ti);function Hi(t){return[...t.v,(t.i?"!":"")+t.n].join(":")}function ku(t,e=","){return t.map(Hi).join(e)}var Eo=typeof CSS<"u"&&CSS.escape||(t=>t.replace(/[!"'`*+.,;:\\/<=>?@#$%&^|~()[\]{}]/g,"\\$&").replace(/^\d/,"\\3$& "));function cn(t){for(var e=9,r=t.length;r--;)e=Math.imul(e^t.charCodeAt(r),1597334677);return"#"+((e^e>>>9)>>>0).toString(36)}function hn(t,e="@media "){return e+D(t).map(r=>(typeof r=="string"&&(r={min:r}),r.raw||Object.keys(r).map(n=>`(${n}-width:${r[n]})`).join(" and "))).join(",")}function D(t=[]){return Array.isArray(t)?t:t==null?[]:[t]}function bo(t){return t}function dn(){}var W={d:0,b:134217728,c:268435456,a:671088640,u:805306368,o:939524096};function _o(t){return t.match(/[-=:;]/g)?.length||0}function Pi(t){return Math.min(/(?:^|width[^\d]+)(\d+(?:.\d+)?)(p)?/.test(t)?Math.max(0,29.63*(+RegExp.$1/(RegExp.$2?15:1))**.137-43):0,15)<<22|Math.min(_o(t),15)<<18}var Cu=["rst-c","st-ch","h-chi","y-lin","nk","sited","ecked","pty","ad-on","cus-w","ver","cus","cus-v","tive","sable","tiona","quire"];function Bi({n:t,i:e,v:r=[]},n,i,s){t&&(t=Hi({n:t,i:e,v:r})),s=[...D(s)];for(let u of r){let a=n.theme("screens",u);for(let c of D(a&&hn(a)||n.v(u))){var o;s.push(c),i|=a?67108864|Pi(c):u=="dark"?1073741824:c[0]=="@"?Pi(c):(o=c,1<<~(/:([a-z-]+)/.test(o)&&~Cu.indexOf(RegExp.$1.slice(2,7))||-18))}}return{n:t,p:i,r:s,i:e}}var Ao=new Map;function Ui(t){if(t.d){let e=[],r=Oi(t.r.reduce((n,i)=>i[0]=="@"?(e.push(i),n):i?Oi(n,s=>Oi(i,o=>{let u=/(:merge\(.+?\))(:[a-z-]+|\\[.+])/.exec(o);if(u){let a=s.indexOf(u[1]);return~a?s.slice(0,a)+u[0]+s.slice(a+u[1].length):ji(s,o)}return ji(o,s)})):n,"&"),n=>ji(n,t.n?"."+Eo(t.n):""));return r&&e.push(r.replace(/:merge\((.+?)\)/g,"$1")),e.reduceRight((n,i)=>i+"{"+n+"}",t.d)}}function Oi(t,e){return t.replace(/ *((?:\(.+?\)|\[.+?\]|[^,])+) *(,|$)/g,(r,n,i)=>e(n)+i)}function ji(t,e){return t.replace(/&/g,e)}var xo=new Intl.Collator("en",{numeric:!0});function Mo(t,e){for(var r=0,n=t.length;r<n;){let i=n+r>>1;0>=Io(t[i],e)?r=i+1:n=i}return n}function Io(t,e){let r=t.p&W.o;return r==(e.p&W.o)&&(r==W.b||r==W.o)?0:t.p-e.p||t.o-e.o||xo.compare(ko(t.n),ko(e.n))||xo.compare(Co(t.n),Co(e.n))}function ko(t){return(t||"").split(/:/).pop().split("/").pop()||"\0"}function Co(t){return(t||"").replace(/\W/g,e=>String.fromCharCode(127+e.charCodeAt(0)))+"\0"}function Di(t,e){return Math.round(parseInt(t,16)*e)}function pe(t,e={}){if(typeof t=="function")return t(e);let{opacityValue:r="1",opacityVariable:n}=e,i=n?`var(${n})`:r;if(t.includes("<alpha-value>"))return t.replace("<alpha-value>",i);if(t[0]=="#"&&(t.length==4||t.length==7)){let s=(t.length-1)/3,o=[17,1,.062272][s-1];return`rgba(${[Di(t.substr(1,s),o),Di(t.substr(1+s,s),o),Di(t.substr(1+2*s,s),o),i]})`}return i=="1"?t:i=="0"?"#0000":t.replace(/^(rgb|hsl)(\([^)]+)\)$/,`$1a$2,${i})`)}function Lo(t,e,r,n,i=[]){return function s(o,{n:u,p:a,r:c=[],i:f},p){let b=[],x="",k=0,A=0;for(let $ in o||{}){var I,j;let M=o[$];if($[0]=="@"){if(!M)continue;if($[1]=="a"){b.push(...qi(u,a,fn(""+M),p,a,c,f,!0));continue}if($[1]=="l"){for(let L of D(M))b.push(...s(L,{n:u,p:(I=W[$[7]],a&~W.o|I),r:$[7]=="d"?[]:c,i:f},p));continue}if($[1]=="i"){b.push(...D(M).map(L=>({p:-1,o:0,r:[],d:$+" "+L})));continue}if($[1]=="k"){b.push({p:W.d,o:0,r:[$],d:s(M,{p:W.d},p).map(Ui).join("")});continue}if($[1]=="f"){b.push(...D(M).map(L=>({p:W.d,o:0,r:[$],d:s(L,{p:W.d},p).map(Ui).join("")})));continue}}if(typeof M!="object"||Array.isArray(M))$=="label"&&M?u=M+cn(JSON.stringify([a,f,o])):(M||M===0)&&($=$.replace(/[A-Z]/g,L=>"-"+L.toLowerCase()),A+=1,k=Math.max(k,(j=$)[0]=="-"?0:_o(j)+(/^(?:(border-(?!w|c|sty)|[tlbr].{2,4}m?$|c.{7,8}$)|([fl].{5}l|g.{8}$|pl))/.test(j)?+!!RegExp.$1||-!!RegExp.$2:0)+1),x+=(x?";":"")+D(M).map(L=>p.s($,zi(""+L,p.theme)+(f?" !important":""))).join(";"));else if($[0]=="@"||$.includes("&")){let L=a;$[0]=="@"&&($=$.replace(/\bscreen\(([^)]+)\)/g,(H,q)=>{let K=p.theme("screens",q);return K?(L|=67108864,hn(K,"")):H}),L|=Pi($)),b.push(...s(M,{n:u,p:L,r:[...c,$],i:f},p))}else b.push(...s(M,{p:a,r:[...c,$]},p))}return b.unshift({n:u,p:a,o:Math.max(0,15-A)+1.5*Math.min(k||15,15),r:c,d:x}),b.sort(Io)}(t,Bi(e,r,n,i),r)}function zi(t,e){return t.replace(/theme\((["'`])?(.+?)\1(?:\s*,\s*(["'`])?(.+?)\3)?\)/g,(r,n,i,s,o="")=>{let u=e(i,o);return typeof u=="function"&&/color|fill|stroke/i.test(i)?pe(u):""+D(u).filter(a=>Object(a)!==a)})}function To(t,e){let r,n=[];for(let i of t)i.d&&i.n?r?.p==i.p&&""+r.r==""+i.r?(r.c=[r.c,i.c].filter(Boolean).join(" "),r.d=r.d+";"+i.d):n.push(r={...i,n:i.n&&e}):n.push({...i,n:i.n&&e});return n}function pn(t,e,r=W.u,n,i){let s=[];for(let o of t)for(let u of function(a,c,f,p,b){a={...a,i:a.i||b};let x=function(k,A){let I=Ao.get(k.n);return I?I(k,A):A.r(k.n,k.v[0]=="dark")}(a,c);return x?typeof x=="string"?({r:p,p:f}=Bi(a,c,f,p),To(pn(fn(x),c,f,p,a.i),a.n)):Array.isArray(x)?x.map(k=>{var A,I;return{o:0,...k,r:[...D(p),...D(k.r)],p:(A=f,I=k.p??f,A&~W.o|I)}}):Lo(x,a,c,f,p):[{c:Hi(a),p:0,o:0,r:[]}]}(o,e,r,n,i))s.splice(Mo(s,u),0,u);return s}function qi(t,e,r,n,i,s,o,u){return To((u?r.flatMap(a=>pn([a],n,i,s,o)):pn(r,n,i,s,o)).map(a=>a.p&W.o&&(a.n||e==W.b)?{...a,p:a.p&~W.o|e,o:0}:a),t)}function $u(t,e,r,n){var i;return i=(s,o)=>{let{n:u,p:a,r:c,i:f}=Bi(s,o,e);return r&&qi(u,e,r,o,a,c,f,n)},Ao.set(t,i),t}function Ri(t,e,r){if(t[t.length-1]!="("){let n=[],i=!1,s=!1,o="";for(let u of t)if(!(u=="("||/[~@]$/.test(u))){if(u[0]=="!"&&(u=u.slice(1),i=!i),u.endsWith(":")){n[u=="dark:"?"unshift":"push"](u.slice(0,-1));continue}u[0]=="-"&&(u=u.slice(1),s=!s),u.endsWith("-")&&(u=u.slice(0,-1)),u&&u!="&"&&(o+=(o&&"-")+u)}o&&(s&&(o="-"+o),e[0].push({n:o,v:n.filter(Su),i}))}}function Su(t,e,r){return r.indexOf(t)==e}var $o=new Map;function fn(t){let e=$o.get(t);if(!e){let r=[],n=[[]],i=0,s=0,o=null,u=0,a=(c,f=0)=>{i!=u&&(r.push(t.slice(i,u+f)),c&&Ri(r,n)),i=u+1};for(;u<t.length;u++){let c=t[u];if(s)t[u-1]!="\\"&&(s+=+(c=="[")||-(c=="]"));else if(c=="[")s+=1;else if(o)t[u-1]!="\\"&&o.test(t.slice(u))&&(o=null,i=u+RegExp.lastMatch.length);else if(c=="/"&&t[u-1]!="\\"&&(t[u+1]=="*"||t[u+1]=="/"))o=t[u+1]=="*"?/^\*\//:/^[\r\n]/;else if(c=="(")a(),r.push(c);else if(c==":")t[u+1]!=":"&&a(!1,1);else if(/[\s,)]/.test(c)){a(!0);let f=r.lastIndexOf("(");if(c==")"){let p=r[f-1];if(/[~@]$/.test(p)){let b=n.shift();r.length=f,Ri([...r,"#"],n);let{v:x}=n[0].pop();for(let k of b)k.v.splice(+(k.v[0]=="dark")-+(x[0]=="dark"),x.length);Ri([...r,$u(p.length>1?p.slice(0,-1)+cn(JSON.stringify([p,b])):p+"("+ku(b)+")",W.a,b,/@$/.test(p))],n)}f=r.lastIndexOf("(",f-1)}r.length=f+1}else/[~@]/.test(c)&&t[u+1]=="("&&n.unshift([])}a(!0),$o.set(t,e=n[0])}return e}function v(t,e,r){return[t,Vi(e,r)]}function Vi(t,e){return typeof t=="function"?t:typeof t=="string"&&/^[\w-]+$/.test(t)?(r,n)=>({[t]:e?e(r,n):Ni(r,1)}):r=>t||{[r[1]]:Ni(r,2)}}function Ni(t,e,r=t.slice(e).find(Boolean)||t.$$||t.input){return t.input[0]=="-"?`calc(${r} * -1)`:r}function w(t,e,r,n){return[t,Wi(e,r,n)]}function Wi(t,e,r){let n=typeof e=="string"?(i,s)=>({[e]:r?r(i,s):i._}):e||(({1:i,_:s},o,u)=>({[i||u]:s}));return(i,s)=>{let o=Oo(t||i[1]),u=s.theme(o,i.$$)??ke(i.$$,o,s);if(u!=null)return i._=Ni(i,0,u),n(i,s,o)}}function Z(t,e={},r){return[t,Eu(e,r)]}function Eu(t={},e){return(r,n)=>{let{section:i=Oo(r[0]).replace("-","")+"Color"}=t,[s,o]=_u(r.$$);if(!s)return;let u=n.theme(i,s)||ke(s,i,n);if(!u||typeof u=="object")return;let{opacityVariable:a=`--tw-${r[0].replace(/-$/,"")}-opacity`,opacitySection:c=i.replace("Color","Opacity"),property:f=i,selector:p}=t,b=n.theme(c,o||"DEFAULT")||o&&ke(o,c,n),x=e||(({_:A})=>{let I=ur(f,A);return p?{[p]:I}:I});r._={value:pe(u,{opacityVariable:a||void 0,opacityValue:b||void 0}),color:A=>pe(u,A),opacityVariable:a||void 0,opacityValue:b||void 0};let k=x(r,n);if(!r.dark){let A=n.d(i,s,u);A&&A!==u&&(r._={value:pe(A,{opacityVariable:a||void 0,opacityValue:b||"1"}),color:I=>pe(A,I),opacityVariable:a||void 0,opacityValue:b||void 0},k={"&":k,[n.v("dark")]:x(r,n)})}return k}}function _u(t){return(t.match(/^(\[[^\]]+]|[^/]+?)(?:\/(.+))?$/)||[]).slice(1)}function ur(t,e){let r={};return typeof e=="string"?r[t]=e:(e.opacityVariable&&e.value.includes(e.opacityVariable)&&(r[e.opacityVariable]=e.opacityValue||"1"),r[t]=e.value),r}function ke(t,e,r){if(t[0]=="["&&t.slice(-1)=="]"){if(t=bt(zi(t.slice(1,-1),r.theme)),!e)return t;if(!(/color|fill|stroke/i.test(e)&&!(/^color:/.test(t)||/^(#|((hsl|rgb)a?|hwb|lab|lch|color)\(|[a-z]+$)/.test(t))||/image/i.test(e)&&!(/^image:/.test(t)||/^[a-z-]+\(/.test(t))||/weight/i.test(e)&&!(/^(number|any):/.test(t)||/^\d+$/.test(t))||/position/i.test(e)&&/^(length|size):/.test(t)))return t.replace(/^[a-z-]+:/,"")}}function Oo(t){return t.replace(/-./g,e=>e[1].toUpperCase())}function bt(t){return t.includes("url(")?t.replace(/(.*?)(url\(.*?\))(.*?)/g,(e,r="",n,i="")=>bt(r)+n+bt(i)):t.replace(/(^|[^\\])_+/g,(e,r)=>r+" ".repeat(e.length-r.length)).replace(/\\_/g,"_").replace(/(calc|min|max|clamp)\(.+\)/g,e=>e.replace(/(-?\d*\.?\d(?!\b-.+[,)](?![^+\-/*])\D)(?:%|[a-z]+)?|\))([+\-/*])/g,"$1 $2 "))}function Zi({presets:t=[],...e}){let r={darkMode:void 0,darkColor:void 0,preflight:e.preflight!==!1&&[],theme:{},variants:D(e.variants),rules:D(e.rules),ignorelist:D(e.ignorelist),hash:void 0,stringify:(n,i)=>n+":"+i,finalize:[]};for(let n of D([...t,{darkMode:e.darkMode,darkColor:e.darkColor,preflight:e.preflight!==!1&&D(e.preflight),theme:e.theme,hash:e.hash,stringify:e.stringify,finalize:e.finalize}])){let{preflight:i,darkMode:s=r.darkMode,darkColor:o=r.darkColor,theme:u,variants:a,rules:c,ignorelist:f,hash:p=r.hash,stringify:b=r.stringify,finalize:x}=typeof n=="function"?n(r):n;r={preflight:r.preflight!==!1&&i!==!1&&[...r.preflight,...D(i)],darkMode:s,darkColor:o,theme:{...r.theme,...u,extend:{...r.theme.extend,...u?.extend}},variants:[...r.variants,...D(a)],rules:[...r.rules,...D(c)],ignorelist:[...r.ignorelist,...D(f)],hash:p,stringify:b,finalize:[...r.finalize,...D(x)]}}return r}function So(t,e,r,n,i,s){for(let o of e){let u=r.get(o);u||r.set(o,u=n(o));let a=u(t,i,s);if(a)return a}}function Au(t){var e;return Fi(t[0],typeof(e=t[1])=="function"?e:()=>e)}function Mu(t){var e,r;return Array.isArray(t)?Fi(t[0],Vi(t[1],t[2])):Fi(t,Vi(e,r))}function Fi(t,e){return jo(t,(r,n,i,s)=>{let o=n.exec(r);if(o)return o.$$=r.slice(o[0].length),o.dark=s,e(o,i)})}function jo(t,e){let r=D(t).map(Iu);return(n,i,s)=>{for(let o of r){let u=e(n,o,i,s);if(u)return u}}}function Iu(t){return typeof t=="string"?RegExp("^"+t+(t.includes("$")||t.slice(-1)=="-"?"":"$")):t}function Do(t,e){let r=Zi(t),n=function({theme:a,darkMode:c,darkColor:f=dn,variants:p,rules:b,hash:x,stringify:k,ignorelist:A,finalize:I}){let j=new Map,$=new Map,M=new Map,L=new Map,H=jo(A,(O,Y)=>Y.test(O));p.push(["dark",Array.isArray(c)||c=="class"?`${D(c)[1]||".dark"} &`:typeof c=="string"&&c!="media"?c:"@media (prefers-color-scheme:dark)"]);let q=typeof x=="function"?O=>x(O,cn):x?cn:bo;q!==bo&&I.push(O=>({...O,n:O.n&&q(O.n),d:O.d?.replace(/--(tw(?:-[\w-]+)?)\b/g,(Y,ne)=>"--"+q(ne).replace("#",""))}));let K={theme:function({extend:O={},...Y}){let ne={},xi={get colors(){return Je("colors")},theme:Je,negative(){return{}},breakpoints(B){let Q={};for(let se in B)typeof B[se]=="string"&&(Q["screen-"+se]=B[se]);return Q}};return Je;function Je(B,Q,se,Qt){if(B){if({1:B,2:Qt}=/^(\S+?)(?:\s*\/\s*([^/]+))?$/.exec(B)||[,B],/[.[]/.test(B)){let Ee=[];B.replace(/\[([^\]]+)\]|([^.[]+)/g,(Ke,tr,au=tr)=>Ee.push(au)),B=Ee.shift(),se=Q,Q=Ee.join("-")}let xe=ne[B]||Object.assign(Object.assign(ne[B]={},Kr(Y,B)),Kr(O,B));if(Q==null)return xe;Q||(Q="DEFAULT");let Xe=xe[Q]??Q.split("-").reduce((Ee,Ke)=>Ee?.[Ke],xe)??se;return Qt?pe(Xe,{opacityValue:zi(Qt,Je)}):Xe}let er={};for(let xe of[...Object.keys(Y),...Object.keys(O)])er[xe]=Je(xe);return er}function Kr(B,Q){let se=B[Q];return typeof se=="function"&&(se=se(xi)),se&&/color|fill|stroke/i.test(Q)?function Qt(er,xe=[]){let Xe={};for(let Ee in er){let Ke=er[Ee],tr=[...xe,Ee];Xe[tr.join("-")]=Ke,Ee=="DEFAULT"&&(tr=xe,Xe[xe.join("-")]=Ke),typeof Ke=="object"&&Object.assign(Xe,Qt(Ke,tr))}return Xe}(se):se}}(a),e:Eo,h:q,s(O,Y){return k(O,Y,K)},d(O,Y,ne){return f(O,Y,K,ne)},v(O){return j.has(O)||j.set(O,So(O,p,$,Au,K)||"&:"+O),j.get(O)},r(O,Y){let ne=JSON.stringify([O,Y]);return M.has(ne)||M.set(ne,!H(O,K)&&So(O,b,L,Mu,K,Y)),M.get(ne)},f(O){return I.reduce((Y,ne)=>ne(Y,K),O)}};return K}(r),i=new Map,s=[],o=new Set;e.resume(a=>i.set(a,a),(a,c)=>{e.insert(a,s.length,c),s.push(c),o.add(a)});function u(a){let c=n.f(a),f=Ui(c);if(f&&!o.has(f)){o.add(f);let p=Mo(s,a);e.insert(f,p,a),s.splice(p,0,a)}return c.n}return Object.defineProperties(function(c){if(!i.size)for(let p of D(r.preflight))typeof p=="function"&&(p=p(n)),p&&(typeof p=="string"?qi("",W.b,fn(p),n,W.b,[],!1,!0):Lo(p,{},n,W.b)).forEach(u);c=""+c;let f=i.get(c);if(!f){let p=new Set;for(let b of pn(fn(c),n))p.add(b.c).add(u(b));f=[...p].filter(Boolean).join(" "),i.set(c,f).set(f,f)}return f},Object.getOwnPropertyDescriptors({get target(){return e.target},theme:n.theme,config:r,snapshot(){let a=e.snapshot(),c=new Set(o),f=new Map(i),p=[...s];return()=>{a(),o=c,i=f,s=p}},clear(){e.clear(),o=new Set,i=new Map,s=[]},destroy(){this.clear(),e.destroy()}}))}function Lu(t,e){return t!=e&&""+t.split(" ").sort()!=""+e.split(" ").sort()}function Ro(t){let e=new MutationObserver(r);return{observe(i){e.observe(i,{attributeFilter:["class"],subtree:!0,childList:!0}),n(i),r([{target:i,type:""}])},disconnect(){e.disconnect()}};function r(i){for(let{type:s,target:o}of i)if(s[0]=="a")n(o);else for(let u of o.querySelectorAll("[class]"))n(u);e.takeRecords()}function n(i){let s,o=i.getAttribute?.("class");o&&Lu(o,s=t(o))&&i.setAttribute("class",s)}}function Tu(t){let e=document.querySelector(t||'style[data-twind=""]');return(!e||e.tagName!="STYLE")&&(e=document.createElement("style"),document.head.prepend(e)),e.dataset.twind="claimed",e}function mn(t){let e=t?.cssRules?t:(t&&typeof t!="string"?t:Tu(t)).sheet;return{target:e,snapshot(){let r=Array.from(e.cssRules,n=>n.cssText);return()=>{this.clear(),r.forEach(this.insert)}},clear(){for(let r=e.cssRules.length;r--;)e.deleteRule(r)},destroy(){e.ownerNode?.remove()},insert(r,n){try{e.insertRule(r,n)}catch{e.insertRule(":root{}",n)}},resume:dn}}var Ou=new Map([["align-self","-ms-grid-row-align"],["color-adjust","-webkit-print-color-adjust"],["column-gap","grid-column-gap"],["forced-color-adjust","-ms-high-contrast-adjust"],["gap","grid-gap"],["grid-template-columns","-ms-grid-columns"],["grid-template-rows","-ms-grid-rows"],["justify-self","-ms-grid-column-align"],["margin-inline-end","-webkit-margin-end"],["margin-inline-start","-webkit-margin-start"],["mask-border","-webkit-mask-box-image"],["mask-border-outset","-webkit-mask-box-image-outset"],["mask-border-slice","-webkit-mask-box-image-slice"],["mask-border-source","-webkit-mask-box-image-source"],["mask-border-repeat","-webkit-mask-box-image-repeat"],["mask-border-width","-webkit-mask-box-image-width"],["overflow-wrap","word-wrap"],["padding-inline-end","-webkit-padding-end"],["padding-inline-start","-webkit-padding-start"],["print-color-adjust","color-adjust"],["row-gap","grid-row-gap"],["scroll-margin-bottom","scroll-snap-margin-bottom"],["scroll-margin-left","scroll-snap-margin-left"],["scroll-margin-right","scroll-snap-margin-right"],["scroll-margin-top","scroll-snap-margin-top"],["scroll-margin","scroll-snap-margin"],["text-combine-upright","-ms-text-combine-horizontal"]]);function Po(t){return Ou.get(t)}function Uo(t){var e=/^(?:(text-(?:decoration$|e|or|si)|back(?:ground-cl|d|f)|box-d|mask(?:$|-[ispro]|-cl)|pr|hyphena|flex-d)|(tab-|column(?!-s)|text-align-l)|(ap)|u|hy)/i.exec(t);return e?e[1]?1:e[2]?2:e[3]?3:5:0}function Vo(t,e){var r=/^(?:(pos)|(cli)|(background-i)|(flex(?:$|-b)|(?:max-|min-)?(?:block-s|inl|he|widt))|dis)/i.exec(t);return r?r[1]?/^sti/i.test(e)?1:0:r[2]?/^pat/i.test(e)?1:0:r[3]?/^image-/i.test(e)?1:0:r[4]?e[3]==="-"?2:0:/^(?:inline-)?grid$/i.test(e)?4:0:0}var ju=[["-webkit-",1],["-moz-",2],["-ms-",4]];function No(){return({stringify:t})=>({stringify(e,r,n){let i="",s=Po(e);s&&(i+=t(s,r,n)+";");let o=Uo(e),u=Vo(e,r);for(let a of ju)o&a[1]&&(i+=t(a[0]+e,r,n)+";"),u&a[1]&&(i+=t(e,a[0]+r,n)+";");return i+t(e,r,n)}})}function Ho(){return{rules:[["line-clamp-none",{"-webkit-line-clamp":"unset"}],["line-clamp-",Wi("lineClamp",({_:t})=>Fo(t))],["line-clamp-(\\d+)",({1:t})=>Fo(t)]]}}function Fo(t){return{overflow:"hidden",display:"-webkit-box","-webkit-box-orient":"vertical","-webkit-line-clamp":`${t}`}}var pr={screens:{sm:"640px",md:"768px",lg:"1024px",xl:"1280px","2xl":"1536px"},columns:{auto:"auto","3xs":"16rem","2xs":"18rem",xs:"20rem",sm:"24rem",md:"28rem",lg:"32rem",xl:"36rem","2xl":"42rem","3xl":"48rem","4xl":"56rem","5xl":"64rem","6xl":"72rem","7xl":"80rem"},spacing:{px:"1px",0:"0px",...oe(4,"rem",4,.5,.5),...oe(12,"rem",4,5),14:"3.5rem",...oe(64,"rem",4,16,4),72:"18rem",80:"20rem",96:"24rem"},durations:{75:"75ms",100:"100ms",150:"150ms",200:"200ms",300:"300ms",500:"500ms",700:"700ms",1e3:"1000ms"},animation:{none:"none",spin:"spin 1s linear infinite",ping:"ping 1s cubic-bezier(0,0,0.2,1) infinite",pulse:"pulse 2s cubic-bezier(0.4,0,0.6,1) infinite",bounce:"bounce 1s infinite"},aspectRatio:{auto:"auto",square:"1/1",video:"16/9"},backdropBlur:T("blur"),backdropBrightness:T("brightness"),backdropContrast:T("contrast"),backdropGrayscale:T("grayscale"),backdropHueRotate:T("hueRotate"),backdropInvert:T("invert"),backdropOpacity:T("opacity"),backdropSaturate:T("saturate"),backdropSepia:T("sepia"),backgroundColor:T("colors"),backgroundImage:{none:"none"},backgroundOpacity:T("opacity"),backgroundSize:{auto:"auto",cover:"cover",contain:"contain"},blur:{none:"none",0:"0",sm:"4px",DEFAULT:"8px",md:"12px",lg:"16px",xl:"24px","2xl":"40px","3xl":"64px"},brightness:{...oe(200,"",100,0,50),...oe(110,"",100,90,5),75:"0.75",125:"1.25"},borderColor:({theme:t})=>({DEFAULT:t("colors.gray.200","currentColor"),...t("colors")}),borderOpacity:T("opacity"),borderRadius:{none:"0px",sm:"0.125rem",DEFAULT:"0.25rem",md:"0.375rem",lg:"0.5rem",xl:"0.75rem","2xl":"1rem","3xl":"1.5rem","1/2":"50%",full:"9999px"},borderSpacing:T("spacing"),borderWidth:{DEFAULT:"1px",...fe(8,"px")},boxShadow:{sm:"0 1px 2px 0 rgba(0,0,0,0.05)",DEFAULT:"0 1px 3px 0 rgba(0,0,0,0.1), 0 1px 2px -1px rgba(0,0,0,0.1)",md:"0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -2px rgba(0,0,0,0.1)",lg:"0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -4px rgba(0,0,0,0.1)",xl:"0 20px 25px -5px rgba(0,0,0,0.1), 0 8px 10px -6px rgba(0,0,0,0.1)","2xl":"0 25px 50px -12px rgba(0,0,0,0.25)",inner:"inset 0 2px 4px 0 rgba(0,0,0,0.05)",none:"0 0 #0000"},boxShadowColor:T("colors"),caretColor:T("colors"),accentColor:({theme:t})=>({auto:"auto",...t("colors")}),contrast:{...oe(200,"",100,0,50),75:"0.75",125:"1.25"},content:{none:"none"},divideColor:T("borderColor"),divideOpacity:T("borderOpacity"),divideWidth:T("borderWidth"),dropShadow:{sm:"0 1px 1px rgba(0,0,0,0.05)",DEFAULT:["0 1px 2px rgba(0,0,0,0.1)","0 1px 1px rgba(0,0,0,0.06)"],md:["0 4px 3px rgba(0,0,0,0.07)","0 2px 2px rgba(0,0,0,0.06)"],lg:["0 10px 8px rgba(0,0,0,0.04)","0 4px 3px rgba(0,0,0,0.1)"],xl:["0 20px 13px rgba(0,0,0,0.03)","0 8px 5px rgba(0,0,0,0.08)"],"2xl":"0 25px 25px rgba(0,0,0,0.15)",none:"0 0 #0000"},fill:({theme:t})=>({...t("colors"),none:"none"}),grayscale:{DEFAULT:"100%",0:"0"},hueRotate:{0:"0deg",15:"15deg",30:"30deg",60:"60deg",90:"90deg",180:"180deg"},invert:{DEFAULT:"100%",0:"0"},flex:{1:"1 1 0%",auto:"1 1 auto",initial:"0 1 auto",none:"none"},flexBasis:({theme:t})=>({...t("spacing"),...cr(2,6),...cr(12,12),auto:"auto",full:"100%"}),flexGrow:{DEFAULT:1,0:0},flexShrink:{DEFAULT:1,0:0},fontFamily:{sans:'ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,"Noto Sans",sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji"'.split(","),serif:'ui-serif,Georgia,Cambria,"Times New Roman",Times,serif'.split(","),mono:'ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace'.split(",")},fontSize:{xs:["0.75rem","1rem"],sm:["0.875rem","1.25rem"],base:["1rem","1.5rem"],lg:["1.125rem","1.75rem"],xl:["1.25rem","1.75rem"],"2xl":["1.5rem","2rem"],"3xl":["1.875rem","2.25rem"],"4xl":["2.25rem","2.5rem"],"5xl":["3rem","1"],"6xl":["3.75rem","1"],"7xl":["4.5rem","1"],"8xl":["6rem","1"],"9xl":["8rem","1"]},fontWeight:{thin:"100",extralight:"200",light:"300",normal:"400",medium:"500",semibold:"600",bold:"700",extrabold:"800",black:"900"},gap:T("spacing"),gradientColorStops:T("colors"),gridAutoColumns:{auto:"auto",min:"min-content",max:"max-content",fr:"minmax(0,1fr)"},gridAutoRows:{auto:"auto",min:"min-content",max:"max-content",fr:"minmax(0,1fr)"},gridColumn:{auto:"auto","span-full":"1 / -1"},gridRow:{auto:"auto","span-full":"1 / -1"},gridTemplateColumns:{none:"none"},gridTemplateRows:{none:"none"},height:({theme:t})=>({...t("spacing"),...cr(2,6),min:"min-content",max:"max-content",fit:"fit-content",auto:"auto",full:"100%",screen:"100vh"}),inset:({theme:t})=>({...t("spacing"),...cr(2,4),auto:"auto",full:"100%"}),keyframes:{spin:{from:{transform:"rotate(0deg)"},to:{transform:"rotate(360deg)"}},ping:{"0%":{transform:"scale(1)",opacity:"1"},"75%,100%":{transform:"scale(2)",opacity:"0"}},pulse:{"0%,100%":{opacity:"1"},"50%":{opacity:".5"}},bounce:{"0%, 100%":{transform:"translateY(-25%)",animationTimingFunction:"cubic-bezier(0.8,0,1,1)"},"50%":{transform:"none",animationTimingFunction:"cubic-bezier(0,0,0.2,1)"}}},letterSpacing:{tighter:"-0.05em",tight:"-0.025em",normal:"0em",wide:"0.025em",wider:"0.05em",widest:"0.1em"},lineHeight:{...oe(10,"rem",4,3),none:"1",tight:"1.25",snug:"1.375",normal:"1.5",relaxed:"1.625",loose:"2"},margin:({theme:t})=>({auto:"auto",...t("spacing")}),maxHeight:({theme:t})=>({full:"100%",min:"min-content",max:"max-content",fit:"fit-content",screen:"100vh",...t("spacing")}),maxWidth:({theme:t,breakpoints:e})=>({...e(t("screens")),none:"none",0:"0rem",xs:"20rem",sm:"24rem",md:"28rem",lg:"32rem",xl:"36rem","2xl":"42rem","3xl":"48rem","4xl":"56rem","5xl":"64rem","6xl":"72rem","7xl":"80rem",full:"100%",min:"min-content",max:"max-content",fit:"fit-content",prose:"65ch"}),minHeight:{0:"0px",full:"100%",min:"min-content",max:"max-content",fit:"fit-content",screen:"100vh"},minWidth:{0:"0px",full:"100%",min:"min-content",max:"max-content",fit:"fit-content"},opacity:{...oe(100,"",100,0,10),5:"0.05",25:"0.25",75:"0.75",95:"0.95"},order:{first:"-9999",last:"9999",none:"0"},padding:T("spacing"),placeholderColor:T("colors"),placeholderOpacity:T("opacity"),outlineColor:T("colors"),outlineOffset:fe(8,"px"),outlineWidth:fe(8,"px"),ringColor:({theme:t})=>({...t("colors"),DEFAULT:"#3b82f6"}),ringOffsetColor:T("colors"),ringOffsetWidth:fe(8,"px"),ringOpacity:({theme:t})=>({...t("opacity"),DEFAULT:"0.5"}),ringWidth:{DEFAULT:"3px",...fe(8,"px")},rotate:{...fe(2,"deg"),...fe(12,"deg",3),...fe(180,"deg",45)},saturate:oe(200,"",100,0,50),scale:{...oe(150,"",100,0,50),...oe(110,"",100,90,5),75:"0.75",125:"1.25"},scrollMargin:T("spacing"),scrollPadding:T("spacing"),sepia:{0:"0",DEFAULT:"100%"},skew:{...fe(2,"deg"),...fe(12,"deg",3)},space:T("spacing"),stroke:({theme:t})=>({...t("colors"),none:"none"}),strokeWidth:oe(2),textColor:T("colors"),textDecorationColor:T("colors"),textDecorationThickness:{"from-font":"from-font",auto:"auto",...fe(8,"px")},textUnderlineOffset:{auto:"auto",...fe(8,"px")},textIndent:T("spacing"),textOpacity:T("opacity"),transitionDuration:({theme:t})=>({...t("durations"),DEFAULT:"150ms"}),transitionDelay:T("durations"),transitionProperty:{none:"none",all:"all",DEFAULT:"color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter",colors:"color,background-color,border-color,text-decoration-color,fill,stroke",opacity:"opacity",shadow:"box-shadow",transform:"transform"},transitionTimingFunction:{DEFAULT:"cubic-bezier(0.4,0,0.2,1)",linear:"linear",in:"cubic-bezier(0.4,0,1,1)",out:"cubic-bezier(0,0,0.2,1)","in-out":"cubic-bezier(0.4,0,0.2,1)"},translate:({theme:t})=>({...t("spacing"),...cr(2,4),full:"100%"}),width:({theme:t})=>({min:"min-content",max:"max-content",fit:"fit-content",screen:"100vw",...t("flexBasis")}),willChange:{scroll:"scroll-position"},zIndex:{...oe(50,"",1,0,10),auto:"auto"}};function cr(t,e){let r={};do for(var n=1;n<t;n++)r[`${n}/${t}`]=Number((n/t*100).toFixed(6))+"%";while(++t<=e);return r}function fe(t,e,r=0){let n={};for(;r<=t;r=2*r||1)n[r]=r+e;return n}function oe(t,e="",r=1,n=0,i=1,s={}){for(;n<=t;n+=i)s[n]=n/r+e;return s}function T(t){return({theme:e})=>e(t)}var Bo={"*,::before,::after":{boxSizing:"border-box",borderWidth:"0",borderStyle:"solid",borderColor:"theme(borderColor.DEFAULT, currentColor)"},"::before,::after":{"--tw-content":"''"},html:{lineHeight:1.5,WebkitTextSizeAdjust:"100%",MozTabSize:"4",tabSize:4,fontFamily:`theme(fontFamily.sans, ${pr.fontFamily.sans})`,fontFeatureSettings:"theme(fontFamily.sans[1].fontFeatureSettings, normal)"},body:{margin:"0",lineHeight:"inherit"},hr:{height:"0",color:"inherit",borderTopWidth:"1px"},"abbr:where([title])":{textDecoration:"underline dotted"},"h1,h2,h3,h4,h5,h6":{fontSize:"inherit",fontWeight:"inherit"},a:{color:"inherit",textDecoration:"inherit"},"b,strong":{fontWeight:"bolder"},"code,kbd,samp,pre":{fontFamily:`theme(fontFamily.mono, ${pr.fontFamily.mono})`,fontFeatureSettings:"theme(fontFamily.mono[1].fontFeatureSettings, normal)",fontSize:"1em"},small:{fontSize:"80%"},"sub,sup":{fontSize:"75%",lineHeight:0,position:"relative",verticalAlign:"baseline"},sub:{bottom:"-0.25em"},sup:{top:"-0.5em"},table:{textIndent:"0",borderColor:"inherit",borderCollapse:"collapse"},"button,input,optgroup,select,textarea":{fontFamily:"inherit",fontSize:"100%",lineHeight:"inherit",color:"inherit",margin:"0",padding:"0"},"button,select":{textTransform:"none"},"button,[type='button'],[type='reset'],[type='submit']":{WebkitAppearance:"button",backgroundColor:"transparent",backgroundImage:"none"},":-moz-focusring":{outline:"auto"},":-moz-ui-invalid":{boxShadow:"none"},progress:{verticalAlign:"baseline"},"::-webkit-inner-spin-button,::-webkit-outer-spin-button":{height:"auto"},"[type='search']":{WebkitAppearance:"textfield",outlineOffset:"-2px"},"::-webkit-search-decoration":{WebkitAppearance:"none"},"::-webkit-file-upload-button":{WebkitAppearance:"button",font:"inherit"},summary:{display:"list-item"},"blockquote,dl,dd,h1,h2,h3,h4,h5,h6,hr,figure,p,pre":{margin:"0"},fieldset:{margin:"0",padding:"0"},legend:{padding:"0"},"ol,ul,menu":{listStyle:"none",margin:"0",padding:"0"},textarea:{resize:"vertical"},"input::placeholder,textarea::placeholder":{opacity:1,color:"theme(colors.gray.400, #9ca3af)"},'button,[role="button"]':{cursor:"pointer"},":disabled":{cursor:"default"},"img,svg,video,canvas,audio,iframe,embed,object":{display:"block",verticalAlign:"middle"},"img,video":{maxWidth:"100%",height:"auto"},"[hidden]":{display:"none"}};var Jo=[v("\\[([-\\w]+):(.+)]",({1:t,2:e},r)=>({"@layer overrides":{"&":{[t]:ke(`[${e}]`,"",r)}}})),v("(group|peer)([~/][^-[]+)?",({input:t},{h:e})=>[{c:e(t)}]),w("aspect-","aspectRatio"),v("container",(t,{theme:e})=>{let{screens:r=e("screens"),center:n,padding:i}=e("container"),s={width:"100%",marginRight:n&&"auto",marginLeft:n&&"auto",...o("xs")};for(let u in r){let a=r[u];typeof a=="string"&&(s[hn(a)]={"&":{maxWidth:a,...o(u)}})}return s;function o(u){let a=i&&(typeof i=="string"?i:i[u]||i.DEFAULT);if(a)return{paddingRight:a,paddingLeft:a}}}),w("content-","content",({_:t})=>({"--tw-content":t,content:"var(--tw-content)"})),v("(?:box-)?decoration-(slice|clone)","boxDecorationBreak"),v("box-(border|content)","boxSizing",({1:t})=>t+"-box"),v("hidden",{display:"none"}),v("table-(auto|fixed)","tableLayout"),v(["(block|flex|table|grid|inline|contents|flow-root|list-item)","(inline-(block|flex|table|grid))","(table-(caption|cell|column|row|(column|row|footer|header)-group))"],"display"),"(float)-(left|right|none)","(clear)-(left|right|none|both)","(overflow(?:-[xy])?)-(auto|hidden|clip|visible|scroll)","(isolation)-(auto)",v("isolate","isolation"),v("object-(contain|cover|fill|none|scale-down)","objectFit"),w("object-","objectPosition"),v("object-(top|bottom|center|(left|right)(-(top|bottom))?)","objectPosition",gn),v("overscroll(-[xy])?-(auto|contain|none)",({1:t="",2:e})=>({["overscroll-behavior"+t]:e})),v("(static|fixed|absolute|relative|sticky)","position"),w("-?inset(-[xy])?(?:$|-)","inset",({1:t,_:e})=>({top:t!="-x"&&e,right:t!="-y"&&e,bottom:t!="-x"&&e,left:t!="-y"&&e})),w("-?(top|bottom|left|right)(?:$|-)","inset"),v("(visible|collapse)","visibility"),v("invisible",{visibility:"hidden"}),w("-?z-","zIndex"),v("flex-((row|col)(-reverse)?)","flexDirection",zo),v("flex-(wrap|wrap-reverse|nowrap)","flexWrap"),w("(flex-(?:grow|shrink))(?:$|-)"),w("(flex)-"),w("grow(?:$|-)","flexGrow"),w("shrink(?:$|-)","flexShrink"),w("basis-","flexBasis"),w("-?(order)-"),"-?(order)-(\\d+)",w("grid-cols-","gridTemplateColumns"),v("grid-cols-(\\d+)","gridTemplateColumns",Go),w("col-","gridColumn"),v("col-(span)-(\\d+)","gridColumn",Zo),w("col-start-","gridColumnStart"),v("col-start-(auto|\\d+)","gridColumnStart"),w("col-end-","gridColumnEnd"),v("col-end-(auto|\\d+)","gridColumnEnd"),w("grid-rows-","gridTemplateRows"),v("grid-rows-(\\d+)","gridTemplateRows",Go),w("row-","gridRow"),v("row-(span)-(\\d+)","gridRow",Zo),w("row-start-","gridRowStart"),v("row-start-(auto|\\d+)","gridRowStart"),w("row-end-","gridRowEnd"),v("row-end-(auto|\\d+)","gridRowEnd"),v("grid-flow-((row|col)(-dense)?)","gridAutoFlow",t=>gn(zo(t))),v("grid-flow-(dense)","gridAutoFlow"),w("auto-cols-","gridAutoColumns"),w("auto-rows-","gridAutoRows"),w("gap-x(?:$|-)","gap","columnGap"),w("gap-y(?:$|-)","gap","rowGap"),w("gap(?:$|-)","gap"),"(justify-(?:items|self))-",v("justify-","justifyContent",qo),v("(content|items|self)-",t=>({["align-"+t[1]]:qo(t)})),v("(place-(content|items|self))-",({1:t,$$:e})=>({[t]:("wun".includes(e[3])?"space-":"")+e})),w("p([xytrbl])?(?:$|-)","padding",xt("padding")),w("-?m([xytrbl])?(?:$|-)","margin",xt("margin")),w("-?space-(x|y)(?:$|-)","space",({1:t,_:e})=>({"&>:not([hidden])~:not([hidden])":{[`--tw-space-${t}-reverse`]:"0",["margin-"+{y:"top",x:"left"}[t]]:`calc(${e} * calc(1 - var(--tw-space-${t}-reverse)))`,["margin-"+{y:"bottom",x:"right"}[t]]:`calc(${e} * var(--tw-space-${t}-reverse))`}})),v("space-(x|y)-reverse",({1:t})=>({"&>:not([hidden])~:not([hidden])":{[`--tw-space-${t}-reverse`]:"1"}})),w("w-","width"),w("min-w-","minWidth"),w("max-w-","maxWidth"),w("h-","height"),w("min-h-","minHeight"),w("max-h-","maxHeight"),w("font-","fontWeight"),w("font-","fontFamily",({_:t})=>typeof(t=D(t))[1]=="string"?{fontFamily:ye(t)}:{fontFamily:ye(t[0]),...t[1]}),v("antialiased",{WebkitFontSmoothing:"antialiased",MozOsxFontSmoothing:"grayscale"}),v("subpixel-antialiased",{WebkitFontSmoothing:"auto",MozOsxFontSmoothing:"auto"}),v("italic","fontStyle"),v("not-italic",{fontStyle:"normal"}),v("(ordinal|slashed-zero|(normal|lining|oldstyle|proportional|tabular)-nums|(diagonal|stacked)-fractions)",({1:t,2:e="",3:r})=>e=="normal"?{fontVariantNumeric:"normal"}:{["--tw-"+(r?"numeric-fraction":"pt".includes(e[0])?"numeric-spacing":e?"numeric-figure":t)]:t,fontVariantNumeric:"var(--tw-ordinal) var(--tw-slashed-zero) var(--tw-numeric-figure) var(--tw-numeric-spacing) var(--tw-numeric-fraction)",...De({"--tw-ordinal":"var(--tw-empty,/*!*/ /*!*/)","--tw-slashed-zero":"var(--tw-empty,/*!*/ /*!*/)","--tw-numeric-figure":"var(--tw-empty,/*!*/ /*!*/)","--tw-numeric-spacing":"var(--tw-empty,/*!*/ /*!*/)","--tw-numeric-fraction":"var(--tw-empty,/*!*/ /*!*/)"})}),w("tracking-","letterSpacing"),w("leading-","lineHeight"),v("list-(inside|outside)","listStylePosition"),w("list-","listStyleType"),v("list-","listStyleType"),w("placeholder-opacity-","placeholderOpacity",({_:t})=>({"&::placeholder":{"--tw-placeholder-opacity":t}})),Z("placeholder-",{property:"color",selector:"&::placeholder"}),v("text-(left|center|right|justify|start|end)","textAlign"),v("text-(ellipsis|clip)","textOverflow"),w("text-opacity-","textOpacity","--tw-text-opacity"),Z("text-",{property:"color"}),w("text-","fontSize",({_:t})=>typeof t=="string"?{fontSize:t}:{fontSize:t[0],...typeof t[1]=="string"?{lineHeight:t[1]}:t[1]}),w("indent-","textIndent"),v("(overline|underline|line-through)","textDecorationLine"),v("no-underline",{textDecorationLine:"none"}),w("underline-offset-","textUnderlineOffset"),Z("decoration-",{section:"textDecorationColor",opacityVariable:!1,opacitySection:"opacity"}),w("decoration-","textDecorationThickness"),v("decoration-","textDecorationStyle"),v("(uppercase|lowercase|capitalize)","textTransform"),v("normal-case",{textTransform:"none"}),v("truncate",{overflow:"hidden",whiteSpace:"nowrap",textOverflow:"ellipsis"}),v("align-","verticalAlign"),v("whitespace-","whiteSpace"),v("break-normal",{wordBreak:"normal",overflowWrap:"normal"}),v("break-words",{overflowWrap:"break-word"}),v("break-all",{wordBreak:"break-all"}),v("break-keep",{wordBreak:"keep-all"}),Z("caret-",{opacityVariable:!1,opacitySection:"opacity"}),Z("accent-",{opacityVariable:!1,opacitySection:"opacity"}),v("bg-gradient-to-([trbl]|[tb][rl])","backgroundImage",({1:t})=>`linear-gradient(to ${nt(t," ")},var(--tw-gradient-stops))`),Z("from-",{section:"gradientColorStops",opacityVariable:!1,opacitySection:"opacity"},({_:t})=>({"--tw-gradient-from":t.value,"--tw-gradient-to":t.color({opacityValue:"0"}),"--tw-gradient-stops":"var(--tw-gradient-from),var(--tw-gradient-to)"})),Z("via-",{section:"gradientColorStops",opacityVariable:!1,opacitySection:"opacity"},({_:t})=>({"--tw-gradient-to":t.color({opacityValue:"0"}),"--tw-gradient-stops":`var(--tw-gradient-from),${t.value},var(--tw-gradient-to)`})),Z("to-",{section:"gradientColorStops",property:"--tw-gradient-to",opacityVariable:!1,opacitySection:"opacity"}),v("bg-(fixed|local|scroll)","backgroundAttachment"),v("bg-origin-(border|padding|content)","backgroundOrigin",({1:t})=>t+"-box"),v(["bg-(no-repeat|repeat(-[xy])?)","bg-repeat-(round|space)"],"backgroundRepeat"),v("bg-blend-","backgroundBlendMode"),v("bg-clip-(border|padding|content|text)","backgroundClip",({1:t})=>t+(t=="text"?"":"-box")),w("bg-opacity-","backgroundOpacity","--tw-bg-opacity"),Z("bg-",{section:"backgroundColor"}),w("bg-","backgroundImage"),w("bg-","backgroundPosition"),v("bg-(top|bottom|center|(left|right)(-(top|bottom))?)","backgroundPosition",gn),w("bg-","backgroundSize"),w("rounded(?:$|-)","borderRadius"),w("rounded-([trbl]|[tb][rl])(?:$|-)","borderRadius",({1:t,_:e})=>{let r={t:["tl","tr"],r:["tr","br"],b:["bl","br"],l:["bl","tl"]}[t]||[t,t];return{[`border-${nt(r[0])}-radius`]:e,[`border-${nt(r[1])}-radius`]:e}}),v("border-(collapse|separate)","borderCollapse"),w("border-opacity(?:$|-)","borderOpacity","--tw-border-opacity"),v("border-(solid|dashed|dotted|double|none)","borderStyle"),w("border-spacing(-[xy])?(?:$|-)","borderSpacing",({1:t,_:e})=>({...De({"--tw-border-spacing-x":"0","--tw-border-spacing-y":"0"}),["--tw-border-spacing"+(t||"-x")]:e,["--tw-border-spacing"+(t||"-y")]:e,"border-spacing":"var(--tw-border-spacing-x) var(--tw-border-spacing-y)"})),Z("border-([xytrbl])-",{section:"borderColor"},xt("border","Color")),Z("border-"),w("border-([xytrbl])(?:$|-)","borderWidth",xt("border","Width")),w("border(?:$|-)","borderWidth"),w("divide-opacity(?:$|-)","divideOpacity",({_:t})=>({"&>:not([hidden])~:not([hidden])":{"--tw-divide-opacity":t}})),v("divide-(solid|dashed|dotted|double|none)",({1:t})=>({"&>:not([hidden])~:not([hidden])":{borderStyle:t}})),v("divide-([xy]-reverse)",({1:t})=>({"&>:not([hidden])~:not([hidden])":{["--tw-divide-"+t]:"1"}})),w("divide-([xy])(?:$|-)","divideWidth",({1:t,_:e})=>{let r={x:"lr",y:"tb"}[t];return{"&>:not([hidden])~:not([hidden])":{[`--tw-divide-${t}-reverse`]:"0",[`border-${nt(r[0])}Width`]:`calc(${e} * calc(1 - var(--tw-divide-${t}-reverse)))`,[`border-${nt(r[1])}Width`]:`calc(${e} * var(--tw-divide-${t}-reverse))`}}}),Z("divide-",{property:"borderColor",selector:"&>:not([hidden])~:not([hidden])"}),w("ring-opacity(?:$|-)","ringOpacity","--tw-ring-opacity"),Z("ring-offset-",{property:"--tw-ring-offset-color",opacityVariable:!1}),w("ring-offset(?:$|-)","ringOffsetWidth","--tw-ring-offset-width"),v("ring-inset",{"--tw-ring-inset":"inset"}),Z("ring-",{property:"--tw-ring-color"}),w("ring(?:$|-)","ringWidth",({_:t},{theme:e})=>({...De({"--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-ring-inset":"var(--tw-empty,/*!*/ /*!*/)","--tw-ring-offset-width":e("ringOffsetWidth","","0px"),"--tw-ring-offset-color":pe(e("ringOffsetColor","","#fff")),"--tw-ring-color":pe(e("ringColor","","#93c5fd"),{opacityVariable:"--tw-ring-opacity"}),"--tw-ring-opacity":e("ringOpacity","","0.5")}}),"--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(${t} + var(--tw-ring-offset-width)) var(--tw-ring-color)`,boxShadow:"var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)"})),Z("shadow-",{section:"boxShadowColor",opacityVariable:!1,opacitySection:"opacity"},({_:t})=>({"--tw-shadow-color":t.value,"--tw-shadow":"var(--tw-shadow-colored)"})),w("shadow(?:$|-)","boxShadow",({_:t})=>({...De({"--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-shadow":ye(t),"--tw-shadow-colored":ye(t).replace(/([^,]\s+)(?:#[a-f\d]+|(?:(?:hsl|rgb)a?|hwb|lab|lch|color|var)\(.+?\)|[a-z]+)(,|$)/g,"$1var(--tw-shadow-color)$2"),boxShadow:"var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)"})),w("(opacity)-"),v("mix-blend-","mixBlendMode"),...Wo(),...Wo("backdrop-"),w("transition(?:$|-)","transitionProperty",(t,{theme:e})=>({transitionProperty:ye(t),transitionTimingFunction:t._=="none"?void 0:ye(e("transitionTimingFunction","")),transitionDuration:t._=="none"?void 0:ye(e("transitionDuration",""))})),w("duration(?:$|-)","transitionDuration","transitionDuration",ye),w("ease(?:$|-)","transitionTimingFunction","transitionTimingFunction",ye),w("delay(?:$|-)","transitionDelay","transitionDelay",ye),w("animate(?:$|-)","animation",(t,{theme:e,h:r,e:n})=>{let i=ye(t),s=i.split(" "),o=e("keyframes",s[0]);return o?{["@keyframes "+(s[0]=n(r(s[0])))]:o,animation:s.join(" ")}:{animation:i}}),"(transform)-(none)",v("transform",Ji),v("transform-(cpu|gpu)",({1:t})=>({"--tw-transform":Xo(t=="gpu")})),w("scale(-[xy])?-","scale",({1:t,_:e})=>({["--tw-scale"+(t||"-x")]:e,["--tw-scale"+(t||"-y")]:e,...Ji()})),w("-?(rotate)-","rotate",Gi),w("-?(translate-[xy])-","translate",Gi),w("-?(skew-[xy])-","skew",Gi),v("origin-(center|((top|bottom)(-(left|right))?)|left|right)","transformOrigin",gn),"(appearance)-",w("(columns)-"),"(columns)-(\\d+)","(break-(?:before|after|inside))-",w("(cursor)-"),"(cursor)-",v("snap-(none)","scroll-snap-type"),v("snap-(x|y|both)",({1:t})=>({...De({"--tw-scroll-snap-strictness":"proximity"}),"scroll-snap-type":t+" var(--tw-scroll-snap-strictness)"})),v("snap-(mandatory|proximity)","--tw-scroll-snap-strictness"),v("snap-(?:(start|end|center)|align-(none))","scroll-snap-align"),v("snap-(normal|always)","scroll-snap-stop"),v("scroll-(auto|smooth)","scroll-behavior"),w("scroll-p([xytrbl])?(?:$|-)","padding",xt("scroll-padding")),w("-?scroll-m([xytrbl])?(?:$|-)","scroll-margin",xt("scroll-margin")),v("touch-(auto|none|manipulation)","touch-action"),v("touch-(pinch-zoom|pan-(?:(x|left|right)|(y|up|down)))",({1:t,2:e,3:r})=>({...De({"--tw-pan-x":"var(--tw-empty,/*!*/ /*!*/)","--tw-pan-y":"var(--tw-empty,/*!*/ /*!*/)","--tw-pinch-zoom":"var(--tw-empty,/*!*/ /*!*/)","--tw-touch-action":"var(--tw-pan-x) var(--tw-pan-y) var(--tw-pinch-zoom)"}),[`--tw-${e?"pan-x":r?"pan-y":t}`]:t,"touch-action":"var(--tw-touch-action)"})),v("outline-none",{outline:"2px solid transparent","outline-offset":"2px"}),v("outline",{outlineStyle:"solid"}),v("outline-(dashed|dotted|double)","outlineStyle"),w("-?(outline-offset)-"),Z("outline-",{opacityVariable:!1,opacitySection:"opacity"}),w("outline-","outlineWidth"),"(pointer-events)-",w("(will-change)-"),"(will-change)-",["resize(?:-(none|x|y))?","resize",({1:t})=>({x:"horizontal",y:"vertical"})[t]||t||"both"],v("select-(none|text|all|auto)","userSelect"),Z("fill-",{section:"fill",opacityVariable:!1,opacitySection:"opacity"}),Z("stroke-",{section:"stroke",opacityVariable:!1,opacitySection:"opacity"}),w("stroke-","strokeWidth"),v("sr-only",{position:"absolute",width:"1px",height:"1px",padding:"0",margin:"-1px",overflow:"hidden",whiteSpace:"nowrap",clip:"rect(0,0,0,0)",borderWidth:"0"}),v("not-sr-only",{position:"static",width:"auto",height:"auto",padding:"0",margin:"0",overflow:"visible",whiteSpace:"normal",clip:"auto"})];function gn(t){return(typeof t=="string"?t:t[1]).replace(/-/g," ").trim()}function zo(t){return(typeof t=="string"?t:t[1]).replace("col","column")}function nt(t,e="-"){let r=[];for(let n of t)r.push({t:"top",r:"right",b:"bottom",l:"left"}[n]);return r.join(e)}function ye(t){return t&&""+(t._||t)}function qo({$$:t}){return({r:"flex-","":"flex-",w:"space-",u:"space-",n:"space-"}[t[3]||""]||"")+t}function xt(t,e=""){return({1:r,_:n})=>{let i={x:"lr",y:"tb"}[r]||r+r;return i?{...ur(t+"-"+nt(i[0])+e,n),...ur(t+"-"+nt(i[1])+e,n)}:ur(t+e,n)}}function Wo(t=""){let e=["blur","brightness","contrast","grayscale","hue-rotate","invert",t&&"opacity","saturate","sepia",!t&&"drop-shadow"].filter(Boolean),r={};for(let n of e)r[`--tw-${t}${n}`]="var(--tw-empty,/*!*/ /*!*/)";return r={...De(r),[`${t}filter`]:e.map(n=>`var(--tw-${t}${n})`).join(" ")},[`(${t}filter)-(none)`,v(`${t}filter`,r),...e.map(n=>w(`${n[0]=="h"?"-?":""}(${t}${n})(?:$|-)`,n,({1:i,_:s})=>({[`--tw-${i}`]:D(s).map(o=>`${n}(${o})`).join(" "),...r})))]}function Gi({1:t,_:e}){return{["--tw-"+t]:e,...Ji()}}function Ji(){return{...De({"--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-transform":Xo()}),transform:"var(--tw-transform)"}}function Xo(t){return[t?"translate3d(var(--tw-translate-x),var(--tw-translate-y),0)":"translateX(var(--tw-translate-x)) translateY(var(--tw-translate-y))","rotate(var(--tw-rotate))","skewX(var(--tw-skew-x))","skewY(var(--tw-skew-y))","scaleX(var(--tw-scale-x))","scaleY(var(--tw-scale-y))"].join(" ")}function Zo({1:t,2:e}){return`${t} ${e} / ${t} ${e}`}function Go({1:t}){return`repeat(${t},minmax(0,1fr))`}function De(t){return{"@layer defaults":{"*,::before,::after":t,"::backdrop":t}}}var Ko=[["sticky","@supports ((position: -webkit-sticky) or (position:sticky))"],["motion-reduce","@media (prefers-reduced-motion:reduce)"],["motion-safe","@media (prefers-reduced-motion:no-preference)"],["print","@media print"],["(portrait|landscape)",({1:t})=>`@media (orientation:${t})`],["contrast-(more|less)",({1:t})=>`@media (prefers-contrast:${t})`],["(first-(letter|line)|placeholder|backdrop|before|after)",({1:t})=>`&::${t}`],["(marker|selection)",({1:t})=>`& *::${t},&::${t}`],["file","&::file-selector-button"],["(first|last|only)",({1:t})=>`&:${t}-child`],["even","&:nth-child(2n)"],["odd","&:nth-child(odd)"],["open","&[open]"],["(aria|data)-",({1:t,$$:e},r)=>e&&`&[${t}-${r.theme(t,e)||ke(e,"",r)||`${e}="true"`}]`],["((group|peer)(~[^-[]+)?)(-\\[(.+)]|[-[].+?)(\\/.+)?",({2:t,3:e="",4:r,5:n="",6:i=e},{e:s,h:o,v:u})=>{let a=bt(n)||(r[0]=="["?r:u(r.slice(1)));return`${(a.includes("&")?a:"&"+a).replace(/&/g,`:merge(.${s(o(t+i))})`)}${t[0]=="p"?"~":" "}&`}],["(ltr|rtl)",({1:t})=>`[dir="${t}"] &`],["supports-",({$$:t},e)=>{if(t&&(t=e.theme("supports",t)||ke(t,"",e)),t)return t.includes(":")||(t+=":var(--tw)"),/^\w*\s*\(/.test(t)||(t=`(${t})`),`@supports ${t.replace(/\b(and|or|not)\b/g," $1 ").trim()}`}],["max-",({$$:t},e)=>{if(t&&(t=e.theme("screens",t)||ke(t,"",e)),typeof t=="string")return`@media not all and (min-width:${t})`}],["min-",({$$:t},e)=>(t&&(t=ke(t,"",e)),t&&`@media (min-width:${t})`)],[/^\[(.+)]$/,({1:t})=>/[&@]/.test(t)&&bt(t).replace(/[}]+$/,"").split("{")]];function Yo({colors:t,disablePreflight:e}={}){return{preflight:e?void 0:Bo,theme:{...pr,colors:{inherit:"inherit",current:"currentColor",transparent:"transparent",black:"#000",white:"#fff",...t}},variants:Ko,rules:Jo,finalize(r){return r.n&&r.d&&r.r.some(n=>/^&::(before|after)$/.test(n))&&!/(^|;)content:/.test(r.d)?{...r,d:"content:var(--tw-content);"+r.d}:r}}}var Du={50:"#f8fafc",100:"#f1f5f9",200:"#e2e8f0",300:"#cbd5e1",400:"#94a3b8",500:"#64748b",600:"#475569",700:"#334155",800:"#1e293b",900:"#0f172a"},Ru={50:"#f9fafb",100:"#f3f4f6",200:"#e5e7eb",300:"#d1d5db",400:"#9ca3af",500:"#6b7280",600:"#4b5563",700:"#374151",800:"#1f2937",900:"#111827"},Pu={50:"#fafafa",100:"#f4f4f5",200:"#e4e4e7",300:"#d4d4d8",400:"#a1a1aa",500:"#71717a",600:"#52525b",700:"#3f3f46",800:"#27272a",900:"#18181b"},Uu={50:"#fafafa",100:"#f5f5f5",200:"#e5e5e5",300:"#d4d4d4",400:"#a3a3a3",500:"#737373",600:"#525252",700:"#404040",800:"#262626",900:"#171717"},Vu={50:"#fafaf9",100:"#f5f5f4",200:"#e7e5e4",300:"#d6d3d1",400:"#a8a29e",500:"#78716c",600:"#57534e",700:"#44403c",800:"#292524",900:"#1c1917"},Nu={50:"#fef2f2",100:"#fee2e2",200:"#fecaca",300:"#fca5a5",400:"#f87171",500:"#ef4444",600:"#dc2626",700:"#b91c1c",800:"#991b1b",900:"#7f1d1d"},Fu={50:"#fff7ed",100:"#ffedd5",200:"#fed7aa",300:"#fdba74",400:"#fb923c",500:"#f97316",600:"#ea580c",700:"#c2410c",800:"#9a3412",900:"#7c2d12"},Hu={50:"#fffbeb",100:"#fef3c7",200:"#fde68a",300:"#fcd34d",400:"#fbbf24",500:"#f59e0b",600:"#d97706",700:"#b45309",800:"#92400e",900:"#78350f"},Bu={50:"#fefce8",100:"#fef9c3",200:"#fef08a",300:"#fde047",400:"#facc15",500:"#eab308",600:"#ca8a04",700:"#a16207",800:"#854d0e",900:"#713f12"},zu={50:"#f7fee7",100:"#ecfccb",200:"#d9f99d",300:"#bef264",400:"#a3e635",500:"#84cc16",600:"#65a30d",700:"#4d7c0f",800:"#3f6212",900:"#365314"},qu={50:"#f0fdf4",100:"#dcfce7",200:"#bbf7d0",300:"#86efac",400:"#4ade80",500:"#22c55e",600:"#16a34a",700:"#15803d",800:"#166534",900:"#14532d"},Wu={50:"#ecfdf5",100:"#d1fae5",200:"#a7f3d0",300:"#6ee7b7",400:"#34d399",500:"#10b981",600:"#059669",700:"#047857",800:"#065f46",900:"#064e3b"},Zu={50:"#f0fdfa",100:"#ccfbf1",200:"#99f6e4",300:"#5eead4",400:"#2dd4bf",500:"#14b8a6",600:"#0d9488",700:"#0f766e",800:"#115e59",900:"#134e4a"},Gu={50:"#ecfeff",100:"#cffafe",200:"#a5f3fc",300:"#67e8f9",400:"#22d3ee",500:"#06b6d4",600:"#0891b2",700:"#0e7490",800:"#155e75",900:"#164e63"},Ju={50:"#f0f9ff",100:"#e0f2fe",200:"#bae6fd",300:"#7dd3fc",400:"#38bdf8",500:"#0ea5e9",600:"#0284c7",700:"#0369a1",800:"#075985",900:"#0c4a6e"},Xu={50:"#eff6ff",100:"#dbeafe",200:"#bfdbfe",300:"#93c5fd",400:"#60a5fa",500:"#3b82f6",600:"#2563eb",700:"#1d4ed8",800:"#1e40af",900:"#1e3a8a"},Ku={50:"#eef2ff",100:"#e0e7ff",200:"#c7d2fe",300:"#a5b4fc",400:"#818cf8",500:"#6366f1",600:"#4f46e5",700:"#4338ca",800:"#3730a3",900:"#312e81"},Yu={50:"#f5f3ff",100:"#ede9fe",200:"#ddd6fe",300:"#c4b5fd",400:"#a78bfa",500:"#8b5cf6",600:"#7c3aed",700:"#6d28d9",800:"#5b21b6",900:"#4c1d95"},Qu={50:"#faf5ff",100:"#f3e8ff",200:"#e9d5ff",300:"#d8b4fe",400:"#c084fc",500:"#a855f7",600:"#9333ea",700:"#7e22ce",800:"#6b21a8",900:"#581c87"},ec={50:"#fdf4ff",100:"#fae8ff",200:"#f5d0fe",300:"#f0abfc",400:"#e879f9",500:"#d946ef",600:"#c026d3",700:"#a21caf",800:"#86198f",900:"#701a75"},tc={50:"#fdf2f8",100:"#fce7f3",200:"#fbcfe8",300:"#f9a8d4",400:"#f472b6",500:"#ec4899",600:"#db2777",700:"#be185d",800:"#9d174d",900:"#831843"},rc={50:"#fff1f2",100:"#ffe4e6",200:"#fecdd3",300:"#fda4af",400:"#fb7185",500:"#f43f5e",600:"#e11d48",700:"#be123c",800:"#9f1239",900:"#881337"},Qo={__proto__:null,slate:Du,gray:Ru,zinc:Pu,neutral:Uu,stone:Vu,red:Nu,orange:Fu,amber:Hu,yellow:Bu,lime:zu,green:qu,emerald:Wu,teal:Zu,cyan:Gu,sky:Ju,blue:Xu,indigo:Ku,violet:Yu,purple:Qu,fuchsia:ec,pink:tc,rose:rc};function ea({disablePreflight:t}={}){return Yo({colors:Qo,disablePreflight:t})}function na({className:t="prose",defaultColor:e="gray",extend:r={},colors:n={}}={}){return n={body:"700",headings:"900",lead:"600",links:"900",bold:"900",counters:"500",bullets:"300",hr:"200",quotes:"900","quote-borders":"200",captions:"500",code:"900","pre-code":"200","pre-bg":"800","th-borders":"300","td-borders":"200",...n,dark:n.dark===null?null:{body:"300",headings:"#fff",lead:"400",links:"#fff",bold:"#fff",counters:"400",bullets:"600",hr:"700",quotes:"100","quote-borders":"700",captions:"400",code:"#fff","pre-code":"300","pre-bg":"rgb(0 0 0 / 50%)","th-borders":"600","td-borders":"700",...n.dark}},{variants:[["headings","h1,h2,h3,h4,h5,h6,th"],["h1"],["h2"],["h3"],["h4"],["h5"],["h6"],["p"],["a"],["blockquote"],["figure"],["figcaption"],["strong"],["em"],["code"],["pre"],["ol"],["ul"],["li"],["table"],["thead"],["tr"],["th"],["td"],["img"],["video"],["hr"],["lead",".lead"]].map(([s,o=s])=>[`${t}-${s}`,(u,a)=>ia(t,o[0]=="."?"."+a.e(a.h(o.slice(1))):o,a,c=>`& :is(${c.trim()})`)]),rules:[[`(lead|not-${t})`,({1:s},{h:o})=>[{c:o(s)}]],[`${t}-invert`,{"@layer base":{"--tw-prose-body":"var(--tw-prose-invert-body)","--tw-prose-headings":"var(--tw-prose-invert-headings)","--tw-prose-lead":"var(--tw-prose-invert-lead)","--tw-prose-links":"var(--tw-prose-invert-links)","--tw-prose-bold":"var(--tw-prose-invert-bold)","--tw-prose-counters":"var(--tw-prose-invert-counters)","--tw-prose-bullets":"var(--tw-prose-invert-bullets)","--tw-prose-hr":"var(--tw-prose-invert-hr)","--tw-prose-quotes":"var(--tw-prose-invert-quotes)","--tw-prose-quote-borders":"var(--tw-prose-invert-quote-borders)","--tw-prose-captions":"var(--tw-prose-invert-captions)","--tw-prose-code":"var(--tw-prose-invert-code)","--tw-prose-pre-code":"var(--tw-prose-invert-pre-code)","--tw-prose-pre-bg":"var(--tw-prose-invert-pre-bg)","--tw-prose-th-borders":"var(--tw-prose-invert-th-borders)","--tw-prose-td-borders":"var(--tw-prose-invert-td-borders)"}}],[t+"-",({$$:s},o)=>{let u=ra(o.theme("fontSize",s));return u&&{"@layer components":u}}],[t+"-",({$$:s},o)=>i(s,o)],[t,(s,o)=>({...i(e,o),"@layer base":[ta(t,o,{a:{color:"var(--tw-prose-links)",textDecorationLine:"underline",fontWeight:"500"},strong:{color:"var(--tw-prose-bold)",fontWeight:"600"},"a strong,blockquote strong,thead th strong":{color:"inherit"},ul:{listStyleType:"disc"},ol:{listStyleType:"decimal"},'ol[type="A"]':{listStyleType:"upper-alpha"},'ol[type="a"]':{listStyleType:"lower-alpha"},'ol[type="A" s]':{listStyleType:"upper-alpha"},'ol[type="a" s]':{listStyleType:"lower-alpha"},'ol[type="I"]':{listStyleType:"upper-roman"},'ol[type="i"]':{listStyleType:"lower-roman"},'ol[type="I" s]':{listStyleType:"upper-roman"},'ol[type="i" s]':{listStyleType:"lower-roman"},'ol[type="1"]':{listStyleType:"decimal"},"ol,ul":{marginTop:C(20,16),marginBottom:C(20,16),paddingLeft:C(26,16)},li:{marginTop:C(8,16),marginBottom:C(8,16)},"ol>li,ul>li":{paddingLeft:C(6,16)},">ul>li p":{marginTop:C(12,16),marginBottom:C(12,16)},">ul>li>*:first-child,>ol>li>*:last-child":{marginTop:C(20,16)},">ul>li>*:last-child,>ol>li>*:last-child":{marginBottom:C(20,16)},"ol>li::marker":{fontWeight:"400",color:"var(--tw-prose-counters)"},"ul>li::marker":{color:"var(--tw-prose-bullets)"},"ul ul,ul ol,ol ul,ol ol":{marginTop:C(12,16),marginBottom:C(12,16)},hr:{borderColor:"var(--tw-prose-hr)",borderTopWidth:"1",marginTop:C(48,16),marginBottom:C(48,16)},blockquote:{marginTop:C(32,20),marginBottom:C(32,20),paddingLeft:C(20,20),fontWeight:"500",fontStyle:"italic",color:"var(--tw-prose-quotes)",borderLeftWidth:"0.25rem",borderLeftColor:"var(--tw-prose-quote-borders)",quotes:'"\\201C""\\201D""\\2018""\\2019"'},"blockquote p:first-of-type::before":{content:"open-quote"},"blockquote p:last-of-type::after":{content:"close-quote"},p:{marginTop:C(20,16),marginBottom:C(20,16)},h1:{color:"var(--tw-prose-headings)",fontWeight:"800",fontSize:C(36,16),marginTop:"0",marginBottom:C(32,36),lineHeight:1.15},"h1 strong":{fontWeight:"900",color:"inherit"},h2:{color:"var(--tw-prose-headings)",fontWeight:"700",fontSize:C(24,16),marginTop:C(48,24),marginBottom:C(24,24),lineHeight:"1.35"},"h2 strong":{fontWeight:"800",color:"inherit"},h3:{color:"var(--tw-prose-headings)",fontWeight:"600",fontSize:C(20,16),marginTop:C(32,20),marginBottom:C(12,20),lineHeight:"1.6"},"h3 strong":{fontWeight:"700",color:"inherit"},h4:{color:"var(--tw-prose-headings)",fontWeight:"600",marginTop:C(24,16),marginBottom:C(8,16),lineHeight:"1.5"},"h4 strong":{fontWeight:"700",color:"inherit"},"hr+*,h2+*,h3+*,h4+*":{marginTop:"0"},"img,video,figure":{marginTop:C(32,16),marginBottom:C(32,16)},"figure>*":{marginTop:"0",marginBottom:"0"},figcaption:{color:"var(--tw-prose-captions)",fontSize:C(14,16),lineHeight:"1.4",marginTop:C(12,14)},code:{color:"var(--tw-prose-code)",fontWeight:"600",fontSize:C(14,16)},"code::before,code::after":{content:'"`"'},"h2 code":{fontSize:C(21,24)},"h3 code":{fontSize:C(18,20)},"a code,h1 code,h2 code,h3 code,h4 code,blockquote code,thead th code":{color:"inherit"},pre:{color:"var(--tw-prose-pre-code)",backgroundColor:"var(--tw-prose-pre-bg)",overflowX:"auto",fontWeight:"400",fontSize:C(14,16),lineHeight:"1.7",marginTop:C(24,14),marginBottom:C(24,14),borderRadius:"0.375rem",paddingTop:C(12,14),paddingRight:C(16,14),paddingBottom:C(12,14),paddingLeft:C(16,14)},"pre code":{backgroundColor:"transparent",borderWidth:"0",borderRadius:"0",padding:"0",fontWeight:"inherit",color:"inherit",fontSize:"inherit",fontFamily:"inherit",lineHeight:"inherit"},"pre code::before":{content:"none"},"pre code::after":{content:"none"},table:{width:"100%",tableLayout:"auto",textAlign:"left",marginTop:C(32,16),marginBottom:C(32,16),fontSize:C(14,16),lineHeight:"1.7"},thead:{borderBottomWidth:"1px",borderBottomColor:"var(--tw-prose-th-borders)"},"thead th":{color:"var(--tw-prose-headings)",fontWeight:"600",verticalAlign:"bottom",paddingRight:C(8,14),paddingBottom:C(8,14),paddingLeft:C(8,14)},"thead th:first-child":{paddingLeft:"0"},"thead th:last-child":{paddingRight:"0"},"tbody tr":{borderBottomWidth:"1px",borderBottomColor:"var(--tw-prose-td-borders)"},"tbody tr:last-child":{borderBottomWidth:"0"},"tbody td,tfoot td":{verticalAlign:"baseline",paddingTop:C(8,14),paddingRight:C(8,14),paddingBottom:C(8,14),paddingLeft:C(8,14)},"tbody td:first-child,tfoot td:first-child":{paddingLeft:"0"},"tbody td:last-child,tfoot td:last-child":{paddingRight:"0"},[`.${o.e(o.h("lead"))}`]:{color:"var(--tw-prose-lead)",fontSize:C(20,16),lineHeight:"1.6",marginTop:C(24,20),marginBottom:C(24,20)},">:first-child":{marginTop:"0"},">:last-child":{marginBottom:"0"}}),ta(t,o,r)],"@layer components":{...ra(o.theme("fontSize","base")),color:"var(--tw-prose-body)",maxWidth:"theme(max-w.prose, 65ch)"}})]]};function i(s,o){let u={},a={},c=(f,p,b)=>{let x=o.theme(`colors.${s}.${p}`,p);b["--tw-prose-"+f]=pe(x);let k=b!=a&&o.d("colors",`${s}-${p}`,x);k&&(a["--tw-prose-"+f]=pe(k))};for(let f in n){let p=n[f];f!="dark"&&p&&c(f,p,u)}for(let f in n.dark||{}){let p=n.dark[f];p&&(n.dark?c("invert-"+f,p,u):c(f,p,a))}return Object.keys(u).length?{"@layer defaults":{"&":u,[o.v("dark")]:a}}:void 0}}function ta(t,e,r){let n={};for(let i in r)n[ia(t,i,e,s=>`.${e.e(e.h(t))}${s}`)]=r[i];return n}function ia(t,e,{e:r,h:n},i){return e.replace(/^[^>:]+$|(>)?((?:[^:,]+(?::[\w-]+)?)|:[\w-]+)(::[\w-]+)?/g,(s,o=" ",u=s,a="")=>i(`${o}:where(${u}):not(:where(.${r(n("not-"+t))} *))${a}`))}function ra(t){return t?typeof t=="string"?{fontSize:t}:{fontSize:t[0],...typeof t[1]=="string"?{lineHeight:t[1]}:t[1]}:void 0}function C(t,e){return`${(t/e).toFixed(3).replace(/^0|\.?0+$/g,"")}em`}var Xi=Zi({hash:!1,darkMode:"class",theme:{extend:{colors:{violet:{DEFAULT:"#601feb",50:"#f3f2ff",100:"#eae7ff",200:"#d7d2ff",300:"#baaeff",400:"#9980ff",500:"#784dff",600:"#6829fe",700:"#601feb",800:"#4b12c5",900:"#3f11a1",950:"#25086d"},pink:{DEFAULT:"#ff0bbb",50:"#fff0fc",100:"#ffe3fc",200:"#ffc6f9",300:"#ff98f2",400:"#ff58e5",500:"#ff27d5",600:"#ff0bbb",700:"#df0095",800:"#b8007b",900:"#980368",950:"#5f003b"},lime:{DEFAULT:"#b9e901",50:"#fdffe4",100:"#f9ffc5",200:"#f1ff92",300:"#e2ff54",400:"#d1fa21",500:"#b9e901",600:"#8ab400",700:"#688902",800:"#526b09",900:"#465a0d",950:"#243300"}},spacing:{px:"1px",0:"0",.5:"2px",1:"4px",1.5:"6px",2:"8px",2.5:"10px",3:"12px",3.5:"14px",4:"16px",5:"20px",6:"24px",7:"28px",8:"32px",9:"36px",10:"40px",11:"44px",12:"48px",14:"56px",16:"64px",20:"80px",24:"96px",28:"112px",32:"128px",36:"144px",40:"160px",44:"176px",48:"192px",52:"208px",56:"224px",60:"240px",64:"256px",72:"288px",80:"320px",96:"384px"},padding:{px:"1px",0:"0",.5:"2px",1:"4px",1.5:"6px",2:"8px",2.5:"10px",3:"12px",3.5:"14px",4:"16px",5:"20px",6:"24px",7:"28px",8:"32px",9:"36px",10:"40px",11:"44px",12:"48px",14:"56px",16:"64px",20:"80px",24:"96px",28:"112px",32:"128px",36:"144px",40:"160px",44:"176px",48:"192px",52:"208px",56:"224px",60:"240px",64:"256px",72:"288px",80:"320px",96:"384px"},lineHeight:{3:"12px",4:"16px",5:"20px",6:"24px",7:"28px",8:"32px",9:"36px",10:"40px"},maxWidth:{xs:"320px",sm:"384px",md:"448px",lg:"512px",xl:"576px","2xl":"672px","3xl":"768px","4xl":"896px","5xl":"1024px","6xl":"1152px","7xl":"1280px"},maxHeight:{.5:"2px",1:"4px",1.5:"6px",2:"8px",2.5:"10px",3:"12px",3.5:"14px",4:"16px",5:"20px",6:"24px",7:"28px",8:"32px",9:"36px",10:"40px",11:"44px",12:"48px",14:"56px",16:"64px",20:"80px",24:"96px",28:"112px",32:"128px",36:"144px",40:"160px",44:"176px",48:"192px",52:"208px",56:"224px",60:"240px",64:"256px",72:"288px",80:"320px",96:"384px"},borderRadius:{sm:"2px",DEFAULT:"4px",md:"6px",lg:"8px",xl:"12px","2xl":"16px","3xl":"24px"},fontSize:{xs:["12px","16px"],sm:["14px","20px"],base:["16px","24px"],lg:["18px","28px"],xl:["20px","28px"],"2xl":["24px","32px"],"3xl":["30px","36px"],"4xl":["36px","40px"],"5xl":["48px","1"],"6xl":["60px","1"],"7xl":["72px","1"],"8xl":["96px","1"],"9xl":["128px","1"]}}},presets:[ea(),No(),Ho(),na()]});function sa(t,e=!0){let r=function(){if(nc)try{let a=mn(new CSSStyleSheet);return a.connect=c=>{let f=Ki(c);f.adoptedStyleSheets=[...f.adoptedStyleSheets,a.target]},a.disconnect=dn,a}catch{}let s=document.createElement("style");s.media="not all",document.head.prepend(s);let o=[mn(s)],u=new WeakMap;return{get target(){return o[0].target},snapshot(){let a=o.map(c=>c.snapshot());return()=>a.forEach(c=>c())},clear(){o.forEach(a=>a.clear())},destroy(){o.forEach(a=>a.destroy())},insert(a,c,f){o[0].insert(a,c,f);let p=this.target.cssRules[c];o.forEach((b,x)=>x&&b.target.insertRule(p.cssText,c))},resume(a,c){return o[0].resume(a,c)},connect(a){let c=document.createElement("style");Ki(a).appendChild(c);let f=mn(c),{cssRules:p}=this.target;for(let b=0;b<p.length;b++)f.target.insertRule(p[b].cssText,b);o.push(f),u.set(a,f)},disconnect(a){let c=o.indexOf(u.get(a));c>=0&&o.splice(c,1)}}}(),n=Do({...t,hash:t.hash??e},r),i=Ro(n);return function(o){return class extends o{connectedCallback(){super.connectedCallback?.(),r.connect(this),i.observe(Ki(this))}disconnectedCallback(){r.disconnect(this),super.disconnectedCallback?.()}constructor(...a){super(...a),this.tw=n}}}}var nc=typeof ShadowRoot<"u"&&(typeof ShadyCSS>"u"||ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype;function Ki(t){return t.shadowRoot||t.attachShadow({mode:"open"})}var _=t=>sa(Xi)(t);var fr=class extends _(S){constructor(){super();y(this,"render",()=>h`
120
+ </svg>`};var xu=wo,Ti=class extends un{resolveIcon(e){return xu[e]}render(){super.render();let e=this.shadowRoot?.querySelector("svg");if(!e)throw new Error("svgEl not found");e.setAttribute("fill","none"),e.querySelectorAll("[stroke]").forEach(r=>{r.setAttribute("stroke","currentColor")})}};customElements.get("hi-outline")||customElements.define("hi-outline",Ti);function Hi(t){return[...t.v,(t.i?"!":"")+t.n].join(":")}function ku(t,e=","){return t.map(Hi).join(e)}var Eo=typeof CSS<"u"&&CSS.escape||(t=>t.replace(/[!"'`*+.,;:\\/<=>?@#$%&^|~()[\]{}]/g,"\\$&").replace(/^\d/,"\\3$& "));function cn(t){for(var e=9,r=t.length;r--;)e=Math.imul(e^t.charCodeAt(r),1597334677);return"#"+((e^e>>>9)>>>0).toString(36)}function hn(t,e="@media "){return e+D(t).map(r=>(typeof r=="string"&&(r={min:r}),r.raw||Object.keys(r).map(n=>`(${n}-width:${r[n]})`).join(" and "))).join(",")}function D(t=[]){return Array.isArray(t)?t:t==null?[]:[t]}function bo(t){return t}function dn(){}var W={d:0,b:134217728,c:268435456,a:671088640,u:805306368,o:939524096};function _o(t){return t.match(/[-=:;]/g)?.length||0}function Pi(t){return Math.min(/(?:^|width[^\d]+)(\d+(?:.\d+)?)(p)?/.test(t)?Math.max(0,29.63*(+RegExp.$1/(RegExp.$2?15:1))**.137-43):0,15)<<22|Math.min(_o(t),15)<<18}var Cu=["rst-c","st-ch","h-chi","y-lin","nk","sited","ecked","pty","ad-on","cus-w","ver","cus","cus-v","tive","sable","tiona","quire"];function Bi({n:t,i:e,v:r=[]},n,i,s){t&&(t=Hi({n:t,i:e,v:r})),s=[...D(s)];for(let u of r){let a=n.theme("screens",u);for(let c of D(a&&hn(a)||n.v(u))){var o;s.push(c),i|=a?67108864|Pi(c):u=="dark"?1073741824:c[0]=="@"?Pi(c):(o=c,1<<~(/:([a-z-]+)/.test(o)&&~Cu.indexOf(RegExp.$1.slice(2,7))||-18))}}return{n:t,p:i,r:s,i:e}}var Ao=new Map;function Ui(t){if(t.d){let e=[],r=Oi(t.r.reduce((n,i)=>i[0]=="@"?(e.push(i),n):i?Oi(n,s=>Oi(i,o=>{let u=/(:merge\(.+?\))(:[a-z-]+|\\[.+])/.exec(o);if(u){let a=s.indexOf(u[1]);return~a?s.slice(0,a)+u[0]+s.slice(a+u[1].length):ji(s,o)}return ji(o,s)})):n,"&"),n=>ji(n,t.n?"."+Eo(t.n):""));return r&&e.push(r.replace(/:merge\((.+?)\)/g,"$1")),e.reduceRight((n,i)=>i+"{"+n+"}",t.d)}}function Oi(t,e){return t.replace(/ *((?:\(.+?\)|\[.+?\]|[^,])+) *(,|$)/g,(r,n,i)=>e(n)+i)}function ji(t,e){return t.replace(/&/g,e)}var xo=new Intl.Collator("en",{numeric:!0});function Mo(t,e){for(var r=0,n=t.length;r<n;){let i=n+r>>1;0>=Io(t[i],e)?r=i+1:n=i}return n}function Io(t,e){let r=t.p&W.o;return r==(e.p&W.o)&&(r==W.b||r==W.o)?0:t.p-e.p||t.o-e.o||xo.compare(ko(t.n),ko(e.n))||xo.compare(Co(t.n),Co(e.n))}function ko(t){return(t||"").split(/:/).pop().split("/").pop()||"\0"}function Co(t){return(t||"").replace(/\W/g,e=>String.fromCharCode(127+e.charCodeAt(0)))+"\0"}function Di(t,e){return Math.round(parseInt(t,16)*e)}function fe(t,e={}){if(typeof t=="function")return t(e);let{opacityValue:r="1",opacityVariable:n}=e,i=n?`var(${n})`:r;if(t.includes("<alpha-value>"))return t.replace("<alpha-value>",i);if(t[0]=="#"&&(t.length==4||t.length==7)){let s=(t.length-1)/3,o=[17,1,.062272][s-1];return`rgba(${[Di(t.substr(1,s),o),Di(t.substr(1+s,s),o),Di(t.substr(1+2*s,s),o),i]})`}return i=="1"?t:i=="0"?"#0000":t.replace(/^(rgb|hsl)(\([^)]+)\)$/,`$1a$2,${i})`)}function Lo(t,e,r,n,i=[]){return function s(o,{n:u,p:a,r:c=[],i:f},p){let b=[],x="",k=0,A=0;for(let $ in o||{}){var I,j;let M=o[$];if($[0]=="@"){if(!M)continue;if($[1]=="a"){b.push(...qi(u,a,fn(""+M),p,a,c,f,!0));continue}if($[1]=="l"){for(let L of D(M))b.push(...s(L,{n:u,p:(I=W[$[7]],a&~W.o|I),r:$[7]=="d"?[]:c,i:f},p));continue}if($[1]=="i"){b.push(...D(M).map(L=>({p:-1,o:0,r:[],d:$+" "+L})));continue}if($[1]=="k"){b.push({p:W.d,o:0,r:[$],d:s(M,{p:W.d},p).map(Ui).join("")});continue}if($[1]=="f"){b.push(...D(M).map(L=>({p:W.d,o:0,r:[$],d:s(L,{p:W.d},p).map(Ui).join("")})));continue}}if(typeof M!="object"||Array.isArray(M))$=="label"&&M?u=M+cn(JSON.stringify([a,f,o])):(M||M===0)&&($=$.replace(/[A-Z]/g,L=>"-"+L.toLowerCase()),A+=1,k=Math.max(k,(j=$)[0]=="-"?0:_o(j)+(/^(?:(border-(?!w|c|sty)|[tlbr].{2,4}m?$|c.{7,8}$)|([fl].{5}l|g.{8}$|pl))/.test(j)?+!!RegExp.$1||-!!RegExp.$2:0)+1),x+=(x?";":"")+D(M).map(L=>p.s($,zi(""+L,p.theme)+(f?" !important":""))).join(";"));else if($[0]=="@"||$.includes("&")){let L=a;$[0]=="@"&&($=$.replace(/\bscreen\(([^)]+)\)/g,(H,q)=>{let K=p.theme("screens",q);return K?(L|=67108864,hn(K,"")):H}),L|=Pi($)),b.push(...s(M,{n:u,p:L,r:[...c,$],i:f},p))}else b.push(...s(M,{p:a,r:[...c,$]},p))}return b.unshift({n:u,p:a,o:Math.max(0,15-A)+1.5*Math.min(k||15,15),r:c,d:x}),b.sort(Io)}(t,Bi(e,r,n,i),r)}function zi(t,e){return t.replace(/theme\((["'`])?(.+?)\1(?:\s*,\s*(["'`])?(.+?)\3)?\)/g,(r,n,i,s,o="")=>{let u=e(i,o);return typeof u=="function"&&/color|fill|stroke/i.test(i)?fe(u):""+D(u).filter(a=>Object(a)!==a)})}function To(t,e){let r,n=[];for(let i of t)i.d&&i.n?r?.p==i.p&&""+r.r==""+i.r?(r.c=[r.c,i.c].filter(Boolean).join(" "),r.d=r.d+";"+i.d):n.push(r={...i,n:i.n&&e}):n.push({...i,n:i.n&&e});return n}function pn(t,e,r=W.u,n,i){let s=[];for(let o of t)for(let u of function(a,c,f,p,b){a={...a,i:a.i||b};let x=function(k,A){let I=Ao.get(k.n);return I?I(k,A):A.r(k.n,k.v[0]=="dark")}(a,c);return x?typeof x=="string"?({r:p,p:f}=Bi(a,c,f,p),To(pn(fn(x),c,f,p,a.i),a.n)):Array.isArray(x)?x.map(k=>{var A,I;return{o:0,...k,r:[...D(p),...D(k.r)],p:(A=f,I=k.p??f,A&~W.o|I)}}):Lo(x,a,c,f,p):[{c:Hi(a),p:0,o:0,r:[]}]}(o,e,r,n,i))s.splice(Mo(s,u),0,u);return s}function qi(t,e,r,n,i,s,o,u){return To((u?r.flatMap(a=>pn([a],n,i,s,o)):pn(r,n,i,s,o)).map(a=>a.p&W.o&&(a.n||e==W.b)?{...a,p:a.p&~W.o|e,o:0}:a),t)}function $u(t,e,r,n){var i;return i=(s,o)=>{let{n:u,p:a,r:c,i:f}=Bi(s,o,e);return r&&qi(u,e,r,o,a,c,f,n)},Ao.set(t,i),t}function Ri(t,e,r){if(t[t.length-1]!="("){let n=[],i=!1,s=!1,o="";for(let u of t)if(!(u=="("||/[~@]$/.test(u))){if(u[0]=="!"&&(u=u.slice(1),i=!i),u.endsWith(":")){n[u=="dark:"?"unshift":"push"](u.slice(0,-1));continue}u[0]=="-"&&(u=u.slice(1),s=!s),u.endsWith("-")&&(u=u.slice(0,-1)),u&&u!="&"&&(o+=(o&&"-")+u)}o&&(s&&(o="-"+o),e[0].push({n:o,v:n.filter(Su),i}))}}function Su(t,e,r){return r.indexOf(t)==e}var $o=new Map;function fn(t){let e=$o.get(t);if(!e){let r=[],n=[[]],i=0,s=0,o=null,u=0,a=(c,f=0)=>{i!=u&&(r.push(t.slice(i,u+f)),c&&Ri(r,n)),i=u+1};for(;u<t.length;u++){let c=t[u];if(s)t[u-1]!="\\"&&(s+=+(c=="[")||-(c=="]"));else if(c=="[")s+=1;else if(o)t[u-1]!="\\"&&o.test(t.slice(u))&&(o=null,i=u+RegExp.lastMatch.length);else if(c=="/"&&t[u-1]!="\\"&&(t[u+1]=="*"||t[u+1]=="/"))o=t[u+1]=="*"?/^\*\//:/^[\r\n]/;else if(c=="(")a(),r.push(c);else if(c==":")t[u+1]!=":"&&a(!1,1);else if(/[\s,)]/.test(c)){a(!0);let f=r.lastIndexOf("(");if(c==")"){let p=r[f-1];if(/[~@]$/.test(p)){let b=n.shift();r.length=f,Ri([...r,"#"],n);let{v:x}=n[0].pop();for(let k of b)k.v.splice(+(k.v[0]=="dark")-+(x[0]=="dark"),x.length);Ri([...r,$u(p.length>1?p.slice(0,-1)+cn(JSON.stringify([p,b])):p+"("+ku(b)+")",W.a,b,/@$/.test(p))],n)}f=r.lastIndexOf("(",f-1)}r.length=f+1}else/[~@]/.test(c)&&t[u+1]=="("&&n.unshift([])}a(!0),$o.set(t,e=n[0])}return e}function v(t,e,r){return[t,Vi(e,r)]}function Vi(t,e){return typeof t=="function"?t:typeof t=="string"&&/^[\w-]+$/.test(t)?(r,n)=>({[t]:e?e(r,n):Ni(r,1)}):r=>t||{[r[1]]:Ni(r,2)}}function Ni(t,e,r=t.slice(e).find(Boolean)||t.$$||t.input){return t.input[0]=="-"?`calc(${r} * -1)`:r}function w(t,e,r,n){return[t,Wi(e,r,n)]}function Wi(t,e,r){let n=typeof e=="string"?(i,s)=>({[e]:r?r(i,s):i._}):e||(({1:i,_:s},o,u)=>({[i||u]:s}));return(i,s)=>{let o=Oo(t||i[1]),u=s.theme(o,i.$$)??ke(i.$$,o,s);if(u!=null)return i._=Ni(i,0,u),n(i,s,o)}}function Z(t,e={},r){return[t,Eu(e,r)]}function Eu(t={},e){return(r,n)=>{let{section:i=Oo(r[0]).replace("-","")+"Color"}=t,[s,o]=_u(r.$$);if(!s)return;let u=n.theme(i,s)||ke(s,i,n);if(!u||typeof u=="object")return;let{opacityVariable:a=`--tw-${r[0].replace(/-$/,"")}-opacity`,opacitySection:c=i.replace("Color","Opacity"),property:f=i,selector:p}=t,b=n.theme(c,o||"DEFAULT")||o&&ke(o,c,n),x=e||(({_:A})=>{let I=ur(f,A);return p?{[p]:I}:I});r._={value:fe(u,{opacityVariable:a||void 0,opacityValue:b||void 0}),color:A=>fe(u,A),opacityVariable:a||void 0,opacityValue:b||void 0};let k=x(r,n);if(!r.dark){let A=n.d(i,s,u);A&&A!==u&&(r._={value:fe(A,{opacityVariable:a||void 0,opacityValue:b||"1"}),color:I=>fe(A,I),opacityVariable:a||void 0,opacityValue:b||void 0},k={"&":k,[n.v("dark")]:x(r,n)})}return k}}function _u(t){return(t.match(/^(\[[^\]]+]|[^/]+?)(?:\/(.+))?$/)||[]).slice(1)}function ur(t,e){let r={};return typeof e=="string"?r[t]=e:(e.opacityVariable&&e.value.includes(e.opacityVariable)&&(r[e.opacityVariable]=e.opacityValue||"1"),r[t]=e.value),r}function ke(t,e,r){if(t[0]=="["&&t.slice(-1)=="]"){if(t=bt(zi(t.slice(1,-1),r.theme)),!e)return t;if(!(/color|fill|stroke/i.test(e)&&!(/^color:/.test(t)||/^(#|((hsl|rgb)a?|hwb|lab|lch|color)\(|[a-z]+$)/.test(t))||/image/i.test(e)&&!(/^image:/.test(t)||/^[a-z-]+\(/.test(t))||/weight/i.test(e)&&!(/^(number|any):/.test(t)||/^\d+$/.test(t))||/position/i.test(e)&&/^(length|size):/.test(t)))return t.replace(/^[a-z-]+:/,"")}}function Oo(t){return t.replace(/-./g,e=>e[1].toUpperCase())}function bt(t){return t.includes("url(")?t.replace(/(.*?)(url\(.*?\))(.*?)/g,(e,r="",n,i="")=>bt(r)+n+bt(i)):t.replace(/(^|[^\\])_+/g,(e,r)=>r+" ".repeat(e.length-r.length)).replace(/\\_/g,"_").replace(/(calc|min|max|clamp)\(.+\)/g,e=>e.replace(/(-?\d*\.?\d(?!\b-.+[,)](?![^+\-/*])\D)(?:%|[a-z]+)?|\))([+\-/*])/g,"$1 $2 "))}function Zi({presets:t=[],...e}){let r={darkMode:void 0,darkColor:void 0,preflight:e.preflight!==!1&&[],theme:{},variants:D(e.variants),rules:D(e.rules),ignorelist:D(e.ignorelist),hash:void 0,stringify:(n,i)=>n+":"+i,finalize:[]};for(let n of D([...t,{darkMode:e.darkMode,darkColor:e.darkColor,preflight:e.preflight!==!1&&D(e.preflight),theme:e.theme,hash:e.hash,stringify:e.stringify,finalize:e.finalize}])){let{preflight:i,darkMode:s=r.darkMode,darkColor:o=r.darkColor,theme:u,variants:a,rules:c,ignorelist:f,hash:p=r.hash,stringify:b=r.stringify,finalize:x}=typeof n=="function"?n(r):n;r={preflight:r.preflight!==!1&&i!==!1&&[...r.preflight,...D(i)],darkMode:s,darkColor:o,theme:{...r.theme,...u,extend:{...r.theme.extend,...u?.extend}},variants:[...r.variants,...D(a)],rules:[...r.rules,...D(c)],ignorelist:[...r.ignorelist,...D(f)],hash:p,stringify:b,finalize:[...r.finalize,...D(x)]}}return r}function So(t,e,r,n,i,s){for(let o of e){let u=r.get(o);u||r.set(o,u=n(o));let a=u(t,i,s);if(a)return a}}function Au(t){var e;return Fi(t[0],typeof(e=t[1])=="function"?e:()=>e)}function Mu(t){var e,r;return Array.isArray(t)?Fi(t[0],Vi(t[1],t[2])):Fi(t,Vi(e,r))}function Fi(t,e){return jo(t,(r,n,i,s)=>{let o=n.exec(r);if(o)return o.$$=r.slice(o[0].length),o.dark=s,e(o,i)})}function jo(t,e){let r=D(t).map(Iu);return(n,i,s)=>{for(let o of r){let u=e(n,o,i,s);if(u)return u}}}function Iu(t){return typeof t=="string"?RegExp("^"+t+(t.includes("$")||t.slice(-1)=="-"?"":"$")):t}function Do(t,e){let r=Zi(t),n=function({theme:a,darkMode:c,darkColor:f=dn,variants:p,rules:b,hash:x,stringify:k,ignorelist:A,finalize:I}){let j=new Map,$=new Map,M=new Map,L=new Map,H=jo(A,(O,Y)=>Y.test(O));p.push(["dark",Array.isArray(c)||c=="class"?`${D(c)[1]||".dark"} &`:typeof c=="string"&&c!="media"?c:"@media (prefers-color-scheme:dark)"]);let q=typeof x=="function"?O=>x(O,cn):x?cn:bo;q!==bo&&I.push(O=>({...O,n:O.n&&q(O.n),d:O.d?.replace(/--(tw(?:-[\w-]+)?)\b/g,(Y,ne)=>"--"+q(ne).replace("#",""))}));let K={theme:function({extend:O={},...Y}){let ne={},xi={get colors(){return Je("colors")},theme:Je,negative(){return{}},breakpoints(B){let Q={};for(let oe in B)typeof B[oe]=="string"&&(Q["screen-"+oe]=B[oe]);return Q}};return Je;function Je(B,Q,oe,Qt){if(B){if({1:B,2:Qt}=/^(\S+?)(?:\s*\/\s*([^/]+))?$/.exec(B)||[,B],/[.[]/.test(B)){let Ee=[];B.replace(/\[([^\]]+)\]|([^.[]+)/g,(Ke,tr,au=tr)=>Ee.push(au)),B=Ee.shift(),oe=Q,Q=Ee.join("-")}let xe=ne[B]||Object.assign(Object.assign(ne[B]={},Kr(Y,B)),Kr(O,B));if(Q==null)return xe;Q||(Q="DEFAULT");let Xe=xe[Q]??Q.split("-").reduce((Ee,Ke)=>Ee?.[Ke],xe)??oe;return Qt?fe(Xe,{opacityValue:zi(Qt,Je)}):Xe}let er={};for(let xe of[...Object.keys(Y),...Object.keys(O)])er[xe]=Je(xe);return er}function Kr(B,Q){let oe=B[Q];return typeof oe=="function"&&(oe=oe(xi)),oe&&/color|fill|stroke/i.test(Q)?function Qt(er,xe=[]){let Xe={};for(let Ee in er){let Ke=er[Ee],tr=[...xe,Ee];Xe[tr.join("-")]=Ke,Ee=="DEFAULT"&&(tr=xe,Xe[xe.join("-")]=Ke),typeof Ke=="object"&&Object.assign(Xe,Qt(Ke,tr))}return Xe}(oe):oe}}(a),e:Eo,h:q,s(O,Y){return k(O,Y,K)},d(O,Y,ne){return f(O,Y,K,ne)},v(O){return j.has(O)||j.set(O,So(O,p,$,Au,K)||"&:"+O),j.get(O)},r(O,Y){let ne=JSON.stringify([O,Y]);return M.has(ne)||M.set(ne,!H(O,K)&&So(O,b,L,Mu,K,Y)),M.get(ne)},f(O){return I.reduce((Y,ne)=>ne(Y,K),O)}};return K}(r),i=new Map,s=[],o=new Set;e.resume(a=>i.set(a,a),(a,c)=>{e.insert(a,s.length,c),s.push(c),o.add(a)});function u(a){let c=n.f(a),f=Ui(c);if(f&&!o.has(f)){o.add(f);let p=Mo(s,a);e.insert(f,p,a),s.splice(p,0,a)}return c.n}return Object.defineProperties(function(c){if(!i.size)for(let p of D(r.preflight))typeof p=="function"&&(p=p(n)),p&&(typeof p=="string"?qi("",W.b,fn(p),n,W.b,[],!1,!0):Lo(p,{},n,W.b)).forEach(u);c=""+c;let f=i.get(c);if(!f){let p=new Set;for(let b of pn(fn(c),n))p.add(b.c).add(u(b));f=[...p].filter(Boolean).join(" "),i.set(c,f).set(f,f)}return f},Object.getOwnPropertyDescriptors({get target(){return e.target},theme:n.theme,config:r,snapshot(){let a=e.snapshot(),c=new Set(o),f=new Map(i),p=[...s];return()=>{a(),o=c,i=f,s=p}},clear(){e.clear(),o=new Set,i=new Map,s=[]},destroy(){this.clear(),e.destroy()}}))}function Lu(t,e){return t!=e&&""+t.split(" ").sort()!=""+e.split(" ").sort()}function Ro(t){let e=new MutationObserver(r);return{observe(i){e.observe(i,{attributeFilter:["class"],subtree:!0,childList:!0}),n(i),r([{target:i,type:""}])},disconnect(){e.disconnect()}};function r(i){for(let{type:s,target:o}of i)if(s[0]=="a")n(o);else for(let u of o.querySelectorAll("[class]"))n(u);e.takeRecords()}function n(i){let s,o=i.getAttribute?.("class");o&&Lu(o,s=t(o))&&i.setAttribute("class",s)}}function Tu(t){let e=document.querySelector(t||'style[data-twind=""]');return(!e||e.tagName!="STYLE")&&(e=document.createElement("style"),document.head.prepend(e)),e.dataset.twind="claimed",e}function mn(t){let e=t?.cssRules?t:(t&&typeof t!="string"?t:Tu(t)).sheet;return{target:e,snapshot(){let r=Array.from(e.cssRules,n=>n.cssText);return()=>{this.clear(),r.forEach(this.insert)}},clear(){for(let r=e.cssRules.length;r--;)e.deleteRule(r)},destroy(){e.ownerNode?.remove()},insert(r,n){try{e.insertRule(r,n)}catch{e.insertRule(":root{}",n)}},resume:dn}}var Ou=new Map([["align-self","-ms-grid-row-align"],["color-adjust","-webkit-print-color-adjust"],["column-gap","grid-column-gap"],["forced-color-adjust","-ms-high-contrast-adjust"],["gap","grid-gap"],["grid-template-columns","-ms-grid-columns"],["grid-template-rows","-ms-grid-rows"],["justify-self","-ms-grid-column-align"],["margin-inline-end","-webkit-margin-end"],["margin-inline-start","-webkit-margin-start"],["mask-border","-webkit-mask-box-image"],["mask-border-outset","-webkit-mask-box-image-outset"],["mask-border-slice","-webkit-mask-box-image-slice"],["mask-border-source","-webkit-mask-box-image-source"],["mask-border-repeat","-webkit-mask-box-image-repeat"],["mask-border-width","-webkit-mask-box-image-width"],["overflow-wrap","word-wrap"],["padding-inline-end","-webkit-padding-end"],["padding-inline-start","-webkit-padding-start"],["print-color-adjust","color-adjust"],["row-gap","grid-row-gap"],["scroll-margin-bottom","scroll-snap-margin-bottom"],["scroll-margin-left","scroll-snap-margin-left"],["scroll-margin-right","scroll-snap-margin-right"],["scroll-margin-top","scroll-snap-margin-top"],["scroll-margin","scroll-snap-margin"],["text-combine-upright","-ms-text-combine-horizontal"]]);function Po(t){return Ou.get(t)}function Uo(t){var e=/^(?:(text-(?:decoration$|e|or|si)|back(?:ground-cl|d|f)|box-d|mask(?:$|-[ispro]|-cl)|pr|hyphena|flex-d)|(tab-|column(?!-s)|text-align-l)|(ap)|u|hy)/i.exec(t);return e?e[1]?1:e[2]?2:e[3]?3:5:0}function Vo(t,e){var r=/^(?:(pos)|(cli)|(background-i)|(flex(?:$|-b)|(?:max-|min-)?(?:block-s|inl|he|widt))|dis)/i.exec(t);return r?r[1]?/^sti/i.test(e)?1:0:r[2]?/^pat/i.test(e)?1:0:r[3]?/^image-/i.test(e)?1:0:r[4]?e[3]==="-"?2:0:/^(?:inline-)?grid$/i.test(e)?4:0:0}var ju=[["-webkit-",1],["-moz-",2],["-ms-",4]];function No(){return({stringify:t})=>({stringify(e,r,n){let i="",s=Po(e);s&&(i+=t(s,r,n)+";");let o=Uo(e),u=Vo(e,r);for(let a of ju)o&a[1]&&(i+=t(a[0]+e,r,n)+";"),u&a[1]&&(i+=t(e,a[0]+r,n)+";");return i+t(e,r,n)}})}function Ho(){return{rules:[["line-clamp-none",{"-webkit-line-clamp":"unset"}],["line-clamp-",Wi("lineClamp",({_:t})=>Fo(t))],["line-clamp-(\\d+)",({1:t})=>Fo(t)]]}}function Fo(t){return{overflow:"hidden",display:"-webkit-box","-webkit-box-orient":"vertical","-webkit-line-clamp":`${t}`}}var pr={screens:{sm:"640px",md:"768px",lg:"1024px",xl:"1280px","2xl":"1536px"},columns:{auto:"auto","3xs":"16rem","2xs":"18rem",xs:"20rem",sm:"24rem",md:"28rem",lg:"32rem",xl:"36rem","2xl":"42rem","3xl":"48rem","4xl":"56rem","5xl":"64rem","6xl":"72rem","7xl":"80rem"},spacing:{px:"1px",0:"0px",...ae(4,"rem",4,.5,.5),...ae(12,"rem",4,5),14:"3.5rem",...ae(64,"rem",4,16,4),72:"18rem",80:"20rem",96:"24rem"},durations:{75:"75ms",100:"100ms",150:"150ms",200:"200ms",300:"300ms",500:"500ms",700:"700ms",1e3:"1000ms"},animation:{none:"none",spin:"spin 1s linear infinite",ping:"ping 1s cubic-bezier(0,0,0.2,1) infinite",pulse:"pulse 2s cubic-bezier(0.4,0,0.6,1) infinite",bounce:"bounce 1s infinite"},aspectRatio:{auto:"auto",square:"1/1",video:"16/9"},backdropBlur:T("blur"),backdropBrightness:T("brightness"),backdropContrast:T("contrast"),backdropGrayscale:T("grayscale"),backdropHueRotate:T("hueRotate"),backdropInvert:T("invert"),backdropOpacity:T("opacity"),backdropSaturate:T("saturate"),backdropSepia:T("sepia"),backgroundColor:T("colors"),backgroundImage:{none:"none"},backgroundOpacity:T("opacity"),backgroundSize:{auto:"auto",cover:"cover",contain:"contain"},blur:{none:"none",0:"0",sm:"4px",DEFAULT:"8px",md:"12px",lg:"16px",xl:"24px","2xl":"40px","3xl":"64px"},brightness:{...ae(200,"",100,0,50),...ae(110,"",100,90,5),75:"0.75",125:"1.25"},borderColor:({theme:t})=>({DEFAULT:t("colors.gray.200","currentColor"),...t("colors")}),borderOpacity:T("opacity"),borderRadius:{none:"0px",sm:"0.125rem",DEFAULT:"0.25rem",md:"0.375rem",lg:"0.5rem",xl:"0.75rem","2xl":"1rem","3xl":"1.5rem","1/2":"50%",full:"9999px"},borderSpacing:T("spacing"),borderWidth:{DEFAULT:"1px",...he(8,"px")},boxShadow:{sm:"0 1px 2px 0 rgba(0,0,0,0.05)",DEFAULT:"0 1px 3px 0 rgba(0,0,0,0.1), 0 1px 2px -1px rgba(0,0,0,0.1)",md:"0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -2px rgba(0,0,0,0.1)",lg:"0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -4px rgba(0,0,0,0.1)",xl:"0 20px 25px -5px rgba(0,0,0,0.1), 0 8px 10px -6px rgba(0,0,0,0.1)","2xl":"0 25px 50px -12px rgba(0,0,0,0.25)",inner:"inset 0 2px 4px 0 rgba(0,0,0,0.05)",none:"0 0 #0000"},boxShadowColor:T("colors"),caretColor:T("colors"),accentColor:({theme:t})=>({auto:"auto",...t("colors")}),contrast:{...ae(200,"",100,0,50),75:"0.75",125:"1.25"},content:{none:"none"},divideColor:T("borderColor"),divideOpacity:T("borderOpacity"),divideWidth:T("borderWidth"),dropShadow:{sm:"0 1px 1px rgba(0,0,0,0.05)",DEFAULT:["0 1px 2px rgba(0,0,0,0.1)","0 1px 1px rgba(0,0,0,0.06)"],md:["0 4px 3px rgba(0,0,0,0.07)","0 2px 2px rgba(0,0,0,0.06)"],lg:["0 10px 8px rgba(0,0,0,0.04)","0 4px 3px rgba(0,0,0,0.1)"],xl:["0 20px 13px rgba(0,0,0,0.03)","0 8px 5px rgba(0,0,0,0.08)"],"2xl":"0 25px 25px rgba(0,0,0,0.15)",none:"0 0 #0000"},fill:({theme:t})=>({...t("colors"),none:"none"}),grayscale:{DEFAULT:"100%",0:"0"},hueRotate:{0:"0deg",15:"15deg",30:"30deg",60:"60deg",90:"90deg",180:"180deg"},invert:{DEFAULT:"100%",0:"0"},flex:{1:"1 1 0%",auto:"1 1 auto",initial:"0 1 auto",none:"none"},flexBasis:({theme:t})=>({...t("spacing"),...cr(2,6),...cr(12,12),auto:"auto",full:"100%"}),flexGrow:{DEFAULT:1,0:0},flexShrink:{DEFAULT:1,0:0},fontFamily:{sans:'ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,"Noto Sans",sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji"'.split(","),serif:'ui-serif,Georgia,Cambria,"Times New Roman",Times,serif'.split(","),mono:'ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace'.split(",")},fontSize:{xs:["0.75rem","1rem"],sm:["0.875rem","1.25rem"],base:["1rem","1.5rem"],lg:["1.125rem","1.75rem"],xl:["1.25rem","1.75rem"],"2xl":["1.5rem","2rem"],"3xl":["1.875rem","2.25rem"],"4xl":["2.25rem","2.5rem"],"5xl":["3rem","1"],"6xl":["3.75rem","1"],"7xl":["4.5rem","1"],"8xl":["6rem","1"],"9xl":["8rem","1"]},fontWeight:{thin:"100",extralight:"200",light:"300",normal:"400",medium:"500",semibold:"600",bold:"700",extrabold:"800",black:"900"},gap:T("spacing"),gradientColorStops:T("colors"),gridAutoColumns:{auto:"auto",min:"min-content",max:"max-content",fr:"minmax(0,1fr)"},gridAutoRows:{auto:"auto",min:"min-content",max:"max-content",fr:"minmax(0,1fr)"},gridColumn:{auto:"auto","span-full":"1 / -1"},gridRow:{auto:"auto","span-full":"1 / -1"},gridTemplateColumns:{none:"none"},gridTemplateRows:{none:"none"},height:({theme:t})=>({...t("spacing"),...cr(2,6),min:"min-content",max:"max-content",fit:"fit-content",auto:"auto",full:"100%",screen:"100vh"}),inset:({theme:t})=>({...t("spacing"),...cr(2,4),auto:"auto",full:"100%"}),keyframes:{spin:{from:{transform:"rotate(0deg)"},to:{transform:"rotate(360deg)"}},ping:{"0%":{transform:"scale(1)",opacity:"1"},"75%,100%":{transform:"scale(2)",opacity:"0"}},pulse:{"0%,100%":{opacity:"1"},"50%":{opacity:".5"}},bounce:{"0%, 100%":{transform:"translateY(-25%)",animationTimingFunction:"cubic-bezier(0.8,0,1,1)"},"50%":{transform:"none",animationTimingFunction:"cubic-bezier(0,0,0.2,1)"}}},letterSpacing:{tighter:"-0.05em",tight:"-0.025em",normal:"0em",wide:"0.025em",wider:"0.05em",widest:"0.1em"},lineHeight:{...ae(10,"rem",4,3),none:"1",tight:"1.25",snug:"1.375",normal:"1.5",relaxed:"1.625",loose:"2"},margin:({theme:t})=>({auto:"auto",...t("spacing")}),maxHeight:({theme:t})=>({full:"100%",min:"min-content",max:"max-content",fit:"fit-content",screen:"100vh",...t("spacing")}),maxWidth:({theme:t,breakpoints:e})=>({...e(t("screens")),none:"none",0:"0rem",xs:"20rem",sm:"24rem",md:"28rem",lg:"32rem",xl:"36rem","2xl":"42rem","3xl":"48rem","4xl":"56rem","5xl":"64rem","6xl":"72rem","7xl":"80rem",full:"100%",min:"min-content",max:"max-content",fit:"fit-content",prose:"65ch"}),minHeight:{0:"0px",full:"100%",min:"min-content",max:"max-content",fit:"fit-content",screen:"100vh"},minWidth:{0:"0px",full:"100%",min:"min-content",max:"max-content",fit:"fit-content"},opacity:{...ae(100,"",100,0,10),5:"0.05",25:"0.25",75:"0.75",95:"0.95"},order:{first:"-9999",last:"9999",none:"0"},padding:T("spacing"),placeholderColor:T("colors"),placeholderOpacity:T("opacity"),outlineColor:T("colors"),outlineOffset:he(8,"px"),outlineWidth:he(8,"px"),ringColor:({theme:t})=>({...t("colors"),DEFAULT:"#3b82f6"}),ringOffsetColor:T("colors"),ringOffsetWidth:he(8,"px"),ringOpacity:({theme:t})=>({...t("opacity"),DEFAULT:"0.5"}),ringWidth:{DEFAULT:"3px",...he(8,"px")},rotate:{...he(2,"deg"),...he(12,"deg",3),...he(180,"deg",45)},saturate:ae(200,"",100,0,50),scale:{...ae(150,"",100,0,50),...ae(110,"",100,90,5),75:"0.75",125:"1.25"},scrollMargin:T("spacing"),scrollPadding:T("spacing"),sepia:{0:"0",DEFAULT:"100%"},skew:{...he(2,"deg"),...he(12,"deg",3)},space:T("spacing"),stroke:({theme:t})=>({...t("colors"),none:"none"}),strokeWidth:ae(2),textColor:T("colors"),textDecorationColor:T("colors"),textDecorationThickness:{"from-font":"from-font",auto:"auto",...he(8,"px")},textUnderlineOffset:{auto:"auto",...he(8,"px")},textIndent:T("spacing"),textOpacity:T("opacity"),transitionDuration:({theme:t})=>({...t("durations"),DEFAULT:"150ms"}),transitionDelay:T("durations"),transitionProperty:{none:"none",all:"all",DEFAULT:"color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter",colors:"color,background-color,border-color,text-decoration-color,fill,stroke",opacity:"opacity",shadow:"box-shadow",transform:"transform"},transitionTimingFunction:{DEFAULT:"cubic-bezier(0.4,0,0.2,1)",linear:"linear",in:"cubic-bezier(0.4,0,1,1)",out:"cubic-bezier(0,0,0.2,1)","in-out":"cubic-bezier(0.4,0,0.2,1)"},translate:({theme:t})=>({...t("spacing"),...cr(2,4),full:"100%"}),width:({theme:t})=>({min:"min-content",max:"max-content",fit:"fit-content",screen:"100vw",...t("flexBasis")}),willChange:{scroll:"scroll-position"},zIndex:{...ae(50,"",1,0,10),auto:"auto"}};function cr(t,e){let r={};do for(var n=1;n<t;n++)r[`${n}/${t}`]=Number((n/t*100).toFixed(6))+"%";while(++t<=e);return r}function he(t,e,r=0){let n={};for(;r<=t;r=2*r||1)n[r]=r+e;return n}function ae(t,e="",r=1,n=0,i=1,s={}){for(;n<=t;n+=i)s[n]=n/r+e;return s}function T(t){return({theme:e})=>e(t)}var Bo={"*,::before,::after":{boxSizing:"border-box",borderWidth:"0",borderStyle:"solid",borderColor:"theme(borderColor.DEFAULT, currentColor)"},"::before,::after":{"--tw-content":"''"},html:{lineHeight:1.5,WebkitTextSizeAdjust:"100%",MozTabSize:"4",tabSize:4,fontFamily:`theme(fontFamily.sans, ${pr.fontFamily.sans})`,fontFeatureSettings:"theme(fontFamily.sans[1].fontFeatureSettings, normal)"},body:{margin:"0",lineHeight:"inherit"},hr:{height:"0",color:"inherit",borderTopWidth:"1px"},"abbr:where([title])":{textDecoration:"underline dotted"},"h1,h2,h3,h4,h5,h6":{fontSize:"inherit",fontWeight:"inherit"},a:{color:"inherit",textDecoration:"inherit"},"b,strong":{fontWeight:"bolder"},"code,kbd,samp,pre":{fontFamily:`theme(fontFamily.mono, ${pr.fontFamily.mono})`,fontFeatureSettings:"theme(fontFamily.mono[1].fontFeatureSettings, normal)",fontSize:"1em"},small:{fontSize:"80%"},"sub,sup":{fontSize:"75%",lineHeight:0,position:"relative",verticalAlign:"baseline"},sub:{bottom:"-0.25em"},sup:{top:"-0.5em"},table:{textIndent:"0",borderColor:"inherit",borderCollapse:"collapse"},"button,input,optgroup,select,textarea":{fontFamily:"inherit",fontSize:"100%",lineHeight:"inherit",color:"inherit",margin:"0",padding:"0"},"button,select":{textTransform:"none"},"button,[type='button'],[type='reset'],[type='submit']":{WebkitAppearance:"button",backgroundColor:"transparent",backgroundImage:"none"},":-moz-focusring":{outline:"auto"},":-moz-ui-invalid":{boxShadow:"none"},progress:{verticalAlign:"baseline"},"::-webkit-inner-spin-button,::-webkit-outer-spin-button":{height:"auto"},"[type='search']":{WebkitAppearance:"textfield",outlineOffset:"-2px"},"::-webkit-search-decoration":{WebkitAppearance:"none"},"::-webkit-file-upload-button":{WebkitAppearance:"button",font:"inherit"},summary:{display:"list-item"},"blockquote,dl,dd,h1,h2,h3,h4,h5,h6,hr,figure,p,pre":{margin:"0"},fieldset:{margin:"0",padding:"0"},legend:{padding:"0"},"ol,ul,menu":{listStyle:"none",margin:"0",padding:"0"},textarea:{resize:"vertical"},"input::placeholder,textarea::placeholder":{opacity:1,color:"theme(colors.gray.400, #9ca3af)"},'button,[role="button"]':{cursor:"pointer"},":disabled":{cursor:"default"},"img,svg,video,canvas,audio,iframe,embed,object":{display:"block",verticalAlign:"middle"},"img,video":{maxWidth:"100%",height:"auto"},"[hidden]":{display:"none"}};var Jo=[v("\\[([-\\w]+):(.+)]",({1:t,2:e},r)=>({"@layer overrides":{"&":{[t]:ke(`[${e}]`,"",r)}}})),v("(group|peer)([~/][^-[]+)?",({input:t},{h:e})=>[{c:e(t)}]),w("aspect-","aspectRatio"),v("container",(t,{theme:e})=>{let{screens:r=e("screens"),center:n,padding:i}=e("container"),s={width:"100%",marginRight:n&&"auto",marginLeft:n&&"auto",...o("xs")};for(let u in r){let a=r[u];typeof a=="string"&&(s[hn(a)]={"&":{maxWidth:a,...o(u)}})}return s;function o(u){let a=i&&(typeof i=="string"?i:i[u]||i.DEFAULT);if(a)return{paddingRight:a,paddingLeft:a}}}),w("content-","content",({_:t})=>({"--tw-content":t,content:"var(--tw-content)"})),v("(?:box-)?decoration-(slice|clone)","boxDecorationBreak"),v("box-(border|content)","boxSizing",({1:t})=>t+"-box"),v("hidden",{display:"none"}),v("table-(auto|fixed)","tableLayout"),v(["(block|flex|table|grid|inline|contents|flow-root|list-item)","(inline-(block|flex|table|grid))","(table-(caption|cell|column|row|(column|row|footer|header)-group))"],"display"),"(float)-(left|right|none)","(clear)-(left|right|none|both)","(overflow(?:-[xy])?)-(auto|hidden|clip|visible|scroll)","(isolation)-(auto)",v("isolate","isolation"),v("object-(contain|cover|fill|none|scale-down)","objectFit"),w("object-","objectPosition"),v("object-(top|bottom|center|(left|right)(-(top|bottom))?)","objectPosition",gn),v("overscroll(-[xy])?-(auto|contain|none)",({1:t="",2:e})=>({["overscroll-behavior"+t]:e})),v("(static|fixed|absolute|relative|sticky)","position"),w("-?inset(-[xy])?(?:$|-)","inset",({1:t,_:e})=>({top:t!="-x"&&e,right:t!="-y"&&e,bottom:t!="-x"&&e,left:t!="-y"&&e})),w("-?(top|bottom|left|right)(?:$|-)","inset"),v("(visible|collapse)","visibility"),v("invisible",{visibility:"hidden"}),w("-?z-","zIndex"),v("flex-((row|col)(-reverse)?)","flexDirection",zo),v("flex-(wrap|wrap-reverse|nowrap)","flexWrap"),w("(flex-(?:grow|shrink))(?:$|-)"),w("(flex)-"),w("grow(?:$|-)","flexGrow"),w("shrink(?:$|-)","flexShrink"),w("basis-","flexBasis"),w("-?(order)-"),"-?(order)-(\\d+)",w("grid-cols-","gridTemplateColumns"),v("grid-cols-(\\d+)","gridTemplateColumns",Go),w("col-","gridColumn"),v("col-(span)-(\\d+)","gridColumn",Zo),w("col-start-","gridColumnStart"),v("col-start-(auto|\\d+)","gridColumnStart"),w("col-end-","gridColumnEnd"),v("col-end-(auto|\\d+)","gridColumnEnd"),w("grid-rows-","gridTemplateRows"),v("grid-rows-(\\d+)","gridTemplateRows",Go),w("row-","gridRow"),v("row-(span)-(\\d+)","gridRow",Zo),w("row-start-","gridRowStart"),v("row-start-(auto|\\d+)","gridRowStart"),w("row-end-","gridRowEnd"),v("row-end-(auto|\\d+)","gridRowEnd"),v("grid-flow-((row|col)(-dense)?)","gridAutoFlow",t=>gn(zo(t))),v("grid-flow-(dense)","gridAutoFlow"),w("auto-cols-","gridAutoColumns"),w("auto-rows-","gridAutoRows"),w("gap-x(?:$|-)","gap","columnGap"),w("gap-y(?:$|-)","gap","rowGap"),w("gap(?:$|-)","gap"),"(justify-(?:items|self))-",v("justify-","justifyContent",qo),v("(content|items|self)-",t=>({["align-"+t[1]]:qo(t)})),v("(place-(content|items|self))-",({1:t,$$:e})=>({[t]:("wun".includes(e[3])?"space-":"")+e})),w("p([xytrbl])?(?:$|-)","padding",xt("padding")),w("-?m([xytrbl])?(?:$|-)","margin",xt("margin")),w("-?space-(x|y)(?:$|-)","space",({1:t,_:e})=>({"&>:not([hidden])~:not([hidden])":{[`--tw-space-${t}-reverse`]:"0",["margin-"+{y:"top",x:"left"}[t]]:`calc(${e} * calc(1 - var(--tw-space-${t}-reverse)))`,["margin-"+{y:"bottom",x:"right"}[t]]:`calc(${e} * var(--tw-space-${t}-reverse))`}})),v("space-(x|y)-reverse",({1:t})=>({"&>:not([hidden])~:not([hidden])":{[`--tw-space-${t}-reverse`]:"1"}})),w("w-","width"),w("min-w-","minWidth"),w("max-w-","maxWidth"),w("h-","height"),w("min-h-","minHeight"),w("max-h-","maxHeight"),w("font-","fontWeight"),w("font-","fontFamily",({_:t})=>typeof(t=D(t))[1]=="string"?{fontFamily:ye(t)}:{fontFamily:ye(t[0]),...t[1]}),v("antialiased",{WebkitFontSmoothing:"antialiased",MozOsxFontSmoothing:"grayscale"}),v("subpixel-antialiased",{WebkitFontSmoothing:"auto",MozOsxFontSmoothing:"auto"}),v("italic","fontStyle"),v("not-italic",{fontStyle:"normal"}),v("(ordinal|slashed-zero|(normal|lining|oldstyle|proportional|tabular)-nums|(diagonal|stacked)-fractions)",({1:t,2:e="",3:r})=>e=="normal"?{fontVariantNumeric:"normal"}:{["--tw-"+(r?"numeric-fraction":"pt".includes(e[0])?"numeric-spacing":e?"numeric-figure":t)]:t,fontVariantNumeric:"var(--tw-ordinal) var(--tw-slashed-zero) var(--tw-numeric-figure) var(--tw-numeric-spacing) var(--tw-numeric-fraction)",...De({"--tw-ordinal":"var(--tw-empty,/*!*/ /*!*/)","--tw-slashed-zero":"var(--tw-empty,/*!*/ /*!*/)","--tw-numeric-figure":"var(--tw-empty,/*!*/ /*!*/)","--tw-numeric-spacing":"var(--tw-empty,/*!*/ /*!*/)","--tw-numeric-fraction":"var(--tw-empty,/*!*/ /*!*/)"})}),w("tracking-","letterSpacing"),w("leading-","lineHeight"),v("list-(inside|outside)","listStylePosition"),w("list-","listStyleType"),v("list-","listStyleType"),w("placeholder-opacity-","placeholderOpacity",({_:t})=>({"&::placeholder":{"--tw-placeholder-opacity":t}})),Z("placeholder-",{property:"color",selector:"&::placeholder"}),v("text-(left|center|right|justify|start|end)","textAlign"),v("text-(ellipsis|clip)","textOverflow"),w("text-opacity-","textOpacity","--tw-text-opacity"),Z("text-",{property:"color"}),w("text-","fontSize",({_:t})=>typeof t=="string"?{fontSize:t}:{fontSize:t[0],...typeof t[1]=="string"?{lineHeight:t[1]}:t[1]}),w("indent-","textIndent"),v("(overline|underline|line-through)","textDecorationLine"),v("no-underline",{textDecorationLine:"none"}),w("underline-offset-","textUnderlineOffset"),Z("decoration-",{section:"textDecorationColor",opacityVariable:!1,opacitySection:"opacity"}),w("decoration-","textDecorationThickness"),v("decoration-","textDecorationStyle"),v("(uppercase|lowercase|capitalize)","textTransform"),v("normal-case",{textTransform:"none"}),v("truncate",{overflow:"hidden",whiteSpace:"nowrap",textOverflow:"ellipsis"}),v("align-","verticalAlign"),v("whitespace-","whiteSpace"),v("break-normal",{wordBreak:"normal",overflowWrap:"normal"}),v("break-words",{overflowWrap:"break-word"}),v("break-all",{wordBreak:"break-all"}),v("break-keep",{wordBreak:"keep-all"}),Z("caret-",{opacityVariable:!1,opacitySection:"opacity"}),Z("accent-",{opacityVariable:!1,opacitySection:"opacity"}),v("bg-gradient-to-([trbl]|[tb][rl])","backgroundImage",({1:t})=>`linear-gradient(to ${nt(t," ")},var(--tw-gradient-stops))`),Z("from-",{section:"gradientColorStops",opacityVariable:!1,opacitySection:"opacity"},({_:t})=>({"--tw-gradient-from":t.value,"--tw-gradient-to":t.color({opacityValue:"0"}),"--tw-gradient-stops":"var(--tw-gradient-from),var(--tw-gradient-to)"})),Z("via-",{section:"gradientColorStops",opacityVariable:!1,opacitySection:"opacity"},({_:t})=>({"--tw-gradient-to":t.color({opacityValue:"0"}),"--tw-gradient-stops":`var(--tw-gradient-from),${t.value},var(--tw-gradient-to)`})),Z("to-",{section:"gradientColorStops",property:"--tw-gradient-to",opacityVariable:!1,opacitySection:"opacity"}),v("bg-(fixed|local|scroll)","backgroundAttachment"),v("bg-origin-(border|padding|content)","backgroundOrigin",({1:t})=>t+"-box"),v(["bg-(no-repeat|repeat(-[xy])?)","bg-repeat-(round|space)"],"backgroundRepeat"),v("bg-blend-","backgroundBlendMode"),v("bg-clip-(border|padding|content|text)","backgroundClip",({1:t})=>t+(t=="text"?"":"-box")),w("bg-opacity-","backgroundOpacity","--tw-bg-opacity"),Z("bg-",{section:"backgroundColor"}),w("bg-","backgroundImage"),w("bg-","backgroundPosition"),v("bg-(top|bottom|center|(left|right)(-(top|bottom))?)","backgroundPosition",gn),w("bg-","backgroundSize"),w("rounded(?:$|-)","borderRadius"),w("rounded-([trbl]|[tb][rl])(?:$|-)","borderRadius",({1:t,_:e})=>{let r={t:["tl","tr"],r:["tr","br"],b:["bl","br"],l:["bl","tl"]}[t]||[t,t];return{[`border-${nt(r[0])}-radius`]:e,[`border-${nt(r[1])}-radius`]:e}}),v("border-(collapse|separate)","borderCollapse"),w("border-opacity(?:$|-)","borderOpacity","--tw-border-opacity"),v("border-(solid|dashed|dotted|double|none)","borderStyle"),w("border-spacing(-[xy])?(?:$|-)","borderSpacing",({1:t,_:e})=>({...De({"--tw-border-spacing-x":"0","--tw-border-spacing-y":"0"}),["--tw-border-spacing"+(t||"-x")]:e,["--tw-border-spacing"+(t||"-y")]:e,"border-spacing":"var(--tw-border-spacing-x) var(--tw-border-spacing-y)"})),Z("border-([xytrbl])-",{section:"borderColor"},xt("border","Color")),Z("border-"),w("border-([xytrbl])(?:$|-)","borderWidth",xt("border","Width")),w("border(?:$|-)","borderWidth"),w("divide-opacity(?:$|-)","divideOpacity",({_:t})=>({"&>:not([hidden])~:not([hidden])":{"--tw-divide-opacity":t}})),v("divide-(solid|dashed|dotted|double|none)",({1:t})=>({"&>:not([hidden])~:not([hidden])":{borderStyle:t}})),v("divide-([xy]-reverse)",({1:t})=>({"&>:not([hidden])~:not([hidden])":{["--tw-divide-"+t]:"1"}})),w("divide-([xy])(?:$|-)","divideWidth",({1:t,_:e})=>{let r={x:"lr",y:"tb"}[t];return{"&>:not([hidden])~:not([hidden])":{[`--tw-divide-${t}-reverse`]:"0",[`border-${nt(r[0])}Width`]:`calc(${e} * calc(1 - var(--tw-divide-${t}-reverse)))`,[`border-${nt(r[1])}Width`]:`calc(${e} * var(--tw-divide-${t}-reverse))`}}}),Z("divide-",{property:"borderColor",selector:"&>:not([hidden])~:not([hidden])"}),w("ring-opacity(?:$|-)","ringOpacity","--tw-ring-opacity"),Z("ring-offset-",{property:"--tw-ring-offset-color",opacityVariable:!1}),w("ring-offset(?:$|-)","ringOffsetWidth","--tw-ring-offset-width"),v("ring-inset",{"--tw-ring-inset":"inset"}),Z("ring-",{property:"--tw-ring-color"}),w("ring(?:$|-)","ringWidth",({_:t},{theme:e})=>({...De({"--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-ring-inset":"var(--tw-empty,/*!*/ /*!*/)","--tw-ring-offset-width":e("ringOffsetWidth","","0px"),"--tw-ring-offset-color":fe(e("ringOffsetColor","","#fff")),"--tw-ring-color":fe(e("ringColor","","#93c5fd"),{opacityVariable:"--tw-ring-opacity"}),"--tw-ring-opacity":e("ringOpacity","","0.5")}}),"--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(${t} + var(--tw-ring-offset-width)) var(--tw-ring-color)`,boxShadow:"var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)"})),Z("shadow-",{section:"boxShadowColor",opacityVariable:!1,opacitySection:"opacity"},({_:t})=>({"--tw-shadow-color":t.value,"--tw-shadow":"var(--tw-shadow-colored)"})),w("shadow(?:$|-)","boxShadow",({_:t})=>({...De({"--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-shadow":ye(t),"--tw-shadow-colored":ye(t).replace(/([^,]\s+)(?:#[a-f\d]+|(?:(?:hsl|rgb)a?|hwb|lab|lch|color|var)\(.+?\)|[a-z]+)(,|$)/g,"$1var(--tw-shadow-color)$2"),boxShadow:"var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)"})),w("(opacity)-"),v("mix-blend-","mixBlendMode"),...Wo(),...Wo("backdrop-"),w("transition(?:$|-)","transitionProperty",(t,{theme:e})=>({transitionProperty:ye(t),transitionTimingFunction:t._=="none"?void 0:ye(e("transitionTimingFunction","")),transitionDuration:t._=="none"?void 0:ye(e("transitionDuration",""))})),w("duration(?:$|-)","transitionDuration","transitionDuration",ye),w("ease(?:$|-)","transitionTimingFunction","transitionTimingFunction",ye),w("delay(?:$|-)","transitionDelay","transitionDelay",ye),w("animate(?:$|-)","animation",(t,{theme:e,h:r,e:n})=>{let i=ye(t),s=i.split(" "),o=e("keyframes",s[0]);return o?{["@keyframes "+(s[0]=n(r(s[0])))]:o,animation:s.join(" ")}:{animation:i}}),"(transform)-(none)",v("transform",Ji),v("transform-(cpu|gpu)",({1:t})=>({"--tw-transform":Xo(t=="gpu")})),w("scale(-[xy])?-","scale",({1:t,_:e})=>({["--tw-scale"+(t||"-x")]:e,["--tw-scale"+(t||"-y")]:e,...Ji()})),w("-?(rotate)-","rotate",Gi),w("-?(translate-[xy])-","translate",Gi),w("-?(skew-[xy])-","skew",Gi),v("origin-(center|((top|bottom)(-(left|right))?)|left|right)","transformOrigin",gn),"(appearance)-",w("(columns)-"),"(columns)-(\\d+)","(break-(?:before|after|inside))-",w("(cursor)-"),"(cursor)-",v("snap-(none)","scroll-snap-type"),v("snap-(x|y|both)",({1:t})=>({...De({"--tw-scroll-snap-strictness":"proximity"}),"scroll-snap-type":t+" var(--tw-scroll-snap-strictness)"})),v("snap-(mandatory|proximity)","--tw-scroll-snap-strictness"),v("snap-(?:(start|end|center)|align-(none))","scroll-snap-align"),v("snap-(normal|always)","scroll-snap-stop"),v("scroll-(auto|smooth)","scroll-behavior"),w("scroll-p([xytrbl])?(?:$|-)","padding",xt("scroll-padding")),w("-?scroll-m([xytrbl])?(?:$|-)","scroll-margin",xt("scroll-margin")),v("touch-(auto|none|manipulation)","touch-action"),v("touch-(pinch-zoom|pan-(?:(x|left|right)|(y|up|down)))",({1:t,2:e,3:r})=>({...De({"--tw-pan-x":"var(--tw-empty,/*!*/ /*!*/)","--tw-pan-y":"var(--tw-empty,/*!*/ /*!*/)","--tw-pinch-zoom":"var(--tw-empty,/*!*/ /*!*/)","--tw-touch-action":"var(--tw-pan-x) var(--tw-pan-y) var(--tw-pinch-zoom)"}),[`--tw-${e?"pan-x":r?"pan-y":t}`]:t,"touch-action":"var(--tw-touch-action)"})),v("outline-none",{outline:"2px solid transparent","outline-offset":"2px"}),v("outline",{outlineStyle:"solid"}),v("outline-(dashed|dotted|double)","outlineStyle"),w("-?(outline-offset)-"),Z("outline-",{opacityVariable:!1,opacitySection:"opacity"}),w("outline-","outlineWidth"),"(pointer-events)-",w("(will-change)-"),"(will-change)-",["resize(?:-(none|x|y))?","resize",({1:t})=>({x:"horizontal",y:"vertical"})[t]||t||"both"],v("select-(none|text|all|auto)","userSelect"),Z("fill-",{section:"fill",opacityVariable:!1,opacitySection:"opacity"}),Z("stroke-",{section:"stroke",opacityVariable:!1,opacitySection:"opacity"}),w("stroke-","strokeWidth"),v("sr-only",{position:"absolute",width:"1px",height:"1px",padding:"0",margin:"-1px",overflow:"hidden",whiteSpace:"nowrap",clip:"rect(0,0,0,0)",borderWidth:"0"}),v("not-sr-only",{position:"static",width:"auto",height:"auto",padding:"0",margin:"0",overflow:"visible",whiteSpace:"normal",clip:"auto"})];function gn(t){return(typeof t=="string"?t:t[1]).replace(/-/g," ").trim()}function zo(t){return(typeof t=="string"?t:t[1]).replace("col","column")}function nt(t,e="-"){let r=[];for(let n of t)r.push({t:"top",r:"right",b:"bottom",l:"left"}[n]);return r.join(e)}function ye(t){return t&&""+(t._||t)}function qo({$$:t}){return({r:"flex-","":"flex-",w:"space-",u:"space-",n:"space-"}[t[3]||""]||"")+t}function xt(t,e=""){return({1:r,_:n})=>{let i={x:"lr",y:"tb"}[r]||r+r;return i?{...ur(t+"-"+nt(i[0])+e,n),...ur(t+"-"+nt(i[1])+e,n)}:ur(t+e,n)}}function Wo(t=""){let e=["blur","brightness","contrast","grayscale","hue-rotate","invert",t&&"opacity","saturate","sepia",!t&&"drop-shadow"].filter(Boolean),r={};for(let n of e)r[`--tw-${t}${n}`]="var(--tw-empty,/*!*/ /*!*/)";return r={...De(r),[`${t}filter`]:e.map(n=>`var(--tw-${t}${n})`).join(" ")},[`(${t}filter)-(none)`,v(`${t}filter`,r),...e.map(n=>w(`${n[0]=="h"?"-?":""}(${t}${n})(?:$|-)`,n,({1:i,_:s})=>({[`--tw-${i}`]:D(s).map(o=>`${n}(${o})`).join(" "),...r})))]}function Gi({1:t,_:e}){return{["--tw-"+t]:e,...Ji()}}function Ji(){return{...De({"--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-transform":Xo()}),transform:"var(--tw-transform)"}}function Xo(t){return[t?"translate3d(var(--tw-translate-x),var(--tw-translate-y),0)":"translateX(var(--tw-translate-x)) translateY(var(--tw-translate-y))","rotate(var(--tw-rotate))","skewX(var(--tw-skew-x))","skewY(var(--tw-skew-y))","scaleX(var(--tw-scale-x))","scaleY(var(--tw-scale-y))"].join(" ")}function Zo({1:t,2:e}){return`${t} ${e} / ${t} ${e}`}function Go({1:t}){return`repeat(${t},minmax(0,1fr))`}function De(t){return{"@layer defaults":{"*,::before,::after":t,"::backdrop":t}}}var Ko=[["sticky","@supports ((position: -webkit-sticky) or (position:sticky))"],["motion-reduce","@media (prefers-reduced-motion:reduce)"],["motion-safe","@media (prefers-reduced-motion:no-preference)"],["print","@media print"],["(portrait|landscape)",({1:t})=>`@media (orientation:${t})`],["contrast-(more|less)",({1:t})=>`@media (prefers-contrast:${t})`],["(first-(letter|line)|placeholder|backdrop|before|after)",({1:t})=>`&::${t}`],["(marker|selection)",({1:t})=>`& *::${t},&::${t}`],["file","&::file-selector-button"],["(first|last|only)",({1:t})=>`&:${t}-child`],["even","&:nth-child(2n)"],["odd","&:nth-child(odd)"],["open","&[open]"],["(aria|data)-",({1:t,$$:e},r)=>e&&`&[${t}-${r.theme(t,e)||ke(e,"",r)||`${e}="true"`}]`],["((group|peer)(~[^-[]+)?)(-\\[(.+)]|[-[].+?)(\\/.+)?",({2:t,3:e="",4:r,5:n="",6:i=e},{e:s,h:o,v:u})=>{let a=bt(n)||(r[0]=="["?r:u(r.slice(1)));return`${(a.includes("&")?a:"&"+a).replace(/&/g,`:merge(.${s(o(t+i))})`)}${t[0]=="p"?"~":" "}&`}],["(ltr|rtl)",({1:t})=>`[dir="${t}"] &`],["supports-",({$$:t},e)=>{if(t&&(t=e.theme("supports",t)||ke(t,"",e)),t)return t.includes(":")||(t+=":var(--tw)"),/^\w*\s*\(/.test(t)||(t=`(${t})`),`@supports ${t.replace(/\b(and|or|not)\b/g," $1 ").trim()}`}],["max-",({$$:t},e)=>{if(t&&(t=e.theme("screens",t)||ke(t,"",e)),typeof t=="string")return`@media not all and (min-width:${t})`}],["min-",({$$:t},e)=>(t&&(t=ke(t,"",e)),t&&`@media (min-width:${t})`)],[/^\[(.+)]$/,({1:t})=>/[&@]/.test(t)&&bt(t).replace(/[}]+$/,"").split("{")]];function Yo({colors:t,disablePreflight:e}={}){return{preflight:e?void 0:Bo,theme:{...pr,colors:{inherit:"inherit",current:"currentColor",transparent:"transparent",black:"#000",white:"#fff",...t}},variants:Ko,rules:Jo,finalize(r){return r.n&&r.d&&r.r.some(n=>/^&::(before|after)$/.test(n))&&!/(^|;)content:/.test(r.d)?{...r,d:"content:var(--tw-content);"+r.d}:r}}}var Du={50:"#f8fafc",100:"#f1f5f9",200:"#e2e8f0",300:"#cbd5e1",400:"#94a3b8",500:"#64748b",600:"#475569",700:"#334155",800:"#1e293b",900:"#0f172a"},Ru={50:"#f9fafb",100:"#f3f4f6",200:"#e5e7eb",300:"#d1d5db",400:"#9ca3af",500:"#6b7280",600:"#4b5563",700:"#374151",800:"#1f2937",900:"#111827"},Pu={50:"#fafafa",100:"#f4f4f5",200:"#e4e4e7",300:"#d4d4d8",400:"#a1a1aa",500:"#71717a",600:"#52525b",700:"#3f3f46",800:"#27272a",900:"#18181b"},Uu={50:"#fafafa",100:"#f5f5f5",200:"#e5e5e5",300:"#d4d4d4",400:"#a3a3a3",500:"#737373",600:"#525252",700:"#404040",800:"#262626",900:"#171717"},Vu={50:"#fafaf9",100:"#f5f5f4",200:"#e7e5e4",300:"#d6d3d1",400:"#a8a29e",500:"#78716c",600:"#57534e",700:"#44403c",800:"#292524",900:"#1c1917"},Nu={50:"#fef2f2",100:"#fee2e2",200:"#fecaca",300:"#fca5a5",400:"#f87171",500:"#ef4444",600:"#dc2626",700:"#b91c1c",800:"#991b1b",900:"#7f1d1d"},Fu={50:"#fff7ed",100:"#ffedd5",200:"#fed7aa",300:"#fdba74",400:"#fb923c",500:"#f97316",600:"#ea580c",700:"#c2410c",800:"#9a3412",900:"#7c2d12"},Hu={50:"#fffbeb",100:"#fef3c7",200:"#fde68a",300:"#fcd34d",400:"#fbbf24",500:"#f59e0b",600:"#d97706",700:"#b45309",800:"#92400e",900:"#78350f"},Bu={50:"#fefce8",100:"#fef9c3",200:"#fef08a",300:"#fde047",400:"#facc15",500:"#eab308",600:"#ca8a04",700:"#a16207",800:"#854d0e",900:"#713f12"},zu={50:"#f7fee7",100:"#ecfccb",200:"#d9f99d",300:"#bef264",400:"#a3e635",500:"#84cc16",600:"#65a30d",700:"#4d7c0f",800:"#3f6212",900:"#365314"},qu={50:"#f0fdf4",100:"#dcfce7",200:"#bbf7d0",300:"#86efac",400:"#4ade80",500:"#22c55e",600:"#16a34a",700:"#15803d",800:"#166534",900:"#14532d"},Wu={50:"#ecfdf5",100:"#d1fae5",200:"#a7f3d0",300:"#6ee7b7",400:"#34d399",500:"#10b981",600:"#059669",700:"#047857",800:"#065f46",900:"#064e3b"},Zu={50:"#f0fdfa",100:"#ccfbf1",200:"#99f6e4",300:"#5eead4",400:"#2dd4bf",500:"#14b8a6",600:"#0d9488",700:"#0f766e",800:"#115e59",900:"#134e4a"},Gu={50:"#ecfeff",100:"#cffafe",200:"#a5f3fc",300:"#67e8f9",400:"#22d3ee",500:"#06b6d4",600:"#0891b2",700:"#0e7490",800:"#155e75",900:"#164e63"},Ju={50:"#f0f9ff",100:"#e0f2fe",200:"#bae6fd",300:"#7dd3fc",400:"#38bdf8",500:"#0ea5e9",600:"#0284c7",700:"#0369a1",800:"#075985",900:"#0c4a6e"},Xu={50:"#eff6ff",100:"#dbeafe",200:"#bfdbfe",300:"#93c5fd",400:"#60a5fa",500:"#3b82f6",600:"#2563eb",700:"#1d4ed8",800:"#1e40af",900:"#1e3a8a"},Ku={50:"#eef2ff",100:"#e0e7ff",200:"#c7d2fe",300:"#a5b4fc",400:"#818cf8",500:"#6366f1",600:"#4f46e5",700:"#4338ca",800:"#3730a3",900:"#312e81"},Yu={50:"#f5f3ff",100:"#ede9fe",200:"#ddd6fe",300:"#c4b5fd",400:"#a78bfa",500:"#8b5cf6",600:"#7c3aed",700:"#6d28d9",800:"#5b21b6",900:"#4c1d95"},Qu={50:"#faf5ff",100:"#f3e8ff",200:"#e9d5ff",300:"#d8b4fe",400:"#c084fc",500:"#a855f7",600:"#9333ea",700:"#7e22ce",800:"#6b21a8",900:"#581c87"},ec={50:"#fdf4ff",100:"#fae8ff",200:"#f5d0fe",300:"#f0abfc",400:"#e879f9",500:"#d946ef",600:"#c026d3",700:"#a21caf",800:"#86198f",900:"#701a75"},tc={50:"#fdf2f8",100:"#fce7f3",200:"#fbcfe8",300:"#f9a8d4",400:"#f472b6",500:"#ec4899",600:"#db2777",700:"#be185d",800:"#9d174d",900:"#831843"},rc={50:"#fff1f2",100:"#ffe4e6",200:"#fecdd3",300:"#fda4af",400:"#fb7185",500:"#f43f5e",600:"#e11d48",700:"#be123c",800:"#9f1239",900:"#881337"},Qo={__proto__:null,slate:Du,gray:Ru,zinc:Pu,neutral:Uu,stone:Vu,red:Nu,orange:Fu,amber:Hu,yellow:Bu,lime:zu,green:qu,emerald:Wu,teal:Zu,cyan:Gu,sky:Ju,blue:Xu,indigo:Ku,violet:Yu,purple:Qu,fuchsia:ec,pink:tc,rose:rc};function ea({disablePreflight:t}={}){return Yo({colors:Qo,disablePreflight:t})}function na({className:t="prose",defaultColor:e="gray",extend:r={},colors:n={}}={}){return n={body:"700",headings:"900",lead:"600",links:"900",bold:"900",counters:"500",bullets:"300",hr:"200",quotes:"900","quote-borders":"200",captions:"500",code:"900","pre-code":"200","pre-bg":"800","th-borders":"300","td-borders":"200",...n,dark:n.dark===null?null:{body:"300",headings:"#fff",lead:"400",links:"#fff",bold:"#fff",counters:"400",bullets:"600",hr:"700",quotes:"100","quote-borders":"700",captions:"400",code:"#fff","pre-code":"300","pre-bg":"rgb(0 0 0 / 50%)","th-borders":"600","td-borders":"700",...n.dark}},{variants:[["headings","h1,h2,h3,h4,h5,h6,th"],["h1"],["h2"],["h3"],["h4"],["h5"],["h6"],["p"],["a"],["blockquote"],["figure"],["figcaption"],["strong"],["em"],["code"],["pre"],["ol"],["ul"],["li"],["table"],["thead"],["tr"],["th"],["td"],["img"],["video"],["hr"],["lead",".lead"]].map(([s,o=s])=>[`${t}-${s}`,(u,a)=>ia(t,o[0]=="."?"."+a.e(a.h(o.slice(1))):o,a,c=>`& :is(${c.trim()})`)]),rules:[[`(lead|not-${t})`,({1:s},{h:o})=>[{c:o(s)}]],[`${t}-invert`,{"@layer base":{"--tw-prose-body":"var(--tw-prose-invert-body)","--tw-prose-headings":"var(--tw-prose-invert-headings)","--tw-prose-lead":"var(--tw-prose-invert-lead)","--tw-prose-links":"var(--tw-prose-invert-links)","--tw-prose-bold":"var(--tw-prose-invert-bold)","--tw-prose-counters":"var(--tw-prose-invert-counters)","--tw-prose-bullets":"var(--tw-prose-invert-bullets)","--tw-prose-hr":"var(--tw-prose-invert-hr)","--tw-prose-quotes":"var(--tw-prose-invert-quotes)","--tw-prose-quote-borders":"var(--tw-prose-invert-quote-borders)","--tw-prose-captions":"var(--tw-prose-invert-captions)","--tw-prose-code":"var(--tw-prose-invert-code)","--tw-prose-pre-code":"var(--tw-prose-invert-pre-code)","--tw-prose-pre-bg":"var(--tw-prose-invert-pre-bg)","--tw-prose-th-borders":"var(--tw-prose-invert-th-borders)","--tw-prose-td-borders":"var(--tw-prose-invert-td-borders)"}}],[t+"-",({$$:s},o)=>{let u=ra(o.theme("fontSize",s));return u&&{"@layer components":u}}],[t+"-",({$$:s},o)=>i(s,o)],[t,(s,o)=>({...i(e,o),"@layer base":[ta(t,o,{a:{color:"var(--tw-prose-links)",textDecorationLine:"underline",fontWeight:"500"},strong:{color:"var(--tw-prose-bold)",fontWeight:"600"},"a strong,blockquote strong,thead th strong":{color:"inherit"},ul:{listStyleType:"disc"},ol:{listStyleType:"decimal"},'ol[type="A"]':{listStyleType:"upper-alpha"},'ol[type="a"]':{listStyleType:"lower-alpha"},'ol[type="A" s]':{listStyleType:"upper-alpha"},'ol[type="a" s]':{listStyleType:"lower-alpha"},'ol[type="I"]':{listStyleType:"upper-roman"},'ol[type="i"]':{listStyleType:"lower-roman"},'ol[type="I" s]':{listStyleType:"upper-roman"},'ol[type="i" s]':{listStyleType:"lower-roman"},'ol[type="1"]':{listStyleType:"decimal"},"ol,ul":{marginTop:C(20,16),marginBottom:C(20,16),paddingLeft:C(26,16)},li:{marginTop:C(8,16),marginBottom:C(8,16)},"ol>li,ul>li":{paddingLeft:C(6,16)},">ul>li p":{marginTop:C(12,16),marginBottom:C(12,16)},">ul>li>*:first-child,>ol>li>*:last-child":{marginTop:C(20,16)},">ul>li>*:last-child,>ol>li>*:last-child":{marginBottom:C(20,16)},"ol>li::marker":{fontWeight:"400",color:"var(--tw-prose-counters)"},"ul>li::marker":{color:"var(--tw-prose-bullets)"},"ul ul,ul ol,ol ul,ol ol":{marginTop:C(12,16),marginBottom:C(12,16)},hr:{borderColor:"var(--tw-prose-hr)",borderTopWidth:"1",marginTop:C(48,16),marginBottom:C(48,16)},blockquote:{marginTop:C(32,20),marginBottom:C(32,20),paddingLeft:C(20,20),fontWeight:"500",fontStyle:"italic",color:"var(--tw-prose-quotes)",borderLeftWidth:"0.25rem",borderLeftColor:"var(--tw-prose-quote-borders)",quotes:'"\\201C""\\201D""\\2018""\\2019"'},"blockquote p:first-of-type::before":{content:"open-quote"},"blockquote p:last-of-type::after":{content:"close-quote"},p:{marginTop:C(20,16),marginBottom:C(20,16)},h1:{color:"var(--tw-prose-headings)",fontWeight:"800",fontSize:C(36,16),marginTop:"0",marginBottom:C(32,36),lineHeight:1.15},"h1 strong":{fontWeight:"900",color:"inherit"},h2:{color:"var(--tw-prose-headings)",fontWeight:"700",fontSize:C(24,16),marginTop:C(48,24),marginBottom:C(24,24),lineHeight:"1.35"},"h2 strong":{fontWeight:"800",color:"inherit"},h3:{color:"var(--tw-prose-headings)",fontWeight:"600",fontSize:C(20,16),marginTop:C(32,20),marginBottom:C(12,20),lineHeight:"1.6"},"h3 strong":{fontWeight:"700",color:"inherit"},h4:{color:"var(--tw-prose-headings)",fontWeight:"600",marginTop:C(24,16),marginBottom:C(8,16),lineHeight:"1.5"},"h4 strong":{fontWeight:"700",color:"inherit"},"hr+*,h2+*,h3+*,h4+*":{marginTop:"0"},"img,video,figure":{marginTop:C(32,16),marginBottom:C(32,16)},"figure>*":{marginTop:"0",marginBottom:"0"},figcaption:{color:"var(--tw-prose-captions)",fontSize:C(14,16),lineHeight:"1.4",marginTop:C(12,14)},code:{color:"var(--tw-prose-code)",fontWeight:"600",fontSize:C(14,16)},"code::before,code::after":{content:'"`"'},"h2 code":{fontSize:C(21,24)},"h3 code":{fontSize:C(18,20)},"a code,h1 code,h2 code,h3 code,h4 code,blockquote code,thead th code":{color:"inherit"},pre:{color:"var(--tw-prose-pre-code)",backgroundColor:"var(--tw-prose-pre-bg)",overflowX:"auto",fontWeight:"400",fontSize:C(14,16),lineHeight:"1.7",marginTop:C(24,14),marginBottom:C(24,14),borderRadius:"0.375rem",paddingTop:C(12,14),paddingRight:C(16,14),paddingBottom:C(12,14),paddingLeft:C(16,14)},"pre code":{backgroundColor:"transparent",borderWidth:"0",borderRadius:"0",padding:"0",fontWeight:"inherit",color:"inherit",fontSize:"inherit",fontFamily:"inherit",lineHeight:"inherit"},"pre code::before":{content:"none"},"pre code::after":{content:"none"},table:{width:"100%",tableLayout:"auto",textAlign:"left",marginTop:C(32,16),marginBottom:C(32,16),fontSize:C(14,16),lineHeight:"1.7"},thead:{borderBottomWidth:"1px",borderBottomColor:"var(--tw-prose-th-borders)"},"thead th":{color:"var(--tw-prose-headings)",fontWeight:"600",verticalAlign:"bottom",paddingRight:C(8,14),paddingBottom:C(8,14),paddingLeft:C(8,14)},"thead th:first-child":{paddingLeft:"0"},"thead th:last-child":{paddingRight:"0"},"tbody tr":{borderBottomWidth:"1px",borderBottomColor:"var(--tw-prose-td-borders)"},"tbody tr:last-child":{borderBottomWidth:"0"},"tbody td,tfoot td":{verticalAlign:"baseline",paddingTop:C(8,14),paddingRight:C(8,14),paddingBottom:C(8,14),paddingLeft:C(8,14)},"tbody td:first-child,tfoot td:first-child":{paddingLeft:"0"},"tbody td:last-child,tfoot td:last-child":{paddingRight:"0"},[`.${o.e(o.h("lead"))}`]:{color:"var(--tw-prose-lead)",fontSize:C(20,16),lineHeight:"1.6",marginTop:C(24,20),marginBottom:C(24,20)},">:first-child":{marginTop:"0"},">:last-child":{marginBottom:"0"}}),ta(t,o,r)],"@layer components":{...ra(o.theme("fontSize","base")),color:"var(--tw-prose-body)",maxWidth:"theme(max-w.prose, 65ch)"}})]]};function i(s,o){let u={},a={},c=(f,p,b)=>{let x=o.theme(`colors.${s}.${p}`,p);b["--tw-prose-"+f]=fe(x);let k=b!=a&&o.d("colors",`${s}-${p}`,x);k&&(a["--tw-prose-"+f]=fe(k))};for(let f in n){let p=n[f];f!="dark"&&p&&c(f,p,u)}for(let f in n.dark||{}){let p=n.dark[f];p&&(n.dark?c("invert-"+f,p,u):c(f,p,a))}return Object.keys(u).length?{"@layer defaults":{"&":u,[o.v("dark")]:a}}:void 0}}function ta(t,e,r){let n={};for(let i in r)n[ia(t,i,e,s=>`.${e.e(e.h(t))}${s}`)]=r[i];return n}function ia(t,e,{e:r,h:n},i){return e.replace(/^[^>:]+$|(>)?((?:[^:,]+(?::[\w-]+)?)|:[\w-]+)(::[\w-]+)?/g,(s,o=" ",u=s,a="")=>i(`${o}:where(${u}):not(:where(.${r(n("not-"+t))} *))${a}`))}function ra(t){return t?typeof t=="string"?{fontSize:t}:{fontSize:t[0],...typeof t[1]=="string"?{lineHeight:t[1]}:t[1]}:void 0}function C(t,e){return`${(t/e).toFixed(3).replace(/^0|\.?0+$/g,"")}em`}var Xi=Zi({hash:!1,darkMode:"class",theme:{extend:{colors:{violet:{DEFAULT:"#601feb",50:"#f3f2ff",100:"#eae7ff",200:"#d7d2ff",300:"#baaeff",400:"#9980ff",500:"#784dff",600:"#6829fe",700:"#601feb",800:"#4b12c5",900:"#3f11a1",950:"#25086d"},pink:{DEFAULT:"#ff0bbb",50:"#fff0fc",100:"#ffe3fc",200:"#ffc6f9",300:"#ff98f2",400:"#ff58e5",500:"#ff27d5",600:"#ff0bbb",700:"#df0095",800:"#b8007b",900:"#980368",950:"#5f003b"},lime:{DEFAULT:"#b9e901",50:"#fdffe4",100:"#f9ffc5",200:"#f1ff92",300:"#e2ff54",400:"#d1fa21",500:"#b9e901",600:"#8ab400",700:"#688902",800:"#526b09",900:"#465a0d",950:"#243300"}},spacing:{px:"1px",0:"0",.5:"2px",1:"4px",1.5:"6px",2:"8px",2.5:"10px",3:"12px",3.5:"14px",4:"16px",5:"20px",6:"24px",7:"28px",8:"32px",9:"36px",10:"40px",11:"44px",12:"48px",14:"56px",16:"64px",20:"80px",24:"96px",28:"112px",32:"128px",36:"144px",40:"160px",44:"176px",48:"192px",52:"208px",56:"224px",60:"240px",64:"256px",72:"288px",80:"320px",96:"384px"},padding:{px:"1px",0:"0",.5:"2px",1:"4px",1.5:"6px",2:"8px",2.5:"10px",3:"12px",3.5:"14px",4:"16px",5:"20px",6:"24px",7:"28px",8:"32px",9:"36px",10:"40px",11:"44px",12:"48px",14:"56px",16:"64px",20:"80px",24:"96px",28:"112px",32:"128px",36:"144px",40:"160px",44:"176px",48:"192px",52:"208px",56:"224px",60:"240px",64:"256px",72:"288px",80:"320px",96:"384px"},lineHeight:{3:"12px",4:"16px",5:"20px",6:"24px",7:"28px",8:"32px",9:"36px",10:"40px"},maxWidth:{xs:"320px",sm:"384px",md:"448px",lg:"512px",xl:"576px","2xl":"672px","3xl":"768px","4xl":"896px","5xl":"1024px","6xl":"1152px","7xl":"1280px"},maxHeight:{.5:"2px",1:"4px",1.5:"6px",2:"8px",2.5:"10px",3:"12px",3.5:"14px",4:"16px",5:"20px",6:"24px",7:"28px",8:"32px",9:"36px",10:"40px",11:"44px",12:"48px",14:"56px",16:"64px",20:"80px",24:"96px",28:"112px",32:"128px",36:"144px",40:"160px",44:"176px",48:"192px",52:"208px",56:"224px",60:"240px",64:"256px",72:"288px",80:"320px",96:"384px"},borderRadius:{sm:"2px",DEFAULT:"4px",md:"6px",lg:"8px",xl:"12px","2xl":"16px","3xl":"24px"},fontSize:{xs:["12px","16px"],sm:["14px","20px"],base:["16px","24px"],lg:["18px","28px"],xl:["20px","28px"],"2xl":["24px","32px"],"3xl":["30px","36px"],"4xl":["36px","40px"],"5xl":["48px","1"],"6xl":["60px","1"],"7xl":["72px","1"],"8xl":["96px","1"],"9xl":["128px","1"]}}},presets:[ea(),No(),Ho(),na()]});function sa(t,e=!0){let r=function(){if(nc)try{let a=mn(new CSSStyleSheet);return a.connect=c=>{let f=Ki(c);f.adoptedStyleSheets=[...f.adoptedStyleSheets,a.target]},a.disconnect=dn,a}catch{}let s=document.createElement("style");s.media="not all",document.head.prepend(s);let o=[mn(s)],u=new WeakMap;return{get target(){return o[0].target},snapshot(){let a=o.map(c=>c.snapshot());return()=>a.forEach(c=>c())},clear(){o.forEach(a=>a.clear())},destroy(){o.forEach(a=>a.destroy())},insert(a,c,f){o[0].insert(a,c,f);let p=this.target.cssRules[c];o.forEach((b,x)=>x&&b.target.insertRule(p.cssText,c))},resume(a,c){return o[0].resume(a,c)},connect(a){let c=document.createElement("style");Ki(a).appendChild(c);let f=mn(c),{cssRules:p}=this.target;for(let b=0;b<p.length;b++)f.target.insertRule(p[b].cssText,b);o.push(f),u.set(a,f)},disconnect(a){let c=o.indexOf(u.get(a));c>=0&&o.splice(c,1)}}}(),n=Do({...t,hash:t.hash??e},r),i=Ro(n);return function(o){return class extends o{connectedCallback(){super.connectedCallback?.(),r.connect(this),i.observe(Ki(this))}disconnectedCallback(){r.disconnect(this),super.disconnectedCallback?.()}constructor(...a){super(...a),this.tw=n}}}}var nc=typeof ShadowRoot<"u"&&(typeof ShadyCSS>"u"||ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype;function Ki(t){return t.shadowRoot||t.attachShadow({mode:"open"})}var _=t=>sa(Xi)(t);var fr=class extends _(S){constructor(){super();y(this,"render",()=>h`
121
121
  <div class="shadow-button inline-block rounded-[17.8576px] transition-transform hover:scale-105 active:scale-90">
122
122
  <div class="flex flex-row flex-wrap gap-0">
123
123
  <div class="relative z-0 flex min-h-9 items-center justify-center overflow-hidden rounded-[17.8576px]">
@@ -134,27 +134,33 @@ var lu=Object.defineProperty;var Qs=t=>{throw TypeError(t)};var uu=(t,e,r)=>e in
134
134
  <button class="leading-0 relative inline-block h-16 w-16 rounded-[16.8576px] bg-transparent text-sm text-white">
135
135
  <!-- the 'open' state invites the user to open (e.g. the chat window) -->
136
136
  <div class="${this.state==="open"?"visible opacity-100":"invisible opacity-0"} absolute bottom-0 left-[1px] right-0 top-[1px] transition-[opacity,visibility]">
137
- <div class="flex h-[62px] w-[62px] items-center justify-center rounded-[16.8576px] bg-[${this.backgroundColor}]">
138
- <svg width="35.44" height="22.17" viewBox="0 0 211 128" fill="none" xmlns="http://www.w3.org/2000/svg">
139
- <path d="M210.194 14.7905V123.381H187.489V14.7905H210.194Z" fill="${this.iconColor}" />
140
- <path
141
- fill-rule="evenodd"
142
- clip-rule="evenodd"
143
- d="M151.967 123.381H175.495L135.843 14.7905H108.696L105 24.5C96.7393 47.5 108.696 50.5 115.5 53.5C117.266 48.1203 122.023 32.7243 122.023 32.7243L137.818 80.1091H106.392C92.2426 80.1091 85.0275 80.1091 79 96.8912C71.7444 116.761 69.0438 123.381 69.0438 123.381H92.2426L101.292 96.8912H142.918L151.967 123.381Z"
144
- fill="${this.iconColor}" />
145
- <path
146
- d="M20.9534 90.6701C20.3969 90.2385 19.7155 90 19 90C18.2959 90 17.6031 90.2385 17.0466 90.6701C16.4901 91.1016 16.0926 91.7149 15.9223 92.3963L14.832 96.7687C14.3437 98.7107 13.3329 100.494 11.9133 101.913C10.4937 103.333 8.7107 104.344 6.76868 104.832L2.39629 105.922C1.71488 106.093 1.10162 106.49 0.670056 107.047C0.238496 107.603 0 108.285 0 109C0 109.715 0.238496 110.397 0.670056 110.953C1.10162 111.51 1.71488 111.907 2.39629 112.078L6.76868 113.168C8.7107 113.656 10.4937 114.667 11.9133 116.087C13.3329 117.506 14.3437 119.289 14.832 121.231L15.9223 125.604C16.0926 126.285 16.4901 126.898 17.0466 127.33C17.6031 127.762 18.2845 128 19 128C19.7155 128 20.3969 127.762 20.9534 127.33C21.5099 126.898 21.9074 126.285 22.0777 125.604L23.168 121.231C24.1674 117.268 27.2564 114.167 31.2313 113.168L35.6037 112.078C36.2851 111.907 36.8984 111.51 37.3299 110.953C37.7615 110.397 38 109.715 38 109C38 108.285 37.7615 107.603 37.3299 107.047C36.8984 106.49 36.2851 106.093 35.6037 105.922L31.2313 104.832C27.2678 103.833 24.1674 100.744 23.168 96.7687L22.0777 92.3963C21.9074 91.7149 21.5099 91.1016 20.9534 90.6701Z"
147
- fill="${this.iconColor}" />
148
- <path
149
- d="M20.9534 0.670054C20.3969 0.238494 19.7155 0 19 0C18.2959 0 17.6031 0.238494 17.0466 0.670054C16.4901 1.10161 16.0926 1.71488 15.9223 2.39629L14.832 6.76868C14.3437 8.7107 13.3329 10.4937 11.9133 11.9133C10.4937 13.3329 8.7107 14.3437 6.76868 14.832L2.39629 15.9223C1.71488 16.0926 1.10162 16.4901 0.670056 17.0466C0.238496 17.6031 0 18.2845 0 19C0 19.7155 0.238496 20.3969 0.670056 20.9534C1.10162 21.5099 1.71488 21.9074 2.39629 22.0777L6.76868 23.168C8.7107 23.6563 10.4937 24.6671 11.9133 26.0867C13.3329 27.5063 14.3437 29.2893 14.832 31.2313L15.9223 35.6037C16.0926 36.2851 16.4901 36.8984 17.0466 37.3299C17.6031 37.7615 18.2845 38 19 38C19.7155 38 20.3969 37.7615 20.9534 37.3299C21.5099 36.8984 21.9074 36.2851 22.0777 35.6037L23.168 31.2313C24.1674 27.2678 27.2564 24.1674 31.2313 23.168L35.6037 22.0777C36.2851 21.9074 36.8984 21.5099 37.3299 20.9534C37.7615 20.3969 38 19.7155 38 19C38 18.2845 37.7615 17.6031 37.3299 17.0466C36.8984 16.4901 36.2851 16.0926 35.6037 15.9223L31.2313 14.832C27.2678 13.8326 24.1674 10.7436 23.168 6.76868L22.0777 2.39629C21.9074 1.71488 21.5099 1.10161 20.9534 0.670054Z"
150
- fill="${this.iconColor}" />
151
- <path
152
- fill-rule="evenodd"
153
- clip-rule="evenodd"
154
- d="M57.2593 12C58.3812 12 59.4479 12.3678 60.3492 13.03C61.232 13.6921 61.8757 14.6485 62.1884 15.7152L67.7429 35.1559C68.9383 39.3493 71.1822 43.1565 74.2721 46.2464C77.3436 49.3179 81.1692 51.5618 85.3626 52.7757L104.803 58.3301C105.87 58.6428 106.808 59.2865 107.489 60.1694C108.151 61.0522 108.519 62.1373 108.519 63.2593C108.519 64.3812 108.151 65.4479 107.489 66.3492C106.826 67.2504 105.87 67.8757 104.803 68.1884L85.3626 73.7429C81.1692 74.9384 77.362 77.1822 74.2721 80.2721C71.2006 83.3436 68.9567 87.1692 67.7429 91.3627L62.1884 110.803C61.8757 111.87 61.232 112.808 60.3492 113.489C59.4663 114.151 58.3812 114.519 57.2593 114.519C56.1373 114.519 55.0706 114.151 54.1694 113.489C53.2865 112.826 52.6428 111.87 52.3301 110.803L46.7757 91.3627C45.5802 87.1692 43.3363 83.362 40.2464 80.2721C37.1749 77.2006 33.3493 74.9567 29.1559 73.7429L9.71524 68.1884C8.64849 67.8757 7.71048 67.232 7.02997 66.3492C6.36785 65.4663 6 64.3812 6 63.2593C6 62.1373 6.36785 61.0706 7.02997 60.1694C7.69209 59.2865 8.64849 58.6428 9.71524 58.3301L29.1559 52.7757C33.3493 51.5802 37.1565 49.3363 40.2464 46.2464C43.3179 43.1749 45.5618 39.3493 46.7757 35.1559L52.3301 15.7152C52.6428 14.6485 53.2865 13.7105 54.1694 13.03C55.0522 12.3678 56.1373 12 57.2593 12Z"
155
- fill="${this.iconColor}" />
156
- </svg>
157
- </div>
137
+ ${this.src?h`
138
+ <!-- load given source -->
139
+ <img class="flex h-[62px] w-[62px] items-center justify-center rounded-[16.8576px] bg-white" src="${this.src}" alt="Molin AI chat" />
140
+ `:h`
141
+ <!-- the solid background with AI text -->
142
+ <div class="flex h-[62px] w-[62px] items-center justify-center rounded-[16.8576px] bg-[${this.backgroundColor}]">
143
+ <svg width="35.44" height="22.17" viewBox="0 0 211 128" fill="none" xmlns="http://www.w3.org/2000/svg">
144
+ <path d="M210.194 14.7905V123.381H187.489V14.7905H210.194Z" fill="${this.iconColor}" />
145
+ <path
146
+ fill-rule="evenodd"
147
+ clip-rule="evenodd"
148
+ d="M151.967 123.381H175.495L135.843 14.7905H108.696L105 24.5C96.7393 47.5 108.696 50.5 115.5 53.5C117.266 48.1203 122.023 32.7243 122.023 32.7243L137.818 80.1091H106.392C92.2426 80.1091 85.0275 80.1091 79 96.8912C71.7444 116.761 69.0438 123.381 69.0438 123.381H92.2426L101.292 96.8912H142.918L151.967 123.381Z"
149
+ fill="${this.iconColor}" />
150
+ <path
151
+ d="M20.9534 90.6701C20.3969 90.2385 19.7155 90 19 90C18.2959 90 17.6031 90.2385 17.0466 90.6701C16.4901 91.1016 16.0926 91.7149 15.9223 92.3963L14.832 96.7687C14.3437 98.7107 13.3329 100.494 11.9133 101.913C10.4937 103.333 8.7107 104.344 6.76868 104.832L2.39629 105.922C1.71488 106.093 1.10162 106.49 0.670056 107.047C0.238496 107.603 0 108.285 0 109C0 109.715 0.238496 110.397 0.670056 110.953C1.10162 111.51 1.71488 111.907 2.39629 112.078L6.76868 113.168C8.7107 113.656 10.4937 114.667 11.9133 116.087C13.3329 117.506 14.3437 119.289 14.832 121.231L15.9223 125.604C16.0926 126.285 16.4901 126.898 17.0466 127.33C17.6031 127.762 18.2845 128 19 128C19.7155 128 20.3969 127.762 20.9534 127.33C21.5099 126.898 21.9074 126.285 22.0777 125.604L23.168 121.231C24.1674 117.268 27.2564 114.167 31.2313 113.168L35.6037 112.078C36.2851 111.907 36.8984 111.51 37.3299 110.953C37.7615 110.397 38 109.715 38 109C38 108.285 37.7615 107.603 37.3299 107.047C36.8984 106.49 36.2851 106.093 35.6037 105.922L31.2313 104.832C27.2678 103.833 24.1674 100.744 23.168 96.7687L22.0777 92.3963C21.9074 91.7149 21.5099 91.1016 20.9534 90.6701Z"
152
+ fill="${this.iconColor}" />
153
+ <path
154
+ d="M20.9534 0.670054C20.3969 0.238494 19.7155 0 19 0C18.2959 0 17.6031 0.238494 17.0466 0.670054C16.4901 1.10161 16.0926 1.71488 15.9223 2.39629L14.832 6.76868C14.3437 8.7107 13.3329 10.4937 11.9133 11.9133C10.4937 13.3329 8.7107 14.3437 6.76868 14.832L2.39629 15.9223C1.71488 16.0926 1.10162 16.4901 0.670056 17.0466C0.238496 17.6031 0 18.2845 0 19C0 19.7155 0.238496 20.3969 0.670056 20.9534C1.10162 21.5099 1.71488 21.9074 2.39629 22.0777L6.76868 23.168C8.7107 23.6563 10.4937 24.6671 11.9133 26.0867C13.3329 27.5063 14.3437 29.2893 14.832 31.2313L15.9223 35.6037C16.0926 36.2851 16.4901 36.8984 17.0466 37.3299C17.6031 37.7615 18.2845 38 19 38C19.7155 38 20.3969 37.7615 20.9534 37.3299C21.5099 36.8984 21.9074 36.2851 22.0777 35.6037L23.168 31.2313C24.1674 27.2678 27.2564 24.1674 31.2313 23.168L35.6037 22.0777C36.2851 21.9074 36.8984 21.5099 37.3299 20.9534C37.7615 20.3969 38 19.7155 38 19C38 18.2845 37.7615 17.6031 37.3299 17.0466C36.8984 16.4901 36.2851 16.0926 35.6037 15.9223L31.2313 14.832C27.2678 13.8326 24.1674 10.7436 23.168 6.76868L22.0777 2.39629C21.9074 1.71488 21.5099 1.10161 20.9534 0.670054Z"
155
+ fill="${this.iconColor}" />
156
+ <path
157
+ fill-rule="evenodd"
158
+ clip-rule="evenodd"
159
+ d="M57.2593 12C58.3812 12 59.4479 12.3678 60.3492 13.03C61.232 13.6921 61.8757 14.6485 62.1884 15.7152L67.7429 35.1559C68.9383 39.3493 71.1822 43.1565 74.2721 46.2464C77.3436 49.3179 81.1692 51.5618 85.3626 52.7757L104.803 58.3301C105.87 58.6428 106.808 59.2865 107.489 60.1694C108.151 61.0522 108.519 62.1373 108.519 63.2593C108.519 64.3812 108.151 65.4479 107.489 66.3492C106.826 67.2504 105.87 67.8757 104.803 68.1884L85.3626 73.7429C81.1692 74.9384 77.362 77.1822 74.2721 80.2721C71.2006 83.3436 68.9567 87.1692 67.7429 91.3627L62.1884 110.803C61.8757 111.87 61.232 112.808 60.3492 113.489C59.4663 114.151 58.3812 114.519 57.2593 114.519C56.1373 114.519 55.0706 114.151 54.1694 113.489C53.2865 112.826 52.6428 111.87 52.3301 110.803L46.7757 91.3627C45.5802 87.1692 43.3363 83.362 40.2464 80.2721C37.1749 77.2006 33.3493 74.9567 29.1559 73.7429L9.71524 68.1884C8.64849 67.8757 7.71048 67.232 7.02997 66.3492C6.36785 65.4663 6 64.3812 6 63.2593C6 62.1373 6.36785 61.0706 7.02997 60.1694C7.69209 59.2865 8.64849 58.6428 9.71524 58.3301L29.1559 52.7757C33.3493 51.5802 37.1565 49.3363 40.2464 46.2464C43.3179 43.1749 45.5618 39.3493 46.7757 35.1559L52.3301 15.7152C52.6428 14.6485 53.2865 13.7105 54.1694 13.03C55.0522 12.3678 56.1373 12 57.2593 12Z"
160
+ fill="${this.iconColor}" />
161
+ </svg>
162
+ </div>
163
+ `}
158
164
  </div>
159
165
 
160
166
  <!-- the 'close' state invites the user to close (e.g. the chat window) -->
@@ -169,7 +175,7 @@ var lu=Object.defineProperty;var Qs=t=>{throw TypeError(t)};var uu=(t,e,r)=>e in
169
175
  </div>
170
176
  </div>
171
177
  </div>
172
- `);this.state="open",this.color="#601feb",this.bubbleStyle="solid"}get iconColor(){return this.bubbleStyle==="solid"?"#ffffff":this.color}get backgroundColor(){return this.bubbleStyle==="solid"?this.color:"#ffffff"}};y(fr,"properties",{state:{type:String},color:{type:String},bubbleStyle:{type:String}}),y(fr,"styles",te`
178
+ `);this.state="open",this.color="#601feb",this.bubbleStyle="solid",this.src=""}get iconColor(){return this.bubbleStyle==="solid"?"#ffffff":this.color}get backgroundColor(){return this.bubbleStyle==="solid"?this.color:"#ffffff"}};y(fr,"properties",{state:{type:String},color:{type:String},bubbleStyle:{type:String},src:{type:String}}),y(fr,"styles",te`
173
179
  .shadow-button {
174
180
  box-shadow:
175
181
  -58.9194px 74.8436px 38.218px rgba(0, 0, 0, 0.01),
@@ -376,7 +382,7 @@ var lu=Object.defineProperty;var Qs=t=>{throw TypeError(t)};var uu=(t,e,r)=>e in
376
382
  <span>Molin AI</span>
377
383
  </a>
378
384
  </p>
379
- `)}};customElements.get("mw-powered-by")||customElements.define("mw-powered-by",ls);function ya(t,e="http"){return t.startsWith("http://")||t.startsWith("https://")?t:`${e}://${t}`}function us(t){return new RegExp("^(https?:\\/\\/)?((([a-z\\d]([a-z\\d-]*[a-z\\d])*)\\.)+[a-z]{2,}|((\\d{1,3}\\.){3}\\d{1,3}))(\\:\\d+)?(\\/[-a-z\\d%_.~+]*)*(\\?[;&a-z\\d%_.~+=-]*)?(\\#[-a-z\\d_]*)?$","i").test(t)}function va(t,e){let r=t instanceof URL?t:new URL(t);if(e)for(let[n,i]of e)r.searchParams.set(n,i);return r}var he=t=>t??E;var st,yr,ot,at,gr,Cn=class extends _(S){constructor(){super();d(this,at);d(this,st,!1);d(this,yr,!1);d(this,ot,!1);this.src=""}render(){return(this.src?.startsWith("https://cdn.shopify.com")||!1)&&m(this,st,!0),this.src?h`
385
+ `)}};customElements.get("mw-powered-by")||customElements.define("mw-powered-by",ls);function ya(t,e="http"){return t.startsWith("http://")||t.startsWith("https://")?t:`${e}://${t}`}function us(t){return new RegExp("^(https?:\\/\\/)?((([a-z\\d]([a-z\\d-]*[a-z\\d])*)\\.)+[a-z]{2,}|((\\d{1,3}\\.){3}\\d{1,3}))(\\:\\d+)?(\\/[-a-z\\d%_.~+]*)*(\\?[;&a-z\\d%_.~+=-]*)?(\\#[-a-z\\d_]*)?$","i").test(t)}function va(t,e){let r=t instanceof URL?t:new URL(t);if(e)for(let[n,i]of e)r.searchParams.set(n,i);return r}var ie=t=>t??E;var st,yr,ot,at,gr,Cn=class extends _(S){constructor(){super();d(this,at);d(this,st,!1);d(this,yr,!1);d(this,ot,!1);this.src=""}render(){return(this.src?.startsWith("https://cdn.shopify.com")||!1)&&m(this,st,!0),this.src?h`
380
386
  <div class="relative h-full w-full overflow-hidden rounded-lg">
381
387
  <!-- use the same icon as for missing image url as the background behind the image so there is no flicker while it's loading -->
382
388
  <div class="absolute inset-0 flex items-center justify-center bg-gray-100">
@@ -441,15 +447,15 @@ var lu=Object.defineProperty;var Qs=t=>{throw TypeError(t)};var uu=(t,e,r)=>e in
441
447
  </div>
442
448
  `}};st=new WeakMap,yr=new WeakMap,ot=new WeakMap,at=new WeakSet,gr=function(r){try{return encodeURI(r)}catch{return r}},y(Cn,"properties",{src:{type:String}});customElements.get("mw-product-thumbnail")||customElements.define("mw-product-thumbnail",Cn);var $n=class extends _(S){constructor(){super(),this.product=void 0,this.streaming=!1,this.linksNewTab=!1,this.searchParams=void 0,this.imagesByProductUrl={}}get trackedProductUrl(){let e=this.product?.url,r=this.searchParams;try{if(e&&r)return va(e,r).href}catch{}return e}render(){let{name:e,description:r,price:n,url:i}=this.product||{},s=i?this.imagesByProductUrl?.[i]:void 0;return h`
443
449
  <a
444
- href="${he(this.trackedProductUrl)}"
445
- title="${he(e)}"
450
+ href="${ie(this.trackedProductUrl)}"
451
+ title="${ie(e)}"
446
452
  class="group flex w-full max-w-md cursor-pointer gap-[10px] overflow-hidden rounded-lg"
447
453
  target="${this.linksNewTab?"_blank":"_self"}"
448
454
  ?disabled="${this.streaming}">
449
455
  ${this.streaming?h`
450
456
  <!-- shimmer -->
451
457
  <div class="h-[70px] w-[70px] animate-pulse overflow-hidden rounded-lg bg-gray-200"></div>
452
- `:h`<mw-product-thumbnail class="block h-[70px] w-[70px]" src="${he(s)}"></mw-product-thumbnail>`}
458
+ `:h`<mw-product-thumbnail class="block h-[70px] w-[70px]" src="${ie(s)}"></mw-product-thumbnail>`}
453
459
 
454
460
  <div class="flex flex-1 flex-col justify-between">
455
461
  <div>
@@ -558,7 +564,7 @@ var lu=Object.defineProperty;var Qs=t=>{throw TypeError(t)};var uu=(t,e,r)=>e in
558
564
  </button> -->
559
565
  </div>
560
566
  </div>
561
- `}};U=new WeakSet,Xa=function(){if(!this.product?.url){this._isValidUrl=!1;return}try{let r=new URL(this.product.url);this._isValidUrl=r.protocol==="http:"||r.protocol==="https:"}catch{this._isValidUrl=!1}},Nn=function(r){r.preventDefault(),!(!this.product?.url||!this._isValidUrl)&&window.open(this.product.url,"_blank")},Ka=function(r){!this.product?.url||!this._isValidUrl||(window.open(this.product.url,"_blank"),this.dispatchEvent(new Bn.AddToCartEvent(this.product)))},Fn=function(r,n){l(this,U,Hn)&&ks({from:r,to:n,duration:300,onUpdate:i=>{l(this,U,Hn)&&(l(this,U,Hn).style.transform=`translateX(${i}%)`)}})},Ya=function(){if(!this.product?.images?.length)return;let r=this._currentImageIndex,n=(r+1)%this.product.images.length,i=-(r*100),s=-(n*100);g(this,U,Fn).call(this,i,s),this._currentImageIndex=n},Qa=function(){if(!this.product?.images?.length)return;let r=this._currentImageIndex,n=(r-1+this.product.images.length)%this.product.images.length,i=-(r*100),s=-(n*100);g(this,U,Fn).call(this,i,s),this._currentImageIndex=n},el=function(r){if(!this.product?.images?.length)return;let n=this._currentImageIndex,i=Math.max(0,Math.min(r,this.product.images.length-1)),s=-(n*100),o=-(i*100);g(this,U,Fn).call(this,s,o),this._currentImageIndex=i},Hn=function(){return this.renderRoot.querySelector(".image-slider")},y(Bn,"properties",{product:{type:Object},labels:{type:Object},_currentImageIndex:{type:Number,state:!0},_isValidUrl:{type:Boolean,state:!0}});var Sr=Bn,Cs;Sr.AddToCartEvent=(Cs=class extends CustomEvent{constructor(e,r={}){super(Sr.AddToCartEvent.type,{detail:{product:e},...r})}},y(Cs,"type","mw-product-card:add-to-cart"),Cs);customElements.get("mw-product-card")||customElements.define("mw-product-card",Sr);var Er,ie,we,_r,$s,zn=class{constructor(e,r){d(this,_r);d(this,Er);d(this,ie);d(this,we);if(!e)throw new Error("host is required");if(!r)throw new Error("config is required");m(this,Er,e),l(this,Er).addController(this),m(this,ie,r)}connect(e){m(this,ie,e),m(this,we,g(this,_r,$s).call(this))}hostConnected(){setTimeout(()=>{m(this,we,g(this,_r,$s).call(this))},0)}hostDisconnected(){l(this,we)?.close(1e3,"lit_host_disconnected"),m(this,we,void 0)}send(e){l(this,we)?.send(e)}close(e,r){l(this,we)?.close(e,r)}get isConnected(){return l(this,we)?.readyState===WebSocket.OPEN}get isConnecting(){return l(this,we)?.readyState===WebSocket.CONNECTING}};Er=new WeakMap,ie=new WeakMap,we=new WeakMap,_r=new WeakSet,$s=function(){let e=new WebSocket(l(this,ie).url());return l(this,ie).onClose&&(e.onclose=l(this,ie).onClose),l(this,ie).onOpen&&(e.onopen=l(this,ie).onOpen),l(this,ie).onError&&(e.onerror=l(this,ie).onError),l(this,ie).onMessage&&(e.onmessage=l(this,ie).onMessage),e};var tl="664df22d-d461-42d6-801e-f70247e2cd7c",G,J,me,jt,Dt,X,Ve,rl,nl,il,sl,qn=class{constructor(e,r){d(this,X);d(this,G);d(this,J);d(this,me);y(this,"isStreaming",!1);y(this,"typingIndicator");y(this,"ranOutOfCredits",!1);y(this,"messages",[]);y(this,"conversationId","");d(this,jt,0);d(this,Dt);y(this,"isLiveMode",!1);m(this,G,e),m(this,J,r),m(this,me,this.initWS()),e.addController(this)}sendUserInput(e,{xUserData:r,xCustomInstructions:n,role:i="user",expectStreaming:s=!1}={}){return g(this,X,Ve).call(this,{type:"USER_INPUT",value:e,role:i,xUserData:r,xCustomInstructions:n},{expectStreaming:s})}sendUserCancel(){return g(this,X,Ve).call(this,{type:"USER_CANCEL"})}sendUserTypingStart(){return g(this,X,Ve).call(this,{type:"USER_TYPING_START"})}sendUserTypingStop(){return g(this,X,Ve).call(this,{type:"USER_TYPING_STOP"})}sendUserMeta(e){return g(this,X,Ve).call(this,{type:"USER_META",metadata:e})}reloadConfig(){g(this,X,Ve).call(this,{type:"RELOAD_CONFIG"})}close(){l(this,me).close(1e3,"closed by user")}retry(){clearTimeout(l(this,Dt)),m(this,Dt,setTimeout(()=>{l(this,J).onReconnect?.(),m(this,me,this.initWS())},1e3*l(this,jt))),eo(this,jt)._++}initWS(){return new zn(l(this,G),{url:()=>l(this,J).url(this.conversationId,{}),onOpen:e=>g(this,X,rl).call(this,e),onMessage:e=>g(this,X,nl).call(this,JSON.parse(e.data)),onError:e=>g(this,X,il).call(this,e),onClose:e=>g(this,X,sl).call(this,e)})}hostConnected(){this.conversationId=l(this,J).restoreConversationState?.()?.conversationId||"",this.messages=l(this,J).restoreConversationState?.()?.messages||[]}reset(){g(this,X,Ve).call(this,{type:"NEW_CHAT"}),l(this,J).onReset?.(),this.isStreaming=!1,this.typingIndicator=void 0,this.ranOutOfCredits=!1,this.messages=[],this.conversationId="",this.isLiveMode=!1,l(this,G).requestUpdate()}hostDisconnected(){clearTimeout(l(this,Dt))}reconnectSocket(){l(this,me).close(1e3,"destroy"),m(this,me,this.initWS())}get lastMsg(){if(this.messages.length>0)return this.messages[this.messages.length-1]}};G=new WeakMap,J=new WeakMap,me=new WeakMap,jt=new WeakMap,Dt=new WeakMap,X=new WeakSet,Ve=function(e,{expectStreaming:r=!1}={}){return l(this,me).isConnecting?(console.warn("WebSocket is connecting, message not sent",e),!1):l(this,me).isConnected?(r&&!this.isLiveMode&&(this.isStreaming=!0,l(this,G).requestUpdate()),l(this,me).send(JSON.stringify(e)),!0):(console.warn("WebSocket is not connected, message not sent",e),this.retry(),!1)},rl=function(e){m(this,jt,0)},nl=function(e){switch(e.type){case"NEW_MESSAGE":{this.messages=[...this.messages,{...e.message,streaming:!0}].filter((r,n,i)=>n===i.findIndex(s=>s.id===r.id)),this.typingIndicator=void 0,l(this,G).requestUpdate(),l(this,J).onNewMessage?.(e.message);break}case"APPEND_MESSAGE":{let r=this.messages.find(n=>n.id===e.message.id);if(r){switch(e.message.content_type){case"text":{let{part:n,delta:i,position:s}=e.message;r.content=r.content.slice(0,s)+i,r.parts||=[],r.parts[n]={text:r.parts[n]&&"text"in r.parts[n]?(r.parts[n].text||"").slice(0,s)+i:i};break}case"html":{let{part:n,delta:i,position:s}=e.message;r.parts||=[],r.parts[n]={html:r.parts[n]&&"html"in r.parts[n]?(r.parts[n].html||"").slice(0,s)+i:i};break}case"data":{let{part:n}=e.message;r.parts||=[],r.parts[n]={tag:e.message.tag,data:r.parts[n]&&"data"in r.parts[n]?Object.assign(r.parts[n].data||{},e.message.data):e.message.data};break}}e.metadata&&(r.metadata=e.metadata),l(this,J).onMessageAppend?.(e),l(this,G).requestUpdate()}else throw new Error(`Message with id ${e.message.id} not found`);break}case"MESSAGE_DONE":{let r=this.messages.find(n=>n.id===e.message.id);if(r)Object.assign(r,e.message),r.streaming=!1;else throw new Error(`Message with id ${e.message.id} not found`);this.isStreaming=!1,l(this,G).requestUpdate(),l(this,J).onMessageDone?.(e,r),l(this,J).persistConversationState?.(this.conversationId,this.messages);break}case"MESSAGE_CANCEL":{this.isStreaming=!1,this.typingIndicator=void 0,l(this,G).requestUpdate();break}case"ERROR":{l(this,J).onMessageError?.(e);break}case"CONNECTED":{this.conversationId=e.conversationId,this.messages=e.messages,l(this,J).onConnect?.(e.conversationId),l(this,J).persistConversationState?.(e.conversationId,e.messages),this.isLiveMode=e.metadata?.isLiveMode,l(this,G).requestUpdate();break}case"TYPING_START":{e.role==="assistant"&&(this.isStreaming=!0),this.typingIndicator={role:e.role,metadata:e.metadata},l(this,G).requestUpdate();break}case"TYPING_STOP":{this.typingIndicator=void 0,l(this,G).requestUpdate();break}case"RAN_OUT_OF_CREDITS":{this.messages.some(r=>r.id===tl)||this.messages.push({id:tl,role:"assistant",content:"Sorry, I've run out of credits. Please contact the shop directly.",timestamp:Date.now()}),this.ranOutOfCredits=!0,l(this,G).requestUpdate();break}case"RECONNECT":{this.reconnectSocket(),l(this,G).requestUpdate();break}default:console.warn(`Unknown message type: ${JSON.stringify(e)}`)}},il=function(e){console.error("onError",e),l(this,J).onError?.(e)},sl=function(e){l(this,G).isConnected&&!l(this,me).isConnected&&e.reason==="reconnect"&&this.retry(),this.isStreaming=!1,this.typingIndicator=void 0,l(this,G).requestUpdate(),l(this,J).onClose?.()};function Rt(t){return Array.isArray(t)?t:t?[t]:[]}function ol(t,e){let r=new Map;for(let n of t){let i=e(n);r.has(i)||r.set(i,[]),(r.get(i)||[]).push(n)}return r}var Ar=class extends kt{constructor(e){if(super(e),this.it=E,e.type!==yn.CHILD)throw Error(this.constructor.directiveName+"() can only be used in child bindings")}render(e){if(e===E||e==null)return this._t=void 0,this.it=e;if(e===ge)return e;if(typeof e!="string")throw Error(this.constructor.directiveName+"() called with a non-string value");if(e===this.it)return this._t;this.it=e;let r=[e];return r.raw=r,this._t={_$litType$:this.constructor.resultType,strings:r,values:[]}}};Ar.directiveName="unsafeHTML",Ar.resultType=1;var al=vn(Ar);var Ss;function Es(t){return{lang:t?.lang??Ss?.lang,message:t?.message,abortEarly:t?.abortEarly??Ss?.abortEarly,abortPipeEarly:t?.abortPipeEarly??Ss?.abortPipeEarly}}var Zc;function Gc(t){return Zc?.get(t)}var Jc;function Xc(t){return Jc?.get(t)}var Kc;function Yc(t,e){return Kc?.get(t)?.get(e)}function ul(t){let e=typeof t;return e==="string"?`"${t}"`:e==="number"||e==="bigint"||e==="boolean"?`${t}`:e==="object"||e==="function"?(t&&Object.getPrototypeOf(t)?.constructor?.name)??"null":e}function ae(t,e,r,n,i){let s=i&&"input"in i?i.input:r.value,o=i?.expected??t.expects??null,u=i?.received??ul(s),a={kind:t.kind,type:t.type,input:s,expected:o,received:u,message:`Invalid ${e}: ${o?`Expected ${o} but r`:"R"}eceived ${u}`,requirement:t.requirement,path:i?.path,issues:i?.issues,lang:n.lang,abortEarly:n.abortEarly,abortPipeEarly:n.abortPipeEarly},c=t.kind==="schema",f=i?.message??t.message??Yc(t.reference,a.lang)??(c?Xc(a.lang):null)??n.message??Gc(a.lang);f!==void 0&&(a.message=typeof f=="function"?f(a):f),c&&(r.typed=!1),r.issues?r.issues.push(a):r.issues=[a]}function le(t){return{version:1,vendor:"valibot",validate(e){return t["~run"]({value:e},Es())}}}function Qc(t,e){return Object.hasOwn(t,e)&&e!=="__proto__"&&e!=="prototype"&&e!=="constructor"}function cl(t,e){let r=[...new Set(t)];return r.length>1?`(${r.join(` ${e} `)})`:r[0]??"never"}var e1=class extends Error{constructor(t){super(t[0].message),this.name="ValiError",this.issues=t}};function _s(t,e){return{kind:"validation",type:"max_length",reference:_s,async:!1,expects:`<=${t}`,requirement:t,message:e,"~run"(r,n){return r.typed&&r.value.length>this.requirement&&ae(this,"length",r,n,{received:`${r.value.length}`}),r}}}function As(t,e){return{kind:"validation",type:"min_length",reference:As,async:!1,expects:`>=${t}`,requirement:t,message:e,"~run"(r,n){return r.typed&&r.value.length<this.requirement&&ae(this,"length",r,n,{received:`${r.value.length}`}),r}}}function t1(t,e,r){return typeof t.fallback=="function"?t.fallback(e,r):t.fallback}function pl(t,e,r){return typeof t.default=="function"?t.default(e,r):t.default}function Ms(){return{kind:"schema",type:"any",reference:Ms,expects:"any",async:!1,get"~standard"(){return le(this)},"~run"(t){return t.typed=!0,t}}}function Pt(t,e){return{kind:"schema",type:"array",reference:Pt,expects:"Array",async:!1,item:t,message:e,get"~standard"(){return le(this)},"~run"(r,n){let i=r.value;if(Array.isArray(i)){r.typed=!0,r.value=[];for(let s=0;s<i.length;s++){let o=i[s],u=this.item["~run"]({value:o},n);if(u.issues){let a={type:"array",origin:"value",input:i,key:s,value:o};for(let c of u.issues)c.path?c.path.unshift(a):c.path=[a],r.issues?.push(c);if(r.issues||(r.issues=u.issues),n.abortEarly){r.typed=!1;break}}u.typed||(r.typed=!1),r.value.push(u.value)}}else ae(this,"type",r,n);return r}}}function Is(t){return{kind:"schema",type:"boolean",reference:Is,expects:"boolean",async:!1,message:t,get"~standard"(){return le(this)},"~run"(e,r){return typeof e.value=="boolean"?e.typed=!0:ae(this,"type",e,r),e}}}function Ls(t){return{kind:"schema",type:"null",reference:Ls,expects:"null",async:!1,message:t,get"~standard"(){return le(this)},"~run"(e,r){return e.value===null?e.typed=!0:ae(this,"type",e,r),e}}}function Wn(t){return{kind:"schema",type:"number",reference:Wn,expects:"number",async:!1,message:t,get"~standard"(){return le(this)},"~run"(e,r){return typeof e.value=="number"&&!isNaN(e.value)?e.typed=!0:ae(this,"type",e,r),e}}}function Le(t,e){return{kind:"schema",type:"object",reference:Le,expects:"Object",async:!1,entries:t,message:e,get"~standard"(){return le(this)},"~run"(r,n){let i=r.value;if(i&&typeof i=="object"){r.typed=!0,r.value={};for(let s in this.entries){let o=this.entries[s];if(s in i||(o.type==="exact_optional"||o.type==="optional"||o.type==="nullish")&&o.default!==void 0){let u=s in i?i[s]:pl(o),a=o["~run"]({value:u},n);if(a.issues){let c={type:"object",origin:"value",input:i,key:s,value:u};for(let f of a.issues)f.path?f.path.unshift(c):f.path=[c],r.issues?.push(f);if(r.issues||(r.issues=a.issues),n.abortEarly){r.typed=!1;break}}a.typed||(r.typed=!1),r.value[s]=a.value}else if(o.fallback!==void 0)r.value[s]=t1(o);else if(o.type!=="exact_optional"&&o.type!=="optional"&&o.type!=="nullish"&&(ae(this,"key",r,n,{input:void 0,expected:`"${s}"`,path:[{type:"object",origin:"key",input:i,key:s,value:i[s]}]}),n.abortEarly))break}}else ae(this,"type",r,n);return r}}}function Ut(t,e){return{kind:"schema",type:"optional",reference:Ut,expects:`(${t.expects} | undefined)`,async:!1,wrapped:t,default:e,get"~standard"(){return le(this)},"~run"(r,n){return r.value===void 0&&(this.default!==void 0&&(r.value=pl(this,r,n)),r.value===void 0)?(r.typed=!0,r):this.wrapped["~run"](r,n)}}}function Ts(t,e){return{kind:"schema",type:"picklist",reference:Ts,expects:cl(t.map(ul),"|"),async:!1,options:t,message:e,get"~standard"(){return le(this)},"~run"(r,n){return this.options.includes(r.value)?r.typed=!0:ae(this,"type",r,n),r}}}function Zn(t,e,r){return{kind:"schema",type:"record",reference:Zn,expects:"Object",async:!1,key:t,value:e,message:r,get"~standard"(){return le(this)},"~run"(n,i){let s=n.value;if(s&&typeof s=="object"){n.typed=!0,n.value={};for(let o in s)if(Qc(s,o)){let u=s[o],a=this.key["~run"]({value:o},i);if(a.issues){let f={type:"object",origin:"key",input:s,key:o,value:u};for(let p of a.issues)p.path=[f],n.issues?.push(p);if(n.issues||(n.issues=a.issues),i.abortEarly){n.typed=!1;break}}let c=this.value["~run"]({value:u},i);if(c.issues){let f={type:"object",origin:"value",input:s,key:o,value:u};for(let p of c.issues)p.path?p.path.unshift(f):p.path=[f],n.issues?.push(p);if(n.issues||(n.issues=c.issues),i.abortEarly){n.typed=!1;break}}(!a.typed||!c.typed)&&(n.typed=!1),a.typed&&(n.value[a.value]=c.value)}}else ae(this,"type",n,i);return n}}}function z(t){return{kind:"schema",type:"string",reference:z,expects:"string",async:!1,message:t,get"~standard"(){return le(this)},"~run"(e,r){return typeof e.value=="string"?e.typed=!0:ae(this,"type",e,r),e}}}function ll(t){let e;if(t)for(let r of t)e?e.push(...r.issues):e=r.issues;return e}function Vt(t,e){return{kind:"schema",type:"union",reference:Vt,expects:cl(t.map(r=>r.expects),"|"),async:!1,options:t,message:e,get"~standard"(){return le(this)},"~run"(r,n){let i,s,o;for(let u of this.options){let a=u["~run"]({value:r.value},n);if(a.typed)if(a.issues)s?s.push(a):s=[a];else{i=a;break}else o?o.push(a):o=[a]}if(i)return i;if(s){if(s.length===1)return s[0];ae(this,"type",r,n,{issues:ll(s)}),r.typed=!0}else{if(o?.length===1)return o[0];ae(this,"type",r,n,{issues:ll(o)})}return r}}}function fl(t,e,r){let n=t["~run"]({value:e},Es(r));if(n.issues)throw new e1(n.issues);return n.value}function hl(t,e){let r={};for(let n in t.entries)r[n]=!e||e.includes(n)?Ut(t.entries[n]):t.entries[n];return{...t,entries:r,get"~standard"(){return le(this)}}}function dl(...t){return{...t[0],pipe:t,get"~standard"(){return le(this)},"~run"(e,r){for(let n of t)if(n.kind!=="metadata"){if(e.issues&&(n.kind==="schema"||n.kind==="transformation")){e.typed=!1;break}(!e.issues||!r.abortEarly&&!r.abortPipeEarly)&&(e=n["~run"](e,r))}return e}}}function Mr(t,e,r){let n=t["~run"]({value:e},Es(r));return{typed:n.typed,success:!n.issues,output:n.value,issues:n.issues}}var ml=hl(Le({name:z(),description:z(),price:z(),image_url:Vt([z(),Pt(z())]),category:z(),url:z()}));function gl(t,e,r,{imagesByProductUrl:n,linksNewTab:i=!0,searchParams:s,messageIsStreaming:o=!1}){if(!t)return h``;let u=e>0&&r[e-1]&&"data"in r[e-1],a=e<r.length-1||!o;if("text"in t)return h`<p>${t.text}</p>`;if("html"in t)return h`${al(t.html)}`;if("data"in t)switch(t.tag){case"product-card":case"product-card-v1":case"product-card-horizontal":{let c=Mr(ml,t.data);if(c.success){let f={...c.output,images:[]};return f.images=Rt(f.image_url),h`
567
+ `}};U=new WeakSet,Xa=function(){if(!this.product?.url){this._isValidUrl=!1;return}try{let r=new URL(this.product.url);this._isValidUrl=r.protocol==="http:"||r.protocol==="https:"}catch{this._isValidUrl=!1}},Nn=function(r){r.preventDefault(),!(!this.product?.url||!this._isValidUrl)&&window.open(this.product.url,"_blank")},Ka=function(r){!this.product?.url||!this._isValidUrl||(window.open(this.product.url,"_blank"),this.dispatchEvent(new Bn.AddToCartEvent(this.product)))},Fn=function(r,n){l(this,U,Hn)&&ks({from:r,to:n,duration:300,onUpdate:i=>{l(this,U,Hn)&&(l(this,U,Hn).style.transform=`translateX(${i}%)`)}})},Ya=function(){if(!this.product?.images?.length)return;let r=this._currentImageIndex,n=(r+1)%this.product.images.length,i=-(r*100),s=-(n*100);g(this,U,Fn).call(this,i,s),this._currentImageIndex=n},Qa=function(){if(!this.product?.images?.length)return;let r=this._currentImageIndex,n=(r-1+this.product.images.length)%this.product.images.length,i=-(r*100),s=-(n*100);g(this,U,Fn).call(this,i,s),this._currentImageIndex=n},el=function(r){if(!this.product?.images?.length)return;let n=this._currentImageIndex,i=Math.max(0,Math.min(r,this.product.images.length-1)),s=-(n*100),o=-(i*100);g(this,U,Fn).call(this,s,o),this._currentImageIndex=i},Hn=function(){return this.renderRoot.querySelector(".image-slider")},y(Bn,"properties",{product:{type:Object},labels:{type:Object},_currentImageIndex:{type:Number,state:!0},_isValidUrl:{type:Boolean,state:!0}});var Sr=Bn,Cs;Sr.AddToCartEvent=(Cs=class extends CustomEvent{constructor(e,r={}){super(Sr.AddToCartEvent.type,{detail:{product:e},...r})}},y(Cs,"type","mw-product-card:add-to-cart"),Cs);customElements.get("mw-product-card")||customElements.define("mw-product-card",Sr);var Er,se,we,_r,$s,zn=class{constructor(e,r){d(this,_r);d(this,Er);d(this,se);d(this,we);if(!e)throw new Error("host is required");if(!r)throw new Error("config is required");m(this,Er,e),l(this,Er).addController(this),m(this,se,r)}connect(e){m(this,se,e),m(this,we,g(this,_r,$s).call(this))}hostConnected(){setTimeout(()=>{m(this,we,g(this,_r,$s).call(this))},0)}hostDisconnected(){l(this,we)?.close(1e3,"lit_host_disconnected"),m(this,we,void 0)}send(e){l(this,we)?.send(e)}close(e,r){l(this,we)?.close(e,r)}get isConnected(){return l(this,we)?.readyState===WebSocket.OPEN}get isConnecting(){return l(this,we)?.readyState===WebSocket.CONNECTING}};Er=new WeakMap,se=new WeakMap,we=new WeakMap,_r=new WeakSet,$s=function(){let e=new WebSocket(l(this,se).url());return l(this,se).onClose&&(e.onclose=l(this,se).onClose),l(this,se).onOpen&&(e.onopen=l(this,se).onOpen),l(this,se).onError&&(e.onerror=l(this,se).onError),l(this,se).onMessage&&(e.onmessage=l(this,se).onMessage),e};var tl="664df22d-d461-42d6-801e-f70247e2cd7c",G,J,me,jt,Dt,X,Ve,rl,nl,il,sl,qn=class{constructor(e,r){d(this,X);d(this,G);d(this,J);d(this,me);y(this,"isStreaming",!1);y(this,"typingIndicator");y(this,"ranOutOfCredits",!1);y(this,"messages",[]);y(this,"conversationId","");d(this,jt,0);d(this,Dt);y(this,"isLiveMode",!1);m(this,G,e),m(this,J,r),m(this,me,this.initWS()),e.addController(this)}sendUserInput(e,{xUserData:r,xCustomInstructions:n,role:i="user",expectStreaming:s=!1}={}){return g(this,X,Ve).call(this,{type:"USER_INPUT",value:e,role:i,xUserData:r,xCustomInstructions:n},{expectStreaming:s})}sendUserCancel(){return g(this,X,Ve).call(this,{type:"USER_CANCEL"})}sendUserTypingStart(){return g(this,X,Ve).call(this,{type:"USER_TYPING_START"})}sendUserTypingStop(){return g(this,X,Ve).call(this,{type:"USER_TYPING_STOP"})}sendUserMeta(e){return g(this,X,Ve).call(this,{type:"USER_META",metadata:e})}reloadConfig(){g(this,X,Ve).call(this,{type:"RELOAD_CONFIG"})}close(){l(this,me).close(1e3,"closed by user")}retry(){clearTimeout(l(this,Dt)),m(this,Dt,setTimeout(()=>{l(this,J).onReconnect?.(),m(this,me,this.initWS())},1e3*l(this,jt))),eo(this,jt)._++}initWS(){return new zn(l(this,G),{url:()=>l(this,J).url(this.conversationId,{}),onOpen:e=>g(this,X,rl).call(this,e),onMessage:e=>g(this,X,nl).call(this,JSON.parse(e.data)),onError:e=>g(this,X,il).call(this,e),onClose:e=>g(this,X,sl).call(this,e)})}hostConnected(){this.conversationId=l(this,J).restoreConversationState?.()?.conversationId||"",this.messages=l(this,J).restoreConversationState?.()?.messages||[]}reset(){g(this,X,Ve).call(this,{type:"NEW_CHAT"}),l(this,J).onReset?.(),this.isStreaming=!1,this.typingIndicator=void 0,this.ranOutOfCredits=!1,this.messages=[],this.conversationId="",this.isLiveMode=!1,l(this,G).requestUpdate()}hostDisconnected(){clearTimeout(l(this,Dt))}reconnectSocket(){l(this,me).close(1e3,"destroy"),m(this,me,this.initWS())}get lastMsg(){if(this.messages.length>0)return this.messages[this.messages.length-1]}};G=new WeakMap,J=new WeakMap,me=new WeakMap,jt=new WeakMap,Dt=new WeakMap,X=new WeakSet,Ve=function(e,{expectStreaming:r=!1}={}){return l(this,me).isConnecting?(console.warn("WebSocket is connecting, message not sent",e),!1):l(this,me).isConnected?(r&&!this.isLiveMode&&(this.isStreaming=!0,l(this,G).requestUpdate()),l(this,me).send(JSON.stringify(e)),!0):(console.warn("WebSocket is not connected, message not sent",e),this.retry(),!1)},rl=function(e){m(this,jt,0)},nl=function(e){switch(e.type){case"NEW_MESSAGE":{this.messages=[...this.messages,{...e.message,streaming:!0}].filter((r,n,i)=>n===i.findIndex(s=>s.id===r.id)),this.typingIndicator=void 0,l(this,G).requestUpdate(),l(this,J).onNewMessage?.(e.message);break}case"APPEND_MESSAGE":{let r=this.messages.find(n=>n.id===e.message.id);if(r){switch(e.message.content_type){case"text":{let{part:n,delta:i,position:s}=e.message;r.content=r.content.slice(0,s)+i,r.parts||=[],r.parts[n]={text:r.parts[n]&&"text"in r.parts[n]?(r.parts[n].text||"").slice(0,s)+i:i};break}case"html":{let{part:n,delta:i,position:s}=e.message;r.parts||=[],r.parts[n]={html:r.parts[n]&&"html"in r.parts[n]?(r.parts[n].html||"").slice(0,s)+i:i};break}case"data":{let{part:n}=e.message;r.parts||=[],r.parts[n]={tag:e.message.tag,data:r.parts[n]&&"data"in r.parts[n]?Object.assign(r.parts[n].data||{},e.message.data):e.message.data};break}}e.metadata&&(r.metadata=e.metadata),l(this,J).onMessageAppend?.(e),l(this,G).requestUpdate()}else throw new Error(`Message with id ${e.message.id} not found`);break}case"MESSAGE_DONE":{let r=this.messages.find(n=>n.id===e.message.id);if(r)Object.assign(r,e.message),r.streaming=!1;else throw new Error(`Message with id ${e.message.id} not found`);this.isStreaming=!1,l(this,G).requestUpdate(),l(this,J).onMessageDone?.(e,r),l(this,J).persistConversationState?.(this.conversationId,this.messages);break}case"MESSAGE_CANCEL":{this.isStreaming=!1,this.typingIndicator=void 0,l(this,G).requestUpdate();break}case"ERROR":{l(this,J).onMessageError?.(e);break}case"CONNECTED":{this.conversationId=e.conversationId,this.messages=e.messages,l(this,J).onConnect?.(e.conversationId),l(this,J).persistConversationState?.(e.conversationId,e.messages),this.isLiveMode=e.metadata?.isLiveMode,l(this,G).requestUpdate();break}case"TYPING_START":{e.role==="assistant"&&(this.isStreaming=!0),this.typingIndicator={role:e.role,metadata:e.metadata},l(this,G).requestUpdate();break}case"TYPING_STOP":{this.typingIndicator=void 0,l(this,G).requestUpdate();break}case"RAN_OUT_OF_CREDITS":{this.messages.some(r=>r.id===tl)||this.messages.push({id:tl,role:"assistant",content:"Sorry, I've run out of credits. Please contact the shop directly.",timestamp:Date.now()}),this.ranOutOfCredits=!0,l(this,G).requestUpdate();break}case"RECONNECT":{this.reconnectSocket(),l(this,G).requestUpdate();break}default:console.warn(`Unknown message type: ${JSON.stringify(e)}`)}},il=function(e){console.error("onError",e),l(this,J).onError?.(e)},sl=function(e){l(this,G).isConnected&&!l(this,me).isConnected&&e.reason==="reconnect"&&this.retry(),this.isStreaming=!1,this.typingIndicator=void 0,l(this,G).requestUpdate(),l(this,J).onClose?.()};function Rt(t){return Array.isArray(t)?t:t?[t]:[]}function ol(t,e){let r=new Map;for(let n of t){let i=e(n);r.has(i)||r.set(i,[]),(r.get(i)||[]).push(n)}return r}var Ar=class extends kt{constructor(e){if(super(e),this.it=E,e.type!==yn.CHILD)throw Error(this.constructor.directiveName+"() can only be used in child bindings")}render(e){if(e===E||e==null)return this._t=void 0,this.it=e;if(e===ge)return e;if(typeof e!="string")throw Error(this.constructor.directiveName+"() called with a non-string value");if(e===this.it)return this._t;this.it=e;let r=[e];return r.raw=r,this._t={_$litType$:this.constructor.resultType,strings:r,values:[]}}};Ar.directiveName="unsafeHTML",Ar.resultType=1;var al=vn(Ar);var Ss;function Es(t){return{lang:t?.lang??Ss?.lang,message:t?.message,abortEarly:t?.abortEarly??Ss?.abortEarly,abortPipeEarly:t?.abortPipeEarly??Ss?.abortPipeEarly}}var Zc;function Gc(t){return Zc?.get(t)}var Jc;function Xc(t){return Jc?.get(t)}var Kc;function Yc(t,e){return Kc?.get(t)?.get(e)}function ul(t){let e=typeof t;return e==="string"?`"${t}"`:e==="number"||e==="bigint"||e==="boolean"?`${t}`:e==="object"||e==="function"?(t&&Object.getPrototypeOf(t)?.constructor?.name)??"null":e}function le(t,e,r,n,i){let s=i&&"input"in i?i.input:r.value,o=i?.expected??t.expects??null,u=i?.received??ul(s),a={kind:t.kind,type:t.type,input:s,expected:o,received:u,message:`Invalid ${e}: ${o?`Expected ${o} but r`:"R"}eceived ${u}`,requirement:t.requirement,path:i?.path,issues:i?.issues,lang:n.lang,abortEarly:n.abortEarly,abortPipeEarly:n.abortPipeEarly},c=t.kind==="schema",f=i?.message??t.message??Yc(t.reference,a.lang)??(c?Xc(a.lang):null)??n.message??Gc(a.lang);f!==void 0&&(a.message=typeof f=="function"?f(a):f),c&&(r.typed=!1),r.issues?r.issues.push(a):r.issues=[a]}function ue(t){return{version:1,vendor:"valibot",validate(e){return t["~run"]({value:e},Es())}}}function Qc(t,e){return Object.hasOwn(t,e)&&e!=="__proto__"&&e!=="prototype"&&e!=="constructor"}function cl(t,e){let r=[...new Set(t)];return r.length>1?`(${r.join(` ${e} `)})`:r[0]??"never"}var e1=class extends Error{constructor(t){super(t[0].message),this.name="ValiError",this.issues=t}};function _s(t,e){return{kind:"validation",type:"max_length",reference:_s,async:!1,expects:`<=${t}`,requirement:t,message:e,"~run"(r,n){return r.typed&&r.value.length>this.requirement&&le(this,"length",r,n,{received:`${r.value.length}`}),r}}}function As(t,e){return{kind:"validation",type:"min_length",reference:As,async:!1,expects:`>=${t}`,requirement:t,message:e,"~run"(r,n){return r.typed&&r.value.length<this.requirement&&le(this,"length",r,n,{received:`${r.value.length}`}),r}}}function t1(t,e,r){return typeof t.fallback=="function"?t.fallback(e,r):t.fallback}function pl(t,e,r){return typeof t.default=="function"?t.default(e,r):t.default}function Ms(){return{kind:"schema",type:"any",reference:Ms,expects:"any",async:!1,get"~standard"(){return ue(this)},"~run"(t){return t.typed=!0,t}}}function Pt(t,e){return{kind:"schema",type:"array",reference:Pt,expects:"Array",async:!1,item:t,message:e,get"~standard"(){return ue(this)},"~run"(r,n){let i=r.value;if(Array.isArray(i)){r.typed=!0,r.value=[];for(let s=0;s<i.length;s++){let o=i[s],u=this.item["~run"]({value:o},n);if(u.issues){let a={type:"array",origin:"value",input:i,key:s,value:o};for(let c of u.issues)c.path?c.path.unshift(a):c.path=[a],r.issues?.push(c);if(r.issues||(r.issues=u.issues),n.abortEarly){r.typed=!1;break}}u.typed||(r.typed=!1),r.value.push(u.value)}}else le(this,"type",r,n);return r}}}function Is(t){return{kind:"schema",type:"boolean",reference:Is,expects:"boolean",async:!1,message:t,get"~standard"(){return ue(this)},"~run"(e,r){return typeof e.value=="boolean"?e.typed=!0:le(this,"type",e,r),e}}}function Ls(t){return{kind:"schema",type:"null",reference:Ls,expects:"null",async:!1,message:t,get"~standard"(){return ue(this)},"~run"(e,r){return e.value===null?e.typed=!0:le(this,"type",e,r),e}}}function Wn(t){return{kind:"schema",type:"number",reference:Wn,expects:"number",async:!1,message:t,get"~standard"(){return ue(this)},"~run"(e,r){return typeof e.value=="number"&&!isNaN(e.value)?e.typed=!0:le(this,"type",e,r),e}}}function Le(t,e){return{kind:"schema",type:"object",reference:Le,expects:"Object",async:!1,entries:t,message:e,get"~standard"(){return ue(this)},"~run"(r,n){let i=r.value;if(i&&typeof i=="object"){r.typed=!0,r.value={};for(let s in this.entries){let o=this.entries[s];if(s in i||(o.type==="exact_optional"||o.type==="optional"||o.type==="nullish")&&o.default!==void 0){let u=s in i?i[s]:pl(o),a=o["~run"]({value:u},n);if(a.issues){let c={type:"object",origin:"value",input:i,key:s,value:u};for(let f of a.issues)f.path?f.path.unshift(c):f.path=[c],r.issues?.push(f);if(r.issues||(r.issues=a.issues),n.abortEarly){r.typed=!1;break}}a.typed||(r.typed=!1),r.value[s]=a.value}else if(o.fallback!==void 0)r.value[s]=t1(o);else if(o.type!=="exact_optional"&&o.type!=="optional"&&o.type!=="nullish"&&(le(this,"key",r,n,{input:void 0,expected:`"${s}"`,path:[{type:"object",origin:"key",input:i,key:s,value:i[s]}]}),n.abortEarly))break}}else le(this,"type",r,n);return r}}}function Ut(t,e){return{kind:"schema",type:"optional",reference:Ut,expects:`(${t.expects} | undefined)`,async:!1,wrapped:t,default:e,get"~standard"(){return ue(this)},"~run"(r,n){return r.value===void 0&&(this.default!==void 0&&(r.value=pl(this,r,n)),r.value===void 0)?(r.typed=!0,r):this.wrapped["~run"](r,n)}}}function Ts(t,e){return{kind:"schema",type:"picklist",reference:Ts,expects:cl(t.map(ul),"|"),async:!1,options:t,message:e,get"~standard"(){return ue(this)},"~run"(r,n){return this.options.includes(r.value)?r.typed=!0:le(this,"type",r,n),r}}}function Zn(t,e,r){return{kind:"schema",type:"record",reference:Zn,expects:"Object",async:!1,key:t,value:e,message:r,get"~standard"(){return ue(this)},"~run"(n,i){let s=n.value;if(s&&typeof s=="object"){n.typed=!0,n.value={};for(let o in s)if(Qc(s,o)){let u=s[o],a=this.key["~run"]({value:o},i);if(a.issues){let f={type:"object",origin:"key",input:s,key:o,value:u};for(let p of a.issues)p.path=[f],n.issues?.push(p);if(n.issues||(n.issues=a.issues),i.abortEarly){n.typed=!1;break}}let c=this.value["~run"]({value:u},i);if(c.issues){let f={type:"object",origin:"value",input:s,key:o,value:u};for(let p of c.issues)p.path?p.path.unshift(f):p.path=[f],n.issues?.push(p);if(n.issues||(n.issues=c.issues),i.abortEarly){n.typed=!1;break}}(!a.typed||!c.typed)&&(n.typed=!1),a.typed&&(n.value[a.value]=c.value)}}else le(this,"type",n,i);return n}}}function z(t){return{kind:"schema",type:"string",reference:z,expects:"string",async:!1,message:t,get"~standard"(){return ue(this)},"~run"(e,r){return typeof e.value=="string"?e.typed=!0:le(this,"type",e,r),e}}}function ll(t){let e;if(t)for(let r of t)e?e.push(...r.issues):e=r.issues;return e}function Vt(t,e){return{kind:"schema",type:"union",reference:Vt,expects:cl(t.map(r=>r.expects),"|"),async:!1,options:t,message:e,get"~standard"(){return ue(this)},"~run"(r,n){let i,s,o;for(let u of this.options){let a=u["~run"]({value:r.value},n);if(a.typed)if(a.issues)s?s.push(a):s=[a];else{i=a;break}else o?o.push(a):o=[a]}if(i)return i;if(s){if(s.length===1)return s[0];le(this,"type",r,n,{issues:ll(s)}),r.typed=!0}else{if(o?.length===1)return o[0];le(this,"type",r,n,{issues:ll(o)})}return r}}}function fl(t,e,r){let n=t["~run"]({value:e},Es(r));if(n.issues)throw new e1(n.issues);return n.value}function hl(t,e){let r={};for(let n in t.entries)r[n]=!e||e.includes(n)?Ut(t.entries[n]):t.entries[n];return{...t,entries:r,get"~standard"(){return ue(this)}}}function dl(...t){return{...t[0],pipe:t,get"~standard"(){return ue(this)},"~run"(e,r){for(let n of t)if(n.kind!=="metadata"){if(e.issues&&(n.kind==="schema"||n.kind==="transformation")){e.typed=!1;break}(!e.issues||!r.abortEarly&&!r.abortPipeEarly)&&(e=n["~run"](e,r))}return e}}}function Mr(t,e,r){let n=t["~run"]({value:e},Es(r));return{typed:n.typed,success:!n.issues,output:n.value,issues:n.issues}}var ml=hl(Le({name:z(),description:z(),price:z(),image_url:Vt([z(),Pt(z())]),category:z(),url:z()}));function gl(t,e,r,{imagesByProductUrl:n,linksNewTab:i=!0,searchParams:s,messageIsStreaming:o=!1}){if(!t)return h``;let u=e>0&&r[e-1]&&"data"in r[e-1],a=e<r.length-1||!o;if("text"in t)return h`<p>${t.text}</p>`;if("html"in t)return h`${al(t.html)}`;if("data"in t)switch(t.tag){case"product-card":case"product-card-v1":case"product-card-horizontal":{let c=Mr(ml,t.data);if(c.success){let f={...c.output,images:[]};return f.images=Rt(f.image_url),h`
562
568
  ${u?h`<div class="my-3 w-full border-t border-gray-200/50"></div>`:null}
563
569
  <mw-product-card-horizontal
564
570
  product="${JSON.stringify(f)}"
@@ -750,7 +756,7 @@ var lu=Object.defineProperty;var Qs=t=>{throw TypeError(t)};var uu=(t,e,r)=>e in
750
756
  <!-- can append any other content -->
751
757
  <slot name="footer"></slot>
752
758
  </div>
753
- `);this.title="Chat with Molin AI",this.text="Hello there. How can we help?",this.button="Chat now",this.color="#601feb"}};zt=new WeakSet,Nl=function(){this.dispatchEvent(new Dr.CloseEvent)},Fl=function(){this.dispatchEvent(new Dr.ClickEvent)},y(Dr,"properties",{title:{type:String},text:{type:String},button:{type:String},color:{type:String}});var pt=Dr,Us;pt.CloseEvent=(Us=class extends CustomEvent{constructor(e={}){super(pt.CloseEvent.type,{...e})}},y(Us,"type","mw:close"),Us);var Vs;pt.ClickEvent=(Vs=class extends CustomEvent{constructor(e={}){super(pt.ClickEvent.type,{...e})}},y(Vs,"type","mw:click"),Vs);customElements.get("mw-popup-mobile")||customElements.define("mw-popup-mobile",pt);var qt,Rr,ft,Qn=class{constructor(e,r){d(this,qt);d(this,Rr,!1);d(this,ft,()=>{l(this,Rr)||(l(this,qt).userFirstInteracted?.(),m(this,Rr,!0)),l(this,qt).userInteracted?.()});m(this,qt,r),e.addController(this)}hostConnected(){this.startListening()}hostDisconnected(){this.stopListening()}startListening(){window.addEventListener("click",l(this,ft)),window.addEventListener("keydown",l(this,ft))}stopListening(){window.removeEventListener("click",l(this,ft)),window.removeEventListener("keydown",l(this,ft))}};qt=new WeakMap,Rr=new WeakMap,ft=new WeakMap;var u1=24*60*60*1e3,Wt,ue,ht,Pr,dt,Ur,ti,Hl,ei=class{constructor(e,r,n=Date){d(this,ti);d(this,Wt);d(this,ue);d(this,ht);d(this,Pr);d(this,dt,!1);d(this,Ur,!1);m(this,Wt,e),m(this,ue,r),m(this,ht,n),e.addController(this)}get showing(){return l(this,dt)}hostDisconnected(){this.abortAutoShowTimer()}show({sound:e}={}){if(this.abortAutoShowTimer(),!l(this,dt)&&(m(this,dt,!0),l(this,Wt).requestUpdate(),e)){l(this,ue).playPopupSound();let r=l(this,ue).getPersistedState();l(this,ue).setPersistedState({...r,playedSoundOnce:!0})}}hide(){m(this,Ur,!0),this.abortAutoShowTimer(),m(this,dt,!1),l(this,Wt).requestUpdate()}abortAutoShowTimer(){clearTimeout(l(this,Pr))}onCloseClick(){let e=l(this,ue).getPersistedState();l(this,ue).setPersistedState({...e,userDismissedAt:l(this,ht).now()}),this.hide()}onContentClick(){let e=l(this,ue).getPersistedState();l(this,ue).setPersistedState({...e,userDismissedAt:l(this,ht).now()}),this.hide()}userFirstInteracted(){this.abortAutoShowTimer(),l(this,Ur)||m(this,Pr,setTimeout(()=>g(this,ti,Hl).call(this),l(this,ue).getDelayMs()))}};Wt=new WeakMap,ue=new WeakMap,ht=new WeakMap,Pr=new WeakMap,dt=new WeakMap,Ur=new WeakMap,ti=new WeakSet,Hl=function(){let e=l(this,ue).getPersistedState(),r=!!e?.playedSoundOnce;e?.userDismissedAt&&l(this,ht).now()-e.userDismissedAt<u1||this.show({sound:!r})};var Be,Hs,Te,ri,Fs,ni=class ni extends _(S){constructor(){super();d(this,Te);d(this,Be,new ei(this,{getDelayMs:()=>this.delayMs,playPopupSound:()=>{this.soundUrl&&new Audio(this.soundUrl).play().then(()=>{}).catch(r=>{console.error("Error playing audio:",r,{})})},setPersistedState:r=>{r?localStorage.setItem("_molin_popup",JSON.stringify(r)):localStorage.removeItem("_molin_popup")},getPersistedState:()=>{let r=localStorage.getItem("_molin_popup");try{return r?JSON.parse(r):null}catch{return null}}}));d(this,Hs,new Qn(this,l(this,Be)));this.positionClasses="",this.delayMs=0,this.soundUrl="",this.content={desktop:{text:"",color:""},mobile:{title:"",text:"",button:"",color:"",poweredBy:!0}}}render(){let r=l(this,Be).showing?"visible opacity-100 translate-y-0":"invisible opacity-0 translate-y-3",n=this.content;return h`
759
+ `);this.title="Chat with Molin AI",this.text="Hello there. How can we help?",this.button="Chat now",this.color="#601feb"}};zt=new WeakSet,Nl=function(){this.dispatchEvent(new Dr.CloseEvent)},Fl=function(){this.dispatchEvent(new Dr.ClickEvent)},y(Dr,"properties",{title:{type:String},text:{type:String},button:{type:String},color:{type:String}});var pt=Dr,Us;pt.CloseEvent=(Us=class extends CustomEvent{constructor(e={}){super(pt.CloseEvent.type,{...e})}},y(Us,"type","mw:close"),Us);var Vs;pt.ClickEvent=(Vs=class extends CustomEvent{constructor(e={}){super(pt.ClickEvent.type,{...e})}},y(Vs,"type","mw:click"),Vs);customElements.get("mw-popup-mobile")||customElements.define("mw-popup-mobile",pt);var qt,Rr,ft,Qn=class{constructor(e,r){d(this,qt);d(this,Rr,!1);d(this,ft,()=>{l(this,Rr)||(l(this,qt).userFirstInteracted?.(),m(this,Rr,!0)),l(this,qt).userInteracted?.()});m(this,qt,r),e.addController(this)}hostConnected(){this.startListening()}hostDisconnected(){this.stopListening()}startListening(){window.addEventListener("click",l(this,ft)),window.addEventListener("keydown",l(this,ft))}stopListening(){window.removeEventListener("click",l(this,ft)),window.removeEventListener("keydown",l(this,ft))}};qt=new WeakMap,Rr=new WeakMap,ft=new WeakMap;var u1=24*60*60*1e3,Wt,ce,ht,Pr,dt,Ur,ti,Hl,ei=class{constructor(e,r,n=Date){d(this,ti);d(this,Wt);d(this,ce);d(this,ht);d(this,Pr);d(this,dt,!1);d(this,Ur,!1);m(this,Wt,e),m(this,ce,r),m(this,ht,n),e.addController(this)}get showing(){return l(this,dt)}hostDisconnected(){this.abortAutoShowTimer()}show({sound:e}={}){if(this.abortAutoShowTimer(),!l(this,dt)&&(m(this,dt,!0),l(this,Wt).requestUpdate(),e)){l(this,ce).playPopupSound();let r=l(this,ce).getPersistedState();l(this,ce).setPersistedState({...r,playedSoundOnce:!0})}}hide(){m(this,Ur,!0),this.abortAutoShowTimer(),m(this,dt,!1),l(this,Wt).requestUpdate()}abortAutoShowTimer(){clearTimeout(l(this,Pr))}onCloseClick(){let e=l(this,ce).getPersistedState();l(this,ce).setPersistedState({...e,userDismissedAt:l(this,ht).now()}),this.hide()}onContentClick(){let e=l(this,ce).getPersistedState();l(this,ce).setPersistedState({...e,userDismissedAt:l(this,ht).now()}),this.hide()}userFirstInteracted(){this.abortAutoShowTimer(),l(this,Ur)||m(this,Pr,setTimeout(()=>g(this,ti,Hl).call(this),l(this,ce).getDelayMs()))}};Wt=new WeakMap,ce=new WeakMap,ht=new WeakMap,Pr=new WeakMap,dt=new WeakMap,Ur=new WeakMap,ti=new WeakSet,Hl=function(){let e=l(this,ce).getPersistedState(),r=!!e?.playedSoundOnce;e?.userDismissedAt&&l(this,ht).now()-e.userDismissedAt<u1||this.show({sound:!r})};var Be,Hs,Te,ri,Fs,ni=class ni extends _(S){constructor(){super();d(this,Te);d(this,Be,new ei(this,{getDelayMs:()=>this.delayMs,playPopupSound:()=>{this.soundUrl&&new Audio(this.soundUrl).play().then(()=>{}).catch(r=>{console.error("Error playing audio:",r,{})})},setPersistedState:r=>{r?localStorage.setItem("_molin_popup",JSON.stringify(r)):localStorage.removeItem("_molin_popup")},getPersistedState:()=>{let r=localStorage.getItem("_molin_popup");try{return r?JSON.parse(r):null}catch{return null}}}));d(this,Hs,new Qn(this,l(this,Be)));this.positionClasses="",this.delayMs=0,this.soundUrl="",this.content={desktop:{text:"",color:""},mobile:{title:"",text:"",button:"",color:"",poweredBy:!0}}}render(){let r=l(this,Be).showing?"visible opacity-100 translate-y-0":"invisible opacity-0 translate-y-3",n=this.content;return h`
754
760
  <!-- mobile shadow backdrop -->
755
761
  <div @click="${g(this,Te,ri)}" class="${r} fixed inset-0 z-[2147483647] bg-black/50 transition-[opacity,visibility] sm:hidden"></div>
756
762
 
@@ -875,7 +881,7 @@ var lu=Object.defineProperty;var Qs=t=>{throw TypeError(t)};var uu=(t,e,r)=>e in
875
881
  `)}
876
882
  `:r?.map(i=>{let s=i?.image_url;return h`
877
883
  <div class="flex items-center gap-2 py-1.5">
878
- <mw-product-thumbnail class="block h-12 w-12" src="${he(s)}"></mw-product-thumbnail>
884
+ <mw-product-thumbnail class="block h-12 w-12" src="${ie(s)}"></mw-product-thumbnail>
879
885
 
880
886
  <div class="min-w-0 flex-1">
881
887
  ${!i?.name&&this.streaming?h`<div class="h-4 w-32 animate-pulse rounded bg-gray-200"></div>`:h`<h3 class="truncate text-sm font-medium">${i?.name}</h3>`}
@@ -971,7 +977,7 @@ var lu=Object.defineProperty;var Qs=t=>{throw TypeError(t)};var uu=(t,e,r)=>e in
971
977
  `})}
972
978
  </div>
973
979
  </div>
974
- `}};y(ai,"properties",{orderDetails:{type:Object,attribute:"order-details"},streaming:{type:Boolean},linksNewTab:{type:Boolean,attribute:"links-new-tab"}});customElements.get("mw-product-order-status-card")||customElements.define("mw-product-order-status-card",ai);var ze,$e,zs,Nr,Bs=class{constructor(e=window.localStorage){d(this,$e);d(this,ze);m(this,ze,e)}setex(e,r,n){return l(this,ze).setItem(e,g(this,$e,Nr).call(this,{value:g(this,$e,Nr).call(this,r),expiresAt:Date.now()+n*1e3})||"")}set(e,r){return l(this,ze).setItem(e,g(this,$e,Nr).call(this,{value:g(this,$e,Nr).call(this,r)})||"")}get(e){let r=l(this,ze).getItem(e);if(!r)return;let n=g(this,$e,zs).call(this,r);if(n){if(n.expiresAt&&n.expiresAt<Date.now()){l(this,ze).removeItem(e);return}return g(this,$e,zs).call(this,n.value)}}get molin_shop_assistant_distinct_id(){return localStorage.getItem("molin_shop_assistant_distinct_id")}set molin_shop_assistant_distinct_id(e){e===null?localStorage.removeItem("molin_shop_assistant_distinct_id"):localStorage.setItem("molin_shop_assistant_distinct_id",e)}get molin_widget_open_state(){return ce.get("molin-shop-ai-widget-open")??null}set molin_widget_open_state(e){ce.set("molin-shop-ai-widget-open",e)}resetWidgetData(){ce.molin_shop_assistant_distinct_id=null,ce.molin_widget_open_state=null}};ze=new WeakMap,$e=new WeakSet,zs=function(e){if(!(typeof e!="string"||e===""))try{return JSON.parse(e)}catch{return}},Nr=function(e){if(e!==void 0)try{return JSON.stringify(e)}catch{return}};var ce=new Bs;var re,Oe,ui,Fr,Zt,qs=class{constructor(){d(this,re,[]);d(this,Oe);d(this,ui,10);d(this,Fr,5e3);d(this,Zt,!1)}async add(e,r){if(l(this,re).push({event:e,properties:Object.assign({},r,Zl()),distinct_id:Wl(r.distinct_id),timestamp:new Date().toISOString()}),l(this,re).length>=l(this,ui))return this.flush();l(this,Oe)||m(this,Oe,setTimeout(()=>{this.flush().catch(console.error)},l(this,Fr)))}async flush(){if(l(this,Zt)||l(this,re).length===0)return;let e=[...l(this,re)];try{m(this,Zt,!0),clearTimeout(l(this,Oe)),m(this,Oe,void 0),m(this,re,[]);let r=new AbortController,n=setTimeout(()=>r.abort(),5e3),i=new FormData;i.append("events",JSON.stringify(e));let s=await fetch(new URL("/widgets/data/collect",Ws()).href,{method:"POST",body:i,signal:r.signal});if(clearTimeout(n),!s.ok)throw new Error(`HTTP error! status: ${s.status}`);return s}catch(r){if(r.name==="AbortError")console.error("Request timed out, retrying events"),m(this,re,[...e,...l(this,re)]);else{console.error("Failed to send events to backend:",r);let n=e.filter(i=>i.event.includes("error"));m(this,re,[...n,...l(this,re)])}}finally{m(this,Zt,!1),l(this,re).length>0&&!l(this,Oe)&&m(this,Oe,setTimeout(()=>{this.flush().catch(console.error)},l(this,Fr)))}}async flushBeforeUnload(){if(l(this,re).length>0)try{let e=new FormData;e.append("events",JSON.stringify(l(this,re))),navigator.sendBeacon(new URL("/widgets/data/collect",Ws()).href,e)}catch(e){console.error("Failed to send final events:",e)}}};re=new WeakMap,Oe=new WeakMap,ui=new WeakMap,Fr=new WeakMap,Zt=new WeakMap;var ql=new qs;window.addEventListener("beforeunload",()=>{ql.flushBeforeUnload().catch(console.error)});async function F(t,e){try{if(e.immediate){let r=new FormData;r.append("events",JSON.stringify([{event:t,properties:Object.assign({},e,Zl()),distinct_id:Wl(e.distinct_id),timestamp:new Date().toISOString()}]));let n=await fetch(new URL("/widgets/data/collect",Ws()).href,{method:"POST",body:r});if(!n.ok)throw new Error(`HTTP error! status: ${n.status}`);return await n.json()}return ql.add(t,e)}catch(r){console.error("Failed to send event:",r)}}function Wl(t=crypto.randomUUID()){try{let e=ce.molin_shop_assistant_distinct_id;return e||(e=t,ce.molin_shop_assistant_distinct_id=e),e}catch(e){console.error("Failed to handle distinct ID:",e);try{ce.molin_shop_assistant_distinct_id=t}catch(r){console.error("Failed to store new distinct ID:",r)}return t}}function Zl(){return{referrer:document.referrer,userAgent:navigator.userAgent,language:navigator.language,screenWidth:window.innerWidth,screenHeight:window.innerHeight,timestamp:new Date().toISOString(),timezoneOffset:new Date().getTimezoneOffset(),doNotTrack:navigator.doNotTrack}}var li;function Ws(){if(li)return li;let t=new URL(import.meta.url).hostname;return li=new Map([["localhost","http://localhost:8787"],["widget.molin.foo","https://molin.foo"],["widget.molin.ai","https://molin.ai"],["molin.foo","https://molin.foo"]]).get(t)||"https://molin.ai",li}var mt,Hr,qe,gt,pi,Jl,ci=class{constructor(e,r,n){d(this,pi);d(this,mt);d(this,Hr);d(this,qe);d(this,gt);y(this,"isLoading",!1);y(this,"data");m(this,mt,e),m(this,Hr,r),m(this,qe,n),e.addController(this)}fetch(){if(this.isLoading)return;l(this,gt)?.abort();let e=new AbortController;m(this,gt,e),this.isLoading=!0,this.data=void 0,l(this,mt).requestUpdate(),(async()=>{let r=g(this,pi,Jl).call(this);return r.signal?.addEventListener("abort",()=>e.abort(),{signal:e.signal}),fetch(r,{signal:e.signal})})().then(async r=>{if(!r.ok)throw new Error(`${r.statusText}: ${await r.text()}`);this.isLoading=!1,this.data=typeof l(this,qe)?.transform=="function"?await l(this,qe).transform(r):r,l(this,mt).requestUpdate()}).catch(r=>{l(this,qe)?.onError?.(r),this.isLoading=!1,this.data=void 0,l(this,mt).requestUpdate()}).finally(()=>{e.abort()})}hostConnected(){this.isLoading||l(this,qe)?.fetchWhenConnected&&this.fetch()}hostDisconnected(){l(this,gt)?.abort(),m(this,gt,void 0)}};mt=new WeakMap,Hr=new WeakMap,qe=new WeakMap,gt=new WeakMap,pi=new WeakSet,Jl=function(){let e=l(this,Hr);if(typeof e=="function"&&(e=e()),!e)throw new Error("missing request");return new Request(e)};var Se,Br,Gt,Jt,We=class{constructor(e,r){d(this,Se);d(this,Br);d(this,Gt);d(this,Jt);m(this,Se,e),m(this,Br,r),e.addController(this)}get data(){return l(this,Jt)||l(this,Gt)?.data}hostConnected(){if(l(this,Gt)||l(this,Jt))return;let e=Xl();e&&e.widgetId===l(this,Se).widgetId?m(this,Jt,e.config):m(this,Gt,new ci(l(this,Se),()=>{if(l(this,Se).cdn&&l(this,Se).widgetId)return`${l(this,Se).cdn}/config?w=${l(this,Se).widgetId}`;throw new Error("missing cdn or widgetId")},{fetchWhenConnected:!0,transform:r=>r.json(),onError:l(this,Br)?.onError}))}};Se=new WeakMap,Br=new WeakMap,Gt=new WeakMap,Jt=new WeakMap;function Ze(){return window.molinSettings&&typeof window.molinSettings=="object"?window.molinSettings:null}var fi,Wr,hi,je,Kl,zr,qr=class qr extends _(S){constructor(){super();d(this,je);d(this,fi,new We(this,{onError:console.error}));d(this,Wr);d(this,hi,{onError:r=>{alert(r.error),console.error(r.widgetId,r.error),F("ShopAssistant: error",{...r,immediate:!0})},onNewMessageStartedStreaming:r=>{F("ShopAssistant: user received bot message (streaming started)",r)},onMessageEndedStreaming:r=>{F("ShopAssistant: user received bot message (streaming ended)",r)},onUserCanceledStreaming:r=>{F("ShopAssistant: user canceled streaming",r)},onUserClickedLink:r=>{F("ShopAssistant: user clicked link",r)},onUserSentInput:r=>{F("ShopAssistant: user sent input",r)}});this.cdn="https://widget.molin.ai",this.widgetId="",this.showClose=!1,this.xUserData=Ze()?.userData,this.xCustomInstructions=Ze()?.customInstructions}get config(){return l(this,Wr)||l(this,fi).data}render(){return this.config?h`
980
+ `}};y(ai,"properties",{orderDetails:{type:Object,attribute:"order-details"},streaming:{type:Boolean},linksNewTab:{type:Boolean,attribute:"links-new-tab"}});customElements.get("mw-product-order-status-card")||customElements.define("mw-product-order-status-card",ai);var ze,$e,zs,Nr,Bs=class{constructor(e=window.localStorage){d(this,$e);d(this,ze);m(this,ze,e)}setex(e,r,n){return l(this,ze).setItem(e,g(this,$e,Nr).call(this,{value:g(this,$e,Nr).call(this,r),expiresAt:Date.now()+n*1e3})||"")}set(e,r){return l(this,ze).setItem(e,g(this,$e,Nr).call(this,{value:g(this,$e,Nr).call(this,r)})||"")}get(e){let r=l(this,ze).getItem(e);if(!r)return;let n=g(this,$e,zs).call(this,r);if(n){if(n.expiresAt&&n.expiresAt<Date.now()){l(this,ze).removeItem(e);return}return g(this,$e,zs).call(this,n.value)}}get molin_shop_assistant_distinct_id(){return localStorage.getItem("molin_shop_assistant_distinct_id")}set molin_shop_assistant_distinct_id(e){e===null?localStorage.removeItem("molin_shop_assistant_distinct_id"):localStorage.setItem("molin_shop_assistant_distinct_id",e)}get molin_widget_open_state(){return pe.get("molin-shop-ai-widget-open")??null}set molin_widget_open_state(e){pe.set("molin-shop-ai-widget-open",e)}resetWidgetData(){pe.molin_shop_assistant_distinct_id=null,pe.molin_widget_open_state=null}};ze=new WeakMap,$e=new WeakSet,zs=function(e){if(!(typeof e!="string"||e===""))try{return JSON.parse(e)}catch{return}},Nr=function(e){if(e!==void 0)try{return JSON.stringify(e)}catch{return}};var pe=new Bs;var re,Oe,ui,Fr,Zt,qs=class{constructor(){d(this,re,[]);d(this,Oe);d(this,ui,10);d(this,Fr,5e3);d(this,Zt,!1)}async add(e,r){if(l(this,re).push({event:e,properties:Object.assign({},r,Zl()),distinct_id:Wl(r.distinct_id),timestamp:new Date().toISOString()}),l(this,re).length>=l(this,ui))return this.flush();l(this,Oe)||m(this,Oe,setTimeout(()=>{this.flush().catch(console.error)},l(this,Fr)))}async flush(){if(l(this,Zt)||l(this,re).length===0)return;let e=[...l(this,re)];try{m(this,Zt,!0),clearTimeout(l(this,Oe)),m(this,Oe,void 0),m(this,re,[]);let r=new AbortController,n=setTimeout(()=>r.abort(),5e3),i=new FormData;i.append("events",JSON.stringify(e));let s=await fetch(new URL("/widgets/data/collect",Ws()).href,{method:"POST",body:i,signal:r.signal});if(clearTimeout(n),!s.ok)throw new Error(`HTTP error! status: ${s.status}`);return s}catch(r){if(r.name==="AbortError")console.error("Request timed out, retrying events"),m(this,re,[...e,...l(this,re)]);else{console.error("Failed to send events to backend:",r);let n=e.filter(i=>i.event.includes("error"));m(this,re,[...n,...l(this,re)])}}finally{m(this,Zt,!1),l(this,re).length>0&&!l(this,Oe)&&m(this,Oe,setTimeout(()=>{this.flush().catch(console.error)},l(this,Fr)))}}async flushBeforeUnload(){if(l(this,re).length>0)try{let e=new FormData;e.append("events",JSON.stringify(l(this,re))),navigator.sendBeacon(new URL("/widgets/data/collect",Ws()).href,e)}catch(e){console.error("Failed to send final events:",e)}}};re=new WeakMap,Oe=new WeakMap,ui=new WeakMap,Fr=new WeakMap,Zt=new WeakMap;var ql=new qs;window.addEventListener("beforeunload",()=>{ql.flushBeforeUnload().catch(console.error)});async function F(t,e){try{if(e.immediate){let r=new FormData;r.append("events",JSON.stringify([{event:t,properties:Object.assign({},e,Zl()),distinct_id:Wl(e.distinct_id),timestamp:new Date().toISOString()}]));let n=await fetch(new URL("/widgets/data/collect",Ws()).href,{method:"POST",body:r});if(!n.ok)throw new Error(`HTTP error! status: ${n.status}`);return await n.json()}return ql.add(t,e)}catch(r){console.error("Failed to send event:",r)}}function Wl(t=crypto.randomUUID()){try{let e=pe.molin_shop_assistant_distinct_id;return e||(e=t,pe.molin_shop_assistant_distinct_id=e),e}catch(e){console.error("Failed to handle distinct ID:",e);try{pe.molin_shop_assistant_distinct_id=t}catch(r){console.error("Failed to store new distinct ID:",r)}return t}}function Zl(){return{referrer:document.referrer,userAgent:navigator.userAgent,language:navigator.language,screenWidth:window.innerWidth,screenHeight:window.innerHeight,timestamp:new Date().toISOString(),timezoneOffset:new Date().getTimezoneOffset(),doNotTrack:navigator.doNotTrack}}var li;function Ws(){if(li)return li;let t=new URL(import.meta.url).hostname;return li=new Map([["localhost","http://localhost:8787"],["widget.molin.foo","https://molin.foo"],["widget.molin.ai","https://molin.ai"],["molin.foo","https://molin.foo"]]).get(t)||"https://molin.ai",li}var mt,Hr,qe,gt,pi,Jl,ci=class{constructor(e,r,n){d(this,pi);d(this,mt);d(this,Hr);d(this,qe);d(this,gt);y(this,"isLoading",!1);y(this,"data");m(this,mt,e),m(this,Hr,r),m(this,qe,n),e.addController(this)}fetch(){if(this.isLoading)return;l(this,gt)?.abort();let e=new AbortController;m(this,gt,e),this.isLoading=!0,this.data=void 0,l(this,mt).requestUpdate(),(async()=>{let r=g(this,pi,Jl).call(this);return r.signal?.addEventListener("abort",()=>e.abort(),{signal:e.signal}),fetch(r,{signal:e.signal})})().then(async r=>{if(!r.ok)throw new Error(`${r.statusText}: ${await r.text()}`);this.isLoading=!1,this.data=typeof l(this,qe)?.transform=="function"?await l(this,qe).transform(r):r,l(this,mt).requestUpdate()}).catch(r=>{l(this,qe)?.onError?.(r),this.isLoading=!1,this.data=void 0,l(this,mt).requestUpdate()}).finally(()=>{e.abort()})}hostConnected(){this.isLoading||l(this,qe)?.fetchWhenConnected&&this.fetch()}hostDisconnected(){l(this,gt)?.abort(),m(this,gt,void 0)}};mt=new WeakMap,Hr=new WeakMap,qe=new WeakMap,gt=new WeakMap,pi=new WeakSet,Jl=function(){let e=l(this,Hr);if(typeof e=="function"&&(e=e()),!e)throw new Error("missing request");return new Request(e)};var Se,Br,Gt,Jt,We=class{constructor(e,r){d(this,Se);d(this,Br);d(this,Gt);d(this,Jt);m(this,Se,e),m(this,Br,r),e.addController(this)}get data(){return l(this,Jt)||l(this,Gt)?.data}hostConnected(){if(l(this,Gt)||l(this,Jt))return;let e=Xl();e&&e.widgetId===l(this,Se).widgetId?m(this,Jt,e.config):m(this,Gt,new ci(l(this,Se),()=>{if(l(this,Se).cdn&&l(this,Se).widgetId)return`${l(this,Se).cdn}/config?w=${l(this,Se).widgetId}`;throw new Error("missing cdn or widgetId")},{fetchWhenConnected:!0,transform:r=>r.json(),onError:l(this,Br)?.onError}))}};Se=new WeakMap,Br=new WeakMap,Gt=new WeakMap,Jt=new WeakMap;function Ze(){return window.molinSettings&&typeof window.molinSettings=="object"?window.molinSettings:null}var fi,Wr,hi,je,Kl,zr,qr=class qr extends _(S){constructor(){super();d(this,je);d(this,fi,new We(this,{onError:console.error}));d(this,Wr);d(this,hi,{onError:r=>{alert(r.error),console.error(r.widgetId,r.error),F("ShopAssistant: error",{...r,immediate:!0})},onNewMessageStartedStreaming:r=>{F("ShopAssistant: user received bot message (streaming started)",r)},onMessageEndedStreaming:r=>{F("ShopAssistant: user received bot message (streaming ended)",r)},onUserCanceledStreaming:r=>{F("ShopAssistant: user canceled streaming",r)},onUserClickedLink:r=>{F("ShopAssistant: user clicked link",r)},onUserSentInput:r=>{F("ShopAssistant: user sent input",r)}});this.cdn="https://widget.molin.ai",this.widgetId="",this.showClose=!1,this.xUserData=Ze()?.userData,this.xCustomInstructions=Ze()?.customInstructions}get config(){return l(this,Wr)||l(this,fi).data}render(){return this.config?h`
975
981
  <!-- embed our chat component forwarding props -->
976
982
  <mw-chat
977
983
  widget="${this.widgetId}"
@@ -987,10 +993,14 @@ var lu=Object.defineProperty;var Qs=t=>{throw TypeError(t)};var uu=(t,e,r)=>e in
987
993
  :host {
988
994
  all: initial; /* reset all properties that can pierce the shadow DOM */
989
995
  }
990
- `),y(qr,"properties",{cdn:{type:String},widgetId:{type:String,attribute:"widget"},showClose:{type:Boolean,attribute:"show-close"},xUserData:{type:Object,attribute:!1},xCustomInstructions:{type:String,attribute:!1}});var yt=qr;customElements.get("molin-shop-ai-chat")||customElements.define("molin-shop-ai-chat",yt);var Zs;yt.CloseClickEvent=(Zs=class extends CustomEvent{constructor(e={}){super(yt.CloseClickEvent.type,{...e})}},y(Zs,"type","mw:close-click"),Zs);var Gs=class{constructor({hidden:e=!1}){y(this,"hidden");this.hidden=e}setUserData(e){for(let r of document.querySelectorAll("molin-shop-ai"))e?r.setAttribute("user-data",JSON.stringify(e)):r.removeAttribute("user-data");for(let r of document.querySelectorAll("molin-shop-ai-chat"))e?r.setAttribute("user-data",JSON.stringify(e)):r.removeAttribute("user-data")}setCustomInstructions(e){for(let r of document.querySelectorAll("molin-shop-ai"))e?r.setAttribute("custom-instructions",e):r.removeAttribute("custom-instructions");for(let r of document.querySelectorAll("molin-shop-ai-chat"))e?r.setAttribute("custom-instructions",e):r.removeAttribute("custom-instructions")}showLauncher(){for(let e of document.querySelectorAll("molin-shop-ai"))e instanceof be&&e.showLauncher()}hideLauncher(){for(let e of document.querySelectorAll("molin-shop-ai"))e instanceof be&&e.hideLauncher()}openChat(){for(let e of document.querySelectorAll("molin-shop-ai"))e instanceof be&&e.openChat()}closeChat(){for(let e of document.querySelectorAll("molin-shop-ai"))e instanceof be&&e.closeChat()}reset(){ce.resetWidgetData();for(let e of document.querySelectorAll("molin-shop-ai"))e instanceof be&&e.reset();for(let e of document.querySelectorAll("molin-shop-ai-chat"))e instanceof yt&&e.reset()}};function Yl({hidden:t}){let e=new Gs({hidden:t});return window.Molin=e,e}function di(){let t=window.Molin;if(!t)throw new Error("window.Molin global not initialized");return t}window.__INIT_MOLIN_SHOP_AI=function(e){c1(e);let r=Ze(),n=typeof r?.hidden=="boolean"?r.hidden:window.self!==window.top;if(Yl({hidden:n}),e.auto){let i=document.createElement("molin-shop-ai");i.setAttribute("cdn",e.cdn),i.setAttribute("widget",e.widgetId),document.body.appendChild(i)}};function c1(t){window.__INIT_MOLIN_SHOP_AI_OPTIONS=t}function Xl(){return window.__INIT_MOLIN_SHOP_AI_OPTIONS}var mi,Zr=class extends _(S){constructor(){super();d(this,mi,new We(this,{onError:console.error}));this.cdn="https://widget.molin.ai",this.widgetId="",this.state="open"}get config(){return l(this,mi).data}render(){return this.config?h`
996
+ `),y(qr,"properties",{cdn:{type:String},widgetId:{type:String,attribute:"widget"},showClose:{type:Boolean,attribute:"show-close"},xUserData:{type:Object,attribute:!1},xCustomInstructions:{type:String,attribute:!1}});var yt=qr;customElements.get("molin-shop-ai-chat")||customElements.define("molin-shop-ai-chat",yt);var Zs;yt.CloseClickEvent=(Zs=class extends CustomEvent{constructor(e={}){super(yt.CloseClickEvent.type,{...e})}},y(Zs,"type","mw:close-click"),Zs);var Gs=class{constructor({hidden:e=!1}){y(this,"hidden");this.hidden=e}setUserData(e){for(let r of document.querySelectorAll("molin-shop-ai"))e?r.setAttribute("user-data",JSON.stringify(e)):r.removeAttribute("user-data");for(let r of document.querySelectorAll("molin-shop-ai-chat"))e?r.setAttribute("user-data",JSON.stringify(e)):r.removeAttribute("user-data")}setCustomInstructions(e){for(let r of document.querySelectorAll("molin-shop-ai"))e?r.setAttribute("custom-instructions",e):r.removeAttribute("custom-instructions");for(let r of document.querySelectorAll("molin-shop-ai-chat"))e?r.setAttribute("custom-instructions",e):r.removeAttribute("custom-instructions")}showLauncher(){for(let e of document.querySelectorAll("molin-shop-ai"))e instanceof be&&e.showLauncher()}hideLauncher(){for(let e of document.querySelectorAll("molin-shop-ai"))e instanceof be&&e.hideLauncher()}openChat(){for(let e of document.querySelectorAll("molin-shop-ai"))e instanceof be&&e.openChat()}closeChat(){for(let e of document.querySelectorAll("molin-shop-ai"))e instanceof be&&e.closeChat()}reset(){pe.resetWidgetData();for(let e of document.querySelectorAll("molin-shop-ai"))e instanceof be&&e.reset();for(let e of document.querySelectorAll("molin-shop-ai-chat"))e instanceof yt&&e.reset()}};function Yl({hidden:t}){let e=new Gs({hidden:t});return window.Molin=e,e}function di(){let t=window.Molin;if(!t)throw new Error("window.Molin global not initialized");return t}window.__INIT_MOLIN_SHOP_AI=function(e){c1(e);let r=Ze(),n=typeof r?.hidden=="boolean"?r.hidden:window.self!==window.top;if(Yl({hidden:n}),e.auto){let i=document.createElement("molin-shop-ai");i.setAttribute("cdn",e.cdn),i.setAttribute("widget",e.widgetId),document.body.appendChild(i)}};function c1(t){window.__INIT_MOLIN_SHOP_AI_OPTIONS=t}function Xl(){return window.__INIT_MOLIN_SHOP_AI_OPTIONS}var mi,Zr=class extends _(S){constructor(){super();d(this,mi,new We(this,{onError:console.error}));this.cdn="https://widget.molin.ai",this.widgetId="",this.state="open"}get config(){return l(this,mi).data}render(){return this.config?h`
991
997
  <!-- embed our bubble component forwarding props -->
992
998
  <!-- these props are never internally updated by mw-bubble so we pass them down only one way -->
993
- <mw-bubble state="${this.state}" .color="${he(this.config?.bubble?.color||this.config?.color)}" .bubbleStyle="${he(this.config?.bubble?.style)}"></mw-bubble>
999
+ <mw-bubble
1000
+ state="${this.state}"
1001
+ .color="${ie(this.config?.bubble?.color||this.config?.color)}"
1002
+ .bubbleStyle="${ie(this.config?.bubble?.style)}"
1003
+ .src="${ie(this.config?.bubble?.bubbleUrl)}"></mw-bubble>
994
1004
  `:E}};mi=new WeakMap,y(Zr,"styles",te`
995
1005
  :host {
996
1006
  all: initial; /* reset all properties that can pierce the shadow DOM */
@@ -1000,8 +1010,9 @@ var lu=Object.defineProperty;var Qs=t=>{throw TypeError(t)};var uu=(t,e,r)=>e in
1000
1010
  class="${r} ${l(this,N)?"opacity-0":"opacity-100"} fixed z-[${l(this,V,nu)}] transition-opacity"
1001
1011
  @click="${g(this,V,su)}"
1002
1012
  state="${l(this,N)?"close":"open"}"
1003
- .color="${he(this.config?.bubble?.color||this.config?.color)}"
1004
- .bubbleStyle="${he(this.config?.bubble?.style)}"></mw-bubble>
1013
+ .color="${ie(this.config?.bubble?.color||this.config?.color)}"
1014
+ .bubbleStyle="${ie(this.config?.bubble?.style)}"
1015
+ .src="${ie(this.config?.bubble?.bubbleUrl)}"></mw-bubble>
1005
1016
 
1006
1017
  <!-- only load the component if enabled on any platform -->
1007
1018
  ${this.isPopupEnabled?h`
@@ -1035,7 +1046,7 @@ var lu=Object.defineProperty;var Qs=t=>{throw TypeError(t)};var uu=(t,e,r)=>e in
1035
1046
  </mw-chat>
1036
1047
  </div>
1037
1048
  `:E}
1038
- `}get isPopupEnabled(){return window.matchMedia("(min-width: 640px)").matches?!!this.config?.popup?.desktopEnabled:!!this.config?.popup?.mobileEnabled}updated(){l(this,N)&&l(this,V,Jr)?.hide()}firstUpdated(){window.matchMedia("(min-width: 640px)").matches&&ce.molin_widget_open_state?.isOpen&&!l(this,N)&&(m(this,N,!0),m(this,Ge,!0),this.requestUpdate())}openChat(){l(this,N)||(m(this,N,!0),m(this,Ge,!0),this.requestUpdate(),g(this,V,Yt).call(this,!0),l(this,V,Jr)?.hide(),F("ShopAssistant: user toggled window",{widgetId:this.widgetId,source:"programmatic-method",state:l(this,N)?"open":"close"}))}closeChat(){l(this,N)&&(m(this,N,!1),this.requestUpdate(),g(this,V,Yt).call(this,!1),l(this,V,Jr)?.hide(),F("ShopAssistant: user toggled window",{widgetId:this.widgetId,source:"programmatic-method",state:l(this,N)?"open":"close"}))}showLauncher(){let r=di();r.hidden=!1,this.requestUpdate(),F("ShopAssistant: called show launcher",{widgetId:this.widgetId,source:"programmatic-method"})}hideLauncher(){let r=di();r.hidden=!0,this.requestUpdate(),F("ShopAssistant: called hide launcher",{widgetId:this.widgetId,source:"programmatic-method"})}injectConfig(r){m(this,Xr,r),this.requestUpdate()}reset(){this.xUserData={},this.xCustomInstructions="",l(this,V,Ks)?.reset(),this.requestUpdate()}};wi=new WeakMap,Xr=new WeakMap,Ys=new WeakMap,N=new WeakMap,Ge=new WeakMap,bi=new WeakMap,V=new WeakSet,nu=function(){return typeof this.config?.bubble?.zIndex=="number"?this.config.bubble.zIndex:2147483647},Jr=function(){return this.renderRoot.querySelector("mw-popup")},Ks=function(){return this.renderRoot.querySelector("mw-chat")},iu=function(){m(this,N,!0),m(this,Ge,!0),this.requestUpdate(),g(this,V,Yt).call(this,!0),F("ShopAssistant: user toggled window",{widgetId:this.widgetId,source:"popup-click",state:l(this,N)?"open":"close"})},su=function(){m(this,N,!l(this,N)),m(this,Ge,!0),this.requestUpdate(),g(this,V,Yt).call(this,l(this,N)),l(this,V,Jr)?.hide(),F("ShopAssistant: user toggled window",{widgetId:this.widgetId,source:"bubble-toggle",state:l(this,N)?"open":"close"})},ou=function(){m(this,N,!1),this.requestUpdate(),g(this,V,Yt).call(this,!1),F("ShopAssistant: user toggled window",{widgetId:this.widgetId,source:"top-right-close-button",state:l(this,N)?"open":"close"})},Yt=function(r){ce.molin_widget_open_state={isOpen:r}},y(be,"styles",te`
1049
+ `}get isPopupEnabled(){return window.matchMedia("(min-width: 640px)").matches?!!this.config?.popup?.desktopEnabled:!!this.config?.popup?.mobileEnabled}updated(){l(this,N)&&l(this,V,Jr)?.hide()}firstUpdated(){window.matchMedia("(min-width: 640px)").matches&&pe.molin_widget_open_state?.isOpen&&!l(this,N)&&(m(this,N,!0),m(this,Ge,!0),this.requestUpdate())}openChat(){l(this,N)||(m(this,N,!0),m(this,Ge,!0),this.requestUpdate(),g(this,V,Yt).call(this,!0),l(this,V,Jr)?.hide(),F("ShopAssistant: user toggled window",{widgetId:this.widgetId,source:"programmatic-method",state:l(this,N)?"open":"close"}))}closeChat(){l(this,N)&&(m(this,N,!1),this.requestUpdate(),g(this,V,Yt).call(this,!1),l(this,V,Jr)?.hide(),F("ShopAssistant: user toggled window",{widgetId:this.widgetId,source:"programmatic-method",state:l(this,N)?"open":"close"}))}showLauncher(){let r=di();r.hidden=!1,this.requestUpdate(),F("ShopAssistant: called show launcher",{widgetId:this.widgetId,source:"programmatic-method"})}hideLauncher(){let r=di();r.hidden=!0,this.requestUpdate(),F("ShopAssistant: called hide launcher",{widgetId:this.widgetId,source:"programmatic-method"})}injectConfig(r){m(this,Xr,r),this.requestUpdate()}reset(){this.xUserData={},this.xCustomInstructions="",l(this,V,Ks)?.reset(),this.requestUpdate()}};wi=new WeakMap,Xr=new WeakMap,Ys=new WeakMap,N=new WeakMap,Ge=new WeakMap,bi=new WeakMap,V=new WeakSet,nu=function(){return typeof this.config?.bubble?.zIndex=="number"?this.config.bubble.zIndex:2147483647},Jr=function(){return this.renderRoot.querySelector("mw-popup")},Ks=function(){return this.renderRoot.querySelector("mw-chat")},iu=function(){m(this,N,!0),m(this,Ge,!0),this.requestUpdate(),g(this,V,Yt).call(this,!0),F("ShopAssistant: user toggled window",{widgetId:this.widgetId,source:"popup-click",state:l(this,N)?"open":"close"})},su=function(){m(this,N,!l(this,N)),m(this,Ge,!0),this.requestUpdate(),g(this,V,Yt).call(this,l(this,N)),l(this,V,Jr)?.hide(),F("ShopAssistant: user toggled window",{widgetId:this.widgetId,source:"bubble-toggle",state:l(this,N)?"open":"close"})},ou=function(){m(this,N,!1),this.requestUpdate(),g(this,V,Yt).call(this,!1),F("ShopAssistant: user toggled window",{widgetId:this.widgetId,source:"top-right-close-button",state:l(this,N)?"open":"close"})},Yt=function(r){pe.molin_widget_open_state={isOpen:r}},y(be,"styles",te`
1039
1050
  :host {
1040
1051
  all: initial; /* reset all properties that can pierce the shadow DOM */
1041
1052
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@molin.ai/shop-ai",
3
- "version": "0.8.25",
3
+ "version": "0.8.26",
4
4
  "description": "Molin Shop AI",
5
5
  "keywords": [
6
6
  "molin",