@coffer-org/web 7.2.1 → 7.3.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 (125) hide show
  1. package/dist/assets/ChatWidget-Bhj-WiNC.js +5 -0
  2. package/dist/assets/DiagnosticsPage-CAWQ6aOl.js +1 -0
  3. package/dist/assets/{MarkdownEditor-0mNSwLu_.js → MarkdownEditor-On2GbApm.js} +3 -3
  4. package/dist/assets/NewRecordView-Y6PoWPB9.js +1 -0
  5. package/dist/assets/PluginSettingsPage-CcTksC-8.js +1 -0
  6. package/dist/assets/ScanSummary-xxY2oZVM.js +1 -0
  7. package/dist/assets/SettingsForm-NWfklsPY.js +1 -0
  8. package/dist/assets/SettingsPage-CjsbuhdW.js +3 -0
  9. package/dist/assets/ThemeSwitcher-DKrSbFhp.js +1 -0
  10. package/dist/assets/{api-COuWgOWV.js → api-QNHQU9to.js} +1 -1
  11. package/dist/assets/{auth-context-L2NSpevo.js → auth-context-CoCE5oPD.js} +1 -1
  12. package/dist/assets/condition-B5taAXkb.js +1 -0
  13. package/dist/assets/countries-CoGvAZ5u.js +1 -0
  14. package/dist/assets/{data-size-qpzofknI.js → data-size-BMG0D59K.js} +1 -1
  15. package/dist/assets/{development-olQNibq5.js → development-ChLInqDF.js} +1 -1
  16. package/dist/assets/{esm-BsLSfif3.js → esm-CX8ST5Fv.js} +1 -1
  17. package/dist/assets/esm-oGoWacTd.js +24 -0
  18. package/dist/assets/extend-yQ8zoqGc.js +1 -0
  19. package/dist/assets/fields-CV3RQg0Y.js +64 -0
  20. package/dist/assets/file-text-CITvp61x.js +1 -0
  21. package/dist/assets/{icons-BTbA1N7a.js → icons-0CjpO0K1.js} +1 -1
  22. package/dist/assets/ilamy-view-CQD1H32m.js +7 -0
  23. package/dist/assets/index-4Lr8BOK1.js +22 -0
  24. package/dist/assets/index-lbeXf7OV.css +2 -0
  25. package/dist/assets/{input-tJjsdU1x.js → input-BFMNMo6y.js} +1 -1
  26. package/dist/assets/list-cache-DOhsI_p2.js +1 -0
  27. package/dist/assets/{markdown-vendor-CtaBI5gJ.js → markdown-vendor-WSL3P01P.js} +15 -15
  28. package/dist/assets/phone-input-BZ9vGYpI.js +21 -0
  29. package/dist/assets/phone-input-BpNLpzg_.js +1 -0
  30. package/dist/assets/plugin-Cjr7lgQH.js +1 -0
  31. package/dist/assets/{version-CtfLXkhy.js → plugin-label-CfdhA4_L.js} +1 -1
  32. package/dist/assets/{popover-C2xHG6L3.js → popover-C1KB68Kk.js} +1 -1
  33. package/dist/assets/registration-BBxYynR4.js +1 -0
  34. package/dist/assets/settings-Bo5IOwVg.js +1 -0
  35. package/dist/assets/shelf-Cj_pNvd-.js +1 -0
  36. package/dist/assets/showcase-BeBnutzT.js +1 -0
  37. package/dist/assets/src-0TBpEeKK.js +1 -0
  38. package/dist/assets/src-1AsWJbID.js +7 -0
  39. package/dist/assets/src-4bmZI2h_.js +1 -0
  40. package/dist/assets/src-B2aXBzDf.js +4 -0
  41. package/dist/assets/src-BHz-TcxU.js +1 -0
  42. package/dist/assets/src-BZK1QVol.js +1 -0
  43. package/dist/assets/src-BjYucEBM.js +1 -0
  44. package/dist/assets/src-Bl8rYgUt2.js +1 -0
  45. package/dist/assets/src-BmyfVP9z.js +1 -0
  46. package/dist/assets/src-BrHtOaqX.js +1 -0
  47. package/dist/assets/src-Bzgh6Ge5.js +1 -0
  48. package/dist/assets/src-C46sbhiF.js +2 -0
  49. package/dist/assets/src-CD1zBxk2.js +1 -0
  50. package/dist/assets/src-CE1TPDES.js +6 -0
  51. package/dist/assets/src-CQOQ3BNT.js +1 -0
  52. package/dist/assets/{src-IYiBUs1S.js → src-Cz38tTr3.js} +1 -1
  53. package/dist/assets/src-D14fQdLH.js +1 -0
  54. package/dist/assets/src-DgQcfYnz.js +1 -0
  55. package/dist/assets/src-DnN2GqEI.js +1 -0
  56. package/dist/assets/src-Dr_dOgc9.js +6 -0
  57. package/dist/assets/src-Ds6m7Evp2.js +1 -0
  58. package/dist/assets/src-Mln-mCD3.js +1 -0
  59. package/dist/assets/src-Q4BhkNtH.js +1 -0
  60. package/dist/assets/src-qJ0szNVM.js +1 -0
  61. package/dist/assets/src-rMuD7zD4.js +1 -0
  62. package/dist/assets/{src-DEcZTAam.js → src-tKMBP4Dv.js} +3 -3
  63. package/dist/assets/src-xh_qAK43.js +1 -0
  64. package/dist/assets/ui-BuqzqLDw.js +2 -0
  65. package/dist/assets/ui-CqUVBwcW.js +2 -0
  66. package/dist/assets/ui-Dj0Nsb2P.js +2 -0
  67. package/dist/assets/ui-QzaKLk9q.js +2 -0
  68. package/dist/assets/ui-vendor-C0IUUP3F.js +44 -0
  69. package/dist/index.html +22 -22
  70. package/dist-vendor/web-ui.js +20098 -14890
  71. package/package.json +1 -1
  72. package/dist/assets/ChatWidget-ByBb2eNs.js +0 -31
  73. package/dist/assets/DiagnosticsPage-lKgGju82.js +0 -1
  74. package/dist/assets/NewRecordView-DJrRPNxT.js +0 -1
  75. package/dist/assets/PluginSettingsPage-BFsSZgTa.js +0 -1
  76. package/dist/assets/ScanSummary-CaG-s5qh.js +0 -1
  77. package/dist/assets/SettingsForm-C_K9RpFr.js +0 -1
  78. package/dist/assets/SettingsPage-CaPzeX50.js +0 -3
  79. package/dist/assets/ThemeSwitcher-BPuCvU1U.js +0 -1
  80. package/dist/assets/arrow-left-DDsxjRCq.js +0 -1
  81. package/dist/assets/esm-DJsKiDbH.js +0 -24
  82. package/dist/assets/extend-BMkkNVfm.js +0 -1
  83. package/dist/assets/fields-GPyF03tK.js +0 -64
  84. package/dist/assets/file-text-DI3tERhf.js +0 -1
  85. package/dist/assets/index-C5rNjIku.css +0 -2
  86. package/dist/assets/index-CdXz_Li2.js +0 -24
  87. package/dist/assets/lib-DU7Qh2A4.js +0 -1
  88. package/dist/assets/list-cache-B4i_A9fj.js +0 -1
  89. package/dist/assets/phone-input-BeYLRpyW.js +0 -1
  90. package/dist/assets/phone-input-CZF7hU3E.js +0 -21
  91. package/dist/assets/plugin-CFEkHH3f.js +0 -1
  92. package/dist/assets/plugin-ui-CKd6q8ec.js +0 -1
  93. package/dist/assets/settings-rQsBFoL2.js +0 -1
  94. package/dist/assets/shelf-CpE68_8d.js +0 -1
  95. package/dist/assets/showcase-CUDyXMb7.js +0 -1
  96. package/dist/assets/src-2QhdFJyH.js +0 -1
  97. package/dist/assets/src-BRA1s942.js +0 -1
  98. package/dist/assets/src-Bmc_xgWr.js +0 -1
  99. package/dist/assets/src-BnvKHmLu.js +0 -1
  100. package/dist/assets/src-Bv7IbF5F.js +0 -1
  101. package/dist/assets/src-C3X1cmlu.js +0 -1
  102. package/dist/assets/src-C3hdIsRT.js +0 -1
  103. package/dist/assets/src-CIrBx5O0.js +0 -1
  104. package/dist/assets/src-CTlBmB5n.js +0 -1
  105. package/dist/assets/src-Cp4yFztL.js +0 -4
  106. package/dist/assets/src-CvUhNHtO.js +0 -1
  107. package/dist/assets/src-D5pqHmdF.js +0 -1
  108. package/dist/assets/src-D9ZNj5Fi2.js +0 -1
  109. package/dist/assets/src-DAUYP87f2.js +0 -1
  110. package/dist/assets/src-DEqFDnFO.js +0 -1
  111. package/dist/assets/src-DXSkgVrX.js +0 -4
  112. package/dist/assets/src-DaHZILQZ.js +0 -1
  113. package/dist/assets/src-Dvbi--2I.js +0 -6
  114. package/dist/assets/src-Uu0k-CHA.js +0 -1
  115. package/dist/assets/src-WB1-7_Wh.js +0 -1
  116. package/dist/assets/src-dXlj2maQ.js +0 -1
  117. package/dist/assets/src-d_-Z83D-.js +0 -2
  118. package/dist/assets/src-eAsO2o4h2.js +0 -1
  119. package/dist/assets/src-uWOnIJWD.js +0 -6
  120. package/dist/assets/src-yL3q5Nfe.js +0 -1
  121. package/dist/assets/ui-A8aS2-NQ.js +0 -2
  122. package/dist/assets/ui-BK1F_c4b.js +0 -2
  123. package/dist/assets/ui-C9-epiVm.js +0 -2
  124. package/dist/assets/ui-kICtw37s.js +0 -1
  125. package/dist/assets/ui-vendor-BuwRGdK1.js +0 -44
@@ -1 +0,0 @@
1
- import{n as e,r as t,t as n}from"./rolldown-runtime-QTnfLwEv.js";import{t as r}from"./development-olQNibq5.js";var i=class{constructor(e,t,n){this.normal=t,this.property=e,n&&(this.space=n)}};i.prototype.normal={},i.prototype.property={},i.prototype.space=void 0;function a(e,t){let n={},r={};for(let t of e)Object.assign(n,t.property),Object.assign(r,t.normal);return new i(n,r,t)}function o(e){return e.toLowerCase()}var s=class{constructor(e,t){this.attribute=t,this.property=e}};s.prototype.attribute=``,s.prototype.booleanish=!1,s.prototype.boolean=!1,s.prototype.commaOrSpaceSeparated=!1,s.prototype.commaSeparated=!1,s.prototype.defined=!1,s.prototype.mustUseProperty=!1,s.prototype.number=!1,s.prototype.overloadedBoolean=!1,s.prototype.property=``,s.prototype.spaceSeparated=!1,s.prototype.space=void 0;var c=e({boolean:()=>u,booleanish:()=>d,commaOrSpaceSeparated:()=>g,commaSeparated:()=>h,number:()=>p,overloadedBoolean:()=>f,spaceSeparated:()=>m}),l=0,u=_(),d=_(),f=_(),p=_(),m=_(),h=_(),g=_();function _(){return 2**++l}var v=Object.keys(c),y=class extends s{constructor(e,t,n,r){let i=-1;if(super(e,t),b(this,`space`,r),typeof n==`number`)for(;++i<v.length;){let e=v[i];b(this,v[i],(n&c[e])===c[e])}}};y.prototype.defined=!0;function b(e,t,n){n&&(e[t]=n)}function x(e){let t={},n={};for(let[r,i]of Object.entries(e.properties)){let a=new y(r,e.transform(e.attributes||{},r),i,e.space);e.mustUseProperty&&e.mustUseProperty.includes(r)&&(a.mustUseProperty=!0),t[r]=a,n[o(r)]=r,n[o(a.attribute)]=r}return new i(t,n,e.space)}var S=x({properties:{ariaActiveDescendant:null,ariaAtomic:d,ariaAutoComplete:null,ariaBusy:d,ariaChecked:d,ariaColCount:p,ariaColIndex:p,ariaColSpan:p,ariaControls:m,ariaCurrent:null,ariaDescribedBy:m,ariaDetails:null,ariaDisabled:d,ariaDropEffect:m,ariaErrorMessage:null,ariaExpanded:d,ariaFlowTo:m,ariaGrabbed:d,ariaHasPopup:null,ariaHidden:d,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:m,ariaLevel:p,ariaLive:null,ariaModal:d,ariaMultiLine:d,ariaMultiSelectable:d,ariaOrientation:null,ariaOwns:m,ariaPlaceholder:null,ariaPosInSet:p,ariaPressed:d,ariaReadOnly:d,ariaRelevant:null,ariaRequired:d,ariaRoleDescription:m,ariaRowCount:p,ariaRowIndex:p,ariaRowSpan:p,ariaSelected:d,ariaSetSize:p,ariaSort:null,ariaValueMax:p,ariaValueMin:p,ariaValueNow:p,ariaValueText:null,role:null},transform(e,t){return t===`role`?t:`aria-`+t.slice(4).toLowerCase()}});function C(e,t){return t in e?e[t]:t}function w(e,t){return C(e,t.toLowerCase())}var ee=x({attributes:{acceptcharset:`accept-charset`,classname:`class`,htmlfor:`for`,httpequiv:`http-equiv`},mustUseProperty:[`checked`,`multiple`,`muted`,`selected`],properties:{abbr:null,accept:h,acceptCharset:m,accessKey:m,action:null,allow:null,allowFullScreen:u,allowPaymentRequest:u,allowUserMedia:u,alpha:u,alt:null,as:null,async:u,autoCapitalize:null,autoComplete:m,autoFocus:u,autoPlay:u,blocking:m,capture:null,charSet:null,checked:u,cite:null,className:m,closedBy:null,colorSpace:null,cols:p,colSpan:p,command:null,commandFor:null,content:null,contentEditable:d,controls:u,controlsList:m,coords:p|h,crossOrigin:null,data:null,dateTime:null,decoding:null,default:u,defer:u,dir:null,dirName:null,disabled:u,download:f,draggable:d,encType:null,enterKeyHint:null,fetchPriority:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:u,formTarget:null,headers:m,height:p,hidden:f,high:p,href:null,hrefLang:null,htmlFor:m,httpEquiv:m,id:null,imageSizes:null,imageSrcSet:null,inert:u,inputMode:null,integrity:null,is:null,isMap:u,itemId:null,itemProp:m,itemRef:m,itemScope:u,itemType:m,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:u,low:p,manifest:null,max:null,maxLength:p,media:null,method:null,min:null,minLength:p,multiple:u,muted:u,name:null,nonce:null,noModule:u,noValidate:u,onAbort:null,onAfterPrint:null,onAuxClick:null,onBeforeMatch:null,onBeforePrint:null,onBeforeToggle:null,onBeforeUnload:null,onBlur:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onContextLost:null,onContextMenu:null,onContextRestored:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnded:null,onError:null,onFocus:null,onFormData:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLanguageChange:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadEnd:null,onLoadStart:null,onMessage:null,onMessageError:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRejectionHandled:null,onReset:null,onResize:null,onScroll:null,onScrollEnd:null,onSecurityPolicyViolation:null,onSeeked:null,onSeeking:null,onSelect:null,onSlotChange:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnhandledRejection:null,onUnload:null,onVolumeChange:null,onWaiting:null,onWheel:null,open:u,optimum:p,pattern:null,ping:m,placeholder:null,playsInline:u,popover:null,popoverTarget:null,popoverTargetAction:null,poster:null,preload:null,readOnly:u,referrerPolicy:null,rel:m,required:u,reversed:u,rows:p,rowSpan:p,sandbox:m,scope:null,scoped:u,seamless:u,selected:u,shadowRootClonable:u,shadowRootCustomElementRegistry:u,shadowRootDelegatesFocus:u,shadowRootMode:null,shadowRootSerializable:u,shape:null,size:p,sizes:null,slot:null,span:p,spellCheck:d,src:null,srcDoc:null,srcLang:null,srcSet:null,start:p,step:null,style:null,tabIndex:p,target:null,title:null,translate:null,type:null,typeMustMatch:u,useMap:null,value:d,width:p,wrap:null,writingSuggestions:null,align:null,aLink:null,archive:m,axis:null,background:null,bgColor:null,border:p,borderColor:null,bottomMargin:p,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:u,declare:u,event:null,face:null,frame:null,frameBorder:null,hSpace:p,leftMargin:p,link:null,longDesc:null,lowSrc:null,marginHeight:p,marginWidth:p,noResize:u,noHref:u,noShade:u,noWrap:u,object:null,profile:null,prompt:null,rev:null,rightMargin:p,rules:null,scheme:null,scrolling:d,standby:null,summary:null,text:null,topMargin:p,valueType:null,version:null,vAlign:null,vLink:null,vSpace:p,allowTransparency:null,autoCorrect:null,autoSave:null,credentialless:u,disablePictureInPicture:u,disableRemotePlayback:u,exportParts:h,part:m,prefix:null,property:null,results:p,security:null,unselectable:null},space:`html`,transform:w}),te=x({attributes:{accentHeight:`accent-height`,alignmentBaseline:`alignment-baseline`,arabicForm:`arabic-form`,baselineShift:`baseline-shift`,capHeight:`cap-height`,className:`class`,clipPath:`clip-path`,clipRule:`clip-rule`,colorInterpolation:`color-interpolation`,colorInterpolationFilters:`color-interpolation-filters`,colorProfile:`color-profile`,colorRendering:`color-rendering`,crossOrigin:`crossorigin`,dataType:`datatype`,dominantBaseline:`dominant-baseline`,enableBackground:`enable-background`,fillOpacity:`fill-opacity`,fillRule:`fill-rule`,floodColor:`flood-color`,floodOpacity:`flood-opacity`,fontFamily:`font-family`,fontSize:`font-size`,fontSizeAdjust:`font-size-adjust`,fontStretch:`font-stretch`,fontStyle:`font-style`,fontVariant:`font-variant`,fontWeight:`font-weight`,glyphName:`glyph-name`,glyphOrientationHorizontal:`glyph-orientation-horizontal`,glyphOrientationVertical:`glyph-orientation-vertical`,hrefLang:`hreflang`,horizAdvX:`horiz-adv-x`,horizOriginX:`horiz-origin-x`,horizOriginY:`horiz-origin-y`,imageRendering:`image-rendering`,letterSpacing:`letter-spacing`,lightingColor:`lighting-color`,markerEnd:`marker-end`,markerMid:`marker-mid`,markerStart:`marker-start`,maskType:`mask-type`,navDown:`nav-down`,navDownLeft:`nav-down-left`,navDownRight:`nav-down-right`,navLeft:`nav-left`,navNext:`nav-next`,navPrev:`nav-prev`,navRight:`nav-right`,navUp:`nav-up`,navUpLeft:`nav-up-left`,navUpRight:`nav-up-right`,onAbort:`onabort`,onActivate:`onactivate`,onAfterPrint:`onafterprint`,onBeforePrint:`onbeforeprint`,onBegin:`onbegin`,onCancel:`oncancel`,onCanPlay:`oncanplay`,onCanPlayThrough:`oncanplaythrough`,onChange:`onchange`,onClick:`onclick`,onClose:`onclose`,onCopy:`oncopy`,onCueChange:`oncuechange`,onCut:`oncut`,onDblClick:`ondblclick`,onDrag:`ondrag`,onDragEnd:`ondragend`,onDragEnter:`ondragenter`,onDragExit:`ondragexit`,onDragLeave:`ondragleave`,onDragOver:`ondragover`,onDragStart:`ondragstart`,onDrop:`ondrop`,onDurationChange:`ondurationchange`,onEmptied:`onemptied`,onEnd:`onend`,onEnded:`onended`,onError:`onerror`,onFocus:`onfocus`,onFocusIn:`onfocusin`,onFocusOut:`onfocusout`,onHashChange:`onhashchange`,onInput:`oninput`,onInvalid:`oninvalid`,onKeyDown:`onkeydown`,onKeyPress:`onkeypress`,onKeyUp:`onkeyup`,onLoad:`onload`,onLoadedData:`onloadeddata`,onLoadedMetadata:`onloadedmetadata`,onLoadStart:`onloadstart`,onMessage:`onmessage`,onMouseDown:`onmousedown`,onMouseEnter:`onmouseenter`,onMouseLeave:`onmouseleave`,onMouseMove:`onmousemove`,onMouseOut:`onmouseout`,onMouseOver:`onmouseover`,onMouseUp:`onmouseup`,onMouseWheel:`onmousewheel`,onOffline:`onoffline`,onOnline:`ononline`,onPageHide:`onpagehide`,onPageShow:`onpageshow`,onPaste:`onpaste`,onPause:`onpause`,onPlay:`onplay`,onPlaying:`onplaying`,onPopState:`onpopstate`,onProgress:`onprogress`,onRateChange:`onratechange`,onRepeat:`onrepeat`,onReset:`onreset`,onResize:`onresize`,onScroll:`onscroll`,onSeeked:`onseeked`,onSeeking:`onseeking`,onSelect:`onselect`,onShow:`onshow`,onStalled:`onstalled`,onStorage:`onstorage`,onSubmit:`onsubmit`,onSuspend:`onsuspend`,onTimeUpdate:`ontimeupdate`,onToggle:`ontoggle`,onUnload:`onunload`,onVolumeChange:`onvolumechange`,onWaiting:`onwaiting`,onZoom:`onzoom`,overlinePosition:`overline-position`,overlineThickness:`overline-thickness`,paintOrder:`paint-order`,panose1:`panose-1`,pointerEvents:`pointer-events`,referrerPolicy:`referrerpolicy`,renderingIntent:`rendering-intent`,shapeRendering:`shape-rendering`,stopColor:`stop-color`,stopOpacity:`stop-opacity`,strikethroughPosition:`strikethrough-position`,strikethroughThickness:`strikethrough-thickness`,strokeDashArray:`stroke-dasharray`,strokeDashOffset:`stroke-dashoffset`,strokeLineCap:`stroke-linecap`,strokeLineJoin:`stroke-linejoin`,strokeMiterLimit:`stroke-miterlimit`,strokeOpacity:`stroke-opacity`,strokeWidth:`stroke-width`,tabIndex:`tabindex`,textAnchor:`text-anchor`,textDecoration:`text-decoration`,textRendering:`text-rendering`,transformOrigin:`transform-origin`,typeOf:`typeof`,underlinePosition:`underline-position`,underlineThickness:`underline-thickness`,unicodeBidi:`unicode-bidi`,unicodeRange:`unicode-range`,unitsPerEm:`units-per-em`,vAlphabetic:`v-alphabetic`,vHanging:`v-hanging`,vIdeographic:`v-ideographic`,vMathematical:`v-mathematical`,vectorEffect:`vector-effect`,vertAdvY:`vert-adv-y`,vertOriginX:`vert-origin-x`,vertOriginY:`vert-origin-y`,wordSpacing:`word-spacing`,writingMode:`writing-mode`,xHeight:`x-height`,playbackOrder:`playbackorder`,timelineBegin:`timelinebegin`},properties:{about:g,accentHeight:p,accumulate:null,additive:null,alignmentBaseline:null,alphabetic:p,amplitude:p,arabicForm:null,ascent:p,attributeName:null,attributeType:null,azimuth:p,bandwidth:null,baselineShift:null,baseFrequency:null,baseProfile:null,bbox:null,begin:null,bias:p,by:null,calcMode:null,capHeight:p,className:m,clip:null,clipPath:null,clipPathUnits:null,clipRule:null,color:null,colorInterpolation:null,colorInterpolationFilters:null,colorProfile:null,colorRendering:null,content:null,contentScriptType:null,contentStyleType:null,crossOrigin:null,cursor:null,cx:null,cy:null,d:null,dataType:null,defaultAction:null,descent:p,diffuseConstant:p,direction:null,display:null,dur:null,divisor:p,dominantBaseline:null,download:u,dx:null,dy:null,edgeMode:null,editable:null,elevation:p,enableBackground:null,end:null,event:null,exponent:p,externalResourcesRequired:null,fill:null,fillOpacity:p,fillRule:null,filter:null,filterRes:null,filterUnits:null,floodColor:null,floodOpacity:null,focusable:null,focusHighlight:null,fontFamily:null,fontSize:null,fontSizeAdjust:null,fontStretch:null,fontStyle:null,fontVariant:null,fontWeight:null,format:null,fr:null,from:null,fx:null,fy:null,g1:h,g2:h,glyphName:h,glyphOrientationHorizontal:null,glyphOrientationVertical:null,glyphRef:null,gradientTransform:null,gradientUnits:null,handler:null,hanging:p,hatchContentUnits:null,hatchUnits:null,height:null,href:null,hrefLang:null,horizAdvX:p,horizOriginX:p,horizOriginY:p,id:null,ideographic:p,imageRendering:null,initialVisibility:null,in:null,in2:null,intercept:p,k:p,k1:p,k2:p,k3:p,k4:p,kernelMatrix:g,kernelUnitLength:null,keyPoints:null,keySplines:null,keyTimes:null,kerning:null,lang:null,lengthAdjust:null,letterSpacing:null,lightingColor:null,limitingConeAngle:p,local:null,markerEnd:null,markerMid:null,markerStart:null,markerHeight:null,markerUnits:null,markerWidth:null,mask:null,maskContentUnits:null,maskType:null,maskUnits:null,mathematical:null,max:null,media:null,mediaCharacterEncoding:null,mediaContentEncodings:null,mediaSize:p,mediaTime:null,method:null,min:null,mode:null,name:null,navDown:null,navDownLeft:null,navDownRight:null,navLeft:null,navNext:null,navPrev:null,navRight:null,navUp:null,navUpLeft:null,navUpRight:null,numOctaves:null,observer:null,offset:null,onAbort:null,onActivate:null,onAfterPrint:null,onBeforePrint:null,onBegin:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnd:null,onEnded:null,onError:null,onFocus:null,onFocusIn:null,onFocusOut:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadStart:null,onMessage:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onMouseWheel:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRepeat:null,onReset:null,onResize:null,onScroll:null,onSeeked:null,onSeeking:null,onSelect:null,onShow:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnload:null,onVolumeChange:null,onWaiting:null,onZoom:null,opacity:null,operator:null,order:null,orient:null,orientation:null,origin:null,overflow:null,overlay:null,overlinePosition:p,overlineThickness:p,paintOrder:null,panose1:null,path:null,pathLength:p,patternContentUnits:null,patternTransform:null,patternUnits:null,phase:null,ping:m,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:p,pointsAtY:p,pointsAtZ:p,preserveAlpha:null,preserveAspectRatio:null,primitiveUnits:null,propagate:null,property:g,r:null,radius:null,referrerPolicy:null,refX:null,refY:null,rel:g,rev:g,renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:g,requiredFeatures:g,requiredFonts:g,requiredFormats:g,resource:null,restart:null,result:null,rotate:null,rx:null,ry:null,scale:null,seed:null,shapeRendering:null,side:null,slope:null,snapshotTime:null,specularConstant:p,specularExponent:p,spreadMethod:null,spacing:null,startOffset:null,stdDeviation:null,stemh:null,stemv:null,stitchTiles:null,stopColor:null,stopOpacity:null,strikethroughPosition:p,strikethroughThickness:p,string:null,stroke:null,strokeDashArray:g,strokeDashOffset:null,strokeLineCap:null,strokeLineJoin:null,strokeMiterLimit:p,strokeOpacity:p,strokeWidth:null,style:null,surfaceScale:p,syncBehavior:null,syncBehaviorDefault:null,syncMaster:null,syncTolerance:null,syncToleranceDefault:null,systemLanguage:g,tabIndex:p,tableValues:null,target:null,targetX:p,targetY:p,textAnchor:null,textDecoration:null,textRendering:null,textLength:null,timelineBegin:null,title:null,transformBehavior:null,type:null,typeOf:g,to:null,transform:null,transformOrigin:null,u1:null,u2:null,underlinePosition:p,underlineThickness:p,unicode:null,unicodeBidi:null,unicodeRange:null,unitsPerEm:p,values:null,vAlphabetic:p,vMathematical:p,vectorEffect:null,vHanging:p,vIdeographic:p,version:null,vertAdvY:p,vertOriginX:p,vertOriginY:p,viewBox:null,viewTarget:null,visibility:null,width:null,widths:null,wordSpacing:null,writingMode:null,x:null,x1:null,x2:null,xChannelSelector:null,xHeight:p,y:null,y1:null,y2:null,yChannelSelector:null,z:null,zoomAndPan:null},space:`svg`,transform:C}),T=x({properties:{xLinkActuate:null,xLinkArcRole:null,xLinkHref:null,xLinkRole:null,xLinkShow:null,xLinkTitle:null,xLinkType:null},space:`xlink`,transform(e,t){return`xlink:`+t.slice(5).toLowerCase()}}),E=x({attributes:{xmlnsxlink:`xmlns:xlink`},properties:{xmlnsXLink:null,xmlns:null},space:`xmlns`,transform:w}),D=x({properties:{xmlBase:null,xmlLang:null,xmlSpace:null},space:`xml`,transform(e,t){return`xml:`+t.slice(3).toLowerCase()}}),ne=/[A-Z]/g,O=/-[a-z]/g,re=/^data[-\w.:]+$/i;function ie(e,t){let n=o(t),r=t,i=s;if(n in e.normal)return e.property[e.normal[n]];if(n.length>4&&n.slice(0,4)===`data`&&re.test(t)){if(t.charAt(4)===`-`){let e=t.slice(5).replace(O,oe);r=`data`+e.charAt(0).toUpperCase()+e.slice(1)}else{let e=t.slice(4);if(!O.test(e)){let n=e.replace(ne,ae);n.charAt(0)!==`-`&&(n=`-`+n),t=`data`+n}}i=y}return new i(r,t)}function ae(e){return`-`+e.toLowerCase()}function oe(e){return e.charAt(1).toUpperCase()}var se=a([S,ee,T,E,D],`html`),ce=a([S,te,T,E,D],`svg`);function le(e){let t=[],n=String(e||``),r=n.indexOf(`,`),i=0,a=!1;for(;!a;){r===-1&&(r=n.length,a=!0);let e=n.slice(i,r).trim();(e||!a)&&t.push(e),i=r+1,r=n.indexOf(`,`,i)}return t}function ue(e,t){let n=t||{};return(e[e.length-1]===``?[...e,``]:e).join((n.padRight?` `:``)+`,`+(n.padLeft===!1?``:` `)).trim()}function de(e){let t=String(e||``).trim();return t?t.split(/[ \t\n\r\f]+/g):[]}function fe(e){return e.join(` `).trim()}function k(e){return!e||typeof e!=`object`?``:`position`in e||`type`in e?j(e.position):`start`in e||`end`in e?j(e):`line`in e||`column`in e?A(e):``}function A(e){return M(e&&e.line)+`:`+M(e&&e.column)}function j(e){return A(e&&e.start)+`-`+A(e&&e.end)}function M(e){return e&&typeof e==`number`?e:1}var N=class extends Error{constructor(e,t,n){super(),typeof t==`string`&&(n=t,t=void 0);let r=``,i={},a=!1;if(t&&(i=`line`in t&&`column`in t||`start`in t&&`end`in t?{place:t}:`type`in t?{ancestors:[t],place:t.position}:{...t}),typeof e==`string`?r=e:!i.cause&&e&&(a=!0,r=e.message,i.cause=e),!i.ruleId&&!i.source&&typeof n==`string`){let e=n.indexOf(`:`);e===-1?i.ruleId=n:(i.source=n.slice(0,e),i.ruleId=n.slice(e+1))}if(!i.place&&i.ancestors&&i.ancestors){let e=i.ancestors[i.ancestors.length-1];e&&(i.place=e.position)}let o=i.place&&`start`in i.place?i.place.start:i.place;this.ancestors=i.ancestors||void 0,this.cause=i.cause||void 0,this.column=o?o.column:void 0,this.fatal=void 0,this.file=``,this.message=r,this.line=o?o.line:void 0,this.name=k(i.place)||`1:1`,this.place=i.place||void 0,this.reason=this.message,this.ruleId=i.ruleId||void 0,this.source=i.source||void 0,this.stack=a&&i.cause&&typeof i.cause.stack==`string`?i.cause.stack:``,this.actual=void 0,this.expected=void 0,this.note=void 0,this.url=void 0}};N.prototype.file=``,N.prototype.name=``,N.prototype.reason=``,N.prototype.message=``,N.prototype.stack=``,N.prototype.column=void 0,N.prototype.line=void 0,N.prototype.ancestors=void 0,N.prototype.cause=void 0,N.prototype.fatal=void 0,N.prototype.place=void 0,N.prototype.ruleId=void 0,N.prototype.source=void 0;var P={basename:pe,dirname:me,extname:he,join:ge,sep:`/`};function pe(e,t){if(t!==void 0&&typeof t!=`string`)throw TypeError(`"ext" argument must be a string`);F(e);let n=0,r=-1,i=e.length,a;if(t===void 0||t.length===0||t.length>e.length){for(;i--;)if(e.codePointAt(i)===47){if(a){n=i+1;break}}else r<0&&(a=!0,r=i+1);return r<0?``:e.slice(n,r)}if(t===e)return``;let o=-1,s=t.length-1;for(;i--;)if(e.codePointAt(i)===47){if(a){n=i+1;break}}else o<0&&(a=!0,o=i+1),s>-1&&(e.codePointAt(i)===t.codePointAt(s--)?s<0&&(r=i):(s=-1,r=o));return n===r?r=o:r<0&&(r=e.length),e.slice(n,r)}function me(e){if(F(e),e.length===0)return`.`;let t=-1,n=e.length,r;for(;--n;)if(e.codePointAt(n)===47){if(r){t=n;break}}else r||=!0;return t<0?e.codePointAt(0)===47?`/`:`.`:t===1&&e.codePointAt(0)===47?`//`:e.slice(0,t)}function he(e){F(e);let t=e.length,n=-1,r=0,i=-1,a=0,o;for(;t--;){let s=e.codePointAt(t);if(s===47){if(o){r=t+1;break}continue}n<0&&(o=!0,n=t+1),s===46?i<0?i=t:a!==1&&(a=1):i>-1&&(a=-1)}return i<0||n<0||a===0||a===1&&i===n-1&&i===r+1?``:e.slice(i,n)}function ge(...e){let t=-1,n;for(;++t<e.length;)F(e[t]),e[t]&&(n=n===void 0?e[t]:n+`/`+e[t]);return n===void 0?`.`:_e(n)}function _e(e){F(e);let t=e.codePointAt(0)===47,n=ve(e,!t);return n.length===0&&!t&&(n=`.`),n.length>0&&e.codePointAt(e.length-1)===47&&(n+=`/`),t?`/`+n:n}function ve(e,t){let n=``,r=0,i=-1,a=0,o=-1,s,c;for(;++o<=e.length;){if(o<e.length)s=e.codePointAt(o);else if(s===47)break;else s=47;if(s===47){if(!(i===o-1||a===1))if(i!==o-1&&a===2){if(n.length<2||r!==2||n.codePointAt(n.length-1)!==46||n.codePointAt(n.length-2)!==46){if(n.length>2){if(c=n.lastIndexOf(`/`),c!==n.length-1){c<0?(n=``,r=0):(n=n.slice(0,c),r=n.length-1-n.lastIndexOf(`/`)),i=o,a=0;continue}}else if(n.length>0){n=``,r=0,i=o,a=0;continue}}t&&(n=n.length>0?n+`/..`:`..`,r=2)}else n.length>0?n+=`/`+e.slice(i+1,o):n=e.slice(i+1,o),r=o-i-1;i=o,a=0}else s===46&&a>-1?a++:a=-1}return n}function F(e){if(typeof e!=`string`)throw TypeError(`Path must be a string. Received `+JSON.stringify(e))}var ye={cwd:be};function be(){return`/`}function I(e){return!!(typeof e==`object`&&e&&`href`in e&&e.href&&`protocol`in e&&e.protocol&&e.auth===void 0)}function xe(e){if(typeof e==`string`)e=new URL(e);else if(!I(e)){let t=TypeError('The "path" argument must be of type string or an instance of URL. Received `'+e+"`");throw t.code=`ERR_INVALID_ARG_TYPE`,t}if(e.protocol!==`file:`){let e=TypeError(`The URL must be of scheme file`);throw e.code=`ERR_INVALID_URL_SCHEME`,e}return Se(e)}function Se(e){if(e.hostname!==``){let e=TypeError(`File URL host must be "localhost" or empty on darwin`);throw e.code=`ERR_INVALID_FILE_URL_HOST`,e}let t=e.pathname,n=-1;for(;++n<t.length;)if(t.codePointAt(n)===37&&t.codePointAt(n+1)===50){let e=t.codePointAt(n+2);if(e===70||e===102){let e=TypeError(`File URL path must not include encoded / characters`);throw e.code=`ERR_INVALID_FILE_URL_PATH`,e}}return decodeURIComponent(t)}var L=[`history`,`path`,`basename`,`stem`,`extname`,`dirname`],R=class{constructor(e){let t;t=e?I(e)?{path:e}:typeof e==`string`||Ce(e)?{value:e}:e:{},this.cwd=`cwd`in t?``:ye.cwd(),this.data={},this.history=[],this.messages=[],this.value,this.map,this.result,this.stored;let n=-1;for(;++n<L.length;){let e=L[n];e in t&&t[e]!==void 0&&t[e]!==null&&(this[e]=e===`history`?[...t[e]]:t[e])}let r;for(r in t)L.includes(r)||(this[r]=t[r])}get basename(){return typeof this.path==`string`?P.basename(this.path):void 0}set basename(e){B(e,`basename`),z(e,`basename`),this.path=P.join(this.dirname||``,e)}get dirname(){return typeof this.path==`string`?P.dirname(this.path):void 0}set dirname(e){V(this.basename,`dirname`),this.path=P.join(e||``,this.basename)}get extname(){return typeof this.path==`string`?P.extname(this.path):void 0}set extname(e){if(z(e,`extname`),V(this.dirname,`extname`),e){if(e.codePointAt(0)!==46)throw Error("`extname` must start with `.`");if(e.includes(`.`,1))throw Error("`extname` cannot contain multiple dots")}this.path=P.join(this.dirname,this.stem+(e||``))}get path(){return this.history[this.history.length-1]}set path(e){I(e)&&(e=xe(e)),B(e,`path`),this.path!==e&&this.history.push(e)}get stem(){return typeof this.path==`string`?P.basename(this.path,this.extname):void 0}set stem(e){B(e,`stem`),z(e,`stem`),this.path=P.join(this.dirname||``,e+(this.extname||``))}fail(e,t,n){let r=this.message(e,t,n);throw r.fatal=!0,r}info(e,t,n){let r=this.message(e,t,n);return r.fatal=void 0,r}message(e,t,n){let r=new N(e,t,n);return this.path&&(r.name=this.path+`:`+r.name,r.file=this.path),r.fatal=!1,this.messages.push(r),r}toString(e){return this.value===void 0?``:typeof this.value==`string`?this.value:new TextDecoder(e||void 0).decode(this.value)}};function z(e,t){if(e&&e.includes(P.sep))throw Error("`"+t+"` cannot be a path: did not expect `"+P.sep+"`")}function B(e,t){if(!e)throw Error("`"+t+"` cannot be empty")}function V(e,t){if(!e)throw Error("Setting `"+t+"` requires `path` to be set too")}function Ce(e){return!!(e&&typeof e==`object`&&`byteLength`in e&&`byteOffset`in e)}function we(e,t){let n=String(e);if(typeof t!=`string`)throw TypeError(`Expected character`);let r=0,i=n.indexOf(t);for(;i!==-1;)r++,i=n.indexOf(t,i+t.length);return r}var Te=/[ \t\n\f\r]/g;function Ee(e){return typeof e==`object`?e.type===`text`&&H(e.value):H(e)}function H(e){return e.replace(Te,``)===``}function U(e){if(e)throw e}var W=t(n(((e,t)=>{var n=Object.prototype.hasOwnProperty,r=Object.prototype.toString,i=Object.defineProperty,a=Object.getOwnPropertyDescriptor,o=function(e){return typeof Array.isArray==`function`?Array.isArray(e):r.call(e)===`[object Array]`},s=function(e){if(!e||r.call(e)!==`[object Object]`)return!1;var t=n.call(e,`constructor`),i=e.constructor&&e.constructor.prototype&&n.call(e.constructor.prototype,`isPrototypeOf`);if(e.constructor&&!t&&!i)return!1;for(var a in e);return a===void 0||n.call(e,a)},c=function(e,t){i&&t.name===`__proto__`?i(e,t.name,{enumerable:!0,configurable:!0,value:t.newValue,writable:!0}):e[t.name]=t.newValue},l=function(e,t){if(t===`__proto__`){if(!n.call(e,t))return;if(a)return a(e,t).value}return e[t]};t.exports=function e(){var t,n,r,i,a,u,d=arguments[0],f=1,p=arguments.length,m=!1;for(typeof d==`boolean`&&(m=d,d=arguments[1]||{},f=2),(d==null||typeof d!=`object`&&typeof d!=`function`)&&(d={});f<p;++f)if(t=arguments[f],t!=null)for(n in t)r=l(d,n),i=l(t,n),d!==i&&(m&&i&&(s(i)||(a=o(i)))?(a?(a=!1,u=r&&o(r)?r:[]):u=r&&s(r)?r:{},c(d,{name:n,newValue:e(m,u,i)})):i!==void 0&&c(d,{name:n,newValue:i}));return d}}))(),1);function G(e){if(typeof e!=`object`||!e)return!1;let t=Object.getPrototypeOf(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)}function De(){let e=[],t={run:n,use:r};return t;function n(...t){let n=-1,r=t.pop();if(typeof r!=`function`)throw TypeError(`Expected function as last argument, not `+r);i(null,...t);function i(a,...o){let s=e[++n],c=-1;if(a){r(a);return}for(;++c<t.length;)(o[c]===null||o[c]===void 0)&&(o[c]=t[c]);t=o,s?Oe(s,i)(...o):r(null,...o)}}function r(n){if(typeof n!=`function`)throw TypeError("Expected `middelware` to be a function, not "+n);return e.push(n),t}}function Oe(e,t){let n;return r;function r(...t){let r=e.length>t.length,o;r&&t.push(i);try{o=e.apply(this,t)}catch(e){let t=e;if(r&&n)throw t;return i(t)}r||(o&&o.then&&typeof o.then==`function`?o.then(a,i):o instanceof Error?i(o):a(o))}function i(e,...r){n||(n=!0,t(e,...r))}function a(e){i(null,e)}}var ke=(function(e){let t=this.constructor.prototype,n=t[e],r=function(){return n.apply(r,arguments)};return Object.setPrototypeOf(r,t),r}),Ae={}.hasOwnProperty,je=new class e extends ke{constructor(){super(`copy`),this.Compiler=void 0,this.Parser=void 0,this.attachers=[],this.compiler=void 0,this.freezeIndex=-1,this.frozen=void 0,this.namespace={},this.parser=void 0,this.transformers=De()}copy(){let t=new e,n=-1;for(;++n<this.attachers.length;){let e=this.attachers[n];t.use(...e)}return t.data((0,W.default)(!0,{},this.namespace)),t}data(e,t){return typeof e==`string`?arguments.length===2?(J(`data`,this.frozen),this.namespace[e]=t,this):Ae.call(this.namespace,e)&&this.namespace[e]||void 0:e?(J(`data`,this.frozen),this.namespace=e,this):this.namespace}freeze(){if(this.frozen)return this;let e=this;for(;++this.freezeIndex<this.attachers.length;){let[t,...n]=this.attachers[this.freezeIndex];if(n[0]===!1)continue;n[0]===!0&&(n[0]=void 0);let r=t.call(e,...n);typeof r==`function`&&this.transformers.use(r)}return this.frozen=!0,this.freezeIndex=1/0,this}parse(e){this.freeze();let t=Z(e),n=this.parser||this.Parser;return K(`parse`,n),n(String(t),t)}process(e,t){let n=this;return this.freeze(),K(`process`,this.parser||this.Parser),q(`process`,this.compiler||this.Compiler),t?i(void 0,t):new Promise(i);function i(i,a){let o=Z(e),s=n.parse(o);n.run(s,o,function(e,t,r){if(e||!t||!r)return c(e);let i=t,a=n.stringify(i,r);Ne(a)?r.value=a:r.result=a,c(e,r)});function c(e,n){e||!n?a(e):i?i(n):(r(t,"`done` is defined if `resolve` is not"),t(void 0,n))}}}processSync(e){let t=!1,n;return this.freeze(),K(`processSync`,this.parser||this.Parser),q(`processSync`,this.compiler||this.Compiler),this.process(e,i),X(`processSync`,`process`,t),r(n,`we either bailed on an error or have a tree`),n;function i(e,r){t=!0,U(e),n=r}}run(e,t,n){Y(e),this.freeze();let i=this.transformers;return!n&&typeof t==`function`&&(n=t,t=void 0),n?a(void 0,n):new Promise(a);function a(a,o){r(typeof t!=`function`,"`file` can’t be a `done` anymore, we checked");let s=Z(t);i.run(e,s,c);function c(t,i,s){let c=i||e;t?o(t):a?a(c):(r(n,"`done` is defined if `resolve` is not"),n(void 0,c,s))}}}runSync(e,t){let n=!1,i;return this.run(e,t,a),X(`runSync`,`run`,n),r(i,`we either bailed on an error or have a tree`),i;function a(e,t){U(e),i=t,n=!0}}stringify(e,t){this.freeze();let n=Z(t),r=this.compiler||this.Compiler;return q(`stringify`,r),Y(e),r(e,n)}use(e,...t){let n=this.attachers,r=this.namespace;if(J(`use`,this.frozen),e!=null)if(typeof e==`function`)s(e,t);else if(typeof e==`object`)Array.isArray(e)?o(e):a(e);else throw TypeError("Expected usable value, not `"+e+"`");return this;function i(e){if(typeof e==`function`)s(e,[]);else if(typeof e==`object`)if(Array.isArray(e)){let[t,...n]=e;s(t,n)}else a(e);else throw TypeError("Expected usable value, not `"+e+"`")}function a(e){if(!(`plugins`in e)&&!(`settings`in e))throw Error("Expected usable value but received an empty preset, which is probably a mistake: presets typically come with `plugins` and sometimes with `settings`, but this has neither");o(e.plugins),e.settings&&(r.settings=(0,W.default)(!0,r.settings,e.settings))}function o(e){let t=-1;if(e!=null)if(Array.isArray(e))for(;++t<e.length;){let n=e[t];i(n)}else throw TypeError("Expected a list of plugins, not `"+e+"`")}function s(e,t){let r=-1,i=-1;for(;++r<n.length;)if(n[r][0]===e){i=r;break}if(i===-1)n.push([e,...t]);else if(t.length>0){let[r,...a]=t,o=n[i][1];G(o)&&G(r)&&(r=(0,W.default)(!0,o,r)),n[i]=[e,r,...a]}}}}().freeze();function K(e,t){if(typeof t!=`function`)throw TypeError("Cannot `"+e+"` without `parser`")}function q(e,t){if(typeof t!=`function`)throw TypeError("Cannot `"+e+"` without `compiler`")}function J(e,t){if(t)throw Error("Cannot call `"+e+"` on a frozen processor.\nCreate a new processor first, by calling it: use `processor()` instead of `processor`.")}function Y(e){if(!G(e)||typeof e.type!=`string`)throw TypeError("Expected node, got `"+e+"`")}function X(e,t,n){if(!n)throw Error("`"+e+"` finished async. Use `"+t+"` instead")}function Z(e){return Me(e)?e:new R(e)}function Me(e){return!!(e&&typeof e==`object`&&`message`in e&&`messages`in e)}function Ne(e){return typeof e==`string`||Pe(e)}function Pe(e){return!!(e&&typeof e==`object`&&`byteLength`in e&&`byteOffset`in e)}var Q=(function(e){if(e==null)return Re;if(typeof e==`function`)return $(e);if(typeof e==`object`)return Array.isArray(e)?Fe(e):Ie(e);if(typeof e==`string`)return Le(e);throw Error(`Expected function, string, or object as test`)});function Fe(e){let t=[],n=-1;for(;++n<e.length;)t[n]=Q(e[n]);return $(r);function r(...e){let n=-1;for(;++n<t.length;)if(t[n].apply(this,e))return!0;return!1}}function Ie(e){let t=e;return $(n);function n(n){let r=n,i;for(i in e)if(r[i]!==t[i])return!1;return!0}}function Le(e){return $(t);function t(t){return t&&t.type===e}}function $(e){return t;function t(t,n,r){return!!(ze(t)&&e.call(this,t,typeof n==`number`?n:void 0,r||void 0))}}function Re(){return!0}function ze(e){return typeof e==`object`&&!!e&&`type`in e}function Be(e){return e}var Ve=[];function He(e,t,n,r){let i;typeof t==`function`&&typeof n!=`function`?(r=n,n=t):i=t;let a=Q(i),o=r?-1:1;s(e,void 0,[])();function s(e,i,c){let l=e&&typeof e==`object`?e:{};if(typeof l.type==`string`){let t=typeof l.tagName==`string`?l.tagName:typeof l.name==`string`?l.name:void 0;Object.defineProperty(u,"name",{value:`node (`+Be(e.type+(t?`<`+t+`>`:``))+`)`})}return u;function u(){let l=Ve,u,d,f;if((!t||a(e,i,c[c.length-1]||void 0))&&(l=Ue(n(e,c)),l[0]===!1))return l;if(`children`in e&&e.children){let t=e;if(t.children&&l[0]!==`skip`)for(d=(r?t.children.length:-1)+o,f=c.concat(t);d>-1&&d<t.children.length;){let e=t.children[d];if(u=s(e,d,f)(),u[0]===!1)return u;d=typeof u[1]==`number`?u[1]:d+o}}return l}}}function Ue(e){return Array.isArray(e)?e:typeof e==`number`?[!0,e]:e==null?Ve:[e]}function We(e,t,n,r){let i,a,o;typeof t==`function`&&typeof n!=`function`?(a=void 0,o=t,i=n):(a=t,o=n,i=r),He(e,a,s,i);function s(e,t){let n=t[t.length-1],r=n?n.children.indexOf(e):void 0;return o(e,r,n)}}export{o as _,Ee as a,N as c,fe as d,le as f,ie as g,ce as h,je as i,k as l,se as m,He as n,we as o,ue as p,Q as r,R as s,We as t,de as u};
@@ -1 +0,0 @@
1
- import{_n as e,ci as t}from"./src-Cp4yFztL.js";import{C as n,O as r,_ as i,d as a,g as o,h as s,i as c,m as l,p as u,u as d}from"./fields-GPyF03tK.js";import{D as f,E as p,a as m,c as h,m as g,u as _,v,w as y}from"./shelf-CpE68_8d.js";import{n as b}from"./extend-BMkkNVfm.js";import{t as ee}from"./plugin-CFEkHH3f.js";var x=(()=>{try{return Intl.supportedValuesOf(`currency`)}catch{return[`USD`,`EUR`,`UAH`,`GBP`,`PLN`]}})();new Set(x);function S(e,t){try{return new Intl.NumberFormat(t,{style:`currency`,currency:e,currencyDisplay:`narrowSymbol`}).formatToParts(0).find(e=>e.type===`currency`)?.value??e}catch{return e}}function C(e,t=`en`){try{return new Intl.DisplayNames([t],{type:`currency`}).of(e)??e}catch{return e}}var te=[{name:`countries`,options:e.map(e=>({value:e.code,title:`core.countries.${e.code}`,icon:{kind:`icon`,value:`flag:${e.code}`},subtitle:e.code.toUpperCase()}))},{name:`colors`,options:t.map(e=>({value:e.name,title:`core.colors.${e.name}`,icon:{kind:`swatch`,value:e.hex},subtitle:e.hex}))},{name:`sex`,options:[...o]},{name:`weekdays`,options:[...i]},{name:`languages`,options:s.map(e=>({value:e.code,title:e.name}))},{name:`currencies`,options:x.map(e=>({value:e,title:C(e),subtitle:S(e)}))}],w=class extends Error{};function T(e,t){let n=e.split(`.`);for(let e of n)if(e===``)throw new w(`[mutate-path] '${t}': empty segment — a path may not contain '..', a leading '.' beyond the first character, or a trailing '.'`);return n}function E(e){if(typeof e!=`string`||e.trim()===``)throw new w(`[mutate-path] a target path must be a non-empty string`);let t=e.startsWith(`.`),n=t?e.slice(1):e;if(n===``)throw new w(`[mutate-path] '${e}': nothing after the leading '.'`);let r=n.split(`/`);if(r.some(e=>e===``))throw new w(`[mutate-path] '${e}': empty side of a '/' — both a relation path and a target path are required`);let i=T(r[r.length-1],e);return{hops:r.slice(0,-1).map(t=>T(t,e)),path:i,relative:t}}function D(e,t){if(!e.relative)return e;let n=[...t];return e.hops.length>0?{hops:[[...n,...e.hops[0]],...e.hops.slice(1)],path:e.path,relative:!1}:{hops:[],path:[...n,...e.path],relative:!1}}var O=class extends Error{};function k(e,t){return`${e}#${t.join(`.`)}`}function A(e,t){return M(e,t,0)}function j(e,t,n,r){let i=n[r],a=r===n.length-1,o=e.parts?.find(e=>e.key===i)??e.parts?.find(e=>e.role===i);return o?a?{relation:o.meta.relation,desc:`part '${i}' of composite '${t}' (kind '${o.meta.kind}')`}:o.meta.parts?j(o.meta,`${t}.${i}`,n,r+1):null:e.columns&&i in e.columns&&a?{desc:`sub-column '${i}' of composite '${t}'`}:null}function M(e,t,n){let r=t[n],i=n===t.length-1;for(let o of e){if(a(o)){if(o.key!==r)continue;return i?{relation:o.type.relation,desc:`field '${r}' (kind '${o.type.kind}')`}:j(o.type,r,t,n+1)}if(c(o)){if(!u(o)){let e=M(o.fields,t,n);if(e)return e;continue}if(o.key===r){if(i)return o.compute===void 0?null:{desc:`group '${r}' (a container)`};let e=M(o.fields,t,n+1);if(e)return e;continue}}}return null}function N(e,t){if(t.startsWith(`extend:`)){let n=t.slice(7);return e.extends_.find(e=>e.id===n).fields}let n=t.indexOf(`/`);return e.getShelf(t.slice(0,n),t.slice(n+1)).fields}function P(e,t,n,r,i){let a=`[mutate] ${t}.${n.join(`.`)}: target '${r}'`,o=t,s=N(e,o);for(let t of i.hops){let n=A(s,t);if(!n)throw new O(`${a} — unknown segment in relation hop '${t.join(`.`)}'`);if(!n.relation)throw new O(`${a} — '${t.join(`.`)}' is not a relation — it is ${n.desc}`);o=`${n.relation.library}/${n.relation.shelf}`,s=N(e,o)}if(!A(s,i.path))throw new O(`${a} — unknown segment in path '${i.path.join(`.`)}' (looked up in ${o})`);return o}function F(e,t,n){for(let r of e)if(a(r)){let e=[...t,r.key];r.type.mutate?.length&&n.push({path:e,scope:t,meta:r.type});for(let i of r.type.parts??[])i.meta.mutate?.length&&n.push({path:[...e,i.key],scope:t,meta:i.meta})}else c(r)&&F(r.fields,u(r)?[...t,r.key]:t,n)}function I(e){for(let t of e)if(c(t)){if(u(t)&&t.compute!==void 0){for(let e of t.fields)if(a(e)&&e.type.compute!==void 0)throw new O(`[mutate] group '${t.key}': child '${e.key}' carries its own value while the group already carries value — two writers for one column, drop one of the two computations.`)}I(t.fields)}}function L(e){let t=new Map;for(let[n,r]of e)for(let e of r){let r=k(n,e.from),i=k(e.toShelf,e.to.path),a=t.get(r);a?a.push(i):t.set(r,[i])}let n=new Map,r=[],i=e=>{n.set(e,1),r.push(e);for(let a of t.get(e)??[]){let e=n.get(a)??0;if(e===0){let e=i(a);if(e)return e}else if(e===1){let e=r.indexOf(a);return[...r.slice(e),a]}}return r.pop(),n.set(e,2),null};for(let e of t.keys())if((n.get(e)??0)===0){let t=i(e);if(t)return t}return null}function R(e,t,n,r){for(let i of e)if(a(i)){let e=[...n,i.key],a=i.type;a.compute!==void 0&&r.push({scope:t,path:e,cache:a.cache});for(let n of a.parts??[])n.mode===`computedStored`&&r.push({scope:t,path:[...e,n.key],cache:n.meta?.cache})}else if(c(i)){let e=u(i)?[...n,i.key]:n;u(i)&&i.compute!==void 0&&r.push({scope:t,path:e,cache:void 0}),R(i.fields,t,e,r)}}function z(e,t){let n=new Set;for(let e of t.values())for(let t of e)n.add(k(t.toShelf,t.to.path));let r=[...(e.shelves??[]).map(e=>({scope:`${e.library}/${e.shelf}`,fields:e.fields})),...(e.extends_??[]).map(e=>({scope:`extend:${e.id}`,fields:e.fields}))];for(let{scope:e,fields:t}of r){let r=[];R(t,e,[],r);for(let t of r)t.cache===void 0&&(n.has(k(t.scope,t.path))||console.warn(`[mutate-graph] ${e}: '${t.path.join(`.`)}' is a computed-and-stored unit with no incoming mutate edge and no cache — nothing will ever trigger its recompute after it is first written.`))}}function B(e){let t=new Map,n=[...(e.shelves??[]).map(e=>({scope:`${e.library}/${e.shelf}`,fields:e.fields})),...(e.extends_??[]).map(e=>({scope:`extend:${e.id}`,fields:e.fields}))];for(let{fields:e}of n)I(e);for(let{scope:r,fields:i}of n){let n=[];if(F(i,[],n),!n.length)continue;let a=[];for(let t of n)for(let n of t.meta.mutate??[]){let i=D(E(n),t.scope),o=P(e,r,t.path,n,i);a.push({from:t.path,to:i,toShelf:o})}t.set(r,a)}let r=L(t);if(r)throw new O(`[mutate] cycle: ${r.join(` -> `)}`);return z(e,t),t}var V=63,H=`__cachedAt`;V-10;var U=`_parent_id_index`;V-16;function W(e,t){for(let n of t){let t=`key`in n?n.key:void 0;if(t?.includes(`__`))throw Error(`[storage] ${e}: key '${t}' contains '__', the storage path separator — two different paths would spell one column name. Rename the key; an enclosing group's prefix supplies the '__'.`);c(n)&&W(e,n.fields)}}function G(e,t,n){if(t.length>47)throw Error(`[storage] ${e}: table name '${t}' is ${t.length} characters, over the 47-character budget (${V} minus '${U}', the identifier the ORM derives from it). PostgreSQL truncates a longer one silently. Shorten the library, the shelf, or a collection key along the path.`);let r=new Map;for(let[t,i]of h(n)){if(i.columns){if(!i.parts)throw Error(`[storage] ${e}.${t}: sets \`columns\` without \`parts\` — build a composite's columns from roles via resolveParts (see f.measured), or store the value whole with \`json: true\``);if(i.json)throw Error(`[storage] ${e}.${t}: is both a composite (\`columns\`) and JSON-stored (\`json\`) — a field persists one way or the other`)}for(let[n]of v(t,i)){let i=r.get(n);if(i!==void 0&&i!==t)throw Error(`[storage] ${e}: fields '${i}' and '${t}' both generate the column '${n}' — one value would overwrite the other and the second field would vanish from every response. Rename one.`);if(r.set(n,t),n.length>53)throw Error(`[storage] ${e}.${t}: generated column '${n}' is ${n.length} characters, over the 53-character budget (${V} minus '${H}'). PostgreSQL truncates a longer one silently. Shorten a key along the path.`)}}W(e,n);for(let r of m(n))G(`${e}/${r.key}`,`${t}__${r.key}`,r.group.fields)}function K(e,t={}){let i=t.disabled??new Set,o=e.filter(e=>!i.has(e.id)),s=new Map;for(let e of o){for(let t of e.libraries??[])for(let n of t.shelves)s.set(`${n.library}/${n.shelf}`,e.id);for(let t of e.libraryShelves??[])s.set(`${t.library}/${t.shelf}`,e.id)}let u=(e,t)=>s.get(`${e}/${t}`);for(let e of o)for(let t of e.dependsOn)if(i.has(t))throw Error(`[plugin] '${e.id}' is enabled, but its dependency '${t}' is disabled`);let m=ee(o),{order:v,libraries:x}=m,S=m.shelves.map(n),C=m.extends_.map(n),w=new Map(o.filter(e=>e.settings).map(e=>[e.id,n(e.settings).fields]));for(let e of t.settingsGroups??[])if(w.has(e.id))throw Error(`[settings] group '${e.id}' is declared by a plugin and passed in by the caller — pick one owner`);let T=[...[...w].map(([e,t])=>({id:e,fields:t})),...t.settingsGroups??[]],E=new Map;for(let e of o)for(let t of e.fieldContribs??[]){let e=`${t.library}/${t.shelf}/${t.field}`,n=E.get(e)??{options:[],suggestions:[]};t.options&&n.options.push(...t.options),t.suggestions&&n.suggestions.push(...t.suggestions),E.set(e,n)}let D=(e,t)=>{if(t.options.length){let n=new Set((e.options??[]).map(e=>e.value));e.options=[...e.options??[],...t.options.filter(e=>!n.has(e.value))]}if(t.suggestions.length){let n=e.hints.suggestions??[],r=new Set(n);e.hints.suggestions=[...n,...t.suggestions.filter(e=>!r.has(e))]}},O=new Map;for(let e of te)O.set(e.name,e.options);for(let e of o)for(let t of e.optionLists??[])O.set(t.name,t.options);let k=e=>O.get(e)??[];for(let[e,t,n]of[...S.map(e=>[`${e.library}/${e.shelf}`,`${e.library}__${e.shelf}`,e.fields]),...T.map(e=>[`_settings/${e.id}`,`_settings__${e.id}`,e.fields]),...C.map(e=>[`extend/${e.id}`,`extend__${e.id}`,e.fields])])G(e,t,n);for(let e of S)for(let[t,n]of h(e.fields)){let r=E.get(`${e.library}/${e.shelf}/${t}`);r&&D(n,r)}for(let e of T)for(let[t,n]of h(e.fields)){let i=E.get(`_settings/${e.id}/${t}`);i&&(D(n,i),l(n)&&n.options?.length&&r(n,n.options.map(e=>e.value)))}let A=new Map;for(let e of S)for(let[t,n]of h(e.fields)){let i=n.hints.source,a=n.options??[],o=i?O.get(i)??[]:[],s=new Set(a.map(e=>e.value)),c=[...a,...o.filter(e=>!s.has(e.value))];l(n)&&c.length&&r(n,c.map(e=>e.value)),c.length&&(n.options=c,A.set(`${e.library}/${e.shelf}/${t}`,c))}let j=e=>{let t=[];for(let n of e)a(n)?t.push(n.type):c(n)&&t.push(...j(n.fields));return t};for(let e of C)for(let t of j(e.fields)){if(!l(t))continue;let e=t.hints.source;if(!e)continue;let n=O.get(e)??[],i=t.options??[],a=new Set(i.map(e=>e.value)),o=[...i,...n.filter(e=>!a.has(e.value))];o.length&&r(t,o.map(e=>e.value))}let M=(e,t,n)=>{let r=e[t];if(!r)throw Error(n);return r},N=[];for(let e of o)for(let t of e.showcases??[]){let e=S.find(e=>e.library===t.source.library&&e.shelf===t.source.shelf);if(!e)throw Error(`[showcase] ${t.library}/${t.id}: unknown source shelf ${t.source.library}/${t.source.shelf}`);let n=Object.fromEntries(h(e.fields));for(let e of p(t.filter)){let r=M(n,e,`[showcase] ${t.library}/${t.id}: filter field '${e}' is not in ${t.source.library}/${t.source.shelf}`),i=f(t.filter,e),a=i.filter(e=>y.has(e));if(a.length&&!r.hints.multiple)throw Error(`[showcase] ${t.library}/${t.id}: operator '${a[0]}' on '${e}' needs a multiple field, but ${t.source.library}/${t.source.shelf}.${e} stores a single value`);if(d(r)&&a.length!==i.length)throw Error(`[showcase] ${t.library}/${t.id}: filter field '${e}' is stored as JSON — only ${[...y].join(`/`)} applies`);if(r.columns)throw Error(`[showcase] ${t.library}/${t.id}: filter field '${e}' is a composite scalar stored across sub-columns`)}let r=g(e);for(let e of t.columns){if(!n[e])throw Error(`[showcase] ${t.library}/${t.id}: column '${e}' is not in ${t.source.library}/${t.source.shelf}`);if(!r.includes(e))throw Error(`[showcase] ${t.library}/${t.id}: column '${e}' is outside ${t.source.library}/${t.source.shelf}'s list projection (views.list/groupBy/inline) and would render blank`)}if(t.defaultGroupBy!==void 0){if(!n[t.defaultGroupBy])throw Error(`[showcase] ${t.library}/${t.id}: defaultGroupBy '${t.defaultGroupBy}' is not in ${t.source.library}/${t.source.shelf}`);if(!_(e).includes(t.defaultGroupBy))throw Error(`[showcase] ${t.library}/${t.id}: defaultGroupBy '${t.defaultGroupBy}' is not a grouping candidate of ${t.source.library}/${t.source.shelf} (views.groupBy)`)}if(N.some(e=>e.library===t.library&&e.id===t.id))throw Error(`[showcase] duplicate ${t.library}/${t.id}`);N.push(t)}let P=[...S.map(e=>({label:`${e.library}/${e.shelf}`,fields:e.fields})),...C.map(e=>({label:`extend '${e.id}'`,fields:e.fields}))];for(let{label:e,fields:t}of P)for(let[n,r]of h(t)){let t=r.relation;if(!t)continue;let i=S.find(e=>e.library===t.library&&e.shelf===t.shelf);if(!i)throw Error(`[relation] ${e}.${n}: unknown target shelf ${t.library}/${t.shelf}`);if(!t.filter)continue;let a=Object.fromEntries(h(i.fields));for(let r of p(t.filter))M(a,r,`[relation] ${e}.${n}: filter key '${r}' is not in ${t.library}/${t.shelf}`)}let F={order:v,libraries:x,shelves:S,extends_:C,showcases:N,getShowcase:(e,t)=>N.find(n=>n.library===e&&n.id===t),getShowcasesFor:e=>N.filter(t=>t.library===e),getShelf:(e,t)=>S.find(n=>n.library===e&&n.shelf===t),getLibrary:e=>x.find(t=>t.meta.id===e),getExtendsFor:(e,t)=>C.filter(n=>b(n,e,t)),getFieldOptions:(e,t,n)=>A.get(`${e}/${t}/${n}`)??[],getOptionList:k,getShelfOwner:u,mutateGraph:new Map};return F.mutateGraph=B(F),F}var q=null;function J(e){q=K(e)}function Y(){if(!q)throw Error(`[registry] not initialized — call initRegistry() in the boot loader`);return q}var X=(e,t)=>Y().getShelf(e,t),Z=(e,t)=>Y().getExtendsFor(e,t),ne=e=>Y().getOptionList(e),re=(e,t)=>Y().getShowcase(e,t),ie=e=>Y().getShowcasesFor(e),ae=()=>Y().libraries,oe=()=>Y().shelves,se=()=>Y().extends_,Q=20,$=new Map;function ce(e){let t=$.get(e);if(t)return $.delete(e),$.set(e,t),t}function le(e,t){for($.delete(e),$.set(e,{rows:t,ts:Date.now()});$.size>Q;){let e=$.keys().next();if(e.done)break;$.delete(e.value)}}function ue(e){for(let t of[...$.keys()])(t===e||t.startsWith(`${e}?`))&&$.delete(t)}function de(e,t){let n=String(t.id??``);if(n)for(let[r,i]of $){if(r!==e&&!r.startsWith(`${e}?`))continue;let a=!1,o=i.rows.map(e=>{if(String(e.id)!==n)return e;a=!0;let r={...e};for(let n of Object.keys(e))n in t&&(r[n]=t[n]);return r});a&&$.set(r,{rows:o,ts:i.ts})}}export{se as a,ne as c,re as d,ie as f,le as i,X as l,S as m,de as n,Z as o,J as p,ce as r,ae as s,ue as t,oe as u};
@@ -1 +0,0 @@
1
- import{t as e}from"./phone-input-CZF7hU3E.js";export{e as PhoneInput};