startup-ui 0.5.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 (96) hide show
  1. package/dist/index.css +1 -0
  2. package/dist/startup-ui.cjs.js +680 -0
  3. package/dist/startup-ui.cjs.js.map +1 -0
  4. package/dist/startup-ui.es.js +11349 -0
  5. package/dist/startup-ui.es.js.map +1 -0
  6. package/dist/types/components/SActionBar.vue.d.ts +10 -0
  7. package/dist/types/components/SActionBar.vue.d.ts.map +1 -0
  8. package/dist/types/components/SActionIcon.vue.d.ts +17 -0
  9. package/dist/types/components/SActionIcon.vue.d.ts.map +1 -0
  10. package/dist/types/components/SAlert/SAlert.vue.d.ts +8 -0
  11. package/dist/types/components/SAlert/SAlert.vue.d.ts.map +1 -0
  12. package/dist/types/components/SAlert/index.d.ts +7 -0
  13. package/dist/types/components/SAlert/index.d.ts.map +1 -0
  14. package/dist/types/components/SButton.vue.d.ts +29 -0
  15. package/dist/types/components/SButton.vue.d.ts.map +1 -0
  16. package/dist/types/components/SCanvas.vue.d.ts +27 -0
  17. package/dist/types/components/SCanvas.vue.d.ts.map +1 -0
  18. package/dist/types/components/SCheckbox.vue.d.ts +18 -0
  19. package/dist/types/components/SCheckbox.vue.d.ts.map +1 -0
  20. package/dist/types/components/SCheckboxGroup.vue.d.ts +19 -0
  21. package/dist/types/components/SCheckboxGroup.vue.d.ts.map +1 -0
  22. package/dist/types/components/SConfirm/SConfirm.vue.d.ts +6 -0
  23. package/dist/types/components/SConfirm/SConfirm.vue.d.ts.map +1 -0
  24. package/dist/types/components/SConfirm/index.d.ts +5 -0
  25. package/dist/types/components/SConfirm/index.d.ts.map +1 -0
  26. package/dist/types/components/SCopyText.vue.d.ts +23 -0
  27. package/dist/types/components/SCopyText.vue.d.ts.map +1 -0
  28. package/dist/types/components/SDashboard.vue.d.ts +10 -0
  29. package/dist/types/components/SDashboard.vue.d.ts.map +1 -0
  30. package/dist/types/components/SDashboardItem.vue.d.ts +27 -0
  31. package/dist/types/components/SDashboardItem.vue.d.ts.map +1 -0
  32. package/dist/types/components/SDatePicker.vue.d.ts +25 -0
  33. package/dist/types/components/SDatePicker.vue.d.ts.map +1 -0
  34. package/dist/types/components/SDialog.vue.d.ts +20 -0
  35. package/dist/types/components/SDialog.vue.d.ts.map +1 -0
  36. package/dist/types/components/SDropdownMenu.vue.d.ts +23 -0
  37. package/dist/types/components/SDropdownMenu.vue.d.ts.map +1 -0
  38. package/dist/types/components/SFilter.vue.d.ts +10 -0
  39. package/dist/types/components/SFilter.vue.d.ts.map +1 -0
  40. package/dist/types/components/SFilterGroup.vue.d.ts +10 -0
  41. package/dist/types/components/SFilterGroup.vue.d.ts.map +1 -0
  42. package/dist/types/components/SFooter.vue.d.ts +10 -0
  43. package/dist/types/components/SFooter.vue.d.ts.map +1 -0
  44. package/dist/types/components/SForm.vue.d.ts +26 -0
  45. package/dist/types/components/SForm.vue.d.ts.map +1 -0
  46. package/dist/types/components/SFormRow.vue.d.ts +27 -0
  47. package/dist/types/components/SFormRow.vue.d.ts.map +1 -0
  48. package/dist/types/components/SHorizontalMenu.vue.d.ts +8 -0
  49. package/dist/types/components/SHorizontalMenu.vue.d.ts.map +1 -0
  50. package/dist/types/components/SHtmlEditor.vue.d.ts +11 -0
  51. package/dist/types/components/SHtmlEditor.vue.d.ts.map +1 -0
  52. package/dist/types/components/SImagePreview.vue.d.ts +19 -0
  53. package/dist/types/components/SImagePreview.vue.d.ts.map +1 -0
  54. package/dist/types/components/SInput.vue.d.ts +32 -0
  55. package/dist/types/components/SInput.vue.d.ts.map +1 -0
  56. package/dist/types/components/SNote.vue.d.ts +25 -0
  57. package/dist/types/components/SNote.vue.d.ts.map +1 -0
  58. package/dist/types/components/SPagination.vue.d.ts +24 -0
  59. package/dist/types/components/SPagination.vue.d.ts.map +1 -0
  60. package/dist/types/components/SProgressbar.vue.d.ts +17 -0
  61. package/dist/types/components/SProgressbar.vue.d.ts.map +1 -0
  62. package/dist/types/components/SRadio.vue.d.ts +20 -0
  63. package/dist/types/components/SRadio.vue.d.ts.map +1 -0
  64. package/dist/types/components/SRadioGroup.vue.d.ts +22 -0
  65. package/dist/types/components/SRadioGroup.vue.d.ts.map +1 -0
  66. package/dist/types/components/SSelect.vue.d.ts +45 -0
  67. package/dist/types/components/SSelect.vue.d.ts.map +1 -0
  68. package/dist/types/components/SStat.vue.d.ts +25 -0
  69. package/dist/types/components/SStat.vue.d.ts.map +1 -0
  70. package/dist/types/components/SStatus.vue.d.ts +18 -0
  71. package/dist/types/components/SStatus.vue.d.ts.map +1 -0
  72. package/dist/types/components/SSwitch.vue.d.ts +19 -0
  73. package/dist/types/components/SSwitch.vue.d.ts.map +1 -0
  74. package/dist/types/components/STable.vue.d.ts +38 -0
  75. package/dist/types/components/STable.vue.d.ts.map +1 -0
  76. package/dist/types/components/STag.vue.d.ts +17 -0
  77. package/dist/types/components/STag.vue.d.ts.map +1 -0
  78. package/dist/types/components/STimeline.vue.d.ts +20 -0
  79. package/dist/types/components/STimeline.vue.d.ts.map +1 -0
  80. package/dist/types/components/SToggle.vue.d.ts +39 -0
  81. package/dist/types/components/SToggle.vue.d.ts.map +1 -0
  82. package/dist/types/components/SToggleGroup.vue.d.ts +15 -0
  83. package/dist/types/components/SToggleGroup.vue.d.ts.map +1 -0
  84. package/dist/types/components/STooltip.vue.d.ts +19 -0
  85. package/dist/types/components/STooltip.vue.d.ts.map +1 -0
  86. package/dist/types/components/STree.vue.d.ts +28 -0
  87. package/dist/types/components/STree.vue.d.ts.map +1 -0
  88. package/dist/types/components/SUpload.vue.d.ts +42 -0
  89. package/dist/types/components/SUpload.vue.d.ts.map +1 -0
  90. package/dist/types/components/SVerticalMenu.vue.d.ts +8 -0
  91. package/dist/types/components/SVerticalMenu.vue.d.ts.map +1 -0
  92. package/dist/types/index.d.ts +56 -0
  93. package/dist/types/index.d.ts.map +1 -0
  94. package/dist/types/plugin.d.ts +7 -0
  95. package/dist/types/plugin.d.ts.map +1 -0
  96. package/package.json +48 -0
@@ -0,0 +1,680 @@
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const a=require("vue"),Ct=require("@vueuse/core"),lf=require("@tinymce/tinymce-vue");require("tinymce/tinymce");require("tinymce/skins/ui/oxide/skin.min.css");require("tinymce/skins/ui/oxide/content.min.css");function yl(e,t){return function(){return e.apply(t,arguments)}}const{toString:cf}=Object.prototype,{getPrototypeOf:ci}=Object,{iterator:Qn,toStringTag:vl}=Symbol,Zn=(e=>t=>{const r=cf.call(t);return e[r]||(e[r]=r.slice(8,-1).toLowerCase())})(Object.create(null)),ze=e=>(e=e.toLowerCase(),t=>Zn(t)===e),ea=e=>t=>typeof t===e,{isArray:or}=Array,er=ea("undefined");function zr(e){return e!==null&&!er(e)&&e.constructor!==null&&!er(e.constructor)&&Ce(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}const gl=ze("ArrayBuffer");function uf(e){let t;return typeof ArrayBuffer!="undefined"&&ArrayBuffer.isView?t=ArrayBuffer.isView(e):t=e&&e.buffer&&gl(e.buffer),t}const ff=ea("string"),Ce=ea("function"),bl=ea("number"),Hr=e=>e!==null&&typeof e=="object",df=e=>e===!0||e===!1,Cn=e=>{if(Zn(e)!=="object")return!1;const t=ci(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(vl in e)&&!(Qn in e)},pf=e=>{if(!Hr(e)||zr(e))return!1;try{return Object.keys(e).length===0&&Object.getPrototypeOf(e)===Object.prototype}catch{return!1}},mf=ze("Date"),hf=ze("File"),yf=ze("Blob"),vf=ze("FileList"),gf=e=>Hr(e)&&Ce(e.pipe),bf=e=>{let t;return e&&(typeof FormData=="function"&&e instanceof FormData||Ce(e.append)&&((t=Zn(e))==="formdata"||t==="object"&&Ce(e.toString)&&e.toString()==="[object FormData]"))},Sf=ze("URLSearchParams"),[wf,Ef,kf,Af]=["ReadableStream","Request","Response","Headers"].map(ze),xf=e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function Wr(e,t,{allOwnKeys:r=!1}={}){if(e===null||typeof e=="undefined")return;let n,o;if(typeof e!="object"&&(e=[e]),or(e))for(n=0,o=e.length;n<o;n++)t.call(null,e[n],n,e);else{if(zr(e))return;const i=r?Object.getOwnPropertyNames(e):Object.keys(e),s=i.length;let c;for(n=0;n<s;n++)c=i[n],t.call(null,e[c],c,e)}}function Sl(e,t){if(zr(e))return null;t=t.toLowerCase();const r=Object.keys(e);let n=r.length,o;for(;n-- >0;)if(o=r[n],t===o.toLowerCase())return o;return null}const xt=typeof globalThis!="undefined"?globalThis:typeof self!="undefined"?self:typeof window!="undefined"?window:global,wl=e=>!er(e)&&e!==xt;function Mo(){const{caseless:e,skipUndefined:t}=wl(this)&&this||{},r={},n=(o,i)=>{const s=e&&Sl(r,i)||i;Cn(r[s])&&Cn(o)?r[s]=Mo(r[s],o):Cn(o)?r[s]=Mo({},o):or(o)?r[s]=o.slice():(!t||!er(o))&&(r[s]=o)};for(let o=0,i=arguments.length;o<i;o++)arguments[o]&&Wr(arguments[o],n);return r}const Of=(e,t,r,{allOwnKeys:n}={})=>(Wr(t,(o,i)=>{r&&Ce(o)?e[i]=yl(o,r):e[i]=o},{allOwnKeys:n}),e),_f=e=>(e.charCodeAt(0)===65279&&(e=e.slice(1)),e),$f=(e,t,r,n)=>{e.prototype=Object.create(t.prototype,n),e.prototype.constructor=e,Object.defineProperty(e,"super",{value:t.prototype}),r&&Object.assign(e.prototype,r)},Cf=(e,t,r,n)=>{let o,i,s;const c={};if(t=t||{},e==null)return t;do{for(o=Object.getOwnPropertyNames(e),i=o.length;i-- >0;)s=o[i],(!n||n(s,e,t))&&!c[s]&&(t[s]=e[s],c[s]=!0);e=r!==!1&&ci(e)}while(e&&(!r||r(e,t))&&e!==Object.prototype);return t},Tf=(e,t,r)=>{e=String(e),(r===void 0||r>e.length)&&(r=e.length),r-=t.length;const n=e.indexOf(t,r);return n!==-1&&n===r},Nf=e=>{if(!e)return null;if(or(e))return e;let t=e.length;if(!bl(t))return null;const r=new Array(t);for(;t-- >0;)r[t]=e[t];return r},Pf=(e=>t=>e&&t instanceof e)(typeof Uint8Array!="undefined"&&ci(Uint8Array)),Bf=(e,t)=>{const n=(e&&e[Qn]).call(e);let o;for(;(o=n.next())&&!o.done;){const i=o.value;t.call(e,i[0],i[1])}},If=(e,t)=>{let r;const n=[];for(;(r=e.exec(t))!==null;)n.push(r);return n},Mf=ze("HTMLFormElement"),Ff=e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(r,n,o){return n.toUpperCase()+o}),Mi=(({hasOwnProperty:e})=>(t,r)=>e.call(t,r))(Object.prototype),Rf=ze("RegExp"),El=(e,t)=>{const r=Object.getOwnPropertyDescriptors(e),n={};Wr(r,(o,i)=>{let s;(s=t(o,i,e))!==!1&&(n[i]=s||o)}),Object.defineProperties(e,n)},Df=e=>{El(e,(t,r)=>{if(Ce(e)&&["arguments","caller","callee"].indexOf(r)!==-1)return!1;const n=e[r];if(Ce(n)){if(t.enumerable=!1,"writable"in t){t.writable=!1;return}t.set||(t.set=()=>{throw Error("Can not rewrite read-only method '"+r+"'")})}})},jf=(e,t)=>{const r={},n=o=>{o.forEach(i=>{r[i]=!0})};return or(e)?n(e):n(String(e).split(t)),r},Lf=()=>{},Vf=(e,t)=>e!=null&&Number.isFinite(e=+e)?e:t;function Uf(e){return!!(e&&Ce(e.append)&&e[vl]==="FormData"&&e[Qn])}const zf=e=>{const t=new Array(10),r=(n,o)=>{if(Hr(n)){if(t.indexOf(n)>=0)return;if(zr(n))return n;if(!("toJSON"in n)){t[o]=n;const i=or(n)?[]:{};return Wr(n,(s,c)=>{const u=r(s,o+1);!er(u)&&(i[c]=u)}),t[o]=void 0,i}}return n};return r(e,0)},Hf=ze("AsyncFunction"),Wf=e=>e&&(Hr(e)||Ce(e))&&Ce(e.then)&&Ce(e.catch),kl=((e,t)=>e?setImmediate:t?((r,n)=>(xt.addEventListener("message",({source:o,data:i})=>{o===xt&&i===r&&n.length&&n.shift()()},!1),o=>{n.push(o),xt.postMessage(r,"*")}))(`axios@${Math.random()}`,[]):r=>setTimeout(r))(typeof setImmediate=="function",Ce(xt.postMessage)),qf=typeof queueMicrotask!="undefined"?queueMicrotask.bind(xt):typeof process!="undefined"&&process.nextTick||kl,Yf=e=>e!=null&&Ce(e[Qn]),E={isArray:or,isArrayBuffer:gl,isBuffer:zr,isFormData:bf,isArrayBufferView:uf,isString:ff,isNumber:bl,isBoolean:df,isObject:Hr,isPlainObject:Cn,isEmptyObject:pf,isReadableStream:wf,isRequest:Ef,isResponse:kf,isHeaders:Af,isUndefined:er,isDate:mf,isFile:hf,isBlob:yf,isRegExp:Rf,isFunction:Ce,isStream:gf,isURLSearchParams:Sf,isTypedArray:Pf,isFileList:vf,forEach:Wr,merge:Mo,extend:Of,trim:xf,stripBOM:_f,inherits:$f,toFlatObject:Cf,kindOf:Zn,kindOfTest:ze,endsWith:Tf,toArray:Nf,forEachEntry:Bf,matchAll:If,isHTMLForm:Mf,hasOwnProperty:Mi,hasOwnProp:Mi,reduceDescriptors:El,freezeMethods:Df,toObjectSet:jf,toCamelCase:Ff,noop:Lf,toFiniteNumber:Vf,findKey:Sl,global:xt,isContextDefined:wl,isSpecCompliantForm:Uf,toJSONObject:zf,isAsyncFn:Hf,isThenable:Wf,setImmediate:kl,asap:qf,isIterable:Yf};function G(e,t,r,n,o){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack,this.message=e,this.name="AxiosError",t&&(this.code=t),r&&(this.config=r),n&&(this.request=n),o&&(this.response=o,this.status=o.status?o.status:null)}E.inherits(G,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:E.toJSONObject(this.config),code:this.code,status:this.status}}});const Al=G.prototype,xl={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach(e=>{xl[e]={value:e}});Object.defineProperties(G,xl);Object.defineProperty(Al,"isAxiosError",{value:!0});G.from=(e,t,r,n,o,i)=>{const s=Object.create(Al);E.toFlatObject(e,s,function(d){return d!==Error.prototype},f=>f!=="isAxiosError");const c=e&&e.message?e.message:"Error",u=t==null&&e?e.code:t;return G.call(s,c,u,r,n,o),e&&s.cause==null&&Object.defineProperty(s,"cause",{value:e,configurable:!0}),s.name=e&&e.name||"Error",i&&Object.assign(s,i),s};const Gf=null;function Fo(e){return E.isPlainObject(e)||E.isArray(e)}function Ol(e){return E.endsWith(e,"[]")?e.slice(0,-2):e}function Fi(e,t,r){return e?e.concat(t).map(function(o,i){return o=Ol(o),!r&&i?"["+o+"]":o}).join(r?".":""):t}function Kf(e){return E.isArray(e)&&!e.some(Fo)}const Jf=E.toFlatObject(E,{},null,function(t){return/^is[A-Z]/.test(t)});function ta(e,t,r){if(!E.isObject(e))throw new TypeError("target must be an object");t=t||new FormData,r=E.toFlatObject(r,{metaTokens:!0,dots:!1,indexes:!1},!1,function(y,b){return!E.isUndefined(b[y])});const n=r.metaTokens,o=r.visitor||d,i=r.dots,s=r.indexes,u=(r.Blob||typeof Blob!="undefined"&&Blob)&&E.isSpecCompliantForm(t);if(!E.isFunction(o))throw new TypeError("visitor must be a function");function f(m){if(m===null)return"";if(E.isDate(m))return m.toISOString();if(E.isBoolean(m))return m.toString();if(!u&&E.isBlob(m))throw new G("Blob is not supported. Use a Buffer instead.");return E.isArrayBuffer(m)||E.isTypedArray(m)?u&&typeof Blob=="function"?new Blob([m]):Buffer.from(m):m}function d(m,y,b){let S=m;if(m&&!b&&typeof m=="object"){if(E.endsWith(y,"{}"))y=n?y:y.slice(0,-2),m=JSON.stringify(m);else if(E.isArray(m)&&Kf(m)||(E.isFileList(m)||E.endsWith(y,"[]"))&&(S=E.toArray(m)))return y=Ol(y),S.forEach(function(O,M){!(E.isUndefined(O)||O===null)&&t.append(s===!0?Fi([y],M,i):s===null?y:y+"[]",f(O))}),!1}return Fo(m)?!0:(t.append(Fi(b,y,i),f(m)),!1)}const h=[],v=Object.assign(Jf,{defaultVisitor:d,convertValue:f,isVisitable:Fo});function w(m,y){if(!E.isUndefined(m)){if(h.indexOf(m)!==-1)throw Error("Circular reference detected in "+y.join("."));h.push(m),E.forEach(m,function(S,k){(!(E.isUndefined(S)||S===null)&&o.call(t,S,E.isString(k)?k.trim():k,y,v))===!0&&w(S,y?y.concat(k):[k])}),h.pop()}}if(!E.isObject(e))throw new TypeError("data must be an object");return w(e),t}function Ri(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,function(n){return t[n]})}function ui(e,t){this._pairs=[],e&&ta(e,this,t)}const _l=ui.prototype;_l.append=function(t,r){this._pairs.push([t,r])};_l.toString=function(t){const r=t?function(n){return t.call(this,n,Ri)}:Ri;return this._pairs.map(function(o){return r(o[0])+"="+r(o[1])},"").join("&")};function Xf(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+")}function $l(e,t,r){if(!t)return e;const n=r&&r.encode||Xf;E.isFunction(r)&&(r={serialize:r});const o=r&&r.serialize;let i;if(o?i=o(t,r):i=E.isURLSearchParams(t)?t.toString():new ui(t,r).toString(n),i){const s=e.indexOf("#");s!==-1&&(e=e.slice(0,s)),e+=(e.indexOf("?")===-1?"?":"&")+i}return e}class Di{constructor(){this.handlers=[]}use(t,r,n){return this.handlers.push({fulfilled:t,rejected:r,synchronous:n?n.synchronous:!1,runWhen:n?n.runWhen:null}),this.handlers.length-1}eject(t){this.handlers[t]&&(this.handlers[t]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(t){E.forEach(this.handlers,function(n){n!==null&&t(n)})}}const Cl={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},Qf=typeof URLSearchParams!="undefined"?URLSearchParams:ui,Zf=typeof FormData!="undefined"?FormData:null,ed=typeof Blob!="undefined"?Blob:null,td={isBrowser:!0,classes:{URLSearchParams:Qf,FormData:Zf,Blob:ed},protocols:["http","https","file","blob","url","data"]},fi=typeof window!="undefined"&&typeof document!="undefined",Ro=typeof navigator=="object"&&navigator||void 0,rd=fi&&(!Ro||["ReactNative","NativeScript","NS"].indexOf(Ro.product)<0),nd=typeof WorkerGlobalScope!="undefined"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function",ad=fi&&window.location.href||"http://localhost",od=Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:fi,hasStandardBrowserEnv:rd,hasStandardBrowserWebWorkerEnv:nd,navigator:Ro,origin:ad},Symbol.toStringTag,{value:"Module"})),ke={...od,...td};function id(e,t){return ta(e,new ke.classes.URLSearchParams,{visitor:function(r,n,o,i){return ke.isNode&&E.isBuffer(r)?(this.append(n,r.toString("base64")),!1):i.defaultVisitor.apply(this,arguments)},...t})}function sd(e){return E.matchAll(/\w+|\[(\w*)]/g,e).map(t=>t[0]==="[]"?"":t[1]||t[0])}function ld(e){const t={},r=Object.keys(e);let n;const o=r.length;let i;for(n=0;n<o;n++)i=r[n],t[i]=e[i];return t}function Tl(e){function t(r,n,o,i){let s=r[i++];if(s==="__proto__")return!0;const c=Number.isFinite(+s),u=i>=r.length;return s=!s&&E.isArray(o)?o.length:s,u?(E.hasOwnProp(o,s)?o[s]=[o[s],n]:o[s]=n,!c):((!o[s]||!E.isObject(o[s]))&&(o[s]=[]),t(r,n,o[s],i)&&E.isArray(o[s])&&(o[s]=ld(o[s])),!c)}if(E.isFormData(e)&&E.isFunction(e.entries)){const r={};return E.forEachEntry(e,(n,o)=>{t(sd(n),o,r,0)}),r}return null}function cd(e,t,r){if(E.isString(e))try{return(t||JSON.parse)(e),E.trim(e)}catch(n){if(n.name!=="SyntaxError")throw n}return(r||JSON.stringify)(e)}const qr={transitional:Cl,adapter:["xhr","http","fetch"],transformRequest:[function(t,r){const n=r.getContentType()||"",o=n.indexOf("application/json")>-1,i=E.isObject(t);if(i&&E.isHTMLForm(t)&&(t=new FormData(t)),E.isFormData(t))return o?JSON.stringify(Tl(t)):t;if(E.isArrayBuffer(t)||E.isBuffer(t)||E.isStream(t)||E.isFile(t)||E.isBlob(t)||E.isReadableStream(t))return t;if(E.isArrayBufferView(t))return t.buffer;if(E.isURLSearchParams(t))return r.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),t.toString();let c;if(i){if(n.indexOf("application/x-www-form-urlencoded")>-1)return id(t,this.formSerializer).toString();if((c=E.isFileList(t))||n.indexOf("multipart/form-data")>-1){const u=this.env&&this.env.FormData;return ta(c?{"files[]":t}:t,u&&new u,this.formSerializer)}}return i||o?(r.setContentType("application/json",!1),cd(t)):t}],transformResponse:[function(t){const r=this.transitional||qr.transitional,n=r&&r.forcedJSONParsing,o=this.responseType==="json";if(E.isResponse(t)||E.isReadableStream(t))return t;if(t&&E.isString(t)&&(n&&!this.responseType||o)){const s=!(r&&r.silentJSONParsing)&&o;try{return JSON.parse(t,this.parseReviver)}catch(c){if(s)throw c.name==="SyntaxError"?G.from(c,G.ERR_BAD_RESPONSE,this,null,this.response):c}}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:ke.classes.FormData,Blob:ke.classes.Blob},validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};E.forEach(["delete","get","head","post","put","patch"],e=>{qr.headers[e]={}});const ud=E.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]),fd=e=>{const t={};let r,n,o;return e&&e.split(`
2
+ `).forEach(function(s){o=s.indexOf(":"),r=s.substring(0,o).trim().toLowerCase(),n=s.substring(o+1).trim(),!(!r||t[r]&&ud[r])&&(r==="set-cookie"?t[r]?t[r].push(n):t[r]=[n]:t[r]=t[r]?t[r]+", "+n:n)}),t},ji=Symbol("internals");function Or(e){return e&&String(e).trim().toLowerCase()}function Tn(e){return e===!1||e==null?e:E.isArray(e)?e.map(Tn):String(e)}function dd(e){const t=Object.create(null),r=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let n;for(;n=r.exec(e);)t[n[1]]=n[2];return t}const pd=e=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());function eo(e,t,r,n,o){if(E.isFunction(n))return n.call(this,t,r);if(o&&(t=r),!!E.isString(t)){if(E.isString(n))return t.indexOf(n)!==-1;if(E.isRegExp(n))return n.test(t)}}function md(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(t,r,n)=>r.toUpperCase()+n)}function hd(e,t){const r=E.toCamelCase(" "+t);["get","set","has"].forEach(n=>{Object.defineProperty(e,n+r,{value:function(o,i,s){return this[n].call(this,t,o,i,s)},configurable:!0})})}let Te=class{constructor(t){t&&this.set(t)}set(t,r,n){const o=this;function i(c,u,f){const d=Or(u);if(!d)throw new Error("header name must be a non-empty string");const h=E.findKey(o,d);(!h||o[h]===void 0||f===!0||f===void 0&&o[h]!==!1)&&(o[h||u]=Tn(c))}const s=(c,u)=>E.forEach(c,(f,d)=>i(f,d,u));if(E.isPlainObject(t)||t instanceof this.constructor)s(t,r);else if(E.isString(t)&&(t=t.trim())&&!pd(t))s(fd(t),r);else if(E.isObject(t)&&E.isIterable(t)){let c={},u,f;for(const d of t){if(!E.isArray(d))throw TypeError("Object iterator must return a key-value pair");c[f=d[0]]=(u=c[f])?E.isArray(u)?[...u,d[1]]:[u,d[1]]:d[1]}s(c,r)}else t!=null&&i(r,t,n);return this}get(t,r){if(t=Or(t),t){const n=E.findKey(this,t);if(n){const o=this[n];if(!r)return o;if(r===!0)return dd(o);if(E.isFunction(r))return r.call(this,o,n);if(E.isRegExp(r))return r.exec(o);throw new TypeError("parser must be boolean|regexp|function")}}}has(t,r){if(t=Or(t),t){const n=E.findKey(this,t);return!!(n&&this[n]!==void 0&&(!r||eo(this,this[n],n,r)))}return!1}delete(t,r){const n=this;let o=!1;function i(s){if(s=Or(s),s){const c=E.findKey(n,s);c&&(!r||eo(n,n[c],c,r))&&(delete n[c],o=!0)}}return E.isArray(t)?t.forEach(i):i(t),o}clear(t){const r=Object.keys(this);let n=r.length,o=!1;for(;n--;){const i=r[n];(!t||eo(this,this[i],i,t,!0))&&(delete this[i],o=!0)}return o}normalize(t){const r=this,n={};return E.forEach(this,(o,i)=>{const s=E.findKey(n,i);if(s){r[s]=Tn(o),delete r[i];return}const c=t?md(i):String(i).trim();c!==i&&delete r[i],r[c]=Tn(o),n[c]=!0}),this}concat(...t){return this.constructor.concat(this,...t)}toJSON(t){const r=Object.create(null);return E.forEach(this,(n,o)=>{n!=null&&n!==!1&&(r[o]=t&&E.isArray(n)?n.join(", "):n)}),r}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([t,r])=>t+": "+r).join(`
3
+ `)}getSetCookie(){return this.get("set-cookie")||[]}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(t){return t instanceof this?t:new this(t)}static concat(t,...r){const n=new this(t);return r.forEach(o=>n.set(o)),n}static accessor(t){const n=(this[ji]=this[ji]={accessors:{}}).accessors,o=this.prototype;function i(s){const c=Or(s);n[c]||(hd(o,s),n[c]=!0)}return E.isArray(t)?t.forEach(i):i(t),this}};Te.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);E.reduceDescriptors(Te.prototype,({value:e},t)=>{let r=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(n){this[r]=n}}});E.freezeMethods(Te);function to(e,t){const r=this||qr,n=t||r,o=Te.from(n.headers);let i=n.data;return E.forEach(e,function(c){i=c.call(r,i,o.normalize(),t?t.status:void 0)}),o.normalize(),i}function Nl(e){return!!(e&&e.__CANCEL__)}function ir(e,t,r){G.call(this,e==null?"canceled":e,G.ERR_CANCELED,t,r),this.name="CanceledError"}E.inherits(ir,G,{__CANCEL__:!0});function Pl(e,t,r){const n=r.config.validateStatus;!r.status||!n||n(r.status)?e(r):t(new G("Request failed with status code "+r.status,[G.ERR_BAD_REQUEST,G.ERR_BAD_RESPONSE][Math.floor(r.status/100)-4],r.config,r.request,r))}function yd(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}function vd(e,t){e=e||10;const r=new Array(e),n=new Array(e);let o=0,i=0,s;return t=t!==void 0?t:1e3,function(u){const f=Date.now(),d=n[i];s||(s=f),r[o]=u,n[o]=f;let h=i,v=0;for(;h!==o;)v+=r[h++],h=h%e;if(o=(o+1)%e,o===i&&(i=(i+1)%e),f-s<t)return;const w=d&&f-d;return w?Math.round(v*1e3/w):void 0}}function gd(e,t){let r=0,n=1e3/t,o,i;const s=(f,d=Date.now())=>{r=d,o=null,i&&(clearTimeout(i),i=null),e(...f)};return[(...f)=>{const d=Date.now(),h=d-r;h>=n?s(f,d):(o=f,i||(i=setTimeout(()=>{i=null,s(o)},n-h)))},()=>o&&s(o)]}const jn=(e,t,r=3)=>{let n=0;const o=vd(50,250);return gd(i=>{const s=i.loaded,c=i.lengthComputable?i.total:void 0,u=s-n,f=o(u),d=s<=c;n=s;const h={loaded:s,total:c,progress:c?s/c:void 0,bytes:u,rate:f||void 0,estimated:f&&c&&d?(c-s)/f:void 0,event:i,lengthComputable:c!=null,[t?"download":"upload"]:!0};e(h)},r)},Li=(e,t)=>{const r=e!=null;return[n=>t[0]({lengthComputable:r,total:e,loaded:n}),t[1]]},Vi=e=>(...t)=>E.asap(()=>e(...t)),bd=ke.hasStandardBrowserEnv?((e,t)=>r=>(r=new URL(r,ke.origin),e.protocol===r.protocol&&e.host===r.host&&(t||e.port===r.port)))(new URL(ke.origin),ke.navigator&&/(msie|trident)/i.test(ke.navigator.userAgent)):()=>!0,Sd=ke.hasStandardBrowserEnv?{write(e,t,r,n,o,i,s){if(typeof document=="undefined")return;const c=[`${e}=${encodeURIComponent(t)}`];E.isNumber(r)&&c.push(`expires=${new Date(r).toUTCString()}`),E.isString(n)&&c.push(`path=${n}`),E.isString(o)&&c.push(`domain=${o}`),i===!0&&c.push("secure"),E.isString(s)&&c.push(`SameSite=${s}`),document.cookie=c.join("; ")},read(e){if(typeof document=="undefined")return null;const t=document.cookie.match(new RegExp("(?:^|; )"+e+"=([^;]*)"));return t?decodeURIComponent(t[1]):null},remove(e){this.write(e,"",Date.now()-864e5,"/")}}:{write(){},read(){return null},remove(){}};function wd(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function Ed(e,t){return t?e.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):e}function Bl(e,t,r){let n=!wd(t);return e&&(n||r==!1)?Ed(e,t):t}const Ui=e=>e instanceof Te?{...e}:e;function Tt(e,t){t=t||{};const r={};function n(f,d,h,v){return E.isPlainObject(f)&&E.isPlainObject(d)?E.merge.call({caseless:v},f,d):E.isPlainObject(d)?E.merge({},d):E.isArray(d)?d.slice():d}function o(f,d,h,v){if(E.isUndefined(d)){if(!E.isUndefined(f))return n(void 0,f,h,v)}else return n(f,d,h,v)}function i(f,d){if(!E.isUndefined(d))return n(void 0,d)}function s(f,d){if(E.isUndefined(d)){if(!E.isUndefined(f))return n(void 0,f)}else return n(void 0,d)}function c(f,d,h){if(h in t)return n(f,d);if(h in e)return n(void 0,f)}const u={url:i,method:i,data:i,baseURL:s,transformRequest:s,transformResponse:s,paramsSerializer:s,timeout:s,timeoutMessage:s,withCredentials:s,withXSRFToken:s,adapter:s,responseType:s,xsrfCookieName:s,xsrfHeaderName:s,onUploadProgress:s,onDownloadProgress:s,decompress:s,maxContentLength:s,maxBodyLength:s,beforeRedirect:s,transport:s,httpAgent:s,httpsAgent:s,cancelToken:s,socketPath:s,responseEncoding:s,validateStatus:c,headers:(f,d,h)=>o(Ui(f),Ui(d),h,!0)};return E.forEach(Object.keys({...e,...t}),function(d){const h=u[d]||o,v=h(e[d],t[d],d);E.isUndefined(v)&&h!==c||(r[d]=v)}),r}const Il=e=>{const t=Tt({},e);let{data:r,withXSRFToken:n,xsrfHeaderName:o,xsrfCookieName:i,headers:s,auth:c}=t;if(t.headers=s=Te.from(s),t.url=$l(Bl(t.baseURL,t.url,t.allowAbsoluteUrls),e.params,e.paramsSerializer),c&&s.set("Authorization","Basic "+btoa((c.username||"")+":"+(c.password?unescape(encodeURIComponent(c.password)):""))),E.isFormData(r)){if(ke.hasStandardBrowserEnv||ke.hasStandardBrowserWebWorkerEnv)s.setContentType(void 0);else if(E.isFunction(r.getHeaders)){const u=r.getHeaders(),f=["content-type","content-length"];Object.entries(u).forEach(([d,h])=>{f.includes(d.toLowerCase())&&s.set(d,h)})}}if(ke.hasStandardBrowserEnv&&(n&&E.isFunction(n)&&(n=n(t)),n||n!==!1&&bd(t.url))){const u=o&&i&&Sd.read(i);u&&s.set(o,u)}return t},kd=typeof XMLHttpRequest!="undefined",Ad=kd&&function(e){return new Promise(function(r,n){const o=Il(e);let i=o.data;const s=Te.from(o.headers).normalize();let{responseType:c,onUploadProgress:u,onDownloadProgress:f}=o,d,h,v,w,m;function y(){w&&w(),m&&m(),o.cancelToken&&o.cancelToken.unsubscribe(d),o.signal&&o.signal.removeEventListener("abort",d)}let b=new XMLHttpRequest;b.open(o.method.toUpperCase(),o.url,!0),b.timeout=o.timeout;function S(){if(!b)return;const O=Te.from("getAllResponseHeaders"in b&&b.getAllResponseHeaders()),R={data:!c||c==="text"||c==="json"?b.responseText:b.response,status:b.status,statusText:b.statusText,headers:O,config:e,request:b};Pl(function(j){r(j),y()},function(j){n(j),y()},R),b=null}"onloadend"in b?b.onloadend=S:b.onreadystatechange=function(){!b||b.readyState!==4||b.status===0&&!(b.responseURL&&b.responseURL.indexOf("file:")===0)||setTimeout(S)},b.onabort=function(){b&&(n(new G("Request aborted",G.ECONNABORTED,e,b)),b=null)},b.onerror=function(M){const R=M&&M.message?M.message:"Network Error",I=new G(R,G.ERR_NETWORK,e,b);I.event=M||null,n(I),b=null},b.ontimeout=function(){let M=o.timeout?"timeout of "+o.timeout+"ms exceeded":"timeout exceeded";const R=o.transitional||Cl;o.timeoutErrorMessage&&(M=o.timeoutErrorMessage),n(new G(M,R.clarifyTimeoutError?G.ETIMEDOUT:G.ECONNABORTED,e,b)),b=null},i===void 0&&s.setContentType(null),"setRequestHeader"in b&&E.forEach(s.toJSON(),function(M,R){b.setRequestHeader(R,M)}),E.isUndefined(o.withCredentials)||(b.withCredentials=!!o.withCredentials),c&&c!=="json"&&(b.responseType=o.responseType),f&&([v,m]=jn(f,!0),b.addEventListener("progress",v)),u&&b.upload&&([h,w]=jn(u),b.upload.addEventListener("progress",h),b.upload.addEventListener("loadend",w)),(o.cancelToken||o.signal)&&(d=O=>{b&&(n(!O||O.type?new ir(null,e,b):O),b.abort(),b=null)},o.cancelToken&&o.cancelToken.subscribe(d),o.signal&&(o.signal.aborted?d():o.signal.addEventListener("abort",d)));const k=yd(o.url);if(k&&ke.protocols.indexOf(k)===-1){n(new G("Unsupported protocol "+k+":",G.ERR_BAD_REQUEST,e));return}b.send(i||null)})},xd=(e,t)=>{const{length:r}=e=e?e.filter(Boolean):[];if(t||r){let n=new AbortController,o;const i=function(f){if(!o){o=!0,c();const d=f instanceof Error?f:this.reason;n.abort(d instanceof G?d:new ir(d instanceof Error?d.message:d))}};let s=t&&setTimeout(()=>{s=null,i(new G(`timeout ${t} of ms exceeded`,G.ETIMEDOUT))},t);const c=()=>{e&&(s&&clearTimeout(s),s=null,e.forEach(f=>{f.unsubscribe?f.unsubscribe(i):f.removeEventListener("abort",i)}),e=null)};e.forEach(f=>f.addEventListener("abort",i));const{signal:u}=n;return u.unsubscribe=()=>E.asap(c),u}},Od=function*(e,t){let r=e.byteLength;if(r<t){yield e;return}let n=0,o;for(;n<r;)o=n+t,yield e.slice(n,o),n=o},_d=async function*(e,t){for await(const r of $d(e))yield*Od(r,t)},$d=async function*(e){if(e[Symbol.asyncIterator]){yield*e;return}const t=e.getReader();try{for(;;){const{done:r,value:n}=await t.read();if(r)break;yield n}}finally{await t.cancel()}},zi=(e,t,r,n)=>{const o=_d(e,t);let i=0,s,c=u=>{s||(s=!0,n&&n(u))};return new ReadableStream({async pull(u){try{const{done:f,value:d}=await o.next();if(f){c(),u.close();return}let h=d.byteLength;if(r){let v=i+=h;r(v)}u.enqueue(new Uint8Array(d))}catch(f){throw c(f),f}},cancel(u){return c(u),o.return()}},{highWaterMark:2})},Hi=64*1024,{isFunction:Sn}=E,Cd=(({Request:e,Response:t})=>({Request:e,Response:t}))(E.global),{ReadableStream:Wi,TextEncoder:qi}=E.global,Yi=(e,...t)=>{try{return!!e(...t)}catch{return!1}},Td=e=>{e=E.merge.call({skipUndefined:!0},Cd,e);const{fetch:t,Request:r,Response:n}=e,o=t?Sn(t):typeof fetch=="function",i=Sn(r),s=Sn(n);if(!o)return!1;const c=o&&Sn(Wi),u=o&&(typeof qi=="function"?(m=>y=>m.encode(y))(new qi):async m=>new Uint8Array(await new r(m).arrayBuffer())),f=i&&c&&Yi(()=>{let m=!1;const y=new r(ke.origin,{body:new Wi,method:"POST",get duplex(){return m=!0,"half"}}).headers.has("Content-Type");return m&&!y}),d=s&&c&&Yi(()=>E.isReadableStream(new n("").body)),h={stream:d&&(m=>m.body)};o&&["text","arrayBuffer","blob","formData","stream"].forEach(m=>{!h[m]&&(h[m]=(y,b)=>{let S=y&&y[m];if(S)return S.call(y);throw new G(`Response type '${m}' is not supported`,G.ERR_NOT_SUPPORT,b)})});const v=async m=>{if(m==null)return 0;if(E.isBlob(m))return m.size;if(E.isSpecCompliantForm(m))return(await new r(ke.origin,{method:"POST",body:m}).arrayBuffer()).byteLength;if(E.isArrayBufferView(m)||E.isArrayBuffer(m))return m.byteLength;if(E.isURLSearchParams(m)&&(m=m+""),E.isString(m))return(await u(m)).byteLength},w=async(m,y)=>{const b=E.toFiniteNumber(m.getContentLength());return b==null?v(y):b};return async m=>{let{url:y,method:b,data:S,signal:k,cancelToken:O,timeout:M,onDownloadProgress:R,onUploadProgress:I,responseType:j,headers:W,withCredentials:D="same-origin",fetchOptions:_}=Il(m),$=t||fetch;j=j?(j+"").toLowerCase():"text";let L=xd([k,O&&O.toAbortSignal()],M),C=null;const B=L&&L.unsubscribe&&(()=>{L.unsubscribe()});let T;try{if(I&&f&&b!=="get"&&b!=="head"&&(T=await w(W,S))!==0){let X=new r(y,{method:"POST",body:S,duplex:"half"}),te;if(E.isFormData(S)&&(te=X.headers.get("content-type"))&&W.setContentType(te),X.body){const[Z,ae]=Li(T,jn(Vi(I)));S=zi(X.body,Hi,Z,ae)}}E.isString(D)||(D=D?"include":"omit");const x=i&&"credentials"in r.prototype,V={..._,signal:L,method:b.toUpperCase(),headers:W.normalize().toJSON(),body:S,duplex:"half",credentials:x?D:void 0};C=i&&new r(y,V);let N=await(i?$(C,_):$(y,V));const U=d&&(j==="stream"||j==="response");if(d&&(R||U&&B)){const X={};["status","statusText","headers"].forEach(q=>{X[q]=N[q]});const te=E.toFiniteNumber(N.headers.get("content-length")),[Z,ae]=R&&Li(te,jn(Vi(R),!0))||[];N=new n(zi(N.body,Hi,Z,()=>{ae&&ae(),B&&B()}),X)}j=j||"text";let F=await h[E.findKey(h,j)||"text"](N,m);return!U&&B&&B(),await new Promise((X,te)=>{Pl(X,te,{data:F,headers:Te.from(N.headers),status:N.status,statusText:N.statusText,config:m,request:C})})}catch(x){throw B&&B(),x&&x.name==="TypeError"&&/Load failed|fetch/i.test(x.message)?Object.assign(new G("Network Error",G.ERR_NETWORK,m,C),{cause:x.cause||x}):G.from(x,x&&x.code,m,C)}}},Nd=new Map,Ml=e=>{let t=e&&e.env||{};const{fetch:r,Request:n,Response:o}=t,i=[n,o,r];let s=i.length,c=s,u,f,d=Nd;for(;c--;)u=i[c],f=d.get(u),f===void 0&&d.set(u,f=c?new Map:Td(t)),d=f;return f};Ml();const di={http:Gf,xhr:Ad,fetch:{get:Ml}};E.forEach(di,(e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch{}Object.defineProperty(e,"adapterName",{value:t})}});const Gi=e=>`- ${e}`,Pd=e=>E.isFunction(e)||e===null||e===!1;function Bd(e,t){e=E.isArray(e)?e:[e];const{length:r}=e;let n,o;const i={};for(let s=0;s<r;s++){n=e[s];let c;if(o=n,!Pd(n)&&(o=di[(c=String(n)).toLowerCase()],o===void 0))throw new G(`Unknown adapter '${c}'`);if(o&&(E.isFunction(o)||(o=o.get(t))))break;i[c||"#"+s]=o}if(!o){const s=Object.entries(i).map(([u,f])=>`adapter ${u} `+(f===!1?"is not supported by the environment":"is not available in the build"));let c=r?s.length>1?`since :
4
+ `+s.map(Gi).join(`
5
+ `):" "+Gi(s[0]):"as no adapter specified";throw new G("There is no suitable adapter to dispatch the request "+c,"ERR_NOT_SUPPORT")}return o}const Fl={getAdapter:Bd,adapters:di};function ro(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new ir(null,e)}function Ki(e){return ro(e),e.headers=Te.from(e.headers),e.data=to.call(e,e.transformRequest),["post","put","patch"].indexOf(e.method)!==-1&&e.headers.setContentType("application/x-www-form-urlencoded",!1),Fl.getAdapter(e.adapter||qr.adapter,e)(e).then(function(n){return ro(e),n.data=to.call(e,e.transformResponse,n),n.headers=Te.from(n.headers),n},function(n){return Nl(n)||(ro(e),n&&n.response&&(n.response.data=to.call(e,e.transformResponse,n.response),n.response.headers=Te.from(n.response.headers))),Promise.reject(n)})}const Rl="1.13.2",ra={};["object","boolean","number","function","string","symbol"].forEach((e,t)=>{ra[e]=function(n){return typeof n===e||"a"+(t<1?"n ":" ")+e}});const Ji={};ra.transitional=function(t,r,n){function o(i,s){return"[Axios v"+Rl+"] Transitional option '"+i+"'"+s+(n?". "+n:"")}return(i,s,c)=>{if(t===!1)throw new G(o(s," has been removed"+(r?" in "+r:"")),G.ERR_DEPRECATED);return r&&!Ji[s]&&(Ji[s]=!0,console.warn(o(s," has been deprecated since v"+r+" and will be removed in the near future"))),t?t(i,s,c):!0}};ra.spelling=function(t){return(r,n)=>(console.warn(`${n} is likely a misspelling of ${t}`),!0)};function Id(e,t,r){if(typeof e!="object")throw new G("options must be an object",G.ERR_BAD_OPTION_VALUE);const n=Object.keys(e);let o=n.length;for(;o-- >0;){const i=n[o],s=t[i];if(s){const c=e[i],u=c===void 0||s(c,i,e);if(u!==!0)throw new G("option "+i+" must be "+u,G.ERR_BAD_OPTION_VALUE);continue}if(r!==!0)throw new G("Unknown option "+i,G.ERR_BAD_OPTION)}}const Nn={assertOptions:Id,validators:ra},Ge=Nn.validators;let _t=class{constructor(t){this.defaults=t||{},this.interceptors={request:new Di,response:new Di}}async request(t,r){try{return await this._request(t,r)}catch(n){if(n instanceof Error){let o={};Error.captureStackTrace?Error.captureStackTrace(o):o=new Error;const i=o.stack?o.stack.replace(/^.+\n/,""):"";try{n.stack?i&&!String(n.stack).endsWith(i.replace(/^.+\n.+\n/,""))&&(n.stack+=`
6
+ `+i):n.stack=i}catch{}}throw n}}_request(t,r){typeof t=="string"?(r=r||{},r.url=t):r=t||{},r=Tt(this.defaults,r);const{transitional:n,paramsSerializer:o,headers:i}=r;n!==void 0&&Nn.assertOptions(n,{silentJSONParsing:Ge.transitional(Ge.boolean),forcedJSONParsing:Ge.transitional(Ge.boolean),clarifyTimeoutError:Ge.transitional(Ge.boolean)},!1),o!=null&&(E.isFunction(o)?r.paramsSerializer={serialize:o}:Nn.assertOptions(o,{encode:Ge.function,serialize:Ge.function},!0)),r.allowAbsoluteUrls!==void 0||(this.defaults.allowAbsoluteUrls!==void 0?r.allowAbsoluteUrls=this.defaults.allowAbsoluteUrls:r.allowAbsoluteUrls=!0),Nn.assertOptions(r,{baseUrl:Ge.spelling("baseURL"),withXsrfToken:Ge.spelling("withXSRFToken")},!0),r.method=(r.method||this.defaults.method||"get").toLowerCase();let s=i&&E.merge(i.common,i[r.method]);i&&E.forEach(["delete","get","head","post","put","patch","common"],m=>{delete i[m]}),r.headers=Te.concat(s,i);const c=[];let u=!0;this.interceptors.request.forEach(function(y){typeof y.runWhen=="function"&&y.runWhen(r)===!1||(u=u&&y.synchronous,c.unshift(y.fulfilled,y.rejected))});const f=[];this.interceptors.response.forEach(function(y){f.push(y.fulfilled,y.rejected)});let d,h=0,v;if(!u){const m=[Ki.bind(this),void 0];for(m.unshift(...c),m.push(...f),v=m.length,d=Promise.resolve(r);h<v;)d=d.then(m[h++],m[h++]);return d}v=c.length;let w=r;for(;h<v;){const m=c[h++],y=c[h++];try{w=m(w)}catch(b){y.call(this,b);break}}try{d=Ki.call(this,w)}catch(m){return Promise.reject(m)}for(h=0,v=f.length;h<v;)d=d.then(f[h++],f[h++]);return d}getUri(t){t=Tt(this.defaults,t);const r=Bl(t.baseURL,t.url,t.allowAbsoluteUrls);return $l(r,t.params,t.paramsSerializer)}};E.forEach(["delete","get","head","options"],function(t){_t.prototype[t]=function(r,n){return this.request(Tt(n||{},{method:t,url:r,data:(n||{}).data}))}});E.forEach(["post","put","patch"],function(t){function r(n){return function(i,s,c){return this.request(Tt(c||{},{method:t,headers:n?{"Content-Type":"multipart/form-data"}:{},url:i,data:s}))}}_t.prototype[t]=r(),_t.prototype[t+"Form"]=r(!0)});let Md=class Dl{constructor(t){if(typeof t!="function")throw new TypeError("executor must be a function.");let r;this.promise=new Promise(function(i){r=i});const n=this;this.promise.then(o=>{if(!n._listeners)return;let i=n._listeners.length;for(;i-- >0;)n._listeners[i](o);n._listeners=null}),this.promise.then=o=>{let i;const s=new Promise(c=>{n.subscribe(c),i=c}).then(o);return s.cancel=function(){n.unsubscribe(i)},s},t(function(i,s,c){n.reason||(n.reason=new ir(i,s,c),r(n.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(t){if(this.reason){t(this.reason);return}this._listeners?this._listeners.push(t):this._listeners=[t]}unsubscribe(t){if(!this._listeners)return;const r=this._listeners.indexOf(t);r!==-1&&this._listeners.splice(r,1)}toAbortSignal(){const t=new AbortController,r=n=>{t.abort(n)};return this.subscribe(r),t.signal.unsubscribe=()=>this.unsubscribe(r),t.signal}static source(){let t;return{token:new Dl(function(o){t=o}),cancel:t}}};function Fd(e){return function(r){return e.apply(null,r)}}function Rd(e){return E.isObject(e)&&e.isAxiosError===!0}const Do={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511,WebServerIsDown:521,ConnectionTimedOut:522,OriginIsUnreachable:523,TimeoutOccurred:524,SslHandshakeFailed:525,InvalidSslCertificate:526};Object.entries(Do).forEach(([e,t])=>{Do[t]=e});function jl(e){const t=new _t(e),r=yl(_t.prototype.request,t);return E.extend(r,_t.prototype,t,{allOwnKeys:!0}),E.extend(r,t,null,{allOwnKeys:!0}),r.create=function(o){return jl(Tt(e,o))},r}const se=jl(qr);se.Axios=_t;se.CanceledError=ir;se.CancelToken=Md;se.isCancel=Nl;se.VERSION=Rl;se.toFormData=ta;se.AxiosError=G;se.Cancel=se.CanceledError;se.all=function(t){return Promise.all(t)};se.spread=Fd;se.isAxiosError=Rd;se.mergeConfig=Tt;se.AxiosHeaders=Te;se.formToJSON=e=>Tl(E.isHTMLForm(e)?new FormData(e):e);se.getAdapter=Fl.getAdapter;se.HttpStatusCode=Do;se.default=se;const{Axios:F0,AxiosError:R0,CanceledError:D0,isCancel:j0,CancelToken:L0,VERSION:V0,all:U0,Cancel:z0,isAxiosError:H0,spread:W0,toFormData:q0,AxiosHeaders:Y0,HttpStatusCode:G0,formToJSON:K0,getAdapter:J0,mergeConfig:X0}=se;var Ae=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:typeof global!="undefined"?global:typeof self!="undefined"?self:{};function na(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function Dd(e){if(e.__esModule)return e;var t=e.default;if(typeof t=="function"){var r=function n(){return this instanceof n?Reflect.construct(t,arguments,this.constructor):t.apply(this,arguments)};r.prototype=t.prototype}else r={};return Object.defineProperty(r,"__esModule",{value:!0}),Object.keys(e).forEach(function(n){var o=Object.getOwnPropertyDescriptor(e,n);Object.defineProperty(r,n,o.get?o:{enumerable:!0,get:function(){return e[n]}})}),r}var jd=function(t){return Ld(t)&&!Vd(t)};function Ld(e){return!!e&&typeof e=="object"}function Vd(e){var t=Object.prototype.toString.call(e);return t==="[object RegExp]"||t==="[object Date]"||Hd(e)}var Ud=typeof Symbol=="function"&&Symbol.for,zd=Ud?Symbol.for("react.element"):60103;function Hd(e){return e.$$typeof===zd}function Wd(e){return Array.isArray(e)?[]:{}}function jr(e,t){return t.clone!==!1&&t.isMergeableObject(e)?tr(Wd(e),e,t):e}function qd(e,t,r){return e.concat(t).map(function(n){return jr(n,r)})}function Yd(e,t){if(!t.customMerge)return tr;var r=t.customMerge(e);return typeof r=="function"?r:tr}function Gd(e){return Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(e).filter(function(t){return Object.propertyIsEnumerable.call(e,t)}):[]}function Xi(e){return Object.keys(e).concat(Gd(e))}function Ll(e,t){try{return t in e}catch{return!1}}function Kd(e,t){return Ll(e,t)&&!(Object.hasOwnProperty.call(e,t)&&Object.propertyIsEnumerable.call(e,t))}function Jd(e,t,r){var n={};return r.isMergeableObject(e)&&Xi(e).forEach(function(o){n[o]=jr(e[o],r)}),Xi(t).forEach(function(o){Kd(e,o)||(Ll(e,o)&&r.isMergeableObject(t[o])?n[o]=Yd(o,r)(e[o],t[o],r):n[o]=jr(t[o],r))}),n}function tr(e,t,r){r=r||{},r.arrayMerge=r.arrayMerge||qd,r.isMergeableObject=r.isMergeableObject||jd,r.cloneUnlessOtherwiseSpecified=jr;var n=Array.isArray(t),o=Array.isArray(e),i=n===o;return i?n?r.arrayMerge(e,t,r):Jd(e,t,r):jr(t,r)}tr.all=function(t,r){if(!Array.isArray(t))throw new Error("first argument should be an array");return t.reduce(function(n,o){return tr(n,o,r)},{})};var Xd=tr,Qd=Xd;const Zd=na(Qd);var sr=TypeError;const ep={},tp=Object.freeze(Object.defineProperty({__proto__:null,default:ep},Symbol.toStringTag,{value:"Module"})),rp=Dd(tp);var pi=typeof Map=="function"&&Map.prototype,no=Object.getOwnPropertyDescriptor&&pi?Object.getOwnPropertyDescriptor(Map.prototype,"size"):null,Ln=pi&&no&&typeof no.get=="function"?no.get:null,Qi=pi&&Map.prototype.forEach,mi=typeof Set=="function"&&Set.prototype,ao=Object.getOwnPropertyDescriptor&&mi?Object.getOwnPropertyDescriptor(Set.prototype,"size"):null,Vn=mi&&ao&&typeof ao.get=="function"?ao.get:null,Zi=mi&&Set.prototype.forEach,np=typeof WeakMap=="function"&&WeakMap.prototype,Pr=np?WeakMap.prototype.has:null,ap=typeof WeakSet=="function"&&WeakSet.prototype,Br=ap?WeakSet.prototype.has:null,op=typeof WeakRef=="function"&&WeakRef.prototype,es=op?WeakRef.prototype.deref:null,ip=Boolean.prototype.valueOf,sp=Object.prototype.toString,lp=Function.prototype.toString,cp=String.prototype.match,hi=String.prototype.slice,ft=String.prototype.replace,up=String.prototype.toUpperCase,ts=String.prototype.toLowerCase,Vl=RegExp.prototype.test,rs=Array.prototype.concat,Xe=Array.prototype.join,fp=Array.prototype.slice,ns=Math.floor,jo=typeof BigInt=="function"?BigInt.prototype.valueOf:null,oo=Object.getOwnPropertySymbols,Lo=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?Symbol.prototype.toString:null,rr=typeof Symbol=="function"&&typeof Symbol.iterator=="object",Ir=typeof Symbol=="function"&&Symbol.toStringTag&&(typeof Symbol.toStringTag===rr||!0)?Symbol.toStringTag:null,Ul=Object.prototype.propertyIsEnumerable,as=(typeof Reflect=="function"?Reflect.getPrototypeOf:Object.getPrototypeOf)||([].__proto__===Array.prototype?function(e){return e.__proto__}:null);function os(e,t){if(e===1/0||e===-1/0||e!==e||e&&e>-1e3&&e<1e3||Vl.call(/e/,t))return t;var r=/[0-9](?=(?:[0-9]{3})+(?![0-9]))/g;if(typeof e=="number"){var n=e<0?-ns(-e):ns(e);if(n!==e){var o=String(n),i=hi.call(t,o.length+1);return ft.call(o,r,"$&_")+"."+ft.call(ft.call(i,/([0-9]{3})/g,"$&_"),/_$/,"")}}return ft.call(t,r,"$&_")}var Vo=rp,is=Vo.custom,ss=Wl(is)?is:null,zl={__proto__:null,double:'"',single:"'"},dp={__proto__:null,double:/(["\\])/g,single:/(['\\])/g},aa=function e(t,r,n,o){var i=r||{};if(at(i,"quoteStyle")&&!at(zl,i.quoteStyle))throw new TypeError('option "quoteStyle" must be "single" or "double"');if(at(i,"maxStringLength")&&(typeof i.maxStringLength=="number"?i.maxStringLength<0&&i.maxStringLength!==1/0:i.maxStringLength!==null))throw new TypeError('option "maxStringLength", if provided, must be a positive integer, Infinity, or `null`');var s=at(i,"customInspect")?i.customInspect:!0;if(typeof s!="boolean"&&s!=="symbol")throw new TypeError("option \"customInspect\", if provided, must be `true`, `false`, or `'symbol'`");if(at(i,"indent")&&i.indent!==null&&i.indent!==" "&&!(parseInt(i.indent,10)===i.indent&&i.indent>0))throw new TypeError('option "indent" must be "\\t", an integer > 0, or `null`');if(at(i,"numericSeparator")&&typeof i.numericSeparator!="boolean")throw new TypeError('option "numericSeparator", if provided, must be `true` or `false`');var c=i.numericSeparator;if(typeof t=="undefined")return"undefined";if(t===null)return"null";if(typeof t=="boolean")return t?"true":"false";if(typeof t=="string")return Yl(t,i);if(typeof t=="number"){if(t===0)return 1/0/t>0?"0":"-0";var u=String(t);return c?os(t,u):u}if(typeof t=="bigint"){var f=String(t)+"n";return c?os(t,f):f}var d=typeof i.depth=="undefined"?5:i.depth;if(typeof n=="undefined"&&(n=0),n>=d&&d>0&&typeof t=="object")return Uo(t)?"[Array]":"[Object]";var h=Tp(i,n);if(typeof o=="undefined")o=[];else if(ql(o,t)>=0)return"[Circular]";function v(C,B,T){if(B&&(o=fp.call(o),o.push(B)),T){var x={depth:i.depth};return at(i,"quoteStyle")&&(x.quoteStyle=i.quoteStyle),e(C,x,n+1,o)}return e(C,i,n+1,o)}if(typeof t=="function"&&!ls(t)){var w=wp(t),m=wn(t,v);return"[Function"+(w?": "+w:" (anonymous)")+"]"+(m.length>0?" { "+Xe.call(m,", ")+" }":"")}if(Wl(t)){var y=rr?ft.call(String(t),/^(Symbol\(.*\))_[^)]*$/,"$1"):Lo.call(t);return typeof t=="object"&&!rr?_r(y):y}if(_p(t)){for(var b="<"+ts.call(String(t.nodeName)),S=t.attributes||[],k=0;k<S.length;k++)b+=" "+S[k].name+"="+Hl(pp(S[k].value),"double",i);return b+=">",t.childNodes&&t.childNodes.length&&(b+="..."),b+="</"+ts.call(String(t.nodeName))+">",b}if(Uo(t)){if(t.length===0)return"[]";var O=wn(t,v);return h&&!Cp(O)?"["+zo(O,h)+"]":"[ "+Xe.call(O,", ")+" ]"}if(hp(t)){var M=wn(t,v);return!("cause"in Error.prototype)&&"cause"in t&&!Ul.call(t,"cause")?"{ ["+String(t)+"] "+Xe.call(rs.call("[cause]: "+v(t.cause),M),", ")+" }":M.length===0?"["+String(t)+"]":"{ ["+String(t)+"] "+Xe.call(M,", ")+" }"}if(typeof t=="object"&&s){if(ss&&typeof t[ss]=="function"&&Vo)return Vo(t,{depth:d-n});if(s!=="symbol"&&typeof t.inspect=="function")return t.inspect()}if(Ep(t)){var R=[];return Qi&&Qi.call(t,function(C,B){R.push(v(B,t,!0)+" => "+v(C,t))}),cs("Map",Ln.call(t),R,h)}if(xp(t)){var I=[];return Zi&&Zi.call(t,function(C){I.push(v(C,t))}),cs("Set",Vn.call(t),I,h)}if(kp(t))return io("WeakMap");if(Op(t))return io("WeakSet");if(Ap(t))return io("WeakRef");if(vp(t))return _r(v(Number(t)));if(bp(t))return _r(v(jo.call(t)));if(gp(t))return _r(ip.call(t));if(yp(t))return _r(v(String(t)));if(typeof window!="undefined"&&t===window)return"{ [object Window] }";if(typeof globalThis!="undefined"&&t===globalThis||typeof Ae!="undefined"&&t===Ae)return"{ [object globalThis] }";if(!mp(t)&&!ls(t)){var j=wn(t,v),W=as?as(t)===Object.prototype:t instanceof Object||t.constructor===Object,D=t instanceof Object?"":"null prototype",_=!W&&Ir&&Object(t)===t&&Ir in t?hi.call(yt(t),8,-1):D?"Object":"",$=W||typeof t.constructor!="function"?"":t.constructor.name?t.constructor.name+" ":"",L=$+(_||D?"["+Xe.call(rs.call([],_||[],D||[]),": ")+"] ":"");return j.length===0?L+"{}":h?L+"{"+zo(j,h)+"}":L+"{ "+Xe.call(j,", ")+" }"}return String(t)};function Hl(e,t,r){var n=r.quoteStyle||t,o=zl[n];return o+e+o}function pp(e){return ft.call(String(e),/"/g,"&quot;")}function It(e){return!Ir||!(typeof e=="object"&&(Ir in e||typeof e[Ir]!="undefined"))}function Uo(e){return yt(e)==="[object Array]"&&It(e)}function mp(e){return yt(e)==="[object Date]"&&It(e)}function ls(e){return yt(e)==="[object RegExp]"&&It(e)}function hp(e){return yt(e)==="[object Error]"&&It(e)}function yp(e){return yt(e)==="[object String]"&&It(e)}function vp(e){return yt(e)==="[object Number]"&&It(e)}function gp(e){return yt(e)==="[object Boolean]"&&It(e)}function Wl(e){if(rr)return e&&typeof e=="object"&&e instanceof Symbol;if(typeof e=="symbol")return!0;if(!e||typeof e!="object"||!Lo)return!1;try{return Lo.call(e),!0}catch{}return!1}function bp(e){if(!e||typeof e!="object"||!jo)return!1;try{return jo.call(e),!0}catch{}return!1}var Sp=Object.prototype.hasOwnProperty||function(e){return e in this};function at(e,t){return Sp.call(e,t)}function yt(e){return sp.call(e)}function wp(e){if(e.name)return e.name;var t=cp.call(lp.call(e),/^function\s*([\w$]+)/);return t?t[1]:null}function ql(e,t){if(e.indexOf)return e.indexOf(t);for(var r=0,n=e.length;r<n;r++)if(e[r]===t)return r;return-1}function Ep(e){if(!Ln||!e||typeof e!="object")return!1;try{Ln.call(e);try{Vn.call(e)}catch{return!0}return e instanceof Map}catch{}return!1}function kp(e){if(!Pr||!e||typeof e!="object")return!1;try{Pr.call(e,Pr);try{Br.call(e,Br)}catch{return!0}return e instanceof WeakMap}catch{}return!1}function Ap(e){if(!es||!e||typeof e!="object")return!1;try{return es.call(e),!0}catch{}return!1}function xp(e){if(!Vn||!e||typeof e!="object")return!1;try{Vn.call(e);try{Ln.call(e)}catch{return!0}return e instanceof Set}catch{}return!1}function Op(e){if(!Br||!e||typeof e!="object")return!1;try{Br.call(e,Br);try{Pr.call(e,Pr)}catch{return!0}return e instanceof WeakSet}catch{}return!1}function _p(e){return!e||typeof e!="object"?!1:typeof HTMLElement!="undefined"&&e instanceof HTMLElement?!0:typeof e.nodeName=="string"&&typeof e.getAttribute=="function"}function Yl(e,t){if(e.length>t.maxStringLength){var r=e.length-t.maxStringLength,n="... "+r+" more character"+(r>1?"s":"");return Yl(hi.call(e,0,t.maxStringLength),t)+n}var o=dp[t.quoteStyle||"single"];o.lastIndex=0;var i=ft.call(ft.call(e,o,"\\$1"),/[\x00-\x1f]/g,$p);return Hl(i,"single",t)}function $p(e){var t=e.charCodeAt(0),r={8:"b",9:"t",10:"n",12:"f",13:"r"}[t];return r?"\\"+r:"\\x"+(t<16?"0":"")+up.call(t.toString(16))}function _r(e){return"Object("+e+")"}function io(e){return e+" { ? }"}function cs(e,t,r,n){var o=n?zo(r,n):Xe.call(r,", ");return e+" ("+t+") {"+o+"}"}function Cp(e){for(var t=0;t<e.length;t++)if(ql(e[t],`
7
+ `)>=0)return!1;return!0}function Tp(e,t){var r;if(e.indent===" ")r=" ";else if(typeof e.indent=="number"&&e.indent>0)r=Xe.call(Array(e.indent+1)," ");else return null;return{base:r,prev:Xe.call(Array(t+1),r)}}function zo(e,t){if(e.length===0)return"";var r=`
8
+ `+t.prev+t.base;return r+Xe.call(e,","+r)+`
9
+ `+t.prev}function wn(e,t){var r=Uo(e),n=[];if(r){n.length=e.length;for(var o=0;o<e.length;o++)n[o]=at(e,o)?t(e[o],e):""}var i=typeof oo=="function"?oo(e):[],s;if(rr){s={};for(var c=0;c<i.length;c++)s["$"+i[c]]=i[c]}for(var u in e)at(e,u)&&(r&&String(Number(u))===u&&u<e.length||rr&&s["$"+u]instanceof Symbol||(Vl.call(/[^\w$]/,u)?n.push(t(u,e)+": "+t(e[u],e)):n.push(u+": "+t(e[u],e))));if(typeof oo=="function")for(var f=0;f<i.length;f++)Ul.call(e,i[f])&&n.push("["+t(i[f])+"]: "+t(e[i[f]],e));return n}var Np=aa,Pp=sr,oa=function(e,t,r){for(var n=e,o;(o=n.next)!=null;n=o)if(o.key===t)return n.next=o.next,r||(o.next=e.next,e.next=o),o},Bp=function(e,t){if(e){var r=oa(e,t);return r&&r.value}},Ip=function(e,t,r){var n=oa(e,t);n?n.value=r:e.next={key:t,next:e.next,value:r}},Mp=function(e,t){return e?!!oa(e,t):!1},Fp=function(e,t){if(e)return oa(e,t,!0)},Rp=function(){var t,r={assert:function(n){if(!r.has(n))throw new Pp("Side channel does not contain "+Np(n))},delete:function(n){var o=t&&t.next,i=Fp(t,n);return i&&o&&o===i&&(t=void 0),!!i},get:function(n){return Bp(t,n)},has:function(n){return Mp(t,n)},set:function(n,o){t||(t={next:void 0}),Ip(t,n,o)}};return r},Gl=Object,Dp=Error,jp=EvalError,Lp=RangeError,Vp=ReferenceError,Up=SyntaxError,zp=URIError,Hp=Math.abs,Wp=Math.floor,qp=Math.max,Yp=Math.min,Gp=Math.pow,Kp=Math.round,Jp=Number.isNaN||function(t){return t!==t},Xp=Jp,Qp=function(t){return Xp(t)||t===0?t:t<0?-1:1},Zp=Object.getOwnPropertyDescriptor,Pn=Zp;if(Pn)try{Pn([],"length")}catch{Pn=null}var Kl=Pn,Bn=Object.defineProperty||!1;if(Bn)try{Bn({},"a",{value:1})}catch{Bn=!1}var em=Bn,so,us;function tm(){return us||(us=1,so=function(){if(typeof Symbol!="function"||typeof Object.getOwnPropertySymbols!="function")return!1;if(typeof Symbol.iterator=="symbol")return!0;var t={},r=Symbol("test"),n=Object(r);if(typeof r=="string"||Object.prototype.toString.call(r)!=="[object Symbol]"||Object.prototype.toString.call(n)!=="[object Symbol]")return!1;var o=42;t[r]=o;for(var i in t)return!1;if(typeof Object.keys=="function"&&Object.keys(t).length!==0||typeof Object.getOwnPropertyNames=="function"&&Object.getOwnPropertyNames(t).length!==0)return!1;var s=Object.getOwnPropertySymbols(t);if(s.length!==1||s[0]!==r||!Object.prototype.propertyIsEnumerable.call(t,r))return!1;if(typeof Object.getOwnPropertyDescriptor=="function"){var c=Object.getOwnPropertyDescriptor(t,r);if(c.value!==o||c.enumerable!==!0)return!1}return!0}),so}var lo,fs;function rm(){if(fs)return lo;fs=1;var e=typeof Symbol!="undefined"&&Symbol,t=tm();return lo=function(){return typeof e!="function"||typeof Symbol!="function"||typeof e("foo")!="symbol"||typeof Symbol("bar")!="symbol"?!1:t()},lo}var co,ds;function Jl(){return ds||(ds=1,co=typeof Reflect!="undefined"&&Reflect.getPrototypeOf||null),co}var uo,ps;function Xl(){if(ps)return uo;ps=1;var e=Gl;return uo=e.getPrototypeOf||null,uo}var fo,ms;function nm(){if(ms)return fo;ms=1;var e="Function.prototype.bind called on incompatible ",t=Object.prototype.toString,r=Math.max,n="[object Function]",o=function(u,f){for(var d=[],h=0;h<u.length;h+=1)d[h]=u[h];for(var v=0;v<f.length;v+=1)d[v+u.length]=f[v];return d},i=function(u,f){for(var d=[],h=f,v=0;h<u.length;h+=1,v+=1)d[v]=u[h];return d},s=function(c,u){for(var f="",d=0;d<c.length;d+=1)f+=c[d],d+1<c.length&&(f+=u);return f};return fo=function(u){var f=this;if(typeof f!="function"||t.apply(f)!==n)throw new TypeError(e+f);for(var d=i(arguments,1),h,v=function(){if(this instanceof h){var S=f.apply(this,o(d,arguments));return Object(S)===S?S:this}return f.apply(u,o(d,arguments))},w=r(0,f.length-d.length),m=[],y=0;y<w;y++)m[y]="$"+y;if(h=Function("binder","return function ("+s(m,",")+"){ return binder.apply(this,arguments); }")(v),f.prototype){var b=function(){};b.prototype=f.prototype,h.prototype=new b,b.prototype=null}return h},fo}var po,hs;function ia(){if(hs)return po;hs=1;var e=nm();return po=Function.prototype.bind||e,po}var mo,ys;function yi(){return ys||(ys=1,mo=Function.prototype.call),mo}var ho,vs;function Ql(){return vs||(vs=1,ho=Function.prototype.apply),ho}var am=typeof Reflect!="undefined"&&Reflect&&Reflect.apply,om=ia(),im=Ql(),sm=yi(),lm=am,cm=lm||om.call(sm,im),um=ia(),fm=sr,dm=yi(),pm=cm,Zl=function(t){if(t.length<1||typeof t[0]!="function")throw new fm("a function is required");return pm(um,dm,t)},yo,gs;function mm(){if(gs)return yo;gs=1;var e=Zl,t=Kl,r;try{r=[].__proto__===Array.prototype}catch(s){if(!s||typeof s!="object"||!("code"in s)||s.code!=="ERR_PROTO_ACCESS")throw s}var n=!!r&&t&&t(Object.prototype,"__proto__"),o=Object,i=o.getPrototypeOf;return yo=n&&typeof n.get=="function"?e([n.get]):typeof i=="function"?function(c){return i(c==null?c:o(c))}:!1,yo}var vo,bs;function hm(){if(bs)return vo;bs=1;var e=Jl(),t=Xl(),r=mm();return vo=e?function(o){return e(o)}:t?function(o){if(!o||typeof o!="object"&&typeof o!="function")throw new TypeError("getProto: not an object");return t(o)}:r?function(o){return r(o)}:null,vo}var go,Ss;function ym(){if(Ss)return go;Ss=1;var e=Function.prototype.call,t=Object.prototype.hasOwnProperty,r=ia();return go=r.call(e,t),go}var Q,vm=Gl,gm=Dp,bm=jp,Sm=Lp,wm=Vp,nr=Up,Qt=sr,Em=zp,km=Hp,Am=Wp,xm=qp,Om=Yp,_m=Gp,$m=Kp,Cm=Qp,ec=Function,bo=function(e){try{return ec('"use strict"; return ('+e+").constructor;")()}catch{}},Lr=Kl,Tm=em,So=function(){throw new Qt},Nm=Lr?function(){try{return arguments.callee,So}catch{try{return Lr(arguments,"callee").get}catch{return So}}}():So,qt=rm()(),me=hm(),Pm=Xl(),Bm=Jl(),tc=Ql(),Yr=yi(),Jt={},Im=typeof Uint8Array=="undefined"||!me?Q:me(Uint8Array),$t={__proto__:null,"%AggregateError%":typeof AggregateError=="undefined"?Q:AggregateError,"%Array%":Array,"%ArrayBuffer%":typeof ArrayBuffer=="undefined"?Q:ArrayBuffer,"%ArrayIteratorPrototype%":qt&&me?me([][Symbol.iterator]()):Q,"%AsyncFromSyncIteratorPrototype%":Q,"%AsyncFunction%":Jt,"%AsyncGenerator%":Jt,"%AsyncGeneratorFunction%":Jt,"%AsyncIteratorPrototype%":Jt,"%Atomics%":typeof Atomics=="undefined"?Q:Atomics,"%BigInt%":typeof BigInt=="undefined"?Q:BigInt,"%BigInt64Array%":typeof BigInt64Array=="undefined"?Q:BigInt64Array,"%BigUint64Array%":typeof BigUint64Array=="undefined"?Q:BigUint64Array,"%Boolean%":Boolean,"%DataView%":typeof DataView=="undefined"?Q:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":gm,"%eval%":eval,"%EvalError%":bm,"%Float16Array%":typeof Float16Array=="undefined"?Q:Float16Array,"%Float32Array%":typeof Float32Array=="undefined"?Q:Float32Array,"%Float64Array%":typeof Float64Array=="undefined"?Q:Float64Array,"%FinalizationRegistry%":typeof FinalizationRegistry=="undefined"?Q:FinalizationRegistry,"%Function%":ec,"%GeneratorFunction%":Jt,"%Int8Array%":typeof Int8Array=="undefined"?Q:Int8Array,"%Int16Array%":typeof Int16Array=="undefined"?Q:Int16Array,"%Int32Array%":typeof Int32Array=="undefined"?Q:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":qt&&me?me(me([][Symbol.iterator]())):Q,"%JSON%":typeof JSON=="object"?JSON:Q,"%Map%":typeof Map=="undefined"?Q:Map,"%MapIteratorPrototype%":typeof Map=="undefined"||!qt||!me?Q:me(new Map()[Symbol.iterator]()),"%Math%":Math,"%Number%":Number,"%Object%":vm,"%Object.getOwnPropertyDescriptor%":Lr,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":typeof Promise=="undefined"?Q:Promise,"%Proxy%":typeof Proxy=="undefined"?Q:Proxy,"%RangeError%":Sm,"%ReferenceError%":wm,"%Reflect%":typeof Reflect=="undefined"?Q:Reflect,"%RegExp%":RegExp,"%Set%":typeof Set=="undefined"?Q:Set,"%SetIteratorPrototype%":typeof Set=="undefined"||!qt||!me?Q:me(new Set()[Symbol.iterator]()),"%SharedArrayBuffer%":typeof SharedArrayBuffer=="undefined"?Q:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":qt&&me?me(""[Symbol.iterator]()):Q,"%Symbol%":qt?Symbol:Q,"%SyntaxError%":nr,"%ThrowTypeError%":Nm,"%TypedArray%":Im,"%TypeError%":Qt,"%Uint8Array%":typeof Uint8Array=="undefined"?Q:Uint8Array,"%Uint8ClampedArray%":typeof Uint8ClampedArray=="undefined"?Q:Uint8ClampedArray,"%Uint16Array%":typeof Uint16Array=="undefined"?Q:Uint16Array,"%Uint32Array%":typeof Uint32Array=="undefined"?Q:Uint32Array,"%URIError%":Em,"%WeakMap%":typeof WeakMap=="undefined"?Q:WeakMap,"%WeakRef%":typeof WeakRef=="undefined"?Q:WeakRef,"%WeakSet%":typeof WeakSet=="undefined"?Q:WeakSet,"%Function.prototype.call%":Yr,"%Function.prototype.apply%":tc,"%Object.defineProperty%":Tm,"%Object.getPrototypeOf%":Pm,"%Math.abs%":km,"%Math.floor%":Am,"%Math.max%":xm,"%Math.min%":Om,"%Math.pow%":_m,"%Math.round%":$m,"%Math.sign%":Cm,"%Reflect.getPrototypeOf%":Bm};if(me)try{null.error}catch(e){var Mm=me(me(e));$t["%Error.prototype%"]=Mm}var Fm=function e(t){var r;if(t==="%AsyncFunction%")r=bo("async function () {}");else if(t==="%GeneratorFunction%")r=bo("function* () {}");else if(t==="%AsyncGeneratorFunction%")r=bo("async function* () {}");else if(t==="%AsyncGenerator%"){var n=e("%AsyncGeneratorFunction%");n&&(r=n.prototype)}else if(t==="%AsyncIteratorPrototype%"){var o=e("%AsyncGenerator%");o&&me&&(r=me(o.prototype))}return $t[t]=r,r},ws={__proto__:null,"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},Gr=ia(),Un=ym(),Rm=Gr.call(Yr,Array.prototype.concat),Dm=Gr.call(tc,Array.prototype.splice),Es=Gr.call(Yr,String.prototype.replace),zn=Gr.call(Yr,String.prototype.slice),jm=Gr.call(Yr,RegExp.prototype.exec),Lm=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,Vm=/\\(\\)?/g,Um=function(t){var r=zn(t,0,1),n=zn(t,-1);if(r==="%"&&n!=="%")throw new nr("invalid intrinsic syntax, expected closing `%`");if(n==="%"&&r!=="%")throw new nr("invalid intrinsic syntax, expected opening `%`");var o=[];return Es(t,Lm,function(i,s,c,u){o[o.length]=c?Es(u,Vm,"$1"):s||i}),o},zm=function(t,r){var n=t,o;if(Un(ws,n)&&(o=ws[n],n="%"+o[0]+"%"),Un($t,n)){var i=$t[n];if(i===Jt&&(i=Fm(n)),typeof i=="undefined"&&!r)throw new Qt("intrinsic "+t+" exists, but is not available. Please file an issue!");return{alias:o,name:n,value:i}}throw new nr("intrinsic "+t+" does not exist!")},vi=function(t,r){if(typeof t!="string"||t.length===0)throw new Qt("intrinsic name must be a non-empty string");if(arguments.length>1&&typeof r!="boolean")throw new Qt('"allowMissing" argument must be a boolean');if(jm(/^%?[^%]*%?$/,t)===null)throw new nr("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var n=Um(t),o=n.length>0?n[0]:"",i=zm("%"+o+"%",r),s=i.name,c=i.value,u=!1,f=i.alias;f&&(o=f[0],Dm(n,Rm([0,1],f)));for(var d=1,h=!0;d<n.length;d+=1){var v=n[d],w=zn(v,0,1),m=zn(v,-1);if((w==='"'||w==="'"||w==="`"||m==='"'||m==="'"||m==="`")&&w!==m)throw new nr("property names with quotes must have matching quotes");if((v==="constructor"||!h)&&(u=!0),o+="."+v,s="%"+o+"%",Un($t,s))c=$t[s];else if(c!=null){if(!(v in c)){if(!r)throw new Qt("base intrinsic for "+t+" exists, but the property is not available.");return}if(Lr&&d+1>=n.length){var y=Lr(c,v);h=!!y,h&&"get"in y&&!("originalValue"in y.get)?c=y.get:c=c[v]}else h=Un(c,v),c=c[v];h&&!u&&($t[s]=c)}}return c},rc=vi,nc=Zl,Hm=nc([rc("%String.prototype.indexOf%")]),ac=function(t,r){var n=rc(t,!!r);return typeof n=="function"&&Hm(t,".prototype.")>-1?nc([n]):n},Wm=vi,Kr=ac,qm=aa,Ym=sr,ks=Wm("%Map%",!0),Gm=Kr("Map.prototype.get",!0),Km=Kr("Map.prototype.set",!0),Jm=Kr("Map.prototype.has",!0),Xm=Kr("Map.prototype.delete",!0),Qm=Kr("Map.prototype.size",!0),oc=!!ks&&function(){var t,r={assert:function(n){if(!r.has(n))throw new Ym("Side channel does not contain "+qm(n))},delete:function(n){if(t){var o=Xm(t,n);return Qm(t)===0&&(t=void 0),o}return!1},get:function(n){if(t)return Gm(t,n)},has:function(n){return t?Jm(t,n):!1},set:function(n,o){t||(t=new ks),Km(t,n,o)}};return r},Zm=vi,sa=ac,eh=aa,En=oc,th=sr,Yt=Zm("%WeakMap%",!0),rh=sa("WeakMap.prototype.get",!0),nh=sa("WeakMap.prototype.set",!0),ah=sa("WeakMap.prototype.has",!0),oh=sa("WeakMap.prototype.delete",!0),ih=Yt?function(){var t,r,n={assert:function(o){if(!n.has(o))throw new th("Side channel does not contain "+eh(o))},delete:function(o){if(Yt&&o&&(typeof o=="object"||typeof o=="function")){if(t)return oh(t,o)}else if(En&&r)return r.delete(o);return!1},get:function(o){return Yt&&o&&(typeof o=="object"||typeof o=="function")&&t?rh(t,o):r&&r.get(o)},has:function(o){return Yt&&o&&(typeof o=="object"||typeof o=="function")&&t?ah(t,o):!!r&&r.has(o)},set:function(o,i){Yt&&o&&(typeof o=="object"||typeof o=="function")?(t||(t=new Yt),nh(t,o,i)):En&&(r||(r=En()),r.set(o,i))}};return n}:En,sh=sr,lh=aa,ch=Rp,uh=oc,fh=ih,dh=fh||uh||ch,ph=function(){var t,r={assert:function(n){if(!r.has(n))throw new sh("Side channel does not contain "+lh(n))},delete:function(n){return!!t&&t.delete(n)},get:function(n){return t&&t.get(n)},has:function(n){return!!t&&t.has(n)},set:function(n,o){t||(t=dh()),t.set(n,o)}};return r},mh=String.prototype.replace,hh=/%20/g,wo={RFC1738:"RFC1738",RFC3986:"RFC3986"},gi={default:wo.RFC3986,formatters:{RFC1738:function(e){return mh.call(e,hh,"+")},RFC3986:function(e){return String(e)}},RFC1738:wo.RFC1738,RFC3986:wo.RFC3986},yh=gi,Eo=Object.prototype.hasOwnProperty,At=Array.isArray,Ke=function(){for(var e=[],t=0;t<256;++t)e.push("%"+((t<16?"0":"")+t.toString(16)).toUpperCase());return e}(),vh=function(t){for(;t.length>1;){var r=t.pop(),n=r.obj[r.prop];if(At(n)){for(var o=[],i=0;i<n.length;++i)typeof n[i]!="undefined"&&o.push(n[i]);r.obj[r.prop]=o}}},ic=function(t,r){for(var n=r&&r.plainObjects?{__proto__:null}:{},o=0;o<t.length;++o)typeof t[o]!="undefined"&&(n[o]=t[o]);return n},gh=function e(t,r,n){if(!r)return t;if(typeof r!="object"&&typeof r!="function"){if(At(t))t.push(r);else if(t&&typeof t=="object")(n&&(n.plainObjects||n.allowPrototypes)||!Eo.call(Object.prototype,r))&&(t[r]=!0);else return[t,r];return t}if(!t||typeof t!="object")return[t].concat(r);var o=t;return At(t)&&!At(r)&&(o=ic(t,n)),At(t)&&At(r)?(r.forEach(function(i,s){if(Eo.call(t,s)){var c=t[s];c&&typeof c=="object"&&i&&typeof i=="object"?t[s]=e(c,i,n):t.push(i)}else t[s]=i}),t):Object.keys(r).reduce(function(i,s){var c=r[s];return Eo.call(i,s)?i[s]=e(i[s],c,n):i[s]=c,i},o)},bh=function(t,r){return Object.keys(r).reduce(function(n,o){return n[o]=r[o],n},t)},Sh=function(e,t,r){var n=e.replace(/\+/g," ");if(r==="iso-8859-1")return n.replace(/%[0-9a-f]{2}/gi,unescape);try{return decodeURIComponent(n)}catch{return n}},ko=1024,wh=function(t,r,n,o,i){if(t.length===0)return t;var s=t;if(typeof t=="symbol"?s=Symbol.prototype.toString.call(t):typeof t!="string"&&(s=String(t)),n==="iso-8859-1")return escape(s).replace(/%u[0-9a-f]{4}/gi,function(w){return"%26%23"+parseInt(w.slice(2),16)+"%3B"});for(var c="",u=0;u<s.length;u+=ko){for(var f=s.length>=ko?s.slice(u,u+ko):s,d=[],h=0;h<f.length;++h){var v=f.charCodeAt(h);if(v===45||v===46||v===95||v===126||v>=48&&v<=57||v>=65&&v<=90||v>=97&&v<=122||i===yh.RFC1738&&(v===40||v===41)){d[d.length]=f.charAt(h);continue}if(v<128){d[d.length]=Ke[v];continue}if(v<2048){d[d.length]=Ke[192|v>>6]+Ke[128|v&63];continue}if(v<55296||v>=57344){d[d.length]=Ke[224|v>>12]+Ke[128|v>>6&63]+Ke[128|v&63];continue}h+=1,v=65536+((v&1023)<<10|f.charCodeAt(h)&1023),d[d.length]=Ke[240|v>>18]+Ke[128|v>>12&63]+Ke[128|v>>6&63]+Ke[128|v&63]}c+=d.join("")}return c},Eh=function(t){for(var r=[{obj:{o:t},prop:"o"}],n=[],o=0;o<r.length;++o)for(var i=r[o],s=i.obj[i.prop],c=Object.keys(s),u=0;u<c.length;++u){var f=c[u],d=s[f];typeof d=="object"&&d!==null&&n.indexOf(d)===-1&&(r.push({obj:s,prop:f}),n.push(d))}return vh(r),t},kh=function(t){return Object.prototype.toString.call(t)==="[object RegExp]"},Ah=function(t){return!t||typeof t!="object"?!1:!!(t.constructor&&t.constructor.isBuffer&&t.constructor.isBuffer(t))},xh=function(t,r){return[].concat(t,r)},Oh=function(t,r){if(At(t)){for(var n=[],o=0;o<t.length;o+=1)n.push(r(t[o]));return n}return r(t)},sc={arrayToObject:ic,assign:bh,combine:xh,compact:Eh,decode:Sh,encode:wh,isBuffer:Ah,isRegExp:kh,maybeMap:Oh,merge:gh},lc=ph,In=sc,Mr=gi,_h=Object.prototype.hasOwnProperty,cc={brackets:function(t){return t+"[]"},comma:"comma",indices:function(t,r){return t+"["+r+"]"},repeat:function(t){return t}},Je=Array.isArray,$h=Array.prototype.push,uc=function(e,t){$h.apply(e,Je(t)?t:[t])},Ch=Date.prototype.toISOString,As=Mr.default,pe={addQueryPrefix:!1,allowDots:!1,allowEmptyArrays:!1,arrayFormat:"indices",charset:"utf-8",charsetSentinel:!1,commaRoundTrip:!1,delimiter:"&",encode:!0,encodeDotInKeys:!1,encoder:In.encode,encodeValuesOnly:!1,filter:void 0,format:As,formatter:Mr.formatters[As],indices:!1,serializeDate:function(t){return Ch.call(t)},skipNulls:!1,strictNullHandling:!1},Th=function(t){return typeof t=="string"||typeof t=="number"||typeof t=="boolean"||typeof t=="symbol"||typeof t=="bigint"},Ao={},Nh=function e(t,r,n,o,i,s,c,u,f,d,h,v,w,m,y,b,S,k){for(var O=t,M=k,R=0,I=!1;(M=M.get(Ao))!==void 0&&!I;){var j=M.get(t);if(R+=1,typeof j!="undefined"){if(j===R)throw new RangeError("Cyclic object value");I=!0}typeof M.get(Ao)=="undefined"&&(R=0)}if(typeof d=="function"?O=d(r,O):O instanceof Date?O=w(O):n==="comma"&&Je(O)&&(O=In.maybeMap(O,function(F){return F instanceof Date?w(F):F})),O===null){if(s)return f&&!b?f(r,pe.encoder,S,"key",m):r;O=""}if(Th(O)||In.isBuffer(O)){if(f){var W=b?r:f(r,pe.encoder,S,"key",m);return[y(W)+"="+y(f(O,pe.encoder,S,"value",m))]}return[y(r)+"="+y(String(O))]}var D=[];if(typeof O=="undefined")return D;var _;if(n==="comma"&&Je(O))b&&f&&(O=In.maybeMap(O,f)),_=[{value:O.length>0?O.join(",")||null:void 0}];else if(Je(d))_=d;else{var $=Object.keys(O);_=h?$.sort(h):$}var L=u?String(r).replace(/\./g,"%2E"):String(r),C=o&&Je(O)&&O.length===1?L+"[]":L;if(i&&Je(O)&&O.length===0)return C+"[]";for(var B=0;B<_.length;++B){var T=_[B],x=typeof T=="object"&&T&&typeof T.value!="undefined"?T.value:O[T];if(!(c&&x===null)){var V=v&&u?String(T).replace(/\./g,"%2E"):String(T),N=Je(O)?typeof n=="function"?n(C,V):C:C+(v?"."+V:"["+V+"]");k.set(t,R);var U=lc();U.set(Ao,k),uc(D,e(x,N,n,o,i,s,c,u,n==="comma"&&b&&Je(O)?null:f,d,h,v,w,m,y,b,S,U))}}return D},Ph=function(t){if(!t)return pe;if(typeof t.allowEmptyArrays!="undefined"&&typeof t.allowEmptyArrays!="boolean")throw new TypeError("`allowEmptyArrays` option can only be `true` or `false`, when provided");if(typeof t.encodeDotInKeys!="undefined"&&typeof t.encodeDotInKeys!="boolean")throw new TypeError("`encodeDotInKeys` option can only be `true` or `false`, when provided");if(t.encoder!==null&&typeof t.encoder!="undefined"&&typeof t.encoder!="function")throw new TypeError("Encoder has to be a function.");var r=t.charset||pe.charset;if(typeof t.charset!="undefined"&&t.charset!=="utf-8"&&t.charset!=="iso-8859-1")throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");var n=Mr.default;if(typeof t.format!="undefined"){if(!_h.call(Mr.formatters,t.format))throw new TypeError("Unknown format option provided.");n=t.format}var o=Mr.formatters[n],i=pe.filter;(typeof t.filter=="function"||Je(t.filter))&&(i=t.filter);var s;if(t.arrayFormat in cc?s=t.arrayFormat:"indices"in t?s=t.indices?"indices":"repeat":s=pe.arrayFormat,"commaRoundTrip"in t&&typeof t.commaRoundTrip!="boolean")throw new TypeError("`commaRoundTrip` must be a boolean, or absent");var c=typeof t.allowDots=="undefined"?t.encodeDotInKeys===!0?!0:pe.allowDots:!!t.allowDots;return{addQueryPrefix:typeof t.addQueryPrefix=="boolean"?t.addQueryPrefix:pe.addQueryPrefix,allowDots:c,allowEmptyArrays:typeof t.allowEmptyArrays=="boolean"?!!t.allowEmptyArrays:pe.allowEmptyArrays,arrayFormat:s,charset:r,charsetSentinel:typeof t.charsetSentinel=="boolean"?t.charsetSentinel:pe.charsetSentinel,commaRoundTrip:!!t.commaRoundTrip,delimiter:typeof t.delimiter=="undefined"?pe.delimiter:t.delimiter,encode:typeof t.encode=="boolean"?t.encode:pe.encode,encodeDotInKeys:typeof t.encodeDotInKeys=="boolean"?t.encodeDotInKeys:pe.encodeDotInKeys,encoder:typeof t.encoder=="function"?t.encoder:pe.encoder,encodeValuesOnly:typeof t.encodeValuesOnly=="boolean"?t.encodeValuesOnly:pe.encodeValuesOnly,filter:i,format:n,formatter:o,serializeDate:typeof t.serializeDate=="function"?t.serializeDate:pe.serializeDate,skipNulls:typeof t.skipNulls=="boolean"?t.skipNulls:pe.skipNulls,sort:typeof t.sort=="function"?t.sort:null,strictNullHandling:typeof t.strictNullHandling=="boolean"?t.strictNullHandling:pe.strictNullHandling}},Bh=function(e,t){var r=e,n=Ph(t),o,i;typeof n.filter=="function"?(i=n.filter,r=i("",r)):Je(n.filter)&&(i=n.filter,o=i);var s=[];if(typeof r!="object"||r===null)return"";var c=cc[n.arrayFormat],u=c==="comma"&&n.commaRoundTrip;o||(o=Object.keys(r)),n.sort&&o.sort(n.sort);for(var f=lc(),d=0;d<o.length;++d){var h=o[d],v=r[h];n.skipNulls&&v===null||uc(s,Nh(v,h,c,u,n.allowEmptyArrays,n.strictNullHandling,n.skipNulls,n.encodeDotInKeys,n.encode?n.encoder:null,n.filter,n.sort,n.allowDots,n.serializeDate,n.format,n.formatter,n.encodeValuesOnly,n.charset,f))}var w=s.join(n.delimiter),m=n.addQueryPrefix===!0?"?":"";return n.charsetSentinel&&(n.charset==="iso-8859-1"?m+="utf8=%26%2310003%3B&":m+="utf8=%E2%9C%93&"),w.length>0?m+w:""},Nt=sc,Ho=Object.prototype.hasOwnProperty,xs=Array.isArray,le={allowDots:!1,allowEmptyArrays:!1,allowPrototypes:!1,allowSparse:!1,arrayLimit:20,charset:"utf-8",charsetSentinel:!1,comma:!1,decodeDotInKeys:!1,decoder:Nt.decode,delimiter:"&",depth:5,duplicates:"combine",ignoreQueryPrefix:!1,interpretNumericEntities:!1,parameterLimit:1e3,parseArrays:!0,plainObjects:!1,strictDepth:!1,strictNullHandling:!1,throwOnLimitExceeded:!1},Ih=function(e){return e.replace(/&#(\d+);/g,function(t,r){return String.fromCharCode(parseInt(r,10))})},fc=function(e,t,r){if(e&&typeof e=="string"&&t.comma&&e.indexOf(",")>-1)return e.split(",");if(t.throwOnLimitExceeded&&r>=t.arrayLimit)throw new RangeError("Array limit exceeded. Only "+t.arrayLimit+" element"+(t.arrayLimit===1?"":"s")+" allowed in an array.");return e},Mh="utf8=%26%2310003%3B",Fh="utf8=%E2%9C%93",Rh=function(t,r){var n={__proto__:null},o=r.ignoreQueryPrefix?t.replace(/^\?/,""):t;o=o.replace(/%5B/gi,"[").replace(/%5D/gi,"]");var i=r.parameterLimit===1/0?void 0:r.parameterLimit,s=o.split(r.delimiter,r.throwOnLimitExceeded?i+1:i);if(r.throwOnLimitExceeded&&s.length>i)throw new RangeError("Parameter limit exceeded. Only "+i+" parameter"+(i===1?"":"s")+" allowed.");var c=-1,u,f=r.charset;if(r.charsetSentinel)for(u=0;u<s.length;++u)s[u].indexOf("utf8=")===0&&(s[u]===Fh?f="utf-8":s[u]===Mh&&(f="iso-8859-1"),c=u,u=s.length);for(u=0;u<s.length;++u)if(u!==c){var d=s[u],h=d.indexOf("]="),v=h===-1?d.indexOf("="):h+1,w,m;v===-1?(w=r.decoder(d,le.decoder,f,"key"),m=r.strictNullHandling?null:""):(w=r.decoder(d.slice(0,v),le.decoder,f,"key"),m=Nt.maybeMap(fc(d.slice(v+1),r,xs(n[w])?n[w].length:0),function(b){return r.decoder(b,le.decoder,f,"value")})),m&&r.interpretNumericEntities&&f==="iso-8859-1"&&(m=Ih(String(m))),d.indexOf("[]=")>-1&&(m=xs(m)?[m]:m);var y=Ho.call(n,w);y&&r.duplicates==="combine"?n[w]=Nt.combine(n[w],m):(!y||r.duplicates==="last")&&(n[w]=m)}return n},Dh=function(e,t,r,n){var o=0;if(e.length>0&&e[e.length-1]==="[]"){var i=e.slice(0,-1).join("");o=Array.isArray(t)&&t[i]?t[i].length:0}for(var s=n?t:fc(t,r,o),c=e.length-1;c>=0;--c){var u,f=e[c];if(f==="[]"&&r.parseArrays)u=r.allowEmptyArrays&&(s===""||r.strictNullHandling&&s===null)?[]:Nt.combine([],s);else{u=r.plainObjects?{__proto__:null}:{};var d=f.charAt(0)==="["&&f.charAt(f.length-1)==="]"?f.slice(1,-1):f,h=r.decodeDotInKeys?d.replace(/%2E/g,"."):d,v=parseInt(h,10);!r.parseArrays&&h===""?u={0:s}:!isNaN(v)&&f!==h&&String(v)===h&&v>=0&&r.parseArrays&&v<=r.arrayLimit?(u=[],u[v]=s):h!=="__proto__"&&(u[h]=s)}s=u}return s},jh=function(t,r,n,o){if(t){var i=n.allowDots?t.replace(/\.([^.[]+)/g,"[$1]"):t,s=/(\[[^[\]]*])/,c=/(\[[^[\]]*])/g,u=n.depth>0&&s.exec(i),f=u?i.slice(0,u.index):i,d=[];if(f){if(!n.plainObjects&&Ho.call(Object.prototype,f)&&!n.allowPrototypes)return;d.push(f)}for(var h=0;n.depth>0&&(u=c.exec(i))!==null&&h<n.depth;){if(h+=1,!n.plainObjects&&Ho.call(Object.prototype,u[1].slice(1,-1))&&!n.allowPrototypes)return;d.push(u[1])}if(u){if(n.strictDepth===!0)throw new RangeError("Input depth exceeded depth option of "+n.depth+" and strictDepth is true");d.push("["+i.slice(u.index)+"]")}return Dh(d,r,n,o)}},Lh=function(t){if(!t)return le;if(typeof t.allowEmptyArrays!="undefined"&&typeof t.allowEmptyArrays!="boolean")throw new TypeError("`allowEmptyArrays` option can only be `true` or `false`, when provided");if(typeof t.decodeDotInKeys!="undefined"&&typeof t.decodeDotInKeys!="boolean")throw new TypeError("`decodeDotInKeys` option can only be `true` or `false`, when provided");if(t.decoder!==null&&typeof t.decoder!="undefined"&&typeof t.decoder!="function")throw new TypeError("Decoder has to be a function.");if(typeof t.charset!="undefined"&&t.charset!=="utf-8"&&t.charset!=="iso-8859-1")throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");if(typeof t.throwOnLimitExceeded!="undefined"&&typeof t.throwOnLimitExceeded!="boolean")throw new TypeError("`throwOnLimitExceeded` option must be a boolean");var r=typeof t.charset=="undefined"?le.charset:t.charset,n=typeof t.duplicates=="undefined"?le.duplicates:t.duplicates;if(n!=="combine"&&n!=="first"&&n!=="last")throw new TypeError("The duplicates option must be either combine, first, or last");var o=typeof t.allowDots=="undefined"?t.decodeDotInKeys===!0?!0:le.allowDots:!!t.allowDots;return{allowDots:o,allowEmptyArrays:typeof t.allowEmptyArrays=="boolean"?!!t.allowEmptyArrays:le.allowEmptyArrays,allowPrototypes:typeof t.allowPrototypes=="boolean"?t.allowPrototypes:le.allowPrototypes,allowSparse:typeof t.allowSparse=="boolean"?t.allowSparse:le.allowSparse,arrayLimit:typeof t.arrayLimit=="number"?t.arrayLimit:le.arrayLimit,charset:r,charsetSentinel:typeof t.charsetSentinel=="boolean"?t.charsetSentinel:le.charsetSentinel,comma:typeof t.comma=="boolean"?t.comma:le.comma,decodeDotInKeys:typeof t.decodeDotInKeys=="boolean"?t.decodeDotInKeys:le.decodeDotInKeys,decoder:typeof t.decoder=="function"?t.decoder:le.decoder,delimiter:typeof t.delimiter=="string"||Nt.isRegExp(t.delimiter)?t.delimiter:le.delimiter,depth:typeof t.depth=="number"||t.depth===!1?+t.depth:le.depth,duplicates:n,ignoreQueryPrefix:t.ignoreQueryPrefix===!0,interpretNumericEntities:typeof t.interpretNumericEntities=="boolean"?t.interpretNumericEntities:le.interpretNumericEntities,parameterLimit:typeof t.parameterLimit=="number"?t.parameterLimit:le.parameterLimit,parseArrays:t.parseArrays!==!1,plainObjects:typeof t.plainObjects=="boolean"?t.plainObjects:le.plainObjects,strictDepth:typeof t.strictDepth=="boolean"?!!t.strictDepth:le.strictDepth,strictNullHandling:typeof t.strictNullHandling=="boolean"?t.strictNullHandling:le.strictNullHandling,throwOnLimitExceeded:typeof t.throwOnLimitExceeded=="boolean"?t.throwOnLimitExceeded:!1}},Vh=function(e,t){var r=Lh(t);if(e===""||e===null||typeof e=="undefined")return r.plainObjects?{__proto__:null}:{};for(var n=typeof e=="string"?Rh(e,r):e,o=r.plainObjects?{__proto__:null}:{},i=Object.keys(n),s=0;s<i.length;++s){var c=i[s],u=jh(c,n[c],r,typeof e=="string");o=Nt.merge(o,u,r)}return r.allowSparse===!0?o:Nt.compact(o)},Uh=Bh,zh=Vh,Hh=gi,Os={formats:Hh,parse:zh,stringify:Uh},Wh={exports:{}};/* NProgress, (c) 2013, 2014 Rico Sta. Cruz - http://ricostacruz.com/nprogress
10
+ * @license MIT */(function(e,t){(function(r,n){e.exports=n()})(Ae,function(){var r={};r.version="0.2.0";var n=r.settings={minimum:.08,easing:"ease",positionUsing:"",speed:200,trickle:!0,trickleRate:.02,trickleSpeed:800,showSpinner:!0,barSelector:'[role="bar"]',spinnerSelector:'[role="spinner"]',parent:"body",template:'<div class="bar" role="bar"><div class="peg"></div></div><div class="spinner" role="spinner"><div class="spinner-icon"></div></div>'};r.configure=function(m){var y,b;for(y in m)b=m[y],b!==void 0&&m.hasOwnProperty(y)&&(n[y]=b);return this},r.status=null,r.set=function(m){var y=r.isStarted();m=o(m,n.minimum,1),r.status=m===1?null:m;var b=r.render(!y),S=b.querySelector(n.barSelector),k=n.speed,O=n.easing;return b.offsetWidth,c(function(M){n.positionUsing===""&&(n.positionUsing=r.getPositioningCSS()),u(S,s(m,k,O)),m===1?(u(b,{transition:"none",opacity:1}),b.offsetWidth,setTimeout(function(){u(b,{transition:"all "+k+"ms linear",opacity:0}),setTimeout(function(){r.remove(),M()},k)},k)):setTimeout(M,k)}),this},r.isStarted=function(){return typeof r.status=="number"},r.start=function(){r.status||r.set(0);var m=function(){setTimeout(function(){r.status&&(r.trickle(),m())},n.trickleSpeed)};return n.trickle&&m(),this},r.done=function(m){return!m&&!r.status?this:r.inc(.3+.5*Math.random()).set(1)},r.inc=function(m){var y=r.status;return y?(typeof m!="number"&&(m=(1-y)*o(Math.random()*y,.1,.95)),y=o(y+m,0,.994),r.set(y)):r.start()},r.trickle=function(){return r.inc(Math.random()*n.trickleRate)},function(){var m=0,y=0;r.promise=function(b){return!b||b.state()==="resolved"?this:(y===0&&r.start(),m++,y++,b.always(function(){y--,y===0?(m=0,r.done()):r.set((m-y)/m)}),this)}}(),r.render=function(m){if(r.isRendered())return document.getElementById("nprogress");d(document.documentElement,"nprogress-busy");var y=document.createElement("div");y.id="nprogress",y.innerHTML=n.template;var b=y.querySelector(n.barSelector),S=m?"-100":i(r.status||0),k=document.querySelector(n.parent),O;return u(b,{transition:"all 0 linear",transform:"translate3d("+S+"%,0,0)"}),n.showSpinner||(O=y.querySelector(n.spinnerSelector),O&&w(O)),k!=document.body&&d(k,"nprogress-custom-parent"),k.appendChild(y),y},r.remove=function(){h(document.documentElement,"nprogress-busy"),h(document.querySelector(n.parent),"nprogress-custom-parent");var m=document.getElementById("nprogress");m&&w(m)},r.isRendered=function(){return!!document.getElementById("nprogress")},r.getPositioningCSS=function(){var m=document.body.style,y="WebkitTransform"in m?"Webkit":"MozTransform"in m?"Moz":"msTransform"in m?"ms":"OTransform"in m?"O":"";return y+"Perspective"in m?"translate3d":y+"Transform"in m?"translate":"margin"};function o(m,y,b){return m<y?y:m>b?b:m}function i(m){return(-1+m)*100}function s(m,y,b){var S;return n.positionUsing==="translate3d"?S={transform:"translate3d("+i(m)+"%,0,0)"}:n.positionUsing==="translate"?S={transform:"translate("+i(m)+"%,0)"}:S={"margin-left":i(m)+"%"},S.transition="all "+y+"ms "+b,S}var c=function(){var m=[];function y(){var b=m.shift();b&&b(y)}return function(b){m.push(b),m.length==1&&y()}}(),u=function(){var m=["Webkit","O","Moz","ms"],y={};function b(M){return M.replace(/^-ms-/,"ms-").replace(/-([\da-z])/gi,function(R,I){return I.toUpperCase()})}function S(M){var R=document.body.style;if(M in R)return M;for(var I=m.length,j=M.charAt(0).toUpperCase()+M.slice(1),W;I--;)if(W=m[I]+j,W in R)return W;return M}function k(M){return M=b(M),y[M]||(y[M]=S(M))}function O(M,R,I){R=k(R),M.style[R]=I}return function(M,R){var I=arguments,j,W;if(I.length==2)for(j in R)W=R[j],W!==void 0&&R.hasOwnProperty(j)&&O(M,j,W);else O(M,I[1],I[2])}}();function f(m,y){var b=typeof m=="string"?m:v(m);return b.indexOf(" "+y+" ")>=0}function d(m,y){var b=v(m),S=b+y;f(b,y)||(m.className=S.substring(1))}function h(m,y){var b=v(m),S;f(m,y)&&(S=b.replace(" "+y+" "," "),m.className=S.substring(1,S.length-1))}function v(m){return(" "+(m.className||"")+" ").replace(/\s+/gi," ")}function w(m){m&&m.parentNode&&m.parentNode.removeChild(m)}return r})})(Wh);function dc(e,t){let r;return function(...n){clearTimeout(r),r=setTimeout(()=>e.apply(this,n),t)}}function st(e,t){return document.dispatchEvent(new CustomEvent(`inertia:${e}`,t))}var qh=e=>st("before",{cancelable:!0,detail:{visit:e}}),Yh=e=>st("error",{detail:{errors:e}}),Gh=e=>st("exception",{cancelable:!0,detail:{exception:e}}),_s=e=>st("finish",{detail:{visit:e}}),Kh=e=>st("invalid",{cancelable:!0,detail:{response:e}}),$r=e=>st("navigate",{detail:{page:e}}),Jh=e=>st("progress",{detail:{progress:e}}),Xh=e=>st("start",{detail:{visit:e}}),Qh=e=>st("success",{detail:{page:e}});function Wo(e){return e instanceof File||e instanceof Blob||e instanceof FileList&&e.length>0||e instanceof FormData&&Array.from(e.values()).some(t=>Wo(t))||typeof e=="object"&&e!==null&&Object.values(e).some(t=>Wo(t))}function pc(e,t=new FormData,r=null){e=e||{};for(let n in e)Object.prototype.hasOwnProperty.call(e,n)&&hc(t,mc(r,n),e[n]);return t}function mc(e,t){return e?e+"["+t+"]":t}function hc(e,t,r){if(Array.isArray(r))return Array.from(r.keys()).forEach(n=>hc(e,mc(t,n.toString()),r[n]));if(r instanceof Date)return e.append(t,r.toISOString());if(r instanceof File)return e.append(t,r,r.name);if(r instanceof Blob)return e.append(t,r);if(typeof r=="boolean")return e.append(t,r?"1":"0");if(typeof r=="string")return e.append(t,r);if(typeof r=="number")return e.append(t,`${r}`);if(r==null)return e.append(t,"");pc(r,e,t)}var Zh={modal:null,listener:null,show(e){typeof e=="object"&&(e=`All Inertia requests must receive a valid Inertia response, however a plain JSON response was received.<hr>${JSON.stringify(e)}`);let t=document.createElement("html");t.innerHTML=e,t.querySelectorAll("a").forEach(n=>n.setAttribute("target","_top")),this.modal=document.createElement("div"),this.modal.style.position="fixed",this.modal.style.width="100vw",this.modal.style.height="100vh",this.modal.style.padding="50px",this.modal.style.boxSizing="border-box",this.modal.style.backgroundColor="rgba(0, 0, 0, .6)",this.modal.style.zIndex=2e5,this.modal.addEventListener("click",()=>this.hide());let r=document.createElement("iframe");if(r.style.backgroundColor="white",r.style.borderRadius="5px",r.style.width="100%",r.style.height="100%",this.modal.appendChild(r),document.body.prepend(this.modal),document.body.style.overflow="hidden",!r.contentWindow)throw new Error("iframe not yet ready.");r.contentWindow.document.open(),r.contentWindow.document.write(t.outerHTML),r.contentWindow.document.close(),this.listener=this.hideOnEscape.bind(this),document.addEventListener("keydown",this.listener)},hide(){this.modal.outerHTML="",this.modal=null,document.body.style.overflow="visible",document.removeEventListener("keydown",this.listener)},hideOnEscape(e){e.keyCode===27&&this.hide()}};function Gt(e){return new URL(e.toString(),window.location.toString())}function yc(e,t,r,n="brackets"){let o=/^https?:\/\//.test(t.toString()),i=o||t.toString().startsWith("/"),s=!i&&!t.toString().startsWith("#")&&!t.toString().startsWith("?"),c=t.toString().includes("?")||e==="get"&&Object.keys(r).length,u=t.toString().includes("#"),f=new URL(t.toString(),"http://localhost");return e==="get"&&Object.keys(r).length&&(f.search=Os.stringify(Zd(Os.parse(f.search,{ignoreQueryPrefix:!0}),r),{encodeValuesOnly:!0,arrayFormat:n}),r={}),[[o?`${f.protocol}//${f.host}`:"",i?f.pathname:"",s?f.pathname.substring(1):"",c?f.search:"",u?f.hash:""].join(""),r]}function Cr(e){return e=new URL(e.href),e.hash="",e}var Mn=typeof window>"u",$s=!Mn&&/CriOS/.test(window.navigator.userAgent),Cs=e=>{requestAnimationFrame(()=>{requestAnimationFrame(e)})},ey=class{constructor(){this.visitId=null}init({initialPage:t,resolveComponent:r,swapComponent:n}){this.page=t,this.resolveComponent=r,this.swapComponent=n,this.setNavigationType(),this.clearRememberedStateOnReload(),this.isBackForwardVisit()?this.handleBackForwardVisit(this.page):this.isLocationVisit()?this.handleLocationVisit(this.page):this.handleInitialPageVisit(this.page),this.setupEventListeners()}setNavigationType(){this.navigationType=window.performance&&window.performance.getEntriesByType&&window.performance.getEntriesByType("navigation").length>0?window.performance.getEntriesByType("navigation")[0].type:"navigate"}clearRememberedStateOnReload(){var t;this.navigationType==="reload"&&((t=window.history.state)!=null&&t.rememberedState)&&delete window.history.state.rememberedState}handleInitialPageVisit(t){let r=window.location.hash;this.page.url.includes(r)||(this.page.url+=r),this.setPage(t,{preserveScroll:!0,preserveState:!0}).then(()=>$r(t))}setupEventListeners(){window.addEventListener("popstate",this.handlePopstateEvent.bind(this)),document.addEventListener("scroll",dc(this.handleScrollEvent.bind(this),100),!0)}scrollRegions(){return document.querySelectorAll("[scroll-region]")}handleScrollEvent(t){typeof t.target.hasAttribute=="function"&&t.target.hasAttribute("scroll-region")&&this.saveScrollPositions()}saveScrollPositions(){this.replaceState({...this.page,scrollRegions:Array.from(this.scrollRegions()).map(t=>({top:t.scrollTop,left:t.scrollLeft}))})}resetScrollPositions(){Cs(()=>{var t;window.scrollTo(0,0),this.scrollRegions().forEach(r=>{typeof r.scrollTo=="function"?r.scrollTo(0,0):(r.scrollTop=0,r.scrollLeft=0)}),this.saveScrollPositions(),window.location.hash&&((t=document.getElementById(window.location.hash.slice(1)))==null||t.scrollIntoView())})}restoreScrollPositions(){Cs(()=>{this.page.scrollRegions&&this.scrollRegions().forEach((t,r)=>{let n=this.page.scrollRegions[r];if(n)typeof t.scrollTo=="function"?t.scrollTo(n.left,n.top):(t.scrollTop=n.top,t.scrollLeft=n.left);else return})})}isBackForwardVisit(){return window.history.state&&this.navigationType==="back_forward"}handleBackForwardVisit(t){window.history.state.version=t.version,this.setPage(window.history.state,{preserveScroll:!0,preserveState:!0}).then(()=>{this.restoreScrollPositions(),$r(t)})}locationVisit(t,r){try{let n={preserveScroll:r};window.sessionStorage.setItem("inertiaLocationVisit",JSON.stringify(n)),window.location.href=t.href,Cr(window.location).href===Cr(t).href&&window.location.reload()}catch{return!1}}isLocationVisit(){try{return window.sessionStorage.getItem("inertiaLocationVisit")!==null}catch{return!1}}handleLocationVisit(t){var n,o,i,s;let r=JSON.parse(window.sessionStorage.getItem("inertiaLocationVisit")||"");window.sessionStorage.removeItem("inertiaLocationVisit"),t.url+=window.location.hash,t.rememberedState=(o=(n=window.history.state)==null?void 0:n.rememberedState)!=null?o:{},t.scrollRegions=(s=(i=window.history.state)==null?void 0:i.scrollRegions)!=null?s:[],this.setPage(t,{preserveScroll:r.preserveScroll,preserveState:!0}).then(()=>{r.preserveScroll&&this.restoreScrollPositions(),$r(t)})}isLocationVisitResponse(t){return!!(t&&t.status===409&&t.headers["x-inertia-location"])}isInertiaResponse(t){return!!(t!=null&&t.headers["x-inertia"])}createVisitId(){return this.visitId={},this.visitId}cancelVisit(t,{cancelled:r=!1,interrupted:n=!1}){t&&!t.completed&&!t.cancelled&&!t.interrupted&&(t.cancelToken.abort(),t.onCancel(),t.completed=!1,t.cancelled=r,t.interrupted=n,_s(t),t.onFinish(t))}finishVisit(t){!t.cancelled&&!t.interrupted&&(t.completed=!0,t.cancelled=!1,t.interrupted=!1,_s(t),t.onFinish(t))}resolvePreserveOption(t,r){return typeof t=="function"?t(r):t==="errors"?Object.keys(r.props.errors||{}).length>0:t}cancel(){this.activeVisit&&this.cancelVisit(this.activeVisit,{cancelled:!0})}visit(t,{method:r="get",data:n={},replace:o=!1,preserveScroll:i=!1,preserveState:s=!1,only:c=[],except:u=[],headers:f={},errorBag:d="",forceFormData:h=!1,onCancelToken:v=()=>{},onBefore:w=()=>{},onStart:m=()=>{},onProgress:y=()=>{},onFinish:b=()=>{},onCancel:S=()=>{},onSuccess:k=()=>{},onError:O=()=>{},queryStringArrayFormat:M="brackets"}={}){let R=typeof t=="string"?Gt(t):t;if((Wo(n)||h)&&!(n instanceof FormData)&&(n=pc(n)),!(n instanceof FormData)){let[D,_]=yc(r,R,n,M);R=Gt(D),n=_}let I={url:R,method:r,data:n,replace:o,preserveScroll:i,preserveState:s,only:c,except:u,headers:f,errorBag:d,forceFormData:h,queryStringArrayFormat:M,cancelled:!1,completed:!1,interrupted:!1};if(w(I)===!1||!qh(I))return;this.activeVisit&&this.cancelVisit(this.activeVisit,{interrupted:!0}),this.saveScrollPositions();let j=this.createVisitId();this.activeVisit={...I,onCancelToken:v,onBefore:w,onStart:m,onProgress:y,onFinish:b,onCancel:S,onSuccess:k,onError:O,queryStringArrayFormat:M,cancelToken:new AbortController},v({cancel:()=>{this.activeVisit&&this.cancelVisit(this.activeVisit,{cancelled:!0})}}),Xh(I),m(I);let W=!!(c.length||u.length);se({method:r,url:Cr(R).href,data:r==="get"?{}:n,params:r==="get"?n:{},signal:this.activeVisit.cancelToken.signal,headers:{...f,Accept:"text/html, application/xhtml+xml","X-Requested-With":"XMLHttpRequest","X-Inertia":!0,...W?{"X-Inertia-Partial-Component":this.page.component}:{},...c.length?{"X-Inertia-Partial-Data":c.join(",")}:{},...u.length?{"X-Inertia-Partial-Except":u.join(",")}:{},...d&&d.length?{"X-Inertia-Error-Bag":d}:{},...this.page.version?{"X-Inertia-Version":this.page.version}:{}},onUploadProgress:D=>{n instanceof FormData&&(D.percentage=D.progress?Math.round(D.progress*100):0,Jh(D),y(D))}}).then(D=>{var C;if(!this.isInertiaResponse(D))return Promise.reject({response:D});let _=D.data;W&&_.component===this.page.component&&(_.props={...this.page.props,..._.props}),i=this.resolvePreserveOption(i,_),s=this.resolvePreserveOption(s,_),s&&((C=window.history.state)!=null&&C.rememberedState)&&_.component===this.page.component&&(_.rememberedState=window.history.state.rememberedState);let $=R,L=Gt(_.url);return $.hash&&!L.hash&&Cr($).href===L.href&&(L.hash=$.hash,_.url=L.href),this.setPage(_,{visitId:j,replace:o,preserveScroll:i,preserveState:s})}).then(()=>{let D=this.page.props.errors||{};if(Object.keys(D).length>0){let _=d?D[d]?D[d]:{}:D;return Yh(_),O(_)}return Qh(this.page),k(this.page)}).catch(D=>{if(this.isInertiaResponse(D.response))return this.setPage(D.response.data,{visitId:j});if(this.isLocationVisitResponse(D.response)){let _=Gt(D.response.headers["x-inertia-location"]),$=R;$.hash&&!_.hash&&Cr($).href===_.href&&(_.hash=$.hash),this.locationVisit(_,i===!0)}else if(D.response)Kh(D.response)&&Zh.show(D.response.data);else return Promise.reject(D)}).then(()=>{this.activeVisit&&this.finishVisit(this.activeVisit)}).catch(D=>{if(!se.isCancel(D)){let _=Gh(D);if(this.activeVisit&&this.finishVisit(this.activeVisit),_)return Promise.reject(D)}})}setPage(t,{visitId:r=this.createVisitId(),replace:n=!1,preserveScroll:o=!1,preserveState:i=!1}={}){return Promise.resolve(this.resolveComponent(t.component)).then(s=>{r===this.visitId&&(t.scrollRegions=this.page.scrollRegions||[],t.rememberedState=t.rememberedState||{},n=n||Gt(t.url).href===window.location.href,n?this.replaceState(t):this.pushState(t),this.swapComponent({component:s,page:t,preserveState:i}).then(()=>{o?this.restoreScrollPositions():this.resetScrollPositions(),n||$r(t)}))})}pushState(t){this.page=t,$s?setTimeout(()=>window.history.pushState(t,"",t.url)):window.history.pushState(t,"",t.url)}replaceState(t){this.page=t,$s?setTimeout(()=>window.history.replaceState(t,"",t.url)):window.history.replaceState(t,"",t.url)}handlePopstateEvent(t){if(t.state!==null){let r=t.state,n=this.createVisitId();Promise.resolve(this.resolveComponent(r.component)).then(o=>{n===this.visitId&&(this.page=r,this.swapComponent({component:o,page:r,preserveState:!1}).then(()=>{this.restoreScrollPositions(),$r(r)}))})}else{let r=Gt(this.page.url);r.hash=window.location.hash,this.replaceState({...this.page,url:r.href}),this.resetScrollPositions()}}get(t,r={},n={}){return this.visit(t,{...n,method:"get",data:r})}reload(t={}){return this.visit(window.location.href,{...t,preserveScroll:!0,preserveState:!0})}replace(t,r={}){var n;return console.warn(`Inertia.replace() has been deprecated and will be removed in a future release. Please use Inertia.${(n=r.method)!=null?n:"get"}() instead.`),this.visit(t,{preserveState:!0,...r,replace:!0})}post(t,r={},n={}){return this.visit(t,{preserveState:!0,...n,method:"post",data:r})}put(t,r={},n={}){return this.visit(t,{preserveState:!0,...n,method:"put",data:r})}patch(t,r={},n={}){return this.visit(t,{preserveState:!0,...n,method:"patch",data:r})}delete(t,r={}){return this.visit(t,{preserveState:!0,...r,method:"delete"})}remember(t,r="default"){var n;Mn||this.replaceState({...this.page,rememberedState:{...(n=this.page)==null?void 0:n.rememberedState,[r]:t}})}restore(t="default"){var r,n;if(!Mn)return(n=(r=window.history.state)==null?void 0:r.rememberedState)==null?void 0:n[t]}on(t,r){if(Mn)return()=>{};let n=o=>{let i=r(o);o.cancelable&&!o.defaultPrevented&&i===!1&&o.preventDefault()};return document.addEventListener(`inertia:${t}`,n),()=>document.removeEventListener(`inertia:${t}`,n)}},ty={buildDOMElement(e){let t=document.createElement("template");t.innerHTML=e;let r=t.content.firstChild;if(!e.startsWith("<script "))return r;let n=document.createElement("script");return n.innerHTML=r.innerHTML,r.getAttributeNames().forEach(o=>{n.setAttribute(o,r.getAttribute(o)||"")}),n},isInertiaManagedElement(e){return e.nodeType===Node.ELEMENT_NODE&&e.getAttribute("inertia")!==null},findMatchingElementIndex(e,t){let r=e.getAttribute("inertia");return r!==null?t.findIndex(n=>n.getAttribute("inertia")===r):-1},update:dc(function(e){let t=e.map(r=>this.buildDOMElement(r));Array.from(document.head.childNodes).filter(r=>this.isInertiaManagedElement(r)).forEach(r=>{var i,s;let n=this.findMatchingElementIndex(r,t);if(n===-1){(i=r==null?void 0:r.parentNode)==null||i.removeChild(r);return}let o=t.splice(n,1)[0];o&&!r.isEqualNode(o)&&((s=r==null?void 0:r.parentNode)==null||s.replaceChild(o,r))}),t.forEach(r=>document.head.appendChild(r))},1)};function ry(e,t,r){let n={},o=0;function i(){let d=o+=1;return n[d]=[],d.toString()}function s(d){d===null||Object.keys(n).indexOf(d)===-1||(delete n[d],f())}function c(d,h=[]){d!==null&&Object.keys(n).indexOf(d)>-1&&(n[d]=h),f()}function u(){let d=t(""),h={...d?{title:`<title inertia="">${d}</title>`}:{}},v=Object.values(n).reduce((w,m)=>w.concat(m),[]).reduce((w,m)=>{if(m.indexOf("<")===-1)return w;if(m.indexOf("<title ")===0){let b=m.match(/(<title [^>]+>)(.*?)(<\/title>)/);return w.title=b?`${b[1]}${t(b[2])}${b[3]}`:m,w}let y=m.match(/ inertia="[^"]+"/);return y?w[y[0]]=m:w[Object.keys(w).length]=m,w},h);return Object.values(v)}function f(){e?r(u()):ty.update(u())}return f(),{forceUpdate:f,createProvider:function(){let d=i();return{update:h=>c(d,h),disconnect:()=>s(d)}}}}function ny(e){let t=e.currentTarget.tagName.toLowerCase()==="a";return!(e.target&&(e==null?void 0:e.target).isContentEditable||e.defaultPrevented||t&&e.altKey||t&&e.ctrlKey||t&&e.metaKey||t&&e.shiftKey||t&&"button"in e&&e.button!==0)}var dt=new ey,Hn={exports:{}};Hn.exports;(function(e,t){var r=200,n="__lodash_hash_undefined__",o=9007199254740991,i="[object Arguments]",s="[object Array]",c="[object Boolean]",u="[object Date]",f="[object Error]",d="[object Function]",h="[object GeneratorFunction]",v="[object Map]",w="[object Number]",m="[object Object]",y="[object Promise]",b="[object RegExp]",S="[object Set]",k="[object String]",O="[object Symbol]",M="[object WeakMap]",R="[object ArrayBuffer]",I="[object DataView]",j="[object Float32Array]",W="[object Float64Array]",D="[object Int8Array]",_="[object Int16Array]",$="[object Int32Array]",L="[object Uint8Array]",C="[object Uint8ClampedArray]",B="[object Uint16Array]",T="[object Uint32Array]",x=/[\\^$.*+?()[\]{}|]/g,V=/\w*$/,N=/^\[object .+?Constructor\]$/,U=/^(?:0|[1-9]\d*)$/,F={};F[i]=F[s]=F[R]=F[I]=F[c]=F[u]=F[j]=F[W]=F[D]=F[_]=F[$]=F[v]=F[w]=F[m]=F[b]=F[S]=F[k]=F[O]=F[L]=F[C]=F[B]=F[T]=!0,F[f]=F[d]=F[M]=!1;var X=typeof Ae=="object"&&Ae&&Ae.Object===Object&&Ae,te=typeof self=="object"&&self&&self.Object===Object&&self,Z=X||te||Function("return this")(),ae=t&&!t.nodeType&&t,q=ae&&!0&&e&&!e.nodeType&&e,Me=q&&q.exports===ae;function Fe(l,p){return l.set(p[0],p[1]),l}function he(l,p){return l.add(p),l}function Be(l,p){for(var g=-1,A=l?l.length:0;++g<A&&p(l[g],g,l)!==!1;);return l}function fe(l,p){for(var g=-1,A=p.length,Y=l.length;++g<A;)l[Y+g]=p[g];return l}function Oe(l,p,g,A){for(var Y=-1,z=l?l.length:0;++Y<z;)g=p(g,l[Y],Y,l);return g}function Re(l,p){for(var g=-1,A=Array(l);++g<l;)A[g]=p(g);return A}function Ze(l,p){return l==null?void 0:l[p]}function cr(l){var p=!1;if(l!=null&&typeof l.toString!="function")try{p=!!(l+"")}catch{}return p}function Zr(l){var p=-1,g=Array(l.size);return l.forEach(function(A,Y){g[++p]=[Y,A]}),g}function ur(l,p){return function(g){return l(p(g))}}function en(l){var p=-1,g=Array(l.size);return l.forEach(function(A){g[++p]=A}),g}var pa=Array.prototype,ma=Function.prototype,Mt=Object.prototype,fr=Z["__core-js_shared__"],tn=function(){var l=/[^.]+$/.exec(fr&&fr.keys&&fr.keys.IE_PROTO||"");return l?"Symbol(src)_1."+l:""}(),rn=ma.toString,He=Mt.hasOwnProperty,Ft=Mt.toString,ha=RegExp("^"+rn.call(He).replace(x,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),vt=Me?Z.Buffer:void 0,Rt=Z.Symbol,dr=Z.Uint8Array,Ie=ur(Object.getPrototypeOf,Object),nn=Object.create,an=Mt.propertyIsEnumerable,ya=pa.splice,pr=Object.getOwnPropertySymbols,Dt=vt?vt.isBuffer:void 0,on=ur(Object.keys,Object),jt=je(Z,"DataView"),gt=je(Z,"Map"),De=je(Z,"Promise"),Lt=je(Z,"Set"),mr=je(Z,"WeakMap"),bt=je(Object,"create"),hr=xe(jt),St=xe(gt),yr=xe(De),vr=xe(Lt),gr=xe(mr),ct=Rt?Rt.prototype:void 0,sn=ct?ct.valueOf:void 0;function et(l){var p=-1,g=l?l.length:0;for(this.clear();++p<g;){var A=l[p];this.set(A[0],A[1])}}function va(){this.__data__=bt?bt(null):{}}function ga(l){return this.has(l)&&delete this.__data__[l]}function ba(l){var p=this.__data__;if(bt){var g=p[l];return g===n?void 0:g}return He.call(p,l)?p[l]:void 0}function ln(l){var p=this.__data__;return bt?p[l]!==void 0:He.call(p,l)}function br(l,p){var g=this.__data__;return g[l]=bt&&p===void 0?n:p,this}et.prototype.clear=va,et.prototype.delete=ga,et.prototype.get=ba,et.prototype.has=ln,et.prototype.set=br;function ye(l){var p=-1,g=l?l.length:0;for(this.clear();++p<g;){var A=l[p];this.set(A[0],A[1])}}function Sa(){this.__data__=[]}function wa(l){var p=this.__data__,g=Ut(p,l);if(g<0)return!1;var A=p.length-1;return g==A?p.pop():ya.call(p,g,1),!0}function Ea(l){var p=this.__data__,g=Ut(p,l);return g<0?void 0:p[g][1]}function ka(l){return Ut(this.__data__,l)>-1}function Aa(l,p){var g=this.__data__,A=Ut(g,l);return A<0?g.push([l,p]):g[A][1]=p,this}ye.prototype.clear=Sa,ye.prototype.delete=wa,ye.prototype.get=Ea,ye.prototype.has=ka,ye.prototype.set=Aa;function be(l){var p=-1,g=l?l.length:0;for(this.clear();++p<g;){var A=l[p];this.set(A[0],A[1])}}function xa(){this.__data__={hash:new et,map:new(gt||ye),string:new et}}function Oa(l){return Et(this,l).delete(l)}function _a(l){return Et(this,l).get(l)}function $a(l){return Et(this,l).has(l)}function Ca(l,p){return Et(this,l).set(l,p),this}be.prototype.clear=xa,be.prototype.delete=Oa,be.prototype.get=_a,be.prototype.has=$a,be.prototype.set=Ca;function _e(l){this.__data__=new ye(l)}function Ta(){this.__data__=new ye}function Na(l){return this.__data__.delete(l)}function Pa(l){return this.__data__.get(l)}function Ba(l){return this.__data__.has(l)}function Ia(l,p){var g=this.__data__;if(g instanceof ye){var A=g.__data__;if(!gt||A.length<r-1)return A.push([l,p]),this;g=this.__data__=new be(A)}return g.set(l,p),this}_e.prototype.clear=Ta,_e.prototype.delete=Na,_e.prototype.get=Pa,_e.prototype.has=Ba,_e.prototype.set=Ia;function Vt(l,p){var g=kr(l)||Ht(l)?Re(l.length,String):[],A=g.length,Y=!!A;for(var z in l)He.call(l,z)&&!(Y&&(z=="length"||Ga(z,A)))&&g.push(z);return g}function cn(l,p,g){var A=l[p];(!(He.call(l,p)&&mn(A,g))||g===void 0&&!(p in l))&&(l[p]=g)}function Ut(l,p){for(var g=l.length;g--;)if(mn(l[g][0],p))return g;return-1}function We(l,p){return l&&Er(p,xr(p),l)}function Sr(l,p,g,A,Y,z,re){var ee;if(A&&(ee=z?A(l,Y,z,re):A(l)),ee!==void 0)return ee;if(!Ye(l))return l;var ue=kr(l);if(ue){if(ee=qa(l),!p)return za(l,ee)}else{var ne=rt(l),Se=ne==d||ne==h;if(hn(l))return zt(l,p);if(ne==m||ne==i||Se&&!z){if(cr(l))return z?l:{};if(ee=qe(Se?{}:l),!p)return Ha(l,We(ee,l))}else{if(!F[ne])return z?l:{};ee=Ya(l,ne,Sr,p)}}re||(re=new _e);var $e=re.get(l);if($e)return $e;if(re.set(l,ee),!ue)var de=g?Wa(l):xr(l);return Be(de||l,function(we,ve){de&&(ve=we,we=l[ve]),cn(ee,ve,Sr(we,p,g,A,ve,l,re))}),ee}function Ma(l){return Ye(l)?nn(l):{}}function Fa(l,p,g){var A=p(l);return kr(l)?A:fe(A,g(l))}function Ra(l){return Ft.call(l)}function Da(l){if(!Ye(l)||Ja(l))return!1;var p=Ar(l)||cr(l)?ha:N;return p.test(xe(l))}function ja(l){if(!dn(l))return on(l);var p=[];for(var g in Object(l))He.call(l,g)&&g!="constructor"&&p.push(g);return p}function zt(l,p){if(p)return l.slice();var g=new l.constructor(l.length);return l.copy(g),g}function wr(l){var p=new l.constructor(l.byteLength);return new dr(p).set(new dr(l)),p}function wt(l,p){var g=p?wr(l.buffer):l.buffer;return new l.constructor(g,l.byteOffset,l.byteLength)}function un(l,p,g){var A=p?g(Zr(l),!0):Zr(l);return Oe(A,Fe,new l.constructor)}function fn(l){var p=new l.constructor(l.source,V.exec(l));return p.lastIndex=l.lastIndex,p}function La(l,p,g){var A=p?g(en(l),!0):en(l);return Oe(A,he,new l.constructor)}function Va(l){return sn?Object(sn.call(l)):{}}function Ua(l,p){var g=p?wr(l.buffer):l.buffer;return new l.constructor(g,l.byteOffset,l.length)}function za(l,p){var g=-1,A=l.length;for(p||(p=Array(A));++g<A;)p[g]=l[g];return p}function Er(l,p,g,A){g||(g={});for(var Y=-1,z=p.length;++Y<z;){var re=p[Y],ee=void 0;cn(g,re,ee===void 0?l[re]:ee)}return g}function Ha(l,p){return Er(l,tt(l),p)}function Wa(l){return Fa(l,xr,tt)}function Et(l,p){var g=l.__data__;return Ka(p)?g[typeof p=="string"?"string":"hash"]:g.map}function je(l,p){var g=Ze(l,p);return Da(g)?g:void 0}var tt=pr?ur(pr,Object):Qa,rt=Ra;(jt&&rt(new jt(new ArrayBuffer(1)))!=I||gt&&rt(new gt)!=v||De&&rt(De.resolve())!=y||Lt&&rt(new Lt)!=S||mr&&rt(new mr)!=M)&&(rt=function(l){var p=Ft.call(l),g=p==m?l.constructor:void 0,A=g?xe(g):void 0;if(A)switch(A){case hr:return I;case St:return v;case yr:return y;case vr:return S;case gr:return M}return p});function qa(l){var p=l.length,g=l.constructor(p);return p&&typeof l[0]=="string"&&He.call(l,"index")&&(g.index=l.index,g.input=l.input),g}function qe(l){return typeof l.constructor=="function"&&!dn(l)?Ma(Ie(l)):{}}function Ya(l,p,g,A){var Y=l.constructor;switch(p){case R:return wr(l);case c:case u:return new Y(+l);case I:return wt(l,A);case j:case W:case D:case _:case $:case L:case C:case B:case T:return Ua(l,A);case v:return un(l,A,g);case w:case k:return new Y(l);case b:return fn(l);case S:return La(l,A,g);case O:return Va(l)}}function Ga(l,p){return p=p==null?o:p,!!p&&(typeof l=="number"||U.test(l))&&l>-1&&l%1==0&&l<p}function Ka(l){var p=typeof l;return p=="string"||p=="number"||p=="symbol"||p=="boolean"?l!=="__proto__":l===null}function Ja(l){return!!tn&&tn in l}function dn(l){var p=l&&l.constructor,g=typeof p=="function"&&p.prototype||Mt;return l===g}function xe(l){if(l!=null){try{return rn.call(l)}catch{}try{return l+""}catch{}}return""}function pn(l){return Sr(l,!0,!0)}function mn(l,p){return l===p||l!==l&&p!==p}function Ht(l){return Xa(l)&&He.call(l,"callee")&&(!an.call(l,"callee")||Ft.call(l)==i)}var kr=Array.isArray;function Wt(l){return l!=null&&yn(l.length)&&!Ar(l)}function Xa(l){return vn(l)&&Wt(l)}var hn=Dt||Za;function Ar(l){var p=Ye(l)?Ft.call(l):"";return p==d||p==h}function yn(l){return typeof l=="number"&&l>-1&&l%1==0&&l<=o}function Ye(l){var p=typeof l;return!!l&&(p=="object"||p=="function")}function vn(l){return!!l&&typeof l=="object"}function xr(l){return Wt(l)?Vt(l):ja(l)}function Qa(){return[]}function Za(){return!1}e.exports=pn})(Hn,Hn.exports);var ay=Hn.exports;const oy=na(ay);var Wn={exports:{}};Wn.exports;(function(e,t){var r=200,n="__lodash_hash_undefined__",o=1,i=2,s=9007199254740991,c="[object Arguments]",u="[object Array]",f="[object AsyncFunction]",d="[object Boolean]",h="[object Date]",v="[object Error]",w="[object Function]",m="[object GeneratorFunction]",y="[object Map]",b="[object Number]",S="[object Null]",k="[object Object]",O="[object Promise]",M="[object Proxy]",R="[object RegExp]",I="[object Set]",j="[object String]",W="[object Symbol]",D="[object Undefined]",_="[object WeakMap]",$="[object ArrayBuffer]",L="[object DataView]",C="[object Float32Array]",B="[object Float64Array]",T="[object Int8Array]",x="[object Int16Array]",V="[object Int32Array]",N="[object Uint8Array]",U="[object Uint8ClampedArray]",F="[object Uint16Array]",X="[object Uint32Array]",te=/[\\^$.*+?()[\]{}|]/g,Z=/^\[object .+?Constructor\]$/,ae=/^(?:0|[1-9]\d*)$/,q={};q[C]=q[B]=q[T]=q[x]=q[V]=q[N]=q[U]=q[F]=q[X]=!0,q[c]=q[u]=q[$]=q[d]=q[L]=q[h]=q[v]=q[w]=q[y]=q[b]=q[k]=q[R]=q[I]=q[j]=q[_]=!1;var Me=typeof Ae=="object"&&Ae&&Ae.Object===Object&&Ae,Fe=typeof self=="object"&&self&&self.Object===Object&&self,he=Me||Fe||Function("return this")(),Be=t&&!t.nodeType&&t,fe=Be&&!0&&e&&!e.nodeType&&e,Oe=fe&&fe.exports===Be,Re=Oe&&Me.process,Ze=function(){try{return Re&&Re.binding&&Re.binding("util")}catch{}}(),cr=Ze&&Ze.isTypedArray;function Zr(l,p){for(var g=-1,A=l==null?0:l.length,Y=0,z=[];++g<A;){var re=l[g];p(re,g,l)&&(z[Y++]=re)}return z}function ur(l,p){for(var g=-1,A=p.length,Y=l.length;++g<A;)l[Y+g]=p[g];return l}function en(l,p){for(var g=-1,A=l==null?0:l.length;++g<A;)if(p(l[g],g,l))return!0;return!1}function pa(l,p){for(var g=-1,A=Array(l);++g<l;)A[g]=p(g);return A}function ma(l){return function(p){return l(p)}}function Mt(l,p){return l.has(p)}function fr(l,p){return l==null?void 0:l[p]}function tn(l){var p=-1,g=Array(l.size);return l.forEach(function(A,Y){g[++p]=[Y,A]}),g}function rn(l,p){return function(g){return l(p(g))}}function He(l){var p=-1,g=Array(l.size);return l.forEach(function(A){g[++p]=A}),g}var Ft=Array.prototype,ha=Function.prototype,vt=Object.prototype,Rt=he["__core-js_shared__"],dr=ha.toString,Ie=vt.hasOwnProperty,nn=function(){var l=/[^.]+$/.exec(Rt&&Rt.keys&&Rt.keys.IE_PROTO||"");return l?"Symbol(src)_1."+l:""}(),an=vt.toString,ya=RegExp("^"+dr.call(Ie).replace(te,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),pr=Oe?he.Buffer:void 0,Dt=he.Symbol,on=he.Uint8Array,jt=vt.propertyIsEnumerable,gt=Ft.splice,De=Dt?Dt.toStringTag:void 0,Lt=Object.getOwnPropertySymbols,mr=pr?pr.isBuffer:void 0,bt=rn(Object.keys,Object),hr=tt(he,"DataView"),St=tt(he,"Map"),yr=tt(he,"Promise"),vr=tt(he,"Set"),gr=tt(he,"WeakMap"),ct=tt(Object,"create"),sn=xe(hr),et=xe(St),va=xe(yr),ga=xe(vr),ba=xe(gr),ln=Dt?Dt.prototype:void 0,br=ln?ln.valueOf:void 0;function ye(l){var p=-1,g=l==null?0:l.length;for(this.clear();++p<g;){var A=l[p];this.set(A[0],A[1])}}function Sa(){this.__data__=ct?ct(null):{},this.size=0}function wa(l){var p=this.has(l)&&delete this.__data__[l];return this.size-=p?1:0,p}function Ea(l){var p=this.__data__;if(ct){var g=p[l];return g===n?void 0:g}return Ie.call(p,l)?p[l]:void 0}function ka(l){var p=this.__data__;return ct?p[l]!==void 0:Ie.call(p,l)}function Aa(l,p){var g=this.__data__;return this.size+=this.has(l)?0:1,g[l]=ct&&p===void 0?n:p,this}ye.prototype.clear=Sa,ye.prototype.delete=wa,ye.prototype.get=Ea,ye.prototype.has=ka,ye.prototype.set=Aa;function be(l){var p=-1,g=l==null?0:l.length;for(this.clear();++p<g;){var A=l[p];this.set(A[0],A[1])}}function xa(){this.__data__=[],this.size=0}function Oa(l){var p=this.__data__,g=zt(p,l);if(g<0)return!1;var A=p.length-1;return g==A?p.pop():gt.call(p,g,1),--this.size,!0}function _a(l){var p=this.__data__,g=zt(p,l);return g<0?void 0:p[g][1]}function $a(l){return zt(this.__data__,l)>-1}function Ca(l,p){var g=this.__data__,A=zt(g,l);return A<0?(++this.size,g.push([l,p])):g[A][1]=p,this}be.prototype.clear=xa,be.prototype.delete=Oa,be.prototype.get=_a,be.prototype.has=$a,be.prototype.set=Ca;function _e(l){var p=-1,g=l==null?0:l.length;for(this.clear();++p<g;){var A=l[p];this.set(A[0],A[1])}}function Ta(){this.size=0,this.__data__={hash:new ye,map:new(St||be),string:new ye}}function Na(l){var p=je(this,l).delete(l);return this.size-=p?1:0,p}function Pa(l){return je(this,l).get(l)}function Ba(l){return je(this,l).has(l)}function Ia(l,p){var g=je(this,l),A=g.size;return g.set(l,p),this.size+=g.size==A?0:1,this}_e.prototype.clear=Ta,_e.prototype.delete=Na,_e.prototype.get=Pa,_e.prototype.has=Ba,_e.prototype.set=Ia;function Vt(l){var p=-1,g=l==null?0:l.length;for(this.__data__=new _e;++p<g;)this.add(l[p])}function cn(l){return this.__data__.set(l,n),this}function Ut(l){return this.__data__.has(l)}Vt.prototype.add=Vt.prototype.push=cn,Vt.prototype.has=Ut;function We(l){var p=this.__data__=new be(l);this.size=p.size}function Sr(){this.__data__=new be,this.size=0}function Ma(l){var p=this.__data__,g=p.delete(l);return this.size=p.size,g}function Fa(l){return this.__data__.get(l)}function Ra(l){return this.__data__.has(l)}function Da(l,p){var g=this.__data__;if(g instanceof be){var A=g.__data__;if(!St||A.length<r-1)return A.push([l,p]),this.size=++g.size,this;g=this.__data__=new _e(A)}return g.set(l,p),this.size=g.size,this}We.prototype.clear=Sr,We.prototype.delete=Ma,We.prototype.get=Fa,We.prototype.has=Ra,We.prototype.set=Da;function ja(l,p){var g=Ht(l),A=!g&&mn(l),Y=!g&&!A&&Wt(l),z=!g&&!A&&!Y&&vn(l),re=g||A||Y||z,ee=re?pa(l.length,String):[],ue=ee.length;for(var ne in l)Ie.call(l,ne)&&!(re&&(ne=="length"||Y&&(ne=="offset"||ne=="parent")||z&&(ne=="buffer"||ne=="byteLength"||ne=="byteOffset")||Ya(ne,ue)))&&ee.push(ne);return ee}function zt(l,p){for(var g=l.length;g--;)if(pn(l[g][0],p))return g;return-1}function wr(l,p,g){var A=p(l);return Ht(l)?A:ur(A,g(l))}function wt(l){return l==null?l===void 0?D:S:De&&De in Object(l)?rt(l):dn(l)}function un(l){return Ye(l)&&wt(l)==c}function fn(l,p,g,A,Y){return l===p?!0:l==null||p==null||!Ye(l)&&!Ye(p)?l!==l&&p!==p:La(l,p,g,A,fn,Y)}function La(l,p,g,A,Y,z){var re=Ht(l),ee=Ht(p),ue=re?u:qe(l),ne=ee?u:qe(p);ue=ue==c?k:ue,ne=ne==c?k:ne;var Se=ue==k,$e=ne==k,de=ue==ne;if(de&&Wt(l)){if(!Wt(p))return!1;re=!0,Se=!1}if(de&&!Se)return z||(z=new We),re||vn(l)?Er(l,p,g,A,Y,z):Ha(l,p,ue,g,A,Y,z);if(!(g&o)){var we=Se&&Ie.call(l,"__wrapped__"),ve=$e&&Ie.call(p,"__wrapped__");if(we||ve){var ut=we?l.value():l,nt=ve?p.value():p;return z||(z=new We),Y(ut,nt,g,A,z)}}return de?(z||(z=new We),Wa(l,p,g,A,Y,z)):!1}function Va(l){if(!yn(l)||Ka(l))return!1;var p=hn(l)?ya:Z;return p.test(xe(l))}function Ua(l){return Ye(l)&&Ar(l.length)&&!!q[wt(l)]}function za(l){if(!Ja(l))return bt(l);var p=[];for(var g in Object(l))Ie.call(l,g)&&g!="constructor"&&p.push(g);return p}function Er(l,p,g,A,Y,z){var re=g&o,ee=l.length,ue=p.length;if(ee!=ue&&!(re&&ue>ee))return!1;var ne=z.get(l);if(ne&&z.get(p))return ne==p;var Se=-1,$e=!0,de=g&i?new Vt:void 0;for(z.set(l,p),z.set(p,l);++Se<ee;){var we=l[Se],ve=p[Se];if(A)var ut=re?A(ve,we,Se,p,l,z):A(we,ve,Se,l,p,z);if(ut!==void 0){if(ut)continue;$e=!1;break}if(de){if(!en(p,function(nt,kt){if(!Mt(de,kt)&&(we===nt||Y(we,nt,g,A,z)))return de.push(kt)})){$e=!1;break}}else if(!(we===ve||Y(we,ve,g,A,z))){$e=!1;break}}return z.delete(l),z.delete(p),$e}function Ha(l,p,g,A,Y,z,re){switch(g){case L:if(l.byteLength!=p.byteLength||l.byteOffset!=p.byteOffset)return!1;l=l.buffer,p=p.buffer;case $:return!(l.byteLength!=p.byteLength||!z(new on(l),new on(p)));case d:case h:case b:return pn(+l,+p);case v:return l.name==p.name&&l.message==p.message;case R:case j:return l==p+"";case y:var ee=tn;case I:var ue=A&o;if(ee||(ee=He),l.size!=p.size&&!ue)return!1;var ne=re.get(l);if(ne)return ne==p;A|=i,re.set(l,p);var Se=Er(ee(l),ee(p),A,Y,z,re);return re.delete(l),Se;case W:if(br)return br.call(l)==br.call(p)}return!1}function Wa(l,p,g,A,Y,z){var re=g&o,ee=Et(l),ue=ee.length,ne=Et(p),Se=ne.length;if(ue!=Se&&!re)return!1;for(var $e=ue;$e--;){var de=ee[$e];if(!(re?de in p:Ie.call(p,de)))return!1}var we=z.get(l);if(we&&z.get(p))return we==p;var ve=!0;z.set(l,p),z.set(p,l);for(var ut=re;++$e<ue;){de=ee[$e];var nt=l[de],kt=p[de];if(A)var Ii=re?A(kt,nt,de,p,l,z):A(nt,kt,de,l,p,z);if(!(Ii===void 0?nt===kt||Y(nt,kt,g,A,z):Ii)){ve=!1;break}ut||(ut=de=="constructor")}if(ve&&!ut){var gn=l.constructor,bn=p.constructor;gn!=bn&&"constructor"in l&&"constructor"in p&&!(typeof gn=="function"&&gn instanceof gn&&typeof bn=="function"&&bn instanceof bn)&&(ve=!1)}return z.delete(l),z.delete(p),ve}function Et(l){return wr(l,xr,qa)}function je(l,p){var g=l.__data__;return Ga(p)?g[typeof p=="string"?"string":"hash"]:g.map}function tt(l,p){var g=fr(l,p);return Va(g)?g:void 0}function rt(l){var p=Ie.call(l,De),g=l[De];try{l[De]=void 0;var A=!0}catch{}var Y=an.call(l);return A&&(p?l[De]=g:delete l[De]),Y}var qa=Lt?function(l){return l==null?[]:(l=Object(l),Zr(Lt(l),function(p){return jt.call(l,p)}))}:Qa,qe=wt;(hr&&qe(new hr(new ArrayBuffer(1)))!=L||St&&qe(new St)!=y||yr&&qe(yr.resolve())!=O||vr&&qe(new vr)!=I||gr&&qe(new gr)!=_)&&(qe=function(l){var p=wt(l),g=p==k?l.constructor:void 0,A=g?xe(g):"";if(A)switch(A){case sn:return L;case et:return y;case va:return O;case ga:return I;case ba:return _}return p});function Ya(l,p){return p=p==null?s:p,!!p&&(typeof l=="number"||ae.test(l))&&l>-1&&l%1==0&&l<p}function Ga(l){var p=typeof l;return p=="string"||p=="number"||p=="symbol"||p=="boolean"?l!=="__proto__":l===null}function Ka(l){return!!nn&&nn in l}function Ja(l){var p=l&&l.constructor,g=typeof p=="function"&&p.prototype||vt;return l===g}function dn(l){return an.call(l)}function xe(l){if(l!=null){try{return dr.call(l)}catch{}try{return l+""}catch{}}return""}function pn(l,p){return l===p||l!==l&&p!==p}var mn=un(function(){return arguments}())?un:function(l){return Ye(l)&&Ie.call(l,"callee")&&!jt.call(l,"callee")},Ht=Array.isArray;function kr(l){return l!=null&&Ar(l.length)&&!hn(l)}var Wt=mr||Za;function Xa(l,p){return fn(l,p)}function hn(l){if(!yn(l))return!1;var p=wt(l);return p==w||p==m||p==f||p==M}function Ar(l){return typeof l=="number"&&l>-1&&l%1==0&&l<=s}function yn(l){var p=typeof l;return l!=null&&(p=="object"||p=="function")}function Ye(l){return l!=null&&typeof l=="object"}var vn=cr?ma(cr):Ua;function xr(l){return kr(l)?ja(l):za(l)}function Qa(){return[]}function Za(){return!1}e.exports=Xa})(Wn,Wn.exports);Wn.exports;var Ne=a.ref(null),kn=a.ref(null),xo=a.shallowRef(null),An=a.ref(null),Ts=null;a.defineComponent({name:"Inertia",props:{initialPage:{type:Object,required:!0},initialComponent:{type:Object,required:!1},resolveComponent:{type:Function,required:!1},titleCallback:{type:Function,required:!1,default:e=>e},onHeadUpdate:{type:Function,required:!1,default:()=>()=>{}}},setup({initialPage:e,initialComponent:t,resolveComponent:r,titleCallback:n,onHeadUpdate:o}){Ne.value=t?a.markRaw(t):null,kn.value=e,An.value=null;let i=typeof window>"u";return Ts=ry(i,n,o),i||(dt.init({initialPage:e,resolveComponent:r,swapComponent:async s=>{Ne.value=a.markRaw(s.component),kn.value=s.page,An.value=s.preserveState?An.value:Date.now()}}),dt.on("navigate",()=>Ts.forceUpdate())),()=>{if(Ne.value){Ne.value.inheritAttrs=!!Ne.value.inheritAttrs;let s=a.h(Ne.value,{...kn.value.props,key:An.value});return xo.value&&(Ne.value.layout=xo.value,xo.value=null),Ne.value.layout?typeof Ne.value.layout=="function"?Ne.value.layout(a.h,s):(Array.isArray(Ne.value.layout)?Ne.value.layout:[Ne.value.layout]).concat(s).reverse().reduce((c,u)=>(u.inheritAttrs=!!u.inheritAttrs,a.h(u,{...kn.value.props},()=>c))):s}}}});a.defineComponent({props:{title:{type:String,required:!1}},data(){return{provider:this.$headManager.createProvider()}},beforeUnmount(){this.provider.disconnect()},methods:{isUnaryTag(e){return["area","base","br","col","embed","hr","img","input","keygen","link","meta","param","source","track","wbr"].indexOf(e.type)>-1},renderTagStart(e){e.props=e.props||{},e.props.inertia=e.props["head-key"]!==void 0?e.props["head-key"]:"";let t=Object.keys(e.props).reduce((r,n)=>{let o=e.props[n];return["key","head-key"].includes(n)?r:o===""?r+` ${n}`:r+` ${n}="${o}"`},"");return`<${e.type}${t}>`},renderTagChildren(e){return typeof e.children=="string"?e.children:e.children.reduce((t,r)=>t+this.renderTag(r),"")},isFunctionNode(e){return typeof e.type=="function"},isComponentNode(e){return typeof e.type=="object"},isCommentNode(e){return/(comment|cmt)/i.test(e.type.toString())},isFragmentNode(e){return/(fragment|fgt|symbol\(\))/i.test(e.type.toString())},isTextNode(e){return/(text|txt)/i.test(e.type.toString())},renderTag(e){if(this.isTextNode(e))return e.children;if(this.isFragmentNode(e)||this.isCommentNode(e))return"";let t=this.renderTagStart(e);return e.children&&(t+=this.renderTagChildren(e)),this.isUnaryTag(e)||(t+=`</${e.type}>`),t},addTitleElement(e){return this.title&&!e.find(t=>t.startsWith("<title"))&&e.push(`<title inertia>${this.title}</title>`),e},renderNodes(e){return this.addTitleElement(e.flatMap(t=>this.resolveNode(t)).map(t=>this.renderTag(t)).filter(t=>t))},resolveNode(e){return this.isFunctionNode(e)?this.resolveNode(e.type()):this.isComponentNode(e)?(console.warn("Using components in the <Head> component is not supported."),[]):this.isTextNode(e)&&e.children?e:this.isFragmentNode(e)&&e.children?e.children.flatMap(t=>this.resolveNode(t)):this.isCommentNode(e)?[]:e}},render(){this.provider.update(this.renderNodes(this.$slots.default?this.$slots.default():[]))}});var iy=a.defineComponent({name:"Link",props:{as:{type:String,default:"a"},data:{type:Object,default:()=>({})},href:{type:String,required:!0},method:{type:String,default:"get"},replace:{type:Boolean,default:!1},preserveScroll:{type:Boolean,default:!1},preserveState:{type:Boolean,default:null},only:{type:Array,default:()=>[]},except:{type:Array,default:()=>[]},headers:{type:Object,default:()=>({})},queryStringArrayFormat:{type:String,default:"brackets"}},setup(e,{slots:t,attrs:r}){return()=>{let n=e.as.toLowerCase(),o=e.method.toLowerCase(),[i,s]=yc(o,e.href||"",e.data,e.queryStringArrayFormat);return n==="a"&&o!=="get"&&console.warn(`Creating POST/PUT/PATCH/DELETE <a> links is discouraged as it causes "Open Link in New Tab/Window" accessibility issues.
11
+
12
+ Please specify a more appropriate element using the "as" attribute. For example:
13
+
14
+ <Link href="${i}" method="${o}" as="button">...</Link>`),a.h(e.as,{...r,...n==="a"?{href:i}:{},onClick:c=>{var u;ny(c)&&(c.preventDefault(),dt.visit(i,{data:s,method:o,replace:e.replace,preserveScroll:e.preserveScroll,preserveState:(u=e.preserveState)!=null?u:o!=="get",only:e.only,except:e.except,headers:e.headers,onCancelToken:r.onCancelToken||(()=>({})),onBefore:r.onBefore||(()=>({})),onStart:r.onStart||(()=>({})),onProgress:r.onProgress||(()=>({})),onFinish:r.onFinish||(()=>({})),onCancel:r.onCancel||(()=>({})),onSuccess:r.onSuccess||(()=>({})),onError:r.onError||(()=>({}))}))}},t)}}}),Ns=iy;function sy(e,t){if(typeof e=="object"&&e!==null&&e.__rememberable===!1)return e;let r=dt.restore(t),n=a.isReactive(e)?a.reactive:a.ref,o=typeof e.__remember=="function"&&typeof e.__restore=="function",i=n(r===void 0?e:o?e.__restore(r):r);return a.watch(i,s=>{dt.remember(oy(o?e.__remember():s),t)},{immediate:!0,deep:!0}),i}const vc={__name:"SForm",props:a.mergeModels({method:{type:String,default:"post"},action:String,titlesAtLeft:Boolean,loading:Boolean,titlesWidth:{type:[Number,String],default:220},errors:{type:Object,required:!1}},{modelValue:{},modelModifiers:{}}),emits:a.mergeModels(["submit","update:modelValue"],["update:modelValue"]),setup(e,{emit:t}){const r=e,n=t,o=a.getCurrentInstance(),i=a.computed(()=>{var h;return!!((h=o==null?void 0:o.vnode.props)!=null&&h.onSubmit)}),s=a.useModel(e,"modelValue"),c=a.ref({...r.errors});a.watch(()=>r.errors,h=>{c.value={...h}});const u=a.ref(r.loading);function f(h){var v;i.value?n("submit",h):(u.value=!0,dt.visit(r.action,{method:(v=r.method)!=null?v:"post",data:s.value,preserveScroll:!0,preserveState:!0,onError:w=>c.value=d(w),onFinish:()=>u.value=!1}))}const d=function(h){const v=JSON.parse(JSON.stringify(h));return Object.keys(v).forEach(w=>{w.includes(".")&&!v[w.split(".")[0]]&&(v[w.split(".")[0]]=v[w])}),v};return a.provide("formModel",s.value),a.provide("formErrors",c),a.provide("titlesWidth",r.titlesWidth),(h,v)=>(a.openBlock(),a.createElementBlock("form",{class:a.normalizeClass(["s-form",{titles_at_left:e.titlesAtLeft,loading:u.value||e.loading}]),onSubmit:a.withModifiers(f,["prevent"])},[a.renderSlot(h.$slots,"default")],34))}},ly={class:"s-formrow-input-wrapper"},cy={key:2,class:"s-formrow-hint"},uy={key:3,class:"s-formrow-hint"},fy={key:0,class:"s-formrow-error"},gc={__name:"SFormRow",props:{class:String,name:String,title:String,hint:String},setup(e,{expose:t}){const r=e,n=a.inject("formModel"),o=a.computed({get:()=>n==null?void 0:n[r.name],set:v=>{n&&(n[r.name]=v)}}),i=a.inject("formErrors"),s=a.computed(()=>{var v;return(v=i.value[r.name])!=null?v:""}),c=a.inject("titlesWidth"),u=a.useSlots(),f=a.computed(()=>{var w;return(((w=u.default)==null?void 0:w.call(u))||[]).map(m=>{var b;if(typeof m.type!="object")return m;const y=(b=m.props)==null?void 0:b.type;return a.cloneVNode(m,{modelValue:o.value,"onUpdate:modelValue":S=>{y==="number"?o.value=S===""?null:Number(S):o.value=S}})})}),d=a.useTemplateRef("input");function h(){const v=d.value.querySelector("input, textarea");v&&v.focus()}return t({focus:h}),(v,w)=>{var m;return a.openBlock(),a.createElementBlock("div",{class:a.normalizeClass(["s-formrow",{error:s.value!==""}])},[v.$slots.title?(a.openBlock(),a.createElementBlock("div",{key:0,class:"s-formrow-title",style:a.normalizeStyle({width:a.unref(c)?a.unref(c)+"px":null})},[a.renderSlot(v.$slots,"title")],4)):(a.openBlock(),a.createElementBlock("div",{key:1,class:"s-formrow-title",onClick:h,style:a.normalizeStyle({width:a.unref(c)?a.unref(c)+"px":null})},a.toDisplayString((m=e.title)!=null?m:""),5)),a.createElementVNode("div",ly,[a.createElementVNode("div",{class:"s-formrow-input",ref_key:"input",ref:d},[e.name?(a.openBlock(!0),a.createElementBlock(a.Fragment,{key:0},a.renderList(f.value,(y,b)=>(a.openBlock(),a.createBlock(a.resolveDynamicComponent(y),{key:b}))),128)):a.renderSlot(v.$slots,"default",{key:1}),v.$slots.hint?(a.openBlock(),a.createElementBlock("div",cy,[a.renderSlot(v.$slots,"hint")])):a.createCommentVNode("",!0),e.hint?(a.openBlock(),a.createElementBlock("div",uy,a.toDisplayString(e.hint),1)):a.createCommentVNode("",!0)],512),s.value?(a.openBlock(),a.createElementBlock("div",fy,a.toDisplayString(Array.isArray(s.value)?s.value.join(""):s.value),1)):a.createCommentVNode("",!0)])],2)}}},dy={key:0,class:"s-input-prefix"},py=["rows","disabled","placeholder"],my=["type","placeholder","disabled"],hy={key:3,class:"s-input-suffix"},bc={__name:"SInput",props:a.mergeModels({modelValue:{type:[Number,String]},type:{type:String,default:"text",validator:e=>["text","string","number","email","password","textarea","search"].includes(e)},placeholder:String,prefix:String,suffix:String,disabled:{type:Boolean,default:!1},rows:{type:Number,default:3},inputStyle:[String,Object,Array]},{modelValue:{},modelModifiers:{}}),emits:a.mergeModels(["change"],["update:modelValue"]),setup(e,{emit:t}){const r=e,n=a.useModel(e,"modelValue"),o=a.useSlots(),i=a.computed(()=>r.prefix||o.prefix),s=a.computed(()=>r.suffix||o.suffix);return(c,u)=>(a.openBlock(),a.createElementBlock("div",{class:a.normalizeClass(["s-input",{"has-prefix":i.value,"has-suffix":s.value}])},[i.value?(a.openBlock(),a.createElementBlock("span",dy,[e.prefix?(a.openBlock(),a.createElementBlock(a.Fragment,{key:0},[a.createTextVNode(a.toDisplayString(e.prefix),1)],64)):a.renderSlot(c.$slots,"prefix",{key:1})])):a.createCommentVNode("",!0),e.type==="textarea"?a.withDirectives((a.openBlock(),a.createElementBlock("textarea",{key:1,class:"s-input-field","onUpdate:modelValue":u[0]||(u[0]=f=>n.value=f),rows:e.rows,disabled:e.disabled,placeholder:e.placeholder,onInput:u[1]||(u[1]=f=>c.$emit("change",f.target.value)),style:a.normalizeStyle(e.inputStyle)},null,44,py)),[[a.vModelText,n.value]]):a.withDirectives((a.openBlock(),a.createElementBlock("input",{key:2,class:"s-input-field",type:e.type,"onUpdate:modelValue":u[2]||(u[2]=f=>n.value=f),placeholder:e.placeholder,disabled:e.disabled,onInput:u[3]||(u[3]=f=>c.$emit("change",f.target.value)),style:a.normalizeStyle(e.inputStyle)},null,44,my)),[[a.vModelDynamic,n.value]]),s.value?(a.openBlock(),a.createElementBlock("span",hy,[e.suffix?(a.openBlock(),a.createElementBlock(a.Fragment,{key:0},[a.createTextVNode(a.toDisplayString(e.suffix),1)],64)):a.renderSlot(c.$slots,"suffix",{key:1})])):a.createCommentVNode("",!0)],2))}},yy=["placeholder"],vy={key:1,class:"s-select-field-label"},gy=["onClick"],by=["onClick"],Sy={key:1,class:"s-select-options-list"},wy=["onClick"],Ey={key:2,class:"s-select-options-nodata"},bi={__name:"SSelect",props:a.mergeModels({options:{type:[Object,Array],required:!0},placeholder:String,filterable:Boolean,disabled:Boolean,clearable:Boolean,inline:Boolean,virtual:{type:Boolean,default:!1},virtualScrollSize:{type:Number,default:10},useTeleport:{type:Boolean,default:!1}},{modelValue:{},modelModifiers:{}}),emits:a.mergeModels(["change","filter"],["update:modelValue"]),setup(e,{emit:t}){var L;const r=e,n=t,o=a.useModel(e,"modelValue"),i=Ct.templateRef("selectRef"),s=a.useAttrs(),c=a.computed(()=>{var C;return((C=s.class)==null?void 0:C.includes("s-custom-select"))||""}),u=C=>C instanceof Array?JSON.parse(JSON.stringify(C)):Object.entries(C),f=a.ref(u((L=r.options)!=null?L:{}));a.watch(()=>r.options,C=>{f.value=u(C!=null?C:{})});const d=a.ref(35),h=a.ref(0),v=a.computed(()=>`${f.value.length*d.value}px`),w=a.computed(()=>f.value.length===0?[]:r.virtual?f.value.slice(h.value,h.value+r.virtualScrollSize):f.value),m=a.ref(!1),y=a.ref(null),b=a.ref(null),S=a.ref(null),k=a.computed(()=>{if(o.value===null)return r.placeholder;const C=f.value.find(([B,T])=>B==o.value);return C===void 0?r.placeholder:C[1]});function O(C){const B=C.target.scrollTop;h.value=Math.floor(B/d.value)}a.watch(S,C=>{M(),n("filter",C)});function M(){if(S.value==""){f.value=u(r.options);return}f.value=u(r.options).filter(([C,B])=>B.toLowerCase().includes(S.value.toLowerCase()))}function R(C){i.value&&!i.value.contains(C.target)&&(m.value=!1)}function I(C){S.value="",o.value=C,n("change",C),m.value=!1}function j(C){const B=y.value.offsetHeight+Math.max(20,f.value.length*d.value),T=window.innerHeight-C.bottom,x=C.top;return T<B&&x>B?"drop-up":"drop-down"}const W=a.ref({});function D(){const C=i.value.getBoundingClientRect();b.value=j(C),i.value&&r.useTeleport&&(W.value={position:"absolute",left:`${C.left+window.scrollX}px`,zIndex:9999,width:`${C.width}px`},b.value==="drop-up"?W.value.bottom=`${window.innerHeight-C.bottom+C.height}px`:W.value.top=`${C.bottom+window.scrollY}px`)}a.watch(m,C=>{C&&D()});function _(C){m.value=!m.value}function $(){o.value=null,n("change",null)}return a.onMounted(()=>{document.addEventListener("click",R),a.nextTick(()=>{const C=i.value.getBoundingClientRect();b.value=j(C)})}),a.onBeforeUnmount(()=>{document.removeEventListener("click",R)}),(C,B)=>{const T=a.resolveComponent("FontAwesomeIcon");return a.openBlock(),a.createElementBlock("div",{class:a.normalizeClass(["s-select",[c.value,{disabled:e.disabled,inline:e.inline}]]),ref:"selectRef"},[a.createElementVNode("div",{class:a.normalizeClass(["s-select-field",{selecting:m.value}]),onClick:_},[e.filterable?a.withDirectives((a.openBlock(),a.createElementBlock("input",{key:0,"onUpdate:modelValue":B[0]||(B[0]=x=>S.value=x),class:"s-select-field-filter",placeholder:k.value},null,8,yy)),[[a.vModelText,S.value]]):(a.openBlock(),a.createElementBlock("div",vy,[C.$slots.value&&e.modelValue?a.renderSlot(C.$slots,"value",{key:0,value:e.modelValue}):(a.openBlock(),a.createElementBlock(a.Fragment,{key:1},[a.createTextVNode(a.toDisplayString(k.value),1)],64))])),e.clearable&&o.value?(a.openBlock(),a.createElementBlock("div",{key:2,class:"s-select-clear",onClick:a.withModifiers($,["stop","prevent"])},[a.createVNode(T,{icon:"xmark"})])):a.createCommentVNode("",!0),a.createElementVNode("div",{class:a.normalizeClass(["s-select-dropdown",{rotated:m.value}])},[a.createVNode(T,{class:"s-select-dropdown-chevron",icon:"chevron-down"})],2)],2),(a.openBlock(),a.createBlock(a.Teleport,{disabled:!e.useTeleport,to:"body"},[a.createElementVNode("div",{class:a.normalizeClass(["s-select-options",[m.value?"open":"",b.value,{teleported:e.useTeleport}]]),style:a.normalizeStyle(W.value),ref_key:"dropdownRef",ref:y,onScroll:O},[C.$slots.option?(a.openBlock(),a.createElementBlock("ul",{key:0,class:"s-select-options-list",style:a.normalizeStyle({height:v.value})},[(a.openBlock(!0),a.createElementBlock(a.Fragment,null,a.renderList(w.value,([x,V])=>(a.openBlock(),a.createElementBlock("li",{key:x,onClick:a.withModifiers(N=>I(x),["stop"]),class:a.normalizeClass([{selected:x===o.value||!(x||o.value)},"s-select-options-item"])},[a.renderSlot(C.$slots,"option",{option:{label:V,value:x}})],10,gy))),128))],4)):w.value.length?(a.openBlock(),a.createElementBlock(a.Fragment,{key:1},[e.virtual?(a.openBlock(),a.createElementBlock("div",{key:0,class:"s-select-scroll-container",style:a.normalizeStyle({maxHeight:d.value*e.virtualScrollSize-20+"px",position:"relative"}),onScroll:O,ref:"scrollContainer"},[a.createElementVNode("div",{style:a.normalizeStyle({height:v.value})},null,4),(a.openBlock(!0),a.createElementBlock(a.Fragment,null,a.renderList(w.value,([x,V],N)=>(a.openBlock(),a.createElementBlock("div",{key:x,style:a.normalizeStyle({position:"absolute",top:d.value*(h.value+N)+"px",left:0,right:0,height:d.value+"px"}),class:a.normalizeClass(["s-select-options-item",{selected:x==o.value}]),onClick:a.withModifiers(U=>I(x),["stop"])},[C.$slots.option?a.renderSlot(C.$slots,"option",{key:0,option:C.option}):(a.openBlock(),a.createElementBlock(a.Fragment,{key:1},[a.createTextVNode(a.toDisplayString(V),1)],64))],14,by))),128))],36)):(a.openBlock(),a.createElementBlock("ul",Sy,[(a.openBlock(!0),a.createElementBlock(a.Fragment,null,a.renderList(w.value,([x,V])=>(a.openBlock(),a.createElementBlock("li",{key:x,onClick:a.withModifiers(N=>I(x),["stop"]),class:a.normalizeClass([{selected:x===o.value||!(x||o.value)},"s-select-options-item"])},a.toDisplayString(V),11,wy))),128))]))],64)):(a.openBlock(),a.createElementBlock("div",Ey,"Нет данных"))],38)],8,["disabled"]))],2)}}};/*!
15
+ * Font Awesome Free 7.1.0 by @fontawesome - https://fontawesome.com
16
+ * License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License)
17
+ * Copyright 2025 Fonticons, Inc.
18
+ */function qo(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}function ky(e){if(Array.isArray(e))return e}function Ay(e){if(Array.isArray(e))return qo(e)}function xy(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Oy(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,Sc(n.key),n)}}function _y(e,t,r){return t&&Oy(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),e}function Fn(e,t){var r=typeof Symbol!="undefined"&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=Si(e))||t){r&&(e=r);var n=0,o=function(){};return{s:o,n:function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(u){throw u},f:o}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
19
+ In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var i,s=!0,c=!1;return{s:function(){r=r.call(e)},n:function(){var u=r.next();return s=u.done,u},e:function(u){c=!0,i=u},f:function(){try{s||r.return==null||r.return()}finally{if(c)throw i}}}}function K(e,t,r){return(t=Sc(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function $y(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function Cy(e,t){var r=e==null?null:typeof Symbol!="undefined"&&e[Symbol.iterator]||e["@@iterator"];if(r!=null){var n,o,i,s,c=[],u=!0,f=!1;try{if(i=(r=r.call(e)).next,t===0){if(Object(r)!==r)return;u=!1}else for(;!(u=(n=i.call(r)).done)&&(c.push(n.value),c.length!==t);u=!0);}catch(d){f=!0,o=d}finally{try{if(!u&&r.return!=null&&(s=r.return(),Object(s)!==s))return}finally{if(f)throw o}}return c}}function Ty(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
20
+ In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Ny(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
21
+ In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Ps(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),r.push.apply(r,n)}return r}function P(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?Ps(Object(r),!0).forEach(function(n){K(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Ps(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function la(e,t){return ky(e)||Cy(e,t)||Si(e,t)||Ty()}function Ue(e){return Ay(e)||$y(e)||Si(e)||Ny()}function Py(e,t){if(typeof e!="object"||!e)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t);if(typeof n!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function Sc(e){var t=Py(e,"string");return typeof t=="symbol"?t:t+""}function qn(e){"@babel/helpers - typeof";return qn=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},qn(e)}function Si(e,t){if(e){if(typeof e=="string")return qo(e,t);var r={}.toString.call(e).slice(8,-1);return r==="Object"&&e.constructor&&(r=e.constructor.name),r==="Map"||r==="Set"?Array.from(e):r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?qo(e,t):void 0}}var Bs=function(){},wi={},wc={},Ec=null,kc={mark:Bs,measure:Bs};try{typeof window!="undefined"&&(wi=window),typeof document!="undefined"&&(wc=document),typeof MutationObserver!="undefined"&&(Ec=MutationObserver),typeof performance!="undefined"&&(kc=performance)}catch{}var By=wi.navigator||{},Is=By.userAgent,Ms=Is===void 0?"":Is,pt=wi,oe=wc,Fs=Ec,xn=kc;pt.document;var lt=!!oe.documentElement&&!!oe.head&&typeof oe.addEventListener=="function"&&typeof oe.createElement=="function",Ac=~Ms.indexOf("MSIE")||~Ms.indexOf("Trident/"),Oo,Iy=/fa(k|kd|s|r|l|t|d|dr|dl|dt|b|slr|slpr|wsb|tl|ns|nds|es|jr|jfr|jdr|usb|ufsb|udsb|cr|ss|sr|sl|st|sds|sdr|sdl|sdt)?[\-\ ]/,My=/Font ?Awesome ?([567 ]*)(Solid|Regular|Light|Thin|Duotone|Brands|Free|Pro|Sharp Duotone|Sharp|Kit|Notdog Duo|Notdog|Chisel|Etch|Thumbprint|Jelly Fill|Jelly Duo|Jelly|Utility|Utility Fill|Utility Duo|Slab Press|Slab|Whiteboard)?.*/i,xc={classic:{fa:"solid",fas:"solid","fa-solid":"solid",far:"regular","fa-regular":"regular",fal:"light","fa-light":"light",fat:"thin","fa-thin":"thin",fab:"brands","fa-brands":"brands"},duotone:{fa:"solid",fad:"solid","fa-solid":"solid","fa-duotone":"solid",fadr:"regular","fa-regular":"regular",fadl:"light","fa-light":"light",fadt:"thin","fa-thin":"thin"},sharp:{fa:"solid",fass:"solid","fa-solid":"solid",fasr:"regular","fa-regular":"regular",fasl:"light","fa-light":"light",fast:"thin","fa-thin":"thin"},"sharp-duotone":{fa:"solid",fasds:"solid","fa-solid":"solid",fasdr:"regular","fa-regular":"regular",fasdl:"light","fa-light":"light",fasdt:"thin","fa-thin":"thin"},slab:{"fa-regular":"regular",faslr:"regular"},"slab-press":{"fa-regular":"regular",faslpr:"regular"},thumbprint:{"fa-light":"light",fatl:"light"},whiteboard:{"fa-semibold":"semibold",fawsb:"semibold"},notdog:{"fa-solid":"solid",fans:"solid"},"notdog-duo":{"fa-solid":"solid",fands:"solid"},etch:{"fa-solid":"solid",faes:"solid"},jelly:{"fa-regular":"regular",fajr:"regular"},"jelly-fill":{"fa-regular":"regular",fajfr:"regular"},"jelly-duo":{"fa-regular":"regular",fajdr:"regular"},chisel:{"fa-regular":"regular",facr:"regular"},utility:{"fa-semibold":"semibold",fausb:"semibold"},"utility-duo":{"fa-semibold":"semibold",faudsb:"semibold"},"utility-fill":{"fa-semibold":"semibold",faufsb:"semibold"}},Fy={GROUP:"duotone-group",PRIMARY:"primary",SECONDARY:"secondary"},Oc=["fa-classic","fa-duotone","fa-sharp","fa-sharp-duotone","fa-thumbprint","fa-whiteboard","fa-notdog","fa-notdog-duo","fa-chisel","fa-etch","fa-jelly","fa-jelly-fill","fa-jelly-duo","fa-slab","fa-slab-press","fa-utility","fa-utility-duo","fa-utility-fill"],ge="classic",Jr="duotone",_c="sharp",$c="sharp-duotone",Cc="chisel",Tc="etch",Nc="jelly",Pc="jelly-duo",Bc="jelly-fill",Ic="notdog",Mc="notdog-duo",Fc="slab",Rc="slab-press",Dc="thumbprint",jc="utility",Lc="utility-duo",Vc="utility-fill",Uc="whiteboard",Ry="Classic",Dy="Duotone",jy="Sharp",Ly="Sharp Duotone",Vy="Chisel",Uy="Etch",zy="Jelly",Hy="Jelly Duo",Wy="Jelly Fill",qy="Notdog",Yy="Notdog Duo",Gy="Slab",Ky="Slab Press",Jy="Thumbprint",Xy="Utility",Qy="Utility Duo",Zy="Utility Fill",ev="Whiteboard",zc=[ge,Jr,_c,$c,Cc,Tc,Nc,Pc,Bc,Ic,Mc,Fc,Rc,Dc,jc,Lc,Vc,Uc];Oo={},K(K(K(K(K(K(K(K(K(K(Oo,ge,Ry),Jr,Dy),_c,jy),$c,Ly),Cc,Vy),Tc,Uy),Nc,zy),Pc,Hy),Bc,Wy),Ic,qy),K(K(K(K(K(K(K(K(Oo,Mc,Yy),Fc,Gy),Rc,Ky),Dc,Jy),jc,Xy),Lc,Qy),Vc,Zy),Uc,ev);var tv={classic:{900:"fas",400:"far",normal:"far",300:"fal",100:"fat"},duotone:{900:"fad",400:"fadr",300:"fadl",100:"fadt"},sharp:{900:"fass",400:"fasr",300:"fasl",100:"fast"},"sharp-duotone":{900:"fasds",400:"fasdr",300:"fasdl",100:"fasdt"},slab:{400:"faslr"},"slab-press":{400:"faslpr"},whiteboard:{600:"fawsb"},thumbprint:{300:"fatl"},notdog:{900:"fans"},"notdog-duo":{900:"fands"},etch:{900:"faes"},chisel:{400:"facr"},jelly:{400:"fajr"},"jelly-fill":{400:"fajfr"},"jelly-duo":{400:"fajdr"},utility:{600:"fausb"},"utility-duo":{600:"faudsb"},"utility-fill":{600:"faufsb"}},rv={"Font Awesome 7 Free":{900:"fas",400:"far"},"Font Awesome 7 Pro":{900:"fas",400:"far",normal:"far",300:"fal",100:"fat"},"Font Awesome 7 Brands":{400:"fab",normal:"fab"},"Font Awesome 7 Duotone":{900:"fad",400:"fadr",normal:"fadr",300:"fadl",100:"fadt"},"Font Awesome 7 Sharp":{900:"fass",400:"fasr",normal:"fasr",300:"fasl",100:"fast"},"Font Awesome 7 Sharp Duotone":{900:"fasds",400:"fasdr",normal:"fasdr",300:"fasdl",100:"fasdt"},"Font Awesome 7 Jelly":{400:"fajr",normal:"fajr"},"Font Awesome 7 Jelly Fill":{400:"fajfr",normal:"fajfr"},"Font Awesome 7 Jelly Duo":{400:"fajdr",normal:"fajdr"},"Font Awesome 7 Slab":{400:"faslr",normal:"faslr"},"Font Awesome 7 Slab Press":{400:"faslpr",normal:"faslpr"},"Font Awesome 7 Thumbprint":{300:"fatl",normal:"fatl"},"Font Awesome 7 Notdog":{900:"fans",normal:"fans"},"Font Awesome 7 Notdog Duo":{900:"fands",normal:"fands"},"Font Awesome 7 Etch":{900:"faes",normal:"faes"},"Font Awesome 7 Chisel":{400:"facr",normal:"facr"},"Font Awesome 7 Whiteboard":{600:"fawsb",normal:"fawsb"},"Font Awesome 7 Utility":{600:"fausb",normal:"fausb"},"Font Awesome 7 Utility Duo":{600:"faudsb",normal:"faudsb"},"Font Awesome 7 Utility Fill":{600:"faufsb",normal:"faufsb"}},nv=new Map([["classic",{defaultShortPrefixId:"fas",defaultStyleId:"solid",styleIds:["solid","regular","light","thin","brands"],futureStyleIds:[],defaultFontWeight:900}],["duotone",{defaultShortPrefixId:"fad",defaultStyleId:"solid",styleIds:["solid","regular","light","thin"],futureStyleIds:[],defaultFontWeight:900}],["sharp",{defaultShortPrefixId:"fass",defaultStyleId:"solid",styleIds:["solid","regular","light","thin"],futureStyleIds:[],defaultFontWeight:900}],["sharp-duotone",{defaultShortPrefixId:"fasds",defaultStyleId:"solid",styleIds:["solid","regular","light","thin"],futureStyleIds:[],defaultFontWeight:900}],["chisel",{defaultShortPrefixId:"facr",defaultStyleId:"regular",styleIds:["regular"],futureStyleIds:[],defaultFontWeight:400}],["etch",{defaultShortPrefixId:"faes",defaultStyleId:"solid",styleIds:["solid"],futureStyleIds:[],defaultFontWeight:900}],["jelly",{defaultShortPrefixId:"fajr",defaultStyleId:"regular",styleIds:["regular"],futureStyleIds:[],defaultFontWeight:400}],["jelly-duo",{defaultShortPrefixId:"fajdr",defaultStyleId:"regular",styleIds:["regular"],futureStyleIds:[],defaultFontWeight:400}],["jelly-fill",{defaultShortPrefixId:"fajfr",defaultStyleId:"regular",styleIds:["regular"],futureStyleIds:[],defaultFontWeight:400}],["notdog",{defaultShortPrefixId:"fans",defaultStyleId:"solid",styleIds:["solid"],futureStyleIds:[],defaultFontWeight:900}],["notdog-duo",{defaultShortPrefixId:"fands",defaultStyleId:"solid",styleIds:["solid"],futureStyleIds:[],defaultFontWeight:900}],["slab",{defaultShortPrefixId:"faslr",defaultStyleId:"regular",styleIds:["regular"],futureStyleIds:[],defaultFontWeight:400}],["slab-press",{defaultShortPrefixId:"faslpr",defaultStyleId:"regular",styleIds:["regular"],futureStyleIds:[],defaultFontWeight:400}],["thumbprint",{defaultShortPrefixId:"fatl",defaultStyleId:"light",styleIds:["light"],futureStyleIds:[],defaultFontWeight:300}],["utility",{defaultShortPrefixId:"fausb",defaultStyleId:"semibold",styleIds:["semibold"],futureStyleIds:[],defaultFontWeight:600}],["utility-duo",{defaultShortPrefixId:"faudsb",defaultStyleId:"semibold",styleIds:["semibold"],futureStyleIds:[],defaultFontWeight:600}],["utility-fill",{defaultShortPrefixId:"faufsb",defaultStyleId:"semibold",styleIds:["semibold"],futureStyleIds:[],defaultFontWeight:600}],["whiteboard",{defaultShortPrefixId:"fawsb",defaultStyleId:"semibold",styleIds:["semibold"],futureStyleIds:[],defaultFontWeight:600}]]),av={chisel:{regular:"facr"},classic:{brands:"fab",light:"fal",regular:"far",solid:"fas",thin:"fat"},duotone:{light:"fadl",regular:"fadr",solid:"fad",thin:"fadt"},etch:{solid:"faes"},jelly:{regular:"fajr"},"jelly-duo":{regular:"fajdr"},"jelly-fill":{regular:"fajfr"},notdog:{solid:"fans"},"notdog-duo":{solid:"fands"},sharp:{light:"fasl",regular:"fasr",solid:"fass",thin:"fast"},"sharp-duotone":{light:"fasdl",regular:"fasdr",solid:"fasds",thin:"fasdt"},slab:{regular:"faslr"},"slab-press":{regular:"faslpr"},thumbprint:{light:"fatl"},utility:{semibold:"fausb"},"utility-duo":{semibold:"faudsb"},"utility-fill":{semibold:"faufsb"},whiteboard:{semibold:"fawsb"}},Hc=["fak","fa-kit","fakd","fa-kit-duotone"],Rs={kit:{fak:"kit","fa-kit":"kit"},"kit-duotone":{fakd:"kit-duotone","fa-kit-duotone":"kit-duotone"}},ov=["kit"],iv="kit",sv="kit-duotone",lv="Kit",cv="Kit Duotone";K(K({},iv,lv),sv,cv);var uv={kit:{"fa-kit":"fak"}},fv={"Font Awesome Kit":{400:"fak",normal:"fak"},"Font Awesome Kit Duotone":{400:"fakd",normal:"fakd"}},dv={kit:{fak:"fa-kit"}},Ds={kit:{kit:"fak"},"kit-duotone":{"kit-duotone":"fakd"}},_o,On={GROUP:"duotone-group",SWAP_OPACITY:"swap-opacity",PRIMARY:"primary",SECONDARY:"secondary"},pv=["fa-classic","fa-duotone","fa-sharp","fa-sharp-duotone","fa-thumbprint","fa-whiteboard","fa-notdog","fa-notdog-duo","fa-chisel","fa-etch","fa-jelly","fa-jelly-fill","fa-jelly-duo","fa-slab","fa-slab-press","fa-utility","fa-utility-duo","fa-utility-fill"],mv="classic",hv="duotone",yv="sharp",vv="sharp-duotone",gv="chisel",bv="etch",Sv="jelly",wv="jelly-duo",Ev="jelly-fill",kv="notdog",Av="notdog-duo",xv="slab",Ov="slab-press",_v="thumbprint",$v="utility",Cv="utility-duo",Tv="utility-fill",Nv="whiteboard",Pv="Classic",Bv="Duotone",Iv="Sharp",Mv="Sharp Duotone",Fv="Chisel",Rv="Etch",Dv="Jelly",jv="Jelly Duo",Lv="Jelly Fill",Vv="Notdog",Uv="Notdog Duo",zv="Slab",Hv="Slab Press",Wv="Thumbprint",qv="Utility",Yv="Utility Duo",Gv="Utility Fill",Kv="Whiteboard";_o={},K(K(K(K(K(K(K(K(K(K(_o,mv,Pv),hv,Bv),yv,Iv),vv,Mv),gv,Fv),bv,Rv),Sv,Dv),wv,jv),Ev,Lv),kv,Vv),K(K(K(K(K(K(K(K(_o,Av,Uv),xv,zv),Ov,Hv),_v,Wv),$v,qv),Cv,Yv),Tv,Gv),Nv,Kv);var Jv="kit",Xv="kit-duotone",Qv="Kit",Zv="Kit Duotone";K(K({},Jv,Qv),Xv,Zv);var eg={classic:{"fa-brands":"fab","fa-duotone":"fad","fa-light":"fal","fa-regular":"far","fa-solid":"fas","fa-thin":"fat"},duotone:{"fa-regular":"fadr","fa-light":"fadl","fa-thin":"fadt"},sharp:{"fa-solid":"fass","fa-regular":"fasr","fa-light":"fasl","fa-thin":"fast"},"sharp-duotone":{"fa-solid":"fasds","fa-regular":"fasdr","fa-light":"fasdl","fa-thin":"fasdt"},slab:{"fa-regular":"faslr"},"slab-press":{"fa-regular":"faslpr"},whiteboard:{"fa-semibold":"fawsb"},thumbprint:{"fa-light":"fatl"},notdog:{"fa-solid":"fans"},"notdog-duo":{"fa-solid":"fands"},etch:{"fa-solid":"faes"},jelly:{"fa-regular":"fajr"},"jelly-fill":{"fa-regular":"fajfr"},"jelly-duo":{"fa-regular":"fajdr"},chisel:{"fa-regular":"facr"},utility:{"fa-semibold":"fausb"},"utility-duo":{"fa-semibold":"faudsb"},"utility-fill":{"fa-semibold":"faufsb"}},tg={classic:["fas","far","fal","fat","fad"],duotone:["fadr","fadl","fadt"],sharp:["fass","fasr","fasl","fast"],"sharp-duotone":["fasds","fasdr","fasdl","fasdt"],slab:["faslr"],"slab-press":["faslpr"],whiteboard:["fawsb"],thumbprint:["fatl"],notdog:["fans"],"notdog-duo":["fands"],etch:["faes"],jelly:["fajr"],"jelly-fill":["fajfr"],"jelly-duo":["fajdr"],chisel:["facr"],utility:["fausb"],"utility-duo":["faudsb"],"utility-fill":["faufsb"]},Yo={classic:{fab:"fa-brands",fad:"fa-duotone",fal:"fa-light",far:"fa-regular",fas:"fa-solid",fat:"fa-thin"},duotone:{fadr:"fa-regular",fadl:"fa-light",fadt:"fa-thin"},sharp:{fass:"fa-solid",fasr:"fa-regular",fasl:"fa-light",fast:"fa-thin"},"sharp-duotone":{fasds:"fa-solid",fasdr:"fa-regular",fasdl:"fa-light",fasdt:"fa-thin"},slab:{faslr:"fa-regular"},"slab-press":{faslpr:"fa-regular"},whiteboard:{fawsb:"fa-semibold"},thumbprint:{fatl:"fa-light"},notdog:{fans:"fa-solid"},"notdog-duo":{fands:"fa-solid"},etch:{faes:"fa-solid"},jelly:{fajr:"fa-regular"},"jelly-fill":{fajfr:"fa-regular"},"jelly-duo":{fajdr:"fa-regular"},chisel:{facr:"fa-regular"},utility:{fausb:"fa-semibold"},"utility-duo":{faudsb:"fa-semibold"},"utility-fill":{faufsb:"fa-semibold"}},rg=["fa-solid","fa-regular","fa-light","fa-thin","fa-duotone","fa-brands","fa-semibold"],Wc=["fa","fas","far","fal","fat","fad","fadr","fadl","fadt","fab","fass","fasr","fasl","fast","fasds","fasdr","fasdl","fasdt","faslr","faslpr","fawsb","fatl","fans","fands","faes","fajr","fajfr","fajdr","facr","fausb","faudsb","faufsb"].concat(pv,rg),ng=["solid","regular","light","thin","duotone","brands","semibold"],qc=[1,2,3,4,5,6,7,8,9,10],ag=qc.concat([11,12,13,14,15,16,17,18,19,20]),og=["aw","fw","pull-left","pull-right"],ig=[].concat(Ue(Object.keys(tg)),ng,og,["2xs","xs","sm","lg","xl","2xl","beat","border","fade","beat-fade","bounce","flip-both","flip-horizontal","flip-vertical","flip","inverse","layers","layers-bottom-left","layers-bottom-right","layers-counter","layers-text","layers-top-left","layers-top-right","li","pull-end","pull-start","pulse","rotate-180","rotate-270","rotate-90","rotate-by","shake","spin-pulse","spin-reverse","spin","stack-1x","stack-2x","stack","ul","width-auto","width-fixed",On.GROUP,On.SWAP_OPACITY,On.PRIMARY,On.SECONDARY]).concat(qc.map(function(e){return"".concat(e,"x")})).concat(ag.map(function(e){return"w-".concat(e)})),sg={"Font Awesome 5 Free":{900:"fas",400:"far"},"Font Awesome 5 Pro":{900:"fas",400:"far",normal:"far",300:"fal"},"Font Awesome 5 Brands":{400:"fab",normal:"fab"},"Font Awesome 5 Duotone":{900:"fad"}},ot="___FONT_AWESOME___",Go=16,Yc="fa",Gc="svg-inline--fa",Pt="data-fa-i2svg",Ko="data-fa-pseudo-element",lg="data-fa-pseudo-element-pending",Ei="data-prefix",ki="data-icon",js="fontawesome-i2svg",cg="async",ug=["HTML","HEAD","STYLE","SCRIPT"],Kc=["::before","::after",":before",":after"],Jc=function(){try{return process.env.NODE_ENV==="production"}catch{return!1}}();function Xr(e){return new Proxy(e,{get:function(r,n){return n in r?r[n]:r[ge]}})}var Xc=P({},xc);Xc[ge]=P(P(P(P({},{"fa-duotone":"duotone"}),xc[ge]),Rs.kit),Rs["kit-duotone"]);var fg=Xr(Xc),Jo=P({},av);Jo[ge]=P(P(P(P({},{duotone:"fad"}),Jo[ge]),Ds.kit),Ds["kit-duotone"]);var Ls=Xr(Jo),Xo=P({},Yo);Xo[ge]=P(P({},Xo[ge]),dv.kit);var Ai=Xr(Xo),Qo=P({},eg);Qo[ge]=P(P({},Qo[ge]),uv.kit);Xr(Qo);var dg=Iy,Qc="fa-layers-text",pg=My,mg=P({},tv);Xr(mg);var hg=["class","data-prefix","data-icon","data-fa-transform","data-fa-mask"],$o=Fy,yg=[].concat(Ue(ov),Ue(ig)),Fr=pt.FontAwesomeConfig||{};function vg(e){var t=oe.querySelector("script["+e+"]");if(t)return t.getAttribute(e)}function gg(e){return e===""?!0:e==="false"?!1:e==="true"?!0:e}if(oe&&typeof oe.querySelector=="function"){var bg=[["data-family-prefix","familyPrefix"],["data-css-prefix","cssPrefix"],["data-family-default","familyDefault"],["data-style-default","styleDefault"],["data-replacement-class","replacementClass"],["data-auto-replace-svg","autoReplaceSvg"],["data-auto-add-css","autoAddCss"],["data-search-pseudo-elements","searchPseudoElements"],["data-search-pseudo-elements-warnings","searchPseudoElementsWarnings"],["data-search-pseudo-elements-full-scan","searchPseudoElementsFullScan"],["data-observe-mutations","observeMutations"],["data-mutate-approach","mutateApproach"],["data-keep-original-source","keepOriginalSource"],["data-measure-performance","measurePerformance"],["data-show-missing-icons","showMissingIcons"]];bg.forEach(function(e){var t=la(e,2),r=t[0],n=t[1],o=gg(vg(r));o!=null&&(Fr[n]=o)})}var Zc={styleDefault:"solid",familyDefault:ge,cssPrefix:Yc,replacementClass:Gc,autoReplaceSvg:!0,autoAddCss:!0,searchPseudoElements:!1,searchPseudoElementsWarnings:!0,searchPseudoElementsFullScan:!1,observeMutations:!0,mutateApproach:"async",keepOriginalSource:!0,measurePerformance:!1,showMissingIcons:!0};Fr.familyPrefix&&(Fr.cssPrefix=Fr.familyPrefix);var ar=P(P({},Zc),Fr);ar.autoReplaceSvg||(ar.observeMutations=!1);var H={};Object.keys(Zc).forEach(function(e){Object.defineProperty(H,e,{enumerable:!0,set:function(r){ar[e]=r,Rr.forEach(function(n){return n(H)})},get:function(){return ar[e]}})});Object.defineProperty(H,"familyPrefix",{enumerable:!0,set:function(t){ar.cssPrefix=t,Rr.forEach(function(r){return r(H)})},get:function(){return ar.cssPrefix}});pt.FontAwesomeConfig=H;var Rr=[];function Sg(e){return Rr.push(e),function(){Rr.splice(Rr.indexOf(e),1)}}var Kt=Go,Qe={size:16,x:0,y:0,rotate:0,flipX:!1,flipY:!1};function wg(e){if(!(!e||!lt)){var t=oe.createElement("style");t.setAttribute("type","text/css"),t.innerHTML=e;for(var r=oe.head.childNodes,n=null,o=r.length-1;o>-1;o--){var i=r[o],s=(i.tagName||"").toUpperCase();["STYLE","LINK"].indexOf(s)>-1&&(n=i)}return oe.head.insertBefore(t,n),e}}var Eg="0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ";function Vs(){for(var e=12,t="";e-- >0;)t+=Eg[Math.random()*62|0];return t}function lr(e){for(var t=[],r=(e||[]).length>>>0;r--;)t[r]=e[r];return t}function xi(e){return e.classList?lr(e.classList):(e.getAttribute("class")||"").split(" ").filter(function(t){return t})}function eu(e){return"".concat(e).replace(/&/g,"&amp;").replace(/"/g,"&quot;").replace(/'/g,"&#39;").replace(/</g,"&lt;").replace(/>/g,"&gt;")}function kg(e){return Object.keys(e||{}).reduce(function(t,r){return t+"".concat(r,'="').concat(eu(e[r]),'" ')},"").trim()}function ca(e){return Object.keys(e||{}).reduce(function(t,r){return t+"".concat(r,": ").concat(e[r].trim(),";")},"")}function Oi(e){return e.size!==Qe.size||e.x!==Qe.x||e.y!==Qe.y||e.rotate!==Qe.rotate||e.flipX||e.flipY}function Ag(e){var t=e.transform,r=e.containerWidth,n=e.iconWidth,o={transform:"translate(".concat(r/2," 256)")},i="translate(".concat(t.x*32,", ").concat(t.y*32,") "),s="scale(".concat(t.size/16*(t.flipX?-1:1),", ").concat(t.size/16*(t.flipY?-1:1),") "),c="rotate(".concat(t.rotate," 0 0)"),u={transform:"".concat(i," ").concat(s," ").concat(c)},f={transform:"translate(".concat(n/2*-1," -256)")};return{outer:o,inner:u,path:f}}function xg(e){var t=e.transform,r=e.width,n=r===void 0?Go:r,o=e.height,i=o===void 0?Go:o,s="";return Ac?s+="translate(".concat(t.x/Kt-n/2,"em, ").concat(t.y/Kt-i/2,"em) "):s+="translate(calc(-50% + ".concat(t.x/Kt,"em), calc(-50% + ").concat(t.y/Kt,"em)) "),s+="scale(".concat(t.size/Kt*(t.flipX?-1:1),", ").concat(t.size/Kt*(t.flipY?-1:1),") "),s+="rotate(".concat(t.rotate,"deg) "),s}var Og=`:root, :host {
22
+ --fa-font-solid: normal 900 1em/1 "Font Awesome 7 Free";
23
+ --fa-font-regular: normal 400 1em/1 "Font Awesome 7 Free";
24
+ --fa-font-light: normal 300 1em/1 "Font Awesome 7 Pro";
25
+ --fa-font-thin: normal 100 1em/1 "Font Awesome 7 Pro";
26
+ --fa-font-duotone: normal 900 1em/1 "Font Awesome 7 Duotone";
27
+ --fa-font-duotone-regular: normal 400 1em/1 "Font Awesome 7 Duotone";
28
+ --fa-font-duotone-light: normal 300 1em/1 "Font Awesome 7 Duotone";
29
+ --fa-font-duotone-thin: normal 100 1em/1 "Font Awesome 7 Duotone";
30
+ --fa-font-brands: normal 400 1em/1 "Font Awesome 7 Brands";
31
+ --fa-font-sharp-solid: normal 900 1em/1 "Font Awesome 7 Sharp";
32
+ --fa-font-sharp-regular: normal 400 1em/1 "Font Awesome 7 Sharp";
33
+ --fa-font-sharp-light: normal 300 1em/1 "Font Awesome 7 Sharp";
34
+ --fa-font-sharp-thin: normal 100 1em/1 "Font Awesome 7 Sharp";
35
+ --fa-font-sharp-duotone-solid: normal 900 1em/1 "Font Awesome 7 Sharp Duotone";
36
+ --fa-font-sharp-duotone-regular: normal 400 1em/1 "Font Awesome 7 Sharp Duotone";
37
+ --fa-font-sharp-duotone-light: normal 300 1em/1 "Font Awesome 7 Sharp Duotone";
38
+ --fa-font-sharp-duotone-thin: normal 100 1em/1 "Font Awesome 7 Sharp Duotone";
39
+ --fa-font-slab-regular: normal 400 1em/1 "Font Awesome 7 Slab";
40
+ --fa-font-slab-press-regular: normal 400 1em/1 "Font Awesome 7 Slab Press";
41
+ --fa-font-whiteboard-semibold: normal 600 1em/1 "Font Awesome 7 Whiteboard";
42
+ --fa-font-thumbprint-light: normal 300 1em/1 "Font Awesome 7 Thumbprint";
43
+ --fa-font-notdog-solid: normal 900 1em/1 "Font Awesome 7 Notdog";
44
+ --fa-font-notdog-duo-solid: normal 900 1em/1 "Font Awesome 7 Notdog Duo";
45
+ --fa-font-etch-solid: normal 900 1em/1 "Font Awesome 7 Etch";
46
+ --fa-font-jelly-regular: normal 400 1em/1 "Font Awesome 7 Jelly";
47
+ --fa-font-jelly-fill-regular: normal 400 1em/1 "Font Awesome 7 Jelly Fill";
48
+ --fa-font-jelly-duo-regular: normal 400 1em/1 "Font Awesome 7 Jelly Duo";
49
+ --fa-font-chisel-regular: normal 400 1em/1 "Font Awesome 7 Chisel";
50
+ --fa-font-utility-semibold: normal 600 1em/1 "Font Awesome 7 Utility";
51
+ --fa-font-utility-duo-semibold: normal 600 1em/1 "Font Awesome 7 Utility Duo";
52
+ --fa-font-utility-fill-semibold: normal 600 1em/1 "Font Awesome 7 Utility Fill";
53
+ }
54
+
55
+ .svg-inline--fa {
56
+ box-sizing: content-box;
57
+ display: var(--fa-display, inline-block);
58
+ height: 1em;
59
+ overflow: visible;
60
+ vertical-align: -0.125em;
61
+ width: var(--fa-width, 1.25em);
62
+ }
63
+ .svg-inline--fa.fa-2xs {
64
+ vertical-align: 0.1em;
65
+ }
66
+ .svg-inline--fa.fa-xs {
67
+ vertical-align: 0em;
68
+ }
69
+ .svg-inline--fa.fa-sm {
70
+ vertical-align: -0.0714285714em;
71
+ }
72
+ .svg-inline--fa.fa-lg {
73
+ vertical-align: -0.2em;
74
+ }
75
+ .svg-inline--fa.fa-xl {
76
+ vertical-align: -0.25em;
77
+ }
78
+ .svg-inline--fa.fa-2xl {
79
+ vertical-align: -0.3125em;
80
+ }
81
+ .svg-inline--fa.fa-pull-left,
82
+ .svg-inline--fa .fa-pull-start {
83
+ float: inline-start;
84
+ margin-inline-end: var(--fa-pull-margin, 0.3em);
85
+ }
86
+ .svg-inline--fa.fa-pull-right,
87
+ .svg-inline--fa .fa-pull-end {
88
+ float: inline-end;
89
+ margin-inline-start: var(--fa-pull-margin, 0.3em);
90
+ }
91
+ .svg-inline--fa.fa-li {
92
+ width: var(--fa-li-width, 2em);
93
+ inset-inline-start: calc(-1 * var(--fa-li-width, 2em));
94
+ inset-block-start: 0.25em; /* syncing vertical alignment with Web Font rendering */
95
+ }
96
+
97
+ .fa-layers-counter, .fa-layers-text {
98
+ display: inline-block;
99
+ position: absolute;
100
+ text-align: center;
101
+ }
102
+
103
+ .fa-layers {
104
+ display: inline-block;
105
+ height: 1em;
106
+ position: relative;
107
+ text-align: center;
108
+ vertical-align: -0.125em;
109
+ width: var(--fa-width, 1.25em);
110
+ }
111
+ .fa-layers .svg-inline--fa {
112
+ inset: 0;
113
+ margin: auto;
114
+ position: absolute;
115
+ transform-origin: center center;
116
+ }
117
+
118
+ .fa-layers-text {
119
+ left: 50%;
120
+ top: 50%;
121
+ transform: translate(-50%, -50%);
122
+ transform-origin: center center;
123
+ }
124
+
125
+ .fa-layers-counter {
126
+ background-color: var(--fa-counter-background-color, #ff253a);
127
+ border-radius: var(--fa-counter-border-radius, 1em);
128
+ box-sizing: border-box;
129
+ color: var(--fa-inverse, #fff);
130
+ line-height: var(--fa-counter-line-height, 1);
131
+ max-width: var(--fa-counter-max-width, 5em);
132
+ min-width: var(--fa-counter-min-width, 1.5em);
133
+ overflow: hidden;
134
+ padding: var(--fa-counter-padding, 0.25em 0.5em);
135
+ right: var(--fa-right, 0);
136
+ text-overflow: ellipsis;
137
+ top: var(--fa-top, 0);
138
+ transform: scale(var(--fa-counter-scale, 0.25));
139
+ transform-origin: top right;
140
+ }
141
+
142
+ .fa-layers-bottom-right {
143
+ bottom: var(--fa-bottom, 0);
144
+ right: var(--fa-right, 0);
145
+ top: auto;
146
+ transform: scale(var(--fa-layers-scale, 0.25));
147
+ transform-origin: bottom right;
148
+ }
149
+
150
+ .fa-layers-bottom-left {
151
+ bottom: var(--fa-bottom, 0);
152
+ left: var(--fa-left, 0);
153
+ right: auto;
154
+ top: auto;
155
+ transform: scale(var(--fa-layers-scale, 0.25));
156
+ transform-origin: bottom left;
157
+ }
158
+
159
+ .fa-layers-top-right {
160
+ top: var(--fa-top, 0);
161
+ right: var(--fa-right, 0);
162
+ transform: scale(var(--fa-layers-scale, 0.25));
163
+ transform-origin: top right;
164
+ }
165
+
166
+ .fa-layers-top-left {
167
+ left: var(--fa-left, 0);
168
+ right: auto;
169
+ top: var(--fa-top, 0);
170
+ transform: scale(var(--fa-layers-scale, 0.25));
171
+ transform-origin: top left;
172
+ }
173
+
174
+ .fa-1x {
175
+ font-size: 1em;
176
+ }
177
+
178
+ .fa-2x {
179
+ font-size: 2em;
180
+ }
181
+
182
+ .fa-3x {
183
+ font-size: 3em;
184
+ }
185
+
186
+ .fa-4x {
187
+ font-size: 4em;
188
+ }
189
+
190
+ .fa-5x {
191
+ font-size: 5em;
192
+ }
193
+
194
+ .fa-6x {
195
+ font-size: 6em;
196
+ }
197
+
198
+ .fa-7x {
199
+ font-size: 7em;
200
+ }
201
+
202
+ .fa-8x {
203
+ font-size: 8em;
204
+ }
205
+
206
+ .fa-9x {
207
+ font-size: 9em;
208
+ }
209
+
210
+ .fa-10x {
211
+ font-size: 10em;
212
+ }
213
+
214
+ .fa-2xs {
215
+ font-size: calc(10 / 16 * 1em); /* converts a 10px size into an em-based value that's relative to the scale's 16px base */
216
+ line-height: calc(1 / 10 * 1em); /* sets the line-height of the icon back to that of it's parent */
217
+ vertical-align: calc((6 / 10 - 0.375) * 1em); /* vertically centers the icon taking into account the surrounding text's descender */
218
+ }
219
+
220
+ .fa-xs {
221
+ font-size: calc(12 / 16 * 1em); /* converts a 12px size into an em-based value that's relative to the scale's 16px base */
222
+ line-height: calc(1 / 12 * 1em); /* sets the line-height of the icon back to that of it's parent */
223
+ vertical-align: calc((6 / 12 - 0.375) * 1em); /* vertically centers the icon taking into account the surrounding text's descender */
224
+ }
225
+
226
+ .fa-sm {
227
+ font-size: calc(14 / 16 * 1em); /* converts a 14px size into an em-based value that's relative to the scale's 16px base */
228
+ line-height: calc(1 / 14 * 1em); /* sets the line-height of the icon back to that of it's parent */
229
+ vertical-align: calc((6 / 14 - 0.375) * 1em); /* vertically centers the icon taking into account the surrounding text's descender */
230
+ }
231
+
232
+ .fa-lg {
233
+ font-size: calc(20 / 16 * 1em); /* converts a 20px size into an em-based value that's relative to the scale's 16px base */
234
+ line-height: calc(1 / 20 * 1em); /* sets the line-height of the icon back to that of it's parent */
235
+ vertical-align: calc((6 / 20 - 0.375) * 1em); /* vertically centers the icon taking into account the surrounding text's descender */
236
+ }
237
+
238
+ .fa-xl {
239
+ font-size: calc(24 / 16 * 1em); /* converts a 24px size into an em-based value that's relative to the scale's 16px base */
240
+ line-height: calc(1 / 24 * 1em); /* sets the line-height of the icon back to that of it's parent */
241
+ vertical-align: calc((6 / 24 - 0.375) * 1em); /* vertically centers the icon taking into account the surrounding text's descender */
242
+ }
243
+
244
+ .fa-2xl {
245
+ font-size: calc(32 / 16 * 1em); /* converts a 32px size into an em-based value that's relative to the scale's 16px base */
246
+ line-height: calc(1 / 32 * 1em); /* sets the line-height of the icon back to that of it's parent */
247
+ vertical-align: calc((6 / 32 - 0.375) * 1em); /* vertically centers the icon taking into account the surrounding text's descender */
248
+ }
249
+
250
+ .fa-width-auto {
251
+ --fa-width: auto;
252
+ }
253
+
254
+ .fa-fw,
255
+ .fa-width-fixed {
256
+ --fa-width: 1.25em;
257
+ }
258
+
259
+ .fa-ul {
260
+ list-style-type: none;
261
+ margin-inline-start: var(--fa-li-margin, 2.5em);
262
+ padding-inline-start: 0;
263
+ }
264
+ .fa-ul > li {
265
+ position: relative;
266
+ }
267
+
268
+ .fa-li {
269
+ inset-inline-start: calc(-1 * var(--fa-li-width, 2em));
270
+ position: absolute;
271
+ text-align: center;
272
+ width: var(--fa-li-width, 2em);
273
+ line-height: inherit;
274
+ }
275
+
276
+ /* Heads Up: Bordered Icons will not be supported in the future!
277
+ - This feature will be deprecated in the next major release of Font Awesome (v8)!
278
+ - You may continue to use it in this version *v7), but it will not be supported in Font Awesome v8.
279
+ */
280
+ /* Notes:
281
+ * --@{v.$css-prefix}-border-width = 1/16 by default (to render as ~1px based on a 16px default font-size)
282
+ * --@{v.$css-prefix}-border-padding =
283
+ ** 3/16 for vertical padding (to give ~2px of vertical whitespace around an icon considering it's vertical alignment)
284
+ ** 4/16 for horizontal padding (to give ~4px of horizontal whitespace around an icon)
285
+ */
286
+ .fa-border {
287
+ border-color: var(--fa-border-color, #eee);
288
+ border-radius: var(--fa-border-radius, 0.1em);
289
+ border-style: var(--fa-border-style, solid);
290
+ border-width: var(--fa-border-width, 0.0625em);
291
+ box-sizing: var(--fa-border-box-sizing, content-box);
292
+ padding: var(--fa-border-padding, 0.1875em 0.25em);
293
+ }
294
+
295
+ .fa-pull-left,
296
+ .fa-pull-start {
297
+ float: inline-start;
298
+ margin-inline-end: var(--fa-pull-margin, 0.3em);
299
+ }
300
+
301
+ .fa-pull-right,
302
+ .fa-pull-end {
303
+ float: inline-end;
304
+ margin-inline-start: var(--fa-pull-margin, 0.3em);
305
+ }
306
+
307
+ .fa-beat {
308
+ animation-name: fa-beat;
309
+ animation-delay: var(--fa-animation-delay, 0s);
310
+ animation-direction: var(--fa-animation-direction, normal);
311
+ animation-duration: var(--fa-animation-duration, 1s);
312
+ animation-iteration-count: var(--fa-animation-iteration-count, infinite);
313
+ animation-timing-function: var(--fa-animation-timing, ease-in-out);
314
+ }
315
+
316
+ .fa-bounce {
317
+ animation-name: fa-bounce;
318
+ animation-delay: var(--fa-animation-delay, 0s);
319
+ animation-direction: var(--fa-animation-direction, normal);
320
+ animation-duration: var(--fa-animation-duration, 1s);
321
+ animation-iteration-count: var(--fa-animation-iteration-count, infinite);
322
+ animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.28, 0.84, 0.42, 1));
323
+ }
324
+
325
+ .fa-fade {
326
+ animation-name: fa-fade;
327
+ animation-delay: var(--fa-animation-delay, 0s);
328
+ animation-direction: var(--fa-animation-direction, normal);
329
+ animation-duration: var(--fa-animation-duration, 1s);
330
+ animation-iteration-count: var(--fa-animation-iteration-count, infinite);
331
+ animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.4, 0, 0.6, 1));
332
+ }
333
+
334
+ .fa-beat-fade {
335
+ animation-name: fa-beat-fade;
336
+ animation-delay: var(--fa-animation-delay, 0s);
337
+ animation-direction: var(--fa-animation-direction, normal);
338
+ animation-duration: var(--fa-animation-duration, 1s);
339
+ animation-iteration-count: var(--fa-animation-iteration-count, infinite);
340
+ animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.4, 0, 0.6, 1));
341
+ }
342
+
343
+ .fa-flip {
344
+ animation-name: fa-flip;
345
+ animation-delay: var(--fa-animation-delay, 0s);
346
+ animation-direction: var(--fa-animation-direction, normal);
347
+ animation-duration: var(--fa-animation-duration, 1s);
348
+ animation-iteration-count: var(--fa-animation-iteration-count, infinite);
349
+ animation-timing-function: var(--fa-animation-timing, ease-in-out);
350
+ }
351
+
352
+ .fa-shake {
353
+ animation-name: fa-shake;
354
+ animation-delay: var(--fa-animation-delay, 0s);
355
+ animation-direction: var(--fa-animation-direction, normal);
356
+ animation-duration: var(--fa-animation-duration, 1s);
357
+ animation-iteration-count: var(--fa-animation-iteration-count, infinite);
358
+ animation-timing-function: var(--fa-animation-timing, linear);
359
+ }
360
+
361
+ .fa-spin {
362
+ animation-name: fa-spin;
363
+ animation-delay: var(--fa-animation-delay, 0s);
364
+ animation-direction: var(--fa-animation-direction, normal);
365
+ animation-duration: var(--fa-animation-duration, 2s);
366
+ animation-iteration-count: var(--fa-animation-iteration-count, infinite);
367
+ animation-timing-function: var(--fa-animation-timing, linear);
368
+ }
369
+
370
+ .fa-spin-reverse {
371
+ --fa-animation-direction: reverse;
372
+ }
373
+
374
+ .fa-pulse,
375
+ .fa-spin-pulse {
376
+ animation-name: fa-spin;
377
+ animation-direction: var(--fa-animation-direction, normal);
378
+ animation-duration: var(--fa-animation-duration, 1s);
379
+ animation-iteration-count: var(--fa-animation-iteration-count, infinite);
380
+ animation-timing-function: var(--fa-animation-timing, steps(8));
381
+ }
382
+
383
+ @media (prefers-reduced-motion: reduce) {
384
+ .fa-beat,
385
+ .fa-bounce,
386
+ .fa-fade,
387
+ .fa-beat-fade,
388
+ .fa-flip,
389
+ .fa-pulse,
390
+ .fa-shake,
391
+ .fa-spin,
392
+ .fa-spin-pulse {
393
+ animation: none !important;
394
+ transition: none !important;
395
+ }
396
+ }
397
+ @keyframes fa-beat {
398
+ 0%, 90% {
399
+ transform: scale(1);
400
+ }
401
+ 45% {
402
+ transform: scale(var(--fa-beat-scale, 1.25));
403
+ }
404
+ }
405
+ @keyframes fa-bounce {
406
+ 0% {
407
+ transform: scale(1, 1) translateY(0);
408
+ }
409
+ 10% {
410
+ transform: scale(var(--fa-bounce-start-scale-x, 1.1), var(--fa-bounce-start-scale-y, 0.9)) translateY(0);
411
+ }
412
+ 30% {
413
+ transform: scale(var(--fa-bounce-jump-scale-x, 0.9), var(--fa-bounce-jump-scale-y, 1.1)) translateY(var(--fa-bounce-height, -0.5em));
414
+ }
415
+ 50% {
416
+ transform: scale(var(--fa-bounce-land-scale-x, 1.05), var(--fa-bounce-land-scale-y, 0.95)) translateY(0);
417
+ }
418
+ 57% {
419
+ transform: scale(1, 1) translateY(var(--fa-bounce-rebound, -0.125em));
420
+ }
421
+ 64% {
422
+ transform: scale(1, 1) translateY(0);
423
+ }
424
+ 100% {
425
+ transform: scale(1, 1) translateY(0);
426
+ }
427
+ }
428
+ @keyframes fa-fade {
429
+ 50% {
430
+ opacity: var(--fa-fade-opacity, 0.4);
431
+ }
432
+ }
433
+ @keyframes fa-beat-fade {
434
+ 0%, 100% {
435
+ opacity: var(--fa-beat-fade-opacity, 0.4);
436
+ transform: scale(1);
437
+ }
438
+ 50% {
439
+ opacity: 1;
440
+ transform: scale(var(--fa-beat-fade-scale, 1.125));
441
+ }
442
+ }
443
+ @keyframes fa-flip {
444
+ 50% {
445
+ transform: rotate3d(var(--fa-flip-x, 0), var(--fa-flip-y, 1), var(--fa-flip-z, 0), var(--fa-flip-angle, -180deg));
446
+ }
447
+ }
448
+ @keyframes fa-shake {
449
+ 0% {
450
+ transform: rotate(-15deg);
451
+ }
452
+ 4% {
453
+ transform: rotate(15deg);
454
+ }
455
+ 8%, 24% {
456
+ transform: rotate(-18deg);
457
+ }
458
+ 12%, 28% {
459
+ transform: rotate(18deg);
460
+ }
461
+ 16% {
462
+ transform: rotate(-22deg);
463
+ }
464
+ 20% {
465
+ transform: rotate(22deg);
466
+ }
467
+ 32% {
468
+ transform: rotate(-12deg);
469
+ }
470
+ 36% {
471
+ transform: rotate(12deg);
472
+ }
473
+ 40%, 100% {
474
+ transform: rotate(0deg);
475
+ }
476
+ }
477
+ @keyframes fa-spin {
478
+ 0% {
479
+ transform: rotate(0deg);
480
+ }
481
+ 100% {
482
+ transform: rotate(360deg);
483
+ }
484
+ }
485
+ .fa-rotate-90 {
486
+ transform: rotate(90deg);
487
+ }
488
+
489
+ .fa-rotate-180 {
490
+ transform: rotate(180deg);
491
+ }
492
+
493
+ .fa-rotate-270 {
494
+ transform: rotate(270deg);
495
+ }
496
+
497
+ .fa-flip-horizontal {
498
+ transform: scale(-1, 1);
499
+ }
500
+
501
+ .fa-flip-vertical {
502
+ transform: scale(1, -1);
503
+ }
504
+
505
+ .fa-flip-both,
506
+ .fa-flip-horizontal.fa-flip-vertical {
507
+ transform: scale(-1, -1);
508
+ }
509
+
510
+ .fa-rotate-by {
511
+ transform: rotate(var(--fa-rotate-angle, 0));
512
+ }
513
+
514
+ .svg-inline--fa .fa-primary {
515
+ fill: var(--fa-primary-color, currentColor);
516
+ opacity: var(--fa-primary-opacity, 1);
517
+ }
518
+
519
+ .svg-inline--fa .fa-secondary {
520
+ fill: var(--fa-secondary-color, currentColor);
521
+ opacity: var(--fa-secondary-opacity, 0.4);
522
+ }
523
+
524
+ .svg-inline--fa.fa-swap-opacity .fa-primary {
525
+ opacity: var(--fa-secondary-opacity, 0.4);
526
+ }
527
+
528
+ .svg-inline--fa.fa-swap-opacity .fa-secondary {
529
+ opacity: var(--fa-primary-opacity, 1);
530
+ }
531
+
532
+ .svg-inline--fa mask .fa-primary,
533
+ .svg-inline--fa mask .fa-secondary {
534
+ fill: black;
535
+ }
536
+
537
+ .svg-inline--fa.fa-inverse {
538
+ fill: var(--fa-inverse, #fff);
539
+ }
540
+
541
+ .fa-stack {
542
+ display: inline-block;
543
+ height: 2em;
544
+ line-height: 2em;
545
+ position: relative;
546
+ vertical-align: middle;
547
+ width: 2.5em;
548
+ }
549
+
550
+ .fa-inverse {
551
+ color: var(--fa-inverse, #fff);
552
+ }
553
+
554
+ .svg-inline--fa.fa-stack-1x {
555
+ --fa-width: 1.25em;
556
+ height: 1em;
557
+ width: var(--fa-width);
558
+ }
559
+ .svg-inline--fa.fa-stack-2x {
560
+ --fa-width: 2.5em;
561
+ height: 2em;
562
+ width: var(--fa-width);
563
+ }
564
+
565
+ .fa-stack-1x,
566
+ .fa-stack-2x {
567
+ inset: 0;
568
+ margin: auto;
569
+ position: absolute;
570
+ z-index: var(--fa-stack-z-index, auto);
571
+ }`;function tu(){var e=Yc,t=Gc,r=H.cssPrefix,n=H.replacementClass,o=Og;if(r!==e||n!==t){var i=new RegExp("\\.".concat(e,"\\-"),"g"),s=new RegExp("\\--".concat(e,"\\-"),"g"),c=new RegExp("\\.".concat(t),"g");o=o.replace(i,".".concat(r,"-")).replace(s,"--".concat(r,"-")).replace(c,".".concat(n))}return o}var Us=!1;function Co(){H.autoAddCss&&!Us&&(wg(tu()),Us=!0)}var _g={mixout:function(){return{dom:{css:tu,insertCss:Co}}},hooks:function(){return{beforeDOMElementCreation:function(){Co()},beforeI2svg:function(){Co()}}}},it=pt||{};it[ot]||(it[ot]={});it[ot].styles||(it[ot].styles={});it[ot].hooks||(it[ot].hooks={});it[ot].shims||(it[ot].shims=[]);var Ve=it[ot],ru=[],nu=function(){oe.removeEventListener("DOMContentLoaded",nu),Yn=1,ru.map(function(t){return t()})},Yn=!1;lt&&(Yn=(oe.documentElement.doScroll?/^loaded|^c/:/^loaded|^i|^c/).test(oe.readyState),Yn||oe.addEventListener("DOMContentLoaded",nu));function $g(e){lt&&(Yn?setTimeout(e,0):ru.push(e))}function Qr(e){var t=e.tag,r=e.attributes,n=r===void 0?{}:r,o=e.children,i=o===void 0?[]:o;return typeof e=="string"?eu(e):"<".concat(t," ").concat(kg(n),">").concat(i.map(Qr).join(""),"</").concat(t,">")}function zs(e,t,r){if(e&&e[t]&&e[t][r])return{prefix:t,iconName:r,icon:e[t][r]}}var To=function(t,r,n,o){var i=Object.keys(t),s=i.length,c=r,u,f,d;for(n===void 0?(u=1,d=t[i[0]]):(u=0,d=n);u<s;u++)f=i[u],d=c(d,t[f],f,t);return d};function au(e){return Ue(e).length!==1?null:e.codePointAt(0).toString(16)}function Hs(e){return Object.keys(e).reduce(function(t,r){var n=e[r],o=!!n.icon;return o?t[n.iconName]=n.icon:t[r]=n,t},{})}function Zo(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},n=r.skipHooks,o=n===void 0?!1:n,i=Hs(t);typeof Ve.hooks.addPack=="function"&&!o?Ve.hooks.addPack(e,Hs(t)):Ve.styles[e]=P(P({},Ve.styles[e]||{}),i),e==="fas"&&Zo("fa",t)}var Vr=Ve.styles,Cg=Ve.shims,ou=Object.keys(Ai),Tg=ou.reduce(function(e,t){return e[t]=Object.keys(Ai[t]),e},{}),_i=null,iu={},su={},lu={},cu={},uu={};function Ng(e){return~yg.indexOf(e)}function Pg(e,t){var r=t.split("-"),n=r[0],o=r.slice(1).join("-");return n===e&&o!==""&&!Ng(o)?o:null}var fu=function(){var t=function(i){return To(Vr,function(s,c,u){return s[u]=To(c,i,{}),s},{})};iu=t(function(o,i,s){if(i[3]&&(o[i[3]]=s),i[2]){var c=i[2].filter(function(u){return typeof u=="number"});c.forEach(function(u){o[u.toString(16)]=s})}return o}),su=t(function(o,i,s){if(o[s]=s,i[2]){var c=i[2].filter(function(u){return typeof u=="string"});c.forEach(function(u){o[u]=s})}return o}),uu=t(function(o,i,s){var c=i[2];return o[s]=s,c.forEach(function(u){o[u]=s}),o});var r="far"in Vr||H.autoFetchSvg,n=To(Cg,function(o,i){var s=i[0],c=i[1],u=i[2];return c==="far"&&!r&&(c="fas"),typeof s=="string"&&(o.names[s]={prefix:c,iconName:u}),typeof s=="number"&&(o.unicodes[s.toString(16)]={prefix:c,iconName:u}),o},{names:{},unicodes:{}});lu=n.names,cu=n.unicodes,_i=ua(H.styleDefault,{family:H.familyDefault})};Sg(function(e){_i=ua(e.styleDefault,{family:H.familyDefault})});fu();function $i(e,t){return(iu[e]||{})[t]}function Bg(e,t){return(su[e]||{})[t]}function Ot(e,t){return(uu[e]||{})[t]}function du(e){return lu[e]||{prefix:null,iconName:null}}function Ig(e){var t=cu[e],r=$i("fas",e);return t||(r?{prefix:"fas",iconName:r}:null)||{prefix:null,iconName:null}}function mt(){return _i}var pu=function(){return{prefix:null,iconName:null,rest:[]}};function Mg(e){var t=ge,r=ou.reduce(function(n,o){return n[o]="".concat(H.cssPrefix,"-").concat(o),n},{});return zc.forEach(function(n){(e.includes(r[n])||e.some(function(o){return Tg[n].includes(o)}))&&(t=n)}),t}function ua(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.family,n=r===void 0?ge:r,o=fg[n][e];if(n===Jr&&!e)return"fad";var i=Ls[n][e]||Ls[n][o],s=e in Ve.styles?e:null,c=i||s||null;return c}function Fg(e){var t=[],r=null;return e.forEach(function(n){var o=Pg(H.cssPrefix,n);o?r=o:n&&t.push(n)}),{iconName:r,rest:t}}function Ws(e){return e.sort().filter(function(t,r,n){return n.indexOf(t)===r})}var qs=Wc.concat(Hc);function fa(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.skipLookups,n=r===void 0?!1:r,o=null,i=Ws(e.filter(function(w){return qs.includes(w)})),s=Ws(e.filter(function(w){return!qs.includes(w)})),c=i.filter(function(w){return o=w,!Oc.includes(w)}),u=la(c,1),f=u[0],d=f===void 0?null:f,h=Mg(i),v=P(P({},Fg(s)),{},{prefix:ua(d,{family:h})});return P(P(P({},v),Lg({values:e,family:h,styles:Vr,config:H,canonical:v,givenPrefix:o})),Rg(n,o,v))}function Rg(e,t,r){var n=r.prefix,o=r.iconName;if(e||!n||!o)return{prefix:n,iconName:o};var i=t==="fa"?du(o):{},s=Ot(n,o);return o=i.iconName||s||o,n=i.prefix||n,n==="far"&&!Vr.far&&Vr.fas&&!H.autoFetchSvg&&(n="fas"),{prefix:n,iconName:o}}var Dg=zc.filter(function(e){return e!==ge||e!==Jr}),jg=Object.keys(Yo).filter(function(e){return e!==ge}).map(function(e){return Object.keys(Yo[e])}).flat();function Lg(e){var t=e.values,r=e.family,n=e.canonical,o=e.givenPrefix,i=o===void 0?"":o,s=e.styles,c=s===void 0?{}:s,u=e.config,f=u===void 0?{}:u,d=r===Jr,h=t.includes("fa-duotone")||t.includes("fad"),v=f.familyDefault==="duotone",w=n.prefix==="fad"||n.prefix==="fa-duotone";if(!d&&(h||v||w)&&(n.prefix="fad"),(t.includes("fa-brands")||t.includes("fab"))&&(n.prefix="fab"),!n.prefix&&Dg.includes(r)){var m=Object.keys(c).find(function(b){return jg.includes(b)});if(m||f.autoFetchSvg){var y=nv.get(r).defaultShortPrefixId;n.prefix=y,n.iconName=Ot(n.prefix,n.iconName)||n.iconName}}return(n.prefix==="fa"||i==="fa")&&(n.prefix=mt()||"fas"),n}var Vg=function(){function e(){xy(this,e),this.definitions={}}return _y(e,[{key:"add",value:function(){for(var r=this,n=arguments.length,o=new Array(n),i=0;i<n;i++)o[i]=arguments[i];var s=o.reduce(this._pullDefinitions,{});Object.keys(s).forEach(function(c){r.definitions[c]=P(P({},r.definitions[c]||{}),s[c]),Zo(c,s[c]);var u=Ai[ge][c];u&&Zo(u,s[c]),fu()})}},{key:"reset",value:function(){this.definitions={}}},{key:"_pullDefinitions",value:function(r,n){var o=n.prefix&&n.iconName&&n.icon?{0:n}:n;return Object.keys(o).map(function(i){var s=o[i],c=s.prefix,u=s.iconName,f=s.icon,d=f[2];r[c]||(r[c]={}),d.length>0&&d.forEach(function(h){typeof h=="string"&&(r[c][h]=f)}),r[c][u]=f}),r}}])}(),Ys=[],Xt={},Zt={},Ug=Object.keys(Zt);function zg(e,t){var r=t.mixoutsTo;return Ys=e,Xt={},Object.keys(Zt).forEach(function(n){Ug.indexOf(n)===-1&&delete Zt[n]}),Ys.forEach(function(n){var o=n.mixout?n.mixout():{};if(Object.keys(o).forEach(function(s){typeof o[s]=="function"&&(r[s]=o[s]),qn(o[s])==="object"&&Object.keys(o[s]).forEach(function(c){r[s]||(r[s]={}),r[s][c]=o[s][c]})}),n.hooks){var i=n.hooks();Object.keys(i).forEach(function(s){Xt[s]||(Xt[s]=[]),Xt[s].push(i[s])})}n.provides&&n.provides(Zt)}),r}function ei(e,t){for(var r=arguments.length,n=new Array(r>2?r-2:0),o=2;o<r;o++)n[o-2]=arguments[o];var i=Xt[e]||[];return i.forEach(function(s){t=s.apply(null,[t].concat(n))}),t}function Bt(e){for(var t=arguments.length,r=new Array(t>1?t-1:0),n=1;n<t;n++)r[n-1]=arguments[n];var o=Xt[e]||[];o.forEach(function(i){i.apply(null,r)})}function ht(){var e=arguments[0],t=Array.prototype.slice.call(arguments,1);return Zt[e]?Zt[e].apply(null,t):void 0}function ti(e){e.prefix==="fa"&&(e.prefix="fas");var t=e.iconName,r=e.prefix||mt();if(t)return t=Ot(r,t)||t,zs(mu.definitions,r,t)||zs(Ve.styles,r,t)}var mu=new Vg,Hg=function(){H.autoReplaceSvg=!1,H.observeMutations=!1,Bt("noAuto")},Wg={i2svg:function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return lt?(Bt("beforeI2svg",t),ht("pseudoElements2svg",t),ht("i2svg",t)):Promise.reject(new Error("Operation requires a DOM of some kind."))},watch:function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},r=t.autoReplaceSvgRoot;H.autoReplaceSvg===!1&&(H.autoReplaceSvg=!0),H.observeMutations=!0,$g(function(){Yg({autoReplaceSvgRoot:r}),Bt("watch",t)})}},qg={icon:function(t){if(t===null)return null;if(qn(t)==="object"&&t.prefix&&t.iconName)return{prefix:t.prefix,iconName:Ot(t.prefix,t.iconName)||t.iconName};if(Array.isArray(t)&&t.length===2){var r=t[1].indexOf("fa-")===0?t[1].slice(3):t[1],n=ua(t[0]);return{prefix:n,iconName:Ot(n,r)||r}}if(typeof t=="string"&&(t.indexOf("".concat(H.cssPrefix,"-"))>-1||t.match(dg))){var o=fa(t.split(" "),{skipLookups:!0});return{prefix:o.prefix||mt(),iconName:Ot(o.prefix,o.iconName)||o.iconName}}if(typeof t=="string"){var i=mt();return{prefix:i,iconName:Ot(i,t)||t}}}},Pe={noAuto:Hg,config:H,dom:Wg,parse:qg,library:mu,findIconDefinition:ti,toHtml:Qr},Yg=function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},r=t.autoReplaceSvgRoot,n=r===void 0?oe:r;(Object.keys(Ve.styles).length>0||H.autoFetchSvg)&&lt&&H.autoReplaceSvg&&Pe.dom.i2svg({node:n})};function da(e,t){return Object.defineProperty(e,"abstract",{get:t}),Object.defineProperty(e,"html",{get:function(){return e.abstract.map(function(n){return Qr(n)})}}),Object.defineProperty(e,"node",{get:function(){if(lt){var n=oe.createElement("div");return n.innerHTML=e.html,n.children}}}),e}function Gg(e){var t=e.children,r=e.main,n=e.mask,o=e.attributes,i=e.styles,s=e.transform;if(Oi(s)&&r.found&&!n.found){var c=r.width,u=r.height,f={x:c/u/2,y:.5};o.style=ca(P(P({},i),{},{"transform-origin":"".concat(f.x+s.x/16,"em ").concat(f.y+s.y/16,"em")}))}return[{tag:"svg",attributes:o,children:t}]}function Kg(e){var t=e.prefix,r=e.iconName,n=e.children,o=e.attributes,i=e.symbol,s=i===!0?"".concat(t,"-").concat(H.cssPrefix,"-").concat(r):i;return[{tag:"svg",attributes:{style:"display: none;"},children:[{tag:"symbol",attributes:P(P({},o),{},{id:s}),children:n}]}]}function Jg(e){var t=["aria-label","aria-labelledby","title","role"];return t.some(function(r){return r in e})}function Ci(e){var t=e.icons,r=t.main,n=t.mask,o=e.prefix,i=e.iconName,s=e.transform,c=e.symbol,u=e.maskId,f=e.extra,d=e.watchable,h=d===void 0?!1:d,v=n.found?n:r,w=v.width,m=v.height,y=[H.replacementClass,i?"".concat(H.cssPrefix,"-").concat(i):""].filter(function(R){return f.classes.indexOf(R)===-1}).filter(function(R){return R!==""||!!R}).concat(f.classes).join(" "),b={children:[],attributes:P(P({},f.attributes),{},{"data-prefix":o,"data-icon":i,class:y,role:f.attributes.role||"img",viewBox:"0 0 ".concat(w," ").concat(m)})};!Jg(f.attributes)&&!f.attributes["aria-hidden"]&&(b.attributes["aria-hidden"]="true"),h&&(b.attributes[Pt]="");var S=P(P({},b),{},{prefix:o,iconName:i,main:r,mask:n,maskId:u,transform:s,symbol:c,styles:P({},f.styles)}),k=n.found&&r.found?ht("generateAbstractMask",S)||{children:[],attributes:{}}:ht("generateAbstractIcon",S)||{children:[],attributes:{}},O=k.children,M=k.attributes;return S.children=O,S.attributes=M,c?Kg(S):Gg(S)}function Gs(e){var t=e.content,r=e.width,n=e.height,o=e.transform,i=e.extra,s=e.watchable,c=s===void 0?!1:s,u=P(P({},i.attributes),{},{class:i.classes.join(" ")});c&&(u[Pt]="");var f=P({},i.styles);Oi(o)&&(f.transform=xg({transform:o,width:r,height:n}),f["-webkit-transform"]=f.transform);var d=ca(f);d.length>0&&(u.style=d);var h=[];return h.push({tag:"span",attributes:u,children:[t]}),h}function Xg(e){var t=e.content,r=e.extra,n=P(P({},r.attributes),{},{class:r.classes.join(" ")}),o=ca(r.styles);o.length>0&&(n.style=o);var i=[];return i.push({tag:"span",attributes:n,children:[t]}),i}var No=Ve.styles;function ri(e){var t=e[0],r=e[1],n=e.slice(4),o=la(n,1),i=o[0],s=null;return Array.isArray(i)?s={tag:"g",attributes:{class:"".concat(H.cssPrefix,"-").concat($o.GROUP)},children:[{tag:"path",attributes:{class:"".concat(H.cssPrefix,"-").concat($o.SECONDARY),fill:"currentColor",d:i[0]}},{tag:"path",attributes:{class:"".concat(H.cssPrefix,"-").concat($o.PRIMARY),fill:"currentColor",d:i[1]}}]}:s={tag:"path",attributes:{fill:"currentColor",d:i}},{found:!0,width:t,height:r,icon:s}}var Qg={found:!1,width:512,height:512};function Zg(e,t){!Jc&&!H.showMissingIcons&&e&&console.error('Icon with name "'.concat(e,'" and prefix "').concat(t,'" is missing.'))}function ni(e,t){var r=t;return t==="fa"&&H.styleDefault!==null&&(t=mt()),new Promise(function(n,o){if(r==="fa"){var i=du(e)||{};e=i.iconName||e,t=i.prefix||t}if(e&&t&&No[t]&&No[t][e]){var s=No[t][e];return n(ri(s))}Zg(e,t),n(P(P({},Qg),{},{icon:H.showMissingIcons&&e?ht("missingIconAbstract")||{}:{}}))})}var Ks=function(){},ai=H.measurePerformance&&xn&&xn.mark&&xn.measure?xn:{mark:Ks,measure:Ks},Nr='FA "7.1.0"',eb=function(t){return ai.mark("".concat(Nr," ").concat(t," begins")),function(){return hu(t)}},hu=function(t){ai.mark("".concat(Nr," ").concat(t," ends")),ai.measure("".concat(Nr," ").concat(t),"".concat(Nr," ").concat(t," begins"),"".concat(Nr," ").concat(t," ends"))},Ti={begin:eb,end:hu},Rn=function(){};function Js(e){var t=e.getAttribute?e.getAttribute(Pt):null;return typeof t=="string"}function tb(e){var t=e.getAttribute?e.getAttribute(Ei):null,r=e.getAttribute?e.getAttribute(ki):null;return t&&r}function rb(e){return e&&e.classList&&e.classList.contains&&e.classList.contains(H.replacementClass)}function nb(){if(H.autoReplaceSvg===!0)return Dn.replace;var e=Dn[H.autoReplaceSvg];return e||Dn.replace}function ab(e){return oe.createElementNS("http://www.w3.org/2000/svg",e)}function ob(e){return oe.createElement(e)}function yu(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.ceFn,n=r===void 0?e.tag==="svg"?ab:ob:r;if(typeof e=="string")return oe.createTextNode(e);var o=n(e.tag);Object.keys(e.attributes||[]).forEach(function(s){o.setAttribute(s,e.attributes[s])});var i=e.children||[];return i.forEach(function(s){o.appendChild(yu(s,{ceFn:n}))}),o}function ib(e){var t=" ".concat(e.outerHTML," ");return t="".concat(t,"Font Awesome fontawesome.com "),t}var Dn={replace:function(t){var r=t[0];if(r.parentNode)if(t[1].forEach(function(o){r.parentNode.insertBefore(yu(o),r)}),r.getAttribute(Pt)===null&&H.keepOriginalSource){var n=oe.createComment(ib(r));r.parentNode.replaceChild(n,r)}else r.remove()},nest:function(t){var r=t[0],n=t[1];if(~xi(r).indexOf(H.replacementClass))return Dn.replace(t);var o=new RegExp("".concat(H.cssPrefix,"-.*"));if(delete n[0].attributes.id,n[0].attributes.class){var i=n[0].attributes.class.split(" ").reduce(function(c,u){return u===H.replacementClass||u.match(o)?c.toSvg.push(u):c.toNode.push(u),c},{toNode:[],toSvg:[]});n[0].attributes.class=i.toSvg.join(" "),i.toNode.length===0?r.removeAttribute("class"):r.setAttribute("class",i.toNode.join(" "))}var s=n.map(function(c){return Qr(c)}).join(`
572
+ `);r.setAttribute(Pt,""),r.innerHTML=s}};function Xs(e){e()}function vu(e,t){var r=typeof t=="function"?t:Rn;if(e.length===0)r();else{var n=Xs;H.mutateApproach===cg&&(n=pt.requestAnimationFrame||Xs),n(function(){var o=nb(),i=Ti.begin("mutate");e.map(o),i(),r()})}}var Ni=!1;function gu(){Ni=!0}function oi(){Ni=!1}var Gn=null;function Qs(e){if(Fs&&H.observeMutations){var t=e.treeCallback,r=t===void 0?Rn:t,n=e.nodeCallback,o=n===void 0?Rn:n,i=e.pseudoElementsCallback,s=i===void 0?Rn:i,c=e.observeMutationsRoot,u=c===void 0?oe:c;Gn=new Fs(function(f){if(!Ni){var d=mt();lr(f).forEach(function(h){if(h.type==="childList"&&h.addedNodes.length>0&&!Js(h.addedNodes[0])&&(H.searchPseudoElements&&s(h.target),r(h.target)),h.type==="attributes"&&h.target.parentNode&&H.searchPseudoElements&&s([h.target],!0),h.type==="attributes"&&Js(h.target)&&~hg.indexOf(h.attributeName))if(h.attributeName==="class"&&tb(h.target)){var v=fa(xi(h.target)),w=v.prefix,m=v.iconName;h.target.setAttribute(Ei,w||d),m&&h.target.setAttribute(ki,m)}else rb(h.target)&&o(h.target)})}}),lt&&Gn.observe(u,{childList:!0,attributes:!0,characterData:!0,subtree:!0})}}function sb(){Gn&&Gn.disconnect()}function lb(e){var t=e.getAttribute("style"),r=[];return t&&(r=t.split(";").reduce(function(n,o){var i=o.split(":"),s=i[0],c=i.slice(1);return s&&c.length>0&&(n[s]=c.join(":").trim()),n},{})),r}function cb(e){var t=e.getAttribute("data-prefix"),r=e.getAttribute("data-icon"),n=e.innerText!==void 0?e.innerText.trim():"",o=fa(xi(e));return o.prefix||(o.prefix=mt()),t&&r&&(o.prefix=t,o.iconName=r),o.iconName&&o.prefix||(o.prefix&&n.length>0&&(o.iconName=Bg(o.prefix,e.innerText)||$i(o.prefix,au(e.innerText))),!o.iconName&&H.autoFetchSvg&&e.firstChild&&e.firstChild.nodeType===Node.TEXT_NODE&&(o.iconName=e.firstChild.data)),o}function ub(e){var t=lr(e.attributes).reduce(function(r,n){return r.name!=="class"&&r.name!=="style"&&(r[n.name]=n.value),r},{});return t}function fb(){return{iconName:null,prefix:null,transform:Qe,symbol:!1,mask:{iconName:null,prefix:null,rest:[]},maskId:null,extra:{classes:[],styles:{},attributes:{}}}}function Zs(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{styleParser:!0},r=cb(e),n=r.iconName,o=r.prefix,i=r.rest,s=ub(e),c=ei("parseNodeAttributes",{},e),u=t.styleParser?lb(e):[];return P({iconName:n,prefix:o,transform:Qe,mask:{iconName:null,prefix:null,rest:[]},maskId:null,symbol:!1,extra:{classes:i,styles:u,attributes:s}},c)}var db=Ve.styles;function bu(e){var t=H.autoReplaceSvg==="nest"?Zs(e,{styleParser:!1}):Zs(e);return~t.extra.classes.indexOf(Qc)?ht("generateLayersText",e,t):ht("generateSvgReplacementMutation",e,t)}function pb(){return[].concat(Ue(Hc),Ue(Wc))}function el(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;if(!lt)return Promise.resolve();var r=oe.documentElement.classList,n=function(h){return r.add("".concat(js,"-").concat(h))},o=function(h){return r.remove("".concat(js,"-").concat(h))},i=H.autoFetchSvg?pb():Oc.concat(Object.keys(db));i.includes("fa")||i.push("fa");var s=[".".concat(Qc,":not([").concat(Pt,"])")].concat(i.map(function(d){return".".concat(d,":not([").concat(Pt,"])")})).join(", ");if(s.length===0)return Promise.resolve();var c=[];try{c=lr(e.querySelectorAll(s))}catch{}if(c.length>0)n("pending"),o("complete");else return Promise.resolve();var u=Ti.begin("onTree"),f=c.reduce(function(d,h){try{var v=bu(h);v&&d.push(v)}catch(w){Jc||w.name==="MissingIcon"&&console.error(w)}return d},[]);return new Promise(function(d,h){Promise.all(f).then(function(v){vu(v,function(){n("active"),n("complete"),o("pending"),typeof t=="function"&&t(),u(),d()})}).catch(function(v){u(),h(v)})})}function mb(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;bu(e).then(function(r){r&&vu([r],t)})}function hb(e){return function(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=(t||{}).icon?t:ti(t||{}),o=r.mask;return o&&(o=(o||{}).icon?o:ti(o||{})),e(n,P(P({},r),{},{mask:o}))}}var yb=function(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=r.transform,o=n===void 0?Qe:n,i=r.symbol,s=i===void 0?!1:i,c=r.mask,u=c===void 0?null:c,f=r.maskId,d=f===void 0?null:f,h=r.classes,v=h===void 0?[]:h,w=r.attributes,m=w===void 0?{}:w,y=r.styles,b=y===void 0?{}:y;if(t){var S=t.prefix,k=t.iconName,O=t.icon;return da(P({type:"icon"},t),function(){return Bt("beforeDOMElementCreation",{iconDefinition:t,params:r}),Ci({icons:{main:ri(O),mask:u?ri(u.icon):{found:!1,width:null,height:null,icon:{}}},prefix:S,iconName:k,transform:P(P({},Qe),o),symbol:s,maskId:d,extra:{attributes:m,styles:b,classes:v}})})}},vb={mixout:function(){return{icon:hb(yb)}},hooks:function(){return{mutationObserverCallbacks:function(r){return r.treeCallback=el,r.nodeCallback=mb,r}}},provides:function(t){t.i2svg=function(r){var n=r.node,o=n===void 0?oe:n,i=r.callback,s=i===void 0?function(){}:i;return el(o,s)},t.generateSvgReplacementMutation=function(r,n){var o=n.iconName,i=n.prefix,s=n.transform,c=n.symbol,u=n.mask,f=n.maskId,d=n.extra;return new Promise(function(h,v){Promise.all([ni(o,i),u.iconName?ni(u.iconName,u.prefix):Promise.resolve({found:!1,width:512,height:512,icon:{}})]).then(function(w){var m=la(w,2),y=m[0],b=m[1];h([r,Ci({icons:{main:y,mask:b},prefix:i,iconName:o,transform:s,symbol:c,maskId:f,extra:d,watchable:!0})])}).catch(v)})},t.generateAbstractIcon=function(r){var n=r.children,o=r.attributes,i=r.main,s=r.transform,c=r.styles,u=ca(c);u.length>0&&(o.style=u);var f;return Oi(s)&&(f=ht("generateAbstractTransformGrouping",{main:i,transform:s,containerWidth:i.width,iconWidth:i.width})),n.push(f||i.icon),{children:n,attributes:o}}}},gb={mixout:function(){return{layer:function(r){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},o=n.classes,i=o===void 0?[]:o;return da({type:"layer"},function(){Bt("beforeDOMElementCreation",{assembler:r,params:n});var s=[];return r(function(c){Array.isArray(c)?c.map(function(u){s=s.concat(u.abstract)}):s=s.concat(c.abstract)}),[{tag:"span",attributes:{class:["".concat(H.cssPrefix,"-layers")].concat(Ue(i)).join(" ")},children:s}]})}}}},bb={mixout:function(){return{counter:function(r){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};n.title;var o=n.classes,i=o===void 0?[]:o,s=n.attributes,c=s===void 0?{}:s,u=n.styles,f=u===void 0?{}:u;return da({type:"counter",content:r},function(){return Bt("beforeDOMElementCreation",{content:r,params:n}),Xg({content:r.toString(),extra:{attributes:c,styles:f,classes:["".concat(H.cssPrefix,"-layers-counter")].concat(Ue(i))}})})}}}},Sb={mixout:function(){return{text:function(r){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},o=n.transform,i=o===void 0?Qe:o,s=n.classes,c=s===void 0?[]:s,u=n.attributes,f=u===void 0?{}:u,d=n.styles,h=d===void 0?{}:d;return da({type:"text",content:r},function(){return Bt("beforeDOMElementCreation",{content:r,params:n}),Gs({content:r,transform:P(P({},Qe),i),extra:{attributes:f,styles:h,classes:["".concat(H.cssPrefix,"-layers-text")].concat(Ue(c))}})})}}},provides:function(t){t.generateLayersText=function(r,n){var o=n.transform,i=n.extra,s=null,c=null;if(Ac){var u=parseInt(getComputedStyle(r).fontSize,10),f=r.getBoundingClientRect();s=f.width/u,c=f.height/u}return Promise.resolve([r,Gs({content:r.innerHTML,width:s,height:c,transform:o,extra:i,watchable:!0})])}}},Su=new RegExp('"',"ug"),tl=[1105920,1112319],rl=P(P(P(P({},{FontAwesome:{normal:"fas",400:"fas"}}),rv),sg),fv),ii=Object.keys(rl).reduce(function(e,t){return e[t.toLowerCase()]=rl[t],e},{}),wb=Object.keys(ii).reduce(function(e,t){var r=ii[t];return e[t]=r[900]||Ue(Object.entries(r))[0][1],e},{});function Eb(e){var t=e.replace(Su,"");return au(Ue(t)[0]||"")}function kb(e){var t=e.getPropertyValue("font-feature-settings").includes("ss01"),r=e.getPropertyValue("content"),n=r.replace(Su,""),o=n.codePointAt(0),i=o>=tl[0]&&o<=tl[1],s=n.length===2?n[0]===n[1]:!1;return i||s||t}function Ab(e,t){var r=e.replace(/^['"]|['"]$/g,"").toLowerCase(),n=parseInt(t),o=isNaN(n)?"normal":n;return(ii[r]||{})[o]||wb[r]}function nl(e,t){var r="".concat(lg).concat(t.replace(":","-"));return new Promise(function(n,o){if(e.getAttribute(r)!==null)return n();var i=lr(e.children),s=i.filter(function(I){return I.getAttribute(Ko)===t})[0],c=pt.getComputedStyle(e,t),u=c.getPropertyValue("font-family"),f=u.match(pg),d=c.getPropertyValue("font-weight"),h=c.getPropertyValue("content");if(s&&!f)return e.removeChild(s),n();if(f&&h!=="none"&&h!==""){var v=c.getPropertyValue("content"),w=Ab(u,d),m=Eb(v),y=f[0].startsWith("FontAwesome"),b=kb(c),S=$i(w,m),k=S;if(y){var O=Ig(m);O.iconName&&O.prefix&&(S=O.iconName,w=O.prefix)}if(S&&!b&&(!s||s.getAttribute(Ei)!==w||s.getAttribute(ki)!==k)){e.setAttribute(r,k),s&&e.removeChild(s);var M=fb(),R=M.extra;R.attributes[Ko]=t,ni(S,w).then(function(I){var j=Ci(P(P({},M),{},{icons:{main:I,mask:pu()},prefix:w,iconName:k,extra:R,watchable:!0})),W=oe.createElementNS("http://www.w3.org/2000/svg","svg");t==="::before"?e.insertBefore(W,e.firstChild):e.appendChild(W),W.outerHTML=j.map(function(D){return Qr(D)}).join(`
573
+ `),e.removeAttribute(r),n()}).catch(o)}else n()}else n()})}function xb(e){return Promise.all([nl(e,"::before"),nl(e,"::after")])}function Ob(e){return e.parentNode!==document.head&&!~ug.indexOf(e.tagName.toUpperCase())&&!e.getAttribute(Ko)&&(!e.parentNode||e.parentNode.tagName!=="svg")}var _b=function(t){return!!t&&Kc.some(function(r){return t.includes(r)})},$b=function(t){if(!t)return[];var r=new Set,n=t.split(/,(?![^()]*\))/).map(function(u){return u.trim()});n=n.flatMap(function(u){return u.includes("(")?u:u.split(",").map(function(f){return f.trim()})});var o=Fn(n),i;try{for(o.s();!(i=o.n()).done;){var s=i.value;if(_b(s)){var c=Kc.reduce(function(u,f){return u.replace(f,"")},s);c!==""&&c!=="*"&&r.add(c)}}}catch(u){o.e(u)}finally{o.f()}return r};function al(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;if(lt){var r;if(t)r=e;else if(H.searchPseudoElementsFullScan)r=e.querySelectorAll("*");else{var n=new Set,o=Fn(document.styleSheets),i;try{for(o.s();!(i=o.n()).done;){var s=i.value;try{var c=Fn(s.cssRules),u;try{for(c.s();!(u=c.n()).done;){var f=u.value,d=$b(f.selectorText),h=Fn(d),v;try{for(h.s();!(v=h.n()).done;){var w=v.value;n.add(w)}}catch(y){h.e(y)}finally{h.f()}}}catch(y){c.e(y)}finally{c.f()}}catch(y){H.searchPseudoElementsWarnings&&console.warn("Font Awesome: cannot parse stylesheet: ".concat(s.href," (").concat(y.message,`)
574
+ If it declares any Font Awesome CSS pseudo-elements, they will not be rendered as SVG icons. Add crossorigin="anonymous" to the <link>, enable searchPseudoElementsFullScan for slower but more thorough DOM parsing, or suppress this warning by setting searchPseudoElementsWarnings to false.`))}}}catch(y){o.e(y)}finally{o.f()}if(!n.size)return;var m=Array.from(n).join(", ");try{r=e.querySelectorAll(m)}catch{}}return new Promise(function(y,b){var S=lr(r).filter(Ob).map(xb),k=Ti.begin("searchPseudoElements");gu(),Promise.all(S).then(function(){k(),oi(),y()}).catch(function(){k(),oi(),b()})})}}var Cb={hooks:function(){return{mutationObserverCallbacks:function(r){return r.pseudoElementsCallback=al,r}}},provides:function(t){t.pseudoElements2svg=function(r){var n=r.node,o=n===void 0?oe:n;H.searchPseudoElements&&al(o)}}},ol=!1,Tb={mixout:function(){return{dom:{unwatch:function(){gu(),ol=!0}}}},hooks:function(){return{bootstrap:function(){Qs(ei("mutationObserverCallbacks",{}))},noAuto:function(){sb()},watch:function(r){var n=r.observeMutationsRoot;ol?oi():Qs(ei("mutationObserverCallbacks",{observeMutationsRoot:n}))}}}},il=function(t){var r={size:16,x:0,y:0,flipX:!1,flipY:!1,rotate:0};return t.toLowerCase().split(" ").reduce(function(n,o){var i=o.toLowerCase().split("-"),s=i[0],c=i.slice(1).join("-");if(s&&c==="h")return n.flipX=!0,n;if(s&&c==="v")return n.flipY=!0,n;if(c=parseFloat(c),isNaN(c))return n;switch(s){case"grow":n.size=n.size+c;break;case"shrink":n.size=n.size-c;break;case"left":n.x=n.x-c;break;case"right":n.x=n.x+c;break;case"up":n.y=n.y-c;break;case"down":n.y=n.y+c;break;case"rotate":n.rotate=n.rotate+c;break}return n},r)},Nb={mixout:function(){return{parse:{transform:function(r){return il(r)}}}},hooks:function(){return{parseNodeAttributes:function(r,n){var o=n.getAttribute("data-fa-transform");return o&&(r.transform=il(o)),r}}},provides:function(t){t.generateAbstractTransformGrouping=function(r){var n=r.main,o=r.transform,i=r.containerWidth,s=r.iconWidth,c={transform:"translate(".concat(i/2," 256)")},u="translate(".concat(o.x*32,", ").concat(o.y*32,") "),f="scale(".concat(o.size/16*(o.flipX?-1:1),", ").concat(o.size/16*(o.flipY?-1:1),") "),d="rotate(".concat(o.rotate," 0 0)"),h={transform:"".concat(u," ").concat(f," ").concat(d)},v={transform:"translate(".concat(s/2*-1," -256)")},w={outer:c,inner:h,path:v};return{tag:"g",attributes:P({},w.outer),children:[{tag:"g",attributes:P({},w.inner),children:[{tag:n.icon.tag,children:n.icon.children,attributes:P(P({},n.icon.attributes),w.path)}]}]}}}},Po={x:0,y:0,width:"100%",height:"100%"};function sl(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0;return e.attributes&&(e.attributes.fill||t)&&(e.attributes.fill="black"),e}function Pb(e){return e.tag==="g"?e.children:[e]}var Bb={hooks:function(){return{parseNodeAttributes:function(r,n){var o=n.getAttribute("data-fa-mask"),i=o?fa(o.split(" ").map(function(s){return s.trim()})):pu();return i.prefix||(i.prefix=mt()),r.mask=i,r.maskId=n.getAttribute("data-fa-mask-id"),r}}},provides:function(t){t.generateAbstractMask=function(r){var n=r.children,o=r.attributes,i=r.main,s=r.mask,c=r.maskId,u=r.transform,f=i.width,d=i.icon,h=s.width,v=s.icon,w=Ag({transform:u,containerWidth:h,iconWidth:f}),m={tag:"rect",attributes:P(P({},Po),{},{fill:"white"})},y=d.children?{children:d.children.map(sl)}:{},b={tag:"g",attributes:P({},w.inner),children:[sl(P({tag:d.tag,attributes:P(P({},d.attributes),w.path)},y))]},S={tag:"g",attributes:P({},w.outer),children:[b]},k="mask-".concat(c||Vs()),O="clip-".concat(c||Vs()),M={tag:"mask",attributes:P(P({},Po),{},{id:k,maskUnits:"userSpaceOnUse",maskContentUnits:"userSpaceOnUse"}),children:[m,S]},R={tag:"defs",children:[{tag:"clipPath",attributes:{id:O},children:Pb(v)},M]};return n.push(R,{tag:"rect",attributes:P({fill:"currentColor","clip-path":"url(#".concat(O,")"),mask:"url(#".concat(k,")")},Po)}),{children:n,attributes:o}}}},Ib={provides:function(t){var r=!1;pt.matchMedia&&(r=pt.matchMedia("(prefers-reduced-motion: reduce)").matches),t.missingIconAbstract=function(){var n=[],o={fill:"currentColor"},i={attributeType:"XML",repeatCount:"indefinite",dur:"2s"};n.push({tag:"path",attributes:P(P({},o),{},{d:"M156.5,447.7l-12.6,29.5c-18.7-9.5-35.9-21.2-51.5-34.9l22.7-22.7C127.6,430.5,141.5,440,156.5,447.7z M40.6,272H8.5 c1.4,21.2,5.4,41.7,11.7,61.1L50,321.2C45.1,305.5,41.8,289,40.6,272z M40.6,240c1.4-18.8,5.2-37,11.1-54.1l-29.5-12.6 C14.7,194.3,10,216.7,8.5,240H40.6z M64.3,156.5c7.8-14.9,17.2-28.8,28.1-41.5L69.7,92.3c-13.7,15.6-25.5,32.8-34.9,51.5 L64.3,156.5z M397,419.6c-13.9,12-29.4,22.3-46.1,30.4l11.9,29.8c20.7-9.9,39.8-22.6,56.9-37.6L397,419.6z M115,92.4 c13.9-12,29.4-22.3,46.1-30.4l-11.9-29.8c-20.7,9.9-39.8,22.6-56.8,37.6L115,92.4z M447.7,355.5c-7.8,14.9-17.2,28.8-28.1,41.5 l22.7,22.7c13.7-15.6,25.5-32.9,34.9-51.5L447.7,355.5z M471.4,272c-1.4,18.8-5.2,37-11.1,54.1l29.5,12.6 c7.5-21.1,12.2-43.5,13.6-66.8H471.4z M321.2,462c-15.7,5-32.2,8.2-49.2,9.4v32.1c21.2-1.4,41.7-5.4,61.1-11.7L321.2,462z M240,471.4c-18.8-1.4-37-5.2-54.1-11.1l-12.6,29.5c21.1,7.5,43.5,12.2,66.8,13.6V471.4z M462,190.8c5,15.7,8.2,32.2,9.4,49.2h32.1 c-1.4-21.2-5.4-41.7-11.7-61.1L462,190.8z M92.4,397c-12-13.9-22.3-29.4-30.4-46.1l-29.8,11.9c9.9,20.7,22.6,39.8,37.6,56.9 L92.4,397z M272,40.6c18.8,1.4,36.9,5.2,54.1,11.1l12.6-29.5C317.7,14.7,295.3,10,272,8.5V40.6z M190.8,50 c15.7-5,32.2-8.2,49.2-9.4V8.5c-21.2,1.4-41.7,5.4-61.1,11.7L190.8,50z M442.3,92.3L419.6,115c12,13.9,22.3,29.4,30.5,46.1 l29.8-11.9C470,128.5,457.3,109.4,442.3,92.3z M397,92.4l22.7-22.7c-15.6-13.7-32.8-25.5-51.5-34.9l-12.6,29.5 C370.4,72.1,384.4,81.5,397,92.4z"})});var s=P(P({},i),{},{attributeName:"opacity"}),c={tag:"circle",attributes:P(P({},o),{},{cx:"256",cy:"364",r:"28"}),children:[]};return r||c.children.push({tag:"animate",attributes:P(P({},i),{},{attributeName:"r",values:"28;14;28;28;14;28;"})},{tag:"animate",attributes:P(P({},s),{},{values:"1;0;1;1;0;1;"})}),n.push(c),n.push({tag:"path",attributes:P(P({},o),{},{opacity:"1",d:"M263.7,312h-16c-6.6,0-12-5.4-12-12c0-71,77.4-63.9,77.4-107.8c0-20-17.8-40.2-57.4-40.2c-29.1,0-44.3,9.6-59.2,28.7 c-3.9,5-11.1,6-16.2,2.4l-13.1-9.2c-5.6-3.9-6.9-11.8-2.6-17.2c21.2-27.2,46.4-44.7,91.2-44.7c52.3,0,97.4,29.8,97.4,80.2 c0,67.6-77.4,63.5-77.4,107.8C275.7,306.6,270.3,312,263.7,312z"}),children:r?[]:[{tag:"animate",attributes:P(P({},s),{},{values:"1;0;0;0;0;1;"})}]}),r||n.push({tag:"path",attributes:P(P({},o),{},{opacity:"0",d:"M232.5,134.5l7,168c0.3,6.4,5.6,11.5,12,11.5h9c6.4,0,11.7-5.1,12-11.5l7-168c0.3-6.8-5.2-12.5-12-12.5h-23 C237.7,122,232.2,127.7,232.5,134.5z"}),children:[{tag:"animate",attributes:P(P({},s),{},{values:"0;0;1;1;0;0;"})}]}),{tag:"g",attributes:{class:"missing"},children:n}}}},Mb={hooks:function(){return{parseNodeAttributes:function(r,n){var o=n.getAttribute("data-fa-symbol"),i=o===null?!1:o===""?!0:o;return r.symbol=i,r}}}},Fb=[_g,vb,gb,bb,Sb,Cb,Tb,Nb,Bb,Ib,Mb];zg(Fb,{mixoutsTo:Pe});Pe.noAuto;var wu=Pe.config;Pe.library;Pe.dom;var Kn=Pe.parse;Pe.findIconDefinition;Pe.toHtml;var Rb=Pe.icon;Pe.layer;var Db=Pe.text;Pe.counter;function si(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}function jb(e){if(Array.isArray(e))return si(e)}function Ee(e,t,r){return(t=Wb(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Lb(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function Vb(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
575
+ In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function ll(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),r.push.apply(r,n)}return r}function Le(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?ll(Object(r),!0).forEach(function(n){Ee(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):ll(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function Ub(e,t){if(e==null)return{};var r,n,o=zb(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)===-1&&{}.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}function zb(e,t){if(e==null)return{};var r={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(t.indexOf(n)!==-1)continue;r[n]=e[n]}return r}function li(e){return jb(e)||Lb(e)||qb(e)||Vb()}function Hb(e,t){if(typeof e!="object"||!e)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t);if(typeof n!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function Wb(e){var t=Hb(e,"string");return typeof t=="symbol"?t:t+""}function Jn(e){"@babel/helpers - typeof";return Jn=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Jn(e)}function qb(e,t){if(e){if(typeof e=="string")return si(e,t);var r={}.toString.call(e).slice(8,-1);return r==="Object"&&e.constructor&&(r=e.constructor.name),r==="Map"||r==="Set"?Array.from(e):r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?si(e,t):void 0}}function Dr(e,t){return Array.isArray(t)&&t.length>0||!Array.isArray(t)&&t?Ee({},e,t):{}}function Yb(e){var t,r=(t={"fa-spin":e.spin,"fa-pulse":e.pulse,"fa-fw":e.fixedWidth,"fa-border":e.border,"fa-li":e.listItem,"fa-inverse":e.inverse,"fa-flip":e.flip===!0,"fa-flip-horizontal":e.flip==="horizontal"||e.flip==="both","fa-flip-vertical":e.flip==="vertical"||e.flip==="both"},Ee(Ee(Ee(Ee(Ee(Ee(Ee(Ee(Ee(Ee(t,"fa-".concat(e.size),e.size!==null),"fa-rotate-".concat(e.rotation),e.rotation!==null),"fa-rotate-by",e.rotateBy),"fa-pull-".concat(e.pull),e.pull!==null),"fa-swap-opacity",e.swapOpacity),"fa-bounce",e.bounce),"fa-shake",e.shake),"fa-beat",e.beat),"fa-fade",e.fade),"fa-beat-fade",e.beatFade),Ee(Ee(Ee(Ee(t,"fa-flash",e.flash),"fa-spin-pulse",e.spinPulse),"fa-spin-reverse",e.spinReverse),"fa-width-auto",e.widthAuto));return Object.keys(r).map(function(n){return r[n]?n:null}).filter(function(n){return n})}var Gb=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:typeof global!="undefined"?global:typeof self!="undefined"?self:{},Eu={exports:{}};(function(e){(function(t){var r=function(S,k,O){if(!f(k)||h(k)||v(k)||w(k)||u(k))return k;var M,R=0,I=0;if(d(k))for(M=[],I=k.length;R<I;R++)M.push(r(S,k[R],O));else{M={};for(var j in k)Object.prototype.hasOwnProperty.call(k,j)&&(M[S(j,O)]=r(S,k[j],O))}return M},n=function(S,k){k=k||{};var O=k.separator||"_",M=k.split||/(?=[A-Z])/;return S.split(M).join(O)},o=function(S){return m(S)?S:(S=S.replace(/[\-_\s]+(.)?/g,function(k,O){return O?O.toUpperCase():""}),S.substr(0,1).toLowerCase()+S.substr(1))},i=function(S){var k=o(S);return k.substr(0,1).toUpperCase()+k.substr(1)},s=function(S,k){return n(S,k).toLowerCase()},c=Object.prototype.toString,u=function(S){return typeof S=="function"},f=function(S){return S===Object(S)},d=function(S){return c.call(S)=="[object Array]"},h=function(S){return c.call(S)=="[object Date]"},v=function(S){return c.call(S)=="[object RegExp]"},w=function(S){return c.call(S)=="[object Boolean]"},m=function(S){return S=S-0,S===S},y=function(S,k){var O=k&&"process"in k?k.process:k;return typeof O!="function"?S:function(M,R){return O(M,S,R)}},b={camelize:o,decamelize:s,pascalize:i,depascalize:s,camelizeKeys:function(S,k){return r(y(o,k),S)},decamelizeKeys:function(S,k){return r(y(s,k),S,k)},pascalizeKeys:function(S,k){return r(y(i,k),S)},depascalizeKeys:function(){return this.decamelizeKeys.apply(this,arguments)}};e.exports?e.exports=b:t.humps=b})(Gb)})(Eu);var Kb=Eu.exports,Jb=["class","style"];function Xb(e){return e.split(";").map(function(t){return t.trim()}).filter(function(t){return t}).reduce(function(t,r){var n=r.indexOf(":"),o=Kb.camelize(r.slice(0,n)),i=r.slice(n+1).trim();return t[o]=i,t},{})}function Qb(e){return e.split(/\s+/).reduce(function(t,r){return t[r]=!0,t},{})}function Pi(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};if(typeof e=="string")return e;var n=(e.children||[]).map(function(u){return Pi(u)}),o=Object.keys(e.attributes||{}).reduce(function(u,f){var d=e.attributes[f];switch(f){case"class":u.class=Qb(d);break;case"style":u.style=Xb(d);break;default:u.attrs[f]=d}return u},{attrs:{},class:{},style:{}});r.class;var i=r.style,s=i===void 0?{}:i,c=Ub(r,Jb);return a.h(e.tag,Le(Le(Le({},t),{},{class:o.class,style:Le(Le({},o.style),s)},o.attrs),c),n)}var ku=!1;try{ku=process.env.NODE_ENV==="production"}catch{}function Zb(){if(!ku&&console&&typeof console.error=="function"){var e;(e=console).error.apply(e,arguments)}}function cl(e){if(e&&Jn(e)==="object"&&e.prefix&&e.iconName&&e.icon)return e;if(Kn.icon)return Kn.icon(e);if(e===null)return null;if(Jn(e)==="object"&&e.prefix&&e.iconName)return e;if(Array.isArray(e)&&e.length===2)return{prefix:e[0],iconName:e[1]};if(typeof e=="string")return{prefix:"fas",iconName:e}}var ie=a.defineComponent({name:"FontAwesomeIcon",props:{border:{type:Boolean,default:!1},fixedWidth:{type:Boolean,default:!1},flip:{type:[Boolean,String],default:!1,validator:function(t){return[!0,!1,"horizontal","vertical","both"].indexOf(t)>-1}},icon:{type:[Object,Array,String],required:!0},mask:{type:[Object,Array,String],default:null},maskId:{type:String,default:null},listItem:{type:Boolean,default:!1},pull:{type:String,default:null,validator:function(t){return["right","left"].indexOf(t)>-1}},pulse:{type:Boolean,default:!1},rotation:{type:[String,Number],default:null,validator:function(t){return[90,180,270].indexOf(Number.parseInt(t,10))>-1}},rotateBy:{type:Boolean,default:!1},swapOpacity:{type:Boolean,default:!1},size:{type:String,default:null,validator:function(t){return["2xs","xs","sm","lg","xl","2xl","1x","2x","3x","4x","5x","6x","7x","8x","9x","10x"].indexOf(t)>-1}},spin:{type:Boolean,default:!1},transform:{type:[String,Object],default:null},symbol:{type:[Boolean,String],default:!1},title:{type:String,default:null},titleId:{type:String,default:null},inverse:{type:Boolean,default:!1},bounce:{type:Boolean,default:!1},shake:{type:Boolean,default:!1},beat:{type:Boolean,default:!1},fade:{type:Boolean,default:!1},beatFade:{type:Boolean,default:!1},flash:{type:Boolean,default:!1},spinPulse:{type:Boolean,default:!1},spinReverse:{type:Boolean,default:!1},widthAuto:{type:Boolean,default:!1}},setup:function(t,r){var n=r.attrs,o=a.computed(function(){return cl(t.icon)}),i=a.computed(function(){return Dr("classes",Yb(t))}),s=a.computed(function(){return Dr("transform",typeof t.transform=="string"?Kn.transform(t.transform):t.transform)}),c=a.computed(function(){return Dr("mask",cl(t.mask))}),u=a.computed(function(){var d=Le(Le(Le(Le({},i.value),s.value),c.value),{},{symbol:t.symbol,maskId:t.maskId});return d.title=t.title,d.titleId=t.titleId,Rb(o.value,d)});a.watch(u,function(d){if(!d)return Zb("Could not find one or more icon(s)",o.value,c.value)},{immediate:!0});var f=a.computed(function(){return u.value?Pi(u.value.abstract[0],{},n):null});return function(){return f.value}}});a.defineComponent({name:"FontAwesomeLayers",props:{fixedWidth:{type:Boolean,default:!1}},setup:function(t,r){var n=r.slots,o=wu.familyPrefix,i=a.computed(function(){return["".concat(o,"-layers")].concat(li(t.fixedWidth?["".concat(o,"-fw")]:[]))});return function(){return a.h("div",{class:i.value},n.default?n.default():[])}}});a.defineComponent({name:"FontAwesomeLayersText",props:{value:{type:[String,Number],default:""},transform:{type:[String,Object],default:null},counter:{type:Boolean,default:!1},position:{type:String,default:null,validator:function(t){return["bottom-left","bottom-right","top-left","top-right"].indexOf(t)>-1}}},setup:function(t,r){var n=r.attrs,o=wu.familyPrefix,i=a.computed(function(){return Dr("classes",[].concat(li(t.counter?["".concat(o,"-layers-counter")]:[]),li(t.position?["".concat(o,"-layers-").concat(t.position)]:[])))}),s=a.computed(function(){return Dr("transform",typeof t.transform=="string"?Kn.transform(t.transform):t.transform)}),c=a.computed(function(){var f=Db(t.value.toString(),Le(Le({},s.value),i.value)),d=f.abstract;return t.counter&&(d[0].attributes.class=d[0].attributes.class.replace("fa-layers-text","")),d[0]}),u=a.computed(function(){return Pi(c.value,{},n)});return function(){return u.value}}});const eS=["value","disabled"],tS={class:"s-checkbox-label"},Au={__name:"SCheckbox",props:a.mergeModels({value:[String,Number],disabled:Boolean},{modelValue:{},modelModifiers:{}}),emits:a.mergeModels(["change"],["update:modelValue"]),setup(e,{emit:t}){const r=e,n=a.useModel(e,"modelValue"),o=a.inject("groupValue",null),i=a.computed({get(){var u;return o!=null&&r.value!=null?(u=o.value.includes(r.value))!=null?u:!1:n.value},set(u){o&&r.value!=null&&(o.value.includes(r.value)?o.value.splice(o.value.indexOf(r.value),1):o.value.push(r.value)),n.value=u}}),s=t;function c(){r.disabled||(i.value=!i.value,s("change",i.value))}return(u,f)=>(a.openBlock(),a.createElementBlock("div",{class:a.normalizeClass(["s-checkbox",{disabled:e.disabled}]),onClick:c},[a.createElementVNode("div",{class:a.normalizeClass(["s-checkbox-box",{checked:i.value}])},[a.createElementVNode("input",{class:"s-checkbox-box-input",type:"checkbox",value:i.value,disabled:e.disabled},null,8,eS),a.createVNode(a.unref(ie),{icon:"check",class:"checked-icon"})],2),a.createElementVNode("div",tS,[a.renderSlot(u.$slots,"default")])],2))}},rS=["value"],nS={class:"s-radio-text"},Xn={__name:"SRadio",props:{value:{type:[Number,String,Boolean],required:!0},disabled:Boolean,labelClass:String},emits:["change"],setup(e,{emit:t}){const r=e,n=t,o=a.inject("sRadioGroupModel"),i=a.computed({get:()=>{const s=["",null,void 0];return s.includes(r.value)&&s.includes(o.value)?r.value:o.value},set:s=>{r.disabled||(o.value=s)}});return(s,c)=>(a.openBlock(),a.createElementBlock("label",{class:a.normalizeClass(["s-radio",[e.labelClass,{disabled:e.disabled}]])},[a.withDirectives(a.createElementVNode("input",{type:"radio",value:e.value,"onUpdate:modelValue":c[0]||(c[0]=u=>i.value=u),onChange:c[1]||(c[1]=u=>n("change",e.value))},null,40,rS),[[a.vModelRadio,i.value]]),a.createElementVNode("span",nS,[a.renderSlot(s.$slots,"default")])],2))}},aS={class:"s-radiogroup"},oS=["innerHTML"],xu={__name:"SRadioGroup",props:a.mergeModels({options:Object,buttons:Boolean,vertical:Boolean,placeholder:String},{modelValue:{},modelModifiers:{}}),emits:a.mergeModels(["change"],["update:modelValue"]),setup(e,{emit:t}){const r=e,n=t,o=a.useModel(e,"modelValue"),i=a.computed(()=>!r.options||Object.values(r.options)===0?{}:Object.entries(r.options).map(([s,c])=>{let u=s;return s==="true"&&(u=!0),s==="false"&&(u=!1),!isNaN(s)&&s!==""&&(u=Number(s)),{value:u,title:c}}));return a.onMounted(()=>{var s;o.value===null&&Object.values((s=r.options)!=null?s:{}).length&&(o.value=Object.keys(r.options)[0])}),a.provide("sRadioGroupModel",o),a.watch(o,s=>{n("change",s)}),(s,c)=>(a.openBlock(),a.createElementBlock("div",aS,[a.createElementVNode("div",{class:a.normalizeClass(["s-radiogroup-container",{buttons:e.buttons,vertical:e.vertical}])},[e.placeholder?(a.openBlock(),a.createBlock(Xn,{key:0,value:""},{default:a.withCtx(()=>[a.createTextVNode(a.toDisplayString(e.placeholder),1)]),_:1})):a.createCommentVNode("",!0),Object.values(s.$slots).length?a.renderSlot(s.$slots,"default",{key:1}):a.createCommentVNode("",!0),(a.openBlock(!0),a.createElementBlock(a.Fragment,null,a.renderList(i.value,({value:u,title:f})=>(a.openBlock(),a.createBlock(Xn,{key:u,value:u},{default:a.withCtx(()=>[a.createElementVNode("span",{innerHTML:f},null,8,oS)]),_:2},1032,["value"]))),128))],2)]))}},iS={class:"s-switch-control",id:"s-switch"},sS={class:"s-switch-label"},Ou={__name:"SSwitch",props:a.mergeModels({disabled:Boolean,trueValue:{type:[Boolean,String,Number],default:!0},falseValue:{type:[Boolean,String,Number],default:!1}},{modelValue:{},modelModifiers:{}}),emits:["update:modelValue"],setup(e){const t=e,r=a.useModel(e,"modelValue");a.onMounted(()=>{r.value=r.value===t.trueValue?t.trueValue:t.falseValue});function n(){t.disabled||(r.value=r.value===t.trueValue?t.falseValue:t.trueValue)}return(o,i)=>(a.openBlock(),a.createElementBlock("div",{class:a.normalizeClass(["s-switch",{active:r.value===e.trueValue,disabled:e.disabled}]),onClick:n},[a.createElementVNode("div",iS,[i[1]||(i[1]=a.createElementVNode("div",{class:"s-switch-control-activearea"},[a.createElementVNode("div",{class:"s-switch-control-activearea-button"})],-1)),a.withDirectives(a.createElementVNode("input",{type:"checkbox","onUpdate:modelValue":i[0]||(i[0]=s=>r.value=s)},null,512),[[a.vModelCheckbox,r.value]])]),a.createElementVNode("label",sS,[a.renderSlot(o.$slots,"default")])],2))}};var _u={exports:{}};(function(e,t){(function(r,n){e.exports=n()})(Ae,function(){var r=1e3,n=6e4,o=36e5,i="millisecond",s="second",c="minute",u="hour",f="day",d="week",h="month",v="quarter",w="year",m="date",y="Invalid Date",b=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,S=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,k={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(B){var T=["th","st","nd","rd"],x=B%100;return"["+B+(T[(x-20)%10]||T[x]||T[0])+"]"}},O=function(B,T,x){var V=String(B);return!V||V.length>=T?B:""+Array(T+1-V.length).join(x)+B},M={s:O,z:function(B){var T=-B.utcOffset(),x=Math.abs(T),V=Math.floor(x/60),N=x%60;return(T<=0?"+":"-")+O(V,2,"0")+":"+O(N,2,"0")},m:function B(T,x){if(T.date()<x.date())return-B(x,T);var V=12*(x.year()-T.year())+(x.month()-T.month()),N=T.clone().add(V,h),U=x-N<0,F=T.clone().add(V+(U?-1:1),h);return+(-(V+(x-N)/(U?N-F:F-N))||0)},a:function(B){return B<0?Math.ceil(B)||0:Math.floor(B)},p:function(B){return{M:h,y:w,w:d,d:f,D:m,h:u,m:c,s,ms:i,Q:v}[B]||String(B||"").toLowerCase().replace(/s$/,"")},u:function(B){return B===void 0}},R="en",I={};I[R]=k;var j="$isDayjsObject",W=function(B){return B instanceof L||!(!B||!B[j])},D=function B(T,x,V){var N;if(!T)return R;if(typeof T=="string"){var U=T.toLowerCase();I[U]&&(N=U),x&&(I[U]=x,N=U);var F=T.split("-");if(!N&&F.length>1)return B(F[0])}else{var X=T.name;I[X]=T,N=X}return!V&&N&&(R=N),N||!V&&R},_=function(B,T){if(W(B))return B.clone();var x=typeof T=="object"?T:{};return x.date=B,x.args=arguments,new L(x)},$=M;$.l=D,$.i=W,$.w=function(B,T){return _(B,{locale:T.$L,utc:T.$u,x:T.$x,$offset:T.$offset})};var L=function(){function B(x){this.$L=D(x.locale,null,!0),this.parse(x),this.$x=this.$x||x.x||{},this[j]=!0}var T=B.prototype;return T.parse=function(x){this.$d=function(V){var N=V.date,U=V.utc;if(N===null)return new Date(NaN);if($.u(N))return new Date;if(N instanceof Date)return new Date(N);if(typeof N=="string"&&!/Z$/i.test(N)){var F=N.match(b);if(F){var X=F[2]-1||0,te=(F[7]||"0").substring(0,3);return U?new Date(Date.UTC(F[1],X,F[3]||1,F[4]||0,F[5]||0,F[6]||0,te)):new Date(F[1],X,F[3]||1,F[4]||0,F[5]||0,F[6]||0,te)}}return new Date(N)}(x),this.init()},T.init=function(){var x=this.$d;this.$y=x.getFullYear(),this.$M=x.getMonth(),this.$D=x.getDate(),this.$W=x.getDay(),this.$H=x.getHours(),this.$m=x.getMinutes(),this.$s=x.getSeconds(),this.$ms=x.getMilliseconds()},T.$utils=function(){return $},T.isValid=function(){return this.$d.toString()!==y},T.isSame=function(x,V){var N=_(x);return this.startOf(V)<=N&&N<=this.endOf(V)},T.isAfter=function(x,V){return _(x)<this.startOf(V)},T.isBefore=function(x,V){return this.endOf(V)<_(x)},T.$g=function(x,V,N){return $.u(x)?this[V]:this.set(N,x)},T.unix=function(){return Math.floor(this.valueOf()/1e3)},T.valueOf=function(){return this.$d.getTime()},T.startOf=function(x,V){var N=this,U=!!$.u(V)||V,F=$.p(x),X=function(Be,fe){var Oe=$.w(N.$u?Date.UTC(N.$y,fe,Be):new Date(N.$y,fe,Be),N);return U?Oe:Oe.endOf(f)},te=function(Be,fe){return $.w(N.toDate()[Be].apply(N.toDate("s"),(U?[0,0,0,0]:[23,59,59,999]).slice(fe)),N)},Z=this.$W,ae=this.$M,q=this.$D,Me="set"+(this.$u?"UTC":"");switch(F){case w:return U?X(1,0):X(31,11);case h:return U?X(1,ae):X(0,ae+1);case d:var Fe=this.$locale().weekStart||0,he=(Z<Fe?Z+7:Z)-Fe;return X(U?q-he:q+(6-he),ae);case f:case m:return te(Me+"Hours",0);case u:return te(Me+"Minutes",1);case c:return te(Me+"Seconds",2);case s:return te(Me+"Milliseconds",3);default:return this.clone()}},T.endOf=function(x){return this.startOf(x,!1)},T.$set=function(x,V){var N,U=$.p(x),F="set"+(this.$u?"UTC":""),X=(N={},N[f]=F+"Date",N[m]=F+"Date",N[h]=F+"Month",N[w]=F+"FullYear",N[u]=F+"Hours",N[c]=F+"Minutes",N[s]=F+"Seconds",N[i]=F+"Milliseconds",N)[U],te=U===f?this.$D+(V-this.$W):V;if(U===h||U===w){var Z=this.clone().set(m,1);Z.$d[X](te),Z.init(),this.$d=Z.set(m,Math.min(this.$D,Z.daysInMonth())).$d}else X&&this.$d[X](te);return this.init(),this},T.set=function(x,V){return this.clone().$set(x,V)},T.get=function(x){return this[$.p(x)]()},T.add=function(x,V){var N,U=this;x=Number(x);var F=$.p(V),X=function(ae){var q=_(U);return $.w(q.date(q.date()+Math.round(ae*x)),U)};if(F===h)return this.set(h,this.$M+x);if(F===w)return this.set(w,this.$y+x);if(F===f)return X(1);if(F===d)return X(7);var te=(N={},N[c]=n,N[u]=o,N[s]=r,N)[F]||1,Z=this.$d.getTime()+x*te;return $.w(Z,this)},T.subtract=function(x,V){return this.add(-1*x,V)},T.format=function(x){var V=this,N=this.$locale();if(!this.isValid())return N.invalidDate||y;var U=x||"YYYY-MM-DDTHH:mm:ssZ",F=$.z(this),X=this.$H,te=this.$m,Z=this.$M,ae=N.weekdays,q=N.months,Me=N.meridiem,Fe=function(fe,Oe,Re,Ze){return fe&&(fe[Oe]||fe(V,U))||Re[Oe].slice(0,Ze)},he=function(fe){return $.s(X%12||12,fe,"0")},Be=Me||function(fe,Oe,Re){var Ze=fe<12?"AM":"PM";return Re?Ze.toLowerCase():Ze};return U.replace(S,function(fe,Oe){return Oe||function(Re){switch(Re){case"YY":return String(V.$y).slice(-2);case"YYYY":return $.s(V.$y,4,"0");case"M":return Z+1;case"MM":return $.s(Z+1,2,"0");case"MMM":return Fe(N.monthsShort,Z,q,3);case"MMMM":return Fe(q,Z);case"D":return V.$D;case"DD":return $.s(V.$D,2,"0");case"d":return String(V.$W);case"dd":return Fe(N.weekdaysMin,V.$W,ae,2);case"ddd":return Fe(N.weekdaysShort,V.$W,ae,3);case"dddd":return ae[V.$W];case"H":return String(X);case"HH":return $.s(X,2,"0");case"h":return he(1);case"hh":return he(2);case"a":return Be(X,te,!0);case"A":return Be(X,te,!1);case"m":return String(te);case"mm":return $.s(te,2,"0");case"s":return String(V.$s);case"ss":return $.s(V.$s,2,"0");case"SSS":return $.s(V.$ms,3,"0");case"Z":return F}return null}(fe)||F.replace(":","")})},T.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},T.diff=function(x,V,N){var U,F=this,X=$.p(V),te=_(x),Z=(te.utcOffset()-this.utcOffset())*n,ae=this-te,q=function(){return $.m(F,te)};switch(X){case w:U=q()/12;break;case h:U=q();break;case v:U=q()/3;break;case d:U=(ae-Z)/6048e5;break;case f:U=(ae-Z)/864e5;break;case u:U=ae/o;break;case c:U=ae/n;break;case s:U=ae/r;break;default:U=ae}return N?U:$.a(U)},T.daysInMonth=function(){return this.endOf(h).$D},T.$locale=function(){return I[this.$L]},T.locale=function(x,V){if(!x)return this.$L;var N=this.clone(),U=D(x,V,!0);return U&&(N.$L=U),N},T.clone=function(){return $.w(this.$d,this)},T.toDate=function(){return new Date(this.valueOf())},T.toJSON=function(){return this.isValid()?this.toISOString():null},T.toISOString=function(){return this.$d.toISOString()},T.toString=function(){return this.$d.toUTCString()},B}(),C=L.prototype;return _.prototype=C,[["$ms",i],["$s",s],["$m",c],["$H",u],["$W",f],["$M",h],["$y",w],["$D",m]].forEach(function(B){C[B[1]]=function(T){return this.$g(T,B[0],B[1])}}),_.extend=function(B,T){return B.$i||(B(T,L,_),B.$i=!0),_},_.locale=D,_.isDayjs=W,_.unix=function(B){return _(1e3*B)},_.en=I[R],_.Ls=I,_.p={},_})})(_u);var lS=_u.exports;const ce=na(lS),cS={key:0,class:"s-datepicker-radio"},uS={class:"s-datepicker-main"},fS={class:"s-datepicker-input"},dS=["value"],pS={class:"s-datepicker-input-icon"},mS={class:"s-datepicker-calendar-header-data"},hS={class:"calendar-grid"},yS=["onMousedown","onMouseover"],vS={key:0,class:"splitter"},$u={__name:"SDatePicker",props:a.mergeModels({range:Boolean,valueFormat:{type:String,default:"YYYYMMDD"},inputFormat:{type:String,default:"DD.MM.YYYY"},min:String,max:String,numberOfMonths:Number,weekDayNames:{type:Array,default(){return["Пн","Вт","Ср","Чт","Пт","Сб","Вс"]}},monthNames:{type:Array,default(){return["Январь","Февраль","Март","Апрель","Май","Июнь","Июль","Август","Сентябрь","Октябрь","Ноябрь","Декабрь"]}},buttons:Object},{modelValue:{},modelModifiers:{}}),emits:a.mergeModels(["update:modelValue","selectedInterval"],["update:modelValue"]),setup(e,{emit:t}){const r=e,n=a.useModel(e,"modelValue"),o=a.computed(()=>{let _=n.value;if(_===null&&r.buttons){const[$,L]=Object.values(r.buttons)[0].split("-");_=[$,L]}return r.valueFormat==="YYYYMMDD"||_===null?JSON.parse(JSON.stringify(_)):Array.isArray(_)?_.map($=>ce($,r.valueFormat).format("YYYYMMDD")):ce(_,r.valueFormat).format("YYYYMMDD")}),i=a.computed({get:()=>{var _,$;return($=(_=o.value)==null?void 0:_.join("-"))!=null?$:""},set:_=>{n.value=_.split("-")}}),s=a.computed(()=>{var _;return(_=r.numberOfMonths)!=null?_:r.range?2:1}),c=a.computed(()=>r.range&&Array.isArray(o.value)?o.value.filter(Boolean).map(_=>ce(_,r.valueFormat).format(r.inputFormat)).join(" — "):o.value?ce(o.value,r.valueFormat).format(r.inputFormat):"Дата не выбрана"),u=a.ref(ce().format("YYYY")),f=a.ref(ce().format("MM")),d=a.computed(()=>{const _=[];for(let $=0;$<s.value;$++){let L=u.value+Math.floor((f.value-1+$)/12),C=(f.value-1+$)%12+1,B=(ce().year(L).month(C-1).startOf("month").day()+6)%7,T=ce().year(L).month(C-2).daysInMonth(),x=ce().year(L).month(C-1).daysInMonth(),V=(7-(x+B)%7)%7;_.push({year:L,month:C,daysInMonth:x,daysInPreviousMonth:T,previousMonthDaysTail:B,leadingNextMonthDays:V})}return _});function h(){u.value=f.value===1?u.value-1:u.value,f.value=f.value===1?12:f.value-1}function v(){u.value=f.value===12?u.value+1:u.value,f.value=f.value===12?1:f.value+1}const w=(_,$,L)=>_+($<10?"0":"")+$+(L<10?"0":"")+L,m=a.ref(!1);a.watch(m,_=>{if(_===!1)return;const $=n.value instanceof Array?n.value[0]:n.value;if($===null){f.value=ce().month()+1,u.value=ce().year();return}f.value=ce($,r.valueFormat).month()+1,u.value=ce($,r.valueFormat).year()});const y=(_,$,L)=>o.value instanceof Array?j.value?j.value===w(_,$,L):o.value.includes(w(_,$,L)):o.value===w(_,$,L),b=a.ref(null),S=(_,$,L)=>b.value=w(_,$,L),k=()=>b.value=null,O=a.computed(()=>{if(!r.range)return null;if(j.value){if(!b.value)return null;const _=j.value<b.value?j.value:b.value,$=j.value<b.value?b.value:j.value;return[_,$]}else if(o.value)return o.value;return null}),M=function(_,$,L){return O.value&&O.value[0]<=w(_,$,L)&&O.value[1]>=w(_,$,L)};function R(_,$,L){const C=r.min?ce(r.min,"YYYY-MM-DD"):null,B=r.max?ce(r.max,"YYYY-MM-DD"):null,T=ce().year(_).month($-1).date(L);return T.isBefore(C,"day")||T.isAfter(B,"day")}function I(_,$,L){return ce().year(_).month($-1).date(L).isSame(ce(),"day")}const j=a.ref(null);function W(_,$,L){if(!R(_,$,L))if(!r.range)n.value=ce().year(_).month($-1).date(L).format(r.valueFormat),m.value=!1;else if(!j.value)j.value=w(_,$,L);else{const C=w(_,$,L);let B=j.value<C?j.value:C,T=j.value<C?C:j.value;r.valueFormat!=="YYYYMMDD"&&(B=ce(B,"YYYYMMDD").format(r.valueFormat),T=ce(T,"YYYYMMDD").format(r.valueFormat)),n.value=[B,T],j.value=null,m.value=!1}}Ct.useEventListener(document,"mousedown",_=>{m.value=!1,j.value=null});const D=a.computed(()=>r.buttons?Object.fromEntries(Object.entries(r.buttons).map(([_,$])=>[$,_])):[]);return(_,$)=>(a.openBlock(),a.createElementBlock("div",{class:"s-datepicker",onClick:$[3]||($[3]=L=>m.value=!m.value),onMousedown:$[4]||($[4]=a.withModifiers(()=>{},["prevent","stop"]))},[e.buttons&&Object.values(e.buttons).length?(a.openBlock(),a.createElementBlock("div",cS,[a.createVNode(xu,{modelValue:i.value,"onUpdate:modelValue":$[0]||($[0]=L=>i.value=L),options:D.value,buttons:""},null,8,["modelValue","options"])])):a.createCommentVNode("",!0),a.createElementVNode("div",uS,[a.createElementVNode("div",fS,[a.createElementVNode("input",{readonly:"",value:c.value},null,8,dS),a.createElementVNode("span",pS,[a.createVNode(a.unref(ie),{icon:["far","calendar"]})])]),m.value?(a.openBlock(),a.createElementBlock("div",{key:0,class:"s-datepicker-calendar",onClick:$[2]||($[2]=a.withModifiers(()=>{},["stop"]))},[(a.openBlock(!0),a.createElementBlock(a.Fragment,null,a.renderList(d.value,({month:L,year:C,daysInMonth:B,leadingNextMonthDays:T,previousMonthDaysTail:x,daysInPreviousMonth:V},N)=>(a.openBlock(),a.createElementBlock("div",{class:"s-datepicker-calendar-page",key:`${C}${L}`},[a.createElementVNode("div",null,[a.createElementVNode("div",{class:a.normalizeClass(["s-datepicker-calendar-header",{centered:N!==0&&N!==d.value.length-1}])},[N===0?(a.openBlock(),a.createElementBlock("div",{key:0,class:"s-datepicker-calendar-header-controls",onClick:h},[a.createVNode(a.unref(ie),{icon:"chevron-left"})])):a.createCommentVNode("",!0),a.createElementVNode("div",mS,a.toDisplayString(e.monthNames[L-1])+" "+a.toDisplayString(C),1),N===d.value.length-1?(a.openBlock(),a.createElementBlock("div",{key:1,class:"s-datepicker-calendar-header-controls",onClick:v},[a.createVNode(a.unref(ie),{icon:"chevron-right"})])):a.createCommentVNode("",!0)],2),a.createElementVNode("div",hS,[(a.openBlock(!0),a.createElementBlock(a.Fragment,null,a.renderList(e.weekDayNames,(U,F)=>(a.openBlock(),a.createElementBlock("span",{key:F,class:"day-name"},a.toDisplayString(U),1))),128)),(a.openBlock(!0),a.createElementBlock(a.Fragment,null,a.renderList(x,U=>(a.openBlock(),a.createElementBlock("div",{key:w(C,L,U),class:"day blocked"},a.toDisplayString(U+V-x),1))),128)),(a.openBlock(!0),a.createElementBlock(a.Fragment,null,a.renderList(B,U=>(a.openBlock(),a.createElementBlock("div",{key:w(C,L,U),class:a.normalizeClass(["day",{selected:y(C,L,U),inrange:M(C,L,U),today:I(C,L,U),blocked:R(C,L,U)}]),onMousedown:F=>W(C,L,U),onMouseover:F=>S(C,L,U),onMouseout:$[1]||($[1]=F=>k())},a.toDisplayString(U),43,yS))),128)),(a.openBlock(!0),a.createElementBlock(a.Fragment,null,a.renderList(T,U=>(a.openBlock(),a.createElementBlock("div",{key:w(C,L,U),class:"day blocked"},a.toDisplayString(U),1))),128))])]),N!==d.value.length-1?(a.openBlock(),a.createElementBlock("div",vS)):a.createCommentVNode("",!0)]))),128))])):a.createCommentVNode("",!0)])],32))}},gS={class:"s-htmleditor"},Cu={__name:"SHtmlEditor",props:a.mergeModels({uploadUrl:String,placeholder:String},{modelValue:{},modelModifiers:{}}),emits:a.mergeModels(["changeContent"],["update:modelValue"]),setup(e,{emit:t}){const r=t,n=e,o=a.useModel(e,"modelValue"),i=a.ref({license_key:"mit",selector:"textarea",height:500,placeholder:n.placeholder||"",menubar:!1,body_class:"g-html",block_formats:`
576
+ Обычный текст=p;
577
+ Заголовок 1=h1;
578
+ Заголовок 2=h2;
579
+ Заголовок 3=h3;
580
+ Заголовок 4=h4;
581
+ Цитата=blockquote;
582
+ Код=code;
583
+ Заметка=note;
584
+ Внимание=attention;
585
+ Успех=success;
586
+ Ошибка=error;`,content_style:`
587
+ .g-html {
588
+ line-height: 1.8;
589
+ }
590
+ .g-html img,
591
+ .g-html > div,
592
+ .g-html iframe {
593
+ max-width: 100%;
594
+ }
595
+ .g-html iframe {
596
+ max-width: 100%;
597
+ height: auto !important;
598
+ aspect-ratio: attr(width) / attr(height);
599
+ }
600
+ .g-html {
601
+ font-weight: normal;
602
+ }
603
+ .g-html h2:not(:first-child) {
604
+ margin-top: 30px;
605
+ }
606
+ .g-html li {
607
+ margin-bottom: 10px;
608
+ }
609
+ .g-html ul, ol li > p:last-child {
610
+ margin-bottom: 0;
611
+ }
612
+ .g-html blockquote {
613
+ margin-top: 0;
614
+ margin-left: 0;
615
+ margin-right: 0;
616
+ padding-left: 2rem;
617
+ border-left: 10px #d1d1d1 solid;
618
+ }
619
+ .g-html .s-note {
620
+ display: flex;
621
+ align-items: center;
622
+ border-radius: 6px;
623
+ margin-bottom: 2rem;
624
+ padding: 1rem 1.5rem;
625
+ gap: 1rem;
626
+ background-color: #d7ddf3;
627
+ color: #000;
628
+ }
629
+ .g-html .s-note p {
630
+ margin: 0;
631
+ }
632
+ .g-html .s-note > svg {
633
+ align-self: flex-start;
634
+ font-size: 24px;
635
+ color: #143B74;
636
+ }
637
+ .g-html .s-note.attention {
638
+ background-color: #faecd8;
639
+ }
640
+ .g-html .s-note.attention > svg {
641
+ color: #e6a23c;
642
+ }
643
+ .g-html .s-note.success {
644
+ background-color: #b8e5b8;
645
+ color: #3f983f;
646
+ }
647
+ .g-html .s-note.error {
648
+ background-color: #ffece8;
649
+ border-color: #ea524a;
650
+ color: #ea524a;
651
+ }
652
+ .s-img-bg {
653
+ padding: 15px;
654
+ display: flex;
655
+ background-color: #f2f3f4;
656
+ border-radius: 20px;
657
+ margin-bottom: 6px;
658
+ }
659
+ .s-img-bg img {
660
+ height: auto;
661
+ max-width: 50%;
662
+ margin: 0 auto;
663
+ border-radius: 6px;
664
+ }
665
+
666
+ .s-img-bg.s-img-fullwidth img {
667
+ max-width: 100%;
668
+ }
669
+
670
+ .s-img-bg.s-img-border img {
671
+ border: 1px solid #d1d1d1;
672
+ }`,skin_url:"/tinymce/skins/ui/oxide",plugins:["advlist","lists","link","image","charmap","fullscreen","insertdatetime","media","table","autolink","code"],toolbar:"blocks | bullist numlist | link image | media | fullscreen code ",branding:!1,promotion:!1,base_url:"/tinymce",suffix:".min",service_worker:!1,external_plugins:{},license_validator:()=>!0,images_upload_handler:function(u,f){return s(u)},convert_urls:!1,images_reuse_filename:!0,images_upload_url:n.uploadUrl,automatic_uploads:!0,resize_img_proportional:!0,image_dimensions:!0,image_class_list:[{title:"None",value:""},{title:"Background",value:"s-img-bg"},{title:"Border",value:"s-img-bg s-img-border"},{title:"Stretched",value:"s-img-bg s-img-fullwidth"}],media_live_embeds:!0,media_filter_html:!1,media_url_resolver:function(u,f,d){const h=/https:\/\/kinescope\.io\/embed\/([a-zA-Z0-9]+)/,v=u.url.match(h);if(v){const m=`<iframe
673
+ src="https://kinescope.io/embed/${v[1]}"
674
+ width="1280"
675
+ height="720"
676
+ frameborder="0"
677
+ allow="autoplay; fullscreen; picture-in-picture; encrypted-media; gyroscope; accelerometer"
678
+ allowfullscreen>
679
+ </iframe>`;f({html:m})}else f({html:""})},formats:{note:{block:"div",classes:["s-note","note"]},attention:{block:"div",classes:["s-note","attention"]},success:{block:"div",classes:["s-note","success"]},error:{block:"div",classes:["s-note","error"]}},setup(u){const f=v=>{const w=v.parentNode;return!!(w&&w.tagName&&w.tagName.toLowerCase()==="div"&&w.firstElementChild===v&&w.children.length===1)},d=v=>{if(!v||!v.parentNode||f(v))return;const w=u.getDoc(),m=v.parentNode,y=v.getAttribute&&v.getAttribute("class")||"";u.undoManager.transact(()=>{const b=w.createElement("div");y&&(b.className=y,v.removeAttribute("class")),m.insertBefore(b,v),b.appendChild(v)});try{u.nodeChanged()}catch{}},h=v=>{if(!v||!v.querySelectorAll)return;v.querySelectorAll("img").forEach(m=>{try{d(m)}catch{}})};u.on("init",()=>{const v=u.getDoc();if(!v)return;const w=u.insertContent.bind(u);u.insertContent=(y,b)=>{if(typeof y=="string"&&y.includes("<img")){const S=v.createElement("div");S.innerHTML=y,h(S),y=S.innerHTML}return w(y,b)},u.on("PastePostProcess",y=>{h(y.node)});const m=new MutationObserver(y=>{u.undoManager.transact(()=>{for(const b of y)if(b.type==="childList")b.addedNodes.forEach(S=>{if(S.nodeType!==1)return;(S.tagName&&S.tagName.toLowerCase())==="img"?d(S):h(S)});else if(b.type==="attributes"&&b.attributeName==="class"){const S=b.target;if(S&&S.tagName&&S.tagName.toLowerCase()==="img"){if(!f(S)&&(S.getAttribute("class")||"").trim())d(S);else if((S.getAttribute("class")||"").trim()){const k=S.parentNode,O=S.getAttribute&&S.getAttribute("class")||"";O&&(k.className=O,S.removeAttribute("class"))}}}});try{u.nodeChanged()}catch{}});m.observe(u.getBody(),{childList:!0,subtree:!0,attributes:!0,attributeFilter:["class"]}),u.on("remove",()=>m.disconnect())})}});async function s(u,f){const d=new FormData;d.append("file",u.blob(),u.filename());try{return(await se.post(n.uploadUrl,d)).data.location}catch(h){throw console.error("Upload error:",h),new Error("Image upload failed: "+h.message)}}function c(){r("changeContent")}return(u,f)=>(a.openBlock(),a.createElementBlock("div",gS,[a.createVNode(a.unref(lf),{init:i.value,modelValue:o.value,"onUpdate:modelValue":[f[0]||(f[0]=d=>o.value=d),c]},null,8,["init","modelValue"])]))}},Ur={__name:"SButton",props:{outlined:Boolean,transparent:Boolean,fullwidth:Boolean,small:Boolean,disabled:Boolean,loading:Boolean,color:String,is:[String,Object,Function]},setup(e){const t=e,r=a.inject("formModel",null),n=a.useAttrs(),o=a.computed(()=>t.is?t.is:n.href?"a":r?"button":"div"),i=a.computed(()=>["s-button",t.outlined&&"outlined",t.transparent&&"transparent",t.disabled&&"disabled",t.fullwidth&&"fullwidth",t.small&&"small",t.loading&&"loading",t.color&&`color_${t.color}`]);return(s,c)=>(a.openBlock(),a.createBlock(a.resolveDynamicComponent(o.value),{class:a.normalizeClass(i.value)},{default:a.withCtx(()=>[a.renderSlot(s.$slots,"default")]),_:3},8,["class"]))}},bS={class:"s-upload"},SS={class:"s-upload-header"},wS=["multiple","accept"],ES={key:0,class:"s-upload-content"},Tu={__name:"SUpload",props:a.mergeModels({url:String,accept:String,maxFileSize:Number,multiple:Boolean},{modelValue:{},modelModifiers:{}}),emits:a.mergeModels(["select","clear"],["update:modelValue"]),setup(e,{expose:t,emit:r}){const n=e,o=a.useModel(e,"modelValue"),i=r,s=a.useTemplateRef("fileInput"),c=()=>{s.value.click()},u=a.computed(()=>o.value?(Array.isArray(o.value)?o.value:[o.value]).map(y=>y instanceof File?y.name:y):[]);function f(m){const y=Array.from(m.target.files||[]).filter(d);if(y.length&&!u.value.includes(m.target.files[0].name)){if(n.multiple){const b=Array.isArray(o.value)?[...o.value]:[];o.value=[...b,...y]}else o.value=y[0];i("select",o.value)}}function d(m){return!(n.accept&&!h(m)||n.maxFileSize&&m.size>n.maxFileSize)}function h(m){const y=n.accept.split(",").map(S=>S.trim()),b="."+m.name.split(".").pop();return y.includes(b)}function v(m){Array.isArray(o.value)?o.value=o.value.filter(y=>y instanceof File?y.name!==m:y!==m):o.value=null}function w(){o.value=n.multiple?[]:null,i("clear")}return t({clear:w,remove:v}),(m,y)=>(a.openBlock(),a.createElementBlock("div",bS,[a.createElementVNode("div",SS,[m.$slots.header?a.renderSlot(m.$slots,"header",{key:0,choose:c,clear:w,files:o.value}):(a.openBlock(),a.createBlock(Ur,{key:1,class:"s-upload-button",outlined:"",onClick:a.withModifiers(c,["prevent"])},{default:a.withCtx(()=>[a.createVNode(a.unref(ie),{class:"s-upload-button-icon",icon:"plus"}),y[0]||(y[0]=a.createTextVNode("Выберите файл ",-1))]),_:1})),a.createElementVNode("input",{ref_key:"fileInput",ref:s,class:"s-upload-hiddeninput",type:"file",multiple:e.multiple,accept:e.accept,onChange:f},null,40,wS)]),u.value.length?(a.openBlock(),a.createElementBlock("div",ES,[m.$slots.preview?a.renderSlot(m.$slots,"preview",{key:0,files:u.value,remove:v}):(a.openBlock(!0),a.createElementBlock(a.Fragment,{key:1},a.renderList(u.value,(b,S)=>(a.openBlock(),a.createElementBlock("div",{key:`${b}-${S}`,class:"s-upload-content-item"},[a.createElementVNode("span",null,a.toDisplayString(b),1),a.createVNode(a.unref(ie),{icon:"xmark",class:"delete",onClick:k=>v(b)},null,8,["onClick"])]))),128))])):a.createCommentVNode("",!0),a.renderSlot(m.$slots,"default")]))}};function kS(e){var t=typeof e;return e!=null&&(t=="object"||t=="function")}var Nu=kS,AS=typeof Ae=="object"&&Ae&&Ae.Object===Object&&Ae,xS=AS,OS=xS,_S=typeof self=="object"&&self&&self.Object===Object&&self,$S=OS||_S||Function("return this")(),Pu=$S,CS=Pu,TS=function(){return CS.Date.now()},NS=TS,PS=/\s/;function BS(e){for(var t=e.length;t--&&PS.test(e.charAt(t)););return t}var IS=BS,MS=IS,FS=/^\s+/;function RS(e){return e&&e.slice(0,MS(e)+1).replace(FS,"")}var DS=RS,jS=Pu,LS=jS.Symbol,Bu=LS,ul=Bu,Iu=Object.prototype,VS=Iu.hasOwnProperty,US=Iu.toString,Tr=ul?ul.toStringTag:void 0;function zS(e){var t=VS.call(e,Tr),r=e[Tr];try{e[Tr]=void 0;var n=!0}catch{}var o=US.call(e);return n&&(t?e[Tr]=r:delete e[Tr]),o}var HS=zS,WS=Object.prototype,qS=WS.toString;function YS(e){return qS.call(e)}var GS=YS,fl=Bu,KS=HS,JS=GS,XS="[object Null]",QS="[object Undefined]",dl=fl?fl.toStringTag:void 0;function ZS(e){return e==null?e===void 0?QS:XS:dl&&dl in Object(e)?KS(e):JS(e)}var e1=ZS;function t1(e){return e!=null&&typeof e=="object"}var r1=t1,n1=e1,a1=r1,o1="[object Symbol]";function i1(e){return typeof e=="symbol"||a1(e)&&n1(e)==o1}var s1=i1,l1=DS,pl=Nu,c1=s1,ml=NaN,u1=/^[-+]0x[0-9a-f]+$/i,f1=/^0b[01]+$/i,d1=/^0o[0-7]+$/i,p1=parseInt;function m1(e){if(typeof e=="number")return e;if(c1(e))return ml;if(pl(e)){var t=typeof e.valueOf=="function"?e.valueOf():e;e=pl(t)?t+"":t}if(typeof e!="string")return e===0?e:+e;e=l1(e);var r=f1.test(e);return r||d1.test(e)?p1(e.slice(2),r?2:8):u1.test(e)?ml:+e}var h1=m1,y1=Nu,Bo=NS,hl=h1,v1="Expected a function",g1=Math.max,b1=Math.min;function S1(e,t,r){var n,o,i,s,c,u,f=0,d=!1,h=!1,v=!0;if(typeof e!="function")throw new TypeError(v1);t=hl(t)||0,y1(r)&&(d=!!r.leading,h="maxWait"in r,i=h?g1(hl(r.maxWait)||0,t):i,v="trailing"in r?!!r.trailing:v);function w(I){var j=n,W=o;return n=o=void 0,f=I,s=e.apply(W,j),s}function m(I){return f=I,c=setTimeout(S,t),d?w(I):s}function y(I){var j=I-u,W=I-f,D=t-j;return h?b1(D,i-W):D}function b(I){var j=I-u,W=I-f;return u===void 0||j>=t||j<0||h&&W>=i}function S(){var I=Bo();if(b(I))return k(I);c=setTimeout(S,y(I))}function k(I){return c=void 0,v&&n?w(I):(n=o=void 0,s)}function O(){c!==void 0&&clearTimeout(c),f=0,n=u=o=c=void 0}function M(){return c===void 0?s:k(Bo())}function R(){var I=Bo(),j=b(I);if(n=arguments,o=this,u=I,j){if(c===void 0)return m(u);if(h)return clearTimeout(c),c=setTimeout(S,t),w(u)}return c===void 0&&(c=setTimeout(S,t)),s}return R.cancel=O,R.flush=M,R}var w1=S1;const E1=na(w1),k1={class:"s-filter"},Mu={__name:"SFilter",props:{name:String,debounce:Number},setup(e){const t=e,r=a.inject("params",{}),n=a.useSlots(),o=a.ref(()=>{});a.watch(()=>[t.debounce,t.name],([c,u])=>{o.value=E1(f=>{r.value[u]=f},c!=null?c:0)},{immediate:!0});const i=a.ref(null),s=a.computed(()=>{var u;return(((u=n.default)==null?void 0:u.call(n))||[]).map(f=>{var d;return typeof f.type!="object"?f:(i.value=(d=r==null?void 0:r.value[t.name])!=null?d:null,i.value&&f.type.__name==="SDatePicker"&&f.props.range!==null&&(i.value=i.value.split("-")),a.cloneVNode(f,{modelValue:i.value,"onUpdate:modelValue":h=>{const v=Array.isArray(h)?h.join("-"):h;o.value(v)}}))})});return(c,u)=>(a.openBlock(),a.createElementBlock("div",k1,[e.name?(a.openBlock(!0),a.createElementBlock(a.Fragment,{key:0},a.renderList(s.value,(f,d)=>(a.openBlock(),a.createBlock(a.resolveDynamicComponent(f),{key:d}))),128)):a.createCommentVNode("",!0)]))}},A1={class:"s-filtergroup"},x1={__name:"SFilterGroup",setup(e){function t(){const i=new URLSearchParams(window.location.search);return Object.fromEntries(i.entries())}const r=a.ref({...t()});a.provide("params",r);const n=i=>{const s=Object.fromEntries(Object.entries(i).filter(([c,u])=>!["",null,void 0,!1].includes(u)&&c!=="page"));dt.get(window.location.pathname,new URLSearchParams(s),{preserveScroll:!0,preserveState:!0,replace:!0})};a.watch(r,i=>{n(i)},{deep:!0});const o=()=>{r.value={...t()}};return a.onMounted(()=>window.addEventListener("popstate",o)),a.onBeforeUnmount(()=>window.removeEventListener("popstate",o)),(i,s)=>(a.openBlock(),a.createElementBlock("div",A1,[a.renderSlot(i.$slots,"default")]))}},O1={key:0,ref:"theadRef"},_1={key:0},$1={key:0,class:"s-table-nodata"},C1={colspan:"100"},T1={key:1},N1={key:0},Fu={__name:"STable",props:{data:[Array,Object],hoverable:Boolean,striped:Boolean,nodata:{type:String,default:"Ничего не найдено"},scroll:{type:[String,null],default:null}},setup(e){const t=e,r=a.computed(()=>t.data?t.data instanceof Array?t.data.length===0:Object.values(t.data).length===0:!1);return(n,o)=>(a.openBlock(),a.createElementBlock("div",{class:a.normalizeClass(["s-table",{hoverable:e.hoverable,striped:e.striped,scrollon_top:t.scroll==="top"}])},[a.createElementVNode("table",null,[n.$slots.header||n.$slots.headers?(a.openBlock(),a.createElementBlock("thead",O1,[n.$slots.header?(a.openBlock(),a.createElementBlock("tr",_1,[a.renderSlot(n.$slots,"header")])):n.$slots.headers?a.renderSlot(n.$slots,"headers",{key:1}):a.createCommentVNode("",!0)],512)):a.createCommentVNode("",!0),a.createElementVNode("tbody",null,[n.$slots.row?(a.openBlock(),a.createElementBlock(a.Fragment,{key:0},[r.value?(a.openBlock(),a.createElementBlock("tr",$1,[a.createElementVNode("td",C1,[a.renderSlot(n.$slots,"nodata",{},()=>[a.createTextVNode(a.toDisplayString(e.nodata),1)])])])):a.createCommentVNode("",!0),(a.openBlock(!0),a.createElementBlock(a.Fragment,null,a.renderList(e.data,(i,s)=>(a.openBlock(),a.createElementBlock("tr",{key:`${s}-stable`},[a.renderSlot(n.$slots,"row",{row:i,index:s})]))),128))],64)):a.renderSlot(n.$slots,"default",{key:1})]),n.$slots.footer||n.$slots.footers?(a.openBlock(),a.createElementBlock("tfoot",T1,[n.$slots.footer?(a.openBlock(),a.createElementBlock("tr",N1,[a.renderSlot(n.$slots,"footer")])):a.createCommentVNode("",!0),n.$slots.footers?a.renderSlot(n.$slots,"footers",{key:1}):a.createCommentVNode("",!0)])):a.createCommentVNode("",!0)])],2))}},P1={key:0,class:"s-pagination-links"},B1=["innerHTML"],I1={class:"s-pagination-options"},M1={key:0,class:"s-options-pagination-perPage"},F1={key:1,class:"s-options-pagination-shown-counter"},R1={class:"s-pagination-options-shown-counter-range"},Ru={__name:"SPagination",props:{url:{type:String,default(){return location.pathname}},links:Object,total:Number,preserveScroll:{type:Boolean,default:!0},preserveState:{type:Boolean,default:!1},perPageOptions:Array,per_page:Number,from:Number,to:Number},setup(e){const t=e,r=a.ref(t.per_page);function n(){const i=location.search.substring(1),s=i?JSON.parse('{"'+decodeURI(i).replace(/"/g,'\\"').replace(/&/g,'","').replace(/=/g,'":"')+'"}'):{};delete s.page,s.perpage=r.value,dt.get(t.url,s,{preserveScroll:t.preserveScroll})}const o=t.perPageOptions?Object.entries(t.perPageOptions).reduce((i,[s,c])=>(i[parseInt(c)]=`По ${c}`,i),{}):null;return(i,s)=>{const c=a.resolveComponent("Link");return a.openBlock(),a.createElementBlock("div",{class:a.normalizeClass(["s-pagination",{"s-pagination-right":e.links.length<=3}])},[e.links.length>3?(a.openBlock(),a.createElementBlock("div",P1,[(a.openBlock(!0),a.createElementBlock(a.Fragment,null,a.renderList(e.links,(u,f)=>(a.openBlock(),a.createElementBlock(a.Fragment,{key:f},[u.url&&!u.active?(a.openBlock(),a.createBlock(c,{key:0,class:a.normalizeClass({active:u.active}),innerHTML:u.label,href:u.url?u.url.replace(/[\?\&]page\=1$/,""):"","preserve-scroll":e.preserveScroll,"preserve-state":e.preserveState},null,8,["class","innerHTML","href","preserve-scroll","preserve-state"])):(a.openBlock(),a.createElementBlock("span",{key:1,class:a.normalizeClass({active:u.active}),innerHTML:u.label},null,10,B1))],64))),128))])):a.createCommentVNode("",!0),a.createElementVNode("div",I1,[e.perPageOptions?(a.openBlock(),a.createElementBlock("div",M1,[a.createVNode(bi,{modelValue:r.value,"onUpdate:modelValue":s[0]||(s[0]=u=>r.value=u),options:a.unref(o),onChange:n},null,8,["modelValue","options"])])):a.createCommentVNode("",!0),e.from&&e.to&&e.total?(a.openBlock(),a.createElementBlock("div",F1,[s[1]||(s[1]=a.createTextVNode(" Показаны: ",-1)),a.createElementVNode("span",R1,a.toDisplayString(e.from)+" - "+a.toDisplayString(e.to),1),a.createTextVNode(" из "+a.toDisplayString(e.total),1)])):a.createCommentVNode("",!0)])],2)}}},D1=["onClick","onDragstart","draggable","onDragover","onDrop"],Du={__name:"STree",props:a.mergeModels({data:{type:Array,required:!0},expandedKeys:{type:Array,default:[]},draggable:Boolean,selectable:Boolean,storeExpandedKeysTo:String},{modelValue:{},modelModifiers:{}}),emits:a.mergeModels(["dragstart","drop","change"],["update:modelValue"]),setup(e,{emit:t}){const r=e,n=t,o=a.useModel(e,"modelValue");let i=a.inject("sharedExpandedKeys",null);if(i===null){const y=r.storeExpandedKeysTo?JSON.parse(localStorage.getItem(r.storeExpandedKeysTo)):null;i=a.ref(y!=null?y:[...r.expandedKeys]),a.provide("sharedExpandedKeys",i)}a.watch(i,y=>{r.storeExpandedKeysTo&&localStorage.setItem(r.storeExpandedKeysTo,JSON.stringify(y))},{deep:!0});const s=a.inject("sharedDropTarget",a.ref(null));s.value||a.provide("sharedDropTarget",s);const c=a.inject("draggingNode",a.ref(null));c.value||a.provide("draggingNode",c);function u(y){r.selectable&&o.value!==y.id?(o.value=y.id,n("change",y)):f(y)}function f(y){if(i.value.includes(y.id)){const b=m(y);i.value=i.value.filter(S=>!b.includes(S)&&S!==y.id)}else i.value.push(y.id)}function d(y,b){c.value=y,i.value=i.value.filter(S=>S!==y.id),n("dragstart",y,b)}function h(y,b){var O;if(((O=c.value)==null?void 0:O.id)===y.id){s.value=null;return}const S=b.currentTarget.getBoundingClientRect(),k=b.clientY-S.top;k>=S.height*.35&&k<=S.height*.65?s.value={id:y.id,position:"center",relation:"inner"}:k<S.height*.35?s.value={id:y.id,position:"top",relation:"before"}:s.value={id:y.id,position:"bottom",relation:"after"}}function v(y){const b=y.currentTarget.getBoundingClientRect();if(y.clientY<b.top){if(r.data.length>0){const S=r.data[0];s.value={id:S.id,relation:"before"}}return}if(y.clientY>b.bottom){if(r.data.length>0){const S=r.data[r.data.length-1];s.value={id:S.id,relation:"after"}}return}s.value=null}function w(y,b){var k;if(c.value.id===y.id)return;const S=(k=s.value)==null?void 0:k.relation;n("drop",y,b,S),c.value=null,s.value=null}function m(y){let b=[];if(y.children)for(let S of y.children)b=b.concat(m(S));return b}return(y,b)=>{const S=a.resolveComponent("STree",!0);return a.openBlock(),a.createElementBlock("div",{class:"s-tree",onDragleave:v},[(a.openBlock(!0),a.createElementBlock(a.Fragment,null,a.renderList(e.data,k=>{var O,M,R,I,j,W;return a.openBlock(),a.createElementBlock(a.Fragment,{key:k.id},[a.createElementVNode("div",{class:a.normalizeClass(["s-tree-cell",{selected:o.value===k.id,expanded:a.unref(i).includes(k.id),dropTarget:((O=a.unref(s))==null?void 0:O.id)===k.id&&((M=a.unref(s))==null?void 0:M.position)==="center",dropTargetTop:((R=a.unref(s))==null?void 0:R.id)===k.id&&((I=a.unref(s))==null?void 0:I.position)==="top",dropTargetBottom:((j=a.unref(s))==null?void 0:j.id)===k.id&&((W=a.unref(s))==null?void 0:W.position)==="bottom"}]),onClick:a.withModifiers(D=>u(k),["stop"]),onDragstart:D=>d(k,D),draggable:e.draggable,onDragover:a.withModifiers(D=>h(k,D),["prevent"]),onDrop:D=>w(k,D)},[k.children&&k.children.length?(a.openBlock(),a.createBlock(a.unref(ie),{key:0,class:"s-tree-toggle",icon:"caret-right",onClick:a.withModifiers(D=>f(k),["stop"])},null,8,["onClick"])):a.createCommentVNode("",!0),y.$slots.node?a.renderSlot(y.$slots,"node",{key:1,node:k}):(a.openBlock(),a.createElementBlock(a.Fragment,{key:2},[a.createTextVNode(a.toDisplayString(k.label),1)],64))],42,D1),k.children&&a.unref(i).includes(k.id)?(a.openBlock(),a.createBlock(S,{key:0,modelValue:o.value,"onUpdate:modelValue":b[0]||(b[0]=D=>o.value=D),draggable:e.draggable,data:k.children,onDragstart:(D,_)=>n("dragstart",D,_),onDrop:b[1]||(b[1]=(D,_,$)=>n("drop",D,_,$)),selectable:e.selectable,onChange:D=>n("change",D)},a.createSlots({_:2},[y.$slots.node?{name:"node",fn:a.withCtx(({node:D})=>[a.renderSlot(y.$slots,"node",{node:D})]),key:"0"}:void 0]),1032,["modelValue","draggable","data","onDragstart","selectable","onChange"])):a.createCommentVNode("",!0)],64)}),128))],32)}}},j1={key:0,class:"s-confirm"},L1={class:"s-confirm-dialog-body"},V1=["innerHTML"],U1={class:"s-confirm-buttons"},z1={__name:"SConfirm",setup(e,{expose:t}){const r=a.ref(!1),n=a.ref(""),o={title:"Необходимо подтверждение",cancelLabel:"Нет",acceptLabel:"Да",onAccept:()=>{},onCancel:()=>{}},i=a.ref({}),s=a.useTemplateRef("$dialog"),c=a.useTemplateRef("$header"),{x:u,y:f,style:d}=Ct.useDraggable(s,{handle:c});function h(m,y){n.value=m,i.value={...o,...y},r.value=!0,a.nextTick(()=>{var S;const b=(S=s.value)==null?void 0:S.getBoundingClientRect();b&&(u.value=window.innerWidth/2-b.width/2,f.value=window.innerHeight/2-b.height/2)})}function v(){i.value.onAccept(),i.value={},r.value=!1}function w(){i.value.onCancel(),i.value={},r.value=!1}return t({open:h}),(m,y)=>(a.openBlock(),a.createBlock(a.Teleport,{to:"body"},[r.value?(a.openBlock(),a.createElementBlock("div",j1,[a.createElementVNode("div",{class:"s-confirm-dialog",style:a.normalizeStyle(a.unref(d)),ref_key:"$dialog",ref:s},[a.createElementVNode("div",{class:"s-confirm-dialog-header",ref_key:"$header",ref:c},[a.createElementVNode("h2",null,a.toDisplayString(i.value.title),1),a.createVNode(a.unref(ie),{icon:"xmark",onClick:y[0]||(y[0]=b=>r.value=!1)})],512),a.createElementVNode("div",L1,[a.createElementVNode("p",{innerHTML:n.value},null,8,V1),a.createElementVNode("div",U1,[a.createVNode(Ur,{outlined:"",onClick:w},{default:a.withCtx(()=>[a.createTextVNode(a.toDisplayString(i.value.cancelLabel),1)]),_:1}),a.createVNode(Ur,{color:"red",onClick:v},{default:a.withCtx(()=>[a.createTextVNode(a.toDisplayString(i.value.acceptLabel),1)]),_:1})])])],4),a.createElementVNode("div",{class:"s-confirm-background",onClick:w})])):a.createCommentVNode("",!0)]))}};let _n;function H1(){if(_n)return _n;const e=document.createElement("div"),t=a.createVNode(z1);return a.render(t,e),document.body.appendChild(e.firstChild),_n=t.component.exposed,_n}const Bi={open(e,t={}){return H1().open(e,t)}},ju={__name:"SActionIcon",props:{icon:{type:[String,Array],required:!0},danger:Boolean,confirm:String,confirmTitle:{type:String,default:"Необходимо подтверждение"},is:[String,Object,Function]},emits:["click"],setup(e,{emit:t}){const r=e,n=t,o=a.useAttrs(),i=a.computed(()=>r.is?r.is:o.href?"a":"div");function s(){r.confirm?Bi.open(r.confirm,{title:r.confirmTitle,onAccept:()=>n("click")}):n("click")}return(c,u)=>(a.openBlock(),a.createBlock(a.resolveDynamicComponent(i.value),{class:a.normalizeClass(["s-actionicon",{danger:e.danger}]),onClick:s},{default:a.withCtx(()=>[a.createVNode(a.unref(ie),{icon:e.icon},null,8,["icon"])]),_:1},8,["class"]))}},W1={class:"s-tooltip"},Lu={__name:"STooltip",props:{at:{type:String,default:null,validator:e=>["top","bottom","right","left"].includes(e)},icon:{type:[String,Array],default:"circle-question"}},setup(e){const t=e,r=a.ref(!1),n=a.useTemplateRef("$tooltip"),o=a.useTemplateRef("$icon"),i=a.ref({}),s=a.ref(null);function c(){r.value||(r.value=!0,a.nextTick(()=>d()),document.addEventListener("mousemove",f),document.addEventListener("touchstart",f))}function u(){document.removeEventListener("mousemove",f),document.removeEventListener("touchstart",f),r.value=!1}function f(h){!o.value.contains(h.target)&&!n.value.contains(h.target)&&u()}function d(){const h=o.value.getBoundingClientRect(),v=n.value.getBoundingClientRect(),w={top:()=>({top:`${h.top-v.height+window.scrollY-5}px`,left:`${h.left+h.width/2-v.width/2}px`}),right:()=>({top:`${h.top+h.height/2+window.scrollY}px`,transform:"translateY(-50%)",left:`${h.right+8}px`}),bottom:()=>({top:`${h.bottom+window.scrollY+5}px`,left:`${h.left+h.width/2-v.width/2}px`}),left:()=>({top:`${h.top+h.height/2+window.scrollY}px`,transform:"translateY(-50%)",left:`${h.left-v.width-8}px`})};if(t.at){i.value=w[t.at](),s.value=t.at;return}window.innerHeight-h.top>v.height+10?(i.value=w.bottom(),s.value="bottom"):h.top>v.height+10?(i.value=w.top(),s.value="top"):window.innerWidth-h.right>v.width+10?(i.value=w.right(),s.value="right"):h.left>v.width+10?(i.value=w.left(),s.value="left"):(i.value=w.bottom(),s.value="bottom")}return(h,v)=>(a.openBlock(),a.createElementBlock("div",W1,[a.createElementVNode("div",{ref_key:"$icon",ref:o,onMouseenter:c,onTouchstart:c},[a.renderSlot(h.$slots,"icon",{},()=>[a.createVNode(a.unref(ie),{icon:e.icon,class:"s-tooltip-icon"},null,8,["icon"])]),v[0]||(v[0]=a.createElementVNode("div",{class:"s-tooltip-hoverarea"},null,-1))],544),r.value?(a.openBlock(),a.createBlock(a.Teleport,{key:0,to:"body"},[a.createElementVNode("div",{class:"s-tooltip-container",style:a.normalizeStyle(i.value)},[a.createElementVNode("div",{class:a.normalizeClass(["s-tooltip-text",[s.value]]),ref_key:"$tooltip",ref:n},[a.renderSlot(h.$slots,"default")],2)],4)])):a.createCommentVNode("",!0)]))}},q1={key:1,class:"s-note-title"},Vu={__name:"SNote",props:{icon:String,title:String,gray:Boolean,attention:Boolean,success:Boolean,error:Boolean},setup(e){return(t,r)=>(a.openBlock(),a.createElementBlock("div",{class:a.normalizeClass(["s-note",{gray:e.gray,attention:e.attention,success:e.success,error:e.error,has_icon:e.icon}])},[e.icon?(a.openBlock(),a.createBlock(a.unref(ie),{key:0,icon:e.icon},null,8,["icon"])):a.createCommentVNode("",!0),e.title?(a.openBlock(),a.createElementBlock("div",q1,a.toDisplayString(e.title),1)):a.createCommentVNode("",!0),a.renderSlot(t.$slots,"default")],2))}},Y1={class:"s-toggle-body"},Uu=a.defineComponent({__name:"SToggle",props:{title:String,opened:{type:Boolean,default:!1},color:{type:String,default:"bg"}},setup(e){const t=e,r=a.getCurrentInstance(),n=r==null?void 0:r.uid,o=a.ref(!!t.opened),i=a.inject("openedItem",a.ref(null)),s=a.inject("isMultiple",a.ref(!1));function c(){if(!s.value&&i){if(i.value===n){o.value=!1,i.value=null;return}i.value=n}o.value=!o.value}return a.onMounted(()=>{t.opened&&i&&(i.value=n)}),i&&a.watch(i,(u,f)=>{o.value=u===n&&u!==f}),(u,f)=>(a.openBlock(),a.createElementBlock("div",{class:a.normalizeClass(["s-toggle",[{opened:o.value},e.color]])},[a.createElementVNode("div",{class:"s-toggle-title",onClick:c},[a.renderSlot(u.$slots,"title",{},()=>[a.createTextVNode(a.toDisplayString(e.title),1)]),a.createVNode(a.unref(ie),{icon:o.value?"chevron-up":"chevron-down"},null,8,["icon"])]),a.createElementVNode("div",Y1,[a.renderSlot(u.$slots,"default")])],2))}}),G1={class:"s-togglegroup"},zu={__name:"SToggleGroup",props:{multiple:Boolean},setup(e){const t=e,r=a.ref(null),n=a.computed(()=>t.multiple);return a.provide("openedItem",r),a.provide("isMultiple",n),(o,i)=>(a.openBlock(),a.createElementBlock("div",G1,[a.renderSlot(o.$slots,"default")]))}},K1={class:"s-dialog"},J1={class:"s-dialog-window-body"},Hu={__name:"SDialog",props:a.mergeModels({title:String,width:String,notModal:Boolean},{modelValue:{},modelModifiers:{}}),emits:a.mergeModels(["overlay-click","hide"],["update:modelValue"]),setup(e,{emit:t}){const r=e,n=t,o=a.useModel(e,"modelValue"),i=a.useTemplateRef("$window"),s=a.useTemplateRef("$header"),{x:c,y:u,style:f}=Ct.useDraggable(i,{handle:s}),d=()=>{var y;const m=(y=i.value)==null?void 0:y.getBoundingClientRect();m&&(c.value=document.documentElement.clientWidth/2-m.width/2,u.value=document.documentElement.clientHeight/2-m.height/2)},h=function(m){if(!m){window.removeEventListener("resize",d);return}window.addEventListener("resize",d),d(),a.nextTick(()=>{d()})};a.onBeforeMount(()=>h(o.value)),a.watch(o,h);function v(){n("overlay-click")||w()}function w(){o.value=!1,n("hide")}return(m,y)=>(a.openBlock(),a.createElementBlock("template",null,[o.value?(a.openBlock(),a.createBlock(a.Teleport,{key:0,to:"body"},[a.createElementVNode("div",K1,[a.createElementVNode("div",{ref_key:"$window",ref:i,style:a.normalizeStyle([{width:r.width},a.unref(f)]),class:"s-dialog-window"},[a.createElementVNode("div",{class:"s-dialog-window-header",ref_key:"$header",ref:s},[a.createElementVNode("h2",null,a.toDisplayString(e.title),1),a.createVNode(a.unref(ie),{icon:"xmark",onClick:w})],512),a.createElementVNode("div",J1,[a.renderSlot(m.$slots,"default")])],4),e.notModal?a.createCommentVNode("",!0):(a.openBlock(),a.createElementBlock("div",{key:0,class:"s-dialog-background",onClick:v}))])])):a.createCommentVNode("",!0)]))}},X1=["src"],Q1={class:"s-imagepreview-icon"},Z1=["src"],Wu={__name:"SImagePreview",props:{src:String,preview:String},setup(e){const t=a.ref(!1);function r(){t.value=!1,o.value=0}const n=a.useTemplateRef("$window"),o=a.ref(0);Ct.useResizeObserver(n,d=>{const{height:h}=d[0].contentRect;o.value=h});const{x:i,y:s,style:c}=Ct.useDraggable(n,{preventDefault:!0,stopPropagation:!0}),u=()=>{var h;const d=(h=n.value)==null?void 0:h.getBoundingClientRect();d&&(i.value=document.documentElement.clientWidth/2-d.width/2,s.value=document.documentElement.clientHeight/2-d.height/2)},f=function(d){if(!d){window.removeEventListener("resize",u);return}window.addEventListener("resize",u),a.nextTick(()=>{u()})};return a.watch(o,f),(d,h)=>(a.openBlock(),a.createElementBlock("div",{class:"s-imagepreview",onClick:h[0]||(h[0]=a.withModifiers(v=>t.value=!0,["prevent"]))},[a.renderSlot(d.$slots,"preview",{},()=>{var v;return[a.createElementVNode("img",{src:(v=e.preview)!=null?v:e.src},null,8,X1)]}),a.createElementVNode("div",Q1,[a.renderSlot(d.$slots,"icon",{},()=>[a.createVNode(a.unref(ie),{icon:"magnifying-glass-plus"})])]),t.value?(a.openBlock(),a.createBlock(a.Teleport,{key:0,to:"body"},[a.createElementVNode("div",{class:"s-imagepreview-fullimg",ref_key:"$window",ref:n,style:a.normalizeStyle([a.unref(c)])},[a.createElementVNode("img",{src:e.src},null,8,Z1)],4),a.createElementVNode("div",{class:"s-imagepreview-closeicon",onClick:r},[a.createVNode(a.unref(ie),{icon:"xmark"})]),a.createElementVNode("div",{class:"s-imagepreview-background",onClick:r})])):a.createCommentVNode("",!0)]))}},e0=["innerHTML"],t0={__name:"SAlert",setup(e,{expose:t}){const r=a.ref(null),n=a.ref(!1),o=a.ref("type_info"),i=(f,d={})=>{var h;r.value=f,n.value=!0,d.type&&(o.value="type_"+d.type),setTimeout(()=>{n.value=!1},(h=d.closeAfter)!=null?h:3e3)};return t({success:(f,d)=>i(f,{...d,type:"success"}),info:(f,d)=>i(f,{...d,type:"info"}),error:(f,d)=>i(f,{...d,type:"error"}),open:i}),(f,d)=>(a.openBlock(),a.createBlock(a.Teleport,{to:"body"},[a.createVNode(a.Transition,{name:"fade"},{default:a.withCtx(()=>[n.value?(a.openBlock(),a.createElementBlock("div",{key:0,class:a.normalizeClass(["s-alert",[o.value]]),innerHTML:r.value,onClick:d[0]||(d[0]=h=>n.value=!1)},null,10,e0)):a.createCommentVNode("",!0)]),_:1})]))}};let $n;function Io(){if($n)return $n;const e=document.createElement("div"),t=a.createVNode(t0);return a.render(t,e),document.body.appendChild(e.firstChild),$n=t.component.exposed,$n}const qu={success(e,t={}){return Io().success(e,t)},error(e,t={}){return Io().error(e,t)},info(e,t={}){return Io().info(e,t)}},Yu=a.defineComponent({__name:"STag",props:{color:{}},setup(e){return(t,r)=>(a.openBlock(),a.createElementBlock("div",{class:a.normalizeClass(["s-tag",e.color])},[a.renderSlot(t.$slots,"default")],2))}}),Gu=a.defineComponent({__name:"SStatus",props:{color:{},icon:{}},setup(e){return(t,r)=>(a.openBlock(),a.createElementBlock("div",{class:a.normalizeClass(["s-status",e.color])},[e.icon?(a.openBlock(),a.createBlock(a.unref(ie),{key:0,icon:e.icon,class:"mr-2"},null,8,["icon"])):a.createCommentVNode("",!0),a.renderSlot(t.$slots,"default")],2))}}),r0={class:"s-actionbar"},Ku=Object.assign({name:"SActionBar"},{__name:"SActionBar",setup(e){return(t,r)=>(a.openBlock(),a.createBlock(a.Teleport,{to:"body"},[a.createElementVNode("div",r0,[a.renderSlot(t.$slots,"default")])]))}}),n0={class:"s-progressbar"},a0={class:"s-progressbar-title"},o0={class:"s-progressbar-bar"},Ju={__name:"SProgressbar",props:{label:String,percentage:Number},setup(e){const t=e,r=a.computed(()=>t.percentage<5?"right":"left");return(n,o)=>(a.openBlock(),a.createElementBlock("div",n0,[a.createElementVNode("div",a0,[a.renderSlot(n.$slots,"default")]),a.createElementVNode("div",o0,[a.createElementVNode("div",{class:"s-progressbar-completed",style:a.normalizeStyle({width:e.percentage+"%"})},[a.createElementVNode("div",{class:a.normalizeClass(`at_${r.value}`)},a.toDisplayString(parseInt(e.percentage))+"%",3)],4)])]))}},i0={class:"s-copytext-text"},s0={key:1,class:"s-copytext layout_input"},l0={class:"s-copytext-text"},Xu={__name:"SCopyText",props:{href:String,size:{type:String,default:"normal"},layout:{type:String,default:"input"},copytext:String},setup(e){let t=a.useSlots();const{copy:r,copied:n,isSupported:o}=Ct.useClipboard(),i=a.computed(()=>t.default()[0].children);return(s,c)=>e.layout==="inline"?(a.openBlock(),a.createElementBlock("div",{key:0,class:a.normalizeClass(["s-copytext layout_inline",{success:a.unref(n)}]),title:"Скопировать",onClick:c[0]||(c[0]=u=>{var f;return a.unref(r)((f=e.copytext)!=null?f:i.value)})},[a.createElementVNode("div",i0,[a.renderSlot(s.$slots,"default")]),a.unref(o)?(a.openBlock(),a.createBlock(a.unref(ie),{key:0,icon:a.unref(n)?"check":"copy"},null,8,["icon"])):a.createCommentVNode("",!0)],2)):(a.openBlock(),a.createElementBlock("div",s0,[a.createElementVNode("div",l0,[a.renderSlot(s.$slots,"default")]),a.unref(o)?(a.openBlock(),a.createBlock(a.unref(ie),{key:0,icon:a.unref(n)?"check":"copy",class:a.normalizeClass({success:a.unref(n)}),title:"Скопировать",onClick:c[1]||(c[1]=u=>{var f;return a.unref(r)((f=e.copytext)!=null?f:i.value)})},null,8,["icon","class"])):a.createCommentVNode("",!0)]))}},c0={class:"s-timeline"},u0={class:"s-timeline-item"},Qu={__name:"STimeline",props:{items:Array,keyBy:{type:[Function,String],default:"id"}},setup(e){const t=e;function r(n,o){return typeof t.keyBy=="function"?t.keyBy(n,o):typeof t.keyBy=="string"&&n&&t.keyBy in n?n[t.keyBy]:o}return(n,o)=>(a.openBlock(),a.createElementBlock("div",c0,[(a.openBlock(!0),a.createElementBlock(a.Fragment,null,a.renderList(e.items,(i,s)=>(a.openBlock(),a.createElementBlock("div",{class:"s-timeline-row",key:r(i,s)},[o[0]||(o[0]=a.createElementVNode("div",{class:"s-timeline-decorator"},[a.createElementVNode("div",{class:"s-timeline-decorator-marker"}),a.createElementVNode("div",{class:"s-timeline-decorator-line"})],-1)),a.createElementVNode("div",u0,[a.renderSlot(n.$slots,"item",{item:i,index:s},()=>[a.createTextVNode(a.toDisplayString(i),1)])])]))),128))]))}},f0={class:"s-dashboard"},Zu=Object.assign({name:"SDashboard"},{__name:"SDashboard",setup(e){return(t,r)=>(a.openBlock(),a.createElementBlock("div",f0,[a.renderSlot(t.$slots,"default")]))}}),d0={key:0,class:"s-dashboard-item-header"},p0={class:"s-dashboard-item-title"},m0={key:0,class:"s-dashboard-item-extra"},ef={__name:"SDashboardItem",props:{title:String,maxContentHeight:[String,Number],gray:Boolean,green:Boolean,red:Boolean},setup(e){const t=e,r=a.computed(()=>t.maxContentHeight?"max-height: "+parseInt(t.maxContentHeight)+"px":"");return(n,o)=>(a.openBlock(),a.createElementBlock("div",{class:a.normalizeClass(["s-dashboard-item",{gray:e.gray,green:e.green,red:e.red}])},[e.title||n.$slots.title||n.$slots.extra?(a.openBlock(),a.createElementBlock("div",d0,[a.createElementVNode("div",p0,[a.renderSlot(n.$slots,"title",{},()=>[a.createTextVNode(a.toDisplayString(e.title),1)])]),n.$slots.extra?(a.openBlock(),a.createElementBlock("div",m0,[a.renderSlot(n.$slots,"extra")])):a.createCommentVNode("",!0)])):a.createCommentVNode("",!0),a.createElementVNode("div",{class:a.normalizeClass(["s-dashboard-item-content",[e.maxContentHeight&&"has_scroll"]]),style:a.normalizeStyle(r.value)},[a.renderSlot(n.$slots,"default")],6)],2))}},h0={class:"s-stat-title"},y0={class:"s-stat-value"},tf={__name:"SStat",props:{title:String,value:[String,Number],nowrap:Boolean,large:Boolean,wide:Boolean},setup(e){return(t,r)=>(a.openBlock(),a.createElementBlock("div",{class:a.normalizeClass(["s-stat",{nowrap:e.nowrap,large:e.large,wide:e.wide}])},[a.createElementVNode("div",h0,[a.renderSlot(t.$slots,"title",{},()=>[a.createTextVNode(a.toDisplayString(e.title),1)])]),a.createElementVNode("div",y0,[a.renderSlot(t.$slots,"default",{},()=>[a.createTextVNode(a.toDisplayString(e.value),1)])])],2))}},v0={class:"s-canvas"},g0={key:0,class:"s-canvas-header"},b0={key:1,class:"s-canvas-subheader"},S0={class:"s-main"},w0={class:"s-section"},E0={class:"s-section-h"},k0={key:0,class:"affix-wrapper",style:"top: 20px"},A0={class:"s-canvas-content"},rf={__name:"SCanvas",props:{hasStickySidebar:{type:Boolean,default:!1},sidebarMobileTitle:{type:String,default:"Содержание"}},setup(e){const t=a.ref(!1);return(r,n)=>(a.openBlock(),a.createElementBlock("div",v0,[r.$slots.header?(a.openBlock(),a.createElementBlock("header",g0,[a.renderSlot(r.$slots,"header")])):a.createCommentVNode("",!0),r.$slots.subheader?(a.openBlock(),a.createElementBlock("div",b0,[a.renderSlot(r.$slots,"subheader")])):a.createCommentVNode("",!0),a.renderSlot(r.$slots,"default"),a.createElementVNode("div",S0,[a.createElementVNode("section",w0,[a.createElementVNode("div",E0,[r.$slots.sidebar?(a.openBlock(),a.createElementBlock("div",{key:0,class:a.normalizeClass(["s-canvas-subheader-mobile",{opened:t.value}])},[a.createElementVNode("div",{class:"s-canvas-subheader-mobile-burger",onClick:n[0]||(n[0]=o=>t.value=!t.value)},[a.createVNode(a.unref(ie),{icon:"bars"}),a.createTextVNode(" "+a.toDisplayString(e.sidebarMobileTitle),1)])],2)):a.createCommentVNode("",!0),r.$slots.sidebar?(a.openBlock(),a.createElementBlock("aside",{key:1,class:a.normalizeClass(["s-canvas-sidebar",{"mobile-opened":t.value}])},[e.hasStickySidebar?(a.openBlock(),a.createElementBlock("div",k0,[a.renderSlot(r.$slots,"sidebar")])):a.renderSlot(r.$slots,"sidebar",{key:1})],2)):a.createCommentVNode("",!0),a.createElementVNode("div",A0,[a.renderSlot(r.$slots,"content")])])])])]))}},x0={class:"s-footer"},nf=Object.assign({name:"SFooter"},{__name:"SFooter",setup(e){return(t,r)=>(a.openBlock(),a.createElementBlock("div",x0,[a.renderSlot(t.$slots,"default")]))}}),O0={key:1},af={__name:"SDropdownMenu",props:{links:{type:Array,default:()=>[]},placeholder:{type:String,default:"Перейти к"},label:String,labelLink:String},setup(e){const t=e,r=a.computed(()=>{for(let d of t.links)if(d.active)return JSON.parse(JSON.stringify(d));return null}),n=a.computed(()=>{var d;return(d=t.label)!=null?d:r.value?r.value.label:t.placeholder}),o=a.computed(()=>{var d,h;return(h=t.labelLink)!=null?h:(d=r.value)==null?void 0:d.url}),i=a.computed(()=>o.value?Ns:"span"),s=a.useTemplateRef("$container"),c=a.useTemplateRef("$list"),u=a.ref("right"),f=async()=>{await a.nextTick();const d=s.value.getBoundingClientRect().x,h=c.value.getBoundingClientRect().width;u.value=h+10>d?"left":"right"};return(d,h)=>(a.openBlock(),a.createElementBlock("div",{class:"s-dropdownmenu",onPointerenter:f,ref_key:"$container",ref:s},[(a.openBlock(),a.createBlock(a.resolveDynamicComponent(i.value),{class:"s-dropdownmenu-label",href:e.labelLink},{default:a.withCtx(()=>[d.$slots.label?a.renderSlot(d.$slots,"label",{key:0}):(a.openBlock(),a.createElementBlock("span",O0,a.toDisplayString(n.value),1)),a.createVNode(a.unref(ie),{icon:"caret-down"})]),_:3},8,["href"])),a.createElementVNode("div",{class:a.normalizeClass(["s-dropdownmenu-list",[u.value]]),ref_key:"$list",ref:c},[e.links?(a.openBlock(!0),a.createElementBlock(a.Fragment,{key:0},a.renderList(e.links,v=>(a.openBlock(),a.createBlock(a.unref(Ns),{key:v.label,href:v.url,class:a.normalizeClass({active:v.active})},{default:a.withCtx(()=>[a.createTextVNode(a.toDisplayString(v.label),1)]),_:2},1032,["href","class"]))),128)):a.createCommentVNode("",!0),a.renderSlot(d.$slots,"default")],2)],544))}},_0={class:"s-horizontalmenu"},$0={key:1,class:"s-horizontalmenu-label"},C0={key:2,class:"s-horizontalmenu-children"},of={__name:"SHorizontalMenu",props:{links:Object},setup(e){return(t,r)=>{const n=a.resolveComponent("Link"),o=a.resolveComponent("SHorizontalMenu",!0);return a.openBlock(),a.createElementBlock("div",_0,[(a.openBlock(!0),a.createElementBlock(a.Fragment,null,a.renderList(e.links,i=>(a.openBlock(),a.createElementBlock("div",{class:a.normalizeClass(["s-horizontalmenu-item",[i.className,i.active?"active":""]]),key:i.label},[i.url?(a.openBlock(),a.createBlock(n,{key:0,class:"s-horizontalmenu-label",href:i.url},{default:a.withCtx(()=>[a.createTextVNode(a.toDisplayString(i.label),1)]),_:2},1032,["href"])):(a.openBlock(),a.createElementBlock("div",$0,a.toDisplayString(i.label),1)),i.children?(a.openBlock(),a.createElementBlock("div",C0,[a.createVNode(o,{links:i.children},null,8,["links"])])):a.createCommentVNode("",!0)],2))),128))])}}},T0={class:"s-verticalmenu"},N0=["onClick"],P0=["onClick"],sf={__name:"SVerticalMenu",props:{links:Object},setup(e){const t=e,r=function(i){let s=[];for(let c of i){const u=c.children?r(c.children):[];u.length&&(s=s.concat(u)),(c.active||u.length)&&s.push(c.id)}return s},n=sy(r(t.links),"OpenedSidebarItems"),o=function(i){n.value=n.value.includes(i)?n.value.filter(s=>s!==i):[...n.value,i]};return(i,s)=>{const c=a.resolveComponent("Link"),u=a.resolveComponent("SVerticalMenu",!0);return a.openBlock(),a.createElementBlock("div",T0,[(a.openBlock(!0),a.createElementBlock(a.Fragment,null,a.renderList(e.links,f=>(a.openBlock(),a.createElementBlock("div",{class:a.normalizeClass(["s-verticalmenu-item",[f.className,f.active?"active":"",f.type?"type_"+f.type:""]]),key:f.label},[f.url?(a.openBlock(),a.createElementBlock(a.Fragment,{key:0},[f.children?(a.openBlock(),a.createElementBlock("div",{key:0,class:a.normalizeClass(["s-verticalmenu-toggler",{"is-opened":a.unref(n).includes(f.id)}]),onClick:d=>o(f.id)},[a.createVNode(a.unref(ie),{icon:"fa-angle-right"})],10,N0)):a.createCommentVNode("",!0),a.createVNode(c,{class:a.normalizeClass(["s-verticalmenu-label",{"not-published":f.isPublished!==void 0&&!f.isPublished}]),href:f.url},{default:a.withCtx(()=>[a.createTextVNode(a.toDisplayString(f.label)+" ",1),f.isPublished!==void 0&&!f.isPublished?(a.openBlock(),a.createBlock(a.unref(ie),{key:0,icon:"eye-slash"})):a.createCommentVNode("",!0)]),_:2},1032,["class","href"])],64)):(a.openBlock(),a.createElementBlock("div",{key:1,class:a.normalizeClass(["s-verticalmenu-label",{"not-published":f.isPublished!==void 0&&!f.isPublished}]),onClick:d=>o(f.id)},[f.children?(a.openBlock(),a.createElementBlock("div",{key:0,class:a.normalizeClass(["s-verticalmenu-toggler",{"is-opened":a.unref(n).includes(f.id)}])},[a.createVNode(a.unref(ie),{icon:"fa-angle-right"})],2)):a.createCommentVNode("",!0),a.createTextVNode(" "+a.toDisplayString(f.label)+" ",1),f.isPublished!==void 0&&!f.isPublished?(a.openBlock(),a.createBlock(a.unref(ie),{key:1,icon:"eye-slash"})):a.createCommentVNode("",!0)],10,P0)),f.children?(a.openBlock(),a.createElementBlock("div",{key:2,class:a.normalizeClass(["s-verticalmenu-children",{"is-opened":a.unref(n).includes(f.id)}])},[a.createVNode(u,{links:f.children},null,8,["links"])],2)):a.createCommentVNode("",!0)],2))),128))])}}},J=[];J.push(vc);J.push(gc);J.push(bc);J.push(bi);J.push(Au);J.push(Xn);J.push(xu);J.push(Ou);J.push($u);J.push(Cu);J.push(Tu);J.push(Mu);J.push(x1);J.push(Fu);J.push(Ru);J.push(Du);J.push(Ur);J.push(ju);J.push(Lu);J.push(Vu);J.push(Uu);J.push(zu);J.push(Hu);J.push(Wu);J.push(Bi);J.push(qu);J.push(Yu);J.push(Gu);J.push(Ku);J.push(Ju);J.push(Xu);J.push(Qu);J.push(Zu);J.push(ef);J.push(tf);J.push(rf);J.push(nf);J.push(af);J.push(of);J.push(sf);const B0={install(e){J.forEach(t=>{var n,o;const r=(o=(n=t.name)!=null?n:t.__name)!=null?o:"Unnamed";e.component(r,t)})}};exports.SActionBar=Ku;exports.SActionIcon=ju;exports.SAlert=qu;exports.SButton=Ur;exports.SCanvas=rf;exports.SCheckbox=Au;exports.SConfirm=Bi;exports.SCopyText=Xu;exports.SDashboard=Zu;exports.SDashboardItem=ef;exports.SDatePicker=$u;exports.SDialog=Hu;exports.SDropdownMenu=af;exports.SFilter=Mu;exports.SFooter=nf;exports.SForm=vc;exports.SFormRow=gc;exports.SHorizontalMenu=of;exports.SHtmlEditor=Cu;exports.SImagePreview=Wu;exports.SInput=bc;exports.SNote=Vu;exports.SPagination=Ru;exports.SProgressBar=Ju;exports.SRadio=Xn;exports.SSelect=bi;exports.SStat=tf;exports.SStatus=Gu;exports.SSwitch=Ou;exports.STable=Fu;exports.STag=Yu;exports.STimeline=Qu;exports.SToggle=Uu;exports.SToggleGroup=zu;exports.STooltip=Lu;exports.STree=Du;exports.SUpload=Tu;exports.SVerticalMenu=sf;exports.default=B0;
680
+ //# sourceMappingURL=startup-ui.cjs.js.map