import{c as Te,a as Me}from"./B08U0THx.js";import{_ as Re}from"./CAhoRlBp.js";import{aI as ye,d as B,aB as Ge,o as b,c as x,e as i,h as R,p as ie,ai as P,s as Z,aq as je,q as V,f as T,g as Q,as as we,b as c,aL as Be,n as Ee,t as M,aF as Ne,aG as Le,aH as Oe,m as ve,a5 as We,w as K,a as Ve,F as L,i as be,j as $,u as te,_ as _e,E as Fe,a0 as Ue,I as ke,aD as Ce,X as qe,r as ae,at as De,ab as He}from"./CcVK2I7c.js";import{u as Xe}from"./B8vS6OTO.js";import{i as Je,p as Ke}from"./C94ndmYg.js";const ce="-",Ze=e=>{const t=Ye(e),{conflictingClassGroups:o,conflictingClassGroupModifiers:r}=e;return{getClassGroupId:l=>{const n=l.split(ce);return n[0]===""&&n.length!==1&&n.shift(),$e(n,t)||Qe(l)},getConflictingClassGroupIds:(l,n)=>{const h=o[l]||[];return n&&r[l]?[...h,...r[l]]:h}}},$e=(e,t)=>{var l;if(e.length===0)return t.classGroupId;const o=e[0],r=t.nextPart.get(o),a=r?$e(e.slice(1),r):void 0;if(a)return a;if(t.validators.length===0)return;const s=e.join(ce);return(l=t.validators.find(({validator:n})=>n(s)))==null?void 0:l.classGroupId},ge=/^\[(.+)\]$/,Qe=e=>{if(ge.test(e)){const t=ge.exec(e)[1],o=t==null?void 0:t.substring(0,t.indexOf(":"));if(o)return"arbitrary.."+o}},Ye=e=>{const{theme:t,prefix:o}=e,r={nextPart:new Map,validators:[]};return tt(Object.entries(e.classGroups),o).forEach(([s,l])=>{le(l,r,s,t)}),r},le=(e,t,o,r)=>{e.forEach(a=>{if(typeof a=="string"){const s=a===""?t:fe(t,a);s.classGroupId=o;return}if(typeof a=="function"){if(et(a)){le(a(r),t,o,r);return}t.validators.push({validator:a,classGroupId:o});return}Object.entries(a).forEach(([s,l])=>{le(l,fe(t,s),o,r)})})},fe=(e,t)=>{let o=e;return t.split(ce).forEach(r=>{o.nextPart.has(r)||o.nextPart.set(r,{nextPart:new Map,validators:[]}),o=o.nextPart.get(r)}),o},et=e=>e.isThemeGetter,tt=(e,t)=>t?e.map(([o,r])=>{const a=r.map(s=>typeof s=="string"?t+s:typeof s=="object"?Object.fromEntries(Object.entries(s).map(([l,n])=>[t+l,n])):s);return[o,a]}):e,ot=e=>{if(e<1)return{get:()=>{},set:()=>{}};let t=0,o=new Map,r=new Map;const a=(s,l)=>{o.set(s,l),t++,t>e&&(t=0,r=o,o=new Map)};return{get(s){let l=o.get(s);if(l!==void 0)return l;if((l=r.get(s))!==void 0)return a(s,l),l},set(s,l){o.has(s)?o.set(s,l):a(s,l)}}},Se="!",rt=e=>{const{separator:t,experimentalParseClassName:o}=e,r=t.length===1,a=t[0],s=t.length,l=n=>{const h=[];let p=0,m=0,y;for(let d=0;d<n.length;d++){let _=n[d];if(p===0){if(_===a&&(r||n.slice(d,d+s)===t)){h.push(n.slice(m,d)),m=d+s;continue}if(_==="/"){y=d;continue}}_==="["?p++:_==="]"&&p--}const C=h.length===0?n:n.substring(m),z=C.startsWith(Se),A=z?C.substring(1):C,w=y&&y>m?y-m:void 0;return{modifiers:h,hasImportantModifier:z,baseClassName:A,maybePostfixModifierPosition:w}};return o?n=>o({className:n,parseClassName:l}):l},st=e=>{if(e.length<=1)return e;const t=[];let o=[];return e.forEach(r=>{r[0]==="["?(t.push(...o.sort(),r),o=[]):o.push(r)}),t.push(...o.sort()),t},nt=e=>({cache:ot(e.cacheSize),parseClassName:rt(e),...Ze(e)}),at=/\s+/,lt=(e,t)=>{const{parseClassName:o,getClassGroupId:r,getConflictingClassGroupIds:a}=t,s=[],l=e.trim().split(at);let n="";for(let h=l.length-1;h>=0;h-=1){const p=l[h],{modifiers:m,hasImportantModifier:y,baseClassName:C,maybePostfixModifierPosition:z}=o(p);let A=!!z,w=r(A?C.substring(0,z):C);if(!w){if(!A){n=p+(n.length>0?" "+n:n);continue}if(w=r(C),!w){n=p+(n.length>0?" "+n:n);continue}A=!1}const d=st(m).join(":"),_=y?d+Se:d,k=_+w;if(s.includes(k))continue;s.push(k);const I=a(w,A);for(let v=0;v<I.length;++v){const S=I[v];s.push(_+S)}n=p+(n.length>0?" "+n:n)}return n};function it(){let e=0,t,o,r="";for(;e<arguments.length;)(t=arguments[e++])&&(o=ze(t))&&(r&&(r+=" "),r+=o);return r}const ze=e=>{if(typeof e=="string")return e;let t,o="";for(let r=0;r<e.length;r++)e[r]&&(t=ze(e[r]))&&(o&&(o+=" "),o+=t);return o};function ct(e,...t){let o,r,a,s=l;function l(h){const p=t.reduce((m,y)=>y(m),e());return o=nt(p),r=o.cache.get,a=o.cache.set,s=n,n(h)}function n(h){const p=r(h);if(p)return p;const m=lt(h,o);return a(h,m),m}return function(){return s(it.apply(null,arguments))}}const g=e=>{const t=o=>o[e]||[];return t.isThemeGetter=!0,t},Ae=/^\[(?:([a-z-]+):)?(.+)\]$/i,dt=/^\d+\/\d+$/,ut=new Set(["px","full","screen"]),pt=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,mt=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,ht=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,bt=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,gt=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,j=e=>F(e)||ut.has(e)||dt.test(e),E=e=>U(e,"length",Ct),F=e=>!!e&&!Number.isNaN(Number(e)),ne=e=>U(e,"number",F),X=e=>!!e&&Number.isInteger(Number(e)),ft=e=>e.endsWith("%")&&F(e.slice(0,-1)),u=e=>Ae.test(e),N=e=>pt.test(e),xt=new Set(["length","size","percentage"]),yt=e=>U(e,xt,Ie),wt=e=>U(e,"position",Ie),vt=new Set(["image","url"]),_t=e=>U(e,vt,St),kt=e=>U(e,"",$t),J=()=>!0,U=(e,t,o)=>{const r=Ae.exec(e);return r?r[1]?typeof t=="string"?r[1]===t:t.has(r[1]):o(r[2]):!1},Ct=e=>mt.test(e)&&!ht.test(e),Ie=()=>!1,$t=e=>bt.test(e),St=e=>gt.test(e),zt=()=>{const e=g("colors"),t=g("spacing"),o=g("blur"),r=g("brightness"),a=g("borderColor"),s=g("borderRadius"),l=g("borderSpacing"),n=g("borderWidth"),h=g("contrast"),p=g("grayscale"),m=g("hueRotate"),y=g("invert"),C=g("gap"),z=g("gradientColorStops"),A=g("gradientColorStopPositions"),w=g("inset"),d=g("margin"),_=g("opacity"),k=g("padding"),I=g("saturate"),v=g("scale"),S=g("sepia"),q=g("skew"),D=g("space"),W=g("translate"),O=()=>["auto","contain","none"],oe=()=>["auto","hidden","clip","visible","scroll"],re=()=>["auto",u,t],f=()=>[u,t],ue=()=>["",j,E],Y=()=>["auto",F,u],pe=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],ee=()=>["solid","dashed","dotted","double","none"],me=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],se=()=>["start","end","center","between","around","evenly","stretch"],H=()=>["","0",u],he=()=>["auto","avoid","all","avoid-page","page","left","right","column"],G=()=>[F,u];return{cacheSize:500,separator:":",theme:{colors:[J],spacing:[j,E],blur:["none","",N,u],brightness:G(),borderColor:[e],borderRadius:["none","","full",N,u],borderSpacing:f(),borderWidth:ue(),contrast:G(),grayscale:H(),hueRotate:G(),invert:H(),gap:f(),gradientColorStops:[e],gradientColorStopPositions:[ft,E],inset:re(),margin:re(),opacity:G(),padding:f(),saturate:G(),scale:G(),sepia:H(),skew:G(),space:f(),translate:f()},classGroups:{aspect:[{aspect:["auto","square","video",u]}],container:["container"],columns:[{columns:[N]}],"break-after":[{"break-after":he()}],"break-before":[{"break-before":he()}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:[...pe(),u]}],overflow:[{overflow:oe()}],"overflow-x":[{"overflow-x":oe()}],"overflow-y":[{"overflow-y":oe()}],overscroll:[{overscroll:O()}],"overscroll-x":[{"overscroll-x":O()}],"overscroll-y":[{"overscroll-y":O()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[w]}],"inset-x":[{"inset-x":[w]}],"inset-y":[{"inset-y":[w]}],start:[{start:[w]}],end:[{end:[w]}],top:[{top:[w]}],right:[{right:[w]}],bottom:[{bottom:[w]}],left:[{left:[w]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",X,u]}],basis:[{basis:re()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",u]}],grow:[{grow:H()}],shrink:[{shrink:H()}],order:[{order:["first","last","none",X,u]}],"grid-cols":[{"grid-cols":[J]}],"col-start-end":[{col:["auto",{span:["full",X,u]},u]}],"col-start":[{"col-start":Y()}],"col-end":[{"col-end":Y()}],"grid-rows":[{"grid-rows":[J]}],"row-start-end":[{row:["auto",{span:[X,u]},u]}],"row-start":[{"row-start":Y()}],"row-end":[{"row-end":Y()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",u]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",u]}],gap:[{gap:[C]}],"gap-x":[{"gap-x":[C]}],"gap-y":[{"gap-y":[C]}],"justify-content":[{justify:["normal",...se()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...se(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...se(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[k]}],px:[{px:[k]}],py:[{py:[k]}],ps:[{ps:[k]}],pe:[{pe:[k]}],pt:[{pt:[k]}],pr:[{pr:[k]}],pb:[{pb:[k]}],pl:[{pl:[k]}],m:[{m:[d]}],mx:[{mx:[d]}],my:[{my:[d]}],ms:[{ms:[d]}],me:[{me:[d]}],mt:[{mt:[d]}],mr:[{mr:[d]}],mb:[{mb:[d]}],ml:[{ml:[d]}],"space-x":[{"space-x":[D]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[D]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",u,t]}],"min-w":[{"min-w":[u,t,"min","max","fit"]}],"max-w":[{"max-w":[u,t,"none","full","min","max","fit","prose",{screen:[N]},N]}],h:[{h:[u,t,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[u,t,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[u,t,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[u,t,"auto","min","max","fit"]}],"font-size":[{text:["base",N,E]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",ne]}],"font-family":[{font:[J]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractons"],tracking:[{tracking:["tighter","tight","normal","wide","wider","widest",u]}],"line-clamp":[{"line-clamp":["none",F,ne]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",j,u]}],"list-image":[{"list-image":["none",u]}],"list-style-type":[{list:["none","disc","decimal",u]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[e]}],"placeholder-opacity":[{"placeholder-opacity":[_]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[e]}],"text-opacity":[{"text-opacity":[_]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...ee(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",j,E]}],"underline-offset":[{"underline-offset":["auto",j,u]}],"text-decoration-color":[{decoration:[e]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:f()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",u]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",u]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[_]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...pe(),wt]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",yt]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},_t]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[A]}],"gradient-via-pos":[{via:[A]}],"gradient-to-pos":[{to:[A]}],"gradient-from":[{from:[z]}],"gradient-via":[{via:[z]}],"gradient-to":[{to:[z]}],rounded:[{rounded:[s]}],"rounded-s":[{"rounded-s":[s]}],"rounded-e":[{"rounded-e":[s]}],"rounded-t":[{"rounded-t":[s]}],"rounded-r":[{"rounded-r":[s]}],"rounded-b":[{"rounded-b":[s]}],"rounded-l":[{"rounded-l":[s]}],"rounded-ss":[{"rounded-ss":[s]}],"rounded-se":[{"rounded-se":[s]}],"rounded-ee":[{"rounded-ee":[s]}],"rounded-es":[{"rounded-es":[s]}],"rounded-tl":[{"rounded-tl":[s]}],"rounded-tr":[{"rounded-tr":[s]}],"rounded-br":[{"rounded-br":[s]}],"rounded-bl":[{"rounded-bl":[s]}],"border-w":[{border:[n]}],"border-w-x":[{"border-x":[n]}],"border-w-y":[{"border-y":[n]}],"border-w-s":[{"border-s":[n]}],"border-w-e":[{"border-e":[n]}],"border-w-t":[{"border-t":[n]}],"border-w-r":[{"border-r":[n]}],"border-w-b":[{"border-b":[n]}],"border-w-l":[{"border-l":[n]}],"border-opacity":[{"border-opacity":[_]}],"border-style":[{border:[...ee(),"hidden"]}],"divide-x":[{"divide-x":[n]}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":[n]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[_]}],"divide-style":[{divide:ee()}],"border-color":[{border:[a]}],"border-color-x":[{"border-x":[a]}],"border-color-y":[{"border-y":[a]}],"border-color-t":[{"border-t":[a]}],"border-color-r":[{"border-r":[a]}],"border-color-b":[{"border-b":[a]}],"border-color-l":[{"border-l":[a]}],"divide-color":[{divide:[a]}],"outline-style":[{outline:["",...ee()]}],"outline-offset":[{"outline-offset":[j,u]}],"outline-w":[{outline:[j,E]}],"outline-color":[{outline:[e]}],"ring-w":[{ring:ue()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[_]}],"ring-offset-w":[{"ring-offset":[j,E]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",N,kt]}],"shadow-color":[{shadow:[J]}],opacity:[{opacity:[_]}],"mix-blend":[{"mix-blend":[...me(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":me()}],filter:[{filter:["","none"]}],blur:[{blur:[o]}],brightness:[{brightness:[r]}],contrast:[{contrast:[h]}],"drop-shadow":[{"drop-shadow":["","none",N,u]}],grayscale:[{grayscale:[p]}],"hue-rotate":[{"hue-rotate":[m]}],invert:[{invert:[y]}],saturate:[{saturate:[I]}],sepia:[{sepia:[S]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[o]}],"backdrop-brightness":[{"backdrop-brightness":[r]}],"backdrop-contrast":[{"backdrop-contrast":[h]}],"backdrop-grayscale":[{"backdrop-grayscale":[p]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[m]}],"backdrop-invert":[{"backdrop-invert":[y]}],"backdrop-opacity":[{"backdrop-opacity":[_]}],"backdrop-saturate":[{"backdrop-saturate":[I]}],"backdrop-sepia":[{"backdrop-sepia":[S]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[l]}],"border-spacing-x":[{"border-spacing-x":[l]}],"border-spacing-y":[{"border-spacing-y":[l]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",u]}],duration:[{duration:G()}],ease:[{ease:["linear","in","out","in-out",u]}],delay:[{delay:G()}],animate:[{animate:["none","spin","ping","pulse","bounce",u]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[v]}],"scale-x":[{"scale-x":[v]}],"scale-y":[{"scale-y":[v]}],rotate:[{rotate:[X,u]}],"translate-x":[{"translate-x":[W]}],"translate-y":[{"translate-y":[W]}],"skew-x":[{"skew-x":[q]}],"skew-y":[{"skew-y":[q]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",u]}],accent:[{accent:["auto",e]}],appearance:[{appearance:["none","auto"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",u]}],"caret-color":[{caret:[e]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":f()}],"scroll-mx":[{"scroll-mx":f()}],"scroll-my":[{"scroll-my":f()}],"scroll-ms":[{"scroll-ms":f()}],"scroll-me":[{"scroll-me":f()}],"scroll-mt":[{"scroll-mt":f()}],"scroll-mr":[{"scroll-mr":f()}],"scroll-mb":[{"scroll-mb":f()}],"scroll-ml":[{"scroll-ml":f()}],"scroll-p":[{"scroll-p":f()}],"scroll-px":[{"scroll-px":f()}],"scroll-py":[{"scroll-py":f()}],"scroll-ps":[{"scroll-ps":f()}],"scroll-pe":[{"scroll-pe":f()}],"scroll-pt":[{"scroll-pt":f()}],"scroll-pr":[{"scroll-pr":f()}],"scroll-pb":[{"scroll-pb":f()}],"scroll-pl":[{"scroll-pl":f()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",u]}],fill:[{fill:[e,"none"]}],"stroke-w":[{stroke:[j,E,ne]}],stroke:[{stroke:[e,"none"]}],sr:["sr-only","not-sr-only"],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-s","border-w-e","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]}}},At=ct(zt),It=({content:e,headingClass:t})=>{const o=[],r=/<h([23])(?:\s[^>]*)?>(.*?)<\/h[23]>/gm,a={};return{content:e.replace(r,(l,n,h)=>{const p=h.replaceAll(/<[^>]*>/gm,"").trim(),m=ye(p);a[m]=(a[m]||-1)+1;const y=a[m]>0?`${m}-${a[m]}`:m;return o.push({level:n,content:p,id:y}),`<h${n} class="${At("heading scroll-mt-14",t)}" id="${y}">${p}</h${n}>`}),headings:o}},Pt={class:"mt-3 flex space-x-2 md:mt-0"},Tt=i("span",{class:"text-sm text-gray-800"},"Share",-1),Mt=i("span",{class:"text-sm text-gray-800"},"Tweet",-1),Rt=i("span",{class:"text-sm text-gray-800"},"Share",-1),xe=B({__name:"ShareButtons",props:{title:{}},setup(e){const t=e,o=Ge().path,r=encodeURIComponent(t.title),a=()=>{window.open(`https://www.facebook.com/sharer/sharer.php?u=https://moneezy.com${o}`,"pop","width=600, height=400, scrollbars=no")},s=()=>{window.open(`https://twitter.com/intent/tweet?url=https://moneezy.com${o}&text=${r}`,"pop","width=600, height=400, scrollbars=no")},l=()=>{window.open(`http://www.linkedin.com/shareArticle?mini=true&url=https://moneezy.com${o}&title=${r}&source=moneezy.com`,"pop","width=600, height=400, scrollbars=no")};return(n,h)=>{const p=ie;return b(),x("div",null,[i("div",Pt,[i("div",{class:"flex w-full cursor-pointer items-center justify-center space-x-1 rounded-md border bg-white px-2 py-1 hover:bg-gray-100",onClick:a},[R(p,{name:"mdi:facebook",class:"text-gray-800",size:"16"}),Tt]),i("div",{class:"flex w-full cursor-pointer items-center justify-center space-x-1 rounded-md border bg-white px-2 py-1 hover:bg-gray-100",onClick:s},[R(p,{name:"mdi:twitter",class:"text-gray-800",size:"16"}),Mt]),i("div",{class:"flex w-full cursor-pointer items-center justify-center space-x-1 rounded-md border bg-white px-2 py-1 hover:bg-gray-100",onClick:l},[R(p,{name:"mdi:linkedin",class:"text-gray-800",size:"16"}),Rt])])])}}}),Gt=i("div",{class:"md:w-full"},[i("div",{class:"mx-auto h-[125px] w-[150px] animate-pulse rounded-lg bg-gray-200"})],-1),jt={class:"space-y-3 px-3 text-sm text-gray-800 md:w-full"},Bt=i("div",{class:"h-6 w-full animate-pulse rounded-lg bg-gray-200"},null,-1),Et=i("div",{class:"h-6 w-full animate-pulse rounded-lg bg-gray-200"},null,-1),Nt=i("div",{class:"h-6 w-full animate-pulse rounded-lg bg-gray-200"},null,-1),Lt=i("div",{class:"hidden space-y-3 px-3 text-sm text-gray-800 md:block md:w-full"},[i("div",{class:"h-10 w-full animate-pulse rounded-lg bg-gray-200"}),i("div",{class:"h-10 w-full animate-pulse rounded-lg bg-gray-200"})],-1),Ot={class:"flex space-x-2 md:w-full md:flex-col md:space-x-0 md:space-y-2"},Wt=i("div",{class:"flex w-full space-x-2 md:flex-col md:space-x-0 md:space-y-2"},[i("div",{class:"h-8 w-full animate-pulse rounded-lg bg-gray-300"}),i("div",{class:"h-8 w-full animate-pulse rounded-lg bg-gray-200"})],-1),Vt={class:"text-center text-[10px] text-gray-500"},Ft=B({__name:"ProductSkeleton",props:{forceColumn:{type:Boolean}},setup(e){return(t,o)=>(b(),x("div",{class:P(["mx-auto min-w-[0px] space-y-4 rounded-lg bg-white p-4 shadow-sm md:max-w-screen-lg md:flex-col",{"mx-4 min-w-[320px] max-w-[400px]":t.forceColumn}])},[i("div",{class:P(["space-y-4 md:flex md:space-x-4 md:space-y-0",{"flex-col !space-x-0 !space-y-4":t.forceColumn}])},[Gt,i("div",jt,[Bt,Et,Nt,i("div",{class:P(["h-8 w-full animate-pulse rounded-lg bg-gray-300 md:hidden",{"md:!block":t.forceColumn}])},null,2)]),Lt,i("div",Ot,[i("div",{class:P(["hidden h-10 w-full animate-pulse rounded-lg bg-gray-300 md:block",{"md:!hidden":t.forceColumn}])},null,2),Wt])],2),i("div",Vt,[i("div",{class:P(["h-16 w-full animate-pulse rounded-lg bg-gray-200 md:h-8",{"md:!h-16":t.forceColumn}])},null,2)])],2))}}),de=e=>(Ne("data-v-fdf26c14"),e=e(),Le(),e),Ut=de(()=>i("i",null,"Speaker",-1)),qt=de(()=>i("b",null,"Camera",-1)),Dt={class:"relative top-0 z-[1] flex h-[30px] justify-between bg-gray-900 px-6 text-white"},Ht={class:"flex items-center gap-2"},Xt=["src","alt"],Jt=de(()=>i("div",{class:"reflection"},null,-1)),Kt=B({__name:"ProviderImage",props:{product:{},phoneScale:{default:.5}},setup(e){const t=e,{redirectLinkProps:o}=Te(t.product),r=Z(()=>t.product.isActive?o.value:void 0),{website:a}=je().public,s=V(`https://${a.url}/media/products/${t.product.id}/screenshots/landing.jpg`),n=new Date().toLocaleTimeString("da-DK",{hour:"2-digit",minute:"2-digit"});return(h,p)=>{const m=ie;return b(),x("div",{class:"perspective flex flex-col items-center",style:Ee({"--phone-scale":h.phoneScale})},[(b(),T(Be(h.product.isActive?"a":"div"),we(c(r),{class:"iphone-x not-prose overflow-hidden"}),{default:Q(()=>[Ut,qt,i("div",Dt,[i("div",null,M(c(n)),1),i("div",Ht,[R(m,{name:"heroicons:battery-100-solid",class:"h-5 w-5"}),R(m,{name:"heroicons:wifi-solid",class:"h-5 w-5"})])]),i("img",{class:"relative z-0 block h-full",src:c(s),alt:h.product.name},null,8,Xt),Jt]),_:1},16))],4)}}}),Zt=Oe(Kt,[["__scopeId","data-v-fdf26c14"]]),Qt={class:"bg-theme relative mt-4 grid grid-rows-2 gap-x-1 rounded-lg px-3 py-2 text-sm text-white shadow lg:mt-0 lg:flex lg:w-fit"},Yt=i("div",{class:"hidden lg:inline-block"},"•",-1),eo={class:"flex gap-1"},to=i("div",{class:"inline-block"},"•",-1),oo=B({__name:"Details",props:{author:{},updatedAt:{},content:{}},async setup(e){var p;let t,o;const r=e,{tRaw:a}=ve(),{locale:s}=We(),{articleAuthor:l}=([t,o]=K(()=>te().fetchComponents()),t=await t,o(),t),n=Z(()=>{const m=r.content.replace(/<[^>]+>|[&%(!@#$^*?-]/g," ").split(" ").filter(y=>!!y).length;return Math.ceil(m/200)}),h=(p=Ve().fromPageType("Author"))==null?void 0:p.replace(":author",ye(r.author.name));return(m,y)=>{const C=_e;return b(),x("div",Qt,[m.author?(b(),x(L,{key:0},[i("div",null,[be(M(c(l).author)+" ",1),R(C,{to:c(h),class:"font-bold text-white hover:underline"},{default:Q(()=>[be(M(r.author.name),1)]),_:1},8,["to"])]),Yt],64)):$("",!0),i("div",eo,[i("div",null,M(c(a)(c(l).readTime,{duration:c(n),minutes:c(n)})),1),m.updatedAt?(b(),x(L,{key:0},[to,i("div",null,M(c(Je)(c(Ke)(m.updatedAt),{day:"numeric",month:"short",year:"numeric"},{locale:c(s)})),1)],64)):$("",!0)])])}}}),Pe=Symbol("Toc"),ro=e=>{Fe(Pe,e)},so=e=>{const t=Ue(Pe);if(!t)throw new Error(`<${e} /> should be used inside a <TableOfContents /> component.`);return t},no={"aria-labelledby":"toc-heading"},ao=B({__name:"TableOfContents",props:{headings:{}},setup(e){const t=V(),o=V();return ke(()=>{t.value=new IntersectionObserver(r=>{r.forEach(a=>{const s=a.target.getAttribute("id");s&&a.isIntersecting&&s!==o.value&&(o.value=s)})},{threshold:.4}),document.querySelectorAll(".heading").forEach(r=>{var a;return(a=t.value)==null?void 0:a.observe(r)})}),ro({activeItem:o}),(r,a)=>(b(),x("nav",no,[Ce(r.$slots,"default",{items:r.headings})]))}}),lo=B({inheritAttrs:!1,__name:"TableOfContentsItem",props:{item:{}},emits:["click"],setup(e,{emit:t}){const o=e,r=t,{activeItem:a}=so("TableOfContentsItem"),s=Z(()=>a.value?a.value===o.item.id:!1);return(l,n)=>{const h=_e;return b(),x("li",null,[R(h,we({to:{hash:`#${l.item.id}`}},l.$attrs,{class:"inline-block","data-toc-item":"",onClick:n[0]||(n[0]=p=>r("click"))}),{default:Q(()=>[Ce(l.$slots,"default",{active:c(s)})]),_:3},16,["to"])])}}}),io={id:"toc-heading"},co=B({__name:"TableOfContentsTitle",async setup(e){let t,o;const{tableOfContents:r}=([t,o]=K(()=>te().fetchComponents()),t=await t,o(),t);return(a,s)=>(b(),x("h3",io,M(c(r).title),1))}}),uo={class:"md:hidden"},po={class:"sticky z-20 max-h-full w-full overflow-y-auto border-t border-gray-100 bg-white shadow-sm md:overflow-y-visible md:bg-transparent md:shadow-none"},mo=B({__name:"TableOfContents",props:{headings:{},revealWhenScroll:{type:Boolean}},setup(e){const t=V(!1),o=V(!1),r=V();ke(()=>{const s=new IntersectionObserver(([n])=>o.value=n.intersectionRatio<1,{threshold:[1]}),l=document.getElementById("table-of-contents");l&&s.observe(l)}),qe(()=>{var s;return(s=r.value)==null?void 0:s.disconnect()});const a=s=>t.value=s;return(s,l)=>{const n=ie;return b(),T(c(ao),{id:"table-of-contents",headings:s.headings,class:P([{"mx-4 rounded-lg shadow md:mx-0":!c(o),"invisible h-px md:visible md:h-auto":s.revealWhenScroll,"!visible -ml-3 !h-auto w-[calc(100vw-0px)] md:ml-0 md:w-full":c(o)},"md:max-h-auto sticky -top-px z-20 flex max-h-[calc(100vh-112px)] min-h-12 min-w-24 flex-col overflow-hidden overflow-y-auto bg-white shadow-sm transition-all duration-300 md:max-h-screen md:min-w-[250px] md:max-w-sm md:overflow-y-visible md:bg-transparent md:shadow-none"])},{default:Q(({items:h})=>[i("div",{class:P([{"border-b border-gray-100":c(t)},"sticky z-20 flex h-12 items-center justify-between bg-white px-3 md:mt-4 md:h-auto md:bg-transparent"]),onClick:l[0]||(l[0]=p=>a(!c(t)))},[R(c(co),{class:"font-medium text-gray-900"}),i("div",uo,[R(n,{class:P([{"rotate-180 transform":c(t)},"transition-transform duration-300"]),name:"carbon:chevron-down",size:"24"},null,8,["class"])])],2),i("div",po,[i("ul",{class:P([c(t)?"block":"hidden md:block","max-h-full overflow-y-auto px-3 py-2 text-sm text-gray-600"])},[(b(!0),x(L,null,ae(h,p=>(b(),T(c(lo),{key:p.id,item:p,class:P(["transition-transform hover:translate-x-1",{"pl-4":p.level==="3"}])},{default:Q(({active:m})=>[i("span",{class:P(["mb-3 flex text-sm transition-colors",{"text-theme-500":m}])},M(p.content),3)]),_:2},1032,["item","class"]))),128))],2)])]),_:1},8,["headings","class"])}}}),ho={class:"rounded-md bg-blue-50 pt-4 md:flex md:flex-row-reverse md:justify-center md:pt-0"},bo={key:0,class:"sticky -top-px z-10 md:mt-6 md:max-w-[344px] md:pr-6"},go={key:0,class:"hidden space-y-4 px-4 pb-4 md:block md:border-b md:px-0"},fo={key:0,class:"mb-4 flex flex-col justify-between space-y-3 px-4 sm:flex-row sm:items-start md:hidden md:border-b md:px-6"},xo={key:1,class:"mx-4 mt-6 md:mx-0 md:mr-8 md:pl-6"},yo={class:"prose first:prose-h2:mt-0 mx-auto mt-4 px-4 md:mx-0 md:mr-8 md:px-6"},wo={key:0},vo=["innerHTML"],_o={key:2,class:"mt-12 max-w-[655px] px-4 md:mr-8 md:px-6"},ko={class:"mb-2 font-medium"},Co={class:"mb-2 mt-6 font-medium"},$o={class:"mb-2 mt-6 font-medium"},To=B({__name:"Article",props:{article:{},hideSidebar:{type:Boolean},hideProduct:{type:Boolean},hideAuthor:{type:Boolean},showShareButtons:{type:Boolean},showDetails:{type:Boolean},overlap:{type:Boolean},revealWhenScroll:{type:Boolean},updatedAt:{},providerProduct:{}},async setup(e){let t,o;const r=e,{article:a}=De(r),{tRaw:s}=ve(),l=([t,o]=K(()=>te().fetchAuthors()),t=await t,o(),t),{articleAuthor:n}=([t,o]=K(()=>te().fetchComponents()),t=await t,o(),t),h=Z(()=>{var I;const d=(I=l.find(v=>v.name===r.article.author))==null?void 0:I.content,_=l.filter(v=>{var S;return(S=r.article.coAuthors)==null?void 0:S.includes(v.name)}).map(({content:v})=>v),k=l.filter(v=>{var S;return(S=r.article.experts)==null?void 0:S.includes(v.name)}).map(({content:v})=>v);return{author:d,coAuthors:_,experts:k}}),{author:p,coAuthors:m,experts:y}=He(h.value),{data:C}=([t,o]=K(()=>Xe().fetchStatic({take:1})),t=await t,o(),t),z=Z(()=>C.value.at(0)),{headings:A,content:w}=It({content:r.article.content,headingClass:"scroll-mt-12 md:scroll-mt-8"});return(d,_)=>{var v,S,q,D;const k=Me,I=Re;return b(),x("div",{class:P(["bg-blue-50/50 p-3 pt-4 md:mx-auto md:max-w-screen-lg",{"relative z-20 -mt-24 rounded-lg bg-blue-50 before:absolute before:top-5 before:-z-10 before:h-48 before:w-[calc(100%-24px)] before:rounded-lg before:shadow before:content-[''] md:-mt-36":d.overlap,"md:max-w-screen-md":d.hideSidebar}])},[i("article",ho,[d.hideSidebar?$("",!0):(b(),x("div",bo,[d.showShareButtons?(b(),x("div",go,[d.showShareButtons?(b(),T(xe,{key:0,title:c(a).title},null,8,["title"])):$("",!0)])):$("",!0),d.hideProduct?$("",!0):(b(),x(L,{key:1},[c(z)?(b(),T(k,{key:0,class:"hidden md:flex","force-column":"","hide-monthly-cost":"",product:c(z)},null,8,["product"])):(b(),T(Ft,{key:1,"force-column":""}))],64)),R(mo,{headings:c(A),"reveal-when-scroll":d.revealWhenScroll},null,8,["headings","reveal-when-scroll"])])),i("div",null,[d.showShareButtons?(b(),x("div",fo,[d.showShareButtons?(b(),T(xe,{key:0,title:c(a).title},null,8,["title"])):$("",!0)])):$("",!0),d.showDetails?(b(),x("div",xo,[c(p)?(b(),T(oo,{key:0,author:c(p),content:c(w),"updated-at":d.updatedAt},null,8,["author","content","updated-at"])):$("",!0)])):$("",!0),i("div",yo,[d.providerProduct?(b(),x("h1",wo,M(d.providerProduct.name),1)):$("",!0),i("div",{innerHTML:c(w)},null,8,vo),d.providerProduct&&d.providerProduct.originalDomain?(b(),T(Zt,{key:1,product:d.providerProduct},null,8,["product"])):$("",!0)]),c(p)&&!d.hideAuthor?(b(),x("div",_o,[i("div",ko,M(c(n).author)+":",1),R(I,{author:c(p)},null,8,["author"]),((v=c(m))==null?void 0:v.length)>0?(b(),x(L,{key:0},[i("div",Co,M(c(s)(c(n).coAuthors,{count:(S=c(m))==null?void 0:S.length}))+":",1),(b(!0),x(L,null,ae(c(m),(W,O)=>(b(),T(I,{key:O,author:W},null,8,["author"]))),128))],64)):$("",!0),((q=c(y))==null?void 0:q.length)>0?(b(),x(L,{key:1},[i("div",$o,M(c(s)(c(n).experts,{count:(D=c(y))==null?void 0:D.length}))+":",1),(b(!0),x(L,null,ae(c(y),(W,O)=>(b(),T(I,{key:O,author:W},null,8,["author"]))),128))],64)):$("",!0)])):$("",!0)])])],2)}}});export{To as _,Ft as a};
