efficient-shell 16.2.0 → 16.4.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (44) hide show
  1. package/dist/{Browser-WDTBITTV.js → Browser-UMVLMXZ2.js} +14 -14
  2. package/dist/{Files-SVMIMC2S.js → Files-EQXMKPJF.js} +28 -28
  3. package/dist/{Notepad-LDMCDXVA.js → Notepad-CK5LKAVY.js} +7 -7
  4. package/dist/{Preview-2OIC2CV5.js → Preview-WD7WYHFF.js} +21 -21
  5. package/dist/apps/index.js +1 -1
  6. package/dist/attributes-CseTvqC-.d.ts +49 -0
  7. package/dist/bin/browser-check.js +1 -1
  8. package/dist/bin/media-host-check.js +1 -1
  9. package/dist/bin/ui-check.js +1 -1
  10. package/dist/chunk-4N24K3UX.js +1 -0
  11. package/dist/{chunk-QCHG5ZKT.js → chunk-5MJO7RMB.js} +30 -30
  12. package/dist/chunk-74SCWPQF.js +1 -0
  13. package/dist/chunk-7TGDGFHO.js +1 -0
  14. package/dist/{chunk-WSN5J6P4.js → chunk-B2AKIOF3.js} +3 -3
  15. package/dist/chunk-F4KB3K3I.js +1 -0
  16. package/dist/chunk-KT57MRN4.js +1 -0
  17. package/dist/chunk-OMOAD5LL.js +1 -0
  18. package/dist/{chunk-VUSH7MYA.js → chunk-UBUOPMCR.js} +1 -1
  19. package/dist/chunk-WS4C6Z22.js +1 -0
  20. package/dist/engine-T4D3AZOO.js +1 -0
  21. package/dist/forms/MediaLibrary.js +1 -1
  22. package/dist/forms/RenameField.d.ts +4 -1
  23. package/dist/forms/RenameField.js +1 -1
  24. package/dist/icons/brands.node.js +1 -1
  25. package/dist/icons/efficient-glyphs.js +1 -1
  26. package/dist/icons/efficient-looks.js +1 -1
  27. package/dist/icons/efficient.js +1 -1
  28. package/dist/icons/looks/map.js +1 -1
  29. package/dist/icons/sets.js +1 -1
  30. package/dist/index.js +45 -45
  31. package/dist/model-stage/index.d.ts +154 -0
  32. package/dist/model-stage/index.js +4 -0
  33. package/dist/model-viewer/index.d.ts +3 -49
  34. package/dist/model-viewer/index.js +6 -6
  35. package/dist/routine-index.json +1 -1
  36. package/dist/telemetry/index.js +1 -1
  37. package/dist/ui/index.js +1 -1
  38. package/dist/value-index.json +1 -1
  39. package/dist/version.js +1 -1
  40. package/package.json +13 -3
  41. package/dist/chunk-6ZQC6XFU.js +0 -2
  42. package/dist/chunk-EV5BEEVO.js +0 -1
  43. package/dist/chunk-FHNQC2MA.js +0 -1
  44. package/dist/chunk-RZVODVGN.js +0 -1
@@ -1,30 +1,30 @@
1
- import{Tree as e,TreeRow as n,TreeGroup as l}from"./chunk-BTMZ5MUY.js";import{readStoredWidth as r,writeStoredWidth as a,ResizeHandle as i}from"./chunk-2KD6R2XF.js";import{ImageLightbox as t}from"./chunk-ONUNFTZD.js";import{MarqueeBox as o}from"./chunk-IC72MGON.js";import{Drawer as d}from"./chunk-AYTGYEOI.js";import{EmptyState as s}from"./chunk-W3454ZES.js";import{DescriptionList as c}from"./chunk-SACUSHVN.js";import{Breadcrumbs as u}from"./chunk-WREUA43Q.js";import{ROOT_KEY as m,mediaLibraryMenu as p}from"./chunk-UFJR63AO.js";import{useMediaMoveItems as h}from"./chunk-GRAFJD3L.js";import{RenameField as f}from"./chunk-6ZQC6XFU.js";import{MediaUploadGrid as g}from"./chunk-B4Y5NGHR.js";import{MediaUsedInList as v}from"./chunk-XOEYCDWT.js";import{NativeSelect as k}from"./chunk-W7HTHKN2.js";import{useGridSelection as y}from"./chunk-VLKDWKVR.js";import{useMarquee as b}from"./chunk-OLFYNMTD.js";import{copyToClipboard as w}from"./chunk-452LT77I.js";import{Checkbox_default as x}from"./chunk-CGZBDI6C.js";import{Segmented as N}from"./chunk-TALQMTCE.js";import{useContextMenu as C,ContextMenu as I}from"./chunk-MF7OELXP.js";import{Banner as D}from"./chunk-OSMRYND3.js";import{Input_default as T}from"./chunk-BYTQRQ5P.js";import{useFileIntake as S,FileIntakeAlert as j}from"./chunk-TNGIXSTM.js";import{setModalDragAside as L,modalIdHolding as z}from"./chunk-EIFNESXS.js";import{ColoredBadge as F}from"./chunk-L2WQOJ3T.js";import{DropdownMenu as O}from"./chunk-NJY4HPNB.js";import{IconButton_default as E}from"./chunk-4YH7U7WL.js";import{Button_default as A}from"./chunk-37FQVY2O.js";import{Icon as M}from"./chunk-ISVODSRP.js";import{Tooltip as P}from"./chunk-CIZAUBWA.js";import{useBrowserState as R}from"./chunk-KEFNQEXZ.js";import{buttonClasses as U}from"./chunk-LYGIOJ3J.js";import{usePlotWidth as B}from"./chunk-MAFUXCPZ.js";import{useShellStrings as W}from"./chunk-NRHG4R2Q.js";import{useRef as K,useId as Y,useEffect as G,useMemo as H,useCallback as J,useState as Q}from"react";import{jsxs as X,Fragment as Z,jsx as V}from"react/jsx-runtime";var $="application/x-efficient-media-files",q="application/x-efficient-media-folder",_="application/x-efficient-media-file";function ee(e){if(!e||!Array.from(e.types).includes(_))return null;try{const n=JSON.parse(e.getData(_));if(n&&"string"==typeof n.id&&"string"==typeof n.url&&"string"==typeof n.name&&("image"===n.kind||"video"===n.kind))return{id:n.id,url:n.url,kind:n.kind,name:n.name}}catch{}return null}var ne="mediaLibrary.folderWidth",le={type:"all",use:"any",sort:"newest"},re={lock:/* @__PURE__ */V(M,{name:"lock","aria-hidden":"true",className:"h-4 w-4"}),folder:/* @__PURE__ */V(M,{name:"folder","aria-hidden":"true",className:"h-4 w-4"}),folderOpen:/* @__PURE__ */V(M,{name:"folder-open","aria-hidden":"true",className:"h-4 w-4"}),folderPlus:/* @__PURE__ */V(M,{name:"folder-plus","aria-hidden":"true",className:"h-4 w-4"}),trash:/* @__PURE__ */V(M,{name:"trash","aria-hidden":"true",className:"h-4 w-4"}),upload:/* @__PURE__ */V(M,{name:"upload","aria-hidden":"true",className:"h-4 w-4"}),search:/* @__PURE__ */V(M,{name:"search","aria-hidden":"true",className:"h-4 w-4"}),grid:/* @__PURE__ */V(M,{name:"grid","aria-hidden":"true",className:"h-4 w-4"}),list:/* @__PURE__ */V(M,{name:"list","aria-hidden":"true",className:"h-4 w-4"}),more:/* @__PURE__ */V(M,{name:"more","aria-hidden":"true",className:"h-4 w-4"}),copy:/* @__PURE__ */V(M,{name:"copy","aria-hidden":"true",className:"h-4 w-4"}),edit:/* @__PURE__ */V(M,{name:"edit","aria-hidden":"true",className:"h-4 w-4"}),swap:/* @__PURE__ */V(M,{name:"swap","aria-hidden":"true",className:"h-4 w-4"}),crop:/* @__PURE__ */V(M,{name:"crop","aria-hidden":"true",className:"h-4 w-4"}),external:/* @__PURE__ */V(M,{name:"external","aria-hidden":"true",className:"h-4 w-4"}),undo:/* @__PURE__ */V(M,{name:"undo","aria-hidden":"true",className:"h-4 w-4"})},ae={link:/* @__PURE__ */V(M,{name:"link","aria-hidden":"true",className:"h-3 w-3"}),email:/* @__PURE__ */V(M,{name:"email","aria-hidden":"true",className:"h-3 w-3"}),lock:/* @__PURE__ */V(M,{name:"lock","aria-hidden":"true",className:"h-3 w-3"}),clock:/* @__PURE__ */V(M,{name:"clock","aria-hidden":"true",className:"h-3 w-3"})};function ie(M){const{mode:ee="manage",layout:ie="auto",location:te,onLocationChange:oe,folders:de,products:se,allFilesCount:ce,trashCount:ue,files:me,query:pe,onQueryChange:he,filters:fe=le,onFiltersChange:ge,extraFilters:ve,view:ke="grid",onViewChange:ye,selectedIds:be,onSelectionChange:we,usedIn:xe,denied:Ne={},accept:Ce="image/*,video/*",maxSizeBytes:Ie,busy:De,progress:Te,onUpload:Se,onNewFolder:je,onRename:Le,onMove:ze,onTrash:Fe,onDeleteFolder:Oe,onRestore:Ee,onDeleteForever:Ae,onEmptyTrash:Me,onReplace:Pe,onCropEdit:Re,onOpenInDesign:Ue,onChoose:Be,onCancel:We,pickNote:Ke,onDragOut:Ye,className:Ge=""}=M,He=W().mediaLibrary,Je=W().media,Qe="pick"===ee,Xe=!Qe,Ze=K(null),Ve=B(Ze,"phone"===ie?343:1200),$e="phone"===ie||"auto"===ie&&Ve<640,[qe,_e]=R(()=>r(ne,240,480)??280,280),en=Y();G(()=>{const e=window.setTimeout(()=>a(ne,qe),200);return()=>window.clearTimeout(e)},[qe]);const nn=H(()=>function(e=[]){const n=/* @__PURE__ */new Map,l=(e,r)=>{for(const a of e){const e=[...r,a];n.set(a.id,{node:a,path:e}),a.children&&l(a.children,e)}};return l(e,[]),n}(se),[se]),ln=H(()=>new Map(de.map(e=>[e.id,e])),[de]),rn=H(()=>{const e=/* @__PURE__ */new Map;for(const n of de){const l=n.parentId&&ln.has(n.parentId)?n.parentId:null;e.set(l,[...e.get(l)??[],n])}return e},[de,ln]),an=J(e=>{const n=[];for(let l=e?ln.get(e):void 0;l&&(n.unshift(l),!(n.length>de.length));l=l.parentId?ln.get(l.parentId):void 0);return n},[ln,de.length]),tn=J((e,n)=>an(e).some(e=>e.id===n),[an]),[on,dn]=Q(()=>/* @__PURE__ */new Set(["@files"])),sn=e=>dn(n=>{const l=new Set(n);return l.has(e)?l.delete(e):l.add(e),l}),cn=J(e=>{dn(n=>e.every(e=>n.has(e))?n:/* @__PURE__ */new Set([...n,...e]))},[]),un="files"===(mn=te).place?`files:${mn.folderId??""}`:"products"===mn.place?`products:${mn.nodeId??""}`:"trash";var mn;G(()=>{if("files"===te.place)cn(["@files",...an(te.folderId).slice(0,-1).map(e=>e.id)]);else if("products"===te.place){const e=te.nodeId?nn.get(te.nodeId)?.path??[]:[];cn(["@products",...e.slice(0,-1).map(e=>`p:${e.id}`)])}},[un]);const pn="products"===te.place,hn="trash"===te.place,fn="files"===te.place,gn=fn?te.folderId:null,vn=pn&&te.nodeId?nn.get(te.nodeId)?.path[0]:void 0,kn=e=>e?.sharedFrom?`${He.readOnly} ${He.editedAtHq(e.sharedFrom)}`:He.readOnly,yn=H(()=>me.map(e=>e.id),[me]),bn=H(()=>new Map(me.map(e=>[e.id,e])),[me]),wn=y(yn),xn=H(()=>yn.filter(e=>wn.selected.has(e)),[yn,wn.selected]),Nn=1===xn.length?bn.get(xn[0]):void 0,Cn=K(!0);G(()=>{Cn.current?Cn.current=!1:wn.clear()},[un]);const In=be?.join("\0");G(()=>{be&&wn.setSelection(be)},[In]);const Dn=K(In??""),Tn=xn.join("\0");G(()=>{Dn.current!==Tn&&(Dn.current=Tn,we?.(xn))},[Tn]);const Sn=(e,n={})=>{Qe?wn.select(e):wn.select(e,{ctrl:!(!n.ctrlKey&&!n.metaKey),shift:!!n.shiftKey})},[jn,Ln]=Q(null),zn=e=>{const n=jn;if(Ln(null),!n||null==e)return;e!==("folder"===n.kind?ln.get(n.id)?.name:bn.get(n.id)?.name)&&Le?.(n,e)},Fn=async e=>{if(!je)return;const n=await je(e);cn(["@files",...e?[e]:[]]),"string"==typeof n&&Ln({kind:"folder",id:n})},On=J(e=>{const n=[],l=n=>{if("files"===e.kind)return n===gn&&fn?He.alreadyHere:void 0;const l=ln.get(e.id);return n===e.id||n&&tn(n,e.id)?He.notIntoItself:(l?.parentId??null)===n?He.folderAlreadyHere:void 0};n.push({key:m,label:He.allFiles,disabledReason:l(null)});const r=(e,a)=>{for(const i of rn.get(e)??[])n.push({key:i.id,label:i.name,depth:a,disabledReason:l(i.id)}),r(i.id,a+1)};return r(null,1),n},[rn,ln,fn,tn,gn,He]),En=J(e=>{const n=new Set(e.map(e=>bn.get(e)?.kind??"image"));return 1===n.size?[...n][0]:"file"},[bn]),[An,Mn]=Q(null),Pn={words:He,media:Je,denied:Ne,moveTargets:On,kindOf:En,urlOf:e=>bn.get(e)?.url,newSubfolder:je&&Xe?e=>{Fn(e)}:void 0,rename:Le&&Xe?e=>{"file"!==e.kind||wn.isSelected(e.id)||wn.select(e.id),Ln(e)}:void 0,move:ze&&Xe?ze:void 0,trash:Fe&&Xe?Fe:void 0,deleteFolder:Oe&&Xe?Oe:void 0,folderNotEmpty:e=>!!ln.get(e)?.notEmpty,replace:Pe&&Xe?Pe:void 0,copyUrl:e=>{const n=bn.get(e)?.url;n&&w(He.urlLabel,n)},openInDesign:Ue,restore:Ee,deleteForever:Ae},Rn=e=>p(e,Pn),Un=C(),Bn=(e,n)=>{Qe||(wn.isSelected(e)||wn.select(e),Un.open(n,(e=>{const n=wn.isSelected(e)?xn:[e];return pn?{kind:"render",id:e}:hn?{kind:"trashed",ids:n}:{kind:"files",ids:n}})(e)))},[Wn,Kn]=Q(null),[Yn,Gn]=Q(null),[Hn,Jn]=Q(null);G(()=>{if(!Yn&&!Wn)return;const e=()=>{Gn(null),Kn(null)};return window.addEventListener("dragend",e),window.addEventListener("drop",e),()=>{window.removeEventListener("dragend",e),window.removeEventListener("drop",e)}},[Yn,Wn]);const Qn=(e,n)=>Array.from(e.dataTransfer?.types??[]).includes(n),Xn=(e,n)=>!(!ze||Ne.move||Qe)&&(!!Qn(e,$)||!(!Qn(e,q)||!Hn)&&(n!==Hn&&!(n&&tn(n,Hn)))),Zn=(e,n)=>({onDragEnter:l=>{Xn(l,n)&&(l.preventDefault(),Kn(e))},onDragOver:l=>{Xn(l,n)&&(l.preventDefault(),l.dataTransfer.dropEffect="move",Wn!==e&&Kn(e))},onDragLeave:n=>{const l=n.relatedTarget;l&&n.currentTarget.contains(l)||Kn(n=>n===e?null:n)},onDrop:e=>{if(Xn(e,n))if(e.preventDefault(),Kn(null),Qn(e,$)){let l;try{l=JSON.parse(e.dataTransfer.getData($))}catch{l=null}Array.isArray(l)&&l.length&&ze({kind:"files",ids:l.map(String)},n)}else Hn&&(ze({kind:"folder",id:Hn},n),Jn(null))}}),Vn=e=>{const n=e=>Qn(e,$)||Qn(e,q)||Qn(e,"Files");return{onDragEnter:l=>{n(l)&&Gn(e)},onDragOver:l=>{n(l)&&Yn!==e&&Gn(e)},onDragLeave:n=>{const l=n.relatedTarget;l&&n.currentTarget.contains(l)||Gn(n=>n===e?null:n)}}},$n=(e,n,l)=>/* @__PURE__ */V(P,{side:"right",content:Yn===e?He.noDropProducts:kn(l),open:Yn===e||!Yn&&void 0,children:/* @__PURE__ */V("span",{children:n})}),qn=e=>({onContextMenu:n=>{Un.open(n,e)}}),_n=(e,r,a)=>e.map(e=>{const i=`p:${e.id}`,t=a??e,o=on.has(i),d=e.children?.length?e.children:null;/* @__PURE__ */
2
- return X("div",{role:"none",className:"contents",children:[
3
- /* @__PURE__ */V(n,{label:$n(i,e.name,t),level:r,icon:d&&o?re.folderOpen:re.folder,count:e.count,countLabel:null!=e.count?e.countLabel??He.fileCount(e.count):void 0,selected:pn&&te.nodeId===e.id,expanded:d?o:void 0,onToggle:d?()=>sn(i):void 0,onSelect:()=>oe({place:"products",nodeId:e.id}),rowProps:{"data-media-row":i,...Vn(i),...Xe?qn({kind:"product-node",id:e.id}):{}}}),d&&o&&/* @__PURE__ */V(l,{children:_n(d,r+1,t)})]},e.id)}),el=(e,r)=>(rn.get(e)??[]).map(e=>{const a=rn.get(e.id),i=on.has(e.id),t="folder"===jn?.kind&&jn.id===e.id,o=Rn({kind:"folder",id:e.id});/* @__PURE__ */
4
- return X("div",{role:"none",className:"contents",children:[
5
- /* @__PURE__ */V(n,{label:e.name,level:r,icon:a&&i?re.folderOpen:re.folder,count:e.count,countLabel:null!=e.count?e.countLabel??He.fileCount(e.count):void 0,selected:t||fn&&te.folderId===e.id,expanded:a?i:void 0,onToggle:a?()=>sn(e.id):void 0,onSelect:()=>oe({place:"files",folderId:e.id}),drop:Wn===e.id?"into":void 0,dragging:Hn===e.id,draggable:Xe&&!!ze&&!Ne.move,rename:t?/* @__PURE__ */V(f,{value:e.name,label:He.folderName,onDone:zn}):void 0,actions:Xe&&o.length?/* @__PURE__ */V(O,{align:"end","aria-label":He.folderActions,trigger:re.more,items:o}):void 0,rowProps:{"data-media-row":e.id,...Zn(e.id,e.id),...Xe?qn({kind:"folder",id:e.id}):{},...Xe&&ze&&!Ne.move?{draggable:!0,onDragStart:n=>{n.dataTransfer.effectAllowed="move",n.dataTransfer.setData(q,e.id),Jn(e.id)},onDragEnd:()=>{Jn(null),Kn(null)}}:{}}}),a&&i&&/* @__PURE__ */V(l,{children:el(e.id,r+1)})]},e.id)}),nl=on.has("@files"),ll=on.has("@products"),rl=/* @__PURE__ */X(e,{"aria-label":He.folders,children:[se&&/* @__PURE__ */X(Z,{children:[
6
- /* @__PURE__ */V(n,{label:$n("@products",He.products),level:1,icon:re.lock,badge:{label:He.readOnlyBadge,tone:"neutral"},expanded:se.length?ll:void 0,onToggle:()=>sn("@products"),selected:pn&&null==te.nodeId,onSelect:()=>oe({place:"products",nodeId:null}),rowProps:{"data-media-row":"@products",...Vn("@products")}}),ll&&se.length>0&&/* @__PURE__ */V(l,{children:_n(se,2)})]}),
7
- /* @__PURE__ */V(n,{label:He.allFiles,level:1,icon:nl?re.folderOpen:re.folder,count:ce,countLabel:null!=ce?He.fileCount(ce):void 0,expanded:rn.get(null)?.length?nl:void 0,onToggle:()=>sn("@files"),selected:fn&&null==te.folderId,onSelect:()=>oe({place:"files",folderId:null}),drop:"@files"===Wn?"into":void 0,rowProps:{"data-media-row":"@files",...Zn("@files",null)}}),nl&&(rn.get(null)?.length??0)>0&&/* @__PURE__ */V(l,{children:el(null,2)}),Xe&&/* @__PURE__ */V(n,{label:He.trash,level:1,icon:re.trash,count:ue,countLabel:null!=ue?He.fileCount(ue):void 0,selected:hn,onSelect:()=>oe({place:"trash"}),rowProps:{"data-media-row":"@trash"}})]}),al=(()=>{if(hn)return[{label:He.trash}];if(pn){const e=te.nodeId?nn.get(te.nodeId)?.path??[]:[];return[{label:He.products,onClick:e.length?()=>oe({place:"products",nodeId:null}):void 0},...e.map((n,l)=>({label:n.name,onClick:l<e.length-1?()=>oe({place:"products",nodeId:n.id}):void 0}))]}const e=an(gn);return[{label:He.allFiles,onClick:e.length?()=>oe({place:"files",folderId:null}):void 0},...e.map((n,l)=>({label:n.name,onClick:l<e.length-1?()=>oe({place:"files",folderId:n.id}):void 0}))]})(),il=pn?He.readOnly:Ne.upload,tl=!!Se&&!hn&&!il,ol=S({accept:Ce,maxSizeBytes:Ie,multiple:!0,disabled:!tl,onAccept:e=>Se?.(e,gn)}),dl=pn?He.noProductFolder:Ne.newFolder,sl=e=>e?{"aria-disabled":!0,disabledReason:e}:{},cl=/* @__PURE__ */X("div",{className:"flex flex-wrap items-center gap-2",children:[Xe&&je&&!hn&&/* @__PURE__ */V(A,{variant:"secondary",size:"sm",leftIcon:re.folderPlus,onClick:()=>{Fn(gn)},...sl(dl),children:He.newFolder}),Se&&!hn&&/* @__PURE__ */V(A,{variant:"primary",size:"sm",leftIcon:re.upload,onClick:()=>ol.open(),...sl(il),children:He.upload}),Xe&&hn&&Me&&me.length>0&&/* @__PURE__ */V(A,{variant:"danger",size:"sm",onClick:Me,...sl(Ne.deleteForever),children:He.emptyTrash})]}),ul=(e,n,l,r,a)=>/* @__PURE__ */V("div",{style:{width:$e?void 0:a,flex:$e?"1 1 120px":"0 0 auto",minWidth:0},children:/* @__PURE__ */V(k,{size:"sm","aria-label":e,value:n,onChange:r,options:l})},e),ml=e=>n=>ge?.({...fe,[e]:n}),pl=/* @__PURE__ */X("div",{className:"flex flex-wrap items-center gap-2",children:[he&&/* @__PURE__ */V("div",{style:{flex:"1 1 200px",minWidth:0},children:/* @__PURE__ */V(T,{size:"sm",type:"search",leftIcon:re.search,placeholder:pn?He.searchProducts:He.search,"aria-label":pn?He.searchProducts:He.search,value:pe??"",onChange:e=>he(e.target.value)})}),ge&&ul(He.mediaType,fe.type,[{value:"all",label:He.allTypes},{value:"image",label:He.images},{value:"video",label:He.videos},{value:"svg",label:"SVG"},{value:"gif",label:"GIF"}],ml("type"),130),ge&&!pn&&!hn&&ul(He.use,fe.use,[{value:"any",label:He.anyUse},{value:"email",label:He.emailOnly},{value:"website",label:He.websiteOnly},{value:"unused",label:He.notUsed}],ml("use"),130),ge&&Xe&&ul(He.sort,fe.sort,[{value:"newest",label:He.newest},{value:"name",label:He.byName},{value:"size",label:He.bySize}],ml("sort"),110),ve?.map(e=>ul(e.label,e.value,e.options,e.onChange,120)),ye&&/* @__PURE__ */V(N,{size:"sm",label:He.view,value:ke,onChange:ye,options:[{value:"grid",label:He.grid,icon:re.grid},{value:"list",label:He.list,icon:re.list}]})]}),hl=e=>{const n=[];return null!=e.trashedDaysAgo&&n.push({key:"t",label:He.daysAgo(e.trashedDaysAgo),count:e.trashedDaysAgo,icon:ae.clock,tone:"neutral"}),e.usedCount&&n.push({key:"u",label:He.used(e.usedCount),count:e.usedCount,icon:ae.link,tone:"active"}),e.email&&n.push({key:"e",label:He.email,icon:ae.email,tone:"queued"}),e.private&&n.push({key:"p",label:He.private,icon:ae.lock,tone:"neutral"}),n},fl=e=>hl(e).map(e=>/* @__PURE__ */V(F,{tone:e.tone,size:"xs",children:e.label},e.key)),gl=Xe&&fn&&!!ze&&!Ne.move,vl=!!Ye&&!hn,kl=K(""),yl=K(null),bl=()=>yl.current?.dropped?"dropped":"cancelled",wl=K(Ye);wl.current=Ye;const xl=J(e=>{const n=yl.current;n&&(yl.current=null,n.stop(),L(kl.current,!1),e&&wl.current?.(e))},[]),Nl=J(e=>{xl(bl());const n=Ze.current?.ownerDocument;if(!n)return;kl.current=z(Ze.current);const l=Ze.current?.closest("[data-modal-panel]"),r=e=>{kl.current&&!l?.contains(e.target)&&L(kl.current,!0)},a=()=>!!e&&!e.isConnected,i=()=>{const e=yl.current;if(e){if(a())return xl("dropped");e.dropped=!0,L(kl.current,!1)}},t=e=>{const n=e.dataTransfer?.dropEffect;xl(n&&"none"!==n?"dropped":a()?bl():"cancelled")},o=()=>{a()&&xl(bl())},d=["pointermove","pointerdown","mousemove","mousedown"];n.addEventListener("dragover",r,!0),n.addEventListener("drop",i,!0),n.addEventListener("dragend",t,!0);for(const e of d)n.addEventListener(e,o,!0);yl.current={dropped:!1,stop:()=>{n.removeEventListener("dragover",r,!0),n.removeEventListener("drop",i,!0),n.removeEventListener("dragend",t,!0);for(const e of d)n.removeEventListener(e,o,!0)}}},[xl]);G(()=>()=>xl(bl()),[xl]);const Cl=(e,n,l)=>{if("start"!==e)return;const r=bn.get(n);r&&Il(r)&&(Nl(l??null),Ye(e))},Il=e=>!vl||e.private||e.pickDisabledReason?void 0:JSON.stringify({id:e.id,url:e.url,kind:"video"===e.kind?"video":"image",name:e.name}),Dl=me.map(e=>({id:e.id,url:e.thumbUrl??e.url,name:e.name,kind:e.kind,caption:e.name,badges:hl(e),dragData:gl?JSON.stringify(wn.isSelected(e.id)?xn:[e.id]):Il(e),...gl&&Il(e)?{dragAlso:{[_]:Il(e)}}:{}})),Tl=$e?Math.max(72,Math.floor((Ve-24-16-1)/3)):112,Sl=K(null),jl=b({containerRef:Sl,enabled:Xe&&!$e&&me.length>0,selected:wn.selected,setSelection:e=>wn.setSelection(e),clearSelection:wn.clear}),Ll=e=>{if(Qe){const n=bn.get(e);return void(!n||n.private||n.pickDisabledReason||Be?.(n))}const n=yn.indexOf(e);n>=0&&Mn(n)},zl=me.length?null:pe?/* @__PURE__ */V(s,{variant:"dashed",title:He.noMatches}):pn?/* @__PURE__ */V(s,{variant:"dashed",title:He.emptyProducts,description:kn(vn)}):hn?/* @__PURE__ */V(s,{variant:"dashed",title:He.trashEmpty}):!tl||Qe?/* @__PURE__ */V(s,{variant:"dashed",title:He.emptyFolder}):null,Fl="list"===ke&&me.length>0,Ol=zl??(Fl?/* @__PURE__ */V("ul",{role:"listbox","aria-multiselectable":Xe||void 0,"aria-label":He.folders,className:"flex flex-col gap-1",children:me.map(e=>/* @__PURE__ */X("li",{role:"option","aria-selected":wn.isSelected(e.id),tabIndex:0,"data-grid-item":"","data-grid-id":e.id,onClick:n=>Sn(e.id,n),onDoubleClick:()=>Ll(e.id),onContextMenu:n=>Bn(e.id,n),draggable:!!Il(e)||void 0,onDragStart:Il(e)?n=>{n.dataTransfer.effectAllowed="link",n.dataTransfer.setData(_,Il(e)),Cl("start",e.id,n.currentTarget)}:void 0,onKeyDown:n=>{"Enter"!==n.key&&" "!==n.key||(n.preventDefault(),Sn(e.id,n))},className:"flex h-12 cursor-pointer items-center gap-3 rounded-md px-2 text-sm rosh-focus-ring focus-visible:ring-2 focus-visible:ring-[color:var(--rosh-focus-ring-solid)] "+(wn.isSelected(e.id)?"bg-accent-tint text-blue-700":"text-ink hover:bg-gray-100"),children:[
8
- /* @__PURE__ */V("img",{src:e.thumbUrl??e.url,alt:"",className:"h-10 w-10 shrink-0 rounded bg-gray-100 object-contain"}),
9
- /* @__PURE__ */V("span",{className:"min-w-0 flex-1 truncate",children:e.name}),
10
- /* @__PURE__ */V("span",{className:"flex shrink-0 items-center gap-1",children:fl(e)}),e.sizeLabel&&/* @__PURE__ */V("span",{className:"w-16 shrink-0 text-right text-xs text-ink-faint",children:e.sizeLabel})]},e.id))}):/* @__PURE__ */V(g,{items:Dl,readOnly:!tl||Qe,onFiles:tl&&!Qe?e=>Se(e,gn):void 0,accept:Ce,maxSizeBytes:Ie,busy:De,progress:Te,fit:"contain",thumbSize:Tl,dragType:gl?$:vl?_:void 0,onDragOutChange:vl?(e,n,l)=>Cl(e,n,l):void 0,selected:wn.selected,onItemClick:Sn,onItemDoubleClick:Ll,onItemContextMenu:Xe?Bn:void 0,menuOnMedia:Xe})),El=h({count:xn.length,kind:En(xn),targets:On({kind:"files",ids:xn}),onPick:e=>ze?.({kind:"files",ids:xn},e.key===m?null:e.key)}),Al=U({variant:"secondary",size:"sm"}),Ml=/* @__PURE__ */V(O,{align:"start",triggerClassName:Al,trigger:/* @__PURE__ */X(Z,{children:[re.folder,He.moveTo]}),items:El,disabled:!!Ne.move}),Pl=Xe&&xn.length>1&&!pn?/* @__PURE__ */X("div",{"data-media-bulk":"",className:"flex flex-wrap items-center gap-2 rounded-lg border border-line px-3 py-2",children:[
11
- /* @__PURE__ */V(x,{checked:xn.length===me.length,indeterminate:xn.length<me.length,onChange:e=>e?wn.selectAll():wn.clear(),label:He.selected(xn.length)}),/* @__PURE__ */X(Z,hn?{children:[Ee&&/* @__PURE__ */V(A,{variant:"secondary",size:"sm",leftIcon:re.undo,onClick:()=>Ee(xn),...sl(Ne.restore),children:He.restore}),Ae&&/* @__PURE__ */V(A,{variant:"secondary-danger",size:"sm",onClick:()=>Ae(xn),...sl(Ne.deleteForever),children:He.deleteForever})]}:{children:[ze&&Ml,Le&&/* @__PURE__ */V(A,{variant:"secondary",size:"sm",leftIcon:re.edit,disabled:!0,children:He.rename}),Fe&&/* @__PURE__ */V(A,{variant:"secondary",size:"sm",leftIcon:re.trash,onClick:()=>Fe({kind:"files",ids:xn}),...sl(Ne.trash),children:He.moveFilesToTrash(xn.length)})]}),
12
- /* @__PURE__ */V(A,{variant:"ghost",size:"sm",onClick:wn.clear,children:He.clearSelection})]}):null,Rl=e=>{const n=[],l=(e,l,r)=>{null!=r&&""!==r&&n.push({key:e,label:l,value:r})},r="file"===jn?.kind&&jn.id===e.id;l("name",He.name,r?/* @__PURE__ */V(f,{value:e.name,label:He.fileName,onDone:zn}):e.name),l("type",He.type,e.typeLabel),l("size",He.size,e.sizeLabel),l("resolution",He.resolution,e.resolution),pn?(l("design",He.design,e.design),l("finish",He.finish,e.finish),l("angle",He.angleLug,e.angleLug),l("owner",He.owner,e.owner)):(l("added",He.addedBy,e.addedBy),l("folder",He.folder,e.folderPath)),l("used",He.usedIn,null!=e.usedCount?He.places(e.usedCount):void 0);const a=p({kind:"files",ids:[e.id]},Pn).find(e=>"submenu"===e.type);/* @__PURE__ */
13
- return X("div",{"data-media-details":"",className:"flex flex-col gap-3",children:[
14
- /* @__PURE__ */V("img",{src:e.url,alt:e.name,className:"aspect-square w-full rounded-lg bg-gray-100 object-contain"}),pn&&/* @__PURE__ */V(D,{tone:"neutral",title:He.readOnlyBadge,children:kn(vn)}),
15
- /* @__PURE__ */V(c,{size:"sm",columns:1,items:n}),!hn&&/* @__PURE__ */X("div",{className:"flex gap-2",children:[
16
- /* @__PURE__ */V("div",{style:{flex:"1 1 0",minWidth:0},children:/* @__PURE__ */V(T,{size:"sm",readOnly:!0,value:e.url,"aria-label":He.fileUrl,onFocus:e=>e.currentTarget.select()})}),
17
- /* @__PURE__ */V(A,{variant:"secondary",size:"sm",leftIcon:re.copy,onClick:()=>Pn.copyUrl(e.id),children:He.copyUrl})]}),fn&&Xe&&/* @__PURE__ */X("div",{className:"flex flex-wrap gap-2",children:[Pe&&/* @__PURE__ */V(A,{variant:"secondary",size:"sm",leftIcon:re.swap,onClick:()=>Pe(e.id),...sl(Ne.replace),children:He.replace}),Re&&/* @__PURE__ */V(A,{variant:"secondary",size:"sm",leftIcon:re.crop,onClick:()=>Re(e.id),children:He.cropEdit}),ze&&"submenu"===a?.type&&/* @__PURE__ */V(O,{align:"start",triggerClassName:Al,trigger:/* @__PURE__ */X(Z,{children:[re.folder,He.moveTo]}),items:a.items,disabled:!!Ne.move}),Le&&/* @__PURE__ */V(A,{variant:"secondary",size:"sm",leftIcon:re.edit,onClick:()=>Ln({kind:"file",id:e.id}),...sl(Ne.rename),children:He.rename}),Fe&&/* @__PURE__ */V(E,{"aria-label":He.moveToTrash,size:"sm",onClick:()=>Fe({kind:"files",ids:[e.id]}),disabledReason:Ne.trash,"aria-disabled":!!Ne.trash||void 0,children:re.trash})]}),hn&&Xe&&/* @__PURE__ */X("div",{className:"flex flex-wrap gap-2",children:[Ee&&/* @__PURE__ */V(A,{variant:"primary",size:"sm",leftIcon:re.undo,onClick:()=>Ee([e.id]),...sl(Ne.restore),children:He.restore}),Ae&&/* @__PURE__ */V(A,{variant:"danger",size:"sm",onClick:()=>Ae([e.id]),...sl(Ne.deleteForever),children:He.deleteForever})]}),pn&&Ue&&/* @__PURE__ */V(A,{variant:"secondary",size:"sm",leftIcon:re.external,onClick:()=>Ue({kind:"render",id:e.id}),children:He.openInDesign}),xe&&/* @__PURE__ */V(v,{items:xe})]})},Ul=Nn?Nn.private?He.privateNoPick:Nn.pickDisabledReason:void 0,Bl=Qe?/* @__PURE__ */X("div",{"data-media-picker-footer":"",className:"flex flex-wrap items-center justify-between gap-2 border-t border-line px-3 py-2",children:[
18
- /* @__PURE__ */V("span",{className:"min-w-0 truncate text-sm text-ink-faint",children:Nn?He.oneChosen(Nn.name):He.noneChosen}),
19
- /* @__PURE__ */X("div",{className:"flex gap-2",children:[We&&/* @__PURE__ */V(A,{variant:"secondary",size:"sm",onClick:We,children:He.cancel}),
20
- /* @__PURE__ */V(A,{variant:"primary",size:"sm",disabled:!Nn,...sl(Ul),onClick:()=>{Nn&&!Ul&&Be?.(Nn)},children:He.chooseImage})]})]}):null,Wl=Xe&&!!Nn,Kl=Math.max(240,Math.min(480,Ve-360-(Wl?300:0))),Yl=Math.min(qe,Kl),Gl=/* @__PURE__ */X("div",{className:"flex min-w-0 flex-col gap-3",children:[Ke&&/* @__PURE__ */V(D,{tone:"neutral",children:Ke}),
21
- /* @__PURE__ */X("div",{className:"flex flex-wrap items-center justify-between gap-2",children:[
22
- /* @__PURE__ */V(u,{items:al}),cl]}),pl,Pl,
23
- /* @__PURE__ */X("div",{ref:Sl,className:"relative",onPointerDown:jl.onPointerDown,onKeyDown:e=>{Xe&&(e.ctrlKey||e.metaKey)&&"a"===e.key.toLowerCase()?(e.preventDefault(),wn.selectAll()):"Escape"===e.key&&wn.size&&wn.clear()},children:[Ol,
24
- /* @__PURE__ */V(o,{rect:jl.rect})]}),tl&&/* @__PURE__ */V("input",{...ol.inputProps}),
25
- /* @__PURE__ */V(j,{rejections:ol.rejections})]});/* @__PURE__ */
26
- return X("div",{ref:Ze,"data-media-library":"","data-layout":$e?"phone":"wide",className:`flex h-full min-h-0 min-w-0 flex-col ${Ge}`.trim(),children:[/* @__PURE__ */X("div",$e?{className:"flex flex-col gap-3 p-3",children:[rl,Gl]}:{className:"flex min-h-0 min-w-0 flex-1",children:[
27
- /* @__PURE__ */X("div",{"data-media-folder-column":"",className:"relative flex shrink-0 border-r border-line",style:{width:Yl},children:[
28
- /* @__PURE__ */V("div",{id:en,className:"min-w-0 flex-1 overflow-y-auto p-3",style:{"--rosh-tree-ground":"var(--surface)"},children:rl}),
29
- /* @__PURE__ */V(i,{side:"left",width:Yl,onResize:_e,min:240,max:Kl,defaultWidth:280,controls:en})]}),
30
- /* @__PURE__ */V("div",{className:"min-w-0 flex-1 overflow-y-auto p-3",children:Gl}),Wl&&/* @__PURE__ */V("div",{className:"shrink-0 overflow-y-auto border-l border-line p-3",style:{width:300},children:Rl(Nn)})]}),Bl,$e&&/* @__PURE__ */V(d,{open:Wl,onClose:wn.clear,side:"bottom",title:Nn?.name,children:Nn&&Rl(Nn)}),Un.state&&/* @__PURE__ */V(I,{...Un.props,items:Rn(Un.state.data)}),null!=An&&me.length>0&&/* @__PURE__ */V(t,{images:me.map(e=>({url:e.url,caption:e.name})),startIndex:Math.min(An,me.length-1),onClose:()=>Mn(null)})]})}export{$ as MEDIA_FILES_DRAG_TYPE,_ as MEDIA_FILE_DRAG_TYPE,q as MEDIA_FOLDER_DRAG_TYPE,ie as MediaLibrary,ee as readMediaFileDrag};
1
+ import{Tree as e,TreeRow as n,TreeGroup as l}from"./chunk-BTMZ5MUY.js";import{readStoredWidth as r,writeStoredWidth as a,ResizeHandle as i}from"./chunk-2KD6R2XF.js";import{MarqueeBox as t}from"./chunk-IC72MGON.js";import{ImageLightbox as o}from"./chunk-ONUNFTZD.js";import{Drawer as d}from"./chunk-AYTGYEOI.js";import{EmptyState as s}from"./chunk-W3454ZES.js";import{DescriptionList as c}from"./chunk-SACUSHVN.js";import{Breadcrumbs as u}from"./chunk-WREUA43Q.js";import{ROOT_KEY as m,mediaLibraryMenu as p}from"./chunk-UFJR63AO.js";import{useMediaMoveItems as h}from"./chunk-GRAFJD3L.js";import{RenameField as f}from"./chunk-F4KB3K3I.js";import{MediaUploadGrid as g}from"./chunk-B4Y5NGHR.js";import{MediaUsedInList as v}from"./chunk-XOEYCDWT.js";import{NativeSelect as k}from"./chunk-W7HTHKN2.js";import{useGridSelection as y}from"./chunk-VLKDWKVR.js";import{useMarquee as b}from"./chunk-OLFYNMTD.js";import{copyToClipboard as w}from"./chunk-452LT77I.js";import{Checkbox_default as x}from"./chunk-CGZBDI6C.js";import{Segmented as N}from"./chunk-TALQMTCE.js";import{useContextMenu as C,ContextMenu as I}from"./chunk-MF7OELXP.js";import{Banner as D}from"./chunk-OSMRYND3.js";import{Input_default as T}from"./chunk-BYTQRQ5P.js";import{useFileIntake as S,FileIntakeAlert as j}from"./chunk-TNGIXSTM.js";import{setModalDragAside as L,modalIdHolding as z}from"./chunk-EIFNESXS.js";import{ColoredBadge as F}from"./chunk-L2WQOJ3T.js";import{DropdownMenu as O}from"./chunk-NJY4HPNB.js";import{IconButton_default as E}from"./chunk-4YH7U7WL.js";import{Button_default as A}from"./chunk-37FQVY2O.js";import{Icon as M}from"./chunk-ISVODSRP.js";import{Tooltip as P}from"./chunk-CIZAUBWA.js";import{useBrowserState as R}from"./chunk-KEFNQEXZ.js";import{buttonClasses as U}from"./chunk-LYGIOJ3J.js";import{usePlotWidth as B}from"./chunk-MAFUXCPZ.js";import{useShellStrings as K}from"./chunk-NRHG4R2Q.js";import{useRef as W,useId as Y,useEffect as G,useMemo as H,useCallback as J,useState as Q}from"react";import{jsxs as V,Fragment as X,jsx as Z}from"react/jsx-runtime";var $="application/x-efficient-media-files",q="application/x-efficient-media-folder",_="application/x-efficient-media-file";function ee(e){if(!e||!Array.from(e.types).includes(_))return null;try{const n=JSON.parse(e.getData(_));if(n&&"string"==typeof n.id&&"string"==typeof n.url&&"string"==typeof n.name&&("image"===n.kind||"video"===n.kind))return{id:n.id,url:n.url,kind:n.kind,name:n.name}}catch{}return null}var ne="mediaLibrary.folderWidth",le={type:"all",use:"any",sort:"newest"},re={lock:/* @__PURE__ */Z(M,{name:"lock","aria-hidden":"true",className:"h-4 w-4"}),folder:/* @__PURE__ */Z(M,{name:"folder","aria-hidden":"true",className:"h-4 w-4"}),folderOpen:/* @__PURE__ */Z(M,{name:"folder-open","aria-hidden":"true",className:"h-4 w-4"}),folderPlus:/* @__PURE__ */Z(M,{name:"folder-plus","aria-hidden":"true",className:"h-4 w-4"}),trash:/* @__PURE__ */Z(M,{name:"trash","aria-hidden":"true",className:"h-4 w-4"}),upload:/* @__PURE__ */Z(M,{name:"upload","aria-hidden":"true",className:"h-4 w-4"}),search:/* @__PURE__ */Z(M,{name:"search","aria-hidden":"true",className:"h-4 w-4"}),grid:/* @__PURE__ */Z(M,{name:"grid","aria-hidden":"true",className:"h-4 w-4"}),list:/* @__PURE__ */Z(M,{name:"list","aria-hidden":"true",className:"h-4 w-4"}),more:/* @__PURE__ */Z(M,{name:"more","aria-hidden":"true",className:"h-4 w-4"}),copy:/* @__PURE__ */Z(M,{name:"copy","aria-hidden":"true",className:"h-4 w-4"}),edit:/* @__PURE__ */Z(M,{name:"edit","aria-hidden":"true",className:"h-4 w-4"}),swap:/* @__PURE__ */Z(M,{name:"swap","aria-hidden":"true",className:"h-4 w-4"}),crop:/* @__PURE__ */Z(M,{name:"crop","aria-hidden":"true",className:"h-4 w-4"}),external:/* @__PURE__ */Z(M,{name:"external","aria-hidden":"true",className:"h-4 w-4"}),undo:/* @__PURE__ */Z(M,{name:"undo","aria-hidden":"true",className:"h-4 w-4"})},ae={link:/* @__PURE__ */Z(M,{name:"link","aria-hidden":"true",className:"h-3 w-3"}),email:/* @__PURE__ */Z(M,{name:"email","aria-hidden":"true",className:"h-3 w-3"}),lock:/* @__PURE__ */Z(M,{name:"lock","aria-hidden":"true",className:"h-3 w-3"}),clock:/* @__PURE__ */Z(M,{name:"clock","aria-hidden":"true",className:"h-3 w-3"})};function ie(M){const{mode:ee="manage",layout:ie="auto",location:te,onLocationChange:oe,folders:de,products:se,allFilesCount:ce,trashCount:ue,files:me,query:pe,onQueryChange:he,filters:fe=le,onFiltersChange:ge,extraFilters:ve,view:ke="grid",onViewChange:ye,selectedIds:be,onSelectionChange:we,usedIn:xe,denied:Ne={},accept:Ce="image/*,video/*",maxSizeBytes:Ie,busy:De,progress:Te,onUpload:Se,onNewFolder:je,onRename:Le,onMove:ze,onTrash:Fe,onDeleteFolder:Oe,onRestore:Ee,onDeleteForever:Ae,onEmptyTrash:Me,onReplace:Pe,onCropEdit:Re,onOpenInDesign:Ue,onChoose:Be,onCancel:Ke,pickNote:We,onDragOut:Ye,className:Ge=""}=M,He=K().mediaLibrary,Je=K().media,Qe="pick"===ee,Ve=!Qe,Xe=W(null),Ze=B(Xe,"phone"===ie?343:1200),$e="phone"===ie||"auto"===ie&&Ze<640,[qe,_e]=R(()=>r(ne,240,480)??280,280),en=Y();G(()=>{const e=window.setTimeout(()=>a(ne,qe),200);return()=>window.clearTimeout(e)},[qe]);const nn=H(()=>function(e=[]){const n=/* @__PURE__ */new Map,l=(e,r)=>{for(const a of e){const e=[...r,a];n.set(a.id,{node:a,path:e}),a.children&&l(a.children,e)}};return l(e,[]),n}(se),[se]),ln=H(()=>new Map(de.map(e=>[e.id,e])),[de]),rn=H(()=>{const e=/* @__PURE__ */new Map;for(const n of de){const l=n.parentId&&ln.has(n.parentId)?n.parentId:null;e.set(l,[...e.get(l)??[],n])}return e},[de,ln]),an=J(e=>{const n=[];for(let l=e?ln.get(e):void 0;l&&(n.unshift(l),!(n.length>de.length));l=l.parentId?ln.get(l.parentId):void 0);return n},[ln,de.length]),tn=J((e,n)=>an(e).some(e=>e.id===n),[an]),[on,dn]=Q(()=>/* @__PURE__ */new Set(["@files"])),sn=e=>dn(n=>{const l=new Set(n);return l.has(e)?l.delete(e):l.add(e),l}),cn=J(e=>{dn(n=>e.every(e=>n.has(e))?n:/* @__PURE__ */new Set([...n,...e]))},[]),un="files"===(mn=te).place?`files:${mn.folderId??""}`:"products"===mn.place?`products:${mn.nodeId??""}`:"trash";var mn;G(()=>{if("files"===te.place)cn(["@files",...an(te.folderId).slice(0,-1).map(e=>e.id)]);else if("products"===te.place){const e=te.nodeId?nn.get(te.nodeId)?.path??[]:[];cn(["@products",...e.slice(0,-1).map(e=>`p:${e.id}`)])}},[un]);const pn="products"===te.place,hn="trash"===te.place,fn="files"===te.place,gn=fn?te.folderId:null,vn=pn&&te.nodeId?nn.get(te.nodeId)?.path[0]:void 0,kn=e=>e?.sharedFrom?`${He.readOnly} ${He.editedAtHq(e.sharedFrom)}`:He.readOnly,yn=H(()=>me.map(e=>e.id),[me]),bn=H(()=>new Map(me.map(e=>[e.id,e])),[me]),wn=y(yn),xn=H(()=>yn.filter(e=>wn.selected.has(e)),[yn,wn.selected]),Nn=1===xn.length?bn.get(xn[0]):void 0,Cn=W(!0);G(()=>{Cn.current?Cn.current=!1:wn.clear()},[un]);const In=be?.join("\0");G(()=>{be&&wn.setSelection(be)},[In]);const Dn=W(In??""),Tn=xn.join("\0");G(()=>{Dn.current!==Tn&&(Dn.current=Tn,we?.(xn))},[Tn]);const Sn=(e,n={})=>{Qe?wn.select(e):wn.select(e,{ctrl:!(!n.ctrlKey&&!n.metaKey),shift:!!n.shiftKey})},[jn,Ln]=Q(null),zn=e=>{const n=jn;if(Ln(null),!n||null==e)return;e!==("folder"===n.kind?ln.get(n.id)?.name:bn.get(n.id)?.name)&&Le?.(n,e)},Fn=async e=>{if(!je)return;const n=await je(e);cn(["@files",...e?[e]:[]]),"string"==typeof n&&Ln({kind:"folder",id:n})},On=J(e=>{const n=[],l=n=>{if("files"===e.kind)return n===gn&&fn?He.alreadyHere:void 0;const l=ln.get(e.id);return n===e.id||n&&tn(n,e.id)?He.notIntoItself:(l?.parentId??null)===n?He.folderAlreadyHere:void 0};n.push({key:m,label:He.allFiles,disabledReason:l(null)});const r=(e,a)=>{for(const i of rn.get(e)??[])n.push({key:i.id,label:i.name,depth:a,disabledReason:l(i.id)}),r(i.id,a+1)};return r(null,1),n},[rn,ln,fn,tn,gn,He]),En=J(e=>{const n=new Set(e.map(e=>bn.get(e)?.kind??"image"));return 1===n.size?[...n][0]:"file"},[bn]),[An,Mn]=Q(null),Pn={words:He,media:Je,denied:Ne,moveTargets:On,kindOf:En,urlOf:e=>bn.get(e)?.url,newSubfolder:je&&Ve?e=>{Fn(e)}:void 0,rename:Le&&Ve?e=>{"file"!==e.kind||wn.isSelected(e.id)||wn.select(e.id),Ln(e)}:void 0,move:ze&&Ve?ze:void 0,trash:Fe&&Ve?Fe:void 0,deleteFolder:Oe&&Ve?Oe:void 0,folderNotEmpty:e=>!!ln.get(e)?.notEmpty,replace:Pe&&Ve?Pe:void 0,copyUrl:e=>{const n=bn.get(e)?.url;n&&w(He.urlLabel,n)},openInDesign:Ue,restore:Ee,deleteForever:Ae},Rn=e=>p(e,Pn),Un=C(),Bn=(e,n)=>{Qe||(wn.isSelected(e)||wn.select(e),Un.open(n,(e=>{const n=wn.isSelected(e)?xn:[e];return pn?{kind:"render",id:e}:hn?{kind:"trashed",ids:n}:{kind:"files",ids:n}})(e)))},[Kn,Wn]=Q(null),[Yn,Gn]=Q(null),[Hn,Jn]=Q(null);G(()=>{if(!Yn&&!Kn)return;const e=()=>{Gn(null),Wn(null)};return window.addEventListener("dragend",e),window.addEventListener("drop",e),()=>{window.removeEventListener("dragend",e),window.removeEventListener("drop",e)}},[Yn,Kn]);const Qn=(e,n)=>Array.from(e.dataTransfer?.types??[]).includes(n),Vn=(e,n)=>!(!ze||Ne.move||Qe)&&(!!Qn(e,$)||!(!Qn(e,q)||!Hn)&&(n!==Hn&&!(n&&tn(n,Hn)))),Xn=(e,n)=>({onDragEnter:l=>{Vn(l,n)&&(l.preventDefault(),Wn(e))},onDragOver:l=>{Vn(l,n)&&(l.preventDefault(),l.dataTransfer.dropEffect="move",Kn!==e&&Wn(e))},onDragLeave:n=>{const l=n.relatedTarget;l&&n.currentTarget.contains(l)||Wn(n=>n===e?null:n)},onDrop:e=>{if(Vn(e,n))if(e.preventDefault(),Wn(null),Qn(e,$)){let l;try{l=JSON.parse(e.dataTransfer.getData($))}catch{l=null}Array.isArray(l)&&l.length&&ze({kind:"files",ids:l.map(String)},n)}else Hn&&(ze({kind:"folder",id:Hn},n),Jn(null))}}),Zn=e=>{const n=e=>Qn(e,$)||Qn(e,q)||Qn(e,"Files");return{onDragEnter:l=>{n(l)&&Gn(e)},onDragOver:l=>{n(l)&&Yn!==e&&Gn(e)},onDragLeave:n=>{const l=n.relatedTarget;l&&n.currentTarget.contains(l)||Gn(n=>n===e?null:n)}}},$n=(e,n,l)=>/* @__PURE__ */Z(P,{side:"right",content:Yn===e?He.noDropProducts:kn(l),open:Yn===e||!Yn&&void 0,children:/* @__PURE__ */Z("span",{children:n})}),qn=e=>({onContextMenu:n=>{Un.open(n,e)}}),_n=(e,r,a)=>e.map(e=>{const i=`p:${e.id}`,t=a??e,o=on.has(i),d=e.children?.length?e.children:null;/* @__PURE__ */
2
+ return V("div",{role:"none",className:"contents",children:[
3
+ /* @__PURE__ */Z(n,{label:$n(i,e.name,t),level:r,icon:d&&o?re.folderOpen:re.folder,count:e.count,countLabel:null!=e.count?e.countLabel??He.fileCount(e.count):void 0,selected:pn&&te.nodeId===e.id,expanded:d?o:void 0,onToggle:d?()=>sn(i):void 0,onSelect:()=>oe({place:"products",nodeId:e.id}),rowProps:{"data-media-row":i,...Zn(i),...Ve?qn({kind:"product-node",id:e.id}):{}}}),d&&o&&/* @__PURE__ */Z(l,{children:_n(d,r+1,t)})]},e.id)}),el=(e,r)=>(rn.get(e)??[]).map(e=>{const a=rn.get(e.id),i=on.has(e.id),t="folder"===jn?.kind&&jn.id===e.id,o=Rn({kind:"folder",id:e.id});/* @__PURE__ */
4
+ return V("div",{role:"none",className:"contents",children:[
5
+ /* @__PURE__ */Z(n,{label:e.name,level:r,icon:a&&i?re.folderOpen:re.folder,count:e.count,countLabel:null!=e.count?e.countLabel??He.fileCount(e.count):void 0,selected:t||fn&&te.folderId===e.id,expanded:a?i:void 0,onToggle:a?()=>sn(e.id):void 0,onSelect:()=>oe({place:"files",folderId:e.id}),drop:Kn===e.id?"into":void 0,dragging:Hn===e.id,draggable:Ve&&!!ze&&!Ne.move,rename:t?/* @__PURE__ */Z(f,{value:e.name,label:He.folderName,onDone:zn}):void 0,actions:Ve&&o.length?/* @__PURE__ */Z(O,{align:"end","aria-label":He.folderActions,trigger:re.more,items:o}):void 0,rowProps:{"data-media-row":e.id,...Xn(e.id,e.id),...Ve?qn({kind:"folder",id:e.id}):{},...Ve&&ze&&!Ne.move?{draggable:!0,onDragStart:n=>{n.dataTransfer.effectAllowed="move",n.dataTransfer.setData(q,e.id),Jn(e.id)},onDragEnd:()=>{Jn(null),Wn(null)}}:{}}}),a&&i&&/* @__PURE__ */Z(l,{children:el(e.id,r+1)})]},e.id)}),nl=on.has("@files"),ll=on.has("@products"),rl=/* @__PURE__ */V(e,{"aria-label":He.folders,children:[se&&/* @__PURE__ */V(X,{children:[
6
+ /* @__PURE__ */Z(n,{label:$n("@products",He.products),level:1,icon:re.lock,badge:{label:He.readOnlyBadge,tone:"neutral"},expanded:se.length?ll:void 0,onToggle:()=>sn("@products"),selected:pn&&null==te.nodeId,onSelect:()=>oe({place:"products",nodeId:null}),rowProps:{"data-media-row":"@products",...Zn("@products")}}),ll&&se.length>0&&/* @__PURE__ */Z(l,{children:_n(se,2)})]}),
7
+ /* @__PURE__ */Z(n,{label:He.allFiles,level:1,icon:nl?re.folderOpen:re.folder,count:ce,countLabel:null!=ce?He.fileCount(ce):void 0,expanded:rn.get(null)?.length?nl:void 0,onToggle:()=>sn("@files"),selected:fn&&null==te.folderId,onSelect:()=>oe({place:"files",folderId:null}),drop:"@files"===Kn?"into":void 0,rowProps:{"data-media-row":"@files",...Xn("@files",null)}}),nl&&(rn.get(null)?.length??0)>0&&/* @__PURE__ */Z(l,{children:el(null,2)}),Ve&&/* @__PURE__ */Z(n,{label:He.trash,level:1,icon:re.trash,count:ue,countLabel:null!=ue?He.fileCount(ue):void 0,selected:hn,onSelect:()=>oe({place:"trash"}),rowProps:{"data-media-row":"@trash"}})]}),al=(()=>{if(hn)return[{label:He.trash}];if(pn){const e=te.nodeId?nn.get(te.nodeId)?.path??[]:[];return[{label:He.products,onClick:e.length?()=>oe({place:"products",nodeId:null}):void 0},...e.map((n,l)=>({label:n.name,onClick:l<e.length-1?()=>oe({place:"products",nodeId:n.id}):void 0}))]}const e=an(gn);return[{label:He.allFiles,onClick:e.length?()=>oe({place:"files",folderId:null}):void 0},...e.map((n,l)=>({label:n.name,onClick:l<e.length-1?()=>oe({place:"files",folderId:n.id}):void 0}))]})(),il=pn?He.readOnly:Ne.upload,tl=!!Se&&!hn&&!il,ol=S({accept:Ce,maxSizeBytes:Ie,multiple:!0,disabled:!tl,onAccept:e=>Se?.(e,gn)}),dl=pn?He.noProductFolder:Ne.newFolder,sl=e=>e?{"aria-disabled":!0,disabledReason:e}:{},cl=/* @__PURE__ */V("div",{className:"flex flex-wrap items-center gap-2",children:[Ve&&je&&!hn&&/* @__PURE__ */Z(A,{variant:"secondary",size:"sm",leftIcon:re.folderPlus,onClick:()=>{Fn(gn)},...sl(dl),children:He.newFolder}),Se&&!hn&&/* @__PURE__ */Z(A,{variant:"primary",size:"sm",leftIcon:re.upload,onClick:()=>ol.open(),...sl(il),children:He.upload}),Ve&&hn&&Me&&me.length>0&&/* @__PURE__ */Z(A,{variant:"danger",size:"sm",onClick:Me,...sl(Ne.deleteForever),children:He.emptyTrash})]}),ul=(e,n,l,r,a)=>/* @__PURE__ */Z("div",{style:{width:$e?void 0:a,flex:$e?"1 1 120px":"0 0 auto",minWidth:0},children:/* @__PURE__ */Z(k,{size:"sm","aria-label":e,value:n,onChange:r,options:l})},e),ml=e=>n=>ge?.({...fe,[e]:n}),pl=/* @__PURE__ */V("div",{className:"flex flex-wrap items-center gap-2",children:[he&&/* @__PURE__ */Z("div",{style:{flex:"1 1 200px",minWidth:0},children:/* @__PURE__ */Z(T,{size:"sm",type:"search",leftIcon:re.search,placeholder:pn?He.searchProducts:He.search,"aria-label":pn?He.searchProducts:He.search,value:pe??"",onChange:e=>he(e.target.value)})}),ge&&ul(He.mediaType,fe.type,[{value:"all",label:He.allTypes},{value:"image",label:He.images},{value:"video",label:He.videos},{value:"svg",label:"SVG"},{value:"gif",label:"GIF"}],ml("type"),130),ge&&!pn&&!hn&&ul(He.use,fe.use,[{value:"any",label:He.anyUse},{value:"email",label:He.emailOnly},{value:"website",label:He.websiteOnly},{value:"unused",label:He.notUsed}],ml("use"),130),ge&&Ve&&ul(He.sort,fe.sort,[{value:"newest",label:He.newest},{value:"name",label:He.byName},{value:"size",label:He.bySize}],ml("sort"),110),ve?.map(e=>ul(e.label,e.value,e.options,e.onChange,120)),ye&&/* @__PURE__ */Z(N,{size:"sm",label:He.view,value:ke,onChange:ye,options:[{value:"grid",label:He.grid,icon:re.grid},{value:"list",label:He.list,icon:re.list}]})]}),hl=e=>{const n=[];return null!=e.trashedDaysAgo&&n.push({key:"t",label:He.daysAgo(e.trashedDaysAgo),count:e.trashedDaysAgo,icon:ae.clock,tone:"neutral"}),e.usedCount&&n.push({key:"u",label:He.used(e.usedCount),count:e.usedCount,icon:ae.link,tone:"active"}),e.email&&n.push({key:"e",label:He.email,icon:ae.email,tone:"queued"}),e.private&&n.push({key:"p",label:He.private,icon:ae.lock,tone:"neutral"}),n},fl=e=>hl(e).map(e=>/* @__PURE__ */Z(F,{tone:e.tone,size:"xs",children:e.label},e.key)),gl=Ve&&fn&&!!ze&&!Ne.move,vl=!!Ye&&!hn,kl=W(""),yl=W(null),bl=()=>yl.current?.dropped?"dropped":"cancelled",wl=W(Ye);wl.current=Ye;const xl=J(e=>{const n=yl.current;n&&(yl.current=null,n.stop(),L(kl.current,!1),e&&wl.current?.(e))},[]),Nl=J(e=>{xl(bl());const n=Xe.current?.ownerDocument;if(!n)return;kl.current=z(Xe.current);const l=Xe.current?.closest("[data-modal-panel]"),r=e=>{kl.current&&!l?.contains(e.target)&&L(kl.current,!0)},a=()=>!!e&&!e.isConnected,i=()=>{const e=yl.current;if(e){if(a())return xl("dropped");e.dropped=!0,L(kl.current,!1)}},t=e=>{const n=e.dataTransfer?.dropEffect;xl(n&&"none"!==n?"dropped":a()?bl():"cancelled")},o=()=>{a()&&xl(bl())},d=["pointermove","pointerdown","mousemove","mousedown"];n.addEventListener("dragover",r,!0),n.addEventListener("drop",i,!0),n.addEventListener("dragend",t,!0);for(const e of d)n.addEventListener(e,o,!0);yl.current={dropped:!1,stop:()=>{n.removeEventListener("dragover",r,!0),n.removeEventListener("drop",i,!0),n.removeEventListener("dragend",t,!0);for(const e of d)n.removeEventListener(e,o,!0)}}},[xl]);G(()=>()=>xl(bl()),[xl]);const Cl=(e,n,l)=>{if("start"!==e)return;const r=bn.get(n);r&&Il(r)&&(Nl(l??null),Ye(e))},Il=e=>!vl||e.private||e.pickDisabledReason?void 0:JSON.stringify({id:e.id,url:e.url,kind:"video"===e.kind?"video":"image",name:e.name}),Dl=me.map(e=>({id:e.id,url:e.thumbUrl??e.url,name:e.name,kind:e.kind,caption:e.name,badges:hl(e),dragData:gl?JSON.stringify(wn.isSelected(e.id)?xn:[e.id]):Il(e),...gl&&Il(e)?{dragAlso:{[_]:Il(e)}}:{}})),Tl=$e?Math.max(72,Math.floor((Ze-24-16-1)/3)):112,Sl=W(null),jl=b({containerRef:Sl,enabled:Ve&&!$e&&me.length>0,selected:wn.selected,setSelection:e=>wn.setSelection(e),clearSelection:wn.clear}),Ll=e=>{if(Qe){const n=bn.get(e);return void(!n||n.private||n.pickDisabledReason||Be?.(n))}const n=yn.indexOf(e);n>=0&&Mn(n)},zl=me.length?null:pe?/* @__PURE__ */Z(s,{variant:"dashed",title:He.noMatches}):pn?/* @__PURE__ */Z(s,{variant:"dashed",title:He.emptyProducts,description:kn(vn)}):hn?/* @__PURE__ */Z(s,{variant:"dashed",title:He.trashEmpty}):!tl||Qe?/* @__PURE__ */Z(s,{variant:"dashed",title:He.emptyFolder}):null,Fl="list"===ke&&me.length>0,Ol=zl??(Fl?/* @__PURE__ */Z("ul",{role:"listbox","aria-multiselectable":Ve||void 0,"aria-label":He.folders,className:"flex flex-col gap-1",children:me.map(e=>/* @__PURE__ */V("li",{role:"option","aria-selected":wn.isSelected(e.id),tabIndex:0,"data-grid-item":"","data-grid-id":e.id,onClick:n=>Sn(e.id,n),onDoubleClick:()=>Ll(e.id),onContextMenu:n=>Bn(e.id,n),draggable:!!Il(e)||void 0,onDragStart:Il(e)?n=>{n.dataTransfer.effectAllowed="link",n.dataTransfer.setData(_,Il(e)),Cl("start",e.id,n.currentTarget)}:void 0,onKeyDown:n=>{"Enter"!==n.key&&" "!==n.key||(n.preventDefault(),Sn(e.id,n))},className:"flex h-12 cursor-pointer items-center gap-3 rounded-md px-2 text-sm rosh-focus-ring focus-visible:ring-2 focus-visible:ring-[color:var(--rosh-focus-ring-solid)] "+(wn.isSelected(e.id)?"bg-accent-tint text-blue-700":"text-ink hover:bg-gray-100"),children:[
8
+ /* @__PURE__ */Z("img",{src:e.thumbUrl??e.url,alt:"",className:"h-10 w-10 shrink-0 rounded bg-gray-100 object-contain"}),
9
+ /* @__PURE__ */Z("span",{className:"min-w-0 flex-1 truncate",children:e.name}),
10
+ /* @__PURE__ */Z("span",{className:"flex shrink-0 items-center gap-1",children:fl(e)}),e.sizeLabel&&/* @__PURE__ */Z("span",{className:"w-16 shrink-0 text-right text-xs text-ink-faint",children:e.sizeLabel})]},e.id))}):/* @__PURE__ */Z(g,{items:Dl,readOnly:!tl||Qe,onFiles:tl&&!Qe?e=>Se(e,gn):void 0,accept:Ce,maxSizeBytes:Ie,busy:De,progress:Te,fit:"contain",thumbSize:Tl,dragType:gl?$:vl?_:void 0,onDragOutChange:vl?(e,n,l)=>Cl(e,n,l):void 0,selected:wn.selected,onItemClick:Sn,onItemDoubleClick:Ll,onItemContextMenu:Ve?Bn:void 0,menuOnMedia:Ve})),El=h({count:xn.length,kind:En(xn),targets:On({kind:"files",ids:xn}),onPick:e=>ze?.({kind:"files",ids:xn},e.key===m?null:e.key)}),Al=U({variant:"secondary",size:"sm"}),Ml=/* @__PURE__ */Z(O,{align:"start",triggerClassName:Al,trigger:/* @__PURE__ */V(X,{children:[re.folder,He.moveTo]}),items:El,disabled:!!Ne.move}),Pl=Ve&&xn.length>1&&!pn?/* @__PURE__ */V("div",{"data-media-bulk":"",className:"flex flex-wrap items-center gap-2 rounded-lg border border-line px-3 py-2",children:[
11
+ /* @__PURE__ */Z(x,{checked:xn.length===me.length,indeterminate:xn.length<me.length,onChange:e=>e?wn.selectAll():wn.clear(),label:He.selected(xn.length)}),/* @__PURE__ */V(X,hn?{children:[Ee&&/* @__PURE__ */Z(A,{variant:"secondary",size:"sm",leftIcon:re.undo,onClick:()=>Ee(xn),...sl(Ne.restore),children:He.restore}),Ae&&/* @__PURE__ */Z(A,{variant:"secondary-danger",size:"sm",onClick:()=>Ae(xn),...sl(Ne.deleteForever),children:He.deleteForever})]}:{children:[ze&&Ml,Le&&/* @__PURE__ */Z(A,{variant:"secondary",size:"sm",leftIcon:re.edit,disabled:!0,children:He.rename}),Fe&&/* @__PURE__ */Z(A,{variant:"secondary",size:"sm",leftIcon:re.trash,onClick:()=>Fe({kind:"files",ids:xn}),...sl(Ne.trash),children:He.moveFilesToTrash(xn.length)})]}),
12
+ /* @__PURE__ */Z(A,{variant:"ghost",size:"sm",onClick:wn.clear,children:He.clearSelection})]}):null,Rl=e=>{const n=[],l=(e,l,r)=>{null!=r&&""!==r&&n.push({key:e,label:l,value:r})},r="file"===jn?.kind&&jn.id===e.id;l("name",He.name,r?/* @__PURE__ */Z(f,{value:e.name,label:He.fileName,onDone:zn}):e.name),l("type",He.type,e.typeLabel),l("size",He.size,e.sizeLabel),l("resolution",He.resolution,e.resolution),pn?(l("design",He.design,e.design),l("finish",He.finish,e.finish),l("angle",He.angleLug,e.angleLug),l("owner",He.owner,e.owner)):(l("added",He.addedBy,e.addedBy),l("folder",He.folder,e.folderPath)),l("used",He.usedIn,null!=e.usedCount?He.places(e.usedCount):void 0);const a=p({kind:"files",ids:[e.id]},Pn).find(e=>"submenu"===e.type);/* @__PURE__ */
13
+ return V("div",{"data-media-details":"",className:"flex flex-col gap-3",children:[
14
+ /* @__PURE__ */Z("img",{src:e.url,alt:e.name,className:"aspect-square w-full rounded-lg bg-gray-100 object-contain"}),pn&&/* @__PURE__ */Z(D,{tone:"neutral",title:He.readOnlyBadge,children:kn(vn)}),
15
+ /* @__PURE__ */Z(c,{size:"sm",columns:1,items:n}),!hn&&/* @__PURE__ */V("div",{className:"flex gap-2",children:[
16
+ /* @__PURE__ */Z("div",{style:{flex:"1 1 0",minWidth:0},children:/* @__PURE__ */Z(T,{size:"sm",readOnly:!0,value:e.url,"aria-label":He.fileUrl,onFocus:e=>e.currentTarget.select()})}),
17
+ /* @__PURE__ */Z(A,{variant:"secondary",size:"sm",leftIcon:re.copy,onClick:()=>Pn.copyUrl(e.id),children:He.copyUrl})]}),fn&&Ve&&/* @__PURE__ */V("div",{className:"flex flex-wrap gap-2",children:[Pe&&/* @__PURE__ */Z(A,{variant:"secondary",size:"sm",leftIcon:re.swap,onClick:()=>Pe(e.id),...sl(Ne.replace),children:He.replace}),Re&&/* @__PURE__ */Z(A,{variant:"secondary",size:"sm",leftIcon:re.crop,onClick:()=>Re(e.id),children:He.cropEdit}),ze&&"submenu"===a?.type&&/* @__PURE__ */Z(O,{align:"start",triggerClassName:Al,trigger:/* @__PURE__ */V(X,{children:[re.folder,He.moveTo]}),items:a.items,disabled:!!Ne.move}),Le&&/* @__PURE__ */Z(A,{variant:"secondary",size:"sm",leftIcon:re.edit,onClick:()=>Ln({kind:"file",id:e.id}),...sl(Ne.rename),children:He.rename}),Fe&&/* @__PURE__ */Z(E,{"aria-label":He.moveToTrash,size:"sm",onClick:()=>Fe({kind:"files",ids:[e.id]}),disabledReason:Ne.trash,"aria-disabled":!!Ne.trash||void 0,children:re.trash})]}),hn&&Ve&&/* @__PURE__ */V("div",{className:"flex flex-wrap gap-2",children:[Ee&&/* @__PURE__ */Z(A,{variant:"primary",size:"sm",leftIcon:re.undo,onClick:()=>Ee([e.id]),...sl(Ne.restore),children:He.restore}),Ae&&/* @__PURE__ */Z(A,{variant:"danger",size:"sm",onClick:()=>Ae([e.id]),...sl(Ne.deleteForever),children:He.deleteForever})]}),pn&&Ue&&/* @__PURE__ */Z(A,{variant:"secondary",size:"sm",leftIcon:re.external,onClick:()=>Ue({kind:"render",id:e.id}),children:He.openInDesign}),xe&&/* @__PURE__ */Z(v,{items:xe})]})},Ul=Nn?Nn.private?He.privateNoPick:Nn.pickDisabledReason:void 0,Bl=Qe?/* @__PURE__ */V("div",{"data-media-picker-footer":"",className:"flex flex-wrap items-center justify-between gap-2 border-t border-line px-3 py-2",children:[
18
+ /* @__PURE__ */Z("span",{className:"min-w-0 truncate text-sm text-ink-faint",children:Nn?He.oneChosen(Nn.name):He.noneChosen}),
19
+ /* @__PURE__ */V("div",{className:"flex gap-2",children:[Ke&&/* @__PURE__ */Z(A,{variant:"secondary",size:"sm",onClick:Ke,children:He.cancel}),
20
+ /* @__PURE__ */Z(A,{variant:"primary",size:"sm",disabled:!Nn,...sl(Ul),onClick:()=>{Nn&&!Ul&&Be?.(Nn)},children:He.chooseImage})]})]}):null,Kl=Ve&&!!Nn,Wl=Math.max(240,Math.min(480,Ze-360-(Kl?300:0))),Yl=Math.min(qe,Wl),Gl=/* @__PURE__ */V("div",{className:"flex min-w-0 flex-col gap-3",children:[We&&/* @__PURE__ */Z(D,{tone:"neutral",children:We}),
21
+ /* @__PURE__ */V("div",{className:"flex flex-wrap items-center justify-between gap-2",children:[
22
+ /* @__PURE__ */Z(u,{items:al}),cl]}),pl,Pl,
23
+ /* @__PURE__ */V("div",{ref:Sl,className:"relative",onPointerDown:jl.onPointerDown,onKeyDown:e=>{Ve&&(e.ctrlKey||e.metaKey)&&"a"===e.key.toLowerCase()?(e.preventDefault(),wn.selectAll()):"Escape"===e.key&&wn.size&&wn.clear()},children:[Ol,
24
+ /* @__PURE__ */Z(t,{rect:jl.rect})]}),tl&&/* @__PURE__ */Z("input",{...ol.inputProps}),
25
+ /* @__PURE__ */Z(j,{rejections:ol.rejections})]});/* @__PURE__ */
26
+ return V("div",{ref:Xe,"data-media-library":"","data-layout":$e?"phone":"wide",className:`flex h-full min-h-0 min-w-0 flex-col ${Ge}`.trim(),children:[/* @__PURE__ */V("div",$e?{className:"flex flex-col gap-3 p-3",children:[rl,Gl]}:{className:"flex min-h-0 min-w-0 flex-1",children:[
27
+ /* @__PURE__ */V("div",{"data-media-folder-column":"",className:"relative flex shrink-0 border-r border-line",style:{width:Yl},children:[
28
+ /* @__PURE__ */Z("div",{id:en,className:"min-w-0 flex-1 overflow-y-auto p-3",style:{"--rosh-tree-ground":"var(--surface)"},children:rl}),
29
+ /* @__PURE__ */Z(i,{side:"left",width:Yl,onResize:_e,min:240,max:Wl,defaultWidth:280,controls:en})]}),
30
+ /* @__PURE__ */Z("div",{className:"min-w-0 flex-1 overflow-y-auto p-3",children:Gl}),Kl&&/* @__PURE__ */Z("div",{className:"shrink-0 overflow-y-auto border-l border-line p-3",style:{width:300},children:Rl(Nn)})]}),Bl,$e&&/* @__PURE__ */Z(d,{open:Kl,onClose:wn.clear,side:"bottom",title:Nn?.name,children:Nn&&Rl(Nn)}),Un.state&&/* @__PURE__ */Z(I,{...Un.props,items:Rn(Un.state.data)}),null!=An&&me.length>0&&/* @__PURE__ */Z(o,{images:me.map(e=>({url:e.url,caption:e.name})),startIndex:Math.min(An,me.length-1),onClose:()=>Mn(null)})]})}export{$ as MEDIA_FILES_DRAG_TYPE,_ as MEDIA_FILE_DRAG_TYPE,q as MEDIA_FOLDER_DRAG_TYPE,ie as MediaLibrary,ee as readMediaFileDrag};
@@ -0,0 +1 @@
1
+ import{PAYMENT_BRAND_DRAWINGS as r}from"./chunk-NISLELJF.js";import{BrandYoutubeIcon as o}from"./chunk-VW4FHT46.js";import{BrandZapierIcon as n}from"./chunk-QTM26JQP.js";import{BrandZendeskIcon as m}from"./chunk-77SI7AKG.js";import{BrandZoomIcon as a}from"./chunk-NK7HBFNQ.js";import{BrandVonageIcon as i}from"./chunk-Z5XEAC32.js";import{BrandWhatsappIcon as s}from"./chunk-W5I35GZZ.js";import{BrandWiseIcon as t}from"./chunk-V3GM5NXB.js";import{BrandWixIcon as p}from"./chunk-XUYWUGDM.js";import{BrandWoocommerceIcon as c}from"./chunk-7GB7CVQI.js";import{BrandXIcon as d}from"./chunk-4L7GLO5W.js";import{BrandXeroIcon as u}from"./chunk-FATXXVV3.js";import{BrandSquareIcon as b}from"./chunk-OIH56GH5.js";import{BrandSquarespaceIcon as h}from"./chunk-7KCJ77BP.js";import{BrandStripeIcon as k}from"./chunk-IBHBPSQN.js";import{BrandTelegramIcon as f}from"./chunk-ZZIVSJ2B.js";import{BrandTiktokIcon as j}from"./chunk-JREQY3YN.js";import{BrandTrelloIcon as e}from"./chunk-OSXM35MX.js";import{BrandUpsIcon as l}from"./chunk-YHYAGJ6V.js";import{BrandNotionIcon as g}from"./chunk-4FNGR474.js";import{BrandNvidiaIcon as F}from"./chunk-TUMURSQU.js";import{BrandPinterestIcon as M}from"./chunk-243NPEG6.js";import{BrandQuickbooksIcon as N}from"./chunk-6IUDFVTN.js";import{BrandSageIcon as H}from"./chunk-ONC3BFFM.js";import{BrandSamsungIcon as I}from"./chunk-7ELH72YJ.js";import{BrandShopifyIcon as V}from"./chunk-MVJ34HIV.js";import{BrandLinkedinIcon as Z}from"./chunk-G4GQOAWS.js";import{BrandMailchimpIcon as E}from"./chunk-INUXPG27.js";import{BrandMailgunIcon as G}from"./chunk-TI5WUO3V.js";import{BrandMakeIcon as B}from"./chunk-OM5K4WCB.js";import{BrandMessengerIcon as D}from"./chunk-IWQSBA3D.js";import{BrandMetaIcon as Q}from"./chunk-NEQFHRF3.js";import{BrandMyobIcon as W}from"./chunk-PYW3HX7A.js";import{BrandGooglesheetsIcon as X}from"./chunk-75IWV4ZF.js";import{BrandHubspotIcon as A}from"./chunk-NZBQVE3Q.js";import{BrandInstagramIcon as P}from"./chunk-3ER2WJNL.js";import{BrandIntelIcon as O}from"./chunk-HSXNUF53.js";import{BrandIntercomIcon as T}from"./chunk-FUSCAZEK.js";import{BrandLineIcon as U}from"./chunk-2ZD67TDP.js";import{BrandFedexIcon as J}from"./chunk-4CFQXH5N.js";import{BrandGithubIcon as L}from"./chunk-ZHNKLVWV.js";import{BrandGmailIcon as R}from"./chunk-5HDMPCZP.js";import{BrandGoogleadsIcon as C}from"./chunk-QYEMC2OA.js";import{BrandGoogleanalyticsIcon as S}from"./chunk-KTMEHSTB.js";import{BrandGooglecalendarIcon as K}from"./chunk-4RDYNULI.js";import{BrandGoogledriveIcon as Y}from"./chunk-R2IXRW5N.js";import{BrandCloudflareIcon as y}from"./chunk-4VIRG42K.js";import{BrandDellIcon as w}from"./chunk-L7DBGH2Z.js";import{BrandDhlIcon as x}from"./chunk-ZXU4DEQM.js";import{BrandDropboxIcon as v}from"./chunk-I27TFZJH.js";import{BrandEbayIcon as q}from"./chunk-PBGMVLOF.js";import{BrandEtsyIcon as z}from"./chunk-FMERDO2X.js";import{BrandFacebookIcon as $}from"./chunk-EHMDGAWA.js";import{BrandAnthropicIcon as _}from"./chunk-E3E7DODJ.js";import{BrandAppleIcon as rr}from"./chunk-4TWBDIMX.js";import{BrandAwsIcon as or}from"./chunk-RWL7F776.js";import{BrandBigcommerceIcon as nr}from"./chunk-ZBL4CN2E.js";import{BrandBrevoIcon as mr}from"./chunk-V6Q2GZAI.js";import{BrandCalendlyIcon as ar}from"./chunk-NTME34BP.js";import{BrandCampaignmonitorIcon as ir}from"./chunk-47OCVZXD.js";import{Brand1passwordIcon as sr}from"./chunk-OD2ZMT64.js";import{BrandAdyenIcon as tr}from"./chunk-K4RFJ7P2.js";import{BrandAircallIcon as pr}from"./chunk-PAZU27H5.js";import{BrandAmdIcon as cr}from"./chunk-AFMPM43F.js";var dr={...r,"brand-1password":sr,"brand-adyen":tr,"brand-aircall":pr,"brand-amd":cr,"brand-anthropic":_,"brand-apple":rr,"brand-aws":or,"brand-bigcommerce":nr,"brand-brevo":mr,"brand-calendly":ar,"brand-campaignmonitor":ir,"brand-cloudflare":y,"brand-dell":w,"brand-dhl":x,"brand-dropbox":v,"brand-ebay":q,"brand-etsy":z,"brand-facebook":$,"brand-fedex":J,"brand-github":L,"brand-gmail":R,"brand-googleads":C,"brand-googleanalytics":S,"brand-googlecalendar":K,"brand-googledrive":Y,"brand-googlesheets":X,"brand-hubspot":A,"brand-instagram":P,"brand-intel":O,"brand-intercom":T,"brand-line":U,"brand-linkedin":Z,"brand-mailchimp":E,"brand-mailgun":G,"brand-make":B,"brand-messenger":D,"brand-meta":Q,"brand-myob":W,"brand-notion":g,"brand-nvidia":F,"brand-pinterest":M,"brand-quickbooks":N,"brand-sage":H,"brand-samsung":I,"brand-shopify":V,"brand-square":b,"brand-squarespace":h,"brand-stripe":k,"brand-telegram":f,"brand-tiktok":j,"brand-trello":e,"brand-ups":l,"brand-vonage":i,"brand-whatsapp":s,"brand-wise":t,"brand-wix":p,"brand-woocommerce":c,"brand-x":d,"brand-xero":u,"brand-youtube":o,"brand-zapier":n,"brand-zendesk":m,"brand-zoom":a};export{dr as BRAND_MARK_DRAWINGS};
@@ -0,0 +1 @@
1
+ var r="16.4.0",a=r;export{a as APP_VERSION,r as VERSION};
@@ -1,9 +1,9 @@
1
- import{useWindowMenuItem as e,Modal as t}from"./chunk-XNPCOWOO.js";import{navIcons as r}from"./chunk-4LXCCZDM.js";import{VERSION as n}from"./chunk-RZVODVGN.js";import{Icon as s}from"./chunk-ISVODSRP.js";import{DEFAULT_SHELL_STRINGS as i,useShellStrings as o,splitAround as a}from"./chunk-NRHG4R2Q.js";import{useState as l,useCallback as m,isValidElement as c,cloneElement as p}from"react";import{jsx as d,jsxs as f}from"react/jsx-runtime";var h=i.aboutApp,x={notepad:{name:"Notepad",version:"1.1.0",route:"/notepad",description:h.notepad},preview:{name:"Preview",version:"1.5.1",route:"/preview",description:h.preview},files:{name:"Files",version:"2.0.1",route:"/files",description:h.files},browser:{name:"Browser",version:"1.0.3",route:"/browser",description:h.browser}},u=/* @__PURE__ */d(s,{name:"info",className:"h-4 w-4",strokeWidth:1.5}),N=/* @__PURE__ */d(s,{name:"window",className:"h-9 w-9",strokeWidth:1.5});function w({app:s}){const i=x[s],[h,w]=l(!1),v=m(()=>w(!0),[]),b=o().aboutApp,k=b.title(i.name);if(e(k,v,u),!h)return null;const g=r[i.route],y=c(g)?p(g,{className:"h-9 w-9"}):N,[j,O]=a(b.partOf);/* @__PURE__ */
2
- return d(t,{open:!0,onClose:()=>w(!1),title:k,size:"sm",compact:!0,bodyScroll:!1,autoHeight:!0,dimensions:[320,320],children:/* @__PURE__ */f("div",{className:"flex flex-col items-center text-center px-5 pt-5 pb-4",children:[
1
+ import{useWindowMenuItem as e,Modal as t}from"./chunk-XNPCOWOO.js";import{navIcons as r}from"./chunk-4LXCCZDM.js";import{VERSION as n}from"./chunk-7TGDGFHO.js";import{Icon as s}from"./chunk-ISVODSRP.js";import{DEFAULT_SHELL_STRINGS as i,useShellStrings as o,splitAround as a}from"./chunk-NRHG4R2Q.js";import{useState as l,useCallback as m,isValidElement as c,cloneElement as p}from"react";import{jsx as d,jsxs as f}from"react/jsx-runtime";var h=i.aboutApp,x={notepad:{name:"Notepad",version:"1.1.0",route:"/notepad",description:h.notepad},preview:{name:"Preview",version:"1.5.1",route:"/preview",description:h.preview},files:{name:"Files",version:"2.0.1",route:"/files",description:h.files},browser:{name:"Browser",version:"1.0.3",route:"/browser",description:h.browser}},u=/* @__PURE__ */d(s,{name:"info",className:"h-4 w-4",strokeWidth:1.5}),w=/* @__PURE__ */d(s,{name:"window",className:"h-9 w-9",strokeWidth:1.5});function N({app:s}){const i=x[s],[h,N]=l(!1),v=m(()=>N(!0),[]),b=o().aboutApp,k=b.title(i.name);if(e(k,v,u),!h)return null;const g=r[i.route],y=c(g)?p(g,{className:"h-9 w-9"}):w,[j,O]=a(b.partOf);/* @__PURE__ */
2
+ return d(t,{open:!0,onClose:()=>N(!1),title:k,size:"sm",compact:!0,bodyScroll:!1,autoHeight:!0,dimensions:[320,320],children:/* @__PURE__ */f("div",{className:"flex flex-col items-center text-center px-5 pt-5 pb-4",children:[
3
3
  /* @__PURE__ */d("div",{className:"flex h-16 w-16 items-center justify-center rounded-2xl bg-gray-100 text-gray-600 shrink-0",children:y}),
4
4
  /* @__PURE__ */d("h2",{className:"mt-3 text-lg font-bold text-gray-900",children:i.name}),
5
5
  /* @__PURE__ */d("p",{className:"text-2xs font-mono text-ink-faintest",children:b.version(i.version)}),
6
6
  /* @__PURE__ */d("p",{className:"mt-2 text-xs text-gray-500 leading-relaxed",children:b[s]}),
7
7
  /* @__PURE__ */f("div",{className:"mt-4 pt-3 border-t border-gray-200 w-full",children:[
8
8
  /* @__PURE__ */f("p",{className:"text-2xs text-ink-faint",children:[j,
9
- /* @__PURE__ */d("span",{className:"font-medium text-gray-700",children:"efficient-shell"}),O]}),n&&/* @__PURE__ */d("p",{className:"mt-0.5 text-2xs font-mono text-ink-faintest",children:b.shellVersion(n)})]})]})})}export{w as AboutApp,x as BUILTIN_APP_INFO};
9
+ /* @__PURE__ */d("span",{className:"font-medium text-gray-700",children:"efficient-shell"}),O]}),n&&/* @__PURE__ */d("p",{className:"mt-0.5 text-2xs font-mono text-ink-faintest",children:b.shellVersion(n)})]})]})})}export{N as AboutApp,x as BUILTIN_APP_INFO};
@@ -0,0 +1 @@
1
+ import{Input_default as e}from"./chunk-BYTQRQ5P.js";import{useState as r,useRef as n}from"react";import{jsx as t}from"react/jsx-runtime";function o({value:o,label:a,onDone:i,appearance:c="field"}){const[l,u]=r(o),p=n(!1),s=e=>{p.current||(p.current=!0,i(e))},m={autoFocus:!0,"aria-label":a,value:l,onChange:e=>u(e.target.value),onKeyDown:e=>{e.stopPropagation(),"Enter"===e.key?(e.preventDefault(),s(l.trim()||o)):"Escape"===e.key&&(e.preventDefault(),s(null))},onBlur:()=>s(l.trim()||o),onClick:e=>e.stopPropagation()};return"inline"===c?/* @__PURE__ */t("input",{...m,type:"text","data-rename-inline":"",className:"m-0 block w-full min-w-0 appearance-none rounded-none border-0 border-b border-accent-border bg-transparent p-0 [font:inherit] [letter-spacing:inherit] text-inherit rosh-focus-ring",onFocus:e=>{const r=e.currentTarget.value.length;e.currentTarget.setSelectionRange(r,r)}}):/* @__PURE__ */t(e,{size:"sm",...m,onFocus:e=>e.currentTarget.select()})}export{o as RenameField};
@@ -0,0 +1 @@
1
+ function t(t,n,r){const o=new Int32Array(r);for(let a=0;a<r;a+=1){const r=n?n[3*a]:3*a;o[a]=Math.round(t[r])}return o}function n(t,n,r){const o=new Int32Array(t).fill(-1);n.forEach((n,r)=>{for(const a of n)a>=0&&a<t&&-1===o[a]&&(o[a]=r)});for(let n=0;n<t;n+=1)-1===o[n]&&(o[n]=r);return o}function r(t,n,r,o,a){const e=2*a,h=new Uint32Array(e),c=new Int32Array(n.length);for(let t=0;t<n.length;t+=1){const e=n[t],s=2*(e>=0&&e<r.length?r[e]:a-1)+(o.has(e)?1:0);c[t]=s,h[s]+=1}const s=new Uint32Array(e);for(let t=1;t<e;t+=1)s[t]=s[t-1]+h[t-1];const i=new Uint32Array(3*n.length),u=s.slice();for(let r=0;r<n.length;r+=1){const n=3*u[c[r]];u[c[r]]+=1;for(let o=0;o<3;o+=1)i[n+o]=t?t[3*r+o]:3*r+o}const f=[];for(let t=0;t<e;t+=1)h[t]&&f.push({start:3*s[t],count:3*h[t],materialIndex:t});return{index:i,groups:f}}function o(t){return((t+180)%360+360)%360-180}function a({theta:t,phi:n},r){const o=t*Math.PI/180,a=n*Math.PI/180;return[r*Math.sin(a)*Math.sin(o),r*Math.cos(a),r*Math.sin(a)*Math.cos(o)]}function e([t,n,r]){const o=Math.hypot(t,n,r)||1;return{theta:180*Math.atan2(t,r)/Math.PI,phi:180*Math.acos(Math.max(-1,Math.min(1,n/o)))/Math.PI}}function h(t,n,r=1.08){const o=n*Math.PI/180/2;return t*r/Math.sin(o)}function c(t,n){return{theta:t.theta+o(n.theta-t.theta),phi:n.phi}}export{r as buildDrawGroups,h as framingDistance,n as layerOfSurfaces,e as orbitOf,a as orbitOffset,c as shortestOrbit,t as triangleSurfaces,o as wrapTurn};
@@ -0,0 +1 @@
1
+ import{WrenchSolidIcon as r}from"./chunk-A25YVGAG.js";import{ZoomInMiniIcon as o}from"./chunk-NPCWLBMK.js";import{ZoomInSolidIcon as m}from"./chunk-4H2J5UAB.js";import{WindowsSolidIcon as t}from"./chunk-XHRWQU2N.js";import{WordsFromMiniIcon as c}from"./chunk-BEKDLU25.js";import{WordsFromSolidIcon as n}from"./chunk-2MQ7ESMH.js";import{WrapMiniIcon as i}from"./chunk-NLGDN36O.js";import{WrapSolidIcon as s}from"./chunk-YBRJR7NV.js";import{WrenchMiniIcon as p}from"./chunk-BWDHO77A.js";import{WrenchScrewdriverMiniIcon as u}from"./chunk-HWGKMEYA.js";import{WrenchScrewdriverSolidIcon as h}from"./chunk-H7AHH7OB.js";import{WeightSolidIcon as k}from"./chunk-JH4N2AGC.js";import{WidgetsMiniIcon as f}from"./chunk-K3ZBIFDS.js";import{WidgetsSolidIcon as e}from"./chunk-C7WCAKSH.js";import{WidthMiniIcon as j}from"./chunk-B4GBUSE5.js";import{WidthSolidIcon as a}from"./chunk-W6FRXR6X.js";import{WindowMiniIcon as l}from"./chunk-CNVF67ZV.js";import{WindowSolidIcon as d}from"./chunk-QBRE4MH3.js";import{WindowsMiniIcon as b}from"./chunk-YMECORJ4.js";import{VideoOffSolidIcon as Q}from"./chunk-F75KLDZK.js";import{ViewColumnsMiniIcon as C}from"./chunk-KAUUQEZJ.js";import{ViewColumnsSolidIcon as F}from"./chunk-ZN5SU4ZI.js";import{WalletMiniIcon as D}from"./chunk-ITCE6WFF.js";import{WalletSolidIcon as J}from"./chunk-RLQAX5HN.js";import{WarningMiniIcon as K}from"./chunk-KHXH44V6.js";import{WarningSolidIcon as N}from"./chunk-TAXDMCNG.js";import{WeightMiniIcon as R}from"./chunk-7MBI6K4M.js";import{UndoSolidIcon as U}from"./chunk-T2IC4IQA.js";import{UploadMiniIcon as H}from"./chunk-2NYCHHEX.js";import{UploadSolidIcon as M}from"./chunk-LDY4RXO4.js";import{VAlignMiniIcon as P}from"./chunk-E5XQWSQG.js";import{VAlignSolidIcon as X}from"./chunk-64KV2YO3.js";import{VerifiedMiniIcon as L}from"./chunk-FJXQQ6N4.js";import{VerifiedSolidIcon as Z}from"./chunk-C6CI7XH7.js";import{VideoOffMiniIcon as G}from"./chunk-PNVFIQXD.js";import{TvSolidIcon as W}from"./chunk-RVA6HGDB.js";import{TypeMiniIcon as A}from"./chunk-3VZEPYAX.js";import{TypeSolidIcon as T}from"./chunk-RH6C435W.js";import{TyreMiniIcon as E}from"./chunk-PPRJBW5Y.js";import{TyreSolidIcon as g}from"./chunk-IF34QPCV.js";import{UnderlineMiniIcon as B}from"./chunk-23YM7DOW.js";import{UnderlineSolidIcon as I}from"./chunk-R2KCOXZR.js";import{UndoMiniIcon as S}from"./chunk-O5EP2UNP.js";import{TrashAlt2Icon as O}from"./chunk-TEEDZ5O4.js";import{TrashAltIcon as Y}from"./chunk-X65IANDK.js";import{TrashMiniIcon as V}from"./chunk-J5VO23W3.js";import{TrashSolidIcon as w}from"./chunk-GPFBERFF.js";import{TruckAltIcon as y}from"./chunk-MWG5QRHE.js";import{TruckMiniIcon as x}from"./chunk-JCKOSJNI.js";import{TruckSolidIcon as v}from"./chunk-GYA54DB2.js";import{TvMiniIcon as q}from"./chunk-BQ7RNIBA.js";import{TextSizeMiniIcon as z}from"./chunk-2BAQ3XFD.js";import{TextSizeSolidIcon as $}from"./chunk-MU4OIOPU.js";import{TextSmallMiniIcon as _}from"./chunk-QK4B7MO3.js";import{TextSmallSolidIcon as rr}from"./chunk-245SGQC7.js";import{TextValueMiniIcon as or}from"./chunk-5XNZORBY.js";import{TextValueSolidIcon as mr}from"./chunk-GKAI5SDL.js";import{TextureMiniIcon as tr}from"./chunk-VRGZFJZD.js";import{TextureSolidIcon as cr}from"./chunk-2AGTZHGD.js";import{TargetMiniIcon as nr}from"./chunk-5VRVT4LR.js";import{TargetSolidIcon as ir}from"./chunk-LNFKNTO5.js";import{TeamMiniIcon as sr}from"./chunk-ZV5P54O4.js";import{TeamSolidIcon as pr}from"./chunk-ETF6W3D4.js";import{TelephoneMiniIcon as ur}from"./chunk-MLXDPEBV.js";import{TelephoneSolidIcon as hr}from"./chunk-JQSK5ICA.js";import{TextColorMiniIcon as kr}from"./chunk-3WUQ5V4J.js";import{TextColorSolidIcon as fr}from"./chunk-TGNRZLQ6.js";import{TabletMiniIcon as er}from"./chunk-7R5JBLPI.js";import{TabletSolidIcon as jr}from"./chunk-IU7ZRR62.js";import{TabsMiniIcon as ar}from"./chunk-SXUSAHDF.js";import{TabsSolidIcon as lr}from"./chunk-P6FGTDDX.js";import{TagAltIcon as dr}from"./chunk-HXWCDHZQ.js";import{TagMiniIcon as br}from"./chunk-GGGXLQHC.js";import{TagSolidIcon as Qr}from"./chunk-QDHVUIZV.js";import{TargetAltIcon as Cr}from"./chunk-V5DSMUZ5.js";import{SunMiniIcon as Fr}from"./chunk-7MOGLM4M.js";import{SunSolidIcon as Dr}from"./chunk-K6ZPLG4O.js";import{SuperscriptMiniIcon as Jr}from"./chunk-YPBEGKV2.js";import{SuperscriptSolidIcon as Kr}from"./chunk-5GJ3SFHP.js";import{SwapMiniIcon as Nr}from"./chunk-FZMJ5JVX.js";import{SwapSolidIcon as Rr}from"./chunk-LO2ENELN.js";import{TableMiniIcon as Ur}from"./chunk-7IQQIDI6.js";import{TableSolidIcon as Hr}from"./chunk-QJ3LE7LI.js";import{StoreSolidIcon as Mr}from"./chunk-V3W6W42X.js";import{StrikeMiniIcon as Pr}from"./chunk-5GHSWXWB.js";import{StrikeSolidIcon as Xr}from"./chunk-VUOJMDQ6.js";import{StylesAltIcon as Lr}from"./chunk-PP3H5YGZ.js";import{StylesMiniIcon as Zr}from"./chunk-FEN2DONX.js";import{StylesSolidIcon as Gr}from"./chunk-B3Q46H2J.js";import{SubscriptMiniIcon as Wr}from"./chunk-KRWISESU.js";import{SubscriptSolidIcon as Ar}from"./chunk-O3QFU4CP.js";import{StatusDotMiniIcon as Tr}from"./chunk-LKN4NT7H.js";import{StatusDotSolidIcon as Er}from"./chunk-6GLBW3FE.js";import{StickyMiniIcon as gr}from"./chunk-RL3ZIR6L.js";import{StickySolidIcon as Br}from"./chunk-CAMDJDKT.js";import{StopCircleMiniIcon as Ir}from"./chunk-XRIX6MVS.js";import{StopCircleSolidIcon as Sr}from"./chunk-AQT5PBEU.js";import{StoreBuildingStorefront20SolidIcon as Or}from"./chunk-FXD73VOY.js";import{StoreMiniIcon as Yr}from"./chunk-5HCC7MZN.js";import{SquareSolidIcon as Vr}from"./chunk-BPWBA2RM.js";import{StarAltIcon as wr}from"./chunk-TTX2XZKP.js";import{StarMiniIcon as yr}from"./chunk-RWHVEPNG.js";import{StarSolidIcon as xr}from"./chunk-635BD6WX.js";import{StateMiniIcon as vr}from"./chunk-WFYZJFS5.js";import{StateSolidIcon as qr}from"./chunk-2TO2GMVS.js";import{StatusCircleMiniIcon as zr}from"./chunk-TB3CFNVI.js";import{StatusCircleSolidIcon as $r}from"./chunk-RAE4CUCY.js";import{SparklesSolidIcon as _r}from"./chunk-NA5HW2RQ.js";import{SpeakerWaveMiniIcon as ro}from"./chunk-QNIEDFX6.js";import{SpeakerWaveSolidIcon as oo}from"./chunk-DJNK34UK.js";import{SpecTableMiniIcon as mo}from"./chunk-FUY6TO6Z.js";import{SpecTableSolidIcon as to}from"./chunk-NZYJ6XYT.js";import{SplitMiniIcon as co}from"./chunk-6PRAEXF6.js";import{SplitSolidIcon as no}from"./chunk-YOVMFAN3.js";import{SquareMiniIcon as io}from"./chunk-WQ2IFM6M.js";import{SlidePickerSquaresSolidIcon as so}from"./chunk-DI3CJOO2.js";import{SortAltIcon as po}from"./chunk-US4TTHEN.js";import{SortMiniIcon as uo}from"./chunk-SI37ODJF.js";import{SortSolidIcon as ho}from"./chunk-ZUG2JNG4.js";import{SparklesAlt2Icon as ko}from"./chunk-NCLIZZXL.js";import{SparklesAlt3Icon as fo}from"./chunk-FEUIWJ7S.js";import{SparklesAltIcon as eo}from"./chunk-UWNP5QOF.js";import{SparklesMiniIcon as jo}from"./chunk-WNO4AZ67.js";import{SlidePickerBarSolidIcon as ao}from"./chunk-SZGTWSN4.js";import{SlidePickerCardsMiniIcon as lo}from"./chunk-EUQXQRXY.js";import{SlidePickerCardsSolidIcon as bo}from"./chunk-D6RYGKV5.js";import{SlidePickerDotsMiniIcon as Qo}from"./chunk-3VYVPN23.js";import{SlidePickerDotsSolidIcon as Co}from"./chunk-PZIPTTVL.js";import{SlidePickerNumbersMiniIcon as Fo}from"./chunk-K5UTUJXX.js";import{SlidePickerNumbersSolidIcon as Do}from"./chunk-CNQOWIKL.js";import{SlidePickerSquaresMiniIcon as Jo}from"./chunk-A7ILTGAE.js";import{SignalSolidIcon as Ko}from"./chunk-QTPYKXY7.js";import{SitemapMiniIcon as No}from"./chunk-TCWYMY7R.js";import{SitemapSolidIcon as Ro}from"./chunk-P4KZQYYO.js";import{SlideArrowsRoundMiniIcon as Uo}from"./chunk-3LSEVWUJ.js";import{SlideArrowsRoundSolidIcon as Ho}from"./chunk-PSYTC7V2.js";import{SlideArrowsSquareMiniIcon as Mo}from"./chunk-EDEHD47C.js";import{SlideArrowsSquareSolidIcon as Po}from"./chunk-P66ED5XN.js";import{SlidePickerBarMiniIcon as Xo}from"./chunk-BJ2LKUME.js";import{ShieldCheckSolidIcon as Lo}from"./chunk-A2NRNSJU.js";import{ShieldExclamationMiniIcon as Zo}from"./chunk-FB4GEVTA.js";import{ShieldExclamationSolidIcon as Go}from"./chunk-LZ44UTPP.js";import{SidesEachMiniIcon as Wo}from"./chunk-CNTQKS7H.js";import{SidesEachSolidIcon as Ao}from"./chunk-OR2SSAWP.js";import{SignalMiniIcon as To}from"./chunk-PYAU2NDD.js";import{SignalSlashMiniIcon as Eo}from"./chunk-MIMLD6G4.js";import{SignalSlashSolidIcon as go}from"./chunk-PLQ23Q7Y.js";import{ShapeEllipseSolidIcon as Bo}from"./chunk-J7YSGSYX.js";import{ShapeRectMiniIcon as Io}from"./chunk-7MTKB2PI.js";import{ShapeRectSolidIcon as So}from"./chunk-R3SLDJJX.js";import{ShareMiniIcon as Oo}from"./chunk-HWEV5X53.js";import{ShareSolidIcon as Yo}from"./chunk-ZFF7W6EF.js";import{SharedMiniIcon as Vo}from"./chunk-LKRQXIOG.js";import{SharedSolidIcon as wo}from"./chunk-YKDKVSAL.js";import{ShieldCheckMiniIcon as yo}from"./chunk-6UNMFTXG.js";import{SeparatorTriangleSolidIcon as xo}from"./chunk-B3CN55UI.js";import{ServerMiniIcon as vo}from"./chunk-7J7SBMPE.js";import{ServerSolidIcon as qo}from"./chunk-TMPZ5QYR.js";import{SettingsMiniIcon as zo}from"./chunk-PJ74S7TQ.js";import{SettingsSolidIcon as $o}from"./chunk-HMPU4WRV.js";import{ShadowMiniIcon as _o}from"./chunk-JQFMEYOH.js";import{ShadowSolidIcon as rm}from"./chunk-Z6DPC6LY.js";import{ShapeEllipseMiniIcon as om}from"./chunk-HGJLQXQZ.js";import{SelectAllSolidIcon as mm}from"./chunk-5FXHHPQN.js";import{SendAlt2Icon as tm}from"./chunk-I3TMILZC.js";import{SendAltIcon as cm}from"./chunk-AZADIQCQ.js";import{SendMiniIcon as nm}from"./chunk-SLALNIKU.js";import{SendSolidIcon as im}from"./chunk-2L3JB5JJ.js";import{SeparatorSlashMiniIcon as sm}from"./chunk-TGXO3CDO.js";import{SeparatorSlashSolidIcon as pm}from"./chunk-YJ5IHIAI.js";import{SeparatorTriangleMiniIcon as um}from"./chunk-MUXGWDEH.js";import{ScrollZoomInSolidIcon as hm}from"./chunk-DRSPB4ZE.js";import{ScrollZoomOutMiniIcon as km}from"./chunk-5HLLCX6X.js";import{ScrollZoomOutSolidIcon as fm}from"./chunk-THRSU75M.js";import{SearchAlt2Icon as em}from"./chunk-USRR3ATA.js";import{SearchAltIcon as jm}from"./chunk-VZZXQM7D.js";import{SearchMiniIcon as am}from"./chunk-RFQT33IG.js";import{SearchSolidIcon as lm}from"./chunk-D7AJ7HNA.js";import{SelectAllMiniIcon as dm}from"./chunk-XG4LYLHC.js";import{ScrollMoveDownSolidIcon as bm}from"./chunk-OYJAXZFU.js";import{ScrollMoveUpMiniIcon as Qm}from"./chunk-MEF5E2JA.js";import{ScrollMoveUpSolidIcon as Cm}from"./chunk-EJRRJXDG.js";import{ScrollParallaxMiniIcon as Fm}from"./chunk-CYU454QR.js";import{ScrollParallaxSolidIcon as Dm}from"./chunk-N3THYDNV.js";import{ScrollPointMiniIcon as Jm}from"./chunk-BGYKEPGH.js";import{ScrollPointSolidIcon as Km}from"./chunk-R2L5KKWD.js";import{ScrollZoomInMiniIcon as Nm}from"./chunk-6V3BNCDT.js";import{ScaleAltIcon as Rm}from"./chunk-WJEFJ7DO.js";import{ScaleMiniIcon as Um}from"./chunk-AKR2GM4I.js";import{ScaleSolidIcon as Hm}from"./chunk-TGQ6FVOC.js";import{ScrollFadeInMiniIcon as Mm}from"./chunk-KELGQ7WI.js";import{ScrollFadeInSolidIcon as Pm}from"./chunk-CDGK3TOO.js";import{ScrollFadeOutMiniIcon as Xm}from"./chunk-H7RDZRJ4.js";import{ScrollFadeOutSolidIcon as Lm}from"./chunk-BAWT5QBA.js";import{ScrollMoveDownMiniIcon as Zm}from"./chunk-J3Z4U2CT.js";import{ReplyMiniIcon as Gm}from"./chunk-ITCRUSSN.js";import{ReplySolidIcon as Wm}from"./chunk-QRZVIG54.js";import{RevertMiniIcon as Am}from"./chunk-TKQLPIHD.js";import{RevertSolidIcon as Tm}from"./chunk-B2JHVAJZ.js";import{RobotMiniIcon as Em}from"./chunk-2QBUM6BF.js";import{RobotSolidIcon as gm}from"./chunk-BTMPF6TU.js";import{RotateMiniIcon as Bm}from"./chunk-AZ6PTN7Z.js";import{RotateSolidIcon as Im}from"./chunk-FMFFO3XW.js";import{RefreshAltIcon as Sm}from"./chunk-BXPQQPS4.js";import{RefreshArrowPathRoundedSquareIcon as Om}from"./chunk-7BDQSYOD.js";import{RefreshMiniIcon as Ym}from"./chunk-DQVYLBH3.js";import{RefreshSolidIcon as Vm}from"./chunk-OD57KLTH.js";import{RemoveMiniIcon as wm}from"./chunk-LC5WQDNZ.js";import{RemoveSolidIcon as ym}from"./chunk-DZGAUI3P.js";import{ReplyAllMiniIcon as xm}from"./chunk-PF5CU4SO.js";import{ReplyAllSolidIcon as vm}from"./chunk-S6HJCIO4.js";import{ReceiptMiniIcon as qm}from"./chunk-3FF7CTUA.js";import{ReceiptPercentMiniIcon as zm}from"./chunk-CM6DG7CZ.js";import{ReceiptPercentSolidIcon as $m}from"./chunk-IXXEASEQ.js";import{ReceiptRefundMiniIcon as _m}from"./chunk-6JWPIRCB.js";import{ReceiptRefundSolidIcon as rt}from"./chunk-4PXK463M.js";import{ReceiptSolidIcon as ot}from"./chunk-P6NGK7DM.js";import{RedoMiniIcon as mt}from"./chunk-RJNAXMDD.js";import{RedoSolidIcon as tt}from"./chunk-CITR3NCQ.js";import{ProgressMiniIcon as ct}from"./chunk-Q3OTCQTQ.js";import{ProgressSolidIcon as nt}from"./chunk-3V5UT7A2.js";import{QuoteMiniIcon as it}from"./chunk-63LZCLNR.js";import{QuoteSolidIcon as st}from"./chunk-K3JGLNOQ.js";import{RadioDotMiniIcon as pt}from"./chunk-WRWINFV3.js";import{RadioDotSolidIcon as ut}from"./chunk-VKPCYU5H.js";import{RadiusMiniIcon as ht}from"./chunk-7I2GL4XB.js";import{RadiusSolidIcon as kt}from"./chunk-SGGFUPQS.js";import{PrintMiniIcon as ft}from"./chunk-AODSAT7N.js";import{PrintSolidIcon as et}from"./chunk-HLMTKW5H.js";import{ProductFieldMiniIcon as jt}from"./chunk-WICGNE5J.js";import{ProductFieldSolidIcon as at}from"./chunk-AFHJNVJU.js";import{ProductMiniIcon as lt}from"./chunk-M2STINJB.js";import{ProductSizeMiniIcon as dt}from"./chunk-WOWXRIRW.js";import{ProductSizeSolidIcon as bt}from"./chunk-Y4GH6UXZ.js";import{ProductSolidIcon as Qt}from"./chunk-AYYN74HD.js";import{PlayMiniIcon as Ct}from"./chunk-CCJHCLQD.js";import{PlaySolidIcon as Ft}from"./chunk-DPCVWEGT.js";import{PlusMinusMiniIcon as Dt}from"./chunk-T2SS7VMR.js";import{PlusMinusSolidIcon as Jt}from"./chunk-6QBEAJ3X.js";import{PowerMiniIcon as Kt}from"./chunk-ETIZX4ZX.js";import{PowerSolidIcon as Nt}from"./chunk-TXEFPHTL.js";import{PresentationChartBarMiniIcon as Rt}from"./chunk-7BMSC5QE.js";import{PresentationChartBarSolidIcon as Ut}from"./chunk-V56PZIS2.js";import{PhoneAltIcon as Ht}from"./chunk-W2SGPRYG.js";import{PhoneHiddenMiniIcon as Mt}from"./chunk-J4BNHZMC.js";import{PhoneHiddenSolidIcon as Pt}from"./chunk-3CWD4INC.js";import{PhoneMiniIcon as Xt}from"./chunk-KRUKB4JE.js";import{PhoneSolidIcon as Lt}from"./chunk-H6OCWYYU.js";import{PlacementMiniIcon as Zt}from"./chunk-OXHG752A.js";import{PlacementSolidIcon as Gt}from"./chunk-74DQMIJU.js";import{PlayAltIcon as Wt}from"./chunk-ZPQFONMR.js";import{PauseSolidIcon as At}from"./chunk-I2BTP4ZC.js";import{PenMiniIcon as Tt}from"./chunk-75CPAMIK.js";import{PenSolidIcon as Et}from"./chunk-MZNR3WCA.js";import{PeopleMiniIcon as gt}from"./chunk-MJ3GUAXH.js";import{PeopleSolidIcon as Bt}from"./chunk-TDACYSKV.js";import{PeopleUserGroupIcon as It}from"./chunk-3GU54QB6.js";import{PercentMiniIcon as St}from"./chunk-2LKEZNEE.js";import{PercentSolidIcon as Ot}from"./chunk-CQYBRFCN.js";import{PanelLeftSolidIcon as Yt}from"./chunk-XWU6QN2V.js";import{PanelRightMiniIcon as Vt}from"./chunk-FU44ZZBE.js";import{PanelRightSolidIcon as wt}from"./chunk-3EVMVYVF.js";import{ParagraphSpacingMiniIcon as yt}from"./chunk-W6DUHOAN.js";import{ParagraphSpacingSolidIcon as xt}from"./chunk-GD3YLOFZ.js";import{PasteStyleMiniIcon as vt}from"./chunk-X5KVM2JY.js";import{PasteStyleSolidIcon as qt}from"./chunk-NOQIPVD5.js";import{PauseMiniIcon as zt}from"./chunk-E4XFHQTO.js";import{PaddingYMiniIcon as $t}from"./chunk-FLY5B6BV.js";import{PaddingYSolidIcon as _t}from"./chunk-ZVZB4MEK.js";import{PageAltIcon as rc}from"./chunk-CPPPRWOF.js";import{PageMiniIcon as oc}from"./chunk-XXFO33EC.js";import{PageSolidIcon as mc}from"./chunk-SMJFGTEP.js";import{PaletteMiniIcon as tc}from"./chunk-BAFB2V5R.js";import{PaletteSolidIcon as cc}from"./chunk-DL3K4PF4.js";import{PanelLeftMiniIcon as nc}from"./chunk-XSCG6YG7.js";import{PaddingLeftRightSolidIcon as ic}from"./chunk-6QAID2KD.js";import{PaddingLeftSolidIcon as sc}from"./chunk-KMRK6TJC.js";import{PaddingRightMiniIcon as pc}from"./chunk-JWZ7SK3Z.js";import{PaddingRightSolidIcon as uc}from"./chunk-IABLIRK6.js";import{PaddingTopMiniIcon as hc}from"./chunk-AAQPYX4I.js";import{PaddingTopSolidIcon as kc}from"./chunk-SE2ECAWN.js";import{PaddingXMiniIcon as fc}from"./chunk-M3FDLEVB.js";import{PaddingXSolidIcon as ec}from"./chunk-C4GY2IS5.js";import{PackageOpenSolidIcon as jc}from"./chunk-6STWX56B.js";import{PackageSolidIcon as ac}from"./chunk-PRU52B5T.js";import{PaddingAllMiniIcon as lc}from"./chunk-R54WVPDX.js";import{PaddingAllSolidIcon as dc}from"./chunk-QJG66TT3.js";import{PaddingBottomMiniIcon as bc}from"./chunk-NXBHLJD4.js";import{PaddingBottomSolidIcon as Qc}from"./chunk-MQBMKV2M.js";import{PaddingLeftMiniIcon as Cc}from"./chunk-FGQ7HFAL.js";import{PaddingLeftRightMiniIcon as Fc}from"./chunk-RF4AWGBX.js";import{NumberedListMiniIcon as Dc}from"./chunk-FD7UBG5P.js";import{NumberedListSolidIcon as Jc}from"./chunk-3K6RM3K4.js";import{OpacityMiniIcon as Kc}from"./chunk-JMOGUE7F.js";import{OpacitySolidIcon as Nc}from"./chunk-FCD4WTIN.js";import{OwnTextMiniIcon as Rc}from"./chunk-62BDLWEO.js";import{OwnTextSolidIcon as Uc}from"./chunk-5OY3AUEX.js";import{PackageMiniIcon as Hc}from"./chunk-FCD2THL6.js";import{PackageOpenMiniIcon as Mc}from"./chunk-J5NXZAWD.js";import{NoteMiniIcon as Pc}from"./chunk-MRWH3KJB.js";import{NoteSolidIcon as Xc}from"./chunk-QNV4E2MF.js";import{NudgeMiniIcon as Lc}from"./chunk-REICDZNN.js";import{NudgeSolidIcon as Zc}from"./chunk-3MRB7UZY.js";import{NudgeXMiniIcon as Gc}from"./chunk-HJUK5AAM.js";import{NudgeXSolidIcon as Wc}from"./chunk-KRWKHI7S.js";import{NudgeYMiniIcon as Ac}from"./chunk-EEG3KMP7.js";import{NudgeYSolidIcon as Tc}from"./chunk-P5SVBGLG.js";import{MoonMiniIcon as Ec}from"./chunk-V75MYG5O.js";import{MoonSolidIcon as gc}from"./chunk-24FKIIDR.js";import{MoreMiniIcon as Bc}from"./chunk-42MDVHXS.js";import{MoreSolidIcon as Ic}from"./chunk-PP5JQCTZ.js";import{MoreVerticalMiniIcon as Sc}from"./chunk-J6YBNXVN.js";import{MoreVerticalSolidIcon as Oc}from"./chunk-OSZDQ3VV.js";import{NoSymbolMiniIcon as Yc}from"./chunk-WQBLFKPH.js";import{NoSymbolSolidIcon as Vc}from"./chunk-JEWUFDX5.js";import{MenuMiniIcon as wc}from"./chunk-MNIIBF52.js";import{MenuSolidIcon as yc}from"./chunk-AFXOAFL6.js";import{MetaMiniIcon as xc}from"./chunk-JG2LTXO7.js";import{MetaSolidIcon as vc}from"./chunk-ADCP4ZQP.js";import{MicrophoneMiniIcon as qc}from"./chunk-ICL6KE32.js";import{MicrophoneSolidIcon as zc}from"./chunk-QWWV6GSR.js";import{MoneyMiniIcon as $c}from"./chunk-6MSDX7MQ.js";import{MoneySolidIcon as _c}from"./chunk-RJCUFIE5.js";import{MediaLayoutSideBySideMiniIcon as rn}from"./chunk-PYG3MKYD.js";import{MediaLayoutSideBySideSolidIcon as on}from"./chunk-77DNZFAR.js";import{MediaLayoutStackedMiniIcon as mn}from"./chunk-GMTEWQTC.js";import{MediaLayoutStackedSolidIcon as tn}from"./chunk-4D5UAMG5.js";import{MediaMiniIcon as cn}from"./chunk-RWVM2VHF.js";import{MediaSolidIcon as nn}from"./chunk-3UFUOKBM.js";import{MegaphoneMiniIcon as sn}from"./chunk-DQ6CYYYH.js";import{MegaphoneSolidIcon as pn}from"./chunk-7KJMS4EK.js";import{LoopSolidIcon as un}from"./chunk-XMTGZI2O.js";import{MapAltIcon as hn}from"./chunk-XA7YZO2P.js";import{MapMiniIcon as kn}from"./chunk-Q2QIUERP.js";import{MapSolidIcon as fn}from"./chunk-4EOR3CJ4.js";import{MediaLayoutBigTwoMiniIcon as en}from"./chunk-RI5VRHG4.js";import{MediaLayoutBigTwoSolidIcon as jn}from"./chunk-4QNSHURB.js";import{MediaLayoutInsetMiniIcon as an}from"./chunk-PAYYAWU5.js";import{MediaLayoutInsetSolidIcon as ln}from"./chunk-RJU7XFKX.js";import{LockSolidIcon as dn}from"./chunk-URXAYQ23.js";import{LogoMiniIcon as bn}from"./chunk-AS4OCCP3.js";import{LogoSolidIcon as Qn}from"./chunk-4LBNEX4V.js";import{LogoutMiniIcon as Cn}from"./chunk-GV3GNYL6.js";import{LogoutSolidIcon as Fn}from"./chunk-2AQMIXH3.js";import{LoopMarqueeMiniIcon as Dn}from"./chunk-ECJSGHFD.js";import{LoopMarqueeSolidIcon as Jn}from"./chunk-XW336CNF.js";import{LoopMiniIcon as Kn}from"./chunk-Z7TJ5Y7T.js";import{ListNoneMiniIcon as Nn}from"./chunk-GRABRP2G.js";import{ListNoneSolidIcon as Rn}from"./chunk-HQOSD5GN.js";import{ListQueueListIcon as Un}from"./chunk-CYQSFWYF.js";import{ListSolidIcon as Hn}from"./chunk-PZZWHWBB.js";import{LocationMiniIcon as Mn}from"./chunk-K7WJNXIJ.js";import{LocationSolidIcon as Pn}from"./chunk-BZOV7GJL.js";import{LockAltIcon as Xn}from"./chunk-IQKD7UCZ.js";import{LockMiniIcon as Ln}from"./chunk-EIUHOEDP.js";import{LinkSlashSolidIcon as Zn}from"./chunk-QL4RGGFN.js";import{LinkSolidIcon as Gn}from"./chunk-WM6WESXC.js";import{ListAlt2Icon as Wn}from"./chunk-7B4Y4XCN.js";import{ListAlt3Icon as An}from"./chunk-ACCOL2XR.js";import{ListAltIcon as Tn}from"./chunk-ITBPRBKS.js";import{ListFormatMiniIcon as En}from"./chunk-UDN6USR5.js";import{ListFormatSolidIcon as gn}from"./chunk-LWDJ4GEH.js";import{ListMiniIcon as Bn}from"./chunk-7OKXT3VY.js";import{LineSolidMiniIcon as In}from"./chunk-H46XIWYV.js";import{LineSolidSolidIcon as Sn}from"./chunk-XO4FAIL5.js";import{LineSpacingMiniIcon as On}from"./chunk-SP6GJ3Y4.js";import{LineSpacingSolidIcon as Yn}from"./chunk-CNITIX2S.js";import{LineStyleMiniIcon as Vn}from"./chunk-Z4KOPOJX.js";import{LineStyleSolidIcon as wn}from"./chunk-KUCKME7A.js";import{LinkMiniIcon as yn}from"./chunk-KLZWTEB5.js";import{LinkSlashMiniIcon as xn}from"./chunk-325KLGZI.js";import{LightbulbMiniIcon as vn}from"./chunk-LMLLHS4Q.js";import{LightbulbSolidIcon as qn}from"./chunk-DFJLONGS.js";import{LineBetweenMiniIcon as zn}from"./chunk-DZC74CKM.js";import{LineBetweenSolidIcon as $n}from"./chunk-MMYYXHNL.js";import{LineDashedMiniIcon as _n}from"./chunk-UTJSSJXU.js";import{LineDashedSolidIcon as ri}from"./chunk-JTKLHXQE.js";import{LineDottedMiniIcon as oi}from"./chunk-Z7SR7VQR.js";import{LineDottedSolidIcon as mi}from"./chunk-DUPPQQ35.js";import{LayersMiniIcon as ti}from"./chunk-VPJZX7GH.js";import{LayersRectangleStackIcon as ci}from"./chunk-Q2YQ2EN2.js";import{LayersSolidIcon as ni}from"./chunk-UBBP5Q2C.js";import{LayoutAltIcon as ii}from"./chunk-PYXW6GXA.js";import{LayoutMiniIcon as si}from"./chunk-TUODSC47.js";import{LayoutSolidIcon as pi}from"./chunk-AU3GQT25.js";import{LetterSpacingMiniIcon as ui}from"./chunk-RYOPAJXK.js";import{LetterSpacingSolidIcon as hi}from"./chunk-FSLICZMD.js";import{InfoAltIcon as ki}from"./chunk-U5423MQC.js";import{InfoMiniIcon as fi}from"./chunk-UMKNAPC2.js";import{InfoSolidIcon as ei}from"./chunk-ZU6L5U5X.js";import{ItalicMiniIcon as ji}from"./chunk-JDGZNXOM.js";import{ItalicSolidIcon as ai}from"./chunk-CMYQL6WU.js";import{KeyMiniIcon as li}from"./chunk-TQITZXNM.js";import{KeySolidIcon as di}from"./chunk-B7FO24I2.js";import{LayersAltIcon as bi}from"./chunk-SUSN7BUA.js";import{ImageOffMiniIcon as Qi}from"./chunk-ZLFF5JQG.js";import{ImageOffSolidIcon as Ci}from"./chunk-M7N7XLUK.js";import{ImageSolidIcon as Fi}from"./chunk-HULBQOQ4.js";import{ImagesMiniIcon as Di}from"./chunk-5P6EYV7K.js";import{ImagesSolidIcon as Ji}from"./chunk-Y7BG7B64.js";import{InboxAltIcon as Ki}from"./chunk-BFJ4RYCD.js";import{InboxMiniIcon as Ni}from"./chunk-QRSDMC5W.js";import{InboxSolidIcon as Ri}from"./chunk-EESYQSYA.js";import{IconAtEndMiniIcon as Ui}from"./chunk-VRBDSUV5.js";import{IconAtEndSolidIcon as Hi}from"./chunk-MJ6SYTFL.js";import{IconBeforeTextMiniIcon as Mi}from"./chunk-C6FIA3VB.js";import{IconBeforeTextSolidIcon as Pi}from"./chunk-FMSIKEE3.js";import{IdentificationMiniIcon as Xi}from"./chunk-MX26PZGW.js";import{IdentificationSolidIcon as Li}from"./chunk-ELWJR6D5.js";import{ImageAltIcon as Zi}from"./chunk-4NT5O3CF.js";import{ImageMiniIcon as Gi}from"./chunk-22AYA6IH.js";import{HoverRotateSolidIcon as Wi}from"./chunk-QHUGCISZ.js";import{HoverSolidIcon as Ai}from"./chunk-J3EF3LJU.js";import{HoverZoomMiniIcon as Ti}from"./chunk-UCWJA6LT.js";import{HoverZoomSolidIcon as Ei}from"./chunk-PJW3BL27.js";import{IconAboveTextMiniIcon as gi}from"./chunk-NKDDKXJF.js";import{IconAboveTextSolidIcon as Bi}from"./chunk-KHVMKTOL.js";import{IconAfterTextMiniIcon as Ii}from"./chunk-O5MCB756.js";import{IconAfterTextSolidIcon as Si}from"./chunk-H4SQVPCY.js";import{HoverLiftMiniIcon as Oi}from"./chunk-MIOL4CDN.js";import{HoverLiftSolidIcon as Yi}from"./chunk-KLHUKAD3.js";import{HoverMiniIcon as Vi}from"./chunk-VMKJJFZB.js";import{HoverNextImageMiniIcon as wi}from"./chunk-FIZKXNCZ.js";import{HoverNextImageSolidIcon as yi}from"./chunk-XGAXRNZS.js";import{HoverNoneMiniIcon as xi}from"./chunk-APLKFBJH.js";import{HoverNoneSolidIcon as vi}from"./chunk-5X4DBMS6.js";import{HoverRotateMiniIcon as qi}from"./chunk-IABSP2GJ.js";import{HelpMiniIcon as zi}from"./chunk-LRY6HMOO.js";import{HelpOffMiniIcon as $i}from"./chunk-Z3ZZ7IKK.js";import{HelpOffSolidIcon as _i}from"./chunk-NCZDQBQ4.js";import{HelpSolidIcon as rs}from"./chunk-TBRNYDMF.js";import{HexagonMiniIcon as os}from"./chunk-WGFQSFHX.js";import{HexagonSolidIcon as ms}from"./chunk-OZ2GH2H7.js";import{HomeMiniIcon as ts}from"./chunk-DOA6QPPR.js";import{HomeSolidIcon as cs}from"./chunk-XKTLIGRL.js";import{HashMiniIcon as ns}from"./chunk-BZDWR4KD.js";import{HashSolidIcon as is}from"./chunk-UXPHLHBG.js";import{HeadquartersMiniIcon as ss}from"./chunk-7HBLOYWQ.js";import{HeadquartersSolidIcon as ps}from"./chunk-2SFKU2B2.js";import{HeartMiniIcon as us}from"./chunk-RT6AI5I7.js";import{HeartSolidIcon as hs}from"./chunk-BBY7MNDN.js";import{HeightMiniIcon as ks}from"./chunk-5AQ6KQSD.js";import{HeightSolidIcon as fs}from"./chunk-QTQNZMIC.js";import{GridMiniIcon as es}from"./chunk-NHDIBRV7.js";import{GridSolidIcon as js}from"./chunk-IYZTC7VC.js";import{GroundMiniIcon as as}from"./chunk-DBWIOWPM.js";import{GroundSolidIcon as ls}from"./chunk-MFFIF7AB.js";import{HandMiniIcon as ds}from"./chunk-7E3RNMRR.js";import{HandSolidIcon as bs}from"./chunk-6R4YB7K3.js";import{HandThumbUpMiniIcon as Qs}from"./chunk-ITHJW2KQ.js";import{HandThumbUpSolidIcon as Cs}from"./chunk-A5ONCCD3.js";import{GemMiniIcon as Fs}from"./chunk-HPR54EP7.js";import{GemSolidIcon as Ds}from"./chunk-D5CO7TAN.js";import{GiftMiniIcon as Js}from"./chunk-WHNWFXTB.js";import{GiftSolidIcon as Ks}from"./chunk-QHY3TU27.js";import{GlobeAltIcon as Ns}from"./chunk-24KAXH2Q.js";import{GlobeMiniIcon as Rs}from"./chunk-H6ARFO7R.js";import{GlobeSolidIcon as Us}from"./chunk-AV5NET7T.js";import{GridAltIcon as Hs}from"./chunk-CEYIPCMH.js";import{FolderPlusSolidIcon as Ms}from"./chunk-Y43FUWQ2.js";import{FolderSolidIcon as Ps}from"./chunk-MEUDPC32.js";import{ForwardMiniIcon as Xs}from"./chunk-JKHFESAR.js";import{ForwardSolidIcon as Ls}from"./chunk-4E5LJBKT.js";import{FullWidthMiniIcon as Zs}from"./chunk-ORKNUTVU.js";import{FullWidthSolidIcon as Gs}from"./chunk-D46DMMOR.js";import{GapMiniIcon as Ws}from"./chunk-UAB5A3AI.js";import{GapSolidIcon as As}from"./chunk-TBMPFURE.js";import{FlagAltIcon as Ts}from"./chunk-22FCQMKM.js";import{FlagMiniIcon as Es}from"./chunk-I7IJ3CFC.js";import{FlagSolidIcon as gs}from"./chunk-SWYJ3FKU.js";import{FolderAltIcon as Bs}from"./chunk-ZEXLGKAK.js";import{FolderMiniIcon as Is}from"./chunk-KKVQPJI3.js";import{FolderOpenMiniIcon as Ss}from"./chunk-NU3WUIAM.js";import{FolderOpenSolidIcon as Os}from"./chunk-W2JSPWW2.js";import{FolderPlusMiniIcon as Ys}from"./chunk-2ZIX7XRY.js";import{FaceSmileMiniIcon as Vs}from"./chunk-4GBFZNYZ.js";import{FaceSmileSolidIcon as ws}from"./chunk-EHE6TM43.js";import{FilterMiniIcon as ys}from"./chunk-3QPIARDX.js";import{FilterSolidIcon as xs}from"./chunk-IDHWRHBE.js";import{FinishMiniIcon as vs}from"./chunk-SSNT2D3M.js";import{FinishSolidIcon as qs}from"./chunk-465F75NG.js";import{FireMiniIcon as zs}from"./chunk-XWNYSMBG.js";import{FireSolidIcon as $s}from"./chunk-MHCYAUWZ.js";import{ExternalAlt2Icon as _s}from"./chunk-VQJ4CKDU.js";import{ExternalAltIcon as rp}from"./chunk-OJFBIBPI.js";import{ExternalMiniIcon as op}from"./chunk-XEBHXPOE.js";import{ExternalSolidIcon as mp}from"./chunk-Y4YWLKCV.js";import{EyeMiniIcon as tp}from"./chunk-UNOUO3JN.js";import{EyeOffMiniIcon as cp}from"./chunk-GBPUVNSN.js";import{EyeOffSolidIcon as np}from"./chunk-6FC6PZU4.js";import{EyeSolidIcon as ip}from"./chunk-IIDWSVS5.js";import{EntranceSpinMiniIcon as sp}from"./chunk-WPT5DUCQ.js";import{EntranceSpinSolidIcon as pp}from"./chunk-ZILBCVKS.js";import{EraserMiniIcon as up}from"./chunk-2O2LJV7Q.js";import{EraserSolidIcon as hp}from"./chunk-LXMTX7NE.js";import{ErrorMiniIcon as kp}from"./chunk-WZ76TDXU.js";import{ErrorSolidIcon as fp}from"./chunk-CT6I7VFU.js";import{ExpandMiniIcon as ep}from"./chunk-YRGKL2JP.js";import{ExpandSolidIcon as jp}from"./chunk-3H25EPZU.js";import{EntranceGlideMiniIcon as ap}from"./chunk-27RPYRRI.js";import{EntranceGlideSolidIcon as lp}from"./chunk-XLWPIUZB.js";import{EntranceRevealMiniIcon as dp}from"./chunk-SZ6J44ZK.js";import{EntranceRevealSolidIcon as bp}from"./chunk-FIW2BUK2.js";import{EntranceRiseMiniIcon as Qp}from"./chunk-6RHKNP2Q.js";import{EntranceRiseSolidIcon as Cp}from"./chunk-VL6SOWP5.js";import{EntranceScaleMiniIcon as Fp}from"./chunk-U77527G3.js";import{EntranceScaleSolidIcon as Dp}from"./chunk-VIWM4GD7.js";import{EnterMiniIcon as Jp}from"./chunk-ALDGSODF.js";import{EnterSolidIcon as Kp}from"./chunk-26LO7XCK.js";import{EntranceBounceMiniIcon as Np}from"./chunk-WBLA7EHW.js";import{EntranceBounceSolidIcon as Rp}from"./chunk-MUNG4VXE.js";import{EntranceFadeMiniIcon as Up}from"./chunk-ASPLTZBH.js";import{EntranceFadeSolidIcon as Hp}from"./chunk-5ZT3FJ2W.js";import{EntranceFlipMiniIcon as Mp}from"./chunk-QIFGQE6V.js";import{EntranceFlipSolidIcon as Pp}from"./chunk-ABQWWMTO.js";import{EditAlt2Icon as Xp}from"./chunk-UOSU63FV.js";import{EditAltIcon as Lp}from"./chunk-W4EHFZ7Z.js";import{EditMiniIcon as Zp}from"./chunk-HTXTUUBJ.js";import{EditPencilSquareIcon as Gp}from"./chunk-HPWGEKEJ.js";import{EditSolidIcon as Wp}from"./chunk-IXYWZ667.js";import{EmailAltIcon as Ap}from"./chunk-NYKBG5JF.js";import{EmailMiniIcon as Tp}from"./chunk-CYLOWGUD.js";import{EmailSolidIcon as Ep}from"./chunk-RL7LVMCC.js";import{DragSolidIcon as gp}from"./chunk-TPMOTUTN.js";import{DropMiniIcon as Bp}from"./chunk-6LSFDCSH.js";import{DropSolidIcon as Ip}from"./chunk-BOLX5THX.js";import{DuplicateAltIcon as Sp}from"./chunk-VRXSAWR2.js";import{DuplicateMiniIcon as Op}from"./chunk-PWONWGNZ.js";import{DuplicateSolidIcon as Yp}from"./chunk-OTUO4L3W.js";import{DurationMiniIcon as Vp}from"./chunk-44QWF5X2.js";import{DurationSolidIcon as wp}from"./chunk-PGKNWSSC.js";import{DollarSolidIcon as yp}from"./chunk-KTVER4CP.js";import{DotMiniIcon as xp}from"./chunk-Z4EJ2MNK.js";import{DotSolidIcon as vp}from"./chunk-YN5G6G3E.js";import{DownloadAltIcon as qp}from"./chunk-SOQGJH2H.js";import{DownloadMiniIcon as zp}from"./chunk-NOMPZRDT.js";import{DownloadSolidIcon as $p}from"./chunk-T6GW556F.js";import{DragAltIcon as _p}from"./chunk-4PYQMQQ6.js";import{DragMiniIcon as ru}from"./chunk-JFKFJPLE.js";import{DocumentCheckSolidIcon as ou}from"./chunk-CTN6J6MI.js";import{DocumentDocumentIcon as mu}from"./chunk-HZSE3AMP.js";import{DocumentMagnifyingGlassMiniIcon as tu}from"./chunk-T6ZWKFPU.js";import{DocumentMagnifyingGlassSolidIcon as cu}from"./chunk-MN74RSSD.js";import{DocumentMiniIcon as nu}from"./chunk-PHWEOFEG.js";import{DocumentSolidIcon as iu}from"./chunk-TFRIWTDA.js";import{DollarAltIcon as su}from"./chunk-FPFP6LPK.js";import{DollarMiniIcon as pu}from"./chunk-6MHC2ZMP.js";import{DiagramMiniIcon as uu}from"./chunk-WVJSPRDR.js";import{DiagramSolidIcon as hu}from"./chunk-BOHPJXNM.js";import{DirectionMiniIcon as ku}from"./chunk-CFQZ2UJM.js";import{DirectionSolidIcon as fu}from"./chunk-QKSOCPA2.js";import{DocumentAlt2Icon as eu}from"./chunk-W6ZAUD5E.js";import{DocumentAltIcon as ju}from"./chunk-VOC5AK66.js";import{DocumentCheckAltIcon as au}from"./chunk-VYDLQ3TB.js";import{DocumentCheckMiniIcon as lu}from"./chunk-RIQGDM3S.js";import{CursorSolidIcon as du}from"./chunk-4UCO62M5.js";import{DateMiniIcon as bu}from"./chunk-QFDGSQQE.js";import{DateSolidIcon as Qu}from"./chunk-7R623GIR.js";import{DesktopAltIcon as Cu}from"./chunk-4X2F4CV3.js";import{DesktopMiniIcon as Fu}from"./chunk-SNLTAYYR.js";import{DesktopSolidIcon as Du}from"./chunk-MFKHQ5K2.js";import{DetachMiniIcon as Ju}from"./chunk-4YARHVZH.js";import{DetachSolidIcon as Ku}from"./chunk-LV2YFFA6.js";import{CropTopSolidIcon as Nu}from"./chunk-PWONLQFF.js";import{CropYMiniIcon as Ru}from"./chunk-D5EXIRJF.js";import{CropYSolidIcon as Uu}from"./chunk-6NLKMHX6.js";import{CubeTransparentMiniIcon as Hu}from"./chunk-PON7R7AU.js";import{CubeTransparentSolidIcon as Mu}from"./chunk-X26UU4VQ.js";import{CursorClickMiniIcon as Pu}from"./chunk-S6VIYZ2J.js";import{CursorClickSolidIcon as Xu}from"./chunk-BYDXJORJ.js";import{CursorMiniIcon as Lu}from"./chunk-23E6AHJY.js";import{CropLeftRightMiniIcon as Zu}from"./chunk-JTPBPEYK.js";import{CropLeftRightSolidIcon as Gu}from"./chunk-USYTN7PE.js";import{CropLeftSolidIcon as Wu}from"./chunk-2MBDZMZM.js";import{CropMiniIcon as Au}from"./chunk-GKUHMQ4N.js";import{CropRightMiniIcon as Tu}from"./chunk-KIYTUOVN.js";import{CropRightSolidIcon as Eu}from"./chunk-7F65BNHY.js";import{CropSolidIcon as gu}from"./chunk-WNM2AMCR.js";import{CropTopMiniIcon as Bu}from"./chunk-KO5PBMCF.js";import{CopyToPageSolidIcon as Iu}from"./chunk-XQQVYYP6.js";import{CornerMiniIcon as Su}from"./chunk-FY2CQ5OZ.js";import{CornerSolidIcon as Ou}from"./chunk-IHFHX3JS.js";import{CountUpMiniIcon as Yu}from"./chunk-RRVBOD2U.js";import{CountUpSolidIcon as Vu}from"./chunk-I5VYOWIX.js";import{CropBottomMiniIcon as wu}from"./chunk-BXDYFSP4.js";import{CropBottomSolidIcon as yu}from"./chunk-QM5DFN7Z.js";import{CropLeftMiniIcon as xu}from"./chunk-RA5GR626.js";import{CopiedSolidIcon as vu}from"./chunk-6NM4VNUK.js";import{CopyAlt2Icon as qu}from"./chunk-6OVMOQXY.js";import{CopyAltIcon as zu}from"./chunk-76MY6SHR.js";import{CopyMiniIcon as $u}from"./chunk-COL533ZT.js";import{CopySolidIcon as _u}from"./chunk-R2AU7OKI.js";import{CopyStyleMiniIcon as rh}from"./chunk-FDF6AGVQ.js";import{CopyStyleSolidIcon as oh}from"./chunk-XLTCCVAS.js";import{CopyToPageMiniIcon as mh}from"./chunk-CUH3B5XK.js";import{CompanySolidIcon as th}from"./chunk-7DVL5EM2.js";import{ComposeMiniIcon as ch}from"./chunk-Q6DH4T7K.js";import{ComposeSolidIcon as nh}from"./chunk-YPAX3OVJ.js";import{ContinueListMiniIcon as ih}from"./chunk-QQYCZUHI.js";import{ContinueListSolidIcon as sh}from"./chunk-7LG36CPT.js";import{ContrastMiniIcon as ph}from"./chunk-VZEQGTG6.js";import{ContrastSolidIcon as uh}from"./chunk-GVMMJWNK.js";import{CopiedMiniIcon as hh}from"./chunk-FVZBMQQG.js";import{CollapseSolidIcon as kh}from"./chunk-MFZS4XH4.js";import{ColumnGapMiniIcon as fh}from"./chunk-EBH2ETZL.js";import{ColumnGapSolidIcon as eh}from"./chunk-4CGNDOUU.js";import{ColumnWidthsMiniIcon as jh}from"./chunk-7CQR2P4D.js";import{ColumnWidthsSolidIcon as ah}from"./chunk-V2ILLLXT.js";import{ColumnsMiniIcon as lh}from"./chunk-KU75RLJS.js";import{ColumnsSolidIcon as dh}from"./chunk-VEPD5TDQ.js";import{CompanyMiniIcon as bh}from"./chunk-BXRX5WJC.js";import{CloudPauseMiniIcon as Qh}from"./chunk-SIILHHPE.js";import{CloudPauseSolidIcon as Ch}from"./chunk-5KQTZ4UE.js";import{CloudSlashMiniIcon as Fh}from"./chunk-4YYHXX5L.js";import{CloudSlashSolidIcon as Dh}from"./chunk-IDA6A4QV.js";import{CloudSolidIcon as Jh}from"./chunk-LVL7SQQE.js";import{CodeMiniIcon as Kh}from"./chunk-EY7ITVLB.js";import{CodeSolidIcon as Nh}from"./chunk-QF2QYWLO.js";import{CollapseMiniIcon as Rh}from"./chunk-KMGORP5N.js";import{CloudAlertSolidIcon as Uh}from"./chunk-FWNFAW7P.js";import{CloudArrowUpMiniIcon as Hh}from"./chunk-6RY7OKVQ.js";import{CloudArrowUpSolidIcon as Mh}from"./chunk-2NRMCUOW.js";import{CloudCheckMiniIcon as Ph}from"./chunk-ZV4FB43H.js";import{CloudCheckSolidIcon as Xh}from"./chunk-EAI3RF4X.js";import{CloudDownloadMiniIcon as Lh}from"./chunk-NFQTAYIZ.js";import{CloudDownloadSolidIcon as Zh}from"./chunk-5ATA7ZH4.js";import{CloudMiniIcon as Gh}from"./chunk-OZ7YWV63.js";import{ClockMiniIcon as Wh}from"./chunk-J4FL4OCW.js";import{ClockSolidIcon as Ah}from"./chunk-DORDAZGF.js";import{CloseCircleAltIcon as Th}from"./chunk-TQYPYM4F.js";import{CloseCircleMiniIcon as Eh}from"./chunk-6AKTE47Z.js";import{CloseCircleSolidIcon as gh}from"./chunk-MNJH3BVA.js";import{CloseMiniIcon as Bh}from"./chunk-44CXUHIL.js";import{CloseSolidIcon as Ih}from"./chunk-AHVWJJCK.js";import{CloudAlertMiniIcon as Sh}from"./chunk-BXS2D2KK.js";import{CircleStackMiniIcon as Oh}from"./chunk-AD7JPCLJ.js";import{CircleStackSolidIcon as Yh}from"./chunk-OSFWNBI3.js";import{ClearMarksMiniIcon as Vh}from"./chunk-DSFPJYO5.js";import{ClearMarksSolidIcon as wh}from"./chunk-S4WC23JS.js";import{ClipboardDocumentListMiniIcon as yh}from"./chunk-HGOWLHKZ.js";import{ClipboardDocumentListSolidIcon as xh}from"./chunk-7BPQPIJJ.js";import{ClipboardMiniIcon as vh}from"./chunk-IUUJEV6I.js";import{ClipboardSolidIcon as qh}from"./chunk-XS4PWQSN.js";import{ChevronLeftMiniIcon as zh}from"./chunk-EFP2VLXY.js";import{ChevronLeftSolidIcon as $h}from"./chunk-53JU3XAC.js";import{ChevronRightMiniIcon as _h}from"./chunk-7BLIJJRB.js";import{ChevronRightSolidIcon as rk}from"./chunk-PZVDRXTL.js";import{ChevronUpDownMiniIcon as ok}from"./chunk-6USSSR3X.js";import{ChevronUpDownSolidIcon as mk}from"./chunk-TGS7NZ4S.js";import{ChevronUpMiniIcon as tk}from"./chunk-R7F2DMKZ.js";import{ChevronUpSolidIcon as ck}from"./chunk-UGUQC2CY.js";import{CheckboxMiniIcon as nk}from"./chunk-NBDXKLRS.js";import{CheckboxSolidIcon as ik}from"./chunk-MP32KR6I.js";import{ChevronDoubleLeftMiniIcon as sk}from"./chunk-HFZYDG4H.js";import{ChevronDoubleLeftSolidIcon as pk}from"./chunk-ESYW3ZJ3.js";import{ChevronDoubleRightMiniIcon as uk}from"./chunk-5KV4BIYG.js";import{ChevronDoubleRightSolidIcon as hk}from"./chunk-2B2HGWZR.js";import{ChevronDownMiniIcon as kk}from"./chunk-LRWOR3LD.js";import{ChevronDownSolidIcon as fk}from"./chunk-5YPYINMS.js";import{ChatBubbleOvalLeftEllipsisSolidIcon as ek}from"./chunk-5ONLEJND.js";import{ChatMiniIcon as jk}from"./chunk-TZALPJLH.js";import{ChatSolidIcon as ak}from"./chunk-WVWIQLSO.js";import{CheckAltIcon as lk}from"./chunk-66B4UUBJ.js";import{CheckCircleMiniIcon as dk}from"./chunk-HW23QCM6.js";import{CheckCircleSolidIcon as bk}from"./chunk-4AHAFRLQ.js";import{CheckMiniIcon as Qk}from"./chunk-PZVZQAT7.js";import{CheckSolidIcon as Ck}from"./chunk-CL3TM57T.js";import{ChartLineMiniIcon as Fk}from"./chunk-3AOH4Y5Q.js";import{ChartLineSolidIcon as Dk}from"./chunk-H4D64QWB.js";import{ChartMiniIcon as Jk}from"./chunk-6MK2ZRMR.js";import{ChartSolidIcon as Kk}from"./chunk-WSGRNF7K.js";import{ChatAltIcon as Nk}from"./chunk-A5M37IYD.js";import{ChatBubbleLeftRightMiniIcon as Rk}from"./chunk-EMFPDUC5.js";import{ChatBubbleLeftRightSolidIcon as Uk}from"./chunk-FJCROBEY.js";import{ChatBubbleOvalLeftEllipsisMiniIcon as Hk}from"./chunk-WKQDQ6PX.js";import{CaseNormalSolidIcon as Mk}from"./chunk-EWO3CHRK.js";import{CaseSolidIcon as Pk}from"./chunk-AJS6MGSR.js";import{CaseUpperMiniIcon as Xk}from"./chunk-BTKR3L6T.js";import{CaseUpperSolidIcon as Lk}from"./chunk-C6PK7DPK.js";import{ChartBarMiniIcon as Zk}from"./chunk-PTAWGNOP.js";import{ChartBarSolidIcon as Gk}from"./chunk-JKZBUZJL.js";import{ChartBarSquareMiniIcon as Wk}from"./chunk-O4VLKJH6.js";import{ChartBarSquareSolidIcon as Ak}from"./chunk-WMHMEL4M.js";import{CartMiniIcon as Tk}from"./chunk-SQ3LMAD7.js";import{CartSolidIcon as Ek}from"./chunk-5OB5G4ER.js";import{CaseCapitalizedMiniIcon as gk}from"./chunk-LGLWUWLG.js";import{CaseCapitalizedSolidIcon as Bk}from"./chunk-COBVYQJ5.js";import{CaseLowerMiniIcon as Ik}from"./chunk-6PBWS4U2.js";import{CaseLowerSolidIcon as Sk}from"./chunk-BTWIDDUX.js";import{CaseMiniIcon as Ok}from"./chunk-7NYUPAF2.js";import{CaseNormalMiniIcon as Yk}from"./chunk-K553VJKG.js";import{CaptionSolidIcon as Vk}from"./chunk-625GKS5W.js";import{CarMiniIcon as wk}from"./chunk-HZWDLCON.js";import{CarSolidIcon as yk}from"./chunk-SJAGP7O5.js";import{CardPaymentAlt2Icon as xk}from"./chunk-2ASZVLNP.js";import{CardPaymentAltIcon as vk}from"./chunk-DMALV6HL.js";import{CardPaymentMiniIcon as qk}from"./chunk-USDDEC5E.js";import{CardPaymentSolidIcon as zk}from"./chunk-VEWTFCLT.js";import{CartAltIcon as $k}from"./chunk-EBIWBHDT.js";import{CalculatorSolidIcon as _k}from"./chunk-VCJ4TFNW.js";import{CalendarAlt2Icon as rf}from"./chunk-7C6NKEWV.js";import{CalendarAltIcon as of}from"./chunk-JANKMZGF.js";import{CalendarMiniIcon as mf}from"./chunk-KCE2CIH7.js";import{CalendarSolidIcon as tf}from"./chunk-UM7ENABX.js";import{CameraMiniIcon as cf}from"./chunk-JFKV3HGY.js";import{CameraSolidIcon as nf}from"./chunk-CLKX4AYI.js";import{CaptionMiniIcon as sf}from"./chunk-QAQ7AWOR.js";import{BuildingLibrarySolidIcon as pf}from"./chunk-Z2AQ3XB3.js";import{BuildingOffice2MiniIcon as uf}from"./chunk-TC7LOFWX.js";import{BuildingOffice2SolidIcon as hf}from"./chunk-UC5NQ7J6.js";import{ButtonIconMiniIcon as kf}from"./chunk-JT54HCG7.js";import{ButtonIconSolidIcon as ff}from"./chunk-LQ2WXJLJ.js";import{ButtonMiniIcon as ef}from"./chunk-I4AFC5T6.js";import{ButtonSolidIcon as jf}from"./chunk-BQGZ5XPF.js";import{CalculatorMiniIcon as af}from"./chunk-A53BUHOH.js";import{BrandYoutubeSolidIcon as lf}from"./chunk-UKC6VJE4.js";import{BreadcrumbMiniIcon as df}from"./chunk-SDECOPY3.js";import{BreadcrumbSolidIcon as bf}from"./chunk-KLAGP4GV.js";import{BriefcaseMiniIcon as Qf}from"./chunk-IRZBGVTB.js";import{BriefcaseSolidIcon as Cf}from"./chunk-XS4HBMDN.js";import{BugMiniIcon as Ff}from"./chunk-R2DAQH2T.js";import{BugSolidIcon as Df}from"./chunk-YVLE5OZR.js";import{BuildingLibraryMiniIcon as Jf}from"./chunk-TH4CJHHG.js";import{BrandTiktokSolidIcon as Kf}from"./chunk-W5DLG5T2.js";import{BrandWechatOutlineIcon as Nf}from"./chunk-YKKMR5DU.js";import{BrandWechatSolidIcon as Rf}from"./chunk-474G67EG.js";import{BrandWhatsappOutlineIcon as Uf}from"./chunk-NFMDU4EJ.js";import{BrandWhatsappSolidIcon as Hf}from"./chunk-URWQO4KB.js";import{BrandXOutlineIcon as Mf}from"./chunk-2UCDJCGZ.js";import{BrandXSolidIcon as Pf}from"./chunk-FEVWWOGL.js";import{BrandYoutubeOutlineIcon as Xf}from"./chunk-RBXMTHOT.js";import{BrandLineSolidIcon as Lf}from"./chunk-CAUWHLN7.js";import{BrandLinkedinOutlineIcon as Zf}from"./chunk-6I7EODFJ.js";import{BrandLinkedinSolidIcon as Gf}from"./chunk-BXQYRG7P.js";import{BrandPinterestOutlineIcon as Wf}from"./chunk-ROUTBYMG.js";import{BrandPinterestSolidIcon as Af}from"./chunk-FOXMWLVS.js";import{BrandTelegramOutlineIcon as Tf}from"./chunk-YVULGIDQ.js";import{BrandTelegramSolidIcon as Ef}from"./chunk-NTWI7EGJ.js";import{BrandTiktokOutlineIcon as gf}from"./chunk-T3NJAOJL.js";import{BoxYStretchSolidIcon as Bf}from"./chunk-3FGPFDDK.js";import{BracesMiniIcon as If}from"./chunk-G5T4NYFR.js";import{BracesSolidIcon as Sf}from"./chunk-AHTA7QXO.js";import{BrandFacebookOutlineIcon as Of}from"./chunk-5KZ4WKUI.js";import{BrandFacebookSolidIcon as Yf}from"./chunk-OKRAYHGW.js";import{BrandInstagramOutlineIcon as Vf}from"./chunk-MTZUYC4Y.js";import{BrandInstagramSolidIcon as wf}from"./chunk-LQD7K7HK.js";import{BrandLineOutlineIcon as yf}from"./chunk-EQPVQY5E.js";import{BoxYBetweenSolidIcon as xf}from"./chunk-UO6GQPT3.js";import{BoxYCenterMiniIcon as vf}from"./chunk-JNSMBHNH.js";import{BoxYCenterSolidIcon as qf}from"./chunk-W33HIHEP.js";import{BoxYEndMiniIcon as zf}from"./chunk-IS6FC32P.js";import{BoxYEndSolidIcon as $f}from"./chunk-H62WUDPO.js";import{BoxYStartMiniIcon as _f}from"./chunk-TSP7UFQB.js";import{BoxYStartSolidIcon as re}from"./chunk-6LNNBA3T.js";import{BoxYStretchMiniIcon as oe}from"./chunk-TQ2M7V4E.js";import{BoxXCenterSolidIcon as me}from"./chunk-HFAOJ4OJ.js";import{BoxXEndMiniIcon as te}from"./chunk-K5VNHEVL.js";import{BoxXEndSolidIcon as ce}from"./chunk-FMHHOXML.js";import{BoxXStartMiniIcon as ne}from"./chunk-NQJL6B67.js";import{BoxXStartSolidIcon as ie}from"./chunk-T2FITGKQ.js";import{BoxXStretchMiniIcon as se}from"./chunk-GFYIVFX2.js";import{BoxXStretchSolidIcon as pe}from"./chunk-NLUSV66Z.js";import{BoxYBetweenMiniIcon as ue}from"./chunk-NO6DG2IV.js";import{BorderTopSolidIcon as he}from"./chunk-G3OIMKEO.js";import{BoxItemAlignmentMiniIcon as ke}from"./chunk-O3UL2XW5.js";import{BoxItemAlignmentSolidIcon as fe}from"./chunk-E5G2RURY.js";import{BoxJustifyMiniIcon as ee}from"./chunk-QRTRKWCZ.js";import{BoxJustifySolidIcon as je}from"./chunk-S5IAQ7ZS.js";import{BoxXBetweenMiniIcon as ae}from"./chunk-ESDSE6HY.js";import{BoxXBetweenSolidIcon as le}from"./chunk-6CBF7UQ2.js";import{BoxXCenterMiniIcon as de}from"./chunk-GZ7XQBCG.js";import{BorderAllSolidIcon as be}from"./chunk-BVZSNZO2.js";import{BorderBottomMiniIcon as Qe}from"./chunk-UNETPVQD.js";import{BorderBottomSolidIcon as Ce}from"./chunk-EQJFKRK5.js";import{BorderLeftMiniIcon as Fe}from"./chunk-GWXTRUSZ.js";import{BorderLeftSolidIcon as De}from"./chunk-BLTHZSWG.js";import{BorderRightMiniIcon as Je}from"./chunk-6KGMGZHE.js";import{BorderRightSolidIcon as Ke}from"./chunk-U7Y6VI2V.js";import{BorderTopMiniIcon as Ne}from"./chunk-SJ23KTCO.js";import{BoltSolidIcon as Re}from"./chunk-RLUX7UZ3.js";import{BookOpenMiniIcon as Ue}from"./chunk-MDEYAVX5.js";import{BookOpenSolidIcon as He}from"./chunk-KNIHHEZ6.js";import{BookmarkMiniIcon as Me}from"./chunk-PJZ4TOFR.js";import{BookmarkSolidIcon as Pe}from"./chunk-GVSGP4P3.js";import{BookmarkSquareMiniIcon as Xe}from"./chunk-YH4GOPT3.js";import{BookmarkSquareSolidIcon as Le}from"./chunk-ERKFGC5C.js";import{BorderAllMiniIcon as Ze}from"./chunk-QKEJNJSJ.js";import{BlockTextSolidIcon as Ge}from"./chunk-IADBERII.js";import{BlockVideoMiniIcon as We}from"./chunk-ZMYTKXYP.js";import{BlockVideoSolidIcon as Ae}from"./chunk-X6IMHWDH.js";import{BlogPostMiniIcon as Te}from"./chunk-D2VXCCQV.js";import{BlogPostSolidIcon as Ee}from"./chunk-ADILLUBC.js";import{BoldMiniIcon as ge}from"./chunk-OZIHC6LT.js";import{BoldSolidIcon as Be}from"./chunk-JTECQPFZ.js";import{BoltMiniIcon as Ie}from"./chunk-WD2PAOXY.js";import{BlockLayeredImagesSolidIcon as Se}from"./chunk-KW7DKURL.js";import{BlockProductTitleMiniIcon as Oe}from"./chunk-5C56H7RM.js";import{BlockProductTitleSolidIcon as Ye}from"./chunk-VK4OK5MQ.js";import{BlockSectionMiniIcon as Ve}from"./chunk-OONUEZIW.js";import{BlockSectionSolidIcon as we}from"./chunk-5L3MHRXQ.js";import{BlockSpacerMiniIcon as ye}from"./chunk-S2PKAWDA.js";import{BlockSpacerSolidIcon as xe}from"./chunk-K6ZY2PQV.js";import{BlockTextMiniIcon as ve}from"./chunk-7YJ6QRFY.js";import{BlockCouponSolidIcon as qe}from"./chunk-LBJQOR7U.js";import{BlockDividerMiniIcon as ze}from"./chunk-ZMON54V2.js";import{BlockDividerSolidIcon as $e}from"./chunk-6PAEECEY.js";import{BlockFooterMiniIcon as _e}from"./chunk-7WLRGQU2.js";import{BlockFooterSolidIcon as rj}from"./chunk-KN6Z3QSE.js";import{BlockHeadingMiniIcon as oj}from"./chunk-KHSTQGAQ.js";import{BlockHeadingSolidIcon as mj}from"./chunk-6OPE4Z6S.js";import{BlockLayeredImagesMiniIcon as tj}from"./chunk-G2KSTEIR.js";import{BlackAndWhiteSolidIcon as cj}from"./chunk-OOCJAWJB.js";import{BlockBadgeMiniIcon as nj}from"./chunk-TNM6UGRR.js";import{BlockBadgeSolidIcon as ij}from"./chunk-CDXABHGL.js";import{BlockBannerMiniIcon as sj}from"./chunk-H2FH3U4E.js";import{BlockBannerSolidIcon as pj}from"./chunk-GIU6VXJB.js";import{BlockBoxMiniIcon as uj}from"./chunk-DIM5ZZ5Y.js";import{BlockBoxSolidIcon as hj}from"./chunk-3RVAJR6Y.js";import{BlockCouponMiniIcon as kj}from"./chunk-JZEQTZRG.js";import{BellAltIcon as fj}from"./chunk-FXTYVMSO.js";import{BellMiniIcon as ej}from"./chunk-VZSPQOIL.js";import{BellPlusMiniIcon as jj}from"./chunk-7FKABCZX.js";import{BellPlusSolidIcon as aj}from"./chunk-TNMTBNFE.js";import{BellSolidIcon as lj}from"./chunk-D5KZHQUQ.js";import{BillingMiniIcon as dj}from"./chunk-NMZH7XRX.js";import{BillingSolidIcon as bj}from"./chunk-GIDCFJFJ.js";import{BlackAndWhiteMiniIcon as Qj}from"./chunk-LHKI2VJW.js";import{Bars3BottomLeftMiniIcon as Cj}from"./chunk-YIURRPQ7.js";import{Bars3BottomLeftSolidIcon as Fj}from"./chunk-UO5KVL7C.js";import{BatteryMiniIcon as Dj}from"./chunk-M4PBEZVP.js";import{BatterySolidIcon as Jj}from"./chunk-L2NH35JL.js";import{BeakerMiniIcon as Kj}from"./chunk-Y4HNZVNW.js";import{BeakerSolidIcon as Nj}from"./chunk-XAYE2WUP.js";import{BellAlertMiniIcon as Rj}from"./chunk-YS5B33PA.js";import{BellAlertSolidIcon as Uj}from"./chunk-NQ74ZNNG.js";import{AtSymbolSolidIcon as Hj}from"./chunk-UYZAW4XK.js";import{AttachAltIcon as Mj}from"./chunk-7AUFUC7S.js";import{AttachMiniIcon as Pj}from"./chunk-3ZCQPEQB.js";import{AttachSolidIcon as Xj}from"./chunk-F3HV52IQ.js";import{BackgroundMiniIcon as Lj}from"./chunk-GJLJDWP2.js";import{BackgroundSolidIcon as Zj}from"./chunk-E25DJCZX.js";import{BagMiniIcon as Gj}from"./chunk-3UXCHN2Y.js";import{BagSolidIcon as Wj}from"./chunk-B64SQUAI.js";import{ArrowTrendingDownSolidIcon as Aj}from"./chunk-KQHNX5WQ.js";import{ArrowTrendingUpMiniIcon as Tj}from"./chunk-C7PJ2BFZ.js";import{ArrowTrendingUpSolidIcon as Ej}from"./chunk-WRVHXP72.js";import{ArrowUpMiniIcon as gj}from"./chunk-NPMGJBVE.js";import{ArrowUpRightMiniIcon as Bj}from"./chunk-DCQS3CY7.js";import{ArrowUpRightSolidIcon as Ij}from"./chunk-SANX3GBB.js";import{ArrowUpSolidIcon as Sj}from"./chunk-OOXD67PN.js";import{AtSymbolMiniIcon as Oj}from"./chunk-MM4WJHXO.js";import{ArrowLeftEndOnRectangleSolidIcon as Yj}from"./chunk-H3CZUUUV.js";import{ArrowLeftMiniIcon as Vj}from"./chunk-XK2TKHHU.js";import{ArrowLeftSolidIcon as wj}from"./chunk-XQFFEQNA.js";import{ArrowLongRightMiniIcon as yj}from"./chunk-WDNMERJD.js";import{ArrowLongRightSolidIcon as xj}from"./chunk-2LCAJKJM.js";import{ArrowRightMiniIcon as vj}from"./chunk-L5VJEUNL.js";import{ArrowRightSolidIcon as qj}from"./chunk-QEXKJWAA.js";import{ArrowTrendingDownMiniIcon as zj}from"./chunk-IW3H2NIS.js";import{AnimationSolidIcon as $j}from"./chunk-RLY6QGCY.js";import{AppsMiniIcon as _j}from"./chunk-C5FRN2MO.js";import{AppsSolidIcon as ra}from"./chunk-KKBQRMEQ.js";import{ArchiveBoxMiniIcon as oa}from"./chunk-CVWRL3SR.js";import{ArchiveBoxSolidIcon as ma}from"./chunk-DSRZ22NW.js";import{ArrowDownMiniIcon as ta}from"./chunk-UEETKW2R.js";import{ArrowDownSolidIcon as ca}from"./chunk-BUA6AISP.js";import{ArrowLeftEndOnRectangleMiniIcon as na}from"./chunk-6SGFZZNU.js";import{AlignRightSolidIcon as ia}from"./chunk-DP7WVTGQ.js";import{AlignSeparateMiniIcon as sa}from"./chunk-LSSZLU65.js";import{AlignSeparateSolidIcon as pa}from"./chunk-MKS6YLYR.js";import{AlignmentMiniIcon as ua}from"./chunk-GCR66E4S.js";import{AlignmentSolidIcon as ha}from"./chunk-3LG5YFCK.js";import{AnchorMiniIcon as ka}from"./chunk-ZRPTWML6.js";import{AnchorSolidIcon as fa}from"./chunk-SRX7THEC.js";import{AnimationMiniIcon as ea}from"./chunk-4ZI75XUP.js";import{AdjustSolidIcon as ja}from"./chunk-FFTCTT6J.js";import{AlignCenterMiniIcon as aa}from"./chunk-CJWPYYJZ.js";import{AlignCenterSolidIcon as la}from"./chunk-7U6KJNZ2.js";import{AlignJustifyMiniIcon as da}from"./chunk-UI2XKCNM.js";import{AlignJustifySolidIcon as ba}from"./chunk-IQAFZJO5.js";import{AlignLeftMiniIcon as Qa}from"./chunk-DOBDKX3N.js";import{AlignLeftSolidIcon as Ca}from"./chunk-UBS44QNF.js";import{AlignRightMiniIcon as Fa}from"./chunk-JHTRFNOJ.js";import{AccountUserCircleIcon as Da}from"./chunk-3OIQSCGM.js";import{AddCircleMiniIcon as Ja}from"./chunk-DFAIY54I.js";import{AddCircleSolidIcon as Ka}from"./chunk-DTLKYF45.js";import{AddMiniIcon as Na}from"./chunk-PMAX5YW2.js";import{AddPersonMiniIcon as Ra}from"./chunk-77USZ3CH.js";import{AddPersonSolidIcon as Ua}from"./chunk-EJ7CUJUL.js";import{AddSolidIcon as Ha}from"./chunk-SSYXGVCW.js";import{AdjustMiniIcon as Ma}from"./chunk-MUUIDQKX.js";import{AccentSolidIcon as Pa}from"./chunk-ZTN72H54.js";import{AccordionMiniIcon as Xa}from"./chunk-ASM2VLQ2.js";import{AccordionSolidIcon as La}from"./chunk-I2DIQQOR.js";import{AccountAltIcon as Za}from"./chunk-EYBN5UBA.js";import{AccountCircleMiniIcon as Ga}from"./chunk-ONJKQ4F4.js";import{AccountCircleSolidIcon as Wa}from"./chunk-PMP4MCXR.js";import{AccountMiniIcon as Aa}from"./chunk-VHGJTJ5C.js";import{AccountSolidIcon as Ta}from"./chunk-LMF4FIGQ.js";import{AcademicCapMiniIcon as Ea}from"./chunk-JSGNZTYP.js";import{AcademicCapSolidIcon as ga}from"./chunk-4XM7JDQT.js";import{AccentMiniIcon as Ba}from"./chunk-FA6U6ZML.js";var Ia=["alt","alt-2","alt-3","arrow-path-rounded-square","building-storefront-20-solid","document","mini","outline","pencil-square","queue-list","rectangle-stack","solid","user-circle","user-group"],Sa={name:"efficient",label:"Efficient",icons:{},looks:{alt:{account:Za,attach:Mj,bell:fj,"block-image":Zi,"block-included-list":Tn,calendar:of,"calendar-check":of,"card-payment":vk,cart:$k,category:Bs,chat:Nk,check:lk,"close-circle":Th,copy:zu,dashboard:Hs,desktop:Cu,document:ju,"document-check":au,dollar:su,download:qp,drag:_p,duplicate:Sp,edit:Lp,email:Ap,external:rp,flag:Ts,folder:Bs,globe:Ns,grid:Hs,image:Zi,inbox:Ki,info:ki,layers:bi,layout:ii,list:Tn,lock:Xn,map:hn,page:rc,"paint-brush":Lr,phone:Ht,play:Wt,"rectangle-group":ii,refresh:Sm,rename:Lp,scale:Rm,"scroll-text":ju,search:jm,send:cm,sort:po,sparkles:eo,star:wr,styles:Lr,tag:dr,target:Cr,title:Ts,trash:Y,truck:y,wheel:Cr},"alt-2":{"block-included-list":Wn,calendar:rf,"calendar-check":rf,"card-payment":xk,copy:qu,document:eu,edit:Xp,external:_s,list:Wn,rename:Xp,"scroll-text":eu,search:em,send:tm,sparkles:ko,trash:O},"alt-3":{"block-included-list":An,list:An,sparkles:fo},"arrow-path-rounded-square":{refresh:Om},"building-storefront-20-solid":{store:Or},document:{document:mu,"scroll-text":mu},mini:{"academic-cap":Ea,accent:Ba,accordion:Xa,account:Aa,"account-circle":Ga,add:Na,"add-circle":Ja,"add-person":Ra,adjust:Ma,"align-center":aa,"align-justify":da,"align-left":Qa,"align-right":Fa,"align-separate":sa,alignment:ua,anchor:ka,animation:ea,apps:_j,"archive-box":oa,arrow:vj,"arrow-down":ta,"arrow-left":Vj,"arrow-left-end-on-rectangle":na,"arrow-long-right":yj,"arrow-right":vj,"arrow-trending-down":zj,"arrow-trending-up":Tj,"arrow-up":gj,"arrow-up-right":Bj,"at-symbol":Oj,attach:Pj,background:Lj,bag:Gj,bank:Jf,"bars-3-bottom-left":Cj,battery:Dj,beaker:Kj,bell:ej,"bell-alert":Rj,"bell-plus":jj,billing:dj,"black-and-white":Qj,"block-badge":nj,"block-banner":sj,"block-box":uj,"block-button":ef,"block-column":lh,"block-coupon":kj,"block-divider":ze,"block-footer":_e,"block-heading":oj,"block-image":Gi,"block-included-list":Bn,"block-layered-images":tj,"block-product":lt,"block-product-title":Oe,"block-section":Ve,"block-social":Oo,"block-spacer":ye,"block-text":ve,"block-video":We,"blog-post":Te,bold:ge,bolt:Ie,"book-open":Ue,bookmark:Me,"bookmark-square":Xe,"border-all":Ze,"border-bottom":Qe,"border-left":Fe,"border-right":Je,"border-top":Ne,"box-item-alignment":ke,"box-justify":ee,"box-x-between":ae,"box-x-center":de,"box-x-end":te,"box-x-start":ne,"box-x-stretch":se,"box-y-between":ue,"box-y-center":vf,"box-y-end":zf,"box-y-start":_f,"box-y-stretch":oe,braces:If,breadcrumb:df,briefcase:Qf,bug:Ff,"bug-ant":Ff,"building-library":Jf,"building-office-2":uf,button:ef,"button-arrow":vj,"button-icon":kf,calculator:af,calendar:mf,"calendar-check":mf,camera:cf,caption:sf,car:wk,"card-payment":qk,caret:kk,cart:Tk,case:Ok,"case-capitalized":gk,"case-lower":Ik,"case-normal":Yk,"case-upper":Xk,category:Is,chart:Jk,"chart-bar":Zk,"chart-bar-square":Wk,"chart-line":Fk,chat:jk,"chat-bubble-left-right":Rk,"chat-bubble-oval-left-ellipsis":Hk,check:Qk,"check-circle":dk,checkbox:nk,chevron:kk,"chevron-double":uk,"chevron-double-left":sk,"chevron-double-right":uk,"chevron-down":kk,"chevron-left":zh,"chevron-right":_h,"chevron-up":tk,"chevron-up-down":ok,"circle-stack":Oh,"clear-marks":Vh,clipboard:vh,"clipboard-check":hh,"clipboard-document-list":yh,"clipboard-list":yh,clock:Wh,close:Bh,"close-circle":Eh,cloud:Gh,"cloud-alert":Sh,"cloud-arrow-up":Hh,"cloud-check":Ph,"cloud-download":Lh,"cloud-pause":Qh,"cloud-slash":Fh,code:Kh,"code-bracket":Kh,collapse:Rh,"collapse-all":Rh,"column-gap":fh,"column-widths":jh,columns:lh,company:bh,compose:ch,"continue-list":ih,contrast:ph,cookie:Oh,copied:hh,copy:$u,"copy-style":rh,"copy-to-page":mh,corner:Su,"count-up":Yu,crop:Au,"crop-bottom":wu,"crop-left":xu,"crop-left-right":Zu,"crop-right":Tu,"crop-top":Bu,"crop-y":Ru,"cube-transparent":Hu,cursor:Lu,"cursor-arrow-rays":Pu,"cursor-click":Pu,dashboard:es,date:bu,desktop:Fu,detach:Ju,diagram:uu,direction:ku,"direction-down":ta,"direction-left":Vj,"direction-right":vj,"direction-up":gj,document:nu,"document-check":lu,"document-magnifying-glass":tu,dollar:pu,dot:xp,download:zp,drag:ru,drop:Bp,duplicate:Op,duration:Vp,edit:Zp,email:Tp,enter:Jp,"entrance-bounce":Np,"entrance-fade":Up,"entrance-flip":Mp,"entrance-glide":ap,"entrance-reveal":dp,"entrance-rise":Qp,"entrance-scale":Fp,"entrance-spin":sp,eraser:up,error:kp,expand:ep,external:op,eye:tp,"eye-off":cp,"face-smile":Vs,filter:ys,finish:vs,fire:zs,flag:Es,folder:Is,"folder-open":Ss,"folder-plus":Ys,forward:Xs,"full-width":Zs,gap:Ws,gem:Fs,gift:Js,globe:Rs,grid:es,ground:as,hand:ds,"hand-thumb-up":Qs,hash:ns,headquarters:ss,heart:us,height:ks,help:zi,"help-off":$i,hexagon:os,home:ts,hover:Vi,"hover-lift":Oi,"hover-next-image":wi,"hover-none":xi,"hover-rotate":qi,"hover-zoom":Ti,"icon-above-text":gi,"icon-after-text":Ii,"icon-at-end":Ui,"icon-before-text":Mi,identification:Xi,image:Gi,"image-off":Qi,images:Di,inbox:Ni,info:fi,italic:ji,key:li,layers:ti,layout:si,"letter-spacing":ui,lightbulb:vn,"line-between":zn,"line-dashed":_n,"line-dotted":oi,"line-solid":In,"line-spacing":On,"line-style":Vn,link:yn,"link-slash":xn,list:Bn,"list-format":En,"list-none":Nn,location:Mn,lock:Ln,logo:bn,logout:Cn,loop:Kn,"loop-marquee":Dn,map:kn,media:cn,"media-layout-big-two":en,"media-layout-inset":an,"media-layout-side-by-side":rn,"media-layout-stacked":mn,megaphone:sn,menu:wc,meta:xc,microphone:qc,money:$c,moon:Ec,more:Bc,"more-vertical":Sc,"move-down":ta,"move-up":gj,newspaper:Te,"no-symbol":Yc,note:Pc,nudge:Lc,"nudge-x":Gc,"nudge-y":Ac,"numbered-list":Dc,opacity:Kc,"own-text":Rc,package:Hc,"package-open":Mc,"padding-all":lc,"padding-bottom":bc,"padding-left":Cc,"padding-left-right":Fc,"padding-right":pc,"padding-top":hc,"padding-x":fc,"padding-y":$t,page:oc,"paint-brush":Zr,palette:tc,"panel-left":nc,"panel-right":Vt,"paragraph-spacing":yt,parcel:Hc,paste:vh,"paste-style":vt,pause:zt,pen:Tt,people:gt,percent:St,phone:Xt,"phone-hidden":Mt,placement:Zt,play:Ct,"plus-minus":Dt,power:Kt,"presentation-chart-bar":Rt,print:ft,product:lt,"product-field":jt,"product-size":dt,progress:ct,quote:it,"radio-dot":pt,radius:ht,receipt:qm,"receipt-percent":zm,"receipt-refund":_m,"rectangle-group":si,redo:mt,refresh:Ym,remove:wm,"remove-circle":wm,rename:Zp,reply:Gm,"reply-all":xm,revert:Am,robot:Em,rotate:Bm,scale:Um,"scroll-fade-in":Mm,"scroll-fade-out":Xm,"scroll-move-down":Zm,"scroll-move-up":Qm,"scroll-parallax":Fm,"scroll-point":Jm,"scroll-text":nu,"scroll-zoom-in":Nm,"scroll-zoom-out":km,search:am,"select-all":dm,send:nm,"separator-slash":sm,"separator-triangle":um,server:vo,settings:zo,shadow:_o,"shape-ellipse":om,"shape-rect":Io,share:Oo,shared:Vo,"shield-check":yo,"shield-exclamation":Zo,"sides-each":Wo,signal:To,"signal-slash":Eo,sitemap:No,"slide-arrows-bare":_h,"slide-arrows-round":Uo,"slide-arrows-square":Mo,"slide-picker-bar":Xo,"slide-picker-cards":lo,"slide-picker-dots":Qo,"slide-picker-numbers":Fo,"slide-picker-squares":Jo,sort:uo,sparkles:jo,speaker:ro,"speaker-wave":ro,"spec-table":mo,split:co,square:io,star:yr,state:vr,"status-circle":zr,"status-dot":Tr,sticky:gr,"stop-circle":Ir,store:Yr,strike:Pr,styles:Zr,subscript:Wr,"success-burst":L,sun:Fr,superscript:Jr,swap:Nr,swatch:vs,table:Ur,tablet:er,tabs:ar,tag:br,target:nr,team:sr,telephone:ur,template:Me,"text-color":kr,"text-lines":Cj,"text-size":z,"text-small":_,"text-value":or,texture:tr,theme:vs,ticket:kj,title:Es,trash:V,trigger:Ie,truck:x,tv:q,type:A,tyre:E,underline:B,undo:S,upload:H,"v-align":P,verified:L,"video-off":G,"view-columns":C,wallet:D,warning:K,weight:R,wheel:nr,widgets:f,width:j,window:l,windows:b,"words-from":c,wrap:i,wrench:p,"wrench-screwdriver":u,"zoom-in":o},outline:{"brand-facebook":Of,"brand-instagram":Vf,"brand-line":yf,"brand-linkedin":Zf,"brand-pinterest":Wf,"brand-telegram":Tf,"brand-tiktok":gf,"brand-wechat":Nf,"brand-whatsapp":Uf,"brand-x":Mf,"brand-youtube":Xf},"pencil-square":{edit:Gp,rename:Gp},"queue-list":{"block-included-list":Un,list:Un},"rectangle-stack":{layers:ci},solid:{"academic-cap":ga,accent:Pa,accordion:La,account:Ta,"account-circle":Wa,add:Ha,"add-circle":Ka,"add-person":Ua,adjust:ja,"align-center":la,"align-justify":ba,"align-left":Ca,"align-right":ia,"align-separate":pa,alignment:ha,anchor:fa,animation:$j,apps:ra,"archive-box":ma,arrow:qj,"arrow-down":ca,"arrow-left":wj,"arrow-left-end-on-rectangle":Yj,"arrow-long-right":xj,"arrow-right":qj,"arrow-trending-down":Aj,"arrow-trending-up":Ej,"arrow-up":Sj,"arrow-up-right":Ij,"at-symbol":Hj,attach:Xj,background:Zj,bag:Wj,bank:pf,"bars-3-bottom-left":Fj,battery:Jj,beaker:Nj,bell:lj,"bell-alert":Uj,"bell-plus":aj,billing:bj,"black-and-white":cj,"block-badge":ij,"block-banner":pj,"block-box":hj,"block-button":jf,"block-column":dh,"block-coupon":qe,"block-divider":$e,"block-footer":rj,"block-heading":mj,"block-image":Fi,"block-included-list":Hn,"block-layered-images":Se,"block-product":Qt,"block-product-title":Ye,"block-section":we,"block-social":Yo,"block-spacer":xe,"block-text":Ge,"block-video":Ae,"blog-post":Ee,bold:Be,bolt:Re,"book-open":He,bookmark:Pe,"bookmark-square":Le,"border-all":be,"border-bottom":Ce,"border-left":De,"border-right":Ke,"border-top":he,"box-item-alignment":fe,"box-justify":je,"box-x-between":le,"box-x-center":me,"box-x-end":ce,"box-x-start":ie,"box-x-stretch":pe,"box-y-between":xf,"box-y-center":qf,"box-y-end":$f,"box-y-start":re,"box-y-stretch":Bf,braces:Sf,breadcrumb:bf,briefcase:Cf,bug:Df,"bug-ant":Df,"building-library":pf,"building-office-2":hf,button:jf,"button-arrow":qj,"button-icon":ff,calculator:_k,calendar:tf,"calendar-check":tf,camera:nf,caption:Vk,car:yk,"card-payment":zk,caret:fk,cart:Ek,case:Pk,"case-capitalized":Bk,"case-lower":Sk,"case-normal":Mk,"case-upper":Lk,category:Ps,chart:Kk,"chart-bar":Gk,"chart-bar-square":Ak,"chart-line":Dk,chat:ak,"chat-bubble-left-right":Uk,"chat-bubble-oval-left-ellipsis":ek,check:Ck,"check-circle":bk,checkbox:ik,chevron:fk,"chevron-double":hk,"chevron-double-left":pk,"chevron-double-right":hk,"chevron-down":fk,"chevron-left":$h,"chevron-right":rk,"chevron-up":ck,"chevron-up-down":mk,"circle-stack":Yh,"clear-marks":wh,clipboard:qh,"clipboard-check":vu,"clipboard-document-list":xh,"clipboard-list":xh,clock:Ah,close:Ih,"close-circle":gh,cloud:Jh,"cloud-alert":Uh,"cloud-arrow-up":Mh,"cloud-check":Xh,"cloud-download":Zh,"cloud-pause":Ch,"cloud-slash":Dh,code:Nh,"code-bracket":Nh,collapse:kh,"collapse-all":kh,"column-gap":eh,"column-widths":ah,columns:dh,company:th,compose:nh,"continue-list":sh,contrast:uh,cookie:Yh,copied:vu,copy:_u,"copy-style":oh,"copy-to-page":Iu,corner:Ou,"count-up":Vu,crop:gu,"crop-bottom":yu,"crop-left":Wu,"crop-left-right":Gu,"crop-right":Eu,"crop-top":Nu,"crop-y":Uu,"cube-transparent":Mu,cursor:du,"cursor-arrow-rays":Xu,"cursor-click":Xu,dashboard:js,date:Qu,desktop:Du,detach:Ku,diagram:hu,direction:fu,"direction-down":ca,"direction-left":wj,"direction-right":qj,"direction-up":Sj,document:iu,"document-check":ou,"document-magnifying-glass":cu,dollar:yp,dot:vp,download:$p,drag:gp,drop:Ip,duplicate:Yp,duration:wp,edit:Wp,email:Ep,enter:Kp,"entrance-bounce":Rp,"entrance-fade":Hp,"entrance-flip":Pp,"entrance-glide":lp,"entrance-reveal":bp,"entrance-rise":Cp,"entrance-scale":Dp,"entrance-spin":pp,eraser:hp,error:fp,expand:jp,external:mp,eye:ip,"eye-off":np,"face-smile":ws,filter:xs,finish:qs,fire:$s,flag:gs,folder:Ps,"folder-open":Os,"folder-plus":Ms,forward:Ls,"full-width":Gs,gap:As,gem:Ds,gift:Ks,globe:Us,grid:js,ground:ls,hand:bs,"hand-thumb-up":Cs,hash:is,headquarters:ps,heart:hs,height:fs,help:rs,"help-off":_i,hexagon:ms,home:cs,hover:Ai,"hover-lift":Yi,"hover-next-image":yi,"hover-none":vi,"hover-rotate":Wi,"hover-zoom":Ei,"icon-above-text":Bi,"icon-after-text":Si,"icon-at-end":Hi,"icon-before-text":Pi,identification:Li,image:Fi,"image-off":Ci,images:Ji,inbox:Ri,info:ei,italic:ai,key:di,layers:ni,layout:pi,"letter-spacing":hi,lightbulb:qn,"line-between":$n,"line-dashed":ri,"line-dotted":mi,"line-solid":Sn,"line-spacing":Yn,"line-style":wn,link:Gn,"link-slash":Zn,list:Hn,"list-format":gn,"list-none":Rn,location:Pn,lock:dn,logo:Qn,logout:Fn,loop:un,"loop-marquee":Jn,map:fn,media:nn,"media-layout-big-two":jn,"media-layout-inset":ln,"media-layout-side-by-side":on,"media-layout-stacked":tn,megaphone:pn,menu:yc,meta:vc,microphone:zc,money:_c,moon:gc,more:Ic,"more-vertical":Oc,"move-down":ca,"move-up":Sj,newspaper:Ee,"no-symbol":Vc,note:Xc,nudge:Zc,"nudge-x":Wc,"nudge-y":Tc,"numbered-list":Jc,opacity:Nc,"own-text":Uc,package:ac,"package-open":jc,"padding-all":dc,"padding-bottom":Qc,"padding-left":sc,"padding-left-right":ic,"padding-right":uc,"padding-top":kc,"padding-x":ec,"padding-y":_t,page:mc,"paint-brush":Gr,palette:cc,"panel-left":Yt,"panel-right":wt,"paragraph-spacing":xt,parcel:ac,paste:qh,"paste-style":qt,pause:At,pen:Et,people:Bt,percent:Ot,phone:Lt,"phone-hidden":Pt,placement:Gt,play:Ft,"plus-minus":Jt,power:Nt,"presentation-chart-bar":Ut,print:et,product:Qt,"product-field":at,"product-size":bt,progress:nt,quote:st,"radio-dot":ut,radius:kt,receipt:ot,"receipt-percent":$m,"receipt-refund":rt,"rectangle-group":pi,redo:tt,refresh:Vm,remove:ym,"remove-circle":ym,rename:Wp,reply:Wm,"reply-all":vm,revert:Tm,robot:gm,rotate:Im,scale:Hm,"scroll-fade-in":Pm,"scroll-fade-out":Lm,"scroll-move-down":bm,"scroll-move-up":Cm,"scroll-parallax":Dm,"scroll-point":Km,"scroll-text":iu,"scroll-zoom-in":hm,"scroll-zoom-out":fm,search:lm,"select-all":mm,send:im,"separator-slash":pm,"separator-triangle":xo,server:qo,settings:$o,shadow:rm,"shape-ellipse":Bo,"shape-rect":So,share:Yo,shared:wo,"shield-check":Lo,"shield-exclamation":Go,"sides-each":Ao,signal:Ko,"signal-slash":go,sitemap:Ro,"slide-arrows-bare":rk,"slide-arrows-round":Ho,"slide-arrows-square":Po,"slide-picker-bar":ao,"slide-picker-cards":bo,"slide-picker-dots":Co,"slide-picker-numbers":Do,"slide-picker-squares":so,sort:ho,sparkles:_r,speaker:oo,"speaker-wave":oo,"spec-table":to,split:no,square:Vr,star:xr,state:qr,"status-circle":$r,"status-dot":Er,sticky:Br,"stop-circle":Sr,store:Mr,strike:Xr,styles:Gr,subscript:Ar,"success-burst":Z,sun:Dr,superscript:Kr,swap:Rr,swatch:qs,table:Hr,tablet:jr,tabs:lr,tag:Qr,target:ir,team:pr,telephone:hr,template:Pe,"text-color":fr,"text-lines":Fj,"text-size":$,"text-small":rr,"text-value":mr,texture:cr,theme:qs,ticket:qe,title:gs,trash:w,trigger:Re,truck:v,tv:W,type:T,tyre:g,underline:I,undo:U,upload:M,"v-align":X,verified:Z,"video-off":Q,"view-columns":F,wallet:J,warning:N,weight:k,wheel:ir,widgets:e,width:a,window:d,windows:t,"words-from":n,wrap:s,wrench:r,"wrench-screwdriver":h,"zoom-in":m,"brand-facebook":Yf,"brand-instagram":wf,"brand-line":Lf,"brand-linkedin":Gf,"brand-pinterest":Af,"brand-telegram":Ef,"brand-tiktok":Kf,"brand-wechat":Rf,"brand-whatsapp":Hf,"brand-x":Pf,"brand-youtube":lf},"user-circle":{account:Da},"user-group":{people:It}}};export{Ia as efficientLookNames,Sa as efficientLooks};
@@ -1 +1 @@
1
- import{setBoundaryErrorReporter as e}from"./chunk-KNUR2UEG.js";import{VERSION as t}from"./chunk-RZVODVGN.js";var n=-1,i=()=>n,a=e=>{addEventListener("pageshow",t=>{t.persisted&&(n=t.timeStamp,e(t))},!0)},r=(e,t,n,i)=>{let a,r;return o=>{var s,c;t.value>=0&&(o||i)&&(r=t.value-(a??0),(r||void 0===a)&&(a=t.value,t.delta=r,t.rating=(s=t.value)>(c=n)[1]?"poor":s>c[0]?"needs-improvement":"good",e(t)))}},o=e=>{requestAnimationFrame(()=>requestAnimationFrame(()=>e()))},s=()=>{const e=performance.getEntriesByType("navigation")[0];if(e&&e.responseStart>0&&e.responseStart<performance.now())return e},c=()=>s()?.activationStart??0,d=-1,l=/* @__PURE__ */new Set,u=()=>"hidden"!==document.visibilityState||document.prerendering?1/0:0,f=e=>{if("hidden"===document.visibilityState){if("visibilitychange"===e.type)for(const e of l)e();isFinite(d)||(d="visibilitychange"===e.type?e.timeStamp:0,removeEventListener("prerenderingchange",f,!0))}},h=(e=!1)=>{if(e&&(d=1/0),d<0){const e=c(),t=document.prerendering?void 0:globalThis.performance.getEntriesByType("visibility-state").find(t=>"hidden"===t.name&&t.startTime>=e)?.startTime;d=t??u(),addEventListener("visibilitychange",f,!0),addEventListener("prerenderingchange",f,!0),a(()=>{setTimeout(()=>{d=u()})})}return{get firstHiddenTime(){return d},onHidden(e){l.add(e)}}},g=(e,t=-1,n,a=0,r,o,d)=>{const l=s(),u=l?.navigationId||0;let f="navigate";return n?f=n:i()>=0?f="back-forward-cache":l&&(document.prerendering||c()>0?f="prerender":document.wasDiscarded?f="restore":l.type&&(f=l.type.replace(/_/g,"-"))),{name:e,value:t,rating:"good",delta:0,entries:[],id:`v6-${Date.now()}-${Math.floor(8999999999999*Math.random())+1e12}`,navigationType:f,navigationId:a||u,navigationInteractionId:r,navigationURL:o||l?.name,navigationStartTime:d||0}},v=/* @__PURE__ */new WeakMap;function p(e,t){let n=v.get(t);return n||(n=/* @__PURE__ */new WeakMap,v.set(t,n)),n.get(e)||n.set(e,new t),n.get(e)}var m,y=class{t;i=0;o=[];h(e){if(e.hadRecentInput)return;const t=this.o[0],n=this.o.at(-1);this.i&&t&&n&&e.startTime-n.startTime<1e3&&e.startTime-t.startTime<5e3?(this.i+=e.value,this.o.push(e)):(this.i=e.value,this.o=[e]),this.t?.(e)}},T=(e,t,n={})=>{try{const i=e.filter(e=>PerformanceObserver.supportedEntryTypes.includes(e));if(i.length>0){const e=new PerformanceObserver(e=>{queueMicrotask(()=>{const n=e.getEntries();i.length>1&&n.sort((e,t)=>e.startTime+e.duration-(t.startTime+t.duration)),t(n)})});for(const t of i)e.observe({type:t,buffered:!0,...n});return e}}catch{}},w=e=>globalThis.PerformanceObserver?.supportedEntryTypes?.includes("soft-navigation")&&"function"==typeof globalThis.PerformanceSoftNavigation?.prototype?.getLargestInteractionContentfulPaint&&e&&e.reportSoftNavs,I=(e,t)=>{if(e.set(t.navigationId,t),e.size>2){const t=e.keys().next().value;void 0!==t&&e.delete(t)}},b=e=>{let t=!1;return()=>{t||(e(),t=!0)}},C=class{l},E=e=>{document.prerendering?addEventListener("prerenderingchange",e,!0):e()},L=[1800,3e3],P=(e,t={})=>{const n=w(t);E(()=>{const s=p(t,C),d=h();let l,u=g("FCP");const f=T(["paint"],e=>{for(const t of e)"first-contentful-paint"===t.name&&(f.disconnect(),t.startTime<d.firstHiddenTime&&(u.value=Math.max(t.startTime-c(),0),u.entries.push(t),u.navigationId=t.navigationId||u.navigationId,l(!0)))});f&&(l=r(e,u,L,t.reportAllChanges),a(n=>{u=g("FCP",-1,"back-forward-cache",u.navigationId,u.navigationInteractionId,u.navigationURL,i()),l=r(e,u,L,t.reportAllChanges),o(()=>{u.value=performance.now()-n.timeStamp,l(!0)})})),n&&T(["soft-navigation"],n=>{n.forEach(n=>{s.l&&n.navigationId&&I(s.l,n);const i=Math.max((n.presentationTime||n.paintTime||0)-n.startTime,0);u=g("FCP",i,"soft-navigation",n.navigationId,n.interactionId,n.name,n.startTime),l=r(e,u,L,t.reportAllChanges),l(!0)})},t)})},A=[.1,.25],k=0,S=1/0,z=0,M=e=>{for(const t of e)t.interactionId&&(S=Math.min(S,t.interactionId),z=Math.max(z,t.interactionId),k=z?(z-S)/7+1:0)},$=()=>m?k:performance.interactionCount??0,Z=class{u=0;v=[];m=/* @__PURE__ */new Map;p;T;_(){return $()-this.u}M(){this.u=$(),this.v.length=0,this.m.clear()}L(e){const t=this._(),n=Math.min(this.v.length-1,Math.floor(t/50));return!t||-1!==n||"soft-navigation"!==e&&"back-forward-cache"!==e?this.v[n]:{P:8,id:-1,entries:[]}}h(e){if(this.p?.(e),!e.interactionId)return;const t=this.v.at(-1);let n=this.m.get(e.interactionId);if(n||this.v.length<10||e.duration>t.P){if(n?e.duration>n.P?(n.entries=[e],n.P=e.duration):e.duration===n.P&&e.startTime===n.entries[0].startTime&&n.entries.push(e):(n={id:e.interactionId,entries:[e],P:e.duration},this.m.set(n.id,n),this.v.push(n)),this.v.sort((e,t)=>t.P-e.P),this.v.length>10){const e=this.v.splice(10);for(const t of e)this.m.delete(t.id)}this.T?.(n)}}},_=e=>{const t="requestIdleCallback"in globalThis?1e3:0,n=globalThis.requestIdleCallback||setTimeout,i=globalThis.cancelIdleCallback||clearTimeout;if("hidden"===document.visibilityState)e();else{const a=b(e);let r=-1;const o=()=>{i(r),a()};addEventListener("visibilitychange",o,{once:!0,capture:!0}),r=n(()=>{removeEventListener("visibilitychange",o,{capture:!0}),a()},{timeout:t})}},R=[200,500],F=(e,t={})=>{if(!globalThis.PerformanceEventTiming||!("interactionId"in PerformanceEventTiming.prototype))return;const n=h();E(()=>{"interactionCount"in performance||m||(m=T(["event"],M,{durationThreshold:0}));let o,s=g("INP");const c=p(t,Z),d=(n,i,a,d,l)=>{c.M(),s=g("INP",-1,n,i,a,d,l),o=r(e,s,R,t.reportAllChanges)},l=()=>{const e=c.L(s.navigationType);e&&e.P!==s.value&&(s.value=e.P,s.entries=e.entries,o())},u=e=>{l(),o(!0),d("soft-navigation",e.navigationId,e.interactionId,e.name,e.startTime)},f=(e,t=!1)=>{_(()=>{for(const t of e)"soft-navigation"!==t.entryType?c.h(t):u(t);l(),t&&o(!0)})},h=["event","first-input"];w(t)&&h.push("soft-navigation");const v=T(h,f,{...t,durationThreshold:t.durationThreshold??40});o=r(e,s,R,t.reportAllChanges),v&&(n.onHidden(()=>{f(v.takeRecords(),!0)}),a(()=>{d("back-forward-cache",s.navigationId,s.navigationInteractionId,s.navigationURL,i())}))})},j=class{p;l;h(e){this.p?.(e)}},x=[2500,4e3],N=[800,1800],B=e=>{document.prerendering?E(()=>B(e)):"complete"!==document.readyState?addEventListener("load",()=>B(e),!0):setTimeout(e)};var O=/^[A-Za-z0-9/_:.\-[\]{}*@~]+$/,U=/^[A-Za-z_$][A-Za-z0-9_$.]*$/,H=/^[A-Za-z0-9][A-Za-z0-9.+_-]*$/;var q=class{constructor(e){this.head=e}head;events=[];waiting=/* @__PURE__ */new Map;seen=/* @__PURE__ */new Set;get size(){return this.events.length}addVital(e){this.events.push(e)}addError(e){const t=function(e){return e.frames.length?`${e.name}|${e.frames.join("|")}`:`${e.name}|${e.message.replace(/\d/g,"0")}`}(e),n=this.waiting.get(t);return n?(n.count=Math.min(1e3,n.count+e.count),!0):!(this.seen.has(t)||this.seen.size>=20)&&(this.seen.add(t),this.waiting.set(t,e),this.events.push(e),!0)}drain(){const e=this.events;this.events=[],this.waiting.clear();const t=[],n=JSON.stringify({...this.head,events:[]}).length;let i=[],a=n;for(const r of e){const e=JSON.stringify(r).length+1;n+e>30720||((50===i.length||a+e>30720)&&(t.push({...this.head,events:i}),i=[],a=n),i.push(r),a+=e)}return i.length&&t.push({...this.head,events:i}),t}},V=/[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\.[A-Za-z]{2,}/g,J=/\beyJ[A-Za-z0-9_-]{8,}\.[A-Za-z0-9_-]{8,}(?:\.[A-Za-z0-9_-]*)?|\b[Bb]earer\s+[A-Za-z0-9._~+/=-]{8,}/g,K=/\b[a-z][a-z0-9+.-]*:\/\/\S+/gi,D=/\b[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}\b/gi,W=/\d{4,}/g,G=/(^|[/:])(?:\d+|[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}|[0-9a-f]{16,})(?=$|[/:])/gi,Q=/^[a-z][a-z0-9+.-]*:\/\/[^/]*/i,X=/(?:\(|@|\bat\s+)?((?:[a-z][a-z0-9+.-]*:\/\/|\/)[^\s()@]*?):(\d+):(\d+)\)?\s*$/i;function Y(e,t,n){const i=e.replace(Q,"").split(/[?#]/,1)[0];return i?`${i}:${t}:${n}`.slice(0,256):null}function ee(e){if("string"!=typeof e)return[];const t=[];for(const n of e.split("\n")){const e=X.exec(n.trim()),i=e&&Y(e[1],e[2],e[3]);if(i&&t.push(i),5===t.length)break}return t}function te(e){const t=e instanceof Error?e.name:void 0;return"string"==typeof t&&t.length<=64&&U.test(t)?t:"Error"}function ne(e){if("string"!=typeof e)return"unknown";const t=e.trim().replace(Q,"").split(/[?#]/,1)[0].replace(G,(e,t)=>":"===t?":id":`${t}:id`);return t&&t.length<=128&&!t.includes("//")&&O.test(t)?t:"unknown"}var ie={flush(){},reportError(){},stop(){}},ae=null,re=/* @__PURE__ */new Set(["LCP","FCP","TTFB"]);function oe(e,t,n){const i=function(e){if(e.anonymous)return{credentials:"omit",headers:{"Content-Type":"application/json"}};const t=e.getAccessToken();return t?{credentials:"same-origin",headers:{"Content-Type":"application/json",Authorization:`Bearer ${t}`}}:null}(t);if(!i)return;const a=t.anonymous?"/api/storefront-analytics/web-vitals/":"/api/client-telemetry/web-batches/";n(t.endpoint??a,{...i,method:"POST",keepalive:!0,body:JSON.stringify(e)}).catch(e=>{console.debug("[efficient-shell] client telemetry batch dropped:",e)})}function se(e){((e,t={})=>{let n=!1;const s=w(t);E(()=>{let d,l=h(),u=g("LCP");const f=p(t,j),v=(i,a,o,s,c)=>{u=g("LCP",-1,i,a,o,s,c),d=r(e,u,x,t.reportAllChanges),n=!1,"soft-navigation"===i&&(l=h(!0))},m=e=>{f.l&&e.navigationId&&I(f.l,e),n||d(!0),v("soft-navigation",e.navigationId,e.interactionId,e.name,e.startTime);const t=e.getLargestInteractionContentfulPaint?.();t&&y([t])},y=e=>{t.reportAllChanges||s||(e=e.slice(-1));for(const t of e){if(!t)continue;if("soft-navigation"===t.entryType){m(t);continue}let e=0,n=[],i=t.startTime;if("largest-contentful-paint"===t.entryType)e=Math.max(t.startTime-c(),0),f.h(t),n=[t];else if("interaction-contentful-paint"===t.entryType){const a=t;if(!u.navigationId)continue;if("interactionId"in a&&a.interactionId!=u.navigationInteractionId)continue;i=a.largestContentfulPaint?.renderTime||0,e=Math.max(i-t.startTime,0),a.largestContentfulPaint&&(f.h(a.largestContentfulPaint),n=[a.largestContentfulPaint])}i<l.firstHiddenTime&&(u.value=e,u.entries=n,d())}},w=["largest-contentful-paint"];s&&w.push("interaction-contentful-paint","soft-navigation");const b=T(w,y);if(b){d=r(e,u,x,t.reportAllChanges);const c=["keydown","click","visibilitychange"],l=e=>{if(e.isTrusted&&!n){const e=u.id;_(()=>{if(!n){if(!s){b.disconnect();for(const e of c)removeEventListener(e,l,{capture:!0})}e===u.id&&(n=!0,d(!0))}})}};for(const e of c)addEventListener(e,l,{capture:!0});a(a=>{v("back-forward-cache",u.navigationId,u.navigationInteractionId,u.navigationURL,i()),d=r(e,u,x,t.reportAllChanges),o(()=>{u.value=performance.now()-a.timeStamp,n=!0,d(!0)})})}})})(e),F(e),((e,t={})=>{const n=h();P(b(()=>{let s,c=g("CLS",0);const d=p(t,y),l=(n,i,a,o,l)=>{c=g("CLS",0,n,i,a,o,l),d.i=0,s=r(e,c,A,t.reportAllChanges)},u=(e=!1)=>{d.i>c.value&&(c.value=d.i,c.entries=d.o),s(e)},f=e=>{u(!0),l("soft-navigation",e.navigationId,e.interactionId,e.name,e.startTime)},h=e=>{for(const t of e)"soft-navigation"!==t.entryType?d.h(t):f(t);u()},v=["layout-shift"];w(t)&&v.push("soft-navigation");const m=T(v,h);m&&(s=r(e,c,A,t.reportAllChanges),n.onHidden(()=>{h(m.takeRecords()),s(!0)}),a(()=>{l("back-forward-cache",c.navigationId,c.navigationInteractionId,c.navigationURL,i()),o(s)}),setTimeout(s))}))})(e),P(e),((e,t={})=>{const n=w(t);let o=g("TTFB"),d=r(e,o,N,t.reportAllChanges);B(()=>{const l=s();if(l){const s=l.responseStart;o.value=Math.max(s-c(),0),o.entries=[l],d(!0),a(()=>{o=g("TTFB",0,"back-forward-cache",o.navigationId,o.navigationInteractionId,o.navigationURL,i()),d=r(e,o,N,t.reportAllChanges),d(!0)}),n&&T(["soft-navigation"],n=>{n.forEach(n=>{n.navigationId&&(o=g("TTFB",0,"soft-navigation",n.navigationId,n.interactionId,n.name,n.startTime),o.entries=[n],d=r(e,o,N,t.reportAllChanges),d(!0))})},t)}})})(e)}function ce(n){if(ae?.stop(),ae=null,!1===n.enabled||"undefined"==typeof window||"undefined"==typeof document)return ie;if(!function(e){const t="string"==typeof e.app&&H.test(e.app),n="string"==typeof e.release&&H.test(e.release);return t&&n||console.warn("[efficient-shell] client telemetry not started: `app` and `release` must be version-like strings."),t&&n}(n))return ie;const i=function(e){const t=e.vitalsSampleRate??1;return t>0&&(t>=1||(e.random??Math.random)()<t)}(n);if(n.anonymous&&!i)return ie;const a=n.fetch??window.fetch.bind(window),r=new q({app:n.app,release:n.release,shell_version:H.test(t)?t:""}),o=ne(n.routeKey()),s=function(e=("undefined"==typeof window?void 0:window)){if(!e)return"desktop";const t="function"==typeof e.matchMedia&&e.matchMedia("(pointer: coarse)").matches,n=e.innerWidth;return n<600?"mobile":t&&n<1280?"tablet":"desktop"}(window);let c=!1;const d=()=>{for(const e of r.drain())oe(e,n,a)},l=e=>{c||n.anonymous||(r.addError(e),r.size>=50&&d())},u=(e,t)=>{return{type:"error",source:t,name:te(e),message:(a=e,i=a instanceof Error?a.message:"string"==typeof a?a:a&&"object"==typeof a&&"string"==typeof a.message?a.message:"",i.slice(0,640).replace(V,"[redacted]").replace(J,"[redacted]").replace(K,"[url]").replace(D,"[id]").replace(W,"[n]").replace(/\s+/g," ").trim().slice(0,160)),frames:ee(e instanceof Error?e.stack:void 0),route:ne(n.routeKey()),count:1};var i,a};i&&(n.observeVitals??se)(e=>{c||(r.addVital(function(e,t,n,i){return{type:"vital",name:e.name,value:e.value,route:re.has(e.name)?t:n(),navigation:e.navigationType??"navigate",device:i}}(e,o,()=>ne(n.routeKey()),s)),r.size>=50&&d())});const f=n.anonymous?()=>{}:function(t,n){const i=e=>{const{error:i,message:a,filename:r,lineno:o,colno:s}=e;if(null!=i)return void t(n(i,"onerror"));const c=r?ee(`at ${r}:${o??0}:${s??0}`):[];t({...n(a??"","onerror"),frames:c})},a=e=>t(n(e.reason,"unhandledrejection"));window.addEventListener("error",i),window.addEventListener("unhandledrejection",a);const r=e(e=>t(n(e,"boundary")));return()=>{window.removeEventListener("error",i),window.removeEventListener("unhandledrejection",a),r()}}(l,u),h=()=>{"hidden"===document.visibilityState&&d()};document.addEventListener("visibilitychange",h),window.addEventListener("pagehide",d);const g=window.setInterval(d,n.flushIntervalMs??6e4),v={flush:d,reportError:e=>l(u(e,"boundary")),stop(){c||(d(),c=!0,f(),document.removeEventListener("visibilitychange",h),window.removeEventListener("pagehide",d),window.clearInterval(g),ae===v&&(ae=null))}};return ae=v,v}export{ce as startClientTelemetry};
1
+ import{setBoundaryErrorReporter as e}from"./chunk-KNUR2UEG.js";import{VERSION as t}from"./chunk-7TGDGFHO.js";var n=-1,i=()=>n,a=e=>{addEventListener("pageshow",t=>{t.persisted&&(n=t.timeStamp,e(t))},!0)},r=(e,t,n,i)=>{let a,r;return o=>{var s,c;t.value>=0&&(o||i)&&(r=t.value-(a??0),(r||void 0===a)&&(a=t.value,t.delta=r,t.rating=(s=t.value)>(c=n)[1]?"poor":s>c[0]?"needs-improvement":"good",e(t)))}},o=e=>{requestAnimationFrame(()=>requestAnimationFrame(()=>e()))},s=()=>{const e=performance.getEntriesByType("navigation")[0];if(e&&e.responseStart>0&&e.responseStart<performance.now())return e},c=()=>s()?.activationStart??0,d=-1,l=/* @__PURE__ */new Set,u=()=>"hidden"!==document.visibilityState||document.prerendering?1/0:0,f=e=>{if("hidden"===document.visibilityState){if("visibilitychange"===e.type)for(const e of l)e();isFinite(d)||(d="visibilitychange"===e.type?e.timeStamp:0,removeEventListener("prerenderingchange",f,!0))}},h=(e=!1)=>{if(e&&(d=1/0),d<0){const e=c(),t=document.prerendering?void 0:globalThis.performance.getEntriesByType("visibility-state").find(t=>"hidden"===t.name&&t.startTime>=e)?.startTime;d=t??u(),addEventListener("visibilitychange",f,!0),addEventListener("prerenderingchange",f,!0),a(()=>{setTimeout(()=>{d=u()})})}return{get firstHiddenTime(){return d},onHidden(e){l.add(e)}}},g=(e,t=-1,n,a=0,r,o,d)=>{const l=s(),u=l?.navigationId||0;let f="navigate";return n?f=n:i()>=0?f="back-forward-cache":l&&(document.prerendering||c()>0?f="prerender":document.wasDiscarded?f="restore":l.type&&(f=l.type.replace(/_/g,"-"))),{name:e,value:t,rating:"good",delta:0,entries:[],id:`v6-${Date.now()}-${Math.floor(8999999999999*Math.random())+1e12}`,navigationType:f,navigationId:a||u,navigationInteractionId:r,navigationURL:o||l?.name,navigationStartTime:d||0}},v=/* @__PURE__ */new WeakMap;function p(e,t){let n=v.get(t);return n||(n=/* @__PURE__ */new WeakMap,v.set(t,n)),n.get(e)||n.set(e,new t),n.get(e)}var m,y=class{t;i=0;o=[];h(e){if(e.hadRecentInput)return;const t=this.o[0],n=this.o.at(-1);this.i&&t&&n&&e.startTime-n.startTime<1e3&&e.startTime-t.startTime<5e3?(this.i+=e.value,this.o.push(e)):(this.i=e.value,this.o=[e]),this.t?.(e)}},T=(e,t,n={})=>{try{const i=e.filter(e=>PerformanceObserver.supportedEntryTypes.includes(e));if(i.length>0){const e=new PerformanceObserver(e=>{queueMicrotask(()=>{const n=e.getEntries();i.length>1&&n.sort((e,t)=>e.startTime+e.duration-(t.startTime+t.duration)),t(n)})});for(const t of i)e.observe({type:t,buffered:!0,...n});return e}}catch{}},w=e=>globalThis.PerformanceObserver?.supportedEntryTypes?.includes("soft-navigation")&&"function"==typeof globalThis.PerformanceSoftNavigation?.prototype?.getLargestInteractionContentfulPaint&&e&&e.reportSoftNavs,I=(e,t)=>{if(e.set(t.navigationId,t),e.size>2){const t=e.keys().next().value;void 0!==t&&e.delete(t)}},b=e=>{let t=!1;return()=>{t||(e(),t=!0)}},C=class{l},E=e=>{document.prerendering?addEventListener("prerenderingchange",e,!0):e()},L=[1800,3e3],P=(e,t={})=>{const n=w(t);E(()=>{const s=p(t,C),d=h();let l,u=g("FCP");const f=T(["paint"],e=>{for(const t of e)"first-contentful-paint"===t.name&&(f.disconnect(),t.startTime<d.firstHiddenTime&&(u.value=Math.max(t.startTime-c(),0),u.entries.push(t),u.navigationId=t.navigationId||u.navigationId,l(!0)))});f&&(l=r(e,u,L,t.reportAllChanges),a(n=>{u=g("FCP",-1,"back-forward-cache",u.navigationId,u.navigationInteractionId,u.navigationURL,i()),l=r(e,u,L,t.reportAllChanges),o(()=>{u.value=performance.now()-n.timeStamp,l(!0)})})),n&&T(["soft-navigation"],n=>{n.forEach(n=>{s.l&&n.navigationId&&I(s.l,n);const i=Math.max((n.presentationTime||n.paintTime||0)-n.startTime,0);u=g("FCP",i,"soft-navigation",n.navigationId,n.interactionId,n.name,n.startTime),l=r(e,u,L,t.reportAllChanges),l(!0)})},t)})},A=[.1,.25],k=0,S=1/0,z=0,M=e=>{for(const t of e)t.interactionId&&(S=Math.min(S,t.interactionId),z=Math.max(z,t.interactionId),k=z?(z-S)/7+1:0)},$=()=>m?k:performance.interactionCount??0,_=class{u=0;v=[];m=/* @__PURE__ */new Map;p;T;_(){return $()-this.u}M(){this.u=$(),this.v.length=0,this.m.clear()}L(e){const t=this._(),n=Math.min(this.v.length-1,Math.floor(t/50));return!t||-1!==n||"soft-navigation"!==e&&"back-forward-cache"!==e?this.v[n]:{P:8,id:-1,entries:[]}}h(e){if(this.p?.(e),!e.interactionId)return;const t=this.v.at(-1);let n=this.m.get(e.interactionId);if(n||this.v.length<10||e.duration>t.P){if(n?e.duration>n.P?(n.entries=[e],n.P=e.duration):e.duration===n.P&&e.startTime===n.entries[0].startTime&&n.entries.push(e):(n={id:e.interactionId,entries:[e],P:e.duration},this.m.set(n.id,n),this.v.push(n)),this.v.sort((e,t)=>t.P-e.P),this.v.length>10){const e=this.v.splice(10);for(const t of e)this.m.delete(t.id)}this.T?.(n)}}},F=e=>{const t="requestIdleCallback"in globalThis?1e3:0,n=globalThis.requestIdleCallback||setTimeout,i=globalThis.cancelIdleCallback||clearTimeout;if("hidden"===document.visibilityState)e();else{const a=b(e);let r=-1;const o=()=>{i(r),a()};addEventListener("visibilitychange",o,{once:!0,capture:!0}),r=n(()=>{removeEventListener("visibilitychange",o,{capture:!0}),a()},{timeout:t})}},Z=[200,500],R=(e,t={})=>{if(!globalThis.PerformanceEventTiming||!("interactionId"in PerformanceEventTiming.prototype))return;const n=h();E(()=>{"interactionCount"in performance||m||(m=T(["event"],M,{durationThreshold:0}));let o,s=g("INP");const c=p(t,_),d=(n,i,a,d,l)=>{c.M(),s=g("INP",-1,n,i,a,d,l),o=r(e,s,Z,t.reportAllChanges)},l=()=>{const e=c.L(s.navigationType);e&&e.P!==s.value&&(s.value=e.P,s.entries=e.entries,o())},u=e=>{l(),o(!0),d("soft-navigation",e.navigationId,e.interactionId,e.name,e.startTime)},f=(e,t=!1)=>{F(()=>{for(const t of e)"soft-navigation"!==t.entryType?c.h(t):u(t);l(),t&&o(!0)})},h=["event","first-input"];w(t)&&h.push("soft-navigation");const v=T(h,f,{...t,durationThreshold:t.durationThreshold??40});o=r(e,s,Z,t.reportAllChanges),v&&(n.onHidden(()=>{f(v.takeRecords(),!0)}),a(()=>{d("back-forward-cache",s.navigationId,s.navigationInteractionId,s.navigationURL,i())}))})},j=class{p;l;h(e){this.p?.(e)}},x=[2500,4e3],B=[800,1800],N=e=>{document.prerendering?E(()=>N(e)):"complete"!==document.readyState?addEventListener("load",()=>N(e),!0):setTimeout(e)};var O=/^[A-Za-z0-9/_:.\-[\]{}*@~]+$/,U=/^[A-Za-z_$][A-Za-z0-9_$.]*$/,H=/^[A-Za-z0-9][A-Za-z0-9.+_-]*$/;var q=class{constructor(e){this.head=e}head;events=[];waiting=/* @__PURE__ */new Map;seen=/* @__PURE__ */new Set;get size(){return this.events.length}addVital(e){this.events.push(e)}addError(e){const t=function(e){return e.frames.length?`${e.name}|${e.frames.join("|")}`:`${e.name}|${e.message.replace(/\d/g,"0")}`}(e),n=this.waiting.get(t);return n?(n.count=Math.min(1e3,n.count+e.count),!0):!(this.seen.has(t)||this.seen.size>=20)&&(this.seen.add(t),this.waiting.set(t,e),this.events.push(e),!0)}drain(){const e=this.events;this.events=[],this.waiting.clear();const t=[],n=JSON.stringify({...this.head,events:[]}).length;let i=[],a=n;for(const r of e){const e=JSON.stringify(r).length+1;n+e>30720||((50===i.length||a+e>30720)&&(t.push({...this.head,events:i}),i=[],a=n),i.push(r),a+=e)}return i.length&&t.push({...this.head,events:i}),t}},J=/[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\.[A-Za-z]{2,}/g,K=/\beyJ[A-Za-z0-9_-]{8,}\.[A-Za-z0-9_-]{8,}(?:\.[A-Za-z0-9_-]*)?|\b[Bb]earer\s+[A-Za-z0-9._~+/=-]{8,}/g,D=/\b[a-z][a-z0-9+.-]*:\/\/\S+/gi,G=/\b[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}\b/gi,V=/\d{4,}/g,W=/(^|[/:])(?:\d+|[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}|[0-9a-f]{16,})(?=$|[/:])/gi,Q=/^[a-z][a-z0-9+.-]*:\/\/[^/]*/i,X=/(?:\(|@|\bat\s+)?((?:[a-z][a-z0-9+.-]*:\/\/|\/)[^\s()@]*?):(\d+):(\d+)\)?\s*$/i;function Y(e,t,n){const i=e.replace(Q,"").split(/[?#]/,1)[0];return i?`${i}:${t}:${n}`.slice(0,256):null}function ee(e){if("string"!=typeof e)return[];const t=[];for(const n of e.split("\n")){const e=X.exec(n.trim()),i=e&&Y(e[1],e[2],e[3]);if(i&&t.push(i),5===t.length)break}return t}function te(e){const t=e instanceof Error?e.name:void 0;return"string"==typeof t&&t.length<=64&&U.test(t)?t:"Error"}function ne(e){if("string"!=typeof e)return"unknown";const t=e.trim().replace(Q,"").split(/[?#]/,1)[0].replace(W,(e,t)=>":"===t?":id":`${t}:id`);return t&&t.length<=128&&!t.includes("//")&&O.test(t)?t:"unknown"}var ie={flush(){},reportError(){},stop(){}},ae=null,re=/* @__PURE__ */new Set(["LCP","FCP","TTFB"]);function oe(e,t,n){const i=function(e){if(e.anonymous)return{credentials:"omit",headers:{"Content-Type":"application/json"}};const t=e.getAccessToken();return t?{credentials:"same-origin",headers:{"Content-Type":"application/json",Authorization:`Bearer ${t}`}}:null}(t);if(!i)return;const a=t.anonymous?"/api/storefront-analytics/web-vitals/":"/api/client-telemetry/web-batches/";n(t.endpoint??a,{...i,method:"POST",keepalive:!0,body:JSON.stringify(e)}).catch(e=>{console.debug("[efficient-shell] client telemetry batch dropped:",e)})}function se(e){((e,t={})=>{let n=!1;const s=w(t);E(()=>{let d,l=h(),u=g("LCP");const f=p(t,j),v=(i,a,o,s,c)=>{u=g("LCP",-1,i,a,o,s,c),d=r(e,u,x,t.reportAllChanges),n=!1,"soft-navigation"===i&&(l=h(!0))},m=e=>{f.l&&e.navigationId&&I(f.l,e),n||d(!0),v("soft-navigation",e.navigationId,e.interactionId,e.name,e.startTime);const t=e.getLargestInteractionContentfulPaint?.();t&&y([t])},y=e=>{t.reportAllChanges||s||(e=e.slice(-1));for(const t of e){if(!t)continue;if("soft-navigation"===t.entryType){m(t);continue}let e=0,n=[],i=t.startTime;if("largest-contentful-paint"===t.entryType)e=Math.max(t.startTime-c(),0),f.h(t),n=[t];else if("interaction-contentful-paint"===t.entryType){const a=t;if(!u.navigationId)continue;if("interactionId"in a&&a.interactionId!=u.navigationInteractionId)continue;i=a.largestContentfulPaint?.renderTime||0,e=Math.max(i-t.startTime,0),a.largestContentfulPaint&&(f.h(a.largestContentfulPaint),n=[a.largestContentfulPaint])}i<l.firstHiddenTime&&(u.value=e,u.entries=n,d())}},w=["largest-contentful-paint"];s&&w.push("interaction-contentful-paint","soft-navigation");const b=T(w,y);if(b){d=r(e,u,x,t.reportAllChanges);const c=["keydown","click","visibilitychange"],l=e=>{if(e.isTrusted&&!n){const e=u.id;F(()=>{if(!n){if(!s){b.disconnect();for(const e of c)removeEventListener(e,l,{capture:!0})}e===u.id&&(n=!0,d(!0))}})}};for(const e of c)addEventListener(e,l,{capture:!0});a(a=>{v("back-forward-cache",u.navigationId,u.navigationInteractionId,u.navigationURL,i()),d=r(e,u,x,t.reportAllChanges),o(()=>{u.value=performance.now()-a.timeStamp,n=!0,d(!0)})})}})})(e),R(e),((e,t={})=>{const n=h();P(b(()=>{let s,c=g("CLS",0);const d=p(t,y),l=(n,i,a,o,l)=>{c=g("CLS",0,n,i,a,o,l),d.i=0,s=r(e,c,A,t.reportAllChanges)},u=(e=!1)=>{d.i>c.value&&(c.value=d.i,c.entries=d.o),s(e)},f=e=>{u(!0),l("soft-navigation",e.navigationId,e.interactionId,e.name,e.startTime)},h=e=>{for(const t of e)"soft-navigation"!==t.entryType?d.h(t):f(t);u()},v=["layout-shift"];w(t)&&v.push("soft-navigation");const m=T(v,h);m&&(s=r(e,c,A,t.reportAllChanges),n.onHidden(()=>{h(m.takeRecords()),s(!0)}),a(()=>{l("back-forward-cache",c.navigationId,c.navigationInteractionId,c.navigationURL,i()),o(s)}),setTimeout(s))}))})(e),P(e),((e,t={})=>{const n=w(t);let o=g("TTFB"),d=r(e,o,B,t.reportAllChanges);N(()=>{const l=s();if(l){const s=l.responseStart;o.value=Math.max(s-c(),0),o.entries=[l],d(!0),a(()=>{o=g("TTFB",0,"back-forward-cache",o.navigationId,o.navigationInteractionId,o.navigationURL,i()),d=r(e,o,B,t.reportAllChanges),d(!0)}),n&&T(["soft-navigation"],n=>{n.forEach(n=>{n.navigationId&&(o=g("TTFB",0,"soft-navigation",n.navigationId,n.interactionId,n.name,n.startTime),o.entries=[n],d=r(e,o,B,t.reportAllChanges),d(!0))})},t)}})})(e)}function ce(n){if(ae?.stop(),ae=null,!1===n.enabled||"undefined"==typeof window||"undefined"==typeof document)return ie;if(!function(e){const t="string"==typeof e.app&&H.test(e.app),n="string"==typeof e.release&&H.test(e.release);return t&&n||console.warn("[efficient-shell] client telemetry not started: `app` and `release` must be version-like strings."),t&&n}(n))return ie;const i=function(e){const t=e.vitalsSampleRate??1;return t>0&&(t>=1||(e.random??Math.random)()<t)}(n);if(n.anonymous&&!i)return ie;const a=n.fetch??window.fetch.bind(window),r=new q({app:n.app,release:n.release,shell_version:H.test(t)?t:""}),o=ne(n.routeKey()),s=function(e=("undefined"==typeof window?void 0:window)){if(!e)return"desktop";const t="function"==typeof e.matchMedia&&e.matchMedia("(pointer: coarse)").matches,n=e.innerWidth;return n<600?"mobile":t&&n<1280?"tablet":"desktop"}(window);let c=!1;const d=()=>{for(const e of r.drain())oe(e,n,a)},l=e=>{c||n.anonymous||(r.addError(e),r.size>=50&&d())},u=(e,t)=>{return{type:"error",source:t,name:te(e),message:(a=e,i=a instanceof Error?a.message:"string"==typeof a?a:a&&"object"==typeof a&&"string"==typeof a.message?a.message:"",i.slice(0,640).replace(J,"[redacted]").replace(K,"[redacted]").replace(D,"[url]").replace(G,"[id]").replace(V,"[n]").replace(/\s+/g," ").trim().slice(0,160)),frames:ee(e instanceof Error?e.stack:void 0),route:ne(n.routeKey()),count:1};var i,a};i&&(n.observeVitals??se)(e=>{c||(r.addVital(function(e,t,n,i){return{type:"vital",name:e.name,value:e.value,route:re.has(e.name)?t:n(),navigation:e.navigationType??"navigate",device:i}}(e,o,()=>ne(n.routeKey()),s)),r.size>=50&&d())});const f=n.anonymous?()=>{}:function(t,n){const i=e=>{const{error:i,message:a,filename:r,lineno:o,colno:s}=e;if(null!=i)return void t(n(i,"onerror"));const c=r?ee(`at ${r}:${o??0}:${s??0}`):[];t({...n(a??"","onerror"),frames:c})},a=e=>t(n(e.reason,"unhandledrejection"));window.addEventListener("error",i),window.addEventListener("unhandledrejection",a);const r=e(e=>t(n(e,"boundary")));return()=>{window.removeEventListener("error",i),window.removeEventListener("unhandledrejection",a),r()}}(l,u),h=()=>{"hidden"===document.visibilityState&&d()};document.addEventListener("visibilitychange",h),window.addEventListener("pagehide",d);const g=window.setInterval(d,n.flushIntervalMs??6e4),v={flush:d,reportError:e=>l(u(e,"boundary")),stop(){c||(d(),c=!0,f(),document.removeEventListener("visibilitychange",h),window.removeEventListener("pagehide",d),window.clearInterval(g),ae===v&&(ae=null))}};return ae=v,v}export{ce as startClientTelemetry};
@@ -0,0 +1 @@
1
+ var e=null;function t(t=globalThis.document){if(!t)return!1;if(null!==e&&t===globalThis.document)return e;let n=!1;try{const e=t.createElement("canvas");n=Boolean(e.getContext("webgl2")??e.getContext("webgl"))}catch{n=!1}return t===globalThis.document&&(e=n),n}var n=/CriOS\/|EdgiOS\/|FxiOS\/|GSA\/|DuckDuckGo\//;function r(e=globalThis.document){if(!e)return!1;const t=e.defaultView?.navigator;if(!t||!function(e){return/iPad|iPhone|iPod/.test(e.userAgent)||"MacIntel"===e.platform&&e.maxTouchPoints>1}(t))return!1;if(n.test(t.userAgent))return!0;const r=e.createElement("a");return Boolean(r.relList?.supports?.("ar"))}function o(e,t=globalThis.document){const n=t.createElement("a");n.setAttribute("rel","ar"),n.setAttribute("href",new URL(e,t.baseURI).toString()),n.style.display="none",n.appendChild(t.createElement("img")),t.body.appendChild(n);try{n.click()}finally{n.remove()}}export{r as arQuickLookSupported,o as openArQuickLook,t as webglAvailable};
@@ -0,0 +1 @@
1
+ import{triangleSurfaces as e,layerOfSurfaces as t,buildDrawGroups as s,framingDistance as r,orbitOf as i,shortestOrbit as o,orbitOffset as n}from"./chunk-KT57MRN4.js";import{fieldOfViewFor as a}from"./chunk-4N24K3UX.js";import{Color as h,Scene as c,PerspectiveCamera as l,Group as d,WebGLRenderer as m,SRGBColorSpace as u,PCFSoftShadowMap as p,PMREMGenerator as f,DirectionalLight as g,Mesh as w,PlaneGeometry as x,ShadowMaterial as y,Box3 as v,Vector3 as b,BufferAttribute as M,MeshPhysicalMaterial as S,AgXToneMapping as P,ACESFilmicToneMapping as k,NeutralToneMapping as C,Vector2 as j,Raycaster as R,WebGLRenderTarget as I,SphereGeometry as A,MeshBasicMaterial as E,BackSide as D,BoxGeometry as T}from"three";import{GLTFLoader as L}from"three/examples/jsm/loaders/GLTFLoader.js";import{MeshoptDecoder as z}from"three/examples/jsm/libs/meshopt_decoder.module.js";import{OrbitControls as F}from"three/examples/jsm/controls/OrbitControls.js";import{Reflector as G}from"three/examples/jsm/objects/Reflector.js";import{RoomEnvironment as Y}from"three/examples/jsm/environments/RoomEnvironment.js";var H={white:16777215,light:15066595,mid:12434874,dark:3815992},B=new h(3640029),N=e=>Math.min(1,Math.max(0,e));var U={studio:C,daylight:P,showroom:k,garage:P},W=class{renderer;scene=new c;camera=new l(6.9,1,.01,100);controls;pmrem;envCache=/* @__PURE__ */new Map;wheel=new d;mesh=null;triSurface=null;sourceIndex=null;surfaceCount=0;radius=.3;groundY=-.3;shadowPlane;reflector=null;key;layers=[];materials=[];selected=/* @__PURE__ */new Set;sceneSettings=null;tween=null;frame=0;userDragging=!1;disposed=!1;onCameraChange=null;constructor(e){this.renderer=new m({canvas:e,antialias:!0,alpha:!0}),this.renderer.outputColorSpace=u,this.renderer.shadowMap.enabled=!0,this.renderer.shadowMap.type=p,this.renderer.setPixelRatio(Math.min(2,window.devicePixelRatio||1)),this.pmrem=new f(this.renderer),this.controls=new F(this.camera,e),this.controls.enablePan=!1,this.controls.enableDamping=!0,this.controls.minPolarAngle=0,this.controls.maxPolarAngle=Math.PI,this.controls.addEventListener("start",()=>{this.userDragging=!0,this.tween=null}),this.controls.addEventListener("end",()=>{this.userDragging=!1}),this.controls.addEventListener("change",()=>this.reportCamera(this.userDragging)),this.key=new g(16777215,.6),this.key.castShadow=!0,this.key.shadow.mapSize.set(2048,2048),this.scene.add(this.key,this.key.target,this.wheel),this.shadowPlane=new w(new x(1,1),new y({opacity:.35})),this.shadowPlane.rotation.x=-Math.PI/2,this.shadowPlane.receiveShadow=!0,this.scene.add(this.shadowPlane),this.loop()}async load(t,s){const r=(new L).setMeshoptDecoder(z),i=await r.loadAsync(t);if(this.disposed)return;let o=null;if(i.scene.traverse(e=>{!o&&e.isMesh&&(o=e)}),!o)throw new Error("The model holds no mesh.");const n=o;n.updateWorldMatrix(!0,!1);const a=n.geometry.clone().applyMatrix4(n.matrixWorld),h=a.getAttribute("_surface");if(!h)throw new Error("The model carries no surface ids.");const c=(new v).setFromBufferAttribute(a.getAttribute("position")),l=c.getCenter(new b);a.translate(-l.x,-l.y,-l.z),this.radius=c.getSize(new b).length()/2,this.groundY=-(c.max.y-c.min.y)/2;const d=a.getIndex();this.sourceIndex=d?Array.from(d.array):null;const m=d?d.count/3:a.getAttribute("position").count/3;this.triSurface=e(h.array,this.sourceIndex,m);let u=-1;for(const e of this.triSurface)e>u&&(u=e);this.surfaceCount=Math.max(s,u+1),this.mesh&&(this.wheel.remove(this.mesh),this.mesh.geometry.dispose()),this.mesh=new w(a,[]),this.mesh.castShadow=!0,this.wheel.add(this.mesh),this.placeGround(),this.rebuild()}setLayers(e,t,s){const r=e!==this.layers||s!==this.selected||t.length!==this.materials.length;this.layers=e,this.materials=t,this.selected=s,r?this.rebuild():this.paint()}rebuild(){if(!this.mesh||!this.triSurface)return;const e=Math.max(1,this.materials.length),r=t(this.surfaceCount,this.layers.slice(0,e-1),e-1),{index:i,groups:o}=s(this.sourceIndex,this.triSurface,r,this.selected,e),n=this.mesh.geometry;n.setIndex(new M(i,1)),n.clearGroups();for(const e of o)n.addGroup(e.start,e.count,e.materialIndex);const a=this.mesh.material;for(;a.length<2*e;)a.push(new S);for(;a.length>2*e;)a.pop()?.dispose();this.paint()}paint(){if(!this.mesh)return;const e=this.mesh.material;this.materials.forEach((t,s)=>{for(const r of[0,1]){const i=e[2*s+r];i&&(/^#[0-9a-f]{6}$/i.test(t.color)&&i.color.set(t.color),i.metalness=N(t.metallic),i.roughness=N(t.roughness),i.clearcoat=N(t.clearcoat??0),i.clearcoatRoughness=N(t.clearcoatRoughness??0),i.side=2,i.emissive.copy(r?B:new h(0)),i.emissiveIntensity=r?.45:0,i.needsUpdate=!0)}})}setScene(e){const t=this.sceneSettings;if(this.sceneSettings=e,t?.environment!==e.environment){let t=this.envCache.get(e.environment);t||(t=this.pmrem.fromScene(function(e){if("studio"===e)return new Y;const t=new c,s=new w(new A(20,32,16),new E({side:D})),r=(e,s,r,i,o)=>{const n=new w(new T(e,s,.1),new E({color:new h(r).multiplyScalar(i)}));n.position.set(...o),n.lookAt(0,0,0),t.add(n)};if("daylight"===e)s.material.color.setHex(12571882),r(30,30,16774368,6,[0,18,4]),r(40,6,10135194,1,[0,-12,0]);else if("showroom"===e)s.material.color.setHex(4210752),r(16,2,16777215,12,[0,14,0]),r(3,10,16777215,6,[12,4,6]),r(3,10,16777215,6,[-12,4,6]);else{s.material.color.setHex(1842204);for(let e=-2;e<=2;e+=1)r(1,12,16777215,8,[4*e,14,0]);r(10,4,16769720,2,[0,2,14])}return t.add(s),t}(e.environment),.04).texture,this.envCache.set(e.environment,t)),this.scene.environment=t,this.renderer.toneMapping=U[e.environment]}this.scene.environmentRotation.set(0,e.environmentRotation*Math.PI/180,0),this.renderer.toneMappingExposure=e.brightness/100,this.scene.background="transparent"===e.background?null:new h(H[e.background]),this.shadowPlane.visible=e.groundShadow,this.shadowPlane.material.opacity=.18+.32*(1-e.shadowSoftness/100),this.key.shadow.radius=1+e.shadowSoftness/100*14,this.key.shadow.blurSamples=16,this.setReflection(e.groundReflection),t?.focalLength!==e.focalLength&&(this.camera.fov=a(e.focalLength),this.camera.updateProjectionMatrix(),this.controls.minDistance=r(this.radius,this.camera.fov)/4,this.controls.maxDistance=2.5*r(this.radius,this.camera.fov))}setReflection(e){if(e&&!this.reflector){const e=12*this.radius;this.reflector=new G(new x(e,e),{textureWidth:1024,textureHeight:1024,color:new h(5592405)}),this.reflector.rotation.x=-Math.PI/2,this.reflector.position.y=this.groundY-5e-4,this.scene.add(this.reflector)}else!e&&this.reflector&&(this.scene.remove(this.reflector),this.reflector.dispose(),this.reflector=null)}placeGround(){const e=12*this.radius;this.shadowPlane.scale.set(e,e,1),this.shadowPlane.position.y=this.groundY,this.reflector&&(this.reflector.position.y=this.groundY-5e-4),this.key.position.set(.6*this.radius,6*this.radius,1.2*this.radius);const t=this.key.shadow.camera;t.left=t.bottom=2*-this.radius,t.right=t.top=2*this.radius,t.far=12*this.radius,t.updateProjectionMatrix()}goTo(e,t=!0){const s=r(this.radius,this.camera.fov);this.controls.target.set(0,0,0);const a=this.camera.position.clone().sub(this.controls.target),h=i([a.x,a.y,a.z]),c=o(h,e);if(!t)return this.camera.position.set(...n(c,s)),this.camera.lookAt(0,0,0),this.controls.update(),void this.reportCamera(!1);this.tween={from:h,to:c,distance:[a.length()||s,s],t:0}}setInteractive(e){this.controls.enabled=e}setTurntable(e){this.controls.autoRotate=e,this.controls.autoRotateSpeed=1.2}pick(e,t){if(!this.mesh||!this.triSurface)return null;const s=this.renderer.domElement.getBoundingClientRect(),r=new j((e-s.left)/s.width*2-1,-(t-s.top)/s.height*2+1),i=new R;i.setFromCamera(r,this.camera);const[o]=i.intersectObject(this.mesh,!1);if(!o?.face)return null;const n=this.mesh.geometry.getAttribute("_surface");return Math.round(n.getX(o.face.a))}async renderImage(e,t){const s=new I(e,e,{samples:4,colorSpace:u}),r=this.scene.background;t&&(this.scene.background=null);const i=this.camera.aspect;this.camera.aspect=1,this.camera.updateProjectionMatrix(),this.renderer.setRenderTarget(s),this.renderer.render(this.scene,this.camera);const o=new Uint8Array(e*e*4);this.renderer.readRenderTargetPixels(s,0,0,e,e,o),this.renderer.setRenderTarget(null),this.scene.background=r,this.camera.aspect=i,this.camera.updateProjectionMatrix(),s.dispose();const n=document.createElement("canvas");n.width=n.height=e;const a=n.getContext("2d");if(!a)throw new Error("This browser cannot draw the image.");const h=a.createImageData(e,e);for(let t=0;t<e;t+=1)h.data.set(o.subarray((e-1-t)*e*4,(e-t)*e*4),t*e*4);return a.putImageData(h,0,0),new Promise((e,t)=>n.toBlob(s=>s?e(s):t(new Error("No image.")),"image/png"))}resize(e,t){this.renderer.setSize(e,t,!1),this.camera.aspect=e/Math.max(1,t),this.camera.updateProjectionMatrix()}reportCamera(e){const t=this.camera.position.clone().sub(this.controls.target);this.onCameraChange?.({...i([t.x,t.y,t.z]),userInteraction:e})}loop=()=>{if(!this.disposed){if(this.frame=requestAnimationFrame(this.loop),this.tween){const e=this.tween;e.t=Math.min(1,e.t+1/24);const t=1-(1-e.t)**3,s={theta:e.from.theta+(e.to.theta-e.from.theta)*t,phi:e.from.phi+(e.to.phi-e.from.phi)*t},r=e.distance[0]+(e.distance[1]-e.distance[0])*t;this.camera.position.set(...n(s,r)),this.camera.lookAt(0,0,0),e.t>=1&&(this.tween=null),this.reportCamera(!1)}this.controls.update(),this.renderer.render(this.scene,this.camera)}};dispose(){this.disposed=!0,cancelAnimationFrame(this.frame),this.controls.dispose(),this.mesh?.geometry.dispose(),this.mesh?.material.forEach(e=>e.dispose()),this.reflector?.dispose(),this.envCache.forEach(e=>e.dispose()),this.pmrem.dispose(),this.renderer.dispose()}};export{W as StageEngine};