pesona-ui 0.1.11 → 0.1.13
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.
- package/dist/index.d.ts +1 -0
- package/dist/pesona-ui.cjs.js +1 -1
- package/dist/pesona-ui.css +1 -1
- package/dist/pesona-ui.es.js +3 -3
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -64,6 +64,7 @@ declare type ButtonProps = ButtonHTMLAttributes<HTMLButtonElement>;
|
|
|
64
64
|
export declare const Callout: default_2.FC<CalloutProps>;
|
|
65
65
|
|
|
66
66
|
declare interface CalloutProps {
|
|
67
|
+
className?: string;
|
|
67
68
|
type: string;
|
|
68
69
|
title?: string;
|
|
69
70
|
text: string | default_2.ReactNode;
|
package/dist/pesona-ui.cjs.js
CHANGED
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
React keys must be passed directly to JSX without using spread:
|
|
21
21
|
let props = %s;
|
|
22
22
|
<%s key={someKey} {...props} />`,Y,K,re,K),W[K+Y]=!0)}if(K=null,F!==void 0&&(t(F),K=""+F),a(B)&&(t(B.key),K=""+B.key),"key"in B){F={};for(var ne in B)ne!=="key"&&(F[ne]=B[ne])}else F=B;return K&&l(F,typeof A=="function"?A.displayName||A.name||"Unknown":A),u(A,K,H,J,s(),F,le,ue)}function g(A){typeof A=="object"&&A!==null&&A.$$typeof===b&&A._store&&(A._store.validated=1)}var f=L,b=Symbol.for("react.transitional.element"),E=Symbol.for("react.portal"),x=Symbol.for("react.fragment"),w=Symbol.for("react.strict_mode"),S=Symbol.for("react.profiler"),_=Symbol.for("react.consumer"),q=Symbol.for("react.context"),$=Symbol.for("react.forward_ref"),m=Symbol.for("react.suspense"),T=Symbol.for("react.suspense_list"),k=Symbol.for("react.memo"),P=Symbol.for("react.lazy"),Z=Symbol.for("react.activity"),te=Symbol.for("react.client.reference"),v=f.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,I=Object.prototype.hasOwnProperty,N=Array.isArray,O=console.createTask?console.createTask:function(){return null};f={react_stack_bottom_frame:function(A){return A()}};var M,j={},D=f.react_stack_bottom_frame.bind(f,i)(),U=O(n(i)),W={};Ir.Fragment=x,Ir.jsx=function(A,B,F,Y,J){var H=1e4>v.recentlyCreatedOwnerStacks++;return h(A,B,F,!1,Y,J,H?Error("react-stack-top-frame"):D,H?O(n(A)):U)},Ir.jsxs=function(A,B,F,Y,J){var H=1e4>v.recentlyCreatedOwnerStacks++;return h(A,B,F,!0,Y,J,H?Error("react-stack-top-frame"):D,H?O(n(A)):U)}}()),Ir}var Ji;function Jl(){return Ji||(Ji=1,process.env.NODE_ENV==="production"?Sn.exports=Yl():Sn.exports=Zl()),Sn.exports}var p=Jl();const lt=({type:r="button",className:e,children:t,...n})=>p.jsx("button",{type:r==="submit"?"submit":"button",className:e,...n,children:t}),Ql=({children:r,className:e})=>p.jsx("div",{className:`card-header ${e}`,children:r}),ec=({children:r,className:e="",...t})=>p.jsx("div",{className:`card-body ${e}`,...t,children:r}),tc=({children:r,className:e=""})=>p.jsx("div",{className:`card-footer ${e}`,children:r}),rc=({children:r,className:e="",...t})=>p.jsx("div",{className:`card ${e}`,...t,children:r}),nc=()=>p.jsx("div",{className:"spinner",children:p.jsx("svg",{className:"spinner-icon",width:"30px",height:"30px",viewBox:"0 0 66 66",xmlns:"http://www.w3.org/2000/svg",children:p.jsx("circle",{className:"path",fill:"none",strokeWidth:"6",strokeLinecap:"round",cx:"33",cy:"33",r:"30"})})}),Dt=(r,e)=>{L.useEffect(()=>{if(!Array.isArray(r)||r.length===0)return;const t=n=>{r.every(i=>i.current&&!i.current.contains(n.target))&&e()};return document.addEventListener("mousedown",t),()=>{document.removeEventListener("mousedown",t)}},[r,e])},sc=({children:r,items:e,position:t="bottom-left",className:n=""})=>{const[s,i]=L.useState(!1),[a,l]=L.useState({top:0,left:0}),c=L.useRef(null),u=L.useRef(null);return Dt([c,u],()=>{i(!1)}),L.useEffect(()=>{if(s&&c.current&&u.current){const h=c.current.getBoundingClientRect(),g=u.current.getBoundingClientRect(),{scrollX:f,scrollY:b}=window;let E=0,x=0;switch(t){case"bottom-left":E=h.bottom,x=h.left;break;case"bottom-right":E=h.bottom,x=h.right-g.width;break;case"top-left":E=h.top-g.height,x=h.left;break;case"top-right":E=h.top-g.height,x=h.right-g.width;break}l({top:Math.round(E+b),left:Math.round(x+f)})}},[s,t]),p.jsxs(p.Fragment,{children:[p.jsx("div",{ref:c,onClick:()=>i(!s),children:r}),s&&en.createPortal(p.jsx("div",{ref:u,style:{position:"absolute",top:`${a.top}px`,left:`${a.left}px`},className:`dropdown-menu ${t} ${n}`,children:e.map((h,g)=>p.jsxs("div",{className:`dropdown-menu-item ${h.className}`,onClick:()=>{h.onClick(),i(!1)},children:[h.icon&&h.icon," ",h.label]},g))}),document.body)]})},ic=({children:r,className:e="",position:t="bottom-left"})=>{const[n,s]=L.useState(!1),i=L.useRef(null),a=L.useRef(null),l=L.useRef(`dropdown-${Math.random().toString(36).substr(2,9)}`),c=()=>{s(!n)};return Dt([i,a],()=>{s(!1)}),p.jsx("div",{className:`dropdown ${e}`,ref:i,id:l.current,children:L.Children.map(r,u=>L.isValidElement(u)?L.cloneElement(u,{toggleDropdown:c,isOpen:n,position:t,contentRef:a,dropdownId:l.current}):u)})},ac=({children:r,className:e="",toggleDropdown:t,dropdownId:n})=>p.jsx("div",{className:`dropdown-toggle ${e}`,onClick:t,"data-dropdown-id":n,children:r}),oc=({children:r,className:e="",isOpen:t=!1,position:n="bottom-left",contentRef:s,dropdownId:i})=>{const[a,l]=L.useState({top:0,left:0});return L.useEffect(()=>{if(t&&s?.current){const c=document.querySelector(`[data-dropdown-id="${i}"]`);if(c){const u=c.getBoundingClientRect(),h=s.current.getBoundingClientRect(),{scrollX:g,scrollY:f}=window;let b=0,E=0;switch(n){case"bottom-left":b=u.bottom,E=u.left;break;case"bottom-right":b=u.bottom,E=u.right-h.width;break;case"top-left":b=u.top-h.height,E=u.left;break;case"top-right":b=u.top-h.height,E=u.right-h.width;break}l({top:Math.round(b+f),left:Math.round(E+g)})}}},[t,n,s,i]),t?en.createPortal(p.jsx("div",{ref:s,style:{position:"absolute",top:`${a.top}px`,left:`${a.left}px`},className:`dropdown-content ${n} ${e}`,children:r}),document.body):null},lc=({className:r,text:e})=>p.jsx("span",{className:r,children:e}),cc=({children:r,className:e="",...t})=>p.jsx("div",{className:`box ${e}`,...t,children:r}),li=({children:r})=>p.jsx(p.Fragment,{children:r}),_o=({children:r})=>p.jsx(p.Fragment,{children:r}),uc=({className:r="",navClassName:e="",contentClassName:t="",children:n,activeTab:s,handleActiveTab:i,customHeader:a})=>{const{tabs:l,groups:c}=L.useMemo(()=>{const h=[],g=[];return L.Children.forEach(n,f=>{if(L.isValidElement(f)){if(f.type===_o){const b=[],E=f.props;L.Children.forEach(E.children,x=>{L.isValidElement(x)&&x.type===li&&(h.push({title:x.props.title,icon:x.props.icon,children:x.props.children}),b.push(h.length-1))}),g.push({title:E.title,tabIndices:b})}else if(f.type===li){const b=f.props;h.push({title:b.title,icon:b.icon,children:b.children})}}}),{tabs:h,groups:g}},[n]);L.useEffect(()=>{l.length>0&&(s<0||s>=l.length)&&i(0)},[l.length,s,i]);const u=(h,g)=>p.jsxs("div",{className:`tab-item ${g===s?"active":""}`,onClick:()=>i(g),role:"button",tabIndex:0,onKeyDown:f=>{(f.key==="Enter"||f.key===" ")&&(f.preventDefault(),i(g))},children:[h.icon&&p.jsx("span",{className:"tab-icon",children:h.icon}),p.jsx("span",{className:"tab-title",children:h.title})]},`tab-nav-${g}`);return p.jsxs("div",{className:`card tabs ${r}`,children:[p.jsxs("div",{className:`card-header ${e}`,children:[a,p.jsx("div",{className:"nav-tabs",role:"tablist",children:c.length>0?c.map(h=>p.jsxs(L.Fragment,{children:[p.jsx("legend",{className:"tab-item-legend",children:h.title}),h.tabIndices.map(g=>u(l[g],g))]},`group-${h.title}`)):l.map((h,g)=>u(h,g))})]}),p.jsx("div",{className:`card-body ${t}`,children:p.jsx("div",{className:"tab-content",children:p.jsx("div",{className:"tab-panel",children:l[s]?p.jsx("div",{children:l[s].children},`tab-content-${s}`):p.jsx("div",{children:"No content available"})})})})]})};var Co={color:void 0,size:void 0,className:void 0,style:void 0,attr:void 0},Qi=L.createContext&&L.createContext(Co),hc=["attr","size","title"];function dc(r,e){if(r==null)return{};var t=fc(r,e),n,s;if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(r);for(s=0;s<i.length;s++)n=i[s],!(e.indexOf(n)>=0)&&Object.prototype.propertyIsEnumerable.call(r,n)&&(t[n]=r[n])}return t}function fc(r,e){if(r==null)return{};var t={};for(var n in r)if(Object.prototype.hasOwnProperty.call(r,n)){if(e.indexOf(n)>=0)continue;t[n]=r[n]}return t}function $n(){return $n=Object.assign?Object.assign.bind():function(r){for(var e=1;e<arguments.length;e++){var t=arguments[e];for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(r[n]=t[n])}return r},$n.apply(this,arguments)}function ea(r,e){var t=Object.keys(r);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(r);e&&(n=n.filter(function(s){return Object.getOwnPropertyDescriptor(r,s).enumerable})),t.push.apply(t,n)}return t}function Fn(r){for(var e=1;e<arguments.length;e++){var t=arguments[e]!=null?arguments[e]:{};e%2?ea(Object(t),!0).forEach(function(n){pc(r,n,t[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(r,Object.getOwnPropertyDescriptors(t)):ea(Object(t)).forEach(function(n){Object.defineProperty(r,n,Object.getOwnPropertyDescriptor(t,n))})}return r}function pc(r,e,t){return e=gc(e),e in r?Object.defineProperty(r,e,{value:t,enumerable:!0,configurable:!0,writable:!0}):r[e]=t,r}function gc(r){var e=mc(r,"string");return typeof e=="symbol"?e:e+""}function mc(r,e){if(typeof r!="object"||!r)return r;var t=r[Symbol.toPrimitive];if(t!==void 0){var n=t.call(r,e);if(typeof n!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(e==="string"?String:Number)(r)}function Oo(r){return r&&r.map((e,t)=>L.createElement(e.tag,Fn({key:t},e.attr),Oo(e.child)))}function Se(r){return e=>L.createElement(bc,$n({attr:Fn({},r.attr)},e),Oo(r.child))}function bc(r){var e=t=>{var{attr:n,size:s,title:i}=r,a=dc(r,hc),l=s||t.size||"1em",c;return t.className&&(c=t.className),r.className&&(c=(c?c+" ":"")+r.className),L.createElement("svg",$n({stroke:"currentColor",fill:"currentColor",strokeWidth:"0"},t.attr,n,a,{className:c,style:Fn(Fn({color:r.color||t.color},t.style),r.style),height:l,width:l,xmlns:"http://www.w3.org/2000/svg"}),i&&L.createElement("title",null,i),r.children)};return Qi!==void 0?L.createElement(Qi.Consumer,null,t=>e(t)):e(Co)}function vc(r){return Se({attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"polyline",attr:{points:"20 6 9 17 4 12"},child:[]}]})(r)}function Si(r){return Se({attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"polyline",attr:{points:"6 9 12 15 18 9"},child:[]}]})(r)}function yc(r){return Se({attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"polyline",attr:{points:"15 18 9 12 15 6"},child:[]}]})(r)}function Ec(r){return Se({attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"polyline",attr:{points:"9 18 15 12 9 6"},child:[]}]})(r)}function xc(r){return Se({attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"path",attr:{d:"M8 3H5a2 2 0 0 0-2 2v3m18 0V5a2 2 0 0 0-2-2h-3m0 18h3a2 2 0 0 0 2-2v-3M3 16v3a2 2 0 0 0 2 2h3"},child:[]}]})(r)}function Nc(r){return Se({attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"path",attr:{d:"M8 3v3a2 2 0 0 1-2 2H3m18 0h-3a2 2 0 0 1-2-2V3m0 18v-3a2 2 0 0 1 2-2h3M3 16h3a2 2 0 0 1 2 2v3"},child:[]}]})(r)}function wc(r){return Se({attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"polygon",attr:{points:"19 20 9 12 19 4 19 20"},child:[]},{tag:"line",attr:{x1:"5",y1:"19",x2:"5",y2:"5"},child:[]}]})(r)}function Tc(r){return Se({attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"polygon",attr:{points:"5 4 15 12 5 20 5 4"},child:[]},{tag:"line",attr:{x1:"19",y1:"5",x2:"19",y2:"19"},child:[]}]})(r)}function Ac(r){return Se({attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"polyline",attr:{points:"3 6 5 6 21 6"},child:[]},{tag:"path",attr:{d:"M19 6v14a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V6m3 0V4a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v2"},child:[]}]})(r)}function Sc(r){return Se({attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"line",attr:{x1:"18",y1:"6",x2:"6",y2:"18"},child:[]},{tag:"line",attr:{x1:"6",y1:"6",x2:"18",y2:"18"},child:[]}]})(r)}var qr={},tr={},_n={},Lt={},kt={},zs={},ta;function Ro(){return ta||(ta=1,function(r){Object.defineProperty(r,"__esModule",{value:!0}),r.Doctype=r.CDATA=r.Tag=r.Style=r.Script=r.Comment=r.Directive=r.Text=r.Root=r.isTag=r.ElementType=void 0;var e;(function(n){n.Root="root",n.Text="text",n.Directive="directive",n.Comment="comment",n.Script="script",n.Style="style",n.Tag="tag",n.CDATA="cdata",n.Doctype="doctype"})(e=r.ElementType||(r.ElementType={}));function t(n){return n.type===e.Tag||n.type===e.Script||n.type===e.Style}r.isTag=t,r.Root=e.Root,r.Text=e.Text,r.Directive=e.Directive,r.Comment=e.Comment,r.Script=e.Script,r.Style=e.Style,r.Tag=e.Tag,r.CDATA=e.CDATA,r.Doctype=e.Doctype}(zs)),zs}var ee={},ra;function na(){if(ra)return ee;ra=1;var r=ee&&ee.__extends||function(){var m=function(T,k){return m=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(P,Z){P.__proto__=Z}||function(P,Z){for(var te in Z)Object.prototype.hasOwnProperty.call(Z,te)&&(P[te]=Z[te])},m(T,k)};return function(T,k){if(typeof k!="function"&&k!==null)throw new TypeError("Class extends value "+String(k)+" is not a constructor or null");m(T,k);function P(){this.constructor=T}T.prototype=k===null?Object.create(k):(P.prototype=k.prototype,new P)}}(),e=ee&&ee.__assign||function(){return e=Object.assign||function(m){for(var T,k=1,P=arguments.length;k<P;k++){T=arguments[k];for(var Z in T)Object.prototype.hasOwnProperty.call(T,Z)&&(m[Z]=T[Z])}return m},e.apply(this,arguments)};Object.defineProperty(ee,"__esModule",{value:!0}),ee.cloneNode=ee.hasChildren=ee.isDocument=ee.isDirective=ee.isComment=ee.isText=ee.isCDATA=ee.isTag=ee.Element=ee.Document=ee.CDATA=ee.NodeWithChildren=ee.ProcessingInstruction=ee.Comment=ee.Text=ee.DataNode=ee.Node=void 0;var t=Ro(),n=function(){function m(){this.parent=null,this.prev=null,this.next=null,this.startIndex=null,this.endIndex=null}return Object.defineProperty(m.prototype,"parentNode",{get:function(){return this.parent},set:function(T){this.parent=T},enumerable:!1,configurable:!0}),Object.defineProperty(m.prototype,"previousSibling",{get:function(){return this.prev},set:function(T){this.prev=T},enumerable:!1,configurable:!0}),Object.defineProperty(m.prototype,"nextSibling",{get:function(){return this.next},set:function(T){this.next=T},enumerable:!1,configurable:!0}),m.prototype.cloneNode=function(T){return T===void 0&&(T=!1),q(this,T)},m}();ee.Node=n;var s=function(m){r(T,m);function T(k){var P=m.call(this)||this;return P.data=k,P}return Object.defineProperty(T.prototype,"nodeValue",{get:function(){return this.data},set:function(k){this.data=k},enumerable:!1,configurable:!0}),T}(n);ee.DataNode=s;var i=function(m){r(T,m);function T(){var k=m!==null&&m.apply(this,arguments)||this;return k.type=t.ElementType.Text,k}return Object.defineProperty(T.prototype,"nodeType",{get:function(){return 3},enumerable:!1,configurable:!0}),T}(s);ee.Text=i;var a=function(m){r(T,m);function T(){var k=m!==null&&m.apply(this,arguments)||this;return k.type=t.ElementType.Comment,k}return Object.defineProperty(T.prototype,"nodeType",{get:function(){return 8},enumerable:!1,configurable:!0}),T}(s);ee.Comment=a;var l=function(m){r(T,m);function T(k,P){var Z=m.call(this,P)||this;return Z.name=k,Z.type=t.ElementType.Directive,Z}return Object.defineProperty(T.prototype,"nodeType",{get:function(){return 1},enumerable:!1,configurable:!0}),T}(s);ee.ProcessingInstruction=l;var c=function(m){r(T,m);function T(k){var P=m.call(this)||this;return P.children=k,P}return Object.defineProperty(T.prototype,"firstChild",{get:function(){var k;return(k=this.children[0])!==null&&k!==void 0?k:null},enumerable:!1,configurable:!0}),Object.defineProperty(T.prototype,"lastChild",{get:function(){return this.children.length>0?this.children[this.children.length-1]:null},enumerable:!1,configurable:!0}),Object.defineProperty(T.prototype,"childNodes",{get:function(){return this.children},set:function(k){this.children=k},enumerable:!1,configurable:!0}),T}(n);ee.NodeWithChildren=c;var u=function(m){r(T,m);function T(){var k=m!==null&&m.apply(this,arguments)||this;return k.type=t.ElementType.CDATA,k}return Object.defineProperty(T.prototype,"nodeType",{get:function(){return 4},enumerable:!1,configurable:!0}),T}(c);ee.CDATA=u;var h=function(m){r(T,m);function T(){var k=m!==null&&m.apply(this,arguments)||this;return k.type=t.ElementType.Root,k}return Object.defineProperty(T.prototype,"nodeType",{get:function(){return 9},enumerable:!1,configurable:!0}),T}(c);ee.Document=h;var g=function(m){r(T,m);function T(k,P,Z,te){Z===void 0&&(Z=[]),te===void 0&&(te=k==="script"?t.ElementType.Script:k==="style"?t.ElementType.Style:t.ElementType.Tag);var v=m.call(this,Z)||this;return v.name=k,v.attribs=P,v.type=te,v}return Object.defineProperty(T.prototype,"nodeType",{get:function(){return 1},enumerable:!1,configurable:!0}),Object.defineProperty(T.prototype,"tagName",{get:function(){return this.name},set:function(k){this.name=k},enumerable:!1,configurable:!0}),Object.defineProperty(T.prototype,"attributes",{get:function(){var k=this;return Object.keys(this.attribs).map(function(P){var Z,te;return{name:P,value:k.attribs[P],namespace:(Z=k["x-attribsNamespace"])===null||Z===void 0?void 0:Z[P],prefix:(te=k["x-attribsPrefix"])===null||te===void 0?void 0:te[P]}})},enumerable:!1,configurable:!0}),T}(c);ee.Element=g;function f(m){return(0,t.isTag)(m)}ee.isTag=f;function b(m){return m.type===t.ElementType.CDATA}ee.isCDATA=b;function E(m){return m.type===t.ElementType.Text}ee.isText=E;function x(m){return m.type===t.ElementType.Comment}ee.isComment=x;function w(m){return m.type===t.ElementType.Directive}ee.isDirective=w;function S(m){return m.type===t.ElementType.Root}ee.isDocument=S;function _(m){return Object.prototype.hasOwnProperty.call(m,"children")}ee.hasChildren=_;function q(m,T){T===void 0&&(T=!1);var k;if(E(m))k=new i(m.data);else if(x(m))k=new a(m.data);else if(f(m)){var P=T?$(m.children):[],Z=new g(m.name,e({},m.attribs),P);P.forEach(function(N){return N.parent=Z}),m.namespace!=null&&(Z.namespace=m.namespace),m["x-attribsNamespace"]&&(Z["x-attribsNamespace"]=e({},m["x-attribsNamespace"])),m["x-attribsPrefix"]&&(Z["x-attribsPrefix"]=e({},m["x-attribsPrefix"])),k=Z}else if(b(m)){var P=T?$(m.children):[],te=new u(P);P.forEach(function(O){return O.parent=te}),k=te}else if(S(m)){var P=T?$(m.children):[],v=new h(P);P.forEach(function(O){return O.parent=v}),m["x-mode"]&&(v["x-mode"]=m["x-mode"]),k=v}else if(w(m)){var I=new l(m.name,m.data);m["x-name"]!=null&&(I["x-name"]=m["x-name"],I["x-publicId"]=m["x-publicId"],I["x-systemId"]=m["x-systemId"]),k=I}else throw new Error("Not implemented yet: ".concat(m.type));return k.startIndex=m.startIndex,k.endIndex=m.endIndex,m.sourceCodeLocation!=null&&(k.sourceCodeLocation=m.sourceCodeLocation),k}ee.cloneNode=q;function $(m){for(var T=m.map(function(P){return q(P,!0)}),k=1;k<T.length;k++)T[k].prev=T[k-1],T[k-1].next=T[k];return T}return ee}var sa;function Lo(){return sa||(sa=1,function(r){var e=kt&&kt.__createBinding||(Object.create?function(l,c,u,h){h===void 0&&(h=u);var g=Object.getOwnPropertyDescriptor(c,u);(!g||("get"in g?!c.__esModule:g.writable||g.configurable))&&(g={enumerable:!0,get:function(){return c[u]}}),Object.defineProperty(l,h,g)}:function(l,c,u,h){h===void 0&&(h=u),l[h]=c[u]}),t=kt&&kt.__exportStar||function(l,c){for(var u in l)u!=="default"&&!Object.prototype.hasOwnProperty.call(c,u)&&e(c,l,u)};Object.defineProperty(r,"__esModule",{value:!0}),r.DomHandler=void 0;var n=Ro(),s=na();t(na(),r);var i={withStartIndices:!1,withEndIndices:!1,xmlMode:!1},a=function(){function l(c,u,h){this.dom=[],this.root=new s.Document(this.dom),this.done=!1,this.tagStack=[this.root],this.lastNode=null,this.parser=null,typeof u=="function"&&(h=u,u=i),typeof c=="object"&&(u=c,c=void 0),this.callback=c??null,this.options=u??i,this.elementCB=h??null}return l.prototype.onparserinit=function(c){this.parser=c},l.prototype.onreset=function(){this.dom=[],this.root=new s.Document(this.dom),this.done=!1,this.tagStack=[this.root],this.lastNode=null,this.parser=null},l.prototype.onend=function(){this.done||(this.done=!0,this.parser=null,this.handleCallback(null))},l.prototype.onerror=function(c){this.handleCallback(c)},l.prototype.onclosetag=function(){this.lastNode=null;var c=this.tagStack.pop();this.options.withEndIndices&&(c.endIndex=this.parser.endIndex),this.elementCB&&this.elementCB(c)},l.prototype.onopentag=function(c,u){var h=this.options.xmlMode?n.ElementType.Tag:void 0,g=new s.Element(c,u,void 0,h);this.addNode(g),this.tagStack.push(g)},l.prototype.ontext=function(c){var u=this.lastNode;if(u&&u.type===n.ElementType.Text)u.data+=c,this.options.withEndIndices&&(u.endIndex=this.parser.endIndex);else{var h=new s.Text(c);this.addNode(h),this.lastNode=h}},l.prototype.oncomment=function(c){if(this.lastNode&&this.lastNode.type===n.ElementType.Comment){this.lastNode.data+=c;return}var u=new s.Comment(c);this.addNode(u),this.lastNode=u},l.prototype.oncommentend=function(){this.lastNode=null},l.prototype.oncdatastart=function(){var c=new s.Text(""),u=new s.CDATA([c]);this.addNode(u),c.parent=u,this.lastNode=c},l.prototype.oncdataend=function(){this.lastNode=null},l.prototype.onprocessinginstruction=function(c,u){var h=new s.ProcessingInstruction(c,u);this.addNode(h)},l.prototype.handleCallback=function(c){if(typeof this.callback=="function")this.callback(c,this.dom);else if(c)throw c},l.prototype.addNode=function(c){var u=this.tagStack[this.tagStack.length-1],h=u.children[u.children.length-1];this.options.withStartIndices&&(c.startIndex=this.parser.startIndex),this.options.withEndIndices&&(c.endIndex=this.parser.endIndex),u.children.push(c),h&&(c.prev=h,h.next=c),c.parent=u,this.lastNode=null},l}();r.DomHandler=a,r.default=a}(kt)),kt}var Gs={},ia;function _c(){return ia||(ia=1,function(r){Object.defineProperty(r,"__esModule",{value:!0}),r.CARRIAGE_RETURN_PLACEHOLDER_REGEX=r.CARRIAGE_RETURN_PLACEHOLDER=r.CARRIAGE_RETURN_REGEX=r.CARRIAGE_RETURN=r.CASE_SENSITIVE_TAG_NAMES_MAP=r.CASE_SENSITIVE_TAG_NAMES=void 0,r.CASE_SENSITIVE_TAG_NAMES=["animateMotion","animateTransform","clipPath","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence","foreignObject","linearGradient","radialGradient","textPath"],r.CASE_SENSITIVE_TAG_NAMES_MAP=r.CASE_SENSITIVE_TAG_NAMES.reduce(function(e,t){return e[t.toLowerCase()]=t,e},{}),r.CARRIAGE_RETURN="\r",r.CARRIAGE_RETURN_REGEX=new RegExp(r.CARRIAGE_RETURN,"g"),r.CARRIAGE_RETURN_PLACEHOLDER="__HTML_DOM_PARSER_CARRIAGE_RETURN_PLACEHOLDER_".concat(Date.now(),"__"),r.CARRIAGE_RETURN_PLACEHOLDER_REGEX=new RegExp(r.CARRIAGE_RETURN_PLACEHOLDER,"g")}(Gs)),Gs}var aa;function ko(){if(aa)return Lt;aa=1,Object.defineProperty(Lt,"__esModule",{value:!0}),Lt.formatAttributes=n,Lt.escapeSpecialCharacters=i,Lt.revertEscapedCharacters=a,Lt.formatDOM=l;var r=Lo(),e=_c();function t(c){return e.CASE_SENSITIVE_TAG_NAMES_MAP[c]}function n(c){for(var u={},h=0,g=c.length;h<g;h++){var f=c[h];u[f.name]=f.value}return u}function s(c){c=c.toLowerCase();var u=t(c);return u||c}function i(c){return c.replace(e.CARRIAGE_RETURN_REGEX,e.CARRIAGE_RETURN_PLACEHOLDER)}function a(c){return c.replace(e.CARRIAGE_RETURN_PLACEHOLDER_REGEX,e.CARRIAGE_RETURN)}function l(c,u,h){u===void 0&&(u=null);for(var g=[],f,b=0,E=c.length;b<E;b++){var x=c[b];switch(x.nodeType){case 1:{var w=s(x.nodeName);f=new r.Element(w,n(x.attributes)),f.children=l(w==="template"?x.content.childNodes:x.childNodes,f);break}case 3:f=new r.Text(a(x.nodeValue));break;case 8:f=new r.Comment(x.nodeValue);break;default:continue}var S=g[b-1]||null;S&&(S.next=f),f.parent=u,f.prev=S,f.next=null,g.push(f)}return h&&(f=new r.ProcessingInstruction(h.substring(0,h.indexOf(" ")).toLowerCase(),h),f.next=g[0]||null,f.parent=u,g.unshift(f),g[1]&&(g[1].prev=g[0])),g}return Lt}var oa;function Cc(){if(oa)return _n;oa=1,Object.defineProperty(_n,"__esModule",{value:!0}),_n.default=x;var r=ko(),e="html",t="head",n="body",s=/<([a-zA-Z]+[0-9]?)/,i=/<head[^]*>/i,a=/<body[^]*>/i,l=function(w,S){throw new Error("This browser does not support `document.implementation.createHTMLDocument`")},c=function(w,S){throw new Error("This browser does not support `DOMParser.prototype.parseFromString`")},u=typeof window=="object"&&window.DOMParser;if(typeof u=="function"){var h=new u,g="text/html";c=function(w,S){return S&&(w="<".concat(S,">").concat(w,"</").concat(S,">")),h.parseFromString(w,g)},l=c}if(typeof document=="object"&&document.implementation){var f=document.implementation.createHTMLDocument();l=function(w,S){if(S){var _=f.documentElement.querySelector(S);return _&&(_.innerHTML=w),f}return f.documentElement.innerHTML=w,f}}var b=typeof document=="object"&&document.createElement("template"),E;b&&b.content&&(E=function(w){return b.innerHTML=w,b.content.childNodes});function x(w){var S,_;w=(0,r.escapeSpecialCharacters)(w);var q=w.match(s),$=q&&q[1]?q[1].toLowerCase():"";switch($){case e:{var m=c(w);if(!i.test(w)){var T=m.querySelector(t);(S=T?.parentNode)===null||S===void 0||S.removeChild(T)}if(!a.test(w)){var T=m.querySelector(n);(_=T?.parentNode)===null||_===void 0||_.removeChild(T)}return m.querySelectorAll(e)}case t:case n:{var k=l(w).querySelectorAll($);return a.test(w)&&i.test(w)?k[0].parentNode.childNodes:k}default:{if(E)return E(w);var T=l(w,n).querySelector(n);return T.childNodes}}}return _n}var la;function Oc(){if(la)return tr;la=1;var r=tr&&tr.__importDefault||function(i){return i&&i.__esModule?i:{default:i}};Object.defineProperty(tr,"__esModule",{value:!0}),tr.default=s;var e=r(Cc()),t=ko(),n=/<(![a-zA-Z\s]+)>/;function s(i){if(typeof i!="string")throw new TypeError("First argument must be a string");if(!i)return[];var a=i.match(n),l=a?a[1]:void 0;return(0,t.formatDOM)((0,e.default)(i),null,l)}return tr}var Cn={},Ie={},Mr={},ca;function Rc(){if(ca)return Mr;ca=1;var r=0;Mr.SAME=r;var e=1;return Mr.CAMELCASE=e,Mr.possibleStandardNames={accept:0,acceptCharset:1,"accept-charset":"acceptCharset",accessKey:1,action:0,allowFullScreen:1,alt:0,as:0,async:0,autoCapitalize:1,autoComplete:1,autoCorrect:1,autoFocus:1,autoPlay:1,autoSave:1,capture:0,cellPadding:1,cellSpacing:1,challenge:0,charSet:1,checked:0,children:0,cite:0,class:"className",classID:1,className:1,cols:0,colSpan:1,content:0,contentEditable:1,contextMenu:1,controls:0,controlsList:1,coords:0,crossOrigin:1,dangerouslySetInnerHTML:1,data:0,dateTime:1,default:0,defaultChecked:1,defaultValue:1,defer:0,dir:0,disabled:0,disablePictureInPicture:1,disableRemotePlayback:1,download:0,draggable:0,encType:1,enterKeyHint:1,for:"htmlFor",form:0,formMethod:1,formAction:1,formEncType:1,formNoValidate:1,formTarget:1,frameBorder:1,headers:0,height:0,hidden:0,high:0,href:0,hrefLang:1,htmlFor:1,httpEquiv:1,"http-equiv":"httpEquiv",icon:0,id:0,innerHTML:1,inputMode:1,integrity:0,is:0,itemID:1,itemProp:1,itemRef:1,itemScope:1,itemType:1,keyParams:1,keyType:1,kind:0,label:0,lang:0,list:0,loop:0,low:0,manifest:0,marginWidth:1,marginHeight:1,max:0,maxLength:1,media:0,mediaGroup:1,method:0,min:0,minLength:1,multiple:0,muted:0,name:0,noModule:1,nonce:0,noValidate:1,open:0,optimum:0,pattern:0,placeholder:0,playsInline:1,poster:0,preload:0,profile:0,radioGroup:1,readOnly:1,referrerPolicy:1,rel:0,required:0,reversed:0,role:0,rows:0,rowSpan:1,sandbox:0,scope:0,scoped:0,scrolling:0,seamless:0,selected:0,shape:0,size:0,sizes:0,span:0,spellCheck:1,src:0,srcDoc:1,srcLang:1,srcSet:1,start:0,step:0,style:0,summary:0,tabIndex:1,target:0,title:0,type:0,useMap:1,value:0,width:0,wmode:0,wrap:0,about:0,accentHeight:1,"accent-height":"accentHeight",accumulate:0,additive:0,alignmentBaseline:1,"alignment-baseline":"alignmentBaseline",allowReorder:1,alphabetic:0,amplitude:0,arabicForm:1,"arabic-form":"arabicForm",ascent:0,attributeName:1,attributeType:1,autoReverse:1,azimuth:0,baseFrequency:1,baselineShift:1,"baseline-shift":"baselineShift",baseProfile:1,bbox:0,begin:0,bias:0,by:0,calcMode:1,capHeight:1,"cap-height":"capHeight",clip:0,clipPath:1,"clip-path":"clipPath",clipPathUnits:1,clipRule:1,"clip-rule":"clipRule",color:0,colorInterpolation:1,"color-interpolation":"colorInterpolation",colorInterpolationFilters:1,"color-interpolation-filters":"colorInterpolationFilters",colorProfile:1,"color-profile":"colorProfile",colorRendering:1,"color-rendering":"colorRendering",contentScriptType:1,contentStyleType:1,cursor:0,cx:0,cy:0,d:0,datatype:0,decelerate:0,descent:0,diffuseConstant:1,direction:0,display:0,divisor:0,dominantBaseline:1,"dominant-baseline":"dominantBaseline",dur:0,dx:0,dy:0,edgeMode:1,elevation:0,enableBackground:1,"enable-background":"enableBackground",end:0,exponent:0,externalResourcesRequired:1,fill:0,fillOpacity:1,"fill-opacity":"fillOpacity",fillRule:1,"fill-rule":"fillRule",filter:0,filterRes:1,filterUnits:1,floodOpacity:1,"flood-opacity":"floodOpacity",floodColor:1,"flood-color":"floodColor",focusable:0,fontFamily:1,"font-family":"fontFamily",fontSize:1,"font-size":"fontSize",fontSizeAdjust:1,"font-size-adjust":"fontSizeAdjust",fontStretch:1,"font-stretch":"fontStretch",fontStyle:1,"font-style":"fontStyle",fontVariant:1,"font-variant":"fontVariant",fontWeight:1,"font-weight":"fontWeight",format:0,from:0,fx:0,fy:0,g1:0,g2:0,glyphName:1,"glyph-name":"glyphName",glyphOrientationHorizontal:1,"glyph-orientation-horizontal":"glyphOrientationHorizontal",glyphOrientationVertical:1,"glyph-orientation-vertical":"glyphOrientationVertical",glyphRef:1,gradientTransform:1,gradientUnits:1,hanging:0,horizAdvX:1,"horiz-adv-x":"horizAdvX",horizOriginX:1,"horiz-origin-x":"horizOriginX",ideographic:0,imageRendering:1,"image-rendering":"imageRendering",in2:0,in:0,inlist:0,intercept:0,k1:0,k2:0,k3:0,k4:0,k:0,kernelMatrix:1,kernelUnitLength:1,kerning:0,keyPoints:1,keySplines:1,keyTimes:1,lengthAdjust:1,letterSpacing:1,"letter-spacing":"letterSpacing",lightingColor:1,"lighting-color":"lightingColor",limitingConeAngle:1,local:0,markerEnd:1,"marker-end":"markerEnd",markerHeight:1,markerMid:1,"marker-mid":"markerMid",markerStart:1,"marker-start":"markerStart",markerUnits:1,markerWidth:1,mask:0,maskContentUnits:1,maskUnits:1,mathematical:0,mode:0,numOctaves:1,offset:0,opacity:0,operator:0,order:0,orient:0,orientation:0,origin:0,overflow:0,overlinePosition:1,"overline-position":"overlinePosition",overlineThickness:1,"overline-thickness":"overlineThickness",paintOrder:1,"paint-order":"paintOrder",panose1:0,"panose-1":"panose1",pathLength:1,patternContentUnits:1,patternTransform:1,patternUnits:1,pointerEvents:1,"pointer-events":"pointerEvents",points:0,pointsAtX:1,pointsAtY:1,pointsAtZ:1,prefix:0,preserveAlpha:1,preserveAspectRatio:1,primitiveUnits:1,property:0,r:0,radius:0,refX:1,refY:1,renderingIntent:1,"rendering-intent":"renderingIntent",repeatCount:1,repeatDur:1,requiredExtensions:1,requiredFeatures:1,resource:0,restart:0,result:0,results:0,rotate:0,rx:0,ry:0,scale:0,security:0,seed:0,shapeRendering:1,"shape-rendering":"shapeRendering",slope:0,spacing:0,specularConstant:1,specularExponent:1,speed:0,spreadMethod:1,startOffset:1,stdDeviation:1,stemh:0,stemv:0,stitchTiles:1,stopColor:1,"stop-color":"stopColor",stopOpacity:1,"stop-opacity":"stopOpacity",strikethroughPosition:1,"strikethrough-position":"strikethroughPosition",strikethroughThickness:1,"strikethrough-thickness":"strikethroughThickness",string:0,stroke:0,strokeDasharray:1,"stroke-dasharray":"strokeDasharray",strokeDashoffset:1,"stroke-dashoffset":"strokeDashoffset",strokeLinecap:1,"stroke-linecap":"strokeLinecap",strokeLinejoin:1,"stroke-linejoin":"strokeLinejoin",strokeMiterlimit:1,"stroke-miterlimit":"strokeMiterlimit",strokeWidth:1,"stroke-width":"strokeWidth",strokeOpacity:1,"stroke-opacity":"strokeOpacity",suppressContentEditableWarning:1,suppressHydrationWarning:1,surfaceScale:1,systemLanguage:1,tableValues:1,targetX:1,targetY:1,textAnchor:1,"text-anchor":"textAnchor",textDecoration:1,"text-decoration":"textDecoration",textLength:1,textRendering:1,"text-rendering":"textRendering",to:0,transform:0,typeof:0,u1:0,u2:0,underlinePosition:1,"underline-position":"underlinePosition",underlineThickness:1,"underline-thickness":"underlineThickness",unicode:0,unicodeBidi:1,"unicode-bidi":"unicodeBidi",unicodeRange:1,"unicode-range":"unicodeRange",unitsPerEm:1,"units-per-em":"unitsPerEm",unselectable:0,vAlphabetic:1,"v-alphabetic":"vAlphabetic",values:0,vectorEffect:1,"vector-effect":"vectorEffect",version:0,vertAdvY:1,"vert-adv-y":"vertAdvY",vertOriginX:1,"vert-origin-x":"vertOriginX",vertOriginY:1,"vert-origin-y":"vertOriginY",vHanging:1,"v-hanging":"vHanging",vIdeographic:1,"v-ideographic":"vIdeographic",viewBox:1,viewTarget:1,visibility:0,vMathematical:1,"v-mathematical":"vMathematical",vocab:0,widths:0,wordSpacing:1,"word-spacing":"wordSpacing",writingMode:1,"writing-mode":"writingMode",x1:0,x2:0,x:0,xChannelSelector:1,xHeight:1,"x-height":"xHeight",xlinkActuate:1,"xlink:actuate":"xlinkActuate",xlinkArcrole:1,"xlink:arcrole":"xlinkArcrole",xlinkHref:1,"xlink:href":"xlinkHref",xlinkRole:1,"xlink:role":"xlinkRole",xlinkShow:1,"xlink:show":"xlinkShow",xlinkTitle:1,"xlink:title":"xlinkTitle",xlinkType:1,"xlink:type":"xlinkType",xmlBase:1,"xml:base":"xmlBase",xmlLang:1,"xml:lang":"xmlLang",xmlns:0,"xml:space":"xmlSpace",xmlnsXlink:1,"xmlns:xlink":"xmlnsXlink",xmlSpace:1,y1:0,y2:0,y:0,yChannelSelector:1,z:0,zoomAndPan:1},Mr}var ua;function Lc(){if(ua)return Ie;ua=1;const r=0,e=1,t=2,n=3,s=4,i=5,a=6;function l(m){return u.hasOwnProperty(m)?u[m]:null}function c(m,T,k,P,Z,te,v){this.acceptsBooleans=T===t||T===n||T===s,this.attributeName=P,this.attributeNamespace=Z,this.mustUseProperty=k,this.propertyName=m,this.type=T,this.sanitizeURL=te,this.removeEmptyString=v}const u={};["children","dangerouslySetInnerHTML","defaultValue","defaultChecked","innerHTML","suppressContentEditableWarning","suppressHydrationWarning","style"].forEach(m=>{u[m]=new c(m,r,!1,m,null,!1,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(([m,T])=>{u[m]=new c(m,e,!1,T,null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(m=>{u[m]=new c(m,t,!1,m.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(m=>{u[m]=new c(m,t,!1,m,null,!1,!1)}),["allowFullScreen","async","autoFocus","autoPlay","controls","default","defer","disabled","disablePictureInPicture","disableRemotePlayback","formNoValidate","hidden","loop","noModule","noValidate","open","playsInline","readOnly","required","reversed","scoped","seamless","itemScope"].forEach(m=>{u[m]=new c(m,n,!1,m.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(m=>{u[m]=new c(m,n,!0,m,null,!1,!1)}),["capture","download"].forEach(m=>{u[m]=new c(m,s,!1,m,null,!1,!1)}),["cols","rows","size","span"].forEach(m=>{u[m]=new c(m,a,!1,m,null,!1,!1)}),["rowSpan","start"].forEach(m=>{u[m]=new c(m,i,!1,m.toLowerCase(),null,!1,!1)});const g=/[\-\:]([a-z])/g,f=m=>m[1].toUpperCase();["accent-height","alignment-baseline","arabic-form","baseline-shift","cap-height","clip-path","clip-rule","color-interpolation","color-interpolation-filters","color-profile","color-rendering","dominant-baseline","enable-background","fill-opacity","fill-rule","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","glyph-name","glyph-orientation-horizontal","glyph-orientation-vertical","horiz-adv-x","horiz-origin-x","image-rendering","letter-spacing","lighting-color","marker-end","marker-mid","marker-start","overline-position","overline-thickness","paint-order","panose-1","pointer-events","rendering-intent","shape-rendering","stop-color","stop-opacity","strikethrough-position","strikethrough-thickness","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke-width","text-anchor","text-decoration","text-rendering","underline-position","underline-thickness","unicode-bidi","unicode-range","units-per-em","v-alphabetic","v-hanging","v-ideographic","v-mathematical","vector-effect","vert-adv-y","vert-origin-x","vert-origin-y","word-spacing","writing-mode","xmlns:xlink","x-height"].forEach(m=>{const T=m.replace(g,f);u[T]=new c(T,e,!1,m,null,!1,!1)}),["xlink:actuate","xlink:arcrole","xlink:role","xlink:show","xlink:title","xlink:type"].forEach(m=>{const T=m.replace(g,f);u[T]=new c(T,e,!1,m,"http://www.w3.org/1999/xlink",!1,!1)}),["xml:base","xml:lang","xml:space"].forEach(m=>{const T=m.replace(g,f);u[T]=new c(T,e,!1,m,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(m=>{u[m]=new c(m,e,!1,m.toLowerCase(),null,!1,!1)});const b="xlinkHref";u[b]=new c("xlinkHref",e,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(m=>{u[m]=new c(m,e,!1,m.toLowerCase(),null,!0,!0)});const{CAMELCASE:E,SAME:x,possibleStandardNames:w}=Rc(),_=":A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD"+"\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040",q=RegExp.prototype.test.bind(new RegExp("^(data|aria)-["+_+"]*$")),$=Object.keys(w).reduce((m,T)=>{const k=w[T];return k===x?m[T]=T:k===E?m[T.toLowerCase()]=T:m[T]=k,m},{});return Ie.BOOLEAN=n,Ie.BOOLEANISH_STRING=t,Ie.NUMERIC=i,Ie.OVERLOADED_BOOLEAN=s,Ie.POSITIVE_NUMERIC=a,Ie.RESERVED=r,Ie.STRING=e,Ie.getPropertyInfo=l,Ie.isCustomAttribute=q,Ie.possibleStandardNames=$,Ie}var Dr={},rr={},Vs,ha;function kc(){if(ha)return Vs;ha=1;var r=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//g,e=/\n/g,t=/^\s*/,n=/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/,s=/^:\s*/,i=/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/,a=/^[;\s]*/,l=/^\s+|\s+$/g,c=`
|
|
23
|
-
`,u="/",h="*",g="",f="comment",b="declaration";Vs=function(x,w){if(typeof x!="string")throw new TypeError("First argument must be a string");if(!x)return[];w=w||{};var S=1,_=1;function q(N){var O=N.match(e);O&&(S+=O.length);var M=N.lastIndexOf(c);_=~M?N.length-M:_+N.length}function $(){var N={line:S,column:_};return function(O){return O.position=new m(N),P(),O}}function m(N){this.start=N,this.end={line:S,column:_},this.source=w.source}m.prototype.content=x;function T(N){var O=new Error(w.source+":"+S+":"+_+": "+N);if(O.reason=N,O.filename=w.source,O.line=S,O.column=_,O.source=x,!w.silent)throw O}function k(N){var O=N.exec(x);if(O){var M=O[0];return q(M),x=x.slice(M.length),O}}function P(){k(t)}function Z(N){var O;for(N=N||[];O=te();)O!==!1&&N.push(O);return N}function te(){var N=$();if(!(u!=x.charAt(0)||h!=x.charAt(1))){for(var O=2;g!=x.charAt(O)&&(h!=x.charAt(O)||u!=x.charAt(O+1));)++O;if(O+=2,g===x.charAt(O-1))return T("End of comment missing");var M=x.slice(2,O-2);return _+=2,q(M),x=x.slice(O),_+=2,N({type:f,comment:M})}}function v(){var N=$(),O=k(n);if(O){if(te(),!k(s))return T("property missing ':'");var M=k(i),j=N({type:b,property:E(O[0].replace(r,g)),value:M?E(M[0].replace(r,g)):g});return k(a),j}}function I(){var N=[];Z(N);for(var O;O=v();)O!==!1&&(N.push(O),Z(N));return N}return P(),I()};function E(x){return x?x.replace(l,g):g}return Vs}var da;function jc(){if(da)return rr;da=1;var r=rr&&rr.__importDefault||function(n){return n&&n.__esModule?n:{default:n}};Object.defineProperty(rr,"__esModule",{value:!0}),rr.default=t;var e=r(kc());function t(n,s){var i=null;if(!n||typeof n!="string")return i;var a=(0,e.default)(n),l=typeof s=="function";return a.forEach(function(c){if(c.type==="declaration"){var u=c.property,h=c.value;l?s(u,h,c):h&&(i=i||{},i[u]=h)}}),i}return rr}var Pr={},fa;function Ic(){if(fa)return Pr;fa=1,Object.defineProperty(Pr,"__esModule",{value:!0}),Pr.camelCase=void 0;var r=/^--[a-zA-Z0-9_-]+$/,e=/-([a-z])/g,t=/^[^-]+$/,n=/^-(webkit|moz|ms|o|khtml)-/,s=/^-(ms)-/,i=function(u){return!u||t.test(u)||r.test(u)},a=function(u,h){return h.toUpperCase()},l=function(u,h){return"".concat(h,"-")},c=function(u,h){return h===void 0&&(h={}),i(u)?u:(u=u.toLowerCase(),h.reactCompat?u=u.replace(s,l):u=u.replace(n,l),u.replace(e,a))};return Pr.camelCase=c,Pr}var Br,pa;function qc(){if(pa)return Br;pa=1;var r=Br&&Br.__importDefault||function(s){return s&&s.__esModule?s:{default:s}},e=r(jc()),t=Ic();function n(s,i){var a={};return!s||typeof s!="string"||(0,e.default)(s,function(l,c){l&&c&&(a[(0,t.camelCase)(l,i)]=c)}),a}return n.default=n,Br=n,Br}var ga;function jo(){return ga||(ga=1,function(r){var e=Dr&&Dr.__importDefault||function(h){return h&&h.__esModule?h:{default:h}};Object.defineProperty(r,"__esModule",{value:!0}),r.returnFirstArg=r.canTextBeChildOfNode=r.ELEMENTS_WITH_NO_TEXT_CHILDREN=r.PRESERVE_CUSTOM_ATTRIBUTES=void 0,r.isCustomComponent=i,r.setStyleProp=l;var t=L,n=e(qc()),s=new Set(["annotation-xml","color-profile","font-face","font-face-src","font-face-uri","font-face-format","font-face-name","missing-glyph"]);function i(h,g){return h.includes("-")?!s.has(h):!!(g&&typeof g.is=="string")}var a={reactCompat:!0};function l(h,g){if(typeof h=="string"){if(!h.trim()){g.style={};return}try{g.style=(0,n.default)(h,a)}catch{g.style={}}}}r.PRESERVE_CUSTOM_ATTRIBUTES=Number(t.version.split(".")[0])>=16,r.ELEMENTS_WITH_NO_TEXT_CHILDREN=new Set(["tr","tbody","thead","tfoot","colgroup","table","head","html","frameset"]);var c=function(h){return!r.ELEMENTS_WITH_NO_TEXT_CHILDREN.has(h.name)};r.canTextBeChildOfNode=c;var u=function(h){return h};r.returnFirstArg=u}(Dr)),Dr}var ma;function Io(){if(ma)return Cn;ma=1,Object.defineProperty(Cn,"__esModule",{value:!0}),Cn.default=i;var r=Lc(),e=jo(),t=["checked","value"],n=["input","select","textarea"],s={reset:!0,submit:!0};function i(l,c){l===void 0&&(l={});var u={},h=!!(l.type&&s[l.type]);for(var g in l){var f=l[g];if((0,r.isCustomAttribute)(g)){u[g]=f;continue}var b=g.toLowerCase(),E=a(b);if(E){var x=(0,r.getPropertyInfo)(E);switch(t.includes(E)&&n.includes(c)&&!h&&(E=a("default"+b)),u[E]=f,x&&x.type){case r.BOOLEAN:u[E]=!0;break;case r.OVERLOADED_BOOLEAN:f===""&&(u[E]=!0);break}continue}e.PRESERVE_CUSTOM_ATTRIBUTES&&(u[g]=f)}return(0,e.setStyleProp)(l.style,u),u}function a(l){return r.possibleStandardNames[l]}return Cn}var nr={},ba;function Mc(){if(ba)return nr;ba=1;var r=nr&&nr.__importDefault||function(l){return l&&l.__esModule?l:{default:l}};Object.defineProperty(nr,"__esModule",{value:!0}),nr.default=i;var e=L,t=r(Io()),n=jo(),s={cloneElement:e.cloneElement,createElement:e.createElement,isValidElement:e.isValidElement};function i(l,c){c===void 0&&(c={});for(var u=[],h=typeof c.replace=="function",g=c.transform||n.returnFirstArg,f=c.library||s,b=f.cloneElement,E=f.createElement,x=f.isValidElement,w=l.length,S=0;S<w;S++){var _=l[S];if(h){var q=c.replace(_,S);if(x(q)){w>1&&(q=b(q,{key:q.key||S})),u.push(g(q,_,S));continue}}if(_.type==="text"){var $=!_.data.trim().length;if($&&_.parent&&!(0,n.canTextBeChildOfNode)(_.parent)||c.trim&&$)continue;u.push(g(_.data,_,S));continue}var m=_,T={};a(m)?((0,n.setStyleProp)(m.attribs.style,m.attribs),T=m.attribs):m.attribs&&(T=(0,t.default)(m.attribs,m.name));var k=void 0;switch(_.type){case"script":case"style":_.children[0]&&(T.dangerouslySetInnerHTML={__html:_.children[0].data});break;case"tag":_.name==="textarea"&&_.children[0]?T.defaultValue=_.children[0].data:_.children&&_.children.length&&(k=i(_.children,c));break;default:continue}w>1&&(T.key=S),u.push(g(E(_.name,T,k),_,S))}return u.length===1?u[0]:u}function a(l){return n.PRESERVE_CUSTOM_ATTRIBUTES&&l.type==="tag"&&(0,n.isCustomComponent)(l.name,l.attribs)}return nr}var va;function Dc(){return va||(va=1,function(r){var e=qr&&qr.__importDefault||function(c){return c&&c.__esModule?c:{default:c}};Object.defineProperty(r,"__esModule",{value:!0}),r.htmlToDOM=r.domToReact=r.attributesToProps=r.Text=r.ProcessingInstruction=r.Element=r.Comment=void 0,r.default=l;var t=e(Oc());r.htmlToDOM=t.default;var n=e(Io());r.attributesToProps=n.default;var s=e(Mc());r.domToReact=s.default;var i=Lo();Object.defineProperty(r,"Comment",{enumerable:!0,get:function(){return i.Comment}}),Object.defineProperty(r,"Element",{enumerable:!0,get:function(){return i.Element}}),Object.defineProperty(r,"ProcessingInstruction",{enumerable:!0,get:function(){return i.ProcessingInstruction}}),Object.defineProperty(r,"Text",{enumerable:!0,get:function(){return i.Text}});var a={lowerCaseAttributeNames:!1};function l(c,u){if(typeof c!="string")throw new TypeError("First argument must be a string");return c?(0,s.default)((0,t.default)(c,u?.htmlparser2||a),u):[]}}(qr)),qr}var Pc=Dc();const ya=Ai(Pc),Bc=ya.default||ya,$c=({type:r,text:e})=>{const[t,n]=L.useState(!0),s=L.useRef(null),i=L.useRef(null),a=()=>{i.current&&(i.current.style.transition="opacity 0.4s",i.current.style.opacity="0"),s.current=window.setTimeout(()=>{n(!t)},500)};return L.useEffect(()=>()=>{s.current&&clearTimeout(s.current)},[]),t?p.jsxs("div",{ref:i,className:`alert ${r}`,role:"alert",children:[p.jsx("p",{children:Bc(e)}),p.jsx("button",{className:"close",type:"button","data-toggle":"close",onClick:a,children:p.jsx(Sc,{})})]}):null};function Fc(r){return Se({attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"},child:[]},{tag:"path",attr:{d:"M19 4h-1V2h-2v2H8V2H6v2H5c-1.11 0-1.99.9-1.99 2L3 20a2 2 0 0 0 2 2h14c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm0 16H5V10h14v10zM9 14H7v-2h2v2zm4 0h-2v-2h2v2zm4 0h-2v-2h2v2zm-8 4H7v-2h2v2zm4 0h-2v-2h2v2zm4 0h-2v-2h2v2z"},child:[]}]})(r)}function Uc(r){return Se({attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"},child:[]},{tag:"path",attr:{d:"M6 19c0 1.1.9 2 2 2h8c1.1 0 2-.9 2-2V7H6v12zM19 4h-3.5l-1-1h-5l-1 1H5v2h14V4z"},child:[]}]})(r)}function Hc(r){return Se({attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"},child:[]},{tag:"path",attr:{d:"M15.41 7.41 14 6l-6 6 6 6 1.41-1.41L10.83 12z"},child:[]}]})(r)}function zc(r){return Se({attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"},child:[]},{tag:"path",attr:{d:"M10 6 8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6z"},child:[]}]})(r)}function Gc(r){return Se({attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"},child:[]},{tag:"path",attr:{d:"M19 6.41 17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"},child:[]}]})(r)}function Vc(r){return Se({attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M24 24H0V0h24v24z",opacity:".87"},child:[]},{tag:"path",attr:{d:"M16.59 8.59 12 13.17 7.41 8.59 6 10l6 6 6-6-1.41-1.41z"},child:[]}]})(r)}const Wc=({message:r,onCancel:e,onConfirm:t})=>p.jsx("div",{className:"modal",tabIndex:-1,role:"dialog",children:p.jsx("div",{className:"modal-dialog modal-sm",role:"document",children:p.jsxs("div",{className:"card",children:[p.jsxs("div",{className:"card-header bg-danger sm",children:[p.jsxs("div",{className:"card-header-title",children:[p.jsx(Uc,{className:"icon"}),p.jsx("span",{children:"Confirmation"})]}),p.jsx("div",{className:"tools",onClick:e,"aria-hidden":"true",children:p.jsx(Gc,{className:"icon"})})]}),p.jsx("div",{className:"card-body",children:p.jsx("p",{children:r})}),p.jsxs("div",{className:"card-footer",children:[p.jsx("button",{type:"button",className:"btn btn-secondary",onClick:e,children:"Cancel"}),p.jsx("button",{type:"button",className:"btn btn-primary",onClick:t,children:"Confirm"})]})]})})}),Kc=({type:r,title:e,text:t})=>p.jsxs("div",{className:`callout ${r}`,children:[e&&p.jsx("h5",{children:e}),typeof t=="string"?p.jsx("p",{children:t}):t]}),Xc=({children:r,text:e,position:t="top",className:n="",offset:s=5})=>{const[i,a]=L.useState(!1),[l,c]=L.useState({top:0,left:0}),u=L.useRef(null),h=L.useRef(null);return L.useEffect(()=>{if(i&&u.current&&h.current){const g=u.current.getBoundingClientRect(),f=h.current.getBoundingClientRect(),{scrollX:b,scrollY:E}=window;let x=0,w=0;switch(t){case"top":x=g.top-f.height-s,w=g.left+(g.width-f.width)/2;break;case"bottom":x=g.bottom+s,w=g.left+(g.width-f.width)/2;break;case"left":x=g.top+(g.height-f.height)/2,w=g.left-f.width-s;break;case"right":x=g.top+(g.height-f.height)/2,w=g.right+s;break}c({top:Math.round(x+E),left:Math.round(w+b)})}},[i,t,s]),p.jsxs("div",{ref:u,onMouseEnter:()=>a(!0),onMouseLeave:()=>a(!1),children:[r,i&&en.createPortal(p.jsx("div",{ref:h,style:{position:"absolute",top:`${l.top}px`,left:`${l.left}px`},className:`tooltip ${t} ${n}`,children:e}),document.body)]})},Yc=({className:r,children:e,text:t})=>{const[n,s]=L.useState(!1),[i,a]=L.useState({top:0,left:0}),l=L.useRef(null),c=L.useRef(null);Dt([l,c],()=>{s(!1)}),L.useEffect(()=>{if(n&&l.current&&c.current){const h=l.current.getBoundingClientRect(),g=c.current.getBoundingClientRect(),{scrollX:f,scrollY:b}=window;let E=0,x=0;r.includes("top")?(E=h.top-g.height-10,x=h.left+(h.width-g.width)/2):r.includes("bottom")?(E=h.bottom+10,x=h.left+(h.width-g.width)/2):r.includes("left")?(E=h.top+(h.height-g.height)/2,x=h.left-g.width-10):r.includes("right")&&(E=h.top+(h.height-g.height)/2,x=h.right+10),a({top:Math.round(E+b),left:Math.round(x+f)})}},[n,r]);function u(){s(!n)}return p.jsxs("div",{ref:l,onClick:u,children:[e,n&&en.createPortal(p.jsxs("div",{ref:c,className:`popover ${r}`,role:"tooltip",style:{position:"absolute",top:`${i.top}px`,left:`${i.left}px`},children:[p.jsx("div",{className:"arrow"}),p.jsx("div",{className:"popover-content",children:t})]}),document.body)]})},Zc=({children:r,className:e="",...t})=>p.jsx("div",{className:`modal-header ${e}`,...t,children:r}),Jc=({children:r,className:e="",...t})=>p.jsx("div",{className:`modal-body ${e}`,...t,children:r}),Qc=({children:r,className:e="",...t})=>p.jsx("div",{className:`modal-footer ${e}`,...t,children:r}),eu=({children:r,className:e="",...t})=>(L.useEffect(()=>(document.body.style.overflow="hidden",()=>{document.body.style.overflow=""}),[]),en.createPortal(p.jsx("div",{className:"modal",...t,children:p.jsx("div",{className:`modal-dialog ${e}`,children:r})}),document.body)),tu=({defaultIndex:r=0,children:e})=>{const[t,n]=L.useState(r),s=i=>{n(i===t?null:i)};return p.jsx("div",{className:"panel-group",children:L.Children.map(e,(i,a)=>L.cloneElement(i,{isOpen:t===a,onClick:()=>s(a)}))})},ru=({title:r,titleIcon:e,children:t,isOpen:n=!1,onClick:s})=>{const i=L.Children.toArray(t).find(l=>l.type===qo),a=L.Children.toArray(t).find(l=>l.type===Mo);return p.jsxs("div",{className:"card mb-10",children:[p.jsxs("div",{className:"card-header",role:"button",tabIndex:0,onClick:s,onKeyDown:s,children:[p.jsxs("div",{className:"card-header-title",children:[e," ",r]}),p.jsx("div",{className:"tools",children:p.jsx(Vc,{className:`menu-caret ${n?"active":""}`})})]}),n&&p.jsxs("div",{className:"panel active",children:[i,a]})]})},qo=({className:r="",children:e})=>p.jsx("div",{className:`card-body ${r}`,children:e}),Mo=({className:r="",children:e})=>p.jsx("div",{className:`card-footer ${r}`,children:e}),nu=({size:r=40,className:e="",color:t})=>p.jsx("span",{className:`circular-progress ${e} ${t?`brand-${t}`:""}`,style:{width:`${r}px`,height:`${r}px`}}),su=({showLabel:r=!1,progress:e=0,className:t="",color:n})=>{const s=t.includes("indeterminate");return p.jsxs("div",{className:`linear-progress ${t}`,children:[p.jsx("div",{className:`progress-bar ${n?`brand-${n}`:""}`,children:p.jsx("span",{className:"progress",style:{width:`${e}%`}})}),r&&!s&&p.jsxs("span",{className:"progress-label",children:[e,"%"]})]})},iu=({progress:r=0,size:e=40,className:t="",color:n,strokeWidth:s=4})=>{const[i,a]=L.useState(0);return L.useEffect(()=>{if(i<r){const l=setTimeout(()=>{a(i+1)},10);return()=>clearTimeout(l)}},[i,r]),p.jsxs("div",{className:`circular-progress-with-label ${t}`,children:[p.jsx("span",{className:`progress ${n?`brand-${n}`:""}`,style:{width:`${e}px`,height:`${e}px`,borderWidth:`${s}px`,background:n?`radial-gradient(closest-side, var(--secondary-bg) 79%, transparent 80% 100%), conic-gradient(var(--brand-${n}) ${i}%, var(--primary-bg) 0)`:`radial-gradient(closest-side, var(--secondary-bg) 79%, transparent 80% 100%), conic-gradient(#888 ${i}%, var(--primary-bg) 0)`}}),p.jsxs("span",{className:"progress-label",children:[i,"%"]})]})},ye=[];for(let r=0;r<256;++r)ye.push((r+256).toString(16).slice(1));function au(r,e=0){return(ye[r[e+0]]+ye[r[e+1]]+ye[r[e+2]]+ye[r[e+3]]+"-"+ye[r[e+4]]+ye[r[e+5]]+"-"+ye[r[e+6]]+ye[r[e+7]]+"-"+ye[r[e+8]]+ye[r[e+9]]+"-"+ye[r[e+10]]+ye[r[e+11]]+ye[r[e+12]]+ye[r[e+13]]+ye[r[e+14]]+ye[r[e+15]]).toLowerCase()}let Ws;const ou=new Uint8Array(16);function lu(){if(!Ws){if(typeof crypto>"u"||!crypto.getRandomValues)throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");Ws=crypto.getRandomValues.bind(crypto)}return Ws(ou)}const cu=typeof crypto<"u"&&crypto.randomUUID&&crypto.randomUUID.bind(crypto),Ea={randomUUID:cu};function Do(r,e,t){if(Ea.randomUUID&&!r)return Ea.randomUUID();r=r||{};const n=r.random??r.rng?.()??lu();if(n.length<16)throw new Error("Random bytes length must be >= 16");return n[6]=n[6]&15|64,n[8]=n[8]&63|128,au(n)}const _i=L.forwardRef(({name:r,label:e,message:t,error:n,checked:s=!1,onChange:i,...a},l)=>{const c=Do(),u=h=>{i(h)};return p.jsxs(p.Fragment,{children:[p.jsxs("label",{className:"custom-checkbox",htmlFor:c,children:[p.jsx("input",{className:"form-control",type:"checkbox",id:c,name:r,ref:l,role:"checkbox",checked:s,onChange:u,...a}),p.jsx("span",{className:"checkmark"}),e&&p.jsx("span",{className:a.required?"required":"",children:e})]}),n?p.jsx("small",{className:"form-message text-danger",children:n}):t&&p.jsx("small",{className:"form-message text-muted",children:t})]})});_i.displayName="Checkbox";const uu=({children:r})=>p.jsx("div",{className:"form",children:r}),hu=({className:r="",children:e})=>p.jsx("div",{className:`form-group ${r}`,children:e}),du=({className:r="",children:e})=>p.jsx("div",{className:`form-checkbox ${r}`,children:e}),fu=({className:r="",children:e})=>p.jsx("div",{className:`form-radio ${r}`,children:e}),pu=r=>{const[e,t]=L.useState(!1);return L.useEffect(()=>{const n=()=>{if(!r.current)return;const{top:i,height:a}=r.current.getBoundingClientRect(),l=window.innerHeight;t(i+a>l)};n();const s=()=>{n()};return window.addEventListener("resize",s),()=>{window.removeEventListener("resize",s)}},[r]),e},gu=r=>{const[e,t,n]=r.toLocaleDateString("id-ID",{timeZone:"Asia/Jakarta",year:"numeric",month:"2-digit",day:"2-digit"}).split("/");return`${n}-${t}-${e}`},Wr=(r,e)=>Array.from({length:r},(t,n)=>e(n)),xa=(r,e)=>{const t=new Date(e,r,1).getDay(),n=new Date(e,r+1,0).getDate(),s=Wr(t,()=>({value:"",label:""})),i=Wr(n,a=>({value:(a+1).toString(),label:(a+1).toString()}));return[...s,...i]},mu=(r,e)=>{const t=new Date(e,r+1,0).getDate();return Wr(t,n=>({value:(n+1).toString(),label:(n+1).toString()}))},bu=(r="id-ID")=>Wr(12,e=>({value:(e+1).toString(),label:new Date(2024,e,1).toLocaleString(r,{month:"long"})})),vu=()=>{const r=new Date().getFullYear();return Wr(81,e=>{const t=r-60+e;return{value:t.toString(),label:t.toString()}})},yu=r=>{const e=new Date(r);return e instanceof Date&&!isNaN(e.getTime())},Eu=["Min","Sen","Sel","Rab","Kam","Jum","Sab"],xu=r=>{const[e,t]=L.useState(r);return{selectedDate:e,handlePrevMonth:()=>{const l=new Date(e);l.setMonth(e.getMonth()-1),t(l)},handleNextMonth:()=>{const l=new Date(e);l.setMonth(e.getMonth()+1),t(l)},handleDateClick:(l,c,u,h)=>{const g=new Date(u+"-"+(parseInt(c,10)+1)+"-"+l);t(g),h(gu(g))},isSelectedDate:(l,c,u)=>parseInt(u,10)===r.getFullYear()&&parseInt(c,10)===r.getMonth()+1&&parseInt(l,10)===r.getDate()}},Po=({onSelect:r,defaultDate:e})=>{const t=L.useRef(null),n=pu(t),s=yu(e)?new Date(e):new Date,{selectedDate:i,handlePrevMonth:a,handleNextMonth:l,handleDateClick:c,isSelectedDate:u}=xu(s),[h,g]=L.useState(xa(s.getMonth(),s.getFullYear()));L.useEffect(()=>{g(xa(i.getMonth(),i.getFullYear()))},[i]);const f=(b,E)=>h.map((x,w)=>x.value!==""?p.jsx("div",{className:`calendar-day ${u(x.value,b+1,E)?"selected-date":""}`,onClick:()=>c(x.value,b,E,r),children:x.label},`day-${w}`):p.jsx("div",{className:"calendar-day empty"},`day-${w}`));return p.jsxs("div",{className:`date-picker ${n?"position-top":""}`,ref:t,children:[p.jsxs("div",{className:"calendar-nav",children:[p.jsx("button",{type:"button",className:"btn btn-rounded",onClick:a,children:p.jsx(Hc,{})}),p.jsxs("span",{children:[i.toLocaleString("default",{month:"long"})," ",i.getFullYear()]}),p.jsx("button",{type:"button",className:"btn btn-rounded",onClick:l,children:p.jsx(zc,{})})]}),p.jsxs("div",{className:"calendar",children:[p.jsx("div",{className:"calendar-header",children:Eu.map((b,E)=>p.jsx("div",{className:"calendar-day-name",children:b},`day-${E}`))}),p.jsx("div",{className:"calendar-body",children:f(i.getMonth().toString(),i.getFullYear().toString())})]})]})},Ci=(r,e)=>{L.useEffect(()=>{if(r&&e.current){const t=e.current.getBoundingClientRect(),n=window.innerHeight;t.bottom>n?e.current.classList.add("position-top"):e.current.classList.remove("position-top");const s=e.current.querySelector(".option.selected");s&&s.scrollIntoView({block:"nearest"})}},[r,e])},cr=L.forwardRef((r,e)=>{const{name:t,label:n,message:s,selectLabel:i="Select an option",size:a="md",floatingLabel:l=!1,error:c,options:u,value:h="",onChange:g,onBlur:f,required:b,disabled:E}=r,[x,w]=L.useState(!1),S=L.useRef(null),_=L.useRef(null),q=L.useRef(null),$=u.find(T=>T.value===h)?.label??i;L.useImperativeHandle(e,()=>q.current),L.useEffect(()=>w(!1),[]),Dt([S],()=>{w(!1),q.current?.blur()}),Ci(x,_);const m=T=>{const k=u.find(te=>te.value===T);if(!k)return;const P=k.value;if(g?.({target:{name:t,value:P,type:"select-one"},currentTarget:{name:t,value:P}}),q.current){q.current.value=String(P);const te=new CustomEvent("change",{bubbles:!0,detail:{originalValue:P}});q.current.dispatchEvent(te)}w(!1)};return p.jsxs(p.Fragment,{children:[p.jsxs("select",{ref:q,name:t,value:h!=null&&!Number.isNaN(h)?h:"",onChange:g,onBlur:f,required:b,disabled:E,style:{position:"absolute",left:"-9999px"},tabIndex:-1,children:[p.jsx("option",{value:"",children:"Select an option"}),u.map(T=>p.jsx("option",{value:String(T.value),children:T.label},T.value))]}),n&&!l&&p.jsxs("label",{htmlFor:t,children:[n," ",b&&p.jsx("span",{className:"text-danger",children:"*"})]}),p.jsxs("div",{className:`dropdown-select-container ${a}`,ref:S,children:[p.jsxs("div",{className:`dropdown-header ${x?"open":""} ${E?"disabled":""}`,onClick:()=>!E&&w(!x),"aria-haspopup":"listbox","aria-expanded":x,children:[p.jsx("span",{className:"label",children:$}),p.jsx(Si,{className:"arrow"})]}),x&&p.jsx("div",{className:"dropdown-options scrollbar",ref:_,role:"listbox",children:u.map(T=>p.jsx("div",{className:`option ${T.value===h?"selected":""}`,onClick:()=>m(T.value),role:"option","aria-selected":T.value===h,children:T.label},T.value))})]}),n&&l&&p.jsxs("label",{htmlFor:t,children:[n," ",b&&p.jsx("span",{className:"text-danger",children:"*"})]}),c?p.jsx("small",{className:"form-message text-danger",children:c}):s&&p.jsx("small",{className:"form-message text-muted",children:s})]})});cr.displayName="Select";const Bo=L.forwardRef(({name:r,label:e,message:t,floatingLabel:n,locale:s="id",error:i,value:a,...l},c)=>{const u=_=>{if(!_)return new Date;const q=new Date(_);return isNaN(q.getTime())?new Date:q},h=u(a),[g,f]=L.useState({day:h.getDate(),month:h.getMonth()+1,year:h.getFullYear()});L.useEffect(()=>{if(a){const _=u(a);f({day:_.getDate(),month:_.getMonth()+1,year:_.getFullYear()})}},[a]),L.useEffect(()=>{const _=new Date(g.year,g.month,0).getDate();g.day>_&&f(q=>({...q,day:_}))},[g.month,g.year]);const b=(_,q)=>{const $=parseInt(q,10);if(isNaN($))return;const m={...g,[_]:$};if(f(m),l.onChange){const T=`${m.year}-${String(m.month).padStart(2,"0")}-${String(m.day).padStart(2,"0")}`;l.onChange({target:{name:r,value:T}})}},E=L.useMemo(()=>mu(g.month-1,g.year),[g.month,g.year]),x=L.useMemo(()=>bu(s),[s]),w=L.useMemo(()=>vu(),[]),S=p.jsxs("label",{htmlFor:r,children:[e," ",l.required&&p.jsx("span",{className:"text-danger",children:"*"})]});return p.jsxs(p.Fragment,{children:[!n&&S,p.jsxs("div",{className:"row",ref:c,children:[p.jsx("div",{className:"col-md-3",children:p.jsx(cr,{name:`${r}-day`,disabled:l.disabled,options:E,value:g.day.toString(),onChange:_=>b("day",_.target.value),"aria-label":"Day"})}),p.jsx("div",{className:"col-md-5",children:p.jsx(cr,{name:`${r}-month`,disabled:l.disabled,options:x,value:g.month.toString(),onChange:_=>b("month",_.target.value),"aria-label":"Month"})}),p.jsx("div",{className:"col-md-4",children:p.jsx(cr,{name:`${r}-year`,disabled:l.disabled,options:w,value:g.year.toString(),onChange:_=>b("year",_.target.value),"aria-label":"Year"})})]}),n&&S,i?p.jsx("small",{className:"form-message text-danger",children:i}):t&&p.jsx("small",{className:"form-message text-muted",children:t})]})});Bo.displayName="DropdownDatePicker";const Nu=({type:r="text",className:e,...t})=>p.jsx("input",{type:r,className:`clear ${e}`,...t}),Oi=L.forwardRef(({className:r,name:e,label:t,message:n,floatingLabel:s,error:i,...a},l)=>p.jsxs(p.Fragment,{children:[!s&&t&&p.jsxs("label",{htmlFor:e,children:[t," ",a.required&&p.jsx("span",{className:"text-danger",children:"*"})]}),p.jsx("input",{type:"text",className:`form-control ${r}`,id:e,name:e,placeholder:s?"":" ",ref:l,...a}),s&&t&&p.jsxs("label",{htmlFor:e,children:[t," ",a.required&&p.jsx("span",{className:"text-danger",children:"*"})]}),i?p.jsx("small",{className:"form-message text-danger",children:i}):n&&p.jsx("small",{className:"form-message text-muted",children:n})]})),wu=L.forwardRef(({className:r,name:e,label:t,message:n,floatingLabel:s,error:i,actionIcon:a,actionButtonLabel:l,actionButtonHandler:c,...u},h)=>p.jsxs(p.Fragment,{children:[!s&&t&&p.jsxs("label",{htmlFor:e,children:[t," ",u.required&&p.jsx("span",{className:"text-danger",children:"*"})]}),p.jsxs("div",{className:"input-group-icon",children:[p.jsx("input",{type:"text",className:`form-control pr-35 ${r}`,id:e,name:e,placeholder:s?"":" ",ref:h,...u}),a&&p.jsx(lt,{role:"button",className:"icon",onClick:c,tabIndex:0,"aria-label":l,disabled:u.disabled,children:a})]}),s&&t&&p.jsxs("label",{htmlFor:e,children:[t," ",u.required&&p.jsx("span",{className:"text-danger",children:"*"})]}),i?p.jsx("small",{className:"form-message text-danger",children:i}):n&&p.jsx("small",{className:"form-message text-muted",children:n})]})),$o=L.forwardRef(({name:r,label:e,message:t,floatingLabel:n,value:s="",error:i,...a},l)=>{const[c,u]=L.useState(!1),[h,g]=L.useState(s??""),f=L.useRef(null);L.useEffect(()=>{g(s)},[s]);const b=x=>{x.stopPropagation(),u(w=>!w)},E=x=>{g(x),u(!1),a.onChange&&a.onChange({target:{name:r,value:x}})};return Dt([f],()=>{u(!1)}),p.jsxs(p.Fragment,{children:[!n&&p.jsxs("label",{htmlFor:r,children:[e," ",a.required&&p.jsx("span",{className:"text-danger",children:"*"})]}),p.jsxs("div",{className:"input-group-icon",children:[p.jsx(Oi,{type:"text",className:"form-control",id:r,name:r,placeholder:n?"":" ",ref:l,value:h,...a}),p.jsx(lt,{role:"button",className:"icon",onClick:b,tabIndex:0,"aria-label":"Open date picker",disabled:a.disabled,children:p.jsx(Fc,{})}),c&&p.jsx("div",{ref:f,children:p.jsx(Po,{onSelect:E,defaultDate:h})})]}),n&&p.jsxs("label",{htmlFor:r,children:[e," ",a.required&&p.jsx("span",{className:"text-danger",children:"*"})]}),i?p.jsx("small",{className:"form-message text-danger",children:i}):t&&p.jsx("small",{className:"form-message text-muted",children:t})]})});$o.displayName="InputDate";const Fo=L.forwardRef(({name:r,label:e,message:t,accept:n,error:s,onChange:i,...a},l)=>{const c=u=>{i&&i(u)};return p.jsxs("div",{className:"form-group",children:[e&&p.jsxs("label",{htmlFor:r,children:[e," ",a.required&&p.jsx("span",{className:"text-danger",children:"*"})]}),p.jsx("input",{type:"file",className:"form-control",id:r,name:r,accept:n,onChange:c,ref:l,...a}),s?p.jsx("small",{className:"form-message text-danger",children:s}):t&&p.jsx("small",{className:"form-message text-muted",children:t})]})});Fo.displayName="InputFile";const Tu=()=>p.jsx("div",{children:"InputImageSize"}),Uo=L.forwardRef(({name:r,label:e,message:t,floatingLabel:n,error:s,...i},a)=>p.jsxs(p.Fragment,{children:[!n&&p.jsxs("label",{htmlFor:r,children:[e," ",i.required&&p.jsx("span",{className:"text-danger",children:"*"})]}),p.jsx("textarea",{className:"form-control",id:r,name:r,placeholder:n?"":" ",ref:a,...i}),n&&p.jsxs("label",{htmlFor:r,children:[e," ",i.required&&p.jsx("span",{className:"text-danger",children:"*"})]}),s?p.jsx("small",{className:"form-message text-danger",children:s}):t&&p.jsx("small",{className:"form-message text-muted",children:t})]}));Uo.displayName="InputTextArea";const Au=L.forwardRef(({name:r,label:e,message:t,options:n,error:s,...i},a)=>p.jsxs(p.Fragment,{children:[e&&p.jsxs("label",{htmlFor:r,children:[e," ",i.required&&p.jsx("span",{className:"text-danger",children:"*"})]}),p.jsx("div",{className:"form-control",children:n.map(l=>{const c=`${Do()}-${l.value}`;return p.jsxs("div",{className:"d-flex align-items-center",children:[p.jsx("input",{type:"radio",id:c,name:r,value:l.value,ref:a,...i}),p.jsx("label",{htmlFor:c,children:l.label})]},l.value)})}),s?p.jsx("small",{className:"form-message text-danger",children:s}):t&&p.jsx("small",{className:"form-message text-muted",children:t})]})),Ho=L.forwardRef(({name:r,label:e,message:t,size:n="md",options:s,selectedValue:i,error:a,required:l,...c},u)=>p.jsxs(p.Fragment,{children:[e&&p.jsxs("label",{htmlFor:r,children:[e," ",l&&p.jsx("span",{className:"text-danger",children:"*"})]}),p.jsx("div",{className:"btn-group","data-toggle":"buttons",children:s.map(h=>{const g=h.value.toString()===i?.toString();return p.jsxs("label",{className:`btn auto btn-default btn-${n} ${g?"active":""}`,children:[p.jsx("input",{type:"radio",id:h.value.toString(),name:r,value:h.value.toString(),ref:u,...c}),p.jsx("span",{children:h.label})]},h.value.toString())})}),a?p.jsx("small",{className:"form-message text-danger",children:a}):t&&p.jsx("small",{className:"form-message text-muted",children:t})]}));Ho.displayName="RadioButtonGroup";const zo=L.forwardRef(({name:r,label:e,message:t,selectLabel:n,floatingLabel:s=!1,error:i,options:a,value:l=[],onChange:c,required:u,disabled:h,className:g},f)=>{const[b,E]=L.useState(!1),[x,w]=L.useState(l),S=L.useRef(null),_=L.useRef(null);L.useEffect(()=>{JSON.stringify(l)!==JSON.stringify(x)&&w(l)},[x,l]);const q=m=>{const T=x.includes(m)?x.filter(k=>k!==m):[...x,m];w(T),c&&c({target:{name:r,value:T}})};Dt([S],()=>{E(!1)}),Ci(b,_);const $=x.map(m=>a.find(T=>T.value===m)?.label).filter(Boolean).join(", ");return p.jsxs(p.Fragment,{children:[e&&!s&&p.jsxs("label",{htmlFor:r,children:[e," ",u&&p.jsx("span",{className:"text-danger",children:"*"})]}),p.jsxs("div",{className:`dropdown-select-container ${g||""}`,ref:S,children:[p.jsxs("div",{className:`dropdown-header ${b?"open":""} ${h?"disabled":""}`,onClick:()=>!h&&E(!b),ref:f,children:[p.jsx("span",{className:"label",children:$||n||"Select an option"}),p.jsx(Si,{className:`arrow ${b?"open":""}`})]}),b&&!h&&p.jsx("div",{className:"dropdown-options scrollbar",ref:_,role:"listbox",children:a?.map(m=>p.jsx("div",{className:`option ${x.includes(m.value)?"selected":""}`,children:p.jsx(_i,{name:m.value.toString(),label:m.label,checked:x.includes(m.value),onChange:()=>q(m.value)})},m.value))})]}),e&&s&&p.jsxs("label",{htmlFor:r,children:[e," ",u&&p.jsx("span",{className:"text-danger",children:"*"})]}),i?p.jsx("small",{className:"form-message text-danger",children:i}):t&&p.jsx("small",{className:"form-message text-muted",children:t})]})});zo.displayName="SelectMultiple";const Go=L.forwardRef((r,e)=>{const{name:t,label:n,message:s,selectLabel:i="Select an option",size:a="md",floatingLabel:l=!1,error:c,options:u=[],value:h="",onChange:g,required:f,disabled:b,selectSearch:E="",setSelectSearch:x,isLoading:w=!1}=r,[S,_]=L.useState(!1),q=L.useRef(null),$=L.useRef(null),m=L.useRef(null);L.useImperativeHandle(e,()=>m.current),Dt([q],()=>_(!1)),Ci(S,$);const T=h?u.find(P=>P.value===h)?.label:i,k=P=>{g?.({target:{name:t,value:P}}),m.current&&(m.current.value=String(P),m.current.dispatchEvent(new Event("change",{bubbles:!0}))),_(!1)};return p.jsxs(p.Fragment,{children:[p.jsxs("select",{ref:m,name:t,value:h,onChange:g,style:{position:"absolute",left:"-9999px"},tabIndex:-1,children:[p.jsx("option",{value:"",children:"Select an option"}),u.map(P=>p.jsx("option",{value:P.value,children:P.label},P.value))]}),n&&!l&&p.jsxs("label",{htmlFor:t,children:[n," ",f&&p.jsx("span",{className:"text-danger",children:"*"})]}),p.jsxs("div",{className:`dropdown-select-container ${a}`,ref:q,children:[p.jsxs("div",{className:`dropdown-header ${S?"open":""} ${b?"disabled":""}`,onClick:()=>!b&&_(!S),"aria-haspopup":"listbox","aria-expanded":S,children:[p.jsx("span",{className:"label",children:T}),p.jsx(Si,{className:"arrow"})]}),S&&p.jsxs("div",{className:"dropdown-options scrollbar",ref:$,role:"listbox",children:[p.jsx("div",{className:"search-input",children:p.jsx(Oi,{name:"search",placeholder:"Ketik untuk mencari..",type:"search",autoFocus:!0,value:E,onChange:P=>x?.(P.currentTarget.value)})}),w?p.jsx("div",{className:"p-10 text-center",children:"Loading options..."}):u.length===0?p.jsx("div",{className:"p-10 text-center",children:"Tidak ada hasil ditemukan"}):u.map(P=>p.jsx("div",{className:`option ${h===P.value?"selected":""}`,onClick:()=>k(P.value),role:"option","aria-selected":h===P.value,children:P.label},P.value))]})]}),n&&l&&p.jsxs("label",{htmlFor:t,children:[n," ",f&&p.jsx("span",{className:"text-danger",children:"*"})]}),c?p.jsx("small",{className:"form-message text-danger",children:c}):s&&p.jsx("small",{className:"form-message text-muted",children:s})]})});Go.displayName="SelectWithSearch";const Vo=L.forwardRef(({name:r,className:e="",error:t,checked:n=!1,onChange:s,...i},a)=>{const l=c=>{s&&s(c)};return p.jsx(p.Fragment,{children:p.jsxs("label",{className:`switch ${e} ${t?"has-error":""}`,children:[p.jsx("input",{type:"checkbox",id:r,name:r,ref:a,checked:n,onChange:l,disabled:i.disabled,...i}),p.jsx("span",{className:"slider round"})]})})});Vo.displayName="Switch";var Wo=typeof global=="object"&&global&&global.Object===Object&&global,Su=typeof self=="object"&&self&&self.Object===Object&&self,et=Wo||Su||Function("return this")(),xt=et.Symbol,Ko=Object.prototype,_u=Ko.hasOwnProperty,Cu=Ko.toString,$r=xt?xt.toStringTag:void 0;function Ou(r){var e=_u.call(r,$r),t=r[$r];try{r[$r]=void 0;var n=!0}catch{}var s=Cu.call(r);return n&&(e?r[$r]=t:delete r[$r]),s}var Ru=Object.prototype,Lu=Ru.toString;function ku(r){return Lu.call(r)}var ju="[object Null]",Iu="[object Undefined]",Na=xt?xt.toStringTag:void 0;function gr(r){return r==null?r===void 0?Iu:ju:Na&&Na in Object(r)?Ou(r):ku(r)}function ct(r){return r!=null&&typeof r=="object"}var jt=Array.isArray;function Nt(r){var e=typeof r;return r!=null&&(e=="object"||e=="function")}function Xo(r){return r}var qu="[object AsyncFunction]",Mu="[object Function]",Du="[object GeneratorFunction]",Pu="[object Proxy]";function Ri(r){if(!Nt(r))return!1;var e=gr(r);return e==Mu||e==Du||e==qu||e==Pu}var Ks=et["__core-js_shared__"],wa=function(){var r=/[^.]+$/.exec(Ks&&Ks.keys&&Ks.keys.IE_PROTO||"");return r?"Symbol(src)_1."+r:""}();function Bu(r){return!!wa&&wa in r}var $u=Function.prototype,Fu=$u.toString;function Pt(r){if(r!=null){try{return Fu.call(r)}catch{}try{return r+""}catch{}}return""}var Uu=/[\\^$.*+?()[\]{}|]/g,Hu=/^\[object .+?Constructor\]$/,zu=Function.prototype,Gu=Object.prototype,Vu=zu.toString,Wu=Gu.hasOwnProperty,Ku=RegExp("^"+Vu.call(Wu).replace(Uu,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function Xu(r){if(!Nt(r)||Bu(r))return!1;var e=Ri(r)?Ku:Hu;return e.test(Pt(r))}function Yu(r,e){return r?.[e]}function Bt(r,e){var t=Yu(r,e);return Xu(t)?t:void 0}var ci=Bt(et,"WeakMap"),Ta=Object.create,Zu=function(){function r(){}return function(e){if(!Nt(e))return{};if(Ta)return Ta(e);r.prototype=e;var t=new r;return r.prototype=void 0,t}}();function Ju(r,e,t){switch(t.length){case 0:return r.call(e);case 1:return r.call(e,t[0]);case 2:return r.call(e,t[0],t[1]);case 3:return r.call(e,t[0],t[1],t[2])}return r.apply(e,t)}function Qu(r,e){var t=-1,n=r.length;for(e||(e=Array(n));++t<n;)e[t]=r[t];return e}var eh=800,th=16,rh=Date.now;function nh(r){var e=0,t=0;return function(){var n=rh(),s=th-(n-t);if(t=n,s>0){if(++e>=eh)return arguments[0]}else e=0;return r.apply(void 0,arguments)}}function sh(r){return function(){return r}}var Un=function(){try{var r=Bt(Object,"defineProperty");return r({},"",{}),r}catch{}}(),ih=Un?function(r,e){return Un(r,"toString",{configurable:!0,enumerable:!1,value:sh(e),writable:!0})}:Xo,ah=nh(ih);function oh(r,e){for(var t=-1,n=r==null?0:r.length;++t<n&&e(r[t],t,r)!==!1;);return r}var lh=9007199254740991,ch=/^(?:0|[1-9]\d*)$/;function Yo(r,e){var t=typeof r;return e=e??lh,!!e&&(t=="number"||t!="symbol"&&ch.test(r))&&r>-1&&r%1==0&&r<e}function Li(r,e,t){e=="__proto__"&&Un?Un(r,e,{configurable:!0,enumerable:!0,value:t,writable:!0}):r[e]=t}function tn(r,e){return r===e||r!==r&&e!==e}var uh=Object.prototype,hh=uh.hasOwnProperty;function Zo(r,e,t){var n=r[e];(!(hh.call(r,e)&&tn(n,t))||t===void 0&&!(e in r))&&Li(r,e,t)}function dh(r,e,t,n){var s=!t;t||(t={});for(var i=-1,a=e.length;++i<a;){var l=e[i],c=void 0;c===void 0&&(c=r[l]),s?Li(t,l,c):Zo(t,l,c)}return t}var Aa=Math.max;function fh(r,e,t){return e=Aa(e===void 0?r.length-1:e,0),function(){for(var n=arguments,s=-1,i=Aa(n.length-e,0),a=Array(i);++s<i;)a[s]=n[e+s];s=-1;for(var l=Array(e+1);++s<e;)l[s]=n[s];return l[e]=t(a),Ju(r,this,l)}}function ph(r,e){return ah(fh(r,e,Xo),r+"")}var gh=9007199254740991;function Jo(r){return typeof r=="number"&&r>-1&&r%1==0&&r<=gh}function Kn(r){return r!=null&&Jo(r.length)&&!Ri(r)}function mh(r,e,t){if(!Nt(t))return!1;var n=typeof e;return(n=="number"?Kn(t)&&Yo(e,t.length):n=="string"&&e in t)?tn(t[e],r):!1}function bh(r){return ph(function(e,t){var n=-1,s=t.length,i=s>1?t[s-1]:void 0,a=s>2?t[2]:void 0;for(i=r.length>3&&typeof i=="function"?(s--,i):void 0,a&&mh(t[0],t[1],a)&&(i=s<3?void 0:i,s=1),e=Object(e);++n<s;){var l=t[n];l&&r(e,l,n,i)}return e})}var vh=Object.prototype;function ki(r){var e=r&&r.constructor,t=typeof e=="function"&&e.prototype||vh;return r===t}function yh(r,e){for(var t=-1,n=Array(r);++t<r;)n[t]=e(t);return n}var Eh="[object Arguments]";function Sa(r){return ct(r)&&gr(r)==Eh}var Qo=Object.prototype,xh=Qo.hasOwnProperty,Nh=Qo.propertyIsEnumerable,ui=Sa(function(){return arguments}())?Sa:function(r){return ct(r)&&xh.call(r,"callee")&&!Nh.call(r,"callee")};function wh(){return!1}var el=typeof exports=="object"&&exports&&!exports.nodeType&&exports,_a=el&&typeof module=="object"&&module&&!module.nodeType&&module,Th=_a&&_a.exports===el,Ca=Th?et.Buffer:void 0,Ah=Ca?Ca.isBuffer:void 0,Kr=Ah||wh,Sh="[object Arguments]",_h="[object Array]",Ch="[object Boolean]",Oh="[object Date]",Rh="[object Error]",Lh="[object Function]",kh="[object Map]",jh="[object Number]",Ih="[object Object]",qh="[object RegExp]",Mh="[object Set]",Dh="[object String]",Ph="[object WeakMap]",Bh="[object ArrayBuffer]",$h="[object DataView]",Fh="[object Float32Array]",Uh="[object Float64Array]",Hh="[object Int8Array]",zh="[object Int16Array]",Gh="[object Int32Array]",Vh="[object Uint8Array]",Wh="[object Uint8ClampedArray]",Kh="[object Uint16Array]",Xh="[object Uint32Array]",fe={};fe[Fh]=fe[Uh]=fe[Hh]=fe[zh]=fe[Gh]=fe[Vh]=fe[Wh]=fe[Kh]=fe[Xh]=!0;fe[Sh]=fe[_h]=fe[Bh]=fe[Ch]=fe[$h]=fe[Oh]=fe[Rh]=fe[Lh]=fe[kh]=fe[jh]=fe[Ih]=fe[qh]=fe[Mh]=fe[Dh]=fe[Ph]=!1;function Yh(r){return ct(r)&&Jo(r.length)&&!!fe[gr(r)]}function ji(r){return function(e){return r(e)}}var tl=typeof exports=="object"&&exports&&!exports.nodeType&&exports,Gr=tl&&typeof module=="object"&&module&&!module.nodeType&&module,Zh=Gr&&Gr.exports===tl,Xs=Zh&&Wo.process,fr=function(){try{var r=Gr&&Gr.require&&Gr.require("util").types;return r||Xs&&Xs.binding&&Xs.binding("util")}catch{}}(),Oa=fr&&fr.isTypedArray,Ii=Oa?ji(Oa):Yh,Jh=Object.prototype,Qh=Jh.hasOwnProperty;function rl(r,e){var t=jt(r),n=!t&&ui(r),s=!t&&!n&&Kr(r),i=!t&&!n&&!s&&Ii(r),a=t||n||s||i,l=a?yh(r.length,String):[],c=l.length;for(var u in r)(e||Qh.call(r,u))&&!(a&&(u=="length"||s&&(u=="offset"||u=="parent")||i&&(u=="buffer"||u=="byteLength"||u=="byteOffset")||Yo(u,c)))&&l.push(u);return l}function nl(r,e){return function(t){return r(e(t))}}var ed=nl(Object.keys,Object),td=Object.prototype,rd=td.hasOwnProperty;function nd(r){if(!ki(r))return ed(r);var e=[];for(var t in Object(r))rd.call(r,t)&&t!="constructor"&&e.push(t);return e}function sd(r){return Kn(r)?rl(r):nd(r)}function id(r){var e=[];if(r!=null)for(var t in Object(r))e.push(t);return e}var ad=Object.prototype,od=ad.hasOwnProperty;function ld(r){if(!Nt(r))return id(r);var e=ki(r),t=[];for(var n in r)n=="constructor"&&(e||!od.call(r,n))||t.push(n);return t}function sl(r){return Kn(r)?rl(r,!0):ld(r)}var Xr=Bt(Object,"create");function cd(){this.__data__=Xr?Xr(null):{},this.size=0}function ud(r){var e=this.has(r)&&delete this.__data__[r];return this.size-=e?1:0,e}var hd="__lodash_hash_undefined__",dd=Object.prototype,fd=dd.hasOwnProperty;function pd(r){var e=this.__data__;if(Xr){var t=e[r];return t===hd?void 0:t}return fd.call(e,r)?e[r]:void 0}var gd=Object.prototype,md=gd.hasOwnProperty;function bd(r){var e=this.__data__;return Xr?e[r]!==void 0:md.call(e,r)}var vd="__lodash_hash_undefined__";function yd(r,e){var t=this.__data__;return this.size+=this.has(r)?0:1,t[r]=Xr&&e===void 0?vd:e,this}function It(r){var e=-1,t=r==null?0:r.length;for(this.clear();++e<t;){var n=r[e];this.set(n[0],n[1])}}It.prototype.clear=cd;It.prototype.delete=ud;It.prototype.get=pd;It.prototype.has=bd;It.prototype.set=yd;function Ed(){this.__data__=[],this.size=0}function Xn(r,e){for(var t=r.length;t--;)if(tn(r[t][0],e))return t;return-1}var xd=Array.prototype,Nd=xd.splice;function wd(r){var e=this.__data__,t=Xn(e,r);if(t<0)return!1;var n=e.length-1;return t==n?e.pop():Nd.call(e,t,1),--this.size,!0}function Td(r){var e=this.__data__,t=Xn(e,r);return t<0?void 0:e[t][1]}function Ad(r){return Xn(this.__data__,r)>-1}function Sd(r,e){var t=this.__data__,n=Xn(t,r);return n<0?(++this.size,t.push([r,e])):t[n][1]=e,this}function ht(r){var e=-1,t=r==null?0:r.length;for(this.clear();++e<t;){var n=r[e];this.set(n[0],n[1])}}ht.prototype.clear=Ed;ht.prototype.delete=wd;ht.prototype.get=Td;ht.prototype.has=Ad;ht.prototype.set=Sd;var Yr=Bt(et,"Map");function _d(){this.size=0,this.__data__={hash:new It,map:new(Yr||ht),string:new It}}function Cd(r){var e=typeof r;return e=="string"||e=="number"||e=="symbol"||e=="boolean"?r!=="__proto__":r===null}function Yn(r,e){var t=r.__data__;return Cd(e)?t[typeof e=="string"?"string":"hash"]:t.map}function Od(r){var e=Yn(this,r).delete(r);return this.size-=e?1:0,e}function Rd(r){return Yn(this,r).get(r)}function Ld(r){return Yn(this,r).has(r)}function kd(r,e){var t=Yn(this,r),n=t.size;return t.set(r,e),this.size+=t.size==n?0:1,this}function $t(r){var e=-1,t=r==null?0:r.length;for(this.clear();++e<t;){var n=r[e];this.set(n[0],n[1])}}$t.prototype.clear=_d;$t.prototype.delete=Od;$t.prototype.get=Rd;$t.prototype.has=Ld;$t.prototype.set=kd;function jd(r,e){for(var t=-1,n=e.length,s=r.length;++t<n;)r[s+t]=e[t];return r}var il=nl(Object.getPrototypeOf,Object),Id="[object Object]",qd=Function.prototype,Md=Object.prototype,al=qd.toString,Dd=Md.hasOwnProperty,Pd=al.call(Object);function Bd(r){if(!ct(r)||gr(r)!=Id)return!1;var e=il(r);if(e===null)return!0;var t=Dd.call(e,"constructor")&&e.constructor;return typeof t=="function"&&t instanceof t&&al.call(t)==Pd}function $d(){this.__data__=new ht,this.size=0}function Fd(r){var e=this.__data__,t=e.delete(r);return this.size=e.size,t}function Ud(r){return this.__data__.get(r)}function Hd(r){return this.__data__.has(r)}var zd=200;function Gd(r,e){var t=this.__data__;if(t instanceof ht){var n=t.__data__;if(!Yr||n.length<zd-1)return n.push([r,e]),this.size=++t.size,this;t=this.__data__=new $t(n)}return t.set(r,e),this.size=t.size,this}function Je(r){var e=this.__data__=new ht(r);this.size=e.size}Je.prototype.clear=$d;Je.prototype.delete=Fd;Je.prototype.get=Ud;Je.prototype.has=Hd;Je.prototype.set=Gd;var ol=typeof exports=="object"&&exports&&!exports.nodeType&&exports,Ra=ol&&typeof module=="object"&&module&&!module.nodeType&&module,Vd=Ra&&Ra.exports===ol,La=Vd?et.Buffer:void 0,ka=La?La.allocUnsafe:void 0;function ll(r,e){if(e)return r.slice();var t=r.length,n=ka?ka(t):new r.constructor(t);return r.copy(n),n}function Wd(r,e){for(var t=-1,n=r==null?0:r.length,s=0,i=[];++t<n;){var a=r[t];e(a,t,r)&&(i[s++]=a)}return i}function Kd(){return[]}var Xd=Object.prototype,Yd=Xd.propertyIsEnumerable,ja=Object.getOwnPropertySymbols,Zd=ja?function(r){return r==null?[]:(r=Object(r),Wd(ja(r),function(e){return Yd.call(r,e)}))}:Kd;function Jd(r,e,t){var n=e(r);return jt(r)?n:jd(n,t(r))}function hi(r){return Jd(r,sd,Zd)}var di=Bt(et,"DataView"),fi=Bt(et,"Promise"),pi=Bt(et,"Set"),Ia="[object Map]",Qd="[object Object]",qa="[object Promise]",Ma="[object Set]",Da="[object WeakMap]",Pa="[object DataView]",ef=Pt(di),tf=Pt(Yr),rf=Pt(fi),nf=Pt(pi),sf=Pt(ci),Ue=gr;(di&&Ue(new di(new ArrayBuffer(1)))!=Pa||Yr&&Ue(new Yr)!=Ia||fi&&Ue(fi.resolve())!=qa||pi&&Ue(new pi)!=Ma||ci&&Ue(new ci)!=Da)&&(Ue=function(r){var e=gr(r),t=e==Qd?r.constructor:void 0,n=t?Pt(t):"";if(n)switch(n){case ef:return Pa;case tf:return Ia;case rf:return qa;case nf:return Ma;case sf:return Da}return e});var af=Object.prototype,of=af.hasOwnProperty;function lf(r){var e=r.length,t=new r.constructor(e);return e&&typeof r[0]=="string"&&of.call(r,"index")&&(t.index=r.index,t.input=r.input),t}var Hn=et.Uint8Array;function qi(r){var e=new r.constructor(r.byteLength);return new Hn(e).set(new Hn(r)),e}function cf(r,e){var t=qi(r.buffer);return new r.constructor(t,r.byteOffset,r.byteLength)}var uf=/\w*$/;function hf(r){var e=new r.constructor(r.source,uf.exec(r));return e.lastIndex=r.lastIndex,e}var Ba=xt?xt.prototype:void 0,$a=Ba?Ba.valueOf:void 0;function df(r){return $a?Object($a.call(r)):{}}function cl(r,e){var t=e?qi(r.buffer):r.buffer;return new r.constructor(t,r.byteOffset,r.length)}var ff="[object Boolean]",pf="[object Date]",gf="[object Map]",mf="[object Number]",bf="[object RegExp]",vf="[object Set]",yf="[object String]",Ef="[object Symbol]",xf="[object ArrayBuffer]",Nf="[object DataView]",wf="[object Float32Array]",Tf="[object Float64Array]",Af="[object Int8Array]",Sf="[object Int16Array]",_f="[object Int32Array]",Cf="[object Uint8Array]",Of="[object Uint8ClampedArray]",Rf="[object Uint16Array]",Lf="[object Uint32Array]";function kf(r,e,t){var n=r.constructor;switch(e){case xf:return qi(r);case ff:case pf:return new n(+r);case Nf:return cf(r);case wf:case Tf:case Af:case Sf:case _f:case Cf:case Of:case Rf:case Lf:return cl(r,t);case gf:return new n;case mf:case yf:return new n(r);case bf:return hf(r);case vf:return new n;case Ef:return df(r)}}function ul(r){return typeof r.constructor=="function"&&!ki(r)?Zu(il(r)):{}}var jf="[object Map]";function If(r){return ct(r)&&Ue(r)==jf}var Fa=fr&&fr.isMap,qf=Fa?ji(Fa):If,Mf="[object Set]";function Df(r){return ct(r)&&Ue(r)==Mf}var Ua=fr&&fr.isSet,Pf=Ua?ji(Ua):Df,Bf=1,hl="[object Arguments]",$f="[object Array]",Ff="[object Boolean]",Uf="[object Date]",Hf="[object Error]",dl="[object Function]",zf="[object GeneratorFunction]",Gf="[object Map]",Vf="[object Number]",fl="[object Object]",Wf="[object RegExp]",Kf="[object Set]",Xf="[object String]",Yf="[object Symbol]",Zf="[object WeakMap]",Jf="[object ArrayBuffer]",Qf="[object DataView]",ep="[object Float32Array]",tp="[object Float64Array]",rp="[object Int8Array]",np="[object Int16Array]",sp="[object Int32Array]",ip="[object Uint8Array]",ap="[object Uint8ClampedArray]",op="[object Uint16Array]",lp="[object Uint32Array]",de={};de[hl]=de[$f]=de[Jf]=de[Qf]=de[Ff]=de[Uf]=de[ep]=de[tp]=de[rp]=de[np]=de[sp]=de[Gf]=de[Vf]=de[fl]=de[Wf]=de[Kf]=de[Xf]=de[Yf]=de[ip]=de[ap]=de[op]=de[lp]=!0;de[Hf]=de[dl]=de[Zf]=!1;function Bn(r,e,t,n,s,i){var a,l=e&Bf;if(a!==void 0)return a;if(!Nt(r))return r;var c=jt(r);if(c)a=lf(r);else{var u=Ue(r),h=u==dl||u==zf;if(Kr(r))return ll(r,l);if(u==fl||u==hl||h&&!s)a=h?{}:ul(r);else{if(!de[u])return s?r:{};a=kf(r,u,l)}}i||(i=new Je);var g=i.get(r);if(g)return g;i.set(r,a),Pf(r)?r.forEach(function(E){a.add(Bn(E,e,t,E,r,i))}):qf(r)&&r.forEach(function(E,x){a.set(x,Bn(E,e,t,x,r,i))});var f=hi,b=c?void 0:f(r);return oh(b||r,function(E,x){b&&(x=E,E=r[x]),Zo(a,x,Bn(E,e,t,x,r,i))}),a}var cp=1,up=4;function ur(r){return Bn(r,cp|up)}var hp="__lodash_hash_undefined__";function dp(r){return this.__data__.set(r,hp),this}function fp(r){return this.__data__.has(r)}function zn(r){var e=-1,t=r==null?0:r.length;for(this.__data__=new $t;++e<t;)this.add(r[e])}zn.prototype.add=zn.prototype.push=dp;zn.prototype.has=fp;function pp(r,e){for(var t=-1,n=r==null?0:r.length;++t<n;)if(e(r[t],t,r))return!0;return!1}function gp(r,e){return r.has(e)}var mp=1,bp=2;function pl(r,e,t,n,s,i){var a=t&mp,l=r.length,c=e.length;if(l!=c&&!(a&&c>l))return!1;var u=i.get(r),h=i.get(e);if(u&&h)return u==e&&h==r;var g=-1,f=!0,b=t&bp?new zn:void 0;for(i.set(r,e),i.set(e,r);++g<l;){var E=r[g],x=e[g];if(n)var w=a?n(x,E,g,e,r,i):n(E,x,g,r,e,i);if(w!==void 0){if(w)continue;f=!1;break}if(b){if(!pp(e,function(S,_){if(!gp(b,_)&&(E===S||s(E,S,t,n,i)))return b.push(_)})){f=!1;break}}else if(!(E===x||s(E,x,t,n,i))){f=!1;break}}return i.delete(r),i.delete(e),f}function vp(r){var e=-1,t=Array(r.size);return r.forEach(function(n,s){t[++e]=[s,n]}),t}function yp(r){var e=-1,t=Array(r.size);return r.forEach(function(n){t[++e]=n}),t}var Ep=1,xp=2,Np="[object Boolean]",wp="[object Date]",Tp="[object Error]",Ap="[object Map]",Sp="[object Number]",_p="[object RegExp]",Cp="[object Set]",Op="[object String]",Rp="[object Symbol]",Lp="[object ArrayBuffer]",kp="[object DataView]",Ha=xt?xt.prototype:void 0,Ys=Ha?Ha.valueOf:void 0;function jp(r,e,t,n,s,i,a){switch(t){case kp:if(r.byteLength!=e.byteLength||r.byteOffset!=e.byteOffset)return!1;r=r.buffer,e=e.buffer;case Lp:return!(r.byteLength!=e.byteLength||!i(new Hn(r),new Hn(e)));case Np:case wp:case Sp:return tn(+r,+e);case Tp:return r.name==e.name&&r.message==e.message;case _p:case Op:return r==e+"";case Ap:var l=vp;case Cp:var c=n&Ep;if(l||(l=yp),r.size!=e.size&&!c)return!1;var u=a.get(r);if(u)return u==e;n|=xp,a.set(r,e);var h=pl(l(r),l(e),n,s,i,a);return a.delete(r),h;case Rp:if(Ys)return Ys.call(r)==Ys.call(e)}return!1}var Ip=1,qp=Object.prototype,Mp=qp.hasOwnProperty;function Dp(r,e,t,n,s,i){var a=t&Ip,l=hi(r),c=l.length,u=hi(e),h=u.length;if(c!=h&&!a)return!1;for(var g=c;g--;){var f=l[g];if(!(a?f in e:Mp.call(e,f)))return!1}var b=i.get(r),E=i.get(e);if(b&&E)return b==e&&E==r;var x=!0;i.set(r,e),i.set(e,r);for(var w=a;++g<c;){f=l[g];var S=r[f],_=e[f];if(n)var q=a?n(_,S,f,e,r,i):n(S,_,f,r,e,i);if(!(q===void 0?S===_||s(S,_,t,n,i):q)){x=!1;break}w||(w=f=="constructor")}if(x&&!w){var $=r.constructor,m=e.constructor;$!=m&&"constructor"in r&&"constructor"in e&&!(typeof $=="function"&&$ instanceof $&&typeof m=="function"&&m instanceof m)&&(x=!1)}return i.delete(r),i.delete(e),x}var Pp=1,za="[object Arguments]",Ga="[object Array]",On="[object Object]",Bp=Object.prototype,Va=Bp.hasOwnProperty;function $p(r,e,t,n,s,i){var a=jt(r),l=jt(e),c=a?Ga:Ue(r),u=l?Ga:Ue(e);c=c==za?On:c,u=u==za?On:u;var h=c==On,g=u==On,f=c==u;if(f&&Kr(r)){if(!Kr(e))return!1;a=!0,h=!1}if(f&&!h)return i||(i=new Je),a||Ii(r)?pl(r,e,t,n,s,i):jp(r,e,c,t,n,s,i);if(!(t&Pp)){var b=h&&Va.call(r,"__wrapped__"),E=g&&Va.call(e,"__wrapped__");if(b||E){var x=b?r.value():r,w=E?e.value():e;return i||(i=new Je),s(x,w,t,n,i)}}return f?(i||(i=new Je),Dp(r,e,t,n,s,i)):!1}function gl(r,e,t,n,s){return r===e?!0:r==null||e==null||!ct(r)&&!ct(e)?r!==r&&e!==e:$p(r,e,t,n,gl,s)}function Fp(r){return function(e,t,n){for(var s=-1,i=Object(e),a=n(e),l=a.length;l--;){var c=a[++s];if(t(i[c],c,i)===!1)break}return e}}var Up=Fp();function gi(r,e,t){(t!==void 0&&!tn(r[e],t)||t===void 0&&!(e in r))&&Li(r,e,t)}function Hp(r){return ct(r)&&Kn(r)}function mi(r,e){if(!(e==="constructor"&&typeof r[e]=="function")&&e!="__proto__")return r[e]}function zp(r){return dh(r,sl(r))}function Gp(r,e,t,n,s,i,a){var l=mi(r,t),c=mi(e,t),u=a.get(c);if(u){gi(r,t,u);return}var h=i?i(l,c,t+"",r,e,a):void 0,g=h===void 0;if(g){var f=jt(c),b=!f&&Kr(c),E=!f&&!b&&Ii(c);h=c,f||b||E?jt(l)?h=l:Hp(l)?h=Qu(l):b?(g=!1,h=ll(c,!0)):E?(g=!1,h=cl(c,!0)):h=[]:Bd(c)||ui(c)?(h=l,ui(l)?h=zp(l):(!Nt(l)||Ri(l))&&(h=ul(c))):g=!1}g&&(a.set(c,h),s(h,c,n,i,a),a.delete(c)),gi(r,t,h)}function ml(r,e,t,n,s){r!==e&&Up(e,function(i,a){if(s||(s=new Je),Nt(i))Gp(r,e,a,t,ml,n,s);else{var l=n?n(mi(r,a),i,a+"",r,e,s):void 0;l===void 0&&(l=i),gi(r,a,l)}},sl)}function mt(r,e){return gl(r,e)}var yt=bh(function(r,e,t){ml(r,e,t)}),V=(r=>(r[r.TYPE=3]="TYPE",r[r.LEVEL=12]="LEVEL",r[r.ATTRIBUTE=13]="ATTRIBUTE",r[r.BLOT=14]="BLOT",r[r.INLINE=7]="INLINE",r[r.BLOCK=11]="BLOCK",r[r.BLOCK_BLOT=10]="BLOCK_BLOT",r[r.INLINE_BLOT=6]="INLINE_BLOT",r[r.BLOCK_ATTRIBUTE=9]="BLOCK_ATTRIBUTE",r[r.INLINE_ATTRIBUTE=5]="INLINE_ATTRIBUTE",r[r.ANY=15]="ANY",r))(V||{});class Qe{constructor(e,t,n={}){this.attrName=e,this.keyName=t;const s=V.TYPE&V.ATTRIBUTE;this.scope=n.scope!=null?n.scope&V.LEVEL|s:V.ATTRIBUTE,n.whitelist!=null&&(this.whitelist=n.whitelist)}static keys(e){return Array.from(e.attributes).map(t=>t.name)}add(e,t){return this.canAdd(e,t)?(e.setAttribute(this.keyName,t),!0):!1}canAdd(e,t){return this.whitelist==null?!0:typeof t=="string"?this.whitelist.indexOf(t.replace(/["']/g,""))>-1:this.whitelist.indexOf(t)>-1}remove(e){e.removeAttribute(this.keyName)}value(e){const t=e.getAttribute(this.keyName);return this.canAdd(e,t)&&t?t:""}}class hr extends Error{constructor(e){e="[Parchment] "+e,super(e),this.message=e,this.name=this.constructor.name}}const bl=class bi{constructor(){this.attributes={},this.classes={},this.tags={},this.types={}}static find(e,t=!1){if(e==null)return null;if(this.blots.has(e))return this.blots.get(e)||null;if(t){let n=null;try{n=e.parentNode}catch{return null}return this.find(n,t)}return null}create(e,t,n){const s=this.query(t);if(s==null)throw new hr(`Unable to create ${t} blot`);const i=s,a=t instanceof Node||t.nodeType===Node.TEXT_NODE?t:i.create(n),l=new i(e,a,n);return bi.blots.set(l.domNode,l),l}find(e,t=!1){return bi.find(e,t)}query(e,t=V.ANY){let n;return typeof e=="string"?n=this.types[e]||this.attributes[e]:e instanceof Text||e.nodeType===Node.TEXT_NODE?n=this.types.text:typeof e=="number"?e&V.LEVEL&V.BLOCK?n=this.types.block:e&V.LEVEL&V.INLINE&&(n=this.types.inline):e instanceof Element&&((e.getAttribute("class")||"").split(/\s+/).some(s=>(n=this.classes[s],!!n)),n=n||this.tags[e.tagName]),n==null?null:"scope"in n&&t&V.LEVEL&n.scope&&t&V.TYPE&n.scope?n:null}register(...e){return e.map(t=>{const n="blotName"in t,s="attrName"in t;if(!n&&!s)throw new hr("Invalid definition");if(n&&t.blotName==="abstract")throw new hr("Cannot register abstract class");const i=n?t.blotName:s?t.attrName:void 0;return this.types[i]=t,s?typeof t.keyName=="string"&&(this.attributes[t.keyName]=t):n&&(t.className&&(this.classes[t.className]=t),t.tagName&&(Array.isArray(t.tagName)?t.tagName=t.tagName.map(a=>a.toUpperCase()):t.tagName=t.tagName.toUpperCase(),(Array.isArray(t.tagName)?t.tagName:[t.tagName]).forEach(a=>{(this.tags[a]==null||t.className==null)&&(this.tags[a]=t)}))),t})}};bl.blots=new WeakMap;let pr=bl;function Wa(r,e){return(r.getAttribute("class")||"").split(/\s+/).filter(t=>t.indexOf(`${e}-`)===0)}class Vp extends Qe{static keys(e){return(e.getAttribute("class")||"").split(/\s+/).map(t=>t.split("-").slice(0,-1).join("-"))}add(e,t){return this.canAdd(e,t)?(this.remove(e),e.classList.add(`${this.keyName}-${t}`),!0):!1}remove(e){Wa(e,this.keyName).forEach(t=>{e.classList.remove(t)}),e.classList.length===0&&e.removeAttribute("class")}value(e){const t=(Wa(e,this.keyName)[0]||"").slice(this.keyName.length+1);return this.canAdd(e,t)?t:""}}const Ve=Vp;function Zs(r){const e=r.split("-"),t=e.slice(1).map(n=>n[0].toUpperCase()+n.slice(1)).join("");return e[0]+t}class Wp extends Qe{static keys(e){return(e.getAttribute("style")||"").split(";").map(t=>t.split(":")[0].trim())}add(e,t){return this.canAdd(e,t)?(e.style[Zs(this.keyName)]=t,!0):!1}remove(e){e.style[Zs(this.keyName)]="",e.getAttribute("style")||e.removeAttribute("style")}value(e){const t=e.style[Zs(this.keyName)];return this.canAdd(e,t)?t:""}}const wt=Wp;class Kp{constructor(e){this.attributes={},this.domNode=e,this.build()}attribute(e,t){t?e.add(this.domNode,t)&&(e.value(this.domNode)!=null?this.attributes[e.attrName]=e:delete this.attributes[e.attrName]):(e.remove(this.domNode),delete this.attributes[e.attrName])}build(){this.attributes={};const e=pr.find(this.domNode);if(e==null)return;const t=Qe.keys(this.domNode),n=Ve.keys(this.domNode),s=wt.keys(this.domNode);t.concat(n).concat(s).forEach(i=>{const a=e.scroll.query(i,V.ATTRIBUTE);a instanceof Qe&&(this.attributes[a.attrName]=a)})}copy(e){Object.keys(this.attributes).forEach(t=>{const n=this.attributes[t].value(this.domNode);e.format(t,n)})}move(e){this.copy(e),Object.keys(this.attributes).forEach(t=>{this.attributes[t].remove(this.domNode)}),this.attributes={}}values(){return Object.keys(this.attributes).reduce((e,t)=>(e[t]=this.attributes[t].value(this.domNode),e),{})}}const Zn=Kp,vl=class{constructor(e,t){this.scroll=e,this.domNode=t,pr.blots.set(t,this),this.prev=null,this.next=null}static create(e){if(this.tagName==null)throw new hr("Blot definition missing tagName");let t,n;return Array.isArray(this.tagName)?(typeof e=="string"?(n=e.toUpperCase(),parseInt(n,10).toString()===n&&(n=parseInt(n,10))):typeof e=="number"&&(n=e),typeof n=="number"?t=document.createElement(this.tagName[n-1]):n&&this.tagName.indexOf(n)>-1?t=document.createElement(n):t=document.createElement(this.tagName[0])):t=document.createElement(this.tagName),this.className&&t.classList.add(this.className),t}get statics(){return this.constructor}attach(){}clone(){const e=this.domNode.cloneNode(!1);return this.scroll.create(e)}detach(){this.parent!=null&&this.parent.removeChild(this),pr.blots.delete(this.domNode)}deleteAt(e,t){this.isolate(e,t).remove()}formatAt(e,t,n,s){const i=this.isolate(e,t);if(this.scroll.query(n,V.BLOT)!=null&&s)i.wrap(n,s);else if(this.scroll.query(n,V.ATTRIBUTE)!=null){const a=this.scroll.create(this.statics.scope);i.wrap(a),a.format(n,s)}}insertAt(e,t,n){const s=n==null?this.scroll.create("text",t):this.scroll.create(t,n),i=this.split(e);this.parent.insertBefore(s,i||void 0)}isolate(e,t){const n=this.split(e);if(n==null)throw new Error("Attempt to isolate at end");return n.split(t),n}length(){return 1}offset(e=this.parent){return this.parent==null||this===e?0:this.parent.children.offset(this)+this.parent.offset(e)}optimize(e){this.statics.requiredContainer&&!(this.parent instanceof this.statics.requiredContainer)&&this.wrap(this.statics.requiredContainer.blotName)}remove(){this.domNode.parentNode!=null&&this.domNode.parentNode.removeChild(this.domNode),this.detach()}replaceWith(e,t){const n=typeof e=="string"?this.scroll.create(e,t):e;return this.parent!=null&&(this.parent.insertBefore(n,this.next||void 0),this.remove()),n}split(e,t){return e===0?this:this.next}update(e,t){}wrap(e,t){const n=typeof e=="string"?this.scroll.create(e,t):e;if(this.parent!=null&&this.parent.insertBefore(n,this.next||void 0),typeof n.appendChild!="function")throw new hr(`Cannot wrap ${e}`);return n.appendChild(this),n}};vl.blotName="abstract";let yl=vl;const El=class extends yl{static value(e){return!0}index(e,t){return this.domNode===e||this.domNode.compareDocumentPosition(e)&Node.DOCUMENT_POSITION_CONTAINED_BY?Math.min(t,1):-1}position(e,t){let n=Array.from(this.parent.domNode.childNodes).indexOf(this.domNode);return e>0&&(n+=1),[this.parent.domNode,n]}value(){return{[this.statics.blotName]:this.statics.value(this.domNode)||!0}}};El.scope=V.INLINE_BLOT;let Xp=El;const Ae=Xp;class Yp{constructor(){this.head=null,this.tail=null,this.length=0}append(...e){if(this.insertBefore(e[0],null),e.length>1){const t=e.slice(1);this.append(...t)}}at(e){const t=this.iterator();let n=t();for(;n&&e>0;)e-=1,n=t();return n}contains(e){const t=this.iterator();let n=t();for(;n;){if(n===e)return!0;n=t()}return!1}indexOf(e){const t=this.iterator();let n=t(),s=0;for(;n;){if(n===e)return s;s+=1,n=t()}return-1}insertBefore(e,t){e!=null&&(this.remove(e),e.next=t,t!=null?(e.prev=t.prev,t.prev!=null&&(t.prev.next=e),t.prev=e,t===this.head&&(this.head=e)):this.tail!=null?(this.tail.next=e,e.prev=this.tail,this.tail=e):(e.prev=null,this.head=this.tail=e),this.length+=1)}offset(e){let t=0,n=this.head;for(;n!=null;){if(n===e)return t;t+=n.length(),n=n.next}return-1}remove(e){this.contains(e)&&(e.prev!=null&&(e.prev.next=e.next),e.next!=null&&(e.next.prev=e.prev),e===this.head&&(this.head=e.next),e===this.tail&&(this.tail=e.prev),this.length-=1)}iterator(e=this.head){return()=>{const t=e;return e!=null&&(e=e.next),t}}find(e,t=!1){const n=this.iterator();let s=n();for(;s;){const i=s.length();if(e<i||t&&e===i&&(s.next==null||s.next.length()!==0))return[s,e];e-=i,s=n()}return[null,0]}forEach(e){const t=this.iterator();let n=t();for(;n;)e(n),n=t()}forEachAt(e,t,n){if(t<=0)return;const[s,i]=this.find(e);let a=e-i;const l=this.iterator(s);let c=l();for(;c&&a<e+t;){const u=c.length();e>a?n(c,e-a,Math.min(t,a+u-e)):n(c,0,Math.min(u,e+t-a)),a+=u,c=l()}}map(e){return this.reduce((t,n)=>(t.push(e(n)),t),[])}reduce(e,t){const n=this.iterator();let s=n();for(;s;)t=e(t,s),s=n();return t}}function Ka(r,e){const t=e.find(r);if(t)return t;try{return e.create(r)}catch{const n=e.create(V.INLINE);return Array.from(r.childNodes).forEach(s=>{n.domNode.appendChild(s)}),r.parentNode&&r.parentNode.replaceChild(n.domNode,r),n.attach(),n}}const xl=class gt extends yl{constructor(e,t){super(e,t),this.uiNode=null,this.build()}appendChild(e){this.insertBefore(e)}attach(){super.attach(),this.children.forEach(e=>{e.attach()})}attachUI(e){this.uiNode!=null&&this.uiNode.remove(),this.uiNode=e,gt.uiClass&&this.uiNode.classList.add(gt.uiClass),this.uiNode.setAttribute("contenteditable","false"),this.domNode.insertBefore(this.uiNode,this.domNode.firstChild)}build(){this.children=new Yp,Array.from(this.domNode.childNodes).filter(e=>e!==this.uiNode).reverse().forEach(e=>{try{const t=Ka(e,this.scroll);this.insertBefore(t,this.children.head||void 0)}catch(t){if(t instanceof hr)return;throw t}})}deleteAt(e,t){if(e===0&&t===this.length())return this.remove();this.children.forEachAt(e,t,(n,s,i)=>{n.deleteAt(s,i)})}descendant(e,t=0){const[n,s]=this.children.find(t);return e.blotName==null&&e(n)||e.blotName!=null&&n instanceof e?[n,s]:n instanceof gt?n.descendant(e,s):[null,-1]}descendants(e,t=0,n=Number.MAX_VALUE){let s=[],i=n;return this.children.forEachAt(t,n,(a,l,c)=>{(e.blotName==null&&e(a)||e.blotName!=null&&a instanceof e)&&s.push(a),a instanceof gt&&(s=s.concat(a.descendants(e,l,i))),i-=c}),s}detach(){this.children.forEach(e=>{e.detach()}),super.detach()}enforceAllowedChildren(){let e=!1;this.children.forEach(t=>{e||this.statics.allowedChildren.some(n=>t instanceof n)||(t.statics.scope===V.BLOCK_BLOT?(t.next!=null&&this.splitAfter(t),t.prev!=null&&this.splitAfter(t.prev),t.parent.unwrap(),e=!0):t instanceof gt?t.unwrap():t.remove())})}formatAt(e,t,n,s){this.children.forEachAt(e,t,(i,a,l)=>{i.formatAt(a,l,n,s)})}insertAt(e,t,n){const[s,i]=this.children.find(e);if(s)s.insertAt(i,t,n);else{const a=n==null?this.scroll.create("text",t):this.scroll.create(t,n);this.appendChild(a)}}insertBefore(e,t){e.parent!=null&&e.parent.children.remove(e);let n=null;this.children.insertBefore(e,t||null),e.parent=this,t!=null&&(n=t.domNode),(this.domNode.parentNode!==e.domNode||this.domNode.nextSibling!==n)&&this.domNode.insertBefore(e.domNode,n),e.attach()}length(){return this.children.reduce((e,t)=>e+t.length(),0)}moveChildren(e,t){this.children.forEach(n=>{e.insertBefore(n,t)})}optimize(e){if(super.optimize(e),this.enforceAllowedChildren(),this.uiNode!=null&&this.uiNode!==this.domNode.firstChild&&this.domNode.insertBefore(this.uiNode,this.domNode.firstChild),this.children.length===0)if(this.statics.defaultChild!=null){const t=this.scroll.create(this.statics.defaultChild.blotName);this.appendChild(t)}else this.remove()}path(e,t=!1){const[n,s]=this.children.find(e,t),i=[[this,e]];return n instanceof gt?i.concat(n.path(s,t)):(n!=null&&i.push([n,s]),i)}removeChild(e){this.children.remove(e)}replaceWith(e,t){const n=typeof e=="string"?this.scroll.create(e,t):e;return n instanceof gt&&this.moveChildren(n),super.replaceWith(n)}split(e,t=!1){if(!t){if(e===0)return this;if(e===this.length())return this.next}const n=this.clone();return this.parent&&this.parent.insertBefore(n,this.next||void 0),this.children.forEachAt(e,this.length(),(s,i,a)=>{const l=s.split(i,t);l!=null&&n.appendChild(l)}),n}splitAfter(e){const t=this.clone();for(;e.next!=null;)t.appendChild(e.next);return this.parent&&this.parent.insertBefore(t,this.next||void 0),t}unwrap(){this.parent&&this.moveChildren(this.parent,this.next||void 0),this.remove()}update(e,t){const n=[],s=[];e.forEach(i=>{i.target===this.domNode&&i.type==="childList"&&(n.push(...i.addedNodes),s.push(...i.removedNodes))}),s.forEach(i=>{if(i.parentNode!=null&&i.tagName!=="IFRAME"&&document.body.compareDocumentPosition(i)&Node.DOCUMENT_POSITION_CONTAINED_BY)return;const a=this.scroll.find(i);a!=null&&(a.domNode.parentNode==null||a.domNode.parentNode===this.domNode)&&a.detach()}),n.filter(i=>i.parentNode===this.domNode&&i!==this.uiNode).sort((i,a)=>i===a?0:i.compareDocumentPosition(a)&Node.DOCUMENT_POSITION_FOLLOWING?1:-1).forEach(i=>{let a=null;i.nextSibling!=null&&(a=this.scroll.find(i.nextSibling));const l=Ka(i,this.scroll);(l.next!==a||l.next==null)&&(l.parent!=null&&l.parent.removeChild(this),this.insertBefore(l,a||void 0))}),this.enforceAllowedChildren()}};xl.uiClass="";let Zp=xl;const ze=Zp;function Jp(r,e){if(Object.keys(r).length!==Object.keys(e).length)return!1;for(const t in r)if(r[t]!==e[t])return!1;return!0}const sr=class ir extends ze{static create(e){return super.create(e)}static formats(e,t){const n=t.query(ir.blotName);if(!(n!=null&&e.tagName===n.tagName)){if(typeof this.tagName=="string")return!0;if(Array.isArray(this.tagName))return e.tagName.toLowerCase()}}constructor(e,t){super(e,t),this.attributes=new Zn(this.domNode)}format(e,t){if(e===this.statics.blotName&&!t)this.children.forEach(n=>{n instanceof ir||(n=n.wrap(ir.blotName,!0)),this.attributes.copy(n)}),this.unwrap();else{const n=this.scroll.query(e,V.INLINE);if(n==null)return;n instanceof Qe?this.attributes.attribute(n,t):t&&(e!==this.statics.blotName||this.formats()[e]!==t)&&this.replaceWith(e,t)}}formats(){const e=this.attributes.values(),t=this.statics.formats(this.domNode,this.scroll);return t!=null&&(e[this.statics.blotName]=t),e}formatAt(e,t,n,s){this.formats()[n]!=null||this.scroll.query(n,V.ATTRIBUTE)?this.isolate(e,t).format(n,s):super.formatAt(e,t,n,s)}optimize(e){super.optimize(e);const t=this.formats();if(Object.keys(t).length===0)return this.unwrap();const n=this.next;n instanceof ir&&n.prev===this&&Jp(t,n.formats())&&(n.moveChildren(this),n.remove())}replaceWith(e,t){const n=super.replaceWith(e,t);return this.attributes.copy(n),n}update(e,t){super.update(e,t),e.some(n=>n.target===this.domNode&&n.type==="attributes")&&this.attributes.build()}wrap(e,t){const n=super.wrap(e,t);return n instanceof ir&&this.attributes.move(n),n}};sr.allowedChildren=[sr,Ae],sr.blotName="inline",sr.scope=V.INLINE_BLOT,sr.tagName="SPAN";let Qp=sr;const Mi=Qp,ar=class vi extends ze{static create(e){return super.create(e)}static formats(e,t){const n=t.query(vi.blotName);if(!(n!=null&&e.tagName===n.tagName)){if(typeof this.tagName=="string")return!0;if(Array.isArray(this.tagName))return e.tagName.toLowerCase()}}constructor(e,t){super(e,t),this.attributes=new Zn(this.domNode)}format(e,t){const n=this.scroll.query(e,V.BLOCK);n!=null&&(n instanceof Qe?this.attributes.attribute(n,t):e===this.statics.blotName&&!t?this.replaceWith(vi.blotName):t&&(e!==this.statics.blotName||this.formats()[e]!==t)&&this.replaceWith(e,t))}formats(){const e=this.attributes.values(),t=this.statics.formats(this.domNode,this.scroll);return t!=null&&(e[this.statics.blotName]=t),e}formatAt(e,t,n,s){this.scroll.query(n,V.BLOCK)!=null?this.format(n,s):super.formatAt(e,t,n,s)}insertAt(e,t,n){if(n==null||this.scroll.query(t,V.INLINE)!=null)super.insertAt(e,t,n);else{const s=this.split(e);if(s!=null){const i=this.scroll.create(t,n);s.parent.insertBefore(i,s)}else throw new Error("Attempt to insertAt after block boundaries")}}replaceWith(e,t){const n=super.replaceWith(e,t);return this.attributes.copy(n),n}update(e,t){super.update(e,t),e.some(n=>n.target===this.domNode&&n.type==="attributes")&&this.attributes.build()}};ar.blotName="block",ar.scope=V.BLOCK_BLOT,ar.tagName="P",ar.allowedChildren=[Mi,ar,Ae];let eg=ar;const Zr=eg,yi=class extends ze{checkMerge(){return this.next!==null&&this.next.statics.blotName===this.statics.blotName}deleteAt(e,t){super.deleteAt(e,t),this.enforceAllowedChildren()}formatAt(e,t,n,s){super.formatAt(e,t,n,s),this.enforceAllowedChildren()}insertAt(e,t,n){super.insertAt(e,t,n),this.enforceAllowedChildren()}optimize(e){super.optimize(e),this.children.length>0&&this.next!=null&&this.checkMerge()&&(this.next.moveChildren(this),this.next.remove())}};yi.blotName="container",yi.scope=V.BLOCK_BLOT;let tg=yi;const Jn=tg;class rg extends Ae{static formats(e,t){}format(e,t){super.formatAt(0,this.length(),e,t)}formatAt(e,t,n,s){e===0&&t===this.length()?this.format(n,s):super.formatAt(e,t,n,s)}formats(){return this.statics.formats(this.domNode,this.scroll)}}const ke=rg,ng={attributes:!0,characterData:!0,characterDataOldValue:!0,childList:!0,subtree:!0},sg=100,or=class extends ze{constructor(e,t){super(null,t),this.registry=e,this.scroll=this,this.build(),this.observer=new MutationObserver(n=>{this.update(n)}),this.observer.observe(this.domNode,ng),this.attach()}create(e,t){return this.registry.create(this,e,t)}find(e,t=!1){const n=this.registry.find(e,t);return n?n.scroll===this?n:t?this.find(n.scroll.domNode.parentNode,!0):null:null}query(e,t=V.ANY){return this.registry.query(e,t)}register(...e){return this.registry.register(...e)}build(){this.scroll!=null&&super.build()}detach(){super.detach(),this.observer.disconnect()}deleteAt(e,t){this.update(),e===0&&t===this.length()?this.children.forEach(n=>{n.remove()}):super.deleteAt(e,t)}formatAt(e,t,n,s){this.update(),super.formatAt(e,t,n,s)}insertAt(e,t,n){this.update(),super.insertAt(e,t,n)}optimize(e=[],t={}){super.optimize(t);const n=t.mutationsMap||new WeakMap;let s=Array.from(this.observer.takeRecords());for(;s.length>0;)e.push(s.pop());const i=(c,u=!0)=>{c==null||c===this||c.domNode.parentNode!=null&&(n.has(c.domNode)||n.set(c.domNode,[]),u&&i(c.parent))},a=c=>{n.has(c.domNode)&&(c instanceof ze&&c.children.forEach(a),n.delete(c.domNode),c.optimize(t))};let l=e;for(let c=0;l.length>0;c+=1){if(c>=sg)throw new Error("[Parchment] Maximum optimize iterations reached");for(l.forEach(u=>{const h=this.find(u.target,!0);h!=null&&(h.domNode===u.target&&(u.type==="childList"?(i(this.find(u.previousSibling,!1)),Array.from(u.addedNodes).forEach(g=>{const f=this.find(g,!1);i(f,!1),f instanceof ze&&f.children.forEach(b=>{i(b,!1)})})):u.type==="attributes"&&i(h.prev)),i(h))}),this.children.forEach(a),l=Array.from(this.observer.takeRecords()),s=l.slice();s.length>0;)e.push(s.pop())}}update(e,t={}){e=e||this.observer.takeRecords();const n=new WeakMap;e.map(s=>{const i=this.find(s.target,!0);return i==null?null:n.has(i.domNode)?(n.get(i.domNode).push(s),null):(n.set(i.domNode,[s]),i)}).forEach(s=>{s!=null&&s!==this&&n.has(s.domNode)&&s.update(n.get(s.domNode)||[],t)}),t.mutationsMap=n,n.has(this.domNode)&&super.update(n.get(this.domNode),t),this.optimize(e,t)}};or.blotName="scroll",or.defaultChild=Zr,or.allowedChildren=[Zr,Jn],or.scope=V.BLOCK_BLOT,or.tagName="DIV";let ig=or;const Di=ig,Ei=class Nl extends Ae{static create(e){return document.createTextNode(e)}static value(e){return e.data}constructor(e,t){super(e,t),this.text=this.statics.value(this.domNode)}deleteAt(e,t){this.domNode.data=this.text=this.text.slice(0,e)+this.text.slice(e+t)}index(e,t){return this.domNode===e?t:-1}insertAt(e,t,n){n==null?(this.text=this.text.slice(0,e)+t+this.text.slice(e),this.domNode.data=this.text):super.insertAt(e,t,n)}length(){return this.text.length}optimize(e){super.optimize(e),this.text=this.statics.value(this.domNode),this.text.length===0?this.remove():this.next instanceof Nl&&this.next.prev===this&&(this.insertAt(this.length(),this.next.value()),this.next.remove())}position(e,t=!1){return[this.domNode,e]}split(e,t=!1){if(!t){if(e===0)return this;if(e===this.length())return this.next}const n=this.scroll.create(this.domNode.splitText(e));return this.parent.insertBefore(n,this.next||void 0),this.text=this.statics.value(this.domNode),n}update(e,t){e.some(n=>n.type==="characterData"&&n.target===this.domNode)&&(this.text=this.statics.value(this.domNode))}value(){return this.text}};Ei.blotName="text",Ei.scope=V.INLINE_BLOT;let ag=Ei;const Gn=ag,og=Object.freeze(Object.defineProperty({__proto__:null,Attributor:Qe,AttributorStore:Zn,BlockBlot:Zr,ClassAttributor:Ve,ContainerBlot:Jn,EmbedBlot:ke,InlineBlot:Mi,LeafBlot:Ae,ParentBlot:ze,Registry:pr,Scope:V,ScrollBlot:Di,StyleAttributor:wt,TextBlot:Gn},Symbol.toStringTag,{value:"Module"}));var Rn={exports:{}},Js,Xa;function lg(){if(Xa)return Js;Xa=1;var r=-1,e=1,t=0;function n(v,I,N,O,M){if(v===I)return v?[[t,v]]:[];if(N!=null){var j=Z(v,I,N);if(j)return j}var D=l(v,I),U=v.substring(0,D);v=v.substring(D),I=I.substring(D),D=u(v,I);var W=v.substring(v.length-D);v=v.substring(0,v.length-D),I=I.substring(0,I.length-D);var A=s(v,I);return U&&A.unshift([t,U]),W&&A.push([t,W]),_(A,M),O&&g(A),A}function s(v,I){var N;if(!v)return[[e,I]];if(!I)return[[r,v]];var O=v.length>I.length?v:I,M=v.length>I.length?I:v,j=O.indexOf(M);if(j!==-1)return N=[[e,O.substring(0,j)],[t,M],[e,O.substring(j+M.length)]],v.length>I.length&&(N[0][0]=N[2][0]=r),N;if(M.length===1)return[[r,v],[e,I]];var D=h(v,I);if(D){var U=D[0],W=D[1],A=D[2],B=D[3],F=D[4],Y=n(U,A),J=n(W,B);return Y.concat([[t,F]],J)}return i(v,I)}function i(v,I){for(var N=v.length,O=I.length,M=Math.ceil((N+O)/2),j=M,D=2*M,U=new Array(D),W=new Array(D),A=0;A<D;A++)U[A]=-1,W[A]=-1;U[j+1]=0,W[j+1]=0;for(var B=N-O,F=B%2!==0,Y=0,J=0,H=0,le=0,ue=0;ue<M;ue++){for(var K=-ue+Y;K<=ue-J;K+=2){var re=j+K,ne;K===-ue||K!==ue&&U[re-1]<U[re+1]?ne=U[re+1]:ne=U[re-1]+1;for(var ie=ne-K;ne<N&&ie<O&&v.charAt(ne)===I.charAt(ie);)ne++,ie++;if(U[re]=ne,ne>N)J+=2;else if(ie>O)Y+=2;else if(F){var ce=j+B-K;if(ce>=0&&ce<D&&W[ce]!==-1){var he=N-W[ce];if(ne>=he)return a(v,I,ne,ie)}}}for(var pe=-ue+H;pe<=ue-le;pe+=2){var ce=j+pe,he;pe===-ue||pe!==ue&&W[ce-1]<W[ce+1]?he=W[ce+1]:he=W[ce-1]+1;for(var xe=he-pe;he<N&&xe<O&&v.charAt(N-he-1)===I.charAt(O-xe-1);)he++,xe++;if(W[ce]=he,he>N)le+=2;else if(xe>O)H+=2;else if(!F){var re=j+B-pe;if(re>=0&&re<D&&U[re]!==-1){var ne=U[re],ie=j+ne-re;if(he=N-he,ne>=he)return a(v,I,ne,ie)}}}}return[[r,v],[e,I]]}function a(v,I,N,O){var M=v.substring(0,N),j=I.substring(0,O),D=v.substring(N),U=I.substring(O),W=n(M,j),A=n(D,U);return W.concat(A)}function l(v,I){if(!v||!I||v.charAt(0)!==I.charAt(0))return 0;for(var N=0,O=Math.min(v.length,I.length),M=O,j=0;N<M;)v.substring(j,M)==I.substring(j,M)?(N=M,j=N):O=M,M=Math.floor((O-N)/2+N);return q(v.charCodeAt(M-1))&&M--,M}function c(v,I){var N=v.length,O=I.length;if(N==0||O==0)return 0;N>O?v=v.substring(N-O):N<O&&(I=I.substring(0,N));var M=Math.min(N,O);if(v==I)return M;for(var j=0,D=1;;){var U=v.substring(M-D),W=I.indexOf(U);if(W==-1)return j;D+=W,(W==0||v.substring(M-D)==I.substring(0,D))&&(j=D,D++)}}function u(v,I){if(!v||!I||v.slice(-1)!==I.slice(-1))return 0;for(var N=0,O=Math.min(v.length,I.length),M=O,j=0;N<M;)v.substring(v.length-M,v.length-j)==I.substring(I.length-M,I.length-j)?(N=M,j=N):O=M,M=Math.floor((O-N)/2+N);return $(v.charCodeAt(v.length-M))&&M--,M}function h(v,I){var N=v.length>I.length?v:I,O=v.length>I.length?I:v;if(N.length<4||O.length*2<N.length)return null;function M(J,H,le){for(var ue=J.substring(le,le+Math.floor(J.length/4)),K=-1,re="",ne,ie,ce,he;(K=H.indexOf(ue,K+1))!==-1;){var pe=l(J.substring(le),H.substring(K)),xe=u(J.substring(0,le),H.substring(0,K));re.length<xe+pe&&(re=H.substring(K-xe,K)+H.substring(K,K+pe),ne=J.substring(0,le-xe),ie=J.substring(le+pe),ce=H.substring(0,K-xe),he=H.substring(K+pe))}return re.length*2>=J.length?[ne,ie,ce,he,re]:null}var j=M(N,O,Math.ceil(N.length/4)),D=M(N,O,Math.ceil(N.length/2)),U;if(!j&&!D)return null;D?j?U=j[4].length>D[4].length?j:D:U=D:U=j;var W,A,B,F;v.length>I.length?(W=U[0],A=U[1],B=U[2],F=U[3]):(B=U[0],F=U[1],W=U[2],A=U[3]);var Y=U[4];return[W,A,B,F,Y]}function g(v){for(var I=!1,N=[],O=0,M=null,j=0,D=0,U=0,W=0,A=0;j<v.length;)v[j][0]==t?(N[O++]=j,D=W,U=A,W=0,A=0,M=v[j][1]):(v[j][0]==e?W+=v[j][1].length:A+=v[j][1].length,M&&M.length<=Math.max(D,U)&&M.length<=Math.max(W,A)&&(v.splice(N[O-1],0,[r,M]),v[N[O-1]+1][0]=e,O--,O--,j=O>0?N[O-1]:-1,D=0,U=0,W=0,A=0,M=null,I=!0)),j++;for(I&&_(v),S(v),j=1;j<v.length;){if(v[j-1][0]==r&&v[j][0]==e){var B=v[j-1][1],F=v[j][1],Y=c(B,F),J=c(F,B);Y>=J?(Y>=B.length/2||Y>=F.length/2)&&(v.splice(j,0,[t,F.substring(0,Y)]),v[j-1][1]=B.substring(0,B.length-Y),v[j+1][1]=F.substring(Y),j++):(J>=B.length/2||J>=F.length/2)&&(v.splice(j,0,[t,B.substring(0,J)]),v[j-1][0]=e,v[j-1][1]=F.substring(0,F.length-J),v[j+1][0]=r,v[j+1][1]=B.substring(J),j++),j++}j++}}var f=/[^a-zA-Z0-9]/,b=/\s/,E=/[\r\n]/,x=/\n\r?\n$/,w=/^\r?\n\r?\n/;function S(v){function I(J,H){if(!J||!H)return 6;var le=J.charAt(J.length-1),ue=H.charAt(0),K=le.match(f),re=ue.match(f),ne=K&&le.match(b),ie=re&&ue.match(b),ce=ne&&le.match(E),he=ie&&ue.match(E),pe=ce&&J.match(x),xe=he&&H.match(w);return pe||xe?5:ce||he?4:K&&!ne&&ie?3:ne||ie?2:K||re?1:0}for(var N=1;N<v.length-1;){if(v[N-1][0]==t&&v[N+1][0]==t){var O=v[N-1][1],M=v[N][1],j=v[N+1][1],D=u(O,M);if(D){var U=M.substring(M.length-D);O=O.substring(0,O.length-D),M=U+M.substring(0,M.length-D),j=U+j}for(var W=O,A=M,B=j,F=I(O,M)+I(M,j);M.charAt(0)===j.charAt(0);){O+=M.charAt(0),M=M.substring(1)+j.charAt(0),j=j.substring(1);var Y=I(O,M)+I(M,j);Y>=F&&(F=Y,W=O,A=M,B=j)}v[N-1][1]!=W&&(W?v[N-1][1]=W:(v.splice(N-1,1),N--),v[N][1]=A,B?v[N+1][1]=B:(v.splice(N+1,1),N--))}N++}}function _(v,I){v.push([t,""]);for(var N=0,O=0,M=0,j="",D="",U;N<v.length;){if(N<v.length-1&&!v[N][1]){v.splice(N,1);continue}switch(v[N][0]){case e:M++,D+=v[N][1],N++;break;case r:O++,j+=v[N][1],N++;break;case t:var W=N-M-O-1;if(I){if(W>=0&&T(v[W][1])){var A=v[W][1].slice(-1);if(v[W][1]=v[W][1].slice(0,-1),j=A+j,D=A+D,!v[W][1]){v.splice(W,1),N--;var B=W-1;v[B]&&v[B][0]===e&&(M++,D=v[B][1]+D,B--),v[B]&&v[B][0]===r&&(O++,j=v[B][1]+j,B--),W=B}}if(m(v[N][1])){var A=v[N][1].charAt(0);v[N][1]=v[N][1].slice(1),j+=A,D+=A}}if(N<v.length-1&&!v[N][1]){v.splice(N,1);break}if(j.length>0||D.length>0){j.length>0&&D.length>0&&(U=l(D,j),U!==0&&(W>=0?v[W][1]+=D.substring(0,U):(v.splice(0,0,[t,D.substring(0,U)]),N++),D=D.substring(U),j=j.substring(U)),U=u(D,j),U!==0&&(v[N][1]=D.substring(D.length-U)+v[N][1],D=D.substring(0,D.length-U),j=j.substring(0,j.length-U)));var F=M+O;j.length===0&&D.length===0?(v.splice(N-F,F),N=N-F):j.length===0?(v.splice(N-F,F,[e,D]),N=N-F+1):D.length===0?(v.splice(N-F,F,[r,j]),N=N-F+1):(v.splice(N-F,F,[r,j],[e,D]),N=N-F+2)}N!==0&&v[N-1][0]===t?(v[N-1][1]+=v[N][1],v.splice(N,1)):N++,M=0,O=0,j="",D="";break}}v[v.length-1][1]===""&&v.pop();var Y=!1;for(N=1;N<v.length-1;)v[N-1][0]===t&&v[N+1][0]===t&&(v[N][1].substring(v[N][1].length-v[N-1][1].length)===v[N-1][1]?(v[N][1]=v[N-1][1]+v[N][1].substring(0,v[N][1].length-v[N-1][1].length),v[N+1][1]=v[N-1][1]+v[N+1][1],v.splice(N-1,1),Y=!0):v[N][1].substring(0,v[N+1][1].length)==v[N+1][1]&&(v[N-1][1]+=v[N+1][1],v[N][1]=v[N][1].substring(v[N+1][1].length)+v[N+1][1],v.splice(N+1,1),Y=!0)),N++;Y&&_(v,I)}function q(v){return v>=55296&&v<=56319}function $(v){return v>=56320&&v<=57343}function m(v){return $(v.charCodeAt(0))}function T(v){return q(v.charCodeAt(v.length-1))}function k(v){for(var I=[],N=0;N<v.length;N++)v[N][1].length>0&&I.push(v[N]);return I}function P(v,I,N,O){return T(v)||m(O)?null:k([[t,v],[r,I],[e,N],[t,O]])}function Z(v,I,N){var O=typeof N=="number"?{index:N,length:0}:N.oldRange,M=typeof N=="number"?null:N.newRange,j=v.length,D=I.length;if(O.length===0&&(M===null||M.length===0)){var U=O.index,W=v.slice(0,U),A=v.slice(U),B=M?M.index:null;e:{var F=U+D-j;if(B!==null&&B!==F||F<0||F>D)break e;var Y=I.slice(0,F),J=I.slice(F);if(J!==A)break e;var H=Math.min(U,F),le=W.slice(0,H),ue=Y.slice(0,H);if(le!==ue)break e;var K=W.slice(H),re=Y.slice(H);return P(le,K,re,A)}e:{if(B!==null&&B!==U)break e;var ne=U,Y=I.slice(0,ne),J=I.slice(ne);if(Y!==W)break e;var ie=Math.min(j-ne,D-ne),ce=A.slice(A.length-ie),he=J.slice(J.length-ie);if(ce!==he)break e;var K=A.slice(0,A.length-ie),re=J.slice(0,J.length-ie);return P(W,K,re,ce)}}if(O.length>0&&M&&M.length===0)e:{var le=v.slice(0,O.index),ce=v.slice(O.index+O.length),H=le.length,ie=ce.length;if(D<H+ie)break e;var ue=I.slice(0,H),he=I.slice(D-ie);if(le!==ue||ce!==he)break e;var K=v.slice(H,j-ie),re=I.slice(H,D-ie);return P(le,K,re,ce)}return null}function te(v,I,N,O){return n(v,I,N,O,!0)}return te.INSERT=e,te.DELETE=r,te.EQUAL=t,Js=te,Js}var Ur={exports:{}};Ur.exports;var Ya;function wl(){return Ya||(Ya=1,function(r,e){var t=200,n="__lodash_hash_undefined__",s=9007199254740991,i="[object Arguments]",a="[object Array]",l="[object Boolean]",c="[object Date]",u="[object Error]",h="[object Function]",g="[object GeneratorFunction]",f="[object Map]",b="[object Number]",E="[object Object]",x="[object Promise]",w="[object RegExp]",S="[object Set]",_="[object String]",q="[object Symbol]",$="[object WeakMap]",m="[object ArrayBuffer]",T="[object DataView]",k="[object Float32Array]",P="[object Float64Array]",Z="[object Int8Array]",te="[object Int16Array]",v="[object Int32Array]",I="[object Uint8Array]",N="[object Uint8ClampedArray]",O="[object Uint16Array]",M="[object Uint32Array]",j=/[\\^$.*+?()[\]{}|]/g,D=/\w*$/,U=/^\[object .+?Constructor\]$/,W=/^(?:0|[1-9]\d*)$/,A={};A[i]=A[a]=A[m]=A[T]=A[l]=A[c]=A[k]=A[P]=A[Z]=A[te]=A[v]=A[f]=A[b]=A[E]=A[w]=A[S]=A[_]=A[q]=A[I]=A[N]=A[O]=A[M]=!0,A[u]=A[h]=A[$]=!1;var B=typeof bt=="object"&&bt&&bt.Object===Object&&bt,F=typeof self=="object"&&self&&self.Object===Object&&self,Y=B||F||Function("return this")(),J=e&&!e.nodeType&&e,H=J&&!0&&r&&!r.nodeType&&r,le=H&&H.exports===J;function ue(o,d){return o.set(d[0],d[1]),o}function K(o,d){return o.add(d),o}function re(o,d){for(var y=-1,C=o?o.length:0;++y<C&&d(o[y],y,o)!==!1;);return o}function ne(o,d){for(var y=-1,C=d.length,Q=o.length;++y<C;)o[Q+y]=d[y];return o}function ie(o,d,y,C){for(var Q=-1,X=o?o.length:0;++Q<X;)y=d(y,o[Q],Q,o);return y}function ce(o,d){for(var y=-1,C=Array(o);++y<o;)C[y]=d(y);return C}function he(o,d){return o?.[d]}function pe(o){var d=!1;if(o!=null&&typeof o.toString!="function")try{d=!!(o+"")}catch{}return d}function xe(o){var d=-1,y=Array(o.size);return o.forEach(function(C,Q){y[++d]=[Q,C]}),y}function br(o,d){return function(y){return o(d(y))}}function on(o){var d=-1,y=Array(o.size);return o.forEach(function(C){y[++d]=C}),y}var ns=Array.prototype,ss=Function.prototype,zt=Object.prototype,vr=Y["__core-js_shared__"],ln=function(){var o=/[^.]+$/.exec(vr&&vr.keys&&vr.keys.IE_PROTO||"");return o?"Symbol(src)_1."+o:""}(),cn=ss.toString,Ke=zt.hasOwnProperty,Gt=zt.toString,is=RegExp("^"+cn.call(Ke).replace(j,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),Tt=le?Y.Buffer:void 0,Vt=Y.Symbol,yr=Y.Uint8Array,je=br(Object.getPrototypeOf,Object),un=Object.create,hn=zt.propertyIsEnumerable,as=ns.splice,Er=Object.getOwnPropertySymbols,Wt=Tt?Tt.isBuffer:void 0,dn=br(Object.keys,Object),Kt=$e(Y,"DataView"),At=$e(Y,"Map"),Be=$e(Y,"Promise"),Xt=$e(Y,"Set"),xr=$e(Y,"WeakMap"),St=$e(Object,"create"),Nr=_e(Kt),_t=_e(At),wr=_e(Be),Tr=_e(Xt),Ar=_e(xr),ft=Vt?Vt.prototype:void 0,fn=ft?ft.valueOf:void 0;function rt(o){var d=-1,y=o?o.length:0;for(this.clear();++d<y;){var C=o[d];this.set(C[0],C[1])}}function os(){this.__data__=St?St(null):{}}function ls(o){return this.has(o)&&delete this.__data__[o]}function cs(o){var d=this.__data__;if(St){var y=d[o];return y===n?void 0:y}return Ke.call(d,o)?d[o]:void 0}function pn(o){var d=this.__data__;return St?d[o]!==void 0:Ke.call(d,o)}function Sr(o,d){var y=this.__data__;return y[o]=St&&d===void 0?n:d,this}rt.prototype.clear=os,rt.prototype.delete=ls,rt.prototype.get=cs,rt.prototype.has=pn,rt.prototype.set=Sr;function be(o){var d=-1,y=o?o.length:0;for(this.clear();++d<y;){var C=o[d];this.set(C[0],C[1])}}function us(){this.__data__=[]}function hs(o){var d=this.__data__,y=Zt(d,o);if(y<0)return!1;var C=d.length-1;return y==C?d.pop():as.call(d,y,1),!0}function ds(o){var d=this.__data__,y=Zt(d,o);return y<0?void 0:d[y][1]}function fs(o){return Zt(this.__data__,o)>-1}function ps(o,d){var y=this.__data__,C=Zt(y,o);return C<0?y.push([o,d]):y[C][1]=d,this}be.prototype.clear=us,be.prototype.delete=hs,be.prototype.get=ds,be.prototype.has=fs,be.prototype.set=ps;function Ne(o){var d=-1,y=o?o.length:0;for(this.clear();++d<y;){var C=o[d];this.set(C[0],C[1])}}function gs(){this.__data__={hash:new rt,map:new(At||be),string:new rt}}function ms(o){return Ot(this,o).delete(o)}function bs(o){return Ot(this,o).get(o)}function vs(o){return Ot(this,o).has(o)}function ys(o,d){return Ot(this,o).set(o,d),this}Ne.prototype.clear=gs,Ne.prototype.delete=ms,Ne.prototype.get=bs,Ne.prototype.has=vs,Ne.prototype.set=ys;function Re(o){this.__data__=new be(o)}function Es(){this.__data__=new be}function xs(o){return this.__data__.delete(o)}function Ns(o){return this.__data__.get(o)}function ws(o){return this.__data__.has(o)}function Ts(o,d){var y=this.__data__;if(y instanceof be){var C=y.__data__;if(!At||C.length<t-1)return C.push([o,d]),this;y=this.__data__=new Ne(C)}return y.set(o,d),this}Re.prototype.clear=Es,Re.prototype.delete=xs,Re.prototype.get=Ns,Re.prototype.has=ws,Re.prototype.set=Ts;function Yt(o,d){var y=Rr(o)||Qt(o)?ce(o.length,String):[],C=y.length,Q=!!C;for(var X in o)Ke.call(o,X)&&!(Q&&(X=="length"||Ps(X,C)))&&y.push(X);return y}function gn(o,d,y){var C=o[d];(!(Ke.call(o,d)&&En(C,y))||y===void 0&&!(d in o))&&(o[d]=y)}function Zt(o,d){for(var y=o.length;y--;)if(En(o[y][0],d))return y;return-1}function Xe(o,d){return o&&Or(d,kr(d),o)}function _r(o,d,y,C,Q,X,ae){var se;if(C&&(se=X?C(o,Q,X,ae):C(o)),se!==void 0)return se;if(!Ze(o))return o;var ge=Rr(o);if(ge){if(se=Ms(o),!d)return js(o,se)}else{var oe=st(o),we=oe==h||oe==g;if(xn(o))return Jt(o,d);if(oe==E||oe==i||we&&!X){if(pe(o))return X?o:{};if(se=Ye(we?{}:o),!d)return Is(o,Xe(se,o))}else{if(!A[oe])return X?o:{};se=Ds(o,oe,_r,d)}}ae||(ae=new Re);var Le=ae.get(o);if(Le)return Le;if(ae.set(o,se),!ge)var me=y?qs(o):kr(o);return re(me||o,function(Te,ve){me&&(ve=Te,Te=o[ve]),gn(se,ve,_r(Te,d,y,C,ve,o,ae))}),se}function As(o){return Ze(o)?un(o):{}}function Ss(o,d,y){var C=d(o);return Rr(o)?C:ne(C,y(o))}function _s(o){return Gt.call(o)}function Cs(o){if(!Ze(o)||$s(o))return!1;var d=Lr(o)||pe(o)?is:U;return d.test(_e(o))}function Os(o){if(!vn(o))return dn(o);var d=[];for(var y in Object(o))Ke.call(o,y)&&y!="constructor"&&d.push(y);return d}function Jt(o,d){if(d)return o.slice();var y=new o.constructor(o.length);return o.copy(y),y}function Cr(o){var d=new o.constructor(o.byteLength);return new yr(d).set(new yr(o)),d}function Ct(o,d){var y=d?Cr(o.buffer):o.buffer;return new o.constructor(y,o.byteOffset,o.byteLength)}function mn(o,d,y){var C=d?y(xe(o),!0):xe(o);return ie(C,ue,new o.constructor)}function bn(o){var d=new o.constructor(o.source,D.exec(o));return d.lastIndex=o.lastIndex,d}function Rs(o,d,y){var C=d?y(on(o),!0):on(o);return ie(C,K,new o.constructor)}function Ls(o){return fn?Object(fn.call(o)):{}}function ks(o,d){var y=d?Cr(o.buffer):o.buffer;return new o.constructor(y,o.byteOffset,o.length)}function js(o,d){var y=-1,C=o.length;for(d||(d=Array(C));++y<C;)d[y]=o[y];return d}function Or(o,d,y,C){y||(y={});for(var Q=-1,X=d.length;++Q<X;){var ae=d[Q],se=void 0;gn(y,ae,se===void 0?o[ae]:se)}return y}function Is(o,d){return Or(o,nt(o),d)}function qs(o){return Ss(o,kr,nt)}function Ot(o,d){var y=o.__data__;return Bs(d)?y[typeof d=="string"?"string":"hash"]:y.map}function $e(o,d){var y=he(o,d);return Cs(y)?y:void 0}var nt=Er?br(Er,Object):Us,st=_s;(Kt&&st(new Kt(new ArrayBuffer(1)))!=T||At&&st(new At)!=f||Be&&st(Be.resolve())!=x||Xt&&st(new Xt)!=S||xr&&st(new xr)!=$)&&(st=function(o){var d=Gt.call(o),y=d==E?o.constructor:void 0,C=y?_e(y):void 0;if(C)switch(C){case Nr:return T;case _t:return f;case wr:return x;case Tr:return S;case Ar:return $}return d});function Ms(o){var d=o.length,y=o.constructor(d);return d&&typeof o[0]=="string"&&Ke.call(o,"index")&&(y.index=o.index,y.input=o.input),y}function Ye(o){return typeof o.constructor=="function"&&!vn(o)?As(je(o)):{}}function Ds(o,d,y,C){var Q=o.constructor;switch(d){case m:return Cr(o);case l:case c:return new Q(+o);case T:return Ct(o,C);case k:case P:case Z:case te:case v:case I:case N:case O:case M:return ks(o,C);case f:return mn(o,C,y);case b:case _:return new Q(o);case w:return bn(o);case S:return Rs(o,C,y);case q:return Ls(o)}}function Ps(o,d){return d=d??s,!!d&&(typeof o=="number"||W.test(o))&&o>-1&&o%1==0&&o<d}function Bs(o){var d=typeof o;return d=="string"||d=="number"||d=="symbol"||d=="boolean"?o!=="__proto__":o===null}function $s(o){return!!ln&&ln in o}function vn(o){var d=o&&o.constructor,y=typeof d=="function"&&d.prototype||zt;return o===y}function _e(o){if(o!=null){try{return cn.call(o)}catch{}try{return o+""}catch{}}return""}function yn(o){return _r(o,!0,!0)}function En(o,d){return o===d||o!==o&&d!==d}function Qt(o){return Fs(o)&&Ke.call(o,"callee")&&(!hn.call(o,"callee")||Gt.call(o)==i)}var Rr=Array.isArray;function er(o){return o!=null&&Nn(o.length)&&!Lr(o)}function Fs(o){return wn(o)&&er(o)}var xn=Wt||Hs;function Lr(o){var d=Ze(o)?Gt.call(o):"";return d==h||d==g}function Nn(o){return typeof o=="number"&&o>-1&&o%1==0&&o<=s}function Ze(o){var d=typeof o;return!!o&&(d=="object"||d=="function")}function wn(o){return!!o&&typeof o=="object"}function kr(o){return er(o)?Yt(o):Os(o)}function Us(){return[]}function Hs(){return!1}r.exports=yn}(Ur,Ur.exports)),Ur.exports}var Hr={exports:{}};Hr.exports;var Za;function Tl(){return Za||(Za=1,function(r,e){var t=200,n="__lodash_hash_undefined__",s=1,i=2,a=9007199254740991,l="[object Arguments]",c="[object Array]",u="[object AsyncFunction]",h="[object Boolean]",g="[object Date]",f="[object Error]",b="[object Function]",E="[object GeneratorFunction]",x="[object Map]",w="[object Number]",S="[object Null]",_="[object Object]",q="[object Promise]",$="[object Proxy]",m="[object RegExp]",T="[object Set]",k="[object String]",P="[object Symbol]",Z="[object Undefined]",te="[object WeakMap]",v="[object ArrayBuffer]",I="[object DataView]",N="[object Float32Array]",O="[object Float64Array]",M="[object Int8Array]",j="[object Int16Array]",D="[object Int32Array]",U="[object Uint8Array]",W="[object Uint8ClampedArray]",A="[object Uint16Array]",B="[object Uint32Array]",F=/[\\^$.*+?()[\]{}|]/g,Y=/^\[object .+?Constructor\]$/,J=/^(?:0|[1-9]\d*)$/,H={};H[N]=H[O]=H[M]=H[j]=H[D]=H[U]=H[W]=H[A]=H[B]=!0,H[l]=H[c]=H[v]=H[h]=H[I]=H[g]=H[f]=H[b]=H[x]=H[w]=H[_]=H[m]=H[T]=H[k]=H[te]=!1;var le=typeof bt=="object"&&bt&&bt.Object===Object&&bt,ue=typeof self=="object"&&self&&self.Object===Object&&self,K=le||ue||Function("return this")(),re=e&&!e.nodeType&&e,ne=re&&!0&&r&&!r.nodeType&&r,ie=ne&&ne.exports===re,ce=ie&&le.process,he=function(){try{return ce&&ce.binding&&ce.binding("util")}catch{}}(),pe=he&&he.isTypedArray;function xe(o,d){for(var y=-1,C=o==null?0:o.length,Q=0,X=[];++y<C;){var ae=o[y];d(ae,y,o)&&(X[Q++]=ae)}return X}function br(o,d){for(var y=-1,C=d.length,Q=o.length;++y<C;)o[Q+y]=d[y];return o}function on(o,d){for(var y=-1,C=o==null?0:o.length;++y<C;)if(d(o[y],y,o))return!0;return!1}function ns(o,d){for(var y=-1,C=Array(o);++y<o;)C[y]=d(y);return C}function ss(o){return function(d){return o(d)}}function zt(o,d){return o.has(d)}function vr(o,d){return o?.[d]}function ln(o){var d=-1,y=Array(o.size);return o.forEach(function(C,Q){y[++d]=[Q,C]}),y}function cn(o,d){return function(y){return o(d(y))}}function Ke(o){var d=-1,y=Array(o.size);return o.forEach(function(C){y[++d]=C}),y}var Gt=Array.prototype,is=Function.prototype,Tt=Object.prototype,Vt=K["__core-js_shared__"],yr=is.toString,je=Tt.hasOwnProperty,un=function(){var o=/[^.]+$/.exec(Vt&&Vt.keys&&Vt.keys.IE_PROTO||"");return o?"Symbol(src)_1."+o:""}(),hn=Tt.toString,as=RegExp("^"+yr.call(je).replace(F,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),Er=ie?K.Buffer:void 0,Wt=K.Symbol,dn=K.Uint8Array,Kt=Tt.propertyIsEnumerable,At=Gt.splice,Be=Wt?Wt.toStringTag:void 0,Xt=Object.getOwnPropertySymbols,xr=Er?Er.isBuffer:void 0,St=cn(Object.keys,Object),Nr=nt(K,"DataView"),_t=nt(K,"Map"),wr=nt(K,"Promise"),Tr=nt(K,"Set"),Ar=nt(K,"WeakMap"),ft=nt(Object,"create"),fn=_e(Nr),rt=_e(_t),os=_e(wr),ls=_e(Tr),cs=_e(Ar),pn=Wt?Wt.prototype:void 0,Sr=pn?pn.valueOf:void 0;function be(o){var d=-1,y=o==null?0:o.length;for(this.clear();++d<y;){var C=o[d];this.set(C[0],C[1])}}function us(){this.__data__=ft?ft(null):{},this.size=0}function hs(o){var d=this.has(o)&&delete this.__data__[o];return this.size-=d?1:0,d}function ds(o){var d=this.__data__;if(ft){var y=d[o];return y===n?void 0:y}return je.call(d,o)?d[o]:void 0}function fs(o){var d=this.__data__;return ft?d[o]!==void 0:je.call(d,o)}function ps(o,d){var y=this.__data__;return this.size+=this.has(o)?0:1,y[o]=ft&&d===void 0?n:d,this}be.prototype.clear=us,be.prototype.delete=hs,be.prototype.get=ds,be.prototype.has=fs,be.prototype.set=ps;function Ne(o){var d=-1,y=o==null?0:o.length;for(this.clear();++d<y;){var C=o[d];this.set(C[0],C[1])}}function gs(){this.__data__=[],this.size=0}function ms(o){var d=this.__data__,y=Jt(d,o);if(y<0)return!1;var C=d.length-1;return y==C?d.pop():At.call(d,y,1),--this.size,!0}function bs(o){var d=this.__data__,y=Jt(d,o);return y<0?void 0:d[y][1]}function vs(o){return Jt(this.__data__,o)>-1}function ys(o,d){var y=this.__data__,C=Jt(y,o);return C<0?(++this.size,y.push([o,d])):y[C][1]=d,this}Ne.prototype.clear=gs,Ne.prototype.delete=ms,Ne.prototype.get=bs,Ne.prototype.has=vs,Ne.prototype.set=ys;function Re(o){var d=-1,y=o==null?0:o.length;for(this.clear();++d<y;){var C=o[d];this.set(C[0],C[1])}}function Es(){this.size=0,this.__data__={hash:new be,map:new(_t||Ne),string:new be}}function xs(o){var d=$e(this,o).delete(o);return this.size-=d?1:0,d}function Ns(o){return $e(this,o).get(o)}function ws(o){return $e(this,o).has(o)}function Ts(o,d){var y=$e(this,o),C=y.size;return y.set(o,d),this.size+=y.size==C?0:1,this}Re.prototype.clear=Es,Re.prototype.delete=xs,Re.prototype.get=Ns,Re.prototype.has=ws,Re.prototype.set=Ts;function Yt(o){var d=-1,y=o==null?0:o.length;for(this.__data__=new Re;++d<y;)this.add(o[d])}function gn(o){return this.__data__.set(o,n),this}function Zt(o){return this.__data__.has(o)}Yt.prototype.add=Yt.prototype.push=gn,Yt.prototype.has=Zt;function Xe(o){var d=this.__data__=new Ne(o);this.size=d.size}function _r(){this.__data__=new Ne,this.size=0}function As(o){var d=this.__data__,y=d.delete(o);return this.size=d.size,y}function Ss(o){return this.__data__.get(o)}function _s(o){return this.__data__.has(o)}function Cs(o,d){var y=this.__data__;if(y instanceof Ne){var C=y.__data__;if(!_t||C.length<t-1)return C.push([o,d]),this.size=++y.size,this;y=this.__data__=new Re(C)}return y.set(o,d),this.size=y.size,this}Xe.prototype.clear=_r,Xe.prototype.delete=As,Xe.prototype.get=Ss,Xe.prototype.has=_s,Xe.prototype.set=Cs;function Os(o,d){var y=Qt(o),C=!y&&En(o),Q=!y&&!C&&er(o),X=!y&&!C&&!Q&&wn(o),ae=y||C||Q||X,se=ae?ns(o.length,String):[],ge=se.length;for(var oe in o)je.call(o,oe)&&!(ae&&(oe=="length"||Q&&(oe=="offset"||oe=="parent")||X&&(oe=="buffer"||oe=="byteLength"||oe=="byteOffset")||Ds(oe,ge)))&&se.push(oe);return se}function Jt(o,d){for(var y=o.length;y--;)if(yn(o[y][0],d))return y;return-1}function Cr(o,d,y){var C=d(o);return Qt(o)?C:br(C,y(o))}function Ct(o){return o==null?o===void 0?Z:S:Be&&Be in Object(o)?st(o):vn(o)}function mn(o){return Ze(o)&&Ct(o)==l}function bn(o,d,y,C,Q){return o===d?!0:o==null||d==null||!Ze(o)&&!Ze(d)?o!==o&&d!==d:Rs(o,d,y,C,bn,Q)}function Rs(o,d,y,C,Q,X){var ae=Qt(o),se=Qt(d),ge=ae?c:Ye(o),oe=se?c:Ye(d);ge=ge==l?_:ge,oe=oe==l?_:oe;var we=ge==_,Le=oe==_,me=ge==oe;if(me&&er(o)){if(!er(d))return!1;ae=!0,we=!1}if(me&&!we)return X||(X=new Xe),ae||wn(o)?Or(o,d,y,C,Q,X):Is(o,d,ge,y,C,Q,X);if(!(y&s)){var Te=we&&je.call(o,"__wrapped__"),ve=Le&&je.call(d,"__wrapped__");if(Te||ve){var pt=Te?o.value():o,it=ve?d.value():d;return X||(X=new Xe),Q(pt,it,y,C,X)}}return me?(X||(X=new Xe),qs(o,d,y,C,Q,X)):!1}function Ls(o){if(!Nn(o)||Bs(o))return!1;var d=xn(o)?as:Y;return d.test(_e(o))}function ks(o){return Ze(o)&&Lr(o.length)&&!!H[Ct(o)]}function js(o){if(!$s(o))return St(o);var d=[];for(var y in Object(o))je.call(o,y)&&y!="constructor"&&d.push(y);return d}function Or(o,d,y,C,Q,X){var ae=y&s,se=o.length,ge=d.length;if(se!=ge&&!(ae&&ge>se))return!1;var oe=X.get(o);if(oe&&X.get(d))return oe==d;var we=-1,Le=!0,me=y&i?new Yt:void 0;for(X.set(o,d),X.set(d,o);++we<se;){var Te=o[we],ve=d[we];if(C)var pt=ae?C(ve,Te,we,d,o,X):C(Te,ve,we,o,d,X);if(pt!==void 0){if(pt)continue;Le=!1;break}if(me){if(!on(d,function(it,Rt){if(!zt(me,Rt)&&(Te===it||Q(Te,it,y,C,X)))return me.push(Rt)})){Le=!1;break}}else if(!(Te===ve||Q(Te,ve,y,C,X))){Le=!1;break}}return X.delete(o),X.delete(d),Le}function Is(o,d,y,C,Q,X,ae){switch(y){case I:if(o.byteLength!=d.byteLength||o.byteOffset!=d.byteOffset)return!1;o=o.buffer,d=d.buffer;case v:return!(o.byteLength!=d.byteLength||!X(new dn(o),new dn(d)));case h:case g:case w:return yn(+o,+d);case f:return o.name==d.name&&o.message==d.message;case m:case k:return o==d+"";case x:var se=ln;case T:var ge=C&s;if(se||(se=Ke),o.size!=d.size&&!ge)return!1;var oe=ae.get(o);if(oe)return oe==d;C|=i,ae.set(o,d);var we=Or(se(o),se(d),C,Q,X,ae);return ae.delete(o),we;case P:if(Sr)return Sr.call(o)==Sr.call(d)}return!1}function qs(o,d,y,C,Q,X){var ae=y&s,se=Ot(o),ge=se.length,oe=Ot(d),we=oe.length;if(ge!=we&&!ae)return!1;for(var Le=ge;Le--;){var me=se[Le];if(!(ae?me in d:je.call(d,me)))return!1}var Te=X.get(o);if(Te&&X.get(d))return Te==d;var ve=!0;X.set(o,d),X.set(d,o);for(var pt=ae;++Le<ge;){me=se[Le];var it=o[me],Rt=d[me];if(C)var Xi=ae?C(Rt,it,me,d,o,X):C(it,Rt,me,o,d,X);if(!(Xi===void 0?it===Rt||Q(it,Rt,y,C,X):Xi)){ve=!1;break}pt||(pt=me=="constructor")}if(ve&&!pt){var Tn=o.constructor,An=d.constructor;Tn!=An&&"constructor"in o&&"constructor"in d&&!(typeof Tn=="function"&&Tn instanceof Tn&&typeof An=="function"&&An instanceof An)&&(ve=!1)}return X.delete(o),X.delete(d),ve}function Ot(o){return Cr(o,kr,Ms)}function $e(o,d){var y=o.__data__;return Ps(d)?y[typeof d=="string"?"string":"hash"]:y.map}function nt(o,d){var y=vr(o,d);return Ls(y)?y:void 0}function st(o){var d=je.call(o,Be),y=o[Be];try{o[Be]=void 0;var C=!0}catch{}var Q=hn.call(o);return C&&(d?o[Be]=y:delete o[Be]),Q}var Ms=Xt?function(o){return o==null?[]:(o=Object(o),xe(Xt(o),function(d){return Kt.call(o,d)}))}:Us,Ye=Ct;(Nr&&Ye(new Nr(new ArrayBuffer(1)))!=I||_t&&Ye(new _t)!=x||wr&&Ye(wr.resolve())!=q||Tr&&Ye(new Tr)!=T||Ar&&Ye(new Ar)!=te)&&(Ye=function(o){var d=Ct(o),y=d==_?o.constructor:void 0,C=y?_e(y):"";if(C)switch(C){case fn:return I;case rt:return x;case os:return q;case ls:return T;case cs:return te}return d});function Ds(o,d){return d=d??a,!!d&&(typeof o=="number"||J.test(o))&&o>-1&&o%1==0&&o<d}function Ps(o){var d=typeof o;return d=="string"||d=="number"||d=="symbol"||d=="boolean"?o!=="__proto__":o===null}function Bs(o){return!!un&&un in o}function $s(o){var d=o&&o.constructor,y=typeof d=="function"&&d.prototype||Tt;return o===y}function vn(o){return hn.call(o)}function _e(o){if(o!=null){try{return yr.call(o)}catch{}try{return o+""}catch{}}return""}function yn(o,d){return o===d||o!==o&&d!==d}var En=mn(function(){return arguments}())?mn:function(o){return Ze(o)&&je.call(o,"callee")&&!Kt.call(o,"callee")},Qt=Array.isArray;function Rr(o){return o!=null&&Lr(o.length)&&!xn(o)}var er=xr||Hs;function Fs(o,d){return bn(o,d)}function xn(o){if(!Nn(o))return!1;var d=Ct(o);return d==b||d==E||d==u||d==$}function Lr(o){return typeof o=="number"&&o>-1&&o%1==0&&o<=a}function Nn(o){var d=typeof o;return o!=null&&(d=="object"||d=="function")}function Ze(o){return o!=null&&typeof o=="object"}var wn=pe?ss(pe):ks;function kr(o){return Rr(o)?Os(o):js(o)}function Us(){return[]}function Hs(){return!1}r.exports=Fs}(Hr,Hr.exports)),Hr.exports}var Ln={},Ja;function cg(){if(Ja)return Ln;Ja=1,Object.defineProperty(Ln,"__esModule",{value:!0});const r=wl(),e=Tl();var t;return function(n){function s(c={},u={},h=!1){typeof c!="object"&&(c={}),typeof u!="object"&&(u={});let g=r(u);h||(g=Object.keys(g).reduce((f,b)=>(g[b]!=null&&(f[b]=g[b]),f),{}));for(const f in c)c[f]!==void 0&&u[f]===void 0&&(g[f]=c[f]);return Object.keys(g).length>0?g:void 0}n.compose=s;function i(c={},u={}){typeof c!="object"&&(c={}),typeof u!="object"&&(u={});const h=Object.keys(c).concat(Object.keys(u)).reduce((g,f)=>(e(c[f],u[f])||(g[f]=u[f]===void 0?null:u[f]),g),{});return Object.keys(h).length>0?h:void 0}n.diff=i;function a(c={},u={}){c=c||{};const h=Object.keys(u).reduce((g,f)=>(u[f]!==c[f]&&c[f]!==void 0&&(g[f]=u[f]),g),{});return Object.keys(c).reduce((g,f)=>(c[f]!==u[f]&&u[f]===void 0&&(g[f]=null),g),h)}n.invert=a;function l(c,u,h=!1){if(typeof c!="object")return u;if(typeof u!="object")return;if(!h)return u;const g=Object.keys(u).reduce((f,b)=>(c[b]===void 0&&(f[b]=u[b]),f),{});return Object.keys(g).length>0?g:void 0}n.transform=l}(t||(t={})),Ln.default=t,Ln}var kn={},Qa;function Al(){if(Qa)return kn;Qa=1,Object.defineProperty(kn,"__esModule",{value:!0});var r;return function(e){function t(n){return typeof n.delete=="number"?n.delete:typeof n.retain=="number"?n.retain:typeof n.retain=="object"&&n.retain!==null?1:typeof n.insert=="string"?n.insert.length:1}e.length=t}(r||(r={})),kn.default=r,kn}var jn={},eo;function ug(){if(eo)return jn;eo=1,Object.defineProperty(jn,"__esModule",{value:!0});const r=Al();class e{constructor(n){this.ops=n,this.index=0,this.offset=0}hasNext(){return this.peekLength()<1/0}next(n){n||(n=1/0);const s=this.ops[this.index];if(s){const i=this.offset,a=r.default.length(s);if(n>=a-i?(n=a-i,this.index+=1,this.offset=0):this.offset+=n,typeof s.delete=="number")return{delete:n};{const l={};return s.attributes&&(l.attributes=s.attributes),typeof s.retain=="number"?l.retain=n:typeof s.retain=="object"&&s.retain!==null?l.retain=s.retain:typeof s.insert=="string"?l.insert=s.insert.substr(i,n):l.insert=s.insert,l}}else return{retain:1/0}}peek(){return this.ops[this.index]}peekLength(){return this.ops[this.index]?r.default.length(this.ops[this.index])-this.offset:1/0}peekType(){const n=this.ops[this.index];return n?typeof n.delete=="number"?"delete":typeof n.retain=="number"||typeof n.retain=="object"&&n.retain!==null?"retain":"insert":"retain"}rest(){if(this.hasNext()){if(this.offset===0)return this.ops.slice(this.index);{const n=this.offset,s=this.index,i=this.next(),a=this.ops.slice(this.index);return this.offset=n,this.index=s,[i].concat(a)}}else return[]}}return jn.default=e,jn}var to;function hg(){return to||(to=1,function(r,e){Object.defineProperty(e,"__esModule",{value:!0}),e.AttributeMap=e.OpIterator=e.Op=void 0;const t=lg(),n=wl(),s=Tl(),i=cg();e.AttributeMap=i.default;const a=Al();e.Op=a.default;const l=ug();e.OpIterator=l.default;const c="\0",u=(g,f)=>{if(typeof g!="object"||g===null)throw new Error(`cannot retain a ${typeof g}`);if(typeof f!="object"||f===null)throw new Error(`cannot retain a ${typeof f}`);const b=Object.keys(g)[0];if(!b||b!==Object.keys(f)[0])throw new Error(`embed types not matched: ${b} != ${Object.keys(f)[0]}`);return[b,g[b],f[b]]};class h{constructor(f){Array.isArray(f)?this.ops=f:f!=null&&Array.isArray(f.ops)?this.ops=f.ops:this.ops=[]}static registerEmbed(f,b){this.handlers[f]=b}static unregisterEmbed(f){delete this.handlers[f]}static getHandler(f){const b=this.handlers[f];if(!b)throw new Error(`no handlers for embed type "${f}"`);return b}insert(f,b){const E={};return typeof f=="string"&&f.length===0?this:(E.insert=f,b!=null&&typeof b=="object"&&Object.keys(b).length>0&&(E.attributes=b),this.push(E))}delete(f){return f<=0?this:this.push({delete:f})}retain(f,b){if(typeof f=="number"&&f<=0)return this;const E={retain:f};return b!=null&&typeof b=="object"&&Object.keys(b).length>0&&(E.attributes=b),this.push(E)}push(f){let b=this.ops.length,E=this.ops[b-1];if(f=n(f),typeof E=="object"){if(typeof f.delete=="number"&&typeof E.delete=="number")return this.ops[b-1]={delete:E.delete+f.delete},this;if(typeof E.delete=="number"&&f.insert!=null&&(b-=1,E=this.ops[b-1],typeof E!="object"))return this.ops.unshift(f),this;if(s(f.attributes,E.attributes)){if(typeof f.insert=="string"&&typeof E.insert=="string")return this.ops[b-1]={insert:E.insert+f.insert},typeof f.attributes=="object"&&(this.ops[b-1].attributes=f.attributes),this;if(typeof f.retain=="number"&&typeof E.retain=="number")return this.ops[b-1]={retain:E.retain+f.retain},typeof f.attributes=="object"&&(this.ops[b-1].attributes=f.attributes),this}}return b===this.ops.length?this.ops.push(f):this.ops.splice(b,0,f),this}chop(){const f=this.ops[this.ops.length-1];return f&&typeof f.retain=="number"&&!f.attributes&&this.ops.pop(),this}filter(f){return this.ops.filter(f)}forEach(f){this.ops.forEach(f)}map(f){return this.ops.map(f)}partition(f){const b=[],E=[];return this.forEach(x=>{(f(x)?b:E).push(x)}),[b,E]}reduce(f,b){return this.ops.reduce(f,b)}changeLength(){return this.reduce((f,b)=>b.insert?f+a.default.length(b):b.delete?f-b.delete:f,0)}length(){return this.reduce((f,b)=>f+a.default.length(b),0)}slice(f=0,b=1/0){const E=[],x=new l.default(this.ops);let w=0;for(;w<b&&x.hasNext();){let S;w<f?S=x.next(f-w):(S=x.next(b-w),E.push(S)),w+=a.default.length(S)}return new h(E)}compose(f){const b=new l.default(this.ops),E=new l.default(f.ops),x=[],w=E.peek();if(w!=null&&typeof w.retain=="number"&&w.attributes==null){let _=w.retain;for(;b.peekType()==="insert"&&b.peekLength()<=_;)_-=b.peekLength(),x.push(b.next());w.retain-_>0&&E.next(w.retain-_)}const S=new h(x);for(;b.hasNext()||E.hasNext();)if(E.peekType()==="insert")S.push(E.next());else if(b.peekType()==="delete")S.push(b.next());else{const _=Math.min(b.peekLength(),E.peekLength()),q=b.next(_),$=E.next(_);if($.retain){const m={};if(typeof q.retain=="number")m.retain=typeof $.retain=="number"?_:$.retain;else if(typeof $.retain=="number")q.retain==null?m.insert=q.insert:m.retain=q.retain;else{const k=q.retain==null?"insert":"retain",[P,Z,te]=u(q[k],$.retain),v=h.getHandler(P);m[k]={[P]:v.compose(Z,te,k==="retain")}}const T=i.default.compose(q.attributes,$.attributes,typeof q.retain=="number");if(T&&(m.attributes=T),S.push(m),!E.hasNext()&&s(S.ops[S.ops.length-1],m)){const k=new h(b.rest());return S.concat(k).chop()}}else typeof $.delete=="number"&&(typeof q.retain=="number"||typeof q.retain=="object"&&q.retain!==null)&&S.push($)}return S.chop()}concat(f){const b=new h(this.ops.slice());return f.ops.length>0&&(b.push(f.ops[0]),b.ops=b.ops.concat(f.ops.slice(1))),b}diff(f,b){if(this.ops===f.ops)return new h;const E=[this,f].map(q=>q.map($=>{if($.insert!=null)return typeof $.insert=="string"?$.insert:c;const m=q===f?"on":"with";throw new Error("diff() called "+m+" non-document")}).join("")),x=new h,w=t(E[0],E[1],b,!0),S=new l.default(this.ops),_=new l.default(f.ops);return w.forEach(q=>{let $=q[1].length;for(;$>0;){let m=0;switch(q[0]){case t.INSERT:m=Math.min(_.peekLength(),$),x.push(_.next(m));break;case t.DELETE:m=Math.min($,S.peekLength()),S.next(m),x.delete(m);break;case t.EQUAL:m=Math.min(S.peekLength(),_.peekLength(),$);const T=S.next(m),k=_.next(m);s(T.insert,k.insert)?x.retain(m,i.default.diff(T.attributes,k.attributes)):x.push(k).delete(m);break}$-=m}}),x.chop()}eachLine(f,b=`
|
|
23
|
+
`,u="/",h="*",g="",f="comment",b="declaration";Vs=function(x,w){if(typeof x!="string")throw new TypeError("First argument must be a string");if(!x)return[];w=w||{};var S=1,_=1;function q(N){var O=N.match(e);O&&(S+=O.length);var M=N.lastIndexOf(c);_=~M?N.length-M:_+N.length}function $(){var N={line:S,column:_};return function(O){return O.position=new m(N),P(),O}}function m(N){this.start=N,this.end={line:S,column:_},this.source=w.source}m.prototype.content=x;function T(N){var O=new Error(w.source+":"+S+":"+_+": "+N);if(O.reason=N,O.filename=w.source,O.line=S,O.column=_,O.source=x,!w.silent)throw O}function k(N){var O=N.exec(x);if(O){var M=O[0];return q(M),x=x.slice(M.length),O}}function P(){k(t)}function Z(N){var O;for(N=N||[];O=te();)O!==!1&&N.push(O);return N}function te(){var N=$();if(!(u!=x.charAt(0)||h!=x.charAt(1))){for(var O=2;g!=x.charAt(O)&&(h!=x.charAt(O)||u!=x.charAt(O+1));)++O;if(O+=2,g===x.charAt(O-1))return T("End of comment missing");var M=x.slice(2,O-2);return _+=2,q(M),x=x.slice(O),_+=2,N({type:f,comment:M})}}function v(){var N=$(),O=k(n);if(O){if(te(),!k(s))return T("property missing ':'");var M=k(i),j=N({type:b,property:E(O[0].replace(r,g)),value:M?E(M[0].replace(r,g)):g});return k(a),j}}function I(){var N=[];Z(N);for(var O;O=v();)O!==!1&&(N.push(O),Z(N));return N}return P(),I()};function E(x){return x?x.replace(l,g):g}return Vs}var da;function jc(){if(da)return rr;da=1;var r=rr&&rr.__importDefault||function(n){return n&&n.__esModule?n:{default:n}};Object.defineProperty(rr,"__esModule",{value:!0}),rr.default=t;var e=r(kc());function t(n,s){var i=null;if(!n||typeof n!="string")return i;var a=(0,e.default)(n),l=typeof s=="function";return a.forEach(function(c){if(c.type==="declaration"){var u=c.property,h=c.value;l?s(u,h,c):h&&(i=i||{},i[u]=h)}}),i}return rr}var Pr={},fa;function Ic(){if(fa)return Pr;fa=1,Object.defineProperty(Pr,"__esModule",{value:!0}),Pr.camelCase=void 0;var r=/^--[a-zA-Z0-9_-]+$/,e=/-([a-z])/g,t=/^[^-]+$/,n=/^-(webkit|moz|ms|o|khtml)-/,s=/^-(ms)-/,i=function(u){return!u||t.test(u)||r.test(u)},a=function(u,h){return h.toUpperCase()},l=function(u,h){return"".concat(h,"-")},c=function(u,h){return h===void 0&&(h={}),i(u)?u:(u=u.toLowerCase(),h.reactCompat?u=u.replace(s,l):u=u.replace(n,l),u.replace(e,a))};return Pr.camelCase=c,Pr}var Br,pa;function qc(){if(pa)return Br;pa=1;var r=Br&&Br.__importDefault||function(s){return s&&s.__esModule?s:{default:s}},e=r(jc()),t=Ic();function n(s,i){var a={};return!s||typeof s!="string"||(0,e.default)(s,function(l,c){l&&c&&(a[(0,t.camelCase)(l,i)]=c)}),a}return n.default=n,Br=n,Br}var ga;function jo(){return ga||(ga=1,function(r){var e=Dr&&Dr.__importDefault||function(h){return h&&h.__esModule?h:{default:h}};Object.defineProperty(r,"__esModule",{value:!0}),r.returnFirstArg=r.canTextBeChildOfNode=r.ELEMENTS_WITH_NO_TEXT_CHILDREN=r.PRESERVE_CUSTOM_ATTRIBUTES=void 0,r.isCustomComponent=i,r.setStyleProp=l;var t=L,n=e(qc()),s=new Set(["annotation-xml","color-profile","font-face","font-face-src","font-face-uri","font-face-format","font-face-name","missing-glyph"]);function i(h,g){return h.includes("-")?!s.has(h):!!(g&&typeof g.is=="string")}var a={reactCompat:!0};function l(h,g){if(typeof h=="string"){if(!h.trim()){g.style={};return}try{g.style=(0,n.default)(h,a)}catch{g.style={}}}}r.PRESERVE_CUSTOM_ATTRIBUTES=Number(t.version.split(".")[0])>=16,r.ELEMENTS_WITH_NO_TEXT_CHILDREN=new Set(["tr","tbody","thead","tfoot","colgroup","table","head","html","frameset"]);var c=function(h){return!r.ELEMENTS_WITH_NO_TEXT_CHILDREN.has(h.name)};r.canTextBeChildOfNode=c;var u=function(h){return h};r.returnFirstArg=u}(Dr)),Dr}var ma;function Io(){if(ma)return Cn;ma=1,Object.defineProperty(Cn,"__esModule",{value:!0}),Cn.default=i;var r=Lc(),e=jo(),t=["checked","value"],n=["input","select","textarea"],s={reset:!0,submit:!0};function i(l,c){l===void 0&&(l={});var u={},h=!!(l.type&&s[l.type]);for(var g in l){var f=l[g];if((0,r.isCustomAttribute)(g)){u[g]=f;continue}var b=g.toLowerCase(),E=a(b);if(E){var x=(0,r.getPropertyInfo)(E);switch(t.includes(E)&&n.includes(c)&&!h&&(E=a("default"+b)),u[E]=f,x&&x.type){case r.BOOLEAN:u[E]=!0;break;case r.OVERLOADED_BOOLEAN:f===""&&(u[E]=!0);break}continue}e.PRESERVE_CUSTOM_ATTRIBUTES&&(u[g]=f)}return(0,e.setStyleProp)(l.style,u),u}function a(l){return r.possibleStandardNames[l]}return Cn}var nr={},ba;function Mc(){if(ba)return nr;ba=1;var r=nr&&nr.__importDefault||function(l){return l&&l.__esModule?l:{default:l}};Object.defineProperty(nr,"__esModule",{value:!0}),nr.default=i;var e=L,t=r(Io()),n=jo(),s={cloneElement:e.cloneElement,createElement:e.createElement,isValidElement:e.isValidElement};function i(l,c){c===void 0&&(c={});for(var u=[],h=typeof c.replace=="function",g=c.transform||n.returnFirstArg,f=c.library||s,b=f.cloneElement,E=f.createElement,x=f.isValidElement,w=l.length,S=0;S<w;S++){var _=l[S];if(h){var q=c.replace(_,S);if(x(q)){w>1&&(q=b(q,{key:q.key||S})),u.push(g(q,_,S));continue}}if(_.type==="text"){var $=!_.data.trim().length;if($&&_.parent&&!(0,n.canTextBeChildOfNode)(_.parent)||c.trim&&$)continue;u.push(g(_.data,_,S));continue}var m=_,T={};a(m)?((0,n.setStyleProp)(m.attribs.style,m.attribs),T=m.attribs):m.attribs&&(T=(0,t.default)(m.attribs,m.name));var k=void 0;switch(_.type){case"script":case"style":_.children[0]&&(T.dangerouslySetInnerHTML={__html:_.children[0].data});break;case"tag":_.name==="textarea"&&_.children[0]?T.defaultValue=_.children[0].data:_.children&&_.children.length&&(k=i(_.children,c));break;default:continue}w>1&&(T.key=S),u.push(g(E(_.name,T,k),_,S))}return u.length===1?u[0]:u}function a(l){return n.PRESERVE_CUSTOM_ATTRIBUTES&&l.type==="tag"&&(0,n.isCustomComponent)(l.name,l.attribs)}return nr}var va;function Dc(){return va||(va=1,function(r){var e=qr&&qr.__importDefault||function(c){return c&&c.__esModule?c:{default:c}};Object.defineProperty(r,"__esModule",{value:!0}),r.htmlToDOM=r.domToReact=r.attributesToProps=r.Text=r.ProcessingInstruction=r.Element=r.Comment=void 0,r.default=l;var t=e(Oc());r.htmlToDOM=t.default;var n=e(Io());r.attributesToProps=n.default;var s=e(Mc());r.domToReact=s.default;var i=Lo();Object.defineProperty(r,"Comment",{enumerable:!0,get:function(){return i.Comment}}),Object.defineProperty(r,"Element",{enumerable:!0,get:function(){return i.Element}}),Object.defineProperty(r,"ProcessingInstruction",{enumerable:!0,get:function(){return i.ProcessingInstruction}}),Object.defineProperty(r,"Text",{enumerable:!0,get:function(){return i.Text}});var a={lowerCaseAttributeNames:!1};function l(c,u){if(typeof c!="string")throw new TypeError("First argument must be a string");return c?(0,s.default)((0,t.default)(c,u?.htmlparser2||a),u):[]}}(qr)),qr}var Pc=Dc();const ya=Ai(Pc),Bc=ya.default||ya,$c=({type:r,text:e})=>{const[t,n]=L.useState(!0),s=L.useRef(null),i=L.useRef(null),a=()=>{i.current&&(i.current.style.transition="opacity 0.4s",i.current.style.opacity="0"),s.current=window.setTimeout(()=>{n(!t)},500)};return L.useEffect(()=>()=>{s.current&&clearTimeout(s.current)},[]),t?p.jsxs("div",{ref:i,className:`alert ${r}`,role:"alert",children:[p.jsx("p",{children:Bc(e)}),p.jsx("button",{className:"close",type:"button","data-toggle":"close",onClick:a,children:p.jsx(Sc,{})})]}):null};function Fc(r){return Se({attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"},child:[]},{tag:"path",attr:{d:"M19 4h-1V2h-2v2H8V2H6v2H5c-1.11 0-1.99.9-1.99 2L3 20a2 2 0 0 0 2 2h14c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm0 16H5V10h14v10zM9 14H7v-2h2v2zm4 0h-2v-2h2v2zm4 0h-2v-2h2v2zm-8 4H7v-2h2v2zm4 0h-2v-2h2v2zm4 0h-2v-2h2v2z"},child:[]}]})(r)}function Uc(r){return Se({attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"},child:[]},{tag:"path",attr:{d:"M6 19c0 1.1.9 2 2 2h8c1.1 0 2-.9 2-2V7H6v12zM19 4h-3.5l-1-1h-5l-1 1H5v2h14V4z"},child:[]}]})(r)}function Hc(r){return Se({attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"},child:[]},{tag:"path",attr:{d:"M15.41 7.41 14 6l-6 6 6 6 1.41-1.41L10.83 12z"},child:[]}]})(r)}function zc(r){return Se({attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"},child:[]},{tag:"path",attr:{d:"M10 6 8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6z"},child:[]}]})(r)}function Gc(r){return Se({attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"},child:[]},{tag:"path",attr:{d:"M19 6.41 17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"},child:[]}]})(r)}function Vc(r){return Se({attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M24 24H0V0h24v24z",opacity:".87"},child:[]},{tag:"path",attr:{d:"M16.59 8.59 12 13.17 7.41 8.59 6 10l6 6 6-6-1.41-1.41z"},child:[]}]})(r)}const Wc=({message:r,onCancel:e,onConfirm:t})=>p.jsx("div",{className:"modal",tabIndex:-1,role:"dialog",children:p.jsx("div",{className:"modal-dialog modal-sm",role:"document",children:p.jsxs("div",{className:"card",children:[p.jsxs("div",{className:"card-header bg-danger sm",children:[p.jsxs("div",{className:"card-header-title",children:[p.jsx(Uc,{className:"icon"}),p.jsx("span",{children:"Confirmation"})]}),p.jsx("div",{className:"tools",onClick:e,"aria-hidden":"true",children:p.jsx(Gc,{className:"icon"})})]}),p.jsx("div",{className:"card-body",children:p.jsx("p",{children:r})}),p.jsxs("div",{className:"card-footer",children:[p.jsx("button",{type:"button",className:"btn btn-secondary",onClick:e,children:"Cancel"}),p.jsx("button",{type:"button",className:"btn btn-primary",onClick:t,children:"Confirm"})]})]})})}),Kc=({className:r="",type:e,title:t,text:n})=>p.jsxs("div",{className:`callout ${e} ${r}`,children:[t&&p.jsx("h5",{children:t}),typeof n=="string"?p.jsx("p",{children:n}):n]}),Xc=({children:r,text:e,position:t="top",className:n="",offset:s=5})=>{const[i,a]=L.useState(!1),[l,c]=L.useState({top:0,left:0}),u=L.useRef(null),h=L.useRef(null);return L.useEffect(()=>{if(i&&u.current&&h.current){const g=u.current.getBoundingClientRect(),f=h.current.getBoundingClientRect(),{scrollX:b,scrollY:E}=window;let x=0,w=0;switch(t){case"top":x=g.top-f.height-s,w=g.left+(g.width-f.width)/2;break;case"bottom":x=g.bottom+s,w=g.left+(g.width-f.width)/2;break;case"left":x=g.top+(g.height-f.height)/2,w=g.left-f.width-s;break;case"right":x=g.top+(g.height-f.height)/2,w=g.right+s;break}c({top:Math.round(x+E),left:Math.round(w+b)})}},[i,t,s]),p.jsxs("div",{ref:u,onMouseEnter:()=>a(!0),onMouseLeave:()=>a(!1),children:[r,i&&en.createPortal(p.jsx("div",{ref:h,style:{position:"absolute",top:`${l.top}px`,left:`${l.left}px`},className:`tooltip ${t} ${n}`,children:e}),document.body)]})},Yc=({className:r,children:e,text:t})=>{const[n,s]=L.useState(!1),[i,a]=L.useState({top:0,left:0}),l=L.useRef(null),c=L.useRef(null);Dt([l,c],()=>{s(!1)}),L.useEffect(()=>{if(n&&l.current&&c.current){const h=l.current.getBoundingClientRect(),g=c.current.getBoundingClientRect(),{scrollX:f,scrollY:b}=window;let E=0,x=0;r.includes("top")?(E=h.top-g.height-10,x=h.left+(h.width-g.width)/2):r.includes("bottom")?(E=h.bottom+10,x=h.left+(h.width-g.width)/2):r.includes("left")?(E=h.top+(h.height-g.height)/2,x=h.left-g.width-10):r.includes("right")&&(E=h.top+(h.height-g.height)/2,x=h.right+10),a({top:Math.round(E+b),left:Math.round(x+f)})}},[n,r]);function u(){s(!n)}return p.jsxs("div",{ref:l,onClick:u,children:[e,n&&en.createPortal(p.jsxs("div",{ref:c,className:`popover ${r}`,role:"tooltip",style:{position:"absolute",top:`${i.top}px`,left:`${i.left}px`},children:[p.jsx("div",{className:"arrow"}),p.jsx("div",{className:"popover-content",children:t})]}),document.body)]})},Zc=({children:r,className:e="",...t})=>p.jsx("div",{className:`modal-header ${e}`,...t,children:r}),Jc=({children:r,className:e="",...t})=>p.jsx("div",{className:`modal-body ${e}`,...t,children:r}),Qc=({children:r,className:e="",...t})=>p.jsx("div",{className:`modal-footer ${e}`,...t,children:r}),eu=({children:r,className:e="",...t})=>(L.useEffect(()=>(document.body.style.overflow="hidden",()=>{document.body.style.overflow=""}),[]),en.createPortal(p.jsx("div",{className:"modal",...t,children:p.jsx("div",{className:`modal-dialog ${e}`,children:r})}),document.body)),tu=({defaultIndex:r=0,children:e})=>{const[t,n]=L.useState(r),s=i=>{n(i===t?null:i)};return p.jsx("div",{className:"panel-group",children:L.Children.map(e,(i,a)=>L.cloneElement(i,{isOpen:t===a,onClick:()=>s(a)}))})},ru=({title:r,titleIcon:e,children:t,isOpen:n=!1,onClick:s})=>{const i=L.Children.toArray(t).find(l=>l.type===qo),a=L.Children.toArray(t).find(l=>l.type===Mo);return p.jsxs("div",{className:"card mb-10",children:[p.jsxs("div",{className:"card-header",role:"button",tabIndex:0,onClick:s,onKeyDown:s,children:[p.jsxs("div",{className:"card-header-title",children:[e," ",r]}),p.jsx("div",{className:"tools",children:p.jsx(Vc,{className:`menu-caret ${n?"active":""}`})})]}),n&&p.jsxs("div",{className:"panel active",children:[i,a]})]})},qo=({className:r="",children:e})=>p.jsx("div",{className:`card-body ${r}`,children:e}),Mo=({className:r="",children:e})=>p.jsx("div",{className:`card-footer ${r}`,children:e}),nu=({size:r=40,className:e="",color:t})=>p.jsx("span",{className:`circular-progress ${e} ${t?`brand-${t}`:""}`,style:{width:`${r}px`,height:`${r}px`}}),su=({showLabel:r=!1,progress:e=0,className:t="",color:n})=>{const s=t.includes("indeterminate");return p.jsxs("div",{className:`linear-progress ${t}`,children:[p.jsx("div",{className:`progress-bar ${n?`brand-${n}`:""}`,children:p.jsx("span",{className:"progress",style:{width:`${e}%`}})}),r&&!s&&p.jsxs("span",{className:"progress-label",children:[e,"%"]})]})},iu=({progress:r=0,size:e=40,className:t="",color:n,strokeWidth:s=4})=>{const[i,a]=L.useState(0);return L.useEffect(()=>{if(i<r){const l=setTimeout(()=>{a(i+1)},10);return()=>clearTimeout(l)}},[i,r]),p.jsxs("div",{className:`circular-progress-with-label ${t}`,children:[p.jsx("span",{className:`progress ${n?`brand-${n}`:""}`,style:{width:`${e}px`,height:`${e}px`,borderWidth:`${s}px`,background:n?`radial-gradient(closest-side, var(--secondary-bg) 79%, transparent 80% 100%), conic-gradient(var(--brand-${n}) ${i}%, var(--primary-bg) 0)`:`radial-gradient(closest-side, var(--secondary-bg) 79%, transparent 80% 100%), conic-gradient(#888 ${i}%, var(--primary-bg) 0)`}}),p.jsxs("span",{className:"progress-label",children:[i,"%"]})]})},ye=[];for(let r=0;r<256;++r)ye.push((r+256).toString(16).slice(1));function au(r,e=0){return(ye[r[e+0]]+ye[r[e+1]]+ye[r[e+2]]+ye[r[e+3]]+"-"+ye[r[e+4]]+ye[r[e+5]]+"-"+ye[r[e+6]]+ye[r[e+7]]+"-"+ye[r[e+8]]+ye[r[e+9]]+"-"+ye[r[e+10]]+ye[r[e+11]]+ye[r[e+12]]+ye[r[e+13]]+ye[r[e+14]]+ye[r[e+15]]).toLowerCase()}let Ws;const ou=new Uint8Array(16);function lu(){if(!Ws){if(typeof crypto>"u"||!crypto.getRandomValues)throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");Ws=crypto.getRandomValues.bind(crypto)}return Ws(ou)}const cu=typeof crypto<"u"&&crypto.randomUUID&&crypto.randomUUID.bind(crypto),Ea={randomUUID:cu};function Do(r,e,t){if(Ea.randomUUID&&!r)return Ea.randomUUID();r=r||{};const n=r.random??r.rng?.()??lu();if(n.length<16)throw new Error("Random bytes length must be >= 16");return n[6]=n[6]&15|64,n[8]=n[8]&63|128,au(n)}const _i=L.forwardRef(({name:r,label:e,message:t,error:n,checked:s=!1,onChange:i,...a},l)=>{const c=Do(),u=h=>{i(h)};return p.jsxs(p.Fragment,{children:[p.jsxs("label",{className:"custom-checkbox",htmlFor:c,children:[p.jsx("input",{className:"form-control",type:"checkbox",id:c,name:r,ref:l,role:"checkbox",checked:s,onChange:u,...a}),p.jsx("span",{className:"checkmark"}),e&&p.jsx("span",{className:a.required?"required":"",children:e})]}),n?p.jsx("small",{className:"form-message text-danger",children:n}):t&&p.jsx("small",{className:"form-message text-muted",children:t})]})});_i.displayName="Checkbox";const uu=({children:r})=>p.jsx("div",{className:"form",children:r}),hu=({className:r="",children:e})=>p.jsx("div",{className:`form-group ${r}`,children:e}),du=({className:r="",children:e})=>p.jsx("div",{className:`form-checkbox ${r}`,children:e}),fu=({className:r="",children:e})=>p.jsx("div",{className:`form-radio ${r}`,children:e}),pu=r=>{const[e,t]=L.useState(!1);return L.useEffect(()=>{const n=()=>{if(!r.current)return;const{top:i,height:a}=r.current.getBoundingClientRect(),l=window.innerHeight;t(i+a>l)};n();const s=()=>{n()};return window.addEventListener("resize",s),()=>{window.removeEventListener("resize",s)}},[r]),e},gu=r=>{const[e,t,n]=r.toLocaleDateString("id-ID",{timeZone:"Asia/Jakarta",year:"numeric",month:"2-digit",day:"2-digit"}).split("/");return`${n}-${t}-${e}`},Wr=(r,e)=>Array.from({length:r},(t,n)=>e(n)),xa=(r,e)=>{const t=new Date(e,r,1).getDay(),n=new Date(e,r+1,0).getDate(),s=Wr(t,()=>({value:"",label:""})),i=Wr(n,a=>({value:(a+1).toString(),label:(a+1).toString()}));return[...s,...i]},mu=(r,e)=>{const t=new Date(e,r+1,0).getDate();return Wr(t,n=>({value:(n+1).toString(),label:(n+1).toString()}))},bu=(r="id-ID")=>Wr(12,e=>({value:(e+1).toString(),label:new Date(2024,e,1).toLocaleString(r,{month:"long"})})),vu=()=>{const r=new Date().getFullYear();return Wr(81,e=>{const t=r-60+e;return{value:t.toString(),label:t.toString()}})},yu=r=>{const e=new Date(r);return e instanceof Date&&!isNaN(e.getTime())},Eu=["Min","Sen","Sel","Rab","Kam","Jum","Sab"],xu=r=>{const[e,t]=L.useState(r);return{selectedDate:e,handlePrevMonth:()=>{const l=new Date(e);l.setMonth(e.getMonth()-1),t(l)},handleNextMonth:()=>{const l=new Date(e);l.setMonth(e.getMonth()+1),t(l)},handleDateClick:(l,c,u,h)=>{const g=new Date(u+"-"+(parseInt(c,10)+1)+"-"+l);t(g),h(gu(g))},isSelectedDate:(l,c,u)=>parseInt(u,10)===r.getFullYear()&&parseInt(c,10)===r.getMonth()+1&&parseInt(l,10)===r.getDate()}},Po=({onSelect:r,defaultDate:e})=>{const t=L.useRef(null),n=pu(t),s=yu(e)?new Date(e):new Date,{selectedDate:i,handlePrevMonth:a,handleNextMonth:l,handleDateClick:c,isSelectedDate:u}=xu(s),[h,g]=L.useState(xa(s.getMonth(),s.getFullYear()));L.useEffect(()=>{g(xa(i.getMonth(),i.getFullYear()))},[i]);const f=(b,E)=>h.map((x,w)=>x.value!==""?p.jsx("div",{className:`calendar-day ${u(x.value,b+1,E)?"selected-date":""}`,onClick:()=>c(x.value,b,E,r),children:x.label},`day-${w}`):p.jsx("div",{className:"calendar-day empty"},`day-${w}`));return p.jsxs("div",{className:`date-picker ${n?"position-top":""}`,ref:t,children:[p.jsxs("div",{className:"calendar-nav",children:[p.jsx("button",{type:"button",className:"btn btn-rounded",onClick:a,children:p.jsx(Hc,{})}),p.jsxs("span",{children:[i.toLocaleString("default",{month:"long"})," ",i.getFullYear()]}),p.jsx("button",{type:"button",className:"btn btn-rounded",onClick:l,children:p.jsx(zc,{})})]}),p.jsxs("div",{className:"calendar",children:[p.jsx("div",{className:"calendar-header",children:Eu.map((b,E)=>p.jsx("div",{className:"calendar-day-name",children:b},`day-${E}`))}),p.jsx("div",{className:"calendar-body",children:f(i.getMonth().toString(),i.getFullYear().toString())})]})]})},Ci=(r,e)=>{L.useEffect(()=>{if(r&&e.current){const t=e.current.getBoundingClientRect(),n=window.innerHeight;t.bottom>n?e.current.classList.add("position-top"):e.current.classList.remove("position-top");const s=e.current.querySelector(".option.selected");s&&s.scrollIntoView({block:"nearest"})}},[r,e])},cr=L.forwardRef((r,e)=>{const{name:t,label:n,message:s,selectLabel:i="Select an option",size:a="md",floatingLabel:l=!1,error:c,options:u,value:h="",onChange:g,onBlur:f,required:b,disabled:E}=r,[x,w]=L.useState(!1),S=L.useRef(null),_=L.useRef(null),q=L.useRef(null),$=u.find(T=>T.value===h)?.label??i;L.useImperativeHandle(e,()=>q.current),L.useEffect(()=>w(!1),[]),Dt([S],()=>{w(!1),q.current?.blur()}),Ci(x,_);const m=T=>{const k=u.find(te=>te.value===T);if(!k)return;const P=k.value;if(g?.({target:{name:t,value:P,type:"select-one"},currentTarget:{name:t,value:P}}),q.current){q.current.value=String(P);const te=new CustomEvent("change",{bubbles:!0,detail:{originalValue:P}});q.current.dispatchEvent(te)}w(!1)};return p.jsxs(p.Fragment,{children:[p.jsxs("select",{ref:q,name:t,value:h!=null&&!Number.isNaN(h)?h:"",onChange:g,onBlur:f,required:b,disabled:E,style:{position:"absolute",left:"-9999px"},tabIndex:-1,children:[p.jsx("option",{value:"",children:"Select an option"}),u.map(T=>p.jsx("option",{value:String(T.value),children:T.label},T.value))]}),n&&!l&&p.jsxs("label",{htmlFor:t,children:[n," ",b&&p.jsx("span",{className:"text-danger",children:"*"})]}),p.jsxs("div",{className:`dropdown-select-container ${a}`,ref:S,children:[p.jsxs("div",{className:`dropdown-header ${x?"open":""} ${E?"disabled":""}`,onClick:()=>!E&&w(!x),"aria-haspopup":"listbox","aria-expanded":x,children:[p.jsx("span",{className:"label",children:$}),p.jsx(Si,{className:"arrow"})]}),x&&p.jsx("div",{className:"dropdown-options scrollbar",ref:_,role:"listbox",children:u.map(T=>p.jsx("div",{className:`option ${T.value===h?"selected":""}`,onClick:()=>m(T.value),role:"option","aria-selected":T.value===h,children:T.label},T.value))})]}),n&&l&&p.jsxs("label",{htmlFor:t,children:[n," ",b&&p.jsx("span",{className:"text-danger",children:"*"})]}),c?p.jsx("small",{className:"form-message text-danger",children:c}):s&&p.jsx("small",{className:"form-message text-muted",children:s})]})});cr.displayName="Select";const Bo=L.forwardRef(({name:r,label:e,message:t,floatingLabel:n,locale:s="id",error:i,value:a,...l},c)=>{const u=_=>{if(!_)return new Date;const q=new Date(_);return isNaN(q.getTime())?new Date:q},h=u(a),[g,f]=L.useState({day:h.getDate(),month:h.getMonth()+1,year:h.getFullYear()});L.useEffect(()=>{if(a){const _=u(a);f({day:_.getDate(),month:_.getMonth()+1,year:_.getFullYear()})}},[a]),L.useEffect(()=>{const _=new Date(g.year,g.month,0).getDate();g.day>_&&f(q=>({...q,day:_}))},[g.month,g.year]);const b=(_,q)=>{const $=parseInt(q,10);if(isNaN($))return;const m={...g,[_]:$};if(f(m),l.onChange){const T=`${m.year}-${String(m.month).padStart(2,"0")}-${String(m.day).padStart(2,"0")}`;l.onChange({target:{name:r,value:T}})}},E=L.useMemo(()=>mu(g.month-1,g.year),[g.month,g.year]),x=L.useMemo(()=>bu(s),[s]),w=L.useMemo(()=>vu(),[]),S=p.jsxs("label",{htmlFor:r,children:[e," ",l.required&&p.jsx("span",{className:"text-danger",children:"*"})]});return p.jsxs(p.Fragment,{children:[!n&&S,p.jsxs("div",{className:"row",ref:c,children:[p.jsx("div",{className:"col-md-3",children:p.jsx(cr,{name:`${r}-day`,disabled:l.disabled,options:E,value:g.day.toString(),onChange:_=>b("day",_.target.value),"aria-label":"Day"})}),p.jsx("div",{className:"col-md-5",children:p.jsx(cr,{name:`${r}-month`,disabled:l.disabled,options:x,value:g.month.toString(),onChange:_=>b("month",_.target.value),"aria-label":"Month"})}),p.jsx("div",{className:"col-md-4",children:p.jsx(cr,{name:`${r}-year`,disabled:l.disabled,options:w,value:g.year.toString(),onChange:_=>b("year",_.target.value),"aria-label":"Year"})})]}),n&&S,i?p.jsx("small",{className:"form-message text-danger",children:i}):t&&p.jsx("small",{className:"form-message text-muted",children:t})]})});Bo.displayName="DropdownDatePicker";const Nu=({type:r="text",className:e,...t})=>p.jsx("input",{type:r,className:`clear ${e}`,...t}),Oi=L.forwardRef(({className:r,name:e,label:t,message:n,floatingLabel:s,error:i,...a},l)=>p.jsxs(p.Fragment,{children:[!s&&t&&p.jsxs("label",{htmlFor:e,children:[t," ",a.required&&p.jsx("span",{className:"text-danger",children:"*"})]}),p.jsx("input",{type:"text",className:`form-control ${r}`,id:e,name:e,placeholder:s?"":" ",ref:l,...a}),s&&t&&p.jsxs("label",{htmlFor:e,children:[t," ",a.required&&p.jsx("span",{className:"text-danger",children:"*"})]}),i?p.jsx("small",{className:"form-message text-danger",children:i}):n&&p.jsx("small",{className:"form-message text-muted",children:n})]})),wu=L.forwardRef(({className:r,name:e,label:t,message:n,floatingLabel:s,error:i,actionIcon:a,actionButtonLabel:l,actionButtonHandler:c,...u},h)=>p.jsxs(p.Fragment,{children:[!s&&t&&p.jsxs("label",{htmlFor:e,children:[t," ",u.required&&p.jsx("span",{className:"text-danger",children:"*"})]}),p.jsxs("div",{className:"input-group-icon",children:[p.jsx("input",{type:"text",className:`form-control pr-35 ${r}`,id:e,name:e,placeholder:s?"":" ",ref:h,...u}),a&&p.jsx(lt,{role:"button",className:"icon",onClick:c,tabIndex:0,"aria-label":l,disabled:u.disabled,children:a})]}),s&&t&&p.jsxs("label",{htmlFor:e,children:[t," ",u.required&&p.jsx("span",{className:"text-danger",children:"*"})]}),i?p.jsx("small",{className:"form-message text-danger",children:i}):n&&p.jsx("small",{className:"form-message text-muted",children:n})]})),$o=L.forwardRef(({name:r,label:e,message:t,floatingLabel:n,value:s="",error:i,...a},l)=>{const[c,u]=L.useState(!1),[h,g]=L.useState(s??""),f=L.useRef(null);L.useEffect(()=>{g(s)},[s]);const b=x=>{x.stopPropagation(),u(w=>!w)},E=x=>{g(x),u(!1),a.onChange&&a.onChange({target:{name:r,value:x}})};return Dt([f],()=>{u(!1)}),p.jsxs(p.Fragment,{children:[!n&&p.jsxs("label",{htmlFor:r,children:[e," ",a.required&&p.jsx("span",{className:"text-danger",children:"*"})]}),p.jsxs("div",{className:"input-group-icon",children:[p.jsx(Oi,{type:"text",className:"form-control",id:r,name:r,placeholder:n?"":" ",ref:l,value:h,...a}),p.jsx(lt,{role:"button",className:"icon",onClick:b,tabIndex:0,"aria-label":"Open date picker",disabled:a.disabled,children:p.jsx(Fc,{})}),c&&p.jsx("div",{ref:f,children:p.jsx(Po,{onSelect:E,defaultDate:h})})]}),n&&p.jsxs("label",{htmlFor:r,children:[e," ",a.required&&p.jsx("span",{className:"text-danger",children:"*"})]}),i?p.jsx("small",{className:"form-message text-danger",children:i}):t&&p.jsx("small",{className:"form-message text-muted",children:t})]})});$o.displayName="InputDate";const Fo=L.forwardRef(({name:r,label:e,message:t,accept:n,error:s,onChange:i,...a},l)=>{const c=u=>{i&&i(u)};return p.jsxs("div",{className:"form-group",children:[e&&p.jsxs("label",{htmlFor:r,children:[e," ",a.required&&p.jsx("span",{className:"text-danger",children:"*"})]}),p.jsx("input",{type:"file",className:"form-control",id:r,name:r,accept:n,onChange:c,ref:l,...a}),s?p.jsx("small",{className:"form-message text-danger",children:s}):t&&p.jsx("small",{className:"form-message text-muted",children:t})]})});Fo.displayName="InputFile";const Tu=()=>p.jsx("div",{children:"InputImageSize"}),Uo=L.forwardRef(({name:r,label:e,message:t,floatingLabel:n,error:s,...i},a)=>p.jsxs(p.Fragment,{children:[!n&&p.jsxs("label",{htmlFor:r,children:[e," ",i.required&&p.jsx("span",{className:"text-danger",children:"*"})]}),p.jsx("textarea",{className:"form-control",id:r,name:r,placeholder:n?"":" ",ref:a,...i}),n&&p.jsxs("label",{htmlFor:r,children:[e," ",i.required&&p.jsx("span",{className:"text-danger",children:"*"})]}),s?p.jsx("small",{className:"form-message text-danger",children:s}):t&&p.jsx("small",{className:"form-message text-muted",children:t})]}));Uo.displayName="InputTextArea";const Au=L.forwardRef(({name:r,label:e,message:t,options:n,error:s,...i},a)=>p.jsxs(p.Fragment,{children:[e&&p.jsxs("label",{htmlFor:r,children:[e," ",i.required&&p.jsx("span",{className:"text-danger",children:"*"})]}),p.jsx("div",{className:"form-control",children:n.map(l=>{const c=`${Do()}-${l.value}`;return p.jsxs("div",{className:"d-flex align-items-center",children:[p.jsx("input",{type:"radio",id:c,name:r,value:l.value,ref:a,...i}),p.jsx("label",{htmlFor:c,children:l.label})]},l.value)})}),s?p.jsx("small",{className:"form-message text-danger",children:s}):t&&p.jsx("small",{className:"form-message text-muted",children:t})]})),Ho=L.forwardRef(({name:r,label:e,message:t,size:n="md",options:s,selectedValue:i,error:a,required:l,...c},u)=>p.jsxs(p.Fragment,{children:[e&&p.jsxs("label",{htmlFor:r,children:[e," ",l&&p.jsx("span",{className:"text-danger",children:"*"})]}),p.jsx("div",{className:"btn-group","data-toggle":"buttons",children:s.map(h=>{const g=h.value.toString()===i?.toString();return p.jsxs("label",{className:`btn auto btn-default btn-${n} ${g?"active":""}`,children:[p.jsx("input",{type:"radio",id:h.value.toString(),name:r,value:h.value.toString(),ref:u,...c}),p.jsx("span",{children:h.label})]},h.value.toString())})}),a?p.jsx("small",{className:"form-message text-danger",children:a}):t&&p.jsx("small",{className:"form-message text-muted",children:t})]}));Ho.displayName="RadioButtonGroup";const zo=L.forwardRef(({name:r,label:e,message:t,selectLabel:n,floatingLabel:s=!1,error:i,options:a,value:l=[],onChange:c,required:u,disabled:h,className:g},f)=>{const[b,E]=L.useState(!1),[x,w]=L.useState(l),S=L.useRef(null),_=L.useRef(null);L.useEffect(()=>{JSON.stringify(l)!==JSON.stringify(x)&&w(l)},[x,l]);const q=m=>{const T=x.includes(m)?x.filter(k=>k!==m):[...x,m];w(T),c&&c({target:{name:r,value:T}})};Dt([S],()=>{E(!1)}),Ci(b,_);const $=x.map(m=>a.find(T=>T.value===m)?.label).filter(Boolean).join(", ");return p.jsxs(p.Fragment,{children:[e&&!s&&p.jsxs("label",{htmlFor:r,children:[e," ",u&&p.jsx("span",{className:"text-danger",children:"*"})]}),p.jsxs("div",{className:`dropdown-select-container ${g||""}`,ref:S,children:[p.jsxs("div",{className:`dropdown-header ${b?"open":""} ${h?"disabled":""}`,onClick:()=>!h&&E(!b),ref:f,children:[p.jsx("span",{className:"label",children:$||n||"Select an option"}),p.jsx(Si,{className:`arrow ${b?"open":""}`})]}),b&&!h&&p.jsx("div",{className:"dropdown-options scrollbar",ref:_,role:"listbox",children:a?.map(m=>p.jsx("div",{className:`option ${x.includes(m.value)?"selected":""}`,children:p.jsx(_i,{name:m.value.toString(),label:m.label,checked:x.includes(m.value),onChange:()=>q(m.value)})},m.value))})]}),e&&s&&p.jsxs("label",{htmlFor:r,children:[e," ",u&&p.jsx("span",{className:"text-danger",children:"*"})]}),i?p.jsx("small",{className:"form-message text-danger",children:i}):t&&p.jsx("small",{className:"form-message text-muted",children:t})]})});zo.displayName="SelectMultiple";const Go=L.forwardRef((r,e)=>{const{name:t,label:n,message:s,selectLabel:i="Select an option",size:a="md",floatingLabel:l=!1,error:c,options:u=[],value:h="",onChange:g,required:f,disabled:b,selectSearch:E="",setSelectSearch:x,isLoading:w=!1}=r,[S,_]=L.useState(!1),q=L.useRef(null),$=L.useRef(null),m=L.useRef(null);L.useImperativeHandle(e,()=>m.current),Dt([q],()=>_(!1)),Ci(S,$);const T=h?u.find(P=>P.value===h)?.label:i,k=P=>{g?.({target:{name:t,value:P}}),m.current&&(m.current.value=String(P),m.current.dispatchEvent(new Event("change",{bubbles:!0}))),_(!1)};return p.jsxs(p.Fragment,{children:[p.jsxs("select",{ref:m,name:t,value:h,onChange:g,style:{position:"absolute",left:"-9999px"},tabIndex:-1,children:[p.jsx("option",{value:"",children:"Select an option"}),u.map(P=>p.jsx("option",{value:P.value,children:P.label},P.value))]}),n&&!l&&p.jsxs("label",{htmlFor:t,children:[n," ",f&&p.jsx("span",{className:"text-danger",children:"*"})]}),p.jsxs("div",{className:`dropdown-select-container ${a}`,ref:q,children:[p.jsxs("div",{className:`dropdown-header ${S?"open":""} ${b?"disabled":""}`,onClick:()=>!b&&_(!S),"aria-haspopup":"listbox","aria-expanded":S,children:[p.jsx("span",{className:"label",children:T}),p.jsx(Si,{className:"arrow"})]}),S&&p.jsxs("div",{className:"dropdown-options scrollbar",ref:$,role:"listbox",children:[p.jsx("div",{className:"search-input",children:p.jsx(Oi,{name:"search",placeholder:"Ketik untuk mencari..",type:"search",autoFocus:!0,value:E,onChange:P=>x?.(P.currentTarget.value)})}),w?p.jsx("div",{className:"p-10 text-center",children:"Loading options..."}):u.length===0?p.jsx("div",{className:"p-10 text-center",children:"Tidak ada hasil ditemukan"}):u.map(P=>p.jsx("div",{className:`option ${h===P.value?"selected":""}`,onClick:()=>k(P.value),role:"option","aria-selected":h===P.value,children:P.label},P.value))]})]}),n&&l&&p.jsxs("label",{htmlFor:t,children:[n," ",f&&p.jsx("span",{className:"text-danger",children:"*"})]}),c?p.jsx("small",{className:"form-message text-danger",children:c}):s&&p.jsx("small",{className:"form-message text-muted",children:s})]})});Go.displayName="SelectWithSearch";const Vo=L.forwardRef(({name:r,className:e="",error:t,checked:n=!1,onChange:s,...i},a)=>{const l=c=>{s&&s(c)};return p.jsx(p.Fragment,{children:p.jsxs("label",{className:`switch ${e} ${t?"has-error":""}`,children:[p.jsx("input",{type:"checkbox",id:r,name:r,ref:a,checked:n,onChange:l,disabled:i.disabled,...i}),p.jsx("span",{className:"slider round"})]})})});Vo.displayName="Switch";var Wo=typeof global=="object"&&global&&global.Object===Object&&global,Su=typeof self=="object"&&self&&self.Object===Object&&self,et=Wo||Su||Function("return this")(),xt=et.Symbol,Ko=Object.prototype,_u=Ko.hasOwnProperty,Cu=Ko.toString,$r=xt?xt.toStringTag:void 0;function Ou(r){var e=_u.call(r,$r),t=r[$r];try{r[$r]=void 0;var n=!0}catch{}var s=Cu.call(r);return n&&(e?r[$r]=t:delete r[$r]),s}var Ru=Object.prototype,Lu=Ru.toString;function ku(r){return Lu.call(r)}var ju="[object Null]",Iu="[object Undefined]",Na=xt?xt.toStringTag:void 0;function gr(r){return r==null?r===void 0?Iu:ju:Na&&Na in Object(r)?Ou(r):ku(r)}function ct(r){return r!=null&&typeof r=="object"}var jt=Array.isArray;function Nt(r){var e=typeof r;return r!=null&&(e=="object"||e=="function")}function Xo(r){return r}var qu="[object AsyncFunction]",Mu="[object Function]",Du="[object GeneratorFunction]",Pu="[object Proxy]";function Ri(r){if(!Nt(r))return!1;var e=gr(r);return e==Mu||e==Du||e==qu||e==Pu}var Ks=et["__core-js_shared__"],wa=function(){var r=/[^.]+$/.exec(Ks&&Ks.keys&&Ks.keys.IE_PROTO||"");return r?"Symbol(src)_1."+r:""}();function Bu(r){return!!wa&&wa in r}var $u=Function.prototype,Fu=$u.toString;function Pt(r){if(r!=null){try{return Fu.call(r)}catch{}try{return r+""}catch{}}return""}var Uu=/[\\^$.*+?()[\]{}|]/g,Hu=/^\[object .+?Constructor\]$/,zu=Function.prototype,Gu=Object.prototype,Vu=zu.toString,Wu=Gu.hasOwnProperty,Ku=RegExp("^"+Vu.call(Wu).replace(Uu,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function Xu(r){if(!Nt(r)||Bu(r))return!1;var e=Ri(r)?Ku:Hu;return e.test(Pt(r))}function Yu(r,e){return r?.[e]}function Bt(r,e){var t=Yu(r,e);return Xu(t)?t:void 0}var ci=Bt(et,"WeakMap"),Ta=Object.create,Zu=function(){function r(){}return function(e){if(!Nt(e))return{};if(Ta)return Ta(e);r.prototype=e;var t=new r;return r.prototype=void 0,t}}();function Ju(r,e,t){switch(t.length){case 0:return r.call(e);case 1:return r.call(e,t[0]);case 2:return r.call(e,t[0],t[1]);case 3:return r.call(e,t[0],t[1],t[2])}return r.apply(e,t)}function Qu(r,e){var t=-1,n=r.length;for(e||(e=Array(n));++t<n;)e[t]=r[t];return e}var eh=800,th=16,rh=Date.now;function nh(r){var e=0,t=0;return function(){var n=rh(),s=th-(n-t);if(t=n,s>0){if(++e>=eh)return arguments[0]}else e=0;return r.apply(void 0,arguments)}}function sh(r){return function(){return r}}var Un=function(){try{var r=Bt(Object,"defineProperty");return r({},"",{}),r}catch{}}(),ih=Un?function(r,e){return Un(r,"toString",{configurable:!0,enumerable:!1,value:sh(e),writable:!0})}:Xo,ah=nh(ih);function oh(r,e){for(var t=-1,n=r==null?0:r.length;++t<n&&e(r[t],t,r)!==!1;);return r}var lh=9007199254740991,ch=/^(?:0|[1-9]\d*)$/;function Yo(r,e){var t=typeof r;return e=e??lh,!!e&&(t=="number"||t!="symbol"&&ch.test(r))&&r>-1&&r%1==0&&r<e}function Li(r,e,t){e=="__proto__"&&Un?Un(r,e,{configurable:!0,enumerable:!0,value:t,writable:!0}):r[e]=t}function tn(r,e){return r===e||r!==r&&e!==e}var uh=Object.prototype,hh=uh.hasOwnProperty;function Zo(r,e,t){var n=r[e];(!(hh.call(r,e)&&tn(n,t))||t===void 0&&!(e in r))&&Li(r,e,t)}function dh(r,e,t,n){var s=!t;t||(t={});for(var i=-1,a=e.length;++i<a;){var l=e[i],c=void 0;c===void 0&&(c=r[l]),s?Li(t,l,c):Zo(t,l,c)}return t}var Aa=Math.max;function fh(r,e,t){return e=Aa(e===void 0?r.length-1:e,0),function(){for(var n=arguments,s=-1,i=Aa(n.length-e,0),a=Array(i);++s<i;)a[s]=n[e+s];s=-1;for(var l=Array(e+1);++s<e;)l[s]=n[s];return l[e]=t(a),Ju(r,this,l)}}function ph(r,e){return ah(fh(r,e,Xo),r+"")}var gh=9007199254740991;function Jo(r){return typeof r=="number"&&r>-1&&r%1==0&&r<=gh}function Kn(r){return r!=null&&Jo(r.length)&&!Ri(r)}function mh(r,e,t){if(!Nt(t))return!1;var n=typeof e;return(n=="number"?Kn(t)&&Yo(e,t.length):n=="string"&&e in t)?tn(t[e],r):!1}function bh(r){return ph(function(e,t){var n=-1,s=t.length,i=s>1?t[s-1]:void 0,a=s>2?t[2]:void 0;for(i=r.length>3&&typeof i=="function"?(s--,i):void 0,a&&mh(t[0],t[1],a)&&(i=s<3?void 0:i,s=1),e=Object(e);++n<s;){var l=t[n];l&&r(e,l,n,i)}return e})}var vh=Object.prototype;function ki(r){var e=r&&r.constructor,t=typeof e=="function"&&e.prototype||vh;return r===t}function yh(r,e){for(var t=-1,n=Array(r);++t<r;)n[t]=e(t);return n}var Eh="[object Arguments]";function Sa(r){return ct(r)&&gr(r)==Eh}var Qo=Object.prototype,xh=Qo.hasOwnProperty,Nh=Qo.propertyIsEnumerable,ui=Sa(function(){return arguments}())?Sa:function(r){return ct(r)&&xh.call(r,"callee")&&!Nh.call(r,"callee")};function wh(){return!1}var el=typeof exports=="object"&&exports&&!exports.nodeType&&exports,_a=el&&typeof module=="object"&&module&&!module.nodeType&&module,Th=_a&&_a.exports===el,Ca=Th?et.Buffer:void 0,Ah=Ca?Ca.isBuffer:void 0,Kr=Ah||wh,Sh="[object Arguments]",_h="[object Array]",Ch="[object Boolean]",Oh="[object Date]",Rh="[object Error]",Lh="[object Function]",kh="[object Map]",jh="[object Number]",Ih="[object Object]",qh="[object RegExp]",Mh="[object Set]",Dh="[object String]",Ph="[object WeakMap]",Bh="[object ArrayBuffer]",$h="[object DataView]",Fh="[object Float32Array]",Uh="[object Float64Array]",Hh="[object Int8Array]",zh="[object Int16Array]",Gh="[object Int32Array]",Vh="[object Uint8Array]",Wh="[object Uint8ClampedArray]",Kh="[object Uint16Array]",Xh="[object Uint32Array]",fe={};fe[Fh]=fe[Uh]=fe[Hh]=fe[zh]=fe[Gh]=fe[Vh]=fe[Wh]=fe[Kh]=fe[Xh]=!0;fe[Sh]=fe[_h]=fe[Bh]=fe[Ch]=fe[$h]=fe[Oh]=fe[Rh]=fe[Lh]=fe[kh]=fe[jh]=fe[Ih]=fe[qh]=fe[Mh]=fe[Dh]=fe[Ph]=!1;function Yh(r){return ct(r)&&Jo(r.length)&&!!fe[gr(r)]}function ji(r){return function(e){return r(e)}}var tl=typeof exports=="object"&&exports&&!exports.nodeType&&exports,Gr=tl&&typeof module=="object"&&module&&!module.nodeType&&module,Zh=Gr&&Gr.exports===tl,Xs=Zh&&Wo.process,fr=function(){try{var r=Gr&&Gr.require&&Gr.require("util").types;return r||Xs&&Xs.binding&&Xs.binding("util")}catch{}}(),Oa=fr&&fr.isTypedArray,Ii=Oa?ji(Oa):Yh,Jh=Object.prototype,Qh=Jh.hasOwnProperty;function rl(r,e){var t=jt(r),n=!t&&ui(r),s=!t&&!n&&Kr(r),i=!t&&!n&&!s&&Ii(r),a=t||n||s||i,l=a?yh(r.length,String):[],c=l.length;for(var u in r)(e||Qh.call(r,u))&&!(a&&(u=="length"||s&&(u=="offset"||u=="parent")||i&&(u=="buffer"||u=="byteLength"||u=="byteOffset")||Yo(u,c)))&&l.push(u);return l}function nl(r,e){return function(t){return r(e(t))}}var ed=nl(Object.keys,Object),td=Object.prototype,rd=td.hasOwnProperty;function nd(r){if(!ki(r))return ed(r);var e=[];for(var t in Object(r))rd.call(r,t)&&t!="constructor"&&e.push(t);return e}function sd(r){return Kn(r)?rl(r):nd(r)}function id(r){var e=[];if(r!=null)for(var t in Object(r))e.push(t);return e}var ad=Object.prototype,od=ad.hasOwnProperty;function ld(r){if(!Nt(r))return id(r);var e=ki(r),t=[];for(var n in r)n=="constructor"&&(e||!od.call(r,n))||t.push(n);return t}function sl(r){return Kn(r)?rl(r,!0):ld(r)}var Xr=Bt(Object,"create");function cd(){this.__data__=Xr?Xr(null):{},this.size=0}function ud(r){var e=this.has(r)&&delete this.__data__[r];return this.size-=e?1:0,e}var hd="__lodash_hash_undefined__",dd=Object.prototype,fd=dd.hasOwnProperty;function pd(r){var e=this.__data__;if(Xr){var t=e[r];return t===hd?void 0:t}return fd.call(e,r)?e[r]:void 0}var gd=Object.prototype,md=gd.hasOwnProperty;function bd(r){var e=this.__data__;return Xr?e[r]!==void 0:md.call(e,r)}var vd="__lodash_hash_undefined__";function yd(r,e){var t=this.__data__;return this.size+=this.has(r)?0:1,t[r]=Xr&&e===void 0?vd:e,this}function It(r){var e=-1,t=r==null?0:r.length;for(this.clear();++e<t;){var n=r[e];this.set(n[0],n[1])}}It.prototype.clear=cd;It.prototype.delete=ud;It.prototype.get=pd;It.prototype.has=bd;It.prototype.set=yd;function Ed(){this.__data__=[],this.size=0}function Xn(r,e){for(var t=r.length;t--;)if(tn(r[t][0],e))return t;return-1}var xd=Array.prototype,Nd=xd.splice;function wd(r){var e=this.__data__,t=Xn(e,r);if(t<0)return!1;var n=e.length-1;return t==n?e.pop():Nd.call(e,t,1),--this.size,!0}function Td(r){var e=this.__data__,t=Xn(e,r);return t<0?void 0:e[t][1]}function Ad(r){return Xn(this.__data__,r)>-1}function Sd(r,e){var t=this.__data__,n=Xn(t,r);return n<0?(++this.size,t.push([r,e])):t[n][1]=e,this}function ht(r){var e=-1,t=r==null?0:r.length;for(this.clear();++e<t;){var n=r[e];this.set(n[0],n[1])}}ht.prototype.clear=Ed;ht.prototype.delete=wd;ht.prototype.get=Td;ht.prototype.has=Ad;ht.prototype.set=Sd;var Yr=Bt(et,"Map");function _d(){this.size=0,this.__data__={hash:new It,map:new(Yr||ht),string:new It}}function Cd(r){var e=typeof r;return e=="string"||e=="number"||e=="symbol"||e=="boolean"?r!=="__proto__":r===null}function Yn(r,e){var t=r.__data__;return Cd(e)?t[typeof e=="string"?"string":"hash"]:t.map}function Od(r){var e=Yn(this,r).delete(r);return this.size-=e?1:0,e}function Rd(r){return Yn(this,r).get(r)}function Ld(r){return Yn(this,r).has(r)}function kd(r,e){var t=Yn(this,r),n=t.size;return t.set(r,e),this.size+=t.size==n?0:1,this}function $t(r){var e=-1,t=r==null?0:r.length;for(this.clear();++e<t;){var n=r[e];this.set(n[0],n[1])}}$t.prototype.clear=_d;$t.prototype.delete=Od;$t.prototype.get=Rd;$t.prototype.has=Ld;$t.prototype.set=kd;function jd(r,e){for(var t=-1,n=e.length,s=r.length;++t<n;)r[s+t]=e[t];return r}var il=nl(Object.getPrototypeOf,Object),Id="[object Object]",qd=Function.prototype,Md=Object.prototype,al=qd.toString,Dd=Md.hasOwnProperty,Pd=al.call(Object);function Bd(r){if(!ct(r)||gr(r)!=Id)return!1;var e=il(r);if(e===null)return!0;var t=Dd.call(e,"constructor")&&e.constructor;return typeof t=="function"&&t instanceof t&&al.call(t)==Pd}function $d(){this.__data__=new ht,this.size=0}function Fd(r){var e=this.__data__,t=e.delete(r);return this.size=e.size,t}function Ud(r){return this.__data__.get(r)}function Hd(r){return this.__data__.has(r)}var zd=200;function Gd(r,e){var t=this.__data__;if(t instanceof ht){var n=t.__data__;if(!Yr||n.length<zd-1)return n.push([r,e]),this.size=++t.size,this;t=this.__data__=new $t(n)}return t.set(r,e),this.size=t.size,this}function Je(r){var e=this.__data__=new ht(r);this.size=e.size}Je.prototype.clear=$d;Je.prototype.delete=Fd;Je.prototype.get=Ud;Je.prototype.has=Hd;Je.prototype.set=Gd;var ol=typeof exports=="object"&&exports&&!exports.nodeType&&exports,Ra=ol&&typeof module=="object"&&module&&!module.nodeType&&module,Vd=Ra&&Ra.exports===ol,La=Vd?et.Buffer:void 0,ka=La?La.allocUnsafe:void 0;function ll(r,e){if(e)return r.slice();var t=r.length,n=ka?ka(t):new r.constructor(t);return r.copy(n),n}function Wd(r,e){for(var t=-1,n=r==null?0:r.length,s=0,i=[];++t<n;){var a=r[t];e(a,t,r)&&(i[s++]=a)}return i}function Kd(){return[]}var Xd=Object.prototype,Yd=Xd.propertyIsEnumerable,ja=Object.getOwnPropertySymbols,Zd=ja?function(r){return r==null?[]:(r=Object(r),Wd(ja(r),function(e){return Yd.call(r,e)}))}:Kd;function Jd(r,e,t){var n=e(r);return jt(r)?n:jd(n,t(r))}function hi(r){return Jd(r,sd,Zd)}var di=Bt(et,"DataView"),fi=Bt(et,"Promise"),pi=Bt(et,"Set"),Ia="[object Map]",Qd="[object Object]",qa="[object Promise]",Ma="[object Set]",Da="[object WeakMap]",Pa="[object DataView]",ef=Pt(di),tf=Pt(Yr),rf=Pt(fi),nf=Pt(pi),sf=Pt(ci),Ue=gr;(di&&Ue(new di(new ArrayBuffer(1)))!=Pa||Yr&&Ue(new Yr)!=Ia||fi&&Ue(fi.resolve())!=qa||pi&&Ue(new pi)!=Ma||ci&&Ue(new ci)!=Da)&&(Ue=function(r){var e=gr(r),t=e==Qd?r.constructor:void 0,n=t?Pt(t):"";if(n)switch(n){case ef:return Pa;case tf:return Ia;case rf:return qa;case nf:return Ma;case sf:return Da}return e});var af=Object.prototype,of=af.hasOwnProperty;function lf(r){var e=r.length,t=new r.constructor(e);return e&&typeof r[0]=="string"&&of.call(r,"index")&&(t.index=r.index,t.input=r.input),t}var Hn=et.Uint8Array;function qi(r){var e=new r.constructor(r.byteLength);return new Hn(e).set(new Hn(r)),e}function cf(r,e){var t=qi(r.buffer);return new r.constructor(t,r.byteOffset,r.byteLength)}var uf=/\w*$/;function hf(r){var e=new r.constructor(r.source,uf.exec(r));return e.lastIndex=r.lastIndex,e}var Ba=xt?xt.prototype:void 0,$a=Ba?Ba.valueOf:void 0;function df(r){return $a?Object($a.call(r)):{}}function cl(r,e){var t=e?qi(r.buffer):r.buffer;return new r.constructor(t,r.byteOffset,r.length)}var ff="[object Boolean]",pf="[object Date]",gf="[object Map]",mf="[object Number]",bf="[object RegExp]",vf="[object Set]",yf="[object String]",Ef="[object Symbol]",xf="[object ArrayBuffer]",Nf="[object DataView]",wf="[object Float32Array]",Tf="[object Float64Array]",Af="[object Int8Array]",Sf="[object Int16Array]",_f="[object Int32Array]",Cf="[object Uint8Array]",Of="[object Uint8ClampedArray]",Rf="[object Uint16Array]",Lf="[object Uint32Array]";function kf(r,e,t){var n=r.constructor;switch(e){case xf:return qi(r);case ff:case pf:return new n(+r);case Nf:return cf(r);case wf:case Tf:case Af:case Sf:case _f:case Cf:case Of:case Rf:case Lf:return cl(r,t);case gf:return new n;case mf:case yf:return new n(r);case bf:return hf(r);case vf:return new n;case Ef:return df(r)}}function ul(r){return typeof r.constructor=="function"&&!ki(r)?Zu(il(r)):{}}var jf="[object Map]";function If(r){return ct(r)&&Ue(r)==jf}var Fa=fr&&fr.isMap,qf=Fa?ji(Fa):If,Mf="[object Set]";function Df(r){return ct(r)&&Ue(r)==Mf}var Ua=fr&&fr.isSet,Pf=Ua?ji(Ua):Df,Bf=1,hl="[object Arguments]",$f="[object Array]",Ff="[object Boolean]",Uf="[object Date]",Hf="[object Error]",dl="[object Function]",zf="[object GeneratorFunction]",Gf="[object Map]",Vf="[object Number]",fl="[object Object]",Wf="[object RegExp]",Kf="[object Set]",Xf="[object String]",Yf="[object Symbol]",Zf="[object WeakMap]",Jf="[object ArrayBuffer]",Qf="[object DataView]",ep="[object Float32Array]",tp="[object Float64Array]",rp="[object Int8Array]",np="[object Int16Array]",sp="[object Int32Array]",ip="[object Uint8Array]",ap="[object Uint8ClampedArray]",op="[object Uint16Array]",lp="[object Uint32Array]",de={};de[hl]=de[$f]=de[Jf]=de[Qf]=de[Ff]=de[Uf]=de[ep]=de[tp]=de[rp]=de[np]=de[sp]=de[Gf]=de[Vf]=de[fl]=de[Wf]=de[Kf]=de[Xf]=de[Yf]=de[ip]=de[ap]=de[op]=de[lp]=!0;de[Hf]=de[dl]=de[Zf]=!1;function Bn(r,e,t,n,s,i){var a,l=e&Bf;if(a!==void 0)return a;if(!Nt(r))return r;var c=jt(r);if(c)a=lf(r);else{var u=Ue(r),h=u==dl||u==zf;if(Kr(r))return ll(r,l);if(u==fl||u==hl||h&&!s)a=h?{}:ul(r);else{if(!de[u])return s?r:{};a=kf(r,u,l)}}i||(i=new Je);var g=i.get(r);if(g)return g;i.set(r,a),Pf(r)?r.forEach(function(E){a.add(Bn(E,e,t,E,r,i))}):qf(r)&&r.forEach(function(E,x){a.set(x,Bn(E,e,t,x,r,i))});var f=hi,b=c?void 0:f(r);return oh(b||r,function(E,x){b&&(x=E,E=r[x]),Zo(a,x,Bn(E,e,t,x,r,i))}),a}var cp=1,up=4;function ur(r){return Bn(r,cp|up)}var hp="__lodash_hash_undefined__";function dp(r){return this.__data__.set(r,hp),this}function fp(r){return this.__data__.has(r)}function zn(r){var e=-1,t=r==null?0:r.length;for(this.__data__=new $t;++e<t;)this.add(r[e])}zn.prototype.add=zn.prototype.push=dp;zn.prototype.has=fp;function pp(r,e){for(var t=-1,n=r==null?0:r.length;++t<n;)if(e(r[t],t,r))return!0;return!1}function gp(r,e){return r.has(e)}var mp=1,bp=2;function pl(r,e,t,n,s,i){var a=t&mp,l=r.length,c=e.length;if(l!=c&&!(a&&c>l))return!1;var u=i.get(r),h=i.get(e);if(u&&h)return u==e&&h==r;var g=-1,f=!0,b=t&bp?new zn:void 0;for(i.set(r,e),i.set(e,r);++g<l;){var E=r[g],x=e[g];if(n)var w=a?n(x,E,g,e,r,i):n(E,x,g,r,e,i);if(w!==void 0){if(w)continue;f=!1;break}if(b){if(!pp(e,function(S,_){if(!gp(b,_)&&(E===S||s(E,S,t,n,i)))return b.push(_)})){f=!1;break}}else if(!(E===x||s(E,x,t,n,i))){f=!1;break}}return i.delete(r),i.delete(e),f}function vp(r){var e=-1,t=Array(r.size);return r.forEach(function(n,s){t[++e]=[s,n]}),t}function yp(r){var e=-1,t=Array(r.size);return r.forEach(function(n){t[++e]=n}),t}var Ep=1,xp=2,Np="[object Boolean]",wp="[object Date]",Tp="[object Error]",Ap="[object Map]",Sp="[object Number]",_p="[object RegExp]",Cp="[object Set]",Op="[object String]",Rp="[object Symbol]",Lp="[object ArrayBuffer]",kp="[object DataView]",Ha=xt?xt.prototype:void 0,Ys=Ha?Ha.valueOf:void 0;function jp(r,e,t,n,s,i,a){switch(t){case kp:if(r.byteLength!=e.byteLength||r.byteOffset!=e.byteOffset)return!1;r=r.buffer,e=e.buffer;case Lp:return!(r.byteLength!=e.byteLength||!i(new Hn(r),new Hn(e)));case Np:case wp:case Sp:return tn(+r,+e);case Tp:return r.name==e.name&&r.message==e.message;case _p:case Op:return r==e+"";case Ap:var l=vp;case Cp:var c=n&Ep;if(l||(l=yp),r.size!=e.size&&!c)return!1;var u=a.get(r);if(u)return u==e;n|=xp,a.set(r,e);var h=pl(l(r),l(e),n,s,i,a);return a.delete(r),h;case Rp:if(Ys)return Ys.call(r)==Ys.call(e)}return!1}var Ip=1,qp=Object.prototype,Mp=qp.hasOwnProperty;function Dp(r,e,t,n,s,i){var a=t&Ip,l=hi(r),c=l.length,u=hi(e),h=u.length;if(c!=h&&!a)return!1;for(var g=c;g--;){var f=l[g];if(!(a?f in e:Mp.call(e,f)))return!1}var b=i.get(r),E=i.get(e);if(b&&E)return b==e&&E==r;var x=!0;i.set(r,e),i.set(e,r);for(var w=a;++g<c;){f=l[g];var S=r[f],_=e[f];if(n)var q=a?n(_,S,f,e,r,i):n(S,_,f,r,e,i);if(!(q===void 0?S===_||s(S,_,t,n,i):q)){x=!1;break}w||(w=f=="constructor")}if(x&&!w){var $=r.constructor,m=e.constructor;$!=m&&"constructor"in r&&"constructor"in e&&!(typeof $=="function"&&$ instanceof $&&typeof m=="function"&&m instanceof m)&&(x=!1)}return i.delete(r),i.delete(e),x}var Pp=1,za="[object Arguments]",Ga="[object Array]",On="[object Object]",Bp=Object.prototype,Va=Bp.hasOwnProperty;function $p(r,e,t,n,s,i){var a=jt(r),l=jt(e),c=a?Ga:Ue(r),u=l?Ga:Ue(e);c=c==za?On:c,u=u==za?On:u;var h=c==On,g=u==On,f=c==u;if(f&&Kr(r)){if(!Kr(e))return!1;a=!0,h=!1}if(f&&!h)return i||(i=new Je),a||Ii(r)?pl(r,e,t,n,s,i):jp(r,e,c,t,n,s,i);if(!(t&Pp)){var b=h&&Va.call(r,"__wrapped__"),E=g&&Va.call(e,"__wrapped__");if(b||E){var x=b?r.value():r,w=E?e.value():e;return i||(i=new Je),s(x,w,t,n,i)}}return f?(i||(i=new Je),Dp(r,e,t,n,s,i)):!1}function gl(r,e,t,n,s){return r===e?!0:r==null||e==null||!ct(r)&&!ct(e)?r!==r&&e!==e:$p(r,e,t,n,gl,s)}function Fp(r){return function(e,t,n){for(var s=-1,i=Object(e),a=n(e),l=a.length;l--;){var c=a[++s];if(t(i[c],c,i)===!1)break}return e}}var Up=Fp();function gi(r,e,t){(t!==void 0&&!tn(r[e],t)||t===void 0&&!(e in r))&&Li(r,e,t)}function Hp(r){return ct(r)&&Kn(r)}function mi(r,e){if(!(e==="constructor"&&typeof r[e]=="function")&&e!="__proto__")return r[e]}function zp(r){return dh(r,sl(r))}function Gp(r,e,t,n,s,i,a){var l=mi(r,t),c=mi(e,t),u=a.get(c);if(u){gi(r,t,u);return}var h=i?i(l,c,t+"",r,e,a):void 0,g=h===void 0;if(g){var f=jt(c),b=!f&&Kr(c),E=!f&&!b&&Ii(c);h=c,f||b||E?jt(l)?h=l:Hp(l)?h=Qu(l):b?(g=!1,h=ll(c,!0)):E?(g=!1,h=cl(c,!0)):h=[]:Bd(c)||ui(c)?(h=l,ui(l)?h=zp(l):(!Nt(l)||Ri(l))&&(h=ul(c))):g=!1}g&&(a.set(c,h),s(h,c,n,i,a),a.delete(c)),gi(r,t,h)}function ml(r,e,t,n,s){r!==e&&Up(e,function(i,a){if(s||(s=new Je),Nt(i))Gp(r,e,a,t,ml,n,s);else{var l=n?n(mi(r,a),i,a+"",r,e,s):void 0;l===void 0&&(l=i),gi(r,a,l)}},sl)}function mt(r,e){return gl(r,e)}var yt=bh(function(r,e,t){ml(r,e,t)}),V=(r=>(r[r.TYPE=3]="TYPE",r[r.LEVEL=12]="LEVEL",r[r.ATTRIBUTE=13]="ATTRIBUTE",r[r.BLOT=14]="BLOT",r[r.INLINE=7]="INLINE",r[r.BLOCK=11]="BLOCK",r[r.BLOCK_BLOT=10]="BLOCK_BLOT",r[r.INLINE_BLOT=6]="INLINE_BLOT",r[r.BLOCK_ATTRIBUTE=9]="BLOCK_ATTRIBUTE",r[r.INLINE_ATTRIBUTE=5]="INLINE_ATTRIBUTE",r[r.ANY=15]="ANY",r))(V||{});class Qe{constructor(e,t,n={}){this.attrName=e,this.keyName=t;const s=V.TYPE&V.ATTRIBUTE;this.scope=n.scope!=null?n.scope&V.LEVEL|s:V.ATTRIBUTE,n.whitelist!=null&&(this.whitelist=n.whitelist)}static keys(e){return Array.from(e.attributes).map(t=>t.name)}add(e,t){return this.canAdd(e,t)?(e.setAttribute(this.keyName,t),!0):!1}canAdd(e,t){return this.whitelist==null?!0:typeof t=="string"?this.whitelist.indexOf(t.replace(/["']/g,""))>-1:this.whitelist.indexOf(t)>-1}remove(e){e.removeAttribute(this.keyName)}value(e){const t=e.getAttribute(this.keyName);return this.canAdd(e,t)&&t?t:""}}class hr extends Error{constructor(e){e="[Parchment] "+e,super(e),this.message=e,this.name=this.constructor.name}}const bl=class bi{constructor(){this.attributes={},this.classes={},this.tags={},this.types={}}static find(e,t=!1){if(e==null)return null;if(this.blots.has(e))return this.blots.get(e)||null;if(t){let n=null;try{n=e.parentNode}catch{return null}return this.find(n,t)}return null}create(e,t,n){const s=this.query(t);if(s==null)throw new hr(`Unable to create ${t} blot`);const i=s,a=t instanceof Node||t.nodeType===Node.TEXT_NODE?t:i.create(n),l=new i(e,a,n);return bi.blots.set(l.domNode,l),l}find(e,t=!1){return bi.find(e,t)}query(e,t=V.ANY){let n;return typeof e=="string"?n=this.types[e]||this.attributes[e]:e instanceof Text||e.nodeType===Node.TEXT_NODE?n=this.types.text:typeof e=="number"?e&V.LEVEL&V.BLOCK?n=this.types.block:e&V.LEVEL&V.INLINE&&(n=this.types.inline):e instanceof Element&&((e.getAttribute("class")||"").split(/\s+/).some(s=>(n=this.classes[s],!!n)),n=n||this.tags[e.tagName]),n==null?null:"scope"in n&&t&V.LEVEL&n.scope&&t&V.TYPE&n.scope?n:null}register(...e){return e.map(t=>{const n="blotName"in t,s="attrName"in t;if(!n&&!s)throw new hr("Invalid definition");if(n&&t.blotName==="abstract")throw new hr("Cannot register abstract class");const i=n?t.blotName:s?t.attrName:void 0;return this.types[i]=t,s?typeof t.keyName=="string"&&(this.attributes[t.keyName]=t):n&&(t.className&&(this.classes[t.className]=t),t.tagName&&(Array.isArray(t.tagName)?t.tagName=t.tagName.map(a=>a.toUpperCase()):t.tagName=t.tagName.toUpperCase(),(Array.isArray(t.tagName)?t.tagName:[t.tagName]).forEach(a=>{(this.tags[a]==null||t.className==null)&&(this.tags[a]=t)}))),t})}};bl.blots=new WeakMap;let pr=bl;function Wa(r,e){return(r.getAttribute("class")||"").split(/\s+/).filter(t=>t.indexOf(`${e}-`)===0)}class Vp extends Qe{static keys(e){return(e.getAttribute("class")||"").split(/\s+/).map(t=>t.split("-").slice(0,-1).join("-"))}add(e,t){return this.canAdd(e,t)?(this.remove(e),e.classList.add(`${this.keyName}-${t}`),!0):!1}remove(e){Wa(e,this.keyName).forEach(t=>{e.classList.remove(t)}),e.classList.length===0&&e.removeAttribute("class")}value(e){const t=(Wa(e,this.keyName)[0]||"").slice(this.keyName.length+1);return this.canAdd(e,t)?t:""}}const Ve=Vp;function Zs(r){const e=r.split("-"),t=e.slice(1).map(n=>n[0].toUpperCase()+n.slice(1)).join("");return e[0]+t}class Wp extends Qe{static keys(e){return(e.getAttribute("style")||"").split(";").map(t=>t.split(":")[0].trim())}add(e,t){return this.canAdd(e,t)?(e.style[Zs(this.keyName)]=t,!0):!1}remove(e){e.style[Zs(this.keyName)]="",e.getAttribute("style")||e.removeAttribute("style")}value(e){const t=e.style[Zs(this.keyName)];return this.canAdd(e,t)?t:""}}const wt=Wp;class Kp{constructor(e){this.attributes={},this.domNode=e,this.build()}attribute(e,t){t?e.add(this.domNode,t)&&(e.value(this.domNode)!=null?this.attributes[e.attrName]=e:delete this.attributes[e.attrName]):(e.remove(this.domNode),delete this.attributes[e.attrName])}build(){this.attributes={};const e=pr.find(this.domNode);if(e==null)return;const t=Qe.keys(this.domNode),n=Ve.keys(this.domNode),s=wt.keys(this.domNode);t.concat(n).concat(s).forEach(i=>{const a=e.scroll.query(i,V.ATTRIBUTE);a instanceof Qe&&(this.attributes[a.attrName]=a)})}copy(e){Object.keys(this.attributes).forEach(t=>{const n=this.attributes[t].value(this.domNode);e.format(t,n)})}move(e){this.copy(e),Object.keys(this.attributes).forEach(t=>{this.attributes[t].remove(this.domNode)}),this.attributes={}}values(){return Object.keys(this.attributes).reduce((e,t)=>(e[t]=this.attributes[t].value(this.domNode),e),{})}}const Zn=Kp,vl=class{constructor(e,t){this.scroll=e,this.domNode=t,pr.blots.set(t,this),this.prev=null,this.next=null}static create(e){if(this.tagName==null)throw new hr("Blot definition missing tagName");let t,n;return Array.isArray(this.tagName)?(typeof e=="string"?(n=e.toUpperCase(),parseInt(n,10).toString()===n&&(n=parseInt(n,10))):typeof e=="number"&&(n=e),typeof n=="number"?t=document.createElement(this.tagName[n-1]):n&&this.tagName.indexOf(n)>-1?t=document.createElement(n):t=document.createElement(this.tagName[0])):t=document.createElement(this.tagName),this.className&&t.classList.add(this.className),t}get statics(){return this.constructor}attach(){}clone(){const e=this.domNode.cloneNode(!1);return this.scroll.create(e)}detach(){this.parent!=null&&this.parent.removeChild(this),pr.blots.delete(this.domNode)}deleteAt(e,t){this.isolate(e,t).remove()}formatAt(e,t,n,s){const i=this.isolate(e,t);if(this.scroll.query(n,V.BLOT)!=null&&s)i.wrap(n,s);else if(this.scroll.query(n,V.ATTRIBUTE)!=null){const a=this.scroll.create(this.statics.scope);i.wrap(a),a.format(n,s)}}insertAt(e,t,n){const s=n==null?this.scroll.create("text",t):this.scroll.create(t,n),i=this.split(e);this.parent.insertBefore(s,i||void 0)}isolate(e,t){const n=this.split(e);if(n==null)throw new Error("Attempt to isolate at end");return n.split(t),n}length(){return 1}offset(e=this.parent){return this.parent==null||this===e?0:this.parent.children.offset(this)+this.parent.offset(e)}optimize(e){this.statics.requiredContainer&&!(this.parent instanceof this.statics.requiredContainer)&&this.wrap(this.statics.requiredContainer.blotName)}remove(){this.domNode.parentNode!=null&&this.domNode.parentNode.removeChild(this.domNode),this.detach()}replaceWith(e,t){const n=typeof e=="string"?this.scroll.create(e,t):e;return this.parent!=null&&(this.parent.insertBefore(n,this.next||void 0),this.remove()),n}split(e,t){return e===0?this:this.next}update(e,t){}wrap(e,t){const n=typeof e=="string"?this.scroll.create(e,t):e;if(this.parent!=null&&this.parent.insertBefore(n,this.next||void 0),typeof n.appendChild!="function")throw new hr(`Cannot wrap ${e}`);return n.appendChild(this),n}};vl.blotName="abstract";let yl=vl;const El=class extends yl{static value(e){return!0}index(e,t){return this.domNode===e||this.domNode.compareDocumentPosition(e)&Node.DOCUMENT_POSITION_CONTAINED_BY?Math.min(t,1):-1}position(e,t){let n=Array.from(this.parent.domNode.childNodes).indexOf(this.domNode);return e>0&&(n+=1),[this.parent.domNode,n]}value(){return{[this.statics.blotName]:this.statics.value(this.domNode)||!0}}};El.scope=V.INLINE_BLOT;let Xp=El;const Ae=Xp;class Yp{constructor(){this.head=null,this.tail=null,this.length=0}append(...e){if(this.insertBefore(e[0],null),e.length>1){const t=e.slice(1);this.append(...t)}}at(e){const t=this.iterator();let n=t();for(;n&&e>0;)e-=1,n=t();return n}contains(e){const t=this.iterator();let n=t();for(;n;){if(n===e)return!0;n=t()}return!1}indexOf(e){const t=this.iterator();let n=t(),s=0;for(;n;){if(n===e)return s;s+=1,n=t()}return-1}insertBefore(e,t){e!=null&&(this.remove(e),e.next=t,t!=null?(e.prev=t.prev,t.prev!=null&&(t.prev.next=e),t.prev=e,t===this.head&&(this.head=e)):this.tail!=null?(this.tail.next=e,e.prev=this.tail,this.tail=e):(e.prev=null,this.head=this.tail=e),this.length+=1)}offset(e){let t=0,n=this.head;for(;n!=null;){if(n===e)return t;t+=n.length(),n=n.next}return-1}remove(e){this.contains(e)&&(e.prev!=null&&(e.prev.next=e.next),e.next!=null&&(e.next.prev=e.prev),e===this.head&&(this.head=e.next),e===this.tail&&(this.tail=e.prev),this.length-=1)}iterator(e=this.head){return()=>{const t=e;return e!=null&&(e=e.next),t}}find(e,t=!1){const n=this.iterator();let s=n();for(;s;){const i=s.length();if(e<i||t&&e===i&&(s.next==null||s.next.length()!==0))return[s,e];e-=i,s=n()}return[null,0]}forEach(e){const t=this.iterator();let n=t();for(;n;)e(n),n=t()}forEachAt(e,t,n){if(t<=0)return;const[s,i]=this.find(e);let a=e-i;const l=this.iterator(s);let c=l();for(;c&&a<e+t;){const u=c.length();e>a?n(c,e-a,Math.min(t,a+u-e)):n(c,0,Math.min(u,e+t-a)),a+=u,c=l()}}map(e){return this.reduce((t,n)=>(t.push(e(n)),t),[])}reduce(e,t){const n=this.iterator();let s=n();for(;s;)t=e(t,s),s=n();return t}}function Ka(r,e){const t=e.find(r);if(t)return t;try{return e.create(r)}catch{const n=e.create(V.INLINE);return Array.from(r.childNodes).forEach(s=>{n.domNode.appendChild(s)}),r.parentNode&&r.parentNode.replaceChild(n.domNode,r),n.attach(),n}}const xl=class gt extends yl{constructor(e,t){super(e,t),this.uiNode=null,this.build()}appendChild(e){this.insertBefore(e)}attach(){super.attach(),this.children.forEach(e=>{e.attach()})}attachUI(e){this.uiNode!=null&&this.uiNode.remove(),this.uiNode=e,gt.uiClass&&this.uiNode.classList.add(gt.uiClass),this.uiNode.setAttribute("contenteditable","false"),this.domNode.insertBefore(this.uiNode,this.domNode.firstChild)}build(){this.children=new Yp,Array.from(this.domNode.childNodes).filter(e=>e!==this.uiNode).reverse().forEach(e=>{try{const t=Ka(e,this.scroll);this.insertBefore(t,this.children.head||void 0)}catch(t){if(t instanceof hr)return;throw t}})}deleteAt(e,t){if(e===0&&t===this.length())return this.remove();this.children.forEachAt(e,t,(n,s,i)=>{n.deleteAt(s,i)})}descendant(e,t=0){const[n,s]=this.children.find(t);return e.blotName==null&&e(n)||e.blotName!=null&&n instanceof e?[n,s]:n instanceof gt?n.descendant(e,s):[null,-1]}descendants(e,t=0,n=Number.MAX_VALUE){let s=[],i=n;return this.children.forEachAt(t,n,(a,l,c)=>{(e.blotName==null&&e(a)||e.blotName!=null&&a instanceof e)&&s.push(a),a instanceof gt&&(s=s.concat(a.descendants(e,l,i))),i-=c}),s}detach(){this.children.forEach(e=>{e.detach()}),super.detach()}enforceAllowedChildren(){let e=!1;this.children.forEach(t=>{e||this.statics.allowedChildren.some(n=>t instanceof n)||(t.statics.scope===V.BLOCK_BLOT?(t.next!=null&&this.splitAfter(t),t.prev!=null&&this.splitAfter(t.prev),t.parent.unwrap(),e=!0):t instanceof gt?t.unwrap():t.remove())})}formatAt(e,t,n,s){this.children.forEachAt(e,t,(i,a,l)=>{i.formatAt(a,l,n,s)})}insertAt(e,t,n){const[s,i]=this.children.find(e);if(s)s.insertAt(i,t,n);else{const a=n==null?this.scroll.create("text",t):this.scroll.create(t,n);this.appendChild(a)}}insertBefore(e,t){e.parent!=null&&e.parent.children.remove(e);let n=null;this.children.insertBefore(e,t||null),e.parent=this,t!=null&&(n=t.domNode),(this.domNode.parentNode!==e.domNode||this.domNode.nextSibling!==n)&&this.domNode.insertBefore(e.domNode,n),e.attach()}length(){return this.children.reduce((e,t)=>e+t.length(),0)}moveChildren(e,t){this.children.forEach(n=>{e.insertBefore(n,t)})}optimize(e){if(super.optimize(e),this.enforceAllowedChildren(),this.uiNode!=null&&this.uiNode!==this.domNode.firstChild&&this.domNode.insertBefore(this.uiNode,this.domNode.firstChild),this.children.length===0)if(this.statics.defaultChild!=null){const t=this.scroll.create(this.statics.defaultChild.blotName);this.appendChild(t)}else this.remove()}path(e,t=!1){const[n,s]=this.children.find(e,t),i=[[this,e]];return n instanceof gt?i.concat(n.path(s,t)):(n!=null&&i.push([n,s]),i)}removeChild(e){this.children.remove(e)}replaceWith(e,t){const n=typeof e=="string"?this.scroll.create(e,t):e;return n instanceof gt&&this.moveChildren(n),super.replaceWith(n)}split(e,t=!1){if(!t){if(e===0)return this;if(e===this.length())return this.next}const n=this.clone();return this.parent&&this.parent.insertBefore(n,this.next||void 0),this.children.forEachAt(e,this.length(),(s,i,a)=>{const l=s.split(i,t);l!=null&&n.appendChild(l)}),n}splitAfter(e){const t=this.clone();for(;e.next!=null;)t.appendChild(e.next);return this.parent&&this.parent.insertBefore(t,this.next||void 0),t}unwrap(){this.parent&&this.moveChildren(this.parent,this.next||void 0),this.remove()}update(e,t){const n=[],s=[];e.forEach(i=>{i.target===this.domNode&&i.type==="childList"&&(n.push(...i.addedNodes),s.push(...i.removedNodes))}),s.forEach(i=>{if(i.parentNode!=null&&i.tagName!=="IFRAME"&&document.body.compareDocumentPosition(i)&Node.DOCUMENT_POSITION_CONTAINED_BY)return;const a=this.scroll.find(i);a!=null&&(a.domNode.parentNode==null||a.domNode.parentNode===this.domNode)&&a.detach()}),n.filter(i=>i.parentNode===this.domNode&&i!==this.uiNode).sort((i,a)=>i===a?0:i.compareDocumentPosition(a)&Node.DOCUMENT_POSITION_FOLLOWING?1:-1).forEach(i=>{let a=null;i.nextSibling!=null&&(a=this.scroll.find(i.nextSibling));const l=Ka(i,this.scroll);(l.next!==a||l.next==null)&&(l.parent!=null&&l.parent.removeChild(this),this.insertBefore(l,a||void 0))}),this.enforceAllowedChildren()}};xl.uiClass="";let Zp=xl;const ze=Zp;function Jp(r,e){if(Object.keys(r).length!==Object.keys(e).length)return!1;for(const t in r)if(r[t]!==e[t])return!1;return!0}const sr=class ir extends ze{static create(e){return super.create(e)}static formats(e,t){const n=t.query(ir.blotName);if(!(n!=null&&e.tagName===n.tagName)){if(typeof this.tagName=="string")return!0;if(Array.isArray(this.tagName))return e.tagName.toLowerCase()}}constructor(e,t){super(e,t),this.attributes=new Zn(this.domNode)}format(e,t){if(e===this.statics.blotName&&!t)this.children.forEach(n=>{n instanceof ir||(n=n.wrap(ir.blotName,!0)),this.attributes.copy(n)}),this.unwrap();else{const n=this.scroll.query(e,V.INLINE);if(n==null)return;n instanceof Qe?this.attributes.attribute(n,t):t&&(e!==this.statics.blotName||this.formats()[e]!==t)&&this.replaceWith(e,t)}}formats(){const e=this.attributes.values(),t=this.statics.formats(this.domNode,this.scroll);return t!=null&&(e[this.statics.blotName]=t),e}formatAt(e,t,n,s){this.formats()[n]!=null||this.scroll.query(n,V.ATTRIBUTE)?this.isolate(e,t).format(n,s):super.formatAt(e,t,n,s)}optimize(e){super.optimize(e);const t=this.formats();if(Object.keys(t).length===0)return this.unwrap();const n=this.next;n instanceof ir&&n.prev===this&&Jp(t,n.formats())&&(n.moveChildren(this),n.remove())}replaceWith(e,t){const n=super.replaceWith(e,t);return this.attributes.copy(n),n}update(e,t){super.update(e,t),e.some(n=>n.target===this.domNode&&n.type==="attributes")&&this.attributes.build()}wrap(e,t){const n=super.wrap(e,t);return n instanceof ir&&this.attributes.move(n),n}};sr.allowedChildren=[sr,Ae],sr.blotName="inline",sr.scope=V.INLINE_BLOT,sr.tagName="SPAN";let Qp=sr;const Mi=Qp,ar=class vi extends ze{static create(e){return super.create(e)}static formats(e,t){const n=t.query(vi.blotName);if(!(n!=null&&e.tagName===n.tagName)){if(typeof this.tagName=="string")return!0;if(Array.isArray(this.tagName))return e.tagName.toLowerCase()}}constructor(e,t){super(e,t),this.attributes=new Zn(this.domNode)}format(e,t){const n=this.scroll.query(e,V.BLOCK);n!=null&&(n instanceof Qe?this.attributes.attribute(n,t):e===this.statics.blotName&&!t?this.replaceWith(vi.blotName):t&&(e!==this.statics.blotName||this.formats()[e]!==t)&&this.replaceWith(e,t))}formats(){const e=this.attributes.values(),t=this.statics.formats(this.domNode,this.scroll);return t!=null&&(e[this.statics.blotName]=t),e}formatAt(e,t,n,s){this.scroll.query(n,V.BLOCK)!=null?this.format(n,s):super.formatAt(e,t,n,s)}insertAt(e,t,n){if(n==null||this.scroll.query(t,V.INLINE)!=null)super.insertAt(e,t,n);else{const s=this.split(e);if(s!=null){const i=this.scroll.create(t,n);s.parent.insertBefore(i,s)}else throw new Error("Attempt to insertAt after block boundaries")}}replaceWith(e,t){const n=super.replaceWith(e,t);return this.attributes.copy(n),n}update(e,t){super.update(e,t),e.some(n=>n.target===this.domNode&&n.type==="attributes")&&this.attributes.build()}};ar.blotName="block",ar.scope=V.BLOCK_BLOT,ar.tagName="P",ar.allowedChildren=[Mi,ar,Ae];let eg=ar;const Zr=eg,yi=class extends ze{checkMerge(){return this.next!==null&&this.next.statics.blotName===this.statics.blotName}deleteAt(e,t){super.deleteAt(e,t),this.enforceAllowedChildren()}formatAt(e,t,n,s){super.formatAt(e,t,n,s),this.enforceAllowedChildren()}insertAt(e,t,n){super.insertAt(e,t,n),this.enforceAllowedChildren()}optimize(e){super.optimize(e),this.children.length>0&&this.next!=null&&this.checkMerge()&&(this.next.moveChildren(this),this.next.remove())}};yi.blotName="container",yi.scope=V.BLOCK_BLOT;let tg=yi;const Jn=tg;class rg extends Ae{static formats(e,t){}format(e,t){super.formatAt(0,this.length(),e,t)}formatAt(e,t,n,s){e===0&&t===this.length()?this.format(n,s):super.formatAt(e,t,n,s)}formats(){return this.statics.formats(this.domNode,this.scroll)}}const ke=rg,ng={attributes:!0,characterData:!0,characterDataOldValue:!0,childList:!0,subtree:!0},sg=100,or=class extends ze{constructor(e,t){super(null,t),this.registry=e,this.scroll=this,this.build(),this.observer=new MutationObserver(n=>{this.update(n)}),this.observer.observe(this.domNode,ng),this.attach()}create(e,t){return this.registry.create(this,e,t)}find(e,t=!1){const n=this.registry.find(e,t);return n?n.scroll===this?n:t?this.find(n.scroll.domNode.parentNode,!0):null:null}query(e,t=V.ANY){return this.registry.query(e,t)}register(...e){return this.registry.register(...e)}build(){this.scroll!=null&&super.build()}detach(){super.detach(),this.observer.disconnect()}deleteAt(e,t){this.update(),e===0&&t===this.length()?this.children.forEach(n=>{n.remove()}):super.deleteAt(e,t)}formatAt(e,t,n,s){this.update(),super.formatAt(e,t,n,s)}insertAt(e,t,n){this.update(),super.insertAt(e,t,n)}optimize(e=[],t={}){super.optimize(t);const n=t.mutationsMap||new WeakMap;let s=Array.from(this.observer.takeRecords());for(;s.length>0;)e.push(s.pop());const i=(c,u=!0)=>{c==null||c===this||c.domNode.parentNode!=null&&(n.has(c.domNode)||n.set(c.domNode,[]),u&&i(c.parent))},a=c=>{n.has(c.domNode)&&(c instanceof ze&&c.children.forEach(a),n.delete(c.domNode),c.optimize(t))};let l=e;for(let c=0;l.length>0;c+=1){if(c>=sg)throw new Error("[Parchment] Maximum optimize iterations reached");for(l.forEach(u=>{const h=this.find(u.target,!0);h!=null&&(h.domNode===u.target&&(u.type==="childList"?(i(this.find(u.previousSibling,!1)),Array.from(u.addedNodes).forEach(g=>{const f=this.find(g,!1);i(f,!1),f instanceof ze&&f.children.forEach(b=>{i(b,!1)})})):u.type==="attributes"&&i(h.prev)),i(h))}),this.children.forEach(a),l=Array.from(this.observer.takeRecords()),s=l.slice();s.length>0;)e.push(s.pop())}}update(e,t={}){e=e||this.observer.takeRecords();const n=new WeakMap;e.map(s=>{const i=this.find(s.target,!0);return i==null?null:n.has(i.domNode)?(n.get(i.domNode).push(s),null):(n.set(i.domNode,[s]),i)}).forEach(s=>{s!=null&&s!==this&&n.has(s.domNode)&&s.update(n.get(s.domNode)||[],t)}),t.mutationsMap=n,n.has(this.domNode)&&super.update(n.get(this.domNode),t),this.optimize(e,t)}};or.blotName="scroll",or.defaultChild=Zr,or.allowedChildren=[Zr,Jn],or.scope=V.BLOCK_BLOT,or.tagName="DIV";let ig=or;const Di=ig,Ei=class Nl extends Ae{static create(e){return document.createTextNode(e)}static value(e){return e.data}constructor(e,t){super(e,t),this.text=this.statics.value(this.domNode)}deleteAt(e,t){this.domNode.data=this.text=this.text.slice(0,e)+this.text.slice(e+t)}index(e,t){return this.domNode===e?t:-1}insertAt(e,t,n){n==null?(this.text=this.text.slice(0,e)+t+this.text.slice(e),this.domNode.data=this.text):super.insertAt(e,t,n)}length(){return this.text.length}optimize(e){super.optimize(e),this.text=this.statics.value(this.domNode),this.text.length===0?this.remove():this.next instanceof Nl&&this.next.prev===this&&(this.insertAt(this.length(),this.next.value()),this.next.remove())}position(e,t=!1){return[this.domNode,e]}split(e,t=!1){if(!t){if(e===0)return this;if(e===this.length())return this.next}const n=this.scroll.create(this.domNode.splitText(e));return this.parent.insertBefore(n,this.next||void 0),this.text=this.statics.value(this.domNode),n}update(e,t){e.some(n=>n.type==="characterData"&&n.target===this.domNode)&&(this.text=this.statics.value(this.domNode))}value(){return this.text}};Ei.blotName="text",Ei.scope=V.INLINE_BLOT;let ag=Ei;const Gn=ag,og=Object.freeze(Object.defineProperty({__proto__:null,Attributor:Qe,AttributorStore:Zn,BlockBlot:Zr,ClassAttributor:Ve,ContainerBlot:Jn,EmbedBlot:ke,InlineBlot:Mi,LeafBlot:Ae,ParentBlot:ze,Registry:pr,Scope:V,ScrollBlot:Di,StyleAttributor:wt,TextBlot:Gn},Symbol.toStringTag,{value:"Module"}));var Rn={exports:{}},Js,Xa;function lg(){if(Xa)return Js;Xa=1;var r=-1,e=1,t=0;function n(v,I,N,O,M){if(v===I)return v?[[t,v]]:[];if(N!=null){var j=Z(v,I,N);if(j)return j}var D=l(v,I),U=v.substring(0,D);v=v.substring(D),I=I.substring(D),D=u(v,I);var W=v.substring(v.length-D);v=v.substring(0,v.length-D),I=I.substring(0,I.length-D);var A=s(v,I);return U&&A.unshift([t,U]),W&&A.push([t,W]),_(A,M),O&&g(A),A}function s(v,I){var N;if(!v)return[[e,I]];if(!I)return[[r,v]];var O=v.length>I.length?v:I,M=v.length>I.length?I:v,j=O.indexOf(M);if(j!==-1)return N=[[e,O.substring(0,j)],[t,M],[e,O.substring(j+M.length)]],v.length>I.length&&(N[0][0]=N[2][0]=r),N;if(M.length===1)return[[r,v],[e,I]];var D=h(v,I);if(D){var U=D[0],W=D[1],A=D[2],B=D[3],F=D[4],Y=n(U,A),J=n(W,B);return Y.concat([[t,F]],J)}return i(v,I)}function i(v,I){for(var N=v.length,O=I.length,M=Math.ceil((N+O)/2),j=M,D=2*M,U=new Array(D),W=new Array(D),A=0;A<D;A++)U[A]=-1,W[A]=-1;U[j+1]=0,W[j+1]=0;for(var B=N-O,F=B%2!==0,Y=0,J=0,H=0,le=0,ue=0;ue<M;ue++){for(var K=-ue+Y;K<=ue-J;K+=2){var re=j+K,ne;K===-ue||K!==ue&&U[re-1]<U[re+1]?ne=U[re+1]:ne=U[re-1]+1;for(var ie=ne-K;ne<N&&ie<O&&v.charAt(ne)===I.charAt(ie);)ne++,ie++;if(U[re]=ne,ne>N)J+=2;else if(ie>O)Y+=2;else if(F){var ce=j+B-K;if(ce>=0&&ce<D&&W[ce]!==-1){var he=N-W[ce];if(ne>=he)return a(v,I,ne,ie)}}}for(var pe=-ue+H;pe<=ue-le;pe+=2){var ce=j+pe,he;pe===-ue||pe!==ue&&W[ce-1]<W[ce+1]?he=W[ce+1]:he=W[ce-1]+1;for(var xe=he-pe;he<N&&xe<O&&v.charAt(N-he-1)===I.charAt(O-xe-1);)he++,xe++;if(W[ce]=he,he>N)le+=2;else if(xe>O)H+=2;else if(!F){var re=j+B-pe;if(re>=0&&re<D&&U[re]!==-1){var ne=U[re],ie=j+ne-re;if(he=N-he,ne>=he)return a(v,I,ne,ie)}}}}return[[r,v],[e,I]]}function a(v,I,N,O){var M=v.substring(0,N),j=I.substring(0,O),D=v.substring(N),U=I.substring(O),W=n(M,j),A=n(D,U);return W.concat(A)}function l(v,I){if(!v||!I||v.charAt(0)!==I.charAt(0))return 0;for(var N=0,O=Math.min(v.length,I.length),M=O,j=0;N<M;)v.substring(j,M)==I.substring(j,M)?(N=M,j=N):O=M,M=Math.floor((O-N)/2+N);return q(v.charCodeAt(M-1))&&M--,M}function c(v,I){var N=v.length,O=I.length;if(N==0||O==0)return 0;N>O?v=v.substring(N-O):N<O&&(I=I.substring(0,N));var M=Math.min(N,O);if(v==I)return M;for(var j=0,D=1;;){var U=v.substring(M-D),W=I.indexOf(U);if(W==-1)return j;D+=W,(W==0||v.substring(M-D)==I.substring(0,D))&&(j=D,D++)}}function u(v,I){if(!v||!I||v.slice(-1)!==I.slice(-1))return 0;for(var N=0,O=Math.min(v.length,I.length),M=O,j=0;N<M;)v.substring(v.length-M,v.length-j)==I.substring(I.length-M,I.length-j)?(N=M,j=N):O=M,M=Math.floor((O-N)/2+N);return $(v.charCodeAt(v.length-M))&&M--,M}function h(v,I){var N=v.length>I.length?v:I,O=v.length>I.length?I:v;if(N.length<4||O.length*2<N.length)return null;function M(J,H,le){for(var ue=J.substring(le,le+Math.floor(J.length/4)),K=-1,re="",ne,ie,ce,he;(K=H.indexOf(ue,K+1))!==-1;){var pe=l(J.substring(le),H.substring(K)),xe=u(J.substring(0,le),H.substring(0,K));re.length<xe+pe&&(re=H.substring(K-xe,K)+H.substring(K,K+pe),ne=J.substring(0,le-xe),ie=J.substring(le+pe),ce=H.substring(0,K-xe),he=H.substring(K+pe))}return re.length*2>=J.length?[ne,ie,ce,he,re]:null}var j=M(N,O,Math.ceil(N.length/4)),D=M(N,O,Math.ceil(N.length/2)),U;if(!j&&!D)return null;D?j?U=j[4].length>D[4].length?j:D:U=D:U=j;var W,A,B,F;v.length>I.length?(W=U[0],A=U[1],B=U[2],F=U[3]):(B=U[0],F=U[1],W=U[2],A=U[3]);var Y=U[4];return[W,A,B,F,Y]}function g(v){for(var I=!1,N=[],O=0,M=null,j=0,D=0,U=0,W=0,A=0;j<v.length;)v[j][0]==t?(N[O++]=j,D=W,U=A,W=0,A=0,M=v[j][1]):(v[j][0]==e?W+=v[j][1].length:A+=v[j][1].length,M&&M.length<=Math.max(D,U)&&M.length<=Math.max(W,A)&&(v.splice(N[O-1],0,[r,M]),v[N[O-1]+1][0]=e,O--,O--,j=O>0?N[O-1]:-1,D=0,U=0,W=0,A=0,M=null,I=!0)),j++;for(I&&_(v),S(v),j=1;j<v.length;){if(v[j-1][0]==r&&v[j][0]==e){var B=v[j-1][1],F=v[j][1],Y=c(B,F),J=c(F,B);Y>=J?(Y>=B.length/2||Y>=F.length/2)&&(v.splice(j,0,[t,F.substring(0,Y)]),v[j-1][1]=B.substring(0,B.length-Y),v[j+1][1]=F.substring(Y),j++):(J>=B.length/2||J>=F.length/2)&&(v.splice(j,0,[t,B.substring(0,J)]),v[j-1][0]=e,v[j-1][1]=F.substring(0,F.length-J),v[j+1][0]=r,v[j+1][1]=B.substring(J),j++),j++}j++}}var f=/[^a-zA-Z0-9]/,b=/\s/,E=/[\r\n]/,x=/\n\r?\n$/,w=/^\r?\n\r?\n/;function S(v){function I(J,H){if(!J||!H)return 6;var le=J.charAt(J.length-1),ue=H.charAt(0),K=le.match(f),re=ue.match(f),ne=K&&le.match(b),ie=re&&ue.match(b),ce=ne&&le.match(E),he=ie&&ue.match(E),pe=ce&&J.match(x),xe=he&&H.match(w);return pe||xe?5:ce||he?4:K&&!ne&&ie?3:ne||ie?2:K||re?1:0}for(var N=1;N<v.length-1;){if(v[N-1][0]==t&&v[N+1][0]==t){var O=v[N-1][1],M=v[N][1],j=v[N+1][1],D=u(O,M);if(D){var U=M.substring(M.length-D);O=O.substring(0,O.length-D),M=U+M.substring(0,M.length-D),j=U+j}for(var W=O,A=M,B=j,F=I(O,M)+I(M,j);M.charAt(0)===j.charAt(0);){O+=M.charAt(0),M=M.substring(1)+j.charAt(0),j=j.substring(1);var Y=I(O,M)+I(M,j);Y>=F&&(F=Y,W=O,A=M,B=j)}v[N-1][1]!=W&&(W?v[N-1][1]=W:(v.splice(N-1,1),N--),v[N][1]=A,B?v[N+1][1]=B:(v.splice(N+1,1),N--))}N++}}function _(v,I){v.push([t,""]);for(var N=0,O=0,M=0,j="",D="",U;N<v.length;){if(N<v.length-1&&!v[N][1]){v.splice(N,1);continue}switch(v[N][0]){case e:M++,D+=v[N][1],N++;break;case r:O++,j+=v[N][1],N++;break;case t:var W=N-M-O-1;if(I){if(W>=0&&T(v[W][1])){var A=v[W][1].slice(-1);if(v[W][1]=v[W][1].slice(0,-1),j=A+j,D=A+D,!v[W][1]){v.splice(W,1),N--;var B=W-1;v[B]&&v[B][0]===e&&(M++,D=v[B][1]+D,B--),v[B]&&v[B][0]===r&&(O++,j=v[B][1]+j,B--),W=B}}if(m(v[N][1])){var A=v[N][1].charAt(0);v[N][1]=v[N][1].slice(1),j+=A,D+=A}}if(N<v.length-1&&!v[N][1]){v.splice(N,1);break}if(j.length>0||D.length>0){j.length>0&&D.length>0&&(U=l(D,j),U!==0&&(W>=0?v[W][1]+=D.substring(0,U):(v.splice(0,0,[t,D.substring(0,U)]),N++),D=D.substring(U),j=j.substring(U)),U=u(D,j),U!==0&&(v[N][1]=D.substring(D.length-U)+v[N][1],D=D.substring(0,D.length-U),j=j.substring(0,j.length-U)));var F=M+O;j.length===0&&D.length===0?(v.splice(N-F,F),N=N-F):j.length===0?(v.splice(N-F,F,[e,D]),N=N-F+1):D.length===0?(v.splice(N-F,F,[r,j]),N=N-F+1):(v.splice(N-F,F,[r,j],[e,D]),N=N-F+2)}N!==0&&v[N-1][0]===t?(v[N-1][1]+=v[N][1],v.splice(N,1)):N++,M=0,O=0,j="",D="";break}}v[v.length-1][1]===""&&v.pop();var Y=!1;for(N=1;N<v.length-1;)v[N-1][0]===t&&v[N+1][0]===t&&(v[N][1].substring(v[N][1].length-v[N-1][1].length)===v[N-1][1]?(v[N][1]=v[N-1][1]+v[N][1].substring(0,v[N][1].length-v[N-1][1].length),v[N+1][1]=v[N-1][1]+v[N+1][1],v.splice(N-1,1),Y=!0):v[N][1].substring(0,v[N+1][1].length)==v[N+1][1]&&(v[N-1][1]+=v[N+1][1],v[N][1]=v[N][1].substring(v[N+1][1].length)+v[N+1][1],v.splice(N+1,1),Y=!0)),N++;Y&&_(v,I)}function q(v){return v>=55296&&v<=56319}function $(v){return v>=56320&&v<=57343}function m(v){return $(v.charCodeAt(0))}function T(v){return q(v.charCodeAt(v.length-1))}function k(v){for(var I=[],N=0;N<v.length;N++)v[N][1].length>0&&I.push(v[N]);return I}function P(v,I,N,O){return T(v)||m(O)?null:k([[t,v],[r,I],[e,N],[t,O]])}function Z(v,I,N){var O=typeof N=="number"?{index:N,length:0}:N.oldRange,M=typeof N=="number"?null:N.newRange,j=v.length,D=I.length;if(O.length===0&&(M===null||M.length===0)){var U=O.index,W=v.slice(0,U),A=v.slice(U),B=M?M.index:null;e:{var F=U+D-j;if(B!==null&&B!==F||F<0||F>D)break e;var Y=I.slice(0,F),J=I.slice(F);if(J!==A)break e;var H=Math.min(U,F),le=W.slice(0,H),ue=Y.slice(0,H);if(le!==ue)break e;var K=W.slice(H),re=Y.slice(H);return P(le,K,re,A)}e:{if(B!==null&&B!==U)break e;var ne=U,Y=I.slice(0,ne),J=I.slice(ne);if(Y!==W)break e;var ie=Math.min(j-ne,D-ne),ce=A.slice(A.length-ie),he=J.slice(J.length-ie);if(ce!==he)break e;var K=A.slice(0,A.length-ie),re=J.slice(0,J.length-ie);return P(W,K,re,ce)}}if(O.length>0&&M&&M.length===0)e:{var le=v.slice(0,O.index),ce=v.slice(O.index+O.length),H=le.length,ie=ce.length;if(D<H+ie)break e;var ue=I.slice(0,H),he=I.slice(D-ie);if(le!==ue||ce!==he)break e;var K=v.slice(H,j-ie),re=I.slice(H,D-ie);return P(le,K,re,ce)}return null}function te(v,I,N,O){return n(v,I,N,O,!0)}return te.INSERT=e,te.DELETE=r,te.EQUAL=t,Js=te,Js}var Ur={exports:{}};Ur.exports;var Ya;function wl(){return Ya||(Ya=1,function(r,e){var t=200,n="__lodash_hash_undefined__",s=9007199254740991,i="[object Arguments]",a="[object Array]",l="[object Boolean]",c="[object Date]",u="[object Error]",h="[object Function]",g="[object GeneratorFunction]",f="[object Map]",b="[object Number]",E="[object Object]",x="[object Promise]",w="[object RegExp]",S="[object Set]",_="[object String]",q="[object Symbol]",$="[object WeakMap]",m="[object ArrayBuffer]",T="[object DataView]",k="[object Float32Array]",P="[object Float64Array]",Z="[object Int8Array]",te="[object Int16Array]",v="[object Int32Array]",I="[object Uint8Array]",N="[object Uint8ClampedArray]",O="[object Uint16Array]",M="[object Uint32Array]",j=/[\\^$.*+?()[\]{}|]/g,D=/\w*$/,U=/^\[object .+?Constructor\]$/,W=/^(?:0|[1-9]\d*)$/,A={};A[i]=A[a]=A[m]=A[T]=A[l]=A[c]=A[k]=A[P]=A[Z]=A[te]=A[v]=A[f]=A[b]=A[E]=A[w]=A[S]=A[_]=A[q]=A[I]=A[N]=A[O]=A[M]=!0,A[u]=A[h]=A[$]=!1;var B=typeof bt=="object"&&bt&&bt.Object===Object&&bt,F=typeof self=="object"&&self&&self.Object===Object&&self,Y=B||F||Function("return this")(),J=e&&!e.nodeType&&e,H=J&&!0&&r&&!r.nodeType&&r,le=H&&H.exports===J;function ue(o,d){return o.set(d[0],d[1]),o}function K(o,d){return o.add(d),o}function re(o,d){for(var y=-1,C=o?o.length:0;++y<C&&d(o[y],y,o)!==!1;);return o}function ne(o,d){for(var y=-1,C=d.length,Q=o.length;++y<C;)o[Q+y]=d[y];return o}function ie(o,d,y,C){for(var Q=-1,X=o?o.length:0;++Q<X;)y=d(y,o[Q],Q,o);return y}function ce(o,d){for(var y=-1,C=Array(o);++y<o;)C[y]=d(y);return C}function he(o,d){return o?.[d]}function pe(o){var d=!1;if(o!=null&&typeof o.toString!="function")try{d=!!(o+"")}catch{}return d}function xe(o){var d=-1,y=Array(o.size);return o.forEach(function(C,Q){y[++d]=[Q,C]}),y}function br(o,d){return function(y){return o(d(y))}}function on(o){var d=-1,y=Array(o.size);return o.forEach(function(C){y[++d]=C}),y}var ns=Array.prototype,ss=Function.prototype,zt=Object.prototype,vr=Y["__core-js_shared__"],ln=function(){var o=/[^.]+$/.exec(vr&&vr.keys&&vr.keys.IE_PROTO||"");return o?"Symbol(src)_1."+o:""}(),cn=ss.toString,Ke=zt.hasOwnProperty,Gt=zt.toString,is=RegExp("^"+cn.call(Ke).replace(j,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),Tt=le?Y.Buffer:void 0,Vt=Y.Symbol,yr=Y.Uint8Array,je=br(Object.getPrototypeOf,Object),un=Object.create,hn=zt.propertyIsEnumerable,as=ns.splice,Er=Object.getOwnPropertySymbols,Wt=Tt?Tt.isBuffer:void 0,dn=br(Object.keys,Object),Kt=$e(Y,"DataView"),At=$e(Y,"Map"),Be=$e(Y,"Promise"),Xt=$e(Y,"Set"),xr=$e(Y,"WeakMap"),St=$e(Object,"create"),Nr=_e(Kt),_t=_e(At),wr=_e(Be),Tr=_e(Xt),Ar=_e(xr),ft=Vt?Vt.prototype:void 0,fn=ft?ft.valueOf:void 0;function rt(o){var d=-1,y=o?o.length:0;for(this.clear();++d<y;){var C=o[d];this.set(C[0],C[1])}}function os(){this.__data__=St?St(null):{}}function ls(o){return this.has(o)&&delete this.__data__[o]}function cs(o){var d=this.__data__;if(St){var y=d[o];return y===n?void 0:y}return Ke.call(d,o)?d[o]:void 0}function pn(o){var d=this.__data__;return St?d[o]!==void 0:Ke.call(d,o)}function Sr(o,d){var y=this.__data__;return y[o]=St&&d===void 0?n:d,this}rt.prototype.clear=os,rt.prototype.delete=ls,rt.prototype.get=cs,rt.prototype.has=pn,rt.prototype.set=Sr;function be(o){var d=-1,y=o?o.length:0;for(this.clear();++d<y;){var C=o[d];this.set(C[0],C[1])}}function us(){this.__data__=[]}function hs(o){var d=this.__data__,y=Zt(d,o);if(y<0)return!1;var C=d.length-1;return y==C?d.pop():as.call(d,y,1),!0}function ds(o){var d=this.__data__,y=Zt(d,o);return y<0?void 0:d[y][1]}function fs(o){return Zt(this.__data__,o)>-1}function ps(o,d){var y=this.__data__,C=Zt(y,o);return C<0?y.push([o,d]):y[C][1]=d,this}be.prototype.clear=us,be.prototype.delete=hs,be.prototype.get=ds,be.prototype.has=fs,be.prototype.set=ps;function Ne(o){var d=-1,y=o?o.length:0;for(this.clear();++d<y;){var C=o[d];this.set(C[0],C[1])}}function gs(){this.__data__={hash:new rt,map:new(At||be),string:new rt}}function ms(o){return Ot(this,o).delete(o)}function bs(o){return Ot(this,o).get(o)}function vs(o){return Ot(this,o).has(o)}function ys(o,d){return Ot(this,o).set(o,d),this}Ne.prototype.clear=gs,Ne.prototype.delete=ms,Ne.prototype.get=bs,Ne.prototype.has=vs,Ne.prototype.set=ys;function Re(o){this.__data__=new be(o)}function Es(){this.__data__=new be}function xs(o){return this.__data__.delete(o)}function Ns(o){return this.__data__.get(o)}function ws(o){return this.__data__.has(o)}function Ts(o,d){var y=this.__data__;if(y instanceof be){var C=y.__data__;if(!At||C.length<t-1)return C.push([o,d]),this;y=this.__data__=new Ne(C)}return y.set(o,d),this}Re.prototype.clear=Es,Re.prototype.delete=xs,Re.prototype.get=Ns,Re.prototype.has=ws,Re.prototype.set=Ts;function Yt(o,d){var y=Rr(o)||Qt(o)?ce(o.length,String):[],C=y.length,Q=!!C;for(var X in o)Ke.call(o,X)&&!(Q&&(X=="length"||Ps(X,C)))&&y.push(X);return y}function gn(o,d,y){var C=o[d];(!(Ke.call(o,d)&&En(C,y))||y===void 0&&!(d in o))&&(o[d]=y)}function Zt(o,d){for(var y=o.length;y--;)if(En(o[y][0],d))return y;return-1}function Xe(o,d){return o&&Or(d,kr(d),o)}function _r(o,d,y,C,Q,X,ae){var se;if(C&&(se=X?C(o,Q,X,ae):C(o)),se!==void 0)return se;if(!Ze(o))return o;var ge=Rr(o);if(ge){if(se=Ms(o),!d)return js(o,se)}else{var oe=st(o),we=oe==h||oe==g;if(xn(o))return Jt(o,d);if(oe==E||oe==i||we&&!X){if(pe(o))return X?o:{};if(se=Ye(we?{}:o),!d)return Is(o,Xe(se,o))}else{if(!A[oe])return X?o:{};se=Ds(o,oe,_r,d)}}ae||(ae=new Re);var Le=ae.get(o);if(Le)return Le;if(ae.set(o,se),!ge)var me=y?qs(o):kr(o);return re(me||o,function(Te,ve){me&&(ve=Te,Te=o[ve]),gn(se,ve,_r(Te,d,y,C,ve,o,ae))}),se}function As(o){return Ze(o)?un(o):{}}function Ss(o,d,y){var C=d(o);return Rr(o)?C:ne(C,y(o))}function _s(o){return Gt.call(o)}function Cs(o){if(!Ze(o)||$s(o))return!1;var d=Lr(o)||pe(o)?is:U;return d.test(_e(o))}function Os(o){if(!vn(o))return dn(o);var d=[];for(var y in Object(o))Ke.call(o,y)&&y!="constructor"&&d.push(y);return d}function Jt(o,d){if(d)return o.slice();var y=new o.constructor(o.length);return o.copy(y),y}function Cr(o){var d=new o.constructor(o.byteLength);return new yr(d).set(new yr(o)),d}function Ct(o,d){var y=d?Cr(o.buffer):o.buffer;return new o.constructor(y,o.byteOffset,o.byteLength)}function mn(o,d,y){var C=d?y(xe(o),!0):xe(o);return ie(C,ue,new o.constructor)}function bn(o){var d=new o.constructor(o.source,D.exec(o));return d.lastIndex=o.lastIndex,d}function Rs(o,d,y){var C=d?y(on(o),!0):on(o);return ie(C,K,new o.constructor)}function Ls(o){return fn?Object(fn.call(o)):{}}function ks(o,d){var y=d?Cr(o.buffer):o.buffer;return new o.constructor(y,o.byteOffset,o.length)}function js(o,d){var y=-1,C=o.length;for(d||(d=Array(C));++y<C;)d[y]=o[y];return d}function Or(o,d,y,C){y||(y={});for(var Q=-1,X=d.length;++Q<X;){var ae=d[Q],se=void 0;gn(y,ae,se===void 0?o[ae]:se)}return y}function Is(o,d){return Or(o,nt(o),d)}function qs(o){return Ss(o,kr,nt)}function Ot(o,d){var y=o.__data__;return Bs(d)?y[typeof d=="string"?"string":"hash"]:y.map}function $e(o,d){var y=he(o,d);return Cs(y)?y:void 0}var nt=Er?br(Er,Object):Us,st=_s;(Kt&&st(new Kt(new ArrayBuffer(1)))!=T||At&&st(new At)!=f||Be&&st(Be.resolve())!=x||Xt&&st(new Xt)!=S||xr&&st(new xr)!=$)&&(st=function(o){var d=Gt.call(o),y=d==E?o.constructor:void 0,C=y?_e(y):void 0;if(C)switch(C){case Nr:return T;case _t:return f;case wr:return x;case Tr:return S;case Ar:return $}return d});function Ms(o){var d=o.length,y=o.constructor(d);return d&&typeof o[0]=="string"&&Ke.call(o,"index")&&(y.index=o.index,y.input=o.input),y}function Ye(o){return typeof o.constructor=="function"&&!vn(o)?As(je(o)):{}}function Ds(o,d,y,C){var Q=o.constructor;switch(d){case m:return Cr(o);case l:case c:return new Q(+o);case T:return Ct(o,C);case k:case P:case Z:case te:case v:case I:case N:case O:case M:return ks(o,C);case f:return mn(o,C,y);case b:case _:return new Q(o);case w:return bn(o);case S:return Rs(o,C,y);case q:return Ls(o)}}function Ps(o,d){return d=d??s,!!d&&(typeof o=="number"||W.test(o))&&o>-1&&o%1==0&&o<d}function Bs(o){var d=typeof o;return d=="string"||d=="number"||d=="symbol"||d=="boolean"?o!=="__proto__":o===null}function $s(o){return!!ln&&ln in o}function vn(o){var d=o&&o.constructor,y=typeof d=="function"&&d.prototype||zt;return o===y}function _e(o){if(o!=null){try{return cn.call(o)}catch{}try{return o+""}catch{}}return""}function yn(o){return _r(o,!0,!0)}function En(o,d){return o===d||o!==o&&d!==d}function Qt(o){return Fs(o)&&Ke.call(o,"callee")&&(!hn.call(o,"callee")||Gt.call(o)==i)}var Rr=Array.isArray;function er(o){return o!=null&&Nn(o.length)&&!Lr(o)}function Fs(o){return wn(o)&&er(o)}var xn=Wt||Hs;function Lr(o){var d=Ze(o)?Gt.call(o):"";return d==h||d==g}function Nn(o){return typeof o=="number"&&o>-1&&o%1==0&&o<=s}function Ze(o){var d=typeof o;return!!o&&(d=="object"||d=="function")}function wn(o){return!!o&&typeof o=="object"}function kr(o){return er(o)?Yt(o):Os(o)}function Us(){return[]}function Hs(){return!1}r.exports=yn}(Ur,Ur.exports)),Ur.exports}var Hr={exports:{}};Hr.exports;var Za;function Tl(){return Za||(Za=1,function(r,e){var t=200,n="__lodash_hash_undefined__",s=1,i=2,a=9007199254740991,l="[object Arguments]",c="[object Array]",u="[object AsyncFunction]",h="[object Boolean]",g="[object Date]",f="[object Error]",b="[object Function]",E="[object GeneratorFunction]",x="[object Map]",w="[object Number]",S="[object Null]",_="[object Object]",q="[object Promise]",$="[object Proxy]",m="[object RegExp]",T="[object Set]",k="[object String]",P="[object Symbol]",Z="[object Undefined]",te="[object WeakMap]",v="[object ArrayBuffer]",I="[object DataView]",N="[object Float32Array]",O="[object Float64Array]",M="[object Int8Array]",j="[object Int16Array]",D="[object Int32Array]",U="[object Uint8Array]",W="[object Uint8ClampedArray]",A="[object Uint16Array]",B="[object Uint32Array]",F=/[\\^$.*+?()[\]{}|]/g,Y=/^\[object .+?Constructor\]$/,J=/^(?:0|[1-9]\d*)$/,H={};H[N]=H[O]=H[M]=H[j]=H[D]=H[U]=H[W]=H[A]=H[B]=!0,H[l]=H[c]=H[v]=H[h]=H[I]=H[g]=H[f]=H[b]=H[x]=H[w]=H[_]=H[m]=H[T]=H[k]=H[te]=!1;var le=typeof bt=="object"&&bt&&bt.Object===Object&&bt,ue=typeof self=="object"&&self&&self.Object===Object&&self,K=le||ue||Function("return this")(),re=e&&!e.nodeType&&e,ne=re&&!0&&r&&!r.nodeType&&r,ie=ne&&ne.exports===re,ce=ie&&le.process,he=function(){try{return ce&&ce.binding&&ce.binding("util")}catch{}}(),pe=he&&he.isTypedArray;function xe(o,d){for(var y=-1,C=o==null?0:o.length,Q=0,X=[];++y<C;){var ae=o[y];d(ae,y,o)&&(X[Q++]=ae)}return X}function br(o,d){for(var y=-1,C=d.length,Q=o.length;++y<C;)o[Q+y]=d[y];return o}function on(o,d){for(var y=-1,C=o==null?0:o.length;++y<C;)if(d(o[y],y,o))return!0;return!1}function ns(o,d){for(var y=-1,C=Array(o);++y<o;)C[y]=d(y);return C}function ss(o){return function(d){return o(d)}}function zt(o,d){return o.has(d)}function vr(o,d){return o?.[d]}function ln(o){var d=-1,y=Array(o.size);return o.forEach(function(C,Q){y[++d]=[Q,C]}),y}function cn(o,d){return function(y){return o(d(y))}}function Ke(o){var d=-1,y=Array(o.size);return o.forEach(function(C){y[++d]=C}),y}var Gt=Array.prototype,is=Function.prototype,Tt=Object.prototype,Vt=K["__core-js_shared__"],yr=is.toString,je=Tt.hasOwnProperty,un=function(){var o=/[^.]+$/.exec(Vt&&Vt.keys&&Vt.keys.IE_PROTO||"");return o?"Symbol(src)_1."+o:""}(),hn=Tt.toString,as=RegExp("^"+yr.call(je).replace(F,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),Er=ie?K.Buffer:void 0,Wt=K.Symbol,dn=K.Uint8Array,Kt=Tt.propertyIsEnumerable,At=Gt.splice,Be=Wt?Wt.toStringTag:void 0,Xt=Object.getOwnPropertySymbols,xr=Er?Er.isBuffer:void 0,St=cn(Object.keys,Object),Nr=nt(K,"DataView"),_t=nt(K,"Map"),wr=nt(K,"Promise"),Tr=nt(K,"Set"),Ar=nt(K,"WeakMap"),ft=nt(Object,"create"),fn=_e(Nr),rt=_e(_t),os=_e(wr),ls=_e(Tr),cs=_e(Ar),pn=Wt?Wt.prototype:void 0,Sr=pn?pn.valueOf:void 0;function be(o){var d=-1,y=o==null?0:o.length;for(this.clear();++d<y;){var C=o[d];this.set(C[0],C[1])}}function us(){this.__data__=ft?ft(null):{},this.size=0}function hs(o){var d=this.has(o)&&delete this.__data__[o];return this.size-=d?1:0,d}function ds(o){var d=this.__data__;if(ft){var y=d[o];return y===n?void 0:y}return je.call(d,o)?d[o]:void 0}function fs(o){var d=this.__data__;return ft?d[o]!==void 0:je.call(d,o)}function ps(o,d){var y=this.__data__;return this.size+=this.has(o)?0:1,y[o]=ft&&d===void 0?n:d,this}be.prototype.clear=us,be.prototype.delete=hs,be.prototype.get=ds,be.prototype.has=fs,be.prototype.set=ps;function Ne(o){var d=-1,y=o==null?0:o.length;for(this.clear();++d<y;){var C=o[d];this.set(C[0],C[1])}}function gs(){this.__data__=[],this.size=0}function ms(o){var d=this.__data__,y=Jt(d,o);if(y<0)return!1;var C=d.length-1;return y==C?d.pop():At.call(d,y,1),--this.size,!0}function bs(o){var d=this.__data__,y=Jt(d,o);return y<0?void 0:d[y][1]}function vs(o){return Jt(this.__data__,o)>-1}function ys(o,d){var y=this.__data__,C=Jt(y,o);return C<0?(++this.size,y.push([o,d])):y[C][1]=d,this}Ne.prototype.clear=gs,Ne.prototype.delete=ms,Ne.prototype.get=bs,Ne.prototype.has=vs,Ne.prototype.set=ys;function Re(o){var d=-1,y=o==null?0:o.length;for(this.clear();++d<y;){var C=o[d];this.set(C[0],C[1])}}function Es(){this.size=0,this.__data__={hash:new be,map:new(_t||Ne),string:new be}}function xs(o){var d=$e(this,o).delete(o);return this.size-=d?1:0,d}function Ns(o){return $e(this,o).get(o)}function ws(o){return $e(this,o).has(o)}function Ts(o,d){var y=$e(this,o),C=y.size;return y.set(o,d),this.size+=y.size==C?0:1,this}Re.prototype.clear=Es,Re.prototype.delete=xs,Re.prototype.get=Ns,Re.prototype.has=ws,Re.prototype.set=Ts;function Yt(o){var d=-1,y=o==null?0:o.length;for(this.__data__=new Re;++d<y;)this.add(o[d])}function gn(o){return this.__data__.set(o,n),this}function Zt(o){return this.__data__.has(o)}Yt.prototype.add=Yt.prototype.push=gn,Yt.prototype.has=Zt;function Xe(o){var d=this.__data__=new Ne(o);this.size=d.size}function _r(){this.__data__=new Ne,this.size=0}function As(o){var d=this.__data__,y=d.delete(o);return this.size=d.size,y}function Ss(o){return this.__data__.get(o)}function _s(o){return this.__data__.has(o)}function Cs(o,d){var y=this.__data__;if(y instanceof Ne){var C=y.__data__;if(!_t||C.length<t-1)return C.push([o,d]),this.size=++y.size,this;y=this.__data__=new Re(C)}return y.set(o,d),this.size=y.size,this}Xe.prototype.clear=_r,Xe.prototype.delete=As,Xe.prototype.get=Ss,Xe.prototype.has=_s,Xe.prototype.set=Cs;function Os(o,d){var y=Qt(o),C=!y&&En(o),Q=!y&&!C&&er(o),X=!y&&!C&&!Q&&wn(o),ae=y||C||Q||X,se=ae?ns(o.length,String):[],ge=se.length;for(var oe in o)je.call(o,oe)&&!(ae&&(oe=="length"||Q&&(oe=="offset"||oe=="parent")||X&&(oe=="buffer"||oe=="byteLength"||oe=="byteOffset")||Ds(oe,ge)))&&se.push(oe);return se}function Jt(o,d){for(var y=o.length;y--;)if(yn(o[y][0],d))return y;return-1}function Cr(o,d,y){var C=d(o);return Qt(o)?C:br(C,y(o))}function Ct(o){return o==null?o===void 0?Z:S:Be&&Be in Object(o)?st(o):vn(o)}function mn(o){return Ze(o)&&Ct(o)==l}function bn(o,d,y,C,Q){return o===d?!0:o==null||d==null||!Ze(o)&&!Ze(d)?o!==o&&d!==d:Rs(o,d,y,C,bn,Q)}function Rs(o,d,y,C,Q,X){var ae=Qt(o),se=Qt(d),ge=ae?c:Ye(o),oe=se?c:Ye(d);ge=ge==l?_:ge,oe=oe==l?_:oe;var we=ge==_,Le=oe==_,me=ge==oe;if(me&&er(o)){if(!er(d))return!1;ae=!0,we=!1}if(me&&!we)return X||(X=new Xe),ae||wn(o)?Or(o,d,y,C,Q,X):Is(o,d,ge,y,C,Q,X);if(!(y&s)){var Te=we&&je.call(o,"__wrapped__"),ve=Le&&je.call(d,"__wrapped__");if(Te||ve){var pt=Te?o.value():o,it=ve?d.value():d;return X||(X=new Xe),Q(pt,it,y,C,X)}}return me?(X||(X=new Xe),qs(o,d,y,C,Q,X)):!1}function Ls(o){if(!Nn(o)||Bs(o))return!1;var d=xn(o)?as:Y;return d.test(_e(o))}function ks(o){return Ze(o)&&Lr(o.length)&&!!H[Ct(o)]}function js(o){if(!$s(o))return St(o);var d=[];for(var y in Object(o))je.call(o,y)&&y!="constructor"&&d.push(y);return d}function Or(o,d,y,C,Q,X){var ae=y&s,se=o.length,ge=d.length;if(se!=ge&&!(ae&&ge>se))return!1;var oe=X.get(o);if(oe&&X.get(d))return oe==d;var we=-1,Le=!0,me=y&i?new Yt:void 0;for(X.set(o,d),X.set(d,o);++we<se;){var Te=o[we],ve=d[we];if(C)var pt=ae?C(ve,Te,we,d,o,X):C(Te,ve,we,o,d,X);if(pt!==void 0){if(pt)continue;Le=!1;break}if(me){if(!on(d,function(it,Rt){if(!zt(me,Rt)&&(Te===it||Q(Te,it,y,C,X)))return me.push(Rt)})){Le=!1;break}}else if(!(Te===ve||Q(Te,ve,y,C,X))){Le=!1;break}}return X.delete(o),X.delete(d),Le}function Is(o,d,y,C,Q,X,ae){switch(y){case I:if(o.byteLength!=d.byteLength||o.byteOffset!=d.byteOffset)return!1;o=o.buffer,d=d.buffer;case v:return!(o.byteLength!=d.byteLength||!X(new dn(o),new dn(d)));case h:case g:case w:return yn(+o,+d);case f:return o.name==d.name&&o.message==d.message;case m:case k:return o==d+"";case x:var se=ln;case T:var ge=C&s;if(se||(se=Ke),o.size!=d.size&&!ge)return!1;var oe=ae.get(o);if(oe)return oe==d;C|=i,ae.set(o,d);var we=Or(se(o),se(d),C,Q,X,ae);return ae.delete(o),we;case P:if(Sr)return Sr.call(o)==Sr.call(d)}return!1}function qs(o,d,y,C,Q,X){var ae=y&s,se=Ot(o),ge=se.length,oe=Ot(d),we=oe.length;if(ge!=we&&!ae)return!1;for(var Le=ge;Le--;){var me=se[Le];if(!(ae?me in d:je.call(d,me)))return!1}var Te=X.get(o);if(Te&&X.get(d))return Te==d;var ve=!0;X.set(o,d),X.set(d,o);for(var pt=ae;++Le<ge;){me=se[Le];var it=o[me],Rt=d[me];if(C)var Xi=ae?C(Rt,it,me,d,o,X):C(it,Rt,me,o,d,X);if(!(Xi===void 0?it===Rt||Q(it,Rt,y,C,X):Xi)){ve=!1;break}pt||(pt=me=="constructor")}if(ve&&!pt){var Tn=o.constructor,An=d.constructor;Tn!=An&&"constructor"in o&&"constructor"in d&&!(typeof Tn=="function"&&Tn instanceof Tn&&typeof An=="function"&&An instanceof An)&&(ve=!1)}return X.delete(o),X.delete(d),ve}function Ot(o){return Cr(o,kr,Ms)}function $e(o,d){var y=o.__data__;return Ps(d)?y[typeof d=="string"?"string":"hash"]:y.map}function nt(o,d){var y=vr(o,d);return Ls(y)?y:void 0}function st(o){var d=je.call(o,Be),y=o[Be];try{o[Be]=void 0;var C=!0}catch{}var Q=hn.call(o);return C&&(d?o[Be]=y:delete o[Be]),Q}var Ms=Xt?function(o){return o==null?[]:(o=Object(o),xe(Xt(o),function(d){return Kt.call(o,d)}))}:Us,Ye=Ct;(Nr&&Ye(new Nr(new ArrayBuffer(1)))!=I||_t&&Ye(new _t)!=x||wr&&Ye(wr.resolve())!=q||Tr&&Ye(new Tr)!=T||Ar&&Ye(new Ar)!=te)&&(Ye=function(o){var d=Ct(o),y=d==_?o.constructor:void 0,C=y?_e(y):"";if(C)switch(C){case fn:return I;case rt:return x;case os:return q;case ls:return T;case cs:return te}return d});function Ds(o,d){return d=d??a,!!d&&(typeof o=="number"||J.test(o))&&o>-1&&o%1==0&&o<d}function Ps(o){var d=typeof o;return d=="string"||d=="number"||d=="symbol"||d=="boolean"?o!=="__proto__":o===null}function Bs(o){return!!un&&un in o}function $s(o){var d=o&&o.constructor,y=typeof d=="function"&&d.prototype||Tt;return o===y}function vn(o){return hn.call(o)}function _e(o){if(o!=null){try{return yr.call(o)}catch{}try{return o+""}catch{}}return""}function yn(o,d){return o===d||o!==o&&d!==d}var En=mn(function(){return arguments}())?mn:function(o){return Ze(o)&&je.call(o,"callee")&&!Kt.call(o,"callee")},Qt=Array.isArray;function Rr(o){return o!=null&&Lr(o.length)&&!xn(o)}var er=xr||Hs;function Fs(o,d){return bn(o,d)}function xn(o){if(!Nn(o))return!1;var d=Ct(o);return d==b||d==E||d==u||d==$}function Lr(o){return typeof o=="number"&&o>-1&&o%1==0&&o<=a}function Nn(o){var d=typeof o;return o!=null&&(d=="object"||d=="function")}function Ze(o){return o!=null&&typeof o=="object"}var wn=pe?ss(pe):ks;function kr(o){return Rr(o)?Os(o):js(o)}function Us(){return[]}function Hs(){return!1}r.exports=Fs}(Hr,Hr.exports)),Hr.exports}var Ln={},Ja;function cg(){if(Ja)return Ln;Ja=1,Object.defineProperty(Ln,"__esModule",{value:!0});const r=wl(),e=Tl();var t;return function(n){function s(c={},u={},h=!1){typeof c!="object"&&(c={}),typeof u!="object"&&(u={});let g=r(u);h||(g=Object.keys(g).reduce((f,b)=>(g[b]!=null&&(f[b]=g[b]),f),{}));for(const f in c)c[f]!==void 0&&u[f]===void 0&&(g[f]=c[f]);return Object.keys(g).length>0?g:void 0}n.compose=s;function i(c={},u={}){typeof c!="object"&&(c={}),typeof u!="object"&&(u={});const h=Object.keys(c).concat(Object.keys(u)).reduce((g,f)=>(e(c[f],u[f])||(g[f]=u[f]===void 0?null:u[f]),g),{});return Object.keys(h).length>0?h:void 0}n.diff=i;function a(c={},u={}){c=c||{};const h=Object.keys(u).reduce((g,f)=>(u[f]!==c[f]&&c[f]!==void 0&&(g[f]=u[f]),g),{});return Object.keys(c).reduce((g,f)=>(c[f]!==u[f]&&u[f]===void 0&&(g[f]=null),g),h)}n.invert=a;function l(c,u,h=!1){if(typeof c!="object")return u;if(typeof u!="object")return;if(!h)return u;const g=Object.keys(u).reduce((f,b)=>(c[b]===void 0&&(f[b]=u[b]),f),{});return Object.keys(g).length>0?g:void 0}n.transform=l}(t||(t={})),Ln.default=t,Ln}var kn={},Qa;function Al(){if(Qa)return kn;Qa=1,Object.defineProperty(kn,"__esModule",{value:!0});var r;return function(e){function t(n){return typeof n.delete=="number"?n.delete:typeof n.retain=="number"?n.retain:typeof n.retain=="object"&&n.retain!==null?1:typeof n.insert=="string"?n.insert.length:1}e.length=t}(r||(r={})),kn.default=r,kn}var jn={},eo;function ug(){if(eo)return jn;eo=1,Object.defineProperty(jn,"__esModule",{value:!0});const r=Al();class e{constructor(n){this.ops=n,this.index=0,this.offset=0}hasNext(){return this.peekLength()<1/0}next(n){n||(n=1/0);const s=this.ops[this.index];if(s){const i=this.offset,a=r.default.length(s);if(n>=a-i?(n=a-i,this.index+=1,this.offset=0):this.offset+=n,typeof s.delete=="number")return{delete:n};{const l={};return s.attributes&&(l.attributes=s.attributes),typeof s.retain=="number"?l.retain=n:typeof s.retain=="object"&&s.retain!==null?l.retain=s.retain:typeof s.insert=="string"?l.insert=s.insert.substr(i,n):l.insert=s.insert,l}}else return{retain:1/0}}peek(){return this.ops[this.index]}peekLength(){return this.ops[this.index]?r.default.length(this.ops[this.index])-this.offset:1/0}peekType(){const n=this.ops[this.index];return n?typeof n.delete=="number"?"delete":typeof n.retain=="number"||typeof n.retain=="object"&&n.retain!==null?"retain":"insert":"retain"}rest(){if(this.hasNext()){if(this.offset===0)return this.ops.slice(this.index);{const n=this.offset,s=this.index,i=this.next(),a=this.ops.slice(this.index);return this.offset=n,this.index=s,[i].concat(a)}}else return[]}}return jn.default=e,jn}var to;function hg(){return to||(to=1,function(r,e){Object.defineProperty(e,"__esModule",{value:!0}),e.AttributeMap=e.OpIterator=e.Op=void 0;const t=lg(),n=wl(),s=Tl(),i=cg();e.AttributeMap=i.default;const a=Al();e.Op=a.default;const l=ug();e.OpIterator=l.default;const c="\0",u=(g,f)=>{if(typeof g!="object"||g===null)throw new Error(`cannot retain a ${typeof g}`);if(typeof f!="object"||f===null)throw new Error(`cannot retain a ${typeof f}`);const b=Object.keys(g)[0];if(!b||b!==Object.keys(f)[0])throw new Error(`embed types not matched: ${b} != ${Object.keys(f)[0]}`);return[b,g[b],f[b]]};class h{constructor(f){Array.isArray(f)?this.ops=f:f!=null&&Array.isArray(f.ops)?this.ops=f.ops:this.ops=[]}static registerEmbed(f,b){this.handlers[f]=b}static unregisterEmbed(f){delete this.handlers[f]}static getHandler(f){const b=this.handlers[f];if(!b)throw new Error(`no handlers for embed type "${f}"`);return b}insert(f,b){const E={};return typeof f=="string"&&f.length===0?this:(E.insert=f,b!=null&&typeof b=="object"&&Object.keys(b).length>0&&(E.attributes=b),this.push(E))}delete(f){return f<=0?this:this.push({delete:f})}retain(f,b){if(typeof f=="number"&&f<=0)return this;const E={retain:f};return b!=null&&typeof b=="object"&&Object.keys(b).length>0&&(E.attributes=b),this.push(E)}push(f){let b=this.ops.length,E=this.ops[b-1];if(f=n(f),typeof E=="object"){if(typeof f.delete=="number"&&typeof E.delete=="number")return this.ops[b-1]={delete:E.delete+f.delete},this;if(typeof E.delete=="number"&&f.insert!=null&&(b-=1,E=this.ops[b-1],typeof E!="object"))return this.ops.unshift(f),this;if(s(f.attributes,E.attributes)){if(typeof f.insert=="string"&&typeof E.insert=="string")return this.ops[b-1]={insert:E.insert+f.insert},typeof f.attributes=="object"&&(this.ops[b-1].attributes=f.attributes),this;if(typeof f.retain=="number"&&typeof E.retain=="number")return this.ops[b-1]={retain:E.retain+f.retain},typeof f.attributes=="object"&&(this.ops[b-1].attributes=f.attributes),this}}return b===this.ops.length?this.ops.push(f):this.ops.splice(b,0,f),this}chop(){const f=this.ops[this.ops.length-1];return f&&typeof f.retain=="number"&&!f.attributes&&this.ops.pop(),this}filter(f){return this.ops.filter(f)}forEach(f){this.ops.forEach(f)}map(f){return this.ops.map(f)}partition(f){const b=[],E=[];return this.forEach(x=>{(f(x)?b:E).push(x)}),[b,E]}reduce(f,b){return this.ops.reduce(f,b)}changeLength(){return this.reduce((f,b)=>b.insert?f+a.default.length(b):b.delete?f-b.delete:f,0)}length(){return this.reduce((f,b)=>f+a.default.length(b),0)}slice(f=0,b=1/0){const E=[],x=new l.default(this.ops);let w=0;for(;w<b&&x.hasNext();){let S;w<f?S=x.next(f-w):(S=x.next(b-w),E.push(S)),w+=a.default.length(S)}return new h(E)}compose(f){const b=new l.default(this.ops),E=new l.default(f.ops),x=[],w=E.peek();if(w!=null&&typeof w.retain=="number"&&w.attributes==null){let _=w.retain;for(;b.peekType()==="insert"&&b.peekLength()<=_;)_-=b.peekLength(),x.push(b.next());w.retain-_>0&&E.next(w.retain-_)}const S=new h(x);for(;b.hasNext()||E.hasNext();)if(E.peekType()==="insert")S.push(E.next());else if(b.peekType()==="delete")S.push(b.next());else{const _=Math.min(b.peekLength(),E.peekLength()),q=b.next(_),$=E.next(_);if($.retain){const m={};if(typeof q.retain=="number")m.retain=typeof $.retain=="number"?_:$.retain;else if(typeof $.retain=="number")q.retain==null?m.insert=q.insert:m.retain=q.retain;else{const k=q.retain==null?"insert":"retain",[P,Z,te]=u(q[k],$.retain),v=h.getHandler(P);m[k]={[P]:v.compose(Z,te,k==="retain")}}const T=i.default.compose(q.attributes,$.attributes,typeof q.retain=="number");if(T&&(m.attributes=T),S.push(m),!E.hasNext()&&s(S.ops[S.ops.length-1],m)){const k=new h(b.rest());return S.concat(k).chop()}}else typeof $.delete=="number"&&(typeof q.retain=="number"||typeof q.retain=="object"&&q.retain!==null)&&S.push($)}return S.chop()}concat(f){const b=new h(this.ops.slice());return f.ops.length>0&&(b.push(f.ops[0]),b.ops=b.ops.concat(f.ops.slice(1))),b}diff(f,b){if(this.ops===f.ops)return new h;const E=[this,f].map(q=>q.map($=>{if($.insert!=null)return typeof $.insert=="string"?$.insert:c;const m=q===f?"on":"with";throw new Error("diff() called "+m+" non-document")}).join("")),x=new h,w=t(E[0],E[1],b,!0),S=new l.default(this.ops),_=new l.default(f.ops);return w.forEach(q=>{let $=q[1].length;for(;$>0;){let m=0;switch(q[0]){case t.INSERT:m=Math.min(_.peekLength(),$),x.push(_.next(m));break;case t.DELETE:m=Math.min($,S.peekLength()),S.next(m),x.delete(m);break;case t.EQUAL:m=Math.min(S.peekLength(),_.peekLength(),$);const T=S.next(m),k=_.next(m);s(T.insert,k.insert)?x.retain(m,i.default.diff(T.attributes,k.attributes)):x.push(k).delete(m);break}$-=m}}),x.chop()}eachLine(f,b=`
|
|
24
24
|
`){const E=new l.default(this.ops);let x=new h,w=0;for(;E.hasNext();){if(E.peekType()!=="insert")return;const S=E.peek(),_=a.default.length(S)-E.peekLength(),q=typeof S.insert=="string"?S.insert.indexOf(b,_)-_:-1;if(q<0)x.push(E.next());else if(q>0)x.push(E.next(q));else{if(f(x,E.next(1).attributes||{},w)===!1)return;w+=1,x=new h}}x.length()>0&&f(x,{},w)}invert(f){const b=new h;return this.reduce((E,x)=>{if(x.insert)b.delete(a.default.length(x));else{if(typeof x.retain=="number"&&x.attributes==null)return b.retain(x.retain),E+x.retain;if(x.delete||typeof x.retain=="number"){const w=x.delete||x.retain;return f.slice(E,E+w).forEach(_=>{x.delete?b.push(_):x.retain&&x.attributes&&b.retain(a.default.length(_),i.default.invert(x.attributes,_.attributes))}),E+w}else if(typeof x.retain=="object"&&x.retain!==null){const w=f.slice(E,E+1),S=new l.default(w.ops).next(),[_,q,$]=u(x.retain,S.insert),m=h.getHandler(_);return b.retain({[_]:m.invert(q,$)},i.default.invert(x.attributes,S.attributes)),E+1}}return E},0),b.chop()}transform(f,b=!1){if(b=!!b,typeof f=="number")return this.transformPosition(f,b);const E=f,x=new l.default(this.ops),w=new l.default(E.ops),S=new h;for(;x.hasNext()||w.hasNext();)if(x.peekType()==="insert"&&(b||w.peekType()!=="insert"))S.retain(a.default.length(x.next()));else if(w.peekType()==="insert")S.push(w.next());else{const _=Math.min(x.peekLength(),w.peekLength()),q=x.next(_),$=w.next(_);if(q.delete)continue;if($.delete)S.push($);else{const m=q.retain,T=$.retain;let k=typeof T=="object"&&T!==null?T:_;if(typeof m=="object"&&m!==null&&typeof T=="object"&&T!==null){const P=Object.keys(m)[0];if(P===Object.keys(T)[0]){const Z=h.getHandler(P);Z&&(k={[P]:Z.transform(m[P],T[P],b)})}}S.retain(k,i.default.transform(q.attributes,$.attributes,b))}}return S.chop()}transformPosition(f,b=!1){b=!!b;const E=new l.default(this.ops);let x=0;for(;E.hasNext()&&x<=f;){const w=E.peekLength(),S=E.peekType();if(E.next(),S==="delete"){f-=Math.min(w,f-x);continue}else S==="insert"&&(x<f||!b)&&(f+=w);x+=w}return f}}h.Op=a.default,h.OpIterator=l.default,h.AttributeMap=i.default,h.handlers={},e.default=h,r.exports=h,r.exports.default=h}(Rn,Rn.exports)),Rn.exports}var Pe=hg();const G=Ai(Pe);class We extends ke{static value(){}optimize(){(this.prev||this.next)&&this.remove()}length(){return 0}value(){return""}}We.blotName="break";We.tagName="BR";let Ge=class extends Gn{};const dg={"&":"&","<":"<",">":">",'"':""","'":"'"};function Qn(r){return r.replace(/[&<>"']/g,e=>dg[e])}class Ce extends Mi{static allowedChildren=[Ce,We,ke,Ge];static order=["cursor","inline","link","underline","strike","italic","bold","script","code"];static compare(e,t){const n=Ce.order.indexOf(e),s=Ce.order.indexOf(t);return n>=0||s>=0?n-s:e===t?0:e<t?-1:1}formatAt(e,t,n,s){if(Ce.compare(this.statics.blotName,n)<0&&this.scroll.query(n,V.BLOT)){const i=this.isolate(e,t);s&&i.wrap(n,s)}else super.formatAt(e,t,n,s)}optimize(e){if(super.optimize(e),this.parent instanceof Ce&&Ce.compare(this.statics.blotName,this.parent.statics.blotName)>0){const t=this.parent.isolate(this.offset(),this.length());this.moveChildren(t),t.wrap(this)}}}const ro=1;class Ee extends Zr{cache={};delta(){return this.cache.delta==null&&(this.cache.delta=Sl(this)),this.cache.delta}deleteAt(e,t){super.deleteAt(e,t),this.cache={}}formatAt(e,t,n,s){t<=0||(this.scroll.query(n,V.BLOCK)?e+t===this.length()&&this.format(n,s):super.formatAt(e,Math.min(t,this.length()-e-1),n,s),this.cache={})}insertAt(e,t,n){if(n!=null){super.insertAt(e,t,n),this.cache={};return}if(t.length===0)return;const s=t.split(`
|
|
25
25
|
`),i=s.shift();i.length>0&&(e<this.length()-1||this.children.tail==null?super.insertAt(Math.min(e,this.length()-1),i):this.children.tail.insertAt(this.children.tail.length(),i),this.cache={});let a=this;s.reduce((l,c)=>(a=a.split(l,!0),a.insertAt(0,c),c.length),e+i.length)}insertBefore(e,t){const{head:n}=this.children;super.insertBefore(e,t),n instanceof We&&n.remove(),this.cache={}}length(){return this.cache.length==null&&(this.cache.length=super.length()+ro),this.cache.length}moveChildren(e,t){super.moveChildren(e,t),this.cache={}}optimize(e){super.optimize(e),this.cache={}}path(e){return super.path(e,!0)}removeChild(e){super.removeChild(e),this.cache={}}split(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;if(t&&(e===0||e>=this.length()-ro)){const s=this.clone();return e===0?(this.parent.insertBefore(s,this),this):(this.parent.insertBefore(s,this.next),s)}const n=super.split(e,t);return this.cache={},n}}Ee.blotName="block";Ee.tagName="P";Ee.defaultChild=We;Ee.allowedChildren=[We,Ce,ke,Ge];class De extends ke{attach(){super.attach(),this.attributes=new Zn(this.domNode)}delta(){return new G().insert(this.value(),{...this.formats(),...this.attributes.values()})}format(e,t){const n=this.scroll.query(e,V.BLOCK_ATTRIBUTE);n!=null&&this.attributes.attribute(n,t)}formatAt(e,t,n,s){this.format(n,s)}insertAt(e,t,n){if(n!=null){super.insertAt(e,t,n);return}const s=t.split(`
|
|
26
26
|
`),i=s.pop(),a=s.map(c=>{const u=this.scroll.create(Ee.blotName);return u.insertAt(0,c),u}),l=this.split(e);a.forEach(c=>{this.parent.insertBefore(c,l)}),i&&this.parent.insertBefore(this.scroll.create("text",i),l)}}De.scope=V.BLOCK_BLOT;function Sl(r){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0;return r.descendants(Ae).reduce((t,n)=>n.length()===0?t:t.insert(n.value(),qe(n,{},e)),new G).insert(`
|
package/dist/pesona-ui.css
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
*,*:before,*:after{box-sizing:border-box}html{font-family:sans-serif;line-height:1.15;-webkit-text-size-adjust:100%;-webkit-tap-highlight-color:transparent}body{margin:0;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,Liberation Sans,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji";font-size:1rem;font-weight:400;line-height:1.5;color:#212529;background-color:#fff;text-align:left}a{color:#007bff;text-decoration:none;background-color:transparent}a:hover{color:#0056b3;text-decoration:underline}a:not([href]):not([class]){color:inherit;text-decoration:none}a:not([href]):not([class]):hover{color:inherit;text-decoration:none}hr{box-sizing:content-box;height:0;border:0;border-top:1px solid #dee2e6;overflow:visible}img,svg{vertical-align:middle;border-style:none}svg{overflow:hidden}table{border-collapse:collapse}caption{padding:.75rem 0;color:#6c757d;text-align:left;caption-side:bottom}th{text-align:inherit}p,h1,h2,h3,h4,h5,h6,figure,blockquote,dl,ol,ul,pre{margin:0 0 1rem}h1,h2,h3,h4,h5,h6{margin-top:0;margin-bottom:.5rem}b,strong{font-weight:bolder}small{font-size:80%}sub,sup{position:relative;font-size:75%;line-height:0;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}code,kbd,samp,pre{font-family:SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-size:1em}address{font-style:normal;line-height:inherit;margin-bottom:1rem}abbr[title],abbr[data-original-title]{text-decoration:underline dotted;text-decoration-skip-ink:none;cursor:help;border-bottom:0}dl,ol,ul{margin-top:0;margin-bottom:1rem}dl ol,dl ul,ol ol,ol ul,ul ol,ul ul{margin-bottom:0}dd{margin-left:0;margin-bottom:.5rem}button,input,select,textarea{font-family:inherit;font-size:inherit;line-height:inherit;margin:0}button{border-radius:0;overflow:visible;text-transform:none}button:focus:not(:focus-visible){outline:0}button::-moz-focus-inner{padding:0;border-style:none}button:not(:disabled){cursor:pointer}input[type=checkbox],input[type=radio]{box-sizing:border-box;padding:0}textarea{overflow:auto;resize:vertical}fieldset{padding:0;margin:0;border:0;min-width:0}legend{display:block;width:100%;max-width:100%;padding:0;margin-bottom:.5rem;font-size:1.5rem;color:inherit;white-space:normal}[tabindex="-1"]:focus:not(:focus-visible){outline:0!important}[role=button]{cursor:pointer}[type=button],[type=reset],[type=submit]{appearance:button}[type=button]:not(:disabled),[type=reset]:not(:disabled),[type=submit]:not(:disabled){cursor:pointer}[type=button]::-moz-focus-inner,[type=reset]::-moz-focus-inner,[type=submit]::-moz-focus-inner{padding:0;border-style:none}[type=search]{-webkit-appearance:none;appearance:none;outline-offset:-2px}[type=search]::-webkit-search-decoration{-webkit-appearance:none}[type=number]::-webkit-inner-spin-button,[type=number]::-webkit-outer-spin-button{height:auto}::-webkit-file-upload-button{font:inherit;-webkit-appearance:button}output{display:inline-block}summary{display:list-item;cursor:pointer}template,[hidden]{display:none!important}.row{display:flex;flex-wrap:wrap;margin-right:-10px;margin-left:-10px}.row>*{position:relative;width:100%;padding-right:10px;padding-left:10px}.col{flex-basis:0;flex-grow:1;max-width:100%}.col-auto{flex:0 0 auto;width:auto;max-width:100%}.col-1{flex:0 0 calc(1 / 12 * 100%);max-width:calc(1 / 12 * 100%)}.offset-1{margin-left:calc(1 / 12 * 100%)}.col-2{flex:0 0 calc(2 / 12 * 100%);max-width:calc(2 / 12 * 100%)}.offset-2{margin-left:calc(2 / 12 * 100%)}.col-3{flex:0 0 25%;max-width:25%}.offset-3{margin-left:25%}.col-4{flex:0 0 calc(4 / 12 * 100%);max-width:calc(4 / 12 * 100%)}.offset-4{margin-left:calc(4 / 12 * 100%)}.col-5{flex:0 0 calc(5 / 12 * 100%);max-width:calc(5 / 12 * 100%)}.offset-5{margin-left:calc(5 / 12 * 100%)}.col-6{flex:0 0 50%;max-width:50%}.offset-6{margin-left:50%}.col-7{flex:0 0 calc(7 / 12 * 100%);max-width:calc(7 / 12 * 100%)}.offset-7{margin-left:calc(7 / 12 * 100%)}.col-8{flex:0 0 calc(8 / 12 * 100%);max-width:calc(8 / 12 * 100%)}.offset-8{margin-left:calc(8 / 12 * 100%)}.col-9{flex:0 0 75%;max-width:75%}.offset-9{margin-left:75%}.col-10{flex:0 0 calc(10 / 12 * 100%);max-width:calc(10 / 12 * 100%)}.offset-10{margin-left:calc(10 / 12 * 100%)}.col-11{flex:0 0 calc(11 / 12 * 100%);max-width:calc(11 / 12 * 100%)}.offset-11{margin-left:calc(11 / 12 * 100%)}.col-12{flex:0 0 100%;max-width:100%}.offset-12{margin-left:100%}.order-0{order:0}.order-1{order:1}.order-2{order:2}.order-3{order:3}.order-4{order:4}.order-5{order:5}.order-6{order:6}.order-7{order:7}.order-8{order:8}.order-9{order:9}.order-10{order:10}.order-11{order:11}.order-12{order:12}@media (min-width: 768px){.col-sm{flex-basis:0;flex-grow:1;max-width:100%}.col-sm-auto{flex:0 0 auto;width:auto;max-width:100%}.col-sm-1{flex:0 0 calc(1 / 12 * 100%);max-width:calc(1 / 12 * 100%)}.offset-sm-1{margin-left:calc(1 / 12 * 100%)}.col-sm-2{flex:0 0 calc(2 / 12 * 100%);max-width:calc(2 / 12 * 100%)}.offset-sm-2{margin-left:calc(2 / 12 * 100%)}.col-sm-3{flex:0 0 25%;max-width:25%}.offset-sm-3{margin-left:25%}.col-sm-4{flex:0 0 calc(4 / 12 * 100%);max-width:calc(4 / 12 * 100%)}.offset-sm-4{margin-left:calc(4 / 12 * 100%)}.col-sm-5{flex:0 0 calc(5 / 12 * 100%);max-width:calc(5 / 12 * 100%)}.offset-sm-5{margin-left:calc(5 / 12 * 100%)}.col-sm-6{flex:0 0 50%;max-width:50%}.offset-sm-6{margin-left:50%}.col-sm-7{flex:0 0 calc(7 / 12 * 100%);max-width:calc(7 / 12 * 100%)}.offset-sm-7{margin-left:calc(7 / 12 * 100%)}.col-sm-8{flex:0 0 calc(8 / 12 * 100%);max-width:calc(8 / 12 * 100%)}.offset-sm-8{margin-left:calc(8 / 12 * 100%)}.col-sm-9{flex:0 0 75%;max-width:75%}.offset-sm-9{margin-left:75%}.col-sm-10{flex:0 0 calc(10 / 12 * 100%);max-width:calc(10 / 12 * 100%)}.offset-sm-10{margin-left:calc(10 / 12 * 100%)}.col-sm-11{flex:0 0 calc(11 / 12 * 100%);max-width:calc(11 / 12 * 100%)}.offset-sm-11{margin-left:calc(11 / 12 * 100%)}.col-sm-12{flex:0 0 100%;max-width:100%}.offset-sm-12{margin-left:100%}.order-sm-0{order:0}.order-sm-1{order:1}.order-sm-2{order:2}.order-sm-3{order:3}.order-sm-4{order:4}.order-sm-5{order:5}.order-sm-6{order:6}.order-sm-7{order:7}.order-sm-8{order:8}.order-sm-9{order:9}.order-sm-10{order:10}.order-sm-11{order:11}.order-sm-12{order:12}}@media (min-width: 992px){.col-md{flex-basis:0;flex-grow:1;max-width:100%}.col-md-auto{flex:0 0 auto;width:auto;max-width:100%}.col-md-1{flex:0 0 calc(1 / 12 * 100%);max-width:calc(1 / 12 * 100%)}.offset-md-1{margin-left:calc(1 / 12 * 100%)}.col-md-2{flex:0 0 calc(2 / 12 * 100%);max-width:calc(2 / 12 * 100%)}.offset-md-2{margin-left:calc(2 / 12 * 100%)}.col-md-3{flex:0 0 25%;max-width:25%}.offset-md-3{margin-left:25%}.col-md-4{flex:0 0 calc(4 / 12 * 100%);max-width:calc(4 / 12 * 100%)}.offset-md-4{margin-left:calc(4 / 12 * 100%)}.col-md-5{flex:0 0 calc(5 / 12 * 100%);max-width:calc(5 / 12 * 100%)}.offset-md-5{margin-left:calc(5 / 12 * 100%)}.col-md-6{flex:0 0 50%;max-width:50%}.offset-md-6{margin-left:50%}.col-md-7{flex:0 0 calc(7 / 12 * 100%);max-width:calc(7 / 12 * 100%)}.offset-md-7{margin-left:calc(7 / 12 * 100%)}.col-md-8{flex:0 0 calc(8 / 12 * 100%);max-width:calc(8 / 12 * 100%)}.offset-md-8{margin-left:calc(8 / 12 * 100%)}.col-md-9{flex:0 0 75%;max-width:75%}.offset-md-9{margin-left:75%}.col-md-10{flex:0 0 calc(10 / 12 * 100%);max-width:calc(10 / 12 * 100%)}.offset-md-10{margin-left:calc(10 / 12 * 100%)}.col-md-11{flex:0 0 calc(11 / 12 * 100%);max-width:calc(11 / 12 * 100%)}.offset-md-11{margin-left:calc(11 / 12 * 100%)}.col-md-12{flex:0 0 100%;max-width:100%}.offset-md-12{margin-left:100%}.order-md-0{order:0}.order-md-1{order:1}.order-md-2{order:2}.order-md-3{order:3}.order-md-4{order:4}.order-md-5{order:5}.order-md-6{order:6}.order-md-7{order:7}.order-md-8{order:8}.order-md-9{order:9}.order-md-10{order:10}.order-md-11{order:11}.order-md-12{order:12}}@media (min-width: 1200px){.col-lg{flex-basis:0;flex-grow:1;max-width:100%}.col-lg-auto{flex:0 0 auto;width:auto;max-width:100%}.col-lg-1{flex:0 0 calc(1 / 12 * 100%);max-width:calc(1 / 12 * 100%)}.offset-lg-1{margin-left:calc(1 / 12 * 100%)}.col-lg-2{flex:0 0 calc(2 / 12 * 100%);max-width:calc(2 / 12 * 100%)}.offset-lg-2{margin-left:calc(2 / 12 * 100%)}.col-lg-3{flex:0 0 25%;max-width:25%}.offset-lg-3{margin-left:25%}.col-lg-4{flex:0 0 calc(4 / 12 * 100%);max-width:calc(4 / 12 * 100%)}.offset-lg-4{margin-left:calc(4 / 12 * 100%)}.col-lg-5{flex:0 0 calc(5 / 12 * 100%);max-width:calc(5 / 12 * 100%)}.offset-lg-5{margin-left:calc(5 / 12 * 100%)}.col-lg-6{flex:0 0 50%;max-width:50%}.offset-lg-6{margin-left:50%}.col-lg-7{flex:0 0 calc(7 / 12 * 100%);max-width:calc(7 / 12 * 100%)}.offset-lg-7{margin-left:calc(7 / 12 * 100%)}.col-lg-8{flex:0 0 calc(8 / 12 * 100%);max-width:calc(8 / 12 * 100%)}.offset-lg-8{margin-left:calc(8 / 12 * 100%)}.col-lg-9{flex:0 0 75%;max-width:75%}.offset-lg-9{margin-left:75%}.col-lg-10{flex:0 0 calc(10 / 12 * 100%);max-width:calc(10 / 12 * 100%)}.offset-lg-10{margin-left:calc(10 / 12 * 100%)}.col-lg-11{flex:0 0 calc(11 / 12 * 100%);max-width:calc(11 / 12 * 100%)}.offset-lg-11{margin-left:calc(11 / 12 * 100%)}.col-lg-12{flex:0 0 100%;max-width:100%}.offset-lg-12{margin-left:100%}.order-lg-0{order:0}.order-lg-1{order:1}.order-lg-2{order:2}.order-lg-3{order:3}.order-lg-4{order:4}.order-lg-5{order:5}.order-lg-6{order:6}.order-lg-7{order:7}.order-lg-8{order:8}.order-lg-9{order:9}.order-lg-10{order:10}.order-lg-11{order:11}.order-lg-12{order:12}}@media (min-width: 1600px){.col-xl{flex-basis:0;flex-grow:1;max-width:100%}.col-xl-auto{flex:0 0 auto;width:auto;max-width:100%}.col-xl-1{flex:0 0 calc(1 / 12 * 100%);max-width:calc(1 / 12 * 100%)}.offset-xl-1{margin-left:calc(1 / 12 * 100%)}.col-xl-2{flex:0 0 calc(2 / 12 * 100%);max-width:calc(2 / 12 * 100%)}.offset-xl-2{margin-left:calc(2 / 12 * 100%)}.col-xl-3{flex:0 0 25%;max-width:25%}.offset-xl-3{margin-left:25%}.col-xl-4{flex:0 0 calc(4 / 12 * 100%);max-width:calc(4 / 12 * 100%)}.offset-xl-4{margin-left:calc(4 / 12 * 100%)}.col-xl-5{flex:0 0 calc(5 / 12 * 100%);max-width:calc(5 / 12 * 100%)}.offset-xl-5{margin-left:calc(5 / 12 * 100%)}.col-xl-6{flex:0 0 50%;max-width:50%}.offset-xl-6{margin-left:50%}.col-xl-7{flex:0 0 calc(7 / 12 * 100%);max-width:calc(7 / 12 * 100%)}.offset-xl-7{margin-left:calc(7 / 12 * 100%)}.col-xl-8{flex:0 0 calc(8 / 12 * 100%);max-width:calc(8 / 12 * 100%)}.offset-xl-8{margin-left:calc(8 / 12 * 100%)}.col-xl-9{flex:0 0 75%;max-width:75%}.offset-xl-9{margin-left:75%}.col-xl-10{flex:0 0 calc(10 / 12 * 100%);max-width:calc(10 / 12 * 100%)}.offset-xl-10{margin-left:calc(10 / 12 * 100%)}.col-xl-11{flex:0 0 calc(11 / 12 * 100%);max-width:calc(11 / 12 * 100%)}.offset-xl-11{margin-left:calc(11 / 12 * 100%)}.col-xl-12{flex:0 0 100%;max-width:100%}.offset-xl-12{margin-left:100%}.order-xl-0{order:0}.order-xl-1{order:1}.order-xl-2{order:2}.order-xl-3{order:3}.order-xl-4{order:4}.order-xl-5{order:5}.order-xl-6{order:6}.order-xl-7{order:7}.order-xl-8{order:8}.order-xl-9{order:9}.order-xl-10{order:10}.order-xl-11{order:11}.order-xl-12{order:12}}.hidden-xs-up{display:none!important}@media (min-width: 768px){.hidden-sm-up{display:none!important}}@media (max-width: 767.98px){.hidden-sm-down{display:none!important}}@media (min-width: 992px){.hidden-md-up{display:none!important}}@media (max-width: 991.98px){.hidden-md-down{display:none!important}}@media (min-width: 1200px){.hidden-lg-up{display:none!important}}@media (max-width: 1199.98px){.hidden-lg-down{display:none!important}}@media (min-width: 1600px){.hidden-xl-up{display:none!important}}@media (max-width: 1599.98px){.hidden-xl-down{display:none!important}}.container{width:100%;padding-right:10px;padding-left:10px;margin-right:auto;margin-left:auto;max-width:100%}@media (min-width: 768px){.container{max-width:720px}}@media (min-width: 992px){.container{max-width:960px}}@media (min-width: 1200px){.container{max-width:1140px}}@media (min-width: 1600px){.container{max-width:1300px}}.d-flex{display:flex!important}.flex-wrap{flex-wrap:wrap!important}.flex-nowrap{flex-wrap:nowrap!important}.gap-5{gap:5px}.gap-10{gap:10px}.gap-15{gap:15px}.gap-20{gap:20px}.flex-bs5{flex-basis:5%;overflow:hidden}.flex-bs10{flex-basis:10%;overflow:hidden}.flex-bs15{flex-basis:15%;overflow:hidden}.flex-bs20{flex-basis:20%;overflow:hidden}.flex-bs25{flex-basis:25%;overflow:hidden}.flex-bs30{flex-basis:30%;overflow:hidden}.flex-bs35{flex-basis:35%;overflow:hidden}.flex-bs40{flex-basis:40%;overflow:hidden}.flex-bs45{flex-basis:45%;overflow:hidden}.flex-bs50{flex-basis:50%;overflow:hidden}.flex-bs55{flex-basis:55%;overflow:hidden}.flex-bs60{flex-basis:60%;overflow:hidden}.flex-bs65{flex-basis:65%;overflow:hidden}.flex-bs70{flex-basis:70%;overflow:hidden}.flex-bs75{flex-basis:75%;overflow:hidden}.flex-bs80{flex-basis:80%;overflow:hidden}.flex-bs85{flex-basis:85%;overflow:hidden}.flex-bs90{flex-basis:90%;overflow:hidden}.flex-bs95{flex-basis:95%;overflow:hidden}.flex-bs100{flex-basis:100%;overflow:hidden}.flex-grow0{flex-grow:0}.flex-shrink0{flex-shrink:0}.flex-grow1{flex-grow:1}.flex-shrink1{flex-shrink:1}.flex-grow2{flex-grow:2}.flex-shrink2{flex-shrink:2}.flex-grow3{flex-grow:3}.flex-shrink3{flex-shrink:3}.flex-grow4{flex-grow:4}.flex-shrink4{flex-shrink:4}.flex-grow5{flex-grow:5}.flex-shrink5{flex-shrink:5}.flex-direction-row{flex-direction:row!important}.flex-direction-row-reverse{flex-direction:row-reverse!important}.flex-direction-column{flex-direction:column!important}.flex-direction-column-reverse{flex-direction:column-reverse!important}.align-items-start{align-items:flex-start}.align-items-center{align-items:center}.align-items-end{align-items:flex-end}.align-items-baseline{align-items:baseline}.align-items-stretch{align-items:stretch}.justify-content-start{justify-content:flex-start!important}.justify-content-center{justify-content:center!important}.justify-content-end{justify-content:flex-end!important}.justify-content-space-between{justify-content:space-between!important}.justify-content-space-around{justify-content:space-around!important}.justify-content-space-evenly{justify-content:space-evenly!important}.align-self-auto{align-self:auto}.align-self-start{align-self:flex-start}.align-self-center{align-self:center}.align-self-end{align-self:flex-end}.align-self-stretch{align-self:stretch}.align-self-baseline{align-self:baseline}:root{--logo-color: #262626;--font-color: #222222;--font-color-secondary: #333;--link-color: #262626;--link-active-color: #1668dc;--border-color: #dee1e1;--form-border-color: #ccc;--primary-bg: #f4f4f6;--secondary-bg: #fff;--scrollbar-bg: #cfcfcf;--hover-bg: #e6f4ff;--hover-bg-secondary: #f5fbff;--menu-color: #262626;--navbar-bg: #fff;--gray-lighter: #f9f9f9;--black-white: #000;--white-black: #fff;--brand-primary: #1668dc;--brand-success: #66bf60;--brand-info: #67c2ec;--brand-warning: #fd9a17;--brand-danger: #f15554;--login-page-bg: linear-gradient(180deg, #eff7fe 50%, #c2e1ff);--login-page-shadow: 0px 0px 40px 0px rgba(0, 101, 248, .08);--login-page-border: 2px solid #fff}[data-theme=dark]{--logo-color: #c3c4c6;--font-color: #c3c4c6;--font-color-secondary: #88898d;--link-color: #f4f4f6;--link-active-color: #1668dc;--border-color: #3b403d;--form-border-color: #3b403d;--primary-bg: #2c302e;--secondary-bg: #313533;--scrollbar-bg: #777;--hover-bg: #2c302e;--hover-bg-secondary: #2e2e2e;--menu-color: #bfbfbf;--navbar-bg: #313533;--gray-lighter: #f9f9f9;--black-white: #fff;--white-black: #000;--brand-primary: #1668dc;--brand-success: #66bf60;--brand-info: #67c2ec;--brand-warning: #fd9a17;--brand-danger: #f15554;--login-page-bg: linear-gradient(180deg, #313533 50%, #1e2220);--login-page-shadow: 0px 0px 40px 0px rgba(0, 0, 0, .25);--login-page-border: 2px solid #313533}body{background:var(--primary-bg)}#root{height:100vh}a{text-decoration:none;color:var(--link-color)}a:hover{color:var(--link-color);text-decoration:underline}hr{margin-top:20px;margin-bottom:20px;border:0;border-top:1px solid var(--border-color)}.main{position:relative;min-height:calc(100vh - 60px);left:230px;top:60px;width:calc(100% - 230px);transition:all .5s ease;display:flex;flex-direction:column;padding:30px}@media (max-width: 768px){.main{left:0;right:0;width:100%;padding:15px}}.fi-icon{height:16px;width:16px;color:#545a6d;fill:#545a6d33;margin-right:4px;margin-top:-3px}.scrollbar,.scrollbar-auto{scrollbar-color:var(--scrollbar-bg) var(--secondary-bg);scrollbar-width:thin;overflow:auto;position:relative}.scrollbar::-webkit-scrollbar,.scrollbar-auto::-webkit-scrollbar{width:6px;height:6px;opacity:0;transition:opacity .3s ease}.scrollbar::-webkit-scrollbar-track,.scrollbar-auto::-webkit-scrollbar-track{background:var(--secondary-bg)}.scrollbar::-webkit-scrollbar-thumb,.scrollbar-auto::-webkit-scrollbar-thumb{background-color:var(--scrollbar-bg);border-radius:20px;border:1px solid var(--scrollbar-bg)}.scrollbar:hover::-webkit-scrollbar,.scrollbar:focus::-webkit-scrollbar,.scrollbar:active::-webkit-scrollbar,.scrollbar-auto:hover::-webkit-scrollbar,.scrollbar-auto:focus::-webkit-scrollbar,.scrollbar-auto:active::-webkit-scrollbar{opacity:1}.scrollbar::-webkit-scrollbar{height:6px;width:6px}.scrollbar-auto{overflow:auto}.scrollbar-auto::-webkit-scrollbar{opacity:0}.scrollbar-auto:hover::-webkit-scrollbar,.scrollbar-auto:focus::-webkit-scrollbar,.scrollbar-auto:active::-webkit-scrollbar{opacity:1}.scrollbar::-webkit-scrollbar-corner{background-color:transparent}.no-border-radius{border-radius:0!important}.no-border-radius-top-left{border-top-left-radius:0!important}.no-border-radius-top-right{border-top-right-radius:0!important}.no-border-radius-bottom-left{border-bottom-left-radius:0!important}.no-border-radius-bottom-right{border-bottom-right-radius:0!important}.no-border-radius-top{border-top-left-radius:0!important;border-top-right-radius:0!important}.no-border-radius-bottom{border-bottom-left-radius:0!important;border-bottom-right-radius:0!important}.no-border-radius-left{border-top-left-radius:0!important;border-bottom-left-radius:0!important}.no-border-radius-right{border-top-right-radius:0!important;border-bottom-right-radius:0!important}.no-border{border:none!important}.no-border-top{border-top:none!important}.no-border-right{border-right:none!important}.no-border-bottom{border-bottom:none!important}.no-border-left{border-left:none!important}.border-radius{border-radius:4px}.border-radius-top-left{border-top-left-radius:4px}.border-radius-top-right{border-top-right-radius:4px}.border-radius-bottom-left{border-bottom-left-radius:4px}.border-radius-bottom-right{border-bottom-right-radius:4px}.rounded-circle{border-radius:50%}.border{border:1px solid var(--border-color)}.border-bottom{border-bottom:1px solid var(--border-color)}.border-top{border-top:1px solid var(--border-color)}.border-left{border-left:1px solid var(--border-color)}.border-right{border-right:1px solid var(--border-color)}.m-0{margin:0!important}.m-5{margin:5px!important}.m-10{margin:10px!important}.m-15{margin:15px!important}.m-20{margin:20px!important}.m-30{margin:30px!important}.m-40{margin:40px!important}.m-50{margin:50px!important}.m-100{margin:100px!important}.m-150{margin:150px!important}.m-200{margin:200px!important}.mt-0{margin-top:0!important}.mt-5{margin-top:5px!important}.mt-10{margin-top:10px!important}.mt-15{margin-top:15px!important}.mt-20{margin-top:20px!important}.mt-30{margin-top:30px!important}.mt-40{margin-top:40px!important}.mt-50{margin-top:50px!important}.mt-100{margin-top:100px!important}.mt-150{margin-top:150px!important}.mt-200{margin-top:200px!important}.mb-0{margin-bottom:0!important}.mb-5{margin-bottom:5px!important}.mb-10{margin-bottom:10px!important}.mb-15{margin-bottom:15px!important}.mb-20{margin-bottom:20px!important}.mb-30{margin-bottom:30px!important}.mb-40{margin-bottom:40px!important}.mb-50{margin-bottom:50px!important}.mb-100{margin-bottom:100px!important}.mb-150{margin-bottom:150px!important}.mb-200{margin-bottom:200px!important}.mr-0{margin-right:0!important}.mr-5{margin-right:5px!important}.mr-10{margin-right:10px!important}.mr-15{margin-right:15px!important}.mr-20{margin-right:20px!important}.mr-30{margin-right:30px!important}.mr-40{margin-right:40px!important}.mr-50{margin-right:50px!important}.mr-100{margin-right:100px!important}.mr-150{margin-right:150px!important}.mr-200{margin-right:200px!important}.ml-0{margin-left:0!important}.ml-5{margin-left:5px!important}.ml-10{margin-left:10px!important}.ml-15{margin-left:15px!important}.ml-20{margin-left:20px!important}.ml-30{margin-left:30px!important}.ml-40{margin-left:40px!important}.ml-50{margin-left:50px!important}.ml-100{margin-left:100px!important}.ml-150{margin-left:150px!important}.ml-200{margin-left:200px!important}.ma{margin:auto!important}.mt-a{margin-top:auto!important}.mb-a{margin-bottom:auto!important}.mr-a{margin-right:auto!important}.ml-a{margin-left:auto!important}.p-0{padding:0!important}.pt-0{padding-top:0!important}.pb-0{padding-bottom:0!important}.pr-0{padding-right:0!important}.pl-0{padding-left:0!important}.p-1{padding:1px!important}.pt-1{padding-top:1px!important}.pb-1{padding-bottom:1px!important}.pr-1{padding-right:1px!important}.pl-1{padding-left:1px!important}.p-2{padding:2px!important}.pt-2{padding-top:2px!important}.pb-2{padding-bottom:2px!important}.pr-2{padding-right:2px!important}.pl-2{padding-left:2px!important}.p-3{padding:3px!important}.pt-3{padding-top:3px!important}.pb-3{padding-bottom:3px!important}.pr-3{padding-right:3px!important}.pl-3{padding-left:3px!important}.p-4{padding:4px!important}.pt-4{padding-top:4px!important}.pb-4{padding-bottom:4px!important}.pr-4{padding-right:4px!important}.pl-4{padding-left:4px!important}.p-5{padding:5px!important}.pt-5{padding-top:5px!important}.pb-5{padding-bottom:5px!important}.pr-5{padding-right:5px!important}.pl-5{padding-left:5px!important}.p-10{padding:10px!important}.pt-10{padding-top:10px!important}.pb-10{padding-bottom:10px!important}.pr-10{padding-right:10px!important}.pl-10{padding-left:10px!important}.p-15{padding:15px!important}.pt-15{padding-top:15px!important}.pb-15{padding-bottom:15px!important}.pr-15{padding-right:15px!important}.pl-15{padding-left:15px!important}.p-20{padding:20px!important}.pt-20{padding-top:20px!important}.pb-20{padding-bottom:20px!important}.pr-20{padding-right:20px!important}.pl-20{padding-left:20px!important}.p-25{padding:25px!important}.pt-25{padding-top:25px!important}.pb-25{padding-bottom:25px!important}.pr-25{padding-right:25px!important}.pl-25{padding-left:25px!important}.p-30{padding:30px!important}.pt-30{padding-top:30px!important}.pb-30{padding-bottom:30px!important}.pr-30{padding-right:30px!important}.pl-30{padding-left:30px!important}.p-35{padding:35px!important}.pt-35{padding-top:35px!important}.pb-35{padding-bottom:35px!important}.pr-35{padding-right:35px!important}.pl-35{padding-left:35px!important}.p-40{padding:40px!important}.pt-40{padding-top:40px!important}.pb-40{padding-bottom:40px!important}.pr-40{padding-right:40px!important}.pl-40{padding-left:40px!important}.p-45{padding:45px!important}.pt-45{padding-top:45px!important}.pb-45{padding-bottom:45px!important}.pr-45{padding-right:45px!important}.pl-45{padding-left:45px!important}.p-50{padding:50px!important}.pt-50{padding-top:50px!important}.pb-50{padding-bottom:50px!important}.pr-50{padding-right:50px!important}.pl-50{padding-left:50px!important}.w-10px{width:10px!important}.min-w-10px{min-width:10px!important}.max-w-10px{max-width:10px!important}.w-15px{width:15px!important}.min-w-15px{min-width:15px!important}.max-w-15px{max-width:15px!important}.w-20px{width:20px!important}.min-w-20px{min-width:20px!important}.max-w-20px{max-width:20px!important}.w-25px{width:25px!important}.min-w-25px{min-width:25px!important}.max-w-25px{max-width:25px!important}.w-30px{width:30px!important}.min-w-30px{min-width:30px!important}.max-w-30px{max-width:30px!important}.w-40px{width:40px!important}.min-w-40px{min-width:40px!important}.max-w-40px{max-width:40px!important}.w-50px{width:50px!important}.min-w-50px{min-width:50px!important}.max-w-50px{max-width:50px!important}.w-60px{width:60px!important}.min-w-60px{min-width:60px!important}.max-w-60px{max-width:60px!important}.w-70px{width:70px!important}.min-w-70px{min-width:70px!important}.max-w-70px{max-width:70px!important}.w-80px{width:80px!important}.min-w-80px{min-width:80px!important}.max-w-80px{max-width:80px!important}.w-90px{width:90px!important}.min-w-90px{min-width:90px!important}.max-w-90px{max-width:90px!important}.w-100px{width:100px!important}.min-w-100px{min-width:100px!important}.max-w-100px{max-width:100px!important}.w-110px{width:110px!important}.min-w-110px{min-width:110px!important}.max-w-110px{max-width:110px!important}.w-120px{width:120px!important}.min-w-120px{min-width:120px!important}.max-w-120px{max-width:120px!important}.w-130px{width:130px!important}.min-w-130px{min-width:130px!important}.max-w-130px{max-width:130px!important}.w-140px{width:140px!important}.min-w-140px{min-width:140px!important}.max-w-140px{max-width:140px!important}.w-150px{width:150px!important}.min-w-150px{min-width:150px!important}.max-w-150px{max-width:150px!important}.w-200px{width:200px!important}.min-w-200px{min-width:200px!important}.max-w-200px{max-width:200px!important}.w-250px{width:250px!important}.min-w-250px{min-width:250px!important}.max-w-250px{max-width:250px!important}.w-300px{width:300px!important}.min-w-300px{min-width:300px!important}.max-w-300px{max-width:300px!important}.w-350px{width:350px!important}.min-w-350px{min-width:350px!important}.max-w-350px{max-width:350px!important}.w-400px{width:400px!important}.min-w-400px{min-width:400px!important}.max-w-400px{max-width:400px!important}.w-450px{width:450px!important}.min-w-450px{min-width:450px!important}.max-w-450px{max-width:450px!important}.w-500px{width:500px!important}.min-w-500px{min-width:500px!important}.max-w-500px{max-width:500px!important}.w-auto{width:auto!important}.w-100{width:100%!important}.vw-100{width:100vw!important}.min-w-100{min-width:100%!important}.max-w-100{max-width:100%!important}.h-10px{height:10px!important}.min-h-10px{min-height:10px!important}.max-h-10px{max-height:10px!important}.h-15px{height:15px!important}.min-h-15px{min-height:15px!important}.max-h-15px{max-height:15px!important}.h-20px{height:20px!important}.min-h-20px{min-height:20px!important}.max-h-20px{max-height:20px!important}.h-25px{height:25px!important}.min-h-25px{min-height:25px!important}.max-h-25px{max-height:25px!important}.h-30px{height:30px!important}.min-h-30px{min-height:30px!important}.max-h-30px{max-height:30px!important}.h-40px{height:40px!important}.min-h-40px{min-height:40px!important}.max-h-40px{max-height:40px!important}.h-50px{height:50px!important}.min-h-50px{min-height:50px!important}.max-h-50px{max-height:50px!important}.h-60px{height:60px!important}.min-h-60px{min-height:60px!important}.max-h-60px{max-height:60px!important}.h-70px{height:70px!important}.min-h-70px{min-height:70px!important}.max-h-70px{max-height:70px!important}.h-80px{height:80px!important}.min-h-80px{min-height:80px!important}.max-h-80px{max-height:80px!important}.h-90px{height:90px!important}.min-h-90px{min-height:90px!important}.max-h-90px{max-height:90px!important}.h-100px{height:100px!important}.min-h-100px{min-height:100px!important}.max-h-100px{max-height:100px!important}.h-110px{height:110px!important}.min-h-110px{min-height:110px!important}.max-h-110px{max-height:110px!important}.h-120px{height:120px!important}.min-h-120px{min-height:120px!important}.max-h-120px{max-height:120px!important}.h-130px{height:130px!important}.min-h-130px{min-height:130px!important}.max-h-130px{max-height:130px!important}.h-140px{height:140px!important}.min-h-140px{min-height:140px!important}.max-h-140px{max-height:140px!important}.h-150px{height:150px!important}.min-h-150px{min-height:150px!important}.max-h-150px{max-height:150px!important}.h-200px{height:200px!important}.min-h-200px{min-height:200px!important}.max-h-200px{max-height:200px!important}.h-250px{height:250px!important}.min-h-250px{min-height:250px!important}.max-h-250px{max-height:250px!important}.h-300px{height:300px!important}.min-h-300px{min-height:300px!important}.max-h-300px{max-height:300px!important}.h-350px{height:350px!important}.min-h-350px{min-height:350px!important}.max-h-350px{max-height:350px!important}.h-400px{height:400px!important}.min-h-400px{min-height:400px!important}.max-h-400px{max-height:400px!important}.h-450px{height:450px!important}.min-h-450px{min-height:450px!important}.max-h-450px{max-height:450px!important}.h-500px{height:500px!important}.min-h-500px{min-height:500px!important}.max-h-500px{max-height:500px!important}.h-auto{height:auto!important}.h-100{height:100%}.vh-100{height:100vh!important}.min-h-100{min-height:100%}.max-h-100{max-height:100%}.bg-primary{background-color:#1668dc!important;color:#f4f4f6!important}.bg-primary .tools .icon:hover{background:#0f4796!important}.bg-success{background-color:#66bf60!important;color:#f4f4f6!important}.bg-success .tools .icon:hover{background:#42963c!important}.bg-info{background-color:#67c2ec!important;color:#f4f4f6!important}.bg-info .tools .icon:hover{background:#23a7e4!important}.bg-warning{background-color:#fd9a17!important;color:#f4f4f6!important}.bg-warning .tools .icon:hover{background:#c67102!important}.bg-danger{background-color:#f15554!important;color:#f4f4f6!important}.bg-danger .tools .icon:hover{background:#e61413!important}.bg-gray{background-color:#f1f1f1!important;color:#4f4f4f!important}.bg-gray .tools .icon:hover{background:#cbcbcb!important}.box-primary{background-color:#1668dc1a;border:1px solid rgba(22,104,220,.3)}.box-success{background-color:#66bf601a;border:1px solid rgba(102,191,96,.3)}.box-info{background-color:#67c2ec33;border:1px solid rgba(103,194,236,.3)}.box-warning{background-color:#fd9a171a;border:1px solid rgba(253,154,23,.3)}.box-danger{background-color:#f155541a;border:1px solid rgba(241,85,84,.3)}.box-gray{background-color:#5555551a;border:1px solid rgba(85.425,85.425,85.425,.3)}.Toastify__toast-container--top-right{top:70px;right:5px}.Toastify__toast-container--top-left{top:70px;left:5px}.cursor-pointer{cursor:pointer}.cursor-not-allowed{cursor:not-allowed}.cursor-default{cursor:default}.cursor-wait{cursor:wait}.cursor-move{cursor:move}.cursor-help{cursor:help}.cursor-text{cursor:text}.cursor-auto{cursor:auto}.cursor-grab{cursor:grab}.cursor-grabbing{cursor:grabbing}.pointer-events-none{pointer-events:none}.pointer-events-auto{pointer-events:auto}.user-select-none{-webkit-user-select:none;user-select:none}.user-select-auto{-webkit-user-select:auto;user-select:auto}.resize-none{resize:none}.resize-both{resize:both}.resize-horizontal{resize:horizontal}.resize-vertical{resize:vertical}html{font-size:15px}@media (max-width: 767px){html{font-size:12px}}@media (min-width: 480px) and (max-width: 768px){html{font-size:13px}}@media (min-width: 768px) and (max-width: 992px){html{font-size:14px}}@media (min-width: 992px) and (max-width: 1200px){html{font-size:14.5px}}@media (min-width: 1200px) and (max-width: 1600px){html{font-size:15px}}body{font-family:Roboto,sans-serif;font-size:1rem;color:var(--font-color);line-height:1.5}h1,.h1{font-size:2.25rem;margin:20px 0 10px}h2,.h2{font-size:1.875rem;margin:20px 0 10px}h3,.h3{font-size:1.5rem;margin:20px 0 10px}h4,.h4{font-size:1.125rem;margin:10px 0}h5,.h5{font-size:.875rem;margin:10px 0}h6,.h6{font-size:.75rem;margin:10px 0}p{margin-bottom:20px;color:var(--font-color)}.lead{margin-bottom:20px;font-size:.875rem;font-weight:300;line-height:1.4}@media (min-width: 768px){.lead{font-size:.75rem}}small,.small{font-size:.75rem}mark,.mark{padding:.2em}.text-left{text-align:left}.text-right{text-align:right}.text-center{text-align:center}.text-justify{text-align:justify}.text-nowrap{white-space:nowrap}.text-lowercase{text-transform:lowercase}.text-uppercase{text-transform:uppercase}.text-capitalize{text-transform:capitalize}.text-muted{color:#777!important}.text-primary{color:#1668dc!important}.text-success{color:#66bf60!important}.text-info{color:#67c2ec!important}.text-warning{color:#fd9a17!important}.text-danger{color:#f15554!important}.list-unstyled{padding-left:0;list-style:none}dl{margin:0 0 20px}dt{font-weight:700}dd{margin-left:0;line-height:1}blockquote{padding:10px;margin:0 0 20px;font-size:1.2rem;border-left:5px solid var(--border-color)}blockquote p:last-child,blockquote ul:last-child,blockquote ol:last-child{margin-bottom:0}blockquote.pull-right{padding:0 15px 0 0;text-align:right;border-right:5px solid #eee;border-left:0}.text-bold{font-weight:600}.text-desc{color:var(--font-color-secondary);font-size:.8125rem}.word-wrap{word-wrap:break-word}.word-break-all{word-break:break-all}code{padding:2px 4px;font-size:.9rem;color:#c7254e;background-color:#f9f2f4;border-radius:4px}.position-relative{position:relative}.position-absolute{position:absolute}.position-fixed{position:fixed}.position-static{position:static}.position-sticky{position:sticky}.left-0{left:0}.left-5{left:5px}.left-10{left:10px}.left-15{left:15px}.right-0{right:0}.right-5{right:5px}.right-10{right:10px}.right-15{right:15px}.top-0{top:0}.top-5{top:5px}.top-10{top:10px}.top-15{top:15px}.bottom-0{bottom:0}.bottom-5{bottom:5px}.bottom-10{bottom:10px}.bottom-15{bottom:15px}.z-index-1{z-index:1}.z-index-100{z-index:100}.z-index-101{z-index:101}.z-index-1000{z-index:1000}.z-index-1001{z-index:1001}.z-index-10000{z-index:10000}.z-index-10001{z-index:10001}.z-index-100000{z-index:100000}.z-index-100001{z-index:100001}button:disabled,button[disabled]{color:var(--font-color-secondary)!important;background:transparent!important;cursor:not-allowed;pointer-events:none}.btn{border-radius:4px;padding:0 12px;display:inline-flex;height:32px;align-items:center;justify-content:center;touch-action:manipulation;background:none;border:1px solid transparent;white-space:nowrap;position:relative;line-height:1;gap:5px;color:var(--black-white)}.btn .icon,.btn svg{pointer-events:none}.btn svg{height:14px;width:14px;margin-top:0}.btn:hover{text-decoration:none}.btn:focus,.btn:active{box-shadow:inset 0 3px 5px #00000026}.btn.active{box-shadow:inset 0 3px 5px #0000001a;background-color:var(--primary-bg)}.btn.btn-default{color:var(--font-color);border-color:var(--border-color)}.btn.btn-default:hover{background-color:var(--primary-bg)}.btn.btn-primary,.btn.btn-success,.btn.btn-info,.btn.btn-warning,.btn.btn-danger{color:#fff}.btn.btn-primary.btn-primary,.btn.btn-success.btn-primary,.btn.btn-info.btn-primary,.btn.btn-warning.btn-primary,.btn.btn-danger.btn-primary{background-color:#1668dc;border-color:#0f4796}.btn.btn-primary.btn-primary:hover,.btn.btn-success.btn-primary:hover,.btn.btn-info.btn-primary:hover,.btn.btn-warning.btn-primary:hover,.btn.btn-danger.btn-primary:hover{background-color:#0d3c7f}.btn.btn-primary.btn-success,.btn.btn-success.btn-success,.btn.btn-info.btn-success,.btn.btn-warning.btn-success,.btn.btn-danger.btn-success{background-color:#66bf60;border-color:#42963c}.btn.btn-primary.btn-success:hover,.btn.btn-success.btn-success:hover,.btn.btn-info.btn-success:hover,.btn.btn-warning.btn-success:hover,.btn.btn-danger.btn-success:hover{background-color:#3a8435}.btn.btn-primary.btn-info,.btn.btn-success.btn-info,.btn.btn-info.btn-info,.btn.btn-warning.btn-info,.btn.btn-danger.btn-info{background-color:#67c2ec;border-color:#23a7e4}.btn.btn-primary.btn-info:hover,.btn.btn-success.btn-info:hover,.btn.btn-info.btn-info:hover,.btn.btn-warning.btn-info:hover,.btn.btn-danger.btn-info:hover{background-color:#1a98d3}.btn.btn-primary.btn-warning,.btn.btn-success.btn-warning,.btn.btn-info.btn-warning,.btn.btn-warning.btn-warning,.btn.btn-danger.btn-warning{background-color:#fd9a17;border-color:#c67102}.btn.btn-primary.btn-warning:hover,.btn.btn-success.btn-warning:hover,.btn.btn-info.btn-warning:hover,.btn.btn-warning.btn-warning:hover,.btn.btn-danger.btn-warning:hover{background-color:#ad6301}.btn.btn-primary.btn-danger,.btn.btn-success.btn-danger,.btn.btn-info.btn-danger,.btn.btn-warning.btn-danger,.btn.btn-danger.btn-danger{background-color:#f15554;border-color:#e61413}.btn.btn-primary.btn-danger:hover,.btn.btn-success.btn-danger:hover,.btn.btn-info.btn-danger:hover,.btn.btn-warning.btn-danger:hover,.btn.btn-danger.btn-danger:hover{background-color:#ce1211}.btn.btn-link{color:var(--link-color);background-color:transparent;border-color:transparent}.btn.btn-block{display:block;width:100%}.btn.btn-lg{height:36px}.btn.btn-sm{height:28px}.btn.btn-rounded{padding:0;width:35px;height:35px;text-align:center;border-radius:50%!important;font-size:14px}.btn.btn-round{border-radius:30px}.btn.btn-ripple{overflow:hidden}.btn.btn-ripple:before{content:"";position:absolute;top:0;left:0;width:0;height:0;transform:translate(-50%,-50%);border-radius:50%;background:#fff;opacity:.5;transition:width .5s,height .5s}.btn.btn-ripple:hover:before{width:300px;height:300px}.btn.loading svg{animation:spin 1s linear infinite;transform-origin:center}.btn-icon{border:none;width:35px;height:35px;font-size:1.3em;border-radius:50%;line-height:1;display:flex;align-items:center;justify-content:center;background:transparent;color:var(--black-white)}.btn-icon .icon{width:100%;height:auto}.btn-icon:hover.btn-default{background-color:#fff}.btn-icon:hover.btn-primary{background-color:#68a0f0}.btn-icon:hover.btn-success{background-color:#acdca9}.btn-icon:hover.btn-info{background-color:#c2e6f7}.btn-icon:hover.btn-warning{background-color:#fec67c}.btn-icon:hover.btn-danger{background-color:#f9b3b2}.btn-icon.btn-rounded .icon{border-radius:50%}.btn-toolbar{margin-left:-5px}.btn-toolbar>.btn,.btn-toolbar>.btn-group,.btn-toolbar>.input-group{margin-left:5px}.btn-group,.btn-group-vertical{position:relative}.btn-group>label,.btn-group-vertical>label{margin-bottom:0}.btn-group>.auto,.btn-group-vertical>.auto{position:relative;flex:1 1 auto}.btn-group>.active,.btn-group-vertical>.active{background-color:var(--link-active-color);color:var(--white-black);border-color:var(--link-active-color)}.btn-group>.active:hover,.btn-group-vertical>.active:hover{background-color:var(--link-active-color)}.btn-group{display:flex;align-items:center}.btn-group>.btn:first-child:not(:last-child):not(.dropdown-toggle){border-top-right-radius:0;border-bottom-right-radius:0;margin-left:0}.btn-group>.btn:not(:first-child):not(:last-child):not(.dropdown-toggle){border-radius:0}.btn-group>.btn:last-child:not(:first-child){border-top-left-radius:0;border-bottom-left-radius:0}.btn-group .btn+.btn,.btn-group .btn+.btn-group,.btn-group .btn-group+.btn,.btn-group .btn-group+.btn-group{margin-left:-1px}.btn-group-vertical{display:inline-flex;flex-direction:column}.btn-group-vertical>.btn{min-width:150px}.btn-group-vertical>.btn:first-child:not(:last-child){border-radius:4px 4px 0 0}.btn-group-vertical>.btn:not(:first-child):not(:last-child){border-radius:0}.btn-group-vertical>.btn:last-child:not(:first-child){border-radius:0 0 4px 4px}.btn-group-vertical .btn+.btn,.btn-group-vertical .btn+.btn-group,.btn-group-vertical .btn-group+.btn,.btn-group-vertical .btn-group+.btn-group{margin-top:-1px;margin-left:0}[data-toggle=buttons]>.btn input[type=checkbox],[data-toggle=buttons]>.btn input[type=radio],[data-toggle=buttons]>.btn-group>.btn input[type=checkbox],[data-toggle=buttons]>.btn-group>.btn input[type=radio]{position:absolute;clip:rect(0,0,0,0);pointer-events:none}input[type=checkbox],input[type=radio]{line-height:normal}@keyframes spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.card{display:flex;width:100%;border-radius:4px;border:1px solid var(--border-color);background-color:var(--secondary-bg);flex-direction:column;position:relative}.card .card-header{padding:0 20px;min-height:50px;border-bottom:1px solid var(--border-color);display:flex;align-items:center;justify-content:space-between;border-radius:4px 4px 0 0}.card .card-header .card-header-title{display:flex;align-items:center;line-height:1;gap:10px;font-weight:500}.card .card-header .card-header-title svg.icon{height:16px;width:16px;fill:#545a6d33;margin-right:0;margin-top:-2px}.card .card-header .card-header-title span{font-weight:500}.card .card-header .tools{display:flex;align-items:center;position:relative;gap:10px}.card .card-header .tools .icon{padding:3px;width:25px;height:25px;border-radius:50%;cursor:pointer}.card .card-header .tools .icon:hover{background:var(--hover-bg)}.card .card-header .tools .icon:focus{background:var(--hover-bg);outline:none}.card .card-header.sm{min-height:40px}.card .card-body{padding:20px;height:100%;width:100%}.card .card-footer{padding:5px 20px;min-height:50px;border-top:1px solid var(--border-color);display:flex;align-items:center;justify-content:space-between;position:relative}.card .card-footer button{margin-bottom:0}.card.card-h-left{flex-direction:row}.card.card-h-left>.card-header{align-items:start;padding:0;background:var(--hover-bg)}.card.card-h-right{flex-direction:row-reverse}.card.card-h-right>.card-header{align-items:start;padding:0;background:var(--hover-bg)}.card-draggable{cursor:auto;padding:0 20px;border:1px solid var(--border-color);display:flex;align-items:center;border-radius:4px;box-shadow:#0000001a 0 0 2px;background:var(--secondary-bg);touch-action:none}.card-draggable.sm{min-height:40px}.card-draggable.md{min-height:50px}.card-draggable .drag-indicator{cursor:grab;font-size:1em;margin-right:5px;margin-left:-5px;color:var(--font-color-secondary)}@media (max-width: 992px){.card .card-header,.card .card-footer,.card .card-footer .pagination-toolbar{flex-direction:column;gap:10px;padding:15px 20px;justify-content:center}.card .card-header>div,.card .card-footer>div,.card .card-footer .pagination-toolbar>div{margin:0!important}.card .card-body{overflow-y:auto}}.spinner{display:inline-block;margin-bottom:5px;margin-right:5px}.spinner .spinner-icon{animation:rotator 1.4s linear infinite}@keyframes rotator{0%{transform:rotate(0)}to{transform:rotate(270deg)}}.spinner .path{stroke-dasharray:187;stroke-dashoffset:0;transform-origin:center;animation:dash 1.4s ease-in-out infinite,colors 5.6s ease-in-out infinite}@keyframes colors{0%{stroke:#4285f4}25%{stroke:#de3e35}50%{stroke:#f7c223}75%{stroke:#1b9a59}to{stroke:#4285f4}}@keyframes dash{0%{stroke-dashoffset:187}50%{stroke-dashoffset:46.75;transform:rotate(135deg)}to{stroke-dashoffset:187;transform:rotate(450deg)}}.dropdown-menu{z-index:1001;min-width:160px;background-clip:padding-box;border:1px solid var(--border-color);border-radius:3px;-webkit-box-shadow:0 6px 12px rgba(0,0,0,.18);box-shadow:0 6px 12px #0000002e;background:var(--secondary-bg)}.dropdown-menu-item{padding:8px 16px;cursor:pointer}.dropdown-menu-item:last-child{border-bottom:none}.dropdown-menu-item:hover{background:var(--hover-bg)}.dropdown-menu-item svg,.dropdown-menu-item .icon{height:16px;width:16px;fill:#545a6d33;margin-right:10px;margin-top:-2px}.dropdown{position:relative;display:inline-block}.dropdown .dropdown-toggle{cursor:pointer;-webkit-user-select:none;user-select:none}.dropdown .dropdown-toggle svg.icon{height:16px;width:16px;fill:#545a6d33}.dropdown-content{z-index:1001;min-width:160px;background-clip:padding-box;border:1px solid var(--border-color);border-radius:3px;-webkit-box-shadow:0 6px 12px rgba(0,0,0,.18);box-shadow:0 6px 12px #0000002e;background:var(--secondary-bg)}.dropdown-content.bottom-left,.dropdown-content.bottom-right{margin-top:4px}.dropdown-content.top-left,.dropdown-content.top-right{margin-bottom:4px}@media (max-width: 768px){.dropdown-content{position:fixed!important;left:50%!important;transform:translate(-50%);min-width:calc(100% - 32px);max-width:320px}.dropdown-content.bottom-left,.dropdown-content.bottom-right,.dropdown-content.top-left,.dropdown-content.top-right{top:50%!important;transform:translate(-50%,-50%)}}.badge{display:inline-block;padding:5px 10px;font-size:12px;line-height:1;text-align:center;white-space:nowrap;vertical-align:baseline;border-radius:3px;font-weight:500}.badge.badge-primary{color:#082651;background-color:#96bdf5}.badge.badge-success{color:#2a6026;background-color:#cfebcd}.badge.badge-info{color:#1578a5;background-color:#d8effa}.badge.badge-warning{color:#7a4601;background-color:#fedcaf}.badge.badge-danger{color:#9f0e0d;background-color:#fde2e1}.badge.badge-light{color:#000;background-color:#f1f1f1}.badge.badge-dark{color:#b3b3b3;background-color:#4d4d4d}.badge.rounded-pill{border-radius:30px}.badge.badge-notif{position:absolute;border-radius:50px;padding:5px;top:-10px;right:-10px;font-size:10px;font-weight:600;pointer-events:none}.box{border-radius:4px;border:1px solid var(--border-color);background-color:var(--secondary-bg);position:relative;padding:20px}.box.hover-bs:hover{transition:all .3s ease;box-shadow:0 0 10px #0000001a}.tabs .tab-custom-header{width:100%}.tabs .nav-tabs{padding:0;margin:0;display:flex;align-items:center}.tabs .nav-tabs legend.tab-item-legend{border-top:1px solid var(--border-color);border-bottom:1px solid var(--border-color);padding:10px 15px;margin-bottom:0;line-height:1;font-size:.8rem;font-weight:500;text-transform:uppercase}.tabs .nav-tabs .tab-item{padding:0 15px;display:flex;align-items:center;gap:5px;line-height:48px;vertical-align:middle;border-bottom:2px solid transparent;margin-bottom:-1px;transition:all .4s ease;opacity:.5}.tabs .nav-tabs .tab-item:hover{border-bottom:2px solid var(--link-active-color)}.tabs .nav-tabs .tab-item.active{border-bottom:2px solid var(--link-active-color);opacity:1}.tabs.card-h-left>.card-header{border-radius:0;border-bottom:0;display:flex;flex-direction:column;justify-content:flex-start;min-width:200px}.tabs.card-h-left .nav-tabs{display:flex;flex-direction:column;border-right:1px solid var(--border-color);width:100%}.tabs.card-h-left .nav-tabs .tab-item{border:none;border-right:2px solid transparent;white-space:nowrap;margin-bottom:0;width:100%}.tabs.card-h-left .nav-tabs .tab-item:hover,.tabs.card-h-left .nav-tabs .tab-item.active{border-right:2px solid var(--link-active-color)}.tabs.card-h-right>.card-header{border-radius:0;border-bottom:0}.tabs.card-h-right .nav-tabs{flex-direction:column-reverse;display:flex;border-left:1px solid var(--border-color);width:100%}.tabs.card-h-right .nav-tabs .tab-item{border:none;border-left:2px solid transparent;white-space:nowrap;margin-bottom:0;justify-content:flex-end;width:100%}.tabs.card-h-right .nav-tabs .tab-item:hover,.tabs.card-h-right .nav-tabs .tab-item.active{border-left:2px solid var(--link-active-color)}@media (max-width: 992px){.card.tabs>.card-header{padding:0}.card.tabs>.card-header .tab-custom-header{display:flex;flex-direction:column;width:100%}.card.tabs>.card-header .tab-custom-header img{width:100%!important;max-width:100%!important;height:auto}.card.tabs>.card-header .nav-tabs{width:100%;display:flex;flex-direction:column}.card.card-h-left,.card.card-h-right{flex-direction:column!important}.card.card-h-left .tab-item,.card.card-h-right .tab-item{border-right:none!important;border-left:none!important;border-bottom:2px solid transparent!important}.card.card-h-left .tab-item:hover,.card.card-h-right .tab-item:hover,.card.card-h-left .tab-item.active,.card.card-h-right .tab-item.active{border-right:none!important;border-left:none!important;border-bottom:2px solid var(--link-active-color)!important}}.alert{padding:10px 15px;margin-bottom:20px;border:1px solid transparent;border-radius:0;position:relative;display:flex;align-items:center;justify-content:space-between}.alert .icon,.alert svg{pointer-events:none}.alert p{margin:0;color:#fff}.alert.alert-success{color:#fff;background-color:#66bf60;border-color:#42963c}.alert.alert-info{color:#fff;background-color:#67c2ec;border-color:#23a7e4}.alert.alert-warning{color:#fff;background-color:#fd9a17;border-color:#c67102}.alert.alert-danger{color:#fff;background-color:#f15554;border-color:#e61413}.alert button.close{border:none;background:none;color:var(--font-color);margin-right:-5px}.Toastify__close-button{align-self:center!important}.callout{padding:10px 15px;margin-bottom:20px;border:1px solid transparent;border-left:5px solid transparent;border-radius:0}.callout p{margin:0}.callout.callout-success{border-color:#42963c}.callout.callout-info{border-color:#23a7e4}.callout.callout-warning{border-color:#c67102}.callout.callout-danger{border-color:#e61413}.tooltip{position:relative;background:#000;color:#fff;padding:2px 10px;border-radius:5px;opacity:.8;z-index:1002;white-space:nowrap}.tooltip:after{content:"";position:absolute;border:5px solid transparent}.tooltip.top:after{top:100%;left:50%;margin-left:-5px;border-top-color:#000}.tooltip.bottom:after{bottom:100%;left:50%;margin-left:-5px;border-bottom-color:#000}.tooltip.left:after{top:50%;left:100%;margin-top:-5px;border-left-color:#000}.tooltip.right:after{top:50%;right:100%;margin-top:-5px;border-right-color:#000}.popover{z-index:1002;display:block;white-space:nowrap;max-width:276px;padding:1px;font-size:12px;background-color:var(--secondary-bg);-webkit-background-clip:padding-box;background-clip:padding-box;border:1px solid var(--scrollbar-bg);border-radius:3px;box-shadow:0 5px 10px #0003}.popover .arrow{position:absolute;display:block;width:0;height:0;border-color:transparent;border-style:solid;border-width:11px}.popover .arrow:after{position:absolute;display:block;width:0;height:0;border-color:transparent;border-style:solid;border-width:10px}.popover .popover-content{padding:9px 14px}.popover.top>.arrow{bottom:-11px;left:50%;margin-left:-11px;border-top-color:var(--scrollbar-bg);border-bottom-width:0}.popover.top>.arrow:after{bottom:1px;margin-left:-10px;content:" ";border-top-color:var(--secondary-bg);border-bottom-width:0}.popover.right>.arrow{top:50%;left:-11px;margin-top:-11px;border-right-color:var(--scrollbar-bg);border-left-width:0}.popover.right>.arrow:after{bottom:-10px;left:1px;content:" ";border-right-color:var(--secondary-bg);border-left-width:0}.popover.bottom>.arrow{top:-11px;left:50%;margin-left:-11px;border-top-width:0;border-bottom-color:var(--scrollbar-bg)}.popover.bottom>.arrow:after{top:1px;margin-left:-10px;content:" ";border-top-width:0;border-bottom-color:var(--secondary-bg)}.popover.left>.arrow{top:50%;right:-11px;margin-top:-11px;border-right-width:0;border-left-color:var(--scrollbar-bg)}.popover.left>.arrow:after{right:1px;bottom:-10px;content:" ";border-right-width:0;border-left-color:var(--secondary-bg)}.modal{display:flex;align-items:center;justify-content:center;position:fixed;z-index:1001;left:0;top:0;width:100%;height:100vh;overflow:auto;background-color:#0006;transition:all .4s ease-in-out;vertical-align:middle}.modal .modal-dialog{display:flex;width:100%;border-radius:4px;border:1px solid var(--border-color);background-color:var(--secondary-bg);vertical-align:middle;flex-direction:column;position:relative;box-shadow:0 4px 8px #0003}.modal .modal-dialog.modal-sm{max-width:40%;min-width:40%;max-height:80%}.modal .modal-dialog.modal-md{width:50%;max-height:90%}.modal .modal-dialog.modal-lg{width:70%;max-width:70%;max-height:90%}.modal .modal-dialog .modal-header{padding:0 20px;min-height:50px;border-bottom:1px solid var(--border-color);display:flex;align-items:center;justify-content:space-between;border-radius:4px 4px 0 0}.modal .modal-dialog .modal-header .modal-header-title{display:flex;align-items:center;line-height:1}.modal .modal-dialog .modal-header .modal-header-title .icon{margin-right:10px}.modal .modal-dialog .modal-header .modal-header-title span{font-weight:500}.modal .modal-dialog .modal-header .tools{display:flex;align-items:center;position:relative;gap:10px}.modal .modal-dialog .modal-header .tools .icon{padding:3px;width:25px;height:25px;border-radius:50%;cursor:pointer}.modal .modal-dialog .modal-header .tools .icon:hover{background:var(--hover-bg)}.modal .modal-dialog .modal-header .tools .icon:focus{background:var(--hover-bg);outline:none}.modal .modal-dialog .modal-body{padding:20px;height:100%;width:100%}.modal .modal-dialog .modal-footer{padding:5px 20px;min-height:50px;border-top:1px solid var(--border-color);display:flex;align-items:center;justify-content:space-between;position:relative}.modal .modal-dialog .modal-footer button{margin-bottom:0}@media (max-width: 992px){.modal .modal-dialog.modal-lg,.modal .modal-dialog.modal-md,.modal .modal-dialog.modal-sm{width:95%;max-width:100%}}@media (max-width: 0){.modal .modal-dialog .modal-header,.modal .modal-dialog .modal-footer,.modal .modal-dialog .modal-footer .pagination-toolbar{flex-direction:column;gap:10px;padding:15px 20px;justify-content:center;min-height:auto}.modal .modal-dialog .modal-header>div,.modal .modal-dialog .modal-footer>div,.modal .modal-dialog .modal-footer .pagination-toolbar>div{margin:0!important}.modal .modal-dialog .modal-body{overflow-y:auto}}.panel-group .menu-caret{font-size:16px;transition:all .8s ease}.panel-group .menu-caret.active{transform:rotate(180deg)}.panel-group .panel{height:0;min-height:0;max-height:0;opacity:0;transition:max-height .4s ease}.panel-group .panel.active{max-height:8000px;height:auto;opacity:1}.circular-progress{width:48px;height:48px;border:4px solid var(--primary-bg);border-bottom-color:var(--border-color);border-radius:50%;display:inline-block;box-sizing:border-box;animation:rotation 1s linear infinite}.circular-progress.brand-success{border-bottom-color:#66bf60}.circular-progress.brand-info{border-bottom-color:#67c2ec}.circular-progress.brand-warning{border-bottom-color:#fd9a17}.circular-progress.brand-danger{border-bottom-color:#f15554}.circular-progress.sm{width:32px;height:32px}.circular-progress.lg{width:64px;height:64px}@keyframes rotation{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.linear-progress{position:relative;display:flex;align-items:center;overflow:hidden}.linear-progress .progress-bar{width:100%;background-color:var(--primary-bg);border-radius:2px}.linear-progress .progress-bar .progress{height:10px;display:block;background-color:#67c2ec;border-radius:2px;transition:transform .4s ease,width .4s ease}.linear-progress .progress-bar.brand-success .progress{background-color:#66bf60}.linear-progress .progress-bar.brand-info .progress{background-color:#67c2ec}.linear-progress .progress-bar.brand-warning .progress{background-color:#fd9a17}.linear-progress .progress-bar.brand-danger .progress{background-color:#f15554}.linear-progress.indeterminate .progress-bar .progress{display:block;transform-origin:left center;animation:moveProgressBarInfinite 2s linear infinite}.linear-progress.sm .progress-bar .progress{height:5px}.linear-progress.lg .progress-bar .progress{height:15px}.linear-progress .progress-label{margin-left:10px;font-size:12px}@keyframes moveProgressBarInfinite{0%{transform:translate(-100%) scaleX(0)}to{transform:translate(100%) scaleX(1)}}.circular-progress-with-label{display:flex;align-items:center;position:relative;width:fit-content}.circular-progress-with-label .progress{width:48px;height:48px;border-radius:50%;background:radial-gradient(closest-side,white 79%,transparent 80% 100%),conic-gradient(#888 70%,#eee 0)}.circular-progress-with-label .progress-label{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}.custom-checkbox{position:relative;padding-left:25px;cursor:pointer;justify-content:space-between;align-items:center;display:inline;margin:0}.custom-checkbox .checkbox-wrapper{position:relative;display:flex;align-items:center}.custom-checkbox input{position:absolute;opacity:0;cursor:pointer}.custom-checkbox .checkmark{position:absolute;top:0;left:0;height:18px;width:18px;background-color:var(--secondary-bg);border:1px solid var(--brand-primary);border-radius:3px;display:flex;align-items:center;justify-content:center}.custom-checkbox .checkmark:after{content:"";position:absolute;display:none}.custom-checkbox input:checked~.checkmark:after{display:block;content:"";left:5px;top:1px;width:6px;height:10px;border:solid white;border-width:0 2px 2px 0;transform:rotate(45deg)}.custom-checkbox:hover input~.checkmark{background-color:var(--primary-bg)}.custom-checkbox input:checked~.checkmark{background-color:var(--brand-primary);border-color:var(--brand-primary)}.custom-checkbox .check-icon{color:#fff;font-size:16px;display:block}.custom-checkbox input:disabled~.checkmark{background-color:#e0e0e0;border-color:#e0e0e0;cursor:not-allowed}.custom-checkbox input:disabled~.checkmark .check-icon{color:#9e9e9e}.custom-checkbox.sm .checkmark{height:15px;width:15px}.custom-checkbox.sm .checkmark:after{left:4px;top:1px;width:5px;height:8px}.custom-checkbox.sm .check-icon{font-size:12px}.form{display:flex;flex-direction:column}.form legend{border-bottom:1px solid var(--border-color);font-size:.9rem;padding-bottom:5px;font-weight:500}.form .form-message{margin-top:3px;color:var(--font-color-secondary);text-align:right;margin-bottom:0}.form .has-error .form-control,.form .has-error .dropdown-header{border-color:#f15554}.form .has-error label,.form .has-error .form-message{color:#f15554}.form .has-success .form-control,.form .has-success .dropdown-header{border-color:#66bf60}.form .has-success label,.form .has-success .form-message{color:#66bf60}.form .has-warning .form-control,.form .has-warning .dropdown-header{border-color:#fd9a17}.form .has-warning label,.form .has-warning .form-message{color:#fd9a17}.form-group{margin-bottom:10px;position:relative;padding-top:10px;display:flex;flex-direction:column}.form-group .form-control{letter-spacing:inherit;border:1px solid var(--form-border-color);-webkit-tap-highlight-color:transparent;display:flex;align-items:center;min-width:0;width:100%;outline:none;border-radius:4px;padding:0 10px;color:var(--font-color);font-size:1rem;background-color:var(--secondary-bg)}.form-group .form-control.disabled,.form-group .form-control:disabled{opacity:.9;cursor:not-allowed;border-color:var(--border-color);font-size:1rem}.form-group .form-control:focus,.form-group .form-control:active{border-color:var(--link-active-color)}.form-group .form-control::placeholder{color:var(--font-color-secondary)}.form-group .form-control:-webkit-autofill,.form-group .form-control:-webkit-autofill:focus{background:transparent!important;-webkit-box-shadow:0 0 0px 1000px var(--secondary-bg) inset;-webkit-text-fill-color:var(--font-color)!important;transition:background-color 5000s ease-in-out 0s}.form-group .form-control{height:32px}.form-group .form-control.sm{height:28px}.form-group .form-control.lg{height:36px}.form-group .form-control[multiple]{height:auto}.form-group textarea.form-control{resize:vertical;min-height:75px;padding:5px 10px}.form-group label{margin-bottom:5px;font-size:.9rem;color:var(--font-color-secondary)}.form-group label.required:after{content:"*";color:#f15554;margin-left:3px}.form-group .form-control[type=file]::-webkit-file-upload-button,.form-group .form-control[type=file]::file-selector-button{-webkit-appearance:none;margin-right:10px;padding:0 10px;line-height:30px;color:#fff;background-color:#1668dc;border:0;border-radius:4px;cursor:pointer}.form-group.floating-label label{position:absolute;top:15px;left:0;transition:all .3s ease;pointer-events:none}.form-group.floating-label .form-control{border:none;border-bottom:1px solid var(--border-color);border-radius:0;padding:0}.form-group.floating-label .form-control.disabled,.form-group.floating-label .form-control:disabled{opacity:.9;cursor:not-allowed;border-color:var(--border-color);background:none;color:var(--font-color-secondary)}.form-group.floating-label .form-control:focus{border-bottom:1px solid #1668dc}.form-group.floating-label .form-control:focus-within~label,.form-group.floating-label .form-control:active~label,.form-group.floating-label .form-control:-webkit-autofill~label,.form-group.floating-label .form-control:-webkit-autofill:focus~label,.form-group.floating-label .form-control:not(:placeholder-shown)~label{top:-5px;font-size:.9rem}.form-group .input-group-icon{position:relative}.form-group .input-group-icon .icon{position:absolute;display:flex;align-items:center;justify-content:center;top:1px;right:1px;height:30px;width:35px;padding:0;font-size:23px;border-radius:3px;cursor:pointer;color:var(--font-color-secondary);border:none;background-color:transparent}.form-group .input-group-icon .icon:hover{background:var(--hover-bg)}.form-group .input-group-icon .icon svg{width:20px;height:20px}.form-radio,.form-checkbox{margin-bottom:10px;position:relative;padding-top:10px;display:flex;flex-direction:column}.form-radio>label,.form-radio label,.form-checkbox>label,.form-checkbox label{font-size:.9rem;color:var(--font-color-secondary);margin-bottom:5px}.form-radio>label.required:after,.form-radio label.required:after,.form-checkbox>label.required:after,.form-checkbox label.required:after{content:"*";color:#f15554;margin-left:3px}.form-radio .form-control,.form-checkbox .form-control{display:flex;justify-content:flex-start;align-items:center;gap:10px}.form-radio .form-control label,.form-checkbox .form-control label{margin:0 0 0 10px}.form-radio.has-info .checkmark,.form-checkbox.has-info .checkmark{border-color:#67c2ec}.form-radio.has-info input:checked~.checkmark,.form-checkbox.has-info input:checked~.checkmark{background-color:#67c2ec;border-color:#67c2ec}.form-radio.has-info .form-message,.form-checkbox.has-info .form-message{color:#67c2ec}.form-radio.has-error .checkmark,.form-checkbox.has-error .checkmark{border-color:#f15554}.form-radio.has-error input:checked~.checkmark,.form-checkbox.has-error input:checked~.checkmark{background-color:#f15554;border-color:#f15554}.form-radio.has-error .form-message,.form-checkbox.has-error .form-message{color:#f15554}.form-radio.has-success .checkmark,.form-checkbox.has-success .checkmark{border-color:#66bf60}.form-radio.has-success input:checked~.checkmark,.form-checkbox.has-success input:checked~.checkmark{background-color:#66bf60;border-color:#66bf60}.form-radio.has-success .form-message,.form-checkbox.has-success .form-message{color:#66bf60}.form-radio.has-warning .checkmark,.form-checkbox.has-warning .checkmark{border-color:#fd9a17}.form-radio.has-warning input:checked~.checkmark,.form-checkbox.has-warning input:checked~.checkmark{background-color:#fd9a17;border-color:#fd9a17}.form-radio.has-warning .form-message,.form-checkbox.has-warning .form-message{color:#fd9a17}.date-picker{position:absolute;right:0;background-clip:padding-box;border:1px solid var(--border-color);border-radius:4px;box-shadow:0 6px 12px #0000002e;background:var(--primary-bg);z-index:1;opacity:0;transform:translateY(-20px);animation:slideIn .3s forwards,fadeIn .3s forwards}.date-picker.position-top{bottom:100%;transform:translateY(-100%)}.date-picker .calendar-nav{display:flex;align-items:center;justify-content:space-between}.date-picker .calendar-nav span{font-weight:500}.date-picker .calendar .calendar-header{display:grid;grid-template-columns:repeat(7,1fr);gap:10px;border-bottom:1px solid var(--border-color)}.date-picker .calendar .calendar-header .calendar-day-name{display:flex;align-items:center;justify-content:center;height:28px;width:28px;font-size:.8rem;color:var(--font-color-secondary)}.date-picker .calendar .calendar-body{display:grid;grid-template-columns:repeat(7,1fr);gap:10px}.date-picker .calendar .calendar-body .calendar-day{display:flex;align-items:center;justify-content:center;height:28px;width:28px;border-radius:50%;line-height:1;cursor:pointer;color:var(--font-color)}.date-picker .calendar .calendar-body .calendar-day:hover{background-color:var(--hover-bg)}.date-picker .calendar .calendar-body .calendar-day.selected-date{background-color:#1668dc;color:#fff}.date-picker .calendar .calendar-body .calendar-day.today{color:#67c2ec}.date-picker .calendar .calendar-body .calendar-day.prev-month{color:var(--font-color-secondary);font-size:smaller}.date-picker .calendar .calendar-body .calendar-day.empty{pointer-events:none}@keyframes slideIn{0%{transform:translateY(-20px)}to{transform:translateY(0)}}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}.dropdown-select-container{position:relative;max-width:100%;min-width:60px}.dropdown-select-container .dropdown-header{cursor:pointer;padding:0 10px;height:32px;line-height:1;border:1px solid var(--border-color);display:flex;justify-content:space-between;align-items:center;-webkit-user-select:none;user-select:none;border-radius:4px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.dropdown-select-container .dropdown-header.open{box-shadow:0 2px 4px #0000001a}.dropdown-select-container .dropdown-header.open .arrow{transform:rotate(180deg)}.dropdown-select-container .dropdown-header span.label{overflow:hidden;white-space:nowrap;text-overflow:ellipsis;max-width:90%}.dropdown-select-container .dropdown-header svg.arrow{position:absolute;right:10px;margin-left:8px;transition:transform .3s;font-size:1.3rem;flex-shrink:0;pointer-events:none}.dropdown-select-container .dropdown-header.disabled{opacity:.5;pointer-events:none;cursor:not-allowed}.dropdown-select-container .dropdown-options{position:absolute;width:100%;border:1px solid var(--border-color);box-shadow:0 2px 4px #0000001a;display:flex;flex-direction:column;background-color:var(--secondary-bg);border-radius:4px;z-index:101;max-height:300px}.dropdown-select-container .dropdown-options.position-top{top:auto;bottom:100%}.dropdown-select-container .dropdown-options .search-input{padding:8px 10px}.dropdown-select-container .dropdown-options .option{padding:8px 10px;cursor:pointer;transition:background-color .3s}.dropdown-select-container .dropdown-options .option:hover,.dropdown-select-container .dropdown-options .option.selected{background-color:var(--hover-bg)}.dropdown-select-container.sm .dropdown-header{height:28px}.dropdown-select-container.sm .dropdown-options .option{padding:6px 8px}.dropdown-select-container.md .dropdown-header{height:32px}.dropdown-select-container.md .dropdown-options .option{padding:10px 12px}.dropdown-select-container.lg .dropdown-header{height:36px}.dropdown-select-container.lg .dropdown-options .option{padding:12px 14px}input.clear{padding:0;margin:0;border:none;background:none;box-shadow:none;outline:none;width:100%}input.clear:focus{outline:none}input.clear::-ms-clear{display:none}input.clear::-webkit-search-cancel-button{display:none}input.clear::-webkit-search-clear-button{display:none}input.clear::-webkit-inner-spin-button{display:none}input.clear::-webkit-outer-spin-button{display:none}input.clear::-webkit-input-placeholder{color:transparent}input.clear::-moz-placeholder{color:transparent}input.clear:-ms-input-placeholder{color:transparent}input.clear:disabled{color:var(--font-color)}.form-control input[type=radio]{display:none}.form-control input[type=radio]+label{position:relative;padding-left:30px;cursor:pointer;margin-left:0}.form-control input[type=radio]+label:before{content:"";position:absolute;top:50%;left:0;transform:translateY(-50%);width:18px;height:18px;border:1px solid var(--brand-primary);border-radius:50%}.form-control input[type=radio]+label:after{content:"";position:absolute;top:50%;left:5px;transform:translateY(-50%) scale(0);width:8px;height:8px;border-radius:50%;background-color:var(--brand-primary);transition:transform .2s ease-in-out}.form-control input[type=radio]:checked+label:after{transform:translateY(-50%) scale(1)}.switch{position:relative;display:inline-block;width:36px;height:20px;margin:0}.switch input{opacity:0;width:0;height:0}.switch .slider{position:absolute;cursor:pointer;inset:0;background-color:#ccc;transition:.4s;border-radius:24px}.switch .slider:before{position:absolute;content:"";height:16px;width:16px;left:2px;bottom:2px;background-color:#fff;transition:.4s;border-radius:50%}.switch input:checked+.slider{background-color:#2196f3}.switch input:focus+.slider{box-shadow:0 0 1px #2196f3}.switch input:checked+.slider:before{transform:translate(16px)}.switch.sm{width:30px;height:14px}.switch.sm .slider{border-radius:14px}.switch.sm .slider:before{height:10px;width:10px;left:2px;bottom:2px}.switch.lg{width:40px;height:24px}.switch.lg .slider{border-radius:24px}.switch.lg .slider:before{height:20px;width:20px;left:2px;bottom:2px}.switch.has-info input:checked+.slider{background-color:#67c2ec}.switch.has-success input:checked+.slider{background-color:#66bf60}.switch.has-warning input:checked+.slider{background-color:#fd9a17}.switch.has-error .slider{background-color:#f15554}.switch.disabled input:checked+.slider{background-color:#ccc}/*!
|
|
1
|
+
*,*:before,*:after{box-sizing:border-box}html{font-family:sans-serif;line-height:1.15;-webkit-text-size-adjust:100%;-webkit-tap-highlight-color:transparent}body{margin:0;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,Liberation Sans,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji";font-size:1rem;font-weight:400;line-height:1.5;color:#212529;background-color:#fff;text-align:left}a{color:#007bff;text-decoration:none;background-color:transparent}a:hover{color:#0056b3;text-decoration:underline}a:not([href]):not([class]){color:inherit;text-decoration:none}a:not([href]):not([class]):hover{color:inherit;text-decoration:none}hr{box-sizing:content-box;height:0;border:0;border-top:1px solid #dee2e6;overflow:visible}img,svg{vertical-align:middle;border-style:none}svg{overflow:hidden}table{border-collapse:collapse}caption{padding:.75rem 0;color:#6c757d;text-align:left;caption-side:bottom}th{text-align:inherit}p,h1,h2,h3,h4,h5,h6,figure,blockquote,dl,ol,ul,pre{margin:0 0 1rem}h1,h2,h3,h4,h5,h6{margin-top:0;margin-bottom:.5rem}b,strong{font-weight:bolder}small{font-size:80%}sub,sup{position:relative;font-size:75%;line-height:0;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}code,kbd,samp,pre{font-family:SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-size:1em}address{font-style:normal;line-height:inherit;margin-bottom:1rem}abbr[title],abbr[data-original-title]{text-decoration:underline dotted;text-decoration-skip-ink:none;cursor:help;border-bottom:0}dl,ol,ul{margin-top:0;margin-bottom:1rem}dl ol,dl ul,ol ol,ol ul,ul ol,ul ul{margin-bottom:0}dd{margin-left:0;margin-bottom:.5rem}button,input,select,textarea{font-family:inherit;font-size:inherit;line-height:inherit;margin:0}button{border-radius:0;overflow:visible;text-transform:none}button:focus:not(:focus-visible){outline:0}button::-moz-focus-inner{padding:0;border-style:none}button:not(:disabled){cursor:pointer}input[type=checkbox],input[type=radio]{box-sizing:border-box;padding:0}textarea{overflow:auto;resize:vertical}fieldset{padding:0;margin:0;border:0;min-width:0}legend{display:block;width:100%;max-width:100%;padding:0;margin-bottom:.5rem;font-size:1.5rem;color:inherit;white-space:normal}[tabindex="-1"]:focus:not(:focus-visible){outline:0!important}[role=button]{cursor:pointer}[type=button],[type=reset],[type=submit]{appearance:button}[type=button]:not(:disabled),[type=reset]:not(:disabled),[type=submit]:not(:disabled){cursor:pointer}[type=button]::-moz-focus-inner,[type=reset]::-moz-focus-inner,[type=submit]::-moz-focus-inner{padding:0;border-style:none}[type=search]{-webkit-appearance:none;appearance:none;outline-offset:-2px}[type=search]::-webkit-search-decoration{-webkit-appearance:none}[type=number]::-webkit-inner-spin-button,[type=number]::-webkit-outer-spin-button{height:auto}::-webkit-file-upload-button{font:inherit;-webkit-appearance:button}output{display:inline-block}summary{display:list-item;cursor:pointer}template,[hidden]{display:none!important}.row{display:flex;flex-wrap:wrap;margin-right:-10px;margin-left:-10px}.row>*{position:relative;width:100%;padding-right:10px;padding-left:10px}.col{flex-basis:0;flex-grow:1;max-width:100%}.col-auto{flex:0 0 auto;width:auto;max-width:100%}.col-1{flex:0 0 calc(1 / 12 * 100%);max-width:calc(1 / 12 * 100%)}.offset-1{margin-left:calc(1 / 12 * 100%)}.col-2{flex:0 0 calc(2 / 12 * 100%);max-width:calc(2 / 12 * 100%)}.offset-2{margin-left:calc(2 / 12 * 100%)}.col-3{flex:0 0 25%;max-width:25%}.offset-3{margin-left:25%}.col-4{flex:0 0 calc(4 / 12 * 100%);max-width:calc(4 / 12 * 100%)}.offset-4{margin-left:calc(4 / 12 * 100%)}.col-5{flex:0 0 calc(5 / 12 * 100%);max-width:calc(5 / 12 * 100%)}.offset-5{margin-left:calc(5 / 12 * 100%)}.col-6{flex:0 0 50%;max-width:50%}.offset-6{margin-left:50%}.col-7{flex:0 0 calc(7 / 12 * 100%);max-width:calc(7 / 12 * 100%)}.offset-7{margin-left:calc(7 / 12 * 100%)}.col-8{flex:0 0 calc(8 / 12 * 100%);max-width:calc(8 / 12 * 100%)}.offset-8{margin-left:calc(8 / 12 * 100%)}.col-9{flex:0 0 75%;max-width:75%}.offset-9{margin-left:75%}.col-10{flex:0 0 calc(10 / 12 * 100%);max-width:calc(10 / 12 * 100%)}.offset-10{margin-left:calc(10 / 12 * 100%)}.col-11{flex:0 0 calc(11 / 12 * 100%);max-width:calc(11 / 12 * 100%)}.offset-11{margin-left:calc(11 / 12 * 100%)}.col-12{flex:0 0 100%;max-width:100%}.offset-12{margin-left:100%}.order-0{order:0}.order-1{order:1}.order-2{order:2}.order-3{order:3}.order-4{order:4}.order-5{order:5}.order-6{order:6}.order-7{order:7}.order-8{order:8}.order-9{order:9}.order-10{order:10}.order-11{order:11}.order-12{order:12}@media (min-width: 768px){.col-sm{flex-basis:0;flex-grow:1;max-width:100%}.col-sm-auto{flex:0 0 auto;width:auto;max-width:100%}.col-sm-1{flex:0 0 calc(1 / 12 * 100%);max-width:calc(1 / 12 * 100%)}.offset-sm-1{margin-left:calc(1 / 12 * 100%)}.col-sm-2{flex:0 0 calc(2 / 12 * 100%);max-width:calc(2 / 12 * 100%)}.offset-sm-2{margin-left:calc(2 / 12 * 100%)}.col-sm-3{flex:0 0 25%;max-width:25%}.offset-sm-3{margin-left:25%}.col-sm-4{flex:0 0 calc(4 / 12 * 100%);max-width:calc(4 / 12 * 100%)}.offset-sm-4{margin-left:calc(4 / 12 * 100%)}.col-sm-5{flex:0 0 calc(5 / 12 * 100%);max-width:calc(5 / 12 * 100%)}.offset-sm-5{margin-left:calc(5 / 12 * 100%)}.col-sm-6{flex:0 0 50%;max-width:50%}.offset-sm-6{margin-left:50%}.col-sm-7{flex:0 0 calc(7 / 12 * 100%);max-width:calc(7 / 12 * 100%)}.offset-sm-7{margin-left:calc(7 / 12 * 100%)}.col-sm-8{flex:0 0 calc(8 / 12 * 100%);max-width:calc(8 / 12 * 100%)}.offset-sm-8{margin-left:calc(8 / 12 * 100%)}.col-sm-9{flex:0 0 75%;max-width:75%}.offset-sm-9{margin-left:75%}.col-sm-10{flex:0 0 calc(10 / 12 * 100%);max-width:calc(10 / 12 * 100%)}.offset-sm-10{margin-left:calc(10 / 12 * 100%)}.col-sm-11{flex:0 0 calc(11 / 12 * 100%);max-width:calc(11 / 12 * 100%)}.offset-sm-11{margin-left:calc(11 / 12 * 100%)}.col-sm-12{flex:0 0 100%;max-width:100%}.offset-sm-12{margin-left:100%}.order-sm-0{order:0}.order-sm-1{order:1}.order-sm-2{order:2}.order-sm-3{order:3}.order-sm-4{order:4}.order-sm-5{order:5}.order-sm-6{order:6}.order-sm-7{order:7}.order-sm-8{order:8}.order-sm-9{order:9}.order-sm-10{order:10}.order-sm-11{order:11}.order-sm-12{order:12}}@media (min-width: 992px){.col-md{flex-basis:0;flex-grow:1;max-width:100%}.col-md-auto{flex:0 0 auto;width:auto;max-width:100%}.col-md-1{flex:0 0 calc(1 / 12 * 100%);max-width:calc(1 / 12 * 100%)}.offset-md-1{margin-left:calc(1 / 12 * 100%)}.col-md-2{flex:0 0 calc(2 / 12 * 100%);max-width:calc(2 / 12 * 100%)}.offset-md-2{margin-left:calc(2 / 12 * 100%)}.col-md-3{flex:0 0 25%;max-width:25%}.offset-md-3{margin-left:25%}.col-md-4{flex:0 0 calc(4 / 12 * 100%);max-width:calc(4 / 12 * 100%)}.offset-md-4{margin-left:calc(4 / 12 * 100%)}.col-md-5{flex:0 0 calc(5 / 12 * 100%);max-width:calc(5 / 12 * 100%)}.offset-md-5{margin-left:calc(5 / 12 * 100%)}.col-md-6{flex:0 0 50%;max-width:50%}.offset-md-6{margin-left:50%}.col-md-7{flex:0 0 calc(7 / 12 * 100%);max-width:calc(7 / 12 * 100%)}.offset-md-7{margin-left:calc(7 / 12 * 100%)}.col-md-8{flex:0 0 calc(8 / 12 * 100%);max-width:calc(8 / 12 * 100%)}.offset-md-8{margin-left:calc(8 / 12 * 100%)}.col-md-9{flex:0 0 75%;max-width:75%}.offset-md-9{margin-left:75%}.col-md-10{flex:0 0 calc(10 / 12 * 100%);max-width:calc(10 / 12 * 100%)}.offset-md-10{margin-left:calc(10 / 12 * 100%)}.col-md-11{flex:0 0 calc(11 / 12 * 100%);max-width:calc(11 / 12 * 100%)}.offset-md-11{margin-left:calc(11 / 12 * 100%)}.col-md-12{flex:0 0 100%;max-width:100%}.offset-md-12{margin-left:100%}.order-md-0{order:0}.order-md-1{order:1}.order-md-2{order:2}.order-md-3{order:3}.order-md-4{order:4}.order-md-5{order:5}.order-md-6{order:6}.order-md-7{order:7}.order-md-8{order:8}.order-md-9{order:9}.order-md-10{order:10}.order-md-11{order:11}.order-md-12{order:12}}@media (min-width: 1200px){.col-lg{flex-basis:0;flex-grow:1;max-width:100%}.col-lg-auto{flex:0 0 auto;width:auto;max-width:100%}.col-lg-1{flex:0 0 calc(1 / 12 * 100%);max-width:calc(1 / 12 * 100%)}.offset-lg-1{margin-left:calc(1 / 12 * 100%)}.col-lg-2{flex:0 0 calc(2 / 12 * 100%);max-width:calc(2 / 12 * 100%)}.offset-lg-2{margin-left:calc(2 / 12 * 100%)}.col-lg-3{flex:0 0 25%;max-width:25%}.offset-lg-3{margin-left:25%}.col-lg-4{flex:0 0 calc(4 / 12 * 100%);max-width:calc(4 / 12 * 100%)}.offset-lg-4{margin-left:calc(4 / 12 * 100%)}.col-lg-5{flex:0 0 calc(5 / 12 * 100%);max-width:calc(5 / 12 * 100%)}.offset-lg-5{margin-left:calc(5 / 12 * 100%)}.col-lg-6{flex:0 0 50%;max-width:50%}.offset-lg-6{margin-left:50%}.col-lg-7{flex:0 0 calc(7 / 12 * 100%);max-width:calc(7 / 12 * 100%)}.offset-lg-7{margin-left:calc(7 / 12 * 100%)}.col-lg-8{flex:0 0 calc(8 / 12 * 100%);max-width:calc(8 / 12 * 100%)}.offset-lg-8{margin-left:calc(8 / 12 * 100%)}.col-lg-9{flex:0 0 75%;max-width:75%}.offset-lg-9{margin-left:75%}.col-lg-10{flex:0 0 calc(10 / 12 * 100%);max-width:calc(10 / 12 * 100%)}.offset-lg-10{margin-left:calc(10 / 12 * 100%)}.col-lg-11{flex:0 0 calc(11 / 12 * 100%);max-width:calc(11 / 12 * 100%)}.offset-lg-11{margin-left:calc(11 / 12 * 100%)}.col-lg-12{flex:0 0 100%;max-width:100%}.offset-lg-12{margin-left:100%}.order-lg-0{order:0}.order-lg-1{order:1}.order-lg-2{order:2}.order-lg-3{order:3}.order-lg-4{order:4}.order-lg-5{order:5}.order-lg-6{order:6}.order-lg-7{order:7}.order-lg-8{order:8}.order-lg-9{order:9}.order-lg-10{order:10}.order-lg-11{order:11}.order-lg-12{order:12}}@media (min-width: 1600px){.col-xl{flex-basis:0;flex-grow:1;max-width:100%}.col-xl-auto{flex:0 0 auto;width:auto;max-width:100%}.col-xl-1{flex:0 0 calc(1 / 12 * 100%);max-width:calc(1 / 12 * 100%)}.offset-xl-1{margin-left:calc(1 / 12 * 100%)}.col-xl-2{flex:0 0 calc(2 / 12 * 100%);max-width:calc(2 / 12 * 100%)}.offset-xl-2{margin-left:calc(2 / 12 * 100%)}.col-xl-3{flex:0 0 25%;max-width:25%}.offset-xl-3{margin-left:25%}.col-xl-4{flex:0 0 calc(4 / 12 * 100%);max-width:calc(4 / 12 * 100%)}.offset-xl-4{margin-left:calc(4 / 12 * 100%)}.col-xl-5{flex:0 0 calc(5 / 12 * 100%);max-width:calc(5 / 12 * 100%)}.offset-xl-5{margin-left:calc(5 / 12 * 100%)}.col-xl-6{flex:0 0 50%;max-width:50%}.offset-xl-6{margin-left:50%}.col-xl-7{flex:0 0 calc(7 / 12 * 100%);max-width:calc(7 / 12 * 100%)}.offset-xl-7{margin-left:calc(7 / 12 * 100%)}.col-xl-8{flex:0 0 calc(8 / 12 * 100%);max-width:calc(8 / 12 * 100%)}.offset-xl-8{margin-left:calc(8 / 12 * 100%)}.col-xl-9{flex:0 0 75%;max-width:75%}.offset-xl-9{margin-left:75%}.col-xl-10{flex:0 0 calc(10 / 12 * 100%);max-width:calc(10 / 12 * 100%)}.offset-xl-10{margin-left:calc(10 / 12 * 100%)}.col-xl-11{flex:0 0 calc(11 / 12 * 100%);max-width:calc(11 / 12 * 100%)}.offset-xl-11{margin-left:calc(11 / 12 * 100%)}.col-xl-12{flex:0 0 100%;max-width:100%}.offset-xl-12{margin-left:100%}.order-xl-0{order:0}.order-xl-1{order:1}.order-xl-2{order:2}.order-xl-3{order:3}.order-xl-4{order:4}.order-xl-5{order:5}.order-xl-6{order:6}.order-xl-7{order:7}.order-xl-8{order:8}.order-xl-9{order:9}.order-xl-10{order:10}.order-xl-11{order:11}.order-xl-12{order:12}}.hidden-xs-up{display:none!important}@media (min-width: 768px){.hidden-sm-up{display:none!important}}@media (max-width: 767.98px){.hidden-sm-down{display:none!important}}@media (min-width: 992px){.hidden-md-up{display:none!important}}@media (max-width: 991.98px){.hidden-md-down{display:none!important}}@media (min-width: 1200px){.hidden-lg-up{display:none!important}}@media (max-width: 1199.98px){.hidden-lg-down{display:none!important}}@media (min-width: 1600px){.hidden-xl-up{display:none!important}}@media (max-width: 1599.98px){.hidden-xl-down{display:none!important}}.container{width:100%;padding-right:10px;padding-left:10px;margin-right:auto;margin-left:auto;max-width:100%}@media (min-width: 768px){.container{max-width:720px}}@media (min-width: 992px){.container{max-width:960px}}@media (min-width: 1200px){.container{max-width:1140px}}@media (min-width: 1600px){.container{max-width:1300px}}.d-flex{display:flex!important}.flex-wrap{flex-wrap:wrap!important}.flex-nowrap{flex-wrap:nowrap!important}.gap-5{gap:5px}.gap-10{gap:10px}.gap-15{gap:15px}.gap-20{gap:20px}.flex-bs5{flex-basis:5%;overflow:hidden}.flex-bs10{flex-basis:10%;overflow:hidden}.flex-bs15{flex-basis:15%;overflow:hidden}.flex-bs20{flex-basis:20%;overflow:hidden}.flex-bs25{flex-basis:25%;overflow:hidden}.flex-bs30{flex-basis:30%;overflow:hidden}.flex-bs35{flex-basis:35%;overflow:hidden}.flex-bs40{flex-basis:40%;overflow:hidden}.flex-bs45{flex-basis:45%;overflow:hidden}.flex-bs50{flex-basis:50%;overflow:hidden}.flex-bs55{flex-basis:55%;overflow:hidden}.flex-bs60{flex-basis:60%;overflow:hidden}.flex-bs65{flex-basis:65%;overflow:hidden}.flex-bs70{flex-basis:70%;overflow:hidden}.flex-bs75{flex-basis:75%;overflow:hidden}.flex-bs80{flex-basis:80%;overflow:hidden}.flex-bs85{flex-basis:85%;overflow:hidden}.flex-bs90{flex-basis:90%;overflow:hidden}.flex-bs95{flex-basis:95%;overflow:hidden}.flex-bs100{flex-basis:100%;overflow:hidden}.flex-grow0{flex-grow:0}.flex-shrink0{flex-shrink:0}.flex-grow1{flex-grow:1}.flex-shrink1{flex-shrink:1}.flex-grow2{flex-grow:2}.flex-shrink2{flex-shrink:2}.flex-grow3{flex-grow:3}.flex-shrink3{flex-shrink:3}.flex-grow4{flex-grow:4}.flex-shrink4{flex-shrink:4}.flex-grow5{flex-grow:5}.flex-shrink5{flex-shrink:5}.flex-direction-row{flex-direction:row!important}.flex-direction-row-reverse{flex-direction:row-reverse!important}.flex-direction-column{flex-direction:column!important}.flex-direction-column-reverse{flex-direction:column-reverse!important}.align-items-start{align-items:flex-start}.align-items-center{align-items:center}.align-items-end{align-items:flex-end}.align-items-baseline{align-items:baseline}.align-items-stretch{align-items:stretch}.justify-content-start{justify-content:flex-start!important}.justify-content-center{justify-content:center!important}.justify-content-end{justify-content:flex-end!important}.justify-content-space-between{justify-content:space-between!important}.justify-content-space-around{justify-content:space-around!important}.justify-content-space-evenly{justify-content:space-evenly!important}.align-self-auto{align-self:auto}.align-self-start{align-self:flex-start}.align-self-center{align-self:center}.align-self-end{align-self:flex-end}.align-self-stretch{align-self:stretch}.align-self-baseline{align-self:baseline}:root{--logo-color: #262626;--font-color: #222222;--font-color-secondary: #333;--link-color: #262626;--link-active-color: #1668dc;--border-color: #dee1e1;--form-border-color: #ccc;--primary-bg: #f4f4f6;--secondary-bg: #fff;--scrollbar-bg: #cfcfcf;--hover-bg: #e6f4ff;--hover-bg-secondary: #f5fbff;--menu-color: #262626;--navbar-bg: #fff;--gray-lighter: #f9f9f9;--black-white: #000;--white-black: #fff;--brand-primary: #1668dc;--brand-success: #66bf60;--brand-info: #67c2ec;--brand-warning: #fd9a17;--brand-danger: #f15554;--login-page-bg: linear-gradient(180deg, #eff7fe 50%, #c2e1ff);--login-page-shadow: 0px 0px 40px 0px rgba(0, 101, 248, .08);--login-page-border: 2px solid #fff}[data-theme=dark]{--logo-color: #c3c4c6;--font-color: #c3c4c6;--font-color-secondary: #88898d;--link-color: #f4f4f6;--link-active-color: #1668dc;--border-color: #3b403d;--form-border-color: #3b403d;--primary-bg: #2c302e;--secondary-bg: #313533;--scrollbar-bg: #777;--hover-bg: #2c302e;--hover-bg-secondary: #2e2e2e;--menu-color: #bfbfbf;--navbar-bg: #313533;--gray-lighter: #f9f9f9;--black-white: #fff;--white-black: #000;--brand-primary: #1668dc;--brand-success: #66bf60;--brand-info: #67c2ec;--brand-warning: #fd9a17;--brand-danger: #f15554;--login-page-bg: linear-gradient(180deg, #313533 50%, #1e2220);--login-page-shadow: 0px 0px 40px 0px rgba(0, 0, 0, .25);--login-page-border: 2px solid #313533}body{background:var(--primary-bg)}#root{height:100vh}a{text-decoration:none;color:var(--link-color)}a:hover{color:var(--link-color);text-decoration:underline}hr{margin-top:20px;margin-bottom:20px;border:0;border-top:1px solid var(--border-color)}.main{position:relative;min-height:calc(100vh - 60px);left:230px;top:60px;width:calc(100% - 230px);transition:all .5s ease;display:flex;flex-direction:column;padding:30px}@media (max-width: 768px){.main{left:0;right:0;width:100%;padding:15px}}.fi-icon{height:16px;width:16px;color:#545a6d;fill:#545a6d33;margin-right:4px;margin-top:-3px}.scrollbar,.scrollbar-auto{scrollbar-color:var(--scrollbar-bg) var(--secondary-bg);scrollbar-width:thin;overflow:auto;position:relative}.scrollbar::-webkit-scrollbar,.scrollbar-auto::-webkit-scrollbar{width:6px;height:6px;opacity:0;transition:opacity .3s ease}.scrollbar::-webkit-scrollbar-track,.scrollbar-auto::-webkit-scrollbar-track{background:var(--secondary-bg)}.scrollbar::-webkit-scrollbar-thumb,.scrollbar-auto::-webkit-scrollbar-thumb{background-color:var(--scrollbar-bg);border-radius:20px;border:1px solid var(--scrollbar-bg)}.scrollbar:hover::-webkit-scrollbar,.scrollbar:focus::-webkit-scrollbar,.scrollbar:active::-webkit-scrollbar,.scrollbar-auto:hover::-webkit-scrollbar,.scrollbar-auto:focus::-webkit-scrollbar,.scrollbar-auto:active::-webkit-scrollbar{opacity:1}.scrollbar::-webkit-scrollbar{height:6px;width:6px}.scrollbar-auto{overflow:auto}.scrollbar-auto::-webkit-scrollbar{opacity:0}.scrollbar-auto:hover::-webkit-scrollbar,.scrollbar-auto:focus::-webkit-scrollbar,.scrollbar-auto:active::-webkit-scrollbar{opacity:1}.scrollbar::-webkit-scrollbar-corner{background-color:transparent}.no-border-radius{border-radius:0!important}.no-border-radius-top-left{border-top-left-radius:0!important}.no-border-radius-top-right{border-top-right-radius:0!important}.no-border-radius-bottom-left{border-bottom-left-radius:0!important}.no-border-radius-bottom-right{border-bottom-right-radius:0!important}.no-border-radius-top{border-top-left-radius:0!important;border-top-right-radius:0!important}.no-border-radius-bottom{border-bottom-left-radius:0!important;border-bottom-right-radius:0!important}.no-border-radius-left{border-top-left-radius:0!important;border-bottom-left-radius:0!important}.no-border-radius-right{border-top-right-radius:0!important;border-bottom-right-radius:0!important}.no-border{border:none!important}.no-border-top{border-top:none!important}.no-border-right{border-right:none!important}.no-border-bottom{border-bottom:none!important}.no-border-left{border-left:none!important}.border-radius{border-radius:4px}.border-radius-top-left{border-top-left-radius:4px}.border-radius-top-right{border-top-right-radius:4px}.border-radius-bottom-left{border-bottom-left-radius:4px}.border-radius-bottom-right{border-bottom-right-radius:4px}.rounded-circle{border-radius:50%}.border{border:1px solid var(--border-color)}.border-bottom{border-bottom:1px solid var(--border-color)}.border-top{border-top:1px solid var(--border-color)}.border-left{border-left:1px solid var(--border-color)}.border-right{border-right:1px solid var(--border-color)}.m-0{margin:0!important}.m-5{margin:5px!important}.m-10{margin:10px!important}.m-15{margin:15px!important}.m-20{margin:20px!important}.m-30{margin:30px!important}.m-40{margin:40px!important}.m-50{margin:50px!important}.m-100{margin:100px!important}.m-150{margin:150px!important}.m-200{margin:200px!important}.mt-0{margin-top:0!important}.mt-5{margin-top:5px!important}.mt-10{margin-top:10px!important}.mt-15{margin-top:15px!important}.mt-20{margin-top:20px!important}.mt-30{margin-top:30px!important}.mt-40{margin-top:40px!important}.mt-50{margin-top:50px!important}.mt-100{margin-top:100px!important}.mt-150{margin-top:150px!important}.mt-200{margin-top:200px!important}.mb-0{margin-bottom:0!important}.mb-5{margin-bottom:5px!important}.mb-10{margin-bottom:10px!important}.mb-15{margin-bottom:15px!important}.mb-20{margin-bottom:20px!important}.mb-30{margin-bottom:30px!important}.mb-40{margin-bottom:40px!important}.mb-50{margin-bottom:50px!important}.mb-100{margin-bottom:100px!important}.mb-150{margin-bottom:150px!important}.mb-200{margin-bottom:200px!important}.mr-0{margin-right:0!important}.mr-5{margin-right:5px!important}.mr-10{margin-right:10px!important}.mr-15{margin-right:15px!important}.mr-20{margin-right:20px!important}.mr-30{margin-right:30px!important}.mr-40{margin-right:40px!important}.mr-50{margin-right:50px!important}.mr-100{margin-right:100px!important}.mr-150{margin-right:150px!important}.mr-200{margin-right:200px!important}.ml-0{margin-left:0!important}.ml-5{margin-left:5px!important}.ml-10{margin-left:10px!important}.ml-15{margin-left:15px!important}.ml-20{margin-left:20px!important}.ml-30{margin-left:30px!important}.ml-40{margin-left:40px!important}.ml-50{margin-left:50px!important}.ml-100{margin-left:100px!important}.ml-150{margin-left:150px!important}.ml-200{margin-left:200px!important}.ma{margin:auto!important}.mt-a{margin-top:auto!important}.mb-a{margin-bottom:auto!important}.mr-a{margin-right:auto!important}.ml-a{margin-left:auto!important}.p-0{padding:0!important}.pt-0{padding-top:0!important}.pb-0{padding-bottom:0!important}.pr-0{padding-right:0!important}.pl-0{padding-left:0!important}.p-1{padding:1px!important}.pt-1{padding-top:1px!important}.pb-1{padding-bottom:1px!important}.pr-1{padding-right:1px!important}.pl-1{padding-left:1px!important}.p-2{padding:2px!important}.pt-2{padding-top:2px!important}.pb-2{padding-bottom:2px!important}.pr-2{padding-right:2px!important}.pl-2{padding-left:2px!important}.p-3{padding:3px!important}.pt-3{padding-top:3px!important}.pb-3{padding-bottom:3px!important}.pr-3{padding-right:3px!important}.pl-3{padding-left:3px!important}.p-4{padding:4px!important}.pt-4{padding-top:4px!important}.pb-4{padding-bottom:4px!important}.pr-4{padding-right:4px!important}.pl-4{padding-left:4px!important}.p-5{padding:5px!important}.pt-5{padding-top:5px!important}.pb-5{padding-bottom:5px!important}.pr-5{padding-right:5px!important}.pl-5{padding-left:5px!important}.p-10{padding:10px!important}.pt-10{padding-top:10px!important}.pb-10{padding-bottom:10px!important}.pr-10{padding-right:10px!important}.pl-10{padding-left:10px!important}.p-15{padding:15px!important}.pt-15{padding-top:15px!important}.pb-15{padding-bottom:15px!important}.pr-15{padding-right:15px!important}.pl-15{padding-left:15px!important}.p-20{padding:20px!important}.pt-20{padding-top:20px!important}.pb-20{padding-bottom:20px!important}.pr-20{padding-right:20px!important}.pl-20{padding-left:20px!important}.p-25{padding:25px!important}.pt-25{padding-top:25px!important}.pb-25{padding-bottom:25px!important}.pr-25{padding-right:25px!important}.pl-25{padding-left:25px!important}.p-30{padding:30px!important}.pt-30{padding-top:30px!important}.pb-30{padding-bottom:30px!important}.pr-30{padding-right:30px!important}.pl-30{padding-left:30px!important}.p-35{padding:35px!important}.pt-35{padding-top:35px!important}.pb-35{padding-bottom:35px!important}.pr-35{padding-right:35px!important}.pl-35{padding-left:35px!important}.p-40{padding:40px!important}.pt-40{padding-top:40px!important}.pb-40{padding-bottom:40px!important}.pr-40{padding-right:40px!important}.pl-40{padding-left:40px!important}.p-45{padding:45px!important}.pt-45{padding-top:45px!important}.pb-45{padding-bottom:45px!important}.pr-45{padding-right:45px!important}.pl-45{padding-left:45px!important}.p-50{padding:50px!important}.pt-50{padding-top:50px!important}.pb-50{padding-bottom:50px!important}.pr-50{padding-right:50px!important}.pl-50{padding-left:50px!important}.w-10px{width:10px!important}.min-w-10px{min-width:10px!important}.max-w-10px{max-width:10px!important}.w-15px{width:15px!important}.min-w-15px{min-width:15px!important}.max-w-15px{max-width:15px!important}.w-20px{width:20px!important}.min-w-20px{min-width:20px!important}.max-w-20px{max-width:20px!important}.w-25px{width:25px!important}.min-w-25px{min-width:25px!important}.max-w-25px{max-width:25px!important}.w-30px{width:30px!important}.min-w-30px{min-width:30px!important}.max-w-30px{max-width:30px!important}.w-40px{width:40px!important}.min-w-40px{min-width:40px!important}.max-w-40px{max-width:40px!important}.w-50px{width:50px!important}.min-w-50px{min-width:50px!important}.max-w-50px{max-width:50px!important}.w-60px{width:60px!important}.min-w-60px{min-width:60px!important}.max-w-60px{max-width:60px!important}.w-70px{width:70px!important}.min-w-70px{min-width:70px!important}.max-w-70px{max-width:70px!important}.w-80px{width:80px!important}.min-w-80px{min-width:80px!important}.max-w-80px{max-width:80px!important}.w-90px{width:90px!important}.min-w-90px{min-width:90px!important}.max-w-90px{max-width:90px!important}.w-100px{width:100px!important}.min-w-100px{min-width:100px!important}.max-w-100px{max-width:100px!important}.w-110px{width:110px!important}.min-w-110px{min-width:110px!important}.max-w-110px{max-width:110px!important}.w-120px{width:120px!important}.min-w-120px{min-width:120px!important}.max-w-120px{max-width:120px!important}.w-130px{width:130px!important}.min-w-130px{min-width:130px!important}.max-w-130px{max-width:130px!important}.w-140px{width:140px!important}.min-w-140px{min-width:140px!important}.max-w-140px{max-width:140px!important}.w-150px{width:150px!important}.min-w-150px{min-width:150px!important}.max-w-150px{max-width:150px!important}.w-200px{width:200px!important}.min-w-200px{min-width:200px!important}.max-w-200px{max-width:200px!important}.w-250px{width:250px!important}.min-w-250px{min-width:250px!important}.max-w-250px{max-width:250px!important}.w-300px{width:300px!important}.min-w-300px{min-width:300px!important}.max-w-300px{max-width:300px!important}.w-350px{width:350px!important}.min-w-350px{min-width:350px!important}.max-w-350px{max-width:350px!important}.w-400px{width:400px!important}.min-w-400px{min-width:400px!important}.max-w-400px{max-width:400px!important}.w-450px{width:450px!important}.min-w-450px{min-width:450px!important}.max-w-450px{max-width:450px!important}.w-500px{width:500px!important}.min-w-500px{min-width:500px!important}.max-w-500px{max-width:500px!important}.w-auto{width:auto!important}.w-100{width:100%!important}.vw-100{width:100vw!important}.min-w-100{min-width:100%!important}.max-w-100{max-width:100%!important}.h-10px{height:10px!important}.min-h-10px{min-height:10px!important}.max-h-10px{max-height:10px!important}.h-15px{height:15px!important}.min-h-15px{min-height:15px!important}.max-h-15px{max-height:15px!important}.h-20px{height:20px!important}.min-h-20px{min-height:20px!important}.max-h-20px{max-height:20px!important}.h-25px{height:25px!important}.min-h-25px{min-height:25px!important}.max-h-25px{max-height:25px!important}.h-30px{height:30px!important}.min-h-30px{min-height:30px!important}.max-h-30px{max-height:30px!important}.h-40px{height:40px!important}.min-h-40px{min-height:40px!important}.max-h-40px{max-height:40px!important}.h-50px{height:50px!important}.min-h-50px{min-height:50px!important}.max-h-50px{max-height:50px!important}.h-60px{height:60px!important}.min-h-60px{min-height:60px!important}.max-h-60px{max-height:60px!important}.h-70px{height:70px!important}.min-h-70px{min-height:70px!important}.max-h-70px{max-height:70px!important}.h-80px{height:80px!important}.min-h-80px{min-height:80px!important}.max-h-80px{max-height:80px!important}.h-90px{height:90px!important}.min-h-90px{min-height:90px!important}.max-h-90px{max-height:90px!important}.h-100px{height:100px!important}.min-h-100px{min-height:100px!important}.max-h-100px{max-height:100px!important}.h-110px{height:110px!important}.min-h-110px{min-height:110px!important}.max-h-110px{max-height:110px!important}.h-120px{height:120px!important}.min-h-120px{min-height:120px!important}.max-h-120px{max-height:120px!important}.h-130px{height:130px!important}.min-h-130px{min-height:130px!important}.max-h-130px{max-height:130px!important}.h-140px{height:140px!important}.min-h-140px{min-height:140px!important}.max-h-140px{max-height:140px!important}.h-150px{height:150px!important}.min-h-150px{min-height:150px!important}.max-h-150px{max-height:150px!important}.h-200px{height:200px!important}.min-h-200px{min-height:200px!important}.max-h-200px{max-height:200px!important}.h-250px{height:250px!important}.min-h-250px{min-height:250px!important}.max-h-250px{max-height:250px!important}.h-300px{height:300px!important}.min-h-300px{min-height:300px!important}.max-h-300px{max-height:300px!important}.h-350px{height:350px!important}.min-h-350px{min-height:350px!important}.max-h-350px{max-height:350px!important}.h-400px{height:400px!important}.min-h-400px{min-height:400px!important}.max-h-400px{max-height:400px!important}.h-450px{height:450px!important}.min-h-450px{min-height:450px!important}.max-h-450px{max-height:450px!important}.h-500px{height:500px!important}.min-h-500px{min-height:500px!important}.max-h-500px{max-height:500px!important}.h-auto{height:auto!important}.h-100{height:100%}.vh-100{height:100vh!important}.min-h-100{min-height:100%}.max-h-100{max-height:100%}.bg-primary{background-color:#1668dc!important;color:#f4f4f6!important}.bg-primary .tools .icon:hover{background:#0f4796!important}.bg-success{background-color:#66bf60!important;color:#f4f4f6!important}.bg-success .tools .icon:hover{background:#42963c!important}.bg-info{background-color:#67c2ec!important;color:#f4f4f6!important}.bg-info .tools .icon:hover{background:#23a7e4!important}.bg-warning{background-color:#fd9a17!important;color:#f4f4f6!important}.bg-warning .tools .icon:hover{background:#c67102!important}.bg-danger{background-color:#f15554!important;color:#f4f4f6!important}.bg-danger .tools .icon:hover{background:#e61413!important}.bg-gray{background-color:#f1f1f1!important;color:#4f4f4f!important}.bg-gray .tools .icon:hover{background:#cbcbcb!important}.box-primary{background-color:#1668dc1a;border:1px solid rgba(22,104,220,.3)}.box-success{background-color:#66bf601a;border:1px solid rgba(102,191,96,.3)}.box-info{background-color:#67c2ec33;border:1px solid rgba(103,194,236,.3)}.box-warning{background-color:#fd9a171a;border:1px solid rgba(253,154,23,.3)}.box-danger{background-color:#f155541a;border:1px solid rgba(241,85,84,.3)}.box-gray{background-color:#5555551a;border:1px solid rgba(85.425,85.425,85.425,.3)}.Toastify__toast-container--top-right{top:70px;right:5px}.Toastify__toast-container--top-left{top:70px;left:5px}.cursor-pointer{cursor:pointer}.cursor-not-allowed{cursor:not-allowed}.cursor-default{cursor:default}.cursor-wait{cursor:wait}.cursor-move{cursor:move}.cursor-help{cursor:help}.cursor-text{cursor:text}.cursor-auto{cursor:auto}.cursor-grab{cursor:grab}.cursor-grabbing{cursor:grabbing}.pointer-events-none{pointer-events:none}.pointer-events-auto{pointer-events:auto}.user-select-none{-webkit-user-select:none;user-select:none}.user-select-auto{-webkit-user-select:auto;user-select:auto}.resize-none{resize:none}.resize-both{resize:both}.resize-horizontal{resize:horizontal}.resize-vertical{resize:vertical}html{font-size:15px}@media (max-width: 767px){html{font-size:12px}}@media (min-width: 480px) and (max-width: 768px){html{font-size:13px}}@media (min-width: 768px) and (max-width: 992px){html{font-size:14px}}@media (min-width: 992px) and (max-width: 1200px){html{font-size:14.5px}}@media (min-width: 1200px) and (max-width: 1600px){html{font-size:15px}}body{font-family:Roboto,sans-serif;font-size:1rem;color:var(--font-color);line-height:1.5}h1,.h1{font-size:2.25rem;margin:20px 0 10px}h2,.h2{font-size:1.875rem;margin:20px 0 10px}h3,.h3{font-size:1.5rem;margin:20px 0 10px}h4,.h4{font-size:1.125rem;margin:10px 0}h5,.h5{font-size:.875rem;margin:10px 0}h6,.h6{font-size:.75rem;margin:10px 0}p{margin-bottom:20px;color:var(--font-color)}.lead{margin-bottom:20px;font-size:.875rem;font-weight:300;line-height:1.4}@media (min-width: 768px){.lead{font-size:.75rem}}small,.small{font-size:.75rem}mark,.mark{padding:.2em}.text-left{text-align:left}.text-right{text-align:right}.text-center{text-align:center}.text-justify{text-align:justify}.text-nowrap{white-space:nowrap}.text-lowercase{text-transform:lowercase}.text-uppercase{text-transform:uppercase}.text-capitalize{text-transform:capitalize}.text-muted{color:#777!important}.text-primary{color:#1668dc!important}.text-success{color:#66bf60!important}.text-info{color:#67c2ec!important}.text-warning{color:#fd9a17!important}.text-danger{color:#f15554!important}.list-unstyled{padding-left:0;list-style:none}dl{margin:0 0 20px}dt{font-weight:700}dd{margin-left:0;line-height:1}blockquote{padding:10px;margin:0 0 20px;font-size:1.2rem;border-left:5px solid var(--border-color)}blockquote p:last-child,blockquote ul:last-child,blockquote ol:last-child{margin-bottom:0}blockquote.pull-right{padding:0 15px 0 0;text-align:right;border-right:5px solid #eee;border-left:0}.text-bold{font-weight:600}.text-desc{color:var(--font-color-secondary);font-size:.8125rem}.word-wrap{word-wrap:break-word}.word-break-all{word-break:break-all}code{padding:2px 4px;font-size:.9rem;color:#c7254e;background-color:#f9f2f4;border-radius:4px}.fs-2{font-size:2rem}.fs-1-95{font-size:1.95rem}.fs-1-9{font-size:1.9rem}.fs-1-85{font-size:1.85rem}.fs-1-8{font-size:1.8rem}.fs-1-75{font-size:1.75rem}.fs-1-7{font-size:1.7rem}.fs-1-65{font-size:1.65rem}.fs-1-6{font-size:1.6rem}.fs-1-55{font-size:1.55rem}.fs-1-5{font-size:1.5rem}.fs-1-45{font-size:1.45rem}.fs-1-4{font-size:1.4rem}.fs-1-35{font-size:1.35rem}.fs-1-3{font-size:1.3rem}.fs-1-25{font-size:1.25rem}.fs-1-2{font-size:1.2rem}.fs-1-15{font-size:1.15rem}.fs-1-1{font-size:1.1rem}.fs-1-05{font-size:1.05rem}.fs-1{font-size:1rem}.fs-0-95{font-size:.95rem}.fs-0-9{font-size:.9rem}.fs-0-85{font-size:.85rem}.fs-0-8{font-size:.8rem}.fs-0-75{font-size:.75rem}.fs-0-7{font-size:.7rem}.position-relative{position:relative}.position-absolute{position:absolute}.position-fixed{position:fixed}.position-static{position:static}.position-sticky{position:sticky}.left-0{left:0}.left-5{left:5px}.left-10{left:10px}.left-15{left:15px}.right-0{right:0}.right-5{right:5px}.right-10{right:10px}.right-15{right:15px}.top-0{top:0}.top-5{top:5px}.top-10{top:10px}.top-15{top:15px}.bottom-0{bottom:0}.bottom-5{bottom:5px}.bottom-10{bottom:10px}.bottom-15{bottom:15px}.z-index-1{z-index:1}.z-index-100{z-index:100}.z-index-101{z-index:101}.z-index-1000{z-index:1000}.z-index-1001{z-index:1001}.z-index-10000{z-index:10000}.z-index-10001{z-index:10001}.z-index-100000{z-index:100000}.z-index-100001{z-index:100001}button:disabled,button[disabled]{color:var(--font-color-secondary)!important;background:transparent!important;cursor:not-allowed;pointer-events:none}.btn{border-radius:4px;padding:0 12px;display:inline-flex;height:32px;align-items:center;justify-content:center;touch-action:manipulation;background:none;border:1px solid transparent;white-space:nowrap;position:relative;line-height:1;gap:5px;color:var(--black-white)}.btn .icon,.btn svg{pointer-events:none}.btn svg{height:14px;width:14px;margin-top:0}.btn:hover{text-decoration:none}.btn:focus,.btn:active{box-shadow:inset 0 3px 5px #00000026}.btn.active{box-shadow:inset 0 3px 5px #0000001a;background-color:var(--primary-bg)}.btn.btn-default{color:var(--font-color);border-color:var(--border-color)}.btn.btn-default:hover{background-color:var(--primary-bg)}.btn.btn-primary,.btn.btn-success,.btn.btn-info,.btn.btn-warning,.btn.btn-danger{color:#fff}.btn.btn-primary.btn-primary,.btn.btn-success.btn-primary,.btn.btn-info.btn-primary,.btn.btn-warning.btn-primary,.btn.btn-danger.btn-primary{background-color:#1668dc;border-color:#0f4796}.btn.btn-primary.btn-primary:hover,.btn.btn-success.btn-primary:hover,.btn.btn-info.btn-primary:hover,.btn.btn-warning.btn-primary:hover,.btn.btn-danger.btn-primary:hover{background-color:#0d3c7f}.btn.btn-primary.btn-success,.btn.btn-success.btn-success,.btn.btn-info.btn-success,.btn.btn-warning.btn-success,.btn.btn-danger.btn-success{background-color:#66bf60;border-color:#42963c}.btn.btn-primary.btn-success:hover,.btn.btn-success.btn-success:hover,.btn.btn-info.btn-success:hover,.btn.btn-warning.btn-success:hover,.btn.btn-danger.btn-success:hover{background-color:#3a8435}.btn.btn-primary.btn-info,.btn.btn-success.btn-info,.btn.btn-info.btn-info,.btn.btn-warning.btn-info,.btn.btn-danger.btn-info{background-color:#67c2ec;border-color:#23a7e4}.btn.btn-primary.btn-info:hover,.btn.btn-success.btn-info:hover,.btn.btn-info.btn-info:hover,.btn.btn-warning.btn-info:hover,.btn.btn-danger.btn-info:hover{background-color:#1a98d3}.btn.btn-primary.btn-warning,.btn.btn-success.btn-warning,.btn.btn-info.btn-warning,.btn.btn-warning.btn-warning,.btn.btn-danger.btn-warning{background-color:#fd9a17;border-color:#c67102}.btn.btn-primary.btn-warning:hover,.btn.btn-success.btn-warning:hover,.btn.btn-info.btn-warning:hover,.btn.btn-warning.btn-warning:hover,.btn.btn-danger.btn-warning:hover{background-color:#ad6301}.btn.btn-primary.btn-danger,.btn.btn-success.btn-danger,.btn.btn-info.btn-danger,.btn.btn-warning.btn-danger,.btn.btn-danger.btn-danger{background-color:#f15554;border-color:#e61413}.btn.btn-primary.btn-danger:hover,.btn.btn-success.btn-danger:hover,.btn.btn-info.btn-danger:hover,.btn.btn-warning.btn-danger:hover,.btn.btn-danger.btn-danger:hover{background-color:#ce1211}.btn.btn-link{color:var(--link-color);background-color:transparent;border-color:transparent}.btn.btn-block{display:block;width:100%}.btn.btn-lg{height:36px}.btn.btn-sm{height:28px}.btn.btn-rounded{padding:0;width:35px;height:35px;text-align:center;border-radius:50%!important;font-size:14px}.btn.btn-round{border-radius:30px}.btn.btn-ripple{overflow:hidden}.btn.btn-ripple:before{content:"";position:absolute;top:0;left:0;width:0;height:0;transform:translate(-50%,-50%);border-radius:50%;background:#fff;opacity:.5;transition:width .5s,height .5s}.btn.btn-ripple:hover:before{width:300px;height:300px}.btn.loading svg{animation:spin 1s linear infinite;transform-origin:center}.btn-icon{border:none;width:35px;height:35px;font-size:1.3em;border-radius:50%;line-height:1;display:flex;align-items:center;justify-content:center;background:transparent;color:var(--black-white)}.btn-icon .icon{width:100%;height:auto}.btn-icon:hover.btn-default{background-color:#fff}.btn-icon:hover.btn-primary{background-color:#68a0f0}.btn-icon:hover.btn-success{background-color:#acdca9}.btn-icon:hover.btn-info{background-color:#c2e6f7}.btn-icon:hover.btn-warning{background-color:#fec67c}.btn-icon:hover.btn-danger{background-color:#f9b3b2}.btn-icon.btn-rounded .icon{border-radius:50%}.btn-toolbar{margin-left:-5px}.btn-toolbar>.btn,.btn-toolbar>.btn-group,.btn-toolbar>.input-group{margin-left:5px}.btn-group,.btn-group-vertical{position:relative}.btn-group>label,.btn-group-vertical>label{margin-bottom:0}.btn-group>.auto,.btn-group-vertical>.auto{position:relative;flex:1 1 auto}.btn-group>.active,.btn-group-vertical>.active{background-color:var(--link-active-color);color:var(--white-black);border-color:var(--link-active-color)}.btn-group>.active:hover,.btn-group-vertical>.active:hover{background-color:var(--link-active-color)}.btn-group{display:flex;align-items:center}.btn-group>.btn:first-child:not(:last-child):not(.dropdown-toggle){border-top-right-radius:0;border-bottom-right-radius:0;margin-left:0}.btn-group>.btn:not(:first-child):not(:last-child):not(.dropdown-toggle){border-radius:0}.btn-group>.btn:last-child:not(:first-child){border-top-left-radius:0;border-bottom-left-radius:0}.btn-group .btn+.btn,.btn-group .btn+.btn-group,.btn-group .btn-group+.btn,.btn-group .btn-group+.btn-group{margin-left:-1px}.btn-group-vertical{display:inline-flex;flex-direction:column}.btn-group-vertical>.btn{min-width:150px}.btn-group-vertical>.btn:first-child:not(:last-child){border-radius:4px 4px 0 0}.btn-group-vertical>.btn:not(:first-child):not(:last-child){border-radius:0}.btn-group-vertical>.btn:last-child:not(:first-child){border-radius:0 0 4px 4px}.btn-group-vertical .btn+.btn,.btn-group-vertical .btn+.btn-group,.btn-group-vertical .btn-group+.btn,.btn-group-vertical .btn-group+.btn-group{margin-top:-1px;margin-left:0}[data-toggle=buttons]>.btn input[type=checkbox],[data-toggle=buttons]>.btn input[type=radio],[data-toggle=buttons]>.btn-group>.btn input[type=checkbox],[data-toggle=buttons]>.btn-group>.btn input[type=radio]{position:absolute;clip:rect(0,0,0,0);pointer-events:none}input[type=checkbox],input[type=radio]{line-height:normal}@keyframes spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.card{display:flex;width:100%;border-radius:4px;border:1px solid var(--border-color);background-color:var(--secondary-bg);flex-direction:column;position:relative}.card .card-header{padding:0 20px;min-height:50px;border-bottom:1px solid var(--border-color);display:flex;align-items:center;justify-content:space-between;border-radius:4px 4px 0 0}.card .card-header .card-header-title{display:flex;align-items:center;line-height:1;gap:10px;font-weight:500}.card .card-header .card-header-title svg.icon{height:16px;width:16px;fill:#545a6d33;margin-right:0;margin-top:-2px}.card .card-header .card-header-title span{font-weight:500}.card .card-header .tools{display:flex;align-items:center;position:relative;gap:10px}.card .card-header .tools .icon{padding:3px;width:25px;height:25px;border-radius:50%;cursor:pointer}.card .card-header .tools .icon:hover{background:var(--hover-bg)}.card .card-header .tools .icon:focus{background:var(--hover-bg);outline:none}.card .card-header.sm{min-height:40px}.card .card-body{padding:20px;height:100%;width:100%}.card .card-footer{padding:5px 20px;min-height:50px;border-top:1px solid var(--border-color);display:flex;align-items:center;justify-content:space-between;position:relative}.card .card-footer button{margin-bottom:0}.card.card-h-left{flex-direction:row}.card.card-h-left>.card-header{align-items:start;padding:0;background:var(--hover-bg)}.card.card-h-right{flex-direction:row-reverse}.card.card-h-right>.card-header{align-items:start;padding:0;background:var(--hover-bg)}.card-draggable{cursor:auto;padding:0 20px;border:1px solid var(--border-color);display:flex;align-items:center;border-radius:4px;box-shadow:#0000001a 0 0 2px;background:var(--secondary-bg);touch-action:none}.card-draggable.sm{min-height:40px}.card-draggable.md{min-height:50px}.card-draggable .drag-indicator{cursor:grab;font-size:1em;margin-right:5px;margin-left:-5px;color:var(--font-color-secondary)}@media (max-width: 992px){.card .card-header,.card .card-footer,.card .card-footer .pagination-toolbar{flex-direction:column;gap:10px;padding:15px 20px;justify-content:center}.card .card-header>div,.card .card-footer>div,.card .card-footer .pagination-toolbar>div{margin:0!important}.card .card-body{overflow-y:auto}}.spinner{display:inline-block;margin-bottom:5px;margin-right:5px}.spinner .spinner-icon{animation:rotator 1.4s linear infinite}@keyframes rotator{0%{transform:rotate(0)}to{transform:rotate(270deg)}}.spinner .path{stroke-dasharray:187;stroke-dashoffset:0;transform-origin:center;animation:dash 1.4s ease-in-out infinite,colors 5.6s ease-in-out infinite}@keyframes colors{0%{stroke:#4285f4}25%{stroke:#de3e35}50%{stroke:#f7c223}75%{stroke:#1b9a59}to{stroke:#4285f4}}@keyframes dash{0%{stroke-dashoffset:187}50%{stroke-dashoffset:46.75;transform:rotate(135deg)}to{stroke-dashoffset:187;transform:rotate(450deg)}}.dropdown-menu{z-index:1001;min-width:160px;background-clip:padding-box;border:1px solid var(--border-color);border-radius:3px;-webkit-box-shadow:0 6px 12px rgba(0,0,0,.18);box-shadow:0 6px 12px #0000002e;background:var(--secondary-bg)}.dropdown-menu-item{padding:8px 16px;cursor:pointer}.dropdown-menu-item:last-child{border-bottom:none}.dropdown-menu-item:hover{background:var(--hover-bg)}.dropdown-menu-item svg,.dropdown-menu-item .icon{height:16px;width:16px;fill:#545a6d33;margin-right:10px;margin-top:-2px}.dropdown{position:relative;display:inline-block}.dropdown .dropdown-toggle{cursor:pointer;-webkit-user-select:none;user-select:none}.dropdown .dropdown-toggle svg.icon{height:16px;width:16px;fill:#545a6d33}.dropdown-content{z-index:1001;min-width:160px;background-clip:padding-box;border:1px solid var(--border-color);border-radius:3px;-webkit-box-shadow:0 6px 12px rgba(0,0,0,.18);box-shadow:0 6px 12px #0000002e;background:var(--secondary-bg)}.dropdown-content.bottom-left,.dropdown-content.bottom-right{margin-top:4px}.dropdown-content.top-left,.dropdown-content.top-right{margin-bottom:4px}@media (max-width: 768px){.dropdown-content{position:fixed!important;left:50%!important;transform:translate(-50%);min-width:calc(100% - 32px);max-width:320px}.dropdown-content.bottom-left,.dropdown-content.bottom-right,.dropdown-content.top-left,.dropdown-content.top-right{top:50%!important;transform:translate(-50%,-50%)}}.badge{display:inline-block;padding:5px 10px;font-size:12px;line-height:1;text-align:center;white-space:nowrap;vertical-align:baseline;border-radius:3px;font-weight:500}.badge.badge-primary{color:#082651;background-color:#96bdf5}.badge.badge-success{color:#2a6026;background-color:#cfebcd}.badge.badge-info{color:#1578a5;background-color:#d8effa}.badge.badge-warning{color:#7a4601;background-color:#fedcaf}.badge.badge-danger{color:#9f0e0d;background-color:#fde2e1}.badge.badge-light{color:#000;background-color:#f1f1f1}.badge.badge-dark{color:#b3b3b3;background-color:#4d4d4d}.badge.rounded-pill{border-radius:30px}.badge.badge-notif{position:absolute;border-radius:50px;padding:5px;top:-10px;right:-10px;font-size:10px;font-weight:600;pointer-events:none}.box{border-radius:4px;border:1px solid var(--border-color);background-color:var(--secondary-bg);position:relative;padding:20px}.box.hover-bs:hover{transition:all .3s ease;box-shadow:0 0 10px #0000001a}.tabs .tab-custom-header{width:100%}.tabs .nav-tabs{padding:0;margin:0;display:flex;align-items:center}.tabs .nav-tabs legend.tab-item-legend{border-top:1px solid var(--border-color);border-bottom:1px solid var(--border-color);padding:10px 15px;margin-bottom:0;line-height:1;font-size:.8rem;font-weight:500;text-transform:uppercase}.tabs .nav-tabs .tab-item{padding:0 15px;display:flex;align-items:center;gap:5px;line-height:48px;vertical-align:middle;border-bottom:2px solid transparent;margin-bottom:-1px;transition:all .4s ease;opacity:.5}.tabs .nav-tabs .tab-item:hover{border-bottom:2px solid var(--link-active-color)}.tabs .nav-tabs .tab-item.active{border-bottom:2px solid var(--link-active-color);opacity:1}.tabs.card-h-left>.card-header{border-radius:0;border-bottom:0;display:flex;flex-direction:column;justify-content:flex-start;min-width:200px}.tabs.card-h-left .nav-tabs{display:flex;flex-direction:column;border-right:1px solid var(--border-color);width:100%}.tabs.card-h-left .nav-tabs .tab-item{border:none;border-right:2px solid transparent;white-space:nowrap;margin-bottom:0;width:100%}.tabs.card-h-left .nav-tabs .tab-item:hover,.tabs.card-h-left .nav-tabs .tab-item.active{border-right:2px solid var(--link-active-color)}.tabs.card-h-right>.card-header{border-radius:0;border-bottom:0}.tabs.card-h-right .nav-tabs{flex-direction:column-reverse;display:flex;border-left:1px solid var(--border-color);width:100%}.tabs.card-h-right .nav-tabs .tab-item{border:none;border-left:2px solid transparent;white-space:nowrap;margin-bottom:0;justify-content:flex-end;width:100%}.tabs.card-h-right .nav-tabs .tab-item:hover,.tabs.card-h-right .nav-tabs .tab-item.active{border-left:2px solid var(--link-active-color)}@media (max-width: 992px){.card.tabs>.card-header{padding:0}.card.tabs>.card-header .tab-custom-header{display:flex;flex-direction:column;width:100%}.card.tabs>.card-header .tab-custom-header img{width:100%!important;max-width:100%!important;height:auto}.card.tabs>.card-header .nav-tabs{width:100%;display:flex;flex-direction:column}.card.card-h-left,.card.card-h-right{flex-direction:column!important}.card.card-h-left .tab-item,.card.card-h-right .tab-item{border-right:none!important;border-left:none!important;border-bottom:2px solid transparent!important}.card.card-h-left .tab-item:hover,.card.card-h-right .tab-item:hover,.card.card-h-left .tab-item.active,.card.card-h-right .tab-item.active{border-right:none!important;border-left:none!important;border-bottom:2px solid var(--link-active-color)!important}}.alert{padding:10px 15px;margin-bottom:20px;border:1px solid transparent;border-radius:0;position:relative;display:flex;align-items:center;justify-content:space-between}.alert .icon,.alert svg{pointer-events:none}.alert p{margin:0;color:#fff}.alert.alert-success{color:#fff;background-color:#66bf60;border-color:#42963c}.alert.alert-info{color:#fff;background-color:#67c2ec;border-color:#23a7e4}.alert.alert-warning{color:#fff;background-color:#fd9a17;border-color:#c67102}.alert.alert-danger{color:#fff;background-color:#f15554;border-color:#e61413}.alert button.close{border:none;background:none;color:var(--font-color);margin-right:-5px}.Toastify__close-button{align-self:center!important}.callout{padding:10px 15px;margin-bottom:20px;border:1px solid transparent;border-left:5px solid transparent;border-radius:0}.callout p{margin:0}.callout.callout-success{border-color:#42963c}.callout.callout-info{border-color:#23a7e4}.callout.callout-warning{border-color:#c67102}.callout.callout-danger{border-color:#e61413}.tooltip{position:relative;background:#000;color:#fff;padding:2px 10px;border-radius:5px;opacity:.8;z-index:1002;white-space:nowrap}.tooltip:after{content:"";position:absolute;border:5px solid transparent}.tooltip.top:after{top:100%;left:50%;margin-left:-5px;border-top-color:#000}.tooltip.bottom:after{bottom:100%;left:50%;margin-left:-5px;border-bottom-color:#000}.tooltip.left:after{top:50%;left:100%;margin-top:-5px;border-left-color:#000}.tooltip.right:after{top:50%;right:100%;margin-top:-5px;border-right-color:#000}.popover{z-index:1002;display:block;white-space:nowrap;max-width:276px;padding:1px;font-size:12px;background-color:var(--secondary-bg);-webkit-background-clip:padding-box;background-clip:padding-box;border:1px solid var(--scrollbar-bg);border-radius:3px;box-shadow:0 5px 10px #0003}.popover .arrow{position:absolute;display:block;width:0;height:0;border-color:transparent;border-style:solid;border-width:11px}.popover .arrow:after{position:absolute;display:block;width:0;height:0;border-color:transparent;border-style:solid;border-width:10px}.popover .popover-content{padding:9px 14px}.popover.top>.arrow{bottom:-11px;left:50%;margin-left:-11px;border-top-color:var(--scrollbar-bg);border-bottom-width:0}.popover.top>.arrow:after{bottom:1px;margin-left:-10px;content:" ";border-top-color:var(--secondary-bg);border-bottom-width:0}.popover.right>.arrow{top:50%;left:-11px;margin-top:-11px;border-right-color:var(--scrollbar-bg);border-left-width:0}.popover.right>.arrow:after{bottom:-10px;left:1px;content:" ";border-right-color:var(--secondary-bg);border-left-width:0}.popover.bottom>.arrow{top:-11px;left:50%;margin-left:-11px;border-top-width:0;border-bottom-color:var(--scrollbar-bg)}.popover.bottom>.arrow:after{top:1px;margin-left:-10px;content:" ";border-top-width:0;border-bottom-color:var(--secondary-bg)}.popover.left>.arrow{top:50%;right:-11px;margin-top:-11px;border-right-width:0;border-left-color:var(--scrollbar-bg)}.popover.left>.arrow:after{right:1px;bottom:-10px;content:" ";border-right-width:0;border-left-color:var(--secondary-bg)}.modal{display:flex;align-items:center;justify-content:center;position:fixed;z-index:1001;left:0;top:0;width:100%;height:100vh;overflow:auto;background-color:#0006;transition:all .4s ease-in-out;vertical-align:middle}.modal .modal-dialog{display:flex;width:100%;border-radius:4px;border:1px solid var(--border-color);background-color:var(--secondary-bg);vertical-align:middle;flex-direction:column;position:relative;box-shadow:0 4px 8px #0003}.modal .modal-dialog.modal-sm{max-width:40%;min-width:40%;max-height:80%}.modal .modal-dialog.modal-md{width:50%;max-height:90%}.modal .modal-dialog.modal-lg{width:70%;max-width:70%;max-height:90%}.modal .modal-dialog .modal-header{padding:0 20px;min-height:50px;border-bottom:1px solid var(--border-color);display:flex;align-items:center;justify-content:space-between;border-radius:4px 4px 0 0}.modal .modal-dialog .modal-header .modal-header-title{display:flex;align-items:center;line-height:1}.modal .modal-dialog .modal-header .modal-header-title .icon{margin-right:10px}.modal .modal-dialog .modal-header .modal-header-title span{font-weight:500}.modal .modal-dialog .modal-header .tools{display:flex;align-items:center;position:relative;gap:10px}.modal .modal-dialog .modal-header .tools .icon{padding:3px;width:25px;height:25px;border-radius:50%;cursor:pointer}.modal .modal-dialog .modal-header .tools .icon:hover{background:var(--hover-bg)}.modal .modal-dialog .modal-header .tools .icon:focus{background:var(--hover-bg);outline:none}.modal .modal-dialog .modal-body{padding:20px;height:100%;width:100%}.modal .modal-dialog .modal-footer{padding:5px 20px;min-height:50px;border-top:1px solid var(--border-color);display:flex;align-items:center;justify-content:space-between;position:relative}.modal .modal-dialog .modal-footer button{margin-bottom:0}@media (max-width: 992px){.modal .modal-dialog.modal-lg,.modal .modal-dialog.modal-md,.modal .modal-dialog.modal-sm{width:95%;max-width:100%}}@media (max-width: 0){.modal .modal-dialog .modal-header,.modal .modal-dialog .modal-footer,.modal .modal-dialog .modal-footer .pagination-toolbar{flex-direction:column;gap:10px;padding:15px 20px;justify-content:center;min-height:auto}.modal .modal-dialog .modal-header>div,.modal .modal-dialog .modal-footer>div,.modal .modal-dialog .modal-footer .pagination-toolbar>div{margin:0!important}.modal .modal-dialog .modal-body{overflow-y:auto}}.panel-group .menu-caret{font-size:16px;transition:all .8s ease}.panel-group .menu-caret.active{transform:rotate(180deg)}.panel-group .panel{height:0;min-height:0;max-height:0;opacity:0;transition:max-height .4s ease}.panel-group .panel.active{max-height:8000px;height:auto;opacity:1}.circular-progress{width:48px;height:48px;border:4px solid var(--primary-bg);border-bottom-color:var(--border-color);border-radius:50%;display:inline-block;box-sizing:border-box;animation:rotation 1s linear infinite}.circular-progress.brand-success{border-bottom-color:#66bf60}.circular-progress.brand-info{border-bottom-color:#67c2ec}.circular-progress.brand-warning{border-bottom-color:#fd9a17}.circular-progress.brand-danger{border-bottom-color:#f15554}.circular-progress.sm{width:32px;height:32px}.circular-progress.lg{width:64px;height:64px}@keyframes rotation{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.linear-progress{position:relative;display:flex;align-items:center;overflow:hidden}.linear-progress .progress-bar{width:100%;background-color:var(--primary-bg);border-radius:2px}.linear-progress .progress-bar .progress{height:10px;display:block;background-color:#67c2ec;border-radius:2px;transition:transform .4s ease,width .4s ease}.linear-progress .progress-bar.brand-success .progress{background-color:#66bf60}.linear-progress .progress-bar.brand-info .progress{background-color:#67c2ec}.linear-progress .progress-bar.brand-warning .progress{background-color:#fd9a17}.linear-progress .progress-bar.brand-danger .progress{background-color:#f15554}.linear-progress.indeterminate .progress-bar .progress{display:block;transform-origin:left center;animation:moveProgressBarInfinite 2s linear infinite}.linear-progress.sm .progress-bar .progress{height:5px}.linear-progress.lg .progress-bar .progress{height:15px}.linear-progress .progress-label{margin-left:10px;font-size:12px}@keyframes moveProgressBarInfinite{0%{transform:translate(-100%) scaleX(0)}to{transform:translate(100%) scaleX(1)}}.circular-progress-with-label{display:flex;align-items:center;position:relative;width:fit-content}.circular-progress-with-label .progress{width:48px;height:48px;border-radius:50%;background:radial-gradient(closest-side,white 79%,transparent 80% 100%),conic-gradient(#888 70%,#eee 0)}.circular-progress-with-label .progress-label{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}.custom-checkbox{position:relative;padding-left:25px;cursor:pointer;justify-content:space-between;align-items:center;display:inline;margin:0}.custom-checkbox .checkbox-wrapper{position:relative;display:flex;align-items:center}.custom-checkbox input{position:absolute;opacity:0;cursor:pointer}.custom-checkbox .checkmark{position:absolute;top:0;left:0;height:18px;width:18px;background-color:var(--secondary-bg);border:1px solid var(--brand-primary);border-radius:3px;display:flex;align-items:center;justify-content:center}.custom-checkbox .checkmark:after{content:"";position:absolute;display:none}.custom-checkbox input:checked~.checkmark:after{display:block;content:"";left:5px;top:1px;width:6px;height:10px;border:solid white;border-width:0 2px 2px 0;transform:rotate(45deg)}.custom-checkbox:hover input~.checkmark{background-color:var(--primary-bg)}.custom-checkbox input:checked~.checkmark{background-color:var(--brand-primary);border-color:var(--brand-primary)}.custom-checkbox .check-icon{color:#fff;font-size:16px;display:block}.custom-checkbox input:disabled~.checkmark{background-color:#e0e0e0;border-color:#e0e0e0;cursor:not-allowed}.custom-checkbox input:disabled~.checkmark .check-icon{color:#9e9e9e}.custom-checkbox.sm .checkmark{height:15px;width:15px}.custom-checkbox.sm .checkmark:after{left:4px;top:1px;width:5px;height:8px}.custom-checkbox.sm .check-icon{font-size:12px}.form{display:flex;flex-direction:column}.form legend{border-bottom:1px solid var(--border-color);font-size:.9rem;padding-bottom:5px;font-weight:500}.form .form-message{margin-top:3px;color:var(--font-color-secondary);text-align:right;margin-bottom:0}.form .has-error .form-control,.form .has-error .dropdown-header{border-color:#f15554}.form .has-error label,.form .has-error .form-message{color:#f15554}.form .has-success .form-control,.form .has-success .dropdown-header{border-color:#66bf60}.form .has-success label,.form .has-success .form-message{color:#66bf60}.form .has-warning .form-control,.form .has-warning .dropdown-header{border-color:#fd9a17}.form .has-warning label,.form .has-warning .form-message{color:#fd9a17}.form-group{margin-bottom:10px;position:relative;padding-top:10px;display:flex;flex-direction:column}.form-group .form-control{letter-spacing:inherit;border:1px solid var(--form-border-color);-webkit-tap-highlight-color:transparent;display:flex;align-items:center;min-width:0;width:100%;outline:none;border-radius:4px;padding:0 10px;color:var(--font-color);font-size:1rem;background-color:var(--secondary-bg)}.form-group .form-control.disabled,.form-group .form-control:disabled{opacity:.9;cursor:not-allowed;border-color:var(--border-color);font-size:1rem}.form-group .form-control:focus,.form-group .form-control:active{border-color:var(--link-active-color)}.form-group .form-control::placeholder{color:var(--font-color-secondary)}.form-group .form-control:-webkit-autofill,.form-group .form-control:-webkit-autofill:focus{background:transparent!important;-webkit-box-shadow:0 0 0px 1000px var(--secondary-bg) inset;-webkit-text-fill-color:var(--font-color)!important;transition:background-color 5000s ease-in-out 0s}.form-group .form-control{height:32px}.form-group .form-control.sm{height:28px}.form-group .form-control.lg{height:36px}.form-group .form-control[multiple]{height:auto}.form-group textarea.form-control{resize:vertical;min-height:75px;padding:5px 10px}.form-group label{margin-bottom:5px;font-size:.9rem;color:var(--font-color-secondary)}.form-group label.required:after{content:"*";color:#f15554;margin-left:3px}.form-group .form-control[type=file]::-webkit-file-upload-button,.form-group .form-control[type=file]::file-selector-button{-webkit-appearance:none;margin-right:10px;padding:0 10px;line-height:30px;color:#fff;background-color:#1668dc;border:0;border-radius:4px;cursor:pointer}.form-group.floating-label label{position:absolute;top:15px;left:0;transition:all .3s ease;pointer-events:none}.form-group.floating-label .form-control{border:none;border-bottom:1px solid var(--border-color);border-radius:0;padding:0}.form-group.floating-label .form-control.disabled,.form-group.floating-label .form-control:disabled{opacity:.9;cursor:not-allowed;border-color:var(--border-color);background:none;color:var(--font-color-secondary)}.form-group.floating-label .form-control:focus{border-bottom:1px solid #1668dc}.form-group.floating-label .form-control:focus-within~label,.form-group.floating-label .form-control:active~label,.form-group.floating-label .form-control:-webkit-autofill~label,.form-group.floating-label .form-control:-webkit-autofill:focus~label,.form-group.floating-label .form-control:not(:placeholder-shown)~label{top:-5px;font-size:.9rem}.form-group .input-group-icon{position:relative}.form-group .input-group-icon .icon{position:absolute;display:flex;align-items:center;justify-content:center;top:1px;right:1px;height:30px;width:35px;padding:0;font-size:23px;border-radius:3px;cursor:pointer;color:var(--font-color-secondary);border:none;background-color:transparent}.form-group .input-group-icon .icon:hover{background:var(--hover-bg)}.form-group .input-group-icon .icon svg{width:20px;height:20px}.form-radio,.form-checkbox{margin-bottom:10px;position:relative;padding-top:10px;display:flex;flex-direction:column}.form-radio>label,.form-radio label,.form-checkbox>label,.form-checkbox label{font-size:.9rem;color:var(--font-color-secondary);margin-bottom:5px}.form-radio>label.required:after,.form-radio label.required:after,.form-checkbox>label.required:after,.form-checkbox label.required:after{content:"*";color:#f15554;margin-left:3px}.form-radio .form-control,.form-checkbox .form-control{display:flex;justify-content:flex-start;align-items:center;gap:10px}.form-radio .form-control label,.form-checkbox .form-control label{margin:0 0 0 10px}.form-radio.has-info .checkmark,.form-checkbox.has-info .checkmark{border-color:#67c2ec}.form-radio.has-info input:checked~.checkmark,.form-checkbox.has-info input:checked~.checkmark{background-color:#67c2ec;border-color:#67c2ec}.form-radio.has-info .form-message,.form-checkbox.has-info .form-message{color:#67c2ec}.form-radio.has-error .checkmark,.form-checkbox.has-error .checkmark{border-color:#f15554}.form-radio.has-error input:checked~.checkmark,.form-checkbox.has-error input:checked~.checkmark{background-color:#f15554;border-color:#f15554}.form-radio.has-error .form-message,.form-checkbox.has-error .form-message{color:#f15554}.form-radio.has-success .checkmark,.form-checkbox.has-success .checkmark{border-color:#66bf60}.form-radio.has-success input:checked~.checkmark,.form-checkbox.has-success input:checked~.checkmark{background-color:#66bf60;border-color:#66bf60}.form-radio.has-success .form-message,.form-checkbox.has-success .form-message{color:#66bf60}.form-radio.has-warning .checkmark,.form-checkbox.has-warning .checkmark{border-color:#fd9a17}.form-radio.has-warning input:checked~.checkmark,.form-checkbox.has-warning input:checked~.checkmark{background-color:#fd9a17;border-color:#fd9a17}.form-radio.has-warning .form-message,.form-checkbox.has-warning .form-message{color:#fd9a17}.date-picker{position:absolute;right:0;background-clip:padding-box;border:1px solid var(--border-color);border-radius:4px;box-shadow:0 6px 12px #0000002e;background:var(--primary-bg);z-index:1;opacity:0;transform:translateY(-20px);animation:slideIn .3s forwards,fadeIn .3s forwards}.date-picker.position-top{bottom:100%;transform:translateY(-100%)}.date-picker .calendar-nav{display:flex;align-items:center;justify-content:space-between}.date-picker .calendar-nav span{font-weight:500}.date-picker .calendar .calendar-header{display:grid;grid-template-columns:repeat(7,1fr);gap:10px;border-bottom:1px solid var(--border-color)}.date-picker .calendar .calendar-header .calendar-day-name{display:flex;align-items:center;justify-content:center;height:28px;width:28px;font-size:.8rem;color:var(--font-color-secondary)}.date-picker .calendar .calendar-body{display:grid;grid-template-columns:repeat(7,1fr);gap:10px}.date-picker .calendar .calendar-body .calendar-day{display:flex;align-items:center;justify-content:center;height:28px;width:28px;border-radius:50%;line-height:1;cursor:pointer;color:var(--font-color)}.date-picker .calendar .calendar-body .calendar-day:hover{background-color:var(--hover-bg)}.date-picker .calendar .calendar-body .calendar-day.selected-date{background-color:#1668dc;color:#fff}.date-picker .calendar .calendar-body .calendar-day.today{color:#67c2ec}.date-picker .calendar .calendar-body .calendar-day.prev-month{color:var(--font-color-secondary);font-size:smaller}.date-picker .calendar .calendar-body .calendar-day.empty{pointer-events:none}@keyframes slideIn{0%{transform:translateY(-20px)}to{transform:translateY(0)}}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}.dropdown-select-container{position:relative;max-width:100%;min-width:60px}.dropdown-select-container .dropdown-header{cursor:pointer;padding:0 10px;height:32px;line-height:1;border:1px solid var(--border-color);display:flex;justify-content:space-between;align-items:center;-webkit-user-select:none;user-select:none;border-radius:4px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.dropdown-select-container .dropdown-header.open{box-shadow:0 2px 4px #0000001a}.dropdown-select-container .dropdown-header.open .arrow{transform:rotate(180deg)}.dropdown-select-container .dropdown-header span.label{overflow:hidden;white-space:nowrap;text-overflow:ellipsis;max-width:90%}.dropdown-select-container .dropdown-header svg.arrow{position:absolute;right:10px;margin-left:8px;transition:transform .3s;font-size:1.3rem;flex-shrink:0;pointer-events:none}.dropdown-select-container .dropdown-header.disabled{opacity:.5;pointer-events:none;cursor:not-allowed}.dropdown-select-container .dropdown-options{position:absolute;width:100%;border:1px solid var(--border-color);box-shadow:0 2px 4px #0000001a;display:flex;flex-direction:column;background-color:var(--secondary-bg);border-radius:4px;z-index:101;max-height:300px}.dropdown-select-container .dropdown-options.position-top{top:auto;bottom:100%}.dropdown-select-container .dropdown-options .search-input{padding:8px 10px}.dropdown-select-container .dropdown-options .option{padding:8px 10px;cursor:pointer;transition:background-color .3s}.dropdown-select-container .dropdown-options .option:hover,.dropdown-select-container .dropdown-options .option.selected{background-color:var(--hover-bg)}.dropdown-select-container.sm .dropdown-header{height:28px}.dropdown-select-container.sm .dropdown-options .option{padding:6px 8px}.dropdown-select-container.md .dropdown-header{height:32px}.dropdown-select-container.md .dropdown-options .option{padding:10px 12px}.dropdown-select-container.lg .dropdown-header{height:36px}.dropdown-select-container.lg .dropdown-options .option{padding:12px 14px}input.clear{padding:0;margin:0;border:none;background:none;box-shadow:none;outline:none;width:100%}input.clear:focus{outline:none}input.clear::-ms-clear{display:none}input.clear::-webkit-search-cancel-button{display:none}input.clear::-webkit-search-clear-button{display:none}input.clear::-webkit-inner-spin-button{display:none}input.clear::-webkit-outer-spin-button{display:none}input.clear::-webkit-input-placeholder{color:transparent}input.clear::-moz-placeholder{color:transparent}input.clear:-ms-input-placeholder{color:transparent}input.clear:disabled{color:var(--font-color)}.form-control input[type=radio]{display:none}.form-control input[type=radio]+label{position:relative;padding-left:30px;cursor:pointer;margin-left:0}.form-control input[type=radio]+label:before{content:"";position:absolute;top:50%;left:0;transform:translateY(-50%);width:18px;height:18px;border:1px solid var(--brand-primary);border-radius:50%}.form-control input[type=radio]+label:after{content:"";position:absolute;top:50%;left:5px;transform:translateY(-50%) scale(0);width:8px;height:8px;border-radius:50%;background-color:var(--brand-primary);transition:transform .2s ease-in-out}.form-control input[type=radio]:checked+label:after{transform:translateY(-50%) scale(1)}.switch{position:relative;display:inline-block;width:36px;height:20px;margin:0}.switch input{opacity:0;width:0;height:0}.switch .slider{position:absolute;cursor:pointer;inset:0;background-color:#ccc;transition:.4s;border-radius:24px}.switch .slider:before{position:absolute;content:"";height:16px;width:16px;left:2px;bottom:2px;background-color:#fff;transition:.4s;border-radius:50%}.switch input:checked+.slider{background-color:#2196f3}.switch input:focus+.slider{box-shadow:0 0 1px #2196f3}.switch input:checked+.slider:before{transform:translate(16px)}.switch.sm{width:30px;height:14px}.switch.sm .slider{border-radius:14px}.switch.sm .slider:before{height:10px;width:10px;left:2px;bottom:2px}.switch.lg{width:40px;height:24px}.switch.lg .slider{border-radius:24px}.switch.lg .slider:before{height:20px;width:20px;left:2px;bottom:2px}.switch.has-info input:checked+.slider{background-color:#67c2ec}.switch.has-success input:checked+.slider{background-color:#66bf60}.switch.has-warning input:checked+.slider{background-color:#fd9a17}.switch.has-error .slider{background-color:#f15554}.switch.disabled input:checked+.slider{background-color:#ccc}/*!
|
|
2
2
|
* Quill Editor v2.0.2
|
|
3
3
|
* https://quilljs.com
|
|
4
4
|
* Copyright (c) 2017-2024, Slab
|
package/dist/pesona-ui.es.js
CHANGED
|
@@ -2555,9 +2555,9 @@ const y1 = ({ message: r, onCancel: e, onConfirm: t }) => /* @__PURE__ */ p.jsx(
|
|
|
2555
2555
|
/* @__PURE__ */ p.jsx("button", { type: "button", className: "btn btn-secondary", onClick: e, children: "Cancel" }),
|
|
2556
2556
|
/* @__PURE__ */ p.jsx("button", { type: "button", className: "btn btn-primary", onClick: t, children: "Confirm" })
|
|
2557
2557
|
] })
|
|
2558
|
-
] }) }) }), E1 = ({
|
|
2559
|
-
|
|
2560
|
-
typeof
|
|
2558
|
+
] }) }) }), E1 = ({ className: r = "", type: e, title: t, text: n }) => /* @__PURE__ */ p.jsxs("div", { className: `callout ${e} ${r}`, children: [
|
|
2559
|
+
t && /* @__PURE__ */ p.jsx("h5", { children: t }),
|
|
2560
|
+
typeof n == "string" ? /* @__PURE__ */ p.jsx("p", { children: n }) : n
|
|
2561
2561
|
] }), x1 = ({
|
|
2562
2562
|
children: r,
|
|
2563
2563
|
text: e,
|