davis-components 0.2.78 → 0.2.79

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.
@@ -0,0 +1,75 @@
1
+ "use strict";const ee=require("react"),oe=require("classnames"),nl=require("react-dom"),Ha=require("jalali-moment"),ll=require("react-hook-form");function xc(e,t){for(var n=0;n<t.length;n++){const a=t[n];if(typeof a!="string"&&!Array.isArray(a)){for(const r in a)if(r!=="default"&&!(r in e)){const i=Object.getOwnPropertyDescriptor(a,r);i&&Object.defineProperty(e,r,i.get?i:{enumerable:!0,get:()=>a[r]})}}}return Object.freeze(Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}))}var ul=typeof globalThis<"u"?globalThis:typeof window<"u"||typeof window<"u"?window:typeof self<"u"?self:{};function cl(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function Cc(e){if(e.__esModule)return e;var t=e.default;if(typeof t=="function"){var n=function a(){return this instanceof a?Reflect.construct(t,arguments,this.constructor):t.apply(this,arguments)};n.prototype=t.prototype}else n={};return Object.defineProperty(n,"__esModule",{value:!0}),Object.keys(e).forEach(function(a){var r=Object.getOwnPropertyDescriptor(e,a);Object.defineProperty(n,a,r.get?r:{enumerable:!0,get:function(){return e[a]}})}),n}var Qi={exports:{}},Kn={};/**
2
+ * @license React
3
+ * react-jsx-runtime.production.min.js
4
+ *
5
+ * Copyright (c) Facebook, Inc. and its affiliates.
6
+ *
7
+ * This source code is licensed under the MIT license found in the
8
+ * LICENSE file in the root directory of this source tree.
9
+ */var po;function _c(){if(po)return Kn;po=1;var e=ee,t=Symbol.for("react.element"),n=Symbol.for("react.fragment"),a=Object.prototype.hasOwnProperty,r=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,i={key:!0,ref:!0,__self:!0,__source:!0};function s(u,c,d){var g,S={},p=null,m=null;d!==void 0&&(p=""+d),c.key!==void 0&&(p=""+c.key),c.ref!==void 0&&(m=c.ref);for(g in c)a.call(c,g)&&!i.hasOwnProperty(g)&&(S[g]=c[g]);if(u&&u.defaultProps)for(g in c=u.defaultProps,c)S[g]===void 0&&(S[g]=c[g]);return{$$typeof:t,type:u,key:p,ref:m,props:S,_owner:r.current}}return Kn.Fragment=n,Kn.jsx=s,Kn.jsxs=s,Kn}var zn={};/**
10
+ * @license React
11
+ * react-jsx-runtime.development.js
12
+ *
13
+ * Copyright (c) Facebook, Inc. and its affiliates.
14
+ *
15
+ * This source code is licensed under the MIT license found in the
16
+ * LICENSE file in the root directory of this source tree.
17
+ */var ho;function Sc(){return ho||(ho=1,process.env.NODE_ENV!=="production"&&function(){var e=ee,t=Symbol.for("react.element"),n=Symbol.for("react.portal"),a=Symbol.for("react.fragment"),r=Symbol.for("react.strict_mode"),i=Symbol.for("react.profiler"),s=Symbol.for("react.provider"),u=Symbol.for("react.context"),c=Symbol.for("react.forward_ref"),d=Symbol.for("react.suspense"),g=Symbol.for("react.suspense_list"),S=Symbol.for("react.memo"),p=Symbol.for("react.lazy"),m=Symbol.for("react.offscreen"),x=Symbol.iterator,_="@@iterator";function b(k){if(k===null||typeof k!="object")return null;var F=x&&k[x]||k[_];return typeof F=="function"?F:null}var O=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function C(k){{for(var F=arguments.length,q=new Array(F>1?F-1:0),ie=1;ie<F;ie++)q[ie-1]=arguments[ie];D("error",k,q)}}function D(k,F,q){{var ie=O.ReactDebugCurrentFrame,Ke=ie.getStackAddendum();Ke!==""&&(F+="%s",q=q.concat([Ke]));var ze=q.map(function(Ie){return String(Ie)});ze.unshift("Warning: "+F),Function.prototype.apply.call(console[k],console,ze)}}var N=!1,B=!1,G=!1,re=!1,fe=!1,z;z=Symbol.for("react.module.reference");function j(k){return!!(typeof k=="string"||typeof k=="function"||k===a||k===i||fe||k===r||k===d||k===g||re||k===m||N||B||G||typeof k=="object"&&k!==null&&(k.$$typeof===p||k.$$typeof===S||k.$$typeof===s||k.$$typeof===u||k.$$typeof===c||k.$$typeof===z||k.getModuleId!==void 0))}function Y(k,F,q){var ie=k.displayName;if(ie)return ie;var Ke=F.displayName||F.name||"";return Ke!==""?q+"("+Ke+")":q}function le(k){return k.displayName||"Context"}function X(k){if(k==null)return null;if(typeof k.tag=="number"&&C("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),typeof k=="function")return k.displayName||k.name||null;if(typeof k=="string")return k;switch(k){case a:return"Fragment";case n:return"Portal";case i:return"Profiler";case r:return"StrictMode";case d:return"Suspense";case g:return"SuspenseList"}if(typeof k=="object")switch(k.$$typeof){case u:var F=k;return le(F)+".Consumer";case s:var q=k;return le(q._context)+".Provider";case c:return Y(k,k.render,"ForwardRef");case S:var ie=k.displayName||null;return ie!==null?ie:X(k.type)||"Memo";case p:{var Ke=k,ze=Ke._payload,Ie=Ke._init;try{return X(Ie(ze))}catch{return null}}}return null}var se=Object.assign,we=0,be,ce,Ee,Ce,he,T,W;function ge(){}ge.__reactDisabledLog=!0;function je(){{if(we===0){be=console.log,ce=console.info,Ee=console.warn,Ce=console.error,he=console.group,T=console.groupCollapsed,W=console.groupEnd;var k={configurable:!0,enumerable:!0,value:ge,writable:!0};Object.defineProperties(console,{info:k,log:k,warn:k,error:k,group:k,groupCollapsed:k,groupEnd:k})}we++}}function ue(){{if(we--,we===0){var k={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:se({},k,{value:be}),info:se({},k,{value:ce}),warn:se({},k,{value:Ee}),error:se({},k,{value:Ce}),group:se({},k,{value:he}),groupCollapsed:se({},k,{value:T}),groupEnd:se({},k,{value:W})})}we<0&&C("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var ke=O.ReactCurrentDispatcher,Ve;function it(k,F,q){{if(Ve===void 0)try{throw Error()}catch(Ke){var ie=Ke.stack.trim().match(/\n( *(at )?)/);Ve=ie&&ie[1]||""}return`
18
+ `+Ve+k}}var Lt=!1,ot;{var Dt=typeof WeakMap=="function"?WeakMap:Map;ot=new Dt}function yt(k,F){if(!k||Lt)return"";{var q=ot.get(k);if(q!==void 0)return q}var ie;Lt=!0;var Ke=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var ze;ze=ke.current,ke.current=null,je();try{if(F){var Ie=function(){throw Error()};if(Object.defineProperty(Ie.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(Ie,[])}catch(vt){ie=vt}Reflect.construct(k,[],Ie)}else{try{Ie.call()}catch(vt){ie=vt}k.call(Ie.prototype)}}else{try{throw Error()}catch(vt){ie=vt}k()}}catch(vt){if(vt&&ie&&typeof vt.stack=="string"){for(var J=vt.stack.split(`
19
+ `),Re=ie.stack.split(`
20
+ `),Xe=J.length-1,ve=Re.length-1;Xe>=1&&ve>=0&&J[Xe]!==Re[ve];)ve--;for(;Xe>=1&&ve>=0;Xe--,ve--)if(J[Xe]!==Re[ve]){if(Xe!==1||ve!==1)do if(Xe--,ve--,ve<0||J[Xe]!==Re[ve]){var wt=`
21
+ `+J[Xe].replace(" at new "," at ");return k.displayName&&wt.includes("<anonymous>")&&(wt=wt.replace("<anonymous>",k.displayName)),typeof k=="function"&&ot.set(k,wt),wt}while(Xe>=1&&ve>=0);break}}}finally{Lt=!1,ke.current=ze,ue(),Error.prepareStackTrace=Ke}var lt=k?k.displayName||k.name:"",Pt=lt?it(lt):"";return typeof k=="function"&&ot.set(k,Pt),Pt}function tt(k,F,q){return yt(k,!1)}function qe(k){var F=k.prototype;return!!(F&&F.isReactComponent)}function Le(k,F,q){if(k==null)return"";if(typeof k=="function")return yt(k,qe(k));if(typeof k=="string")return it(k);switch(k){case d:return it("Suspense");case g:return it("SuspenseList")}if(typeof k=="object")switch(k.$$typeof){case c:return tt(k.render);case S:return Le(k.type,F,q);case p:{var ie=k,Ke=ie._payload,ze=ie._init;try{return Le(ze(Ke),F,q)}catch{}}}return""}var _t=Object.prototype.hasOwnProperty,Zt={},gt=O.ReactDebugCurrentFrame;function Ue(k){if(k){var F=k._owner,q=Le(k.type,k._source,F?F.type:null);gt.setExtraStackFrame(q)}else gt.setExtraStackFrame(null)}function Nt(k,F,q,ie,Ke){{var ze=Function.call.bind(_t);for(var Ie in k)if(ze(k,Ie)){var J=void 0;try{if(typeof k[Ie]!="function"){var Re=Error((ie||"React class")+": "+q+" type `"+Ie+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof k[Ie]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw Re.name="Invariant Violation",Re}J=k[Ie](F,Ie,ie,q,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(Xe){J=Xe}J&&!(J instanceof Error)&&(Ue(Ke),C("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).",ie||"React class",q,Ie,typeof J),Ue(null)),J instanceof Error&&!(J.message in Zt)&&(Zt[J.message]=!0,Ue(Ke),C("Failed %s type: %s",q,J.message),Ue(null))}}}var It=Array.isArray;function zt(k){return It(k)}function Rt(k){{var F=typeof Symbol=="function"&&Symbol.toStringTag,q=F&&k[Symbol.toStringTag]||k.constructor.name||"Object";return q}}function Ut(k){try{return y(k),!1}catch{return!0}}function y(k){return""+k}function L(k){if(Ut(k))return C("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",Rt(k)),y(k)}var A=O.ReactCurrentOwner,R={key:!0,ref:!0,__self:!0,__source:!0},$,V;function de(k){if(_t.call(k,"ref")){var F=Object.getOwnPropertyDescriptor(k,"ref").get;if(F&&F.isReactWarning)return!1}return k.ref!==void 0}function te(k){if(_t.call(k,"key")){var F=Object.getOwnPropertyDescriptor(k,"key").get;if(F&&F.isReactWarning)return!1}return k.key!==void 0}function U(k,F){typeof k.ref=="string"&&A.current}function pe(k,F){{var q=function(){$||($=!0,C("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)",F))};q.isReactWarning=!0,Object.defineProperty(k,"key",{get:q,configurable:!0})}}function Q(k,F){{var q=function(){V||(V=!0,C("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)",F))};q.isReactWarning=!0,Object.defineProperty(k,"ref",{get:q,configurable:!0})}}var Se=function(k,F,q,ie,Ke,ze,Ie){var J={$$typeof:t,type:k,key:F,ref:q,props:Ie,_owner:ze};return J._store={},Object.defineProperty(J._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:!1}),Object.defineProperty(J,"_self",{configurable:!1,enumerable:!1,writable:!1,value:ie}),Object.defineProperty(J,"_source",{configurable:!1,enumerable:!1,writable:!1,value:Ke}),Object.freeze&&(Object.freeze(J.props),Object.freeze(J)),J};function ne(k,F,q,ie,Ke){{var ze,Ie={},J=null,Re=null;q!==void 0&&(L(q),J=""+q),te(F)&&(L(F.key),J=""+F.key),de(F)&&(Re=F.ref,U(F,Ke));for(ze in F)_t.call(F,ze)&&!R.hasOwnProperty(ze)&&(Ie[ze]=F[ze]);if(k&&k.defaultProps){var Xe=k.defaultProps;for(ze in Xe)Ie[ze]===void 0&&(Ie[ze]=Xe[ze])}if(J||Re){var ve=typeof k=="function"?k.displayName||k.name||"Unknown":k;J&&pe(Ie,ve),Re&&Q(Ie,ve)}return Se(k,J,Re,Ke,ie,A.current,Ie)}}var Ne=O.ReactCurrentOwner,Ze=O.ReactDebugCurrentFrame;function _e(k){if(k){var F=k._owner,q=Le(k.type,k._source,F?F.type:null);Ze.setExtraStackFrame(q)}else Ze.setExtraStackFrame(null)}var $e;$e=!1;function Pe(k){return typeof k=="object"&&k!==null&&k.$$typeof===t}function ct(){{if(Ne.current){var k=X(Ne.current.type);if(k)return`
22
+
23
+ Check the render method of \``+k+"`."}return""}}function st(k){return""}var mt={};function dt(k){{var F=ct();if(!F){var q=typeof k=="string"?k:k.displayName||k.name;q&&(F=`
24
+
25
+ Check the top-level render call using <`+q+">.")}return F}}function Ye(k,F){{if(!k._store||k._store.validated||k.key!=null)return;k._store.validated=!0;var q=dt(F);if(mt[q])return;mt[q]=!0;var ie="";k&&k._owner&&k._owner!==Ne.current&&(ie=" It was passed a child from "+X(k._owner.type)+"."),_e(k),C('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.',q,ie),_e(null)}}function rt(k,F){{if(typeof k!="object")return;if(zt(k))for(var q=0;q<k.length;q++){var ie=k[q];Pe(ie)&&Ye(ie,F)}else if(Pe(k))k._store&&(k._store.validated=!0);else if(k){var Ke=b(k);if(typeof Ke=="function"&&Ke!==k.entries)for(var ze=Ke.call(k),Ie;!(Ie=ze.next()).done;)Pe(Ie.value)&&Ye(Ie.value,F)}}}function et(k){{var F=k.type;if(F==null||typeof F=="string")return;var q;if(typeof F=="function")q=F.propTypes;else if(typeof F=="object"&&(F.$$typeof===c||F.$$typeof===S))q=F.propTypes;else return;if(q){var ie=X(F);Nt(q,k.props,"prop",ie,k)}else if(F.PropTypes!==void 0&&!$e){$e=!0;var Ke=X(F);C("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",Ke||"Unknown")}typeof F.getDefaultProps=="function"&&!F.getDefaultProps.isReactClassApproved&&C("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}function Oe(k){{for(var F=Object.keys(k.props),q=0;q<F.length;q++){var ie=F[q];if(ie!=="children"&&ie!=="key"){_e(k),C("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",ie),_e(null);break}}k.ref!==null&&(_e(k),C("Invalid attribute `ref` supplied to `React.Fragment`."),_e(null))}}var De={};function Te(k,F,q,ie,Ke,ze){{var Ie=j(k);if(!Ie){var J="";(k===void 0||typeof k=="object"&&k!==null&&Object.keys(k).length===0)&&(J+=" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");var Re=st();Re?J+=Re:J+=ct();var Xe;k===null?Xe="null":zt(k)?Xe="array":k!==void 0&&k.$$typeof===t?(Xe="<"+(X(k.type)||"Unknown")+" />",J=" Did you accidentally export a JSX literal instead of a component?"):Xe=typeof k,C("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",Xe,J)}var ve=ne(k,F,q,Ke,ze);if(ve==null)return ve;if(Ie){var wt=F.children;if(wt!==void 0)if(ie)if(zt(wt)){for(var lt=0;lt<wt.length;lt++)rt(wt[lt],k);Object.freeze&&Object.freeze(wt)}else C("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");else rt(wt,k)}if(_t.call(F,"key")){var Pt=X(k),vt=Object.keys(F).filter(function(tr){return tr!=="key"}),At=vt.length>0?"{key: someKey, "+vt.join(": ..., ")+": ...}":"{key: someKey}";if(!De[Pt+At]){var Yt=vt.length>0?"{"+vt.join(": ..., ")+": ...}":"{}";C(`A props object containing a "key" prop is being spread into JSX:
26
+ let props = %s;
27
+ <%s {...props} />
28
+ React keys must be passed directly to JSX without using spread:
29
+ let props = %s;
30
+ <%s key={someKey} {...props} />`,At,Pt,Yt,Pt),De[Pt+At]=!0}}return k===a?Oe(ve):et(ve),ve}}function Ae(k,F,q){return Te(k,F,q,!0)}function Je(k,F,q){return Te(k,F,q,!1)}var We=Je,Be=Ae;zn.Fragment=a,zn.jsx=We,zn.jsxs=Be}()),zn}process.env.NODE_ENV==="production"?Qi.exports=_c():Qi.exports=Sc();var w=Qi.exports,Hs={color:void 0,size:void 0,className:void 0,style:void 0,attr:void 0},go=ee.createContext&&ee.createContext(Hs),Ec=["attr","size","title"];function kc(e,t){if(e==null)return{};var n=Dc(e,t),a,r;if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)a=i[r],!(t.indexOf(a)>=0)&&Object.prototype.propertyIsEnumerable.call(e,a)&&(n[a]=e[a])}return n}function Dc(e,t){if(e==null)return{};var n={};for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){if(t.indexOf(a)>=0)continue;n[a]=e[a]}return n}function Yl(){return Yl=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},Yl.apply(this,arguments)}function mo(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable})),n.push.apply(n,a)}return n}function Wl(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?mo(Object(n),!0).forEach(function(a){Oc(e,a,n[a])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):mo(Object(n)).forEach(function(a){Object.defineProperty(e,a,Object.getOwnPropertyDescriptor(n,a))})}return e}function Oc(e,t,n){return t=Mc(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Mc(e){var t=Lc(e,"string");return typeof t=="symbol"?t:t+""}function Lc(e,t){if(typeof e!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var a=n.call(e,t);if(typeof a!="object")return a;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function Vs(e){return e&&e.map((t,n)=>ee.createElement(t.tag,Wl({key:n},t.attr),Vs(t.child)))}function nr(e){return t=>ee.createElement(Nc,Yl({attr:Wl({},e.attr)},t),Vs(e.child))}function Nc(e){var t=n=>{var{attr:a,size:r,title:i}=e,s=kc(e,Ec),u=r||n.size||"1em",c;return n.className&&(c=n.className),e.className&&(c=(c?c+" ":"")+e.className),ee.createElement("svg",Yl({stroke:"currentColor",fill:"currentColor",strokeWidth:"0"},n.attr,a,s,{className:c,style:Wl(Wl({color:e.color||n.color},n.style),e.style),height:u,width:u,xmlns:"http://www.w3.org/2000/svg"}),i&&ee.createElement("title",null,i),e.children)};return go!==void 0?ee.createElement(go.Consumer,null,n=>t(n)):t(Hs)}function Us(e){return nr({attr:{viewBox:"0 0 16 16",fill:"currentColor"},child:[{tag:"path",attr:{fillRule:"evenodd",clipRule:"evenodd",d:"M13.917 7A6.002 6.002 0 0 0 2.083 7H1.071a7.002 7.002 0 0 1 13.858 0h-1.012z"},child:[]}]})(e)}const er=({title:e,variant:t="variant",type:n="button",loading:a=!1,disabled:r=!1,className:i,icon:s=null,loadingColor:u="currentColor",...c})=>{const d=s&&!e,g={outlined:"text-black bg-white border border-black",variant:"bg-success border border-success text-white",text:"p-0 shadow-none text-black",icon:"p-0.5"};return w.jsx("button",{type:n,title:e,disabled:r||a||t=="disabled",className:oe("flex items-center justify-center gap-4 font-500 px-2 py-1 rounded text-2xs lg:text-xs xl:text-sm shadow-sm",g[t],{"bg-gray-200 text-gray-500 border-gray-300 cursor-not-allowed":r||a,"p-0.5":d},i),...c,children:a?w.jsx(Us,{className:"text-lg animate-spin",color:u}):w.jsxs(w.Fragment,{children:[e&&w.jsx("span",{children:e}),s]})})},Tc="_right_1mkw2_1",Ic="_center_1mkw2_19",Bc="_left_1mkw2_35",bi={right:Tc,center:Ic,left:Bc};function ta({className:e,position:t}){const n={center:bi.center,right:bi.right,left:bi.left};return w.jsx("div",{className:oe("w-full rounded-md h-[1px] mt-1 mb-2",n[t],e)})}function Ac(e){return nr({attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{fill:"none",strokeMiterlimit:"10",strokeWidth:"32",d:"M448 256c0-106-86-192-192-192S64 150 64 256s86 192 192 192 192-86 192-192z"},child:[]},{tag:"path",attr:{fill:"none",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"32",d:"M256 176v160m80-80H176"},child:[]}]})(e)}function Ys(e){return nr({attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{fill:"none",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"48",d:"m112 184 144 144 144-144"},child:[]}]})(e)}function Rc(e){return nr({attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{fill:"none",strokeLinejoin:"round",strokeWidth:"32",d:"M384 368h24a40.12 40.12 0 0 0 40-40V168a40.12 40.12 0 0 0-40-40H104a40.12 40.12 0 0 0-40 40v160a40.12 40.12 0 0 0 40 40h24"},child:[]},{tag:"rect",attr:{width:"256",height:"208",x:"128",y:"240",fill:"none",strokeLinejoin:"round",strokeWidth:"32",rx:"24.32",ry:"24.32"},child:[]},{tag:"path",attr:{fill:"none",strokeLinejoin:"round",strokeWidth:"32",d:"M384 128v-24a40.12 40.12 0 0 0-40-40H168a40.12 40.12 0 0 0-40 40v24"},child:[]},{tag:"circle",attr:{cx:"392",cy:"184",r:"24"},child:[]}]})(e)}const e0=({label:e,options:t,onChange:n,containerClassName:a})=>{const[r,i]=ee.useState(!1),s=()=>i(u=>!u);return w.jsxs(ee.Fragment,{children:[r?w.jsx("div",{onClick:()=>i(!1),className:"fixed top-0 left-0 h-full w-full z-[999]"}):null,w.jsxs("div",{className:oe(a," flex items-center gap-2 select-none relative bg-white rounded px-1 lg:px-2 py-1.5 md:py-1 min-w-fit cursor-pointer",r?"z-[1000]":""),onClick:s,children:[w.jsx("div",{className:"flex items-center lg:gap-1 lg:py-1",children:w.jsx("span",{className:"text-2xs lg:text-xs",children:e})}),w.jsx(Ys,{className:`transition-all text-2xs lg:text-sm ${r?"rotate-180":""}`}),w.jsx("ul",{className:`md:-left-1 absolute -bottom-1 translate-y-full md:translate-y-0 md:bottom-0 md:-translate-x-full transition-all md:mr-2 divide-y divide-gray-200 bg-white rounded overflow-hidden z-50 min-w-full md:min-w-fit ${r?"py-2":"h-0"}`,children:t.map(u=>w.jsx("li",{className:" py-1.5 md:py-2 px-2 text-2xs lg:text-xs hover:bg-formItemInput lg:px-3 !min-w-fit",onClick:()=>n(u.value),children:u.label},u.label))})]})]})},Fc="_container_18ahe_3",jc="_modal_18ahe_15",bo={container:Fc,modal:jc},y0=({onClose:e,isOpen:t,children:n,containerClassName:a})=>{if(!t)return null;const r=()=>{e()};return nl.createPortal(w.jsx("div",{className:bo.container+" fixed inset-0 z-50 flex items-center justify-center h-screen w-screen",onClick:r,children:w.jsxs("div",{className:oe(a,bo.modal+" bg-white shadow-lg px-2 lg:px-4 py-2 rounded-md max-w-[100vw] max-h-[100vh] overflow-y-auto"),onClick:i=>i.stopPropagation(),children:[w.jsx(er,{className:"!p-1 lg:!p-2 !bg-transparent border-none !font-700 !text-2xl !text-black !shadow-none",title:"×",onClick:r}),n]})}),modal)},Pc=["ردیف","تاریخ","پاسخ"],qa=[{label:"نمایش به صورت : 5",value:5},{label:"نمایش به صورت : 10",value:10},{label:"نمایش به صورت : 20",value:20},{label:"نمایش به صورت : 30",value:30}],yo=[{label:"دانلود تمام صفحات (CSV)",value:"csv"},{label:"دانلود جدول (Excel)",value:"excel"}],$c=`
31
+ <style>
32
+ *,:after,:before{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness:proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgba(59,130,246,.5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }::backdrop{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness:proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgba(59,130,246,.5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }/*! tailwindcss v3.4.17 | MIT License | https://tailwindcss.com*/*,:after,:before{border:0 solid #e5e7eb;box-sizing:border-box}:after,:before{--tw-content:""}:host,html{line-height:1.5;-webkit-text-size-adjust:100%;font-family:ui-sans-serif,system-ui,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;font-feature-settings:normal;font-variation-settings:normal;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-tap-highlight-color:transparent}body{line-height:inherit;margin:0}hr{border-top-width:1px;color:inherit;height:0}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,pre,samp{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-feature-settings:normal;font-size:1em;font-variation-settings:normal}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{border-collapse:collapse;border-color:inherit;text-indent:0}button,input,optgroup,select,textarea{color:inherit;font-family:inherit;font-feature-settings:inherit;font-size:100%;font-variation-settings:inherit;font-weight:inherit;letter-spacing:inherit;line-height:inherit;margin:0;padding:0}button,select{text-transform:none}button,input:where([type=button]),input:where([type=reset]),input:where([type=submit]){-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dd,dl,figure,h1,h2,h3,h4,h5,h6,hr,p,pre{margin:0}fieldset{margin:0}fieldset,legend{padding:0}menu,ol,ul{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::-moz-placeholder,textarea::-moz-placeholder{color:#9ca3af;opacity:1}input::placeholder,textarea::placeholder{color:#9ca3af;opacity:1}[role=button],button{cursor:pointer}:disabled{cursor:default}audio,canvas,embed,iframe,img,object,svg,video{display:block;vertical-align:middle}img,video{height:auto;max-width:100%}[hidden]:where(:not([hidden=until-found])){display:none}.container{width:100%}@media (min-width:303px){.container{max-width:303px}}@media (min-width:672px){.container{max-width:672px}}@media (min-width:952px){.container{max-width:952px}}@media (min-width:1160px){.container{max-width:1160px}}.fixed{position:fixed}.absolute{position:absolute}.relative{position:relative}.sticky{position:sticky}.inset-0{inset:0}.!left-1{left:.25rem!important}.!left-auto{left:auto!important}.!right-1{right:.25rem!important}.-bottom-1{bottom:-.25rem}.-top-3.5{top:-.875rem}.bottom-0{bottom:0}.left-0{left:0}.left-1{left:.25rem}.left-2{left:.5rem}.left-auto{left:auto}.right-0{right:0}.right-2{right:.5rem}.top-0{top:0}.top-1/2{top:50%}.z-10{z-index:10}.z-20{z-index:20}.z-30{z-index:30}.z-50{z-index:50}.z-[1000]{z-index:1000}.z-[1]{z-index:1}.z-[999]{z-index:999}.col-span-full{grid-column:1/-1}.!m-auto{margin:auto!important}.m-auto{margin:auto}.!mx-auto{margin-left:auto!important;margin-right:auto!important}.mx-auto{margin-left:auto;margin-right:auto}.my-12{margin-bottom:3rem;margin-top:3rem}.!mt-0{margin-top:0!important}.mb-2{margin-bottom:.5rem}.mb-3{margin-bottom:.75rem}.mb-4{margin-bottom:1rem}.ml-1{margin-left:.25rem}.ml-auto{margin-left:auto}.mr-1{margin-right:.25rem}.mr-6{margin-right:1.5rem}.mr-auto{margin-right:auto}.mt-0{margin-top:0}.mt-0.5{margin-top:.125rem}.mt-1{margin-top:.25rem}.mt-2{margin-top:.5rem}.mt-4{margin-top:1rem}.mt-8{margin-top:2rem}.mt-auto{margin-top:auto}.block{display:block}.inline{display:inline}.!flex{display:flex!important}.flex{display:flex}.!table{display:table!important}.table{display:table}.table-row{display:table-row}.grid{display:grid}.!hidden{display:none!important}.hidden{display:none}.aspect-square{aspect-ratio:1/1}.!h-0{height:0!important}.!h-[24px]{height:24px!important}.h-0{height:0}.h-0.5{height:.125rem}.h-10{height:2.5rem}.h-12{height:3rem}.h-2/3{height:66.666667%}.h-6{height:1.5rem}.h-[100px]{height:100px}.h-[13px]{height:13px}.h-[16px]{height:16px}.h-[1px]{height:1px}.h-[22px]{height:22px}.h-[35vh]{height:35vh}.h-full{height:100%}.h-screen{height:100vh}.max-h-6{max-height:1.5rem}.max-h-[100vh]{max-height:100vh}.max-h-[200px]{max-height:200px}.max-h-fit{max-height:-moz-fit-content;max-height:fit-content}.max-h-full{max-height:100%}.min-h-6{min-height:1.5rem}.min-h-full{min-height:100%}.!w-[94px]{width:94px!important}.!w-full{width:100%!important}.w-1/2{width:50%}.w-10{width:2.5rem}.w-12{width:3rem}.w-4{width:1rem}.w-[120px]{width:120px}.w-[12px]{width:12px}.w-[13px]{width:13px}.w-[15px]{width:15px}.w-[16px]{width:16px}.w-[20px]{width:20px}.w-[270px]{width:270px}.w-[28px]{width:28px}.w-[350px]{width:350px}.w-[70vw]{width:70vw}.w-[80vw]{width:80vw}.w-[81px]{width:81px}.w-[96px]{width:96px}.w-fit{width:-moz-fit-content;width:fit-content}.w-full{width:100%}.w-screen{width:100vw}.!min-w-0{min-width:0!important}.!min-w-fit{min-width:-moz-fit-content!important;min-width:fit-content!important}.min-w-0{min-width:0}.min-w-6{min-width:1.5rem}.min-w-[270px]{min-width:270px}.min-w-[46%]{min-width:46%}.min-w-fit{min-width:-moz-fit-content;min-width:fit-content}.min-w-full{min-width:100%}.max-w-6{max-width:1.5rem}.max-w-[100vw]{max-width:100vw}.max-w-[300px]{max-width:300px}.!flex-1{flex:1 1 0%!important}.flex-1{flex:1 1 0%}.flex-grow{flex-grow:1}.border-separate{border-collapse:separate}.border-spacing-[2px]{--tw-border-spacing-x:2px;--tw-border-spacing-y:2px;border-spacing:var(--tw-border-spacing-x) var(--tw-border-spacing-y)}.origin-left{transform-origin:left}.!translate-y-[35%]{--tw-translate-y:35%!important;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))!important}.-translate-y-1/2{--tw-translate-y:-50%}.-translate-y-1/2,.translate-y-1/2{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.translate-y-1/2{--tw-translate-y:50%}.translate-y-full{--tw-translate-y:100%}.rotate-180,.translate-y-full{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.rotate-180{--tw-rotate:180deg}@keyframes flipBottom{0%{transform:translateY(-100%)}to{transform:translateY(0)}}.animate-flipBottom{animation:flipBottom .3s}@keyframes spin{to{transform:rotate(1turn)}}.animate-spin{animation:spin 1s linear infinite}.cursor-not-allowed{cursor:not-allowed}.cursor-pointer{cursor:pointer}.select-none{-webkit-user-select:none;-moz-user-select:none;user-select:none}.resize{resize:both}.grid-cols-1{grid-template-columns:repeat(1,minmax(0,1fr))}.grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.!flex-row{flex-direction:row!important}.flex-col{flex-direction:column}.flex-wrap{flex-wrap:wrap}.place-items-center{place-items:center}.items-end{align-items:flex-end}.items-center{align-items:center}.justify-start{justify-content:flex-start}.justify-end{justify-content:flex-end}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.!gap-0{gap:0!important}.!gap-0.5{gap:.125rem!important}.!gap-1{gap:.25rem!important}.!gap-2{gap:.5rem!important}.!gap-3{gap:.75rem!important}.!gap-5{gap:1.25rem!important}.!gap-[1px]{gap:1px!important}.gap-0.5{gap:.125rem}.gap-1{gap:.25rem}.gap-1.5{gap:.375rem}.gap-2{gap:.5rem}.gap-3{gap:.75rem}.gap-4{gap:1rem}.gap-7{gap:1.75rem}.gap-x-2{-moz-column-gap:.5rem;column-gap:.5rem}.gap-x-4{-moz-column-gap:1rem;column-gap:1rem}.gap-y-3{row-gap:.75rem}.gap-y-4{row-gap:1rem}.divide-y>:not([hidden])~:not([hidden]){--tw-divide-y-reverse:0;border-bottom-width:calc(1px*var(--tw-divide-y-reverse));border-top-width:calc(1px*(1 - var(--tw-divide-y-reverse)))}.divide-solid>:not([hidden])~:not([hidden]){border-style:solid}.divide-gray-200>:not([hidden])~:not([hidden]){--tw-divide-opacity:1;border-color:rgb(229 231 235/var(--tw-divide-opacity,1))}.self-start{align-self:flex-start}.self-end{align-self:flex-end}.self-center{align-self:center}.overflow-auto{overflow:auto}.overflow-hidden{overflow:hidden}.overflow-x-auto{overflow-x:auto}.overflow-y-auto{overflow-y:auto}.overflow-y-scroll{overflow-y:scroll}.text-ellipsis{text-overflow:ellipsis}.whitespace-nowrap{white-space:nowrap}.text-nowrap{text-wrap:nowrap}.!rounded-[2px]{border-radius:2px!important}.!rounded-[3px]{border-radius:3px!important}.rounded{border-radius:.25rem}.rounded-lg{border-radius:.5rem}.rounded-md{border-radius:.375rem}.!rounded-l-none{border-bottom-left-radius:0!important;border-top-left-radius:0!important}.!rounded-r-none{border-bottom-right-radius:0!important;border-top-right-radius:0!important}.rounded-b{border-bottom-left-radius:.25rem;border-bottom-right-radius:.25rem}.rounded-b-md{border-bottom-left-radius:.375rem;border-bottom-right-radius:.375rem}.rounded-r{border-bottom-right-radius:.25rem;border-top-right-radius:.25rem}.!border-[0.25px]{border-width:.25px!important}.!border-[0.5px]{border-width:.5px!important}.border{border-width:1px}.border-[0.25px]{border-width:.25px}.border-[0.5px]{border-width:.5px}.border-x-[12px]{border-left-width:12px;border-right-width:12px}.border-y-4{border-bottom-width:4px;border-top-width:4px}.border-solid{border-style:solid}.!border-none{border-style:none!important}.border-none{border-style:none}.!border-success{--tw-border-opacity:1!important;border-color:rgb(2 137 76/var(--tw-border-opacity,1))!important}.border-black{--tw-border-opacity:1;border-color:rgb(0 0 0/var(--tw-border-opacity,1))}.border-formItem2{--tw-border-opacity:1;border-color:rgb(199 240 255/var(--tw-border-opacity,1))}.border-gray-300{--tw-border-opacity:1;border-color:rgb(209 213 219/var(--tw-border-opacity,1))}.border-success{--tw-border-opacity:1;border-color:rgb(2 137 76/var(--tw-border-opacity,1))}.!border-opacity-30{--tw-border-opacity:0.3!important}.border-opacity-40{--tw-border-opacity:0.4}.!bg-[#f7f7f7]{--tw-bg-opacity:1!important;background-color:rgb(247 247 247/var(--tw-bg-opacity,1))!important}.!bg-background{--tw-bg-opacity:1!important;background-color:rgb(250 255 255/var(--tw-bg-opacity,1))!important}.!bg-success{--tw-bg-opacity:1!important;background-color:rgb(2 137 76/var(--tw-bg-opacity,1))!important}.!bg-transparent{background-color:transparent!important}.!bg-white{--tw-bg-opacity:1!important;background-color:rgb(255 255 255/var(--tw-bg-opacity,1))!important}.bg-[#e7e7e7]{--tw-bg-opacity:1;background-color:rgb(231 231 231/var(--tw-bg-opacity,1))}.bg-[#f1f1f1]{--tw-bg-opacity:1;background-color:rgb(241 241 241/var(--tw-bg-opacity,1))}.bg-[#f7f7f7]{--tw-bg-opacity:1;background-color:rgb(247 247 247/var(--tw-bg-opacity,1))}.bg-background{--tw-bg-opacity:1;background-color:rgb(250 255 255/var(--tw-bg-opacity,1))}.bg-black{--tw-bg-opacity:1;background-color:rgb(0 0 0/var(--tw-bg-opacity,1))}.bg-formItem{--tw-bg-opacity:1;background-color:rgb(238 254 255/var(--tw-bg-opacity,1))}.bg-formItem2{--tw-bg-opacity:1;background-color:rgb(199 240 255/var(--tw-bg-opacity,1))}.bg-formItemInput{--tw-bg-opacity:1;background-color:rgb(245 254 255/var(--tw-bg-opacity,1))}.bg-gray-200{--tw-bg-opacity:1;background-color:rgb(229 231 235/var(--tw-bg-opacity,1))}.bg-success{--tw-bg-opacity:1;background-color:rgb(2 137 76/var(--tw-bg-opacity,1))}.bg-transparent{background-color:transparent}.bg-white{--tw-bg-opacity:1;background-color:rgb(255 255 255/var(--tw-bg-opacity,1))}.bg-opacity-30{--tw-bg-opacity:0.3}.bg-opacity-40{--tw-bg-opacity:0.4}.object-cover{-o-object-fit:cover;object-fit:cover}.!p-0{padding:0!important}.!p-1{padding:.25rem!important}.p-0{padding:0}.p-0.5{padding:.125rem}.p-1{padding:.25rem}.p-2{padding:.5rem}.!px-0{padding-left:0!important;padding-right:0!important}.!px-2{padding-left:.5rem!important;padding-right:.5rem!important}.!py-0{padding-bottom:0!important;padding-top:0!important}.!py-1.5{padding-bottom:.375rem!important;padding-top:.375rem!important}.!py-2{padding-bottom:.5rem!important;padding-top:.5rem!important}.px-1{padding-left:.25rem;padding-right:.25rem}.px-1.5{padding-left:.375rem;padding-right:.375rem}.px-2{padding-left:.5rem;padding-right:.5rem}.px-3{padding-left:.75rem;padding-right:.75rem}.px-4{padding-left:1rem;padding-right:1rem}.py-0{padding-bottom:0;padding-top:0}.py-0.5{padding-bottom:.125rem;padding-top:.125rem}.py-1{padding-bottom:.25rem;padding-top:.25rem}.py-1.5{padding-bottom:.375rem;padding-top:.375rem}.py-2{padding-bottom:.5rem;padding-top:.5rem}.py-2.5{padding-bottom:.625rem;padding-top:.625rem}.py-3{padding-bottom:.75rem;padding-top:.75rem}.py-4{padding-bottom:1rem;padding-top:1rem}.!pb-0{padding-bottom:0!important}.!pb-2{padding-bottom:.5rem!important}.!pt-4{padding-top:1rem!important}.pb-3{padding-bottom:.75rem}.pb-4{padding-bottom:1rem}.pl-[18px]{padding-left:18px}.pr-1{padding-right:.25rem}.pr-2{padding-right:.5rem}.pt-3{padding-top:.75rem}.pt-4{padding-top:1rem}.pt-[1px]{padding-top:1px}.!text-center{text-align:center!important}.text-center{text-align:center}.text-justify{text-align:justify}.!font-700{font-family:IranSans700,sans-serif!important}.font-400{font-family:IranSans400,sans-serif}.font-500{font-family:IranSans500,sans-serif}.font-600{font-family:IranSans600,sans-serif}.font-700{font-family:IranSans700,sans-serif}.font-800{font-family:IranSans800,sans-serif}.!text-2xl{font-size:1.5rem!important;line-height:2rem!important}.!text-2xs{font-size:.625rem!important}.!text-[9px]{font-size:9px!important}.!text-base{font-size:1rem!important;line-height:1.5rem!important}.text-2xl{font-size:1.5rem;line-height:2rem}.text-2xs{font-size:.625rem}.text-3xs{font-size:.5rem}.text-lg{font-size:1.125rem;line-height:1.75rem}.text-sm{font-size:.875rem;line-height:1.25rem}.text-xs{font-size:.75rem;line-height:1rem}.!leading-none{line-height:1!important}.!text-black{color:rgb(0 0 0/var(--tw-text-opacity,1))!important}.!text-black,.!text-white{--tw-text-opacity:1!important}.!text-white{color:rgb(255 255 255/var(--tw-text-opacity,1))!important}.text-[#3D0C02]{--tw-text-opacity:1;color:rgb(61 12 2/var(--tw-text-opacity,1))}.text-[#7B7B7B]{--tw-text-opacity:1;color:rgb(123 123 123/var(--tw-text-opacity,1))}.text-black{--tw-text-opacity:1;color:rgb(0 0 0/var(--tw-text-opacity,1))}.text-error{--tw-text-opacity:1;color:rgb(150 0 24/var(--tw-text-opacity,1))}.text-gray-500{--tw-text-opacity:1;color:rgb(107 114 128/var(--tw-text-opacity,1))}.text-gray-800{--tw-text-opacity:1;color:rgb(31 41 55/var(--tw-text-opacity,1))}.text-success{--tw-text-opacity:1;color:rgb(2 137 76/var(--tw-text-opacity,1))}.text-white{--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity,1))}.opacity-0{opacity:0}.opacity-5{opacity:.05}.opacity-90{opacity:.9}.!shadow-none{--tw-shadow:0 0 #0000!important;--tw-shadow-colored:0 0 #0000!important}.!shadow-none,.!shadow-sm{box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)!important}.!shadow-sm{--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05)!important;--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color)!important}.shadow-inner{--tw-shadow:inset 0 2px 4px 0 rgba(0,0,0,.05);--tw-shadow-colored:inset 0 2px 4px 0 var(--tw-shadow-color)}.shadow-inner,.shadow-lg{box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.shadow-lg{--tw-shadow:0 10px 15px -3px rgba(0,0,0,.1),0 4px 6px -4px rgba(0,0,0,.1);--tw-shadow-colored:0 10px 15px -3px var(--tw-shadow-color),0 4px 6px -4px var(--tw-shadow-color)}.shadow-md{--tw-shadow:0 4px 6px -1px rgba(0,0,0,.1),0 2px 4px -2px rgba(0,0,0,.1);--tw-shadow-colored:0 4px 6px -1px var(--tw-shadow-color),0 2px 4px -2px var(--tw-shadow-color)}.shadow-md,.shadow-none{box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.shadow-none{--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000}.shadow-primary{--tw-shadow:0px 3px 8px 0px rgb(0 0 0/8%);--tw-shadow-colored:0px 3px 8px 0px var(--tw-shadow-color)}.shadow-primary,.shadow-sm{box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.shadow-sm{--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color)}.outline-none{outline:2px solid transparent;outline-offset:2px}.!ring-0{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color)!important;--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(var(--tw-ring-offset-width)) var(--tw-ring-color)!important;box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000)!important}.blur-sm{--tw-blur:blur(4px)}.blur-sm,.filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.backdrop-blur-md{--tw-backdrop-blur:blur(12px)}.backdrop-blur-md,.backdrop-blur-sm{-webkit-backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia);backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia)}.backdrop-blur-sm{--tw-backdrop-blur:blur(4px)}.transition-all{transition-duration:.15s;transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1)}.transition-transform{transition-duration:.15s;transition-property:transform;transition-timing-function:cubic-bezier(.4,0,.2,1)}.duration-200{transition-duration:.2s}.duration-500{transition-duration:.5s}@font-face{font-family:IranSans300;font-weight:300;src:url(assets/5148f86.woff) format("woff")}@font-face{font-family:IranSans400;font-weight:400;src:url(assets/258cc20c.woff) format("woff")}@font-face{font-family:IranSans500;font-weight:500;src:url(assets/3ba4493d.woff) format("woff")}@font-face{font-family:IranSans600;font-weight:600;src:url(assets/8e184935.woff) format("woff")}@font-face{font-family:IranSans700;font-weight:700;src:url(assets/6f137c63.woff) format("woff")}@font-face{font-family:IranSans800;font-weight:800;src:url(assets/6eb182a9.woff) format("woff")}.error{bottom:-1.5rem;display:flex;position:absolute;right:0;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}@keyframes bounce{0%,to{animation-timing-function:cubic-bezier(.8,0,1,1);transform:translateY(-25%)}50%{animation-timing-function:cubic-bezier(0,0,.2,1);transform:none}}.error{align-items:center;animation:bounce 1s infinite;font-family:IranSans400,sans-serif;font-size:.625rem;gap:.25rem;--tw-text-opacity:1;color:rgb(150 0 24/var(--tw-text-opacity,1))}@media (min-width:952px){.error{font-size:.75rem;line-height:1rem}}.field-error{margin-bottom:.625rem}@media (min-width:952px){.field-error{margin-bottom:.25rem!important}}.field-error{border:1px!important;border-color:#960018!important;border-style:solid!important}input::-webkit-inner-spin-button,input::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}@media only screen and (min-width:952px){::-webkit-scrollbar{width:10px!important}}@media only screen and (min-width:672px) and (max-width:951px){::-webkit-scrollbar{width:8px!important}}@media only screen and (max-width:671px){::-webkit-scrollbar{width:6px!important}}::-webkit-scrollbar-track{background-color:#f5f5f5}::-webkit-scrollbar-thumb,::-webkit-scrollbar-track{border-radius:10px;-webkit-box-shadow:inset 0 0 6px rgba(0,0,0,.3)}::-webkit-scrollbar-thumb{background-color:#c2c2c2}input[type=number]{-moz-appearance:textfield}.label-center{justify-content:center!important;min-width:100%!important}.label-right{justify-content:flex-start!important}.label-left,.label-right{min-width:100%!important}.placeholder:text-2xs::-moz-placeholder{font-size:.625rem}.placeholder:text-2xs::placeholder{font-size:.625rem}.focus-within:border-success:focus-within{--tw-border-opacity:1;border-color:rgb(2 137 76/var(--tw-border-opacity,1))}.focus-within:ring-1:focus-within{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000)}.focus-within:ring-success:focus-within{--tw-ring-opacity:1;--tw-ring-color:rgb(2 137 76/var(--tw-ring-opacity,1))}.hover:scale-105:hover{--tw-scale-x:1.05;--tw-scale-y:1.05}.hover:scale-105:hover,.hover:scale-110:hover{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.hover:scale-110:hover{--tw-scale-x:1.1;--tw-scale-y:1.1}.hover:cursor-pointer:hover{cursor:pointer}.hover:border-black:hover{--tw-border-opacity:1;border-color:rgb(0 0 0/var(--tw-border-opacity,1))}.hover:border-success:hover{--tw-border-opacity:1;border-color:rgb(2 137 76/var(--tw-border-opacity,1))}.hover:!bg-success:hover{--tw-bg-opacity:1!important;background-color:rgb(2 137 76/var(--tw-bg-opacity,1))!important}.hover:!bg-white:hover{--tw-bg-opacity:1!important;background-color:rgb(255 255 255/var(--tw-bg-opacity,1))!important}.hover:bg-formItemInput:hover{--tw-bg-opacity:1;background-color:rgb(245 254 255/var(--tw-bg-opacity,1))}.hover:bg-gray-200:hover{--tw-bg-opacity:1;background-color:rgb(229 231 235/var(--tw-bg-opacity,1))}.hover:bg-white:hover{--tw-bg-opacity:1;background-color:rgb(255 255 255/var(--tw-bg-opacity,1))}.hover:!text-white:hover{--tw-text-opacity:1!important;color:rgb(255 255 255/var(--tw-text-opacity,1))!important}.hover:text-white:hover{--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity,1))}.hover:opacity-100:hover{opacity:1}.hover:outline-none:hover{outline:2px solid transparent;outline-offset:2px}.hover:ring-0:hover{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000)}.focus:border-success:focus{--tw-border-opacity:1;border-color:rgb(2 137 76/var(--tw-border-opacity,1))}.focus:bg-white:focus{--tw-bg-opacity:1;background-color:rgb(255 255 255/var(--tw-bg-opacity,1))}.focus:outline-none:focus{outline:2px solid transparent;outline-offset:2px}.focus:ring-0:focus{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000)}.group:hover .group-hover:!bg-success{--tw-bg-opacity:1!important;background-color:rgb(2 137 76/var(--tw-bg-opacity,1))!important}.group:hover .group-hover:!text-success{--tw-text-opacity:1!important;color:rgb(2 137 76/var(--tw-text-opacity,1))!important}.group:hover .group-hover:!text-white{--tw-text-opacity:1!important;color:rgb(255 255 255/var(--tw-text-opacity,1))!important}.group:hover .group-hover:text-success{--tw-text-opacity:1;color:rgb(2 137 76/var(--tw-text-opacity,1))}.group:hover .group-hover:shadow-lg{--tw-shadow:0 10px 15px -3px rgba(0,0,0,.1),0 4px 6px -4px rgba(0,0,0,.1);--tw-shadow-colored:0 10px 15px -3px var(--tw-shadow-color),0 4px 6px -4px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}@media (min-width:303px){.xs:h-[22px]{height:22px}.xs:w-[88vw]{width:88vw}.xs:w-full{width:100%}.xs:gap-x-[1.3vw]{-moz-column-gap:1.3vw;column-gap:1.3vw}.xs:!rounded-[2px]{border-radius:2px!important}.xs:!rounded-[4px]{border-radius:4px!important}.xs:!rounded-l-[2px]{border-bottom-left-radius:2px!important;border-top-left-radius:2px!important}.xs:!rounded-l-none{border-bottom-left-radius:0!important;border-top-left-radius:0!important}.xs:!rounded-r-[2px]{border-bottom-right-radius:2px!important;border-top-right-radius:2px!important}.xs:!rounded-r-none{border-bottom-right-radius:0!important;border-top-right-radius:0!important}.xs:!py-1.5{padding-bottom:.375rem!important;padding-top:.375rem!important}.xs:py-[3px]{padding-bottom:3px;padding-top:3px}.xs:text-2xs{font-size:.625rem}.xs:text-xs{font-size:.75rem;line-height:1rem}.xs:!leading-4{line-height:1rem!important}}@media (min-width:672px){.md:-left-1{left:-.25rem}.md:bottom-0{bottom:0}.md:left-4{left:1rem}.md:!mx-auto{margin-left:auto!important;margin-right:auto!important}.md:ml-0{margin-left:0}.md:ml-auto{margin-left:auto}.md:mr-0{margin-right:0}.md:mr-2{margin-right:.5rem}.md:mr-auto{margin-right:auto}.md:mt-0{margin-top:0}.md:mt-2{margin-top:.5rem}.md:block{display:block}.md:flex{display:flex}.md:hidden{display:none}.md:!h-[28px]{height:28px!important}.md:h-16{height:4rem}.md:h-[21.6px]{height:21.6px}.md:h-[28px]{height:28px}.md:!w-[328px]{width:328px!important}.md:w-16{width:4rem}.md:w-24{width:6rem}.md:w-[14px]{width:14px}.md:w-[150px]{width:150px}.md:w-[17px]{width:17px}.md:w-[30px]{width:30px}.md:w-[350px]{width:350px}.md:w-[450px]{width:450px}.md:w-auto{width:auto}.md:!min-w-[135px]{min-width:135px!important}.md:min-w-[102px]{min-width:102px}.md:min-w-[500px]{min-width:500px}.md:min-w-fit{min-width:-moz-fit-content;min-width:fit-content}.md:max-w-[160px]{max-width:160px}.md:max-w-fit{max-width:-moz-fit-content;max-width:fit-content}.md:max-w-full{max-width:100%}.md:-translate-x-full{--tw-translate-x:-100%}.md:-translate-x-full,.md:translate-y-0{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.md:translate-y-0{--tw-translate-y:0px}.md:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.md:grid-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}.md:flex-row{flex-direction:row}.md:flex-nowrap{flex-wrap:nowrap}.md:!gap-[1px]{gap:1px!important}.md:gap-2{gap:.5rem}.md:gap-3{gap:.75rem}.md:gap-4{gap:1rem}.md:gap-x-6{-moz-column-gap:1.5rem;column-gap:1.5rem}.md:gap-x-[1vw]{-moz-column-gap:1vw;column-gap:1vw}.md:gap-x-[5vw]{-moz-column-gap:5vw;column-gap:5vw}.md:gap-y-4{row-gap:1rem}.md:gap-y-8{row-gap:2rem}.md:!rounded{border-radius:.25rem!important}.md:!rounded-l{border-bottom-left-radius:.25rem!important;border-top-left-radius:.25rem!important}.md:!rounded-r{border-bottom-right-radius:.25rem!important;border-top-right-radius:.25rem!important}.md:!py-1{padding-bottom:.25rem!important;padding-top:.25rem!important}.md:px-4{padding-left:1rem;padding-right:1rem}.md:py-1{padding-bottom:.25rem;padding-top:.25rem}.md:py-2{padding-bottom:.5rem;padding-top:.5rem}.md:py-[3px]{padding-bottom:3px;padding-top:3px}.md:!pb-5{padding-bottom:1.25rem!important}.md:pb-4{padding-bottom:1rem}.md:pt-1{padding-top:.25rem}.md:!text-xs{font-size:.75rem!important;line-height:1rem!important}.md:text-2xs{font-size:.625rem}.md:text-3xs{font-size:.5rem}.md:text-base{font-size:1rem;line-height:1.5rem}.md:text-sm{font-size:.875rem;line-height:1.25rem}.md:text-xs{font-size:.75rem;line-height:1rem}.md:placeholder:text-3xs::-moz-placeholder{font-size:.5rem}.md:placeholder:text-3xs::placeholder{font-size:.5rem}}@media (min-width:952px){.lg:left-1.5{left:.375rem}.lg:mb-6{margin-bottom:1.5rem}.lg:mr-8{margin-right:2rem}.lg:!flex{display:flex!important}.lg:flex{display:flex}.lg:hidden{display:none}.lg:!h-[34px]{height:34px!important}.lg:h-14{height:3.5rem}.lg:h-20{height:5rem}.lg:h-8{height:2rem}.lg:h-[19px]{height:19px}.lg:h-[20px]{height:20px}.lg:h-[25.6px]{height:25.6px}.lg:h-[26px]{height:26px}.lg:min-h-8{min-height:2rem}.lg:!w-auto{width:auto!important}.lg:w-14{width:3.5rem}.lg:w-20{width:5rem}.lg:w-[115px]{width:115px}.lg:w-[19px]{width:19px}.lg:w-[20px]{width:20px}.lg:w-[45%]{width:45%}.lg:w-[450px]{width:450px}.lg:w-[500px]{width:500px}.lg:w-[92px]{width:92px}.lg:min-w-8{min-width:2rem}.lg:max-w-[215px]{max-width:215px}.lg:max-w-[232px]{max-width:232px}.lg:!translate-y-[30%]{--tw-translate-y:30%!important;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))!important}.lg:grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.lg:grid-cols-6{grid-template-columns:repeat(6,minmax(0,1fr))}.lg:!gap-1{gap:.25rem!important}.lg:gap-1{gap:.25rem}.lg:gap-4{gap:1rem}.lg:gap-x-12{-moz-column-gap:3rem;column-gap:3rem}.lg:gap-x-2{-moz-column-gap:.5rem;column-gap:.5rem}.lg:gap-x-3{-moz-column-gap:.75rem;column-gap:.75rem}.lg:gap-y-6{row-gap:1.5rem}.lg:whitespace-pre-wrap{white-space:pre-wrap}.lg:!rounded{border-radius:.25rem!important}.lg:!p-2{padding:.5rem!important}.lg:!px-3{padding-left:.75rem!important;padding-right:.75rem!important}.lg:!py-1.5{padding-bottom:.375rem!important;padding-top:.375rem!important}.lg:px-1.5{padding-left:.375rem;padding-right:.375rem}.lg:px-2{padding-left:.5rem;padding-right:.5rem}.lg:px-3{padding-left:.75rem;padding-right:.75rem}.lg:px-4{padding-left:1rem;padding-right:1rem}.lg:px-8{padding-left:2rem;padding-right:2rem}.lg:py-0.5{padding-bottom:.125rem;padding-top:.125rem}.lg:py-1{padding-bottom:.25rem;padding-top:.25rem}.lg:py-[5px]{padding-bottom:5px;padding-top:5px}.lg:pr-1.5{padding-right:.375rem}.lg:pt-6{padding-top:1.5rem}.lg:pt-8{padding-top:2rem}.lg:!text-[11px]{font-size:11px!important}.lg:!text-sm{font-size:.875rem!important;line-height:1.25rem!important}.lg:!text-xl{font-size:1.25rem!important;line-height:1.75rem!important}.lg:!text-xs{font-size:.75rem!important;line-height:1rem!important}.lg:text-[11px]{font-size:11px}.lg:text-base{font-size:1rem;line-height:1.5rem}.lg:text-lg{font-size:1.125rem;line-height:1.75rem}.lg:text-sm{font-size:.875rem;line-height:1.25rem}.lg:text-xl{font-size:1.25rem;line-height:1.75rem}.lg:text-xs{font-size:.75rem;line-height:1rem}.lg:!leading-5{line-height:1.25rem!important}.lg:placeholder:text-xs::-moz-placeholder{font-size:.75rem;line-height:1rem}.lg:placeholder:text-xs::placeholder{font-size:.75rem;line-height:1rem}}@media (min-width:1160px){.xl:h-24{height:6rem}.xl:h-[34px]{height:34px}.xl:w-24{width:6rem}.xl:w-[110px]{width:110px}.xl:max-w-[236px]{max-width:236px}.xl:max-w-[239px]{max-width:239px}.xl:grid-cols-6{grid-template-columns:repeat(6,minmax(0,1fr))}.xl:gap-3{gap:.75rem}.xl:gap-x-5{-moz-column-gap:1.25rem;column-gap:1.25rem}.xl:!text-sm{font-size:.875rem!important;line-height:1.25rem!important}.xl:text-[13px]{font-size:13px}.xl:text-base{font-size:1rem;line-height:1.5rem}.xl:text-lg{font-size:1.125rem;line-height:1.75rem}.xl:text-sm{font-size:.875rem;line-height:1.25rem}.xl:text-xs{font-size:.75rem;line-height:1rem}}
33
+ </style>
34
+ `,Kc=e=>{const t=document.getElementById(e);if(!t)return;const n=t.outerHTML.replace(/ /g,"%20"),a="application/vnd.ms-excel",r="table.xls",i=document.createElement("a");if(navigator.msSaveOrOpenBlob){const s=new Blob(["\uFEFF",n],{type:a});navigator.msSaveOrOpenBlob(s,r)}else i.href=`data:${a}, ${n}`,i.download=r,i.click()},zc=e=>{const t=document.getElementById(e),n=window.open("","","left=0,top=0,width=800,height=900,toolbar=0,scrollbars=0,status=0"),a=`<html>
35
+ <head>${$c}</head>
36
+ <body dir="rtl">${t.outerHTML}</body>
37
+ </html>`;n.document.write(a),n.document.close(),n.focus(),n.addEventListener("load",()=>{n.print(),n.close()})};function Hc(e){return nr({attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"path",attr:{d:"M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4"},child:[]},{tag:"polyline",attr:{points:"7 10 12 15 17 10"},child:[]},{tag:"line",attr:{x1:"12",y1:"15",x2:"12",y2:"3"},child:[]}]})(e)}const Vc="_selectable_aozvj_1",Uc="_tbody_aozvj_1",Yc="_tr_aozvj_1",Wc="_td_aozvj_1",qc="_stripe_aozvj_11",nn={selectable:Vc,tbody:Uc,tr:Yc,td:Wc,stripe:qc},Za=({className:e,containerClassName:t,columns:n,rows:a,pagination:r,page:i,setPage:s,tableSize:u=qa[0].value,setTableSize:c,tableSizes:d=qa,selectable:g,stripe:S,children:p,onSelect:m=()=>{},colFilter:x,colors:_,en:b})=>{const[O,C]=ee.useState("excel"),D=Math.floor(Math.random()*10)+1,N=()=>{O!="csv"&&Kc("table"+D)};return a?.length?w.jsxs("div",{className:oe("flex flex-col w-full",t),children:[w.jsx("div",{className:"w-full overflow-x-auto",children:w.jsxs("table",{className:oe("border-separate whitespace-nowrap overflow-x-auto border-spacing-[2px] w-full",e,g?nn.selectable:"",S?nn.stripe:""),id:"table"+D,dir:b?"ltr":"rtl",children:[w.jsx("thead",{className:nn.thead,children:w.jsx("tr",{className:nn.tr+" shadow-sm",children:n.map((B,G)=>w.jsx("th",{scope:"col",className:"bg-formItem shadow-md font-600 text-2xs lg:text-xs xl:text-sm text-center rounded-md px-4 py-2.5",children:B},G))})}),w.jsx("tbody",{className:nn.tbody,children:a?.map((B,G)=>w.jsx("tr",{className:oe(nn.tr,"group"),onClick:()=>m(G),children:B?.map((re,fe)=>w.jsx("td",{className:nn.td+" transition-all rounded-md border-[0.5px] shadow-md text-2xs lg:text-xs xl:text-[13px] font-400 bg-white text-center p-2 lg:whitespace-pre-wrap",style:{backgroundColor:_?.length?_.find(z=>z.value==B[x])?.color:""},children:re},"table-td"+fe))},"table-row"+G))})]})}),r?w.jsxs("div",{className:"w-full flex justify-between rounded-b-md shadow-md mt-0.5 py-1 bg-[#f1f1f1] px-1.5",children:[w.jsx("div",{className:oe("hidden md:flex"),children:p}),w.jsxs("div",{className:oe("flex !gap-1 items-center"," flex-1 md:max-w-fit flex-wrap md:flex-nowrap"),children:[w.jsx("div",{className:oe("flex md:hidden min-w-fit md:mr-auto"),children:p}),w.jsx(er,{variant:"icon",className:"text-2xs lg:text-xs border-none min-w-6 min-h-6 max-h-6 max-w-6 lg:min-w-8 lg:min-h-8 text-center rounded shadow-sm hover:scale-110 transition-all bg-white",onClick:()=>zc("table"+D),icon:w.jsx(Rc,{className:"text-xs md:text-base cursor-pointer lg:!text-xl"})}),w.jsxs("div",{className:"flex items-center",children:[w.jsx(e0,{label:yo.find(B=>B.value==O)?.label,options:yo,onChange:B=>C(B),containerClassName:"!rounded-l-none"}),w.jsx(er,{variant:"icon",className:"text-2xs lg:text-xs border-none min-w-6 min-h-6 max-h-6 max-w-6 lg:min-w-8 lg:min-h-8 text-center rounded shadow-sm hover:scale-110 transition-all bg-white !rounded-r-none",onClick:()=>N(),icon:w.jsx(Hc,{className:"text-xs md:text-base cursor-pointer lg:!text-xl"})})]}),d?.length?w.jsx(e0,{label:qa.find(B=>B.value==u)?.label,options:d,onChange:B=>c(B)}):null,w.jsx(er,{className:"!text-2xs lg:!text-xs border-none min-w-6 min-h-6 max-h-6 max-w-6 lg:min-w-8 lg:min-h-8 text-center rounded shadow-sm hover:scale-110 transition-all bg-white",title:"ابتدا",variant:"",onClick:()=>s(1)}),w.jsxs("div",{className:"flex gap-1",children:[w.jsx(er,{className:"!text-2xs lg:!text-xs border-none min-w-6 min-h-6 max-h-6 max-w-6 lg:min-w-8 lg:min-h-8 text-center rounded shadow-sm hover:scale-110 transition-all bg-white",disabled:i==1,variant:i==1?"disabled":"",title:"قبلی",onClick:()=>s(Math.max(i-1,1))}),w.jsx("div",{className:"!text-2xs lg:!text-xs min-w-6 min-h-6 max-h-6 max-w-6 lg:min-w-8 lg:min-h-8 flex justify-center items-center rounded bg-white text-black",children:i}),w.jsx(er,{className:"!text-2xs lg:!text-xs border-none min-w-6 min-h-6 max-h-6 max-w-6 lg:min-w-8 lg:min-h-8 text-center rounded shadow-sm hover:scale-110 transition-all bg-white",title:"بعدی",disabled:Math.floor(a?.length/u)==0,variant:Math.floor(a?.length/u)==0?"disabled":"",onClick:()=>s(i+1)})]})]})]}):null]}):null};function Ws({options:e}){const{jobID:t,BC:n,userID:a,questionKey:r,request:i,renderCell:s=D=>Number(D)?.toFixed(2)}=e,[u,c]=ee.useState(1),[d,g]=ee.useState(10),[S,p]=ee.useState([]),[m,x]=ee.useState(!1),_=async()=>{const D={jobId:t,dataInfo:{qbc:n,oi:r,6483:a,limit:d,offset:0}};x(!0),await i(D).then(N=>p(N.data)).finally(()=>x(!1))};ee.useEffect(()=>{_()},[]);const b=()=>w.jsx(Za,{containerClassName:"w-[270px] md:w-[450px] lg:w-[500px]",rows:S.map((D,N)=>[u*(N+1),Ha(D.time).locale("fa").format("YYYY/MM/DD"),s(D.score)]),stripe:!0,columns:Pc,pagination:!1,page:u,setPage:c,tableSize:d,setTableSize:g}),O=()=>w.jsx("div",{className:"w-[350px] h-[100px] flex justify-center items-center",children:w.jsx(Us,{className:"text-2xl text-success animate-spin"})}),C=()=>w.jsx("div",{className:"w-[80vw] md:w-[350px] h-[100px] flex justify-center items-center",children:w.jsx("p",{children:"آرشیو خالی است."})});return w.jsx("div",{children:m?O():S?.length?b():C()})}const Zc="_truncatedTextEn_ze61f_5",Gc="_required_ze61f_15",Jc="_enLabel_ze61f_25",Xc="_label_ze61f_43",Qc="_eduIcon_ze61f_51",Aa={truncatedTextEn:Zc,required:Gc,enLabel:Jc,label:Xc,eduIcon:Qc},ef="data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='30'%20height='17'%20viewBox='0%200%2030%2017'%20fill='none'%3e%3cg%20clip-path='url(%23clip0_1108_170139)'%3e%3cpath%20d='M27.5427%200H2.45727C1.10016%200%200%201.14294%200%202.55283V14.4472C0%2015.8571%201.10016%2017%202.45727%2017H27.5427C28.8998%2017%2030%2015.8571%2030%2014.4472V2.55283C30%201.14294%2028.8998%200%2027.5427%200Z'%20fill='url(%23paint0_linear_1108_170139)'/%3e%3cpath%20d='M3.74494%208.19976C3.71494%206.43176%203.61676%204.94426%203.45312%203.74009L4.84403%203.40576C4.92313%204.00643%204.98312%204.73743%205.02131%205.59876C5.05949%206.46009%205.08131%207.27043%205.08131%208.02976C5.08131%208.28476%205.1004%208.48026%205.14131%208.61343C5.18222%208.74659%205.24767%208.84293%205.34585%208.89676C5.44403%208.95059%205.58312%208.97893%205.76312%208.97893H5.80949L5.89949%209.87993L5.80949%2010.7809H5.76312C4.43494%2010.7809%203.76131%209.92243%203.74222%208.20543L3.74494%208.19976Z'%20fill='white'/%3e%3cpath%20d='M5.71973%208.97315H5.91882C6.34973%208.97315%206.72882%208.66998%207.05609%208.06365C7.36427%207.47715%207.667%207.03798%207.96155%206.74615C8.25609%206.45431%208.56973%206.30981%208.90245%206.30981C9.28973%206.30981%209.60882%206.43165%209.857%206.67248C10.1052%206.91615%2010.3261%207.29298%2010.5225%207.80298C10.6915%208.27048%2010.8197%208.57931%2010.9043%208.73798C10.9888%208.89381%2011.0761%208.97315%2011.1688%208.97315H11.297L11.387%209.87415L11.297%2010.7751H11.1688C11.0161%2010.7751%2010.8552%2010.7326%2010.6834%2010.6505C10.5115%2010.5683%2010.3534%2010.4493%2010.2143%2010.2963C10.1052%2010.455%209.97973%2010.5796%209.84064%2010.6703C9.67155%2010.778%209.48336%2010.8318%209.27609%2010.8318C8.80427%2010.8318%208.18518%2010.5825%207.42154%2010.0866C7.04518%2010.5456%206.53518%2010.7751%205.89155%2010.7751H5.71973V8.97598V8.97315ZM9.61427%208.80031C9.52427%208.53115%209.41245%208.31865%209.28154%208.15998C9.15064%208.00131%209.01154%207.91915%208.85882%207.91915C8.62154%207.91915%208.37882%208.16565%208.13064%208.65581C8.40882%208.88531%208.69245%209.04681%208.97609%209.14315C9.25973%209.23948%209.49427%209.28765%209.677%209.28765C9.73154%209.28765%209.76427%209.28481%209.77791%209.27915C9.75882%209.22815%209.70427%209.06948%209.61427%208.80031Z'%20fill='white'/%3e%3cpath%20d='M11.207%208.97315H11.2534C11.7334%208.96749%2012.0661%208.91365%2012.2543%208.81165C12.4425%208.70965%2012.5434%208.53682%2012.5543%208.29599C12.5488%208.00982%2012.5161%207.69532%2012.4534%207.35815L13.5825%207.13715C13.667%207.66132%2013.7107%208.19399%2013.7107%208.73515C13.7461%208.80032%2013.8143%208.85415%2013.9098%208.90232C14.0079%208.95049%2014.1334%208.97315%2014.2916%208.97315H14.327L14.417%209.87415L14.327%2010.7752H14.2916C14.0543%2010.7752%2013.8334%2010.7213%2013.6234%2010.6165C13.4134%2010.5117%2013.2279%2010.37%2013.0643%2010.1915C12.6579%2010.5797%2012.0552%2010.7752%2011.2534%2010.7752H11.207V8.97599V8.97315ZM12.4261%204.49365L13.3916%205.50799L12.4261%206.53365L11.4525%205.50799L12.4261%204.49365Z'%20fill='white'/%3e%3cpath%20d='M14.2529%208.97322H14.8175C14.7193%208.74939%2014.6729%208.52555%2014.6729%208.30172C14.6729%208.14872%2014.6947%207.99572%2014.7357%207.84272C14.8257%207.51122%2014.9375%207.21655%2015.0629%206.96155L14.7357%206.86522L15.3738%205.19922C16.642%205.57605%2017.6375%205.94155%2018.3629%206.29572C19.0884%206.64989%2019.6011%207.00972%2019.9011%207.37239C20.2011%207.73505%2020.3511%208.14305%2020.3511%208.59639C20.3511%208.89105%2020.2884%209.24805%2020.1602%209.66739C20.0566%2010.0131%2019.8329%2010.2709%2019.4866%2010.4437C19.1402%2010.6166%2018.7257%2010.7016%2018.2402%2010.7016C17.7547%2010.7016%2017.2802%2010.6222%2016.7757%2010.4636C16.2302%2010.6676%2015.4393%2010.7696%2014.4002%2010.7696H14.2557V8.97039L14.2529%208.97322ZM16.0747%208.45755C16.2084%208.57939%2016.3857%208.68705%2016.612%208.78339C17.0375%208.66155%2017.272%208.47739%2017.3211%208.22805C17.3457%208.06089%2017.2911%207.90222%2017.1575%207.74922C17.0238%207.59622%2016.8629%207.49705%2016.6747%207.45172C16.6502%207.44605%2016.612%207.44322%2016.5575%207.44322C16.3802%207.44322%2016.2247%207.50272%2016.0857%207.61889C15.9466%207.73788%2015.8757%207.89089%2015.8757%208.08355C15.8757%208.21105%2015.9438%208.33572%2016.0775%208.45755H16.0747ZM18.4311%209.17439C18.8375%209.17439%2019.0693%209.10072%2019.1238%208.95339C19.1429%208.90239%2019.1511%208.85705%2019.1511%208.82022C19.1511%208.57088%2018.8729%208.31589%2018.3138%208.05522C18.3138%208.17139%2018.3057%208.29039%2018.2866%208.41789C18.2375%208.71255%2018.1775%208.95622%2018.1038%209.15455C18.262%209.16872%2018.3711%209.17439%2018.4311%209.17439Z'%20fill='white'/%3e%3cpath%20d='M21.7779%208.687C21.7779%207.81433%2021.7452%206.88783%2021.6825%205.91033C21.6197%204.93283%2021.5488%204.21033%2021.4697%203.73717L22.8797%203.40283C22.9397%203.842%2022.9943%204.51067%2023.0434%205.40883C23.0925%206.30417%2023.117%207.191%2023.117%208.0665C23.117%209.2735%2023.0679%2010.2057%2022.9725%2010.863L21.6715%2010.7185C21.7452%2010.2397%2021.7806%209.5625%2021.7806%208.68983L21.7779%208.687Z'%20fill='white'/%3e%3cpath%20d='M24.276%2011.4664C24.6196%2011.2398%2024.8923%2011.0273%2025.0942%2010.8289C25.2987%2010.6306%2025.3996%2010.4748%2025.3996%2010.3586C25.3996%2010.1036%2025.2114%209.34427%2024.8351%208.08061L26.0623%207.56494C26.2151%208.00411%2026.3323%208.47161%2026.4169%208.96744C26.5014%209.46327%2026.5451%209.92511%2026.5451%2010.3614C26.5451%2011.0244%2026.3078%2011.6308%2025.836%2012.1804C25.3642%2012.7301%2024.7069%2013.2004%2023.8696%2013.5971L23.1523%2012.0926C23.5587%2011.9028%2023.9323%2011.6931%2024.276%2011.4664Z'%20fill='white'/%3e%3c/g%3e%3cdefs%3e%3clinearGradient%20id='paint0_linear_1108_170139'%20x1='15'%20y1='17'%20x2='15'%20y2='0'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%237C0902'/%3e%3cstop%20offset='1'%20stop-color='%23D40005'/%3e%3c/linearGradient%3e%3cclipPath%20id='clip0_1108_170139'%3e%3crect%20width='30'%20height='17'%20fill='white'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e",tf="data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='17'%20height='17'%20viewBox='0%200%2017%2017'%20fill='none'%3e%3cg%20clip-path='url(%23clip0_1108_170148)'%3e%3cpath%20d='M13.7837%208.42064H3.22559V0H10.9235L13.7837%203.01556V8.42064Z'%20fill='%23D5C2B0'/%3e%3cpath%20d='M13.7831%203.01556L10.9229%200V3.01556H13.7831Z'%20fill='%23D5AD80'/%3e%3cpath%20d='M14.2584%2011.0484H2.74121V1.8606H11.1436L14.2584%205.14068V11.0484Z'%20fill='%23FFD9B5'/%3e%3cpath%20d='M17%207.81226H0V17H17V7.81226Z'%20fill='%23F8B567'/%3e%3cpath%20d='M11.4069%2013.0586H5.60159C5.15176%2013.0586%204.77832%2013.4377%204.77832%2013.9139C4.77832%2014.39%205.14327%2014.7692%205.60159%2014.7692H11.4069C11.8567%2014.7692%2012.2301%2014.39%2012.2301%2013.9139C12.2301%2013.4377%2011.8652%2013.0586%2011.4069%2013.0586Z'%20fill='%23653F18'/%3e%3cpath%20d='M11.4069%2013.2615H5.60159C5.15176%2013.2615%204.77832%2013.6406%204.77832%2014.1168C4.77832%2014.5929%205.14327%2014.9721%205.60159%2014.9721H11.4069C11.8567%2014.9721%2012.2301%2014.5929%2012.2301%2014.1168C12.2301%2013.6406%2011.8652%2013.2615%2011.4069%2013.2615Z'%20fill='%23B26E2D'/%3e%3cpath%20d='M14.2591%205.14046L11.1357%201.85156V5.14046H14.2591Z'%20fill='%23FFD09A'/%3e%3cpath%20d='M10.4992%203.35059H4.02344V3.65038H10.4992V3.35059Z'%20fill='black'/%3e%3cpath%20d='M10.4992%204.61157H4.02344V4.91136H10.4992V4.61157Z'%20fill='black'/%3e%3cpath%20d='M12.9605%205.86353H4.02344V6.16332H12.9605V5.86353Z'%20fill='black'/%3e%3cpath%20d='M12.9605%207.12451H4.02344V7.4243H12.9605V7.12451Z'%20fill='black'/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='clip0_1108_170148'%3e%3crect%20width='17'%20height='17'%20fill='white'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e",rf="data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='14'%20height='17'%20viewBox='0%200%2014%2017'%20fill='none'%3e%3cg%20clip-path='url(%23clip0_1799_158453)'%3e%3cpath%20d='M11.9188%209.55657H10.5598V4.99291C10.5598%203.00027%208.96334%201.37964%207.00043%201.37964C5.03752%201.37964%203.44108%203.00027%203.44108%204.99291V9.55657H2.08203V4.99291C2.08203%202.23966%204.28826%200%207.00043%200C9.71259%200%2011.9188%202.23966%2011.9188%204.99291V9.55657Z'%20fill='%23737270'/%3e%3cpath%20d='M13.4733%207.39062H0.526706C0.235814%207.39062%200%207.63001%200%207.92531V16.4652C0%2016.7605%200.235814%2016.9999%200.526706%2016.9999H13.4733C13.7642%2016.9999%2014%2016.7605%2014%2016.4652V7.92531C14%207.63001%2013.7642%207.39062%2013.4733%207.39062Z'%20fill='%23FFCD07'/%3e%3cpath%20d='M13.9997%2016.4638V11.2329C9.73412%2014.8959%203.58575%2016.2725%200.100586%2016.7771C0.197025%2016.9111%200.351328%2017%200.526402%2017H13.4715C13.7623%2017%2013.9982%2016.7605%2013.9982%2016.4653L13.9997%2016.4638Z'%20fill='%23FBB715'/%3e%3cpath%20d='M8.15536%2010.748C8.15536%2010.0989%207.63756%209.57324%206.99809%209.57324C6.35862%209.57324%205.84082%2010.0989%205.84082%2010.748C5.84082%2011.1351%206.02628%2011.477%206.30966%2011.6909L5.94171%2014.3463H8.05447L7.68652%2011.6909C7.9699%2011.477%208.15536%2011.1351%208.15536%2010.748Z'%20fill='%2358595B'/%3e%3cpath%20d='M0.44043%208.40428V10.2433C0.487907%209.46311%200.858827%207.76416%203.17337%207.76416H1.07248C0.725296%207.76416%200.44043%208.05334%200.44043%208.40578V8.40428Z'%20fill='%23FFDC54'/%3e%3cpath%20d='M5.94336%2014.346C5.94336%2014.346%207.51161%2013.8957%207.68817%2011.6907L8.05612%2014.346H5.94336Z'%20fill='%233D3B3E'/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='clip0_1799_158453'%3e%3crect%20width='14'%20height='17'%20fill='white'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e",af="data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='17'%20height='17'%20viewBox='0%200%2017%2017'%20fill='none'%3e%3cg%20clip-path='url(%23clip0_1108_170132)'%3e%3cpath%20d='M8.80637%204.87891C9.35037%204.87891%209.77537%205.36057%209.74137%205.92724L9.43537%2010.6079C9.40137%2011.1236%208.99337%2011.5202%208.50037%2011.5202C8.00737%2011.5202%207.59937%2011.1179%207.56537%2010.6079L7.25937%205.92724C7.21971%205.36057%207.65037%204.87891%208.19437%204.87891H8.81204H8.80637Z'%20fill='%23DFF9FB'/%3e%3cpath%20d='M8.49992%2012.6707C9.10625%2012.6707%209.59358%2013.1863%209.59358%2013.8153C9.59358%2014.4443%209.10625%2014.96%208.49992%2014.96C7.89358%2014.96%207.40625%2014.4443%207.40625%2013.8153C7.40625%2013.1863%207.89358%2012.6707%208.49992%2012.6707Z'%20fill='%23DFF9FB'/%3e%3cpath%20d='M16.8412%2014.892C17.3229%2015.8497%2016.6655%2017%2015.6342%2017H1.37119C0.33986%2017%20-0.32314%2015.8497%200.164193%2014.892L7.29286%200.765C7.80853%20-0.255%209.19686%20-0.255%209.71253%200.765L16.8412%2014.892ZM9.74086%205.92733C9.78053%205.36067%209.34986%204.879%208.80586%204.879H8.18819C7.64419%204.879%207.21919%205.36067%207.25319%205.92733L7.55919%2010.608C7.59319%2011.1237%208.00119%2011.5203%208.49419%2011.5203C8.98719%2011.5203%209.39519%2011.118%209.42919%2010.608L9.73519%205.92733H9.74086ZM9.59353%2013.8153C9.59353%2013.1807%209.10619%2012.6707%208.49986%2012.6707C7.89353%2012.6707%207.40619%2013.1863%207.40619%2013.8153C7.40619%2014.4443%207.89353%2014.96%208.49986%2014.96C9.10619%2014.96%209.59353%2014.4443%209.59353%2013.8153Z'%20fill='url(%23paint0_linear_1108_170132)'/%3e%3c/g%3e%3cdefs%3e%3clinearGradient%20id='paint0_linear_1108_170132'%20x1='8.50154'%20y1='17'%20x2='8.50154'%20y2='0'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%237C0902'/%3e%3cstop%20offset='1'%20stop-color='%23D40005'/%3e%3c/linearGradient%3e%3cclipPath%20id='clip0_1108_170132'%3e%3crect%20width='17'%20height='17'%20fill='white'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e";function nf(e){return nr({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:[]}]})(e)}function t0(e){return nr({attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"},child:[]},{tag:"path",attr:{d:"M10 12c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm0-6c1.1 0 2 .9 2 2s-.9 2-2 2-2-.9-2-2 .9-2 2-2zM4 18c.22-.72 3.31-2 6-2 0-.7.13-1.37.35-1.99C7.62 13.91 2 15.27 2 18v2h9.54c-.52-.58-.93-1.25-1.19-2H4zM19.43 18.02c.36-.59.57-1.28.57-2.02 0-2.21-1.79-4-4-4s-4 1.79-4 4 1.79 4 4 4c.74 0 1.43-.22 2.02-.57L20.59 22 22 20.59c-1.5-1.5-.79-.8-2.57-2.57zM16 18c-1.1 0-2-.9-2-2s.9-2 2-2 2 .9 2 2-.9 2-2 2z"},child:[]}]})(e)}function lf(e){return nr({attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"},child:[]},{tag:"path",attr:{d:"M18 15v3H6v-3H4v3c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2v-3h-2zM7 9l1.41 1.41L11 7.83V16h2V7.83l2.59 2.58L17 9l-5-5-5 5z"},child:[]}]})(e)}function of(e){return nr({attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0V0z"},child:[]},{tag:"path",attr:{d:"M6 10c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm12 0c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm-6 0c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2z"},child:[]}]})(e)}const $r=({label:e,required:t,className:n,userGuide:a,archive:r,educationalContent:i,en:s,more:u,disabled:c})=>{const d=ee.useRef(null),g=ee.useRef(null),[S,p]=ee.useState(e),[m,x]=ee.useState({userGuide:!1,archive:!1}),[_,b]=ee.useState(!1),[O,C]=ee.useState(window.innerWidth>671?u:!1),D=B=>{x(G=>({...G,[B]:!G[B]}))},N=()=>{const B=(t?-22:0)+(c?-21:0)+(a?-34:0)+(r?-24:0)+(i?.show?-19:0);if(d.current&&g.current){const G=d.current.offsetWidth+B-34;if(g.current.offsetWidth>G){let z=e.split(""),j="";for(let Y of z){if(g.current.innerText=j+Y,g.current.offsetWidth>G)break;j+=Y}p(j.trim()+""),C(!0)}else p(e),C(!1)}};return ee.useEffect(()=>{e&&N()},[]),ee.useEffect(()=>{e&&N()},[e]),w.jsxs(ee.Fragment,{children:[_?w.jsx("div",{onClick:()=>b(!1),className:"fixed top-0 left-0 h-full w-full z-[999]"}):null,w.jsxs("label",{className:oe(n,Aa.label,i?.show?"pl-[20px]":"","flex items-center text-center font-700 text-black text-[11px] lg:text-xs xl:text-sm overflow-hidden",s?Aa.enLabel+" relative flex items-center text-black text-2xs lg:text-xs xl:text-sm":Aa.label,O?"w-full z-[1000] ":"relative","select-none"),dir:s?"ltr":"",ref:d,children:[O?w.jsxs(ee.Fragment,{children:[w.jsx("span",{ref:g,className:s?Aa.truncatedTextEn+" text-black text-2xs lg:text-xs xl:text-sm":"font-700 text-black text-2xs lg:text-xs xl:text-sm",style:{whiteSpace:"nowrap",overflow:"hidden"},children:S}),w.jsx(of,{onClick:()=>{b(!0)},className:"text-lg lg:text-xl hover:cursor-pointer ml-auto",style:{width:"34px",marginRight:"4px",cursor:"pointer"}})]}):e,t&&w.jsx("span",{className:Aa.required+" "+(s?"ml-1 md:text-sm lg:text-lg !leading-none":"mr-1 md:text-sm lg:text-lg"),children:"*"}),c&&w.jsx("img",{src:rf,alt:"قفل",className:"w-[12px] md:w-[14px]"}),a&&w.jsx("img",{src:ef,alt:"راهنما",onClick:()=>D("userGuide"),className:"w-[20px] md:w-[30px] cursor-pointer"}),r&&w.jsx("img",{src:tf,alt:"آرشیو",onClick:()=>D("archive"),className:"w-[15px] md:w-[17px] cursor-pointer"}),i?.show&&w.jsx("img",{src:i?.type=="danger"?af:"https://salamatehr.ir/resource/files/1736921541621.png",loading:"lazy",alt:"محتوای آموزشی",onClick:()=>i.action(),className:`${Aa.eduIcon} absolute w-[15px] md:w-[17px] cursor-pointer ${i.className} ${O?"!left-1":"top-1/2 -translate-y-1/2"}`}),w.jsxs(y0,{isOpen:m.userGuide||m.archive,onClose:()=>x({userGuide:!1,archive:!1}),containerClassName:Aa.modalContainer,children:[m.userGuide?a:null,m.archive?w.jsx(Ws,{options:r}):null]}),_?w.jsxs("div",{className:oe("animate-flipBottom border-x-[12px] border-y-4 border-opacity-40 backdrop-blur-md border-formItem2 rounded-md bg-white flex flex-col gap-0.5 absolute left-0 top-0 w-full min-h-full max-h-full overflow-y-auto xs:!leading-4 lg:!leading-5 lg:!text-[11px] xl:!text-sm text-justify p-1",s?Aa.truncatedTextEn+" text-black md:text-2xs lg:text-xs xl:text-sm":'"font-700 text-black text-2xs lg:text-xs xl:text-sm"'),children:[e,w.jsxs("div",{className:"mr-auto flex items-center text-2xs xl:text-xs cursor-pointer mt-auto",onClick:()=>b(!1),children:["بازگشت"," ",w.jsx(nf,{className:"text-2xs lg:text-sm xl:text-lg"})]})]}):null]})]})};function r0({data:e}){return(n=>typeof n=="string"&&n.trim()!==""&&n.includes("<"))(e)?w.jsx("div",{dangerouslySetInnerHTML:{__html:e.replace(".","")}}):w.jsx($r,{title:"داده‌ای برای نمایش موجود نیست."})}const qs=({page:e,className:t,navigate:n,...a})=>w.jsxs("div",{className:`bg-background flex cursor-pointer hover:scale-105 transition-all flex-col items-center justify-center rounded-md border-2 border-formItem2 hover:border-success border-solid w-full ${t}`,onClick:()=>n(e.link),style:{boxShadow:"0px 2px 2px 0px rgba(0, 0, 0, 0.20)"},...a,children:[e.image&&w.jsx("img",{src:e.image,className:"w-full",alt:e.title||"Page",loading:"lazy"}),w.jsx("div",{className:"w-full flex justify-center items-center min-h-[60px] px-1",children:w.jsx("strong",{className:"text-center font-600 hover:font-700 text-2xs lg:text-xs leading-5 xl:leading-6",children:e.title||"Untitled Page"})})]}),sf="_page_13r6y_7",uf="_main_13r6y_17",wo={page:sf,main:uf},cf="_container_1cy1r_7",ff="_rightLine_1cy1r_17",df="_leftLine_1cy1r_31",yi={container:cf,rightLine:ff,leftLine:df};function vf(e){return nr({attr:{viewBox:"0 0 320 512"},child:[{tag:"path",attr:{d:"M41.4 233.4c-12.5 12.5-12.5 32.8 0 45.3l160 160c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3L109.3 256 246.6 118.6c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0l-160 160z"},child:[]}]})(e)}function pf(e){return nr({attr:{viewBox:"0 0 576 512"},child:[{tag:"path",attr:{d:"M0 64C0 28.7 28.7 0 64 0L224 0l0 128c0 17.7 14.3 32 32 32l128 0 0 38.6C310.1 219.5 256 287.4 256 368c0 59.1 29.1 111.3 73.7 143.3c-3.2 .5-6.4 .7-9.7 .7L64 512c-35.3 0-64-28.7-64-64L0 64zm384 64l-128 0L256 0 384 128zm48 96a144 144 0 1 1 0 288 144 144 0 1 1 0-288zm59.3 107.3c6.2-6.2 6.2-16.4 0-22.6s-16.4-6.2-22.6 0L432 345.4l-36.7-36.7c-6.2-6.2-16.4-6.2-22.6 0s-6.2 16.4 0 22.6L409.4 368l-36.7 36.7c-6.2 6.2-6.2 16.4 0 22.6s16.4 6.2 22.6 0L432 390.6l36.7 36.7c6.2 6.2 16.4 6.2 22.6 0s6.2-16.4 0-22.6L454.6 368l36.7-36.7z"},child:[]}]})(e)}function hf(e){return nr({attr:{viewBox:"0 0 448 512"},child:[{tag:"path",attr:{d:"M224 256A128 128 0 1 0 224 0a128 128 0 1 0 0 256zm-45.7 48C79.8 304 0 383.8 0 482.3C0 498.7 13.3 512 29.7 512l388.6 0c16.4 0 29.7-13.3 29.7-29.7C448 383.8 368.2 304 269.7 304l-91.4 0z"},child:[]}]})(e)}const Zs=({name:e,back:t,navigate:n})=>w.jsx("div",{className:yi.container+" flex items-center justify-center w-full sticky top-0 bg-white z-10",children:w.jsx("div",{className:"relative w-full z-10",children:w.jsxs("div",{className:"flex items-center justify-center gap-1 mx-auto z-30",children:[e?w.jsxs(ee.Fragment,{children:[w.jsx("span",{className:oe(yi.rightLine+" h-0.5 w-4")}),e&&w.jsx("strong",{className:"text-black font-700 text-xs md:text-sm lg:text-base bg-white z-20 px-2",children:e})]}):null,w.jsx("span",{className:oe(yi.leftLine,"h-0.5 flex-grow",e?"":"!h-0")}),t&&w.jsx(er,{title:"بازگشت",className:"!gap-0.5 !px-0 !shadow-none",variant:"text",icon:w.jsx(vf,{}),onClick:()=>(n(-1),!1)})]})})}),gf=({children:e,name:t,back:n,router:a,routes:r,navigate:i})=>w.jsxs("div",{className:wo.page+" relative flex h-screen overflow-hidden w-full flex-col pb-4 lg:px-4",children:[w.jsx("img",{src:"https://salamatehr.ir/resource/files/1736921470861.png",className:"absolute left-0 bottom-0 w-full",loading:"lazy"}),(t||n)&&w.jsx(Zs,{name:t,back:n,navigate:i}),w.jsx("main",{className:wo.main+" flex flex-1 flex-col justify-start overflow-y-auto md:max-w-full",children:a&&r?.length>0?w.jsx("div",{className:`grid grid-cols-2 gap-3 md:gap-y-8 md:gap-x-6 md:grid-cols-4
38
+ xl:grid-cols-6 xl:gap-x-8 w-full px-4 pt-4 pb-4
39
+ lg:pt-8 max-h-full overflow-y-auto mx-auto`,children:r.map(s=>w.jsx(qs,{page:s,navigate:i},s.link))}):e})]});function vn(e){return nr({attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{d:"M11.001 10h2v5h-2zM11 16h2v2h-2z"},child:[]},{tag:"path",attr:{d:"M13.768 4.2C13.42 3.545 12.742 3.138 12 3.138s-1.42.407-1.768 1.063L2.894 18.064a1.986 1.986 0 0 0 .054 1.968A1.984 1.984 0 0 0 4.661 21h14.678c.708 0 1.349-.362 1.714-.968a1.989 1.989 0 0 0 .054-1.968L13.768 4.2zM4.661 19 12 5.137 19.344 19H4.661z"},child:[]}]})(e)}const mf="data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='12'%20height='18'%20viewBox='0%200%2012%2018'%20fill='none'%3e%3cg%20clip-path='url(%23clip0_1674_120379)'%3e%3cpath%20d='M10.2195%2016.6967L9.06954%2016.8101L4.37712%2017.2445L2.91189%2017.3767C2.5224%2017.4145%202.18855%2017.1311%202.15146%2016.7345V16.4323L1.66923%2011.3893L1.13137%205.49631C1.09427%205.09966%201.37248%204.75968%201.76197%204.72191L4.02472%204.51414L5.93508%204.34415L9.08809%204.04195C9.47758%204.00418%209.81143%204.28749%209.84852%204.68413L9.94126%205.76073L10.5533%2012.4848L10.8686%2015.9034C10.9057%2016.3001%2010.6275%2016.6401%2010.238%2016.6778L10.2195%2016.6967Z'%20fill='%23CDC0B3'/%3e%3cpath%20d='M2.85623%2017.3956C2.68931%2017.3956%202.54093%2017.339%202.4111%2017.2256C2.26272%2017.0934%202.16999%2016.9234%202.15144%2016.7346L1.13135%205.51525C1.13135%205.32637%201.16844%205.1375%201.29827%204.9864C1.4281%204.83529%201.59503%204.74086%201.7805%204.72197L9.08807%204.04201C9.47756%204.00423%209.82996%204.30644%209.86705%204.70308L10.8686%2015.9224C10.8686%2016.1113%2010.8315%2016.3001%2010.7017%2016.4512C10.5718%2016.6023%2010.4049%2016.6968%2010.2194%2016.7157L2.91187%2017.3956C2.91187%2017.3956%202.87478%2017.3956%202.83768%2017.3956H2.85623ZM9.14371%204.07979C9.14371%204.07979%209.10662%204.07979%209.08807%204.07979L1.7805%204.75974C1.59503%204.75974%201.44665%204.85418%201.31682%205.00528C1.20554%205.1375%201.14989%205.32637%201.16844%205.51525L2.16999%2016.7346C2.16999%2016.9234%202.26272%2017.0745%202.4111%2017.2068C2.54093%2017.3201%202.7264%2017.3767%202.91187%2017.3579L10.2194%2016.6779C10.4049%2016.6779%2010.5533%2016.5835%2010.6831%2016.4324C10.7944%2016.3001%2010.85%2016.1113%2010.8315%2015.9224L9.82996%204.70308C9.79286%204.34421%209.49611%204.07979%209.16226%204.07979H9.14371Z'%20fill='%23390075'/%3e%3cpath%20d='M3.71617%203.93767L0.0674438%2014.5838C-0.0574472%2014.9482%200.13139%2015.3468%200.489224%2015.4739L7.44118%2017.9449C7.79901%2018.072%208.19034%2017.8797%208.31523%2017.5153L11.9639%206.86917C12.0888%206.50477%2011.9%206.10625%2011.5422%205.97907L4.59022%203.50814C4.23238%203.38096%203.84106%203.57327%203.71617%203.93767Z'%20fill='%23FFECDA'/%3e%3cpath%20d='M7.6414%2017.9999C7.6414%2017.9999%207.47447%2017.9999%207.40029%2017.9622L0.463655%2015.5068C0.0927122%2015.3746%20-0.0927591%2014.959%200.0185237%2014.5813L3.69086%203.92859C3.82069%203.55084%204.22872%203.36196%204.59967%203.47529L11.5363%205.93069C11.7218%205.98736%2011.8516%206.11957%2011.9443%206.28956C12.0185%206.45955%2012.0371%206.66731%2011.9814%206.8373L8.32764%2017.4711C8.272%2017.66%208.14217%2017.7922%207.97525%2017.8866C7.88251%2017.9433%207.77123%2017.9622%207.65995%2017.9622L7.6414%2017.9999ZM4.35855%203.49418C4.08035%203.49418%203.82069%203.66417%203.72795%203.94748L0.0741651%2014.5813C-0.0556649%2014.9401%200.129807%2015.3368%200.482202%2015.4501L7.41883%2017.9055C7.58576%2017.9622%207.77123%2017.9622%207.93815%2017.8677C8.10508%2017.7922%208.21636%2017.6411%208.29055%2017.4711L11.9443%206.8373C12%206.66731%2012%206.47844%2011.9072%206.30845C11.8331%206.13846%2011.6847%206.02513%2011.5178%205.94958L4.58112%203.49418C4.58112%203.49418%204.43274%203.4564%204.35855%203.4564V3.49418Z'%20fill='%23390075'/%3e%3cpath%20d='M6.88095%2012.1071L10.238%201.52993C10.3864%201.05774%2010.1267%200.566658%209.68157%200.415556L8.53164%200.0378018C8.06797%20-0.1133%207.58574%200.151128%207.43736%200.604434L4.09888%2011.1816V11.276L4.13597%2014.2791V15.148C4.13597%2015.3746%204.43273%2015.4691%204.5811%2015.2802L5.08188%2014.5813L6.84385%2012.1637L6.8995%2012.0882L6.88095%2012.1071Z'%20fill='%23FFBE06'/%3e%3cpath%20d='M9.90413%202.56876L10.238%201.52993C10.3864%201.05774%2010.1267%200.566658%209.68157%200.415556L8.53165%200.0378018C8.06797%20-0.1133%207.58574%200.151128%207.43736%200.604433L7.10352%201.64326L9.92268%202.56876H9.90413Z'%20fill='%23F72872'/%3e%3cpath%20d='M7.08458%201.66338L6.80017%202.56226L9.60705%203.4833L9.89146%202.58442L7.08458%201.66338Z'%20fill='%23D7DCF0'/%3e%3cpath%20d='M9.62591%203.49415L6.7882%202.56865H6.76965L7.06641%201.62427L9.90412%202.54977H9.92267L9.62591%203.49415ZM6.82529%202.53088L9.60737%203.43749L9.88557%202.56865L7.1035%201.66204L6.82529%202.53088Z'%20fill='%23390075'/%3e%3cpath%20d='M6.8253%2012.2015C6.54709%2012.0126%206.73256%2011.5593%206.38017%2011.4082C6.00922%2011.2571%205.82375%2011.7482%205.4899%2011.6348C5.13751%2011.5215%205.28589%2011.0115%204.8964%2010.9171C4.52545%2010.8415%204.41417%2011.3326%204.08032%2011.2948L4.11742%2014.298V15.1668C4.11742%2015.3935%204.41417%2015.4879%204.56255%2015.299L5.06332%2014.6002L6.8253%2012.1826V12.2015Z'%20fill='%23FFDC9C'/%3e%3cpath%20d='M4.58109%2015.3179C4.58109%2015.3179%204.39562%2015.4501%204.30288%2015.4123C4.1916%2015.3746%204.11741%2015.2801%204.11741%2015.1668L4.06177%2011.257H4.08031C4.22869%2011.257%204.32143%2011.1815%204.43271%2011.0682C4.56254%2010.9548%204.69237%2010.8226%204.89639%2010.8793C5.10041%2010.9359%205.1746%2011.1059%205.23024%2011.257C5.28588%2011.4081%205.34152%2011.5403%205.4899%2011.597C5.65682%2011.6537%205.7681%2011.5781%205.89793%2011.4837C6.04631%2011.3892%206.19469%2011.2948%206.38016%2011.3704C6.58418%2011.4648%206.60273%2011.6348%206.63982%2011.8048C6.65837%2011.9559%206.69546%2012.0881%206.82529%2012.1636H6.84384L4.56254%2015.3179H4.58109ZM4.1545%2015.1668C4.1545%2015.2801%204.22869%2015.3557%204.30288%2015.3746C4.37707%2015.3934%204.4698%2015.3746%204.54399%2015.299L6.80674%2012.2014C6.67691%2012.107%206.65837%2011.9559%206.62127%2011.8237C6.58418%2011.6537%206.56563%2011.5026%206.38016%2011.427C6.19469%2011.3515%206.06486%2011.427%205.93503%2011.5403C5.8052%2011.6348%205.67537%2011.7292%205.4899%2011.6537C5.30443%2011.597%205.24878%2011.4459%205.19314%2011.2948C5.1375%2011.1437%205.08186%2010.9926%204.89639%2010.9359C4.71092%2010.8982%204.59963%2011.0115%204.4698%2011.1248C4.35852%2011.2193%204.26579%2011.3326%204.09886%2011.3326L4.1545%2015.1857V15.1668Z'%20fill='%23390075'/%3e%3cg%20opacity='0.3'%3e%3cpath%20d='M6.88094%2012.107L10.238%201.52984C10.3863%201.05764%2010.1267%200.566564%209.68156%200.415462L8.93967%200.169922C9.40335%200.321024%209.64446%200.812105%209.49609%201.2843L6.17615%2011.767C6.17615%2011.767%206.12051%2011.8992%206.08341%2011.937L4.37708%2015.3934C4.45126%2015.3934%204.50691%2015.3557%204.56255%2015.299L5.06332%2014.6001L6.8253%2012.1825L6.88094%2012.107Z'%20fill='%23390075'/%3e%3c/g%3e%3cg%20opacity='0.55'%3e%3cpath%20d='M4.48836%2015.3746C4.48836%2015.3746%204.46981%2015.318%204.46981%2015.2802V14.4114L4.41417%2011.4082V11.3138L7.75266%200.71776C7.90103%200.245567%208.38326%202.63336e-05%208.84694%200.151128L8.51309%200.0378018C8.04941%20-0.1133%207.56718%200.151128%207.41881%200.604433L4.08032%2011.1816V11.276L4.11742%2014.2791V15.148C4.11742%2015.3369%204.33998%2015.4313%204.48836%2015.3557V15.3746Z'%20fill='white'/%3e%3c/g%3e%3cpath%20d='M5.06334%2014.619C4.78513%2014.3735%204.46983%2014.2602%204.11743%2014.3168V15.1857C4.11743%2015.4123%204.41419%2015.5068%204.56256%2015.3179L5.06334%2014.619Z'%20fill='%23390075'/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='clip0_1674_120379'%3e%3crect%20width='12'%20height='18'%20fill='white'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e";function bf(e){return nr({attr:{fill:"currentColor",viewBox:"0 0 16 16"},child:[{tag:"path",attr:{d:"M15.502 1.94a.5.5 0 0 1 0 .706L14.459 3.69l-2-2L13.502.646a.5.5 0 0 1 .707 0l1.293 1.293zm-1.75 2.456-2-2L4.939 9.21a.5.5 0 0 0-.121.196l-.805 2.414a.25.25 0 0 0 .316.316l2.414-.805a.5.5 0 0 0 .196-.12l6.813-6.814z"},child:[]},{tag:"path",attr:{fillRule:"evenodd",d:"M1 13.5A1.5 1.5 0 0 0 2.5 15h11a1.5 1.5 0 0 0 1.5-1.5v-6a.5.5 0 0 0-1 0v6a.5.5 0 0 1-.5.5h-11a.5.5 0 0 1-.5-.5v-11a.5.5 0 0 1 .5-.5H9a.5.5 0 0 0 0-1H2.5A1.5 1.5 0 0 0 1 2.5z"},child:[]}]})(e)}function yf(e){return nr({attr:{fill:"currentColor",viewBox:"0 0 16 16"},child:[{tag:"path",attr:{d:"M0 .5A.5.5 0 0 1 .5 0h3a.5.5 0 0 1 0 1H1v2.5a.5.5 0 0 1-1 0zm12 0a.5.5 0 0 1 .5-.5h3a.5.5 0 0 1 .5.5v3a.5.5 0 0 1-1 0V1h-2.5a.5.5 0 0 1-.5-.5M.5 12a.5.5 0 0 1 .5.5V15h2.5a.5.5 0 0 1 0 1h-3a.5.5 0 0 1-.5-.5v-3a.5.5 0 0 1 .5-.5m15 0a.5.5 0 0 1 .5.5v3a.5.5 0 0 1-.5.5h-3a.5.5 0 0 1 0-1H15v-2.5a.5.5 0 0 1 .5-.5M4 4h1v1H4z"},child:[]},{tag:"path",attr:{d:"M7 2H2v5h5zM3 3h3v3H3zm2 8H4v1h1z"},child:[]},{tag:"path",attr:{d:"M7 9H2v5h5zm-4 1h3v3H3zm8-6h1v1h-1z"},child:[]},{tag:"path",attr:{d:"M9 2h5v5H9zm1 1v3h3V3zM8 8v2h1v1H8v1h2v-2h1v2h1v-1h2v-1h-3V8zm2 2H9V9h1zm4 2h-1v1h-2v1h3zm-4 2v-1H8v1z"},child:[]},{tag:"path",attr:{d:"M12 9h2V8h-2z"},child:[]}]})(e)}const Oa=({containerClassName:e,className:t,label:n,icon:a,userGuide:r,educationalContent:i,archive:s,labelClassName:u,questionKey:c,validation:d,register:g,watch:S,onChange:p,value:m,errors:x,disabled:_=!1,divider:b,dividerClassName:O,inputClassName:C,errorClassName:D,en:N,labelMore:B,placeholder:G="در اینجا وارد کنید ...",showLockIcon:re=!0,...fe})=>{const z=x?.[c]?x?.[c]?.message:null,j=m??S?.(c)??"",Y=se=>{p?p(se):g&&g(c)?.onChange(se)},le={className:oe(C,"w-full font-400 text-2xs lg:text-xs xl:text-sm text-black border-[0.5px] rounded border-black text-2xs lg:placeholder:text-xs bg-background py-1 px-1.5 hover:outline-none hover:bg-white hover:ring-0 hover:border-success focus:outline-none focus:bg-white focus:ring-0 focus:border-success",fe.rows?"!py-2 !px-2":"",_&&"cursor-not-allowed",j?"!bg-white":""),dir:N?"ltr":"rtl",disabled:_,value:fe.rows?j.replace(/<br\s*\/?>/gi,`
40
+ `):j,onChange:Y,placeholder:G,...fe},X={center:"label-center",right:"label-right",left:"label-left"};return w.jsxs("div",{className:oe(z?"field-error":"","bg-formItem w-full flex flex-col relative p-2 rounded",fe.rows?"gap-1":"",e),style:{boxShadow:"0px 2px 4px rgba(0, 0, 0, 0.15)"},children:[n&&w.jsx($r,{className:oe(u,X[b]),userGuide:r,educationalContent:i,archive:s?{...s,questionKey:c}:!1,label:n,required:d?d.required:null,en:N,more:B,disabled:_&&re}),b&&w.jsx(ta,{className:oe(O),position:b}),w.jsxs("div",{className:oe(t,"group flex justify-center items-center relative overflow-hidden"),children:[fe.rows>1?w.jsx("textarea",{...le,...g?g(c,d):{}}):w.jsx("input",{...le,...g?g(c,d):{}}),fe.rows?w.jsx("div",{className:oe("absolute top-1/2 left-1 lg:left-1.5 -translate-y-1/2",N?"left-auto right-2":"left-2"),style:{height:fe.rows*20,width:fe.rows*20,maxHeight:60,maxWidth:60},children:w.jsx(bf,{className:"opacity-5 w-full h-full"})}):w.jsx("div",{className:oe("absolute top-1/2 left-1 lg:left-1.5 -translate-y-1/2",N?"!left-auto !right-1":"!left-1"),children:a||w.jsx("img",{src:mf,className:"h-[13px] w-[13px] lg:h-[19px] lg:w-[19px]",alt:""})})]}),z&&w.jsxs("span",{className:"error "+D,children:[w.jsx(vn,{className:"text-xs lg:text-base"}),z]})]})},wf="_container_r8tu5_1",xf="_enContainer_r8tu5_9",Cf="_label_r8tu5_9",_f="_checkedContainer_r8tu5_21",Sf="_disabledContainer_r8tu5_29",Ef="_input_r8tu5_37",kf="_firstLayer_r8tu5_69",Df="_firstLayerChecked_r8tu5_81",Of="_secondLayer_r8tu5_91",Mf="_dot_r8tu5_101",Lf="_dotChecked_r8tu5_111",zr={container:wf,enContainer:xf,label:Cf,checkedContainer:_f,disabledContainer:Sf,input:Ef,firstLayer:kf,firstLayerChecked:Df,secondLayer:Of,dot:Mf,dotChecked:Lf},Ga=ee.forwardRef(({className:e,label:t,checked:n,disabled:a,en:r,...i},s)=>w.jsxs("label",{dir:r?"ltr":"",className:oe(e,r?zr.enContainer:"",zr.container,n&&zr.checkedContainer,a&&zr.disabledContainer,"group"),"aria-checked":n,"aria-disabled":a,children:[w.jsx("input",{className:zr.input,ref:s,type:"radio",checked:n,disabled:a,...i}),w.jsx("span",{className:zr.label,children:t}),w.jsx("div",{className:oe(zr.secondLayer,n&&zr.secondLayerChecked,"group-hover:shadow-lg"),children:w.jsx("div",{className:oe(zr.firstLayer,n&&zr.firstLayerChecked),children:w.jsx("div",{className:oe(zr.dot,n&&zr.dotChecked)})})})]}));Ga.displayName="Radio";const Nf="_options_1kxjf_13",Tf={options:Nf};function w0({containerClassName:e="",register:t=()=>{},options:n=[],active:a,divider:r,label:i="",onClick:s,userGuide:u=null,questionKey:c="",labelClassName:d="",optionsContainer:g="",radioClassName:S="",educationalContent:p=null,errors:m={},archive:x=null,dividerClassName:_,en:b,disabled:O,labelMore:C,validation:D}){const N=m?.[c]?m?.[c]?.message:null,B=()=>n.map(re=>w.jsx(Ga,{en:b,className:oe(S),checked:a===re.value,value:re.value,disabled:O,label:re.label,onClick:s,...t(c)},re.label)),G={center:"label-center",right:"label-right",left:"label-left"};return ee.useEffect(()=>{t&&D&&t(c,D)},[]),w.jsxs("div",{className:oe("bg-formItem w-full flex flex-col relative p-2 rounded",e,{"field-error":N}),style:{boxShadow:"0px 2px 4px rgba(0, 0, 0, 0.15)"},children:[i&&w.jsx($r,{className:oe(d,G[r]),userGuide:u,educationalContent:p,archive:x?{...x,questionKey:c}:!1,label:i,required:D?D.required:null,en:b,more:C,disabled:O}),r&&w.jsx(ta,{className:oe(_),position:r}),w.jsx("div",{className:oe(g,Tf.options+" flex flex-wrap w-full gap-1.5"),dir:b?"ltr":"rtl",children:B()}),N&&w.jsxs("span",{className:"error",children:[w.jsx(vn,{className:"text-xs lg:text-base"}),N]})]})}var Gs={},Js={exports:{}};(function(e,t){(function(n,a){e.exports=a(nl,ee)})(ul,function(n,a){function r(b){return b&&typeof b=="object"&&"default"in b?b:{default:b}}var i=r(a);function s(b,O){var C=Object.keys(b);if(Object.getOwnPropertySymbols){var D=Object.getOwnPropertySymbols(b);O&&(D=D.filter(function(N){return Object.getOwnPropertyDescriptor(b,N).enumerable})),C.push.apply(C,D)}return C}function u(b){for(var O=1;O<arguments.length;O++){var C=arguments[O]!=null?arguments[O]:{};O%2?s(Object(C),!0).forEach(function(D){c(b,D,C[D])}):Object.getOwnPropertyDescriptors?Object.defineProperties(b,Object.getOwnPropertyDescriptors(C)):s(Object(C)).forEach(function(D){Object.defineProperty(b,D,Object.getOwnPropertyDescriptor(C,D))})}return b}function c(b,O,C){return O in b?Object.defineProperty(b,O,{value:C,enumerable:!0,configurable:!0,writable:!0}):b[O]=C,b}function d(b,O){return function(C){if(Array.isArray(C))return C}(b)||function(C,D){var N=C==null?null:typeof Symbol<"u"&&C[Symbol.iterator]||C["@@iterator"];if(N!=null){var B,G,re=[],fe=!0,z=!1;try{for(N=N.call(C);!(fe=(B=N.next()).done)&&(re.push(B.value),!D||re.length!==D);fe=!0);}catch(j){z=!0,G=j}finally{try{fe||N.return==null||N.return()}finally{if(z)throw G}}return re}}(b,O)||function(C,D){if(C){if(typeof C=="string")return g(C,D);var N=Object.prototype.toString.call(C).slice(8,-1);if(N==="Object"&&C.constructor&&(N=C.constructor.name),N==="Map"||N==="Set")return Array.from(C);if(N==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(N))return g(C,D)}}(b,O)||function(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
41
+ In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}()}function g(b,O){(O==null||O>b.length)&&(O=b.length);for(var C=0,D=new Array(O);C<O;C++)D[C]=b[C];return D}function S(b,O){var C=b.element,D=b.popper,N=b.position,B=N===void 0?"bottom-center":N,G=b.containerStyle,re=b.containerClassName,fe=re===void 0?"":re,z=b.arrow,j=b.arrowStyle,Y=j===void 0?{}:j,le=b.arrowClassName,X=le===void 0?"":le,se=b.fixMainPosition,we=b.fixRelativePosition,be=b.offsetY,ce=b.offsetX,Ee=b.animations,Ce=b.zIndex,he=Ce===void 0?0:Ce,T=b.popperShadow,W=b.onChange,ge=b.active,je=ge===void 0||ge,ue=b.portal,ke=b.portalTarget,Ve=typeof window<"u",it=Ve&&ke instanceof HTMLElement,Lt=z===!0,ot=D&&je===!0,Dt=a.useRef(),yt=a.useRef(),tt=a.useRef(),qe=a.useRef(),Le=a.useMemo(function(){return{position:B,fixMainPosition:se,fixRelativePosition:we,offsetY:be,offsetX:ce,defaultArrow:Lt,animations:Ee,zIndex:he,onChange:W}},[B,se,we,be,ce,Lt,Ee,W,he]),_t=a.useCallback(function(){tt.current&&(tt.current.style.transition=""),yt.current&&(yt.current.parentNode.style.transition="")},[]),Zt={element:u({display:"inline-block",height:"max-content"},G),arrow:u({visibility:"hidden",left:"0",top:"0",position:"absolute"},Y),popper:{position:"absolute",left:"0",top:"0",willChange:"transform",visibility:"hidden",zIndex:he}};Ve&&!qe.current&&(qe.current=document.createElement("div"),qe.current.data={portal:ue,isValidPortalTarget:it}),a.useEffect(function(){if(ue&&!it){var Ue=qe.current;return document.body.appendChild(Ue),function(){document.body.contains(Ue)&&document.body.removeChild(Ue)}}},[ue,it]),a.useEffect(function(){if(!ot)return _t(),yt.current.parentNode.style.visibility="hidden",void(tt.current&&(tt.current.style.visibility="hidden"));function Ue(Nt){Nt&&Nt.type!=="resize"&&!Nt.target.contains(Dt.current)||(Nt&&_t(),p(Dt,yt,tt,Le,Nt))}return Ue(),document.addEventListener("scroll",Ue,!0),window.addEventListener("resize",Ue),function(){document.removeEventListener("scroll",Ue,!0),window.removeEventListener("resize",Ue)}},[ot,Le,_t]),a.useEffect(function(){var Ue={portal:ue,isValidPortalTarget:it},Nt=qe.current.data;JSON.stringify(Ue)!==JSON.stringify(Nt)&&(qe.current.data=Ue,Dt.current.refreshPosition())},[ue,it]);var gt=i.default.createElement(i.default.Fragment,null,function(){if(!z||!ot)return null;var Ue=i.default.createElement("div",{ref:tt,style:Zt.arrow}),Nt=a.isValidElement(z)?{children:z}:{className:"ep-arrow ".concat(T?"ep-shadow":""," ").concat(X)};return a.cloneElement(Ue,Nt)}(),i.default.createElement("div",{className:T?"ep-popper-shadow":"",style:Zt.popper},i.default.createElement("div",{ref:yt},D)));return i.default.createElement("div",{ref:function(Ue){if(Ue&&(Ue.removeTransition=_t,Ue.refreshPosition=function(){return setTimeout(function(){return p(Dt,yt,tt,Le,{})},10)}),Dt.current=Ue,O instanceof Function)return O(Ue);O&&(O.current=Ue)},className:fe,style:Zt.element},C,ue&&Ve?n.createPortal(gt,it?ke:qe.current):gt)}function p(b,O,C,D,N){var B=D.position,G=D.fixMainPosition,re=D.fixRelativePosition,fe=D.offsetY,z=fe===void 0?0:fe,j=D.offsetX,Y=j===void 0?0:j,le=D.defaultArrow,X=D.animations,se=X===void 0?[]:X,we=D.zIndex,be=D.onChange;if(b.current&&O.current){var ce,Ee,Ce,he,T=(Ee=window.pageXOffset!==void 0,Ce=(document.compatMode||"")==="CSS1Compat",{scrollLeft:Ee?window.pageXOffset:Ce?document.documentElement.scrollLeft:document.body.scrollLeft,scrollTop:Ee?window.pageYOffset:Ce?document.documentElement.scrollTop:document.body.scrollTop}),W=T.scrollLeft,ge=T.scrollTop,je=m(b.current,W,ge),ue=je.top,ke=je.left,Ve=je.height,it=je.width,Lt=je.right,ot=je.bottom,Dt=m(O.current,W,ge),yt=Dt.top,tt=Dt.left,qe=Dt.height,Le=Dt.width,_t=document.documentElement,Zt=_t.clientHeight,gt=_t.clientWidth,Ue=O.current.parentNode,Nt=function(We){if(!We)return[0,0];var Be=d((We.style.transform.match(/translate\((.*?)px,\s(.*?)px\)/)||[]).map(function(ie){return Number(ie)}),3),k=Be[1],F=k===void 0?0:k,q=Be[2];return[F,q===void 0?0:q]}(Ue),It=d(Nt,2),zt=It[0],Rt=It[1],Ut=function(We){var Be=d(We.split("-"),2),k=Be[0],F=k===void 0?"bottom":k,q=Be[1],ie=q===void 0?"center":q;F==="auto"&&(F="bottom"),ie==="auto"&&(ie="center");var Ke=F==="top"||F==="bottom",ze=F==="left"||F==="right";return ze&&(ie==="start"&&(ie="top"),ie==="end"&&(ie="bottom")),Ke&&(ie==="start"&&(ie="left"),ie==="end"&&(ie="right")),[F,ie,Ke,ze]}(B),y=d(Ut,4),L=y[0],A=y[1],R=y[2],$=y[3],V=L,de=function(We,Be){return"translate(".concat(We,"px, ").concat(Be,"px)")},te=it-Le,U=Ve-qe,pe=A==="left"?0:A==="right"?te:te/2,Q=te-pe,Se=A==="top"?0:A==="bottom"?U:U/2,ne=U-Se,Ne=ke-tt+zt,Ze=ue-yt+Rt,_e=0,$e=0,Pe=x(b.current),ct=[],st=C.current,mt=m(st,W,ge)||{},dt=mt.height,Ye=dt===void 0?0:dt,rt=mt.width,et=rt===void 0?0:rt,Oe=Ne,De=Ze,Te={top:"bottom",bottom:"top",left:"right",right:"left"};for(R&&(Ne+=pe,Ze+=L==="top"?-qe:Ve,le&&(Ye=11,et=20)),$&&(Ne+=L==="left"?-Le:it,Ze+=Se,le&&(Ye=20,et=11));Pe;)ct.push(Pe),Je(m(Pe,W,ge)),Pe=x(Pe.parentNode);Je({top:ge,bottom:ge+Zt,left:W,right:W+gt,height:Zt,width:gt}),R&&(Ze+=V==="bottom"?z:-z),$&&(Ne+=V==="right"?Y:-Y),Ne-=_e,Ze-=$e,ce=Te[V],st&&(R&&((he=it<Le)?Oe+=it/2:Oe=Ne+Le/2,Oe-=et/2,V==="bottom"&&(De=Ze,Ze+=Ye),V==="top"&&(De=(Ze-=Ye)+qe),_e<0&&_e-pe<0&&(he?Oe+=(pe-_e)/2:it-pe+_e<Le&&(Oe+=(it-pe+_e-Le)/2)),_e>0&&_e+Q>0&&(he?Oe-=(_e+Q)/2:it-_e-Q<Le&&(Oe-=(it-_e-Q-Le)/2))),$&&((he=Ve<qe)?De+=Ve/2:De=Ze+qe/2,De-=Ye/2,V==="left"&&(Oe=(Ne-=et)+Le),V==="right"&&(Oe=Ne,Ne+=et),$e<0&&$e-Se<0&&(he?De+=(Se-$e)/2:Ve-Se+$e<qe&&(De+=(Ve-Se+$e-qe)/2)),$e>0&&$e+ne>0&&(he?De-=($e+ne)/2:Ve-$e-ne<qe&&(De-=(Ve-$e-ne-qe)/2))),st.setAttribute("direction",ce),st.style.height=Ye+"px",st.style.width=et+"px",st.style.transform=de(Oe,De),st.style.visibility="visible",st.style.zIndex=we+1),Ue.style.transform=de(Ne,Ze);var Ae={popper:{top:Ze,bottom:Ze+qe,left:Ne,right:Ne+Le,height:qe,width:Le},element:{top:ue,bottom:ot,left:ke,right:Lt,height:Ve,width:it},arrow:{top:De,bottom:De+Ye,left:Oe,right:Oe+et,height:Ye,width:et,direction:ce},position:V+"-"+(_e!==0?"auto":A),scroll:{scrollLeft:W,scrollTop:ge},scrollableParents:ct,event:N};N||se.forEach(function(We){We({popper:Ue,arrow:st,data:u(u({},Ae),{},{getTransform:de,mirror:Te})})}),Ue.style.visibility="visible",typeof be=="function"&&be(Ae)}function Je(We){var Be=We.top,k=We.bottom,F=We.left,q=We.right,ie=We.height,Ke=We.width;if(R){var ze=Math.round(ue-Be+Ve/2),Ie=Math.round(ie/2);G||(ue-(qe+z+Ye)<Be&&ze<=Ie&&V==="top"?(Ze+=qe+Ve,V="bottom"):ot+qe+z+Ye>ie+Be&&ze>=Ie&&V==="bottom"&&(Ze-=qe+Ve,V="top")),re||(ke+pe<F&&(_e=_(Lt-et>F?ke+pe-F:-it+pe+et,_e)),Lt-Q>q&&(_e=_(ke+et<q?Lt-Q-q:it-Q-et,_e)))}if($){var J=Math.round(ke-F+it/2),Re=Math.round(Ke/2);G||(ke-(Le+Y+et)<F&&J<Re&&V==="left"?(Ne+=it+Le,V="right"):Lt+Le+Y+et>q&&J>Re&&V==="right"&&(Ne-=it+Le,V="left")),re||(ue+Se<Be&&($e=_(ot-Ye>Be?ue+Se-Be:-Ve+Se+Ye,$e)),ot-ne>k&&($e=_(ue+Ye<k?ot-ne-k:Ve-ne-Ye,$e)))}}}function m(b,O,C){if(b){var D=b.getBoundingClientRect(),N=D.top,B=D.left,G=D.width,re=D.height,fe=N+C,z=B+O;return{top:fe,bottom:fe+re,left:z,right:z+G,width:G,height:re}}}function x(b){if(b&&b.tagName!=="HTML"){var O=window.getComputedStyle(b),C=function(D){return["auto","scroll"].includes(D)};return b.clientHeight<b.scrollHeight&&C(O.overflowX)||b.clientWidth<b.scrollWidth&&C(O.overflowY)?b:x(b.parentNode)}}function _(b,O){return Math.round(Math.abs(b))>Math.round(Math.abs(O))?b:O}return a.forwardRef(S)})})(Js);var If=Js.exports;function Bn(e){return Bn=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Bn(e)}function Bf(e){return function(t){if(Array.isArray(t))return a0(t)}(e)||Xs(e)||Jl(e)||function(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
42
+ In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}()}function Xs(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function xo(e,t){var n=typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=Jl(e))||t){n&&(e=n);var a=0,r=function(){};return{s:r,n:function(){return a>=e.length?{done:!0}:{done:!1,value:e[a++]}},e:function(c){throw c},f:r}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
43
+ In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var i,s=!0,u=!1;return{s:function(){n=n.call(e)},n:function(){var c=n.next();return s=c.done,c},e:function(c){u=!0,i=c},f:function(){try{s||n.return==null||n.return()}finally{if(u)throw i}}}}function Co(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable})),n.push.apply(n,a)}return n}function _o(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?Co(Object(n),!0).forEach(function(a){Af(e,a,n[a])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Co(Object(n)).forEach(function(a){Object.defineProperty(e,a,Object.getOwnPropertyDescriptor(n,a))})}return e}function Af(e,t,n){return(t=t1(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ln(e,t){return e1(e)||function(n,a){var r=n==null?null:typeof Symbol<"u"&&n[Symbol.iterator]||n["@@iterator"];if(r!=null){var i,s,u,c,d=[],g=!0,S=!1;try{if(u=(r=r.call(n)).next,a===0){if(Object(r)!==r)return;g=!1}else for(;!(g=(i=u.call(r)).done)&&(d.push(i.value),d.length!==a);g=!0);}catch(p){S=!0,s=p}finally{try{if(!g&&r.return!=null&&(c=r.return(),Object(c)!==c))return}finally{if(S)throw s}}return d}}(e,t)||Jl(e,t)||Qs()}function Qs(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
44
+ In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Jl(e,t){if(e){if(typeof e=="string")return a0(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set"?Array.from(e):n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?a0(e,t):void 0}}function a0(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,a=new Array(t);n<t;n++)a[n]=e[n];return a}function e1(e){if(Array.isArray(e))return e}function Rf(e,t){for(var n=0;n<t.length;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,t1(a.key),a)}}function t1(e){var t=function(n,a){if(Bn(n)!=="object"||n===null)return n;var r=n[Symbol.toPrimitive];if(r!==void 0){var i=r.call(n,a);if(Bn(i)!=="object")return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(n)}(e,"string");return Bn(t)==="symbol"?t:String(t)}function fr(e,t,n){(function(a,r){if(r.has(a))throw new TypeError("Cannot initialize the same private elements twice on an object")})(e,t),t.set(e,n)}function H(e,t){return function(n,a){return a.get?a.get.call(n):a.value}(e,r1(e,t,"get"))}function ye(e,t,n){return function(a,r,i){if(r.set)r.set.call(a,i);else{if(!r.writable)throw new TypeError("attempted to set read only private field");r.value=i}}(e,r1(e,t,"set"),n),n}function r1(e,t,n){if(!t.has(e))throw new TypeError("attempted to "+n+" private field on non-instance");return t.get(e)}function Ff(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function jf(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var So={name:"gregorian_en",months:[["January","Jan"],["February","Feb"],["March","Mar"],["April","Apr"],["May","May"],["June","Jun"],["July","Jul"],["August","Aug"],["September","Sep"],["October","Oct"],["November","Nov"],["December","Dec"]],weekDays:[["Saturday","Sat"],["Sunday","Sun"],["Monday","Mon"],["Tuesday","Tue"],["Wednesday","Wed"],["Thursday","Thu"],["Friday","Fri"]],digits:["0","1","2","3","4","5","6","7","8","9"],meridiems:[["AM","am"],["PM","pm"]]},kl={name:"gregorian",startYear:1,yearLength:365,epoch:1721424,century:20,weekStartDayIndex:1,getMonthLengths:function(e){return[31,e?29:28,31,30,31,30,31,31,30,31,30,31]},isLeap:function(e){return e%4==0&&e%100!=0||e%400==0},getLeaps:function(e){if(e!==0){for(var t=e>0?1:-1,n=[];e>0?t<=e:e<=t;)this.isLeap(t)&&n.push(t),e>0?t++:t--;return n}},getDayOfYear:function(e){for(var t=e.year,n=e.month,a=e.day,r=this.getMonthLengths(this.isLeap(t)),i=0;i<n.index;i++)a+=r[i];return a},getAllDays:function(e){var t=e.year;return this.yearLength*(t-1)+this.leapsLength(t)+this.getDayOfYear(e)},leapsLength:function(e){return((e-1)/4|0)+(-(e-1)/100|0)+((e-1)/400|0)},guessYear:function(e,t){return~~(e/365.24)+(t>0?1:-1)}};function Ra(e){return e&&e.constructor===Object}function Hr(e){if(!isNaN(e))return parseInt(e)}function on(e){return Array.isArray(e)}function xn(e,t,n){return e===void 0||e<t||e>n}var dr=new WeakMap,Xt=new WeakMap,$t=new WeakMap,Vr=new WeakMap,ya=new WeakMap,wa=new WeakMap,ir=new WeakMap,xa=new WeakMap,br=new WeakMap,Qt=new WeakMap,Cn=new WeakMap,Ur=new WeakMap,Eo=new WeakMap,_n=new WeakMap,Sn=new WeakMap,ko=new WeakMap,wi=new WeakMap,Yr=new WeakMap,xi=new WeakMap,Pf=function(){function e(a){var r=this;(function(c,d){if(!(c instanceof d))throw new TypeError("Cannot call a class as a function")})(this,e),fr(this,dr,{writable:!0,value:void 0}),fr(this,Xt,{writable:!0,value:void 0}),fr(this,$t,{writable:!0,value:void 0}),fr(this,Vr,{writable:!0,value:void 0}),fr(this,ya,{writable:!0,value:void 0}),fr(this,wa,{writable:!0,value:void 0}),fr(this,ir,{writable:!0,value:void 0}),fr(this,xa,{writable:!0,value:void 0}),fr(this,br,{writable:!0,value:So}),fr(this,Qt,{writable:!0,value:kl}),fr(this,Cn,{writable:!0,value:!1}),fr(this,Ur,{writable:!0,value:{}}),fr(this,Eo,{writable:!0,value:/^\d{4}-\d\d-\d\dT\d\d:\d\d:\d\d\.\d\d\dZ$/}),fr(this,_n,{writable:!0,value:[]}),fr(this,Sn,{writable:!0,value:!0}),fr(this,ko,{writable:!0,value:function(c,d){switch(c){case"YYYY":return["year",d];case"YY":return["year","".concat(H(r,Qt).century).concat(d)];case"MMMM":case"MMM":return["month",r.months.findIndex(function(S){var p=S.name,m=S.shortName;return new RegExp(d,"i").test(p+m)})+1];case"MM":case"M":return["month",d];case"DD":case"D":return["day",d];case"HH":case"H":return["hour",d];case"hh":case"h":var g=Hr(d);return["hour",g>12?g-12:g];case"mm":case"m":return["minute",d];case"ss":case"s":return["second",d];case"SSS":case"SS":case"S":return["millisecond",d];default:return[]}}}),fr(this,wi,{writable:!0,value:function(){return H(r,dr)===0&&H(r,Qt).startYear!==0}}),fr(this,Yr,{writable:!0,value:function(){if(H(r,Sn)&&r.isValid){var c=Math.floor,d=function(_,b){return[(D=_,(D<0?-1:1)*Math.abs(c(_/b))),(O=_,C=b,(O<0&&c(O%C)!==-0?C:0)+c(_%b))];var O,C,D},g=function(){if(H(r,Xt)<0||H(r,Xt)>11){var _=H(r,Xt)<0?-1:1,b=ln(d(H(r,Xt),12),2),O=b[0],C=b[1];ye(r,dr,H(r,dr)+O),ye(r,Xt,C),H(r,wi).call(r)&&ye(r,dr,_)}};for(ye(r,Sn,!1),[["millisecond","second",1e3],["second","minute",60],["minute","hour",60],["hour","day",24]].forEach(function(_){var b=ln(_,3),O=b[0],C=b[1],D=b[2];if(function(re,fe){return re>=fe||re<0}(r[O],D)){var N=ln(d(r[O],D),2),B=N[0],G=N[1];r[C]+=B,r[O]=G}}),ye(r,Sn,!0),g();H(r,$t)<-H(r,Qt).yearLength||H(r,$t)>H(r,Qt).yearLength;){if(H(r,Xt)>0){for(var S=H(r,Qt).getMonthLengths(r.isLeap),p=0;p<H(r,Xt);p++)ye(r,$t,H(r,$t)+S[p]);ye(r,Xt,0)}var m=r.isLeap?r.calendar.yearLength+1:r.calendar.yearLength;ye(r,$t,H(r,$t)+m*(H(r,$t)<0?1:-1)),ye(r,dr,H(r,dr)+(H(r,$t)<0?-1:1))}for(;;){var x;for(g();H(r,$t)<1;)ye(r,Xt,H(r,Xt)-1),g(),ye(r,$t,r.month.length+H(r,$t));if(H(r,$t)<=r.month.length||isNaN(H(r,$t)))break;ye(r,$t,H(r,$t)-r.month.length),ye(r,Xt,(x=H(r,Xt),x++,x))}H(r,Vr)||ye(r,Vr,0),H(r,ya)||ye(r,ya,0),H(r,wa)||ye(r,wa,0),H(r,ir)||ye(r,ir,0)}}}),fr(this,xi,{writable:!0,value:function(){return(H(r,Ur).weekDays||H(r,br).weekDays).map(function(c,d){var g=ln(c,2),S=g[0],p=g[1],m=d-r.weekStartDayIndex;return m<0&&(m+=7),{name:S,shortName:p,index:m,number:m+1,toString:function(){return this.number.toString()},valueOf:function(){return this.number}}})}});var i=Ra(a)?_o({},a):a,s=!0;if(i&&typeof i!="boolean"||(i={date:new Date}),Ra(i)||(i={date:i}),Object.keys(i).length!==0){for(var u in Ra(i.calendar)&&ye(this,Qt,i.calendar),Ra(i.locale)&&ye(this,br,i.locale),isNaN(i.year)&&isNaN(i.month)&&isNaN(i.day)&&!i.date&&(i.date=new Date),i.date&&(typeof i.date=="string"&&i.format&&ye(this,xa,i.format),this.setDate(i.date),i.calendar&&this.convert(i.calendar),s=!1),delete i.calendar,delete i.locale,delete i.date,i)this.set(u,i[u]);H(this,wi).call(this)&&ye(this,dr,-1),s&&H(this,Yr).call(this)}}var t,n;return t=e,n=[{key:"parse",value:function(a){if(!a)return this;var r,i,s=H(this,xa),u=H(this,br).digits,c=xo(u);try{for(c.s();!(r=c.n()).done;){var d=r.value;a=a.replace(new RegExp(d,"g"),u.indexOf(d))}}catch(Y){c.e(Y)}finally{c.f()}if(s)for(var g=s.split(/[^\w\u0600-\u06FF]/),S=a.split(/[^\w\u0600-\u06FF]/),p=0;p<g.length;p++)this.set.apply(this,Bf(H(this,ko).call(this,g[p],S[p])));else{var m=a.match(/(-?\d{2,4})?\W?([A-z]{3,9}|\d{1,2})?\W?(\d{1,2})?\W?(\d{1,2})?\W?(\d{1,2})?\W?(\d{1,2})?\W?(\d{1,3})?\W?(am|pm)?/),x=(e1(i=m)||Xs(i)||Jl(i)||Qs()).slice(1),_=x[1];_&&(_=/\d+/.test(_)?Hr(_)-1:this.months.findIndex(function(Y){return new RegExp(_,"i").test(Y.name)})),x[1]=_;var b=ln(x.map(Hr),7),O=b[0],C=b[1],D=b[2],N=b[3],B=b[4],G=b[5],re=b[6];ye(this,dr,O),ye(this,Xt,C),ye(this,$t,D),ye(this,Vr,N),ye(this,ya,B),ye(this,wa,G),ye(this,ir,re)}var fe=ln(H(this,br).meridiems[1],2),z=fe[0],j=fe[1];return H(this,Vr)<12&&(a.includes(z)||a.includes(j))&&ye(this,Vr,H(this,Vr)+12),H(this,Yr).call(this),this}},{key:"convert",value:function(){var a=arguments.length>0&&arguments[0]!==void 0?arguments[0]:kl,r=arguments.length>1?arguments[1]:void 0;if(Ra(r)&&ye(this,br,r),!Ra(a)||a.name===H(this,Qt).name)return this;var i=this.toJulianDay()-a.epoch,s=new e({calendar:a,year:a.guessYear(i,H(this,dr)),month:1,day:1});return s.day+=i-s.toDays(),ye(this,dr,s.year),ye(this,Xt,s.month.index),ye(this,$t,s.day),ye(this,Qt,a),this}},{key:"format",value:function(a,r){if(!this.isValid||a&&typeof a!="string")return"";a||(a=H(this,xa)||"YYYY/MM/DD"),on(r)||(r=[]),r=(r=r.concat(H(this,_n))).filter(function(p){return typeof p=="string"||(console.warn("type of all items in the ignore list must be string, found",Bn(p)),!1)}).map(function(p){return p.replace(/[*/+\-()[\]{}\s$^]/g,function(m){return"\\"+m})});var i,s=new RegExp("".concat(r.join("|")).concat(r.length>0?"|":"","YYYY|YY|MMMM|MMM|MM|M|WW|W|DDDD|DDD|DD|D|dddd|ddd|dd|d|HH|H|hh|h|mm|m|ss|s|SSS|SS|S|A|a|."),"g"),u="",c=xo(a.match(s)||[]);try{for(c.s();!(i=c.n()).done;){var d=i.value,g=this.getValue(d);u+=r.includes(d)?d:g===0?g:g||d}}catch(p){c.e(p)}finally{c.f()}var S=this.digits;return u.replace(/[0-9]/g,function(p){return S[p]})}},{key:"getProperty",value:function(a){return this.getValue(a)}},{key:"getValue",value:function(a){var r=function(i){return i<10?"0"+i:i};switch(a){case"YYYY":return this.year;case"YY":return this.year.toString().substring(2,4);case"MMMM":return this.month.name;case"MMM":return this.month.shortName;case"MM":return r(this.month.number);case"M":return this.month.number;case"WW":return r(this.weekOfYear);case"W":return this.weekOfYear;case"DDDD":case"DDD":return this.dayOfYear;case"DD":return r(this.day);case"D":return this.day;case"HH":return r(this.hour);case"H":return this.hour;case"dddd":return this.weekDay.name;case"ddd":return this.weekDay.shortName;case"dd":return r(this.weekDay.number);case"d":return this.weekDay.number;case"hh":return r(this.hour>12?this.hour-12:this.hour||12);case"h":return this.hour>12?this.hour-12:this.hour||12;case"mm":return r(this.minute);case"m":return this.minute;case"ss":return r(this.second);case"s":return this.second;case"SSS":return H(this,ir)<10?"00".concat(H(this,ir)):H(this,ir)<100?"0".concat(H(this,ir)):H(this,ir);case"SS":return H(this,ir)<10?"00":H(this,ir)<100?("0"+H(this,ir)).substring(2,0):H(this,ir).toString().substring(0,2);case"S":return H(this,ir)<10||H(this,ir)<100?"0":H(this,ir).toString().substring(0,1);case"a":return this.hour>=12?H(this,br).meridiems[1][1]:H(this,br).meridiems[0][1];case"A":return this.hour>=12?H(this,br).meridiems[1][0]:H(this,br).meridiems[0][0];default:return""}}},{key:"setYear",value:function(a){return this.year=a,this}},{key:"setMonths",value:function(a){return this.months=a,this}},{key:"setMonth",value:function(a){return this.month=a,this}},{key:"setWeekDays",value:function(a){return this.weekDays=a,this}},{key:"setDigits",value:function(a){return this.digits=a,this}},{key:"setDay",value:function(a){return this.day=a,this}},{key:"setHour",value:function(a){return this.hour=a,this}},{key:"setMinute",value:function(a){return this.minute=a,this}},{key:"setSecond",value:function(a){return this.second=a,this}},{key:"setMillisecond",value:function(a){return this.millisecond=a,this}},{key:"setFormat",value:function(a){return ye(this,xa,a),this}},{key:"setLocale",value:function(a){return this.locale=a,this}},{key:"setCalendar",value:function(a){return this.calendar=a,this}},{key:"setDate",value:function(a){if(typeof a=="string"){if(!H(this,Eo).test(a))return this.parse(a);a=new Date(a)}return typeof a=="number"&&(a=new Date(a)),a instanceof Date&&(ye(this,Qt,kl),ye(this,dr,a.getFullYear()),ye(this,Xt,a.getMonth()),ye(this,$t,a.getDate()),ye(this,Vr,a.getHours()),ye(this,ya,a.getMinutes()),ye(this,wa,a.getSeconds()),ye(this,ir,a.getMilliseconds()),ye(this,Cn,!1)),a instanceof e&&(ye(this,dr,a.year),ye(this,Xt,a.month.index),ye(this,$t,a.day),ye(this,Vr,a.hour),ye(this,ya,a.minute),ye(this,wa,a.second),ye(this,ir,a.millisecond),ye(this,br,a.locale),ye(this,xa,a._format),ye(this,Qt,a.calendar),ye(this,Cn,a.isUTC),ye(this,_n,a.ignoreList),ye(this,Ur,a.custom)),this}},{key:"setIgnoreList",value:function(a){return this.ignoreList=a,this}},{key:"set",value:function(a,r){if(a==null)return this;if(Ra(a)){var i=_o({},a);for(var s in i.date&&(this.setDate(i.date),delete i.date),i.calendar&&(this.convert(i.calendar),delete i.calendar),i.locale&&(this.setLocale(i.locale),delete i.locale),ye(this,Sn,!1),i)this.set(s,i[s]);return ye(this,Sn,!0),H(this,Yr).call(this),this}a==="format"&&(a="_format");try{this[a]=r}catch{}return this}},{key:"add",value:function(a,r){if(!(a=Hr(a))||!r)return this;switch(r){case"years":case"y":r="year";break;case"months":case"M":r="month";break;case"days":case"d":r="day";break;case"hours":case"h":r="hour";break;case"minutes":case"m":r="minute";break;case"seconds":case"s":r="second";break;case"milliseconds":case"ms":r="millisecond"}return this[r]+=a,this}},{key:"subtract",value:function(a,r){return this.add(-a,r)}},{key:"toFirstOfYear",value:function(){return this.month=1,this.day=1,this}},{key:"toLastOfYear",value:function(){return this.day>=29&&(this.day=29),this.month=12,this.toLastOfMonth(),this}},{key:"toFirstOfMonth",value:function(){return ye(this,$t,1),this}},{key:"toLastOfMonth",value:function(){return ye(this,$t,0),ye(this,Xt,H(this,Xt)+1),H(this,Yr).call(this),this}},{key:"toFirstOfWeek",value:function(){return this.day-=this.weekDay.index,this}},{key:"toLastOfWeek",value:function(){return this.day+=6-this.weekDay.index,this}},{key:"toFirstWeekOfYear",value:function(){return this.toFirstOfYear(),this.weekDay.index===0?this:this.toLastOfWeek().setDay(this.day+1)}},{key:"toLastWeekOfYear",value:function(){return this.toLastOfYear().toFirstOfWeek()}},{key:"toString",value:function(){return this.format()}},{key:"toDate",value:function(){var a=new e(this);return H(this,Qt).name!=="gregorian"&&a.convert(kl),new Date(a.year,a.month.index,a.day,a.hour,a.minute,a.second,a.millisecond)}},{key:"toUTC",value:function(){return H(this,Cn)||(this.minute+=this.toDate().getTimezoneOffset(),ye(this,Cn,!0)),this}},{key:"toUnix",value:function(){return this.unix}},{key:"toJulianDay",value:function(){return this.toDays()+H(this,Qt).epoch}},{key:"toObject",value:function(){return{year:H(this,dr),month:this.month,day:H(this,$t),weekDay:this.weekDay,hour:H(this,Vr),minute:H(this,ya),second:H(this,wa),millisecond:H(this,ir),weekOfYear:this.weekOfYear,dayOfYear:this.dayOfYear,daysLeft:this.daysLeft,calendar:H(this,Qt),locale:H(this,br),format:H(this,xa)||"YYYY/MM/DD",ignoreList:H(this,_n)}}},{key:"toJSON",value:function(){return this.valueOf()}},{key:"valueOf",value:function(){return this.toDate().valueOf()}},{key:"toDays",value:function(){if(this.isValid)return H(this,Qt).getAllDays(this)}},{key:"dayOfBeginning",get:function(){return this.toDays()}},{key:"dayOfYear",get:function(){if(this.isValid)return H(this,Qt).getDayOfYear(this)}},{key:"weekOfYear",get:function(){if(this.isValid)return 1+~~(this.dayOfYear/7)}},{key:"daysLeft",get:function(){if(this.isValid){var a=H(this,Qt).yearLength;return(this.isLeap?a+1:a)-this.dayOfYear}}},{key:"year",get:function(){return H(this,dr)},set:function(a){ye(this,dr,Hr(a)),H(this,Yr).call(this)}},{key:"month",get:function(){return this.months[H(this,Xt)]||{}},set:function(a){var r;a=(r=Hr(a.valueOf())-1)!==null&&r!==void 0?r:void 0,ye(this,Xt,a),xn(a,0,11)&&H(this,Yr).call(this)}},{key:"monthIndex",get:function(){return H(this,Xt)}},{key:"day",get:function(){return H(this,$t)},set:function(a){a=Hr(a),ye(this,$t,a),xn(a,1,28)&&H(this,Yr).call(this)}},{key:"weekDay",get:function(){if(!this.isValid)return{};var a=(this.toJulianDay()+3)%7;return H(this,xi).call(this)[a]}},{key:"hour",get:function(){return H(this,Vr)},set:function(a){a=Hr(a),ye(this,Vr,a),xn(a,0,23)&&H(this,Yr).call(this)}},{key:"minute",get:function(){return H(this,ya)},set:function(a){a=Hr(a),ye(this,ya,a),xn(a,0,59)&&H(this,Yr).call(this)}},{key:"second",get:function(){return H(this,wa)},set:function(a){a=Hr(a),ye(this,wa,a),xn(a,0,59)&&H(this,Yr).call(this)}},{key:"millisecond",get:function(){return H(this,ir)},set:function(a){a=Hr(a),ye(this,ir,a),xn(a,0,999)&&H(this,Yr).call(this)}},{key:"months",get:function(){var a=H(this,Qt).getMonthLengths(this.isLeap),r=(H(this,Ur).months||H(this,br).months).map(function(i,s){var u=ln(i,2);return{name:u[0],shortName:u[1],length:a[s],index:s,number:s+1,toString:function(){return this.number.toString()},valueOf:function(){return this.number}}});return r},set:function(a){if(!a)return delete H(this,Ur).months;on(a)&&a.length===12&&a.every(function(r){return on(r)&&r.length===2&&r.every(function(i){return typeof i=="string"})})&&(H(this,Ur).months=a)}},{key:"weekDays",get:function(){return H(this,xi).call(this).sort(function(a,r){return a.index-r.index})},set:function(a){if(!a)return delete H(this,Ur).weekDays;on(a)&&a.length===7&&a.every(function(r){return on(r)&&r.length===2&&r.every(function(i){return typeof i=="string"})})&&(H(this,Ur).weekDays=a)}},{key:"leaps",get:function(){return H(this,Qt).getLeaps(H(this,dr))}},{key:"calendar",get:function(){return H(this,Qt)},set:function(a){this.convert(a)}},{key:"locale",get:function(){return H(this,br)},set:function(){var a=arguments.length>0&&arguments[0]!==void 0?arguments[0]:So;Ra(a)&&ye(this,br,a)}},{key:"custom",get:function(){return H(this,Ur)}},{key:"meridiems",get:function(){return H(this,br).meridiems}},{key:"digits",get:function(){return H(this,Ur).digits||H(this,br).digits},set:function(a){if(!a)return delete H(this,Ur).digits;on(a)&&a.length===10&&(H(this,Ur).digits=a)}},{key:"_format",get:function(){return H(this,xa)},set:function(a){typeof a=="string"&&ye(this,xa,a)}},{key:"isLeap",get:function(){return H(this,Qt).isLeap(H(this,dr))}},{key:"isValid",get:function(){return!isNaN(H(this,dr))&&!isNaN(H(this,Xt))&&!isNaN(H(this,$t))}},{key:"isUTC",get:function(){return H(this,Cn)}},{key:"unix",get:function(){return(this.valueOf()-this.millisecond)/1e3}},{key:"ignoreList",get:function(){return H(this,_n)},set:function(a){on(a)&&ye(this,_n,a)}},{key:"weekStartDayIndex",get:function(){return H(this,Qt).weekStartDayIndex},set:function(a){(a=Hr(a))!==void 0&&(H(this,Qt).weekStartDayIndex=Math.abs(a)%7)}},{key:"date",set:function(a){this.setDate(a)}}],n&&Rf(t.prototype,n),Object.defineProperty(t,"prototype",{writable:!1}),e}(),$f=Ff(jf(Pf));const Kf=Object.freeze(Object.defineProperty({__proto__:null,default:$f},Symbol.toStringTag,{value:"Module"})),zf=Cc(Kf);(function(e){Object.defineProperty(e,"__esModule",{value:!0});var t=ee,n=If,a=zf;function r(y){return y&&typeof y=="object"&&"default"in y?y:{default:y}}var i=r(t),s=r(n),u=r(a);function c(y,L){var A=Object.keys(y);if(Object.getOwnPropertySymbols){var R=Object.getOwnPropertySymbols(y);L&&(R=R.filter(function($){return Object.getOwnPropertyDescriptor(y,$).enumerable})),A.push.apply(A,R)}return A}function d(y){for(var L=1;L<arguments.length;L++){var A=arguments[L]!=null?arguments[L]:{};L%2?c(Object(A),!0).forEach(function(R){g(y,R,A[R])}):Object.getOwnPropertyDescriptors?Object.defineProperties(y,Object.getOwnPropertyDescriptors(A)):c(Object(A)).forEach(function(R){Object.defineProperty(y,R,Object.getOwnPropertyDescriptor(A,R))})}return y}function g(y,L,A){return(L=function(R){var $=function(V,de){if(typeof V!="object"||V===null)return V;var te=V[Symbol.toPrimitive];if(te!==void 0){var U=te.call(V,de);if(typeof U!="object")return U;throw new TypeError("@@toPrimitive must return a primitive value.")}return(de==="string"?String:Number)(V)}(R,"string");return typeof $=="symbol"?$:String($)}(L))in y?Object.defineProperty(y,L,{value:A,enumerable:!0,configurable:!0,writable:!0}):y[L]=A,y}function S(){return S=Object.assign?Object.assign.bind():function(y){for(var L=1;L<arguments.length;L++){var A=arguments[L];for(var R in A)Object.prototype.hasOwnProperty.call(A,R)&&(y[R]=A[R])}return y},S.apply(this,arguments)}function p(y,L){if(y==null)return{};var A,R,$=function(de,te){if(de==null)return{};var U,pe,Q={},Se=Object.keys(de);for(pe=0;pe<Se.length;pe++)U=Se[pe],te.indexOf(U)>=0||(Q[U]=de[U]);return Q}(y,L);if(Object.getOwnPropertySymbols){var V=Object.getOwnPropertySymbols(y);for(R=0;R<V.length;R++)A=V[R],L.indexOf(A)>=0||Object.prototype.propertyIsEnumerable.call(y,A)&&($[A]=y[A])}return $}function m(y,L){return function(A){if(Array.isArray(A))return A}(y)||function(A,R){var $=A==null?null:typeof Symbol<"u"&&A[Symbol.iterator]||A["@@iterator"];if($!=null){var V,de,te,U,pe=[],Q=!0,Se=!1;try{if(te=($=$.call(A)).next,R===0){if(Object($)!==$)return;Q=!1}else for(;!(Q=(V=te.call($)).done)&&(pe.push(V.value),pe.length!==R);Q=!0);}catch(ne){Se=!0,de=ne}finally{try{if(!Q&&$.return!=null&&(U=$.return(),Object(U)!==U))return}finally{if(Se)throw de}}return pe}}(y,L)||_(y,L)||function(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
45
+ In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}()}function x(y){return function(L){if(Array.isArray(L))return b(L)}(y)||function(L){if(typeof Symbol<"u"&&L[Symbol.iterator]!=null||L["@@iterator"]!=null)return Array.from(L)}(y)||_(y)||function(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
46
+ In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}()}function _(y,L){if(y){if(typeof y=="string")return b(y,L);var A=Object.prototype.toString.call(y).slice(8,-1);return A==="Object"&&y.constructor&&(A=y.constructor.name),A==="Map"||A==="Set"?Array.from(y):A==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(A)?b(y,L):void 0}}function b(y,L){(L==null||L>y.length)&&(L=y.length);for(var A=0,R=new Array(L);A<L;A++)R[A]=y[A];return R}function O(y,L){var A=typeof Symbol<"u"&&y[Symbol.iterator]||y["@@iterator"];if(!A){if(Array.isArray(y)||(A=_(y))||L){A&&(y=A);var R=0,$=function(){};return{s:$,n:function(){return R>=y.length?{done:!0}:{done:!1,value:y[R++]}},e:function(U){throw U},f:$}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
47
+ In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var V,de=!0,te=!1;return{s:function(){A=A.call(y)},n:function(){var U=A.next();return de=U.done,U},e:function(U){te=!0,V=U},f:function(){try{de||A.return==null||A.return()}finally{if(te)throw V}}}}function C(y){return Array.isArray(y)}function D(y){var L=y.state.date,A=L.calendar,R=L.locale,$=y.customWeekDays,V=y.weekStartDayIndex,de=y.displayWeekNumbers,te=y.weekNumber,U=t.useMemo(function(){var pe=$;return C(pe)&&pe.length>=7?(pe.length=7,pe=pe.map(function(Q){return C(Q)&Q.length>1?Q=Q[1]:C(Q)&&(Q=Q[0]),Q})):pe=new u.default({year:1,calendar:A,locale:R}).weekDays.map(function(Q){return Q.shortName}),pe},[A,R,$]);return U=x(U).slice(V).concat(x(U).splice(0,V)),i.default.createElement("div",{className:"rmdp-week"},de&&i.default.createElement("div",{className:"rmdp-week-day"},te),U.map(function(pe,Q){return i.default.createElement("div",{key:Q,className:"rmdp-week-day"},pe)}))}function N(y,L){var A=arguments.length>2&&arguments[2]!==void 0&&arguments[2],R=arguments.length>3&&arguments[3]!==void 0&&arguments[3];if(!y||!L)return!1;if(y.year===L.year){if(R)return!0;if(y.monthIndex===L.monthIndex)return!!A||y.day===L.day}}function B(y){var L=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"YYYY/MM/DD";return y.format(L)}function G(y,L,A){var R=A.multiple,$=A.range,V=A.selectedDate,de=A.onlyMonthPicker,te=A.onlyYearPicker,U=A.format,pe=A.focused,Q=A.weekPicker;y.setFormat(U);var Se=new u.default(y);return V=R&&$?function(){var ne=!0;C(V)||(V=[[V]]);var Ne=V.find(function(Pe){return Pe.length===1}),Ze=de?"YYYY/MM":"YYYY/MM/DD",_e=V;if(Ne){var $e=Ne[0];_e=_e.filter(function(Pe){if(Pe.length===1)return!0;var ct=m(Pe,2),st=ct[0],mt=ct[1],dt=m([$e,Se].sort(function(Ae,Je){return Ae-Je}),2),Ye=[st,mt,dt[0],dt[1]].map(function(Ae){return B(Ae,Ze)}),rt=m(Ye,4),et=rt[0],Oe=rt[1],De=rt[2],Te=rt[3];return!(De<=et&&Te>=Oe||De>=et&&Te>=Oe&&De<=Oe||De<=et&&Te<=Oe&&Te>=et)})}else _e=_e.filter(function(Pe){if(!C(Pe))return!0;if(Pe.length===0)return!1;var ct=m(Pe,2),st=[ct[0],ct[1],Se].map(function(et){return B(et,Ze)}),mt=m(st,3),dt=mt[0],Ye=mt[1],rt=mt[2];return!(rt>=dt&&rt<=Ye)});return _e=_e.map(function(Pe){var ct;return C(Pe)?Pe.length===1?(ne=!1,ct=Pe.concat(Se)):ct=Pe:(ne=!1,ct=[Pe,Se]),ct.sort(function(st,mt){return st-mt})}),ne&&(_e=[].concat(x(_e),[[Se]])),_e}():R?function(){var ne=V.filter(function(Ne){return!N(y,Ne,de,te)});return ne.length===V.length?ne.push(Se):Se=ne.find(function(Ne){return N(Ne,pe)}),L&&ne.sort(function(Ne,Ze){return Ne-Ze}),ne}():$?function(){if(Q)return[new u.default(Se).toFirstOfWeek(),new u.default(Se).toLastOfWeek()];if(V.length===2||V.length===0)return[Se];if(V.length===1)return[V[0],Se].sort(function(ne,Ne){return ne-Ne})}():Se,[V,Se]}function re(y,L,A,R){var $=[],V=A?"YYYY/MM":"YYYY/MM/DD",de=B(y,V);function te(U){var pe=U[0],Q=U[1];if(U.length===1)N(y,pe,A)&&$.push("rmdp-range");else if(U.length===2){var Se=[pe,Q].map(function(_e){return B(_e,V)}),ne=m(Se,2),Ne=ne[0],Ze=ne[1];de>=Ne&&de<=Ze&&$.push("rmdp-range"),de===Ne&&$.push("start"),de===Ze&&$.push("end")}}return R?(C(L)?L:[[L]]).forEach(te):te(L),$.join(" ")}function fe(y,L,A,R){var $=arguments.length>5?arguments[5]:void 0,V=[];if(R&&A){var de,te=(arguments.length>4&&arguments[4]!==void 0?arguments[4]:"day")==="day"?"YYYY/MM/DD":"YYYY/MM",U=A.format(te),pe=y.format(te);if($||L?.length!==1){if($&&C(L)){var Q,Se=O(L);try{for(Se.s();!(Q=Se.n()).done;){var ne=Q.value;if(C(ne)&&ne.length===1){de=ne[0].format(te);break}}}catch(Ne){Se.e(Ne)}finally{Se.f()}}}else de=L[0].format(te);(pe>de&&pe<=U||pe<de&&pe>=U)&&(V.push("rmdp-range-hover"),pe===U&&V.push(U>de?"end":"start"),C(L)&&L.flat().some(function(Ne){return Ne.format(te)===pe})&&V.push("force"))}return V}function z(y,L,A){if(y){var R=j(y);return A?Array.from(R.querySelectorAll(L)):R.querySelector(L)}}function j(y){return y.closest(".rmdp-calendar")}var Y=["selected","today","day:not(.rmdp-day-hidden):not(.rmdp-disabled)"];function le(y,L,A){var R=A.type,$=R===void 0?"day":R,V=A.format;y.preventDefault();var de=y.currentTarget,te=y.key,U=y.code,pe=$==="day"?7:3,Q=j(de),Se=Q&&Q.classList.contains("rmdp-rtl"),ne={ArrowRight:Se?-1:1,ArrowLeft:Se?1:-1,ArrowUp:-pe,ArrowDown:pe};if(U==="Space"||te===" ")de.click();else if(Object.keys(ne).includes(te)){var Ne=function(){if($==="month")return X(Q,[Y[2]]);var Pe=z(de,Ze<0?".rmdp-left":".rmdp-right");Pe&&(Pe.click(),X(Q))},Ze=ne[te],_e=new u.default(L.date).add(Ze,$);(function(Pe){if(!Pe)return Ne();var ct=Pe.getAttribute("class");ct.includes("hidden")||ct.includes("disabled")?le(y,d(d({},L),{},{date:_e}),{type:$,format:V}):Pe.focus()})(z(de,'[aria-label*="'.concat(L.year?"year ".concat(L.year+Ze):_e.format(V),'"]')))}else{var $e=z(de,".rmdp-arrow-container");$e&&$e.focus()}}function X(y){var L=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Y,A=!(arguments.length>2&&arguments[2]!==void 0)||arguments[2],R="[data-active='true']";y.querySelectorAll("".concat(R," [tabindex='0']")).forEach(function($){return $.setAttribute("tabindex","-1")}),setTimeout(function(){var $,V=O(L);try{for(V.s();!($=V.n()).done;){var de=$.value,te=y.querySelector("".concat(R," .rmdp-").concat(de));if(te){te.setAttribute("tabindex","0"),A&&te.focus();break}}}catch(U){V.e(U)}finally{V.f()}},10)}var se="dddd MMMM DD of YYYY";function we(y){var L=y.state,A=y.onChange,R=y.showOtherDays,$=R!==void 0&&R,V=y.mapDays,de=y.onlyShowInRangeDates,te=y.customWeekDays,U=y.sort,pe=y.numberOfMonths,Q=y.isRTL,Se=y.weekStartDayIndex,ne=y.handleFocusedDate,Ne=y.hideWeekDays,Ze=y.fullYear,_e=m(y.monthAndYears,1)[0],$e=y.displayWeekNumbers,Pe=y.weekNumber,ct=Pe===void 0?"":Pe,st=y.rangeHover,mt=y.highlightToday,dt=t.useRef({}),Ye=t.useRef(),rt=L.today,et=L.minDate,Oe=L.maxDate,De=L.range,Te=L.multiple,Ae=L.date,Je=L.selectedDate,We=L.onlyMonthPicker,Be=L.onlyYearPicker,k=L.mustShowMonthPicker,F=L.mustShowYearPicker,q=!We&&!Be,ie=m(t.useState(),2),Ke=ie[0],ze=ie[1];dt.current.date=Ae;var Ie=t.useMemo(function(){return q?function(Re,Xe,ve,wt){if(!Re)return[];for(var lt=[],Pt=0;Pt<ve;Pt++){var vt=(Re=new u.default(Re).toFirstOfMonth()).monthIndex,At=[];Re.toFirstOfWeek().add(wt,"day"),Re.monthIndex===vt&&Re.day>1&&Re.subtract(7,"days");for(var Yt=0;Yt<6;Yt++){for(var tr=[],Gt=0;Gt<7;Gt++)tr.push({date:new u.default(Re),day:Re.format("D"),current:Re.monthIndex===vt}),Re.day+=1;if(At.push(tr),Yt>2&&Re.monthIndex!==vt)break}lt.push(At)}return lt}(dt.current.date,0,pe,Se):[]},[Ae.monthIndex,Ae.year,Ae.calendar,Ae.locale,q,$,pe,Se]);return q&&i.default.createElement("div",{ref:Ye,className:"rmdp-day-picker ".concat(Ze?"rmdp-full-year":""),style:{display:Ze?"grid":"flex"},onMouseLeave:function(){return st&&ze()},"data-active":q&&!k&&!F},Ie.map(function(Re,Xe){return i.default.createElement("div",{key:Xe,style:g({},Q?"marginLeft":"marginRight",Xe+(Ze?0:1)<pe?"10px":"")},Ze&&i.default.createElement("div",{className:"rmdp-month-name"},_e[Xe]),!Ne&&i.default.createElement(D,{state:L,customWeekDays:te,weekStartDayIndex:Se,displayWeekNumbers:$e,weekNumber:ct}),Re.map(function(ve,wt){return i.default.createElement("div",{key:wt,className:"rmdp-week"},$e&&i.default.createElement("div",{className:"rmdp-day rmdp-disabled"},i.default.createElement("span",null,ve[0].date.format("WW"))),ve.map(function(lt,Pt){var vt=function(Ct){if(!Ct.current&&!$)return{};var Tt={};return V.forEach(function(St){var rr,Ht=St({date:Ct.date,today:rt,currentMonth:L.date.month,selectedDate:L.selectedDate,isSameDate:N});((rr=Ht)===null||rr===void 0?void 0:rr.constructor)!==Object&&(Ht={}),(Ht.disabled||Ht.hidden)&&(Ct.disabled=!0),Ht.hidden&&(Ct.hidden=!0),Tt=d(d({},Tt),Ht)}),delete Tt.disabled,delete Tt.hidden,Tt}(lt={date:lt.date,day:lt.day,current:lt.current}),At=J(lt)&&!lt.disabled,Yt="".concat(At?"sd":""),tr=vt.children;At&&(Yt="".concat(Yt," ").concat(vt.className||"")),delete vt.className,delete vt.children;var Gt=function(Ct,Tt){var St=["rmdp-day"],rr=Ct.date,Ht=Ct.hidden,Dr=Ct.current;if(!J(Ct)||Ht)St.push("rmdp-day-hidden");else{(et&&rr<et||Oe&&rr>Oe||Ct.disabled)&&(St.push("rmdp-disabled"),Ct.disabled||(Ct.disabled=!0)),Dr||St.push("rmdp-deactive");var wr=Tt>1&&Dr||Tt===1;Ct.disabled&&de||(N(rr,rt)&&mt&&St.push("rmdp-today"),Or=rr,[].concat(Je).some(function(_r){return N(_r,Or)})&&wr&&!De&&St.push("rmdp-selected")),De&&!Ct.disabled&&wr&&(St.push(re(rr,Je,void 0,Te)),St=St.concat(fe(rr,Je,Ke,st,void 0,Te)))}var Or;return St.join(" ")}(lt,pe);return(lt.hidden||lt.disabled)&&(Yt=Yt.replace("sd","")),i.default.createElement("div",{key:Pt,tabIndex:-1,"aria-label":"Choose ".concat(lt.date.format(se)),className:Gt,onMouseEnter:function(){return st&&ze(lt.date)},onKeyDown:function(Ct){return le(Ct,lt,{format:se})},onClick:function(){J(lt)&&!lt.disabled&&function(Ct,Tt,St){var rr,Ht,Dr,wr=Ct.date,Or=Ct.current,_r=L.selectedDate,ra=L.focused,ur=L.date,Xr=ur,aa=Xr.hour,La=Xr.minute,na=Xr.second;wr.set({hour:((rr=_r)===null||rr===void 0?void 0:rr.hour)||aa,minute:((Ht=_r)===null||Ht===void 0?void 0:Ht.minute)||La,second:((Dr=_r)===null||Dr===void 0?void 0:Dr.second)||na}),St!==1||Or?St>1&&!Or&&(Tt===0&&wr<ur&&(ur=new u.default(ur).toFirstOfMonth()),Tt>0&&wr.monthIndex>ur.monthIndex+Tt&&Tt+1===St&&(ur=new u.default(ur).toFirstOfMonth().add(1,"month"))):ur=new u.default(ur).toFirstOfMonth();var Qr=m(G(wr,U,L),2);_r=Qr[0],ra=Qr[1],A(_r,d(d({},L),{},{date:ur,focused:ra,selectedDate:_r})),ne(ra,wr)}(lt,Xe,pe)}},i.default.createElement("span",S({className:Yt},vt),J(lt)&&!lt.hidden?tr??lt.day:""))}))}))}));function J(Re){return!!Re.current||$}}function be(y){var L=y.direction,A=y.onClick,R=y.disabled,$=y.onKeyDown;return i.default.createElement("button",{type:"button",className:"rmdp-arrow-container ".concat(L," ").concat(R?"disabled":""),onClick:A,onKeyDown:$,"aria-roledescription":"button to navigate ".concat(L.replace("rmdp-",""))},i.default.createElement("i",{className:"rmdp-arrow"}))}function ce(y){var L=y.state,A=y.setState,R=y.disableYearPicker,$=y.disableMonthPicker,V=y.buttons,de=y.renderButton,te=y.handleMonthChange,U=y.disabled,pe=y.hideMonth,Q=y.hideYear,Se=y.isRTL,ne=y.fullYear,Ne=m(y.monthAndYears,2),Ze=Ne[0],_e=Ne[1],$e=y.monthYearSeparator,Pe=y.formatMonth,ct=y.formatYear,st=y.headerOrder,mt=y.onYearChange,dt={},Ye=L.date,rt=L.onlyMonthPicker,et=L.onlyYearPicker,Oe=L.mustShowYearPicker,De=L.minDate,Te=L.maxDate,Ae=L.year,Je=L.today,We=De&&Ye.year<=De.year&&De.monthIndex>Ye.monthIndex-1,Be=Te&&Ye.year>=Te.year&&Te.monthIndex<Ye.monthIndex+1,k=Je.year+7;if(k-=12*Math.floor((k-Ae)/12),(pe||ne)&&Q&&!V)return null;if((rt||ne)&&(De&&De.year>=Ye.year&&(We=!0),Te&&Te.year<=Ye.year&&(Be=!0)),Oe||et){var F=k-11;We=De&&De.year>F,Be=Te&&Te.year<k}return U&&(We=!0,Be=!0),i.default.createElement("div",{className:"rmdp-header"},i.default.createElement("div",{style:{position:"relative",display:"flex",alignItems:"center"}},Array.from(new Set(st)).map(function(J,Re){return i.default.createElement(t.Fragment,{key:Re},function(Xe){switch(Xe){case"LEFT_BUTTON":return V&&Ke("left");case"RIGHT_BUTTON":return V&&Ke("right");case"MONTH_YEAR":case"YEAR_MONTH":if(ne)return i.default.createElement("div",{className:"rmdp-header-values",style:dt},!Q&&Ye.format("YYYY"));var ve=Xe.split("_").filter(function(wt){return wt==="MONTH"&&!pe||wt==="YEAR"&&!Q});return ve.length>1&&(ve=[ve[0],ie(),ve[1]]),Ze.map(function(wt,lt){return i.default.createElement("div",{key:lt,className:"rmdp-header-values",style:dt},ve.map(function(Pt,vt){return i.default.createElement(t.Fragment,{key:vt},function(At,Yt,tr){switch(At){case"MONTH":return i.default.createElement("span",{tabIndex:0,onKeyDown:q,style:{cursor:U||$||rt?"default":"pointer"},onClick:function(Gt){return!$&&Ie("mustShowMonthPicker",Gt)}},function(Gt,Ct){return typeof Pe=="function"?Pe(Gt,Ct):Gt}(Yt,_e[tr]));case"YEAR":return i.default.createElement("span",{tabIndex:0,onKeyDown:q,style:{cursor:U||R||et?"default":"pointer"},onClick:function(Gt){return!R&&Ie("mustShowYearPicker",Gt)}},function(Gt,Ct){return typeof Pe=="function"?ct(Gt,Ct):Gt}(_e[tr],Yt));default:return At}}(Pt,wt,lt))}))});default:return}}(J))})));function q(J){var Re=J.currentTarget,Xe=J.key,ve=J.code;ve==="Space"||Xe===" "?(J.preventDefault(),Re.click()):ve==="ArrowDown"&&(J.preventDefault(),X(j(J.target)))}function ie(){return $e?i.default.createElement("span",null,$e):Se?"،":","}function Ke(J){var Re=function(ve){ve.preventDefault(),ze(J==="right"?1:-1,ve)},Xe=J==="left"&&We||J==="right"&&Be;return de instanceof Function?de(J,Re,Xe,q):t.isValidElement(de)?t.cloneElement(de,{direction:J,handleClick:Re,disabled:Xe,onKeyDown:q}):i.default.createElement(be,{direction:"rmdp-".concat(J),onClick:Re,onKeyDown:q,disabled:Xe})}function ze(J,Re){U||J<0&&We||J>0&&Be||(ne?(Ye.year+=J,mt?.(new u.default(Ye))):Oe||et?(Ae+=12*J,J<0&&De&&Ae<De.year&&(Ae=De.year),J>0&&Te&&Ae>Te.year&&(Ae=Te.year)):(Ye.toFirstOfMonth(),rt?Ye.year+=J:(Ye.month+=J,te(Ye))),A(d(d({},L),{},{date:Ye,year:Ae})),X(j(Re.target),void 0,!1))}function Ie(J,Re){if(!U){var Xe={mustShowMonthPicker:!1,mustShowYearPicker:!1};Xe[J]=!L[J],A(d(d({},L),Xe)),X(j(Re.target),void 0,!1)}}}function Ee(y){return C(y)||(y=[]),JSON.stringify(y)}var Ce="MMMM of YYYY";function he(y){var L=y.state,A=y.onChange,R=y.customMonths,$=y.sort,V=y.handleMonthChange,de=y.handleFocusedDate,te=y.rangeHover,U=y.highlightToday,pe=y.numberOfMonths,Q=L.date,Se=L.today,ne=L.minDate,Ne=L.maxDate,Ze=L.calendar,_e=L.locale,$e=L.onlyMonthPicker,Pe=L.onlyYearPicker,ct=L.range,st=L.onlyShowInRangeDates,mt=(L.mustShowMonthPicker||$e)&&!Pe,dt=m(t.useState(),2),Ye=dt[0],rt=dt[1];R=R&&Ee(R);var et=t.useMemo(function(){var Te=[],Ae=$e?pe:1,Je=R&&JSON.parse(R),We=new u.default({calendar:Ze,locale:_e,format:L.date._format,year:L.date.year,month:1,day:1});C(Je)&&Je.length>=12?(Je.length=12,Je=Je.map(function(ze){return C(ze)?ze[0]:ze})):Je=We.locale.months.map(function(ze){return m(ze,1)[0]});for(var Be=0;Be<Ae;Be++){for(var k=[],F=0,q=0;q<4;q++){for(var ie=[],Ke=0;Ke<3;Ke++)ie.push({date:new u.default(We),name:Je[F]}),F++,We.add(1,"month");k.push(ie)}Te.push(k)}return Te},[Ze,_e,R,L.date.year,L.date._format,pe,$e]);return i.default.createElement("div",{className:"".concat($e?"only ":"","rmdp-month-picker"),style:{display:mt?"flex":"none"},"data-active":mt,onMouseLeave:function(){return te&&rt()}},et.map(function(Te,Ae){return i.default.createElement("div",{key:Ae,style:{margin:"0 5px",flex:1}},Te.map(function(Je,We){return i.default.createElement("div",{key:We,className:"rmdp-ym"},Je.map(function(Be,k){var F=Be.date,q=Be.name;return i.default.createElement("div",{key:k,"aria-label":"Select ".concat(F.format(Ce)),tabIndex:-1,onKeyDown:function(ie){return le(ie,{date:F},{format:Ce,type:"month"})},className:De(F),onClick:function(ie){return Oe(F,ie)},onMouseEnter:function(){return te&&rt(F)}},i.default.createElement("span",{className:$e?"sd":""},q))}))}))}));function Oe(Te,Ae){var Je=L.selectedDate,We=L.focused,Be=Te.year,k=Te.monthIndex;if(!(ne&&Be<=ne.year&&k<ne.monthIndex||Ne&&Be>=Ne.year&&k>Ne.monthIndex)){if(Q.setMonth(k+1),$e){var F=m(G(Te,$,L),2);Je=F[0],We=F[1]}else V(Q),X(j(Ae.target));A($e?Je:void 0,d(d({},L),{},{date:Q,focused:We,selectedDate:Je,mustShowMonthPicker:!1})),$e&&de(We,Te)}}function De(Te){var Ae=["rmdp-day"],Je=Te.year,We=Te.monthIndex,Be=L.selectedDate,k=L.multiple;if((ne&&(Je<ne.year||Je===ne.year&&We<ne.monthIndex)||Ne&&(Je>Ne.year||Je===Ne.year&&We>Ne.monthIndex))&&Ae.push("rmdp-disabled"),!Ae.includes("rmdp-disabled")||!st)return N(Se,Te,!0)&&U&&Ae.push("rmdp-today"),$e?ct?(Ae.push(re(Te,Be,!0,k)),Ae=Ae.concat(fe(Te,Be,Ye,te,"month",k))):[].concat(Be).some(function(F){return N(F,Te,!0)})&&Ae.push("rmdp-selected"):Q.monthIndex===We&&Ae.push("rmdp-selected"),Ae.join(" ")}}function T(y,L){return y.replace(/[0-9]/g,function(A){return L[A]})}var W="YYYY";function ge(y){var L=y.state,A=y.onChange,R=y.sort,$=y.handleFocusedDate,V=y.onYearChange,de=y.rangeHover,te=y.highlightToday,U=L.date,pe=L.today,Q=L.minDate,Se=L.maxDate,ne=L.onlyYearPicker,Ne=L.range,Ze=L.onlyShowInRangeDates,_e=L.year,$e=L.mustShowYearPicker||ne,Pe=U.digits,ct=m(t.useState(),2),st=ct[0],mt=ct[1],dt=pe.year-4;dt-=12*Math.ceil((dt-_e)/12);var Ye=t.useMemo(function(){for(var Oe=[],De=dt,Te=0;Te<4;Te++){for(var Ae=[],Je=0;Je<3;Je++)Ae.push(De),De++;Oe.push(Ae)}return Oe},[dt]);return i.default.createElement("div",{className:"".concat(ne?"only ":"","rmdp-year-picker"),style:{display:$e?"block":"none"},"data-active":$e},Ye.map(function(Oe,De){return i.default.createElement("div",{key:De,className:"rmdp-ym",onMouseLeave:function(){return de&&mt()}},Oe.map(function(Te,Ae){return i.default.createElement("div",{key:Ae,"aria-label":"Select year ".concat(Te),tabIndex:-1,onKeyDown:function(Je){return le(Je,{year:Te,date:U},{format:W,type:"year"})},className:rt(Te),onClick:function(Je){return function(We,Be){if(!et(We)){var k=new u.default(L.date).setYear(We),F=L.selectedDate,q=L.focused;if(ne){var ie=m(G(k,R,L),2);F=ie[0],q=ie[1]}else Q&&k.monthIndex<Q.monthIndex?k=k.setMonth(Q.monthIndex+1):Se&&k.monthIndex>Se.monthIndex&&(k=k.setMonth(Se.monthIndex+1)),V?.(k),X(j(Be.target));A(ne?F:void 0,d(d({},L),{},{date:k,focused:q,selectedDate:F,mustShowYearPicker:!1})),ne&&$(q,k)}}(Te,Je)},onMouseEnter:function(){return de&&mt(Te)}},i.default.createElement("span",{className:ne?"sd":""},T(Te.toString(),Pe)))}))}));function rt(Oe){var De=["rmdp-day"],Te=L.date,Ae=L.selectedDate,Je=L.multiple;if(et(Oe)&&De.push("rmdp-disabled"),!De.includes("rmdp-disabled")||!Ze){if(pe.year===Oe&&te&&De.push("rmdp-today"),ne)if(Ne){var We=function(Be){var k=Be[0],F=Be[1];if(Be.length===1){if(Oe===k.year&&De.push("rmdp-range"),de){var q=Be[0].year;(Oe>q&&Oe<=st||Oe<q&&Oe>=st)&&(De.push("rmdp-range-hover"),Oe===st&&De.push(st>q?"end":"start"))}}else Be.length===2&&(Oe>=k.year&&Oe<=F.year&&De.push("rmdp-range"),Oe===k.year&&De.push("start"),Oe===F.year&&De.push("end"))};Je?(C(Ae)?Ae:[[Ae]]).forEach(function(Be){return We(Be)}):We(Ae)}else[].concat(Ae).some(function(Be){return Be&&Be.year===Oe})&&De.push("rmdp-selected");else Oe===Te.year&&De.push("rmdp-selected");return De.join(" ")}}function et(Oe){return Q&&Oe<Q.year||Se&&Oe>Se.year}}function je(y,L,A){return A||(y?"MM/YYYY":L?"YYYY":"YYYY/MM/DD")}function ue(y,L){var A=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"YYYY/MM/DD";return y instanceof u.default?y.set({calendar:L,format:A}):y=new u.default({date:y,calendar:L,format:A}),y}function ke(y){"_self"in i.default.createElement("div")&&console.warn(y.join(`
48
+ `))}var Ve=new u.default,it=Ve.calendar,Lt=Ve.locale;function ot(y,L){return y&&y.constructor!==Object&&(ke(Dt("calendar")),y=void 0),L&&L.constructor!==Object&&(ke(Dt("locale")),L=void 0),[y||it,L||Lt]}function Dt(y){return["".concat(y," must be an object"),"https://shahabyazdi.github.io/react-multi-date-picker/calendars/"]}function yt(y){return y&&y.name?y.name.split("_")[1]:""}function tt(y){return["fa","ar"].includes(yt(y))}function qe(y,L){L===void 0&&(L={});var A=L.insertAt;if(y&&typeof document<"u"){var R=document.head||document.getElementsByTagName("head")[0],$=document.createElement("style");$.type="text/css",A==="top"&&R.firstChild?R.insertBefore($,R.firstChild):R.appendChild($),$.styleSheet?$.styleSheet.cssText=y:$.appendChild(document.createTextNode(y))}}qe(".rmdp-wrapper{background-color:#fff;border-radius:5px;direction:ltr;text-align:center;width:max-content}.rmdp-shadow{box-shadow:0 0 5px #8798ad}.rmdp-border{border:1px solid #cfd8e2}.rmdp-calendar{height:max-content;padding:4px}.rmdp-border-top{border-top:1px solid #cfd8e2}.rmdp-border-bottom{border-bottom:1px solid #cfd8e2}.rmdp-border-left{border-left:1px solid #cfd8e2}.rmdp-border-right{border-right:1px solid #cfd8e2}.rmdp-week,.rmdp-ym{display:flex;justify-content:space-between}.rmdp-ym{height:25%}.rmdp-day,.rmdp-week-day{color:#000;cursor:pointer;height:34px;position:relative;width:34px}.rmdp-calendar :focus{outline-color:#00539c}.rmdp-day:not(.rmdp-range):focus{border-radius:50%}.rmdp-ym .rmdp-day:not(.rmdp-range):focus{border-radius:15px}.rmdp-week-day{color:#0074d9;cursor:default;font-size:13px;font-weight:500}.rmdp-day span,.rmdp-week-day{display:flex;flex-direction:column;justify-content:center}.rmdp-day span{border-radius:50%;bottom:3px;font-size:14px;left:3px;position:absolute;right:3px;top:3px}.rmdp-day.rmdp-today span{background-color:#7fdbff;color:#fff}.rmdp-day.rmdp-selected span:not(.highlight){background-color:#0074d9;box-shadow:0 0 3px #8798ad;color:#fff}.rmdp-day.rmdp-deactive,.rmdp-day.rmdp-disabled{color:#8798ad}.rmdp-day.rmdp-deactive.rmdp-selected span{background-color:#4ca6f5;box-shadow:0 0 3px #bac5d3}.rmdp-ym .rmdp-day{flex:1;margin:auto}.rmdp-ym .rmdp-day span{border-radius:12px;padding:2px 0}.rmdp-range{background-color:#0074d9;box-shadow:0 0 3px #8798ad;color:#fff}.rmdp-range-hover{background-color:#7ea6f0;color:#fff}.rmdp-range-hover.start:not(.force),.rmdp-range.start:not(.force){border-bottom-left-radius:50%;border-top-left-radius:50%}.rmdp-range-hover.end:not(.force),.rmdp-range.end:not(.force){border-bottom-right-radius:50%;border-top-right-radius:50%}.rmdp-ym .rmdp-range-hover.start:not(.force),.rmdp-ym .rmdp-range.start:not(.force){border-bottom-left-radius:15px;border-top-left-radius:15px}.rmdp-ym .rmdp-range-hover.end:not(.force),.rmdp-ym .rmdp-range.end:not(.force){border-bottom-right-radius:15px;border-top-right-radius:15px}@media (hover:hover){.rmdp-day:not(.rmdp-disabled,.rmdp-day-hidden) span:hover{background-color:#7ea6f0;color:#fff}}.rmdp-day-picker{padding:5px}.rmdp-header{font-size:14px;margin-top:5px;padding:9px 0}.rmdp-month-picker,.rmdp-year-picker{background-color:#fff;border-radius:0 0 5px 5px;bottom:2px;left:2px;position:absolute;right:2px;top:2px}.only.rmdp-month-picker,.only.rmdp-year-picker{height:240px;position:static;width:240px}.rmdp-header-values{color:#000;margin:auto}.rmdp-header-values span{padding:0 0 0 5px}.rmdp-arrow{border:solid #0074d9;border-width:0 2px 2px 0;display:inline-block;height:3px;margin-top:5px;padding:2px;width:3px}.rmdp-right i{margin-right:3px;transform:rotate(-45deg);-webkit-transform:rotate(-45deg)}.rmdp-left i{margin-left:3px;transform:rotate(135deg);-webkit-transform:rotate(135deg)}.rmdp-left{left:0}.rmdp-right{right:0}.rmdp-arrow-container{background:transparent;border:none;border-radius:50%;cursor:pointer;display:flex;height:20px;justify-content:center;margin:0 5px;padding:0;width:20px}.rmdp-arrow-container:hover{background-color:#0074d9;box-shadow:0 0 3px #8798ad}.rmdp-arrow-container:hover .rmdp-arrow{border:solid #fff;border-width:0 2px 2px 0}.rmdp-arrow-container.disabled{cursor:default}.rmdp-arrow-container.disabled:hover{background-color:inherit;box-shadow:inherit}.rmdp-arrow-container.disabled .rmdp-arrow,.rmdp-arrow-container.disabled:hover .rmdp-arrow{border:solid gray;border-width:0 2px 2px 0}.rmdp-rtl{direction:rtl}.rmdp-rtl .rmdp-left i{margin-left:0;margin-right:3px;transform:rotate(-45deg);-webkit-transform:rotate(-45deg)}.rmdp-rtl .rmdp-right i{margin-left:3px;margin-right:0;transform:rotate(135deg);-webkit-transform:rotate(135deg)}.rmdp-rtl .rmdp-right{left:0;right:auto}.rmdp-rtl .rmdp-left{left:auto;right:0}.rmdp-rtl .rmdp-range-hover.start:not(.force),.rmdp-rtl .rmdp-range.start:not(.force){border-bottom-left-radius:unset;border-bottom-right-radius:50%;border-top-left-radius:unset;border-top-right-radius:50%}.rmdp-rtl .rmdp-range-hover.end:not(.force),.rmdp-rtl .rmdp-range.end:not(.force){border-bottom-left-radius:50%;border-bottom-right-radius:unset;border-top-left-radius:50%;border-top-right-radius:unset}.rmdp-rtl .rmdp-range.start.end:not(.force){border-radius:50%}.rmdp-rtl .rmdp-ym .rmdp-range-hover.start:not(.force),.rmdp-rtl .rmdp-ym .rmdp-range.start:not(.force){border-bottom-right-radius:15px;border-top-right-radius:15px}.rmdp-rtl .rmdp-ym .rmdp-range-hover.end:not(.force),.rmdp-rtl .rmdp-ym .rmdp-range.end:not(.force){border-bottom-left-radius:15px;border-top-left-radius:15px}.rmdp-day-hidden,.rmdp-day.rmdp-disabled{cursor:default}.rmdp-selected .highlight{box-shadow:0 0 3px #8798ad}.rmdp-day:not(.rmdp-disabled):not(.rmdp-day-hidden) .highlight-red:hover{background-color:#ff6687}.rmdp-day:not(.rmdp-deactive) .highlight-red{color:#cc0303}.rmdp-day.rmdp-deactive .highlight-red{color:#e08e8e}.rmdp-day.rmdp-selected .highlight-red{background-color:#ea0034;color:#fff}.rmdp-day.rmdp-deactive.rmdp-selected .highlight-red{background-color:#e4b0ba;color:#fff}.rmdp-day:not(.rmdp-disabled):not(.rmdp-day-hidden) .highlight-green:hover{background-color:#4db6ac}.rmdp-day:not(.rmdp-deactive) .highlight-green{color:#00796b}.rmdp-day.rmdp-deactive .highlight-green{color:#7ab3ac}.rmdp-day.rmdp-selected .highlight-green{background-color:#009688;color:#fff}.rmdp-day.rmdp-deactive.rmdp-selected .highlight-green{background-color:#749c98;color:#fff}.rmdp-day-hidden,.rmdp-day-hidden:hover span{background-color:unset;color:transparent}.rmdp-month-name{cursor:default;font-size:14px;margin:3px 0}.rmdp-full-year{grid-template-columns:1fr 1fr 1fr}@media (max-height:450px),(max-width:450px){.rmdp-day,.rmdp-week-day{height:28px;width:28px}.rmdp-day span{font-size:12px;padding-left:.5px}.only.rmdp-month-picker,.only.rmdp-year-picker{height:200px;width:230px}.rmdp-header{padding:3px 0 0}.rmdp-header,.rmdp-month-name{font-size:12px}.rmdp-full-year{grid-template-columns:1fr 1fr}}");var Le=["datePickerProps","DatePicker"];function _t(y,L){var A,R=y.value,$=y.calendar,V=y.locale,de=y.format,te=y.onlyMonthPicker,U=y.onlyYearPicker,pe=y.range,Q=pe!==void 0&&pe,Se=y.multiple,ne=Se!==void 0&&Se,Ne=y.className,Ze=y.role,_e=y.weekDays,$e=y.months,Pe=y.children,ct=y.onChange,st=y.showOtherDays,mt=y.minDate,dt=y.maxDate,Ye=y.mapDays,rt=y.disableMonthPicker,et=y.disableYearPicker,Oe=y.formattingIgnoreList,De=y.onReady,Te=y.onlyShowInRangeDates,Ae=Te===void 0||Te,Je=y.zIndex,We=Je===void 0?100:Je,Be=y.plugins,k=Be===void 0?[]:Be,F=y.sort,q=y.numberOfMonths,ie=q===void 0?1:q,Ke=y.currentDate,ze=y.digits,Ie=y.buttons,J=Ie===void 0||Ie,Re=y.renderButton,Xe=y.weekStartDayIndex,ve=Xe===void 0?0:Xe,wt=y.disableDayPicker,lt=y.onPropsChange,Pt=y.onMonthChange,vt=y.onYearChange,At=y.onFocusedDateChange,Yt=y.readOnly,tr=y.disabled,Gt=y.hideMonth,Ct=y.hideYear,Tt=y.hideWeekDays,St=y.shadow,rr=St===void 0||St,Ht=y.fullYear,Dr=y.displayWeekNumbers,wr=y.weekNumber,Or=y.weekPicker,_r=y.rangeHover,ra=y.monthYearSeparator,ur=y.formatMonth,Xr=y.formatYear,aa=y.highlightToday,La=aa===void 0||aa,na=y.headerOrder,Qr=na===void 0?["LEFT_BUTTON","MONTH_YEAR","RIGHT_BUTTON"]:na,Na=y.style,jn=Na===void 0?{}:Na,Qa=y.autoFocus,en=Qa!==void 0&&Qa;!Ke||Ke instanceof u.default||(console.warn("currentDate must be instance of DateObject"),Ke=void 0),(typeof ve!="number"||ve<0||ve>6)&&(ve=0),(typeof ie!="number"||ie<1||U)&&(ie=1),!(ne||Q||C(R))||Q||ne||(ne=!0),Or&&(Q=!0,ne=!1),Ht&&(ie=12,te=!1,U=!1),U&&!Gt&&(Gt=!0);var ha=m(ot($,V),2);$=ha[0],V=ha[1],de=je(te,U,de),Oe=Ee(Oe),Ye=[].concat(Ye).filter(Boolean),k=[].concat.apply([],k);var tn=m(t.useState({}),2),ft=tn[0],Mr=tn[1],Ar={},Ot=t.useRef({mustCallOnReady:!0,currentDate:Ke});t.useEffect(function(){Mr(function(me){var ut=Ot.current.currentDate,at=me.date,Qe=me.selectedDate,Jt=me.initialValue,bt=me.focused,xt=me.mustSortDates;function Vt(ae){if(ae)return ae.calendar.name!==$.name&&ae.setCalendar($),ae.locale.name!==V.name&&ae.setLocale(V),ae._format!==de&&ae.setFormat(de),ae.digits=ze,ae.ignoreList=JSON.parse(Oe),ae}function ar(ae){return new u.default(ut||ae)}if(R)if(C(Qe=gt(R,$,V,de)))at||(at=ar(Qe.flat()[0]));else if(at&&ie!==1){var Lr=new u.default(at).toFirstOfMonth(),Fr=new u.default(at).add(ie-1,te?"years":"months").toLastOfMonth();(Qe<Lr||Qe>Fr)&&(at=new u.default(Qe))}else at=ar(Qe);else at||(at=ar({calendar:$,locale:V,format:de})),Jt&&(Qe=void 0);if([].concat(Qe).flat().forEach(Vt),Vt(at),ne||Q||C(R)){if(Qe||(Qe=[]),C(Qe)||(Qe=ne&&Q?[[Qe]]:[Qe]),Q&&!ne&&Qe.length>2){var Sr=Qe[Qe.length-1];Qe=[Qe[0],Sr],bt=Sr}ne&&!Q&&F&&!xt?(xt=!0,Qe.sort(function(ae,Ge){return ae-Ge})):Q&&!ne&&Qe.sort(function(ae,Ge){return ae-Ge})}else C(Qe)&&(Qe=Qe.flat()[Qe.length-1]);return Ht&&at.toFirstOfYear(),delete Ot.current.currentDate,d(d({},me),{},{date:at,selectedDate:Qe,multiple:ne,range:Q,onlyMonthPicker:te,onlyYearPicker:U,initialValue:me.initialValue||R,value:R,focused:bt,calendar:$,locale:V,format:de,mustSortDates:xt,year:at.year,today:Vt(me.today)||new u.default({calendar:$}),weekPicker:Or})})},[R,$,V,de,te,U,Q,ne,F,ie,ze,Oe,Ht,Or]),t.useEffect(function(){(mt||dt)&&Mr(function(me){var ut=me.calendar,at=me.locale,Qe=me.format,Jt=function(Lr,Fr,Sr,ae,Ge){return Fr&&(Fr=ue(Fr,ae,Ge).set({hour:0,minute:0,second:0,millisecond:0})),Sr&&(Sr=ue(Sr,ae,Ge).set({hour:23,minute:59,second:59,millisecond:999})),C(Lr)&&(Lr=Lr.filter(function(Et){return!(Fr&&Et<Fr)&&!(Sr&&Et>Sr)})),[Lr,Fr,Sr]}(gt(R,ut,at,Qe),mt,dt,ut,Qe),bt=m(Jt,3),xt=bt[0],Vt=bt[1],ar=bt[2];return d(d({},me),{},{inRangeDates:Ae?xt:me.selectedDate,minDate:Vt,maxDate:ar})})},[mt,dt,Ae,R]),ft.today&&!Ot.current.isReady&&(Ot.current.isReady=!0),t.useEffect(function(){Ot.current.isReady&&Ot.current.mustCallOnReady&&De instanceof Function&&(Ot.current.mustCallOnReady=!1,De())},[Ot.current.isReady,De]);var vr="rmdp-top-class "+gr(["top","bottom"]),cr={top:[],bottom:[],left:[],right:[]},Ta=tt((A=ft.date)===null||A===void 0?void 0:A.locale),hr={state:ft,setState:Mr,onChange:xr,sort:F,handleFocusedDate:pr,isRTL:Ta,fullYear:Ht,monthAndYears:function(){var me=ft.date;if(!me)return[];for(var ut=[],at=[],Qe=me.digits,Jt=0;Jt<ie;Jt++){var bt=void 0,xt=me.year,Vt=me.monthIndex+Jt;if(te&&(xt+=Jt),Vt>11&&(Vt-=12,te||xt++),C($e)&&$e.length>=12){var ar=$e[Vt];bt=C(ar)?ar[0]:ar}else bt=me.months[Vt].name;xt=T(xt.toString(),Qe),ut.push(bt),at.push(xt)}return[ut,at]}(),rangeHover:_r,highlightToday:La,numberOfMonths:ie},ga=arguments[0],ma=ga.datePickerProps,Ia=ga.DatePicker,ba=p(ga,Le);return t.useEffect(function(){var me=Ot.current.Calendar;me&&X(me,void 0,en&&!Ia)},[en,ft.today,Ia]),function(){if(!(!Ot.current.isReady||!C(k))){var me={state:ft,setState:Mr,registerListener:Ft,calendarProps:ba,datePickerProps:ma,handleChange:xr,Calendar:Ot.current.Calendar,DatePicker:Ia,handlePropsChange:Rr,handleFocusedDate:function(at){return pr(at)},minDate:mt,maxDate:dt},ut=function(at){return wt?"bottom":at.props.position||"right"};k.forEach(function(at,Qe){if(typeof at.type!="string"){var Jt={},bt=ut(at);if(cr[bt]&&!at.props.disabled){for(var xt=0;xt<k.length;xt++)if(typeof k[xt].type!="string"&&!k[xt].props.disabled){if(Object.keys(Jt).length===4)break;var Vt=ut(k[xt]);["top","bottom"].includes(bt)?(Vt===bt&&xt>Qe&&(Jt.bottom=!0),Vt===bt&&xt<Qe&&(Jt.top=!0)):(vr.includes("border-top")&&(Jt.top=!0),vr.includes("border-bottom")&&(Jt.bottom=!0),Vt===bt&&xt>Qe&&(Jt.right=!0),Vt===bt&&xt<Qe&&(Jt.left=!0))}cr[bt].push(t.cloneElement(at,d({key:Qe,position:bt,nodes:Jt},me)))}}else at.type==="mapDays"&&Ye.push(at.fn(me))})}}(),ft.today?i.default.createElement("div",{ref:function(me){if(me&&(me.date=ft.date,me.set=function(ut,at){tr||Mr(d(d({},ft),{},{date:new u.default(ft.date.set(ut,at))}))}),Ot.current.Calendar=me,L instanceof Function)return L(me);L&&(L.current=me)},role:Ze||"dialog",className:"rmdp-wrapper rmdp-".concat(rr?"shadow":"border"," ").concat(Ne||""),style:d({zIndex:We},jn)},cr.top,i.default.createElement("div",{style:{display:"flex"},className:vr},cr.left,!wt&&i.default.createElement("div",{className:"rmdp-calendar ".concat(Ta?"rmdp-rtl":""," ").concat(gr(["left","right"]))},i.default.createElement(ce,d(d({},hr),{},{disableYearPicker:et,disableMonthPicker:rt,buttons:J,renderButton:Re,handleMonthChange:pt,disabled:tr,hideMonth:Gt,hideYear:Ct,monthYearSeparator:ra,formatMonth:ur,formatYear:Xr,headerOrder:Qr,onYearChange:vt})),i.default.createElement("div",{style:{position:"relative"}},i.default.createElement(we,d(d({},hr),{},{showOtherDays:st,mapDays:Ye,onlyShowInRangeDates:Ae,customWeekDays:_e,weekStartDayIndex:ve,hideWeekDays:Tt,displayWeekNumbers:Dr,weekNumber:wr})),!Ht&&i.default.createElement(i.default.Fragment,null,!rt&&i.default.createElement(he,S({},hr,{customMonths:$e,handleMonthChange:pt})),!et&&i.default.createElement(ge,S({},hr,{onYearChange:vt}))))),cr.right),cr.bottom,Pe):null;function xr(me,ut){if(me instanceof u.default&&(me=new u.default(me)),!tr){if(me||me===null){if(Yt)return;Ar.change&&Ar.change.forEach(function(Qe){return Qe(me)})}if(me||me===null){var at=ct?.(me);ut&&at!==!1&&Mr(ut)}else ut&&Mr(ut);Rr({value:me})}}function Rr(){var me,ut=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};if(!Yt&&!tr){var at=d(d(d(d({},ba),ma),ut),{},{value:(me=ut.value)!==null&&me!==void 0?me:ft.selectedDate});delete at.onPropsChange,lt?.(at)}}function pr(me,ut){Yt||tr||At==null||At(me,ut)}function pt(me){Pt?.(me)}function gr(me){return wt||!C(k)?"":Array.from(new Set(k.map(function(ut){if(!ut.props)return"";var at=ut.props.position||"right";return me.includes(at)&&!ut.props.disabled?"rmdp-border-"+at:""}))).join(" ")}function Ft(me,ut){Ar[me]||(Ar[me]=[]),Ar[me].push(ut)}}var Zt=t.forwardRef(_t);function gt(y,L,A,R){var $=[].concat(y).map(function(te){return C(te)?te.map(V).filter(de):V(te)}).filter(de);return C(y)?$:$.flat()[0];function V(te){return te?te instanceof u.default?te:new u.default({date:te,calendar:L,locale:A,format:R}):{}}function de(te){return C(te)||te.isValid}}qe('.rmdp-visible{visibility:visible}.rmdp-invisible{visibility:hidden}.rmdp-input{border:1px solid #c0c4d6;border-radius:5px;height:22px;margin:1px 0;padding:2px 5px}.rmdp-input:focus{border:1px solid #a4b3c5;box-shadow:0 0 2px #a4b3c5;outline:none!important}.rmdp-button{background-color:#0074d9;border:none;border-radius:5px;color:#fff;cursor:pointer;display:inline-block;padding:7px 16px;text-align:center;text-decoration:none;transition:.3s}.rmdp-button:hover{background-color:#143ac5;transition:.4s}.rmdp-button:disabled{background-color:#8798ad}.rmdp-action-button{border-radius:unset;color:#2682d3;float:right;font-weight:700;margin:15px 10px 15px 0}.rmdp-action-button,.rmdp-action-button:hover{background-color:transparent}.rmdp-ep-arrow{overflow:hidden;will-change:transform}.rmdp-ep-arrow:after{background-color:#fff;content:"";height:12px;position:absolute;transform:rotate(45deg);width:12px}.rmdp-ep-shadow:after{box-shadow:0 0 6px #8798ad}.rmdp-ep-border:after{border:1px solid #cfd8e2}.rmdp-ep-arrow[direction=top]{border-bottom:1px solid #fff}.rmdp-ep-arrow[direction=left]{border-right:1px solid #fff}.rmdp-ep-arrow[direction=right]{border-left:1px solid #fff;margin-left:-1px}.rmdp-ep-arrow[direction=bottom]{border-top:1px solid #fff;margin-top:-1.5px}.rmdp-ep-arrow[direction=top]:after{left:4px;top:5px}.rmdp-ep-arrow[direction=bottom]:after{left:4px;top:-6px}.rmdp-ep-arrow[direction=left]:after{left:5px;top:3px}.rmdp-ep-arrow[direction=right]:after{left:-6px;top:3px}');var Ue=["value","calendar","locale","format","onlyMonthPicker","onlyYearPicker","onChange","range","multiple","name","id","title","placeholder","required","style","className","inputClass","disabled","render","weekDays","months","children","inputMode","scrollSensitive","hideOnScroll","minDate","maxDate","formattingIgnoreList","containerClassName","calendarPosition","editable","onOpen","onClose","arrowClassName","zIndex","arrow","fixMainPosition","onPositionChange","onPropsChange","digits","readOnly","shadow","onFocusedDateChange","type","weekPicker","mobileLabels","onOpenPickNewDate","mobileButtons","dateSeparator","multipleRangeSeparator","typingTimeout"],Nt=["label"];function It(y,L){var A=y.value,R=y.calendar,$=y.locale,V=y.format,de=y.onlyMonthPicker,te=y.onlyYearPicker,U=y.onChange,pe=y.range,Q=pe!==void 0&&pe,Se=y.multiple,ne=Se!==void 0&&Se,Ne=y.name,Ze=y.id,_e=y.title,$e=y.placeholder,Pe=y.required,ct=y.style,st=ct===void 0?{}:ct,mt=y.className,dt=mt===void 0?"":mt,Ye=y.inputClass,rt=y.disabled,et=y.render,Oe=y.weekDays,De=y.months,Te=y.children,Ae=y.inputMode,Je=y.scrollSensitive,We=Je===void 0||Je,Be=y.hideOnScroll,k=y.minDate,F=y.maxDate,q=y.formattingIgnoreList,ie=y.containerClassName,Ke=ie===void 0?"":ie,ze=y.calendarPosition,Ie=ze===void 0?"bottom-left":ze,J=y.editable,Re=J===void 0||J,Xe=y.onOpen,ve=y.onClose,wt=y.arrowClassName,lt=wt===void 0?"":wt,Pt=y.zIndex,vt=Pt===void 0?100:Pt,At=y.arrow,Yt=At===void 0||At,tr=y.fixMainPosition,Gt=y.onPositionChange,Ct=y.onPropsChange,Tt=y.digits,St=y.readOnly,rr=y.shadow,Ht=rr===void 0||rr,Dr=y.onFocusedDateChange,wr=y.type,Or=y.weekPicker,_r=y.mobileLabels,ra=y.onOpenPickNewDate,ur=ra===void 0||ra,Xr=y.mobileButtons,aa=Xr===void 0?[]:Xr,La=y.dateSeparator,na=y.multipleRangeSeparator,Qr=na===void 0?",":na,Na=y.typingTimeout,jn=Na===void 0?700:Na,Qa=p(y,Ue),en=m(t.useState(),2),ha=en[0],tn=en[1],ft=m(t.useState(),2),Mr=ft[0],Ar=ft[1],Ot=m(t.useState(""),2),vr=Ot[0],cr=Ot[1],Ta=m(t.useState(!1),2),hr=Ta[0],ga=Ta[1],ma=m(t.useState(!1),2),Ia=ma[0],ba=ma[1],xr=t.useRef(),Rr=t.useRef(),pr=t.useRef(),pt=t.useRef({isTyping:!1}),gr=La||(Q||Or?" ~ ":", "),Ft=arguments[0],me=typeof dt=="string"&&dt.includes("rmdp-mobile"),ut=t.useCallback(function(){if(ve?.()!==!1){var ae=Ut(Rr);if(ae&&ae.forEach(function(Et){return Et.blur()}),pt.current.mobile){var Ge=pr.current.parentNode.parentNode;Ge.classList.remove("rmdp-calendar-container-mobile"),Ge.style.position="absolute",Ge.style.visibility="hidden"}pt.current.validInputValue!==void 0&&(cr(pt.current.validInputValue),pt.current.validInputValue=void 0),ga(!1),ba(!1)}},[ve]),at=[{type:"button",className:"rmdp-button rmdp-action-button",onClick:function(){Ar(void 0),ut()},label:bt("CANCEL")},{type:"button",className:"rmdp-button rmdp-action-button",onClick:function(){Mr&&(ar(Mr,!0),Ar(void 0)),ut()},label:bt("OK")}];me&&!pt.current.mobile&&(pt.current=d(d({},pt.current),{},{mobile:!0})),!me&&pt.current.mobile&&(pt.current=d(d({},pt.current),{},{mobile:!1})),q=Ee(q),V=je(de,te,V);var Qe,Jt=m(ot(R,$),2);return R=Jt[0],$=Jt[1],t.useEffect(function(){function ae(Et){if(hr&&!pt.current.mobile){var or=[];if([Rr.current,pr.current].forEach(function(Er){var lr,kr;!Er||Er.contains(Et.target)||Et.target.classList.contains("b-deselect")||(lr=Et.target.parentNode)!==null&&lr!==void 0&&(lr=lr.classList)!==null&&lr!==void 0&&(kr=lr.contains)!==null&&kr!==void 0&&kr.call(lr,"b-deselect")||or.push(Er)}),or.length===2)return ut();pr.current&&pr.current.contains(Et.target)&&(xr.current.removeTransition(),xr.current.refreshPosition())}}function Ge(){Be&&hr&&ut()}return document.addEventListener("click",ae,!1),document.addEventListener("scroll",Ge,!0),function(){document.removeEventListener("click",ae,!1),document.removeEventListener("scroll",Ge,!0)}},[ut,L,hr,Be]),t.useEffect(function(){var ae=A,Ge=pt.current,Et=Ge.date,or=Ge.initialValue,Er=function(){return ae[ae.length-1]};function lr(Bt){if(Bt)return Bt instanceof u.default||(Bt=new u.default({date:Bt,calendar:R,locale:$,format:V})),Bt.calendar!==R&&Bt.setCalendar(R),Bt.set({weekDays:Oe,months:De,digits:Tt,locale:$,format:V,ignoreList:JSON.parse(q)}),Bt}A||or||!Et?or&&!A&&(or=void 0):ae=Et;var kr="";if(Q||ne||C(ae)){var Ba=function(Bt){return Bt=Bt.map(lr).filter(function(Kr){return Kr!==void 0}),Q&&Bt.length>2&&(Bt=[Bt[0],Er()]),[Bt,Rt(Bt,gr)]};if(C(ae)||(ae=Q&&ne?ae?[[ae]]:[]:[ae]),ne&&Q)ae=ae.map(function(Bt,Kr){var an=m(Ba(C(Bt)?Bt:[Bt]),2),wl=an[0],Pn=an[1];return kr+=Pn+(Kr<ae.length-1?" ".concat(Qr," "):""),wl});else{var rn=m(Ba(ae),2);ae=rn[0],kr=rn[1]}kr=kr.toString().replace(/\s,\s$/,"")}else C(ae)&&(ae=Er()),(ae=lr(ae))&&(kr=ae.format());pt.current.isTyping||cr(kr),pt.current=d(d({},pt.current),{},{date:ae,separator:gr,initialValue:or||A}),pt.current.mobile&&xr.current.isOpen?Ar(ae):(pt.current.validInputValue=void 0,tn(ae))},[A,R,$,V,Q,ne,gr,de,te,Oe,De,Tt,q]),t.useEffect(function(){var ae=pt.current.selection;if(ae){var Ge=Ut(Rr);Ge.length!==0&&(Ge.forEach(function(Et){document.activeElement===Et&&(Et.setSelectionRange(ae,ae),pt.current.selection=void 0)}),xr.current.refreshPosition())}},[vr]),(ne||Q||C(ha)||!Re)&&(Ae="none"),i.default.createElement(s.default,S({ref:function(ae){if(ae&&(ae.openCalendar=function(){return setTimeout(function(){return xt()},10)},ae.closeCalendar=ut,ae.isOpen=hr&&Ia),xr.current=ae,L instanceof Function)return L(ae);L&&(L.current=ae)},element:et?i.default.createElement("div",{ref:Rr},t.isValidElement(et)?t.cloneElement(et,{value:vr,openCalendar:xt,onFocus:xt,handleValueChange:Lr,onChange:Lr,locale:$,separator:gr}):et instanceof Function?et(vr,xt,Lr,$,gr):null):i.default.createElement("input",{ref:Rr,type:wr||"text",name:Ne,id:Ze,title:_e,required:Pe,onFocus:xt,className:Ye||"rmdp-input",placeholder:$e,value:vr,onChange:Lr,style:st,autoComplete:"off",disabled:!!rt,inputMode:Ae||(me?"none":void 0),readOnly:St}),popper:hr&&i.default.createElement(Zt,S({ref:pr,value:Mr||ha,onChange:ar,range:Q,multiple:ne,calendar:R,locale:$,format:V,onlyMonthPicker:de,onlyYearPicker:te,className:dt+(me?" rmdp-mobile":""),weekDays:Oe,months:De,digits:Tt,minDate:k,maxDate:F,formattingIgnoreList:JSON.parse(q),onPropsChange:Ct,shadow:Ht,onReady:Fr,DatePicker:xr.current,datePickerProps:Ft,onFocusedDateChange:Sr,weekPicker:Or},Qa),Te,me&&(Qe=[].concat.apply([],Ft.plugins||[]).some(function(ae){var Ge=ae.props;return!(Ge===void 0?{}:Ge).disabled}),C(aa)&&i.default.createElement("div",{className:"rmdp-action-buttons ".concat(tt($)?"rmdp-rtl":""," ").concat(Qe?"rmdp-border-top":"")},aa.concat(at).map(function(ae,Ge){var Et=ae.label,or=p(ae,Nt);return i.default.createElement("button",S({key:Ge},or),Et)})))),active:!me&&Ia,position:Ie,arrow:!me&&Yt,fixMainPosition:!We||tr,zIndex:vt,onChange:!me&&Gt,containerClassName:"rmdp-container ".concat(Ke),arrowClassName:["rmdp-ep-arrow","rmdp-ep-".concat(Ht?"shadow":"border"),dt,lt].join(" ")},Qa));function bt(ae){var Ge,Et=$||new u.default().locale;return typeof Et.name!="string"?ae:_r?.[ae]||((Ge={en:{OK:"OK",CANCEL:"CANCEL"},fa:{OK:"تأیید",CANCEL:"لغو"},ar:{OK:"تأكيد",CANCEL:"الغاء"},hi:{OK:"पुष्टि",CANCEL:"रद्द करें"}}[yt(Et)])===null||Ge===void 0?void 0:Ge[ae])||ae}function xt(){if(!rt&&!St&&Xe?.()!==!1){if(ur&&!A&&!pt.current.date&&!Q&&!ne&&!me){var ae=new u.default({calendar:R,locale:$,format:V,months:De,weekDays:Oe,digits:Tt,ignoreList:JSON.parse(q)});(!k||ae>ue(k,R,V))&&(!F||ae<ue(F,R,V))&&(ar(ae),Ct?.(d(d({},Ft),{},{value:ae})),pt.current.date=ae)}var Ge=Ut(Rr);me&&Ge.length>0&&Ge.forEach(function(Et){return Et.blur()}),Ge.length>0||!hr?ga(!0):ut()}}function Vt(ae){var Ge="";return ae&&(Ge=ne&&Q&&C(ae)?ae.map(function(Et){return Rt(Et,gr)}).join(" ".concat(Qr," ")):Rt(ae,gr)),Ge}function ar(ae,Ge,Et){if(me&&!Ge)return Ar(ae);var or=Vt(ae),Er=Et||or.toString().replace(/\s,\s$/,"");return ae&&[].concat(ae).flat().some(function(lr){return k&&lr<ue(k,R,V)||F&&lr>ue(F,R,V)})?(pt.current.validInputValue=Vt(A||pt.current.date),cr(Er)):(pt.current.validInputValue=or,U?.(ae,{validatedValue:or,input:Rr.current,isTyping:!!Et})===!1?(cr(vr),!1):(tn(ae),cr(Er),void(pt.current=d(d({},pt.current),{},{date:ae}))))}function Lr(ae){if(Re){pt.current.isTyping=!0,setTimeout(function(){pt.current.isTyping=!1},jn),pt.current.selection=ae.target.selectionStart;var Ge=ae.target.value,Et={calendar:R,locale:$,format:V,ignoreList:JSON.parse(q)};if(Tt=C(Tt)?Tt:$.digits,!Ge)return cr(""),ar(null);if(Tt){var or,Er,lr=O(Tt);try{for(lr.s();!(or=lr.n()).done;){var kr=or.value;Ge=Ge.replace(new RegExp(kr,"g"),Tt.indexOf(kr))}}catch(Bt){lr.e(Bt)}finally{lr.f()}Er=C(ha)?ne&&Q?(Ge||"").split(Qr).filter(Boolean).map(rn):rn(Ge):Ba(Ge),ar(C(ha)||Er.isValid?Er:null,void 0,T(Ge,Tt))}}function Ba(Bt){return/(?=.*Y)(?=.*M)(?=.*D)/.test(V)?new u.default(d(d({},Et),{},{date:Bt})):new u.default(Et).parse(Bt)}function rn(Bt){return(Bt||"").split(gr).filter(Boolean).map(function(Kr){return Ba(Kr.trim())})}}function Fr(){if(ba(!0),me){var ae=pr.current.parentNode.parentNode;ae.className="rmdp-calendar-container-mobile",ae.style.position="fixed",ae.style.transform="",setTimeout(function(){ae.style.visibility="visible"},50)}}function Sr(ae,Ge){C(pt.current.date)||!Ge||me||ut(),Dr?.(ae,Ge)}}var zt=t.forwardRef(It);function Rt(y,L){var A=[].concat(y).map(function(R){return R!=null&&R.isValid?R.format():""});return A.toString=function(){return this.filter(Boolean).join(L)},A}function Ut(y){return y.current?y.current.tagName==="INPUT"?[y.current]:Array.from(y.current.querySelectorAll("input")):[]}Object.defineProperty(e,"DateObject",{enumerable:!0,get:function(){return u.default}}),e.Calendar=Zt,e.default=zt,e.getAllDatesInRange=function(){var y=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],L=arguments.length>1?arguments[1]:void 0;if(!Array.isArray(y))return[];var A=y[0],R=y[y.length-1],$=[];if(!(A instanceof u.default&&R instanceof u.default&&A.isValid&&R.isValid&&!(A>R)))return[];for(A=new u.default(A),R=new u.default(R);A<=R;A.day++)$.push(L?A.toDate():new u.default(A));return $},e.toDateObject=ue})(Gs);const Hf=cl(Gs);function Vf(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Uf=Vf({name:"persian",startYear:1,yearLength:365,epoch:1948319,century:14,weekStartDayIndex:0,getMonthLengths:e=>[31,31,31,31,31,31,30,30,30,30,30,e?30:29],isLeap(e){return this.getLeaps(e).includes(e)},getLeaps(e){if(e===0)return;let t=e>0?1:-1,n=[],a=.242362,r=e>0?.2684:.7316,i={5:4,38:37,199:198,232:231,265:264,298:297,557:558,590:591,623:624,982:983,1015:1016,1048:1049,1081:1082,1114:1115,1242:1243,1374:1375,1407:1408,1440:1441,1506:1507,1539:1540,1572:1573,1605:1606,1931:1932,1964:1965,2063:2064,2096:2097,2687:2686,2720:2719,2753:2752,2819:2818,2852:2851,2885:2884,3017:3016,3112:3111,3145:3144,3178:3177,3211:3210,3244:3243,3277:3276,3310:3309,3343:3342,3376:3375,3409:3408,3442:3441,3508:3507,3541:3540,3574:3573,3603:3602,3607:3606,3636:3635,3669:3668,3702:3701,3706:3705,3735:3734,3768:3767,3801:3800,3834:3833,3867:3866,3900:3899,3933:3932,3966:3965,3999:3998,4065:4064,4094:4093,4098:4097,4127:4126,4131:4130,4160:4159,4193:4192,4226:4225,4259:4258,4292:4291,4325:4324,4358:4357,4391:4390,4585:4584,4618:4617,4651:4650,4750:4749,4943:4944,4976:4977,5009:5010,5170:5171,5203:5204,5236:5237,5265:5266,5269:5270,5298:5299,5302:5303,5331:5332,5335:5336,5364:5365,5368:5369,5393:5394,5397:5398,5401:5402,5426:5427,5430:5431,5434:5435,5459:5460,5463:5464,5467:5468,5492:5493,5496:5497,5500:5501,5521:5522,5525:5526,5529:5530,5554:5555,5558:5559,5562:5563,5587:5588,5591:5592,5595:5596,5616:5617,5620:5621,5624:5625,5628:5629,5649:5650,5653:5654,5657:5658,5661:5662,5682:5683,5686:5687,5690:5691,5694:5695,5715:5716,5719:5720,5723:5724,5727:5728,5744:5745,5748:5749,5752:5753,5756:5757,5760:5761,5777:5778,5781:5782,5785:5786,5789:5790,5793:5794,5810:5811,5814:5815,5818:5819,5822:5823,5826:5827,5839:5840,5843:5844,5847:5848,5851:5852,5855:5856,5859:5860,5872:5873,5876:5877,5880:5881,5884:5885,5888:5889,5892:5893,5901:5902,5905:5906,5909:5910,5913:5914,5917:5918,5921:5922,5925:5926,5934:5935,5938:5939,5942:5943,5946:5947,5950:5951,5954:5955,5958:5959,5967:5968,5971:5972,5975:5976,5979:5980,5983:5984,5987:5988,5991:5992,5996:5997,6e3:6001,6004:6005,6008:6009,6012:6013,6016:6017,6020:6021,6029:6030,6033:6034,6037:6038,6041:6042,6045:6046,6049:6050,6053:6054,6058:6059,6062:6063,6066:6067,6070:6071,6074:6075,6078:6079,6082:6083,6086:6087,6091:6092,6095:6096,6099:6100,6103:6104,6107:6108,6111:6112,6115:6116,6119:6120,6124:6125,6128:6129,6132:6133,6136:6137,6140:6141,6144:6145,6148:6149,6152:6154,6157:6158,6161:6162,6165:6166,6169:6170,6173:6174,6177:6178,6181:6182,6185:6187,6190:6191,6194:6195,6198:6199,6202:6203,6206:6207,6210:6211,6214:6215,6218:6220,6223:6224,6227:6228,6231:6232,6235:6236,6239:6240,6243:6244,6247:6249,6251:6253,6256:6257,6260:6261,6264:6265,6268:6269,6272:6273,6276:6277,6280:6282,6284:6286,6289:6290,6293:6294,6297:6298,6301:6302,6305:6306,6309:6310,6313:6315,6317:6319,6322:6323,6326:6327,6330:6331,6334:6335,6338:6339,6342:6344,6346:6348,6350:6352,6355:6356,6359:6360,6363:6364,6367:6368,6371:6372,6375:6377,6379:6381,6383:6385,6388:6389,6392:6393,6396:6397,6400:6401,6404:6406,6408:6410,6412:6414,6416:6418,6421:6422,6425:6426,6429:6430,6433:6434,6437:6439,6441:6443,6445:6447,6449:6451,6454:6455,6458:6459,6462:6463,6466:6468,6470:6472,6474:6476,6478:6480,6482:6484,6487:6488,6491:6492,6495:6496};for(;e>0?t<=e:e<=t;){if(r+=e>0?a:-1*a,r>1&&(r-=1),r<0&&(r+=1),r>=.257800926&&r<=.5){let s=i[t]||t<-1?t+1:t;e>0&&s<=e&&n.push(s),e<0&&n.push(s)}e>0?t++:t--}return n},getDayOfYear:({month:{index:e},day:t})=>(e<=6?31*e:186+30*(e-6))+t,getAllDays(e){const{year:t}=e,n=this.getLeaps(t),a=n.includes(t);return this.yearLength*(t-1)+(a?n.length-1:n.length)+this.getDayOfYear(e)},guessYear:(e,t)=>~~((e+.5)/365.241)+(t>0?1:-1)}),Yf=Uf;const Wf=cl(Yf);function qf(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Zf=qf({name:"persian_fa",months:[["فروردین","فر"],["اردیبهشت","ار"],["خرداد","خرد"],["تیر","تیر"],["مرداد","مر"],["شهریور","شه"],["مهر","مه"],["آبان","آبا"],["آذر","آذ"],["دی","دی"],["بهمن","بهم"],["اسفند","اسف"]],weekDays:[["شنبه","شن"],["یکشنبه","یک"],["دوشنبه","دو"],["سه‌شنبه","سه"],["چهارشنبه","چهار"],["پنجشنبه","پنج"],["جمعه","جم"]],digits:["۰","۱","۲","۳","۴","۵","۶","۷","۸","۹"],meridiems:[["قبل از ظهر","ق.ظ"],["بعد از ظهر","ب.ظ"]]}),Gf=Zf;const Jf=cl(Gf),Xf="data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='21'%20height='18'%20viewBox='0%200%2021%2018'%20fill='none'%3e%3cg%20clip-path='url(%23clip0_1204_158435)'%3e%3cpath%20d='M0%203.0049V16.7417C0%2017.4369%200.55019%2018%201.22945%2018H19.7705C20.4498%2018%2021%2017.4369%2021%2016.7417V3.01951C21%202.31639%2020.4433%201.74658%2019.7563%201.74658H1.22945C0.55019%201.74658%200%202.3103%200%203.0049ZM17.4104%202.80218C17.7512%202.80218%2018.0278%203.08526%2018.0278%203.43408C18.0278%203.78291%2017.7512%204.06598%2017.4104%204.06598C17.0696%204.06598%2016.793%203.78291%2016.793%203.43408C16.793%203.08526%2017.0696%202.80218%2017.4104%202.80218ZM3.30947%202.80218C3.65029%202.80218%203.92687%203.08526%203.92687%203.43408C3.92687%203.78291%203.65029%204.06598%203.30947%204.06598C2.96865%204.06598%202.69206%203.78291%202.69206%203.43408C2.69206%203.08526%202.96865%202.80218%203.30947%202.80218Z'%20fill='url(%23paint0_linear_1204_158435)'/%3e%3cpath%20d='M0%203.0049V5.12158H21V3.01951C21%202.31639%2020.4433%201.74658%2019.7563%201.74658H1.22945C0.55019%201.74658%200%202.3103%200%203.0049ZM3.30947%204.06598C2.96865%204.06598%202.69206%203.78291%202.69206%203.43408C2.69206%203.08526%202.96865%202.80218%203.30947%202.80218C3.65029%202.80218%203.92687%203.08526%203.92687%203.43408C3.92687%203.78291%203.65029%204.06598%203.30947%204.06598ZM17.4104%204.06598C17.0696%204.06598%2016.793%203.78291%2016.793%203.43408C16.793%203.08526%2017.0696%202.80218%2017.4104%202.80218C17.7512%202.80218%2018.0278%203.08526%2018.0278%203.43408C18.0278%203.78291%2017.7512%204.06598%2017.4104%204.06598Z'%20fill='url(%23paint1_linear_1204_158435)'/%3e%3cpath%20d='M3.01575%2012.0938H1.10645V14.0479H3.01575V12.0938Z'%20fill='%2312BFBF'/%3e%3cpath%20d='M5.83607%2012.0938H3.92676V14.0479H5.83607V12.0938Z'%20fill='%23BCBEC0'/%3e%3cpath%20d='M8.65638%2012.0938H6.74707V14.0479H8.65638V12.0938Z'%20fill='%23BCBEC0'/%3e%3cpath%20d='M11.4767%2012.0938H9.56738V14.0479H11.4767V12.0938Z'%20fill='%23FF8C00'/%3e%3cpath%20d='M14.297%2012.0938H12.3877V14.0479H14.297V12.0938Z'%20fill='%23BCBEC0'/%3e%3cpath%20d='M17.1173%2012.0938H15.208V14.0479H17.1173V12.0938Z'%20fill='%23BCBEC0'/%3e%3cpath%20d='M19.9367%2012.0938H18.0273V14.0479H19.9367V12.0938Z'%20fill='%23F93B2B'/%3e%3cpath%20d='M3.01575%209.26599H1.10645V11.2201H3.01575V9.26599Z'%20fill='%2312BFBF'/%3e%3cpath%20d='M5.83607%209.26599H3.92676V11.2201H5.83607V9.26599Z'%20fill='%23BCBEC0'/%3e%3cpath%20d='M8.65638%209.26599H6.74707V11.2201H8.65638V9.26599Z'%20fill='%23BCBEC0'/%3e%3cpath%20d='M11.4767%209.26599H9.56738V11.2201H11.4767V9.26599Z'%20fill='%23BCBEC0'/%3e%3cpath%20d='M14.297%209.26599H12.3877V11.2201H14.297V9.26599Z'%20fill='%23BCBEC0'/%3e%3cpath%20d='M17.1173%209.26599H15.208V11.2201H17.1173V9.26599Z'%20fill='%23BCBEC0'/%3e%3cpath%20d='M19.9367%209.26599H18.0273V11.2201H19.9367V9.26599Z'%20fill='%23F93B2B'/%3e%3cpath%20d='M11.4767%206.43896H9.56738V8.3931H11.4767V6.43896Z'%20fill='%23BCBEC0'/%3e%3cpath%20d='M14.297%206.43896H12.3877V8.3931H14.297V6.43896Z'%20fill='%23BCBEC0'/%3e%3cpath%20d='M17.1173%206.43896H15.208V8.3931H17.1173V6.43896Z'%20fill='%23BCBEC0'/%3e%3cpath%20d='M19.9367%206.43896H18.0273V8.3931H19.9367V6.43896Z'%20fill='%23F93B2B'/%3e%3cpath%20d='M3.01575%2014.743H1.10645V16.6972H3.01575V14.743Z'%20fill='%2312BFBF'/%3e%3cpath%20d='M5.83607%2014.743H3.92676V16.6972H5.83607V14.743Z'%20fill='%23BCBEC0'/%3e%3cpath%20d='M8.65638%2014.743H6.74707V16.6972H8.65638V14.743Z'%20fill='%23BCBEC0'/%3e%3cpath%20d='M11.4767%2014.743H9.56738V16.6972H11.4767V14.743Z'%20fill='%23BCBEC0'/%3e%3cpath%20d='M14.297%2014.743H12.3877V16.6972H14.297V14.743Z'%20fill='%23BCBEC0'/%3e%3cpath%20d='M3.4821%200H3.13533C3.04926%200%202.97949%200.0714091%202.97949%200.159497V3.49675C2.97949%203.58484%203.04926%203.65625%203.13533%203.65625H3.4821C3.56816%203.65625%203.63794%203.58484%203.63794%203.49675V0.159497C3.63794%200.0714091%203.56816%200%203.4821%200Z'%20fill='url(%23paint2_linear_1204_158435)'/%3e%3cpath%20d='M17.5837%200H17.2369C17.1508%200%2017.0811%200.0714091%2017.0811%200.159497V3.49675C17.0811%203.58484%2017.1508%203.65625%2017.2369%203.65625H17.5837C17.6697%203.65625%2017.7395%203.58484%2017.7395%203.49675V0.159497C17.7395%200.0714091%2017.6697%200%2017.5837%200Z'%20fill='url(%23paint3_linear_1204_158435)'/%3e%3c/g%3e%3cdefs%3e%3clinearGradient%20id='paint0_linear_1204_158435'%20x1='3.35586'%20y1='0.0724752'%20x2='18.2428'%20y2='19.5785'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%23F1F2F2'/%3e%3cstop%20offset='0.57'%20stop-color='%23EFF0F0'/%3e%3cstop%20offset='0.77'%20stop-color='%23E8E9E9'/%3e%3cstop%20offset='0.91'%20stop-color='%23DCDEDE'/%3e%3cstop%20offset='1'%20stop-color='%23D1D3D4'/%3e%3c/linearGradient%3e%3clinearGradient%20id='paint1_linear_1204_158435'%20x1='10.5'%20y1='2.92941'%20x2='10.5'%20y2='5.17394'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%23F93B2B'/%3e%3cstop%20offset='0.32'%20stop-color='%23F9382D'/%3e%3cstop%20offset='0.55'%20stop-color='%23F92E33'/%3e%3cstop%20offset='0.75'%20stop-color='%23F91F3E'/%3e%3cstop%20offset='0.94'%20stop-color='%23F9094E'/%3e%3cstop%20offset='1'%20stop-color='%23FA0055'/%3e%3c/linearGradient%3e%3clinearGradient%20id='paint2_linear_1204_158435'%20x1='3.30901'%20y1='3.65625'%20x2='3.30901'%20y2='0'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%236D6E71'/%3e%3cstop%20offset='1'%20stop-color='%23231F20'/%3e%3c/linearGradient%3e%3clinearGradient%20id='paint3_linear_1204_158435'%20x1='17.41'%20y1='3.65625'%20x2='17.41'%20y2='0'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%236D6E71'/%3e%3cstop%20offset='1'%20stop-color='%23231F20'/%3e%3c/linearGradient%3e%3cclipPath%20id='clip0_1204_158435'%3e%3crect%20width='21'%20height='18'%20fill='white'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e",Qf="_field_1tgzt_1",e5="_dateInput_1tgzt_17",t5="_icon_1tgzt_25",Ci={field:Qf,dateInput:e5,icon:t5},il=({label:e,id:t,control:n,containerClassName:a,className:r,validation:i,errors:s={},watch:u,labelClassName:c,placeholder:d="روز/ ماه/ سال",format:g="YYYY/MM/DD",calendar:S=Wf,locale:p=Jf,icon:m=w.jsx("img",{src:Xf,className:"h-[13px] w-[13px] lg:h-[19px] lg:w-[19px]",loading:"lazy",alt:"تاریخ"}),archive:x,divider:_,dividerClassName:b,disabled:O,userGuide:C,educationalContent:D})=>{const N={center:"label-center",right:"label-right",left:"label-left"},B=s?.[t]?s?.[t]?.message:null;return w.jsxs("div",{className:oe("w-full flex flex-col p-2 bg-formItem rounded relative",a,B&&"field-error"),style:{boxShadow:"0px 2px 4px rgba(0, 0, 0, 0.15)"},children:[w.jsx($r,{label:e,required:i?i.required:null,className:oe(c,N[_]),archive:x?{...x,questionKey:t}:!1,disabled:O,userGuide:C,educationalContent:D}),_&&w.jsx(ta,{className:oe(b,"mx-auto mt-1 mb-2 block w-1/2"),position:_}),w.jsxs("div",{className:oe(r,Ci.field,"group bg-formItemInput border-[0.5px] border-black rounded relative transition-all duration-200 hover:border-success hover:bg-white focus-within:ring-1 focus-within:border-success focus-within:ring-success"),children:[w.jsx(ll.Controller,{control:n,rules:i,name:t,render:({field:{onChange:G}})=>w.jsx(Hf,{inputClass:Ci.dateInput+` w-full font-400 text-2xs lg:text-xs xl:text-sm text-black
49
+ placeholder:text-2xs lg:placeholder:text-xs bg-transparent border-none outline-none py-1 pr-1 lg:pr-1.5 hover:bg-white hover:border-black`,placeholder:d,calendar:S,locale:p,format:g,containerClassName:"w-full relative !flex justify-center items-center",calendarPosition:"top",fixMainPosition:!1,disabled:O,fixRelativePosition:!1,showOtherDays:!0,value:u(t)||"",onChange:re=>G(re?re.toString():"")})}),m&&w.jsx("span",{className:oe(Ci.icon,"absolute left-1 lg:left-1.5 top-1/2 -translate-y-1/2 transition-all duration-200 cursor-pointer","group-hover:text-success text-gray-500 inline"),children:m})]}),B&&w.jsxs("span",{className:"error",children:[w.jsx(vn,{className:"text-xs lg:text-base"}),B]})]})},r5="_container_8v92k_1",a5="_enContainer_8v92k_9",n5="_label_8v92k_9",l5="_checkedContainer_8v92k_21",i5="_disabledContainer_8v92k_29",o5="_input_8v92k_37",s5="_firstLayer_8v92k_67",u5="_firstLayerChecked_8v92k_79",c5="_secondLayer_8v92k_89",f5="_dot_8v92k_99",d5="_dotChecked_8v92k_109",Wr={container:r5,enContainer:a5,label:n5,checkedContainer:l5,disabledContainer:i5,input:o5,firstLayer:s5,firstLayerChecked:u5,secondLayer:c5,dot:f5,dotChecked:d5},a1=({name:e,value:t,label:n,checked:a=!1,onChange:r,disabled:i=!1,className:s,en:u})=>w.jsxs("label",{className:oe(Wr.container,s,u?Wr.enContainer:"",{[Wr.checkedContainer]:a,[Wr.disabledContainer]:i}),dir:u?"ltr":"",children:[w.jsx("span",{className:Wr.label,children:n}),w.jsx("input",{type:"checkbox",className:Wr.input,name:e,value:t,onChange:r,checked:a,disabled:i}),w.jsx("div",{className:oe(Wr.secondLayer,{[Wr.secondLayerChecked]:a}),children:w.jsx("div",{className:oe(Wr.firstLayer,{[Wr.firstLayerChecked]:a}),children:w.jsx("div",{className:oe(Wr.dot,a&&Wr.dotChecked)})})})]}),v5="_options_vais0_1",p5={options:v5},x0=({containerClassName:e,optionsContainer:t,checkBoxClassName:n,options:a=[],label:r,divider:i=!1,labelClassName:s,educationalContent:u,userGuide:c,errors:d,questionKey:g,validation:S,setValue:p,watch:m,register:x,archive:_,dividerClassName:b,labelMore:O,disabled:C,en:D})=>{const N=d?.[g]?d?.[g]?.message:null,B=(m?.(g)||[]).map(z=>String(z)),G=z=>{const j=B.includes(String(z))?B.filter(Y=>Y!==String(z)):[...B,String(z)];p?.(g,j,{shouldValidate:!0})},re=z=>w.jsx(a1,{name:g,value:z.value,label:z.label,checked:B.includes(z.value),onChange:()=>G(z.value),className:oe(n),disabled:C,en:D},z.value),fe={center:"label-center",right:"label-right",left:"label-left"};return ee.useEffect(()=>{x&&S&&x(g,S)},[]),w.jsxs("div",{className:oe("w-full flex flex-col p-2 bg-formItem rounded relative",e,N?"field-error":""),style:{boxShadow:"0px 2px 4px rgba(0, 0, 0, 0.15)"},children:[r&&w.jsx($r,{className:oe(s,fe[i]),userGuide:c,educationalContent:u,archive:_?{..._,questionKey:g}:!1,label:r,required:S?S.required:null,en:D,more:O,disabled:C}),i&&w.jsx(ta,{className:oe(b),position:i}),w.jsx("div",{className:oe(t,p5.options,"flex w-full flex-wrap gap-1.5"),dir:D?"ltr":"rtl",children:a.map(re)}),N&&w.jsxs("span",{className:"error",children:[w.jsx(vn,{className:"text-xs lg:text-base"}),N]})]})},h5="data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='14'%20height='20'%20viewBox='0%200%2014%2020'%20fill='none'%3e%3cg%20clip-path='url(%23clip0_380_17284)'%3e%3cpath%20d='M0.0834751%2018.567L4.37139%2011.2805L4.44428%2011.1567L4.57912%2010.9277L4.62002%2010.858L5.04197%2010.141L5.13713%2010.1971L5.16872%2010.2156L5.78584%209.12603C3.89032%207.56484%203.33717%204.7878%204.5937%202.56897C4.62731%202.50914%204.66254%202.45097%204.69817%202.39321C4.70344%202.38455%204.7087%202.37588%204.71397%202.36763C4.7496%202.31111%204.78605%202.25541%204.8233%202.20054C4.82735%202.19435%204.8314%202.18857%204.83585%202.18239C4.87594%202.12421%204.91725%202.06769%204.95936%202.01158C4.97313%201.99343%204.9869%201.97527%205.00066%201.95753C5.03508%201.91297%205.07031%201.86883%205.10595%201.82551C5.12377%201.80405%205.14158%201.7826%205.15981%201.76156C5.1922%201.72401%205.2246%201.68647%205.2578%201.64975C5.27845%201.62665%205.29951%201.60395%205.32097%201.58126C5.34851%201.55197%205.37645%201.52309%205.40439%201.49462C5.43922%201.45914%205.47445%201.42448%205.51008%201.39024C5.53519%201.36631%205.56029%201.34197%205.58621%201.31845C5.61253%201.29411%205.63966%201.27018%205.66639%201.24625C5.67246%201.24089%205.67813%201.23552%205.6842%201.23057C5.6842%201.23099%205.68339%201.23181%205.68299%201.23222C7.26145%20-0.141651%209.57852%20-0.429629%2011.4789%200.687625C13.8899%202.10523%2014.7168%205.24617%2013.3254%207.70264C13.2408%207.85199%2013.1497%207.99516%2013.0533%208.13255C13.0391%208.15276%2013.0237%208.17215%2013.0092%208.19237C12.9768%208.23693%2012.9444%208.2819%2012.9108%208.32563C12.8614%208.38917%2012.8107%208.45147%2012.7589%208.51212C12.7585%208.51294%2012.7577%208.51335%2012.7573%208.51418C12.7063%208.57359%2012.6544%208.63176%2012.6014%208.68828C12.6002%208.68952%2012.599%208.69076%2012.5978%208.69241C12.5447%208.74893%2012.4904%208.80381%2012.4354%208.85744C12.4342%208.85868%2012.4333%208.8595%2012.4321%208.86074C12.2641%209.02371%2012.0859%209.17347%2011.9%209.30921C11.7142%209.44495%2011.5198%209.56748%2011.3189%209.67558C11.3169%209.67682%2011.3145%209.67805%2011.3125%209.67888C11.2481%209.71353%2011.1825%209.74654%2011.1169%209.77831C11.1132%209.77996%2011.1096%209.78202%2011.106%209.78367C11.0408%209.81462%2010.9752%209.84432%2010.9087%209.87279C10.9047%209.87444%2010.9002%209.8765%2010.8962%209.87815C10.8298%209.90621%2010.763%209.93302%2010.6953%209.95819C10.6917%209.95943%2010.6885%209.96067%2010.6848%209.9619C10.6164%209.98748%2010.5471%2010.0114%2010.4775%2010.0337C10.4759%2010.0341%2010.4742%2010.0345%2010.4726%2010.0353C10.2588%2010.1038%2010.041%2010.1579%209.82026%2010.1967C9.81703%2010.1971%209.81419%2010.1979%209.81095%2010.1983C9.7409%2010.2107%209.67084%2010.221%209.60038%2010.2305C9.59431%2010.2313%209.58783%2010.2321%209.58175%2010.233C9.51332%2010.2416%209.44448%2010.2491%209.37564%2010.2548C9.36754%2010.2557%209.35985%2010.2561%209.35175%2010.2569C9.28372%2010.2623%209.21569%2010.2664%209.14725%2010.2689C9.13875%2010.2689%209.13025%2010.2697%209.12174%2010.2697C9.05371%2010.2722%208.98528%2010.273%208.91684%2010.2726C8.90874%2010.2726%208.90064%2010.2726%208.89255%2010.2726C8.8233%2010.2717%208.75406%2010.2697%208.68481%2010.2656C8.67833%2010.2656%208.67185%2010.2647%208.66537%2010.2643C8.59411%2010.2602%208.52284%2010.2544%208.45157%2010.2474C8.44833%2010.2474%208.44509%2010.2466%208.44185%2010.2462C8.36815%2010.2383%208.29485%2010.2293%208.22116%2010.2181C8.22035%2010.2181%208.21994%2010.2181%208.21954%2010.2181C8.14746%2010.2074%208.07538%2010.1946%208.0037%2010.1802C7.99803%2010.1789%207.99236%2010.1781%207.98669%2010.1769C7.91785%2010.1628%207.84942%2010.1476%207.78098%2010.1306C7.77248%2010.1286%207.76398%2010.1265%207.75507%2010.1245C7.68825%2010.1075%207.62184%2010.0894%207.55584%2010.0696C7.54571%2010.0667%207.536%2010.0638%207.52587%2010.0605C7.46027%2010.0407%207.39508%2010.0193%207.33029%209.99656C7.31976%209.99285%207.30963%209.98913%207.29911%209.98542C7.25173%209.96851%207.20475%209.95118%207.15778%209.93261L6.54065%2011.0218L6.57224%2011.0404L6.6674%2011.0965L6.26934%2011.8272L6.17702%2011.9967L1.98831%2019.6863C1.81864%2019.9862%201.44205%2020.089%201.14766%2019.9161L0.309836%2019.4239C0.0154448%2019.2506%20-0.0853853%2018.8673%200.0842848%2018.5674L0.0834751%2018.567Z'%20fill='%23455B71'/%3e%3cpath%20d='M0.0823307%2018.5671L4.37024%2011.2806L4.44313%2011.1569L4.57798%2010.9279L4.61888%2010.8582L5.04082%2010.1411L5.13598%2010.1972L5.16757%2010.2158L6.53829%2011.0215L6.56988%2011.0401L6.66504%2011.0962L6.26698%2011.8269L6.17466%2011.9965L1.98595%2019.686C1.81629%2019.986%201.43969%2020.0887%201.1453%2019.9158L0.307477%2019.4236C0.0130858%2019.2504%20-0.0877447%2018.8671%200.0819254%2018.5671H0.0823307Z'%20fill='%237C3027'/%3e%3cpath%20d='M5.13642%2010.1968L5.168%2010.2158L6.53873%2011.0215L6.57031%2011.0401L6.31439%2011.5096L4.86551%2010.6577L5.13642%2010.1968Z'%20fill='%23A03B33'/%3e%3cpath%20d='M0.671251%2017.7907L4.46635%2011.3368L5.9375%2012.2019L2.35175%2018.7788C2.20193%2019.0437%201.86947%2019.1344%201.6095%2018.9818L0.870077%2018.5469C0.610105%2018.3943%200.521018%2018.0556%200.670846%2017.7907H0.671251Z'%20fill='%23A03B33'/%3e%3cpath%20d='M2.05902%2018.4532C1.90959%2018.3893%201.86545%2018.2878%201.95373%2018.0122C2.04201%2017.7366%204.74296%2013.44%204.85067%2013.2862C5.03006%2013.0295%205.2548%2013.1108%205.15519%2013.4652C5.15519%2013.4652%202.50486%2018.3534%202.40645%2018.4677C2.30765%2018.582%202.21735%2018.5213%202.05942%2018.4532H2.05902Z'%20fill='%23BB443E'/%3e%3cpath%20d='M4.44377%2011.1569L4.56322%2010.9539L4.57861%2010.9279L4.61951%2010.8578L4.77015%2010.602L4.86571%2010.6577L6.31459%2011.5096L6.41016%2011.5657L6.26762%2011.8269L6.17529%2011.9969L6.03316%2012.2576L5.93759%2012.2015L4.46644%2011.3368L4.37088%2011.2806L4.44377%2011.1569Z'%20fill='%23D89333'/%3e%3cpath%20d='M5.58248%203.15126C6.65841%201.25177%209.04188%200.60031%2010.9062%201.69652C12.7706%202.79273%2013.41%205.22115%2012.334%207.12065C11.2581%209.02015%208.87464%209.67119%207.0103%208.57498C5.14595%207.47876%204.50655%205.05035%205.58248%203.15085V3.15126Z'%20fill='%23E1F5FF'/%3e%3cpath%20d='M5.58248%203.15126C6.65841%201.25177%209.04188%200.60031%2010.9062%201.69652C12.7706%202.79273%2013.41%205.22115%2012.334%207.12065C11.2581%209.02015%208.87464%209.67119%207.0103%208.57498C5.14595%207.47876%204.50655%205.05035%205.58248%203.15085V3.15126ZM12.07%206.96552C13.0617%205.21455%2012.4725%202.97633%2010.754%201.96593C9.03541%200.955537%206.8386%201.55583%205.84691%203.3068C4.85521%205.05777%205.44439%207.29599%207.16296%208.30639C8.88153%209.31679%2011.0783%208.71649%2012.07%206.96552Z'%20fill='%23417EB1'/%3e%3cpath%20d='M10.9222%202.32569C13.3911%204.0189%2011.7661%207.40697%2011.3482%207.36778C10.9303%207.32899%209.59806%207.13137%208.75862%205.70716C7.91917%204.28254%207.97384%203.34971%206.87929%202.53404C6.87929%202.53404%208.53954%200.691895%2010.9222%202.32569Z'%20fill='%2359C1EE'/%3e%3cpath%20d='M6.64262%209.69677C6.64788%209.69966%206.65274%209.70254%206.65801%209.70502C6.7232%209.73926%206.7888%209.77144%206.85481%209.80239C6.86291%209.8061%206.87101%209.81023%206.8791%209.81394C6.94349%209.84364%207.00828%209.8717%207.07348%209.89893C7.08319%209.90305%207.09291%209.90718%207.10263%209.91089C7.12004%209.91791%207.13786%209.92492%207.15527%209.93193L6.53814%2011.0211L5.16742%2010.2154L5.78455%209.12576C5.98743%209.29286%206.20569%209.44633%206.43893%209.58331C6.50615%209.62292%206.57418%209.66046%206.64221%209.69635L6.64262%209.69677Z'%20fill='%230D1E2E'/%3e%3cpath%20d='M5.58248%203.15126C6.65841%201.25177%209.04188%200.60031%2010.9062%201.69652C12.7706%202.79273%2013.41%205.22115%2012.334%207.12065C11.2581%209.02015%208.87464%209.67119%207.0103%208.57498C5.14595%207.47876%204.50655%205.05035%205.58248%203.15085V3.15126ZM12.07%206.96552C13.0617%205.21455%2012.4725%202.97633%2010.754%201.96593C9.03541%200.955537%206.8386%201.55583%205.84691%203.3068C4.85521%205.05777%205.44439%207.29599%207.16296%208.30639C8.88153%209.31679%2011.0783%208.71649%2012.07%206.96552Z'%20fill='%23E1F5FF'/%3e%3cpath%20d='M10.9222%202.32569C13.3911%204.0189%2011.7661%207.40697%2011.3482%207.36778C10.9303%207.32899%209.59806%207.13137%208.75862%205.70716C7.91917%204.28254%207.97384%203.34971%206.87929%202.53404C6.87929%202.53404%208.53954%200.691895%2010.9222%202.32569Z'%20fill='%23F4FBFF'/%3e%3cpath%20d='M6.26758%2011.8269L6.17525%2011.9969L4.52148%2011.0244L4.56318%2010.9539L4.57857%2010.9279L4.61947%2010.8578L6.26758%2011.8269Z'%20fill='%237B511C'/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='clip0_380_17284'%3e%3crect%20width='14'%20height='20'%20fill='white'%20transform='matrix(-1%200%200%201%2014%200)'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e",Xl=({control:e,label:t,inputClassName:n,optionClassName:a,containerClassName:r,options:i=[],divider:s,userGuide:u,educationalContent:c,questionKey:d,errors:g={},dividerClassName:S,archive:p,onChange:m,value:x,labelClassName:_,en:b,search:O,labelMore:C,disabled:D,register:N,validation:B,placeholder:G,...re})=>{const[fe,z]=ee.useState(!1),[j,Y]=ee.useState(""),le=g?.[d]?g[d]?.message:null,X=!!ll.Controller&&!!e,se=[{label:"لطفا یک گزینه را انتخاب کنید.",value:""},...i],we=({field:ce})=>w.jsx("select",{id:d,className:oe(n,"text-2xs lg:text-xs rounded border-[0.5px] border-solid border-black hover:border-success bg-transparent font-400 py-1 lg:py-0.5 px-1 lg:px-1.5 !ring-0 hover:bg-white cursor-pointer outline-none"),onChange:Ee=>{const Ce=Ee.target.value==="لطفا یک گزینه را انتخاب کنید."?void 0:Ee.target.value;ce?.onChange&&ce.onChange(Ce),m&&m(Ce)},value:ce?.value??x,ref:ce?.ref,dir:b?"ltr":"rtl",disabled:D,...re,children:se.map(Ee=>w.jsx("option",{value:Ee.value,className:oe("text-2xs lg:text-xs p-2 bg-transparent rounded border-[0.5px] border-solid border-black",a),children:Ee.label},Ee.value))}),be={center:"label-center",right:"label-right",left:"label-left"};return ee.useEffect(()=>{N&&B&&N(d,B)},[]),w.jsxs(ee.Fragment,{children:[fe?w.jsx("div",{onClick:()=>z(!1),className:"fixed top-0 left-0 h-screen w-screen z-[999]"}):null,w.jsxs("div",{className:oe("bg-formItem w-full flex flex-col relative p-2 rounded",r,{"field-error":le,"z-[1000]":fe}),style:{boxShadow:"0px 2px 4px rgba(0, 0, 0, 0.15)"},children:[w.jsx($r,{className:oe(_,be[s]),userGuide:u,educationalContent:c,archive:p?{...p,questionKey:d}:!1,label:t,required:B?B.required:null,en:b,more:C,disabled:D}),s&&w.jsx(ta,{className:oe(S),position:s}),O?w.jsxs("div",{className:"relative w-full",children:[w.jsxs("div",{className:"flex items-center px-1 justify-between w-full rounded border-[0.5px] border-black py-0.5 md:py-[3px] lg:py-[5px] bg-formItemInput cursor-pointer select-none",onClick:()=>z(!fe),children:[w.jsx("span",{className:"text-2xs lg:text-xs xl:text-[13px] font-400",children:x?se?.find(ce=>ce.value==x)?.label:"لطفا یک گزینه را انتخاب کنید."}),w.jsx(Ys,{className:` ${fe?"rotate-180 transition-all":""}`})]}),fe?w.jsxs("div",{className:"absolute left-0 bottom-0 translate-y-full flex flex-col rounded-b w-full transition-all z-10",children:[w.jsx("div",{className:"bg-formItem2 p-1 rounded w-full",children:w.jsx(Oa,{icon:w.jsx("img",{src:h5,alt:"جستجو",loading:"lazy"}),placeholder:G||'"حداقل ۲ حرف از نام دارو را وارد کنید."',value:j,disabled:D,onChange:ce=>Y(ce.target.value)})}),j?.length>=2?i.filter(ce=>ce.label.includes(j))?.length?w.jsx("ul",{className:"flex flex-col divide-y divide-solid divide-gray-200 max-h-[200px] overflow-y-scroll bg-[#f7f7f7] shadow-md",children:i.filter(ce=>ce.label.includes(j)).map(ce=>w.jsx("li",{onClick:()=>{m(ce.value),z(!1)},className:"p-2 text-2xs lg:text-xs font-500 hover:bg-gray-200 cursor-pointer",children:ce.label},ce.label))}):w.jsx("span",{className:"py-3 px-2 text-2xs lg:text-xs font-500 bg-gray-200",children:"موردی یافت نشد."}):null]}):null]}):X?w.jsx(ll.Controller,{control:e,name:d,rules:B,render:({field:ce})=>we({field:ce})}):we({field:{value:x,onChange:m,ref:null}}),le?w.jsxs("span",{className:"error",children:[w.jsx(vn,{className:"text-xs lg:text-base"}),le]}):null]})]})},g5="_fieldset_f9tlk_1",m5="_borderImageByTitle_f9tlk_21",b5="_borderImage_f9tlk_21",y5="_border_f9tlk_21",w5="_enLegend_f9tlk_107",Hn={fieldset:g5,borderImageByTitle:m5,borderImage:b5,border:y5,enLegend:w5},Ja=({title:e,children:t,containerClassName:n,className:a,titleClassName:r,en:i,gradientBorder:s=!0})=>w.jsxs("fieldset",{className:oe(Hn.fieldset,n,s?"":"!border-none"),role:"group","aria-labelledby":e?"fieldset-legend":void 0,children:[e&&w.jsx("legend",{id:"fieldset-legend",className:oe("text-xs relative font-700 z-[1] lg:text-sm mr-6 lg:mr-8 text-[#3D0C02] rounded py-0 px-2",i?Hn.enLegend:"",r,s?"":"translate-y-1/2 bg-white"),children:e}),w.jsx("div",{className:oe(a,s?e?Hn.borderImageByTitle:Hn.borderImage:Hn.border,"relative w-full px-3 md:px-4 py-4 lg:px-8 lg:pt-6"),children:t})]}),x5="_confirmBox_pqw0u_1",C5={confirmBox:x5},C0=({value:e,setValue:t,onChange:n,watch:a,label:r,validation:i,questionKey:s,errors:u,divider:c="center",dividerClassName:d,buttonClassName:g,containerClassName:S,archive:p,labelClassName:m,className:x,baseURL:_="https://salamatehr.ir/",userGuide:b,educationalContent:O,disabled:C,accept:D,labelMore:N,register:B,en:G})=>{const re=u?.[s]?u?.[s]?.message:null,[fe,z]=ee.useState(!1),j=ee.useRef(null),Y=a?a(s):e,le=T=>{const W=T.target.files?T.target.files[0]:null;t?t(s,W):n(W)},X=T=>{const W=`${_}/${T}`;window.open(W,"_blank")},se=()=>{const T=Y;typeof T=="string"?X(T):T&&window.open(URL.createObjectURL(T),"_blank")},we=()=>{z(!0)},be=T=>{if(T==="10361"){const W="";t?t(s,W):n(W),z(!1)}else T==="10362"&&z(!1)},ce=(T,W=20)=>T?T.length<=W?T:`${T.slice(0,W/2)}...${T.slice(-W/2)}`:"",Ee=ee.useCallback(T=>ce(typeof T=="string"?T:T.name),[]),Ce=()=>{const T=Y;return T?Ee(T):G?"Choose a file":"انتخاب فایل"},he={center:"label-center",right:"label-right",left:"label-left"};return ee.useEffect(()=>{B&&i&&B(s,i)},[]),w.jsxs("div",{className:oe("w-full flex flex-col p-2 bg-formItem rounded relative",S,{"field-error":re}),style:{boxShadow:"0px 2px 4px rgba(0, 0, 0, 0.15)"},dir:G?"ltr":"",children:[r&&w.jsx($r,{className:oe(m,he[c]),more:N,userGuide:b,educationalContent:O,archive:p?{...p,questionKey:s,renderCell:p.renderCell||(T=>w.jsx("span",{className:"text-success",onClick:()=>X(T.slice(1,-1)),children:"نمایش فایل"}))}:!1,label:r,required:i?i.required:null,disabled:C,en:G}),c&&w.jsx(ta,{className:oe(d),position:c}),w.jsxs("div",{className:"flex w-full items-center justify-between gap-4",children:[w.jsx(er,{variant:"outlined",className:oe(g,"h-[22px] lg:h-[26px] w-[81px] lg:!text-xs text-nowrap border-black !bg-background hover:!bg-white px-2 !border-[0.5px] opacity-90 hover:opacity-100"),title:Y?G?"Display file":"نمایش فایل":G?"Upload":"انتخاب فایل",onClick:()=>Y?se():j.current.click()}),w.jsx("div",{className:oe("border-[0.5px] w-full cursor-pointer flex items-center justify-between px-2 border-black rounded hover:!bg-white",{"!bg-white":Y,"!bg-white-f5":!Y},"group"),children:w.jsxs("label",{className:oe("relative w-full justify-between flex items-center cursor-pointer overflow-hidden text-ellipsis",x),children:[w.jsx("span",{className:"z-[1] font-600 text-2xs lg:text-[11px] xl:text-xs",children:Ce()}),w.jsx("input",{type:"file",ref:j,className:oe(C?"cursor-not-allowed":"cursor-pointer","z-10 w-full h-full absolute left-0 top-0 opacity-0"),onChange:le,disabled:C,accept:D}),w.jsx(er,{variant:"text",onClick:Y&&!C?we:null,icon:Y?w.jsx(pf,{color:fe?"#960018":"#04900a",className:"w-[16px] h-[16px] lg:w-[20px] lg:h-[20px]"}):w.jsx(lf,{className:oe("w-[16px] h-[16px] lg:w-[20px] lg:h-[20px] group-hover:!text-success",Y?"text-success":"text-[#7B7B7B]")}),className:Y?"z-20":""})]})})]}),fe&&w.jsxs("div",{className:C5.confirmBox+" z-20 bg-white bg-opacity-40 backdrop-blur-md absolute left-0 top-0 w-full flex flex-col justify-between min-h-full px-2 py-2",children:[w.jsx($r,{className:"self-center",label:"آیا مایل به حذف فایل انتخاب شده هستید؟"}),w.jsx(ta,{position:"center"}),w.jsx("div",{className:"flex justify-between w-full",children:[{label:"بله",value:"10361"},{label:"خیر",value:"10362"}].map(T=>w.jsx(Ga,{label:T.label,id:T.value,name:"booleanOption",value:T.value,checked:!1,onClick:()=>be(T.value),onChange:W=>W.preventDefault()},T.value))})]}),re&&w.jsxs("span",{className:"error",children:[w.jsx(vn,{className:"text-2xs lg:text-xs"}),re]})]})},_0=({className:e,ranges:t,value:n,divider:a="center",containerClassName:r,labelClassName:i,label:s,userGuide:u,archive:c,educationalContent:d,questionKey:g,required:S,en:p,dividerClassName:m})=>{let x,_,b,O;n&&(x=t[t.length-1].value.max,_=t.find(D=>D.value.max>n)||t[t.length-1],b=_.color,O=n/x*100+"%");const C={center:"label-center",right:"label-right",left:"label-left"};return w.jsxs("div",{className:oe("bg-formItem w-full flex flex-col relative p-2 rounded",r),style:{boxShadow:"0px 2px 4px rgba(0, 0, 0, 0.15)"},children:[s&&w.jsx($r,{className:oe(i,C[a]),userGuide:u,educationalContent:d,archive:c?{...c,questionKey:g}:!1,label:s,required:S,en:p}),a&&w.jsx(ta,{className:oe(m),position:a}),w.jsx("div",{className:oe(e,"bg-[#e7e7e7] w-full flex justify-end h-6 lg:h-8 rounded overflow-hidden"),children:w.jsx("div",{className:"h-full flex justify-center items-center rounded-r transition-all origin-left duration-500 overflow-hidden",style:{width:O||0,background:`linear-gradient(90deg, ${b+"aa"} 0%, ${b} 100%)`},children:w.jsx("span",{className:"text-2xs lg:text-xs bg-black bg-opacity-30 text-white w-fit px-1 pt-[1px] rounded",children:n})})})]})},_5="_toolbar_1sn79_1",S5="_wrapper_1sn79_19",E5="_editor_1sn79_27",_i={toolbar:_5,wrapper:S5,editor:E5};function k5(e){return nr({attr:{fill:"none",viewBox:"0 0 24 24",strokeWidth:"2",stroke:"currentColor","aria-hidden":"true"},child:[{tag:"path",attr:{strokeLinecap:"round",strokeLinejoin:"round",d:"M17 17h2a2 2 0 002-2v-4a2 2 0 00-2-2H5a2 2 0 00-2 2v4a2 2 0 002 2h2m2 4h6a2 2 0 002-2v-4a2 2 0 00-2-2H9a2 2 0 00-2 2v4a2 2 0 002 2zm8-12V5a2 2 0 00-2-2H9a2 2 0 00-2 2v4h10z"},child:[]}]})(e)}const D5=(e,t)=>{var n=window.open("","","left=0,top=0,width=800,height=900,toolbar=0,scrollbars=0,status=0");const a=`<html>
50
+ <head>${e}</head>
51
+ <body>${t}</body>
52
+ </html>`;n.document.write(a),n.document.close(),n.focus(),n.addEventListener("load",()=>{n.print(),n.close()})};var n1={exports:{}};(function(e,t){(function(n,a){e.exports=a()})(ul,function(){var n=Array.prototype.slice;function a(l,o){o&&(l.prototype=Object.create(o.prototype)),l.prototype.constructor=l}function r(l){return c(l)?l:tt(l)}a(i,r);function i(l){return d(l)?l:qe(l)}a(s,r);function s(l){return g(l)?l:Le(l)}a(u,r);function u(l){return c(l)&&!S(l)?l:_t(l)}function c(l){return!!(l&&l[m])}function d(l){return!!(l&&l[x])}function g(l){return!!(l&&l[_])}function S(l){return d(l)||g(l)}function p(l){return!!(l&&l[b])}r.isIterable=c,r.isKeyed=d,r.isIndexed=g,r.isAssociative=S,r.isOrdered=p,r.Keyed=i,r.Indexed=s,r.Set=u;var m="@@__IMMUTABLE_ITERABLE__@@",x="@@__IMMUTABLE_KEYED__@@",_="@@__IMMUTABLE_INDEXED__@@",b="@@__IMMUTABLE_ORDERED__@@",O="delete",C=5,D=1<<C,N=D-1,B={},G={value:!1},re={value:!1};function fe(l){return l.value=!1,l}function z(l){l&&(l.value=!0)}function j(){}function Y(l,o){o=o||0;for(var f=Math.max(0,l.length-o),v=new Array(f),h=0;h<f;h++)v[h]=l[h+o];return v}function le(l){return l.size===void 0&&(l.size=l.__iterate(se)),l.size}function X(l,o){if(typeof o!="number"){var f=o>>>0;if(""+f!==o||f===4294967295)return NaN;o=f}return o<0?le(l)+o:o}function se(){return!0}function we(l,o,f){return(l===0||f!==void 0&&l<=-f)&&(o===void 0||f!==void 0&&o>=f)}function be(l,o){return Ee(l,o,0)}function ce(l,o){return Ee(l,o,o)}function Ee(l,o,f){return l===void 0?f:l<0?Math.max(0,o+l):o===void 0?l:Math.min(o,l)}var Ce=0,he=1,T=2,W=typeof Symbol=="function"&&Symbol.iterator,ge="@@iterator",je=W||ge;function ue(l){this.next=l}ue.prototype.toString=function(){return"[Iterator]"},ue.KEYS=Ce,ue.VALUES=he,ue.ENTRIES=T,ue.prototype.inspect=ue.prototype.toSource=function(){return this.toString()},ue.prototype[je]=function(){return this};function ke(l,o,f,v){var h=l===0?o:l===1?f:[o,f];return v?v.value=h:v={value:h,done:!1},v}function Ve(){return{value:void 0,done:!0}}function it(l){return!!Dt(l)}function Lt(l){return l&&typeof l.next=="function"}function ot(l){var o=Dt(l);return o&&o.call(l)}function Dt(l){var o=l&&(W&&l[W]||l[ge]);if(typeof o=="function")return o}function yt(l){return l&&typeof l.length=="number"}a(tt,r);function tt(l){return l==null?Ut():c(l)?l.toSeq():A(l)}tt.of=function(){return tt(arguments)},tt.prototype.toSeq=function(){return this},tt.prototype.toString=function(){return this.__toString("Seq {","}")},tt.prototype.cacheResult=function(){return!this._cache&&this.__iterateUncached&&(this._cache=this.entrySeq().toArray(),this.size=this._cache.length),this},tt.prototype.__iterate=function(l,o){return $(this,l,o,!0)},tt.prototype.__iterator=function(l,o){return V(this,l,o,!0)},a(qe,tt);function qe(l){return l==null?Ut().toKeyedSeq():c(l)?d(l)?l.toSeq():l.fromEntrySeq():y(l)}qe.prototype.toKeyedSeq=function(){return this},a(Le,tt);function Le(l){return l==null?Ut():c(l)?d(l)?l.entrySeq():l.toIndexedSeq():L(l)}Le.of=function(){return Le(arguments)},Le.prototype.toIndexedSeq=function(){return this},Le.prototype.toString=function(){return this.__toString("Seq [","]")},Le.prototype.__iterate=function(l,o){return $(this,l,o,!1)},Le.prototype.__iterator=function(l,o){return V(this,l,o,!1)},a(_t,tt);function _t(l){return(l==null?Ut():c(l)?d(l)?l.entrySeq():l:L(l)).toSetSeq()}_t.of=function(){return _t(arguments)},_t.prototype.toSetSeq=function(){return this},tt.isSeq=zt,tt.Keyed=qe,tt.Set=_t,tt.Indexed=Le;var Zt="@@__IMMUTABLE_SEQ__@@";tt.prototype[Zt]=!0,a(gt,Le);function gt(l){this._array=l,this.size=l.length}gt.prototype.get=function(l,o){return this.has(l)?this._array[X(this,l)]:o},gt.prototype.__iterate=function(l,o){for(var f=this._array,v=f.length-1,h=0;h<=v;h++)if(l(f[o?v-h:h],h,this)===!1)return h+1;return h},gt.prototype.__iterator=function(l,o){var f=this._array,v=f.length-1,h=0;return new ue(function(){return h>v?Ve():ke(l,h,f[o?v-h++:h++])})},a(Ue,qe);function Ue(l){var o=Object.keys(l);this._object=l,this._keys=o,this.size=o.length}Ue.prototype.get=function(l,o){return o!==void 0&&!this.has(l)?o:this._object[l]},Ue.prototype.has=function(l){return this._object.hasOwnProperty(l)},Ue.prototype.__iterate=function(l,o){for(var f=this._object,v=this._keys,h=v.length-1,E=0;E<=h;E++){var M=v[o?h-E:E];if(l(f[M],M,this)===!1)return E+1}return E},Ue.prototype.__iterator=function(l,o){var f=this._object,v=this._keys,h=v.length-1,E=0;return new ue(function(){var M=v[o?h-E:E];return E++>h?Ve():ke(l,M,f[M])})},Ue.prototype[b]=!0,a(Nt,Le);function Nt(l){this._iterable=l,this.size=l.length||l.size}Nt.prototype.__iterateUncached=function(l,o){if(o)return this.cacheResult().__iterate(l,o);var f=this._iterable,v=ot(f),h=0;if(Lt(v))for(var E;!(E=v.next()).done&&l(E.value,h++,this)!==!1;);return h},Nt.prototype.__iteratorUncached=function(l,o){if(o)return this.cacheResult().__iterator(l,o);var f=this._iterable,v=ot(f);if(!Lt(v))return new ue(Ve);var h=0;return new ue(function(){var E=v.next();return E.done?E:ke(l,h++,E.value)})},a(It,Le);function It(l){this._iterator=l,this._iteratorCache=[]}It.prototype.__iterateUncached=function(l,o){if(o)return this.cacheResult().__iterate(l,o);for(var f=this._iterator,v=this._iteratorCache,h=0;h<v.length;)if(l(v[h],h++,this)===!1)return h;for(var E;!(E=f.next()).done;){var M=E.value;if(v[h]=M,l(M,h++,this)===!1)break}return h},It.prototype.__iteratorUncached=function(l,o){if(o)return this.cacheResult().__iterator(l,o);var f=this._iterator,v=this._iteratorCache,h=0;return new ue(function(){if(h>=v.length){var E=f.next();if(E.done)return E;v[h]=E.value}return ke(l,h,v[h++])})};function zt(l){return!!(l&&l[Zt])}var Rt;function Ut(){return Rt||(Rt=new gt([]))}function y(l){var o=Array.isArray(l)?new gt(l).fromEntrySeq():Lt(l)?new It(l).fromEntrySeq():it(l)?new Nt(l).fromEntrySeq():typeof l=="object"?new Ue(l):void 0;if(!o)throw new TypeError("Expected Array or iterable object of [k, v] entries, or keyed object: "+l);return o}function L(l){var o=R(l);if(!o)throw new TypeError("Expected Array or iterable object of values: "+l);return o}function A(l){var o=R(l)||typeof l=="object"&&new Ue(l);if(!o)throw new TypeError("Expected Array or iterable object of values, or keyed object: "+l);return o}function R(l){return yt(l)?new gt(l):Lt(l)?new It(l):it(l)?new Nt(l):void 0}function $(l,o,f,v){var h=l._cache;if(h){for(var E=h.length-1,M=0;M<=E;M++){var I=h[f?E-M:M];if(o(I[1],v?I[0]:M,l)===!1)return M+1}return M}return l.__iterateUncached(o,f)}function V(l,o,f,v){var h=l._cache;if(h){var E=h.length-1,M=0;return new ue(function(){var I=h[f?E-M:M];return M++>E?Ve():ke(o,v?I[0]:M-1,I[1])})}return l.__iteratorUncached(o,f)}function de(l,o){return o?te(o,l,"",{"":l}):U(l)}function te(l,o,f,v){return Array.isArray(o)?l.call(v,f,Le(o).map(function(h,E){return te(l,h,E,o)})):pe(o)?l.call(v,f,qe(o).map(function(h,E){return te(l,h,E,o)})):o}function U(l){return Array.isArray(l)?Le(l).map(U).toList():pe(l)?qe(l).map(U).toMap():l}function pe(l){return l&&(l.constructor===Object||l.constructor===void 0)}function Q(l,o){if(l===o||l!==l&&o!==o)return!0;if(!l||!o)return!1;if(typeof l.valueOf=="function"&&typeof o.valueOf=="function"){if(l=l.valueOf(),o=o.valueOf(),l===o||l!==l&&o!==o)return!0;if(!l||!o)return!1}return!!(typeof l.equals=="function"&&typeof o.equals=="function"&&l.equals(o))}function Se(l,o){if(l===o)return!0;if(!c(o)||l.size!==void 0&&o.size!==void 0&&l.size!==o.size||l.__hash!==void 0&&o.__hash!==void 0&&l.__hash!==o.__hash||d(l)!==d(o)||g(l)!==g(o)||p(l)!==p(o))return!1;if(l.size===0&&o.size===0)return!0;var f=!S(l);if(p(l)){var v=l.entries();return o.every(function(P,K){var Z=v.next().value;return Z&&Q(Z[1],P)&&(f||Q(Z[0],K))})&&v.next().done}var h=!1;if(l.size===void 0)if(o.size===void 0)typeof l.cacheResult=="function"&&l.cacheResult();else{h=!0;var E=l;l=o,o=E}var M=!0,I=o.__iterate(function(P,K){if(f?!l.has(P):h?!Q(P,l.get(K,B)):!Q(l.get(K,B),P))return M=!1,!1});return M&&l.size===I}a(ne,Le);function ne(l,o){if(!(this instanceof ne))return new ne(l,o);if(this._value=l,this.size=o===void 0?1/0:Math.max(0,o),this.size===0){if(Ne)return Ne;Ne=this}}ne.prototype.toString=function(){return this.size===0?"Repeat []":"Repeat [ "+this._value+" "+this.size+" times ]"},ne.prototype.get=function(l,o){return this.has(l)?this._value:o},ne.prototype.includes=function(l){return Q(this._value,l)},ne.prototype.slice=function(l,o){var f=this.size;return we(l,o,f)?this:new ne(this._value,ce(o,f)-be(l,f))},ne.prototype.reverse=function(){return this},ne.prototype.indexOf=function(l){return Q(this._value,l)?0:-1},ne.prototype.lastIndexOf=function(l){return Q(this._value,l)?this.size:-1},ne.prototype.__iterate=function(l,o){for(var f=0;f<this.size;f++)if(l(this._value,f,this)===!1)return f+1;return f},ne.prototype.__iterator=function(l,o){var f=this,v=0;return new ue(function(){return v<f.size?ke(l,v++,f._value):Ve()})},ne.prototype.equals=function(l){return l instanceof ne?Q(this._value,l._value):Se(l)};var Ne;function Ze(l,o){if(!l)throw new Error(o)}a(_e,Le);function _e(l,o,f){if(!(this instanceof _e))return new _e(l,o,f);if(Ze(f!==0,"Cannot step a Range by 0"),l=l||0,o===void 0&&(o=1/0),f=f===void 0?1:Math.abs(f),o<l&&(f=-f),this._start=l,this._end=o,this._step=f,this.size=Math.max(0,Math.ceil((o-l)/f-1)+1),this.size===0){if($e)return $e;$e=this}}_e.prototype.toString=function(){return this.size===0?"Range []":"Range [ "+this._start+"..."+this._end+(this._step>1?" by "+this._step:"")+" ]"},_e.prototype.get=function(l,o){return this.has(l)?this._start+X(this,l)*this._step:o},_e.prototype.includes=function(l){var o=(l-this._start)/this._step;return o>=0&&o<this.size&&o===Math.floor(o)},_e.prototype.slice=function(l,o){return we(l,o,this.size)?this:(l=be(l,this.size),o=ce(o,this.size),o<=l?new _e(0,0):new _e(this.get(l,this._end),this.get(o,this._end),this._step))},_e.prototype.indexOf=function(l){var o=l-this._start;if(o%this._step===0){var f=o/this._step;if(f>=0&&f<this.size)return f}return-1},_e.prototype.lastIndexOf=function(l){return this.indexOf(l)},_e.prototype.__iterate=function(l,o){for(var f=this.size-1,v=this._step,h=o?this._start+f*v:this._start,E=0;E<=f;E++){if(l(h,E,this)===!1)return E+1;h+=o?-v:v}return E},_e.prototype.__iterator=function(l,o){var f=this.size-1,v=this._step,h=o?this._start+f*v:this._start,E=0;return new ue(function(){var M=h;return h+=o?-v:v,E>f?Ve():ke(l,E++,M)})},_e.prototype.equals=function(l){return l instanceof _e?this._start===l._start&&this._end===l._end&&this._step===l._step:Se(this,l)};var $e;a(Pe,r);function Pe(){throw TypeError("Abstract")}a(ct,Pe);function ct(){}a(st,Pe);function st(){}a(mt,Pe);function mt(){}Pe.Keyed=ct,Pe.Indexed=st,Pe.Set=mt;var dt=typeof Math.imul=="function"&&Math.imul(4294967295,2)===-2?Math.imul:function(o,f){o=o|0,f=f|0;var v=o&65535,h=f&65535;return v*h+((o>>>16)*h+v*(f>>>16)<<16>>>0)|0};function Ye(l){return l>>>1&1073741824|l&3221225471}function rt(l){if(l===!1||l===null||l===void 0||typeof l.valueOf=="function"&&(l=l.valueOf(),l===!1||l===null||l===void 0))return 0;if(l===!0)return 1;var o=typeof l;if(o==="number"){var f=l|0;for(f!==l&&(f^=l*4294967295);l>4294967295;)l/=4294967295,f^=l;return Ye(f)}if(o==="string")return l.length>q?et(l):Oe(l);if(typeof l.hashCode=="function")return l.hashCode();if(o==="object")return De(l);if(typeof l.toString=="function")return Oe(l.toString());throw new Error("Value type "+o+" cannot be hashed.")}function et(l){var o=ze[l];return o===void 0&&(o=Oe(l),Ke===ie&&(Ke=0,ze={}),Ke++,ze[l]=o),o}function Oe(l){for(var o=0,f=0;f<l.length;f++)o=31*o+l.charCodeAt(f)|0;return Ye(o)}function De(l){var o;if(We&&(o=Be.get(l),o!==void 0)||(o=l[F],o!==void 0)||!Ae&&(o=l.propertyIsEnumerable&&l.propertyIsEnumerable[F],o!==void 0||(o=Je(l),o!==void 0)))return o;if(o=++k,k&1073741824&&(k=0),We)Be.set(l,o);else{if(Te!==void 0&&Te(l)===!1)throw new Error("Non-extensible objects are not allowed as keys.");if(Ae)Object.defineProperty(l,F,{enumerable:!1,configurable:!1,writable:!1,value:o});else if(l.propertyIsEnumerable!==void 0&&l.propertyIsEnumerable===l.constructor.prototype.propertyIsEnumerable)l.propertyIsEnumerable=function(){return this.constructor.prototype.propertyIsEnumerable.apply(this,arguments)},l.propertyIsEnumerable[F]=o;else if(l.nodeType!==void 0)l[F]=o;else throw new Error("Unable to set a non-enumerable property on object.")}return o}var Te=Object.isExtensible,Ae=function(){try{return Object.defineProperty({},"@",{}),!0}catch{return!1}}();function Je(l){if(l&&l.nodeType>0)switch(l.nodeType){case 1:return l.uniqueID;case 9:return l.documentElement&&l.documentElement.uniqueID}}var We=typeof WeakMap=="function",Be;We&&(Be=new WeakMap);var k=0,F="__immutablehash__";typeof Symbol=="function"&&(F=Symbol(F));var q=16,ie=255,Ke=0,ze={};function Ie(l){Ze(l!==1/0,"Cannot perform this action with an infinite size.")}a(J,ct);function J(l){return l==null?St():Re(l)&&!p(l)?l:St().withMutations(function(o){var f=i(l);Ie(f.size),f.forEach(function(v,h){return o.set(h,v)})})}J.prototype.toString=function(){return this.__toString("Map {","}")},J.prototype.get=function(l,o){return this._root?this._root.get(0,void 0,l,o):o},J.prototype.set=function(l,o){return rr(this,l,o)},J.prototype.setIn=function(l,o){return this.updateIn(l,B,function(){return o})},J.prototype.remove=function(l){return rr(this,l,B)},J.prototype.deleteIn=function(l){return this.updateIn(l,function(){return B})},J.prototype.update=function(l,o,f){return arguments.length===1?l(this):this.updateIn([l],o,f)},J.prototype.updateIn=function(l,o,f){f||(f=o,o=void 0);var v=na(this,X0(l),o,f);return v===B?void 0:v},J.prototype.clear=function(){return this.size===0?this:this.__ownerID?(this.size=0,this._root=null,this.__hash=void 0,this.__altered=!0,this):St()},J.prototype.merge=function(){return ur(this,void 0,arguments)},J.prototype.mergeWith=function(l){var o=n.call(arguments,1);return ur(this,l,o)},J.prototype.mergeIn=function(l){var o=n.call(arguments,1);return this.updateIn(l,St(),function(f){return typeof f.merge=="function"?f.merge.apply(f,o):o[o.length-1]})},J.prototype.mergeDeep=function(){return ur(this,Xr,arguments)},J.prototype.mergeDeepWith=function(l){var o=n.call(arguments,1);return ur(this,aa(l),o)},J.prototype.mergeDeepIn=function(l){var o=n.call(arguments,1);return this.updateIn(l,St(),function(f){return typeof f.mergeDeep=="function"?f.mergeDeep.apply(f,o):o[o.length-1]})},J.prototype.sort=function(l){return Ft(Kr(this,l))},J.prototype.sortBy=function(l,o){return Ft(Kr(this,o,l))},J.prototype.withMutations=function(l){var o=this.asMutable();return l(o),o.wasAltered()?o.__ensureOwner(this.__ownerID):this},J.prototype.asMutable=function(){return this.__ownerID?this:this.__ensureOwner(new j)},J.prototype.asImmutable=function(){return this.__ensureOwner()},J.prototype.wasAltered=function(){return this.__altered},J.prototype.__iterator=function(l,o){return new Yt(this,l,o)},J.prototype.__iterate=function(l,o){var f=this,v=0;return this._root&&this._root.iterate(function(h){return v++,l(h[1],h[0],f)},o),v},J.prototype.__ensureOwner=function(l){return l===this.__ownerID?this:l?Ct(this.size,this._root,l,this.__hash):(this.__ownerID=l,this.__altered=!1,this)};function Re(l){return!!(l&&l[Xe])}J.isMap=Re;var Xe="@@__IMMUTABLE_MAP__@@",ve=J.prototype;ve[Xe]=!0,ve[O]=ve.remove,ve.removeIn=ve.deleteIn;function wt(l,o){this.ownerID=l,this.entries=o}wt.prototype.get=function(l,o,f,v){for(var h=this.entries,E=0,M=h.length;E<M;E++)if(Q(f,h[E][0]))return h[E][1];return v},wt.prototype.update=function(l,o,f,v,h,E,M){for(var I=h===B,P=this.entries,K=0,Z=P.length;K<Z&&!Q(v,P[K][0]);K++);var xe=K<Z;if(xe?P[K][1]===h:I)return this;if(z(M),(I||!xe)&&z(E),!(I&&P.length===1)){if(!xe&&!I&&P.length>=en)return Or(l,P,v,h);var Me=l&&l===this.ownerID,nt=Me?P:Y(P);return xe?I?K===Z-1?nt.pop():nt[K]=nt.pop():nt[K]=[v,h]:nt.push([v,h]),Me?(this.entries=nt,this):new wt(l,nt)}};function lt(l,o,f){this.ownerID=l,this.bitmap=o,this.nodes=f}lt.prototype.get=function(l,o,f,v){o===void 0&&(o=rt(f));var h=1<<((l===0?o:o>>>l)&N),E=this.bitmap;return E&h?this.nodes[Qr(E&h-1)].get(l+C,o,f,v):v},lt.prototype.update=function(l,o,f,v,h,E,M){f===void 0&&(f=rt(v));var I=(o===0?f:f>>>o)&N,P=1<<I,K=this.bitmap,Z=(K&P)!==0;if(!Z&&h===B)return this;var xe=Qr(K&P-1),Me=this.nodes,nt=Z?Me[xe]:void 0,ht=Ht(nt,l,o+C,f,v,h,E,M);if(ht===nt)return this;if(!Z&&ht&&Me.length>=ha)return ra(l,Me,K,I,ht);if(Z&&!ht&&Me.length===2&&Dr(Me[xe^1]))return Me[xe^1];if(Z&&ht&&Me.length===1&&Dr(ht))return ht;var qt=l&&l===this.ownerID,ea=Z?ht?K:K^P:K|P,sa=Z?ht?Na(Me,xe,ht,qt):Qa(Me,xe,qt):jn(Me,xe,ht,qt);return qt?(this.bitmap=ea,this.nodes=sa,this):new lt(l,ea,sa)};function Pt(l,o,f){this.ownerID=l,this.count=o,this.nodes=f}Pt.prototype.get=function(l,o,f,v){o===void 0&&(o=rt(f));var h=(l===0?o:o>>>l)&N,E=this.nodes[h];return E?E.get(l+C,o,f,v):v},Pt.prototype.update=function(l,o,f,v,h,E,M){f===void 0&&(f=rt(v));var I=(o===0?f:f>>>o)&N,P=h===B,K=this.nodes,Z=K[I];if(P&&!Z)return this;var xe=Ht(Z,l,o+C,f,v,h,E,M);if(xe===Z)return this;var Me=this.count;if(!Z)Me++;else if(!xe&&(Me--,Me<tn))return _r(l,K,Me,I);var nt=l&&l===this.ownerID,ht=Na(K,I,xe,nt);return nt?(this.count=Me,this.nodes=ht,this):new Pt(l,Me,ht)};function vt(l,o,f){this.ownerID=l,this.keyHash=o,this.entries=f}vt.prototype.get=function(l,o,f,v){for(var h=this.entries,E=0,M=h.length;E<M;E++)if(Q(f,h[E][0]))return h[E][1];return v},vt.prototype.update=function(l,o,f,v,h,E,M){f===void 0&&(f=rt(v));var I=h===B;if(f!==this.keyHash)return I?this:(z(M),z(E),wr(this,l,o,f,[v,h]));for(var P=this.entries,K=0,Z=P.length;K<Z&&!Q(v,P[K][0]);K++);var xe=K<Z;if(xe?P[K][1]===h:I)return this;if(z(M),(I||!xe)&&z(E),I&&Z===2)return new At(l,this.keyHash,P[K^1]);var Me=l&&l===this.ownerID,nt=Me?P:Y(P);return xe?I?K===Z-1?nt.pop():nt[K]=nt.pop():nt[K]=[v,h]:nt.push([v,h]),Me?(this.entries=nt,this):new vt(l,this.keyHash,nt)};function At(l,o,f){this.ownerID=l,this.keyHash=o,this.entry=f}At.prototype.get=function(l,o,f,v){return Q(f,this.entry[0])?this.entry[1]:v},At.prototype.update=function(l,o,f,v,h,E,M){var I=h===B,P=Q(v,this.entry[0]);if(P?h===this.entry[1]:I)return this;if(z(M),I){z(E);return}return P?l&&l===this.ownerID?(this.entry[1]=h,this):new At(l,this.keyHash,[v,h]):(z(E),wr(this,l,o,rt(v),[v,h]))},wt.prototype.iterate=vt.prototype.iterate=function(l,o){for(var f=this.entries,v=0,h=f.length-1;v<=h;v++)if(l(f[o?h-v:v])===!1)return!1},lt.prototype.iterate=Pt.prototype.iterate=function(l,o){for(var f=this.nodes,v=0,h=f.length-1;v<=h;v++){var E=f[o?h-v:v];if(E&&E.iterate(l,o)===!1)return!1}},At.prototype.iterate=function(l,o){return l(this.entry)},a(Yt,ue);function Yt(l,o,f){this._type=o,this._reverse=f,this._stack=l._root&&Gt(l._root)}Yt.prototype.next=function(){for(var l=this._type,o=this._stack;o;){var f=o.node,v=o.index++,h;if(f.entry){if(v===0)return tr(l,f.entry)}else if(f.entries){if(h=f.entries.length-1,v<=h)return tr(l,f.entries[this._reverse?h-v:v])}else if(h=f.nodes.length-1,v<=h){var E=f.nodes[this._reverse?h-v:v];if(E){if(E.entry)return tr(l,E.entry);o=this._stack=Gt(E,o)}continue}o=this._stack=this._stack.__prev}return Ve()};function tr(l,o){return ke(l,o[0],o[1])}function Gt(l,o){return{node:l,index:0,__prev:o}}function Ct(l,o,f,v){var h=Object.create(ve);return h.size=l,h._root=o,h.__ownerID=f,h.__hash=v,h.__altered=!1,h}var Tt;function St(){return Tt||(Tt=Ct(0))}function rr(l,o,f){var v,h;if(l._root){var E=fe(G),M=fe(re);if(v=Ht(l._root,l.__ownerID,0,void 0,o,f,E,M),!M.value)return l;h=l.size+(E.value?f===B?-1:1:0)}else{if(f===B)return l;h=1,v=new wt(l.__ownerID,[[o,f]])}return l.__ownerID?(l.size=h,l._root=v,l.__hash=void 0,l.__altered=!0,l):v?Ct(h,v):St()}function Ht(l,o,f,v,h,E,M,I){return l?l.update(o,f,v,h,E,M,I):E===B?l:(z(I),z(M),new At(o,v,[h,E]))}function Dr(l){return l.constructor===At||l.constructor===vt}function wr(l,o,f,v,h){if(l.keyHash===v)return new vt(o,v,[l.entry,h]);var E=(f===0?l.keyHash:l.keyHash>>>f)&N,M=(f===0?v:v>>>f)&N,I,P=E===M?[wr(l,o,f+C,v,h)]:(I=new At(o,v,h),E<M?[l,I]:[I,l]);return new lt(o,1<<E|1<<M,P)}function Or(l,o,f,v){l||(l=new j);for(var h=new At(l,rt(f),[f,v]),E=0;E<o.length;E++){var M=o[E];h=h.update(l,0,void 0,M[0],M[1])}return h}function _r(l,o,f,v){for(var h=0,E=0,M=new Array(f),I=0,P=1,K=o.length;I<K;I++,P<<=1){var Z=o[I];Z!==void 0&&I!==v&&(h|=P,M[E++]=Z)}return new lt(l,h,M)}function ra(l,o,f,v,h){for(var E=0,M=new Array(D),I=0;f!==0;I++,f>>>=1)M[I]=f&1?o[E++]:void 0;return M[v]=h,new Pt(l,E+1,M)}function ur(l,o,f){for(var v=[],h=0;h<f.length;h++){var E=f[h],M=i(E);c(E)||(M=M.map(function(I){return de(I)})),v.push(M)}return La(l,o,v)}function Xr(l,o,f){return l&&l.mergeDeep&&c(o)?l.mergeDeep(o):Q(l,o)?l:o}function aa(l){return function(o,f,v){if(o&&o.mergeDeepWith&&c(f))return o.mergeDeepWith(l,f);var h=l(o,f,v);return Q(o,h)?o:h}}function La(l,o,f){return f=f.filter(function(v){return v.size!==0}),f.length===0?l:l.size===0&&!l.__ownerID&&f.length===1?l.constructor(f[0]):l.withMutations(function(v){for(var h=o?function(M,I){v.update(I,B,function(P){return P===B?M:o(P,M,I)})}:function(M,I){v.set(I,M)},E=0;E<f.length;E++)f[E].forEach(h)})}function na(l,o,f,v){var h=l===B,E=o.next();if(E.done){var M=h?f:l,I=v(M);return I===M?l:I}Ze(h||l&&l.set,"invalid keyPath");var P=E.value,K=h?B:l.get(P,B),Z=na(K,o,f,v);return Z===K?l:Z===B?l.remove(P):(h?St():l).set(P,Z)}function Qr(l){return l=l-(l>>1&1431655765),l=(l&858993459)+(l>>2&858993459),l=l+(l>>4)&252645135,l=l+(l>>8),l=l+(l>>16),l&127}function Na(l,o,f,v){var h=v?l:Y(l);return h[o]=f,h}function jn(l,o,f,v){var h=l.length+1;if(v&&o+1===h)return l[o]=f,l;for(var E=new Array(h),M=0,I=0;I<h;I++)I===o?(E[I]=f,M=-1):E[I]=l[I+M];return E}function Qa(l,o,f){var v=l.length-1;if(f&&o===v)return l.pop(),l;for(var h=new Array(v),E=0,M=0;M<v;M++)M===o&&(E=1),h[M]=l[M+E];return h}var en=D/4,ha=D/2,tn=D/4;a(ft,st);function ft(l){var o=ma();if(l==null)return o;if(Mr(l))return l;var f=s(l),v=f.size;return v===0?o:(Ie(v),v>0&&v<D?hr(0,v,C,null,new vr(f.toArray())):o.withMutations(function(h){h.setSize(v),f.forEach(function(E,M){return h.set(M,E)})}))}ft.of=function(){return this(arguments)},ft.prototype.toString=function(){return this.__toString("List [","]")},ft.prototype.get=function(l,o){if(l=X(this,l),l>=0&&l<this.size){l+=this._origin;var f=Rr(this,l);return f&&f.array[l&N]}return o},ft.prototype.set=function(l,o){return Ia(this,l,o)},ft.prototype.remove=function(l){return this.has(l)?l===0?this.shift():l===this.size-1?this.pop():this.splice(l,1):this},ft.prototype.insert=function(l,o){return this.splice(l,0,o)},ft.prototype.clear=function(){return this.size===0?this:this.__ownerID?(this.size=this._origin=this._capacity=0,this._level=C,this._root=this._tail=null,this.__hash=void 0,this.__altered=!0,this):ma()},ft.prototype.push=function(){var l=arguments,o=this.size;return this.withMutations(function(f){pr(f,0,o+l.length);for(var v=0;v<l.length;v++)f.set(o+v,l[v])})},ft.prototype.pop=function(){return pr(this,0,-1)},ft.prototype.unshift=function(){var l=arguments;return this.withMutations(function(o){pr(o,-l.length);for(var f=0;f<l.length;f++)o.set(f,l[f])})},ft.prototype.shift=function(){return pr(this,1)},ft.prototype.merge=function(){return pt(this,void 0,arguments)},ft.prototype.mergeWith=function(l){var o=n.call(arguments,1);return pt(this,l,o)},ft.prototype.mergeDeep=function(){return pt(this,Xr,arguments)},ft.prototype.mergeDeepWith=function(l){var o=n.call(arguments,1);return pt(this,aa(l),o)},ft.prototype.setSize=function(l){return pr(this,0,l)},ft.prototype.slice=function(l,o){var f=this.size;return we(l,o,f)?this:pr(this,be(l,f),ce(o,f))},ft.prototype.__iterator=function(l,o){var f=0,v=Ta(this,o);return new ue(function(){var h=v();return h===cr?Ve():ke(l,f++,h)})},ft.prototype.__iterate=function(l,o){for(var f=0,v=Ta(this,o),h;(h=v())!==cr&&l(h,f++,this)!==!1;);return f},ft.prototype.__ensureOwner=function(l){return l===this.__ownerID?this:l?hr(this._origin,this._capacity,this._level,this._root,this._tail,l,this.__hash):(this.__ownerID=l,this)};function Mr(l){return!!(l&&l[Ar])}ft.isList=Mr;var Ar="@@__IMMUTABLE_LIST__@@",Ot=ft.prototype;Ot[Ar]=!0,Ot[O]=Ot.remove,Ot.setIn=ve.setIn,Ot.deleteIn=Ot.removeIn=ve.removeIn,Ot.update=ve.update,Ot.updateIn=ve.updateIn,Ot.mergeIn=ve.mergeIn,Ot.mergeDeepIn=ve.mergeDeepIn,Ot.withMutations=ve.withMutations,Ot.asMutable=ve.asMutable,Ot.asImmutable=ve.asImmutable,Ot.wasAltered=ve.wasAltered;function vr(l,o){this.array=l,this.ownerID=o}vr.prototype.removeBefore=function(l,o,f){if(f===o?1<<o:this.array.length===0)return this;var v=f>>>o&N;if(v>=this.array.length)return new vr([],l);var h=v===0,E;if(o>0){var M=this.array[v];if(E=M&&M.removeBefore(l,o-C,f),E===M&&h)return this}if(h&&!E)return this;var I=xr(this,l);if(!h)for(var P=0;P<v;P++)I.array[P]=void 0;return E&&(I.array[v]=E),I},vr.prototype.removeAfter=function(l,o,f){if(f===(o?1<<o:0)||this.array.length===0)return this;var v=f-1>>>o&N;if(v>=this.array.length)return this;var h;if(o>0){var E=this.array[v];if(h=E&&E.removeAfter(l,o-C,f),h===E&&v===this.array.length-1)return this}var M=xr(this,l);return M.array.splice(v+1),h&&(M.array[v]=h),M};var cr={};function Ta(l,o){var f=l._origin,v=l._capacity,h=gr(v),E=l._tail;return M(l._root,l._level,0);function M(K,Z,xe){return Z===0?I(K,xe):P(K,Z,xe)}function I(K,Z){var xe=Z===h?E&&E.array:K&&K.array,Me=Z>f?0:f-Z,nt=v-Z;return nt>D&&(nt=D),function(){if(Me===nt)return cr;var ht=o?--nt:Me++;return xe&&xe[ht]}}function P(K,Z,xe){var Me,nt=K&&K.array,ht=xe>f?0:f-xe>>Z,qt=(v-xe>>Z)+1;return qt>D&&(qt=D),function(){do{if(Me){var ea=Me();if(ea!==cr)return ea;Me=null}if(ht===qt)return cr;var sa=o?--qt:ht++;Me=M(nt&&nt[sa],Z-C,xe+(sa<<Z))}while(!0)}}}function hr(l,o,f,v,h,E,M){var I=Object.create(Ot);return I.size=o-l,I._origin=l,I._capacity=o,I._level=f,I._root=v,I._tail=h,I.__ownerID=E,I.__hash=M,I.__altered=!1,I}var ga;function ma(){return ga||(ga=hr(0,0,C))}function Ia(l,o,f){if(o=X(l,o),o!==o)return l;if(o>=l.size||o<0)return l.withMutations(function(M){o<0?pr(M,o).set(0,f):pr(M,0,o+1).set(o,f)});o+=l._origin;var v=l._tail,h=l._root,E=fe(re);return o>=gr(l._capacity)?v=ba(v,l.__ownerID,0,o,f,E):h=ba(h,l.__ownerID,l._level,o,f,E),E.value?l.__ownerID?(l._root=h,l._tail=v,l.__hash=void 0,l.__altered=!0,l):hr(l._origin,l._capacity,l._level,h,v):l}function ba(l,o,f,v,h,E){var M=v>>>f&N,I=l&&M<l.array.length;if(!I&&h===void 0)return l;var P;if(f>0){var K=l&&l.array[M],Z=ba(K,o,f-C,v,h,E);return Z===K?l:(P=xr(l,o),P.array[M]=Z,P)}return I&&l.array[M]===h?l:(z(E),P=xr(l,o),h===void 0&&M===P.array.length-1?P.array.pop():P.array[M]=h,P)}function xr(l,o){return o&&l&&o===l.ownerID?l:new vr(l?l.array.slice():[],o)}function Rr(l,o){if(o>=gr(l._capacity))return l._tail;if(o<1<<l._level+C){for(var f=l._root,v=l._level;f&&v>0;)f=f.array[o>>>v&N],v-=C;return f}}function pr(l,o,f){o!==void 0&&(o=o|0),f!==void 0&&(f=f|0);var v=l.__ownerID||new j,h=l._origin,E=l._capacity,M=h+o,I=f===void 0?E:f<0?E+f:h+f;if(M===h&&I===E)return l;if(M>=I)return l.clear();for(var P=l._level,K=l._root,Z=0;M+Z<0;)K=new vr(K&&K.array.length?[void 0,K]:[],v),P+=C,Z+=1<<P;Z&&(M+=Z,h+=Z,I+=Z,E+=Z);for(var xe=gr(E),Me=gr(I);Me>=1<<P+C;)K=new vr(K&&K.array.length?[K]:[],v),P+=C;var nt=l._tail,ht=Me<xe?Rr(l,I-1):Me>xe?new vr([],v):nt;if(nt&&Me>xe&&M<E&&nt.array.length){K=xr(K,v);for(var qt=K,ea=P;ea>C;ea-=C){var sa=xe>>>ea&N;qt=qt.array[sa]=xr(qt.array[sa],v)}qt.array[xe>>>C&N]=nt}if(I<E&&(ht=ht&&ht.removeAfter(v,0,I)),M>=Me)M-=Me,I-=Me,P=C,K=null,ht=ht&&ht.removeBefore(v,0,M);else if(M>h||Me<xe){for(Z=0;K;){var El=M>>>P&N;if(El!==Me>>>P&N)break;El&&(Z+=(1<<P)*El),P-=C,K=K.array[El]}K&&M>h&&(K=K.removeBefore(v,P,M-Z)),K&&Me<xe&&(K=K.removeAfter(v,P,Me-Z)),Z&&(M-=Z,I-=Z)}return l.__ownerID?(l.size=I-M,l._origin=M,l._capacity=I,l._level=P,l._root=K,l._tail=ht,l.__hash=void 0,l.__altered=!0,l):hr(M,I,P,K,ht)}function pt(l,o,f){for(var v=[],h=0,E=0;E<f.length;E++){var M=f[E],I=s(M);I.size>h&&(h=I.size),c(M)||(I=I.map(function(P){return de(P)})),v.push(I)}return h>l.size&&(l=l.setSize(h)),La(l,o,v)}function gr(l){return l<D?0:l-1>>>C<<C}a(Ft,J);function Ft(l){return l==null?Qe():me(l)?l:Qe().withMutations(function(o){var f=i(l);Ie(f.size),f.forEach(function(v,h){return o.set(h,v)})})}Ft.of=function(){return this(arguments)},Ft.prototype.toString=function(){return this.__toString("OrderedMap {","}")},Ft.prototype.get=function(l,o){var f=this._map.get(l);return f!==void 0?this._list.get(f)[1]:o},Ft.prototype.clear=function(){return this.size===0?this:this.__ownerID?(this.size=0,this._map.clear(),this._list.clear(),this):Qe()},Ft.prototype.set=function(l,o){return Jt(this,l,o)},Ft.prototype.remove=function(l){return Jt(this,l,B)},Ft.prototype.wasAltered=function(){return this._map.wasAltered()||this._list.wasAltered()},Ft.prototype.__iterate=function(l,o){var f=this;return this._list.__iterate(function(v){return v&&l(v[1],v[0],f)},o)},Ft.prototype.__iterator=function(l,o){return this._list.fromEntrySeq().__iterator(l,o)},Ft.prototype.__ensureOwner=function(l){if(l===this.__ownerID)return this;var o=this._map.__ensureOwner(l),f=this._list.__ensureOwner(l);return l?ut(o,f,l,this.__hash):(this.__ownerID=l,this._map=o,this._list=f,this)};function me(l){return Re(l)&&p(l)}Ft.isOrderedMap=me,Ft.prototype[b]=!0,Ft.prototype[O]=Ft.prototype.remove;function ut(l,o,f,v){var h=Object.create(Ft.prototype);return h.size=l?l.size:0,h._map=l,h._list=o,h.__ownerID=f,h.__hash=v,h}var at;function Qe(){return at||(at=ut(St(),ma()))}function Jt(l,o,f){var v=l._map,h=l._list,E=v.get(o),M=E!==void 0,I,P;if(f===B){if(!M)return l;h.size>=D&&h.size>=v.size*2?(P=h.filter(function(K,Z){return K!==void 0&&E!==Z}),I=P.toKeyedSeq().map(function(K){return K[0]}).flip().toMap(),l.__ownerID&&(I.__ownerID=P.__ownerID=l.__ownerID)):(I=v.remove(o),P=E===h.size-1?h.pop():h.set(E,void 0))}else if(M){if(f===h.get(E)[1])return l;I=v,P=h.set(E,[o,f])}else I=v.set(o,h.size),P=h.set(h.size,[o,f]);return l.__ownerID?(l.size=I.size,l._map=I,l._list=P,l.__hash=void 0,l):ut(I,P)}a(bt,qe);function bt(l,o){this._iter=l,this._useKeys=o,this.size=l.size}bt.prototype.get=function(l,o){return this._iter.get(l,o)},bt.prototype.has=function(l){return this._iter.has(l)},bt.prototype.valueSeq=function(){return this._iter.valueSeq()},bt.prototype.reverse=function(){var l=this,o=Sr(this,!0);return this._useKeys||(o.valueSeq=function(){return l._iter.toSeq().reverse()}),o},bt.prototype.map=function(l,o){var f=this,v=Fr(this,l,o);return this._useKeys||(v.valueSeq=function(){return f._iter.toSeq().map(l,o)}),v},bt.prototype.__iterate=function(l,o){var f=this,v;return this._iter.__iterate(this._useKeys?function(h,E){return l(h,E,f)}:(v=o?Z0(this):0,function(h){return l(h,o?--v:v++,f)}),o)},bt.prototype.__iterator=function(l,o){if(this._useKeys)return this._iter.__iterator(l,o);var f=this._iter.__iterator(he,o),v=o?Z0(this):0;return new ue(function(){var h=f.next();return h.done?h:ke(l,o?--v:v++,h.value,h)})},bt.prototype[b]=!0,a(xt,Le);function xt(l){this._iter=l,this.size=l.size}xt.prototype.includes=function(l){return this._iter.includes(l)},xt.prototype.__iterate=function(l,o){var f=this,v=0;return this._iter.__iterate(function(h){return l(h,v++,f)},o)},xt.prototype.__iterator=function(l,o){var f=this._iter.__iterator(he,o),v=0;return new ue(function(){var h=f.next();return h.done?h:ke(l,v++,h.value,h)})},a(Vt,_t);function Vt(l){this._iter=l,this.size=l.size}Vt.prototype.has=function(l){return this._iter.includes(l)},Vt.prototype.__iterate=function(l,o){var f=this;return this._iter.__iterate(function(v){return l(v,v,f)},o)},Vt.prototype.__iterator=function(l,o){var f=this._iter.__iterator(he,o);return new ue(function(){var v=f.next();return v.done?v:ke(l,v.value,v.value,v)})},a(ar,qe);function ar(l){this._iter=l,this.size=l.size}ar.prototype.entrySeq=function(){return this._iter.toSeq()},ar.prototype.__iterate=function(l,o){var f=this;return this._iter.__iterate(function(v){if(v){q0(v);var h=c(v);return l(h?v.get(1):v[1],h?v.get(0):v[0],f)}},o)},ar.prototype.__iterator=function(l,o){var f=this._iter.__iterator(he,o);return new ue(function(){for(;;){var v=f.next();if(v.done)return v;var h=v.value;if(h){q0(h);var E=c(h);return ke(l,E?h.get(0):h[0],E?h.get(1):h[1],v)}}})},xt.prototype.cacheResult=bt.prototype.cacheResult=Vt.prototype.cacheResult=ar.prototype.cacheResult=di;function Lr(l){var o=la(l);return o._iter=l,o.size=l.size,o.flip=function(){return l},o.reverse=function(){var f=l.reverse.apply(this);return f.flip=function(){return l.reverse()},f},o.has=function(f){return l.includes(f)},o.includes=function(f){return l.has(f)},o.cacheResult=di,o.__iterateUncached=function(f,v){var h=this;return l.__iterate(function(E,M){return f(M,E,h)!==!1},v)},o.__iteratorUncached=function(f,v){if(f===T){var h=l.__iterator(f,v);return new ue(function(){var E=h.next();if(!E.done){var M=E.value[0];E.value[0]=E.value[1],E.value[1]=M}return E})}return l.__iterator(f===he?Ce:he,v)},o}function Fr(l,o,f){var v=la(l);return v.size=l.size,v.has=function(h){return l.has(h)},v.get=function(h,E){var M=l.get(h,B);return M===B?E:o.call(f,M,h,l)},v.__iterateUncached=function(h,E){var M=this;return l.__iterate(function(I,P,K){return h(o.call(f,I,P,K),P,M)!==!1},E)},v.__iteratorUncached=function(h,E){var M=l.__iterator(T,E);return new ue(function(){var I=M.next();if(I.done)return I;var P=I.value,K=P[0];return ke(h,K,o.call(f,P[1],K,l),I)})},v}function Sr(l,o){var f=la(l);return f._iter=l,f.size=l.size,f.reverse=function(){return l},l.flip&&(f.flip=function(){var v=Lr(l);return v.reverse=function(){return l.flip()},v}),f.get=function(v,h){return l.get(o?v:-1-v,h)},f.has=function(v){return l.has(o?v:-1-v)},f.includes=function(v){return l.includes(v)},f.cacheResult=di,f.__iterate=function(v,h){var E=this;return l.__iterate(function(M,I){return v(M,I,E)},!h)},f.__iterator=function(v,h){return l.__iterator(v,!h)},f}function ae(l,o,f,v){var h=la(l);return v&&(h.has=function(E){var M=l.get(E,B);return M!==B&&!!o.call(f,M,E,l)},h.get=function(E,M){var I=l.get(E,B);return I!==B&&o.call(f,I,E,l)?I:M}),h.__iterateUncached=function(E,M){var I=this,P=0;return l.__iterate(function(K,Z,xe){if(o.call(f,K,Z,xe))return P++,E(K,v?Z:P-1,I)},M),P},h.__iteratorUncached=function(E,M){var I=l.__iterator(T,M),P=0;return new ue(function(){for(;;){var K=I.next();if(K.done)return K;var Z=K.value,xe=Z[0],Me=Z[1];if(o.call(f,Me,xe,l))return ke(E,v?xe:P++,Me,K)}})},h}function Ge(l,o,f){var v=J().asMutable();return l.__iterate(function(h,E){v.update(o.call(f,h,E,l),0,function(M){return M+1})}),v.asImmutable()}function Et(l,o,f){var v=d(l),h=(p(l)?Ft():J()).asMutable();l.__iterate(function(M,I){h.update(o.call(f,M,I,l),function(P){return P=P||[],P.push(v?[I,M]:M),P})});var E=G0(l);return h.map(function(M){return jt(l,E(M))})}function or(l,o,f,v){var h=l.size;if(o!==void 0&&(o=o|0),f!==void 0&&(f=f|0),we(o,f,h))return l;var E=be(o,h),M=ce(f,h);if(E!==E||M!==M)return or(l.toSeq().cacheResult(),o,f,v);var I=M-E,P;I===I&&(P=I<0?0:I);var K=la(l);return K.size=P===0?P:l.size&&P||void 0,!v&&zt(l)&&P>=0&&(K.get=function(Z,xe){return Z=X(this,Z),Z>=0&&Z<P?l.get(Z+E,xe):xe}),K.__iterateUncached=function(Z,xe){var Me=this;if(P===0)return 0;if(xe)return this.cacheResult().__iterate(Z,xe);var nt=0,ht=!0,qt=0;return l.__iterate(function(ea,sa){if(!(ht&&(ht=nt++<E)))return qt++,Z(ea,v?sa:qt-1,Me)!==!1&&qt!==P}),qt},K.__iteratorUncached=function(Z,xe){if(P!==0&&xe)return this.cacheResult().__iterator(Z,xe);var Me=P!==0&&l.__iterator(Z,xe),nt=0,ht=0;return new ue(function(){for(;nt++<E;)Me.next();if(++ht>P)return Ve();var qt=Me.next();return v||Z===he?qt:Z===Ce?ke(Z,ht-1,void 0,qt):ke(Z,ht-1,qt.value[1],qt)})},K}function Er(l,o,f){var v=la(l);return v.__iterateUncached=function(h,E){var M=this;if(E)return this.cacheResult().__iterate(h,E);var I=0;return l.__iterate(function(P,K,Z){return o.call(f,P,K,Z)&&++I&&h(P,K,M)}),I},v.__iteratorUncached=function(h,E){var M=this;if(E)return this.cacheResult().__iterator(h,E);var I=l.__iterator(T,E),P=!0;return new ue(function(){if(!P)return Ve();var K=I.next();if(K.done)return K;var Z=K.value,xe=Z[0],Me=Z[1];return o.call(f,Me,xe,M)?h===T?K:ke(h,xe,Me,K):(P=!1,Ve())})},v}function lr(l,o,f,v){var h=la(l);return h.__iterateUncached=function(E,M){var I=this;if(M)return this.cacheResult().__iterate(E,M);var P=!0,K=0;return l.__iterate(function(Z,xe,Me){if(!(P&&(P=o.call(f,Z,xe,Me))))return K++,E(Z,v?xe:K-1,I)}),K},h.__iteratorUncached=function(E,M){var I=this;if(M)return this.cacheResult().__iterator(E,M);var P=l.__iterator(T,M),K=!0,Z=0;return new ue(function(){var xe,Me,nt;do{if(xe=P.next(),xe.done)return v||E===he?xe:E===Ce?ke(E,Z++,void 0,xe):ke(E,Z++,xe.value[1],xe);var ht=xe.value;Me=ht[0],nt=ht[1],K&&(K=o.call(f,nt,Me,I))}while(K);return E===T?xe:ke(E,Me,nt,xe)})},h}function kr(l,o){var f=d(l),v=[l].concat(o).map(function(M){return c(M)?f&&(M=i(M)):M=f?y(M):L(Array.isArray(M)?M:[M]),M}).filter(function(M){return M.size!==0});if(v.length===0)return l;if(v.length===1){var h=v[0];if(h===l||f&&d(h)||g(l)&&g(h))return h}var E=new gt(v);return f?E=E.toKeyedSeq():g(l)||(E=E.toSetSeq()),E=E.flatten(!0),E.size=v.reduce(function(M,I){if(M!==void 0){var P=I.size;if(P!==void 0)return M+P}},0),E}function Ba(l,o,f){var v=la(l);return v.__iterateUncached=function(h,E){var M=0,I=!1;function P(K,Z){var xe=this;K.__iterate(function(Me,nt){return(!o||Z<o)&&c(Me)?P(Me,Z+1):h(Me,f?nt:M++,xe)===!1&&(I=!0),!I},E)}return P(l,0),M},v.__iteratorUncached=function(h,E){var M=l.__iterator(h,E),I=[],P=0;return new ue(function(){for(;M;){var K=M.next();if(K.done!==!1){M=I.pop();continue}var Z=K.value;if(h===T&&(Z=Z[1]),(!o||I.length<o)&&c(Z))I.push(M),M=Z.__iterator(h,E);else return f?K:ke(h,P++,Z,K)}return Ve()})},v}function rn(l,o,f){var v=G0(l);return l.toSeq().map(function(h,E){return v(o.call(f,h,E,l))}).flatten(!0)}function Bt(l,o){var f=la(l);return f.size=l.size&&l.size*2-1,f.__iterateUncached=function(v,h){var E=this,M=0;return l.__iterate(function(I,P){return(!M||v(o,M++,E)!==!1)&&v(I,M++,E)!==!1},h),M},f.__iteratorUncached=function(v,h){var E=l.__iterator(he,h),M=0,I;return new ue(function(){return(!I||M%2)&&(I=E.next(),I.done)?I:M%2?ke(v,M++,o):ke(v,M++,I.value,I)})},f}function Kr(l,o,f){o||(o=J0);var v=d(l),h=0,E=l.toSeq().map(function(M,I){return[I,M,h++,f?f(M,I,l):M]}).toArray();return E.sort(function(M,I){return o(M[3],I[3])||M[2]-I[2]}).forEach(v?function(M,I){E[I].length=2}:function(M,I){E[I]=M[1]}),v?qe(E):g(l)?Le(E):_t(E)}function an(l,o,f){if(o||(o=J0),f){var v=l.toSeq().map(function(h,E){return[h,f(h,E,l)]}).reduce(function(h,E){return wl(o,h[1],E[1])?E:h});return v&&v[0]}else return l.reduce(function(h,E){return wl(o,h,E)?E:h})}function wl(l,o,f){var v=l(f,o);return v===0&&f!==o&&(f==null||f!==f)||v>0}function Pn(l,o,f){var v=la(l);return v.size=new gt(f).map(function(h){return h.size}).min(),v.__iterate=function(h,E){for(var M=this.__iterator(he,E),I,P=0;!(I=M.next()).done&&h(I.value,P++,this)!==!1;);return P},v.__iteratorUncached=function(h,E){var M=f.map(function(K){return K=r(K),ot(E?K.reverse():K)}),I=0,P=!1;return new ue(function(){var K;return P||(K=M.map(function(Z){return Z.next()}),P=K.some(function(Z){return Z.done})),P?Ve():ke(h,I++,o.apply(null,K.map(function(Z){return Z.value})))})},v}function jt(l,o){return zt(l)?o:l.constructor(o)}function q0(l){if(l!==Object(l))throw new TypeError("Expected [K, V] tuple: "+l)}function Z0(l){return Ie(l.size),le(l)}function G0(l){return d(l)?i:g(l)?s:u}function la(l){return Object.create((d(l)?qe:g(l)?Le:_t).prototype)}function di(){return this._iter.cacheResult?(this._iter.cacheResult(),this.size=this._iter.size,this):tt.prototype.cacheResult.call(this)}function J0(l,o){return l>o?1:l<o?-1:0}function X0(l){var o=ot(l);if(!o){if(!yt(l))throw new TypeError("Expected iterable or array-like: "+l);o=ot(r(l))}return o}a(jr,ct);function jr(l,o){var f,v=function(M){if(M instanceof v)return M;if(!(this instanceof v))return new v(M);if(!f){f=!0;var I=Object.keys(l);vc(h,I),h.size=I.length,h._name=o,h._keys=I,h._defaultValues=l}this._map=J(M)},h=v.prototype=Object.create(mr);return h.constructor=v,v}jr.prototype.toString=function(){return this.__toString(Q0(this)+" {","}")},jr.prototype.has=function(l){return this._defaultValues.hasOwnProperty(l)},jr.prototype.get=function(l,o){if(!this.has(l))return o;var f=this._defaultValues[l];return this._map?this._map.get(l,f):f},jr.prototype.clear=function(){if(this.__ownerID)return this._map&&this._map.clear(),this;var l=this.constructor;return l._empty||(l._empty=xl(this,St()))},jr.prototype.set=function(l,o){if(!this.has(l))throw new Error('Cannot set unknown key "'+l+'" on '+Q0(this));var f=this._map&&this._map.set(l,o);return this.__ownerID||f===this._map?this:xl(this,f)},jr.prototype.remove=function(l){if(!this.has(l))return this;var o=this._map&&this._map.remove(l);return this.__ownerID||o===this._map?this:xl(this,o)},jr.prototype.wasAltered=function(){return this._map.wasAltered()},jr.prototype.__iterator=function(l,o){var f=this;return i(this._defaultValues).map(function(v,h){return f.get(h)}).__iterator(l,o)},jr.prototype.__iterate=function(l,o){var f=this;return i(this._defaultValues).map(function(v,h){return f.get(h)}).__iterate(l,o)},jr.prototype.__ensureOwner=function(l){if(l===this.__ownerID)return this;var o=this._map&&this._map.__ensureOwner(l);return l?xl(this,o,l):(this.__ownerID=l,this._map=o,this)};var mr=jr.prototype;mr[O]=mr.remove,mr.deleteIn=mr.removeIn=ve.removeIn,mr.merge=ve.merge,mr.mergeWith=ve.mergeWith,mr.mergeIn=ve.mergeIn,mr.mergeDeep=ve.mergeDeep,mr.mergeDeepWith=ve.mergeDeepWith,mr.mergeDeepIn=ve.mergeDeepIn,mr.setIn=ve.setIn,mr.update=ve.update,mr.updateIn=ve.updateIn,mr.withMutations=ve.withMutations,mr.asMutable=ve.asMutable,mr.asImmutable=ve.asImmutable;function xl(l,o,f){var v=Object.create(Object.getPrototypeOf(l));return v._map=o,v.__ownerID=f,v}function Q0(l){return l._name||l.constructor.name||"Record"}function vc(l,o){try{o.forEach(pc.bind(void 0,l))}catch{}}function pc(l,o){Object.defineProperty(l,o,{get:function(){return this.get(o)},set:function(f){Ze(this.__ownerID,"Cannot set on an immutable record."),this.set(o,f)}})}a(Wt,mt);function Wt(l){return l==null?hi():vi(l)&&!p(l)?l:hi().withMutations(function(o){var f=u(l);Ie(f.size),f.forEach(function(v){return o.add(v)})})}Wt.of=function(){return this(arguments)},Wt.fromKeys=function(l){return this(i(l).keySeq())},Wt.prototype.toString=function(){return this.__toString("Set {","}")},Wt.prototype.has=function(l){return this._map.has(l)},Wt.prototype.add=function(l){return pi(this,this._map.set(l,!0))},Wt.prototype.remove=function(l){return pi(this,this._map.remove(l))},Wt.prototype.clear=function(){return pi(this,this._map.clear())},Wt.prototype.union=function(){var l=n.call(arguments,0);return l=l.filter(function(o){return o.size!==0}),l.length===0?this:this.size===0&&!this.__ownerID&&l.length===1?this.constructor(l[0]):this.withMutations(function(o){for(var f=0;f<l.length;f++)u(l[f]).forEach(function(v){return o.add(v)})})},Wt.prototype.intersect=function(){var l=n.call(arguments,0);if(l.length===0)return this;l=l.map(function(f){return u(f)});var o=this;return this.withMutations(function(f){o.forEach(function(v){l.every(function(h){return h.includes(v)})||f.remove(v)})})},Wt.prototype.subtract=function(){var l=n.call(arguments,0);if(l.length===0)return this;l=l.map(function(f){return u(f)});var o=this;return this.withMutations(function(f){o.forEach(function(v){l.some(function(h){return h.includes(v)})&&f.remove(v)})})},Wt.prototype.merge=function(){return this.union.apply(this,arguments)},Wt.prototype.mergeWith=function(l){var o=n.call(arguments,1);return this.union.apply(this,o)},Wt.prototype.sort=function(l){return ia(Kr(this,l))},Wt.prototype.sortBy=function(l,o){return ia(Kr(this,o,l))},Wt.prototype.wasAltered=function(){return this._map.wasAltered()},Wt.prototype.__iterate=function(l,o){var f=this;return this._map.__iterate(function(v,h){return l(h,h,f)},o)},Wt.prototype.__iterator=function(l,o){return this._map.map(function(f,v){return v}).__iterator(l,o)},Wt.prototype.__ensureOwner=function(l){if(l===this.__ownerID)return this;var o=this._map.__ensureOwner(l);return l?this.__make(o,l):(this.__ownerID=l,this._map=o,this)};function vi(l){return!!(l&&l[eo])}Wt.isSet=vi;var eo="@@__IMMUTABLE_SET__@@",Pr=Wt.prototype;Pr[eo]=!0,Pr[O]=Pr.remove,Pr.mergeDeep=Pr.merge,Pr.mergeDeepWith=Pr.mergeWith,Pr.withMutations=ve.withMutations,Pr.asMutable=ve.asMutable,Pr.asImmutable=ve.asImmutable,Pr.__empty=hi,Pr.__make=to;function pi(l,o){return l.__ownerID?(l.size=o.size,l._map=o,l):o===l._map?l:o.size===0?l.__empty():l.__make(o)}function to(l,o){var f=Object.create(Pr);return f.size=l?l.size:0,f._map=l,f.__ownerID=o,f}var ro;function hi(){return ro||(ro=to(St()))}a(ia,Wt);function ia(l){return l==null?gi():ao(l)?l:gi().withMutations(function(o){var f=u(l);Ie(f.size),f.forEach(function(v){return o.add(v)})})}ia.of=function(){return this(arguments)},ia.fromKeys=function(l){return this(i(l).keySeq())},ia.prototype.toString=function(){return this.__toString("OrderedSet {","}")};function ao(l){return vi(l)&&p(l)}ia.isOrderedSet=ao;var Cl=ia.prototype;Cl[b]=!0,Cl.__empty=gi,Cl.__make=no;function no(l,o){var f=Object.create(Cl);return f.size=l?l.size:0,f._map=l,f.__ownerID=o,f}var lo;function gi(){return lo||(lo=no(Qe()))}a(sr,st);function sr(l){return l==null?mi():io(l)?l:mi().unshiftAll(l)}sr.of=function(){return this(arguments)},sr.prototype.toString=function(){return this.__toString("Stack [","]")},sr.prototype.get=function(l,o){var f=this._head;for(l=X(this,l);f&&l--;)f=f.next;return f?f.value:o},sr.prototype.peek=function(){return this._head&&this._head.value},sr.prototype.push=function(){if(arguments.length===0)return this;for(var l=this.size+arguments.length,o=this._head,f=arguments.length-1;f>=0;f--)o={value:arguments[f],next:o};return this.__ownerID?(this.size=l,this._head=o,this.__hash=void 0,this.__altered=!0,this):$n(l,o)},sr.prototype.pushAll=function(l){if(l=s(l),l.size===0)return this;Ie(l.size);var o=this.size,f=this._head;return l.reverse().forEach(function(v){o++,f={value:v,next:f}}),this.__ownerID?(this.size=o,this._head=f,this.__hash=void 0,this.__altered=!0,this):$n(o,f)},sr.prototype.pop=function(){return this.slice(1)},sr.prototype.unshift=function(){return this.push.apply(this,arguments)},sr.prototype.unshiftAll=function(l){return this.pushAll(l)},sr.prototype.shift=function(){return this.pop.apply(this,arguments)},sr.prototype.clear=function(){return this.size===0?this:this.__ownerID?(this.size=0,this._head=void 0,this.__hash=void 0,this.__altered=!0,this):mi()},sr.prototype.slice=function(l,o){if(we(l,o,this.size))return this;var f=be(l,this.size),v=ce(o,this.size);if(v!==this.size)return st.prototype.slice.call(this,l,o);for(var h=this.size-f,E=this._head;f--;)E=E.next;return this.__ownerID?(this.size=h,this._head=E,this.__hash=void 0,this.__altered=!0,this):$n(h,E)},sr.prototype.__ensureOwner=function(l){return l===this.__ownerID?this:l?$n(this.size,this._head,l,this.__hash):(this.__ownerID=l,this.__altered=!1,this)},sr.prototype.__iterate=function(l,o){if(o)return this.reverse().__iterate(l);for(var f=0,v=this._head;v&&l(v.value,f++,this)!==!1;)v=v.next;return f},sr.prototype.__iterator=function(l,o){if(o)return this.reverse().__iterator(l);var f=0,v=this._head;return new ue(function(){if(v){var h=v.value;return v=v.next,ke(l,f++,h)}return Ve()})};function io(l){return!!(l&&l[oo])}sr.isStack=io;var oo="@@__IMMUTABLE_STACK__@@",wn=sr.prototype;wn[oo]=!0,wn.withMutations=ve.withMutations,wn.asMutable=ve.asMutable,wn.asImmutable=ve.asImmutable,wn.wasAltered=ve.wasAltered;function $n(l,o,f,v){var h=Object.create(wn);return h.size=l,h._head=o,h.__ownerID=f,h.__hash=v,h.__altered=!1,h}var so;function mi(){return so||(so=$n(0))}function oa(l,o){var f=function(v){l.prototype[v]=o[v]};return Object.keys(o).forEach(f),Object.getOwnPropertySymbols&&Object.getOwnPropertySymbols(o).forEach(f),l}r.Iterator=ue,oa(r,{toArray:function(){Ie(this.size);var l=new Array(this.size||0);return this.valueSeq().__iterate(function(o,f){l[f]=o}),l},toIndexedSeq:function(){return new xt(this)},toJS:function(){return this.toSeq().map(function(l){return l&&typeof l.toJS=="function"?l.toJS():l}).__toJS()},toJSON:function(){return this.toSeq().map(function(l){return l&&typeof l.toJSON=="function"?l.toJSON():l}).__toJS()},toKeyedSeq:function(){return new bt(this,!0)},toMap:function(){return J(this.toKeyedSeq())},toObject:function(){Ie(this.size);var l={};return this.__iterate(function(o,f){l[f]=o}),l},toOrderedMap:function(){return Ft(this.toKeyedSeq())},toOrderedSet:function(){return ia(d(this)?this.valueSeq():this)},toSet:function(){return Wt(d(this)?this.valueSeq():this)},toSetSeq:function(){return new Vt(this)},toSeq:function(){return g(this)?this.toIndexedSeq():d(this)?this.toKeyedSeq():this.toSetSeq()},toStack:function(){return sr(d(this)?this.valueSeq():this)},toList:function(){return ft(d(this)?this.valueSeq():this)},toString:function(){return"[Iterable]"},__toString:function(l,o){return this.size===0?l+o:l+" "+this.toSeq().map(this.__toStringMapper).join(", ")+" "+o},concat:function(){var l=n.call(arguments,0);return jt(this,kr(this,l))},includes:function(l){return this.some(function(o){return Q(o,l)})},entries:function(){return this.__iterator(T)},every:function(l,o){Ie(this.size);var f=!0;return this.__iterate(function(v,h,E){if(!l.call(o,v,h,E))return f=!1,!1}),f},filter:function(l,o){return jt(this,ae(this,l,o,!0))},find:function(l,o,f){var v=this.findEntry(l,o);return v?v[1]:f},findEntry:function(l,o){var f;return this.__iterate(function(v,h,E){if(l.call(o,v,h,E))return f=[h,v],!1}),f},findLastEntry:function(l,o){return this.toSeq().reverse().findEntry(l,o)},forEach:function(l,o){return Ie(this.size),this.__iterate(o?l.bind(o):l)},join:function(l){Ie(this.size),l=l!==void 0?""+l:",";var o="",f=!0;return this.__iterate(function(v){f?f=!1:o+=l,o+=v!=null?v.toString():""}),o},keys:function(){return this.__iterator(Ce)},map:function(l,o){return jt(this,Fr(this,l,o))},reduce:function(l,o,f){Ie(this.size);var v,h;return arguments.length<2?h=!0:v=o,this.__iterate(function(E,M,I){h?(h=!1,v=E):v=l.call(f,v,E,M,I)}),v},reduceRight:function(l,o,f){var v=this.toKeyedSeq().reverse();return v.reduce.apply(v,arguments)},reverse:function(){return jt(this,Sr(this,!0))},slice:function(l,o){return jt(this,or(this,l,o,!0))},some:function(l,o){return!this.every(Sl(l),o)},sort:function(l){return jt(this,Kr(this,l))},values:function(){return this.__iterator(he)},butLast:function(){return this.slice(0,-1)},isEmpty:function(){return this.size!==void 0?this.size===0:!this.some(function(){return!0})},count:function(l,o){return le(l?this.toSeq().filter(l,o):this)},countBy:function(l,o){return Ge(this,l,o)},equals:function(l){return Se(this,l)},entrySeq:function(){var l=this;if(l._cache)return new gt(l._cache);var o=l.toSeq().map(gc).toIndexedSeq();return o.fromEntrySeq=function(){return l.toSeq()},o},filterNot:function(l,o){return this.filter(Sl(l),o)},findLast:function(l,o,f){return this.toKeyedSeq().reverse().find(l,o,f)},first:function(){return this.find(se)},flatMap:function(l,o){return jt(this,rn(this,l,o))},flatten:function(l){return jt(this,Ba(this,l,!0))},fromEntrySeq:function(){return new ar(this)},get:function(l,o){return this.find(function(f,v){return Q(v,l)},void 0,o)},getIn:function(l,o){for(var f=this,v=X0(l),h;!(h=v.next()).done;){var E=h.value;if(f=f&&f.get?f.get(E,B):B,f===B)return o}return f},groupBy:function(l,o){return Et(this,l,o)},has:function(l){return this.get(l,B)!==B},hasIn:function(l){return this.getIn(l,B)!==B},isSubset:function(l){return l=typeof l.includes=="function"?l:r(l),this.every(function(o){return l.includes(o)})},isSuperset:function(l){return l=typeof l.isSubset=="function"?l:r(l),l.isSubset(this)},keySeq:function(){return this.toSeq().map(hc).toIndexedSeq()},last:function(){return this.toSeq().reverse().first()},max:function(l){return an(this,l)},maxBy:function(l,o){return an(this,o,l)},min:function(l){return an(this,l?uo(l):fo)},minBy:function(l,o){return an(this,o?uo(o):fo,l)},rest:function(){return this.slice(1)},skip:function(l){return this.slice(Math.max(0,l))},skipLast:function(l){return jt(this,this.toSeq().reverse().skip(l).reverse())},skipWhile:function(l,o){return jt(this,lr(this,l,o,!0))},skipUntil:function(l,o){return this.skipWhile(Sl(l),o)},sortBy:function(l,o){return jt(this,Kr(this,o,l))},take:function(l){return this.slice(0,Math.max(0,l))},takeLast:function(l){return jt(this,this.toSeq().reverse().take(l).reverse())},takeWhile:function(l,o){return jt(this,Er(this,l,o))},takeUntil:function(l,o){return this.takeWhile(Sl(l),o)},valueSeq:function(){return this.toIndexedSeq()},hashCode:function(){return this.__hash||(this.__hash=bc(this))}});var Cr=r.prototype;Cr[m]=!0,Cr[je]=Cr.values,Cr.__toJS=Cr.toArray,Cr.__toStringMapper=co,Cr.inspect=Cr.toSource=function(){return this.toString()},Cr.chain=Cr.flatMap,Cr.contains=Cr.includes,function(){try{Object.defineProperty(Cr,"length",{get:function(){if(!r.noLengthWarning){var l;try{throw new Error}catch(o){l=o.stack}if(l.indexOf("_wrapObject")===-1)return console&&console.warn&&console.warn("iterable.length has been deprecated, use iterable.size or iterable.count(). This warning will become a silent error in a future version. "+l),this.size}}})}catch{}}(),oa(i,{flip:function(){return jt(this,Lr(this))},findKey:function(l,o){var f=this.findEntry(l,o);return f&&f[0]},findLastKey:function(l,o){return this.toSeq().reverse().findKey(l,o)},keyOf:function(l){return this.findKey(function(o){return Q(o,l)})},lastKeyOf:function(l){return this.findLastKey(function(o){return Q(o,l)})},mapEntries:function(l,o){var f=this,v=0;return jt(this,this.toSeq().map(function(h,E){return l.call(o,[E,h],v++,f)}).fromEntrySeq())},mapKeys:function(l,o){var f=this;return jt(this,this.toSeq().flip().map(function(v,h){return l.call(o,v,h,f)}).flip())}});var _l=i.prototype;_l[x]=!0,_l[je]=Cr.entries,_l.__toJS=Cr.toObject,_l.__toStringMapper=function(l,o){return JSON.stringify(o)+": "+co(l)},oa(s,{toKeyedSeq:function(){return new bt(this,!1)},filter:function(l,o){return jt(this,ae(this,l,o,!1))},findIndex:function(l,o){var f=this.findEntry(l,o);return f?f[0]:-1},indexOf:function(l){var o=this.toKeyedSeq().keyOf(l);return o===void 0?-1:o},lastIndexOf:function(l){var o=this.toKeyedSeq().reverse().keyOf(l);return o===void 0?-1:o},reverse:function(){return jt(this,Sr(this,!1))},slice:function(l,o){return jt(this,or(this,l,o,!1))},splice:function(l,o){var f=arguments.length;if(o=Math.max(o|0,0),f===0||f===2&&!o)return this;l=be(l,l<0?this.count():this.size);var v=this.slice(0,l);return jt(this,f===1?v:v.concat(Y(arguments,2),this.slice(l+o)))},findLastIndex:function(l,o){var f=this.toKeyedSeq().findLastKey(l,o);return f===void 0?-1:f},first:function(){return this.get(0)},flatten:function(l){return jt(this,Ba(this,l,!1))},get:function(l,o){return l=X(this,l),l<0||this.size===1/0||this.size!==void 0&&l>this.size?o:this.find(function(f,v){return v===l},void 0,o)},has:function(l){return l=X(this,l),l>=0&&(this.size!==void 0?this.size===1/0||l<this.size:this.indexOf(l)!==-1)},interpose:function(l){return jt(this,Bt(this,l))},interleave:function(){var l=[this].concat(Y(arguments)),o=Pn(this.toSeq(),Le.of,l),f=o.flatten(!0);return o.size&&(f.size=o.size*l.length),jt(this,f)},last:function(){return this.get(-1)},skipWhile:function(l,o){return jt(this,lr(this,l,o,!1))},zip:function(){var l=[this].concat(Y(arguments));return jt(this,Pn(this,mc,l))},zipWith:function(l){var o=Y(arguments);return o[0]=this,jt(this,Pn(this,l,o))}}),s.prototype[_]=!0,s.prototype[b]=!0,oa(u,{get:function(l,o){return this.has(l)?l:o},includes:function(l){return this.has(l)},keySeq:function(){return this.valueSeq()}}),u.prototype.has=Cr.includes,oa(qe,i.prototype),oa(Le,s.prototype),oa(_t,u.prototype),oa(ct,i.prototype),oa(st,s.prototype),oa(mt,u.prototype);function hc(l,o){return o}function gc(l,o){return[o,l]}function Sl(l){return function(){return!l.apply(this,arguments)}}function uo(l){return function(){return-l.apply(this,arguments)}}function co(l){return typeof l=="string"?JSON.stringify(l):l}function mc(){return Y(arguments)}function fo(l,o){return l<o?1:l>o?-1:0}function bc(l){if(l.size===1/0)return 0;var o=p(l),f=d(l),v=o?1:0,h=l.__iterate(f?o?function(E,M){v=31*v+vo(rt(E),rt(M))|0}:function(E,M){v=v+vo(rt(E),rt(M))|0}:o?function(E){v=31*v+rt(E)|0}:function(E){v=v+rt(E)|0});return yc(h,v)}function yc(l,o){return o=dt(o,3432918353),o=dt(o<<15|o>>>-15,461845907),o=dt(o<<13|o>>>-13,5),o=(o+3864292196|0)^l,o=dt(o^o>>>16,2246822507),o=dt(o^o>>>13,3266489909),o=Ye(o^o>>>16),o}function vo(l,o){return l^o+2654435769+(l<<6)+(l>>2)|0}var wc={Iterable:r,Seq:tt,Collection:Pe,Map:J,OrderedMap:Ft,List:ft,Stack:sr,Set:Wt,OrderedSet:ia,Record:jr,Range:_e,Repeat:ne,is:Q,fromJS:de};return wc})})(n1);var kt=n1.exports,O5=kt,M5=O5.OrderedMap,L5={createFromArray:function(t){return M5(t.map(function(n){return[n.getKey(),n]}))}},fl=L5;function N5(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}var S0=kt,n0=S0.Map,l0=S0.OrderedSet,T5=S0.Record,l1=l0(),i1={style:l1,entity:null},I5=T5(i1),E0=function(e){N5(t,e);function t(){return e.apply(this,arguments)||this}var n=t.prototype;return n.getStyle=function(){return this.get("style")},n.getEntity=function(){return this.get("entity")},n.hasStyle=function(r){return this.getStyle().includes(r)},t.applyStyle=function(r,i){var s=r.set("style",r.getStyle().add(i));return t.create(s)},t.removeStyle=function(r,i){var s=r.set("style",r.getStyle().remove(i));return t.create(s)},t.applyEntity=function(r,i){var s=r.getEntity()===i?r:r.set("entity",i);return t.create(s)},t.create=function(r){if(!r)return k0;var i={style:l1,entity:null},s=n0(i).merge(r),u=Si.get(s);if(u)return u;var c=new t(s);return Si=Si.set(s,c),c},t.fromJS=function(r){var i=r.style,s=r.entity;return new t({style:Array.isArray(i)?l0(i):i,entity:Array.isArray(s)?l0(s):s})},t}(I5),k0=new E0,Si=n0([[n0(i1),k0]]);E0.EMPTY=k0;var Gr=E0;function B5(e,t,n,a){if(e.size){var r=0;e.reduce(function(i,s,u){return t(i,s)||(n(i)&&a(r,u),r=u),s}),n(e.last())&&a(r,e.count())}}var dl=B5;function A5(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}var R5=Gr,Do=dl,vl=kt,o1=vl.List,F5=vl.Map,j5=vl.OrderedSet,P5=vl.Record,$5=vl.Repeat,K5=j5(),z5={key:"",type:"unstyled",text:"",characterList:o1(),depth:0,data:F5()},H5=P5(z5),V5=function(t){if(!t)return t;var n=t.characterList,a=t.text;return a&&!n&&(t.characterList=o1($5(R5.EMPTY,a.length))),t},U5=function(e){A5(t,e);function t(a){return e.call(this,V5(a))||this}var n=t.prototype;return n.getKey=function(){return this.get("key")},n.getType=function(){return this.get("type")},n.getText=function(){return this.get("text")},n.getCharacterList=function(){return this.get("characterList")},n.getLength=function(){return this.getText().length},n.getDepth=function(){return this.get("depth")},n.getData=function(){return this.get("data")},n.getInlineStyleAt=function(r){var i=this.getCharacterList().get(r);return i?i.getStyle():K5},n.getEntityAt=function(r){var i=this.getCharacterList().get(r);return i?i.getEntity():null},n.findStyleRanges=function(r,i){Do(this.getCharacterList(),Y5,r,i)},n.findEntityRanges=function(r,i){Do(this.getCharacterList(),W5,r,i)},t}(H5);function Y5(e,t){return e.getStyle()===t.getStyle()}function W5(e,t){return e.getEntity()===t.getEntity()}var pn=U5;function q5(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}var Z5=Gr,Oo=dl,pl=kt,i0=pl.List,G5=pl.Map,J5=pl.OrderedSet,X5=pl.Record,Q5=pl.Repeat,ed=J5(),Mo={parent:null,characterList:i0(),data:G5(),depth:0,key:"",text:"",type:"unstyled",children:i0(),prevSibling:null,nextSibling:null},td=function(t,n){return t.getStyle()===n.getStyle()},rd=function(t,n){return t.getEntity()===n.getEntity()},ad=function(t){if(!t)return t;var n=t.characterList,a=t.text;return a&&!n&&(t.characterList=i0(Q5(Z5.EMPTY,a.length))),t},nd=function(e){q5(t,e);function t(){var a=arguments.length>0&&arguments[0]!==void 0?arguments[0]:Mo;return e.call(this,ad(a))||this}var n=t.prototype;return n.getKey=function(){return this.get("key")},n.getType=function(){return this.get("type")},n.getText=function(){return this.get("text")},n.getCharacterList=function(){return this.get("characterList")},n.getLength=function(){return this.getText().length},n.getDepth=function(){return this.get("depth")},n.getData=function(){return this.get("data")},n.getInlineStyleAt=function(r){var i=this.getCharacterList().get(r);return i?i.getStyle():ed},n.getEntityAt=function(r){var i=this.getCharacterList().get(r);return i?i.getEntity():null},n.getChildKeys=function(){return this.get("children")},n.getParentKey=function(){return this.get("parent")},n.getPrevSiblingKey=function(){return this.get("prevSibling")},n.getNextSiblingKey=function(){return this.get("nextSibling")},n.findStyleRanges=function(r,i){Oo(this.getCharacterList(),td,r,i)},n.findEntityRanges=function(r,i){Oo(this.getCharacterList(),rd,r,i)},t}(X5(Mo)),Jr=nd,Lo=Gr,ld=kt,id=ld.Map,od={add:function(t,n,a){return No(t,n,a,!0)},remove:function(t,n,a){return No(t,n,a,!1)}};function No(e,t,n,a){var r=e.getBlockMap(),i=t.getStartKey(),s=t.getStartOffset(),u=t.getEndKey(),c=t.getEndOffset(),d=r.skipUntil(function(g,S){return S===i}).takeUntil(function(g,S){return S===u}).concat(id([[u,r.get(u)]])).map(function(g,S){var p,m;i===u?(p=s,m=c):(p=S===i?s:0,m=S===u?c:g.getLength());for(var x=g.getCharacterList(),_;p<m;)_=x.get(p),x=x.set(p,a?Lo.applyStyle(_,n):Lo.removeStyle(_,n)),p++;return g.set("characterList",x)});return e.merge({blockMap:r.merge(d),selectionBefore:t,selectionAfter:t})}var sd=od,ud=Gr;function cd(e,t,n,a){for(var r=t,i=e.getCharacterList();r<n;)i=i.set(r,ud.applyEntity(i.get(r),a)),r++;return e.set("characterList",i)}var fd=cd,dd=fd,vd=kt;function pd(e,t,n){var a=e.getBlockMap(),r=t.getStartKey(),i=t.getStartOffset(),s=t.getEndKey(),u=t.getEndOffset(),c=a.skipUntil(function(d,g){return g===r}).takeUntil(function(d,g){return g===s}).toOrderedMap().merge(vd.OrderedMap([[s,a.get(s)]])).map(function(d,g){var S=g===r?i:0,p=g===s?u:d.getLength();return dd(d,S,p,n)});return e.merge({blockMap:a.merge(c),selectionBefore:t,selectionAfter:t})}var hd=pd,gd={getRemovalRange:function(t,n,a,r,i){var s=a.split(" ");s=s.map(function(b,O){if(i==="forward"){if(O>0)return" "+b}else if(O<s.length-1)return b+" ";return b});for(var u=r,c,d,g=null,S=null,p=0;p<s.length;p++){if(d=s[p],c=u+d.length,t<c&&u<n)g!==null||(g=u),S=c;else if(g!==null)break;u=c}var m=r+a.length,x=g===r,_=S===m;return(!x&&_||x&&!_)&&(i==="forward"?S!==m&&S++:g!==r&&g--),{start:g,end:S}}},md=gd,bd=process.env.NODE_ENV!=="production"?function(e){if(e===void 0)throw new Error("invariant(...): Second argument must be a string.")}:function(e){};function yd(e,t){for(var n=arguments.length,a=new Array(n>2?n-2:0),r=2;r<n;r++)a[r-2]=arguments[r];if(bd(t),!e){var i;if(t===void 0)i=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var s=0;i=new Error(t.replace(/%s/g,function(){return String(a[s++])})),i.name="Invariant Violation"}throw i.framesToPop=1,i}}var Mt=yd,To=Mt;function wd(e,t){var n=[];return e.findEntityRanges(function(a){return a.getEntity()===t},function(a,r){n.push({start:a,end:r})}),n.length||(process.env.NODE_ENV!=="production"?To(!1,"Entity key not found in this range."):To(!1)),n}var xd=wd,Cd=md,_d=xd,Io=Mt;function Sd(e,t,n,a,r){var i=a.getStartOffset(),s=a.getEndOffset(),u=t.getEntityAt(i),c=n.getEntityAt(s-1);if(!u&&!c)return a;var d=a;if(u&&u===c)d=Vn(e,t,d,r,u,!0,!0);else if(u&&c){var g=Vn(e,t,d,r,u,!1,!0),S=Vn(e,n,d,r,c,!1,!1);d=d.merge({anchorOffset:g.getAnchorOffset(),focusOffset:S.getFocusOffset(),isBackward:!1})}else if(u){var p=Vn(e,t,d,r,u,!1,!0);d=d.merge({anchorOffset:p.getStartOffset(),isBackward:!1})}else if(c){var m=Vn(e,n,d,r,c,!1,!1);d=d.merge({focusOffset:m.getEndOffset(),isBackward:!1})}return d}function Vn(e,t,n,a,r,i,s){var u=n.getStartOffset(),c=n.getEndOffset(),d=e.__get(r),g=d.getMutability(),S=s?u:c;if(g==="MUTABLE")return n;var p=_d(t,r).filter(function(_){return S<=_.end&&S>=_.start});p.length!=1&&(process.env.NODE_ENV!=="production"?Io(!1,"There should only be one entity range within this removal range."):Io(!1));var m=p[0];if(g==="IMMUTABLE")return n.merge({anchorOffset:m.start,focusOffset:m.end,isBackward:!1});i||(s?c=m.end:u=m.start);var x=Cd.getRemovalRange(u,c,t.getText().slice(m.start,m.end),m.start,a);return n.merge({anchorOffset:x.start,focusOffset:x.end,isBackward:!1})}var Ed=Sd,Bo={},kd=Math.pow(2,24);function Dd(){for(var e;e===void 0||Bo.hasOwnProperty(e)||!isNaN(+e);)e=Math.floor(Math.random()*kd).toString(32);return Bo[e]=!0,e}var pa=Dd,Od=Jr,s1=pa,Md=kt,u1=Md.OrderedMap,Ld=function(t){var n={},a;return u1(t.withMutations(function(r){r.forEach(function(i,s){var u=i.getKey(),c=i.getNextSiblingKey(),d=i.getPrevSiblingKey(),g=i.getChildKeys(),S=i.getParentKey(),p=s1();if(n[u]=p,c){var m=r.get(c);m?r.setIn([c,"prevSibling"],p):r.setIn([u,"nextSibling"],null)}if(d){var x=r.get(d);x?r.setIn([d,"nextSibling"],p):r.setIn([u,"prevSibling"],null)}if(S&&r.get(S)){var _=r.get(S),b=_.getChildKeys();r.setIn([S,"children"],b.set(b.indexOf(i.getKey()),p))}else r.setIn([u,"parent"],null),a&&(r.setIn([a.getKey(),"nextSibling"],p),r.setIn([u,"prevSibling"],n[a.getKey()])),a=r.get(u);g.forEach(function(O){var C=r.get(O);C?r.setIn([O,"parent"],p):r.setIn([u,"children"],i.getChildKeys().filter(function(D){return D!==O}))})})}).toArray().map(function(r){return[n[r.getKey()],r.set("key",n[r.getKey()])]}))},Nd=function(t){return u1(t.toArray().map(function(n){var a=s1();return[a,n.set("key",a)]}))},Td=function(t){var n=t.first()instanceof Od;return n?Ld(t):Nd(t)},c1=Td,Id=Gr,Bd=dl,Ao=Mt;function Ad(e,t){var n=e.getBlockMap(),a=e.getEntityMap(),r={},i=t.getStartKey(),s=t.getStartOffset(),u=n.get(i),c=Ro(a,u,s);c!==u&&(r[i]=c);var d=t.getEndKey(),g=t.getEndOffset(),S=n.get(d);i===d&&(S=c);var p=Ro(a,S,g);return p!==S&&(r[d]=p),Object.keys(r).length?e.merge({blockMap:n.merge(r),selectionAfter:t}):e.set("selectionAfter",t)}function Rd(e,t,n){var a;return Bd(e,function(r,i){return r.getEntity()===i.getEntity()},function(r){return r.getEntity()===t},function(r,i){r<=n&&i>=n&&(a={start:r,end:i})}),typeof a!="object"&&(process.env.NODE_ENV!=="production"?Ao(!1,"Removal range must exist within character list."):Ao(!1)),a}function Ro(e,t,n){var a=t.getCharacterList(),r=n>0?a.get(n-1):void 0,i=n<a.count()?a.get(n):void 0,s=r?r.getEntity():void 0,u=i?i.getEntity():void 0;if(u&&u===s){var c=e.__get(u);if(c.getMutability()!=="MUTABLE"){for(var d=Rd(a,u,n),g=d.start,S=d.end,p;g<S;)p=a.get(g),a=a.set(g,Id.applyEntity(p,null)),g++;return t.set("characterList",a)}}return t}var f1=Ad,Fd=c1,jd=f1,Pd=function(t,n){var a=n.getStartKey(),r=n.getStartOffset(),i=n.getEndKey(),s=n.getEndOffset(),u=jd(t,n),c=u.getBlockMap(),d=c.keySeq(),g=d.indexOf(a),S=d.indexOf(i)+1;return Fd(c.slice(g,S).map(function(p,m){var x=p.getText(),_=p.getCharacterList();return a===i?p.merge({text:x.slice(r,s),characterList:_.slice(r,s)}):m===a?p.merge({text:x.slice(r),characterList:_.slice(r)}):m===i?p.merge({text:x.slice(0,s),characterList:_.slice(0,s)}):p}))},Ql=Pd;function $d(e,t,n){var a=e;if(n===a.count())t.forEach(function(s){a=a.push(s)});else if(n===0)t.reverse().forEach(function(s){a=a.unshift(s)});else{var r=a.slice(0,n),i=a.slice(n);a=r.concat(t,i).toList()}return a}var d1=$d,Kd=fl,v1=Jr,zd=kt,Hd=d1,Dl=Mt,Vd=c1,Ud=zd.List,Yd=function(t,n,a,r,i,s){var u=arguments.length>6&&arguments[6]!==void 0?arguments[6]:"REPLACE_WITH_NEW_DATA",c=a.get(i),d=c.getText(),g=c.getCharacterList(),S=i,p=s+r.getText().length,m=null;switch(u){case"MERGE_OLD_DATA_TO_NEW_DATA":m=r.getData().merge(c.getData());break;case"REPLACE_WITH_NEW_DATA":m=r.getData();break}var x=c.getType();d&&x==="unstyled"&&(x=r.getType());var _=c.merge({text:d.slice(0,s)+r.getText()+d.slice(s),characterList:Hd(g,r.getCharacterList(),s),type:x,data:m});return t.merge({blockMap:a.set(i,_),selectionBefore:n,selectionAfter:n.merge({anchorKey:S,anchorOffset:p,focusKey:S,focusOffset:p,isBackward:!1})})},Wd=function(t,n,a){var r=t.getText(),i=t.getCharacterList(),s=r.slice(0,n),u=i.slice(0,n),c=a.first();return t.merge({text:s+c.getText(),characterList:u.concat(c.getCharacterList()),type:s?t.getType():c.getType(),data:c.getData()})},qd=function(t,n,a){var r=t.getText(),i=t.getCharacterList(),s=r.length,u=r.slice(n,s),c=i.slice(n,s),d=a.last();return d.merge({text:d.getText()+u,characterList:d.getCharacterList().concat(c),data:d.getData()})},Zd=function(t,n){var a=t.getKey(),r=t,i=[];for(n.get(a)&&i.push(a);r&&r.getNextSiblingKey();){var s=r.getNextSiblingKey();if(!s)break;i.push(s),r=n.get(s)}return i},Gd=function(t,n,a,r){return t.withMutations(function(i){var s=a.getKey(),u=r.getKey(),c=a.getNextSiblingKey(),d=a.getParentKey(),g=Zd(r,t),S=g[g.length-1];if(i.get(u)?(i.setIn([s,"nextSibling"],u),i.setIn([u,"prevSibling"],s)):(i.setIn([s,"nextSibling"],r.getNextSiblingKey()),i.setIn([r.getNextSiblingKey(),"prevSibling"],s)),i.setIn([S,"nextSibling"],c),c&&i.setIn([c,"prevSibling"],S),g.forEach(function(O){return i.setIn([O,"parent"],d)}),d){var p=t.get(d),m=p.getChildKeys(),x=m.indexOf(s),_=x+1,b=m.toArray();b.splice.apply(b,[_,0].concat(g)),i.setIn([d,"children"],Ud(b))}})},Jd=function(t,n,a,r,i,s){var u=a.first()instanceof v1,c=[],d=r.size,g=a.get(i),S=r.first(),p=r.last(),m=p.getLength(),x=p.getKey(),_=u&&(!g.getChildKeys().isEmpty()||!S.getChildKeys().isEmpty());a.forEach(function(O,C){if(C!==i){c.push(O);return}_?c.push(O):c.push(Wd(O,s,r)),r.slice(_?0:1,d-1).forEach(function(D){return c.push(D)}),c.push(qd(O,s,r))});var b=Kd.createFromArray(c);return u&&(b=Gd(b,a,g,S)),t.merge({blockMap:b,selectionBefore:n,selectionAfter:n.merge({anchorKey:x,anchorOffset:m,focusKey:x,focusOffset:m,isBackward:!1})})},Xd=function(t,n,a){var r=arguments.length>3&&arguments[3]!==void 0?arguments[3]:"REPLACE_WITH_NEW_DATA";n.isCollapsed()||(process.env.NODE_ENV!=="production"?Dl(!1,"`insertFragment` should only be called with a collapsed selection state."):Dl(!1));var i=t.getBlockMap(),s=Vd(a),u=n.getStartKey(),c=n.getStartOffset(),d=i.get(u);return d instanceof v1&&(d.getChildKeys().isEmpty()||(process.env.NODE_ENV!=="production"?Dl(!1,"`insertFragment` should not be called when a container node is selected."):Dl(!1))),s.size===1?Yd(t,n,i,s.first(),u,c,r):Jd(t,n,i,s,u,c)},Qd=Xd,e4=kt,t4=d1,Fo=Mt,r4=e4.Repeat;function a4(e,t,n,a){t.isCollapsed()||(process.env.NODE_ENV!=="production"?Fo(!1,"`insertText` should only be called with a collapsed range."):Fo(!1));var r=null;if(n!=null&&(r=n.length),r==null||r===0)return e;var i=e.getBlockMap(),s=t.getStartKey(),u=t.getStartOffset(),c=i.get(s),d=c.getText(),g=c.merge({text:d.slice(0,u)+n+d.slice(u,c.getLength()),characterList:t4(c.getCharacterList(),r4(a,r).toList(),u)}),S=u+r;return e.merge({blockMap:i.set(s,g),selectionAfter:t.merge({anchorOffset:S,focusOffset:S})})}var n4=a4,l4=kt,i4=l4.Map;function o4(e,t,n){var a=t.getStartKey(),r=t.getEndKey(),i=e.getBlockMap(),s=i.toSeq().skipUntil(function(u,c){return c===a}).takeUntil(function(u,c){return c===r}).concat(i4([[r,i.get(r)]])).map(n);return e.merge({blockMap:i.merge(s),selectionBefore:t,selectionAfter:t})}var p1=o4,s4=Jr,u4=function(t,n){var a=t instanceof s4;if(!a)return null;var r=t.getNextSiblingKey();if(r)return r;var i=t.getParentKey();if(!i)return null;for(var s=n.get(i);s&&!s.getNextSiblingKey();){var u=s.getParentKey();s=u?n.get(u):null}return s?s.getNextSiblingKey():null},h1=u4,c4=Jr,o0=h1,g1=kt;g1.List;var jo=g1.Map,Nr=function(t,n,a){if(t){var r=n.get(t);r&&n.set(t,a(r))}},ql=function(t,n){var a=[];if(!t)return a;for(var r=n.get(t);r&&r.getParentKey();){var i=r.getParentKey();i&&a.push(i),r=i?n.get(i):null}return a},f4=function(t,n){var a=[];if(!t)return a;for(var r=o0(t,n);r&&n.get(r);){var i=n.get(r);a.push(r),r=i.getParentKey()?o0(i,n):null}return a},En=function(t,n,a){if(!t)return null;for(var r=a.get(t.getKey()).getNextSiblingKey();r&&!n.get(r);)r=a.get(r).getNextSiblingKey()||null;return r},kn=function(t,n,a){if(!t)return null;for(var r=a.get(t.getKey()).getPrevSiblingKey();r&&!n.get(r);)r=a.get(r).getPrevSiblingKey()||null;return r},d4=function(t,n,a,r){return t.withMutations(function(i){if(Nr(n.getKey(),i,function(g){return g.merge({nextSibling:En(g,i,r),prevSibling:kn(g,i,r)})}),Nr(a.getKey(),i,function(g){return g.merge({nextSibling:En(g,i,r),prevSibling:kn(g,i,r)})}),ql(n.getKey(),r).forEach(function(g){return Nr(g,i,function(S){return S.merge({children:S.getChildKeys().filter(function(p){return i.get(p)}),nextSibling:En(S,i,r),prevSibling:kn(S,i,r)})})}),Nr(n.getNextSiblingKey(),i,function(g){return g.merge({prevSibling:n.getPrevSiblingKey()})}),Nr(n.getPrevSiblingKey(),i,function(g){return g.merge({nextSibling:En(g,i,r)})}),Nr(a.getNextSiblingKey(),i,function(g){return g.merge({prevSibling:kn(g,i,r)})}),Nr(a.getPrevSiblingKey(),i,function(g){return g.merge({nextSibling:a.getNextSiblingKey()})}),ql(a.getKey(),r).forEach(function(g){Nr(g,i,function(S){return S.merge({children:S.getChildKeys().filter(function(p){return i.get(p)}),nextSibling:En(S,i,r),prevSibling:kn(S,i,r)})})}),f4(a,r).forEach(function(g){return Nr(g,i,function(S){return S.merge({nextSibling:En(S,i,r),prevSibling:kn(S,i,r)})})}),t.get(n.getKey())==null&&t.get(a.getKey())!=null&&a.getParentKey()===n.getKey()&&a.getPrevSiblingKey()==null){var s=n.getPrevSiblingKey();Nr(a.getKey(),i,function(g){return g.merge({prevSibling:s})}),Nr(s,i,function(g){return g.merge({nextSibling:a.getKey()})});var u=s?t.get(s):null,c=u?u.getParentKey():null;if(n.getChildKeys().forEach(function(g){Nr(g,i,function(S){return S.merge({parent:c})})}),c!=null){var d=t.get(c);Nr(c,i,function(g){return g.merge({children:d.getChildKeys().concat(n.getChildKeys())})})}Nr(n.getChildKeys().find(function(g){var S=t.get(g);return S.getNextSiblingKey()===null}),i,function(g){return g.merge({nextSibling:n.getNextSiblingKey()})})}})},v4=function(t,n){if(n.isCollapsed())return t;var a=t.getBlockMap(),r=n.getStartKey(),i=n.getStartOffset(),s=n.getEndKey(),u=n.getEndOffset(),c=a.get(r),d=a.get(s),g=c instanceof c4,S=[];if(g){var p=d.getChildKeys(),m=ql(s,a);d.getNextSiblingKey()&&(S=S.concat(m)),p.isEmpty()||(S=S.concat(m.concat([s]))),S=S.concat(ql(o0(d,a),a))}var x;c===d?x=p4(c.getCharacterList(),i,u):x=c.getCharacterList().slice(0,i).concat(d.getCharacterList().slice(u));var _=c.merge({text:c.getText().slice(0,i)+d.getText().slice(u),characterList:x}),b=g&&i===0&&u===0&&d.getParentKey()===r&&d.getPrevSiblingKey()==null,O=b?jo([[r,null]]):a.toSeq().skipUntil(function(D,N){return N===r}).takeUntil(function(D,N){return N===s}).filter(function(D,N){return S.indexOf(N)===-1}).concat(jo([[s,null]])).map(function(D,N){return N===r?_:null}),C=a.merge(O).filter(function(D){return!!D});return g&&c!==d&&(C=d4(C,c,d,a)),t.merge({blockMap:C,selectionBefore:n,selectionAfter:n.merge({anchorKey:r,anchorOffset:i,focusKey:r,focusOffset:i,isBackward:!1})})},p4=function(t,n,a){if(n===0)for(;n<a;)t=t.shift(),n++;else if(a===t.count())for(;a>n;)t=t.pop(),a--;else{var r=t.slice(0,n),i=t.slice(a);t=r.concat(i).toList()}return t},h4=v4,g4=Jr,m4=pa,m1=kt,Ol=Mt,b4=p1,y4=m1.List,w4=m1.Map,Ml=function(t,n,a){if(t){var r=n.get(t);r&&n.set(t,a(r))}},x4=function(t,n,a){return t.withMutations(function(r){var i=n.getKey(),s=a.getKey();Ml(n.getParentKey(),r,function(u){var c=u.getChildKeys(),d=c.indexOf(i)+1,g=c.toArray();return g.splice(d,0,s),u.merge({children:y4(g)})}),Ml(n.getNextSiblingKey(),r,function(u){return u.merge({prevSibling:s})}),Ml(i,r,function(u){return u.merge({nextSibling:s})}),Ml(s,r,function(u){return u.merge({prevSibling:i})})})},C4=function(t,n){n.isCollapsed()||(process.env.NODE_ENV!=="production"?Ol(!1,"Selection range must be collapsed."):Ol(!1));var a=n.getAnchorKey(),r=t.getBlockMap(),i=r.get(a),s=i.getText();if(!s){var u=i.getType();if(u==="unordered-list-item"||u==="ordered-list-item")return b4(t,n,function(O){return O.merge({type:"unstyled",depth:0})})}var c=n.getAnchorOffset(),d=i.getCharacterList(),g=m4(),S=i instanceof g4,p=i.merge({text:s.slice(0,c),characterList:d.slice(0,c)}),m=p.merge({key:g,text:s.slice(c),characterList:d.slice(c),data:w4()}),x=r.toSeq().takeUntil(function(O){return O===i}),_=r.toSeq().skipUntil(function(O){return O===i}).rest(),b=x.concat([[a,p],[g,m]],_).toOrderedMap();return S&&(i.getChildKeys().isEmpty()||(process.env.NODE_ENV!=="production"?Ol(!1,"ContentBlockNode must not have children"):Ol(!1)),b=x4(b,p,m)),t.merge({blockMap:b,selectionBefore:n,selectionAfter:n.merge({anchorKey:g,anchorOffset:0,focusKey:g,focusOffset:0,isBackward:!1})})},_4=C4,S4=Gr,Po=sd,E4=hd,k4=Ed,D4=Ql,O4=kt,M4=Qd,L4=n4,$o=Mt,Ei=p1,Un=f1,Yn=h4,N4=_4,T4=O4.OrderedSet,Vl={replaceText:function(t,n,a,r,i){var s=Un(t,n),u=Yn(s,n),c=S4.create({style:r||T4(),entity:i||null});return L4(u,u.getSelectionAfter(),a,c)},insertText:function(t,n,a,r,i){return n.isCollapsed()||(process.env.NODE_ENV!=="production"?$o(!1,"Target range must be collapsed for `insertText`."):$o(!1)),Vl.replaceText(t,n,a,r,i)},moveText:function(t,n,a){var r=D4(t,n),i=Vl.removeRange(t,n,"backward");return Vl.replaceWithFragment(i,a,r)},replaceWithFragment:function(t,n,a){var r=arguments.length>3&&arguments[3]!==void 0?arguments[3]:"REPLACE_WITH_NEW_DATA",i=Un(t,n),s=Yn(i,n);return M4(s,s.getSelectionAfter(),a,r)},removeRange:function(t,n,a){var r,i,s,u;n.getIsBackward()&&(n=n.merge({anchorKey:n.getFocusKey(),anchorOffset:n.getFocusOffset(),focusKey:n.getAnchorKey(),focusOffset:n.getAnchorOffset(),isBackward:!1})),r=n.getAnchorKey(),i=n.getFocusKey(),s=t.getBlockForKey(r),u=t.getBlockForKey(i);var c=n.getStartOffset(),d=n.getEndOffset(),g=s.getEntityAt(c),S=u.getEntityAt(d-1);if(r===i&&g&&g===S){var p=k4(t.getEntityMap(),s,u,n,a);return Yn(t,p)}var m=Un(t,n);return Yn(m,n)},splitBlock:function(t,n){var a=Un(t,n),r=Yn(a,n);return N4(r,r.getSelectionAfter())},applyInlineStyle:function(t,n,a){return Po.add(t,n,a)},removeInlineStyle:function(t,n,a){return Po.remove(t,n,a)},setBlockType:function(t,n,a){return Ei(t,n,function(r){return r.merge({type:a,depth:0})})},setBlockData:function(t,n,a){return Ei(t,n,function(r){return r.merge({data:a})})},mergeBlockData:function(t,n,a){return Ei(t,n,function(r){return r.merge({data:r.getData().merge(a)})})},applyEntity:function(t,n,a){var r=Un(t,n);return E4(r,n,a)}},Tr=Vl;function I4(e){return Object.keys(e).map(function(t){return e[t]})}var b1=I4;function B4(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{},a=Object.keys(n);typeof Object.getOwnPropertySymbols=="function"&&(a=a.concat(Object.getOwnPropertySymbols(n).filter(function(r){return Object.getOwnPropertyDescriptor(n,r).enumerable}))),a.forEach(function(r){A4(e,r,n[r])})}return e}function A4(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function R4(e,t){if(e==null)return{};var n={},a=Object.keys(e),r,i;for(i=0;i<a.length;i++)r=a[i],!(t.indexOf(r)>=0)&&(n[r]=e[r]);return n}var y1=dl,F4=b1,D0=kt,Tn=D0.List,j4=D0.Repeat,w1=D0.Record,x1=function(){return!0},P4={start:null,end:null},s0=w1(P4),$4={start:null,end:null,decoratorKey:null,leaves:null},ki=w1($4),K4={generate:function(t,n,a){var r=n.getLength();if(!r)return Tn.of(new ki({start:0,end:0,decoratorKey:null,leaves:Tn.of(new s0({start:0,end:0}))}));var i=[],s=a?a.getDecorations(n,t):Tn(j4(null,r)),u=n.getCharacterList();return y1(s,C1,x1,function(c,d){i.push(new ki({start:c,end:d,decoratorKey:s.get(c),leaves:z4(u.slice(c,d).toList(),c)}))}),Tn(i)},fromJS:function(t){var n=t.leaves,a=R4(t,["leaves"]);return new ki(B4({},a,{leaves:n!=null?Tn(Array.isArray(n)?n:F4(n)).map(function(r){return s0(r)}):null}))}};function z4(e,t){var n=[],a=e.map(function(r){return r.getStyle()}).toList();return y1(a,C1,x1,function(r,i){n.push(new s0({start:r+t,end:i+t}))}),Tn(n)}function C1(e,t){return e===t}var H4=K4;function V4(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}var U4=kt,Y4=U4.Record,W4=Y4({type:"TOKEN",mutability:"IMMUTABLE",data:Object}),q4=function(e){V4(t,e);function t(){return e.apply(this,arguments)||this}var n=t.prototype;return n.getType=function(){return this.get("type")},n.getMutability=function(){return this.get("mutability")},n.getData=function(){return this.get("data")},t}(W4),_1=q4;function Z4(){return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,function(e){var t=Math.random()*16|0,n=e=="x"?t:t&3|8;return n.toString(16)})}var G4=Z4;function J4(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{},a=Object.keys(n);typeof Object.getOwnPropertySymbols=="function"&&(a=a.concat(Object.getOwnPropertySymbols(n).filter(function(r){return Object.getOwnPropertyDescriptor(n,r).enumerable}))),a.forEach(function(r){X4(e,r,n[r])})}return e}function X4(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Q4=_1,e3=kt,Ko=Mt,u0=G4,t3=e3.Map,Ca=t3(),Wn=u0();function Dn(e,t){console.warn("WARNING: "+e+` will be deprecated soon!
53
+ Please use "`+t+'" instead.')}var fa={getLastCreatedEntityKey:function(){return Dn("DraftEntity.getLastCreatedEntityKey","contentState.getLastCreatedEntityKey"),fa.__getLastCreatedEntityKey()},create:function(t,n,a){return Dn("DraftEntity.create","contentState.createEntity"),fa.__create(t,n,a)},add:function(t){return Dn("DraftEntity.add","contentState.addEntity"),fa.__add(t)},get:function(t){return Dn("DraftEntity.get","contentState.getEntity"),fa.__get(t)},__getAll:function(){return Ca},__loadWithEntities:function(t){Ca=t,Wn=u0()},mergeData:function(t,n){return Dn("DraftEntity.mergeData","contentState.mergeEntityData"),fa.__mergeData(t,n)},replaceData:function(t,n){return Dn("DraftEntity.replaceData","contentState.replaceEntityData"),fa.__replaceData(t,n)},__getLastCreatedEntityKey:function(){return Wn},__create:function(t,n,a){return fa.__add(new Q4({type:t,mutability:n,data:a||{}}))},__add:function(t){return Wn=u0(),Ca=Ca.set(Wn,t),Wn},__get:function(t){var n=Ca.get(t);return n||(process.env.NODE_ENV!=="production"?Ko(!1,"Unknown DraftEntity key: %s.",t):Ko(!1)),n},__mergeData:function(t,n){var a=fa.__get(t),r=J4({},a.getData(),n),i=a.set("data",r);return Ca=Ca.set(t,i),i},__replaceData:function(t,n){var a=fa.__get(t),r=a.set("data",n);return Ca=Ca.set(t,r),r}},ei=fa;function r3(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}var a3=kt,n3=a3.Record,l3={anchorKey:"",anchorOffset:0,focusKey:"",focusOffset:0,isBackward:!1,hasFocus:!1},i3=n3(l3),o3=function(e){r3(t,e);function t(){return e.apply(this,arguments)||this}var n=t.prototype;return n.serialize=function(){return"Anchor: "+this.getAnchorKey()+":"+this.getAnchorOffset()+", Focus: "+this.getFocusKey()+":"+this.getFocusOffset()+", Is Backward: "+String(this.getIsBackward())+", Has Focus: "+String(this.getHasFocus())},n.getAnchorKey=function(){return this.get("anchorKey")},n.getAnchorOffset=function(){return this.get("anchorOffset")},n.getFocusKey=function(){return this.get("focusKey")},n.getFocusOffset=function(){return this.get("focusOffset")},n.getIsBackward=function(){return this.get("isBackward")},n.getHasFocus=function(){return this.get("hasFocus")},n.hasEdgeWithin=function(r,i,s){var u=this.getAnchorKey(),c=this.getFocusKey();if(u===c&&u===r){var d=this.getStartOffset(),g=this.getEndOffset();return i<=d&&d<=s||i<=g&&g<=s}if(r!==u&&r!==c)return!1;var S=r===u?this.getAnchorOffset():this.getFocusOffset();return i<=S&&s>=S},n.isCollapsed=function(){return this.getAnchorKey()===this.getFocusKey()&&this.getAnchorOffset()===this.getFocusOffset()},n.getStartKey=function(){return this.getIsBackward()?this.getFocusKey():this.getAnchorKey()},n.getStartOffset=function(){return this.getIsBackward()?this.getFocusOffset():this.getAnchorOffset()},n.getEndKey=function(){return this.getIsBackward()?this.getAnchorKey():this.getFocusKey()},n.getEndOffset=function(){return this.getIsBackward()?this.getAnchorOffset():this.getFocusOffset()},t.createEmpty=function(r){return new t({anchorKey:r,anchorOffset:0,focusKey:r,focusOffset:0,isBackward:!1,hasFocus:!1})},t}(i3),ti=o3,Xa=function(e){return typeof window<"u"&&window.__DRAFT_GKX?!!window.__DRAFT_GKX[e]:!1},s3=new RegExp("\r","g");function u3(e){return e.replace(s3,"")}var S1=u3;function zo(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{},a=Object.keys(n);typeof Object.getOwnPropertySymbols=="function"&&(a=a.concat(Object.getOwnPropertySymbols(n).filter(function(r){return Object.getOwnPropertyDescriptor(n,r).enumerable}))),a.forEach(function(r){c3(e,r,n[r])})}return e}function c3(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function f3(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}var d3=fl,Ho=Gr,v3=pn,p3=Jr,ua=ei,Ll=ti,h3=pa,g3=b1,m3=Xa,hl=kt,b3=S1,Vo=hl.List,y3=hl.Record,w3=hl.Repeat,x3=hl.Map,C3=hl.OrderedMap,_3={entityMap:null,blockMap:null,selectionBefore:null,selectionAfter:null},S3=y3(_3),Uo=m3("draft_tree_data_support")?p3:v3,E3=function(e){f3(t,e);function t(){return e.apply(this,arguments)||this}var n=t.prototype;return n.getEntityMap=function(){return ua},n.getBlockMap=function(){return this.get("blockMap")},n.getSelectionBefore=function(){return this.get("selectionBefore")},n.getSelectionAfter=function(){return this.get("selectionAfter")},n.getBlockForKey=function(r){var i=this.getBlockMap().get(r);return i},n.getKeyBefore=function(r){return this.getBlockMap().reverse().keySeq().skipUntil(function(i){return i===r}).skip(1).first()},n.getKeyAfter=function(r){return this.getBlockMap().keySeq().skipUntil(function(i){return i===r}).skip(1).first()},n.getBlockAfter=function(r){return this.getBlockMap().skipUntil(function(i,s){return s===r}).skip(1).first()},n.getBlockBefore=function(r){return this.getBlockMap().reverse().skipUntil(function(i,s){return s===r}).skip(1).first()},n.getBlocksAsArray=function(){return this.getBlockMap().toArray()},n.getFirstBlock=function(){return this.getBlockMap().first()},n.getLastBlock=function(){return this.getBlockMap().last()},n.getPlainText=function(r){return this.getBlockMap().map(function(i){return i?i.getText():""}).join(r||`
54
+ `)},n.getLastCreatedEntityKey=function(){return ua.__getLastCreatedEntityKey()},n.hasText=function(){var r=this.getBlockMap();return r.size>1||escape(r.first().getText()).replace(/%u200B/g,"").length>0},n.createEntity=function(r,i,s){return ua.__create(r,i,s),this},n.mergeEntityData=function(r,i){return ua.__mergeData(r,i),this},n.replaceEntityData=function(r,i){return ua.__replaceData(r,i),this},n.addEntity=function(r){return ua.__add(r),this},n.getEntity=function(r){return ua.__get(r)},n.getAllEntities=function(){return ua.__getAll()},n.loadWithEntities=function(r){return ua.__loadWithEntities(r)},t.createFromBlockArray=function(r,i){var s=Array.isArray(r)?r:r.contentBlocks,u=d3.createFromArray(s),c=u.isEmpty()?new Ll:Ll.createEmpty(u.first().getKey());return new t({blockMap:u,entityMap:i||ua,selectionBefore:c,selectionAfter:c})},t.createFromText=function(r){var i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:/\r\n?|\n/g,s=r.split(i),u=s.map(function(c){return c=b3(c),new Uo({key:h3(),text:c,type:"unstyled",characterList:Vo(w3(Ho.EMPTY,c.length))})});return t.createFromBlockArray(u)},t.fromJS=function(r){return new t(zo({},r,{blockMap:C3(r.blockMap).map(t.createContentBlockFromJS),selectionBefore:new Ll(r.selectionBefore),selectionAfter:new Ll(r.selectionAfter)}))},t.createContentBlockFromJS=function(r){var i=r.characterList;return new Uo(zo({},r,{data:x3(r.data),characterList:i!=null?Vo((Array.isArray(i)?i:g3(i)).map(function(s){return Ho.fromJS(s)})):void 0}))},t}(S3),O0=E3,Va=Mt,k3="NEUTRAL",ri="LTR",E1="RTL",Ul=null;function Zl(e){return e===ri||e===E1}function k1(e){return Zl(e)||(process.env.NODE_ENV!=="production"?Va(!1,"`dir` must be a strong direction to be converted to HTML Direction"):Va(!1)),e===ri?"ltr":"rtl"}function D3(e,t){return Zl(e)||(process.env.NODE_ENV!=="production"?Va(!1,"`dir` must be a strong direction to be converted to HTML Direction"):Va(!1)),Zl(t)||(process.env.NODE_ENV!=="production"?Va(!1,"`otherDir` must be a strong direction to be converted to HTML Direction"):Va(!1)),e===t?null:k1(e)}function D1(e){Ul=e}function O3(){D1(ri)}function M3(){return Ul||this.initGlobalDir(),Ul||(process.env.NODE_ENV!=="production"?Va(!1,"Global direction not set."):Va(!1)),Ul}var L3={NEUTRAL:k3,LTR:ri,RTL:E1,isStrong:Zl,getHTMLDir:k1,getHTMLDirIfDifferent:D3,setGlobalDir:D1,initGlobalDir:O3,getGlobalDir:M3},ai=L3,Da=ai,Yo=Mt,tl={L:"A-Za-zªµºÀ-ÖØ-öø-ƺƻƼ-ƿǀ-ǃDŽ-ʓʔʕ-ʯʰ-ʸʻ-ˁː-ˑˠ-ˤˮͰ-ͳͶ-ͷͺͻ-ͽͿΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁ҂Ҋ-ԯԱ-Ֆՙ՚-՟ա-և։ःऄ-हऻऽा-ीॉ-ौॎ-ॏॐक़-ॡ।-॥०-९॰ॱॲ-ঀং-ঃঅ-ঌএ-ঐও-নপ-রলশ-হঽা-ীে-ৈো-ৌৎৗড়-ঢ়য়-ৡ০-৯ৰ-ৱ৴-৹৺ਃਅ-ਊਏ-ਐਓ-ਨਪ-ਰਲ-ਲ਼ਵ-ਸ਼ਸ-ਹਾ-ੀਖ਼-ੜਫ਼੦-੯ੲ-ੴઃઅ-ઍએ-ઑઓ-નપ-રલ-ળવ-હઽા-ીૉો-ૌૐૠ-ૡ૦-૯૰ଂ-ଃଅ-ଌଏ-ଐଓ-ନପ-ରଲ-ଳଵ-ହଽାୀେ-ୈୋ-ୌୗଡ଼-ଢ଼ୟ-ୡ୦-୯୰ୱ୲-୷ஃஅ-ஊஎ-ஐஒ-கங-சஜஞ-டண-தந-பம-ஹா-ிு-ூெ-ைொ-ௌௐௗ௦-௯௰-௲ఁ-ఃఅ-ఌఎ-ఐఒ-నప-హఽు-ౄౘ-ౙౠ-ౡ౦-౯౿ಂ-ಃಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽಾಿೀ-ೄೆೇ-ೈೊ-ೋೕ-ೖೞೠ-ೡ೦-೯ೱ-ೲം-ഃഅ-ഌഎ-ഐഒ-ഺഽാ-ീെ-ൈൊ-ൌൎൗൠ-ൡ൦-൯൰-൵൹ൺ-ൿං-ඃඅ-ඖක-නඳ-රලව-ෆා-ෑෘ-ෟ෦-෯ෲ-ෳ෴ก-ะา-ำเ-ๅๆ๏๐-๙๚-๛ກ-ຂຄງ-ຈຊຍດ-ທນ-ຟມ-ຣລວສ-ຫອ-ະາ-ຳຽເ-ໄໆ໐-໙ໜ-ໟༀ༁-༃༄-༒༓༔༕-༗༚-༟༠-༩༪-༳༴༶༸༾-༿ཀ-ཇཉ-ཬཿ྅ྈ-ྌ྾-࿅࿇-࿌࿎-࿏࿐-࿔࿕-࿘࿙-࿚က-ဪါ-ာေးျ-ြဿ၀-၉၊-၏ၐ-ၕၖ-ၗၚ-ၝၡၢ-ၤၥ-ၦၧ-ၭၮ-ၰၵ-ႁႃ-ႄႇ-ႌႎႏ႐-႙ႚ-ႜ႞-႟Ⴀ-ჅჇჍა-ჺ჻ჼჽ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚ፠-፨፩-፼ᎀ-ᎏᎠ-Ᏼᐁ-ᙬ᙭-᙮ᙯ-ᙿᚁ-ᚚᚠ-ᛪ᛫-᛭ᛮ-ᛰᛱ-ᛸᜀ-ᜌᜎ-ᜑᜠ-ᜱ᜵-᜶ᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳាើ-ៅះ-ៈ។-៖ៗ៘-៚ៜ០-៩᠐-᠙ᠠ-ᡂᡃᡄ-ᡷᢀ-ᢨᢪᢰ-ᣵᤀ-ᤞᤣ-ᤦᤩ-ᤫᤰ-ᤱᤳ-ᤸ᥆-᥏ᥐ-ᥭᥰ-ᥴᦀ-ᦫᦰ-ᧀᧁ-ᧇᧈ-ᧉ᧐-᧙᧚ᨀ-ᨖᨙ-ᨚ᨞-᨟ᨠ-ᩔᩕᩗᩡᩣ-ᩤᩭ-ᩲ᪀-᪉᪐-᪙᪠-᪦ᪧ᪨-᪭ᬄᬅ-ᬳᬵᬻᬽ-ᭁᭃ-᭄ᭅ-ᭋ᭐-᭙᭚-᭠᭡-᭪᭴-᭼ᮂᮃ-ᮠᮡᮦ-ᮧ᮪ᮮ-ᮯ᮰-᮹ᮺ-ᯥᯧᯪ-ᯬᯮ᯲-᯳᯼-᯿ᰀ-ᰣᰤ-ᰫᰴ-ᰵ᰻-᰿᱀-᱉ᱍ-ᱏ᱐-᱙ᱚ-ᱷᱸ-ᱽ᱾-᱿᳀-᳇᳓᳡ᳩ-ᳬᳮ-ᳱᳲ-ᳳᳵ-ᳶᴀ-ᴫᴬ-ᵪᵫ-ᵷᵸᵹ-ᶚᶛ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼ‎ⁱⁿₐ-ₜℂℇℊ-ℓℕℙ-ℝℤΩℨK-ℭℯ-ℴℵ-ℸℹℼ-ℿⅅ-ⅉⅎ⅏Ⅰ-ↂↃ-ↄↅ-ↈ⌶-⍺⎕⒜-ⓩ⚬⠀-⣿Ⰰ-Ⱞⰰ-ⱞⱠ-ⱻⱼ-ⱽⱾ-ⳤⳫ-ⳮⳲ-ⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯ⵰ⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞ々〆〇〡-〩〮-〯〱-〵〸-〺〻〼ぁ-ゖゝ-ゞゟァ-ヺー-ヾヿㄅ-ㄭㄱ-ㆎ㆐-㆑㆒-㆕㆖-㆟ㆠ-ㆺㇰ-ㇿ㈀-㈜㈠-㈩㈪-㉇㉈-㉏㉠-㉻㉿㊀-㊉㊊-㊰㋀-㋋㋐-㋾㌀-㍶㍻-㏝㏠-㏾㐀-䶵一-鿌ꀀ-ꀔꀕꀖ-ꒌꓐ-ꓷꓸ-ꓽ꓾-꓿ꔀ-ꘋꘌꘐ-ꘟ꘠-꘩ꘪ-ꘫꙀ-ꙭꙮꚀ-ꚛꚜ-ꚝꚠ-ꛥꛦ-ꛯ꛲-꛷Ꜣ-ꝯꝰꝱ-ꞇ꞉-꞊Ꞌ-ꞎꞐ-ꞭꞰ-Ʇꟷꟸ-ꟹꟺꟻ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꠣ-ꠤꠧ꠰-꠵꠶-꠷ꡀ-ꡳꢀ-ꢁꢂ-ꢳꢴ-ꣃ꣎-꣏꣐-꣙ꣲ-ꣷ꣸-꣺ꣻ꤀-꤉ꤊ-ꤥ꤮-꤯ꤰ-ꥆꥒ-꥓꥟ꥠ-ꥼꦃꦄ-ꦲꦴ-ꦵꦺ-ꦻꦽ-꧀꧁-꧍ꧏ꧐-꧙꧞-꧟ꧠ-ꧤꧦꧧ-ꧯ꧰-꧹ꧺ-ꧾꨀ-ꨨꨯ-ꨰꨳ-ꨴꩀ-ꩂꩄ-ꩋꩍ꩐-꩙꩜-꩟ꩠ-ꩯꩰꩱ-ꩶ꩷-꩹ꩺꩻꩽꩾ-ꪯꪱꪵ-ꪶꪹ-ꪽꫀꫂꫛ-ꫜꫝ꫞-꫟ꫠ-ꫪꫫꫮ-ꫯ꫰-꫱ꫲꫳ-ꫴꫵꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꬰ-ꭚ꭛ꭜ-ꭟꭤ-ꭥꯀ-ꯢꯣ-ꯤꯦ-ꯧꯩ-ꯪ꯫꯬꯰-꯹가-힣ힰ-ퟆퟋ-ퟻ-豈-舘並-龎ff-stﬓ-ﬗA-Za-zヲ-ッーア-ン゙-゚ᅠ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ",R:"֐־׀׃׆׈-׏א-ת׫-ׯװ-ײ׳-״׵-׿߀-߉ߊ-ߪߴ-ߵߺ߻-߿ࠀ-ࠕࠚࠤࠨ࠮-࠯࠰-࠾࠿ࡀ-ࡘ࡜-࡝࡞࡟-࢟‏יִײַ-ﬨשׁ-זּ﬷טּ-לּ﬽מּ﬿נּ-סּ﭂ףּ-פּ﭅צּ-ﭏ",AL:"؈؋؍؛؜؝؞-؟ؠ-ؿـف-ي٭ٮ-ٯٱ-ۓ۔ەۥ-ۦۮ-ۯۺ-ۼ۽-۾ۿ܀-܍܎܏ܐܒ-ܯ݋-݌ݍ-ޥޱ޲-޿ࢠ-ࢲࢳ-ࣣﭐ-ﮱ﮲-﯁﯂-﯒ﯓ-ﴽ﵀-﵏ﵐ-ﶏ﶐-﶑ﶒ-ﷇ﷈-﷏ﷰ-ﷻ﷼﷾-﷿ﹰ-ﹴ﹵ﹶ-ﻼ﻽-﻾"},N3=new RegExp("["+tl.L+tl.R+tl.AL+"]"),T3=new RegExp("["+tl.R+tl.AL+"]");function O1(e){var t=N3.exec(e);return t==null?null:t[0]}function M1(e){var t=O1(e);return t==null?Da.NEUTRAL:T3.exec(t)?Da.RTL:Da.LTR}function L1(e,t){if(t=t||Da.NEUTRAL,!e.length)return t;var n=M1(e);return n===Da.NEUTRAL?t:n}function M0(e,t){return t||(t=Da.getGlobalDir()),Da.isStrong(t)||(process.env.NODE_ENV!=="production"?Yo(!1,"Fallback direction must be a strong direction"):Yo(!1)),L1(e,t)}function I3(e,t){return M0(e,t)===Da.LTR}function B3(e,t){return M0(e,t)===Da.RTL}var A3={firstStrongChar:O1,firstStrongCharDir:M1,resolveBlockDir:L1,getDirection:M0,isDirectionLTR:I3,isDirectionRTL:B3},L0=A3;function Wo(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var R3=L0,qo=ai,Zo=Mt,F3=function(){function e(n){Wo(this,"_defaultDir",void 0),Wo(this,"_lastDir",void 0),n?qo.isStrong(n)||(process.env.NODE_ENV!=="production"?Zo(!1,"Default direction must be a strong direction (LTR or RTL)"):Zo(!1)):n=qo.getGlobalDir(),this._defaultDir=n,this.reset()}var t=e.prototype;return t.reset=function(){this._lastDir=this._defaultDir},t.getDirection=function(a){return this._lastDir=R3.getDirection(a,this._lastDir),this._lastDir},e}(),j3=F3,P3=function(t){if(t!=null)return t;throw new Error("Got unexpected null or undefined")},Ir=P3,$3=j3,N1=kt,K3=Ir,z3=N1.OrderedMap,Nl,H3={getDirectionMap:function(t,n){Nl?Nl.reset():Nl=new $3;var a=t.getBlockMap(),r=a.valueSeq().map(function(s){return K3(Nl).getDirection(s.getText())}),i=z3(a.keySeq().zip(r));return n!=null&&N1.is(n,i)?n:i}},V3=H3;function Go(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{},a=Object.keys(n);typeof Object.getOwnPropertySymbols=="function"&&(a=a.concat(Object.getOwnPropertySymbols(n).filter(function(r){return Object.getOwnPropertyDescriptor(n,r).enumerable}))),a.forEach(function(r){T1(e,r,n[r])})}return e}function T1(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var ni=H4,qn=O0,Tl=V3,Di=ti,gl=kt,I1=gl.OrderedSet,U3=gl.Record,fn=gl.Stack,Jo=gl.OrderedMap,Y3=gl.List,W3={allowUndo:!0,currentContent:null,decorator:null,directionMap:null,forceSelection:!1,inCompositionMode:!1,inlineStyleOverride:null,lastChangeType:null,nativelyRenderedContent:null,redoStack:fn(),selection:null,treeMap:null,undoStack:fn()},Xo=U3(W3),B1=function(){t.createEmpty=function(a){return this.createWithText("",a)},t.createWithText=function(a,r){return t.createWithContent(qn.createFromText(a),r)},t.createWithContent=function(a,r){if(a.getBlockMap().count()===0)return t.createEmpty(r);var i=a.getBlockMap().first().getKey();return t.create({currentContent:a,undoStack:fn(),redoStack:fn(),decorator:r||null,selection:Di.createEmpty(i)})},t.create=function(a){var r=a.currentContent,i=a.decorator,s=Go({},a,{treeMap:e2(r,i),directionMap:Tl.getDirectionMap(r)});return new t(new Xo(s))},t.fromJS=function(a){return new t(new Xo(Go({},a,{directionMap:a.directionMap!=null?Jo(a.directionMap):a.directionMap,inlineStyleOverride:a.inlineStyleOverride!=null?I1(a.inlineStyleOverride):a.inlineStyleOverride,nativelyRenderedContent:a.nativelyRenderedContent!=null?qn.fromJS(a.nativelyRenderedContent):a.nativelyRenderedContent,redoStack:a.redoStack!=null?fn(a.redoStack.map(function(r){return qn.fromJS(r)})):a.redoStack,selection:a.selection!=null?new Di(a.selection):a.selection,treeMap:a.treeMap!=null?Jo(a.treeMap).map(function(r){return Y3(r).map(function(i){return ni.fromJS(i)})}):a.treeMap,undoStack:a.undoStack!=null?fn(a.undoStack.map(function(r){return qn.fromJS(r)})):a.undoStack,currentContent:qn.fromJS(a.currentContent)})))},t.set=function(a,r){var i=a.getImmutable().withMutations(function(s){var u=s.get("decorator"),c=u;r.decorator===null?c=null:r.decorator&&(c=r.decorator);var d=r.currentContent||a.getCurrentContent();if(c!==u){var g=s.get("treeMap"),S;c&&u?S=Z3(d,d.getBlockMap(),g,c,u):S=e2(d,c),s.merge({decorator:c,treeMap:S,nativelyRenderedContent:null});return}var p=a.getCurrentContent();d!==p&&s.set("treeMap",q3(a,d.getBlockMap(),d.getEntityMap(),c)),s.merge(r)});return new t(i)};var e=t.prototype;e.toJS=function(){return this.getImmutable().toJS()},e.getAllowUndo=function(){return this.getImmutable().get("allowUndo")},e.getCurrentContent=function(){return this.getImmutable().get("currentContent")},e.getUndoStack=function(){return this.getImmutable().get("undoStack")},e.getRedoStack=function(){return this.getImmutable().get("redoStack")},e.getSelection=function(){return this.getImmutable().get("selection")},e.getDecorator=function(){return this.getImmutable().get("decorator")},e.isInCompositionMode=function(){return this.getImmutable().get("inCompositionMode")},e.mustForceSelection=function(){return this.getImmutable().get("forceSelection")},e.getNativelyRenderedContent=function(){return this.getImmutable().get("nativelyRenderedContent")},e.getLastChangeType=function(){return this.getImmutable().get("lastChangeType")},e.getInlineStyleOverride=function(){return this.getImmutable().get("inlineStyleOverride")},t.setInlineStyleOverride=function(a,r){return t.set(a,{inlineStyleOverride:r})},e.getCurrentInlineStyle=function(){var a=this.getInlineStyleOverride();if(a!=null)return a;var r=this.getCurrentContent(),i=this.getSelection();return i.isCollapsed()?J3(r,i):X3(r,i)},e.getBlockTree=function(a){return this.getImmutable().getIn(["treeMap",a])},e.isSelectionAtStartOfContent=function(){var a=this.getCurrentContent().getBlockMap().first().getKey();return this.getSelection().hasEdgeWithin(a,0,0)},e.isSelectionAtEndOfContent=function(){var a=this.getCurrentContent(),r=a.getBlockMap(),i=r.last(),s=i.getLength();return this.getSelection().hasEdgeWithin(i.getKey(),s,s)},e.getDirectionMap=function(){return this.getImmutable().get("directionMap")},t.acceptSelection=function(a,r){return Qo(a,r,!1)},t.forceSelection=function(a,r){return r.getHasFocus()||(r=r.set("hasFocus",!0)),Qo(a,r,!0)},t.moveSelectionToEnd=function(a){var r=a.getCurrentContent(),i=r.getLastBlock(),s=i.getKey(),u=i.getLength();return t.acceptSelection(a,new Di({anchorKey:s,anchorOffset:u,focusKey:s,focusOffset:u,isBackward:!1}))},t.moveFocusToEnd=function(a){var r=t.moveSelectionToEnd(a);return t.forceSelection(r,r.getSelection())},t.push=function(a,r,i){var s=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!0;if(a.getCurrentContent()===r)return a;var u=Tl.getDirectionMap(r,a.getDirectionMap());if(!a.getAllowUndo())return t.set(a,{currentContent:r,directionMap:u,lastChangeType:i,selection:r.getSelectionAfter(),forceSelection:s,inlineStyleOverride:null});var c=a.getSelection(),d=a.getCurrentContent(),g=a.getUndoStack(),S=r;c!==d.getSelectionAfter()||G3(a,i)?(g=g.push(d),S=S.set("selectionBefore",c)):(i==="insert-characters"||i==="backspace-character"||i==="delete-character")&&(S=S.set("selectionBefore",d.getSelectionBefore()));var p=a.getInlineStyleOverride(),m=["adjust-depth","change-block-type","split-block"];m.indexOf(i)===-1&&(p=null);var x={currentContent:S,directionMap:u,undoStack:g,redoStack:fn(),lastChangeType:i,selection:r.getSelectionAfter(),forceSelection:s,inlineStyleOverride:p};return t.set(a,x)},t.undo=function(a){if(!a.getAllowUndo())return a;var r=a.getUndoStack(),i=r.peek();if(!i)return a;var s=a.getCurrentContent(),u=Tl.getDirectionMap(i,a.getDirectionMap());return t.set(a,{currentContent:i,directionMap:u,undoStack:r.shift(),redoStack:a.getRedoStack().push(s),forceSelection:!0,inlineStyleOverride:null,lastChangeType:"undo",nativelyRenderedContent:null,selection:s.getSelectionBefore()})},t.redo=function(a){if(!a.getAllowUndo())return a;var r=a.getRedoStack(),i=r.peek();if(!i)return a;var s=a.getCurrentContent(),u=Tl.getDirectionMap(i,a.getDirectionMap());return t.set(a,{currentContent:i,directionMap:u,undoStack:a.getUndoStack().push(s),redoStack:r.shift(),forceSelection:!0,inlineStyleOverride:null,lastChangeType:"redo",nativelyRenderedContent:null,selection:i.getSelectionAfter()})};function t(n){T1(this,"_immutable",void 0),this._immutable=n}return e.getImmutable=function(){return this._immutable},t}();function Qo(e,t,n){return B1.set(e,{selection:t,forceSelection:n,nativelyRenderedContent:null,inlineStyleOverride:null})}function e2(e,t){return e.getBlockMap().map(function(n){return ni.generate(e,n,t)}).toOrderedMap()}function q3(e,t,n,a){var r=e.getCurrentContent().set("entityMap",n),i=r.getBlockMap(),s=e.getImmutable().get("treeMap");return s.merge(t.toSeq().filter(function(u,c){return u!==i.get(c)}).map(function(u){return ni.generate(r,u,a)}))}function Z3(e,t,n,a,r){return n.merge(t.toSeq().filter(function(i){return a.getDecorations(i,e)!==r.getDecorations(i,e)}).map(function(i){return ni.generate(e,i,a)}))}function G3(e,t){var n=e.getLastChangeType();return t!==n||t!=="insert-characters"&&t!=="backspace-character"&&t!=="delete-character"}function J3(e,t){var n=t.getStartKey(),a=t.getStartOffset(),r=e.getBlockForKey(n);return a>0?r.getInlineStyleAt(a-1):r.getLength()?r.getInlineStyleAt(0):A1(e,n)}function X3(e,t){var n=t.getStartKey(),a=t.getStartOffset(),r=e.getBlockForKey(n);return a<r.getLength()?r.getInlineStyleAt(a):a>0?r.getInlineStyleAt(a-1):A1(e,n)}function A1(e,t){var n=e.getBlockMap().reverse().skipUntil(function(a,r){return r===t}).skip(1).skipUntil(function(a,r){return a.getLength()}).first();return n?n.getInlineStyleAt(n.getLength()-1):I1()}var Kt=B1,Q3=Jr,ev=h1,R1=kt,Fa=Mt,tv=R1.OrderedMap,rv=R1.List,sn=function(t,n,a){if(t){var r=n.get(t);r&&n.set(t,a(r))}},av=function(t,n,a,r,i){if(!i)return t;var s=r==="after",u=n.getKey(),c=a.getKey(),d=n.getParentKey(),g=n.getNextSiblingKey(),S=n.getPrevSiblingKey(),p=a.getParentKey(),m=s?a.getNextSiblingKey():c,x=s?c:a.getPrevSiblingKey();return t.withMutations(function(_){sn(d,_,function(b){var O=b.getChildKeys();return b.merge({children:O.delete(O.indexOf(u))})}),sn(S,_,function(b){return b.merge({nextSibling:g})}),sn(g,_,function(b){return b.merge({prevSibling:S})}),sn(m,_,function(b){return b.merge({prevSibling:u})}),sn(x,_,function(b){return b.merge({nextSibling:u})}),sn(p,_,function(b){var O=b.getChildKeys(),C=O.indexOf(c),D=s?C+1:C!==0?C-1:0,N=O.toArray();return N.splice(D,0,u),b.merge({children:rv(N)})}),sn(u,_,function(b){return b.merge({nextSibling:m,prevSibling:x,parent:p})})})},nv=function(t,n,a,r){r==="replace"&&(process.env.NODE_ENV!=="production"?Fa(!1,"Replacing blocks is not supported."):Fa(!1));var i=a.getKey(),s=n.getKey();s===i&&(process.env.NODE_ENV!=="production"?Fa(!1,"Block cannot be moved next to itself."):Fa(!1));var u=t.getBlockMap(),c=n instanceof Q3,d=[n],g=u.delete(s);c&&(d=[],g=u.withMutations(function(O){var C=n.getNextSiblingKey(),D=ev(n,O);O.toSeq().skipUntil(function(N){return N.getKey()===s}).takeWhile(function(N){var B=N.getKey(),G=B===s,re=C&&B!==C,fe=!C&&N.getParentKey()&&(!D||B!==D);return!!(G||re||fe)}).forEach(function(N){d.push(N),O.delete(N.getKey())})}));var S=g.toSeq().takeUntil(function(O){return O===a}),p=g.toSeq().skipUntil(function(O){return O===a}).skip(1),m=d.map(function(O){return[O.getKey(),O]}),x=tv();if(r==="before"){var _=t.getBlockBefore(i);!_||_.getKey()!==n.getKey()||(process.env.NODE_ENV!=="production"?Fa(!1,"Block cannot be moved next to itself."):Fa(!1)),x=S.concat([].concat(m,[[i,a]]),p).toOrderedMap()}else if(r==="after"){var b=t.getBlockAfter(i);!b||b.getKey()!==s||(process.env.NODE_ENV!=="production"?Fa(!1,"Block cannot be moved next to itself."):Fa(!1)),x=S.concat([[i,a]].concat(m),p).toOrderedMap()}return t.merge({blockMap:av(x,n,a,r,c),selectionBefore:t.getSelectionAfter(),selectionAfter:t.getSelectionAfter().merge({anchorKey:s,focusKey:s})})},lv=nv;function t2(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{},a=Object.keys(n);typeof Object.getOwnPropertySymbols=="function"&&(a=a.concat(Object.getOwnPropertySymbols(n).filter(function(r){return Object.getOwnPropertyDescriptor(n,r).enumerable}))),a.forEach(function(r){iv(e,r,n[r])})}return e}function iv(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var ov=fl,sv=Gr,uv=pn,cv=Jr,On=Tr,r2=Kt,a2=pa,fv=Xa,F1=kt,Il=lv,j1=fv("draft_tree_data_support"),n2=j1?cv:uv,dv=F1.List,vv=F1.Repeat,pv={insertAtomicBlock:function(t,n,a){var r=t.getCurrentContent(),i=t.getSelection(),s=On.removeRange(r,i,"backward"),u=s.getSelectionAfter(),c=On.splitBlock(s,u),d=c.getSelectionAfter(),g=On.setBlockType(c,d,"atomic"),S=sv.create({entity:n}),p={key:a2(),type:"atomic",text:a,characterList:dv(vv(S,a.length))},m={key:a2(),type:"unstyled"};j1&&(p=t2({},p,{nextSibling:m.key}),m=t2({},m,{prevSibling:p.key}));var x=[new n2(p),new n2(m)],_=ov.createFromArray(x),b=On.replaceWithFragment(g,d,_),O=b.merge({selectionBefore:i,selectionAfter:b.getSelectionAfter().set("hasFocus",!0)});return r2.push(t,O,"insert-fragment")},moveAtomicBlock:function(t,n,a,r){var i=t.getCurrentContent(),s=t.getSelection(),u;if(r==="before"||r==="after"){var c=i.getBlockForKey(r==="before"?a.getStartKey():a.getEndKey());u=Il(i,n,c,r)}else{var d=On.removeRange(i,a,"backward"),g=d.getSelectionAfter(),S=d.getBlockForKey(g.getFocusKey());if(g.getStartOffset()===0)u=Il(d,n,S,"before");else if(g.getEndOffset()===S.getLength())u=Il(d,n,S,"after");else{var p=On.splitBlock(d,g),m=p.getSelectionAfter(),x=p.getBlockForKey(m.getFocusKey());u=Il(p,n,x,"before")}}var _=u.merge({selectionBefore:s,selectionAfter:u.getSelectionAfter().set("hasFocus",!0)});return r2.push(t,_,"move-block")}},hv=pv;function gv(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var mv=kt,bv=mv.List,Oi=".",yv=function(){function e(n){gv(this,"_decorators",void 0),this._decorators=n.slice()}var t=e.prototype;return t.getDecorations=function(a,r){var i=Array(a.getText().length).fill(null);return this._decorators.forEach(function(s,u){var c=0,d=s.strategy,g=function(p,m){wv(i,p,m)&&(xv(i,p,m,u+Oi+c),c++)};d(a,g,r)}),bv(i)},t.getComponentForKey=function(a){var r=parseInt(a.split(Oi)[0],10);return this._decorators[r].component},t.getPropsForKey=function(a){var r=parseInt(a.split(Oi)[0],10);return this._decorators[r].props},e}();function wv(e,t,n){for(var a=t;a<n;a++)if(e[a]!=null)return!1;return!0}function xv(e,t,n,a){for(var r=t;r<n;r++)e[r]=a}var Cv=yv;function _v(e){return typeof e=="object"?Object.keys(e).filter(function(t){return e[t]}).map(l2).join(" "):Array.prototype.map.call(arguments,l2).join(" ")}function l2(e){return e.replace(/\//g,"-")}var hn=_v,N0=ee,T0=hn,Sv=kt,Ev=Sv.Map,kv=N0.createElement("ul",{className:T0("public/DraftStyleDefault/ul")}),Dv=N0.createElement("ol",{className:T0("public/DraftStyleDefault/ol")}),Ov=N0.createElement("pre",{className:T0("public/DraftStyleDefault/pre")}),Mv=Ev({"header-one":{element:"h1"},"header-two":{element:"h2"},"header-three":{element:"h3"},"header-four":{element:"h4"},"header-five":{element:"h5"},"header-six":{element:"h6"},section:{element:"section"},article:{element:"article"},"unordered-list-item":{element:"li",wrapper:kv},"ordered-list-item":{element:"li",wrapper:Dv},blockquote:{element:"blockquote"},atomic:{element:"figure"},"code-block":{element:"pre",wrapper:Ov},unstyled:{element:"div",aliasedElements:["p"]}}),I0=Mv,P1={BOLD:{fontWeight:"bold"},CODE:{fontFamily:"monospace",wordWrap:"break-word"},ITALIC:{fontStyle:"italic"},STRIKETHROUGH:{textDecoration:"line-through"},UNDERLINE:{textDecoration:"underline"}};/*
55
+ object-assign
56
+ (c) Sindre Sorhus
57
+ @license MIT
58
+ */var i2=Object.getOwnPropertySymbols,Lv=Object.prototype.hasOwnProperty,Nv=Object.prototype.propertyIsEnumerable;function Tv(e){if(e==null)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}function Iv(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de",Object.getOwnPropertyNames(e)[0]==="5")return!1;for(var t={},n=0;n<10;n++)t["_"+String.fromCharCode(n)]=n;var a=Object.getOwnPropertyNames(t).map(function(i){return t[i]});if(a.join("")!=="0123456789")return!1;var r={};return"abcdefghijklmnopqrst".split("").forEach(function(i){r[i]=i}),Object.keys(Object.assign({},r)).join("")==="abcdefghijklmnopqrst"}catch{return!1}}var gn=Iv()?Object.assign:function(e,t){for(var n,a=Tv(e),r,i=1;i<arguments.length;i++){n=Object(arguments[i]);for(var s in n)Lv.call(n,s)&&(a[s]=n[s]);if(i2){r=i2(n);for(var u=0;u<r.length;u++)Nv.call(n,r[u])&&(a[r[u]]=n[r[u]])}}return a},c0={exports:{}};(function(e,t){(function(n,a){var r="0.7.40",i="",s="?",u="function",c="undefined",d="object",g="string",S="major",p="model",m="name",x="type",_="vendor",b="version",O="architecture",C="console",D="mobile",N="tablet",B="smarttv",G="wearable",re="embedded",fe=500,z="Amazon",j="Apple",Y="ASUS",le="BlackBerry",X="Browser",se="Chrome",we="Edge",be="Firefox",ce="Google",Ee="Huawei",Ce="LG",he="Microsoft",T="Motorola",W="Opera",ge="Samsung",je="Sharp",ue="Sony",ke="Xiaomi",Ve="Zebra",it="Facebook",Lt="Chromium OS",ot="Mac OS",Dt=" Browser",yt=function(L,A){var R={};for(var $ in L)A[$]&&A[$].length%2===0?R[$]=A[$].concat(L[$]):R[$]=L[$];return R},tt=function(L){for(var A={},R=0;R<L.length;R++)A[L[R].toUpperCase()]=L[R];return A},qe=function(L,A){return typeof L===g?Le(A).indexOf(Le(L))!==-1:!1},Le=function(L){return L.toLowerCase()},_t=function(L){return typeof L===g?L.replace(/[^\d\.]/g,i).split(".")[0]:a},Zt=function(L,A){if(typeof L===g)return L=L.replace(/^\s\s*/,i),typeof A===c?L:L.substring(0,fe)},gt=function(L,A){for(var R=0,$,V,de,te,U,pe;R<A.length&&!U;){var Q=A[R],Se=A[R+1];for($=V=0;$<Q.length&&!U&&Q[$];)if(U=Q[$++].exec(L),U)for(de=0;de<Se.length;de++)pe=U[++V],te=Se[de],typeof te===d&&te.length>0?te.length===2?typeof te[1]==u?this[te[0]]=te[1].call(this,pe):this[te[0]]=te[1]:te.length===3?typeof te[1]===u&&!(te[1].exec&&te[1].test)?this[te[0]]=pe?te[1].call(this,pe,te[2]):a:this[te[0]]=pe?pe.replace(te[1],te[2]):a:te.length===4&&(this[te[0]]=pe?te[3].call(this,pe.replace(te[1],te[2])):a):this[te]=pe||a;R+=2}},Ue=function(L,A){for(var R in A)if(typeof A[R]===d&&A[R].length>0){for(var $=0;$<A[R].length;$++)if(qe(A[R][$],L))return R===s?a:R}else if(qe(A[R],L))return R===s?a:R;return A.hasOwnProperty("*")?A["*"]:L},Nt={"1.0":"/8","1.2":"/1","1.3":"/3","2.0":"/412","2.0.2":"/416","2.0.3":"/417","2.0.4":"/419","?":"/"},It={ME:"4.90","NT 3.11":"NT3.51","NT 4.0":"NT4.0",2e3:"NT 5.0",XP:["NT 5.1","NT 5.2"],Vista:"NT 6.0",7:"NT 6.1",8:"NT 6.2","8.1":"NT 6.3",10:["NT 6.4","NT 10.0"],RT:"ARM"},zt={browser:[[/\b(?:crmo|crios)\/([\w\.]+)/i],[b,[m,"Chrome"]],[/edg(?:e|ios|a)?\/([\w\.]+)/i],[b,[m,"Edge"]],[/(opera mini)\/([-\w\.]+)/i,/(opera [mobiletab]{3,6})\b.+version\/([-\w\.]+)/i,/(opera)(?:.+version\/|[\/ ]+)([\w\.]+)/i],[m,b],[/opios[\/ ]+([\w\.]+)/i],[b,[m,W+" Mini"]],[/\bop(?:rg)?x\/([\w\.]+)/i],[b,[m,W+" GX"]],[/\bopr\/([\w\.]+)/i],[b,[m,W]],[/\bb[ai]*d(?:uhd|[ub]*[aekoprswx]{5,6})[\/ ]?([\w\.]+)/i],[b,[m,"Baidu"]],[/\b(?:mxbrowser|mxios|myie2)\/?([-\w\.]*)\b/i],[b,[m,"Maxthon"]],[/(kindle)\/([\w\.]+)/i,/(lunascape|maxthon|netfront|jasmine|blazer|sleipnir)[\/ ]?([\w\.]*)/i,/(avant|iemobile|slim(?:browser|boat|jet))[\/ ]?([\d\.]*)/i,/(?:ms|\()(ie) ([\w\.]+)/i,/(flock|rockmelt|midori|epiphany|silk|skyfire|ovibrowser|bolt|iron|vivaldi|iridium|phantomjs|bowser|qupzilla|falkon|rekonq|puffin|brave|whale(?!.+naver)|qqbrowserlite|duckduckgo|klar|helio|(?=comodo_)?dragon)\/([-\w\.]+)/i,/(heytap|ovi|115)browser\/([\d\.]+)/i,/(weibo)__([\d\.]+)/i],[m,b],[/quark(?:pc)?\/([-\w\.]+)/i],[b,[m,"Quark"]],[/\bddg\/([\w\.]+)/i],[b,[m,"DuckDuckGo"]],[/(?:\buc? ?browser|(?:juc.+)ucweb)[\/ ]?([\w\.]+)/i],[b,[m,"UC"+X]],[/microm.+\bqbcore\/([\w\.]+)/i,/\bqbcore\/([\w\.]+).+microm/i,/micromessenger\/([\w\.]+)/i],[b,[m,"WeChat"]],[/konqueror\/([\w\.]+)/i],[b,[m,"Konqueror"]],[/trident.+rv[: ]([\w\.]{1,9})\b.+like gecko/i],[b,[m,"IE"]],[/ya(?:search)?browser\/([\w\.]+)/i],[b,[m,"Yandex"]],[/slbrowser\/([\w\.]+)/i],[b,[m,"Smart Lenovo "+X]],[/(avast|avg)\/([\w\.]+)/i],[[m,/(.+)/,"$1 Secure "+X],b],[/\bfocus\/([\w\.]+)/i],[b,[m,be+" Focus"]],[/\bopt\/([\w\.]+)/i],[b,[m,W+" Touch"]],[/coc_coc\w+\/([\w\.]+)/i],[b,[m,"Coc Coc"]],[/dolfin\/([\w\.]+)/i],[b,[m,"Dolphin"]],[/coast\/([\w\.]+)/i],[b,[m,W+" Coast"]],[/miuibrowser\/([\w\.]+)/i],[b,[m,"MIUI"+Dt]],[/fxios\/([\w\.-]+)/i],[b,[m,be]],[/\bqihoobrowser\/?([\w\.]*)/i],[b,[m,"360"]],[/\b(qq)\/([\w\.]+)/i],[[m,/(.+)/,"$1Browser"],b],[/(oculus|sailfish|huawei|vivo|pico)browser\/([\w\.]+)/i],[[m,/(.+)/,"$1"+Dt],b],[/samsungbrowser\/([\w\.]+)/i],[b,[m,ge+" Internet"]],[/metasr[\/ ]?([\d\.]+)/i],[b,[m,"Sogou Explorer"]],[/(sogou)mo\w+\/([\d\.]+)/i],[[m,"Sogou Mobile"],b],[/(electron)\/([\w\.]+) safari/i,/(tesla)(?: qtcarbrowser|\/(20\d\d\.[-\w\.]+))/i,/m?(qqbrowser|2345(?=browser|chrome|explorer))\w*[\/ ]?v?([\w\.]+)/i],[m,b],[/(lbbrowser|rekonq)/i,/\[(linkedin)app\]/i],[m],[/ome\/([\w\.]+) \w* ?(iron) saf/i,/ome\/([\w\.]+).+qihu (360)[es]e/i],[b,m],[/((?:fban\/fbios|fb_iab\/fb4a)(?!.+fbav)|;fbav\/([\w\.]+);)/i],[[m,it],b],[/(Klarna)\/([\w\.]+)/i,/(kakao(?:talk|story))[\/ ]([\w\.]+)/i,/(naver)\(.*?(\d+\.[\w\.]+).*\)/i,/safari (line)\/([\w\.]+)/i,/\b(line)\/([\w\.]+)\/iab/i,/(alipay)client\/([\w\.]+)/i,/(twitter)(?:and| f.+e\/([\w\.]+))/i,/(chromium|instagram|snapchat)[\/ ]([-\w\.]+)/i],[m,b],[/\bgsa\/([\w\.]+) .*safari\//i],[b,[m,"GSA"]],[/musical_ly(?:.+app_?version\/|_)([\w\.]+)/i],[b,[m,"TikTok"]],[/headlesschrome(?:\/([\w\.]+)| )/i],[b,[m,se+" Headless"]],[/ wv\).+(chrome)\/([\w\.]+)/i],[[m,se+" WebView"],b],[/droid.+ version\/([\w\.]+)\b.+(?:mobile safari|safari)/i],[b,[m,"Android "+X]],[/(chrome|omniweb|arora|[tizenoka]{5} ?browser)\/v?([\w\.]+)/i],[m,b],[/version\/([\w\.\,]+) .*mobile\/\w+ (safari)/i],[b,[m,"Mobile Safari"]],[/version\/([\w(\.|\,)]+) .*(mobile ?safari|safari)/i],[b,m],[/webkit.+?(mobile ?safari|safari)(\/[\w\.]+)/i],[m,[b,Ue,Nt]],[/(webkit|khtml)\/([\w\.]+)/i],[m,b],[/(navigator|netscape\d?)\/([-\w\.]+)/i],[[m,"Netscape"],b],[/(wolvic|librewolf)\/([\w\.]+)/i],[m,b],[/mobile vr; rv:([\w\.]+)\).+firefox/i],[b,[m,be+" Reality"]],[/ekiohf.+(flow)\/([\w\.]+)/i,/(swiftfox)/i,/(icedragon|iceweasel|camino|chimera|fennec|maemo browser|minimo|conkeror)[\/ ]?([\w\.\+]+)/i,/(seamonkey|k-meleon|icecat|iceape|firebird|phoenix|palemoon|basilisk|waterfox)\/([-\w\.]+)$/i,/(firefox)\/([\w\.]+)/i,/(mozilla)\/([\w\.]+) .+rv\:.+gecko\/\d+/i,/(polaris|lynx|dillo|icab|doris|amaya|w3m|netsurf|obigo|mosaic|(?:go|ice|up)[\. ]?browser)[-\/ ]?v?([\w\.]+)/i,/(links) \(([\w\.]+)/i],[m,[b,/_/g,"."]],[/(cobalt)\/([\w\.]+)/i],[m,[b,/master.|lts./,""]]],cpu:[[/(?:(amd|x(?:(?:86|64)[-_])?|wow|win)64)[;\)]/i],[[O,"amd64"]],[/(ia32(?=;))/i],[[O,Le]],[/((?:i[346]|x)86)[;\)]/i],[[O,"ia32"]],[/\b(aarch64|arm(v?8e?l?|_?64))\b/i],[[O,"arm64"]],[/\b(arm(?:v[67])?ht?n?[fl]p?)\b/i],[[O,"armhf"]],[/windows (ce|mobile); ppc;/i],[[O,"arm"]],[/((?:ppc|powerpc)(?:64)?)(?: mac|;|\))/i],[[O,/ower/,i,Le]],[/(sun4\w)[;\)]/i],[[O,"sparc"]],[/((?:avr32|ia64(?=;))|68k(?=\))|\barm(?=v(?:[1-7]|[5-7]1)l?|;|eabi)|(?=atmel )avr|(?:irix|mips|sparc)(?:64)?\b|pa-risc)/i],[[O,Le]]],device:[[/\b(sch-i[89]0\d|shw-m380s|sm-[ptx]\w{2,4}|gt-[pn]\d{2,4}|sgh-t8[56]9|nexus 10)/i],[p,[_,ge],[x,N]],[/\b((?:s[cgp]h|gt|sm)-(?![lr])\w+|sc[g-]?[\d]+a?|galaxy nexus)/i,/samsung[- ]((?!sm-[lr])[-\w]+)/i,/sec-(sgh\w+)/i],[p,[_,ge],[x,D]],[/(?:\/|\()(ip(?:hone|od)[\w, ]*)(?:\/|;)/i],[p,[_,j],[x,D]],[/\((ipad);[-\w\),; ]+apple/i,/applecoremedia\/[\w\.]+ \((ipad)/i,/\b(ipad)\d\d?,\d\d?[;\]].+ios/i],[p,[_,j],[x,N]],[/(macintosh);/i],[p,[_,j]],[/\b(sh-?[altvz]?\d\d[a-ekm]?)/i],[p,[_,je],[x,D]],[/(?:honor)([-\w ]+)[;\)]/i],[p,[_,"Honor"],[x,D]],[/\b((?:ag[rs][23]?|bah2?|sht?|btv)-a?[lw]\d{2})\b(?!.+d\/s)/i],[p,[_,Ee],[x,N]],[/(?:huawei)([-\w ]+)[;\)]/i,/\b(nexus 6p|\w{2,4}e?-[atu]?[ln][\dx][012359c][adn]?)\b(?!.+d\/s)/i],[p,[_,Ee],[x,D]],[/\b(poco[\w ]+|m2\d{3}j\d\d[a-z]{2})(?: bui|\))/i,/\b; (\w+) build\/hm\1/i,/\b(hm[-_ ]?note?[_ ]?(?:\d\w)?) bui/i,/\b(redmi[\-_ ]?(?:note|k)?[\w_ ]+)(?: bui|\))/i,/oid[^\)]+; (m?[12][0-389][01]\w{3,6}[c-y])( bui|; wv|\))/i,/\b(mi[-_ ]?(?:a\d|one|one[_ ]plus|note lte|max|cc)?[_ ]?(?:\d?\w?)[_ ]?(?:plus|se|lite|pro)?)(?: bui|\))/i],[[p,/_/g," "],[_,ke],[x,D]],[/oid[^\)]+; (2\d{4}(283|rpbf)[cgl])( bui|\))/i,/\b(mi[-_ ]?(?:pad)(?:[\w_ ]+))(?: bui|\))/i],[[p,/_/g," "],[_,ke],[x,N]],[/; (\w+) bui.+ oppo/i,/\b(cph[12]\d{3}|p(?:af|c[al]|d\w|e[ar])[mt]\d0|x9007|a101op)\b/i],[p,[_,"OPPO"],[x,D]],[/\b(opd2\d{3}a?) bui/i],[p,[_,"OPPO"],[x,N]],[/vivo (\w+)(?: bui|\))/i,/\b(v[12]\d{3}\w?[at])(?: bui|;)/i],[p,[_,"Vivo"],[x,D]],[/\b(rmx[1-3]\d{3})(?: bui|;|\))/i],[p,[_,"Realme"],[x,D]],[/\b(milestone|droid(?:[2-4x]| (?:bionic|x2|pro|razr))?:?( 4g)?)\b[\w ]+build\//i,/\bmot(?:orola)?[- ](\w*)/i,/((?:moto[\w\(\) ]+|xt\d{3,4}|nexus 6)(?= bui|\)))/i],[p,[_,T],[x,D]],[/\b(mz60\d|xoom[2 ]{0,2}) build\//i],[p,[_,T],[x,N]],[/((?=lg)?[vl]k\-?\d{3}) bui| 3\.[-\w; ]{10}lg?-([06cv9]{3,4})/i],[p,[_,Ce],[x,N]],[/(lm(?:-?f100[nv]?|-[\w\.]+)(?= bui|\))|nexus [45])/i,/\blg[-e;\/ ]+((?!browser|netcast|android tv)\w+)/i,/\blg-?([\d\w]+) bui/i],[p,[_,Ce],[x,D]],[/(ideatab[-\w ]+)/i,/lenovo ?(s[56]000[-\w]+|tab(?:[\w ]+)|yt[-\d\w]{6}|tb[-\d\w]{6})/i],[p,[_,"Lenovo"],[x,N]],[/(?:maemo|nokia).*(n900|lumia \d+)/i,/nokia[-_ ]?([-\w\.]*)/i],[[p,/_/g," "],[_,"Nokia"],[x,D]],[/(pixel c)\b/i],[p,[_,ce],[x,N]],[/droid.+; (pixel[\daxl ]{0,6})(?: bui|\))/i],[p,[_,ce],[x,D]],[/droid.+; (a?\d[0-2]{2}so|[c-g]\d{4}|so[-gl]\w+|xq-a\w[4-7][12])(?= bui|\).+chrome\/(?![1-6]{0,1}\d\.))/i],[p,[_,ue],[x,D]],[/sony tablet [ps]/i,/\b(?:sony)?sgp\w+(?: bui|\))/i],[[p,"Xperia Tablet"],[_,ue],[x,N]],[/ (kb2005|in20[12]5|be20[12][59])\b/i,/(?:one)?(?:plus)? (a\d0\d\d)(?: b|\))/i],[p,[_,"OnePlus"],[x,D]],[/(alexa)webm/i,/(kf[a-z]{2}wi|aeo(?!bc)\w\w)( bui|\))/i,/(kf[a-z]+)( bui|\)).+silk\//i],[p,[_,z],[x,N]],[/((?:sd|kf)[0349hijorstuw]+)( bui|\)).+silk\//i],[[p,/(.+)/g,"Fire Phone $1"],[_,z],[x,D]],[/(playbook);[-\w\),; ]+(rim)/i],[p,_,[x,N]],[/\b((?:bb[a-f]|st[hv])100-\d)/i,/\(bb10; (\w+)/i],[p,[_,le],[x,D]],[/(?:\b|asus_)(transfo[prime ]{4,10} \w+|eeepc|slider \w+|nexus 7|padfone|p00[cj])/i],[p,[_,Y],[x,N]],[/ (z[bes]6[027][012][km][ls]|zenfone \d\w?)\b/i],[p,[_,Y],[x,D]],[/(nexus 9)/i],[p,[_,"HTC"],[x,N]],[/(htc)[-;_ ]{1,2}([\w ]+(?=\)| bui)|\w+)/i,/(zte)[- ]([\w ]+?)(?: bui|\/|\))/i,/(alcatel|geeksphone|nexian|panasonic(?!(?:;|\.))|sony(?!-bra))[-_ ]?([-\w]*)/i],[_,[p,/_/g," "],[x,D]],[/droid [\w\.]+; ((?:8[14]9[16]|9(?:0(?:48|60|8[01])|1(?:3[27]|66)|2(?:6[69]|9[56])|466))[gqswx])\w*(\)| bui)/i],[p,[_,"TCL"],[x,N]],[/(itel) ((\w+))/i],[[_,Le],p,[x,Ue,{tablet:["p10001l","w7001"],"*":"mobile"}]],[/droid.+; ([ab][1-7]-?[0178a]\d\d?)/i],[p,[_,"Acer"],[x,N]],[/droid.+; (m[1-5] note) bui/i,/\bmz-([-\w]{2,})/i],[p,[_,"Meizu"],[x,D]],[/; ((?:power )?armor(?:[\w ]{0,8}))(?: bui|\))/i],[p,[_,"Ulefone"],[x,D]],[/; (energy ?\w+)(?: bui|\))/i,/; energizer ([\w ]+)(?: bui|\))/i],[p,[_,"Energizer"],[x,D]],[/; cat (b35);/i,/; (b15q?|s22 flip|s48c|s62 pro)(?: bui|\))/i],[p,[_,"Cat"],[x,D]],[/((?:new )?andromax[\w- ]+)(?: bui|\))/i],[p,[_,"Smartfren"],[x,D]],[/droid.+; (a(?:015|06[35]|142p?))/i],[p,[_,"Nothing"],[x,D]],[/(blackberry|benq|palm(?=\-)|sonyericsson|acer|asus|dell|meizu|motorola|polytron|infinix|tecno|micromax|advan)[-_ ]?([-\w]*)/i,/; (imo) ((?!tab)[\w ]+?)(?: bui|\))/i,/(hp) ([\w ]+\w)/i,/(asus)-?(\w+)/i,/(microsoft); (lumia[\w ]+)/i,/(lenovo)[-_ ]?([-\w]+)/i,/(jolla)/i,/(oppo) ?([\w ]+) bui/i],[_,p,[x,D]],[/(imo) (tab \w+)/i,/(kobo)\s(ereader|touch)/i,/(archos) (gamepad2?)/i,/(hp).+(touchpad(?!.+tablet)|tablet)/i,/(kindle)\/([\w\.]+)/i,/(nook)[\w ]+build\/(\w+)/i,/(dell) (strea[kpr\d ]*[\dko])/i,/(le[- ]+pan)[- ]+(\w{1,9}) bui/i,/(trinity)[- ]*(t\d{3}) bui/i,/(gigaset)[- ]+(q\w{1,9}) bui/i,/(vodafone) ([\w ]+)(?:\)| bui)/i],[_,p,[x,N]],[/(surface duo)/i],[p,[_,he],[x,N]],[/droid [\d\.]+; (fp\du?)(?: b|\))/i],[p,[_,"Fairphone"],[x,D]],[/(u304aa)/i],[p,[_,"AT&T"],[x,D]],[/\bsie-(\w*)/i],[p,[_,"Siemens"],[x,D]],[/\b(rct\w+) b/i],[p,[_,"RCA"],[x,N]],[/\b(venue[\d ]{2,7}) b/i],[p,[_,"Dell"],[x,N]],[/\b(q(?:mv|ta)\w+) b/i],[p,[_,"Verizon"],[x,N]],[/\b(?:barnes[& ]+noble |bn[rt])([\w\+ ]*) b/i],[p,[_,"Barnes & Noble"],[x,N]],[/\b(tm\d{3}\w+) b/i],[p,[_,"NuVision"],[x,N]],[/\b(k88) b/i],[p,[_,"ZTE"],[x,N]],[/\b(nx\d{3}j) b/i],[p,[_,"ZTE"],[x,D]],[/\b(gen\d{3}) b.+49h/i],[p,[_,"Swiss"],[x,D]],[/\b(zur\d{3}) b/i],[p,[_,"Swiss"],[x,N]],[/\b((zeki)?tb.*\b) b/i],[p,[_,"Zeki"],[x,N]],[/\b([yr]\d{2}) b/i,/\b(dragon[- ]+touch |dt)(\w{5}) b/i],[[_,"Dragon Touch"],p,[x,N]],[/\b(ns-?\w{0,9}) b/i],[p,[_,"Insignia"],[x,N]],[/\b((nxa|next)-?\w{0,9}) b/i],[p,[_,"NextBook"],[x,N]],[/\b(xtreme\_)?(v(1[045]|2[015]|[3469]0|7[05])) b/i],[[_,"Voice"],p,[x,D]],[/\b(lvtel\-)?(v1[12]) b/i],[[_,"LvTel"],p,[x,D]],[/\b(ph-1) /i],[p,[_,"Essential"],[x,D]],[/\b(v(100md|700na|7011|917g).*\b) b/i],[p,[_,"Envizen"],[x,N]],[/\b(trio[-\w\. ]+) b/i],[p,[_,"MachSpeed"],[x,N]],[/\btu_(1491) b/i],[p,[_,"Rotor"],[x,N]],[/(shield[\w ]+) b/i],[p,[_,"Nvidia"],[x,N]],[/(sprint) (\w+)/i],[_,p,[x,D]],[/(kin\.[onetw]{3})/i],[[p,/\./g," "],[_,he],[x,D]],[/droid.+; (cc6666?|et5[16]|mc[239][23]x?|vc8[03]x?)\)/i],[p,[_,Ve],[x,N]],[/droid.+; (ec30|ps20|tc[2-8]\d[kx])\)/i],[p,[_,Ve],[x,D]],[/smart-tv.+(samsung)/i],[_,[x,B]],[/hbbtv.+maple;(\d+)/i],[[p,/^/,"SmartTV"],[_,ge],[x,B]],[/(nux; netcast.+smarttv|lg (netcast\.tv-201\d|android tv))/i],[[_,Ce],[x,B]],[/(apple) ?tv/i],[_,[p,j+" TV"],[x,B]],[/crkey/i],[[p,se+"cast"],[_,ce],[x,B]],[/droid.+aft(\w+)( bui|\))/i],[p,[_,z],[x,B]],[/\(dtv[\);].+(aquos)/i,/(aquos-tv[\w ]+)\)/i],[p,[_,je],[x,B]],[/(bravia[\w ]+)( bui|\))/i],[p,[_,ue],[x,B]],[/(mitv-\w{5}) bui/i],[p,[_,ke],[x,B]],[/Hbbtv.*(technisat) (.*);/i],[_,p,[x,B]],[/\b(roku)[\dx]*[\)\/]((?:dvp-)?[\d\.]*)/i,/hbbtv\/\d+\.\d+\.\d+ +\([\w\+ ]*; *([\w\d][^;]*);([^;]*)/i],[[_,Zt],[p,Zt],[x,B]],[/\b(android tv|smart[- ]?tv|opera tv|tv; rv:)\b/i],[[x,B]],[/(ouya)/i,/(nintendo) ([wids3utch]+)/i],[_,p,[x,C]],[/droid.+; (shield) bui/i],[p,[_,"Nvidia"],[x,C]],[/(playstation [345portablevi]+)/i],[p,[_,ue],[x,C]],[/\b(xbox(?: one)?(?!; xbox))[\); ]/i],[p,[_,he],[x,C]],[/\b(sm-[lr]\d\d[05][fnuw]?s?)\b/i],[p,[_,ge],[x,G]],[/((pebble))app/i],[_,p,[x,G]],[/(watch)(?: ?os[,\/]|\d,\d\/)[\d\.]+/i],[p,[_,j],[x,G]],[/droid.+; (glass) \d/i],[p,[_,ce],[x,G]],[/droid.+; (wt63?0{2,3})\)/i],[p,[_,Ve],[x,G]],[/droid.+; (glass) \d/i],[p,[_,ce],[x,G]],[/(pico) (4|neo3(?: link|pro)?)/i],[_,p,[x,G]],[/; (quest( \d| pro)?)/i],[p,[_,it],[x,G]],[/(tesla)(?: qtcarbrowser|\/[-\w\.]+)/i],[_,[x,re]],[/(aeobc)\b/i],[p,[_,z],[x,re]],[/droid .+?; ([^;]+?)(?: bui|; wv\)|\) applew).+? mobile safari/i],[p,[x,D]],[/droid .+?; ([^;]+?)(?: bui|\) applew).+?(?! mobile) safari/i],[p,[x,N]],[/\b((tablet|tab)[;\/]|focus\/\d(?!.+mobile))/i],[[x,N]],[/(phone|mobile(?:[;\/]| [ \w\/\.]*safari)|pda(?=.+windows ce))/i],[[x,D]],[/(android[-\w\. ]{0,9});.+buil/i],[p,[_,"Generic"]]],engine:[[/windows.+ edge\/([\w\.]+)/i],[b,[m,we+"HTML"]],[/(arkweb)\/([\w\.]+)/i],[m,b],[/webkit\/537\.36.+chrome\/(?!27)([\w\.]+)/i],[b,[m,"Blink"]],[/(presto)\/([\w\.]+)/i,/(webkit|trident|netfront|netsurf|amaya|lynx|w3m|goanna|servo)\/([\w\.]+)/i,/ekioh(flow)\/([\w\.]+)/i,/(khtml|tasman|links)[\/ ]\(?([\w\.]+)/i,/(icab)[\/ ]([23]\.[\d\.]+)/i,/\b(libweb)/i],[m,b],[/rv\:([\w\.]{1,9})\b.+(gecko)/i],[b,m]],os:[[/microsoft (windows) (vista|xp)/i],[m,b],[/(windows (?:phone(?: os)?|mobile))[\/ ]?([\d\.\w ]*)/i],[m,[b,Ue,It]],[/windows nt 6\.2; (arm)/i,/windows[\/ ]?([ntce\d\. ]+\w)(?!.+xbox)/i,/(?:win(?=3|9|n)|win 9x )([nt\d\.]+)/i],[[b,Ue,It],[m,"Windows"]],[/ip[honead]{2,4}\b(?:.*os ([\w]+) like mac|; opera)/i,/(?:ios;fbsv\/|iphone.+ios[\/ ])([\d\.]+)/i,/cfnetwork\/.+darwin/i],[[b,/_/g,"."],[m,"iOS"]],[/(mac os x) ?([\w\. ]*)/i,/(macintosh|mac_powerpc\b)(?!.+haiku)/i],[[m,ot],[b,/_/g,"."]],[/droid ([\w\.]+)\b.+(android[- ]x86|harmonyos)/i],[b,m],[/(android|webos|qnx|bada|rim tablet os|maemo|meego|sailfish|openharmony)[-\/ ]?([\w\.]*)/i,/(blackberry)\w*\/([\w\.]*)/i,/(tizen|kaios)[\/ ]([\w\.]+)/i,/\((series40);/i],[m,b],[/\(bb(10);/i],[b,[m,le]],[/(?:symbian ?os|symbos|s60(?=;)|series60)[-\/ ]?([\w\.]*)/i],[b,[m,"Symbian"]],[/mozilla\/[\d\.]+ \((?:mobile|tablet|tv|mobile; [\w ]+); rv:.+ gecko\/([\w\.]+)/i],[b,[m,be+" OS"]],[/web0s;.+rt(tv)/i,/\b(?:hp)?wos(?:browser)?\/([\w\.]+)/i],[b,[m,"webOS"]],[/watch(?: ?os[,\/]|\d,\d\/)([\d\.]+)/i],[b,[m,"watchOS"]],[/crkey\/([\d\.]+)/i],[b,[m,se+"cast"]],[/(cros) [\w]+(?:\)| ([\w\.]+)\b)/i],[[m,Lt],b],[/panasonic;(viera)/i,/(netrange)mmh/i,/(nettv)\/(\d+\.[\w\.]+)/i,/(nintendo|playstation) ([wids345portablevuch]+)/i,/(xbox); +xbox ([^\);]+)/i,/\b(joli|palm)\b ?(?:os)?\/?([\w\.]*)/i,/(mint)[\/\(\) ]?(\w*)/i,/(mageia|vectorlinux)[; ]/i,/([kxln]?ubuntu|debian|suse|opensuse|gentoo|arch(?= linux)|slackware|fedora|mandriva|centos|pclinuxos|red ?hat|zenwalk|linpus|raspbian|plan 9|minix|risc os|contiki|deepin|manjaro|elementary os|sabayon|linspire)(?: gnu\/linux)?(?: enterprise)?(?:[- ]linux)?(?:-gnu)?[-\/ ]?(?!chrom|package)([-\w\.]*)/i,/(hurd|linux) ?([\w\.]*)/i,/(gnu) ?([\w\.]*)/i,/\b([-frentopcghs]{0,5}bsd|dragonfly)[\/ ]?(?!amd|[ix346]{1,2}86)([\w\.]*)/i,/(haiku) (\w+)/i],[m,b],[/(sunos) ?([\w\.\d]*)/i],[[m,"Solaris"],b],[/((?:open)?solaris)[-\/ ]?([\w\.]*)/i,/(aix) ((\d)(?=\.|\)| )[\w\.])*/i,/\b(beos|os\/2|amigaos|morphos|openvms|fuchsia|hp-ux|serenityos)/i,/(unix) ?([\w\.]*)/i],[m,b]]},Rt=function(L,A){if(typeof L===d&&(A=L,L=a),!(this instanceof Rt))return new Rt(L,A).getResult();var R=typeof n!==c&&n.navigator?n.navigator:a,$=L||(R&&R.userAgent?R.userAgent:i),V=R&&R.userAgentData?R.userAgentData:a,de=A?yt(zt,A):zt,te=R&&R.userAgent==$;return this.getBrowser=function(){var U={};return U[m]=a,U[b]=a,gt.call(U,$,de.browser),U[S]=_t(U[b]),te&&R&&R.brave&&typeof R.brave.isBrave==u&&(U[m]="Brave"),U},this.getCPU=function(){var U={};return U[O]=a,gt.call(U,$,de.cpu),U},this.getDevice=function(){var U={};return U[_]=a,U[p]=a,U[x]=a,gt.call(U,$,de.device),te&&!U[x]&&V&&V.mobile&&(U[x]=D),te&&U[p]=="Macintosh"&&R&&typeof R.standalone!==c&&R.maxTouchPoints&&R.maxTouchPoints>2&&(U[p]="iPad",U[x]=N),U},this.getEngine=function(){var U={};return U[m]=a,U[b]=a,gt.call(U,$,de.engine),U},this.getOS=function(){var U={};return U[m]=a,U[b]=a,gt.call(U,$,de.os),te&&!U[m]&&V&&V.platform&&V.platform!="Unknown"&&(U[m]=V.platform.replace(/chrome os/i,Lt).replace(/macos/i,ot)),U},this.getResult=function(){return{ua:this.getUA(),browser:this.getBrowser(),engine:this.getEngine(),os:this.getOS(),device:this.getDevice(),cpu:this.getCPU()}},this.getUA=function(){return $},this.setUA=function(U){return $=typeof U===g&&U.length>fe?Zt(U,fe):U,this},this.setUA($),this};Rt.VERSION=r,Rt.BROWSER=tt([m,b,S]),Rt.CPU=tt([O]),Rt.DEVICE=tt([p,_,x,C,D,B,N,G,re]),Rt.ENGINE=Rt.OS=tt([m,b]),e.exports&&(t=e.exports=Rt),t.UAParser=Rt;var Ut=typeof n!==c&&(n.jQuery||n.Zepto);if(Ut&&!Ut.ua){var y=new Rt;Ut.ua=y.getResult(),Ut.ua.get=function(){return y.getUA()},Ut.ua.set=function(L){y.setUA(L);var A=y.getResult();for(var R in A)Ut.ua[R]=A[R]}}})(typeof window=="object"?window:ul)})(c0,c0.exports);var Bv=c0.exports,Av=Bv,qr="Unknown",Rv={"Mac OS":"Mac OS X"};function Fv(e){return Rv[e]||e}function jv(e){if(!e)return{major:"",minor:""};var t=e.split(".");return{major:t[0],minor:t[1]}}var Pv=new Av,Zr=Pv.getResult(),$v=jv(Zr.browser.version),Kv={browserArchitecture:Zr.cpu.architecture||qr,browserFullVersion:Zr.browser.version||qr,browserMinorVersion:$v.minor||qr,browserName:Zr.browser.name||qr,browserVersion:Zr.browser.major||qr,deviceName:Zr.device.model||qr,engineName:Zr.engine.name||qr,engineVersion:Zr.engine.version||qr,platformArchitecture:Zr.cpu.architecture||qr,platformName:Fv(Zr.os.name)||qr,platformVersion:Zr.os.version||qr,platformFullVersion:Zr.os.version||qr},zv=Kv,Ua=Mt,$1=/\./,Hv=/\|\|/,Vv=/\s+\-\s+/,Uv=/^(<=|<|=|>=|~>|~|>|)?\s*(.+)/,o2=/^(\d*)(.*)/;function Yv(e,t){var n=e.split(Hv);return n.length>1?n.some(function(a){return V1.contains(a,t)}):(e=n[0].trim(),Wv(e,t))}function Wv(e,t){var n=e.split(Vv);if(n.length>0&&n.length<=2||(process.env.NODE_ENV!=="production"?Ua(!1,'the "-" operator expects exactly 2 operands'):Ua(!1)),n.length===1)return Mi(n[0],t);var a=n[0],r=n[1];return s2(a)&&s2(r)||(process.env.NODE_ENV!=="production"?Ua(!1,'operands to the "-" operator must be simple (no modifiers)'):Ua(!1)),Mi(">="+a,t)&&Mi("<="+r,t)}function Mi(e,t){if(e=e.trim(),e==="")return!0;var n=t.split($1),a=H1(e),r=a.modifier,i=a.rangeComponents;switch(r){case"<":return K1(n,i);case"<=":return qv(n,i);case">=":return z1(n,i);case">":return Gv(n,i);case"~":case"~>":return Jv(n,i);default:return Zv(n,i)}}function K1(e,t){return ml(e,t)===-1}function qv(e,t){var n=ml(e,t);return n===-1||n===0}function Zv(e,t){return ml(e,t)===0}function z1(e,t){var n=ml(e,t);return n===1||n===0}function Gv(e,t){return ml(e,t)===1}function Jv(e,t){var n=t.slice(),a=t.slice();a.length>1&&a.pop();var r=a.length-1,i=parseInt(a[r],10);return f0(i)&&(a[r]=i+1+""),z1(e,n)&&K1(e,a)}function H1(e){var t=e.split($1),n=t[0].match(Uv);return n||(process.env.NODE_ENV!=="production"?Ua(!1,"expected regex to match but it did not"):Ua(!1)),{modifier:n[1],rangeComponents:[n[2]].concat(t.slice(1))}}function f0(e){return!isNaN(e)&&isFinite(e)}function s2(e){return!H1(e).modifier}function u2(e,t){for(var n=e.length;n<t;n++)e[n]="0"}function Xv(e,t){e=e.slice(),t=t.slice(),u2(e,t.length);for(var n=0;n<t.length;n++){var a=t[n].match(/^[x*]$/i);if(a&&(t[n]=e[n]="0",a[0]==="*"&&n===t.length-1))for(var r=n;r<e.length;r++)e[r]="0"}return u2(t,e.length),[e,t]}function Qv(e,t){var n=e.match(o2)[1],a=t.match(o2)[1],r=parseInt(n,10),i=parseInt(a,10);return f0(r)&&f0(i)&&r!==i?c2(r,i):c2(e,t)}function c2(e,t){return typeof e!=typeof t&&(process.env.NODE_ENV!=="production"?Ua(!1,'"a" and "b" must be of the same type'):Ua(!1)),e>t?1:e<t?-1:0}function ml(e,t){for(var n=Xv(e,t),a=n[0],r=n[1],i=0;i<r.length;i++){var s=Qv(a[i],r[i]);if(s)return s}return 0}var V1={contains:function(t,n){return Yv(t.trim(),n.trim())}},ep=V1,tp=Object.prototype.hasOwnProperty;function rp(e,t,n){if(!e)return null;var a={};for(var r in e)tp.call(e,r)&&(a[r]=t.call(n,e[r],r,e));return a}var ap=rp;function np(e){var t={};return function(n){return t.hasOwnProperty(n)||(t[n]=e.call(this,n)),t[n]}}var lp=np,da=zv,ip=ep,op=ap,sp=lp;function Mn(e,t,n,a){if(e===n)return!0;if(!n.startsWith(e))return!1;var r=n.slice(e.length);return t?(r=a?a(r):r,ip.contains(r,t)):!1}function up(e){return da.platformName==="Windows"?e.replace(/^\s*NT/,""):e}var cp={isBrowser:function(t){return Mn(da.browserName,da.browserFullVersion,t)},isBrowserArchitecture:function(t){return Mn(da.browserArchitecture,null,t)},isDevice:function(t){return Mn(da.deviceName,null,t)},isEngine:function(t){return Mn(da.engineName,da.engineVersion,t)},isPlatform:function(t){return Mn(da.platformName,da.platformFullVersion,t,up)},isPlatformArchitecture:function(t){return Mn(da.platformArchitecture,null,t)}},Br=op(cp,sp);function fp(e){return!e||!e.ownerDocument?document:e.ownerDocument}var li=fp;function dp(e){return!e||!e.ownerDocument?!1:e.nodeType===Node.ELEMENT_NODE}var mn=dp,vp=mn;function U1(e){if(vp(e)){var t=e,n=t.getAttribute("data-offset-key");if(n)return n;for(var a=0;a<t.childNodes.length;a++){var r=U1(t.childNodes[a]);if(r)return r}}return null}var Y1=U1,pp=li,hp=Y1;function gp(e){for(var t=e;t&&t!==pp(e).documentElement;){var n=hp(t);if(n!=null)return n;t=t.parentNode}return null}var ii=gp;function mp(e){return!e||!e.ownerDocument||!e.ownerDocument.defaultView?window:e.ownerDocument.defaultView}var W1=mp;function Bl(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var bp=Br,yp=ii,wp=W1,xp=kt,f2=Mt,Cp=Ir,d2=xp.Map,_p={subtree:!0,characterData:!0,childList:!0,characterDataOldValue:!1,attributes:!1},v2=bp.isBrowser("IE <= 11"),Sp=function(){function e(n){var a=this;Bl(this,"observer",void 0),Bl(this,"container",void 0),Bl(this,"mutations",void 0),Bl(this,"onCharData",void 0),this.container=n,this.mutations=d2();var r=wp(n);r.MutationObserver&&!v2?this.observer=new r.MutationObserver(function(i){return a.registerMutations(i)}):this.onCharData=function(i){i.target instanceof Node||(process.env.NODE_ENV!=="production"?f2(!1,"Expected target to be an instance of Node"):f2(!1)),a.registerMutation({type:"characterData",target:i.target})}}var t=e.prototype;return t.start=function(){this.observer?this.observer.observe(this.container,_p):this.container.addEventListener("DOMCharacterDataModified",this.onCharData)},t.stopAndFlushMutations=function(){var a=this.observer;a?(this.registerMutations(a.takeRecords()),a.disconnect()):this.container.removeEventListener("DOMCharacterDataModified",this.onCharData);var r=this.mutations;return this.mutations=d2(),r},t.registerMutations=function(a){for(var r=0;r<a.length;r++)this.registerMutation(a[r])},t.getMutationTextContent=function(a){var r=a.type,i=a.target,s=a.removedNodes;if(r==="characterData"){if(i.textContent!=="")return v2?i.textContent.replace(`
59
+ `,""):i.textContent}else if(r==="childList"){if(s&&s.length)return"";if(i.textContent!=="")return i.textContent}return null},t.registerMutation=function(a){var r=this.getMutationTextContent(a);if(r!=null){var i=Cp(yp(a.target));this.mutations=this.mutations.set(i,r)}},e}(),Ep=Sp,Al="-",kp={encode:function(t,n,a){return t+Al+n+Al+a},decode:function(t){var n=t.split(Al).reverse(),a=n[0],r=n[1],i=n.slice(2);return{blockKey:i.reverse().join(Al),decoratorKey:parseInt(r,10),leafKey:parseInt(a,10)}}},Ma=kp,oi={BACKSPACE:8,TAB:9,RETURN:13,ESC:27,SPACE:32,LEFT:37,UP:38,RIGHT:39,DOWN:40,DELETE:46},q1={logBlockedSelectionEvent:function(){return null},logSelectionStateFailure:function(){return null}};function Dp(e){return!e||!e.ownerDocument?!1:e.ownerDocument.defaultView?e instanceof e.ownerDocument.defaultView.HTMLElement:e instanceof HTMLElement}var bl=Dp,Rl=Mt,Op=bl;function Mp(e){var t=e.editorContainer;t||(process.env.NODE_ENV!=="production"?Rl(!1,"Missing editorNode"):Rl(!1)),Op(t.firstChild)||(process.env.NODE_ENV!=="production"?Rl(!1,"editorNode.firstChild is not an HTMLElement"):Rl(!1));var n=t.firstChild;return n}var Z1=Mp,p2=Ma,Lp=Ir;function Np(e,t,n,a,r){var i=Lp(e.getSelection());if(!t||!a)return process.env.NODE_ENV!=="production"&&console.warn("Invalid selection state.",arguments,e.toJS()),i;var s=p2.decode(t),u=s.blockKey,c=e.getBlockTree(u),d=c&&c.getIn([s.decoratorKey,"leaves",s.leafKey]),g=p2.decode(a),S=g.blockKey,p=e.getBlockTree(S),m=p&&p.getIn([g.decoratorKey,"leaves",g.leafKey]);if(!d||!m)return process.env.NODE_ENV!=="production"&&console.warn("Invalid selection state.",arguments,e.toJS()),i;var x=d.get("start"),_=m.get("start"),b=d?x+n:null,O=m?_+r:null,C=i.getAnchorKey()===u&&i.getAnchorOffset()===b&&i.getFocusKey()===S&&i.getFocusOffset()===O;if(C)return i;var D=!1;if(u===S){var N=d.get("end"),B=m.get("end");_===x&&B===N?D=r<n:D=_<x}else{var G=e.getCurrentContent().getBlockMap().keySeq().skipUntil(function(re){return re===u||re===S}).first();D=G===S}return i.merge({anchorKey:u,anchorOffset:b,focusKey:S,focusOffset:O,isBackward:D})}var G1=Np,Qn=ii,rl=Y1,h2=G1,Ln=Mt,B0=mn,dn=Ir;function Tp(e,t,n,a,r,i){var s=n.nodeType===Node.TEXT_NODE,u=r.nodeType===Node.TEXT_NODE;if(s&&u)return{selectionState:h2(e,dn(Qn(n)),a,dn(Qn(r)),i),needsRecovery:!1};var c=null,d=null,g=!0;return s?(c={key:dn(Qn(n)),offset:a},d=Fl(t,r,i)):u?(d={key:dn(Qn(r)),offset:i},c=Fl(t,n,a)):(c=Fl(t,n,a),d=Fl(t,r,i),n===r&&a===i&&(g=!!n.firstChild&&n.firstChild.nodeName!=="BR")),{selectionState:h2(e,c.key,c.offset,d.key,d.offset),needsRecovery:g}}function Ip(e){for(;e.firstChild&&(B0(e.firstChild)&&e.firstChild.getAttribute("data-blocks")==="true"||rl(e.firstChild));)e=e.firstChild;return e}function Bp(e){for(;e.lastChild&&(B0(e.lastChild)&&e.lastChild.getAttribute("data-blocks")==="true"||rl(e.lastChild));)e=e.lastChild;return e}function Fl(e,t,n){var a=t,r=Qn(a);if(r!=null||e&&(e===a||e.firstChild===a)||(process.env.NODE_ENV!=="production"?Ln(!1,"Unknown node in selection range."):Ln(!1)),e===a){a=a.firstChild,B0(a)||(process.env.NODE_ENV!=="production"?Ln(!1,"Invalid DraftEditorContents node."):Ln(!1));var i=a;a=i,a.getAttribute("data-contents")!=="true"&&(process.env.NODE_ENV!=="production"?Ln(!1,"Invalid DraftEditorContents structure."):Ln(!1)),n>0&&(n=a.childNodes.length)}if(n===0){var s=null;if(r!=null)s=r;else{var u=Ip(a);s=dn(rl(u))}return{key:s,offset:0}}var c=a.childNodes[n-1],d=null,g=null;if(!rl(c))d=dn(r),g=g2(c);else{var S=Bp(c);d=dn(rl(S)),g=g2(S)}return{key:d,offset:g}}function g2(e){var t=e.textContent;return t===`
60
+ `?0:t.length}var J1=Tp,Ap=J1;function Rp(e,t){var n=t.ownerDocument.defaultView.getSelection(),a=n.anchorNode,r=n.anchorOffset,i=n.focusNode,s=n.focusOffset,u=n.rangeCount;return u===0||a==null||i==null?{selectionState:e.getSelection().set("hasFocus",!1),needsRecovery:!1}:Ap(e,t,a,r,i,s)}var X1=Rp,Fp=q1,m2=Kt,jp=Z1,Pp=X1;function $p(e){if(e._blockSelectEvents||e._latestEditorState!==e.props.editorState){if(e._blockSelectEvents){var t=e.props.editorState,n=t.getSelection();Fp.logBlockedSelectionEvent({anonymizedDom:"N/A",extraParams:JSON.stringify({stacktrace:new Error().stack}),selectionState:JSON.stringify(n.toJS())})}return}var a=e.props.editorState,r=Pp(a,jp(e)),i=r.selectionState;i!==a.getSelection()&&(r.needsRecovery?a=m2.forceSelection(a,i):a=m2.acceptSelection(a,i),e.update(a))}var Q1=$p;function Kp(e){return e!=null&&e!=""}var eu={notEmptyKey:Kp},zp=eu,Hp=zp.notEmptyKey;function Vp(e,t){var n;if(t.isCollapsed()){var a=t.getAnchorKey(),r=t.getAnchorOffset();return r>0?(n=e.getBlockForKey(a).getEntityAt(r-1),n!==e.getBlockForKey(a).getEntityAt(r)?null:b2(e.getEntityMap(),n)):null}var i=t.getStartKey(),s=t.getStartOffset(),u=e.getBlockForKey(i);return n=s===u.getLength()?null:u.getEntityAt(s),b2(e.getEntityMap(),n)}function b2(e,t){if(Hp(t)){var n=e.__get(t);return n.getMutability()==="MUTABLE"?t:null}return null}var A0=Vp,Up=Ep,Yp=Tr,Wp=Ma,Zn=Kt,Li=oi,qp=Br,Zp=Q1,tu=Z1,Gp=X1,Jp=A0,Xp=Ir,Qp=qp.isBrowser("IE"),e9=20,Ni=!1,jl=!1,al=null;function t9(e){al||(al=new Up(tu(e)),al.start())}var d0={onCompositionStart:function(t){jl=!0,t9(t)},onCompositionEnd:function(t){Ni=!1,jl=!1,setTimeout(function(){Ni||d0.resolveComposition(t)},e9)},onSelect:Zp,onKeyDown:function(t,n){if(!jl){d0.resolveComposition(t),t._onKeyDown(n);return}(n.which===Li.RIGHT||n.which===Li.LEFT)&&n.preventDefault()},onKeyPress:function(t,n){n.which===Li.RETURN&&n.preventDefault()},resolveComposition:function(t){if(!jl){var n=Xp(al).stopAndFlushMutations();al=null,Ni=!0;var a=Zn.set(t._latestEditorState,{inCompositionMode:!1});if(t.exitCurrentMode(),!n.size){t.update(a);return}var r=a.getCurrentContent();n.forEach(function(c,d){var g=Wp.decode(d),S=g.blockKey,p=g.decoratorKey,m=g.leafKey,x=a.getBlockTree(S).getIn([p,"leaves",m]),_=x.start,b=x.end,O=a.getSelection().merge({anchorKey:S,focusKey:S,anchorOffset:_,focusOffset:b,isBackward:!1}),C=Jp(r,O),D=r.getBlockForKey(S).getInlineStyleAt(_);r=Yp.replaceText(r,O,c,D,C),a=Zn.set(a,{currentContent:r})});var i=Gp(a,tu(t)),s=i.selectionState;t.restoreEditorDOM();var u=Qp?Zn.forceSelection(a,s):Zn.acceptSelection(a,s);t.update(Zn.push(u,r,"insert-characters"))}}},r9=d0,Ti,y2;function a9(){if(y2)return Ti;y2=1;var e=gn;function t(){return t=e||function(c){for(var d=1;d<arguments.length;d++){var g=arguments[d];for(var S in g)Object.prototype.hasOwnProperty.call(g,S)&&(c[S]=g[S])}return c},t.apply(this,arguments)}function n(c,d){c.prototype=Object.create(d.prototype),c.prototype.constructor=c,c.__proto__=d}var a=Ma,r=ee,i=L0,s=ai,u=function(c){n(d,c);function d(){return c.apply(this,arguments)||this}var g=d.prototype;return g.render=function(){var p=this.props,m=p.block,x=p.children,_=p.contentState,b=p.decorator,O=p.decoratorKey,C=p.direction,D=p.leafSet,N=p.text,B=m.getKey(),G=D.get("leaves"),re=b.getComponentForKey(O),fe=b.getPropsForKey(O),z=a.encode(B,parseInt(O,10),0),j=N.slice(G.first().get("start"),G.last().get("end")),Y=s.getHTMLDirIfDifferent(i.getDirection(j),C);return r.createElement(re,t({},fe,{contentState:_,decoratedText:j,dir:Y,key:z,entityKey:m.getEntityAt(D.get("start")),offsetKey:z}),x)},d}(r.Component);return Ti=u,Ti}function w2(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function n9(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}function x2(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Fn=ee,l9=Br,C2=Mt,i9=mn,R0=l9.isBrowser("IE <= 11");function o9(e){return R0?e.textContent===`
61
+ `:e.tagName==="BR"}var s9=function(t){return R0?Fn.createElement("span",{key:"A","data-text":"true",ref:t},`
62
+ `):Fn.createElement("br",{key:"A","data-text":"true",ref:t})},u9=function(t){return R0?Fn.createElement("span",{key:"B","data-text":"true",ref:t},`
63
+ `):Fn.createElement("br",{key:"B","data-text":"true",ref:t})},c9=function(e){n9(t,e);function t(a){var r;return r=e.call(this,a)||this,x2(w2(r),"_forceFlag",void 0),x2(w2(r),"_node",void 0),r._forceFlag=!1,r}var n=t.prototype;return n.shouldComponentUpdate=function(r){var i=this._node,s=r.children==="";i9(i)||(process.env.NODE_ENV!=="production"?C2(!1,"node is not an Element"):C2(!1));var u=i;return s?!o9(u):u.textContent!==r.children},n.componentDidMount=function(){this._forceFlag=!this._forceFlag},n.componentDidUpdate=function(){this._forceFlag=!this._forceFlag},n.render=function(){var r=this;return this.props.children===""?this._forceFlag?s9(function(i){return r._node=i}):u9(function(i){return r._node=i}):Fn.createElement("span",{key:this._forceFlag?"A":"B","data-text":"true",ref:function(s){return r._node=s}},this.props.children)},t}(Fn.Component),f9=c9,d9=mn;function v9(e){return!e||!e.ownerDocument?!1:d9(e)&&e.nodeName==="BR"}var ru=v9,au={initODS:function(){},handleExtensionCausedError:function(){}};function p9(e){var t=e?e.ownerDocument||e:document,n=t.defaultView||window;return!!(e&&(typeof n.Node=="function"?e instanceof n.Node:typeof e=="object"&&typeof e.nodeType=="number"&&typeof e.nodeName=="string"))}var h9=p9,g9=h9;function m9(e){return g9(e)&&e.nodeType==3}var b9=m9,_2=b9;function nu(e,t){return!e||!t?!1:e===t?!0:_2(e)?!1:_2(t)?nu(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1}var F0=nu;function y9(e){if(e=e||(typeof document<"u"?document:void 0),typeof e>"u")return null;try{return e.activeElement||e.body}catch{return e.body}}var lu=y9,w9=au,v0=q1,x9=Br,iu=F0,C9=lu,j0=li,S2=Mt,ou=mn,_9=x9.isBrowser("IE");function S9(e,t){if(!e)return"[empty]";var n=su(e,t);if(n.nodeType===Node.TEXT_NODE)return n.textContent;ou(n)||(process.env.NODE_ENV!=="production"?S2(!1,"Node must be an Element if it is not a text node."):S2(!1));var a=n;return a.outerHTML}function su(e,t){var n=t!==void 0?t(e):[];if(e.nodeType===Node.TEXT_NODE){var a=e.textContent.length;return j0(e).createTextNode("[text "+a+(n.length?" | "+n.join(", "):"")+"]")}var r=e.cloneNode();r.nodeType===1&&n.length&&r.setAttribute("data-labels",n.join(", "));for(var i=e.childNodes,s=0;s<i.length;s++)r.appendChild(su(i[s],t));return r}function p0(e,t){for(var n=e,a=n;n;){if(ou(n)&&a.hasAttribute("contenteditable"))return S9(n,t);n=n.parentNode,a=n}return"Could not find contentEditable parent of node"}function uu(e){return e.nodeValue===null?e.childNodes.length:e.nodeValue.length}function E9(e,t,n,a,r){var i=j0(t);if(iu(i.documentElement,t)){var s=i.defaultView.getSelection(),u=e.getAnchorKey(),c=e.getAnchorOffset(),d=e.getFocusKey(),g=e.getFocusOffset(),S=e.getIsBackward();if(!s.extend&&S){var p=u,m=c;u=d,c=g,d=p,g=m,S=!1}var x=u===n&&a<=c&&r>=c,_=d===n&&a<=g&&r>=g;if(x&&_){s.removeAllRanges(),Pl(s,t,c-a,e),Ii(s,t,g-a,e);return}if(!S)x&&(s.removeAllRanges(),Pl(s,t,c-a,e)),_&&Ii(s,t,g-a,e);else if(_&&(s.removeAllRanges(),Pl(s,t,g-a,e)),x){var b=s.focusNode,O=s.focusOffset;s.removeAllRanges(),Pl(s,t,c-a,e),Ii(s,b,O,e)}}}function Ii(e,t,n,a){var r=C9(),i=e.extend;if(i&&t!=null&&iu(r,t)){n>uu(t)&&v0.logSelectionStateFailure({anonymizedDom:p0(t),extraParams:JSON.stringify({offset:n}),selectionState:JSON.stringify(a.toJS())});var s=t===e.focusNode;try{e.rangeCount>0&&e.extend&&e.extend(t,n)}catch(c){throw v0.logSelectionStateFailure({anonymizedDom:p0(t,function(d){var g=[];return d===r&&g.push("active element"),d===e.anchorNode&&g.push("selection anchor node"),d===e.focusNode&&g.push("selection focus node"),g}),extraParams:JSON.stringify({activeElementName:r?r.nodeName:null,nodeIsFocus:t===e.focusNode,nodeWasFocus:s,selectionRangeCount:e.rangeCount,selectionAnchorNodeName:e.anchorNode?e.anchorNode.nodeName:null,selectionAnchorOffset:e.anchorOffset,selectionFocusNodeName:e.focusNode?e.focusNode.nodeName:null,selectionFocusOffset:e.focusOffset,message:c?""+c:null,offset:n},null,2),selectionState:JSON.stringify(a.toJS(),null,2)}),c}}else if(t&&e.rangeCount>0){var u=e.getRangeAt(0);u.setEnd(t,n),e.addRange(u.cloneRange())}}function Pl(e,t,n,a){var r=j0(t).createRange();if(n>uu(t)&&(v0.logSelectionStateFailure({anonymizedDom:p0(t),extraParams:JSON.stringify({offset:n}),selectionState:JSON.stringify(a.toJS())}),w9.handleExtensionCausedError()),r.setStart(t,n),_9)try{e.addRange(r)}catch(i){process.env.NODE_ENV!=="production"&&console.warn("Call to selection.addRange() threw exception: ",i)}else e.addRange(r)}var k9={setDraftEditorSelection:E9},E2=gn;function D9(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function O9(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}function M9(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var L9=f9,Bi=ee,ja=Mt,N9=ru,T9=k9.setDraftEditorSelection,I9=function(e){O9(t,e);function t(){for(var a,r=arguments.length,i=new Array(r),s=0;s<r;s++)i[s]=arguments[s];return a=e.call.apply(e,[this].concat(i))||this,M9(D9(a),"leaf",void 0),a}var n=t.prototype;return n._setSelection=function(){var r=this.props.selection;if(!(r==null||!r.getHasFocus())){var i=this.props,s=i.block,u=i.start,c=i.text,d=s.getKey(),g=u+c.length;if(r.hasEdgeWithin(d,u,g)){var S=this.leaf;S||(process.env.NODE_ENV!=="production"?ja(!1,"Missing node"):ja(!1));var p=S.firstChild;p||(process.env.NODE_ENV!=="production"?ja(!1,"Missing child"):ja(!1));var m;p.nodeType===Node.TEXT_NODE?m=p:N9(p)?m=S:(m=p.firstChild,m||(process.env.NODE_ENV!=="production"?ja(!1,"Missing targetNode"):ja(!1))),T9(r,m,d,u,g)}}},n.shouldComponentUpdate=function(r){var i=this.leaf;i||(process.env.NODE_ENV!=="production"?ja(!1,"Missing leafNode"):ja(!1));var s=i.textContent!==r.text||r.styleSet!==this.props.styleSet||r.forceSelection;return s},n.componentDidUpdate=function(){this._setSelection()},n.componentDidMount=function(){this._setSelection()},n.render=function(){var r=this,i=this.props.block,s=this.props.text;s.endsWith(`
64
+ `)&&this.props.isLast&&(s+=`
65
+ `);var u=this.props,c=u.customStyleMap,d=u.customStyleFn,g=u.offsetKey,S=u.styleSet,p=S.reduce(function(x,_){var b={},O=c[_];return O!==void 0&&x.textDecoration!==O.textDecoration&&(b.textDecoration=[x.textDecoration,O.textDecoration].join(" ").trim()),E2(x,O,b)},{});if(d){var m=d(S,i);p=E2(p,m)}return Bi.createElement("span",{"data-offset-key":g,ref:function(_){return r.leaf=_},style:p},Bi.createElement(L9,null,s))},t}(Bi.Component),cu=I9,Ai,k2;function B9(){if(k2)return Ai;k2=1;function e(c,d){c.prototype=Object.create(d.prototype),c.prototype.constructor=c,c.__proto__=d}var t=a9(),n=cu,a=Ma,r=kt,i=ee,s=hn;r.List;var u=function(c){e(d,c);function d(){return c.apply(this,arguments)||this}var g=d.prototype;return g.render=function(){var p=this.props,m=p.block,x=p.contentState,_=p.customStyleFn,b=p.customStyleMap,O=p.decorator,C=p.direction,D=p.forceSelection,N=p.hasSelection,B=p.selection,G=p.tree,re=m.getKey(),fe=m.getText(),z=G.size-1,j=this.props.children||G.map(function(Y,le){var X=Y.get("decoratorKey"),se=Y.get("leaves"),we=se.size-1,be=se.map(function(ce,Ee){var Ce=a.encode(re,le,Ee),he=ce.get("start"),T=ce.get("end");return i.createElement(n,{key:Ce,offsetKey:Ce,block:m,start:he,selection:N?B:null,forceSelection:D,text:fe.slice(he,T),styleSet:m.getInlineStyleAt(he),customStyleMap:b,customStyleFn:_,isLast:X===z&&Ee===we})}).toArray();return!X||!O?be:i.createElement(t,{block:m,children:be,contentState:x,decorator:O,decoratorKey:X,direction:C,leafSet:Y,text:fe,key:le})}).toArray();return i.createElement("div",{"data-offset-key":a.encode(re,0,0),className:s({"public/DraftStyleDefault/block":!0,"public/DraftStyleDefault/ltr":C==="LTR","public/DraftStyleDefault/rtl":C==="RTL"})},j)},d}(i.Component);return Ai=u,Ai}function $l(e,t){return!!t&&(e===t.documentElement||e===t.body)}var A9={getTop:function(t){var n=t.ownerDocument;return $l(t,n)?n.body.scrollTop||n.documentElement.scrollTop:t.scrollTop},setTop:function(t,n){var a=t.ownerDocument;$l(t,a)?a.body.scrollTop=a.documentElement.scrollTop=n:t.scrollTop=n},getLeft:function(t){var n=t.ownerDocument;return $l(t,n)?n.body.scrollLeft||n.documentElement.scrollLeft:t.scrollLeft},setLeft:function(t,n){var a=t.ownerDocument;$l(t,a)?a.body.scrollLeft=a.documentElement.scrollLeft=n:t.scrollLeft=n}},P0=A9,R9=/-(.)/g;function F9(e){return e.replace(R9,function(t,n){return n.toUpperCase()})}var j9=F9,P9=/([A-Z])/g;function $9(e){return e.replace(P9,"-$1").toLowerCase()}var K9=$9,D2=j9,O2=K9;function Gn(e){return e==null?e:String(e)}function z9(e,t){var n;if(window.getComputedStyle&&(n=window.getComputedStyle(e,null),n))return Gn(n.getPropertyValue(O2(t)));if(document.defaultView&&document.defaultView.getComputedStyle){if(n=document.defaultView.getComputedStyle(e,null),n)return Gn(n.getPropertyValue(O2(t)));if(t==="display")return"none"}return e.currentStyle?Gn(t==="float"?e.currentStyle.cssFloat||e.currentStyle.styleFloat:e.currentStyle[D2(t)]):Gn(e.style&&e.style[D2(t)])}var H9=z9,V9=H9;function Ri(e,t){var n=fu.get(e,t);return n==="auto"||n==="scroll"}var fu={get:V9,getScrollParent:function(t){if(!t)return null;for(var n=t.ownerDocument;t&&t!==n.body;){if(Ri(t,"overflow")||Ri(t,"overflowY")||Ri(t,"overflowX"))return t;t=t.parentNode}return n.defaultView||n.parentWindow}},si=fu,U9=F0;function Y9(e){var t=e.ownerDocument.documentElement;if(!("getBoundingClientRect"in e)||!U9(t,e))return{left:0,right:0,top:0,bottom:0};var n=e.getBoundingClientRect();return{left:Math.round(n.left)-t.clientLeft,right:Math.round(n.right)-t.clientLeft,top:Math.round(n.top)-t.clientTop,bottom:Math.round(n.bottom)-t.clientTop}}var W9=Y9,q9=W9;function Z9(e){var t=q9(e);return{x:t.left,y:t.top,width:t.right-t.left,height:t.bottom-t.top}}var du=Z9,G9=typeof navigator<"u"&&navigator.userAgent.indexOf("AppleWebKit")>-1;function J9(e){return e=e||document,e.scrollingElement?e.scrollingElement:!G9&&e.compatMode==="CSS1Compat"?e.documentElement:e.body}var X9=J9;function Q9(e){return e.Window&&e instanceof e.Window?{x:e.pageXOffset||e.document.documentElement.scrollLeft,y:e.pageYOffset||e.document.documentElement.scrollTop}:{x:e.scrollLeft,y:e.scrollTop}}var eh=Q9,th=X9,rh=eh;function ah(e){var t=th(e.ownerDocument||e.document);e.Window&&e instanceof e.Window&&(e=t);var n=rh(e),a=e===t?e.ownerDocument.documentElement:e,r=e.scrollWidth-a.clientWidth,i=e.scrollHeight-a.clientHeight;return n.x=Math.max(0,Math.min(n.x,r)),n.y=Math.max(0,Math.min(n.y,i)),n}var ui=ah;function vu(){var e;return document.documentElement&&(e=document.documentElement.clientWidth),!e&&document.body&&(e=document.body.clientWidth),e||0}function pu(){var e;return document.documentElement&&(e=document.documentElement.clientHeight),!e&&document.body&&(e=document.body.clientHeight),e||0}function hu(){return{width:window.innerWidth||vu(),height:window.innerHeight||pu()}}hu.withoutScrollbars=function(){return{width:vu(),height:pu()}};var gu=hu,Fi,M2;function nh(){if(M2)return Fi;M2=1;var e=gn;function t(){return t=e||function(z){for(var j=1;j<arguments.length;j++){var Y=arguments[j];for(var le in Y)Object.prototype.hasOwnProperty.call(Y,le)&&(z[le]=Y[le])}return z},t.apply(this,arguments)}function n(z){if(z===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return z}function a(z,j){z.prototype=Object.create(j.prototype),z.prototype.constructor=z,z.__proto__=j}function r(z){for(var j=1;j<arguments.length;j++){var Y=arguments[j]!=null?arguments[j]:{},le=Object.keys(Y);typeof Object.getOwnPropertySymbols=="function"&&(le=le.concat(Object.getOwnPropertySymbols(Y).filter(function(X){return Object.getOwnPropertyDescriptor(Y,X).enumerable}))),le.forEach(function(X){i(z,X,Y[X])})}return z}function i(z,j,Y){return j in z?Object.defineProperty(z,j,{value:Y,enumerable:!0,configurable:!0,writable:!0}):z[j]=Y,z}var s=B9(),u=Ma,c=ee,d=P0,g=si,S=du,p=ui,m=gu,x=kt,_=Mt,b=bl,O=10;x.List;var C=function(j,Y){return j.getAnchorKey()===Y||j.getFocusKey()===Y},D=function(j,Y){var le=j.getNextSiblingKey();return le?Y.getBlockForKey(le).getType()===j.getType():!1},N=function(j,Y,le){var X=[],se=!0,we=!1,be=void 0;try{for(var ce=le.reverse()[Symbol.iterator](),Ee;!(se=(Ee=ce.next()).done);se=!0){var Ce=Ee.value;if(Ce.type!==Y)break;X.push(Ce)}}catch(W){we=!0,be=W}finally{try{!se&&ce.return!=null&&ce.return()}finally{if(we)throw be}}le.splice(le.indexOf(X[0]),X.length+1);var he=X.reverse(),T=he[0].key;return le.push(c.cloneElement(j,{key:"".concat(T,"-wrap"),"data-offset-key":u.encode(T,0,0)},he)),le},B=function(j,Y){var le=Y.get(j.getType())||Y.get("unstyled"),X=le.wrapper,se=le.element||Y.get("unstyled").element;return{Element:se,wrapperTemplate:X}},G=function(j,Y){var le=Y(j);if(!le)return{};var X=le.component,se=le.props,we=le.editable;return{CustomComponent:X,customProps:se,customEditable:we}},re=function(j,Y,le,X,se,we){var be={"data-block":!0,"data-editor":Y,"data-offset-key":le,key:j.getKey(),ref:we},ce=X(j);return ce&&(be.className=ce),se.customEditable!==void 0&&(be=r({},be,{contentEditable:se.customEditable,suppressContentEditableWarning:!0})),be},fe=function(z){a(j,z);function j(){for(var le,X=arguments.length,se=new Array(X),we=0;we<X;we++)se[we]=arguments[we];return le=z.call.apply(z,[this].concat(se))||this,i(n(le),"wrapperRef",c.createRef()),le}var Y=j.prototype;return Y.shouldComponentUpdate=function(X){var se=this.props,we=se.block,be=se.direction,ce=se.tree,Ee=!we.getChildKeys().isEmpty(),Ce=we!==X.block||ce!==X.tree||be!==X.direction||C(X.selection,X.block.getKey())&&X.forceSelection;return Ee||Ce},Y.componentDidMount=function(){var X=this.props.selection,se=X.getEndKey();if(!(!X.getHasFocus()||se!==this.props.block.getKey())){var we=this.wrapperRef.current;if(we){var be=g.getScrollParent(we),ce=p(be),Ee;if(be===window){var Ce=S(we),he=Ce.y+Ce.height,T=m().height;Ee=he-T,Ee>0&&window.scrollTo(ce.x,ce.y+Ee+O)}else{b(we)||(process.env.NODE_ENV!=="production"?_(!1,"blockNode is not an HTMLElement"):_(!1));var W=we,ge=W.offsetHeight+W.offsetTop,je=be.offsetHeight+ce.y;Ee=ge-je,Ee>0&&d.setTop(be,d.getTop(be)+Ee+O)}}}},Y.render=function(){var X=this,se=this.props,we=se.block,be=se.blockRenderMap,ce=se.blockRendererFn,Ee=se.blockStyleFn,Ce=se.contentState,he=se.decorator,T=se.editorKey,W=se.editorState,ge=se.customStyleFn,je=se.customStyleMap,ue=se.direction,ke=se.forceSelection,Ve=se.selection,it=se.tree,Lt=null;we.children.size&&(Lt=we.children.reduce(function(gt,Ue){var Nt=u.encode(Ue,0,0),It=Ce.getBlockForKey(Ue),zt=G(It,ce),Rt=zt.CustomComponent||j,Ut=B(It,be),y=Ut.Element,L=Ut.wrapperTemplate,A=re(It,T,Nt,Ee,zt,null),R=r({},X.props,{tree:W.getBlockTree(Ue),blockProps:zt.customProps,offsetKey:Nt,block:It});return gt.push(c.createElement(y,A,c.createElement(Rt,R))),!L||D(It,Ce)||N(L,y,gt),gt},[]));var ot=we.getKey(),Dt=u.encode(ot,0,0),yt=G(we,ce),tt=yt.CustomComponent,qe=tt!=null?c.createElement(tt,t({},this.props,{tree:W.getBlockTree(ot),blockProps:yt.customProps,offsetKey:Dt,block:we})):c.createElement(s,{block:we,children:Lt,contentState:Ce,customStyleFn:ge,customStyleMap:je,decorator:he,direction:ue,forceSelection:ke,hasSelection:C(Ve,ot),selection:Ve,tree:it});if(we.getParentKey())return qe;var Le=B(we,be),_t=Le.Element,Zt=re(we,T,Dt,Ee,yt,this.wrapperRef);return c.createElement(_t,Zt,qe)},j}(c.Component);return Fi=fe,Fi}var ji,L2;function lh(){if(L2)return ji;L2=1;var e=gn;function t(){return t=e||function(c){for(var d=1;d<arguments.length;d++){var g=arguments[d];for(var S in g)Object.prototype.hasOwnProperty.call(g,S)&&(c[S]=g[S])}return c},t.apply(this,arguments)}function n(c,d){c.prototype=Object.create(d.prototype),c.prototype.constructor=c,c.__proto__=d}var a=nh(),r=Ma,i=ee,s=Ir,u=function(c){n(d,c);function d(){return c.apply(this,arguments)||this}var g=d.prototype;return g.shouldComponentUpdate=function(p){var m=this.props.editorState,x=p.editorState,_=m.getDirectionMap(),b=x.getDirectionMap();if(_!==b)return!0;var O=m.getSelection().getHasFocus(),C=x.getSelection().getHasFocus();if(O!==C)return!0;var D=x.getNativelyRenderedContent(),N=m.isInCompositionMode(),B=x.isInCompositionMode();if(m===x||D!==null&&x.getCurrentContent()===D||N&&B)return!1;var G=m.getCurrentContent(),re=x.getCurrentContent(),fe=m.getDecorator(),z=x.getDecorator();return N!==B||G!==re||fe!==z||x.mustForceSelection()},g.render=function(){for(var p=this.props,m=p.blockRenderMap,x=p.blockRendererFn,_=p.blockStyleFn,b=p.customStyleMap,O=p.customStyleFn,C=p.editorState,D=p.editorKey,N=p.textDirectionality,B=C.getCurrentContent(),G=C.getSelection(),re=C.mustForceSelection(),fe=C.getDecorator(),z=s(C.getDirectionMap()),j=B.getBlocksAsArray(),Y=j[0],le=[],X=Y;X;){var se=X.getKey(),we={blockRenderMap:m,blockRendererFn:x,blockStyleFn:_,contentState:B,customStyleFn:O,customStyleMap:b,decorator:fe,editorKey:D,editorState:C,forceSelection:re,selection:G,block:X,direction:N||z.get(se),tree:C.getBlockTree(se)},be=m.get(X.getType())||m.get("unstyled"),ce=be.wrapper;le.push({block:i.createElement(a,t({key:se},we)),wrapperTemplate:ce,key:se,offsetKey:r.encode(se,0,0)});var Ee=X.getNextSiblingKey();X=Ee?B.getBlockForKey(Ee):null}for(var Ce=[],he=0;he<le.length;){var T=le[he];if(T.wrapperTemplate){var W=[];do W.push(le[he].block),he++;while(he<le.length&&le[he].wrapperTemplate===T.wrapperTemplate);var ge=i.cloneElement(T.wrapperTemplate,{key:T.key+"-wrap","data-offset-key":T.offsetKey},W);Ce.push(ge)}else Ce.push(T.block),he++}return i.createElement("div",{"data-contents":"true"},Ce)},d}(i.Component);return ji=u,ji}var ih=gn;function h0(){return h0=ih||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},h0.apply(this,arguments)}function oh(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function sh(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}function uh(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var ch=cu,N2=Ma,Kl=ee,T2=P0,fh=si,dh=L0,vh=ai,ph=hn,hh=du,gh=ui,mh=gu,I2=Mt,bh=bl,yh=Ir,B2=10,A2=function(t,n){return t.getAnchorKey()===n||t.getFocusKey()===n},wh=function(e){sh(t,e);function t(){for(var a,r=arguments.length,i=new Array(r),s=0;s<r;s++)i[s]=arguments[s];return a=e.call.apply(e,[this].concat(i))||this,uh(oh(a),"_node",void 0),a}var n=t.prototype;return n.shouldComponentUpdate=function(r){return this.props.block!==r.block||this.props.tree!==r.tree||this.props.direction!==r.direction||A2(r.selection,r.block.getKey())&&r.forceSelection},n.componentDidMount=function(){if(!this.props.preventScroll){var r=this.props.selection,i=r.getEndKey();if(!(!r.getHasFocus()||i!==this.props.block.getKey())){var s=this._node;if(s!=null){var u=fh.getScrollParent(s),c=gh(u),d;if(u===window){var g=hh(s),S=g.y+g.height,p=mh().height;d=S-p,d>0&&window.scrollTo(c.x,c.y+d+B2)}else{bh(s)||(process.env.NODE_ENV!=="production"?I2(!1,"blockNode is not an HTMLElement"):I2(!1));var m=s.offsetHeight+s.offsetTop,x=u.offsetTop+u.offsetHeight,_=x+c.y;d=m-_,d>0&&T2.setTop(u,T2.getTop(u)+d+B2)}}}}},n._renderChildren=function(){var r=this,i=this.props.block,s=i.getKey(),u=i.getText(),c=this.props.tree.size-1,d=A2(this.props.selection,s);return this.props.tree.map(function(g,S){var p=g.get("leaves");if(p.size===0)return null;var m=p.size-1,x=p.map(function(j,Y){var le=N2.encode(s,S,Y),X=j.get("start"),se=j.get("end");return Kl.createElement(ch,{key:le,offsetKey:le,block:i,start:X,selection:d?r.props.selection:null,forceSelection:r.props.forceSelection,text:u.slice(X,se),styleSet:i.getInlineStyleAt(X),customStyleMap:r.props.customStyleMap,customStyleFn:r.props.customStyleFn,isLast:S===c&&Y===m})}).toArray(),_=g.get("decoratorKey");if(_==null||!r.props.decorator)return x;var b=yh(r.props.decorator),O=b.getComponentForKey(_);if(!O)return x;var C=b.getPropsForKey(_),D=N2.encode(s,S,0),N=p.first().get("start"),B=p.last().get("end"),G=u.slice(N,B),re=i.getEntityAt(g.get("start")),fe=vh.getHTMLDirIfDifferent(dh.getDirection(G),r.props.direction),z={contentState:r.props.contentState,decoratedText:G,dir:fe,start:N,end:B,blockKey:s,entityKey:re,offsetKey:D};return Kl.createElement(O,h0({},C,z,{key:D}),x)}).toArray()},n.render=function(){var r=this,i=this.props,s=i.direction,u=i.offsetKey,c=ph({"public/DraftStyleDefault/block":!0,"public/DraftStyleDefault/ltr":s==="LTR","public/DraftStyleDefault/rtl":s==="RTL"});return Kl.createElement("div",{"data-offset-key":u,className:c,ref:function(g){return r._node=g}},this._renderChildren())},t}(Kl.Component),mu=wh,Pi,R2;function xh(){if(R2)return Pi;R2=1;function e(t){var n=t||"",a=arguments.length;if(a>1)for(var r=1;r<a;r++){var i=arguments[r];i&&(n=(n?n+" ":"")+i)}return n}return Pi=e,Pi}var $i,F2;function Ch(){if(F2)return $i;F2=1;var e=gn;function t(){return t=e||function(m){for(var x=1;x<arguments.length;x++){var _=arguments[x];for(var b in _)Object.prototype.hasOwnProperty.call(_,b)&&(m[b]=_[b])}return m},t.apply(this,arguments)}function n(m){for(var x=1;x<arguments.length;x++){var _=arguments[x]!=null?arguments[x]:{},b=Object.keys(_);typeof Object.getOwnPropertySymbols=="function"&&(b=b.concat(Object.getOwnPropertySymbols(_).filter(function(O){return Object.getOwnPropertyDescriptor(_,O).enumerable}))),b.forEach(function(O){a(m,O,_[O])})}return m}function a(m,x,_){return x in m?Object.defineProperty(m,x,{value:_,enumerable:!0,configurable:!0,writable:!0}):m[x]=_,m}function r(m,x){m.prototype=Object.create(x.prototype),m.prototype.constructor=m,m.__proto__=x}var i=mu,s=Ma,u=ee,c=hn,d=xh(),g=Ir,S=function(x,_,b,O){return c({"public/DraftStyleDefault/unorderedListItem":x==="unordered-list-item","public/DraftStyleDefault/orderedListItem":x==="ordered-list-item","public/DraftStyleDefault/reset":b,"public/DraftStyleDefault/depth0":_===0,"public/DraftStyleDefault/depth1":_===1,"public/DraftStyleDefault/depth2":_===2,"public/DraftStyleDefault/depth3":_===3,"public/DraftStyleDefault/depth4":_>=4,"public/DraftStyleDefault/listLTR":O==="LTR","public/DraftStyleDefault/listRTL":O==="RTL"})},p=function(m){r(x,m);function x(){return m.apply(this,arguments)||this}var _=x.prototype;return _.shouldComponentUpdate=function(O){var C=this.props.editorState,D=O.editorState,N=C.getDirectionMap(),B=D.getDirectionMap();if(N!==B)return!0;var G=C.getSelection().getHasFocus(),re=D.getSelection().getHasFocus();if(G!==re)return!0;var fe=D.getNativelyRenderedContent(),z=C.isInCompositionMode(),j=D.isInCompositionMode();if(C===D||fe!==null&&D.getCurrentContent()===fe||z&&j)return!1;var Y=C.getCurrentContent(),le=D.getCurrentContent(),X=C.getDecorator(),se=D.getDecorator();return z!==j||Y!==le||X!==se||D.mustForceSelection()},_.render=function(){for(var O=this.props,C=O.blockRenderMap,D=O.blockRendererFn,N=O.blockStyleFn,B=O.customStyleMap,G=O.customStyleFn,re=O.editorState,fe=O.editorKey,z=O.preventScroll,j=O.textDirectionality,Y=re.getCurrentContent(),le=re.getSelection(),X=re.mustForceSelection(),se=re.getDecorator(),we=g(re.getDirectionMap()),be=Y.getBlocksAsArray(),ce=[],Ee=null,Ce=null,he=0;he<be.length;he++){var T=be[he],W=T.getKey(),ge=T.getType(),je=D(T),ue=void 0,ke=void 0,Ve=void 0;je&&(ue=je.component,ke=je.props,Ve=je.editable);var it=j||we.get(W),Lt=s.encode(W,0,0),ot={contentState:Y,block:T,blockProps:ke,blockStyleFn:N,customStyleMap:B,customStyleFn:G,decorator:se,direction:it,forceSelection:X,offsetKey:Lt,preventScroll:z,selection:le,tree:re.getBlockTree(W)},Dt=C.get(ge)||C.get("unstyled"),yt=Dt.wrapper,tt=Dt.element||C.get("unstyled").element,qe=T.getDepth(),Le="";if(N&&(Le=N(T)),tt==="li"){var _t=Ce!==yt||Ee===null||qe>Ee;Le=d(Le,S(ge,qe,_t,it))}var Zt=ue||i,gt={className:Le,"data-block":!0,"data-editor":fe,"data-offset-key":Lt,key:W};Ve!==void 0&&(gt=n({},gt,{contentEditable:Ve,suppressContentEditableWarning:!0}));var Ue=u.createElement(tt,gt,u.createElement(Zt,t({},ot,{key:W})));ce.push({block:Ue,wrapperTemplate:yt,key:W,offsetKey:Lt}),yt?Ee=T.getDepth():Ee=null,Ce=yt}for(var Nt=[],It=0;It<ce.length;){var zt=ce[It];if(zt.wrapperTemplate){var Rt=[];do Rt.push(ce[It].block),It++;while(It<ce.length&&ce[It].wrapperTemplate===zt.wrapperTemplate);var Ut=u.cloneElement(zt.wrapperTemplate,{key:zt.key+"-wrap","data-offset-key":zt.offsetKey},Rt);Nt.push(Ut)}else Nt.push(zt.block),It++}return u.createElement("div",{"data-contents":"true"},Nt)},x}(u.Component);return $i=p,$i}var _h=Xa,Sh=_h("draft_tree_data_support"),Eh=Sh?lh():Ch(),bu={isImage:function(t){return j2(t)[0]==="image"},isJpeg:function(t){var n=j2(t);return bu.isImage(t)&&(n[1]==="jpeg"||n[1]==="pjpeg")}};function j2(e){return e.split("/")}var kh=bu,Pa=Mt;function Dh(e){var t=e.length;if(!Array.isArray(e)&&(typeof e=="object"||typeof e=="function")||(process.env.NODE_ENV!=="production"?Pa(!1,"toArray: Array-like object expected"):Pa(!1)),typeof t!="number"&&(process.env.NODE_ENV!=="production"?Pa(!1,"toArray: Object needs a length property"):Pa(!1)),t===0||t-1 in e||(process.env.NODE_ENV!=="production"?Pa(!1,"toArray: Object should have keys for indices"):Pa(!1)),typeof e.callee=="function"&&(process.env.NODE_ENV!=="production"?Pa(!1,"toArray: Object can't be `arguments`. Use rest params (function(...args) {}) or Array.from() instead."):Pa(!1)),e.hasOwnProperty)try{return Array.prototype.slice.call(e)}catch{}for(var n=Array(t),a=0;a<t;a++)n[a]=e[a];return n}function Oh(e){return!!e&&(typeof e=="object"||typeof e=="function")&&"length"in e&&!("setInterval"in e)&&typeof e.nodeType!="number"&&(Array.isArray(e)||"callee"in e||"item"in e)}function Mh(e){return Oh(e)?Array.isArray(e)?e.slice():Dh(e):[e]}var Lh=Mh;function ci(e){return function(){return e}}var bn=function(){};bn.thatReturns=ci;bn.thatReturnsFalse=ci(!1);bn.thatReturnsTrue=ci(!0);bn.thatReturnsNull=ci(null);bn.thatReturnsThis=function(){return this};bn.thatReturnsArgument=function(e){return e};var yu=bn,Nh=kh,Th=Lh,Ih=yu,Bh=new RegExp(`\r
66
+ `,"g"),Ah=`
67
+ `,Rh={"text/rtf":1,"text/html":1};function Fh(e){if(e.kind=="file")return e.getAsFile()}var jh=function(){function e(n){this.data=n,this.types=n.types?Th(n.types):[]}var t=e.prototype;return t.isRichText=function(){return this.getHTML()&&this.getText()?!0:this.isImage()?!1:this.types.some(function(a){return Rh[a]})},t.getText=function(){var a;return this.data.getData&&(this.types.length?this.types.indexOf("text/plain")!=-1&&(a=this.data.getData("text/plain")):a=this.data.getData("Text")),a?a.replace(Bh,Ah):null},t.getHTML=function(){if(this.data.getData)if(this.types.length){if(this.types.indexOf("text/html")!=-1)return this.data.getData("text/html")}else return this.data.getData("Text")},t.isLink=function(){return this.types.some(function(a){return a.indexOf("Url")!=-1||a.indexOf("text/uri-list")!=-1||a.indexOf("text/x-moz-url")})},t.getLink=function(){if(this.data.getData){if(this.types.indexOf("text/x-moz-url")!=-1){var a=this.data.getData("text/x-moz-url").split(`
68
+ `);return a[0]}return this.types.indexOf("text/uri-list")!=-1?this.data.getData("text/uri-list"):this.data.getData("url")}return null},t.isImage=function(){var a=this.types.some(function(u){return u.indexOf("application/x-moz-file")!=-1});if(a)return!0;for(var r=this.getFiles(),i=0;i<r.length;i++){var s=r[i].type;if(!Nh.isImage(s))return!1}return!0},t.getCount=function(){return this.data.hasOwnProperty("items")?this.data.items.length:this.data.hasOwnProperty("mozItemCount")?this.data.mozItemCount:this.data.files?this.data.files.length:null},t.getFiles=function(){return this.data.items?Array.prototype.slice.call(this.data.items).map(Fh).filter(Ih.thatReturnsArgument):this.data.files?Array.prototype.slice.call(this.data.files):[]},t.hasFiles=function(){return this.getFiles().length>0},e}(),wu=jh,P2=Mt,$2=/\.textClipping$/,Ph={"text/plain":!0,"text/html":!0,"text/rtf":!0},$h=5e3;function Kh(e,t){var n=0,a=[];e.forEach(function(r){zh(r,function(i){n++,i&&a.push(i.slice(0,$h)),n==e.length&&t(a.join("\r"))})})}function zh(e,t){if(!window.FileReader||e.type&&!(e.type in Ph)){t("");return}if(e.type===""){var n="";$2.test(e.name)&&(n=e.name.replace($2,"")),t(n);return}var a=new FileReader;a.onload=function(){var r=a.result;typeof r!="string"&&(process.env.NODE_ENV!=="production"?P2(!1,'We should be calling "FileReader.readAsText" which returns a string'):P2(!1)),t(r)},a.onerror=function(){t("")},a.readAsText(e)}var xu=Kh;function Hh(e){return e==="handled"||e===!0}var fi=Hh,Vh=wu,Cu=Tr,_u=Kt,Uh=ii,Yh=li,Wh=xu,qh=G1,Zh=W1,K2=fi,Ki=Ir;function Gh(e,t){var n=null,a=null,r=Yh(e.currentTarget);if(typeof r.caretRangeFromPoint=="function"){var i=r.caretRangeFromPoint(e.x,e.y);n=i.startContainer,a=i.startOffset}else if(e.rangeParent)n=e.rangeParent,a=e.rangeOffset;else return null;n=Ki(n),a=Ki(a);var s=Ki(Uh(n));return qh(t,s,a,s,a)}var Jh={onDragEnd:function(t){t.exitCurrentMode(),z2(t)},onDrop:function(t,n){var a=new Vh(n.nativeEvent.dataTransfer),r=t._latestEditorState,i=Gh(n.nativeEvent,r);if(n.preventDefault(),t._dragCount=0,t.exitCurrentMode(),i!=null){var s=a.getFiles();if(s.length>0){if(t.props.handleDroppedFiles&&K2(t.props.handleDroppedFiles(i,s)))return;Wh(s,function(c){c&&t.update(H2(r,i,c))});return}var u=t._internalDrag?"internal":"external";t.props.handleDrop&&K2(t.props.handleDrop(i,a,u))||(t._internalDrag?t.update(Xh(r,i)):t.update(H2(r,i,a.getText()))),z2(t)}}};function z2(e){e._internalDrag=!1;var t=e.editorContainer;if(t){var n=new MouseEvent("mouseup",{view:Zh(t),bubbles:!0,cancelable:!0});t.dispatchEvent(n)}}function Xh(e,t){var n=Cu.moveText(e.getCurrentContent(),e.getSelection(),t);return _u.push(e,n,"insert-fragment")}function H2(e,t,n){var a=Cu.insertText(e.getCurrentContent(),t,n,e.getCurrentInlineStyle());return _u.push(e,a,"insert-fragment")}var Qh=Jh;function e6(e){var t=e.getSelection(),n=t.getAnchorKey(),a=e.getBlockTree(n),r=t.getStartOffset(),i=!1;return a.some(function(s){return r===s.get("start")?(i=!0,!0):r<s.get("end")?s.get("leaves").some(function(u){var c=u.get("start");return r===c?(i=!0,!0):!1}):!1}),i}var t6=e6;(function(e,t){if(e.setImmediate)return;var n=1,a={},r=!1,i=e.document,s;function u(C){typeof C!="function"&&(C=new Function(""+C));for(var D=new Array(arguments.length-1),N=0;N<D.length;N++)D[N]=arguments[N+1];var B={callback:C,args:D};return a[n]=B,s(n),n++}function c(C){delete a[C]}function d(C){var D=C.callback,N=C.args;switch(N.length){case 0:D();break;case 1:D(N[0]);break;case 2:D(N[0],N[1]);break;case 3:D(N[0],N[1],N[2]);break;default:D.apply(t,N);break}}function g(C){if(r)setTimeout(g,0,C);else{var D=a[C];if(D){r=!0;try{d(D)}finally{c(C),r=!1}}}}function S(){s=function(C){process.nextTick(function(){g(C)})}}function p(){if(e.postMessage&&!e.importScripts){var C=!0,D=e.onmessage;return e.onmessage=function(){C=!1},e.postMessage("","*"),e.onmessage=D,C}}function m(){var C="setImmediate$"+Math.random()+"$",D=function(N){N.source===e&&typeof N.data=="string"&&N.data.indexOf(C)===0&&g(+N.data.slice(C.length))};e.addEventListener?e.addEventListener("message",D,!1):e.attachEvent("onmessage",D),s=function(N){e.postMessage(C+N,"*")}}function x(){var C=new MessageChannel;C.port1.onmessage=function(D){var N=D.data;g(N)},s=function(D){C.port2.postMessage(D)}}function _(){var C=i.documentElement;s=function(D){var N=i.createElement("script");N.onreadystatechange=function(){g(D),N.onreadystatechange=null,C.removeChild(N),N=null},C.appendChild(N)}}function b(){s=function(C){setTimeout(g,0,C)}}var O=Object.getPrototypeOf&&Object.getPrototypeOf(e);O=O&&O.setTimeout?O:e,{}.toString.call(e.process)==="[object process]"?S():p()?m():e.MessageChannel?x():i&&"onreadystatechange"in i.createElement("script")?_():b(),O.setImmediate=u,O.clearImmediate=c})(typeof self>"u"?typeof window>"u"?ul:window:self);var r6=window.setImmediate,a6=Tr,g0=Kt,n6=Br,V2=A0,l6=fi,i6=t6,U2=Ir,o6=r6,s6="'",u6="/",c6=n6.isBrowser("Firefox");function f6(e){return c6&&(e==s6||e==u6)}function Y2(e,t,n,a,r){var i=a6.replaceText(e.getCurrentContent(),e.getSelection(),t,n,a);return g0.push(e,i,"insert-characters",r)}function d6(e,t){e._pendingStateFromBeforeInput!==void 0&&(e.update(e._pendingStateFromBeforeInput),e._pendingStateFromBeforeInput=void 0);var n=e._latestEditorState,a=t.data;if(a){if(e.props.handleBeforeInput&&l6(e.props.handleBeforeInput(a,n,t.timeStamp))){t.preventDefault();return}var r=n.getSelection(),i=r.getStartOffset(),s=r.getAnchorKey();if(!r.isCollapsed()){t.preventDefault(),e.update(Y2(n,a,n.getCurrentInlineStyle(),V2(n.getCurrentContent(),n.getSelection()),!0));return}var u=Y2(n,a,n.getCurrentInlineStyle(),V2(n.getCurrentContent(),n.getSelection()),!1),c=!1;if(c||(c=i6(e._latestCommittedEditorState)),!c){var d=n.getBlockTree(s),g=u.getBlockTree(s);c=d.size!==g.size||d.zip(g).some(function(S){var p=S[0],m=S[1],x=p.get("start"),_=x+(x>=i?a.length:0),b=p.get("end"),O=b+(b>=i?a.length:0),C=m.get("start"),D=m.get("end"),N=m.get("decoratorKey");return p.get("decoratorKey")!==N||p.get("leaves").size!==m.get("leaves").size||_!==C||O!==D||N!=null&&D-C!==b-x})}if(c||(c=f6(a)),c||(c=U2(u.getDirectionMap()).get(s)!==U2(n.getDirectionMap()).get(s)),c){t.preventDefault(),u=g0.set(u,{forceSelection:!0}),e.update(u);return}u=g0.set(u,{nativelyRenderedContent:u.getCurrentContent()}),e._pendingStateFromBeforeInput=u,o6(function(){e._pendingStateFromBeforeInput!==void 0&&(e.update(e._pendingStateFromBeforeInput),e._pendingStateFromBeforeInput=void 0)})}}var v6=d6,p6=Kt,W2=F0,h6=lu;function g6(e,t){var n=t.currentTarget.ownerDocument;if(!e.props.preserveSelectionOnBlur&&h6(n)===n.body){var a=n.defaultView.getSelection(),r=e.editor;a.rangeCount===1&&W2(r,a.anchorNode)&&W2(r,a.focusNode)&&a.removeAllRanges()}var i=e._latestEditorState,s=i.getSelection();if(s.getHasFocus()){var u=s.set("hasFocus",!1);e.props.onBlur&&e.props.onBlur(t),e.update(p6.acceptSelection(i,u))}}var m6=g6,b6=Kt;function y6(e,t){e.setMode("composite"),e.update(b6.set(e._latestEditorState,{inCompositionMode:!0})),e._onCompositionStart(t)}var w6=y6,x6=Ql;function C6(e){var t=e.getSelection();return t.isCollapsed()?null:x6(e.getCurrentContent(),t)}var Su=C6,_6=Su;function S6(e,t){var n=e._latestEditorState,a=n.getSelection();if(a.isCollapsed()){t.preventDefault();return}e.setClipboard(_6(e._latestEditorState))}var E6=S6;function k6(e){if(!e||!("ownerDocument"in e))return!1;if("ownerDocument"in e){var t=e;if(!t.ownerDocument.defaultView)return t instanceof Node;if(t instanceof t.ownerDocument.defaultView.Node)return!0}return!1}var D6=k6,O6=Tr,M6=Kt,L6=si,N6=Su,T6=ui,I6=D6;function B6(e,t){var n=e._latestEditorState,a=n.getSelection(),r=t.target,i;if(a.isCollapsed()){t.preventDefault();return}if(I6(r)){var s=r;i=T6(L6.getScrollParent(s))}var u=N6(n);e.setClipboard(u),e.setMode("cut"),setTimeout(function(){e.restoreEditorDOM(i),e.exitCurrentMode(),e.update(A6(n))},0)}function A6(e){var t=O6.removeRange(e.getCurrentContent(),e.getSelection(),"forward");return M6.push(e,t,"remove-range")}var R6=B6;function F6(e,t){e.setMode("drag"),t.preventDefault()}var j6=F6;function P6(e){e._internalDrag=!0,e.setMode("drag")}var $6=P6,q2=Kt,K6=Br;function z6(e,t){var n=e._latestEditorState,a=n.getSelection();if(!a.getHasFocus()){var r=a.set("hasFocus",!0);e.props.onFocus&&e.props.onFocus(t),K6.isBrowser("Chrome < 60.0.3081.0")?e.update(q2.forceSelection(n,r)):e.update(q2.acceptSelection(n,r))}}var H6=z6,Z2=Mt,Eu=55296,V6=56319,U6=56320,ku=57343,Y6=/[\uD800-\uDFFF]/;function Du(e){return Eu<=e&&e<=ku}function W6(e,t){if(0<=t&&t<e.length||(process.env.NODE_ENV!=="production"?Z2(!1,"isSurrogatePair: Invalid index %s for string length %s.",t,e.length):Z2(!1)),t+1===e.length)return!1;var n=e.charCodeAt(t),a=e.charCodeAt(t+1);return Eu<=n&&n<=V6&&U6<=a&&a<=ku}function $0(e){return Y6.test(e)}function An(e,t){return 1+Du(e.charCodeAt(t))}function q6(e){if(!$0(e))return e.length;for(var t=0,n=0;n<e.length;n+=An(e,n))t++;return t}function Ou(e,t,n){if(t=t||0,n=n===void 0?1/0:n||0,!$0(e))return e.substr(t,n);var a=e.length;if(a<=0||t>a||n<=0)return"";var r=0;if(t>0){for(;t>0&&r<a;t--)r+=An(e,r);if(r>=a)return""}else if(t<0){for(r=a;t<0&&0<r;t++)r-=An(e,r-1);r<0&&(r=0)}var i=a;if(n<a)for(i=r;n>0&&i<a;n--)i+=An(e,i);return e.substring(r,i)}function Z6(e,t,n){t=t||0,n=n===void 0?1/0:n||0,t<0&&(t=0),n<0&&(n=0);var a=Math.abs(n-t);return t=t<n?t:n,Ou(e,t,a)}function G6(e){for(var t=[],n=0;n<e.length;n+=An(e,n))t.push(e.codePointAt(n));return t}var J6={getCodePoints:G6,getUTF16Length:An,hasSurrogateUnit:$0,isCodeUnitInSurrogateRange:Du,isSurrogatePair:W6,strlen:q6,substring:Z6,substr:Ou},yn=J6,X6=yu;function Q6(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),a=1;a<t;a++)n[a-1]=arguments[a];var r=0,i="Warning: "+e.replace(/%s/g,function(){return n[r++]});typeof console<"u"&&console.error(i);try{throw new Error(i)}catch{}}var e8=process.env.NODE_ENV!=="production"?function(e,t){if(t===void 0)throw new Error("`warning(condition, format, ...args)` requires a warning message argument");if(!e){for(var n=arguments.length,a=new Array(n>2?n-2:0),r=2;r<n;r++)a[r-2]=arguments[r];Q6.apply(void 0,[t].concat(a))}}:X6,K0=e8,t8=K0;function r8(e,t){var n=e.getSelection();process.env.NODE_ENV!=="production"&&t8(n.isCollapsed(),"moveSelectionBackward should only be called with a collapsed SelectionState");var a=e.getCurrentContent(),r=n.getStartKey(),i=n.getStartOffset(),s=r,u=0;if(t>i){var c=a.getKeyBefore(r);if(c==null)s=r;else{s=c;var d=a.getBlockForKey(c);u=d.getText().length}}else u=i-t;return n.merge({focusKey:s,focusOffset:u,isBackward:!0})}var z0=r8,a8=Tr,n8=Xa,G2=n8("draft_tree_data_support");function l8(e,t,n){var a=e.getSelection(),r=e.getCurrentContent(),i=a,s=a.getAnchorKey(),u=a.getFocusKey(),c=r.getBlockForKey(s);if(G2&&n==="forward"&&s!==u)return r;if(a.isCollapsed()){if(n==="forward"){if(e.isSelectionAtEndOfContent())return r;if(G2){var d=a.getAnchorOffset()===r.getBlockForKey(s).getLength();if(d){var g=r.getBlockForKey(c.nextSibling);if(!g||g.getLength()===0)return r}}}else if(e.isSelectionAtStartOfContent())return r;if(i=t(e),i===a)return r}return a8.removeRange(r,i,n)}var yl=l8,i8=Kt,o8=yn,s8=z0,u8=yl;function c8(e){var t=u8(e,function(a){var r=a.getSelection(),i=a.getCurrentContent(),s=r.getAnchorKey(),u=r.getAnchorOffset(),c=i.getBlockForKey(s).getText()[u-1];return s8(a,c?o8.getUTF16Length(c,0):1)},"backward");if(t===e.getCurrentContent())return e;var n=e.getSelection();return i8.push(e,t.set("selectionBefore",n),n.isCollapsed()?"backspace-character":"remove-range")}var Mu=c8,f8=Tr,d8=Ma,v8=Kt,p8=Br,h8=eu,g8=h8.notEmptyKey,m8=ii,b8=Mu,y8=Ir,w8=p8.isEngine("Gecko"),x8=`
69
+
70
+ `;function C8(e,t){switch(e){case"deleteContentBackward":return b8(t)}return t}function _8(e,t){e._pendingStateFromBeforeInput!==void 0&&(e.update(e._pendingStateFromBeforeInput),e._pendingStateFromBeforeInput=void 0);var n=e.editor,a=n.ownerDocument.defaultView.getSelection(),r=a.anchorNode,i=a.isCollapsed,s=r?.nodeType!==Node.TEXT_NODE&&r?.nodeType!==Node.ELEMENT_NODE;if(!(r==null||s)){if(r.nodeType===Node.TEXT_NODE&&(r.previousSibling!==null||r.nextSibling!==null)){var u=r.parentNode;if(u==null)return;r.nodeValue=u.textContent;for(var c=u.firstChild;c!=null;c=c.nextSibling)c!==r&&u.removeChild(c)}var d=r.textContent,g=e._latestEditorState,S=y8(m8(r)),p=d8.decode(S),m=p.blockKey,x=p.decoratorKey,_=p.leafKey,b=g.getBlockTree(m).getIn([x,"leaves",_]),O=b.start,C=b.end,D=g.getCurrentContent(),N=D.getBlockForKey(m),B=N.getText().slice(O,C);if(d.endsWith(x8)&&(d=d.slice(0,-1)),d===B){var G=t.nativeEvent.inputType;if(G){var re=C8(G,g);if(re!==g){e.restoreEditorDOM(),e.update(re);return}}return}var fe=g.getSelection(),z=fe.merge({anchorOffset:O,focusOffset:C,isBackward:!1}),j=N.getEntityAt(O),Y=g8(j)?D.getEntity(j):null,le=Y!=null?Y.getMutability():null,X=le==="MUTABLE",se=X?"spellcheck-change":"apply-entity",we=f8.replaceText(D,z,d,N.getInlineStyleAt(O),X?N.getEntityAt(O):null),be,ce,Ee,Ce;if(w8)be=a.anchorOffset,ce=a.focusOffset,Ee=O+Math.min(be,ce),Ce=Ee+Math.abs(be-ce),be=Ee,ce=Ce;else{var he=d.length-B.length;Ee=fe.getStartOffset(),Ce=fe.getEndOffset(),be=i?Ce+he:Ee,ce=Ce+he}var T=we.merge({selectionBefore:D.getSelectionAfter(),selectionAfter:fe.merge({anchorOffset:be,focusOffset:ce})});e.update(v8.push(g,T,se))}}var S8=_8,E8=oi;function k8(e){return e.which===E8.RETURN&&(e.getModifierState("Shift")||e.getModifierState("Alt")||e.getModifierState("Control"))}var D8=k8,O8=Br,M8=D8,zi=O8.isPlatform("Mac OS X"),Lu={isCtrlKeyCommand:function(t){return!!t.ctrlKey&&!t.altKey},isOptionKeyCommand:function(t){return zi&&t.altKey},usesMacOSHeuristics:function(){return zi},hasCommandModifier:function(t){return zi?!!t.metaKey&&!t.altKey:Lu.isCtrlKeyCommand(t)},isSoftNewlineEvent:M8},H0=Lu,J2=Tr,X2=Kt,L8=Ql,N8=Ir,Hi=null,T8={cut:function(t){var n=t.getCurrentContent(),a=t.getSelection(),r=null;if(a.isCollapsed()){var i=a.getAnchorKey(),s=n.getBlockForKey(i).getLength();if(s===a.getAnchorOffset()){var u=n.getKeyAfter(i);if(u==null)return t;r=a.set("focusKey",u).set("focusOffset",0)}else r=a.set("focusOffset",s)}else r=a;r=N8(r),Hi=L8(n,r);var c=J2.removeRange(n,r,"forward");return c===n?t:X2.push(t,c,"remove-range")},paste:function(t){if(!Hi)return t;var n=J2.replaceWithFragment(t.getCurrentContent(),t.getSelection(),Hi);return X2.push(t,n,"insert-fragment")}},I8=T8,B8=Br,Q2=Mt,A8=B8.isBrowser("Chrome");function R8(e){for(var t=e.cloneRange(),n=[],a=e.endContainer;a!=null;a=a.parentNode){var r=a===e.commonAncestorContainer;r?t.setStart(e.startContainer,e.startOffset):t.setStart(t.endContainer,0);var i=Array.from(t.getClientRects());if(n.push(i),r){var s;return n.reverse(),(s=[]).concat.apply(s,n)}t.setEndBefore(a)}process.env.NODE_ENV!=="production"?Q2(!1,"Found an unexpected detached subtree when getting range client rects."):Q2(!1)}var F8=A8?R8:function(e){return Array.from(e.getClientRects())},Nu=F8,j8=yn,P8=li,es=Nu,In=Mt;function $8(e){var t=getComputedStyle(e),n=P8(e),a=n.createElement("div");a.style.fontFamily=t.fontFamily,a.style.fontSize=t.fontSize,a.style.fontStyle=t.fontStyle,a.style.fontWeight=t.fontWeight,a.style.lineHeight=t.lineHeight,a.style.position="absolute",a.textContent="M";var r=n.body;r||(process.env.NODE_ENV!=="production"?In(!1,"Missing document.body"):In(!1)),r.appendChild(a);var i=a.getBoundingClientRect();return r.removeChild(a),i.height}function ts(e,t){for(var n=1/0,a=1/0,r=-1/0,i=-1/0,s=0;s<e.length;s++){var u=e[s];u.width===0||u.width===1||(n=Math.min(n,u.top),a=Math.min(a,u.bottom),r=Math.max(r,u.top),i=Math.max(i,u.bottom))}return r<=a&&r-n<t&&i-a<t}function K8(e){switch(e.nodeType){case Node.DOCUMENT_TYPE_NODE:return 0;case Node.TEXT_NODE:case Node.PROCESSING_INSTRUCTION_NODE:case Node.COMMENT_NODE:return e.length;default:return e.childNodes.length}}function z8(e){e.collapsed||(process.env.NODE_ENV!=="production"?In(!1,"expandRangeToStartOfLine: Provided range is not collapsed."):In(!1)),e=e.cloneRange();var t=e.startContainer;t.nodeType!==1&&(t=t.parentNode);var n=$8(t),a=e.endContainer,r=e.endOffset;for(e.setStart(e.startContainer,0);ts(es(e),n)&&(a=e.startContainer,r=e.startOffset,a.parentNode||(process.env.NODE_ENV!=="production"?In(!1,"Found unexpected detached subtree when traversing."):In(!1)),e.setStartBefore(a),!(a.nodeType===1&&getComputedStyle(a).display!=="inline")););var i=a,s=r-1;do{for(var u=i.nodeValue,c=s;c>=0;c--)if(!(u!=null&&c>0&&j8.isSurrogatePair(u,c-1)))if(e.setStart(i,c),ts(es(e),n))a=i,r=c;else break;if(c===-1||i.childNodes.length===0)break;i=i.childNodes[c],s=K8(i)}while(!0);return e.setStart(a,r),e}var H8=z8,V8=Kt,U8=H8,Y8=J1,W8=z0,q8=yl;function Z8(e,t){var n=q8(e,function(a){var r=a.getSelection();if(r.isCollapsed()&&r.getAnchorOffset()===0)return W8(a,1);var i=t.currentTarget.ownerDocument,s=i.defaultView.getSelection(),u=s.getRangeAt(0);return u=U8(u),Y8(a,null,u.endContainer,u.endOffset,u.startContainer,u.startOffset).selectionState},"backward");return n===e.getCurrentContent()?e:V8.push(e,n,"remove-range")}var G8=Z8,J8=`[.,+*?$|#{}()'\\^\\-\\[\\]\\\\\\/!@%"~=<>_:;・、。〈-】〔-〟:-?!-/[-`{-・⸮؟٪-٬؛،؍﴾﴿᠁।၊။‐-‧‰-⁞¡-±´-¸º»¿]`,X8={getPunctuation:function(){return J8}},Q8=X8,e7=Q8.getPunctuation(),Tu="['‘’]",Rn="\\s|(?![_])"+e7,t7="^(?:"+Rn+")*(?:"+Tu+"|(?!"+Rn+").)*(?:(?!"+Rn+").)",r7=new RegExp(t7),a7="(?:(?!"+Rn+").)(?:"+Tu+"|(?!"+Rn+").)*(?:"+Rn+")*$",n7=new RegExp(a7);function rs(e,t){var n=t?n7.exec(e):r7.exec(e);return n?n[0]:e}var l7={getBackward:function(t){return rs(t,!0)},getForward:function(t){return rs(t,!1)}},Iu=l7,i7=Iu,o7=Kt,as=z0,s7=yl;function u7(e){var t=s7(e,function(n){var a=n.getSelection(),r=a.getStartOffset();if(r===0)return as(n,1);var i=a.getStartKey(),s=n.getCurrentContent(),u=s.getBlockForKey(i).getText().slice(0,r),c=i7.getBackward(u);return as(n,c.length||1)},"backward");return t===e.getCurrentContent()?e:o7.push(e,t,"remove-range")}var c7=u7,f7=K0;function d7(e,t){var n=e.getSelection();process.env.NODE_ENV!=="production"&&f7(n.isCollapsed(),"moveSelectionForward should only be called with a collapsed SelectionState");var a=n.getStartKey(),r=n.getStartOffset(),i=e.getCurrentContent(),s=a,u,c=i.getBlockForKey(a);return t>c.getText().length-r?(s=i.getKeyAfter(a),u=0):u=r+t,n.merge({focusKey:s,focusOffset:u})}var Bu=d7,v7=Iu,p7=Kt,h7=Bu,g7=yl;function m7(e){var t=g7(e,function(n){var a=n.getSelection(),r=a.getStartOffset(),i=a.getStartKey(),s=n.getCurrentContent(),u=s.getBlockForKey(i).getText().slice(r),c=v7.getForward(u);return h7(n,c.length||1)},"forward");return t===e.getCurrentContent()?e:p7.push(e,t,"remove-range")}var b7=m7,y7=Tr,w7=Kt;function x7(e){var t=y7.splitBlock(e.getCurrentContent(),e.getSelection());return w7.push(e,t,"split-block")}var C7=x7,_7=Kt;function S7(e){var t=e.getSelection(),n=t.getEndKey(),a=e.getCurrentContent(),r=a.getBlockForKey(n).getLength();return _7.set(e,{selection:t.merge({anchorKey:n,anchorOffset:r,focusKey:n,focusOffset:r,isBackward:!1}),forceSelection:!0})}var E7=S7,k7=Kt;function D7(e){var t=e.getSelection(),n=t.getStartKey();return k7.set(e,{selection:t.merge({anchorKey:n,anchorOffset:0,focusKey:n,focusOffset:0,isBackward:!1}),forceSelection:!0})}var O7=D7,M7=Kt,L7=yn,N7=Bu,T7=yl;function I7(e){var t=T7(e,function(a){var r=a.getSelection(),i=a.getCurrentContent(),s=r.getAnchorKey(),u=r.getAnchorOffset(),c=i.getBlockForKey(s).getText()[u];return N7(a,c?L7.getUTF16Length(c,0):1)},"forward");if(t===e.getCurrentContent())return e;var n=e.getSelection();return M7.push(e,t.set("selectionBefore",n),n.isCollapsed()?"delete-character":"remove-range")}var B7=I7,ns=Tr,ls=Kt,A7=Ql;function R7(e){var t=e.getSelection();if(!t.isCollapsed())return e;var n=t.getAnchorOffset();if(n===0)return e;var a=t.getAnchorKey(),r=e.getCurrentContent(),i=r.getBlockForKey(a),s=i.getLength();if(s<=1)return e;var u,c;n===s?(u=t.set("anchorOffset",n-1),c=t):(u=t.set("focusOffset",n+1),c=u.set("anchorOffset",n+1));var d=A7(r,u),g=ns.removeRange(r,u,"backward"),S=g.getSelectionAfter(),p=S.getAnchorOffset()-1,m=S.merge({anchorOffset:p,focusOffset:p}),x=ns.replaceWithFragment(g,m,d),_=ls.push(e,x,"insert-fragment");return ls.acceptSelection(_,c)}var F7=R7,Vi=Kt;function j7(e,t,n){var a=Vi.undo(t);if(t.getLastChangeType()==="spellcheck-change"){var r=a.getCurrentContent();n(Vi.set(a,{nativelyRenderedContent:r}));return}if(e.preventDefault(),!t.getNativelyRenderedContent()){n(a);return}n(Vi.set(t,{nativelyRenderedContent:null})),setTimeout(function(){n(a)},0)}var P7=j7,$7=Tr,Au=Kt,K7=H0,_a=oi,is=I8,z7=Br,os=fi,H7=G8,V7=c7,U7=b7,Y7=C7,W7=E7,q7=O7,Z7=Mu,G7=B7,J7=F7,X7=P7,ss=K7.isOptionKeyCommand,us=z7.isBrowser("Chrome");function Q7(e,t,n){switch(e){case"redo":return Au.redo(t);case"delete":return G7(t);case"delete-word":return U7(t);case"backspace":return Z7(t);case"backspace-word":return V7(t);case"backspace-to-start-of-line":return H7(t,n);case"split-block":return Y7(t);case"transpose-characters":return J7(t);case"move-selection-to-start-of-block":return q7(t);case"move-selection-to-end-of-block":return W7(t);case"secondary-cut":return is.cut(t);case"secondary-paste":return is.paste(t);default:return t}}function eg(e,t){var n=t.which,a=e._latestEditorState;function r(c){var d=e.props[c];return d?(d(t),!0):!1}switch(n){case _a.RETURN:if(t.preventDefault(),e.props.handleReturn&&os(e.props.handleReturn(t,a)))return;break;case _a.ESC:if(t.preventDefault(),r("onEscape"))return;break;case _a.TAB:if(r("onTab"))return;break;case _a.UP:if(r("onUpArrow"))return;break;case _a.RIGHT:if(r("onRightArrow"))return;break;case _a.DOWN:if(r("onDownArrow"))return;break;case _a.LEFT:if(r("onLeftArrow"))return;break;case _a.SPACE:us&&ss(t)&&t.preventDefault()}var i=e.props.keyBindingFn(t);if(i==null||i===""){if(n===_a.SPACE&&us&&ss(t)){var s=$7.replaceText(a.getCurrentContent(),a.getSelection()," ");e.update(Au.push(a,s,"insert-characters"))}return}if(i==="undo"){X7(t,a,e.update);return}if(t.preventDefault(),!(e.props.handleKeyCommand&&os(e.props.handleKeyCommand(i,a,t.timeStamp)))){var u=Q7(i,a,t);u!==a&&e.update(u)}}var tg=eg;function rg(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var ag=function(){function e(n){rg(this,"_uri",void 0),this._uri=n}var t=e.prototype;return t.toString=function(){return this._uri},e}(),ng=ag,lg=Br,cs=Mt,ig=lg.isBrowser("IE <= 9");function og(e){var t,n=null;return!ig&&document.implementation&&document.implementation.createHTMLDocument&&(t=document.implementation.createHTMLDocument("foo"),t.documentElement||(process.env.NODE_ENV!=="production"?cs(!1,"Missing doc.documentElement"):cs(!1)),t.documentElement.innerHTML=e,n=t.getElementsByTagName("body")[0]),n}var Ru=og,sg=mn;function ug(e){return!e||!e.ownerDocument?!1:sg(e)&&e.nodeName==="A"}var cg=ug,fg=mn;function dg(e){return!e||!e.ownerDocument?!1:fg(e)&&e.nodeName==="IMG"}var vg=dg,un;function Ui(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{},a=Object.keys(n);typeof Object.getOwnPropertySymbols=="function"&&(a=a.concat(Object.getOwnPropertySymbols(n).filter(function(r){return Object.getOwnPropertyDescriptor(n,r).enumerable}))),a.forEach(function(r){yr(e,r,n[r])})}return e}function yr(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var pg=Gr,hg=pn,gg=Jr,mg=I0,fs=ei,Fu=ng,Jn=hn,ds=pa,bg=Ru,ju=Xa,V0=kt,$a=V0.List,Pu=V0.Map,yg=V0.OrderedSet,$u=cg,wg=ru,U0=bl,Ku=vg,vs=ju("draft_tree_data_support"),xg="&nbsp;",zu=" ",Cg=new RegExp("\r","g"),_g=new RegExp(`
71
+ `,"g"),Sg=new RegExp(`^
72
+ `,"g"),Eg=new RegExp(xg,"g"),kg=new RegExp("&#13;?","g"),Dg=new RegExp("&#8203;?","g"),Og=["bold","bolder","500","600","700","800","900"],Mg=["light","lighter","normal","100","200","300","400"],Lg=["className","href","rel","target","title"],Ng=["alt","className","height","src","width"],ps=(un={},yr(un,Jn("public/DraftStyleDefault/depth0"),0),yr(un,Jn("public/DraftStyleDefault/depth1"),1),yr(un,Jn("public/DraftStyleDefault/depth2"),2),yr(un,Jn("public/DraftStyleDefault/depth3"),3),yr(un,Jn("public/DraftStyleDefault/depth4"),4),un),hs=Pu({b:"BOLD",code:"CODE",del:"STRIKETHROUGH",em:"ITALIC",i:"ITALIC",s:"STRIKETHROUGH",strike:"STRIKETHROUGH",strong:"BOLD",u:"UNDERLINE",mark:"HIGHLIGHT"}),Tg=function(t){var n={};return t.mapKeys(function(a,r){var i=[r.element];r.aliasedElements!==void 0&&i.push.apply(i,r.aliasedElements),i.forEach(function(s){n[s]===void 0?n[s]=a:typeof n[s]=="string"?n[s]=[n[s],a]:n[s].push(a)})}),Pu(n)},Ig=function(t){if(U0(t)){var n=t;if(n.style.fontFamily.includes("monospace"))return"CODE"}return null},Bg=function(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;return Object.keys(ps).some(function(a){t.classList.contains(a)&&(n=ps[a])}),n},Ag=function(t){if(!$u(t))return!1;var n=t;if(!n.href||n.protocol!=="http:"&&n.protocol!=="https:"&&n.protocol!=="mailto:"&&n.protocol!=="tel:")return!1;try{var a=new Fu(n.href);return!0}catch{return!1}},Rg=function(t){if(!Ku(t))return!1;var n=t;return!!(n.attributes.getNamedItem("src")&&n.attributes.getNamedItem("src").value)},Fg=function(t,n){if(!U0(t))return n;var a=t,r=a.style.fontWeight,i=a.style.fontStyle,s=a.style.textDecoration;return n.withMutations(function(u){Og.indexOf(r)>=0?u.add("BOLD"):Mg.indexOf(r)>=0&&u.remove("BOLD"),i==="italic"?u.add("ITALIC"):i==="normal"&&u.remove("ITALIC"),s==="underline"&&u.add("UNDERLINE"),s==="line-through"&&u.add("STRIKETHROUGH"),s==="none"&&(u.remove("UNDERLINE"),u.remove("STRIKETHROUGH"))})},Yi=function(t){return t==="ul"||t==="ol"},jg=function(){function e(n,a){yr(this,"characterList",$a()),yr(this,"currentBlockType","unstyled"),yr(this,"currentDepth",0),yr(this,"currentEntity",null),yr(this,"currentText",""),yr(this,"wrapper",null),yr(this,"blockConfigs",[]),yr(this,"contentBlocks",[]),yr(this,"entityMap",fs),yr(this,"blockTypeMap",void 0),yr(this,"disambiguate",void 0),this.clear(),this.blockTypeMap=n,this.disambiguate=a}var t=e.prototype;return t.clear=function(){this.characterList=$a(),this.blockConfigs=[],this.currentBlockType="unstyled",this.currentDepth=0,this.currentEntity=null,this.currentText="",this.entityMap=fs,this.wrapper=null,this.contentBlocks=[]},t.addDOMNode=function(a){var r;return this.contentBlocks=[],this.currentDepth=0,(r=this.blockConfigs).push.apply(r,this._toBlockConfigs([a],yg())),this._trimCurrentText(),this.currentText!==""&&this.blockConfigs.push(this._makeBlockConfig()),this},t.getContentBlocks=function(){return this.contentBlocks.length===0&&(vs?this._toContentBlocks(this.blockConfigs):this._toFlatContentBlocks(this.blockConfigs)),{contentBlocks:this.contentBlocks,entityMap:this.entityMap}},t._makeBlockConfig=function(){var a=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},r=a.key||ds(),i=Ui({key:r,type:this.currentBlockType,text:this.currentText,characterList:this.characterList,depth:this.currentDepth,parent:null,children:$a(),prevSibling:null,nextSibling:null,childConfigs:[]},a);return this.characterList=$a(),this.currentBlockType="unstyled",this.currentText="",i},t._toBlockConfigs=function(a,r){for(var i=[],s=0;s<a.length;s++){var u=a[s],c=u.nodeName.toLowerCase();if(c==="body"||Yi(c)){this._trimCurrentText(),this.currentText!==""&&i.push(this._makeBlockConfig());var d=this.currentDepth,g=this.wrapper;Yi(c)&&(this.wrapper=c,Yi(g)&&this.currentDepth++),i.push.apply(i,this._toBlockConfigs(Array.from(u.childNodes),r)),this.currentDepth=d,this.wrapper=g;continue}var S=this.blockTypeMap.get(c);if(S!==void 0){this._trimCurrentText(),this.currentText!==""&&i.push(this._makeBlockConfig());var p=this.currentDepth,m=this.wrapper;if(this.wrapper=c==="pre"?"pre":this.wrapper,typeof S!="string"&&(S=this.disambiguate(c,this.wrapper)||S[0]||"unstyled"),!vs&&U0(u)&&(S==="unordered-list-item"||S==="ordered-list-item")){var x=u;this.currentDepth=Bg(x,this.currentDepth)}var _=ds(),b=this._toBlockConfigs(Array.from(u.childNodes),r);this._trimCurrentText(),i.push(this._makeBlockConfig({key:_,childConfigs:b,type:S})),this.currentDepth=p,this.wrapper=m;continue}if(c==="#text"){this._addTextNode(u,r);continue}if(c==="br"){this._addBreakNode(u,r);continue}if(Rg(u)){this._addImgNode(u,r);continue}if(Ag(u)){this._addAnchorNode(u,i,r);continue}var O=r;hs.has(c)&&(O=O.add(hs.get(c))),O=Fg(u,O);var C=Ig(u);C!=null&&(O=O.add(C)),i.push.apply(i,this._toBlockConfigs(Array.from(u.childNodes),O))}return i},t._appendText=function(a,r){var i;this.currentText+=a;var s=pg.create({style:r,entity:this.currentEntity});this.characterList=(i=this.characterList).push.apply(i,Array(a.length).fill(s))},t._trimCurrentText=function(){var a=this.currentText.length,r=a-this.currentText.trimLeft().length,i=this.currentText.trimRight().length,s=this.characterList.findEntry(function(u){return u.getEntity()!==null});r=s!==void 0?Math.min(r,s[0]):r,s=this.characterList.reverse().findEntry(function(u){return u.getEntity()!==null}),i=s!==void 0?Math.max(i,a-s[0]):i,r>i?(this.currentText="",this.characterList=$a()):(this.currentText=this.currentText.slice(r,i),this.characterList=this.characterList.slice(r,i))},t._addTextNode=function(a,r){var i=a.textContent,s=i.trim();s===""&&this.wrapper!=="pre"&&(i=" "),this.wrapper!=="pre"&&(i=i.replace(Sg,""),i=i.replace(_g,zu)),this._appendText(i,r)},t._addBreakNode=function(a,r){wg(a)&&this._appendText(`
73
+ `,r)},t._addImgNode=function(a,r){if(Ku(a)){var i=a,s={};Ng.forEach(function(u){var c=i.getAttribute(u);c&&(s[u]=c)}),this.currentEntity=this.entityMap.__create("IMAGE","IMMUTABLE",s),ju("draftjs_fix_paste_for_img")?i.getAttribute("role")!=="presentation"&&this._appendText("📷",r):this._appendText("📷",r),this.currentEntity=null}},t._addAnchorNode=function(a,r,i){if($u(a)){var s=a,u={};Lg.forEach(function(c){var d=s.getAttribute(c);d&&(u[c]=d)}),u.url=new Fu(s.href).toString(),this.currentEntity=this.entityMap.__create("LINK","MUTABLE",u||{}),r.push.apply(r,this._toBlockConfigs(Array.from(a.childNodes),i)),this.currentEntity=null}},t._toContentBlocks=function(a){for(var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,i=a.length-1,s=0;s<=i;s++){var u=a[s];u.parent=r,u.prevSibling=s>0?a[s-1].key:null,u.nextSibling=s<i?a[s+1].key:null,u.children=$a(u.childConfigs.map(function(c){return c.key})),this.contentBlocks.push(new gg(Ui({},u))),this._toContentBlocks(u.childConfigs,u.key)}},t._hoistContainersInBlockConfigs=function(a){var r=this,i=$a(a).flatMap(function(s){return s.type!=="unstyled"||s.text!==""?[s]:r._hoistContainersInBlockConfigs(s.childConfigs)});return i},t._toFlatContentBlocks=function(a){var r=this,i=this._hoistContainersInBlockConfigs(a);i.forEach(function(s){var u=r._extractTextFromBlockConfigs(s.childConfigs),c=u.text,d=u.characterList;r.contentBlocks.push(new hg(Ui({},s,{text:s.text+c,characterList:s.characterList.concat(d)})))})},t._extractTextFromBlockConfigs=function(a){for(var r=a.length-1,i="",s=$a(),u=0;u<=r;u++){var c=a[u];i+=c.text,s=s.concat(c.characterList),i!==""&&c.type!=="unstyled"&&(i+=`
74
+ `,s=s.push(s.last()));var d=this._extractTextFromBlockConfigs(c.childConfigs);i+=d.text,s=s.concat(d.characterList)}return{text:i,characterList:s}},e}(),Pg=function(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:bg,a=arguments.length>2&&arguments[2]!==void 0?arguments[2]:mg;t=t.trim().replace(Cg,"").replace(Eg,zu).replace(kg,"").replace(Dg,"");var r=n(t);if(!r)return null;var i=Tg(a),s=function(c,d){return c==="li"?d==="ol"?"ordered-list-item":"unordered-list-item":null};return new jg(i,s).addDOMNode(r).getContentBlocks()},Hu=Pg;function $g(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{},a=Object.keys(n);typeof Object.getOwnPropertySymbols=="function"&&(a=a.concat(Object.getOwnPropertySymbols(n).filter(function(r){return Object.getOwnPropertyDescriptor(n,r).enumerable}))),a.forEach(function(r){Kg(e,r,n[r])})}return e}function Kg(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var zg=pn,Hg=Jr,Vg=Hu,Ug=pa,Yg=Ru,Wg=Xa,Vu=kt,qg=S1,Zg=Vu.List,Gg=Vu.Repeat,Uu=Wg("draft_tree_data_support"),Jg=Uu?Hg:zg,Xg={processHTML:function(t,n){return Vg(t,Yg,n)},processText:function(t,n,a){return t.reduce(function(r,i,s){i=qg(i);var u=Ug(),c={key:u,type:a,text:i,characterList:Zg(Gg(n,i.length))};if(Uu&&s!==0){var d=s-1,g=r[d]=r[d].merge({nextSibling:u});c=$g({},c,{prevSibling:g.getKey()})}return r.push(new Jg(c)),r},[])}},Qg=Xg;function em(e,t,n,a){var r=t.getStartKey(),i=t.getEndKey(),s=e.getBlockMap(),u=s.toSeq().skipUntil(function(c,d){return d===r}).takeUntil(function(c,d){return d===i}).concat([[i,s.get(i)]]).map(function(c){var d=c.getDepth()+n;return d=Math.max(0,Math.min(d,a)),c.set("depth",d)});return s=s.merge(u),e.merge({blockMap:s,selectionBefore:t,selectionAfter:t})}var tm=em,cn=Tr,ca=Kt,rm=tm,am=Ir,va={currentBlockContainsLink:function(t){var n=t.getSelection(),a=t.getCurrentContent(),r=a.getEntityMap();return a.getBlockForKey(n.getAnchorKey()).getCharacterList().slice(n.getStartOffset(),n.getEndOffset()).some(function(i){var s=i.getEntity();return!!s&&r.__get(s).getType()==="LINK"})},getCurrentBlockType:function(t){var n=t.getSelection();return t.getCurrentContent().getBlockForKey(n.getStartKey()).getType()},getDataObjectForLinkURL:function(t){return{url:t.toString()}},handleKeyCommand:function(t,n,a){switch(n){case"bold":return va.toggleInlineStyle(t,"BOLD");case"italic":return va.toggleInlineStyle(t,"ITALIC");case"underline":return va.toggleInlineStyle(t,"UNDERLINE");case"code":return va.toggleCode(t);case"backspace":case"backspace-word":case"backspace-to-start-of-line":return va.onBackspace(t);case"delete":case"delete-word":case"delete-to-end-of-block":return va.onDelete(t);default:return null}},insertSoftNewline:function(t){var n=cn.insertText(t.getCurrentContent(),t.getSelection(),`
75
+ `,t.getCurrentInlineStyle(),null),a=ca.push(t,n,"insert-characters");return ca.forceSelection(a,n.getSelectionAfter())},onBackspace:function(t){var n=t.getSelection();if(!n.isCollapsed()||n.getAnchorOffset()||n.getFocusOffset())return null;var a=t.getCurrentContent(),r=n.getStartKey(),i=a.getBlockBefore(r);if(i&&i.getType()==="atomic"){var s=a.getBlockMap().delete(i.getKey()),u=a.merge({blockMap:s,selectionAfter:n});if(u!==a)return ca.push(t,u,"remove-range")}var c=va.tryToRemoveBlockStyle(t);return c?ca.push(t,c,"change-block-type"):null},onDelete:function(t){var n=t.getSelection();if(!n.isCollapsed())return null;var a=t.getCurrentContent(),r=n.getStartKey(),i=a.getBlockForKey(r),s=i.getLength();if(n.getStartOffset()<s)return null;var u=a.getBlockAfter(r);if(!u||u.getType()!=="atomic")return null;var c=n.merge({focusKey:u.getKey(),focusOffset:u.getLength()}),d=cn.removeRange(a,c,"forward");return d!==a?ca.push(t,d,"remove-range"):null},onTab:function(t,n,a){var r=n.getSelection(),i=r.getAnchorKey();if(i!==r.getFocusKey())return n;var s=n.getCurrentContent(),u=s.getBlockForKey(i),c=u.getType();if(c!=="unordered-list-item"&&c!=="ordered-list-item")return n;t.preventDefault();var d=u.getDepth();if(!t.shiftKey&&d===a)return n;var g=rm(s,r,t.shiftKey?-1:1,a);return ca.push(n,g,"adjust-depth")},toggleBlockType:function(t,n){var a=t.getSelection(),r=a.getStartKey(),i=a.getEndKey(),s=t.getCurrentContent(),u=a;if(r!==i&&a.getEndOffset()===0){var c=am(s.getBlockBefore(i));i=c.getKey(),u=u.merge({anchorKey:r,anchorOffset:a.getStartOffset(),focusKey:i,focusOffset:c.getLength(),isBackward:!1})}var d=s.getBlockMap().skipWhile(function(S,p){return p!==r}).reverse().skipWhile(function(S,p){return p!==i}).some(function(S){return S.getType()==="atomic"});if(d)return t;var g=s.getBlockForKey(r).getType()===n?"unstyled":n;return ca.push(t,cn.setBlockType(s,u,g),"change-block-type")},toggleCode:function(t){var n=t.getSelection(),a=n.getAnchorKey(),r=n.getFocusKey();return n.isCollapsed()||a!==r?va.toggleBlockType(t,"code-block"):va.toggleInlineStyle(t,"CODE")},toggleInlineStyle:function(t,n){var a=t.getSelection(),r=t.getCurrentInlineStyle();if(a.isCollapsed())return ca.setInlineStyleOverride(t,r.has(n)?r.remove(n):r.add(n));var i=t.getCurrentContent(),s;return r.has(n)?s=cn.removeInlineStyle(i,a,n):s=cn.applyInlineStyle(i,a,n),ca.push(t,s,"change-inline-style")},toggleLink:function(t,n,a){var r=cn.applyEntity(t.getCurrentContent(),n,a);return ca.push(t,r,"apply-entity")},tryToRemoveBlockStyle:function(t){var n=t.getSelection(),a=n.getAnchorOffset();if(n.isCollapsed()&&a===0){var r=n.getAnchorKey(),i=t.getCurrentContent(),s=i.getBlockForKey(r),u=s.getType(),c=i.getBlockBefore(r);if(u==="code-block"&&c&&c.getType()==="code-block"&&c.getLength()!==0)return null;if(u!=="unstyled")return cn.setBlockType(i,n,"unstyled")}return null}},Yu=va,nm=/\r\n?|\n/g;function lm(e){return e.split(nm)}var im=lm,Wi=fl,gs=Gr,om=wu,Wu=Tr,qi=Qg,qu=Kt,ms=Yu,bs=A0,sm=xu,ys=fi,ws=im;function um(e,t){t.preventDefault();var n=new om(t.clipboardData);if(!n.isRichText()){var a=n.getFiles(),r=n.getText();if(a.length>0){if(e.props.handlePastedFiles&&ys(e.props.handlePastedFiles(a)))return;sm(a,function(G){if(G=G||r,!!G){var re=e._latestEditorState,fe=ws(G),z=gs.create({style:re.getCurrentInlineStyle(),entity:bs(re.getCurrentContent(),re.getSelection())}),j=ms.getCurrentBlockType(re),Y=qi.processText(fe,z,j),le=Wi.createFromArray(Y),X=Wu.replaceWithFragment(re.getCurrentContent(),re.getSelection(),le);e.update(qu.push(re,X,"insert-fragment"))}});return}}var i=[],s=n.getText(),u=n.getHTML(),c=e._latestEditorState;if(e.props.formatPastedText){var d=e.props.formatPastedText(s,u),g=d.text,S=d.html;s=g,u=S}if(!(e.props.handlePastedText&&ys(e.props.handlePastedText(s,u,c)))){if(s&&(i=ws(s)),!e.props.stripPastedStyles){var p=e.getClipboard();if(!e.props.formatPastedText&&n.isRichText()&&p){var m;if(((m=u)===null||m===void 0?void 0:m.indexOf(e.getEditorKey()))!==-1||i.length===1&&p.size===1&&p.first().getText()===s){e.update(zl(e._latestEditorState,p));return}}else if(p&&n.types.includes("com.apple.webarchive")&&!n.types.includes("text/html")&&cm(i,p)){e.update(zl(e._latestEditorState,p));return}if(u){var x=qi.processHTML(u,e.props.blockRenderMap);if(x){var _=x.contentBlocks,b=x.entityMap;if(_){var O=Wi.createFromArray(_);e.update(zl(e._latestEditorState,O,b));return}}}e.setClipboard(null)}if(i.length){var C=gs.create({style:c.getCurrentInlineStyle(),entity:bs(c.getCurrentContent(),c.getSelection())}),D=ms.getCurrentBlockType(c),N=qi.processText(i,C,D),B=Wi.createFromArray(N);e.update(zl(e._latestEditorState,B))}}}function zl(e,t,n){var a=Wu.replaceWithFragment(e.getCurrentContent(),e.getSelection(),t);return qu.push(e,a.set("entityMap",n),"insert-fragment")}function cm(e,t){return e.length===t.size&&t.valueSeq().every(function(n,a){return n.getText()===e[a]})}var fm=um,Zu=Br,dm=v6,vm=m6,pm=w6,hm=E6,gm=R6,mm=j6,bm=$6,ym=H6,wm=S8,xm=tg,Cm=fm,Gu=Q1,_m=Zu.isBrowser("Chrome"),Sm=Zu.isBrowser("Firefox"),xs=_m||Sm?Gu:function(e){},Em={onBeforeInput:dm,onBlur:vm,onCompositionStart:pm,onCopy:hm,onCut:gm,onDragOver:mm,onDragStart:bm,onFocus:ym,onInput:wm,onKeyDown:xm,onPaste:Cm,onSelect:Gu,onMouseUp:xs,onKeyUp:xs},km=Em,Dm=nl,Om=Dm.unstable_flushControlled,Mm=Om;function Lm(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}var Zi=ee,Cs=hn,Nm=function(e){Lm(t,e);function t(){return e.apply(this,arguments)||this}var n=t.prototype;return n.shouldComponentUpdate=function(r){return this.props.text!==r.text||this.props.editorState.getSelection().getHasFocus()!==r.editorState.getSelection().getHasFocus()},n.render=function(){var r=this.props.editorState.getSelection().getHasFocus(),i=Cs({"public/DraftEditorPlaceholder/root":!0,"public/DraftEditorPlaceholder/hasFocus":r}),s={whiteSpace:"pre-wrap"};return Zi.createElement("div",{className:i},Zi.createElement("div",{className:Cs("public/DraftEditorPlaceholder/inner"),id:this.props.accessibilityID,style:s},this.props.text))},t}(Zi.Component),Tm=Nm,Ju=H0,Xn=oi,Xu=Br,Ya=Xu.isPlatform("Mac OS X"),_s=Ya&&Xu.isBrowser("Firefox < 29"),za=Ju.hasCommandModifier,Ea=Ju.isCtrlKeyCommand;function Qu(e){return Ya&&e.altKey||Ea(e)}function Im(e){return za(e)?e.shiftKey?"redo":"undo":null}function Bm(e){return!Ya&&e.shiftKey?null:Qu(e)?"delete-word":"delete"}function Am(e){return za(e)&&Ya?"backspace-to-start-of-line":Qu(e)?"backspace-word":"backspace"}function Rm(e){switch(e.keyCode){case 66:return za(e)?"bold":null;case 68:return Ea(e)?"delete":null;case 72:return Ea(e)?"backspace":null;case 73:return za(e)?"italic":null;case 74:return za(e)?"code":null;case 75:return Ya&&Ea(e)?"secondary-cut":null;case 77:return Ea(e)?"split-block":null;case 79:return Ea(e)?"split-block":null;case 84:return Ya&&Ea(e)?"transpose-characters":null;case 85:return za(e)?"underline":null;case 87:return Ya&&Ea(e)?"backspace-word":null;case 89:return Ea(e)?Ya?"secondary-paste":"redo":null;case 90:return Im(e)||null;case Xn.RETURN:return"split-block";case Xn.DELETE:return Bm(e);case Xn.BACKSPACE:return Am(e);case Xn.LEFT:return _s&&za(e)?"move-selection-to-start-of-block":null;case Xn.RIGHT:return _s&&za(e)?"move-selection-to-end-of-block":null;default:return null}}var ec=Rm,Fm=gn;function m0(){return m0=Fm||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},m0.apply(this,arguments)}function Gi(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{},a=Object.keys(n);typeof Object.getOwnPropertySymbols=="function"&&(a=a.concat(Object.getOwnPropertySymbols(n).filter(function(r){return Object.getOwnPropertyDescriptor(n,r).enumerable}))),a.forEach(function(r){Fe(e,r,n[r])})}return e}function He(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Fe(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function tc(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}var jm=I0,Pm=P1,$m=r9,Km=Eh,zm=Qh,Hm=km,Ss=Mm,Vm=Tm,Um=au,Ym=Kt,Ka=ee,Wm=P0,qm=si,Zm=Br,Ji=hn,Gm=pa,Jm=ec,Xm=ui,Qm=Xa,Hl=Mt,Es=bl,eb=Ir,rc=Zm.isBrowser("IE"),tb=!rc,ks={edit:Hm,composite:$m,drag:zm,cut:null,render:null},Ds=!1,rb=function(e){tc(t,e);function t(){return e.apply(this,arguments)||this}var n=t.prototype;return n.render=function(){return null},n.componentDidMount=function(){this._update()},n.componentDidUpdate=function(){this._update()},n._update=function(){var r=this.props.editor;r._latestEditorState=this.props.editorState,r._blockSelectEvents=!0},t}(Ka.Component),ac=function(e){tc(t,e);function t(a){var r;return r=e.call(this,a)||this,Fe(He(r),"_blockSelectEvents",void 0),Fe(He(r),"_clipboard",void 0),Fe(He(r),"_handler",void 0),Fe(He(r),"_dragCount",void 0),Fe(He(r),"_internalDrag",void 0),Fe(He(r),"_editorKey",void 0),Fe(He(r),"_placeholderAccessibilityID",void 0),Fe(He(r),"_latestEditorState",void 0),Fe(He(r),"_latestCommittedEditorState",void 0),Fe(He(r),"_pendingStateFromBeforeInput",void 0),Fe(He(r),"_onBeforeInput",void 0),Fe(He(r),"_onBlur",void 0),Fe(He(r),"_onCharacterData",void 0),Fe(He(r),"_onCompositionEnd",void 0),Fe(He(r),"_onCompositionStart",void 0),Fe(He(r),"_onCopy",void 0),Fe(He(r),"_onCut",void 0),Fe(He(r),"_onDragEnd",void 0),Fe(He(r),"_onDragOver",void 0),Fe(He(r),"_onDragStart",void 0),Fe(He(r),"_onDrop",void 0),Fe(He(r),"_onInput",void 0),Fe(He(r),"_onFocus",void 0),Fe(He(r),"_onKeyDown",void 0),Fe(He(r),"_onKeyPress",void 0),Fe(He(r),"_onKeyUp",void 0),Fe(He(r),"_onMouseDown",void 0),Fe(He(r),"_onMouseUp",void 0),Fe(He(r),"_onPaste",void 0),Fe(He(r),"_onSelect",void 0),Fe(He(r),"editor",void 0),Fe(He(r),"editorContainer",void 0),Fe(He(r),"focus",void 0),Fe(He(r),"blur",void 0),Fe(He(r),"setMode",void 0),Fe(He(r),"exitCurrentMode",void 0),Fe(He(r),"restoreEditorDOM",void 0),Fe(He(r),"setClipboard",void 0),Fe(He(r),"getClipboard",void 0),Fe(He(r),"getEditorKey",void 0),Fe(He(r),"update",void 0),Fe(He(r),"onDragEnter",void 0),Fe(He(r),"onDragLeave",void 0),Fe(He(r),"_handleEditorContainerRef",function(i){r.editorContainer=i,r.editor=i!==null?i.firstChild:null}),Fe(He(r),"focus",function(i){var s=r.props.editorState,u=s.getSelection().getHasFocus(),c=r.editor;if(c){var d=qm.getScrollParent(c),g=i||Xm(d),S=g.x,p=g.y;Es(c)||(process.env.NODE_ENV!=="production"?Hl(!1,"editorNode is not an HTMLElement"):Hl(!1)),c.focus(),d===window?window.scrollTo(S,p):Wm.setTop(d,p),u||r.update(Ym.forceSelection(s,s.getSelection()))}}),Fe(He(r),"blur",function(){var i=r.editor;i&&(Es(i)||(process.env.NODE_ENV!=="production"?Hl(!1,"editorNode is not an HTMLElement"):Hl(!1)),i.blur())}),Fe(He(r),"setMode",function(i){var s=r.props,u=s.onPaste,c=s.onCut,d=s.onCopy,g=Gi({},ks.edit);u&&(g.onPaste=u),c&&(g.onCut=c),d&&(g.onCopy=d);var S=Gi({},ks,{edit:g});r._handler=S[i]}),Fe(He(r),"exitCurrentMode",function(){r.setMode("edit")}),Fe(He(r),"restoreEditorDOM",function(i){r.setState({contentsKey:r.state.contentsKey+1},function(){r.focus(i)})}),Fe(He(r),"setClipboard",function(i){r._clipboard=i}),Fe(He(r),"getClipboard",function(){return r._clipboard}),Fe(He(r),"update",function(i){r._latestEditorState=i,r.props.onChange(i)}),Fe(He(r),"onDragEnter",function(){r._dragCount++}),Fe(He(r),"onDragLeave",function(){r._dragCount--,r._dragCount===0&&r.exitCurrentMode()}),r._blockSelectEvents=!1,r._clipboard=null,r._handler=null,r._dragCount=0,r._editorKey=a.editorKey||Gm(),r._placeholderAccessibilityID="placeholder-"+r._editorKey,r._latestEditorState=a.editorState,r._latestCommittedEditorState=a.editorState,r._onBeforeInput=r._buildHandler("onBeforeInput"),r._onBlur=r._buildHandler("onBlur"),r._onCharacterData=r._buildHandler("onCharacterData"),r._onCompositionEnd=r._buildHandler("onCompositionEnd"),r._onCompositionStart=r._buildHandler("onCompositionStart"),r._onCopy=r._buildHandler("onCopy"),r._onCut=r._buildHandler("onCut"),r._onDragEnd=r._buildHandler("onDragEnd"),r._onDragOver=r._buildHandler("onDragOver"),r._onDragStart=r._buildHandler("onDragStart"),r._onDrop=r._buildHandler("onDrop"),r._onInput=r._buildHandler("onInput"),r._onFocus=r._buildHandler("onFocus"),r._onKeyDown=r._buildHandler("onKeyDown"),r._onKeyPress=r._buildHandler("onKeyPress"),r._onKeyUp=r._buildHandler("onKeyUp"),r._onMouseDown=r._buildHandler("onMouseDown"),r._onMouseUp=r._buildHandler("onMouseUp"),r._onPaste=r._buildHandler("onPaste"),r._onSelect=r._buildHandler("onSelect"),r.getEditorKey=function(){return r._editorKey},process.env.NODE_ENV!=="production"&&["onDownArrow","onEscape","onLeftArrow","onRightArrow","onTab","onUpArrow"].forEach(function(i){a.hasOwnProperty(i)&&console.warn("Supplying an `".concat(i,"` prop to `DraftEditor` has ")+"been deprecated. If your handler needs access to the keyboard event, supply a custom `keyBindingFn` prop that falls back to the default one (eg. https://is.gd/wHKQ3W).")}),r.state={contentsKey:0},r}var n=t.prototype;return n._buildHandler=function(r){var i=this;return function(s){if(!i.props.readOnly){var u=i._handler&&i._handler[r];u&&(Ss?Ss(function(){return u(i,s)}):u(i,s))}}},n._showPlaceholder=function(){return!!this.props.placeholder&&!this.props.editorState.isInCompositionMode()&&!this.props.editorState.getCurrentContent().hasText()},n._renderPlaceholder=function(){if(this._showPlaceholder()){var r={text:eb(this.props.placeholder),editorState:this.props.editorState,textAlignment:this.props.textAlignment,accessibilityID:this._placeholderAccessibilityID};return Ka.createElement(Vm,r)}return null},n._renderARIADescribedBy=function(){var r=this.props.ariaDescribedBy||"",i=this._showPlaceholder()?this._placeholderAccessibilityID:"";return r.replace("{{editor_id_placeholder}}",i)||void 0},n.render=function(){var r=this.props,i=r.blockRenderMap,s=r.blockRendererFn,u=r.blockStyleFn,c=r.customStyleFn,d=r.customStyleMap,g=r.editorState,S=r.preventScroll,p=r.readOnly,m=r.textAlignment,x=r.textDirectionality,_=Ji({"DraftEditor/root":!0,"DraftEditor/alignLeft":m==="left","DraftEditor/alignRight":m==="right","DraftEditor/alignCenter":m==="center"}),b={outline:"none",userSelect:"text",WebkitUserSelect:"text",whiteSpace:"pre-wrap",wordWrap:"break-word"},O=this.props.role||"textbox",C=O==="combobox"?!!this.props.ariaExpanded:null,D={blockRenderMap:i,blockRendererFn:s,blockStyleFn:u,customStyleMap:Gi({},Pm,d),customStyleFn:c,editorKey:this._editorKey,editorState:g,preventScroll:S,textDirectionality:x};return Ka.createElement("div",{className:_},this._renderPlaceholder(),Ka.createElement("div",{className:Ji("DraftEditor/editorContainer"),ref:this._handleEditorContainerRef},Ka.createElement("div",{"aria-activedescendant":p?null:this.props.ariaActiveDescendantID,"aria-autocomplete":p?null:this.props.ariaAutoComplete,"aria-controls":p?null:this.props.ariaControls,"aria-describedby":this._renderARIADescribedBy(),"aria-expanded":p?null:C,"aria-label":this.props.ariaLabel,"aria-labelledby":this.props.ariaLabelledBy,"aria-multiline":this.props.ariaMultiline,"aria-owns":p?null:this.props.ariaOwneeID,autoCapitalize:this.props.autoCapitalize,autoComplete:this.props.autoComplete,autoCorrect:this.props.autoCorrect,className:Ji({notranslate:!p,"public/DraftEditor/content":!0}),contentEditable:!p,"data-testid":this.props.webDriverTestID,onBeforeInput:this._onBeforeInput,onBlur:this._onBlur,onCompositionEnd:this._onCompositionEnd,onCompositionStart:this._onCompositionStart,onCopy:this._onCopy,onCut:this._onCut,onDragEnd:this._onDragEnd,onDragEnter:this.onDragEnter,onDragLeave:this.onDragLeave,onDragOver:this._onDragOver,onDragStart:this._onDragStart,onDrop:this._onDrop,onFocus:this._onFocus,onInput:this._onInput,onKeyDown:this._onKeyDown,onKeyPress:this._onKeyPress,onKeyUp:this._onKeyUp,onMouseUp:this._onMouseUp,onPaste:this._onPaste,onSelect:this._onSelect,ref:this.props.editorRef,role:p?null:O,spellCheck:tb&&this.props.spellCheck,style:b,suppressContentEditableWarning:!0,tabIndex:this.props.tabIndex},Ka.createElement(rb,{editor:this,editorState:g}),Ka.createElement(Km,m0({},D,{key:"contents"+this.state.contentsKey})))))},n.componentDidMount=function(){this._blockSelectEvents=!1,!Ds&&Qm("draft_ods_enabled")&&(Ds=!0,Um.initODS()),this.setMode("edit"),rc&&(this.editor?this.editor.ownerDocument.execCommand("AutoUrlDetect",!1,!1):window.execCommand("AutoUrlDetect",!1,!1))},n.componentDidUpdate=function(){this._blockSelectEvents=!1,this._latestEditorState=this.props.editorState,this._latestCommittedEditorState=this.props.editorState},t}(Ka.Component);Fe(ac,"defaultProps",{ariaDescribedBy:"{{editor_id_placeholder}}",blockRenderMap:jm,blockRendererFn:function(){return null},blockStyleFn:function(){return""},keyBindingFn:Jm,readOnly:!1,spellCheck:!1,stripPastedStyles:!1});var ab=ac,nb={},lb={stringify:function(t){return"_"+String(t)},unstringify:function(t){return t.slice(1)}},nc=lb,ib=nc,ob=yn,Os=ob.strlen;function sb(e,t){var n=[];return e.findEntityRanges(function(a){return!!a.getEntity()},function(a,r){var i=e.getText(),s=e.getEntityAt(a);n.push({offset:Os(i.slice(0,a)),length:Os(i.slice(a,r)),key:Number(t[ib.stringify(s)])})}),n}var ub=sb,Ms=yn,cb=dl,fb=function(t,n){return t===n},db=function(t){return!!t},vb=[];function pb(e,t,n){var a=[],r=t.map(function(i){return i.has(n)}).toList();return cb(r,fb,db,function(i,s){var u=e.getText();a.push({offset:Ms.strlen(u.slice(0,i)),length:Ms.strlen(u.slice(i,s)),style:n})}),a}function hb(e){var t=e.getCharacterList().map(function(a){return a.getStyle()}).toList(),n=t.flatten().toSet().map(function(a){return pb(e,t,a)});return Array.prototype.concat.apply(vb,n.toJS())}var gb=hb;function mb(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{},a=Object.keys(n);typeof Object.getOwnPropertySymbols=="function"&&(a=a.concat(Object.getOwnPropertySymbols(n).filter(function(r){return Object.getOwnPropertyDescriptor(n,r).enumerable}))),a.forEach(function(r){bb(e,r,n[r])})}return e}function bb(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var yb=pn,wb=Jr,lc=nc,xb=ub,Cb=gb,Ls=Mt,Ns=function(t,n){return{key:t.getKey(),text:t.getText(),type:t.getType(),depth:t.getDepth(),inlineStyleRanges:Cb(t),entityRanges:xb(t,n),data:t.getData().toObject()}},_b=function(t,n,a,r){if(t instanceof yb){a.push(Ns(t,n));return}t instanceof wb||(process.env.NODE_ENV!=="production"?Ls(!1,"block is not a BlockNode"):Ls(!1));var i=t.getParentKey(),s=r[t.getKey()]=mb({},Ns(t,n),{children:[]});if(i){r[i].children.push(s);return}a.push(s)},Sb=function(t,n){var a=n.entityMap,r=[],i={},s={},u=0;return t.getBlockMap().forEach(function(c){c.findEntityRanges(function(d){return d.getEntity()!==null},function(d){var g=c.getEntityAt(d),S=lc.stringify(g);s[S]||(s[S]=g,a[S]="".concat(u),u++)}),_b(c,a,r,i)}),{blocks:r,entityMap:a}},Eb=function(t,n){var a=n.blocks,r=n.entityMap,i={};return Object.keys(r).forEach(function(s,u){var c=t.getEntity(lc.unstringify(s));i[u]={type:c.getType(),mutability:c.getMutability(),data:c.getData()}}),{blocks:a,entityMap:i}},kb=function(t){var n={entityMap:{},blocks:[]};return n=Sb(t,n),n=Eb(t,n),n},Db=kb;function el(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{},a=Object.keys(n);typeof Object.getOwnPropertySymbols=="function"&&(a=a.concat(Object.getOwnPropertySymbols(n).filter(function(r){return Object.getOwnPropertyDescriptor(n,r).enumerable}))),a.forEach(function(r){Ob(e,r,n[r])})}return e}function Ob(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Mb=pa,Gl=Mt,Lb=function(t,n){for(var a=[].concat(t).reverse();a.length;){var r=a.pop();n(r);var i=r.children;Array.isArray(i)||(process.env.NODE_ENV!=="production"?Gl(!1,"Invalid tree raw block"):Gl(!1)),a=a.concat([].concat(i.reverse()))}},Ts=function(t){if(!(t&&t.type))return!1;var n=t.type;return n==="unordered-list-item"||n==="ordered-list-item"},Nb=function(t){Array.isArray(t.children)&&(t.children=t.children.map(function(n){return n.type===t.type?el({},n,{depth:(t.depth||0)+1}):n}))},Tb={fromRawTreeStateToRawState:function(t){var n=t.blocks,a=[];return Array.isArray(n)||(process.env.NODE_ENV!=="production"?Gl(!1,"Invalid raw state"):Gl(!1)),!Array.isArray(n)||!n.length?t:(Lb(n,function(r){var i=el({},r);Ts(r)&&(i.depth=i.depth||0,Nb(r),r.children!=null&&r.children.length>0)||(delete i.children,a.push(i))}),t.blocks=a,el({},t,{blocks:a}))},fromRawStateToRawTreeState:function(t){var n=[],a=[];return t.blocks.forEach(function(r){var i=Ts(r),s=r.depth||0,u=el({},r,{children:[]});if(!i){n.push(u);return}var c=a[0];if(c==null&&s===0)n.push(u);else if(c==null||c.depth<s-1){var d={key:Mb(),text:"",depth:s-1,type:r.type,children:[],entityRanges:[],inlineStyleRanges:[]};a.unshift(d),s===1?n.push(d):c?.children.push(d),d.children.push(u)}else if(c.depth===s-1)c.children.push(u);else{for(;c!=null&&c.depth>=s;)a.shift(),c=a[0];s>0?c.children.push(u):n.push(u)}}),el({},t,{blocks:n})}},Ib=Tb,Sa=K0,Bb={isValidBlock:function(t,n){var a=t.getKey(),r=t.getParentKey();if(r!=null){var i=n.get(r);if(!i.getChildKeys().includes(a))return process.env.NODE_ENV!=="production"&&Sa(!0,"Tree is missing parent -> child pointer on %s",a),!1}var s=t.getChildKeys().map(function(S){return n.get(S)});if(!s.every(function(S){return S.getParentKey()===a}))return process.env.NODE_ENV!=="production"&&Sa(!0,"Tree is missing child -> parent pointer on %s",a),!1;var u=t.getPrevSiblingKey();if(u!=null){var c=n.get(u);if(c.getNextSiblingKey()!==a)return process.env.NODE_ENV!=="production"&&Sa(!0,"Tree is missing nextSibling pointer on %s's prevSibling",a),!1}var d=t.getNextSiblingKey();if(d!=null){var g=n.get(d);if(g.getPrevSiblingKey()!==a)return process.env.NODE_ENV!=="production"&&Sa(!0,"Tree is missing prevSibling pointer on %s's nextSibling",a),!1}return d!==null&&u!==null&&u===d?(process.env.NODE_ENV!=="production"&&Sa(!0,"Tree has a two-node cycle at %s",a),!1):t.text!=""&&t.getChildKeys().size>0?(process.env.NODE_ENV!=="production"&&Sa(!0,"Leaf node %s has children",a),!1):!0},isConnectedTree:function(t){var n=t.toArray().filter(function(p){return p.getParentKey()==null&&p.getPrevSiblingKey()==null});if(n.length!==1)return process.env.NODE_ENV!=="production"&&Sa(!0,"Tree is not connected. More or less than one first node"),!1;for(var a=n.shift(),r=0,i=a.getKey(),s=[];i!=null;){var u=t.get(i),c=u.getChildKeys(),d=u.getNextSiblingKey();if(c.size>0){d!=null&&s.unshift(d);var g=c.map(function(p){return t.get(p)}),S=g.find(function(p){return p.getPrevSiblingKey()==null});if(S==null)return process.env.NODE_ENV!=="production"&&Sa(!0,"%s has no first child",i),!1;i=S.getKey()}else u.getNextSiblingKey()!=null?i=u.getNextSiblingKey():i=s.shift();r++}return r!==t.size?(process.env.NODE_ENV!=="production"&&Sa(!0,"Tree is not connected. %s nodes were seen instead of %s",r,t.size),!1):!0},isValidTree:function(t){var n=this,a=t.toArray();return a.every(function(r){return n.isValidBlock(r,t)})?this.isConnectedTree(t):!1}},Ab=Bb,Rb=Gr,Fb=kt,jb=Fb.List;function Pb(e,t){var n=e.map(function(a,r){var i=t[r];return Rb.create({style:a,entity:i})});return jb(n)}var $b=Pb,Kb=yn,Is=Kb.substr;function zb(e,t){var n=Array(e.length).fill(null);return t&&t.forEach(function(a){for(var r=Is(e,0,a.offset).length,i=r+Is(e,a.offset,a.length).length,s=r;s<i;s++)n[s]=a.key}),n}var Hb=zb,Vb=yn,Ub=kt,Yb=Ub.OrderedSet,Bs=Vb.substr,Wb=Yb();function qb(e,t){var n=Array(e.length).fill(Wb);return t&&t.forEach(function(a){for(var r=Bs(e,0,a.offset).length,i=r+Bs(e,a.offset,a.length).length;r<i;)n[r]=n[r].add(a.style),r++}),n}var Zb=qb;function ol(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{},a=Object.keys(n);typeof Object.getOwnPropertySymbols=="function"&&(a=a.concat(Object.getOwnPropertySymbols(n).filter(function(r){return Object.getOwnPropertyDescriptor(n,r).enumerable}))),a.forEach(function(r){Gb(e,r,n[r])})}return e}function Gb(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Jb=pn,As=Jr,Xb=O0,Qb=ei,Rs=Ib,ey=Ab,Fs=ti,ty=$b,ry=Hb,ay=Zb,ic=pa,ny=Xa,Y0=kt,Wa=Mt,js=ny("draft_tree_data_support"),Ps=Y0.List,ly=Y0.Map,oc=Y0.OrderedMap,b0=function(t,n){var a=t.key,r=t.type,i=t.data,s=t.text,u=t.depth,c={text:s,depth:u||0,type:r||"unstyled",key:a||ic(),data:ly(i),characterList:iy(t,n)};return c},iy=function(t,n){var a=t.text,r=t.entityRanges,i=t.inlineStyleRanges,s=r||[],u=i||[];return ty(ay(a,u),ry(a,s.filter(function(c){return n.hasOwnProperty(c.key)}).map(function(c){return ol({},c,{key:n[c.key]})})))},Xi=function(t){return ol({},t,{key:t.key||ic()})},$s=function(t,n,a){var r=n.map(function(i){return ol({},i,{parentRef:a})});return t.concat(r.reverse())},oy=function(t,n){return t.map(Xi).reduce(function(a,r,i){Array.isArray(r.children)||(process.env.NODE_ENV!=="production"?Wa(!1,"invalid RawDraftContentBlock can not be converted to ContentBlockNode"):Wa(!1));var s=r.children.map(Xi),u=new As(ol({},b0(r,n),{prevSibling:i===0?null:t[i-1].key,nextSibling:i===t.length-1?null:t[i+1].key,children:Ps(s.map(function(b){return b.key}))}));a=a.set(u.getKey(),u);for(var c=$s([],s,u);c.length>0;){var d=c.pop(),g=d.parentRef,S=g.getChildKeys(),p=S.indexOf(d.key),m=Array.isArray(d.children);if(!m){m||(process.env.NODE_ENV!=="production"?Wa(!1,"invalid RawDraftContentBlock can not be converted to ContentBlockNode"):Wa(!1));break}var x=d.children.map(Xi),_=new As(ol({},b0(d,n),{parent:g.getKey(),children:Ps(x.map(function(b){return b.key})),prevSibling:p===0?null:S.get(p-1),nextSibling:p===S.size-1?null:S.get(p+1)}));a=a.set(_.getKey(),_),c=$s(c,x,_)}return a},oc())},sy=function(t,n){return oc(t.map(function(a){var r=new Jb(b0(a,n));return[r.getKey(),r]}))},uy=function(t,n){var a=t.blocks.find(function(s){return Array.isArray(s.children)&&s.children.length>0}),r=js&&!a?Rs.fromRawStateToRawTreeState(t).blocks:t.blocks;if(!js)return sy(a?Rs.fromRawTreeStateToRawState(t).blocks:r,n);var i=oy(r,n);return process.env.NODE_ENV!=="production"&&(ey.isValidTree(i)||(process.env.NODE_ENV!=="production"?Wa(!1,"Should be a valid tree"):Wa(!1))),i},cy=function(t){var n=t.entityMap,a={};return Object.keys(n).forEach(function(r){var i=n[r],s=i.type,u=i.mutability,c=i.data;a[r]=Qb.__create(s,u,c||{})}),a},fy=function(t){Array.isArray(t.blocks)||(process.env.NODE_ENV!=="production"?Wa(!1,"invalid RawDraftContentState"):Wa(!1));var n=cy(t),a=uy(t,n),r=a.isEmpty()?new Fs:Fs.createEmpty(a.first().getKey());return new Xb({blockMap:a,entityMap:n,selectionBefore:r,selectionAfter:r})},dy=fy,vy=Nu;function py(e){var t=vy(e),n=0,a=0,r=0,i=0;if(t.length){if(t.length>1&&t[0].width===0){var s=t[1];n=s.top,a=s.right,r=s.bottom,i=s.left}else{var u=t[0];n=u.top,a=u.right,r=u.bottom,i=u.left}for(var c=1;c<t.length;c++){var d=t[c];d.height!==0&&d.width!==0&&(n=Math.min(n,d.top),a=Math.max(a,d.right),r=Math.max(r,d.bottom),i=Math.min(i,d.left))}}return{top:n,right:a,bottom:r,left:i,width:a-i,height:r-n}}var hy=py,gy=hy;function my(e){var t=e.getSelection();if(!t.rangeCount)return null;var n=t.getRangeAt(0),a=gy(n),r=a.top,i=a.right,s=a.bottom,u=a.left;return r===0&&i===0&&s===0&&u===0?null:a}var by=my,yy=hv,wy=fl,xy=Gr,Cy=Cv,_y=pn,Sy=O0,Ey=I0,ky=P1,Dy=ab,Oy=mu,My=ei,Ly=Tr,Ny=_1,Ty=Kt,Iy=H0,By=nb,Ay=Yu,Ry=ti,Fy=Db,jy=dy,Py=pa,$y=ec,Ky=by,zy=Hu,Hy={Editor:Dy,EditorBlock:Oy,EditorState:Ty,CompositeDecorator:Cy,Entity:My,EntityInstance:Ny,BlockMapBuilder:wy,CharacterMetadata:xy,ContentBlock:_y,ContentState:Sy,RawDraftContentState:By,SelectionState:Ry,AtomicBlockUtils:yy,KeyBindingUtil:Iy,Modifier:Ly,RichUtils:Ay,DefaultDraftBlockRenderMap:Ey,DefaultDraftInlineStyle:ky,convertFromHTML:zy,convertFromRaw:jy,convertToRaw:Fy,genKey:Py,getDefaultKeyBinding:$y,getVisibleSelectionRect:Ky},sl=Hy;const Vy=cl(sl),Uy=xc({__proto__:null,default:Vy},[sl]),W0=ee.forwardRef(({questionKey:e,useFormContext:t,validation:n,label:a,disabled:r,labelClassName:i,divider:s,userGuide:u,educationalContent:c,archive:d,labelMore:g,dividerClassName:S,containerClassName:p,wrapperClassName:m,editorClassName:x,toolbarClassName:_},b)=>{const O=["rgb(97,189,109)","rgb(26,188,156)","rgb(84,172,210)","rgb(44,130,201)","rgb(147,101,184)","rgb(71,85,119)","rgb(204,204,204)","rgb(65,168,95)","rgb(0,168,133)","rgb(61,142,185)","rgb(41,105,176)","rgb(85,57,130)","rgb(40,50,78)","rgb(0,0,0)","rgb(247,218,100)","rgb(251,160,38)","rgb(235,107,86)","rgb(226,80,65)","rgb(163,143,132)","rgb(239,239,239)","rgb(255,255,255)","rgb(250,197,28)","rgb(243,121,52)","rgb(209,72,65)","rgb(184,49,47)","rgb(124,112,107)","rgb(209,213,216)"],{watch:C,setValue:D,register:N,formState:{errors:B}}=t(),[G,re]=ee.useState(null),[fe,z]=ee.useState(!0),j=ee.useRef(null),Y=Ce=>{if(!G)return;const he=G.getCurrentContent(),T=G.getSelection(),W=Ce,ge=Modifier.insertText(he,T,W),je=sl.EditorState.push(G,ge,"insert-characters");re(je);const ue=window.stateToHTML(ge);D(e,ue,{shouldValidate:!0})},le=()=>{re(sl.EditorState.createEmpty()),D(e,"",{shouldValidate:!0})};ee.useEffect(()=>{N(e,n),(async()=>{try{const[{Editor:he},{EditorState:T,convertToRaw:W,Modifier:ge,ContentState:je,convertFromRaw:ue},ke,{stateToHTML:Ve}]=await Promise.all([Promise.resolve().then(()=>require("./react-draft-wysiwyg-Ds-5Pf4X.cjs")).then(ot=>ot.reactDraftWysiwyg),Promise.resolve().then(()=>Uy),Promise.resolve().then(()=>require("./html-to-draftjs-C6fetMmI.cjs")).then(ot=>ot.htmlToDraftjs),Promise.resolve().then(()=>require("./main-CJ_tUOnX.cjs"))]);j.current=he;const it=ke.default;re((()=>{const ot=C(e);if(!ot)return T.createEmpty();try{if(typeof ot=="string"){const yt=JSON.parse(ot);if(yt.blocks)return T.createWithContent(ue(yt))}}catch{console.warn("Text editor error")}const Dt=it(ot);if(Dt){const yt=je.createFromBlockArray(Dt.contentBlocks,Dt.entityMap);return T.createWithContent(yt)}return T.createEmpty()})()),z(!1),window.stateToHTML=Ve,window.convertToRaw=W,window.Modifier=ge,window.EditorState=T}catch(he){console.error("Failed to load editor libraries:",he)}})()},[]),ee.useImperativeHandle(b,()=>({appendText:Y,clear:le}));const X=Ce=>{re(Ce);const he=Ce.getCurrentContent(),T=window.stateToHTML(he,{inlineStyleFn:W=>{const ge=W.find(ke=>ke.startsWith("color-rgb")),je=W.find(ke=>ke.startsWith("fontsize-")),ue={};return ge&&(ue.color=ge.replace("color-","")),je&&(ue.fontSize=je.replace("fontsize-","")+"px"),Object.keys(ue).length?{style:ue}:null},blockStyleFn:W=>{const ge=W.getData()?.get("text-align");if(ge)return{style:{textAlign:ge}}}});D(e,T,{shouldValidate:!0})},se=O.reduce((Ce,he)=>(Ce[`COLOR_${he}`]={color:he.startsWith("#")?he:`rgb(${he})`},Ce),{}),we=B?.[e]?B?.[e]?.message:null,be={center:"label-center",right:"label-right",left:"label-left"};if(fe)return w.jsx("div",{className:"text-center py-4",children:"Loading editor..."});const ce=j.current,Ee=()=>w.jsx("div",{className:"rdw-link-wrapper","aria-label":"rdw-link-control",onClick:()=>D5("",C(e)),children:w.jsx("div",{className:"rdw-option-wrapper",title:"print",children:w.jsx(k5,{className:"xs:text-sm lg:text-xl"})})});return w.jsxs("div",{className:oe("w-full flex flex-col relative bg-formItem p-2 rounded",p,we?"field-error":""),style:{boxShadow:"0px 2px 4px rgba(0, 0, 0, 0.15)"},children:[a&&w.jsx($r,{className:oe(i,be[s]),userGuide:u,educationalContent:c,archive:d?{...d,questionKey:e}:!1,label:a,required:n?n.required:null,more:g,disabled:r}),s&&w.jsx(ta,{className:oe(S),position:s}),w.jsx(ce,{toolbar:{options:["inline","blockType","fontSize","list","textAlign","colorPicker","link","emoji","image","remove","history"],textAlign:{inDropdown:!1,options:["left","center","right","justify"]}},editorState:G,toolbarClassName:_i.toolbar+" "+_,wrapperClassName:_i.wrapper+" "+m,editorClassName:_i.editor+" "+x+" prose min-w-full",onEditorStateChange:X,readOnly:r,toolbarCustomButtons:[w.jsx(Ee,{})],customStyleMap:se}),we&&w.jsxs("span",{className:"error",children:[w.jsx(vn,{className:"text-xs lg:text-base"}),we]})]})});function Yy(e){return nr({attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{d:"M5.22 8.22a.749.749 0 0 0 0 1.06l6.25 6.25a.749.749 0 0 0 1.06 0l6.25-6.25a.749.749 0 1 0-1.06-1.06L12 13.939 6.28 8.22a.749.749 0 0 0-1.06 0Z"},child:[]}]})(e)}function Ks(e){return nr({attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{d:"M15.28 5.22a.75.75 0 0 1 0 1.06L9.56 12l5.72 5.72a.749.749 0 0 1-.326 1.275.749.749 0 0 1-.734-.215l-6.25-6.25a.75.75 0 0 1 0-1.06l6.25-6.25a.75.75 0 0 1 1.06 0Z"},child:[]}]})(e)}const Wy="_list_kenye_1",qy="_innertab_kenye_29",Zy="_dropdown_kenye_101",Gy="_arrow_kenye_145",ka={list:Wy,innertab:qy,"tab-inactive":"_tab-inactive_kenye_67","tab-active":"_tab-active_kenye_59",dropdown:Zy,"dropdown-gradient":"_dropdown-gradient_kenye_109","dropdown-default":"_dropdown-default_kenye_117",arrow:Gy},sc=ee.forwardRef(({active:e,tabs:t,onChange:n,containerClassName:a,en:r=!1},i)=>{const[s,u]=ee.useState([]);return w.jsxs("div",{className:oe("flex w-full",a),children:[w.jsx(er,{onClick:()=>i.current.scrollTo({left:i.current.scrollLeft+=window.innerWidth*.4,behavior:"smooth"}),className:oe(ka.arrow,"!rounded-l-none"),icon:w.jsx(Ks,{color:"black",className:"rotate-180 mx-auto lg:text-xl"})}),w.jsx("div",{className:oe(ka.list,r?"flex-row-reverse":""),ref:i,children:w.jsx(uc,{tabs:t,active:e,deep:0,setSelectedTabs:u,selectedTabs:s,en:r,onChange:n})}),w.jsx(er,{onClick:()=>i.current.scrollTo({left:i.current.scrollLeft-=window.innerWidth*.4,behavior:"smooth"}),icon:w.jsx(Ks,{color:"black",className:"mx-auto lg:text-xl"}),className:oe(ka.arrow,"!rounded-r-none")})]})}),uc=({tabs:e,active:t,deep:n,onChange:a,en:r,setSelectedTabs:i,selectedTabs:s})=>{const[u,c]=ee.useState(null),[d,g]=ee.useState({top:0,left:0}),S=(p,m)=>{if(p.stopPropagation(),u===m.title)c(null);else{const x=p.currentTarget.getBoundingClientRect();g({top:x.bottom+window.scrollY,left:x.left+window.scrollX}),c(m.title)}};return e.map(p=>p.tabs?w.jsxs("div",{className:oe("flex gap-1 h-full",r?"flex-row-reverse":""),children:[w.jsxs("div",{className:oe(ka.dropdown,u==p.title?"!bg-success":p.tabs.some(m=>s.includes(m.title))?ka["dropdown-gradient"]:ka["dropdown-default"],"flex justify-between items-center px-2 rounded cursor-pointer",r?"flex-row-reverse":"flex-row",n>0?"!py-1 !my-auto":"py-2"),onClick:m=>S(m,p),children:[w.jsx("span",{className:oe(u==p.title?"!text-white":"","text-2xs lg:text-xs xl:text-sm font-600 select-none"),children:p.title}),w.jsx(Yy,{color:u==p.title?"white":"black",className:oe("transition-transform duration-300",u==p.title?"rotate-180":"rotate-0")}),u==p.title?w.jsxs(ee.Fragment,{children:[nl.createPortal(w.jsx("div",{className:"absolute min-w-[28vw] md:min-w-[20vw] lg:min-w-[15vw] xl:min-w-[12vw] z-[1000]",style:{top:d.top+4,left:d.left},onClick:m=>m.stopPropagation(),children:p.tabs.map(m=>w.jsx(er,{className:oe("px-4 py-2 w-full text-left select-none",ka.innertab),onClick:()=>{if(c(null),n!=0){const x=s;s[n]=m.title,i(x)}else i([m.title]);a(m)},title:m.title},m.title))}),document.body),nl.createPortal(w.jsx("div",{onClick:()=>c(!1),className:"fixed top-0 left-0 h-full w-full z-[999]"}),document.body)]}):null]}),p.tabs.some(m=>s.includes(m.title))?w.jsx(uc,{tabs:[p.tabs.find(m=>s.includes(m.title))],active:t,onChange:a,setSelectedTabs:i,selectedTabs:s,deep:n+1,en:r}):null]},p.title):w.jsx(er,{className:oe("!select-none",n>0?"!my-auto":"!py-2",t?.title==p.title?ka["tab-active"]:ka["tab-inactive"]),onClick:()=>{if(n!=0){const m=s;s[n-1]=p.title,i(m)}else i([p.title]);a(p)},title:p.title},p.title))};sc.displayName="Tab";const Jy=({title:e,containerClassName:t,message:n="فایل پرونده خالی است.",description:a="برای نمایش اطلاعات کافیست دکمه جستجو را انتخاب کنید"})=>w.jsx("section",{className:oe("mx-auto my-12 border-[0.5px] px-3 shadow-md w-[70vw] min-w-[270px] rounded-lg md:min-w-[500px] lg:w-[45%]",t),children:w.jsxs(Ja,{title:e,className:"pt-3 mb-3 mt-1 flex w-full flex-col items-center gap-2 md:gap-4 shadow-primary",gradientBorder:!1,children:[w.jsx("strong",{className:"text-xs md:text-sm xl:text-base font-700 mt-4",children:n}),w.jsx("p",{className:"text-2xs md:text-xs xl:text-sm font-400 text-center",children:a})]})}),Xy=({BC:e,useFormContext:t,unmount:n,request:a,...r})=>{const{register:i,watch:s,control:u,setValue:c,formState:{errors:d}}=t();ee.useEffect(()=>()=>{n&&c(r.questionKey,null)},[]);const g={containerClassName:`${r.containerClassName} max-h-fit`,label:r.label,questionKey:r.questionKey,userGuide:r.userGuide,disabled:r.disabled,archive:r.archive?{userID:s("6483"),BC:e,jobID:164,request:a,renderCell:r.renderCell}:null,en:r.en};return{RadioOptions:w.jsx(w0,{...g,register:i,divider:r.divider||"center",optionsContainer:r.optionsContainer,radioClassName:r.radioClassName,labelClassName:"!text-center",active:s(r.questionKey),errors:d,options:r.options,labelMore:r.labelMore,validation:r.validation,archive:r.archive?{userID:s("6483"),BC:e,jobID:164,request:a,renderCell:p=>r.options.find(m=>m.value==p)?.label}:null}),TextEditor:w.jsx(W0,{...g,useFormContext:t,validation:r.validation,divider:r.divider,labelMore:r.labelMore,archive:r.archive?{userID:s("6483"),BC:e,jobID:164,request:a}:null}),TextField:w.jsx(Oa,{...g,labelClassName:r.labelClassName,divider:r.rows?"":"center",errors:d,watch:s,register:i,rows:r.rows,placeholder:r.placeholder,educationalContent:r.educationalContent,labelMore:r.labelMore,validation:r.validation,archive:r.archive?{userID:s("6483"),BC:e,jobID:164,request:a,renderCell:p=>p}:null}),"progress-chart":w.jsx(_0,{...g,divider:r.rows?"":"center",value:s(r.questionKey),ranges:r.ranges,educationalContent:r.educationalContent,required:r.validation,archive:r.archive?{userID:s("6483"),BC:e,jobID:164,request:a}:null}),Select:w.jsx(Xl,{...g,options:r.options,control:u,errors:d,search:r.search,divider:r.divider||"center",educationalContent:r.educationalContent,labelMore:r.labelMore,value:r.value,onChange:r.onChange,validation:r.validation,register:i,archive:r.archive?{userID:s("6483"),BC:e,jobID:164,request:a,renderCell:p=>r.options.find(m=>m.value==p)?.label}:null}),CheckBoxGroup:w.jsx(x0,{...g,watch:s,options:r.options,setValue:c,register:i,errors:d,divider:r.divider||"center",educationalContent:r.educationalContent,labelMore:r.labelMore,checkBoxClassName:r.checkBoxClassName,optionsContainer:r.optionsContainer,validation:r.validation,archive:r.archive?{userID:s("6483"),BC:e,jobID:164,request:a,renderCell:p=>p.map(m=>r.options.find(x=>x.value==m)?.label).join(" , ")}:null}),DateInput:w.jsx(il,{...g,control:u,watch:s,errors:d,validation:r.validation,id:r.id,divider:r.divider||"center",educationalContent:r.educationalContent,labelMore:r.labelMore,archive:r.archive?{userID:s("6483"),BC:e,jobID:164,request:a,renderCell:p=>p}:null}),FileField:w.jsx(C0,{...g,value:r.value,watch:s,setValue:c,errors:d,labelClassName:r.labelClassName,accept:r.accept,baseURL:r.baseURL,divider:r.divider||"center",educationalContent:r.educationalContent,labelMore:r.labelMore,validation:r.validation,register:i,archive:r.archive?{userID:s("6483"),BC:e,jobID:164,request:a}:null})}[r.component]||null};function cc(){const[e,t]=ee.useState("mobile"),n=()=>{const a=window.innerWidth;a<672?t("mobile"):a>=672&&a<952?t("tablet"):t("desktop")};return ee.useEffect(()=>{n(),window.addEventListener("resize",()=>{n()})},[]),[e]}const Qy="_normalContainer_mxyav_1",ew="_vipContainer_mxyav_9",tw="_fieldset_mxyav_39",rw="_radio_mxyav_59",aw="_table_mxyav_79",nw="_modal_mxyav_145",Nn={normalContainer:Qy,vipContainer:ew,fieldset:tw,radio:rw,table:aw,modal:nw};function lw(e){return nr({attr:{viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true"},child:[{tag:"path",attr:{fillRule:"evenodd",d:"M1 6a3 3 0 0 1 3-3h12a3 3 0 0 1 3 3v8a3 3 0 0 1-3 3H4a3 3 0 0 1-3-3V6Zm4 1.5a2 2 0 1 1 4 0 2 2 0 0 1-4 0Zm2 3a4 4 0 0 0-3.665 2.395.75.75 0 0 0 .416 1A8.98 8.98 0 0 0 7 14.5a8.98 8.98 0 0 0 3.249-.604.75.75 0 0 0 .416-1.001A4.001 4.001 0 0 0 7 10.5Zm5-3.75a.75.75 0 0 1 .75-.75h2.5a.75.75 0 0 1 0 1.5h-2.5a.75.75 0 0 1-.75-.75Zm0 6.5a.75.75 0 0 1 .75-.75h2.5a.75.75 0 0 1 0 1.5h-2.5a.75.75 0 0 1-.75-.75Zm.75-4a.75.75 0 0 0 0 1.5h2.5a.75.75 0 0 0 0-1.5h-2.5Z",clipRule:"evenodd"},child:[]}]})(e)}const iw=["ردیف","نام و نام خانوادگی","کدملی","جنسیت","تاریخ تولد"," خدمات","وضعیت خدمت","تاریخ پذیرش","نام پکیج"],ow=[{label:"RF Id",icon:yf,placeholder:"در این قسمت وارد کنید",qKey:"6365"},{label:"نام خانوادگی",icon:hf,placeholder:"",qKey:"4942"},{label:"کد ملی",icon:lw,placeholder:"در این قسمت وارد کنید",qKey:"6620"}],sw=[{label:"دریافت شده",value:"1585472544360"},{label:"دریافت نشده",value:"1585472556811"}];function fc(e){return nr({attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",strokeWidth:"2",d:"M20,8 C18.5974037,5.04031171 15.536972,3 12,3 C7.02943725,3 3,7.02943725 3,12 C3,16.9705627 7.02943725,21 12,21 L12,21 C16.9705627,21 21,16.9705627 21,12 M21,3 L21,9 L15,9"},child:[]}]})(e)}const uw="data:image/svg+xml,%3csvg%20width='25'%20height='14'%20viewBox='0%200%2025%2014'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cmask%20id='mask0_294_10326'%20style='mask-type:luminance'%20maskUnits='userSpaceOnUse'%20x='0'%20y='0'%20width='25'%20height='14'%3e%3cpath%20d='M9.2603%200L7.4514%2014H2.05389L0%200H3.74808C4.18372%203.85652%204.49426%207.11894%204.68051%209.7885C4.86435%207.09069%205.05939%204.69628%205.26562%202.60322L5.51221%200.00040984H9.2603V0ZM14.6782%200V14H11.1243V0H14.6782ZM17.344%200H20.923C21.8914%200%2022.6348%200.0777934%2023.1559%200.23379C23.6763%200.388968%2024.0672%200.613752%2024.329%200.90773C24.5903%201.20171%2024.7682%201.55833%2024.8609%201.97596C24.9536%202.39441%2025%203.04132%2025%203.91753V5.13602C25%206.02942%2024.9101%206.68166%2024.7298%207.09028C24.5496%207.49972%2024.2198%207.81417%2023.7386%208.03281C23.2567%208.25227%2022.628%208.3616%2021.8522%208.3616H20.8978V13.9996H17.344V0ZM20.8978%202.39523V5.95777C20.9993%205.96391%2021.0869%205.96678%2021.1592%205.96678C21.4853%205.96678%2021.7119%205.88448%2021.8386%205.72029C21.9653%205.55529%2022.0285%205.21423%2022.0285%204.69506V3.54535C22.0285%203.06671%2021.9557%202.75513%2021.8091%202.611C21.6632%202.4677%2021.3594%202.39482%2020.8978%202.39482V2.39523Z'%20fill='white'/%3e%3c/mask%3e%3cg%20mask='url(%23mask0_294_10326)'%3e%3cpath%20d='M26.9533%206.81544C26.9533%2015.0804%2020.4123%2021.7821%2012.3438%2021.7821C4.27533%2021.7821%20-2.26562%2015.0804%20-2.26562%206.81544C-2.26562%20-1.44952%204.27493%20-8.15125%2012.3438%20-8.15125C20.4127%20-8.15125%2026.9533%20-1.45075%2026.9533%206.81544Z'%20fill='url(%23paint0_linear_294_10326)'/%3e%3cpath%20d='M26.9533%206.81544C26.9533%2015.0804%2020.4123%2021.7821%2012.3438%2021.7821C4.27533%2021.7821%20-2.26562%2015.0804%20-2.26562%206.81544C-2.26562%20-1.44952%204.27493%20-8.15125%2012.3438%20-8.15125C20.4127%20-8.15125%2026.9533%20-1.45075%2026.9533%206.81544Z'%20fill='url(%23paint1_linear_294_10326)'/%3e%3cg%20style='mix-blend-mode:overlay'%20opacity='0.2'%3e%3cpath%20d='M-5.84473%203.90303L27.0531%20-2.8728C27.0531%20-2.8728%20-2.59543%2021.319%20-2.76929%2020.6066C-2.94354%2019.8933%20-5.84473%203.90303%20-5.84473%203.90303Z'%20fill='white'/%3e%3c/g%3e%3cg%20style='mix-blend-mode:overlay'%20opacity='0.2'%3e%3cpath%20d='M7.32604%20-8.7572C7.44234%20-7.50882%206.57227%2023.5775%206.57227%2023.5775L20.3816%2021.8534L7.32604%20-8.7572Z'%20fill='white'/%3e%3c/g%3e%3cg%20style='mix-blend-mode:overlay'%20opacity='0.2'%3e%3cpath%20d='M1.23406%20-4.83394C1.75643%20-4.06174%2029.142%208.42129%2029.142%208.42129L28.3303%2012.9984L-2.4209%20-1.44623L1.23446%20-4.83435L1.23406%20-4.83394Z'%20fill='white'/%3e%3c/g%3e%3cg%20style='mix-blend-mode:overlay'%20opacity='0.2'%3e%3cpath%20d='M16.8983%20-8.92549C16.724%20-7.91459%2011.0967%2023.4596%2011.0967%2023.4596L21.4249%2020.4273L22.0624%20-6.02338L16.8983%20-8.9259V-8.92549Z'%20fill='%23231F20'/%3e%3c/g%3e%3cg%20style='mix-blend-mode:overlay'%3e%3cpath%20d='M-2.94422%205.56848L29.2574%204.79504L27.7487%208.12379L-3.23438%209.37218L-2.94422%205.56848Z'%20fill='%23231F20'/%3e%3c/g%3e%3cg%20style='mix-blend-mode:overlay'%3e%3cpath%20d='M0.363281%2018.7045L5.75919%20-8.51961L10.1691%20-9.58948L0.363281%2018.7045Z'%20fill='%23231F20'/%3e%3c/g%3e%3cg%20style='mix-blend-mode:overlay'%20opacity='0.2'%3e%3cpath%20d='M17.4903%20-10.2615L18.7645%2024.0902C18.7645%2024.0902%200.189508%20-9.75786%200.904913%20-9.81969C1.61952%20-9.88233%2017.4903%20-10.2615%2017.4903%20-10.2615Z'%20fill='white'/%3e%3c/g%3e%3cg%20style='mix-blend-mode:overlay'%20opacity='0.2'%3e%3cpath%20d='M27.5859%205.08063C26.3641%204.99834%20-3.45232%20-0.847656%20-3.45232%20-0.847656L-3.99707%2013.3923L27.5863%205.08063H27.5859Z'%20fill='white'/%3e%3c/g%3e%3cg%20style='mix-blend-mode:overlay'%20opacity='0.2'%3e%3cpath%20d='M24.7771%20-1.70707C23.9498%20-1.30295%207.54704%2024.3985%207.54704%2024.3985L3.2666%2022.8454L22.0965%20-5.94519L24.7775%20-1.70707H24.7771Z'%20fill='white'/%3e%3c/g%3e%3cg%20style='mix-blend-mode:overlay'%20opacity='0.2'%3e%3cpath%20d='M26.2169%2014.7893C25.2713%2014.4515%20-4.06152%203.74829%20-4.06152%203.74829L-2.79058%2014.6767L22.5955%2019.5478L26.2165%2014.7897L26.2169%2014.7893Z'%20fill='%23231F20'/%3e%3c/g%3e%3cg%20style='mix-blend-mode:overlay'%3e%3cpath%20d='M15.6088%20-8.7677L11.0238%2025.0951L8.06543%2022.9832L11.991%20-9.67993L15.6088%20-8.7677Z'%20fill='%23231F20'/%3e%3c/g%3e%3cg%20style='mix-blend-mode:overlay'%3e%3cpath%20d='M0.280273%20-0.807007L25.6512%208.99909L25.9781%2013.629L0.280273%20-0.807007Z'%20fill='%23231F20'/%3e%3c/g%3e%3c/g%3e%3cdefs%3e%3clinearGradient%20id='paint0_linear_294_10326'%20x1='9.01579'%20y1='-7.44537'%20x2='16.0471'%20y2='21.2635'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%23793700'/%3e%3cstop%20offset='0.04'%20stop-color='%23803D00'/%3e%3cstop%20offset='0.1'%20stop-color='%23965100'/%3e%3cstop%20offset='0.18'%20stop-color='%23BA7000'/%3e%3cstop%20offset='0.27'%20stop-color='%23EB9B00'/%3e%3cstop%20offset='0.28'%20stop-color='%23F3A200'/%3e%3cstop%20offset='0.5'%20stop-color='%23FFF78E'/%3e%3cstop%20offset='0.76'%20stop-color='%23F3A200'/%3e%3cstop%20offset='1'%20stop-color='%23793700'/%3e%3c/linearGradient%3e%3clinearGradient%20id='paint1_linear_294_10326'%20x1='9.01579'%20y1='-7.44537'%20x2='16.0471'%20y2='21.2635'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%23793700'/%3e%3cstop%20offset='0.04'%20stop-color='%23803D00'/%3e%3cstop%20offset='0.1'%20stop-color='%23965100'/%3e%3cstop%20offset='0.18'%20stop-color='%23BA7000'/%3e%3cstop%20offset='0.27'%20stop-color='%23EB9B00'/%3e%3cstop%20offset='0.28'%20stop-color='%23F3A200'/%3e%3cstop%20offset='0.5'%20stop-color='%23FFF78E'/%3e%3cstop%20offset='0.76'%20stop-color='%23F3A200'/%3e%3cstop%20offset='1'%20stop-color='%23793700'/%3e%3c/linearGradient%3e%3c/defs%3e%3c/svg%3e",cw=({title:e="مشخصات فردی",tableColumns:t=iw,request:n=()=>{},vip:a,user:r,setUser:i,users:s=[],setUsers:u,JID:c,toast:d=()=>{},colFilter:g=6})=>{const[S,p]=ee.useState({6365:null,4942:null,6620:null,1585472454126:null}),[m]=cc(),[x,_]=ee.useState(!1),[b,O]=ee.useState(1),[C,D]=ee.useState(qa[0].value),[N,B]=ee.useState(0),[G,re]=ee.useState(!1),[fe,z]=ee.useState(!1),[j,Y]=ee.useState(null),le=ee.useMemo(()=>C*(b-1),[C,b]),X=ee.useMemo(()=>s.map((T,W)=>[(b-1)*C+W+1,T.nf,T[6620],T[4946],T[4944],w.jsx(r0,{data:T.services},"html"+W),T["1585472454126"],T.date?Ha(T.date).locale("fa").format("YYYY/MM/DD"):"",T.packagename]),[s,b,C]),se=ee.useMemo(()=>j?s.map((T,W)=>[(b-1)*C+W+1,T.nf,T[6620],T[4946],T[4944],w.jsx(r0,{data:T.services},"html"+W),T["1585472454126"],T.date?Ha(T.date).locale("fa").format("YYYY/MM/DD"):"",T.packagename]).filter(T=>T[g]==j):[[]],[s,g,j,b,C]);ee.useEffect(()=>{N&&ce()},[C,b]);const we=T=>{T.preventDefault(),B(N+1),ce()},be=(T,W)=>{if(W=="6365"){p(ge=>({...ge,6365:T||null}));return}else if(W=="6620"){p(ge=>({...ge,6620:T||null}));return}else W=="4942"?p(ge=>({...ge,4942:T||null})):p(ge=>ge[1585472454126]==T?{...ge,1585472454126:null}:{...ge,1585472454126:T})},ce=async()=>{const T={dataInfo:S};T.dataInfo[6365]?(T.dataInfo["1558737412305"]=T.dataInfo[6365],T.jobId=c.RFID):T.jobId=c.NID,T.dataInfo.offset=le,T.dataInfo.limit=C,re(!0),await n(T).then(W=>{W.error?d.error("خطای دریافت اطلاعات-"+W.error_code):W.data.length==0?(d.error("هیچ کاربری یافت نشد."),_(!1),i(null)):(u(W.data),_(!0))}).catch(W=>d.error(W.message)).finally(()=>re(!1))},Ee=async T=>{be(s[T][6620],"6620");const W={6483:s[T][6483]};z(!0),await n({jobId:c.ID,dataInfo:W}).then(ge=>{if(ge.error)d.error("خطای دریافت اطلاعات-"+ge.error_code);else{const je=ge?.data;i({...je,6483:s[T][6483],tarikh_paziresh:s[T].date}),be(je&&je?.["4942"]||"","4942"),_(!1)}}).catch(ge=>d.error(ge.message)).finally(()=>z(!1))},Ce=(S[6365]||S[6620]||S[4942]||S[1585472454126])&&r,he=X?.length?[...new Set(X?.map(T=>T[g]))]:[];return w.jsxs(ee.Fragment,{children:[w.jsx(y0,{isOpen:x,onClose:()=>{B(0),O(1),_(!1)},containerClassName:oe(Nn.modal,fe?"backdrop-blur-sm":""),children:w.jsx(Za,{columns:t,rows:j?se:X,colors:[{color:"#f7f7f7",value:"انجام نشده"},{color:"#fff",value:"انجام شده"}],colFilter:g,page:b,setPage:O,setTableSize:D,tableSize:C,onSelect:T=>Ee(T),pagination:!0,selectable:!0,containerClassName:G?"blur-sm":"",className:Nn.table,children:he?.length>1?w.jsxs("div",{className:"flex items-center h-full pr-2 gap-4",children:[w.jsx("span",{className:"text-2xs lg:text-xs font-700",children:"نمایش بر اساس :"}),w.jsx("div",{className:"flex items-center gap-4",children:he.map(T=>w.jsx(Ga,{label:T,className:"!bg-transparent !border-none !gap-[1px] lg:!gap-1 !py-0 !px-0",name:"filter",value:T,checked:T==j,onClick:()=>{j==T?Y(null):Y(T)},onChange:W=>W},T))})]}):null})}),w.jsx("section",{className:oe("rounded-md bg-white px-1.5 pb-3 md:pb-4 md:pt-1 shadow-md md:px-4",a?Nn.vipContainer:Nn.normalContainer),children:w.jsx(Ja,{title:e,className:oe(Nn.fieldset,"!px-2 md:px-4 !pt-4 !pb-2 md:!pb-5 relative !border-none "),gradientBorder:!1,titleClassName:"!bg-transparent !translate-y-[35%] lg:!translate-y-[30%]",children:w.jsx("form",{className:"flex w-full items-end bg-background",onSubmit:we,children:w.jsxs("div",{className:"flex w-full flex-wrap items-end gap-x-2 md:gap-x-[1vw] lg:gap-x-2 xs:gap-x-[1.3vw] gap-y-3 md:gap-y-4 lg:flex",children:[a?w.jsx("img",{src:uw,loading:"lazy",className:"absolute left-2 top-0 md:left-4"}):null,ow.map(T=>w.jsx(Oa,{containerClassName:"flex flex-1 min-w-[46%] !rounded-[3px] md:min-w-[102px] md:max-w-[160px] lg:max-w-[232px] xl:max-w-[236px] md:ml-auto !p-0 !bg-transparent !gap-0.5 !shadow-none",className:"!border-[0.25px] !rounded-[3px] lg:!rounded w-full bg-[#f7f7f7]",inputClassName:"md:text-3xs md:placeholder:text-3xs lg:placeholder:text-xs lg:text-xs",name:T.qKey,placeholder:T.placeholder,label:T.label,showLockIcon:!1,icon:w.jsx(T.icon,{size:14,color:"green"}),value:S[T.qKey],onChange:W=>be(W.target.value,T.qKey),disabled:m!="desktop"&&T.label==="RF Id"||T.disabled,labelClassName:"!text-[9px] lg:!text-xs"},T.label)),w.jsxs("div",{className:"flex flex-col gap-0.5 flex-1 min-w-[46%] md:!min-w-[135px] md:max-w-[160px] lg:max-w-[215px] xl:max-w-[239px] md:ml-auto",children:[w.jsx($r,{label:"وضعیت خدمت",className:"!text-[9px] lg:!text-xs"}),w.jsx("div",{className:oe("flex justify-between gap-1.5 md:gap-2 px-1 lg:px-2 lg:py-[12.5px] md:h-[23px] md:py-[3px] xs:py-[5px] border-[0.25px] border-solid bg-[#f7f7f7] hover:bg-white xs:!rounded-[4px] md:!rounded border-black",S[1585472454126]?"bg-white":""),children:sw.map(T=>w.jsx(Ga,{label:T.label,className:oe(Nn.radio,"!bg-transparent !border-none !gap-0 md:!gap-[1px] lg:!gap-1 !py-0 !px-0"),name:1585472454126,value:T.value,checked:T.value==S[1585472454126],onClick:()=>be(T.value,1585472454126),onChange:W=>W},T.value))})]}),w.jsx("div",{className:"hidden md:block lg:hidden"}),w.jsxs("div",{className:"flex border-success w-[96px] lg:w-[115px] ml-auto md:ml-0 mt-2 md:mt-0 mr-auto md:mr-0 bg-[#f7f7f7] !rounded-[2px]",children:[Ce?w.jsx(er,{variant:"icon",icon:w.jsx(fc,{color:"black",className:"xs:text-xs md:text-sm lg:text-xl"}),className:"xs:!rounded-l-none xs:!rounded-r-[2px] md:!rounded-r xs:h-[22px] md:h-[21.6px] lg:h-[25.6px] w-[28px] !bg-transparent !border-[0.5px] border-success",onClick:()=>p({6365:null,4942:null,6620:null,1585472454126:null})}):null,w.jsx(er,{variant:"outlined",title:"جستجو",type:"submit",loading:G,className:oe(Ce?"!bg-success xs:!rounded-r-none xs:!rounded-l-[2px] md:!rounded-l !text-white":"!bg-transparent xs:!rounded-[2px] md:!rounded","xs:h-[22px] md:h-[21.6px] lg:h-[25.6px] w-full !border-success !text-[9px] lg:!text-xs hover:!bg-success hover:text-white")})]})]})})})})]})},fw=[{label:"نمایش به صورت : 5",value:5},{label:"نمایش به صورت : 10",value:10},{label:"نمایش به صورت : 20",value:20},{label:"نمایش به صورت : 30",value:30}],dw="_radio_mxyav_59",vw={radio:dw},pw=({options:e,formData:t})=>w.jsxs("div",{className:"flex flex-col mx-2",children:[w.jsx($r,{label:"وضعیت QC",className:"!text-[9px] lg:!text-xs"}),w.jsx("div",{className:oe("flex justify-between gap-1.5 md:gap-2 px-1 lg:px-2 xs:py-[3px] border-[0.25px] border-solid bg-[#f7f7f7] hover:bg-white xs:!rounded-[4px] md:!rounded border-black"),children:e.map(n=>w.jsx(Ga,{label:n.label,className:oe(vw.radio,"!bg-transparent !border-none !gap-0 md:!gap-[1px] lg:!gap-5 !py-0 !px-0"),name:1586688732636,value:n.value,onClick:()=>handleOnChange(n.value,1586688732636),onChange:a=>a},n.value))})]}),hw=({BC:e,useFormContext:t,unmount:n,request:a,...r})=>{const{register:i,watch:s,control:u,setValue:c,formState:{errors:d}}=t();ee.useEffect(()=>()=>{n&&c(r.questionKey,null)},[]);const g={containerClassName:`${r.containerClassName} max-h-fit`,label:r.label,questionKey:r.questionKey,userGuide:r.userGuide,disabled:r.disabled,archive:r.archive?{userID:s("6483"),BC:e,jobID:164,request:a,renderCell:r.renderCell}:null,en:r.en};return{RadioOptions:w.jsx(w0,{...g,register:i,divider:r.divider,optionsContainer:r.optionsContainer,radioClassName:r.radioClassName,labelClassName:"!text-center",active:s(r.questionKey),errors:d,options:r.options,labelMore:r.labelMore,validation:r.validation,archive:r.archive?{userID:s("6483"),BC:e,jobID:164,request:a,renderCell:p=>r.options.find(m=>m.value==p)?.label}:null}),TextEditor:w.jsx(W0,{...g,useFormContext:t,validation:r.validation,divider:r.divider,labelMore:r.labelMore,archive:r.archive?{userID:s("6483"),BC:e,jobID:164,request:a}:null}),TextField:w.jsx(Oa,{...g,labelClassName:r.labelClassName,divider:(r.rows,""),errors:d,watch:s,register:i,rows:r.rows,placeholder:r.placeholder,educationalContent:r.educationalContent,labelMore:r.labelMore,validation:r.validation,archive:r.archive?{userID:s("6483"),BC:e,jobID:164,request:a,renderCell:p=>p}:null}),"progress-chart":w.jsx(_0,{...g,divider:(r.rows,""),value:s(r.questionKey),ranges:r.ranges,educationalContent:r.educationalContent,required:r.validation,archive:r.archive?{userID:s("6483"),BC:e,jobID:164,request:a}:null}),Select:w.jsx(Xl,{...g,options:r.options,control:u,errors:d,search:r.search,divider:r.divider,educationalContent:r.educationalContent,labelMore:r.labelMore,value:r.value,onChange:r.onChange,validation:r.validation,register:i,archive:r.archive?{userID:s("6483"),BC:e,jobID:164,request:a,renderCell:p=>r.options.find(m=>m.value==p)?.label}:null}),CheckBoxGroup:w.jsx(x0,{...g,watch:s,options:r.options,setValue:c,register:i,errors:d,divider:r.divider,educationalContent:r.educationalContent,labelMore:r.labelMore,checkBoxClassName:r.checkBoxClassName,optionsContainer:r.optionsContainer,validation:r.validation,archive:r.archive?{userID:s("6483"),BC:e,jobID:164,request:a,renderCell:p=>p.map(m=>r.options.find(x=>x.value==m)?.label).join(" , ")}:null}),DateInput:w.jsx(il,{...g,control:u,watch:s,errors:d,validation:r.validation,id:r.id,divider:r.divider,educationalContent:r.educationalContent,labelMore:r.labelMore,archive:r.archive?{userID:s("6483"),BC:e,jobID:164,request:a,renderCell:p=>p}:null}),FileField:w.jsx(C0,{...g,value:r.value,watch:s,setValue:c,errors:d,labelClassName:r.labelClassName,accept:r.accept,baseURL:r.baseURL,divider:r.divider,educationalContent:r.educationalContent,labelMore:r.labelMore,validation:r.validation,register:i,archive:r.archive?{userID:s("6483"),BC:e,jobID:164,request:a}:null}),HeaderRadioOption:w.jsx(pw,{...g,options:r.options,formData:r.formData})}[r.component]||null},gw=({title:e="جست و جو",headerItems:t,useFormContext:n,tableColumns:a,request:r=()=>{},user:i,setUser:s,users:u=[],setUsers:c,JID:d,toast:g=()=>{},colFilter:S=6})=>{const p=T=>T.reduce((W,ge)=>(ge.id&&(W[ge.id]=null),ge.questionKey&&(W[ge.questionKey]=null),W),{}),m=ee.useMemo(()=>["ردیف",...a.map(T=>T.label)],[]),[x,_]=ee.useState(p(t)),[b,O]=ee.useState(1),[C,D]=ee.useState(fw[0].value),[N,B]=ee.useState(0),[G,re]=ee.useState(!1),[fe,z]=ee.useState(!1),[j,Y]=ee.useState(null),le=ee.useMemo(()=>C*(b-1),[C,b]),X=ee.useMemo(()=>u.map((T,W)=>{const ge=(b-1)*C+W+1,je=a.map(ue=>{const ke=T[ue.key];return ue.format?ue.format(ke):ke});return[ge,...je]}),[u,b,C]),se=ee.useMemo(()=>j?u.map((T,W)=>{const ge=(b-1)*C+W+1,je=a.map(ue=>{const ke=T[ue.key];return ue.format?ue.format(ke):ke});return[ge,...je]}).filter(T=>T[S]==j):[[]],[u,a,b,C,j,S]);ee.useEffect(()=>{N&&ce()},[C,b]);const we=T=>{T.preventDefault(),B(N+1),ce()},be=(T,W)=>{W in x&&_(ge=>({...ge,[W]:T||null}))},ce=async()=>{const T={dataInfo:x};T.jobId=d.NID,T.dataInfo.offset=le,T.dataInfo.limit=C,re(!0),await r(T).then(W=>{W.error?g.error("خطای دریافت اطلاعات-"+W.error_code):W.data.length==0?(g.error("هیچ کاربری یافت نشد."),s(null)):c(W.data)}).catch(W=>g.error(W.message)).finally(()=>re(!1))},Ee=T=>{const W={...x};t.forEach(ge=>{const je=ge.questionKey;je&&je in T&&(W[je]=T[je])}),_(W)},Ce=async T=>{be(u[T][6620],"6620");const W=u[T];Ee(W);const ge={1545718677214:u[T]["1545718677214"]};z(!0),await r({jobId:d.ID,dataInfo:ge}).then(je=>{if(je.error)g.error("خطای دریافت اطلاعات-"+je.error_code);else{const ue=je?.data;s({...ue,1545718677214:u[T]["1545718677214"]}),ue?(Ee(ue||{}),be(ue?.["4942"]||"","4942")):be("","4942")}}).catch(je=>g.error(je.message)).finally(()=>z(!1))},he=Object.keys(x).some(T=>x[T])&&i;return w.jsx(ee.Fragment,{children:w.jsxs("section",{className:oe("rounded-md bg-transparent"),children:[w.jsx(Ja,{title:e,className:oe("relative !border-none !bg-[#EEFEFF] !px-[8px] !shadow-md lg:!mb-8 !mb-4"),titleClassName:"!bg-transparent !text-black !px-[8px] !text-[14px] !font-700 !translate-y-[35%] lg:!translate-y-[30%] !mr-0",gradientBorder:!1,children:w.jsxs("form",{className:"flex flex-col gap-4 lg:gap-8",onSubmit:we,children:[w.jsx("div",{className:oe(t?.length=="8"?"grid md:grid-cols-4 grid-cols-2 lg:gap-8 gap-4 justify-center items-center":t?.length=="6"?"grid md:grid-cols-3 grid-cols-2 lg:gap-8 gap-4 justify-center items-center":""),children:t?.map(T=>w.jsx(hw,{component:T.component,options:T.options,label:T.label,id:T.id,questionKey:T.questionKey,BC:"",request:r,useFormContext:n,containerClassName:T.containerClassName,className:T.className,value:x[T.questionKey],onChange:W=>be(W.target.value,T.questionKey),labelClassName:T.labelClassName,...T.props},T.questionKey))}),w.jsxs("div",{className:"border-success ml-auto md:ml-0 mt-2 md:mt-0 mr-auto md:mr-0 !rounded-[2px] mx-auto w-1/3 self-center flex",children:[he?w.jsx(er,{variant:"icon",icon:w.jsx(fc,{color:"black",className:"xs:text-xs md:text-sm lg:text-xl"}),className:" xs:!rounded-l-none xs:!rounded-r-[2px] md:!rounded-r xs:h-[22px] md:h-[21.6px] lg:h-[25.6px] !bg-transparent !border-[0.5px] border-success ",onClick:()=>_(p(t))}):null,w.jsx(er,{variant:"outlined",title:"نمایش اطلاعات",type:"submit",loading:G,className:oe(he?"!bg-success xs:!rounded-r-none xs:!rounded-l-[2px] md:!rounded-l !text-white ":"!bg-transparent xs:!rounded-[2px] md:!rounded","xs:h-[22px] md:h-[21.6px] lg:h-[25.6px] !border-success !text-[9px] lg:!text-xs hover:!bg-success hover:text-white w-full")})]})]})}),u?.length?w.jsx(Za,{columns:m,rows:j?se:X,colFilter:S,page:b,setPage:O,setTableSize:D,tableSize:C,onSelect:T=>Ce(T),pagination:!0,selectable:!0,containerClassName:G?"blur-sm":""}):w.jsx(Za,{columns:m,rows:[[]],colFilter:S,page:b,setPage:O,setTableSize:D,tableSize:C,onSelect:T=>Ce(T),pagination:!0,selectable:!0,containerClassName:G?"blur-sm":""})]})})},dc="data:image/svg+xml,%3csvg%20width='24'%20height='18'%20viewBox='0%200%2024%2018'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20clip-path='url(%23clip0_813_2986)'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M23.9999%2018C22.9394%2012.3909%2019.2389%2011.9911%2018.7161%2011.9623H18.7141C18.6985%2011.9616%2018.6861%2011.9609%2018.6764%2011.9602H18.6738H18.6725H18.6712H18.6699H18.6647H18.664H18.6634H18.6627H18.6614H18.6575H18.6061C18.6152%2012.0014%2018.6204%2012.0432%2018.6204%2012.0857C18.6204%2012.5796%2017.9719%2012.9808%2017.1712%2012.9808C16.3704%2012.9808%2015.7219%2012.5802%2015.7219%2012.0857C15.7219%2012.0432%2015.7272%2012.0014%2015.7363%2011.9602C15.7024%2011.9602%2015.6692%2011.9609%2015.6354%2011.9623H15.6262C12.6451%2012.0391%2010.9042%2015.2339%2010.3456%2018H24.0006H23.9999Z'%20fill='%23EFADFF'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M17.1706%2018V12.9801C16.3704%2012.9801%2015.7213%2012.5796%2015.7213%2012.085C15.7213%2012.0425%2015.7265%2012.0007%2015.7357%2011.9595C15.7018%2011.9595%2015.6686%2011.9602%2015.6347%2011.9616H15.6256C12.6445%2012.0384%2010.9036%2015.2332%2010.345%2017.9993H17.1706V18Z'%20fill='%23EFADFF'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M17.1907%202.13238H17.1985H17.2044C19.1985%202.17627%2020.6321%202.6749%2021.0482%204.83402C21.166%205.44514%2021.2103%206.06653%2021.222%206.72497C21.1864%208.60188%2020.8346%2011.9766%2020.1649%2013.2919C20.0217%2013.5732%2019.6866%2013.6843%2019.4068%2013.5382C18.5887%2013.1111%2018.1014%2011.9943%2018.1836%2010.4691C18.3782%2010.3958%2019.3183%209.13718%2019.4043%208.87792C19.4062%208.87243%2019.4082%208.86695%2019.4095%208.86077V8.85872C19.4121%208.85323%2019.4134%208.84774%2019.4147%208.84225V8.84088C19.4166%208.8354%2019.4179%208.82922%2019.4193%208.82305V8.82099C19.4212%208.81482%2019.4225%208.80865%2019.4238%208.80247V8.8011C19.4251%208.79493%2019.4264%208.78876%2019.4271%208.78258V8.77984C19.4284%208.77367%2019.4297%208.76749%2019.4303%208.76132V8.75858C19.4316%208.75172%2019.4323%208.74555%2019.4336%208.73869V8.73732C19.4342%208.73046%2019.4349%208.7236%2019.4362%208.71743V8.714C19.4375%208.70782%2019.4375%208.70096%2019.4381%208.69411V8.69205C19.4388%208.68519%2019.4394%208.67765%2019.4401%208.67079V8.66941C19.4401%208.66256%2019.4407%208.6557%2019.4414%208.64884V8.64335C19.4414%208.63649%2019.442%208.63032%2019.442%208.62346V8.6214C19.442%208.61386%2019.442%208.607%2019.442%208.59946V8.59603C19.442%208.58917%2019.442%208.58231%2019.442%208.57545V8.57134C19.442%208.56379%2019.442%208.55625%2019.442%208.5487V8.54459C19.442%208.53704%2019.442%208.53018%2019.442%208.52264V8.51921C19.442%208.51235%2019.442%208.50481%2019.4414%208.49795V8.49246C19.4414%208.4856%2019.4407%208.47874%2019.4401%208.47188V8.46845V8.46571L19.4388%208.44445V8.43828L19.4368%208.4177V8.41153L19.4342%208.38958V8.38684V8.38478L19.4316%208.36077V8.3594V8.35666L19.429%208.33608L19.4277%208.32717L19.4258%208.30933L19.4245%208.29904L19.4219%208.27984V8.27641C19.4206%208.26749%2019.4199%208.25858%2019.4186%208.25035V8.24417L19.4147%208.22428L19.4134%208.21674L19.4101%208.19479V8.19205L19.4095%208.1893C19.3528%207.84774%2019.7617%207.59808%2019.6341%207.41496C19.4635%207.17147%2019.2819%206.95954%2019.1491%206.67147C18.9544%206.62895%2018.873%206.45611%2018.5508%206.32236C19.0084%207.14952%2018.5703%206.78396%2018.138%206.40535C17.7532%206.06859%2017.4583%205.6749%2017.2031%205.27024L17.1933%205.25515L17.1836%205.27024C16.9284%205.6749%2016.6341%206.06791%2016.2487%206.40535C15.8164%206.78396%2015.3782%207.14952%2015.8359%206.32236C15.5143%206.45611%2015.4323%206.62895%2015.2376%206.67147C15.1041%206.95954%2014.9232%207.17147%2014.7526%207.41496C14.6243%207.59808%2014.7207%207.95199%2014.664%208.29424V8.29699L14.6634%208.29973L14.6601%208.32168L14.6588%208.32922L14.6556%208.34911V8.35529C14.6536%208.36352%2014.6523%208.37175%2014.651%208.37998V8.38135V8.38478L14.6478%208.40398L14.6465%208.41427L14.6445%208.4321L14.6432%208.44102L14.6406%208.4616V8.46434V8.46571L14.638%208.48972V8.49177V8.49452L14.636%208.51647V8.52264L14.6341%208.54321V8.54939L14.6321%208.57065V8.57339V8.57682C14.6321%208.58368%2014.6315%208.59054%2014.6308%208.5974V8.60289C14.6308%208.60974%2014.6302%208.61729%2014.6295%208.62415V8.62758C14.6295%208.63512%2014.6295%208.64198%2014.6295%208.64952V8.65158V8.65364C14.6295%208.66118%2014.6295%208.66873%2014.6295%208.67627V8.68039C14.6295%208.68725%2014.6295%208.69411%2014.6295%208.70097V8.70439C14.6295%208.71194%2014.6295%208.7188%2014.6295%208.72634V8.7284C14.6295%208.73526%2014.6295%208.74212%2014.6302%208.74829V8.75378C14.6302%208.76064%2014.6308%208.76749%2014.6315%208.77435V8.77572C14.6315%208.78327%2014.6328%208.79013%2014.6334%208.79699V8.79904C14.6341%208.8059%2014.6347%208.81208%2014.6354%208.81893V8.82236C14.6367%208.82922%2014.6373%208.83608%2014.638%208.84225V8.84363C14.6387%208.85048%2014.64%208.85666%2014.6406%208.86352V8.86626C14.6419%208.87243%2014.6432%208.87861%2014.6439%208.88478V8.88752C14.6452%208.89369%2014.6465%208.89987%2014.6478%208.90604V8.90741C14.6491%208.91358%2014.6504%208.91976%2014.6517%208.92593V8.92799C14.6536%208.93416%2014.6549%208.93965%2014.6562%208.94582C14.6575%208.95268%2014.6595%208.95817%2014.6608%208.96365V8.96571C14.6634%208.9712%2014.6647%208.97737%2014.6666%208.98286C14.7526%209.24212%2016.0052%2010.3958%2016.1998%2010.4691C16.2744%2011.8526%2015.6024%2012.9%2015.003%2013.4016C14.7257%2013.6336%2014.3364%2013.5435%2014.1819%2013.2165C13.5365%2011.8514%2013.197%208.56653%2013.1614%206.72497C13.1732%206.06653%2013.2174%205.44514%2013.3353%204.83402C13.7506%202.67559%2015.1849%202.17627%2017.179%202.13306H17.1849H17.192L17.1907%202.13238Z'%20fill='%23080037'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M15.6257%2010.3423L18.7155%2010.1982C18.7155%2010.2126%2018.7155%2010.3704%2018.7155%2010.3848C18.7109%2010.9781%2018.6198%2011.6824%2018.6198%2012.0844C18.6198%2012.5782%2017.9714%2012.9794%2017.1706%2012.9794C16.3698%2012.9794%2015.7214%2012.5789%2015.7214%2012.0844C15.7214%2011.6728%2015.625%2010.9438%2015.625%2010.3416L15.6257%2010.3423Z'%20fill='%23DABFA5'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M17.1048%204.59602C18.6921%204.59602%2019.9792%205.98697%2019.9792%207.70302C19.9792%209.41907%2018.6921%2010.81%2017.1048%2010.81C15.5176%2010.81%2014.2305%209.41907%2014.2305%207.70302C14.2305%205.98697%2015.5176%204.59602%2017.1048%204.59602Z'%20fill='%23F4DFCC'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M17.1705%2013.9204C17.3216%2013.9204%2017.444%2014.0494%2017.444%2014.2085C17.444%2014.3676%2017.3216%2014.4966%2017.1705%2014.4966C17.0195%2014.4966%2016.8971%2014.3676%2016.8971%2014.2085C16.8971%2014.0494%2017.0195%2013.9204%2017.1705%2013.9204Z'%20fill='%2300FF00'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M17.1705%2015.6619C17.3216%2015.6619%2017.444%2015.7908%2017.444%2015.9499C17.444%2016.1091%2017.3216%2016.238%2017.1705%2016.238C17.0195%2016.238%2016.8971%2016.1091%2016.8971%2015.9499C16.8971%2015.7908%2017.0195%2015.6619%2017.1705%2015.6619Z'%20fill='%2300FF00'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M17.1705%2017.4033C17.3216%2017.4033%2017.444%2017.5322%2017.444%2017.6914C17.444%2017.8505%2017.3216%2017.9794%2017.1705%2017.9794C17.0195%2017.9794%2016.8971%2017.8505%2016.8971%2017.6914C16.8971%2017.5322%2017.0195%2017.4033%2017.1705%2017.4033Z'%20fill='%2300FF00'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M5.5755%209.12483V13.9355H10.1484V9.11043V8.84225H5.5755V9.12483Z'%20fill='%23EDCEB2'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M0%2017.6166C0%2017.6166%200%2014.8594%201.22135%2014.1241C3.05924%2013.0178%204.41862%2012.2359%205.58073%2011.7771C5.58073%2011.7908%205.57943%2011.8045%205.57943%2011.8182C5.57943%2012.6015%206.60026%2013.2359%207.85938%2013.2359C9.11849%2013.2359%2010.1393%2012.6008%2010.1393%2011.8182C10.1393%2011.8066%2010.1393%2011.7956%2010.1387%2011.784C11.2969%2012.2435%2012.6517%2013.0233%2014.4798%2014.1241C15.7012%2014.8594%2015.7012%2017.6166%2015.7012%2017.6166V17.9966H0V17.6166Z'%20fill='%23B60808'/%3e%3cpath%20d='M9.80626%209.9367C11.553%208.7993%2012.0938%206.38551%2011.0141%204.54534C9.93448%202.70517%207.64326%202.13547%205.89654%203.27286C4.14982%204.41026%203.60905%206.82406%204.68869%208.66422C5.76832%2010.5044%208.05954%2011.0741%209.80626%209.9367Z'%20fill='%23F4DFCC'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M4.39259%208.05419C4.39259%205.28533%204.5947%205.74075%205.01267%203.81962C5.01267%203.81962%207.5%205.50002%209.5%203.50002C9.5%203.50002%209.99545%202.57888%2010.8685%204.71812C11.4544%205.83883%2011.2747%206.90673%2011.2747%208.13993C13.0755%203.84089%2011.6478%20-1.28257%206.24024%200.290817C3.11459%201.31962%203.34832%205.45817%204.39259%208.05419Z'%20fill='black'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M16.4837%205.09739L13.7357%207.61728L14.6094%203.98422L19.2298%203.90329L20.6465%207.35459L17.5482%205.04184C17.2239%204.79972%2016.7838%204.82304%2016.4844%205.09808L16.4837%205.09739Z'%20fill='%23080037'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M19.5736%2010.0535V9.27092C19.0267%209.89643%2018.2591%2010.701%2017.4518%2010.701H16.8249C15.9818%2010.701%2015.1543%209.91221%2014.6055%209.238L14.5847%209.85117L14.6087%2013.5L16.6743%2014.8362C17.0048%2015.05%2017.43%2015.05%2017.7606%2014.8362L19.8261%2013.5L19.5736%2010.0535Z'%20fill='%23080037'/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='clip0_813_2986'%3e%3crect%20width='24'%20height='18'%20fill='white'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e",mw=({loading:e=!1,title:t="مشخصات کاربر",register:n,watch:a,control:r,onSubmit:i,setPage:s})=>w.jsx(Ja,{title:t,className:"lg:!px-3 !pb-0",children:w.jsx("form",{className:"flex itesm-center",onSubmit:u=>{u.preventDefault(),s(1),i()},children:w.jsxs("div",{className:"grid md:grid-cols-2 lg:flex items-center w-full flex-wrap gap-x-4 lg:gap-x-3 xl:gap-x-5 gap-y-4",children:[w.jsx(il,{containerClassName:"!flex-row !flex-1 lg:!w-auto !gap-3",className:"flex-1",label:"از تاریخ :",id:"from_date",control:r,watch:a}),w.jsx(il,{containerClassName:"!flex-row !flex-1 lg:!w-auto !gap-3",className:"flex-1",label:"تا تاریخ :",id:"end_date",control:r,watch:a}),w.jsx(Oa,{containerClassName:"!flex-row !flex-1 lg:!w-auto !gap-3",className:"flex-1",questionKey:"6620",watch:a,register:n,placeholder:"در این قسمت وارد کنید",label:"کد ملی :",icon:w.jsx("img",{src:dc,alt:"کد ملی"})}),w.jsx("div",{className:"lg:hidden"}),w.jsx("div",{className:"md:block col-span-full lg:hidden md:mt-2",children:w.jsx(er,{variant:"outlined",title:"جستجو",type:"submit",loading:e,className:"w-[120px] md:w-[150px] lg:w-[92px] xl:w-[110px] md:ml-0 !py-0 !h-[24px] md:!h-[28px] lg:!h-[34px] !shadow-sm !bg-[#f7f7f7] !text-black !border-success hover:!bg-success hover:!text-white transition-all !text-2xs md:!text-xs lg:!text-sm gap-2 xl:gap-3 !mx-auto",icon:w.jsx(t0,{className:"text-xs md:text-base lg:text-xl"})})}),w.jsx(er,{variant:"outlined",title:"جستجو",type:"submit",loading:e,className:"w-[120px] md:w-[150px] lg:w-[92px] xl:w-[110px] md:ml-0 !py-0 !h-[24px] md:!h-[28px] lg:!h-[34px] !shadow-sm !bg-[#f7f7f7] !text-black !border-success hover:!bg-success hover:!text-white transition-all !text-2xs md:!text-xs lg:!text-sm gap-2 xl:gap-3 !hidden lg:!flex",icon:w.jsx(t0,{className:"text-sm lg:text-xl"})})]})})}),bw=["ردیف","نام و نام خانوادگی","کدملی","جنسیت","تاریخ و ساعت پذیرش","وضعیت معاینه پزشک","نام پزشک"],yw="_filterRadio_dovfh_1",ww={filterRadio:yw},xw="data:image/svg+xml,%3csvg%20width='669'%20height='504'%20viewBox='0%200%20669%20504'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20clip-path='url(%23clip0_455_45444)'%3e%3cpath%20d='M601.966%20461.014H557.651V461.35H601.966V461.014Z'%20fill='%23EBEBEB'/%3e%3cpath%20d='M443.172%20464.665H431.545V465H443.172V464.665Z'%20fill='%23EBEBEB'/%3e%3cpath%20d='M556.313%20448.561H530.637V448.897H556.313V448.561Z'%20fill='%23EBEBEB'/%3e%3cpath%20d='M127.98%20450.816H70.1914V451.151H127.98V450.816Z'%20fill='%23EBEBEB'/%3e%3cpath%20d='M148.371%20450.816H139.901V451.151H148.371V450.816Z'%20fill='%23EBEBEB'/%3e%3cpath%20d='M301.251%20456.479H175.907V456.814H301.251V456.479Z'%20fill='%23EBEBEB'/%3e%3cpath%20d='M317.119%20379.571H58.765C54.5503%20379.571%2051.125%20376.136%2051.125%20371.909V7.66255C51.125%203.4354%2054.5503%200%2058.765%200H317.133C321.347%200%20324.773%203.4354%20324.773%207.66255V371.909C324.773%20376.136%20321.347%20379.571%20317.133%20379.571H317.119ZM58.765%200.335488C54.7376%200.335488%2051.4595%203.62327%2051.4595%207.66255V371.909C51.4595%20375.948%2054.7376%20379.236%2058.765%20379.236H317.133C321.16%20379.236%20324.438%20375.948%20324.438%20371.909V7.66255C324.438%203.62327%20321.16%200.335488%20317.133%200.335488H58.765Z'%20fill='%23EBEBEB'/%3e%3cpath%20d='M606.529%20379.571H348.161C343.946%20379.571%20340.521%20376.136%20340.521%20371.909V7.66255C340.521%203.4354%20343.946%200%20348.161%200H606.529C610.743%200%20614.169%203.4354%20614.169%207.66255V371.909C614.169%20376.136%20610.743%20379.571%20606.529%20379.571ZM348.161%200.335488C344.134%200.335488%20340.855%203.62327%20340.855%207.66255V371.909C340.855%20375.948%20344.134%20379.236%20348.161%20379.236H606.529C610.556%20379.236%20613.834%20375.948%20613.834%20371.909V7.66255C613.834%203.62327%20610.556%200.335488%20606.529%200.335488H348.161Z'%20fill='%23EBEBEB'/%3e%3cpath%20d='M669%20439.422H0V439.758H669V439.422Z'%20fill='%23EBEBEB'/%3e%3cpath%20d='M159.006%20145.741L79.6627%20164.635C78.298%20164.958%2076.9198%20164.112%2076.5987%20162.743L51.4042%2056.3264C51.083%2054.9576%2051.926%2053.5754%2053.2908%2053.2534L102.168%2041.6052L143.004%2067.0755L160.906%20142.654C161.227%20144.023%20160.384%20145.405%20159.02%20145.727L159.006%20145.741Z'%20fill='%23F0F0F0'/%3e%3cpath%20d='M143.004%2067.0889L102.168%2041.6187L99.5723%2042.2359L109.192%2082.8569L144.73%2074.3891L143.004%2067.0889Z'%20fill='%23E6E6E6'/%3e%3cpath%20d='M142.937%2066.8071L109.995%2074.6575L102.168%2041.6187L142.937%2066.8071Z'%20fill='%23FAFAFA'/%3e%3cpath%20d='M132.265%2079.4946L73.5801%2093.4731L82.4131%20130.775L141.098%20116.797L132.265%2079.4946Z'%20fill='%23E6E6E6'/%3e%3cpath%20d='M95.8393%20114.03L86.0986%20129.879L111.654%20123.8L95.8393%20114.03Z'%20fill='%23FAFAFA'/%3e%3cpath%20d='M105.901%20125.169L141.104%20116.781L140.301%20113.386L120.619%20101.215L105.901%20125.169Z'%20fill='%23FAFAFA'/%3e%3cpath%20d='M106.476%2099.6313C107.292%20103.107%20105.165%20106.583%20101.7%20107.415C98.2342%20108.233%2094.7687%20106.086%2093.9392%20102.624C93.123%2099.1482%2095.2638%2095.6726%2098.7158%2094.8406C102.181%2094.022%20105.647%2096.1557%20106.476%2099.6313Z'%20fill='%23FAFAFA'/%3e%3cpath%20d='M543.375%20125.754L485.493%2098.7133C484.49%2098.2436%20484.062%2097.0492%20484.53%2096.0562L520.589%2018.4377C521.057%2017.4312%20522.248%2017.0018%20523.238%2017.4715L558.896%2034.1251L571.647%2069.66L546.038%20124.801C545.57%20125.807%20544.379%20126.237%20543.389%20125.767L543.375%20125.754Z'%20fill='%23EBEBEB'/%3e%3cpath%20d='M571.634%2069.6467L558.883%2034.1118L556.996%2033.2261L543.228%2062.8564L569.158%2074.9742L571.634%2069.6467Z'%20fill='%23E0E0E0'/%3e%3cpath%20d='M571.727%2069.4452L547.684%2058.213L558.883%2034.1116L571.727%2069.4452Z'%20fill='%23F5F5F5'/%3e%3cpath%20d='M545.998%20103.732C531.735%2097.0626%20517.458%2090.3931%20503.195%2083.737C500.318%2082.395%20497.789%2086.6893%20500.693%2088.0447C514.956%2094.7142%20529.232%20101.384%20543.496%20108.04C546.372%20109.382%20548.901%20105.087%20545.998%20103.732Z'%20fill='%23FAFAFA'/%3e%3cpath%20d='M513.324%2060.8298C527.587%2067.4993%20541.863%2074.1688%20556.126%2080.8249C559.003%2082.1669%20561.532%2077.8726%20558.628%2076.5172C544.365%2069.8477%20530.089%2063.1782%20515.826%2056.5221C512.949%2055.1802%20510.42%2059.4744%20513.324%2060.8298Z'%20fill='%23FAFAFA'/%3e%3cpath%20d='M506.701%2074.7995C520.964%2081.469%20535.24%2088.1385%20549.503%2094.7946C552.38%2096.1366%20554.909%2091.8423%20552.005%2090.487C537.742%2083.8175%20523.466%2077.148%20509.203%2070.4919C506.326%2069.1499%20503.797%2073.4442%20506.701%2074.7995Z'%20fill='%23FAFAFA'/%3e%3cpath%20d='M138.416%20376.89L186.35%20334.596C187.181%20333.861%20187.256%20332.595%20186.527%20331.775L130.072%20267.51C129.339%20266.677%20128.075%20266.602%20127.257%20267.332L97.7268%20293.383L95.4939%20331.072L135.593%20376.728C136.326%20377.561%20137.589%20377.637%20138.407%20376.906L138.416%20376.89Z'%20fill='%23EBEBEB'/%3e%3cpath%20d='M95.5066%20331.046L97.7396%20293.356L99.3008%20291.974L120.855%20316.506L99.382%20335.457L95.5066%20331.046Z'%20fill='%23E0E0E0'/%3e%3cpath%20d='M95.3603%20330.879L115.273%20313.31L97.7398%20293.355L95.3603%20330.879Z'%20fill='%23F5F5F5'/%3e%3cpath%20d='M129.704%20356.511C141.514%20346.084%20153.337%20335.654%20165.151%20325.241C167.534%20323.141%20171.169%20326.544%20168.764%20328.664C156.954%20339.091%20145.131%20349.521%20133.317%20359.934C130.935%20362.034%20127.3%20358.631%20129.704%20356.511Z'%20fill='%23FAFAFA'/%3e%3cpath%20d='M148.979%20306.121C137.169%20316.547%20125.347%20326.977%20113.533%20337.391C111.15%20339.49%20107.515%20336.087%20109.92%20333.967C121.73%20323.541%20133.553%20313.11%20145.366%20302.697C147.749%20300.597%20151.384%20304%20148.979%20306.121Z'%20fill='%23FAFAFA'/%3e%3cpath%20d='M159.269%20317.653C147.459%20328.079%20135.636%20338.51%20123.822%20348.923C121.44%20351.023%20117.805%20347.62%20120.209%20345.5C132.019%20335.073%20143.842%20324.643%20155.656%20314.229C158.039%20312.13%20161.674%20315.533%20159.269%20317.653Z'%20fill='%23FAFAFA'/%3e%3cpath%20d='M405.401%20368.245L404.076%20363.857C403.635%20362.394%20402.444%20361.294%20400.959%20360.972L368.686%20354.074C366.438%20353.591%20364.217%20355.027%20363.736%20357.295L350.583%20419.172C350.088%20421.521%20351.573%20423.829%20353.915%20424.325L427.25%20440.013C429.592%20440.509%20431.893%20439.02%20432.388%20436.671L443.868%20382.671C444.35%20380.417%20442.918%20378.189%20440.657%20377.706L408.09%20370.741C406.806%20370.473%20405.775%20369.507%20405.387%20368.245H405.401Z'%20fill='%23E0E0E0'/%3e%3cpath%20d='M440.671%20377.706L408.398%20370.808C406.913%20370.486%20405.374%20371.01%20404.371%20372.164L401.387%20375.626C400.53%20376.619%20399.193%20377.075%20397.908%20376.793L365.341%20369.829C363.093%20369.346%20360.872%20370.782%20360.391%20373.049L350.583%20419.172C350.088%20421.521%20351.573%20423.829%20353.915%20424.325L427.25%20440.013C429.592%20440.509%20431.893%20439.02%20432.388%20436.671L443.868%20382.671C444.35%20380.417%20442.918%20378.189%20440.657%20377.706H440.671Z'%20fill='%23F0F0F0'/%3e%3cpath%20d='M337.815%20123.158L331.585%20111.84C329.537%20108.082%20325.573%20105.722%20321.303%20105.722H228.197C221.705%20105.722%20216.433%20111.01%20216.433%20117.521V295.981C216.433%20302.754%20221.923%20308.216%20228.632%20308.216L439.968%20307.759C446.824%20304.571%20448.26%20301.517%20451.967%20295.746L452.401%20140.2C452.401%20133.689%20447.129%20128.401%20440.638%20128.401H346.66C342.957%20128.401%20339.515%20126.391%20337.728%20123.114L337.815%20123.158Z'%20fill='%23407BFF'/%3e%3cpath%20d='M337.815%20123.158L331.585%20111.84C329.537%20108.082%20325.573%20105.722%20321.303%20105.722H228.197C221.705%20105.722%20216.433%20111.01%20216.433%20117.521V295.981C216.433%20302.754%20221.923%20308.216%20228.632%20308.216L439.968%20307.759C446.824%20304.025%20449.351%20301.517%20451.967%20295.746L452.401%20140.2C452.401%20133.689%20447.129%20128.401%20440.638%20128.401H346.66C342.957%20128.401%20339.515%20126.391%20337.728%20123.114L337.815%20123.158Z'%20fill='%23B5B5B5'/%3e%3cpath%20d='M423.036%20135.564H242.574V270.895H423.036V135.564Z'%20fill='%23263238'/%3e%3cpath%20opacity='0.8'%20d='M423.036%20135.564H242.574V270.895H423.036V135.564Z'%20fill='white'/%3e%3cpath%20d='M436.019%20149.156H229.504V304.063H436.019V149.156Z'%20fill='%23263238'/%3e%3cpath%20opacity='0.9'%20d='M436.019%20149.156H229.504V304.063H436.019V149.156Z'%20fill='white'/%3e%3cpath%20d='M473.183%20153.04C423.689%20153.04%20398.899%20153.04%20349.405%20153.04C343.697%20153.04%20338.426%20155.05%20335.681%20158.327C332.369%20162.216%20330.757%20164.182%20327.577%20168.115C325.268%20170.912%20320.911%20172.66%20316.162%20172.66C267.801%20172.66%20243.62%20172.66%20195.259%20172.66C186.894%20172.66%20181.317%20177.204%20182.755%20182.841C194.562%20228.767%20200.487%20251.752%20212.294%20297.678C213.775%20303.533%20220.442%20308.253%20227.108%20308.253H436.847C443.557%20308.253%20450.179%20303.533%20451.66%20297.678C463.206%20252.844%20474.708%20208.055%20486.254%20163.221C487.692%20157.584%20481.854%20153.04%20473.227%20153.04H473.183Z'%20fill='%23EBEBEB'/%3e%3c/g%3e%3cpath%20d='M432.742%20490.632L432.998%20488.232H435.878C437.99%20488.232%20439.484%20488.051%20440.358%20487.688C441.233%20487.325%20441.67%20486.771%20441.67%20486.024C441.67%20485.555%20441.446%20484.691%20440.998%20483.432C440.55%20482.152%20440.198%20481.224%20439.942%20480.648L443.302%20478.792C443.729%20479.709%20444.156%20480.893%20444.582%20482.344C445.009%20483.773%20445.222%20485.043%20445.222%20486.152C445.222%20488.371%20444.497%20490.067%20443.046%20491.24C441.617%20492.413%20439.473%20493%20436.614%20493H432.998L432.742%20490.632ZM441.894%20500.328L439.334%20497.8L441.894%20495.208C442.108%20495.443%20442.748%20496.093%20443.814%20497.16C443.814%20497.16%20444.028%20497.373%20444.454%20497.8L441.894%20500.328ZM435.846%20500.328L433.318%20497.8C433.318%20497.8%20433.66%20497.459%20434.342%20496.776L435.846%20495.208C435.846%20495.208%20436.422%20495.784%20437.574%20496.936L438.438%20497.8L435.846%20500.328ZM438.886%20503.816L436.646%20501.576L438.886%20499.304C438.886%20499.304%20439.388%20499.805%20440.39%20500.808L441.158%20501.576L438.886%20503.816Z'%20fill='%23878787'/%3e%3cpath%20d='M432.96%20493C432.277%20493%20431.648%20492.872%20431.072%20492.616C430.944%20494.621%20430.069%20496.467%20428.448%20498.152C426.827%20499.859%20424.683%20501.256%20422.016%20502.344L420.064%20498.312C421.472%20497.736%20422.763%20497.064%20423.936%20496.296C425.109%20495.549%20426.027%20494.803%20426.688%20494.056C427.371%20493.309%20427.712%20492.669%20427.712%20492.136C427.712%20491.261%20427.147%20488.883%20426.016%20485L425.856%20484.36L429.44%20482.952C429.675%20483.613%20429.952%20484.563%20430.272%20485.8C430.549%20486.675%20430.891%20487.304%20431.296%20487.688C431.723%20488.051%20432.277%20488.232%20432.96%20488.232H433.28L433.536%20490.632L433.28%20493H432.96Z'%20fill='%23878787'/%3e%3cpath%20d='M406.088%20498.216C409.075%20497.576%20411.368%20496.829%20412.968%20495.976C414.59%20495.144%20415.646%20494.131%20416.136%20492.936C415.56%20493.021%20414.92%20493.064%20414.216%20493.064C412.659%20493.064%20411.251%20492.797%20409.992%20492.264C408.755%20491.709%20407.88%20490.888%20407.368%20489.8C406.984%20488.968%20406.792%20488.051%20406.792%20487.048C406.792%20485.789%20407.059%20484.541%20407.592%20483.304C408.126%20482.045%20408.862%20481.021%20409.8%20480.232C410.739%20479.421%20411.763%20479.016%20412.872%20479.016C414.152%20479.016%20415.315%20479.571%20416.36%20480.68C417.406%20481.789%20418.227%20483.24%20418.824%20485.032C419.422%20486.824%20419.72%20488.691%20419.72%20490.632C419.72%20493.619%20418.643%20496.136%20416.488%20498.184C414.334%20500.232%20411.358%20501.619%20407.56%20502.344L406.088%20498.216ZM410.312%20487.112C410.632%20487.539%20411.23%20487.869%20412.104%20488.104C412.979%20488.317%20413.96%20488.424%20415.048%20488.424C415.56%20488.424%20415.944%20488.413%20416.2%20488.392C415.902%20486.941%20415.411%20485.725%20414.728%20484.744C414.067%20483.763%20413.32%20483.272%20412.488%20483.272C412.062%20483.272%20411.656%20483.432%20411.272%20483.752C410.91%20484.072%20410.611%20484.467%20410.376%20484.936C410.163%20485.405%20410.056%20485.843%20410.056%20486.248C410.056%20486.589%20410.142%20486.877%20410.312%20487.112Z'%20fill='%23878787'/%3e%3cpath%20d='M394.123%20488.232H395.819C397.333%20488.232%20398.432%20488.061%20399.115%20487.72C399.797%20487.379%20400.139%20486.867%20400.139%20486.184C400.139%20485.736%20399.915%20484.861%20399.467%20483.56C399.019%20482.237%20398.667%20481.267%20398.411%20480.648L401.771%20478.792C402.176%20479.688%20402.592%20480.893%20403.019%20482.408C403.467%20483.901%20403.691%20485.213%20403.691%20486.344C403.691%20488.52%20403.008%20490.173%20401.643%20491.304C400.299%20492.435%20398.357%20493%20395.819%20493H394.123V488.232ZM396.075%20474.568C396.736%20473.928%20397.387%20473.277%20398.027%20472.616L399.019%20471.624L401.963%20474.568L399.019%20477.544L396.075%20474.568Z'%20fill='%23878787'/%3e%3cpath%20d='M394.057%20493C393.119%20493%20392.276%20492.829%20391.529%20492.488C390.804%20492.125%20390.143%20491.592%20389.545%20490.888C387.988%20492.403%20386.057%20493.16%20383.753%20493.16C381.151%20493.16%20378.708%20492.307%20376.425%20490.6L378.153%20487.24C378.836%20487.603%20379.583%20487.933%20380.393%20488.232C381.204%20488.509%20382.164%20488.648%20383.273%20488.648C384.959%20488.648%20386.42%20488.253%20387.657%20487.464L383.273%20477.448L386.569%20475.656L390.953%20486.024C391.295%20486.877%20391.689%20487.464%20392.137%20487.784C392.585%20488.083%20393.225%20488.232%20394.057%20488.232H394.473L394.729%20490.632L394.473%20493H394.057Z'%20fill='%23878787'/%3e%3cpath%20d='M368.055%20493.128C366.071%20493.128%20364.524%20492.595%20363.415%20491.528C362.327%20490.461%20361.783%20489.085%20361.783%20487.4C361.783%20486.739%20361.879%20486.045%20362.071%20485.32C362.497%20483.571%20363.436%20481.843%20364.887%20480.136L363.799%20479.464L366.231%20475.848C369.047%20477.555%20371.169%20479.283%20372.599%20481.032C374.028%20482.76%20374.743%20484.595%20374.743%20486.536C374.743%20487.837%20374.444%20488.989%20373.847%20489.992C373.271%20490.973%20372.471%20491.741%20371.447%20492.296C370.444%20492.851%20369.313%20493.128%20368.055%20493.128ZM365.143%20486.184C365.1%20486.909%20365.345%20487.475%20365.879%20487.88C366.412%20488.285%20367.212%20488.488%20368.279%20488.488C369.132%20488.488%20369.836%20488.328%20370.391%20488.008C370.967%20487.688%20371.308%20487.272%20371.415%20486.76C371.265%20486.056%20370.881%20485.331%20370.263%20484.584C369.665%20483.816%20368.812%20482.995%20367.703%20482.12C366.017%20483.699%20365.164%20485.053%20365.143%20486.184Z'%20fill='%23878787'/%3e%3cpath%20d='M331.684%20488.232H334.084C336.495%20488.232%20338.756%20487.987%20340.868%20487.496C342.98%20486.984%20345.209%20486.131%20347.556%20484.936C346.98%20484.701%20346.223%20484.349%20345.284%20483.88C343.407%20482.92%20341.775%20482.44%20340.388%20482.44C339.577%20482.44%20338.852%20482.664%20338.212%20483.112C337.593%20483.539%20337.113%20484.029%20336.772%20484.584L334.084%20482.632C335.705%20479.453%20337.849%20477.864%20340.516%20477.864C341.412%20477.864%20342.276%20478.013%20343.108%20478.312C343.94%20478.611%20345.156%20479.165%20346.756%20479.976C347.993%20480.616%20349.039%20481.107%20349.892%20481.448C350.767%20481.789%20351.727%20482.067%20352.772%20482.28L352.932%20486.568C352.356%20486.739%20351.225%20487.283%20349.54%20488.2C349.412%20488.285%20349.295%20488.36%20349.188%20488.424C349.081%20488.467%20348.985%20488.509%20348.9%20488.552C346.788%20489.661%20344.953%20490.525%20343.396%20491.144C341.839%20491.763%20340.249%20492.232%20338.628%20492.552C337.007%20492.851%20335.172%20493%20333.124%20493H331.684V488.232ZM337.988%20472.68C338.649%20472.04%20339.3%20471.389%20339.94%20470.728L340.932%20469.736L343.876%20472.68C343.641%20472.936%20342.905%20473.683%20341.668%20474.92C341.668%20474.92%20341.423%20475.165%20340.932%20475.656L337.988%20472.68Z'%20fill='%23878787'/%3e%3cpath%20d='M331.867%20493C329.52%20493%20327.824%20492.328%20326.779%20490.984C325.755%20489.64%20325.243%20487.592%20325.243%20484.84C325.221%20482.216%20325.136%20479.56%20324.987%20476.872C324.859%20474.163%20324.667%20471.933%20324.411%20470.184L328.379%20469.32C328.592%20470.877%20328.763%20472.989%20328.891%20475.656C329.019%20478.301%20329.083%20480.755%20329.083%20483.016V484.232C329.061%20485.32%20329.115%20486.141%20329.243%20486.696C329.371%20487.251%20329.627%20487.645%20330.011%20487.88C330.416%20488.115%20331.035%20488.232%20331.867%20488.232H332.027L332.283%20490.632L332.027%20493H331.867Z'%20fill='%23878787'/%3e%3cpath%20d='M313.435%20488.232H314.427C315.536%20488.232%20316.336%20488.008%20316.827%20487.56C317.339%20487.112%20317.595%20486.419%20317.595%20485.48C317.574%20484.008%20317.446%20481.416%20317.211%20477.704C316.998%20473.971%20316.806%20471.464%20316.635%20470.184L320.635%20469.32C320.784%20470.579%20320.944%20473.171%20321.115%20477.096C321.307%20481%20321.403%20483.709%20321.403%20485.224C321.403%20486.675%20321.104%20487.997%20320.507%20489.192C319.931%20490.365%20319.12%20491.293%20318.075%20491.976C317.03%20492.659%20315.846%20493%20314.523%20493H313.435V488.232Z'%20fill='%23878787'/%3e%3cpath%20d='M302.33%20502.248C300.41%20502.248%20298.693%20501.885%20297.178%20501.16C295.664%20500.435%20294.469%20499.368%20293.594%20497.96C292.72%20496.552%20292.282%20494.856%20292.282%20492.872C292.282%20491.571%20292.506%20490.163%20292.954%20488.648C293.424%20487.112%20293.946%20485.747%20294.522%20484.552L297.594%20485.96C297.04%20487.219%20296.613%20488.328%20296.314%20489.288C296.016%20490.248%20295.866%20491.229%20295.866%20492.232C295.866%20494.003%20296.421%20495.315%20297.53%20496.168C298.64%20497.043%20300.24%20497.48%20302.33%20497.48C303.482%20497.48%20304.57%20497.352%20305.594%20497.096C306.64%20496.84%20307.525%20496.52%20308.25%20496.136C308.997%20495.752%20309.509%20495.368%20309.786%20494.984C309.402%20494.621%20308.592%20494.099%20307.354%20493.416C306.117%20492.755%20304.837%20492.179%20303.514%20491.688L304.506%20487.208C306.362%20487.571%20307.973%20487.837%20309.338%20488.008C310.704%20488.157%20312.048%20488.232%20313.37%20488.232H313.882L314.138%20490.632L313.882%20493H313.37C313.05%20493%20312.57%20492.979%20311.93%20492.936C312.72%20493.725%20313.114%20494.493%20313.114%20495.24C313.114%20496.307%20312.634%20497.384%20311.674%20498.472C310.714%20499.56%20309.402%20500.456%20307.738%20501.16C306.096%20501.885%20304.293%20502.248%20302.33%20502.248Z'%20fill='%23878787'/%3e%3cpath%20d='M278.58%20492.808C278.794%20491.4%20278.9%20489.224%20278.9%20486.28C278.9%20483.336%20278.804%20480.253%20278.612%20477.032C278.442%20473.789%20278.239%20471.517%20278.004%20470.216L282.004%20469.288C282.196%20470.525%20282.367%20472.691%20282.516%20475.784C282.666%20478.877%20282.74%20481.917%20282.74%20484.904C282.74%20488.595%20282.612%20491.368%20282.356%20493.224L278.58%20492.808Z'%20fill='%23878787'/%3e%3cpath%20d='M269.79%20493C268.809%20492.979%20267.955%20492.733%20267.23%20492.264C266.526%20491.795%20265.982%20491.133%20265.598%20490.28C264.403%20492.072%20262.985%20492.979%20261.342%20493H261.182C260.265%20493%20259.465%20492.755%20258.782%20492.264C258.099%20491.773%20257.619%20491.123%20257.342%20490.312C256.659%20491.187%20255.87%20491.859%20254.974%20492.328C254.099%20492.776%20253.161%20493%20252.158%20493H252.062L251.806%20490.632L252.062%20488.232H252.222C252.883%20488.232%20253.534%20488.093%20254.174%20487.816C254.814%20487.517%20255.294%20487.155%20255.614%20486.728C256.062%20486.216%20256.403%20485.64%20256.638%20485C256.873%20484.36%20257.086%20483.677%20257.278%20482.952L260.606%20483.304C260.585%20483.411%20260.467%20483.837%20260.254%20484.584C260.041%20485.309%20259.934%20485.971%20259.934%20486.568C259.934%20487.677%20260.382%20488.232%20261.278%20488.232H261.342C262.451%20488.232%20263.305%20487.645%20263.902%20486.472C264.393%20485.491%20264.745%20484.243%20264.958%20482.728L268.286%20482.888C268.201%20483.229%20268.115%20483.72%20268.03%20484.36C267.966%20484.979%20267.934%20485.491%20267.934%20485.896C267.934%20487.453%20268.574%20488.232%20269.854%20488.232H269.886C270.526%20488.232%20271.017%20488.051%20271.358%20487.688C271.721%20487.325%20271.902%20486.856%20271.902%20486.28C271.902%20485.704%20271.678%20484.787%20271.23%20483.528C270.803%20482.269%20270.441%20481.309%20270.142%20480.648L273.438%20478.856C273.843%20479.731%20274.27%20480.936%20274.718%20482.472C275.166%20483.987%20275.39%20485.32%20275.39%20486.472C275.39%20487.645%20275.155%20488.733%20274.686%20489.736C274.238%20490.717%20273.598%20491.507%20272.766%20492.104C271.934%20492.701%20270.995%20493%20269.95%20493H269.79Z'%20fill='%23878787'/%3e%3cpath%20d='M235.448%20493.384C231.672%20493.384%20228.707%20492.797%20226.552%20491.624C224.397%20490.451%20223.224%20488.819%20223.032%20486.728C223.011%20486.557%20223%20486.301%20223%20485.96C223%20485.043%20223.128%20484.051%20223.384%20482.984C223.64%20481.917%20223.949%20480.968%20224.312%20480.136L227.384%20481.608C226.765%20483.549%20226.488%20484.947%20226.552%20485.8C226.701%20486.611%20227.555%20487.283%20229.112%20487.816C230.669%20488.328%20232.803%20488.595%20235.512%20488.616C238.264%20488.595%20240.397%20488.413%20241.912%20488.072C243.427%20487.709%20244.589%20487.133%20245.4%20486.344C246.211%20485.555%20246.893%20484.413%20247.448%20482.92L250.776%20483.304C250.371%20484.563%20250.168%20485.523%20250.168%20486.184C250.168%20486.909%20250.339%20487.432%20250.68%20487.752C251.043%20488.072%20251.576%20488.232%20252.28%20488.232L252.536%20490.632L252.28%20493C251.085%20493%20250.029%20492.659%20249.112%20491.976C248.216%20491.272%20247.672%20490.355%20247.48%20489.224C246.157%20490.781%20244.536%20491.869%20242.616%20492.488C240.717%20493.085%20238.328%20493.384%20235.448%20493.384ZM233.752%20476.872L236.44%20479.56L233.752%20482.28L231.032%20479.56L233.752%20476.872ZM239.384%20476.872L242.072%20479.56L239.384%20482.28L236.664%20479.56L239.384%20476.872Z'%20fill='%23878787'/%3e%3cdefs%3e%3cclipPath%20id='clip0_455_45444'%3e%3crect%20width='669'%20height='465'%20fill='white'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e";function Cw({tableColumns:e=bw,getUsers:t=()=>{},title:n,users:a,colFilter:r,colors:i,loading:s}){const{register:u,watch:c,control:d,setValue:g}=ll.useForm({mode:"all"}),[S,p]=ee.useState(1),[m,x]=ee.useState(qa[0].value),[_,b]=ee.useState(null),O=_?a?.map((B,G)=>[(S-1)*m+G+1,B.fn,B[6620],B[4946],Ha(B.date_paziresh).locale("fa").format("HH:mm - YYYY/MM/DD"),B.vazeiat,B.doctor_fn]).filter(B=>B[r-1]==_):[[]],C=a?.map((B,G)=>[(S-1)*m+G+1,B.fn,B[6620],B[4946],Ha(B.date_paziresh).locale("fa").format("HH:mm - YYYY/MM/DD"),B.vazeiat,B.doctor_fn]);ee.useEffect(()=>{g("from_date",Ha().locale("fa").format("YYYY/MM/DD")),g("end_date",Ha().locale("fa").format("YYYY/MM/DD"))},[]);const D=()=>{if(s)return;const B={6620:c("6620")||null,from_date:c("from_date")||null,end_date:c("end_date")||null,limit:m,offset:Number(m*(Number(S)-1))};t({formData:B})};ee.useEffect(()=>{D()},[m,S]);const N=r&&a?.length?[...new Set(C?.map(B=>B[r-1]))]:[];return w.jsxs("div",{className:"flex flex-col flex-1 gap-4",children:[w.jsx(mw,{loading:s,watch:c,register:u,setPage:p,control:d,onSubmit:D,title:n}),w.jsx(ta,{position:"center",className:"!mt-0"}),C?.length?w.jsx(Za,{columns:e,rows:_?O:C,page:S,setPage:p,setTableSize:x,colFilter:r?r-1:null,colors:i,tableSize:m,pagination:!0,selectable:!0,containerClassName:s?"blur-sm":"",children:r&&N?.length>1?w.jsxs("div",{className:"flex items-center h-full pr-2 gap-4",children:[w.jsx("span",{className:"text-2xs lg:text-xs font-700",children:"نمایش بر اساس :"}),w.jsx("div",{className:"flex items-center gap-4",children:N.map(B=>w.jsx(Ga,{label:B,className:oe(ww.filterRadio,"!bg-transparent !border-none !gap-[1px] lg:!gap-1 !py-0 !px-0"),name:"filter",value:B,checked:B==_,onClick:()=>{_==B?b(null):b(B)},onChange:G=>G},B))})]}):null}):w.jsx("img",{src:xw,alt:"لیست خالی",className:"h-2/3 m-auto",loading:"lazy"})]})}const _w=["ردیف","نام و نام‌ خانوادگی","تاریخ پذیرش","لیست خدمات ارائه شده","انتخاب پایش"];function Sw(e){return nr({attr:{viewBox:"0 0 256 256",fill:"currentColor"},child:[{tag:"path",attr:{d:"M214.67,74H198V40a6,6,0,0,0-6-6H64a6,6,0,0,0-6,6V74H41.33C28.47,74,18,83.87,18,96v80a6,6,0,0,0,6,6H58v34a6,6,0,0,0,6,6H192a6,6,0,0,0,6-6V182h34a6,6,0,0,0,6-6V96C238,83.87,227.53,74,214.67,74ZM70,46H186V74H70ZM186,210H70V158H186Zm40-40H198V152a6,6,0,0,0-6-6H64a6,6,0,0,0-6,6v18H30V96c0-5.51,5.08-10,11.33-10H214.67C220.92,86,226,90.49,226,96Zm-28-54a10,10,0,1,1-10-10A10,10,0,0,1,198,116Z"},child:[]}]})(e)}const Ew="_table_1l5wg_1",kw={table:Ew};function Dw({request:e=()=>{},contextData:t={},toast:n=()=>{},services:a,parse:r,background:i}){const{register:s,watch:u,handleSubmit:c,formState:{errors:d,isSubmitting:g}}=ll.useForm({mode:"all"}),[S]=cc(),[p,m]=ee.useState(1),[x,_]=ee.useState(!1),[b,O]=ee.useState(null),[C,D]=ee.useState(qa[0].value),{ogrid:N,setOgrid:B,setPazireshList:G,pazireshList:re}=t,fe=()=>{e({jobId:172,dataInfo:{6620:u("6620"),limit:C,offset:C*(p-1),app_services_id:a.map(j=>j.id).join(",")}}).then(j=>{j.error?n.error("خطای دریافت اطلاعات - "+j.error_code):(G(j.data),j.data.length==0&&n.error("هیچ پذیرشی برای این کاربر ثبت نشده است."))}).catch(j=>n.error(j.message))},z=(j,Y)=>{_(!0),O(Y),e({jobId:173,dataInfo:{1545718677214:j[1545718677214]}}).then(le=>{const X=r(le);B(X.data[0].ogrid)}).catch(le=>n.error(le.message)).finally(()=>_(!1))};return w.jsxs("div",{className:"flex h-full flex-col justify-between",children:[w.jsx(Ja,{children:w.jsxs("div",{className:"flex flex-col",children:[w.jsx("strong",{className:"font-700 text-xs lg:text-base",children:"کاربر گرامی"}),w.jsx("p",{className:"font-600 mt-2 text-2xs lg:text-xs xl:text-sm",children:"با کلیک بر روی هر انتخاب پایش می توانید گزارش های مربوط به آن پذیرش را دریافت نمایید."}),w.jsxs("form",{className:"flex flex-col md:flex-row gap-4 mt-8 justify-between items-center md:!mx-auto lg:w-[450px] mb-4 lg:mb-6",onSubmit:c(fe),children:[w.jsx(Oa,{label:"کد ملی :",questionKey:"6620",containerClassName:"!flex-row rounded md:!w-[328px] !gap-5 group",className:"flex-1",icon:w.jsx("img",{src:dc}),watch:u,errors:d,register:s}),w.jsx(er,{title:"جستجو",className:"!gap-2 !shadow-sm !bg-[#f7f7f7] !text-black !border-success hover:!bg-success hover:!text-white transition-all !w-[94px] md:h-[28px] xl:h-[34px]",type:"submit",icon:w.jsx(t0,{className:"text-sm lg:text-xl"}),loading:g})]}),re?.length?w.jsx(Za,{selectable:!0,className:kw.table,columns:_w,rows:re?.map((j,Y)=>[(p-1)*C+Y+1,j.fn,Ha(j.tarikh_paziresh).locale("fa").format("YYYY/MM/DD"),j.list_khadamat,w.jsx(er,{onClick:()=>z(j,Y),variant:"text",title:"انتخاب",className:"!w-full !bg-white !m-auto !py-1.5 group-hover:!bg-success group-hover:!text-white",loading:x&&Y==b},"entekhab"+Y)]),onSelect:j=>z(re[j],j),pagination:!0,setPage:m,tableSize:C,tableSizes:qa,setTableSize:D,page:p}):null]})}),w.jsxs(Ja,{title:"خدمات دریافتی",className:" h-[35vh] relative",children:[i?w.jsx("img",{src:i.src,className:"absolute right-0 h-full top-0 z-10 "+i.className,alt:""}):null,N?w.jsxs("div",{className:"flex flex-col gap-7 md:gap-2 lg:gap-4 z-20",children:[w.jsx("p",{className:"font-400 text-xs lg:text-sm",children:"برای چاپ گزارش مورد نظر ، لطفا روی گزارش مربوطه کلیک کنید ."}),w.jsx("div",{className:"grid grid-cols-1 md:grid-cols-2 w-full z-20",children:a?.map(j=>Ow(N[1576563125067],j.id.split(","))?w.jsxs("div",{className:"flex h-10 w-full items-center gap-3 self-start lg:h-14 cursor-pointer shadow-formItem",onClick:()=>j.print(N,re[b]),onMouseEnter:Y=>Y.currentTarget.style.background="#EAFFFF",onMouseLeave:Y=>Y.currentTarget.style.background=j.color,style:{background:j.color},children:[w.jsx("span",{className:"h-10 w-10 p-2 shadow-inner lg:h-14 lg:w-14",children:w.jsx(Sw,{size:S=="desktop"?32:20,color:"#5E5E5E"})}),w.jsx("span",{className:"font-700 text-xs lg:text-sm",children:j.title})]},j.id):null)})]}):w.jsxs("div",{className:"flex flex-col items-center h-full justify-center self-end overflow-auto",children:[w.jsx("strong",{className:"font-800 text-xs lg:text-sm xl:text-base",children:"هیچ موردی برای نمایش وجود ندارد."}),w.jsx("p",{className:"font-500 mt-4 text-2xs lg:text-xs xl:text-sm",children:"یکی از رکوردها را برای نمایش پس از وارد کردن کد ملی انتخاب کنید"})]})]})]})}const Ow=(e,t)=>{let n=!1;for(let a in e)if(t.includes(e[a][20336].id)){n=!0;break}return n},zs=[{value:"1498898677099",label:"قرص استامینوفن 325 میلی گرم"},{value:"1499174277166",label:"قرص استامینوفن 500 میلی گرم"},{value:"1499174361912",label:"شیاف استامینوفن 125 میلی گرم"},{value:"1499174807366",label:"قرص آتوروستاتین 20 میلی گرم"},{value:"1499174866314",label:"قرص آتوروستاتین 40 میلی گرم "},{value:"1499174906521",label:"قرص آتوروستاتین 10 میلی گرم "},{value:"1499174955353",label:"قرص آتوروستاتین 80 میلی گرم "},{value:"1499174988762",label:"قرص آسپرین جویدنی 100 میلی گرم"},{value:"1499175188299",label:"قرص آسپرین ۱۰۰ میلی گرم "},{value:"1499175483813",label:"قرص آسپرین ۳۲۵ میلی گرم "},{value:"1499175594596",label:"قرص جوشان آسپرین ۳۲۵ میلی گرم "},{value:"1499175671549",label:"شیاف آسپرین ۳۲۵ میلی گرم"},{value:"1499175732967",label:"قرص آسپرین ۳۲۵ میلی گرم"},{value:"1499175871026",label:"قرص آسپرین ۵۰۰ میلی گرم"},{value:"1499175908743",label:"قرص آسپرین ۷۵ میلی گرم"},{value:"1631439285829",label:"قرص فاویپیراویر 200 میلی گرم"},{value:"1499175958571",label:"قرص آسپرین ۸۰ میلی گرم "},{value:"1499176047333",label:"قرص آسپرین کدیین"},{value:"1499217607259",label:"قرص متفورمین 500 میلی گرم"},{value:"1499227109032",label:"قرص آتنولول 100 میلی گرم "},{value:"1499227215916",label:"قرص آتنولول 50 میلی گرم "},{value:"1499227290040",label:"قرص آتنولول 25 میلی گرم"},{value:"1499227703515",label:"قرص سرماخوردگی بزرگسال"},{value:"1499229067874",label:"قرص کاپتوپریل 25 میلی گرم"},{value:"1499229174173",label:"قرص کاپتوپریل 50 میلی گرم"},{value:"1499229296815",label:"کپسول لوزارتان 20 میلی گرم"},{value:"1499229406518",label:"قرص لوزارتان 100 میلی گرم"},{value:"1499229456747",label:"قرص لوزارتان 50 میلی گرم "},{value:"1499229498260",label:"قرص لوزارتان 25 میلی گرم "},{value:"1499229589898",label:"قرص متوپرولول 190 میلی گرم "},{value:"1499229761617",label:"قرص متوپرولول 23.75 میلی گرم "},{value:"1499229815119",label:"قرص متوپرولول 47.5 میلی گرم "},{value:"1499229890563",label:"قرص متوپرولول 95 میلی گرم "},{value:"1499229946285",label:"قرص متوپرولول 100 میلی گرم "},{value:"1499230049269",label:"قرص متوپرولول 200 میلی گرم "},{value:"1499230112613",label:"قرص متوپرولول 50 میلی گرم "},{value:"1499230178854",label:"آمپول متوپرولول "},{value:"1499230321898",label:"آمپول پردنیزولون 10 میلی گرم"},{value:"1499230543074",label:"قرص پردنیزولون 5 میلی گرم "},{value:"1499230596249",label:"قرص پردنیزولون فورت 50 میلی گرم "},{value:"1499231067109",label:"کپسول امپرازول 20 میلی گرم "},{value:"1499231162222",label:"کپسول امپرازول 40 میلی گرم"},{value:"1499231313568",label:"قرص جوشان رانیتیدین 150 میلی گرم "},{value:"1499231365840",label:"سافت ژل رانیتیدین"},{value:"1499231458604",label:"قرص رانیتیدین 150 میلی گرم "},{value:"1499231509808",label:"قرص جوشان رانیتیدین 300 میلی گرم "},{value:"1499231585606",label:"قرص رانیتیدین 300 میلی گرم "},{value:"1499231646556",label:"آمپول رانیتیدین 50 میلی گرم در 2 میلی لیتر"},{value:"1499232233692",label:"آمپول رانیتیدین 50 میلی گرم در 50 میلی لیتر "},{value:"1499232350188",label:"آمپول رانیتیدین 50 میلی گرم در 5 میلی لیتر "},{value:"1499232433781",label:"شربت رانیتیدین 75 میلی گرم در 5 میلی لیتر 100 سی سی "},{value:"1499232756719",label:"شربت رانیتیدین 75 میلی گرم در 5 میلی لیتر 150 سی سی "},{value:"1499232833355",label:"شربت رانیتیدین 75 میلی گرم در 5 میلی لیتر 200 سی سی "},{value:"1499232917619",label:"شربت رانیتیدین 75 میلی گرم در 5 میلی لیتر 240 سی سی "},{value:"1499232982241",label:"شربت رانیتیدین 75 میلی گرم در 5 میلی لیتر 300 سی سی "},{value:"1499233064464",label:"سوسپانسیون ایبوپروفن 100 میلی گرم در 5 میلی لیتر 500 سی سی "},{value:"1499236904653",label:"آمپول ایبوپروفن 10 میلی گرم در 2 میلی لیتر "},{value:"1499237011874",label:"سافت ژل ایبوپروفن 200 میلی گرم "},{value:"1499237149575",label:"قرص ایبوپروفن 200 میلی گرم "},{value:"1499237234182",label:"گرانول ایبوپروفن"},{value:"1499237410076",label:"سافت ژل ایبوپروفن 400 میلی گرم"},{value:"1631439444176",label:"رمدسیویر تزریقی 100 میلی گرم در 20 میلی لیتر"},{value:"1499237481594",label:"قرص ایبوپروفن 400 میلی گرم"},{value:"1499237565310",label:"آمپول ایبوپروفن 400 میلی گرم در 4 میلی لیتر "},{value:"1499237646705",label:"ژل موضعی ایبوپروفن 5 درصد"},{value:"1499238352655",label:"ویال ایبوپروفن 5 میلی گرم در میلی لیتر "},{value:"1499238466500",label:"گرانول ایبوپروفن 600 میلی گرم"},{value:"1637570251464",label:"قرص ویتامین دی (1000 واحد)"},{value:"1499238561325",label:"قرص ایبوپروفن 600 میلی گرم "},{value:"1499238616921",label:"قرص پیوسته رهش ایبوپروفن 800 میلی گرم "},{value:"1499238846931",label:"آمپول ایبوپروفن 800 میلی گرم در 8 میلی لیتر "},{value:"1499238923308",label:"قرص ایبوپروفن لیزین 342 میلی گرم "},{value:"1499239112433",label:"قرص ایبوپروفن لیزین 684 میلی گرم "},{value:"1637570428169",label:"فولیک اسید 1 میلی گرم"},{value:"1499244581336",label:"قرص آموکسی سیلین 125 میلی گرم "},{value:"1499244702592",label:"سوسپانسیون آموکسی سیلین 125 میلی گرم در 5 میلی لیتر 100 سی سی"},{value:"1499244882135",label:"سوسپانسیون آموکسی سیلین 200 میلی گرم در 5میلی لیتر 75 سی سی"},{value:"1499245001931",label:"کپسول آموکسی سیلین 250 میلی گرم "},{value:"1499245071828",label:"قرص جویدنی آموکسی سیلین 250 میلی گرم "},{value:"1499245269516",label:"قرص جویدنی DISPERSIBLE اموکسی سیلین 250 میلی گرم "},{value:"1499249259395",label:"سوسپانسیون آموکسی سیلین 250 میلی گرم در 5 میلی لیتر 100 سی سی"},{value:"1499249391655",label:"سوسپانسیون آموکسی سیلین 400 میلی گرم در 5 میلی لیتر 75 سی سی"},{value:"1499249496139",label:"کپسول آموکسی سیلین 500 میلی گرم "},{value:"1499249562001",label:"قرص آموکسی سیلین 500 میلی گرم "},{value:"1499249621257",label:"سوسپانسیون سفیکسیم 100 میلی گرم در 5 میلی لیتر 100 سی سی"},{value:"1499249810751",label:"سوسپانسیون سفیکسیم 100 میلی گرم در 5 میلی لیتر 50 سی سی "},{value:"1499250003778",label:"سوسپانسیون sachet سفیکسیم100 میلی گرم "},{value:"1499250364212",label:"کپسول سفیکسیم 200 میلی گرم "},{value:"1499250433733",label:"قرص سفیکسیم 200 میلی گرم "},{value:"1499250488096",label:"کپسول سفیکسیم 400 میلی گرم "},{value:"1499250536178",label:"قرص سفیکسیم 400 میلی گرم "},{value:"1499250650262",label:"سوسپانسیون sachet سفیکسیم50 میلی گرم"},{value:"1499250999493",label:"قرص گلی بنکلامید 5 میلی گرم "},{value:"1499251252649",label:"آمپول انسولین انسانی بیوسنتتیک 100واحد در میلی لیتر 3 سی سی"},{value:"1499251731464",label:"ویال انسولین ایزوفان 100 واحد در میلی لیتر 5 سی سی"},{value:"1499251799544",label:"کارتریج انسولین70/30"},{value:"1499252300077",label:"انسولین آسپارتات 100 واحدی در میلی لیتر 3 سی سی"},{value:"1499490131188",label:"کارتریج انسولین70/30"},{value:"1499491742651",label:"انسولین آسپارتات 100 واحد در میلی لیتر 10 سی سی"},{value:"1499491963483",label:"انسولین آسپارتات 100 واحد در میلی لیتر 3 سی سی"},{value:"1499492026642",label:"انسولینRapid آسپارتات 100 واحد در میلی لیتر 3 سی سی"},{value:"1499492105894",label:"کارتریج انسولین بایفازیک ایزوفان 70/30 3 سی سی"},{value:"1499492198449",label:"کارتریج انسولین گلارژین 300 واحد در 3 میلی لیتر"},{value:"1499492386595",label:"انسولین گلایسین 100 واحد در 10 میلی لیتر "},{value:"1499492445496",label:"ویال انسولین گلایسین 300 واحد در 3 میلی لیتر "},{value:"1499492632896",label:"ویال انسولین NPH حیوانی 100 واحد در میلی لیتر 10 سی سی"},{value:"1499492720688",label:"ویال انسولین NPH انسانی 1000 واحد در 10 میلی لیتر "},{value:"1499492900214",label:"کارتریج انسولین ان NPH انسانی ایزوفان 100 واحد در 3 میلی لیتر"},{value:"1499495188774",label:"قرص متفورمین 1000 میلی گرم "},{value:"1499493034880",label:"ویال انسولین NPH انسانی ایزوفان 300واحد در 3 میلی لیتر "},{value:"1499493100602",label:"انسولین لیسپرو 100 واحد در میلی لیتر "},{value:"1499493182917",label:"ویال انسولین رگولار حیوانی100 واحد در میلی لیتر "},{value:"1499494371615",label:"ویال انسولین رگولار انسانی 1000 واحد در 10 میلی لیتر "},{value:"1499494998222",label:"قرص متفورمین آهسته رهش 1000 میلی گرم "},{value:"1499494446314",label:"کارتریج انسولین رگولار انسانی 100 واحد در میلی لیتر 3 سی سی "},{value:"1499494521087",label:"ویال انسولین زینک حیوانی 100 واحد در میلی لیتر "},{value:"1499494735927",label:"ویال انسولین زینک انسانی 100 واحد در میلی لیتر"},{value:"1499494786727",label:"ویال انسولین زینک 100 واحد در میلی لیتر"},{value:"1499494834848",label:"ویال انسولین بایفازیک ایزوفان 70/30 10 سی سی"},{value:"1499495257044",label:"کپسول متفورمین"},{value:"1499495323597",label:"قرص متفورمین آهسته رهش 500 میلی گرم "},{value:"1499495453010",label:"قرص SR متفورمین 750 میلی گرم "},{value:"1499495551966",label:"قرص متفورمین 750 میلی گرم "},{value:"1499495636280",label:"قرص متفورمین 850 میلی گرم "},{value:"1499495694557",label:"کپسول گاباپنتین 100 میلی گرم "},{value:"1499495783066",label:"کپسول گاباپنتین 300 میلی گرم "},{value:"1499495831687",label:"کپسول گاباپنتین 400 میلی گرم "},{value:"1499495924631",label:"قرص گاباپنتین 600 میلی گرم "},{value:"1499495975290",label:"قرص گاباپنتین 800 میلی گرم "},{value:"1637570529275",label:"فولیک اسید 5 میلی گرم"},{value:"1499496052676",label:"ژل واژینال مترونیدازول 0.75%"},{value:"1499496298522",label:"ژل موضعی مترونیدازول 0.75% "},{value:"1499496361192",label:"قرص مترونیدازول 200 میلی گرم "},{value:"1499496443801",label:"قرص مترونیدازول 250 میلی گرم "},{value:"1499496524752",label:"قرص واژینال مترونیدازول500 میلی گرم "},{value:"1499496589516",label:"شیاف واژینال مترونیدازول500 میلی گرم "},{value:"1499496670519",label:"قرص واژینال مترونیدازول500 میلی گرم "},{value:"1499496739090",label:"ویالP-BAG مترونیدازول 500 میلی گرم در 100 میلی لیتر "},{value:"1499496829145",label:"ویال P-BOTTLE مترونیدازول 500 میلی گرم در 100 میلی لیتر "},{value:"1499598730545",label:"ویال سفالوتین 1 گرم"},{value:"1499496945111",label:"سوسپانسیون مترونیدازول بنزوات 125 میلی گرم در 5 میلی لیتر 120 سی سی"},{value:"1499500468918",label:"قرص ستیریزین 10 میلی گرم "},{value:"1499500545783",label:"قرص ستیریزین 5 میلی گرم "},{value:"1499500596480",label:"شربت ستیریزین5 میلی گرم در 5 میلی لیتر 60 سی سی"},{value:"1637570562272",label:"کپسول ferrodin"},{value:"1499500661082",label:"کپسول سافت ژل ستیریزین 10 میلی گرم "},{value:"1499500905314",label:"قرص لووتیروکسین 0.025 میلی گرم "},{value:"1499500968464",label:"قرص لووتیروکسین 0.05 میلی گرم"},{value:"1499501039832",label:"قرص لووتیروکسین 0.075 میلی گرم "},{value:"1637570600184",label:"مولتی ویتامین"},{value:"1499501104569",label:"قرص لووتیروکسین 0.15 میلی گرم "},{value:"1499501168742",label:"قرص لووتیروکسین 0.1 میلی گرم "},{value:"1499501221734",label:"ویال لووتیروکسین 500 میکروگرم "},{value:"1499501661294",label:"قطره چشمی آزیترومایسین 1%"},{value:"1637570641491",label:"ویتامین سی (500 واحد)"},{value:"1499501746050",label:"قطره چشمی آزیترومایسین1.5%"},{value:"1499501830367",label:"سوسپانسیون آزیترومایسین100 میلی گرم در 5 میلی لیتر "},{value:"1499502124343",label:"سوسپانسیون آزیترومایسین200 میلی گرم در 5 میلی لیتر 15 سی سی "},{value:"1499502220249",label:"سوسپانسیون آزیترومایسین 200میلی گرم در 5 میلی لیتر 22.5 سی سی "},{value:"1499502342590",label:"سوسپانسیون آزیترومایسین 200 میلی گرم در 5 میلی لیتر 30 سی سی "},{value:"1499502432355",label:"سوسپانسیون آزیترومایسین پودر 2 گرم "},{value:"1499502536399",label:"ویال آزیترومایسین 500 میلی گرم "},{value:"1499502618743",label:"کپسول آزیترومایسین 250 میلی گرم "},{value:"1500271592652",label:"کپسول سافت ژل ناپروکسن 200 میلی گرم "},{value:"1499503016990",label:"قرص آزیترومایسین250 میلی گرم "},{value:"1499503185074",label:"کپسول آزیترومایسین 500 میلی گرم "},{value:"1499503253025",label:"قرص آزیترومایسین 500 میلی گرم "},{value:"1499581628312",label:"آمپول آمیکاسین 100 میلی گرم در 2 میلی لیتر"},{value:"1637570697449",label:"ویتامین سی (1000 واحد)"},{value:"1499581738071",label:"آمپول آمیکاسین500 میلی گرم در 2 میلی لیتر"},{value:"1499581869101",label:"قرص سدیم پارا آمینو سالیسیلات 500 میلی گرم "},{value:"1499582023489",label:"قرص سدیم آمینو سالیسیلات 500 میلی گرم "},{value:"1499582631345",label:"پماد چشمی باسیتراسین 500 واحد در گرم 3.75 گرم "},{value:"1637570735460",label:"ویتامین سی (250 واحد)"},{value:"1499584430510",label:"ویال بنزاتین پنی سیلین 600000 واحد"},{value:"1499584521070",label:"ویال بنزاتین پنی سیلین 1200000واحد"},{value:"1499584594313",label:"سوسپانسیون پنی سیلین وی بنزاتین 200000 واحد در 5 میلی لیتر"},{value:"1499585435396",label:"سوسپانسیون پنی سیلین وی بنزاتین 400000 واحد در 5 میلی لیتر "},{value:"1499585526957",label:"ویال پنی سیلین جی سدیم1000000 واحد"},{value:"1499585651594",label:"ویال پنی سیلین پتاسیم 5000000 واحد"},{value:"1499585783943",label:"ویال پنی سیلین جی سدیم 5000000 واحد"},{value:"1499586862305",label:"ویال کاپروئومایسین سولفات 1 گرم "},{value:"1500649507991",label:"Inhaler SALBUTAMOL 5mg/5ml"},{value:"1499586956509",label:"ویال کاربنی سیلین 1 گرم"},{value:"1499587042661",label:"ویال کاربنی سیلین 5 گرم"},{value:"1499587158571",label:"قرص کاربنی سیلین382 میلی گرم "},{value:"1499587319025",label:"قرص کاربنی سیلین500 میلی گرم "},{value:"1637570773894",label:"آمپول نوروبیون"},{value:"1499589820155",label:"شربت سفاکلر 125 میلی گرم در 5 میلی لیتر 100 سی سی "},{value:"1499589929523",label:"شربت سفاکلر 125 میلی گرم در 60 میلی لیتر"},{value:"1499590010957",label:"قرص سفاکلر 250 میلی گرم "},{value:"1499590073399",label:"سوسپانسیون سفاکلر250 میلی گرم در 5 میلی لیتر 100 سی سی"},{value:"1637580449753",label:"آمپول ب کمپلکس"},{value:"1499590148541",label:"شربت سفاکلر 250 میلی گرم در 5 میلی لیتر 100 سی سی"},{value:"1499590215916",label:"شربت سفاکلر 250 میلی گرم در 60 میلی لیتر "},{value:"1499590280187",label:"کپسول سفاکلر500 میلی گرم "},{value:"1499590339023",label:"قرص سفاکلر 500 میلی گرم "},{value:"1637580989445",label:"کپسول اورسوفار (300میلی گرم)"},{value:"1499590398849",label:"سوسپانسیون سفالکسین 125 میلی گرم در 5 میلی لیتر 100 سی سی"},{value:"1499597953699",label:"ساشه سفالکسین125 میلی گرم "},{value:"1499598006007",label:"کپسول سفالکسین250 میلی گرم "},{value:"1499598125111",label:"سوسپانسیون سفالکسین 250 میلی گرم در 5 میلی لیتر 100 سی سی"},{value:"1499598207829",label:"ساشه سفالکسین 250 میلی گرم"},{value:"1499598266642",label:"کپسول سفالکسین 500 میلی گرم "},{value:"1499598331841",label:"قرص سفالکسین 500 میلی گرم "},{value:"1499598394727",label:"قطره سفالکسین"},{value:"1500649554127",label:"Syrup SALBUTAMOL 2mg/5ml "},{value:"1499598783611",label:"ویال سفازولین 1 گرم"},{value:"1499599043403",label:"ویال سفازولین 250 میلی گرم "},{value:"1499599112404",label:"ویال سفازولین 500 میلی گرم "},{value:"1499599297784",label:"ویال سفپیم 1 گرم"},{value:"1500649624280",label:"Syrup SALBUTAMOL 2mg/5ml"},{value:"1499599356912",label:"ویال سفپیم 2 گرم "},{value:"1499599414025",label:"ویال سفپیم 500 میلی گرم"},{value:"1499599474136",label:"ویال سفوتاکسیم 1 گرم"},{value:"1499599630751",label:"ویال سفوتاکسیم 2 گرم"},{value:"1500649709713",label:"Tablet SALBUTAMOL 2mg"},{value:"1499599784729",label:"ویال سفوتاکسیم 500 میلی گرم "},{value:"1499600017003",label:"قرص سفپودوکسیم 100 میلی گرم "},{value:"1499600171888",label:"ویال سفرادین 1 گرم "},{value:"1499600239595",label:"ساشه سفرادین 125 میلی گرم"},{value:"1637581081972",label:"قرص اورسوفار (500 میلی گرم)"},{value:"1499600320107",label:"سوسپانسیون سفرادین 2.5 گرم"},{value:"1499600428023",label:"کپسول سفرادین 250 میلی گرم "},{value:"1499600490205",label:"ویال سفرادین 250 میلی گرم "},{value:"1499601652210",label:"ساشه سفرادین 250 میلی گرم"},{value:"1637581156248",label:"قرص اورسوبیل (250 میلی گرم)"},{value:"1499601707527",label:"سوسپانسیون سفرادین 5 گرم "},{value:"1499601841177",label:"کپسول سفرادین 500 میلی گرم "},{value:"1499601902320",label:"ویال سفرادین 500 میلی گرم "},{value:"1499602111918",label:"ویال سفتازیدیم 1 گرم "},{value:"1637581264254",label:"قرص اورسوبیل (300 میلی گرم)"},{value:"1499602242713",label:"ویال سفتازیدیم 2 گرم "},{value:"1499602296464",label:"ویال سفتازیدیم 500 میلی گرم "},{value:"1499602467753",label:"ویال سفتی زوکسیم 1 گرم "},{value:"1499602512773",label:"ویال سفتی زوکسیم 500 میلی گرم "},{value:"1637581290985",label:"قرص آلندرونیت (70 میلی گرم)"},{value:"1499602571637",label:"ویال سفتریاکسون 1 گرم "},{value:"1499602648518",label:"ویال سفتریاکسون 250 میلی گرم "},{value:"1499602696408",label:"ویال سفتریاکسون 2 گرم "},{value:"1499602748944",label:"ویال سفتریاکسون 500 میلی گرم "},{value:"1637581376296",label:"قرص فاموتیدین (20 میلی گرم)"},{value:"1499664568242",label:"قرص سفوروکسیم 125 میلی گرم "},{value:"1499664632832",label:"سوسپانسیون سفوروکسیم 125 میلی گرم در 5 میلی لیتر "},{value:"1499664698490",label:"قرص سفوروکسیم 250 میلی گرم "},{value:"1499665052890",label:"قرص سفوروکسیم 500 میلی گرم "},{value:"1637581436943",label:"قرص فاموتیدین (40 میلی گرم)"},{value:"1499665116137",label:"سوسپانسیون سفوروکسیم 250 میلی گرم در 5 میلی لیتر "},{value:"1499665186389",label:"ویال سفوروکسیم 1.5 گرم"},{value:"1499665236890",label:"ویال سفوروکسیم 250 میلی گرم "},{value:"1499665287838",label:"ویال سفوروکسیم 750 میلی گرم "},{value:"1637581562223",label:"سولفاسالازین"},{value:"1499665453533",label:"قطره چشمی کلرامفنیکل 0.5% "},{value:"1499666360594",label:"سوسپانسیون سیپروفلوکساسین 250 میلی گرم در 5 میلی لیتر 100 سی سی "},{value:"1499666482259",label:"قرص سیپروفلوکساسین 250 میلی گرم "},{value:"1499666691366",label:"قرص سیپروفلوکساسین 500 میلی گرم "},{value:"1499666976851",label:"ویال BOTTLE سیپروفلوکساسین 200 میلی گرم در 100 میلی لیتر "},{value:"1499667129223",label:"ویال P-BAG سیپروفلوکساسین 200 میلی گرم در 100 میلی لیتر "},{value:"1499667249318",label:"ویال سیپروفلوکساسین 200 میلی گرم در 20 میلی لیتر "},{value:"1499667445064",label:"سوسپانسیون کلاریترومایسین 125 میلی گرم در 5 میلی لیتر "},{value:"1499668387872",label:"قرص کلاریترومایسین 250 میلی گرم "},{value:"1499668523294",label:"سوسپانسیون کلاریترومایسین 250 میلی گرم در 5 میلی لیتر 100 سی سی "},{value:"1499668604739",label:"سوسپانسیون کلاریترومایسین 250 میلی گرم در 5 میلی لیتر 60 سی سی"},{value:"1499668669922",label:"قرص کلاریترومایسین 500 میلی گرم "},{value:"1499668815348",label:"کلیندامایسین BULK"},{value:"1499669345988",label:"قرص واژینال کلیندامایسین 100 میلی گرم "},{value:"1499669412530",label:"شیاف واژینال کلیندامایسین 100 میلی گرم "},{value:"1499669475332",label:"کپسول کلیندامایسین 300 میلی گرم "},{value:"1499669535255",label:"سوسپانسیون کلیندامایسین 32 گرم در 80 میلی لیتر "},{value:"1499669612763",label:"کپسول کلیندامایسین 150 میلی گرم "},{value:"1499669667505",label:"شربت کلیندامایسین 80 میلی لیتر "},{value:"1499669855708",label:"سوسپانسیون کلیندامایسین 75 گرم در 5 میلی لیتر 100 سی سی "},{value:"1637582776556",label:"پماد آنتی هموروئید - آنتی فیشر"},{value:"1499669938689",label:"ژل کلیندامایسین 1% 15 گرم "},{value:"1499670030034",label:"محلول موضعی کلیندامایسین 1% 60 سی سی"},{value:"1499670123837",label:"کرم واژینال کلیندامایسین 2% 40 گرم "},{value:"1499670192160",label:"آمپول کلیندامایسین 300 میلی گرم در 2 میلی لیتر "},{value:"1637583152647",label:"قرص فرفولیک"},{value:"1499670256365",label:"آمپول کلیندامایسین 600 میلی گرم در 4 میلی لیتر "},{value:"1499670450029",label:"قرص کلوفازیمین 50 میلی گرم "},{value:"1499670498992",label:"کپسول کلوفازیمین 100 میلی گرم "},{value:"1499670554236",label:"کپسول کلوفازیمین 50 میلی گرم "},{value:"1499670616636",label:"ویال کلوگزاسیلین 1 گرم "},{value:"1499670685403",label:"سوسپانسیون کلوگزاسیلین 2.5 گرم "},{value:"1499670746886",label:"کپسول کلوگزاسیلین 250 میلی گرم "},{value:"1499670831675",label:"ویال کلوگزاسیلین 250 میلی گرم "},{value:"1637583198480",label:"قرص مایفورتیک (360 میلی گرم)"},{value:"1499670907547",label:"کپسول کلوگزاسیلین 500 میلی گرم "},{value:"1499670973669",label:"ویال کلوگزاسیلین 500 میلی گرم "},{value:"1499671257552",label:"آمپول کولیستین 1000000 واحد"},{value:"1499671312964",label:"قرص کولیستین 1500000 واحد"},{value:"1637583305829",label:"قرص پنتوپرازول 20 میلی گرم"},{value:"1499671361824",label:"سوسپانسیون کولیستین 2500000واحد در 5 میلی لیتر "},{value:"1499671597418",label:"قرص کوتریموکسازول اطفال 100/20 میلی گرم "},{value:"1499671665036",label:"سوسپانسیون کوتریموکسازول 100 میلی گرم "},{value:"1499671877948",label:"قرص کوتریموکسازول بزرگسالان 400/80 میلی گرم "},{value:"1637583451657",label:"قرص پنتوپرازول 40 میلی گرم"},{value:"1499671947287",label:"آمپول کوتریموکسازول 400/80 میلی گرم در 5 میلی لیتر "},{value:"1499672024581",label:"قرص کوتریموکسازول بزرگسالان 800/160 میلی گرم "},{value:"1499672490526",label:"کپسول سیکلوسرین 250 میلی گرم "},{value:"1499672549250",label:"قرص سیکلوسرین 250 گرم "},{value:"1637583469801",label:"قرص پروگراف 0.5 میلی گرم"},{value:"1499672678464",label:"قرص داپسون 100 میلی گرم "},{value:"1499672730777",label:"قرص داپسون 50 میلی گرم "},{value:"1499672881576",label:"کپسول دمکلوسیکلین 150 میلی گرم "},{value:"1499674149124",label:"قرص داکسی سیکلین 200 میلی گرم "},{value:"1637583523360",label:"قرص پروگراف 1 میلی گرم"},{value:"1499674195763",label:"آمپول داکسی سیکلین "},{value:"1499674249200",label:"قرص داکسی سیکلین 100 میلی گرم "},{value:"1499674303801",label:"کپسول داکسی سیکلین 100 میلی گرم "},{value:"1499674449817",label:"سوسپانسیون داکسی سیکلین 5 میلی گرم در میلی لیتر 60 سی سی "},{value:"1637583544896",label:"قرص مبورین (135 میلی گرم)"},{value:"1499674543192",label:"سوسپانسیون اریترومایسین 125 میلی گرم در 5 میلی لیتر "},{value:"1499675056612",label:"قرص اریترومایسین 500 میلی گرم "},{value:"1499675107913",label:"قرص جویدنی اریترومایسین 200 میلی گرم "},{value:"1499676049390",label:"قرص اریترومایسین 200 میلی گرم "},{value:"1637583673857",label:"کپسول مبورین 200 میلی گرم"},{value:"1499676120420",label:"سوسپانسیون اریترومایسین 200 میلی گرم در 5 میلی لیتر 100 سی سی "},{value:"1499676234637",label:"قرص اریترومایسین 400 میلی گرم "},{value:"1499676297460",label:"ویال اریترومایسین 1 گرم "},{value:"1499676346860",label:"ویال اریترومایسین 500 میلی گرم در 10 میلی لیتر "},{value:"1499676403392",label:"قرص اریترومایسین 250 میلی گرم "},{value:"1499676448944",label:"قرص اریترومایسین 500 میلی گرم "},{value:"1499676506946",label:"اریتروایسین BULK"},{value:"1499676798041",label:" قرص اتامبوتول 400 میلی گرم "},{value:"1637583730226",label:"قرص هماتینیک"},{value:"1499677000684",label:"قرص اتیونامید 250 میلی گرم"},{value:"1499677165338",label:"قطره چشمی گاتی فلوکساسیند 3% 5 میلی لیتر "},{value:"1499681560802",label:"قرص جمی فلوکساسین 320 میلی گرم "},{value:"1499681923685",label:"پماد جنتامایسین 1%"},{value:"1637583814613",label:"کپسول هماتینیک"},{value:"1499682381992",label:"ایمپلنت جنتامایسین 10X10 سانتی متر"},{value:"1499682441339",label:"آمپول جنتامایسین 20 میلی گرم در 2 میلی لیتر "},{value:"1499682515927",label:"جنتامایسین BEAD"},{value:"1499682672247",label:"آمپول جنتامایسین 40 میلی گرم در میلی لیتر"},{value:"1535441659930",label:"آمپول دگزامتازون8میلی گرم"},{value:"1499682738351",label:"ایمپلنت جنتامایسین 5X5 سانتی متر "},{value:"1499682798006",label:"آمپول جنتامایسین 80 میلی گرم در 2 میلی لیتر "},{value:"1499683365516",label:"ویال ایمی پنم+سیلاستاتین (250 + 250 ) میلی گرم "},{value:"1499683433812",label:"ویال ایمی پنم+سیلاستاتین (500 + 500 ) میلی گرم "},{value:"1499683680783",label:"ویال ایمی پنم+سیلاستاتین (750 + 750 ) میلی گرم "},{value:"1499683852533",label:"قرص ایزونیازید 100 میلی گرم "},{value:"1499683921404",label:"قرص ایزونیازید 300 میلی گرم "},{value:"1499684065100",label:"آمپول ایزونیازید 500 میلی گرم "},{value:"1499684763895",label:"کپسول کانامایسین 250 میلی گرم"},{value:"1499684960540",label:"قرص لووفلوکساسین 250 میلی گرم"},{value:"1499685018818",label:"قرص لووفلوکساسین 500 میلی گرم "},{value:"1499685089879",label:"ویال لووفلوکساسین 500 میلی گرم در 100 میلی لیتر"},{value:"1637584039998",label:"قرص پروپرانولول 40 میلی گرم"},{value:"1499685195479",label:"آمپول لووفلوکساسین 500 میلی گرم در 20 میلی لیتر"},{value:"1499685327519",label:"قطره چشمی لووفلوکساسین 5 میلی گرم در میلی لیتر 0.5 سی سی"},{value:"1499687544668",label:"قطره چشمی لووفلوکساسین 5 میلی گرم در میلی لیتر 5 سی سی"},{value:"1499687616171",label:"قرص لووفلوکساسین 750 میلی گرم "},{value:"1499687799440",label:"محلول لینه زولید 2 میلی گرم در میلی لیتر 300 سی سی "},{value:"1499688032807",label:"قرص لینه زولید 400 میلی گرم "},{value:"1499688090550",label:"آمپول لینه زولید 600 میلی گرم "},{value:"1499688157412",label:"قرص لینه زولید 600 میلی گرم "},{value:"1637583848603",label:"قرص پروپرانولول 10 میلی گرم"},{value:"1499688312522",label:"کرم مافناید 30 گرم "},{value:"1499688423576",label:"ویال مروپنم 1 گرم "},{value:"1499688466442",label:"ویال مروپنم 500 میلی گرم "},{value:"1499688870850",label:"قرص متنامین 500 میلی گرم "},{value:"1535462377260",label:"پماد مومتازون0.1% 30 گرمی"},{value:"1499689075589",label:"کپسول مینوسیکلین 100 میلی گرم "},{value:"1499689130179",label:"قرص مینوسیکلین 100 میلی گرم "},{value:"1499689193231",label:"کپسول مینوسیکلین 50 میلی گرم "},{value:"1499689251952",label:"قرص مینوسیکلین 50 میلی گرم "},{value:"1637583997389",label:"قرص پروپرانولول 20 میلی گرم"},{value:"1499749435143",label:"قطره چشمی موکسی فلوکساسین 0.5% میلی لیتر"},{value:"1499749531832",label:"قرص موکسی فلوکساسین 400 میلی گرم "},{value:"1499749637057",label:"پماد موپیروسین 2% 10 گرم "},{value:"1499749743166",label:"پماد موپیروسین 2% 15 گرم "},{value:"1499749804188",label:"پماد NASAL موپیروسین 3 گرم "},{value:"1499750283594",label:"پماد NASAL موپیروسین 2% "},{value:"1499750443620",label:"ویال نافسیلین 1000 میلی گرم "},{value:"1499750491415",label:"ویال نافسیلین 500 میلی گرم "},{value:"1638092399440",label:"قرص دیابزید ۳۰ میلی گرم"},{value:"1499750634101",label:"قرص نالیدیکسیک اسید 500 میلی گرم "},{value:"1499750684241",label:"سوسپانسیون نالیدیکسیک اسید 60 میلی گرم در میلی لیتر 120 سی سی "},{value:"1499750754966",label:"شربت نئومایسین 125 میلی گرم در 5 میلی لیتر 480 سی سی "},{value:"1499750882495",label:"قرص نئومایسین 500 میلی گرم "},{value:"1638092592526",label:"قرص دیابزید ۶۰ میلی گرم"},{value:"1499751043730",label:"کرم نیتروفورازون 0.2 % 30 گرم "},{value:"1499751243458",label:"قرص نورفلوکساسین 400 میلی گرم "},{value:"1499751376352",label:"قطره گوشی افلوکساسین 0.30 % "},{value:"1499751466772",label:"قرص افلوکساسین 100 میلی گرم "},{value:"1638092643517",label:"قرص دیابزید ۸۰ میلی گرم"},{value:"1499751527018",label:"قرص افلوکساسین 200 میلی گرم "},{value:"1499751622192",label:"قرص افلوکساسین 300 میلی گرم "},{value:"1499751682459",label:"قرص افلوکساسین 400 میلی گرم "},{value:"1499751832912",label:"کپسول اکسی تتراسیکلین 250 میلی گرم "},{value:"1638092682594",label:"نا مشخص"},{value:"1499751905209",label:"آمپول اکسی تتراسیکلین 250 میلی گرم در 2 میلی لیتر "},{value:"1499751966551",label:"ویال اکسی تتراسیکلین 500 میلی گرم "},{value:"1499752075474",label:"ویال پنی سیلین وی 600 میلی گرم "},{value:"1499752156259",label:"سوسپانسیون پنی سیلین وی 250 میلی گرم در 5 میلی لیتر "},{value:"1638092745372",label:"شیاف گلیسیرین"},{value:"1499752232361",label:"سوسپانسیون پنی سیلین وی 125 میلی گرم در 5 میلی لیتر "},{value:"1499752302904",label:"قرص پنی سیلین وی 500 میلی گرم "},{value:"1499753129086",label:"ویال پیپراسیلین 1 گرم "},{value:"1499753304938",label:"ویال پیپراسیلین 2 گرم "},{value:"1638092810497",label:"قرص لوکسیم ۲۰ میلی گرم"},{value:"1499753466297",label:"ویال پلی میکسین بی سولفات 500000 واحد"},{value:"1499753536266",label:"ویال پنی سیلین پروکائین 1000000 واحد "},{value:"1499753605584",label:"ویال پنی سیلین پروکائین 400000 واحد "},{value:"1499753667370",label:"ویال پنی سیلین پروکائین 800000 واحد "},{value:"1638092880039",label:"قرص لوکسیم ۴۰ میلی گرم"},{value:"1499753935603",label:"قرص پیرازین آمید 500 میلی گرم "},{value:"1499754250500",label:"کپسول ریفابوتین 150 میلی گرم "},{value:"1499754546761",label:"کپسول ریفامپین 150 میلی گرم "},{value:"1499754744294",label:"قطره خوراکی ریفامپین 153 میلی گرم در میلی لیتر "},{value:"1638092909819",label:"قرص کلیدینیوم سی"},{value:"1499754899691",label:"شربت ریفامپین 60 میلی لیتر "},{value:"1499755178511",label:"کپسول ریفامپین 300 میلی گرم "},{value:"1499755282294",label:"ویال ریفامپین 600 میلی گرم "},{value:"1499755501113",label:"قرص ریفاکسیمین 200 میلی گرم "},{value:"1535383004445",label:"آمپول بتامتازون ال آ امیلی لیتر"},{value:"1499755592224",label:"قرص ریفاکسیمین 550 میلی گرم "},{value:"1499755911577",label:"ویال اسپکتینومایسین 2 گرم "},{value:"1499756027517",label:"قرص اسپیرامایسین 1500000 واحد"},{value:"1499756086626",label:"قرص اسپیرامایسین 300000 واحد"},{value:"1535383148892",label:"نا مشخص"},{value:"1499756139305",label:"کپسول اسپیرامایسین 500 میلی گرم "},{value:"1499756199907",label:"قرص اسپیرامایسین 500 میلی گرم "},{value:"1499756311244",label:"ویال استرپتومایسین 1 گرم "},{value:"1499756458862",label:"قطره چشمی سولفاستامید 10% 10 سی سی "},{value:"1499756517861",label:"قطره چشمی سولفاستامید 20% 10 سی سی "},{value:"1499756704735",label:"قرص سولفادیازین 500 میلی گرم "},{value:"1499756857164",label:"کرم سیلور سولفادیازین 10 میلی گرم در گرم 30 گرم "},{value:"1499756928558",label:"کرم سیلور سولفادیازین 10 میلی گرم در گرم 500 گرم "},{value:"1499757005019",label:"کرم سیلور سولفادیازین 10 میلی گرم در گرم 50 گرم "},{value:"1499757176594",label:"ویال تیکوپلانین 200 میلی گرم "},{value:"1499757271927",label:"ویال تیکوپلانین 400 میلی گرم "},{value:"1499757443870",label:"کپسول تلیترومایسین 400 میلی گرم "},{value:"1499757574193",label:"کپسول تتراسیکلین 250 میلی گرم "},{value:"1499757849391",label:"پماد تتراسیکلین 3% "},{value:"1499757999168",label:"پماد چشمی توبرامایسین 0.3% "},{value:"1499758093200",label:"آمپول توبرامایسین 100 میلی گرم در 2 میلی لیتر "},{value:"1499758196987",label:"آمپول توبرامایسین 10 میلی گرم در میلی لیتر 2 سی سی "},{value:"1499758264428",label:"اینهالر توبرامایسین 28 میلی گرم "},{value:"1499759037202",label:"نبولایز توبرامایسین 300 میلی گرم در 4 میلی لیتر "},{value:"1499759109198",label:"آمپول توبرامایسین 300 میلی گرم در 5 میلی لیتر "},{value:"1499759170503",label:"نبولایز توبرامایسین 300 میلی گرم در 5 میلی لیتر "},{value:"1499759309593",label:"آمپول توبرامایسین 40 میلی گرم در میلی لیتر "},{value:"1499759401460",label:"آمپول توبرامایسین 40 میلی گرم در میلی لیتر 2 سی سی "},{value:"1499759500627",label:"آمپول توبرامایسین 75 میلی گرم در 1.5 میلی لیتر "},{value:"1499760620068",label:"آمپول توبرامایسین 80 میلی گرم در میلی لیتر 2 سی سی "},{value:"1499760760170",label:"قرص تری متوپریم 100 میلی گرم "},{value:"1499760818643",label:"ویال ونکومایسین 1 گرم "},{value:"1499760927857",label:"کپسول ونکومایسین 250 میلی گرم "},{value:"1499761009850",label:"ویال ونکومایسین 500 میلی گرم "},{value:"1499761078642",label:"سوسپانسیون ونکومایسین 500 میلی گرم در 6 میلی لیتر 120 سی سی "},{value:"1499762000978",label:"نیترات نقرهBULK"},{value:"1499762056659",label:"سوسپانسیون کوآموکسی کلاو 156 میلی گرم "},{value:"1499771447217",label:"ساشه کوآموکسی کلاو 156 میلی گرم "},{value:"1499771506918",label:"سوسپانسیون کوآموکسی کلاو 228 میلی گرم در 5 میلی لیتر "},{value:"1499771606265",label:"سوسپانسیون کوآموکسی کلاو 312 میلی گرم "},{value:"1499771674517",label:"ساشه کوآموکسی کلاو 312 میلی گرم "},{value:"1499771731508",label:"قرص کوآموسی کلاو 375 میلی گرم "},{value:"1499771789690",label:"سوسپانسیون کوآموکسی کلاو 457 میلی گرم در 5 میلی لیتر"},{value:"1499771885416",label:"قرص DISPERSIBLE کوآموکسی کلاو 625 میلی گرم "},{value:"1499771944057",label:"قرص کوآموکسی کلاو 625 میلی گرم "},{value:"1499772089256",label:"سوسپانسیون کوآموکسی کلاو 643 میلی گرم در 5 میلی لیتر"},{value:"1499772160290",label:"ویال پنی سیلین 6-3-3 "},{value:"1499772299099",label:"قطره گوشی پلی میکسین ان اچ"},{value:"1499772350024",label:"قطره چشمی پلی میکسین "},{value:"1499772569393",label:"کرم واژینال تریپل سولفا 78 گرم"},{value:"1535462466510",label:"پماد مومتازون0.1%"},{value:"1499772626324",label:"قرص واژینال تریپل سولفا"},{value:"1499772870736",label:"کپسول کلرامفنیکل 250 میلی گرم "},{value:"1499772943674",label:"سوسپانسیون کلرامفنیکل 150 میلی گرم در 5 میلی لیتر"},{value:"1499773024638",label:"ویال کلرامفنیکل 1 گرم"},{value:"1499773209008",label:"قطره چشمی سیپروفلوکساسین 0.3%"},{value:"1499773307930",label:"پماد چشمی سیپروفلوکساسین 0.3% "},{value:"1499773375432",label:"پماد چشمی جنتامایسین 3 میلی گرم در گرم 3 گرم"},{value:"1499773533860",label:"قطره چشمی جنتامایسین 3 میلی گرم در میلی لیتر"},{value:"1499773689250",label:"پماد چشمی تتراسیکلین 1% 3 گرم "},{value:"1499773747335",label:"پماد چشمی اریترومایسین 0.5% 3 گرم"},{value:"1499773817529",label:"ویال آمپی سیلین+سولباکتام 1/0.5 گرم"},{value:"1499773906312",label:"ویال آمپی سیلین+سولباکتام 2/1 گرم"},{value:"1499839036988",label:"آمپول آدالیمومب 40 میلی گرم در 0.8 میلی گرم "},{value:"1499839870039",label:"آمپول آلفنتانیل 0.5 میلی گرم در میلی لیتر 10 سی سی "},{value:"1499839938840",label:"آمپول آلفنتانیل 0.5 میلی گرم در میلی لیتر 2 سی سی "},{value:"1499840011656",label:"آمپول آلفنتانیل 0.5 میلی گرم در میلی لیتر 5 سی سی "},{value:"1499840359794",label:"سرنگ آماده تزریق آناکینرا 100 میلی گرم "},{value:"1499840938659",label:"دهان شویه بنزیدامین 0.15% 120 سی سی "},{value:"1499842488939",label:"دهان شویه بنزیدامین 0.15% 240 سی سی "},{value:"1499842879699",label:"قطره برومفناک 0.09% "},{value:"1499843369136",label:"آمپول بوپرنورفین 0.3 میلی گرم در میلی لیتر "},{value:"1499843714497",label:"قرص زیر زبانی بوپرنورفین 0.4 میلی گرم "},{value:"1499843754084",label:"قرص بوپرنورفین 15 میلی گرم "},{value:"1499843804168",label:"قرص زیر زبانی بوپرنورفین 2 میلی گرم "},{value:"1499843865608",label:"قرص زیر زبانی بوپرنورفین 8 میلی گرم "},{value:"1499843936375",label:"کپسول سلکوکسیب 100 میلی گرم "},{value:"1499844044916",label:"کپسول سلکوکسیب 200 میلی گرم "},{value:"1499844121781",label:"قرص کدئین 10 میلی گرم "},{value:"1499844256943",label:"قرص کدئین 30 میلی گرم "},{value:"1499844311786",label:"قرص دیکلوفناک 50 میلی گرم "},{value:"1499844443195",label:"شیاف دیکلوفناک 100 میلی گرم"},{value:"1499845170904",label:"قرص پوشش روده ای دیکلوفناک 25 میلی گرم "},{value:"1501047069130",label:"کتوکونازول BULK"},{value:"1499845621140",label:"قرص پوشش روده ای دیکلوفناک 50 میلی گرم "},{value:"1499845947732",label:"شیاف دیکلوفناک 50 میلی گرم "},{value:"1499846012447",label:"قرص دیکلوفناک پیوسته رهش 75 میلی گرم "},{value:"1499846104814",label:"آمپول دیکلوفناک 75 میلی گرم در 3 میلی لیتر "},{value:"1499846162956",label:"کپسول دیکلوفناک 100 میلی گرم "},{value:"1499846270532",label:"قرص دیکلوفناک 100 میلی گرم "},{value:"1499846886665",label:"ویال اتانرسپت 25 میلی گرم "},{value:"1499846943787",label:"سرنگ آماده تزریق اتانرسپت 50 میلی گرم"},{value:"1499847003868",label:"ویال اتانرسپت 50 میلی گرم"},{value:"1499847131990",label:"کپسول اتودولاک 300 میکرو گرم "},{value:"1499847177777",label:"قرص اتودولاک 400 میکروگرم"},{value:"1499847338841",label:"قرص اتودولاک 600 میلی گرم "},{value:"1501047943887",label:"ویال میکامین (میکافوژین) 50 میلی گرم "},{value:"1499847505778",label:"پچ فنتانیل100 میکروگرم "},{value:"1499847552391",label:"پچ فنتانیل 25 میکروگرم"},{value:"1499847931823",label:"پچ فنتانیل 50 میکروگرم"},{value:"1499848052570",label:"پچ فنتانیل 75 میکروگرم"},{value:"1535462534426",label:"کرم مومتازون100 گرم"},{value:"1499848113183",label:"آمپول فنتانیل 50 میکروگرم در یلی لیتر 10 سی سی"},{value:"1499848199561",label:"آمپول فنتانیل 50 میکروگرم در میلی لیتر 2 سی سی"},{value:"1499848279198",label:"آمپول فنتانیل 50 میکروگرم در میلی لیتر 5 سی سی "},{value:"1500111081366",label:"قطره چشمی ایندومتاسین 1%"},{value:"1535462620100",label:"نا مشخص"},{value:"1500111159505",label:"شیاف ایندومتاسین 100 میلی گرم "},{value:"1500111260799",label:"سوسپانسیون ایندومتاسین 100 میلی گرم "},{value:"1500111345622",label:"کپسول ایندومتاسین 25 میلی گرم "},{value:"1500111421240",label:"شیاف ایندومتاسین 50 میلی گرم "},{value:"1500112171545",label:"آمپول ایندومتاسین 50 میلی گرم در 2 میلی لیتر "},{value:"1500116393299",label:"قرص ایندومتاسین 75 میلی گرم SR"},{value:"1500116486976",label:"قرص ایندومتاسین 80 میلی گرم SR"},{value:"1500116753676",label:"ویال اینفلکسی مب 100 میلی گرم "},{value:"1500116966887",label:"آمپول کتوبروفن 100 میلی گرم در 2 میلی لیتر"},{value:"1500117202841",label:"قرص کتورولاک 10 میلی گرم "},{value:"1500117369015",label:"آمپول کتورولاک 10 میلی گرم در میلی لیتر "},{value:"1500117506319",label:"آمپول کتورولاک 30 میلی گرم در میلی لیتر"},{value:"1500117575214",label:"آمپول کتورولاک 60 میلی گرم در 2 میلی لیتر"},{value:"1500117654034",label:"قطره چشمی کتورولاک 0.5% 5 میلی لیتر"},{value:"1500185639367",label:"قرص لفلونوماید 100 میلی گرم "},{value:"1500185773589",label:"قرص لفلونوماید 10 میلی گرم "},{value:"1500185852162",label:"قرص لفلونوماید 20 میلی گرم "},{value:"1500185909650",label:"قرص لفلونوماید 5 میلی گرم "},{value:"1500185967975",label:"کپسول مفنامیک اسید 250 میلی گرم "},{value:"1500190674267",label:"قرص ملوکسیکام 15 میلی گرم "},{value:"1500190888611",label:"قرص ملوکسیکام 7.5 میلی گرم "},{value:"1500190950649",label:"آمپول متادون 10 میلی گرم در میلی لیتر "},{value:"1500191113156",label:"محلول خوراکی متادون 25 میلی گرم در 5 میلی لیتر 120 سی سی "},{value:"1500191468909",label:"محلول خوراکی متادون 25 میلی گرم در 5 میلی لیتر 250 سی سی "},{value:"1500191531151",label:"قرص متادون 5 میلی گرم "},{value:"1500191581423",label:"آمپول متادون 5 میلی گرم در میلی لیتر "},{value:"1500191661935",label:"شربت متادون 5 میلی گرم در 5 میلی لیتر 120 سی سی "},{value:"1500191724078",label:"شربت متادون 5 میلی گرم در 5 میلی لیتر 250 سی سی "},{value:"1500191785879",label:"قرصDISPERSIBLE متادون 20 میلی گرم "},{value:"1500191871303",label:"قرص متادون 20 میلی گرم "},{value:"1500191922581",label:"قرصDISPERSIBLE متادون 40 میلی گرم "},{value:"1500192206448",label:"قرص متادون 40 میلی گرم "},{value:"1500192266729",label:"پودر متادون"},{value:"1500192594107",label:"پماد متیل سالیسیلات 30% 30 گرم "},{value:"1500192782941",label:"محلول تزریقی مرفین 10 میلی گرم در میلی لیتر "},{value:"1500193016203",label:"آمپول مرفین 100 میلی گرم در 4 میلی لیتر "},{value:"1500193116936",label:"آمپول مرفین 500 میلی گرم در 10 میلی لیتر "},{value:"1500193195654",label:"شیاف مرفین 10 میلی گرم "},{value:"1500193827838",label:"قرص مرفین 10 میلی گرم "},{value:"1500195480370",label:"قرص نابومتون 500 میلی گرم "},{value:"1500271688522",label:"قرص ناپروکسن 200 میلی گرم "},{value:"1500271747798",label:"قرص ناپروکسن 37 میلی گرم "},{value:"1500271809440",label:"شیاف نارپروکسن 500 میلی گرم "},{value:"1500271886683",label:"قرص ناپروکسن 500 میلی گرم "},{value:"1500274474507",label:"قرص اکسی کدون 15 میلی گرم "},{value:"1500274532187",label:"قرص آهسته رهش اکسی کدون 200 میلی گرم "},{value:"1500274605212",label:"قرص اکسی کدون 30 میلی گرم "},{value:"1500275285774",label:"قرص اکسی کدون 5 میلی گرم "},{value:"1500275438201",label:"قرص پنتازوسین 50 میلی گرم "},{value:"1500275487410",label:"آمپول پنتازوسین 30 میلی گرم در میلی لیتر "},{value:"1500275624630",label:"آمپول پتیدین 100 میلی گرم در 2 میلی لیتر "},{value:"1500275692469",label:"آمپول پتیدین 25 میلی گرم در میلی لیتر 1 سی سی "},{value:"1500275770390",label:"آمپول پتیدین 50 میلی گرم در میلی لیتر "},{value:"1500277740003",label:"قرص فنازوپیریدین 100 میلی گرم "},{value:"1500277795373",label:"ژل پیروکسیکام 0.5% "},{value:"1500278071864",label:"کپسول پیروکسیکام10 میلی گرم "},{value:"1500278135582",label:"شیاف پیروکسیکام 20میلی گرم"},{value:"1500278230266",label:"آمپول پیروکسیکام 20 میلی گرم در میلی لیتر "},{value:"1500278352099",label:"ویال رمی فنتانیل1 میلی گرم "},{value:"1500278467534",label:"ویال رمی فنتانیل 2 میلی گرم "},{value:"1500278528478",label:"ویال رمی فنتانیل 5 میلی گرم "},{value:"1500280284880",label:"آمپول سوفنتانیل 10 میکروگرم در 2 میلی لیتر "},{value:"1500280351293",label:"آمپول سوفنتانیل 250 میکروگرم در 5 میلی لیتر "},{value:"1500282801030",label:"آمپول سوفنتانیل 25 میکرو گرم در 5 میلی لیتر "},{value:"1500282864183",label:"آمپول سوفنتانیل 50 میکروگرم در 10 میلی لیتر "},{value:"1500282972830",label:"قرص سولینداک 100 میلی گرم "},{value:"1500283025271",label:"قرص سولینداک 200 میلی گرم "},{value:"1500283168029",label:"قرص تولمتین 200 میلی گرم "},{value:"1500283462290",label:"سوسپانسیون ترامادول 100 میلی گرم "},{value:"1500283519593",label:"قطره ترامادول 10 میلی لیتر "},{value:"1500283571912",label:"قرص ترامادول 100 میلی گرم "},{value:"1500283642932",label:"آمپول ترامادول 100 میلی گرم در 2 میلی لیتر"},{value:"1500285041721",label:"کپسول ترامادول 20 میلی گرم "},{value:"1500285126178",label:"کپسول ترامادول 50 میلی گرم "},{value:"1500285193200",label:"قرص ترامادول 50 میلی گرم "},{value:"1500285247705",label:"آمپول ترامادول 50 میلی گرم در میلی لیتر "},{value:"1500285327607",label:"قرص آهسته رهش ترامادول 100 میلی گرم "},{value:"1500285418262",label:"قرص آهسته رهش ترامادول 200 میلی گرم"},{value:"1500285828011",label:"قرص آ سی آ"},{value:"1500286183369",label:"قرص سرماخوردگی اطفال "},{value:"1500290179785",label:"پماد منتول سالیسیلات 30 گرم "},{value:"1500357155242",label:"شربت سرماخوردگی اطفال 120 میلی لیتر"},{value:"1500357251189",label:"شربت سرماخوردگی اطفال 60 میلی گرم "},{value:"1500357300729",label:"قطره چشمی دیکلوفناک 0.1% "},{value:"1535383158807",label:"پمادچشمی بتامتازون 0.1%"},{value:"1500357380472",label:"ژل موضعی دیکلوفناک 1% "},{value:"1500358743013",label:"محلول موضعی دیکلوفناک 1.5% "},{value:"1500360882186",label:"قرص آکاربوز 100 میلی گرم "},{value:"1500360952830",label:"قرص آکاربوز 50 میلی گرم "},{value:"1500361058588",label:"قرص کلرپروپامید 250 میلی گرم "},{value:"1500361216566",label:"قرص گلی کلازید 80 میلی گرم "},{value:"1500361267161",label:"قرص گلی کلازید 30 میلی گرم "},{value:"1500361320043",label:"قرص گلی کلازید 60 میلی گرم "},{value:"1500361448815",label:"قرص گلی مپیرید 1 میلی گرم"},{value:"1500361508615",label:"قرص گلی مپیرید 2 میلی گرم "},{value:"1500361566273",label:"قرص گلی مپیرید 4 میلی گرم "},{value:"1500361680451",label:"قرص گلی پیزاید 10 میلی گرم "},{value:"1535383445656",label:"پمادجلدی بتامتازون 0.1%"},{value:"1500361742304",label:"قرص گلی پیزاید 5 میلی گرم "},{value:"1500361917956",label:"قرص میگلیتول"},{value:"1500362049247",label:"قرص ناتگلینید"},{value:"1500363147860",label:"قرص پیوگلیتازون 15 میلی گرم"},{value:"1535383600304",label:"قطره چشمی بتامتازون0.1% "},{value:"1500363208035",label:"قرص پیوگلیتازون 30 میلی گرم "},{value:"1500363316820",label:"قرص پیوگلیتازون 45 میلی گرم "},{value:"1500363419769",label:"قرص پرام لینتید"},{value:"1500363647703",label:"کپسول رپاگلیناید 0.5 میلی گرم "},{value:"1535462620457",label:"لوسیون مومتازون"},{value:"1500363700113",label:"قرص رپاگلیناید 0.5 میلی گرم "},{value:"1500363779238",label:"کپسول رپاگلیناید 1میلی گرم "},{value:"1500363865720",label:"قرص رپاگلیناید 1 میلی گرم "},{value:"1500363934923",label:"کپسول رپاگلیناید 2 میلی گرم "},{value:"1500364002285",label:"قرص رپاگلیناید 2 میلی گرم "},{value:"1500364362799",label:"قرص روزیگلیتازون 2 میلی گرم "},{value:"1500364410891",label:"قرص روزیگلیتازون 4 میلی گرم"},{value:"1500364505764",label:"قرص روزیگلیتازون 8 میلی گرم "},{value:"1500364612373",label:"قرص تولازامید 250 میلی گرم "},{value:"1500364774577",label:"قرص تولبوتامید"},{value:"1500374664329",label:"قرص آلبندازول 200 میلی گرم "},{value:"1500374725756",label:"قرص آلبندازول 400 میلی گرم"},{value:"1535383713968",label:"قطره چشمی بتامتازون ان 5 میلی لیتر"},{value:"1500374786427",label:"سوسپانسیون آلبندازول 400 میلی گرم در 10 میلی لیتر "},{value:"1500374961090",label:"قرص ایورمکتین 3 میلی گرم "},{value:"1500375273516",label:"شربت لوامیزول 40 میلی گرم در 5 میلی لیتر "},{value:"1500375341586",label:"قرص لوامیزول 50 میلی گرم "},{value:"1500375436228",label:"قرص جویدنی مبندازول 100 میلی گرم "},{value:"1500375538657",label:"کپسول نیکلوزماید 0.5 میلی گرم "},{value:"1500375589733",label:"قرص نیکلوزماید 500 میلی گرم "},{value:"1500375732656",label:"شربت پیپرازین 750 میلی گرم 5 میلی لیتر "},{value:"1500375795212",label:"قرص پیپرازین 500 میلی گرم "},{value:"1500376121435",label:"قرص پرازیکوانتل 600 میلی گرم "},{value:"1500376174040",label:"کپسول پرازیکوانتل 500 میلی گرم "},{value:"1500376346655",label:"قرص پیرانتل 125 میلی گرم "},{value:"1500376396095",label:"سوسپانسیون پیرانتل 250 میلی گرم در 5 میلی لیتر "},{value:"1500376587054",label:"شربت پیروینیوم 75 میلی گرم در 5 میلی لیتر "},{value:"1500376642450",label:"قرص پیروینیوم 50 میلی گرم "},{value:"1500376694542",label:"سوسپانسیون پیروینیوم 50 میلی گرم در 5 میلی لیتر "},{value:"1500378566866",label:"قرص آمی تریپتیلین 100 میلی گرم "},{value:"1500378677787",label:"قرص آمی تریپتیلین 10 میلی گرم "},{value:"1500378720160",label:"ویال آمی تریپتیلین 10 میلی کرم در میلی لیتر "},{value:"1500378779634",label:"قرص آمی تریپتیلین 25 میلی گرم "},{value:"1500378829753",label:"قرص آمی تریپتیلین 50 میلی گرم "},{value:"1500378892146",label:"آمپول آمی تریپتیلین 50 میلی گرم در 2 میلی لیتر "},{value:"1500378948142",label:"قرص آمی تریپتیلین 75 میلی گرم "},{value:"1500439774239",label:"قرص آموکساپین"},{value:"1500439999899",label:"قرص بوپروپیون 100 میلی گرم "},{value:"1500440167393",label:"قرص بوپروپیون 75 میلی گرم "},{value:"1500440217425",label:"قرص بوپروپیون آهسته رهش 150 میلی گرم "},{value:"1500440341532",label:"قرص سیتالوپرام 20 میلی گرم "},{value:"1500440431790",label:"قرص سیتالوپرام 10 میلی گرم "},{value:"1500440542750",label:"قرص سیتالوپرام 20 میلی گرم "},{value:"1500440593214",label:"قرص سیتالوپرام 40 میلی گرم "},{value:"1500440734841",label:"قطره خوراکی سیتالوپرام 40 میلی گرم در میلی لیتر "},{value:"1500440870324",label:"کپسول کلومیپرامین 10 میلی گرم "},{value:"1500440915683",label:"قرص کلومیپرامین 10 میلی گرم "},{value:"1500440982152",label:"کپسول کلومیپرامین 25 میلی گرم "},{value:"1500441040936",label:"قرص کلومیپرامین 25 میلی گرم "},{value:"1500441552447",label:"آمپول کلومیپرامین 25 میلی گرم در 2 میلی لیتر "},{value:"1500441614178",label:"قرص کلومیپرامین 50 میلی گرم "},{value:"1500441661969",label:"قرص کلومیپرامین 75 میلی گرم "},{value:"1500441772280",label:"قرص دسیپرامین 25 میلی گرم "},{value:"1500441943724",label:"کپسول دوکسپین 10 میلی گرم "},{value:"1500441985773",label:"قرص دوکسپین 10 میلی گرم "},{value:"1500442024815",label:"کپسول دوکسپین 25 میلی گرم "},{value:"1500442071982",label:"قرص دوکسپین 25 میلی گرم "},{value:"1535383859187",label:"قطره چشمی بتامتازون 0.1% فسفات دی سدیم"},{value:"1500442115589",label:"آمپول دوکسپین 25 میلی گرم در 2 میلی لیتر "},{value:"1500442594830",label:"کپسول دولوکستین 20 میلی گرم "},{value:"1500442639617",label:"قرص دولوکستین 20 میلی گرم "},{value:"1500442688474",label:"کپسول دولوکستین 30 میلی گرم "},{value:"1500442740887",label:"کپسول دولوکستین 40 میلی گرم "},{value:"1500442786625",label:"کپسول دولوکستین 60 میلی گرم "},{value:"1500443510001",label:"قرص اس سیتالوپرام 10 میلی گرم "},{value:"1500443545892",label:"قرص اس سیتالوپرام 20 میلی گرم "},{value:"1500443596542",label:"قرص اس سیتالوپرام 5 میلی گرم "},{value:"1500443715458",label:"شربت فلوکستین 20 میلی گرم در 5 میلی لیتر"},{value:"1500443777836",label:"کپسول فلوکستین 10 میلی گرم "},{value:"1500443842239",label:"کپسول فلوکستین 20 میلی گرم "},{value:"1500443906106",label:"قرص فلوکستین 20 میلی گرم "},{value:"1500444003985",label:"قرص فلووکسامین 100 میلی گرم "},{value:"1500444044699",label:"قرص فلووکسامین 50 میلی گرم "},{value:"1500444505832",label:"قرص ایمی پرامین 10 میلی گرم "},{value:"1500444550844",label:"قرص ایمی پرامین 25 میلی گرم "},{value:"1500444593727",label:"آمپول ایمی پرامین 25 میلی گرم در 2 میلی لیتر "},{value:"1500444667302",label:"قرص ایمی پرامین 50 میلی گرم "},{value:"1500445373668",label:"قرص ایزوکربوکسی زید 10 میلی گرم "},{value:"1500445483274",label:"قرص لیتیوم 295 میلی گرم "},{value:"1500445639498",label:"قرص لیتیوم کربنات 200 میلی گرم "},{value:"1500445703272",label:"قرص لیتیوم کربنات 300 میلی گرم "},{value:"1500445810891",label:"قرص لیتیوم کربنات 400 میلی گرم "},{value:"1500445962611",label:"قرص ماپروتیلین 25 میلی گرم "},{value:"1500446012553",label:"قرص ماپروتیلین75 میلی گرم "},{value:"1500447124250",label:"قرص میرتازاپین 15 میلی گرم "},{value:"1500447171569",label:"قرص میرتازاپین 30 میلی گرم "},{value:"1500447236304",label:"قرص میرتازاپین 45 میلی گرم "},{value:"1500447446996",label:"قرص نفازودون"},{value:"1500447892090",label:"کپسول نورتریپتیلین 10 میلی گرم "},{value:"1500447959511",label:"قرص نورتریپتیلین 10 میلی گرم "},{value:"1500448006922",label:"کپسول نورتریپتیلین 25 میلی گرم "},{value:"1500448073868",label:"قرص نورتریپتیلین 25 میلی گرم "},{value:"1500448201632",label:"قرص پاروکستین 100 میلی گرم "},{value:"1500448243813",label:"قرص پاروکستین 20 میلی گرم "},{value:"1500448312531",label:"قرص پاروکستین 30 میلی گرم "},{value:"1500448868163",label:"قرص فنلزین سولفات "},{value:"1500449024427",label:"قرص پروتریپتیلین "},{value:"1500449725258",label:"کپسول سرترالین 100 میلی گرم "},{value:"1535469091840",label:"قرص هیدروکورتیزون 10 میلی گرم"},{value:"1500449789116",label:"قرص سرترالین 100 میلی گرم "},{value:"1500449851030",label:"قرص سرترالین 25 میلی گرم "},{value:"1500449905318",label:"کپسول سرترالین 50 میلی گرم "},{value:"1500449966867",label:"قرص سرترالین 50 میلی گرم "},{value:"1545640711359",label:"قطره چشمی تروپیکامید 0.5%"},{value:"1500450135474",label:" قرص ترانیل سیپرامین 10 میلی گرم "},{value:"1500450310583",label:"قرص ترازودون 100 میلی گرم "},{value:"1500450352596",label:"قرص ترازودون 50 میلی گرم "},{value:"1500450474443",label:"قرص تریمیپرامین 100 میلی گرم "},{value:"1545640883134",label:"قطره چشمی تروپیکامید 1%"},{value:"1500450522736",label:"قرص تریمیپرامین 25 میلی گرم "},{value:"1500450573050",label:"قطره خوراکی تریمیپرامین 4%"},{value:"1500450633165",label:"قرص تریمیپرامین 50 میلی گرم "},{value:"1500450754915",label:"قرص ونلافاکسین 100 میکرو گرم "},{value:"1546844905161",label:"سیکلوپنتولات 1%"},{value:"1500451349200",label:"کپسول پیوسته رهش ونلافاکسین 150 میلی گرم "},{value:"1500451447474",label:"قرص ونلافاکسین 150 میلی گرم "},{value:"1500451506446",label:"کپسول ونلافاکسین 37.5 میلی گرم "},{value:"1500451583092",label:"کپسول پیوسته رهش ونلافاکسین 37.5 میلی گرم "},{value:"1546845203831",label:"قطره چشمی سیکلوپنتولات 1%"},{value:"1500451652723",label:"قرص ونلافاکسین 37.5 میلی گرم "},{value:"1500451706642",label:"قرص ونلافاکسین 50 میلی گرم "},{value:"1500451815832",label:"کپسول ونلافاکسین 75 میلی گرم "},{value:"1500451865343",label:"کپسول پیوسته رهش ونلافاکسین 75 میلی گرم "},{value:"1546845523196",label:"قطره چشمی سیکلوپنتولات 1%"},{value:"1500451926395",label:"قرص ونلافاکسین 75 میلی گرم "},{value:"1500451969995",label:"سوسپانسیون کاربامازپین 100 میلی گرم در 5 میلی لیتر 120 سی سی"},{value:"1500459567854",label:"شربت کاربامازپین 100 میلی گرم در 5 میلی لیتر 250 سی سی "},{value:"1500459654848",label:"قرص کاربامازپین 200 میلی گرم "},{value:"1500467086921",label:"قرص کاربامازپین 300 میلی گرم "},{value:"1500467151365",label:"قرص کاربامازپین 200 میلی گرم "},{value:"1500467196006",label:"قرص کاربامازپین 400 میلی گرم "},{value:"1500649399338",label:"Inhaler SALBUTAMOL 100mcg/dose"},{value:"1500649431785",label:"Inhaler SALBUTAMOL 2.5mg/2.5ml"},{value:"1500708859990",label:"قرص کلوبازام 10 میلی گرم "},{value:"1500708953298",label:"قرص کلونازپام 0.5 میلی گرم "},{value:"1500709076279",label:"قرص کلونازپام 1 میلی گرم "},{value:"1500709128583",label:"قرص کلونازپام 2 میلی گرم "},{value:"1547356152700",label:"قطره چشمی سیکلوپنتولات 0.5 %"},{value:"1500709355076",label:" کپسول اتوسوکسیماید 100 میلی گرم "},{value:"1500709409854",label:"کپسول اتوسوکسیماید 250 میلی گرم "},{value:"1500709468175",label:"شربت اتوسوکسیماید 240 میلی گرم در 5 میلی لیتر 240 سی سی "},{value:"1500709597485",label:"قرص فلبامات 400 میلی گرم "},{value:"1547359622152",label:"قطره چشمی آتروپین سولفات 0.5%"},{value:"1500709638196",label:"قرص فلبامات 600 میلی گرم "},{value:"1500709690088",label:"محلول خوراکی لاموتریژین 10 میلی گرم در میلی لیتر "},{value:"1500709836681",label:"قرص لاموتریژین 100 میلی گرم "},{value:"1500710081692",label:"قرص لاموتریژین 200 میلی گرم "},{value:"1547359770599",label:"قطره چشمی آتروپین سولفات 1%"},{value:"1500710136958",label:"قرص لاموتریژین25 میلی گرم "},{value:"1500710191493",label:"قرص لاموتریژین 50 میلی گرم "},{value:"1500710229356",label:"قرص لاموتریژین 600 میلی گرم "},{value:"1500710816608",label:"قرص لوتیراستام 1000 میلی گرم "},{value:"1547359876994",label:"قطره چشمی هماتروپین 2%"},{value:"1500710869766",label:"کپسول لوتیراستام 250 میلی گرم "},{value:"1500710944599",label:"قرص لوتیراستام 250 میلی گرم "},{value:"1500710993347",label:"کپسول لوتیراستام 500 میلی گرم "},{value:"1500711058560",label:"قرص لوتیراستام 500 میلی گرم"},{value:"1547360055023",label:"قطره چشمی تروپیکامید 0.5%"},{value:"1500711105862",label:"آمپول لوتیراستام 500 میلی گرم در 5 میلی لیتر "},{value:"1500711169486",label:"محلول خوراکی لوتیراستام 500 میلی گرم در 5 میلی لیتر "},{value:"1500711235275",label:"قرص لوتیراستام 750 میلی گرم "},{value:"1500711433035",label:"قرص اکس کاربازپین 150 میلی گرم "},{value:"1547360198000",label:"قطره چشمی تروپیکامید 1%"},{value:"1500711501141",label:"قرص اکس کاربازپین 300 میلی گرم "},{value:"1500711560826",label:"قرص اکس کاربازپین 600 میلی گرم "},{value:"1500711618414",label:"قرص فنوباربیتال 100 میلی گرم "},{value:"1500711697174",label:"قرص فنوباربیتال 15 میلی گرم "},{value:"1557271077304",label:"قرص مزالازین 5-ASA میلی گرم 500"},{value:"1500711760428",label:"شربت فنوباربیتال 15 میلی گرم در 5 میلی لیتر "},{value:"1500712011015",label:"الگزیر فنوباربیتال 20 میلی گرم در 5 میلی لیتر 60 سی سی "},{value:"1500712050857",label:"قرص فنوباربیتال 30 میلی گرم "},{value:"1500712115263",label:"قرص فنوباربیتال 60 میلی گرم "},{value:"1557272384367",label:"شیاف مزالازین 5-ASA"},{value:"1500712195428",label:"آمپول فنوباربیتال 100 میلی گرم در میلی لیتر "},{value:"1500712280166",label:"آمپول فنوباربیتال 200 میلی گرم در میلی گرم "},{value:"1500712514766",label:"آمپول فنوباربیتال 200 میلی گرم در 2 میلی لیتر "},{value:"1500712577926",label:"قرص فنی توئین 100 میلی گرم "},{value:"1557272439254",label:"انمای مزالازین 5-ASA"},{value:"1500713181114",label:"سوسپانسیون فنی توئین 125 میلی گرم در 5 میلی لیتر "},{value:"1500713483563",label:"سوسپانسیون فنی توئین 30 میلی گرم در 5 میلی لیتر 120 سی سی "},{value:"1500713617455",label:"سوسپانسیون فنی توئین 30 میلی گرم در 5 میلی لیتر 500 سی سی "},{value:"1500714114347",label:"کرم فنی توئین 1% 30 گرم "},{value:"1557272516988",label:"قرص 6-مرکاپتوپورین"},{value:"1500714227680",label:"کپسول فنی توئین 100 میلی گرم "},{value:"1500714300094",label:"قرص فنی توئین 100 میلی گرم "},{value:"1500714348882",label:"آمپول فنی توئین 250 میلی گرم 5 میلی لیتر "},{value:"1500714408034",label:"کپسول فنی توئین 50 میلی گرم "},{value:"1557272646378",label:"قرص متوتروکسات"},{value:"1500714459451",label:"کپسول پرگابالین 100 میلی گرم "},{value:"1500714551788",label:"کپسول پرگابالین 150 میلی گرم "},{value:"1500714602203",label:"قرص پرگابالین 150 میلی گرم "},{value:"1500714648346",label:"کپسول پرگابالین 200 میلی گرم "},{value:"1557282134122",label:"کپسول سیکلوسپورین 100 میلی گرم"},{value:"1500714700247",label:"کپسول پرگابالین 225 میلی گرم "},{value:"1500714756960",label:"کپسول پرگابالین 25 میلی گرم "},{value:"1500786178258",label:"قرص پرگابالین 25 میلی گرم "},{value:"1500786252417",label:"کپسول پرگابالین 300 میلی گرم "},{value:"1535441376619",label:"شربت دگزامتازون 0.5 میلی گرم در 5میلی لیتر"},{value:"1500786311641",label:"قرص پرگابالین 300 میلی گرم "},{value:"1500786373939",label:"کپسول پرگابالین 50 میلی گرم "},{value:"1500786426331",label:"کپسول پرگابالین 75 میلی گرم "},{value:"1500786471791",label:"قرص پرگابالین 75 میلی گرم "},{value:"1501067149714",label:"اسپری بینی آزلاستین 125 میکرو گرم در 10 میلی گرم "},{value:"1500786522826",label:"سوسپانسیون پریمیدون 125 میلی گرم در 5 میلی لیتر 250 سی سی "},{value:"1500786758592",label:"قرص پریمیدون 250 میلی گرم "},{value:"1500787786668",label:"سوسپانسیون پریمیدون 250 میلی گرم در 5 میلی لیتر "},{value:"1500788289566",label:"قرص روفینامید 200 میلی گرم "},{value:"1557282184663",label:"قرص آزاتیوپرین 50 میلی گرمی"},{value:"1500788341473",label:"قرص روفینامید 400 میلی گرم "},{value:"1500788454741",label:"قرص تیاگابین 10 میلی گرم "},{value:"1500788536063",label:"قرص تیاگابین 15 میلی گرم "},{value:"1500788581000",label:"قرص تیاگابین 15 میلی گرم "},{value:"1575348813974",label:"قرص متیل فنیدات -ریتالین 10 میلی گرم"},{value:"1500788629328",label:"قرص توپیرامات 100 میلی گرم "},{value:"1500791193702",label:"قرص توپیرامات 200 میلی گرم "},{value:"1500791250184",label:"قرص توپیرامات 25 میلی گرم "},{value:"1500791307141",label:"قرص توپیرامات 50 میلی گرم "},{value:"1575349050356",label:"قرص کلونیدین"},{value:"1500791360154",label:"قرص دی والپروکس (سدیم والپروات) 125 میلی گرم "},{value:"1500791530510",label:"قرص دی والپروکس (سدیم والپروات) 250 میلی گرم "},{value:"1500791617765",label:"قرص دی والپروکس (سدیم والپروات) 500 میلی گرم "},{value:"1500791682804",label:"آمپول سدیم والپروات 100 میلی گرم در میلی لیتر "},{value:"1500791739030",label:"آمپول سدیم والپروات 100 میلی گرم در میلی لیتر 3 سی سی "},{value:"1500791846826",label:"آمپول سدیم والپروات 100 میلی گرم در میلی لیتر 5 سی سی "},{value:"1500791907920",label:"کپسول سدیم والپروات 150 میلی گرم "},{value:"1500791964792",label:"قرص سدیم والپراوت 200 میلی گرم "},{value:"1575349202658",label:"کپسول کلونیدن"},{value:"1500792008504",label:"شربت سدیم والپروات 200 میلی گرم در 5 میلی لیتر 120 سی سی "},{value:"1500792150181",label:"شربت سدیم والپروات 200 میلی گرم در 5 میلی لیتر 240 سی سی "},{value:"1500792204798",label:"شربت سدیم والپروات 200 میلی گرم در 5 میلی لیتر 300 سی سی "},{value:"1500792264918",label:"شربت سدیم والپروات 200 میلی گرم در 5 میلی لیتر 40 سی سی "},{value:"1500792330323",label:"شربت سدیم والپروات 200 میلی گرم در 5 میلی لیتر 60 سی سی "},{value:"1500792388438",label:"شربت سدیم والپروات 200 میلی گرم در میلی لیتر "},{value:"1500792468201",label:"شربت سدیم والپروات 200 میلی لیتر "},{value:"1500792595366",label:"شربت سدیم والپروات 200 میلی لیتر "},{value:"1575349243730",label:"کپسول آتوموکستین- استراترا"},{value:"1500792753116",label:"قرص سدیم والپروات 250 میلی گرم "},{value:"1500792825827",label:"کپسول پیوسته رهش سدیم والپروات 300 میلی گرم "},{value:"1500792893862",label:"قرص سدیم والپروات 300 میلی گرم "},{value:"1500792941670",label:"شربت سدیم والپروات 300 میلی گرم در 5 میلی لیتر 250 سی سی "},{value:"1575349441017",label:"قرص آریپیپرازول 5 میلی گرم"},{value:"1500793008392",label:"شربت سدیم والپروات 300 میلی گرم در میلی لیتر100 سی سی "},{value:"1500793081060",label:"قطره سدیم والپروات 300 میلی گرم در میلی لیتر "},{value:"1500793131678",label:"شربت سدیم والپروات 300 میلی لیتر "},{value:"1500793184559",label:"قرص روکش دار سدیم والپروات 400 میلی گرم "},{value:"1500793244128",label:"آمپول سدیم والپروات 400 میلی گرم "},{value:"1500793296051",label:"کپسول سدیم والپروات 500 میلی گرم "},{value:"1500793361230",label:"قرص سدیم والپروات 500 میلی گرم "},{value:"1500793436892",label:"قرص سدیم والپروات 500 میلی گرم "},{value:"1575349526144",label:"قرص لوبل 500 میلی گرم - لوتیراستام"},{value:"1500793488522",label:"قرص سدیم والپروات 50 میلی گرم "},{value:"1500793546069",label:"سافت ژل والپروئیک اسید 500 میلی گرم "},{value:"1500793699705",label:"قرص ویگاباترین"},{value:"1500793800516",label:"کپسول زونیسماید 100 میلی گرم "},{value:"1575349682000",label:"قرص ملاتونین"},{value:"1500793841417",label:"قرص زونیسماید 100 میلی گرم "},{value:"1500793891393",label:"کپسول زونیسماید 25 میلی گرم "},{value:"1500793937075",label:"کپسول زونیسماید 50 میلی گرم "},{value:"1500793980708",label:"قرص فنی توئین کامپاند"},{value:"1575349816566",label:"قرص بی پریدین 2 میلی گرمی"},{value:"1500977562649",label:"ویال آمفوتریسین-بی 100 میلی گرم در 50 میلی لیتر "},{value:"1500977626060",label:"ویال آمفوتریسین-بی 50 میلی گرم در 20 میلی لیتر"},{value:"1500977697115",label:"ویال آمفوتریسین-بی لیپوزومال"},{value:"1500977812603",label:"آمپول آنی دولافونژین"},{value:"1575349912110",label:"کپسول نالتروکسان 50 میلی گرم"},{value:"1500978689462",label:"بوتنافین موضعی"},{value:"1500978800832",label:"بوتوکونازول موضعی"},{value:"1500978881972",label:"ویال کاسپوفونژین 50 میلی گرم در 10 میلی لیتر "},{value:"1500978971334",label:"ویال کاسپوفونژین 70 میلی گرم در 10 میلی لیتر "},{value:"1501312360533",label:"قرص لوراتادین 10 میلی گرم "},{value:"1500979101531",label:"کرم سیکلوپیروکس 20 گرم "},{value:"1500979151990",label:"کرم سیکلوپیروکس 50 میلی گرم "},{value:"1500980325884",label:"کرم موضعی کلوتریمازول 1% 15 گرم "},{value:"1500980775806",label:"کرم واژینال کلوتریمازول 1% 20 گرم "},{value:"1575350012317",label:"کپسول نالتروکسان 25 میلی گرم"},{value:"1500980845530",label:"محلول موضعی کلوتریمازول 1% 20 گرم "},{value:"1500980911748",label:"کرم واژینال کلوتریمازول 1% 50 گرم "},{value:"1500980978180",label:"شیاف واژینال کلوتریمازول 100 میلی گرم "},{value:"1500981069678",label:"قرص واژینال کلوتریمازول 100 میلی گرم "},{value:"1575350066665",label:"قرص اکسی بوتینین 5 میلی گرم"},{value:"1500981128239",label:"کرم واژینال کلوتریمازول 2% "},{value:"1500981190612",label:"کرم واژینال کلوتریمازول 2% 50 گرم "},{value:"1500981246455",label:"شیاف واژینال کلوتریمازول200 میلی گرم "},{value:"1500982586826",label:"شیاف واژینال کلوتریمازول 500 میلی گرم "},{value:"1575354948735",label:"کپسول نرم امگا 3 تری گلیسرید 1000 میلی گرم"},{value:"1500982649527",label:"قرص واژینال کلوتریمازول 500 میلی گرم "},{value:"1500983028421",label:"کرم موضعی اکونازول "},{value:"1500985375200",label:"کپسول فلوکونازول 100 میلی گرم "},{value:"1500985438695",label:"قرص فلوکونازول 100 میلی گرم "},{value:"1605602418271",label:"قرص فاموتیدین 20 میلی گرم"},{value:"1500985490851",label:"ویال فلوکونازول 100 میلی گرم در 50 میلی لیتر "},{value:"1500985576617",label:"کپسول فلوکونازول 150 میلی گرم "},{value:"1500985636132",label:"قرص فلوکونازول 150 میلی گرم "},{value:"1500985685854",label:"کپسول فلوکونازول 200 میلی گرم "},{value:"1605602606029",label:"قرص فاموتیدین 40 میلی گرم"},{value:"1500985767399",label:"قرص فلوکونازول 200 میلی گرم "},{value:"1500985830221",label:"ویال فلوکونازول 200 میلی گرم در 100 میلی لیتر "},{value:"1500985885433",label:"سوسپانسیون فلوکونازول 200 میلی گرم در 5 میلی لیتر "},{value:"1500985936824",label:"ویال فلوکونازول 400 میلی گرم در 200 میلی لیتر "},{value:"1605602645510",label:"شربت برم هگزین"},{value:"1500986038467",label:"کپسول فلوکونازول 50 میلی گرم "},{value:"1500986078144",label:"قرص فلوکونازول 50 میلی گرم "},{value:"1501046390468",label:"قرص فلوسایتوسین 500 میلی گرم "},{value:"1501046484137",label:"قرص گریزئوفولوین 125 میلی گرم "},{value:"1605612612664",label:"قرص زینک"},{value:"1501046532883",label:"قرص گریزئوفولوین 500 میلی گرم "},{value:"1501046636953",label:"محلول ایتراکونازول 10 میلی گرم در میلی لیتر 150 سی سی "},{value:"1501046704249",label:"کپسول ایتراکونازول 100 میلی گرم "},{value:"1501046810900",label:"شامپو کتوکونازول 2% 1000 سی سی "},{value:"1501046861675",label:"شامپو کتوکونازول 2% 100 میلی گرم "},{value:"1501046905889",label:"کرم کتوکونازول 2% 30 گرم "},{value:"1501046969258",label:"لوسیون کتوکونازول 2% "},{value:"1501047023040",label:"قرص کتوکونازول 200 میلی گرم "},{value:"1501048818514",label:"ویال میکامین (میکافونژین) 100 میلی گرم "},{value:"1501049330672",label:"کرم موضعی میکونازول2% 30 گرم "},{value:"1501049831768",label:"کرم واژینال میکونازول 2% 45 گرم "},{value:"1501049994372",label:"قطره چشمی ناتامایسین 5% 15 سی سی "},{value:"1501050059183",label:"پماد چشمی ناتامایسین 5 گرم "},{value:"1501050191630",label:"پماد نیستاتین 100000 واحد در گرم 15 گرم "},{value:"1501050265315",label:"قطره خوراکی نیستاتین 100000 واحد در میلی لیتر "},{value:"1501050328381",label:"شربت نیستاتین 100000 واحد در میلی لیتر "},{value:"1501051802896",label:"قرص اژینال نیستاتین 100000 واحد"},{value:"1501051868788",label:"قرص نیستاتین 500000 واحد "},{value:"1501052191518",label:"کرم موضعی اکسی کونازول موضعی 1%"},{value:"1501052360123",label:"سوسپانسیون پوساکونازول 40 میلی گرم در میلی لیتر "},{value:"1501052482820",label:"کرم موضعی سرتاکونازول 2% "},{value:"1501052547403",label:"قرص واژینال سرتاکونازول 500 میلی گرم "},{value:"1501052967298",label:"کرم موضعی سولکونازول 1%"},{value:"1501053099776",label:"قرص تربینافین 250 میلی گرم "},{value:"1535384181872",label:"سوسپانسیون نبولایزر بودزوناید 0.5 میلی گرم"},{value:"1501053378856",label:"کرم واژینال ترکونازول 0.8% "},{value:"1501053438851",label:"شیاف ترکونازول 8 میلی گرم "},{value:"1501053633801",label:"پماد واژینال تیوکونازول 6.5% "},{value:"1501053833615",label:"کرم تولنفتات 1%"},{value:"1501053884944",label:"محلول موضعی تولنفتات 1% "},{value:"1501054108139",label:"قرص وریکونازول 200 میلی گرم "},{value:"1501054167317",label:"ویال وریکونازول 200 میلی گرم "},{value:"1501054225693",label:"قرص وریکونازول 50 میلی گرم "},{value:"1501055259181",label:"آمپول سدیم تیوسولفات 2.5/100 میلی گرم "},{value:"1501055335618",label:"آمپول سدیم تیوسولفات 25/100 میلی گرم "},{value:"1501055397676",label:"سدیم تیوسولفات BULK"},{value:"1501055439819",label:"آمپول سدیم تیوسولفات 1000 میلی گرم در 10 میلی لیتر "},{value:"1501055621643",label:"کپسول ایزاوکونازول "},{value:"1501055829547",label:"قرص آلوپورینول 100 میلی گرم "},{value:"1501055885842",label:"قرص آلوپورینول 300 میلی گرم "},{value:"1501056956597",label:"قرص کلشی سین 1 میلی گرم "},{value:"1501058164887",label:"قرص کلشی سین 500 میکروگرم "},{value:"1501063053562",label:"قرص پروبنسید 100 میلی گرم "},{value:"1501063243902",label:"قرص پروبنسید 500 میلی گرم "},{value:"1501063456644",label:"قرص سولفین پیرازون 200 میلی گرم "},{value:"1501063658954",label:"ویال راسبوری کیس 1.5 میلی گرم "},{value:"1501064285917",label:"قرص فبوکسوستات 40 میلی گرم "},{value:"1501064360616",label:"قرص فبوکسوستات 80 میلی گرم "},{value:"1501064575203",label:"ویال پگلوتیکاز 8 میلی گرم در میلی لیتر "},{value:"1501067203757",label:"اسپری بینی آزلاستین 140 میکروگرم در 10 میلی لیتر "},{value:"1501305803859",label:"محلول خوراکی کاربینوکسامین 4 میلی گرم در 5 میلی لیتر "},{value:"1501305899640",label:"قرص کاربینوکسامین "},{value:"1501306331317",label:"آمپول کلرفنیرامین 10 میلی گرم در میلی لیتر "},{value:"1501306393926",label:"شربت کلرفنیرامین 2میلی گرم در 5 میلی لیتر 60 سی سی "},{value:"1501306455969",label:"قرص کلرفنیرامین 4 میلی گرم "},{value:"1501306500916",label:"قرص کلرفنیرامین 8 میلی گرم "},{value:"1501306550956",label:"قرص دکس کلرفنیرامین 2 میلی گرم "},{value:"1501306595555",label:"شربت دکس کلرفنیرامین 2 میلی گرم در 5 میلی لیتر"},{value:"1501306661456",label:"قرص دکس کلرفنیرامین 6 میلی گرم "},{value:"1501308060948",label:"قرص سیناریزین 15 میلی گرم "},{value:"1501308103483",label:"قرص سیناریزین 25 میلی گرم "},{value:"1501308148373",label:"کپسول سیناریزین 75 میلی گرم "},{value:"1501308188246",label:"قرص سیناریزین 75 میلی گرم "},{value:"1501308303614",label:"قرص کلماستین 1 میلی گرم "},{value:"1501308344782",label:"آمپول کلماستین 2 میلی گرم در 2 میلی لیتر "},{value:"1501308458145",label:"محلول خوراکی سیپروهپتادین 2 میلی گرم در 5 میلی لیتر "},{value:"1501308549690",label:"قرص سیپروهپتادین 4 میلی گرم "},{value:"1501308679322",label:"قرص دسلوراتادین 5 میلی گرم "},{value:"1501308726428",label:"شربت دسلوراتادین "},{value:"1501308835181",label:"قرص دیمن هیدرینات 50 میلی گرم "},{value:"1501308967765",label:"سافت ژل دیفن هیدامین 25 میلی گرم "},{value:"1501309034612",label:"الگزیر دیفن هیدامین 12.5 میلی گرم در 5 میلی لیتر 60 سی سی "},{value:"1501309121895",label:"آمپول دیفن هیدامین 20 میلی گرم در 2 میلی لیتر "},{value:"1501309191552",label:"قرص دیفن هیدرامین 25 میلی گرم "},{value:"1501309239881",label:"قرص دیفن هیدرامین 50 میلی گرم "},{value:"1501309292439",label:"آمپول دیفن هیدرامین 50 میلی گرم در میلی لیتر "},{value:"1501309464600",label:"قرص دوکسیلامین 25 میلی گرم "},{value:"1501309723273",label:"قطره چشم امداستین 0.05% "},{value:"1501310967668",label:"قطره چشمی اپی ناستین 0.5 میلی گرم در میلی لیتر "},{value:"1501311088341",label:"قرص فکسوفنادین 120 میلی گرم "},{value:"1501311137470",label:"قرص فکسوفنادین 180 میلی گرم "},{value:"1501311186351",label:"قرص فکسوفنادین 30 میلی گرم "},{value:"1501311227714",label:"قرص فکسوفنادین 60 میلی گرم "},{value:"1501311833246",label:"آمپول هیدروکسی زین 2 میلی گرم "},{value:"1501311874919",label:"آمپول هیدروکسی زین 100 میلی گرم در 2 میلی لیتر 120 سی سی "},{value:"1501311989404",label:"قرص هیدروکسی زین 10 میلی گرم "},{value:"1501312037682",label:"شربت هیدروکسی زین 10میلی گرم در 5 میلی لیتر "},{value:"1501312098485",label:"قرص هیدروکسی زین 25 میلی گرم "},{value:"1501312257890",label:"قرص لووستریزین 5 میلی گرم "},{value:"1501312490682",label:"سافت ژل لوراتادین 10 میلی گرم "},{value:"1501312552804",label:"شربت لوراتادین 1 میلی گرم در میلی لیتر 60 سی سی "},{value:"1501312747280",label:"قرص جویدنی مکلوزین "},{value:"1501313447133",label:"اسپری بینی اولوپاتادین 0.6% "},{value:"1501313880457",label:"قطره چشمی اولوپاتادین 5 میلی گرم در 5 میلی لیتر "},{value:"1501314885769",label:"قرص پرومتازین 10 میلی گرم "},{value:"1501314928732",label:"آمپول پرومتازین 25 میلی گرم در میلی لیتر 1 سی سی"},{value:"1501315041147",label:"آمپول پرومتازین 50 میلی گرم در 2 میلی لیتر "},{value:"1501315102275",label:"شربت پرومتازین 5 میلی گرم در 5 میلی لیتر 60 سی سی "},{value:"1501315706123",label:"قرص پرومتازین 25 میلی گرم "},{value:"1501315820050",label:"قرص ترفنادین 60 میلی گرم "},{value:"1501317017144",label:"قطره چشمی لودوکسامید 10%"},{value:"1501317241282",label:"سافت ژل آنتی هیستامین دکونژستانت"},{value:"1501317291143",label:"قرصSR آنتی هیستامین دکونژستانت"},{value:"1501317564023",label:"قرص آنتی هیستامین دکونژستانت"},{value:"1501317594573",label:"شربت دیفن هیدرامین کامپاند 60 سی سی "},{value:"1535384371986",label:"اسپری استنشاقی بودزوناید 100 میکروگرم"},{value:"1501317990743",label:"قطره چشمی کرمولین 2% 10 میلی لیتر "},{value:"1501318126842",label:"قطره چشمی کرمولین 2% 5 میلی گرم "},{value:"1501318217337",label:"قرص ستیریزین+سودوافدرین "},{value:"1501321198802",label:"آمپول آرته متر"},{value:"1535441490067",label:"ایمپلت دگزامتازون0.7 میلی گرم"},{value:"1501321248615",label:"قرص آرته متر+لومفانترین 20/120 میلی گرم "},{value:"1501321303916",label:"قرص آرته سونات 200 میلی گرم "},{value:"1501321352457",label:"کپسول آرته سونات 50 میلی گرم "},{value:"1501321400052",label:"شیاف آرته سونات 50 میلی گرم "},{value:"1501321447061",label:"قرص آرته سونات 50 میلی گرم "},{value:"1501321539402",label:"آمپول آرته سونات 60 میلی گرم "},{value:"1501321584825",label:"شیاف آرته سونات 50 میلی گرم "},{value:"1501321695028",label:"آمپول کلروکین 150 میلی گرم در 5 میلی لیتر "},{value:"1501321745533",label:"قرص کلروکین 150 میلی گرم "},{value:"1501321784974",label:"آمپول کلروکین 200 میلی گرم در 5 میلی لیتر "},{value:"1501321837876",label:"شربت کلروکین 50 میلی گرم در 5 میلی لیتر "},{value:"1501321886797",label:"آمپول کلروکین 250 میلی گرم در 5 میلی لیتر "},{value:"1501321939842",label:"شربت کلروکین 160 میلی گرم در 10 میلی لیتر 60 سی سی"},{value:"1501323487291",label:"قرص هیدروکسی کلروکین 200 میلی گرم "},{value:"1501323540251",label:"قرص هیدروکسی کلروکین 60 میلی گرم "},{value:"1501323752958",label:"قرص لومفانترین"},{value:"1501323980120",label:"قرص مفلوکوئین 250 میلی گرم "},{value:"1501324079086",label:"قرص پریماکین 15 میلی گرم "},{value:"1501324114425",label:"قرص پریماکین 7.5 میلی گرم "},{value:"1501324221830",label:"قرص پریمتامین 25 میلی گرم "},{value:"1501324316057",label:"قرص کینین 100 میلی گرم"},{value:"1501324406028",label:"قرص کینین 200 میلی گرم "},{value:"1501324444886",label:"قرص کینین 250 میلی گرم "},{value:"1501324490743",label:"آمپول کینین 250 میلی گرم در میلی لیتر "},{value:"1535441571336",label:"اسپری دگزامتازون 10 میلی لیتر"},{value:"1501324550742",label:"آمپول کینین 300 میلی گرم در میلی لیتر "},{value:"1501324608637",label:"آمپول کینین 600 میلی گرم در میلی لیتر "},{value:"1501324657450",label:"کپسول کینین 100 میلی گرم "},{value:"1501324718346",label:"قرص کینین 300 میلی گرم "},{value:"1501325689499",label:"قرص آلموتریپتان 12.5میلی گرم "},{value:"1501325790571",label:"آمپول دی هیدرو ارگوتامین 1 میلی گرم در 1 میلی لیتر "},{value:"1501325840139",label:"قرص دی هیدرو ارگوتامین 2.5 میلی گرم "},{value:"1501325897591",label:"قطره دی هیدرو ارگوتامین 2 میلی گرم در میلی لیتر "},{value:"1501325969767",label:"قرص دی هیدرو ارگوتامین 1.5 میلی گرم "},{value:"1501326649145",label:"قرص التریپتان 20 میلی گرم "},{value:"1501326689634",label:"قرص التریپتان 40 میلی گرم "},{value:"1501327487960",label:"قرص ارگوتامین تارترات "},{value:"1501327823312",label:"قرص فروواتریپتان سوکسینات 2.5 میلی گرم "},{value:"1501328144873",label:"قرص ناراتریپتان 2.5 میلی گرم "},{value:"1501328248030",label:"قرص ORALLY DISINTEGRATING ریزاتریپتان 10 میلی گرم "},{value:"1501328383727",label:"قرص ریزاتریپتان 0.5 میلی گیرم "},{value:"1501328425969",label:"قرص ریزاتریپتان 10 میلی گرم "},{value:"1501328472769",label:"قرص ریزاتریپتان 5 میلی گرم "},{value:"1501329100663",label:"اسپری بینی سوماتریپتان 10 میلی گرم در 0.1 میلی لیتر "},{value:"1501329174407",label:"آمپول سوماتریپتان 12 میلی گرم در 1 میلی لیتر 0.5 سی سی "},{value:"1501329249439",label:"آمپول سوماتریپتان 6 میلی گرم در 1 میلی لیتر "},{value:"1501329308534",label:"قرص سوماتریپتان 100 میلی گرم "},{value:"1501329371166",label:"قرص سوماتریپتان 50 میلی گرم "},{value:"1501329503656",label:"قرص زولمی تریپتان 2.5 میلی گرم "},{value:"1501329553571",label:"اسپری بینی زولمی تریپتان 5 میلی گرم "},{value:"1501329614823",label:""},{value:"1501330693967",label:"قرص ارگوتامین سی"},{value:"1501330748374",label:"قرص ارگوتامین کامپاند"},{value:"1535384777157",label:"سوسپانسیون نبولایزر بودزوناید 1میلی گرم"},{value:"1501330790790",label:"قرص زیرزبانی ارگوتامین 2 میلی گرم "},{value:"1501480621752",label:"قرص آتروپین 0.5 میلی گرم "},{value:"1501480661136",label:"آمپول آتروپین 0.5 میلی گرم در 1 میلی لیتر "},{value:"1501480766812",label:"سرنگ آماده تزریق آتروپین 0.5 میلی گرم در 1 میلی لیتر "},{value:"1501480852574",label:"آمپول آتروپین 10 میلی گرم در 10 میلی لیتر "},{value:"1501480954207",label:"آمپول آتروپین 10 میلی گرم در میلی لیتر "},{value:"1501481010007",label:"آمپول آتروپین 1 میلی گرم در 1 میلی لیتر "},{value:"1501481060256",label:"آمپول آتروپین 20 میلی گرم در 2 میلی لیتر "},{value:"1501481128900",label:"سرنگ آماده تزریق آتروپین 2میلی گرم در 0.8 میلی لیتر "},{value:"1501481423606",label:"قرص بلادونا ارگوت پی بی "},{value:"1501481470654",label:"شربت بلادونا پی بی"},{value:"1501481518080",label:"قرص بلادونا پی بی "},{value:"1501482061053",label:"قرص دی سیکلومین 10 میلی گرم "},{value:"1501482142249",label:"الگزیر دی سیکلومین 10 میلی گرم در 5 میلی لیتر "},{value:"1501482264941",label:"آمپول دی سیکلومین 20 میلی گرم در 2 میلی لیتر "},{value:"1501482367040",label:"قرص دی سیکلومین 10 میلی گرم "},{value:"1501482500130",label:"آمپول گلیکوپیرونیوم 0.2 میلی گرم در میلی لیتر "},{value:"1501482625602",label:"شیاف هیوسین 10 میلی گرم "},{value:"1501482679449",label:"قرص هیوسین 10 میلی گرم "},{value:"1501482827273",label:"آمپول هیوسین 20 میلی گرم در میلی لیتر "},{value:"1501483009559",label:"شیاف هیوسین 7.5 میلی گرم "},{value:"1501483065659",label:"پلاستر هیوسین 1 میلی گرم در 72 ساعت "},{value:"1501483617788",label:"قرص زیر زبانی هیوسیامین 0.125 میلی گرم "},{value:"1501483709161",label:"قرص هیوسیامین 0.375 میلی گرم "},{value:"1501484052180",label:"قرص پروپانتلین 15 میلی گرم "},{value:"1502602158570",label:"ویال آلمتوزومب 30 میلی گرم در 1 میلی لیتر"},{value:"1502603549890",label:"کپسول هگزامتیل متامین 100 میلی گرم "},{value:"1502603999410",label:"ویال آسپارژیناز 10000 واحد"},{value:"1535384837075",label:"اسپری استنشاقی بودزوناید 200 میکرو گرم 100دوزی"},{value:"1502604064226",label:"ویال پگ آسپارژیناز 3750 واحد در 5 میلی لیتر "},{value:"1502604152987",label:"ویال L آسپارژیناز 10000 واحد"},{value:"1502869157651",label:"آمپول آزاسیتیدین 100 میلی گرم"},{value:"1502869912264",label:"آمپول آزاسیتیدین 25 میلی گرم "},{value:"1502870274743",label:"آمپول بواسیزومب 100 میلی گرم در 4 میلی لیتر "},{value:"1502870345666",label:"ویال بواسیزومب 100 میلی گرم در 4 میلی لیتر "},{value:"1502870512472",label:"ویال بواسیزومب 400 میلی گرم در 16 میلی لیتر "},{value:"1502870636170",label:"کپسول بگزاروتن 75 میلی گرم "},{value:"1502871188550",label:"ویال بلوئومایسین 15 میلی گرم "},{value:"1502871239087",label:"آمپول بلئومایسین 5 میلی گرم "},{value:"1502871368786",label:"آمپول بورتزومیب 3.5 میلی گرم "},{value:"1502871476616",label:"قرص بوسولفان 2 میلی گرم "},{value:"1502871543264",label:"آمپول بوسولفان 6 میلی گرم در میلی لیتر "},{value:"1502872571231",label:"قرص کاپسیتابین 150 میلی گرم "},{value:"1502881035690",label:"قرص کاپسیتابین 500 میلی گرم "},{value:"1502881309477",label:"ویال کربوپلاتین 150 میلی گرم "},{value:"1502881370886",label:"آمپول کربوپلاتین 150 میلی گرم در 15 میلی لیتر "},{value:"1502881439761",label:"ویال کربوپلاتین 450 میلی گرم در 45 میلی لیتر "},{value:"1502881502409",label:"آمپول کربوپلاتین 50 میلی گرم "},{value:"1503223955702",label:"قرص اگزمستان 25 میلی گرم "},{value:"1502881552293",label:"ویال کربوپلاتین 50 میلی گرم "},{value:"1502881604816",label:"ویال کربوپلاتین 50 میلی گرم در 5 میلی لیتر "},{value:"1502881715744",label:"ویال کارموستین 100 میلی گرم "},{value:"1502882017726",label:"ویال ستوکسی مب 100 میلی گرم در 50 میلی لیتر "},{value:"1503224604809",label:"پماد فلوروئوراسیل 5% "},{value:"1502882096767",label:"ویال ستوکسی مب 5 میلی گرم در 20 میلی لیتر "},{value:"1502882199014",label:"قرص کلرامبوسیل 2 میلی گرم "},{value:"1502882402267",label:"ویال نیتروژن موستارد 10 میلی گرم "},{value:"1502882690345",label:"آمپول نیتروژن موستارد 10 میلی گرم "},{value:"1503221989189",label:"ویال اتوپوزاید 50 میلی گرم "},{value:"1502883150285",label:"ویال سیس پلاتین 0.5 میلی گرم در میلی لیتر 100 سی سی "},{value:"1502883217936",label:"ویال سیس پلاتین 0.5 میلی گرم در میلی لیتر 20 سی سی "},{value:"1502883276901",label:"ویال سیس پلاتین 10 میلی گرم "},{value:"1502883326957",label:"ویال سیس پلاتین 50 میلی گرم "},{value:"1535384997059",label:"اسپری استنشاقی بودزوناید 200 میکرو گرم 200 دوزی"},{value:"1502883398087",label:"محلول تزریقی سیس پلاتین 50 میلی گرم در 50 میلی لیتر "},{value:"1502883609226",label:"ویال کلادریبین 10 میلی گرم در 10 میلی لیتر "},{value:"1502883667592",label:"ویال کلادریبین 10 میلی گرم در 5 میلی لیتر "},{value:"1503119203834",label:"محلول تزریقی کلوفارابین 1 میلی گرم در میلی لیتر 20 سی سی "},{value:"1503222043657",label:"کپسول اتوپوزاید 50 میلی گرم "},{value:"1503121016879",label:"ویال سیکلوفسفامید 1000 میلی گرم "},{value:"1503121130069",label:"ویال سیکلوفسفامید 200 میلی گرم "},{value:"1503121181526",label:"ویال سیکلوفسفامید 30 میلی گرم در 5 میلی لیتر "},{value:"1503121241717",label:"ویال سیکلوفسفامید 500 میلی گرم "},{value:"1535385514152",label:"محلول انما بودزوناید 2 میلی گرم در 100 میلی لیتر"},{value:"1503121288620",label:"قرص سیکلوفسفامید 50 میلی گرم "},{value:"1503122904882",label:"ویال سیتارابین 100 میلی گرم "},{value:"1503123038967",label:"ویال سیتارابین 1 گرم "},{value:"1503212993402",label:"ویال داکاربازین 100 میلی گرم "},{value:"1503213077761",label:"ویال داکاربازین 200 میلی گرم "},{value:"1503213117800",label:"ویال داکاربازین 500 میلی گرم "},{value:"1503213548257",label:"ویال داکتینومایسین 0.5 میلی گرم "},{value:"1503213699531",label:"ویال دانروبیسین 20 میلی گرم "},{value:"1503213822507",label:"آمپول دسیتابین 50 میلی گرم "},{value:"1503214635927",label:"ویال داسه تاکسل 80 میلی گرم "},{value:"1503214283468",label:"ویال داسه تاکسل 160 میلی گرم در 16 میلی لیتر "},{value:"1503214413960",label:"ویال داسه تاکسل 20 میلی گرم "},{value:"1503214472377",label:"ویال داسه تاکسل 20 میلی گرم در 4 میلی لیتر "},{value:"1503214557462",label:"ویال داسه تاکسل 20 میلی گرم در میلی لیتر 8 سی سی "},{value:"1535385570900",label:"کپسول بودزوناید3میلی گرم"},{value:"1503214774564",label:"ویال دوکسوروبیسین 25 میلی گرم در میلی لیتر 25 سی سی "},{value:"1503214868823",label:"ویال دوکسوروبیسین 2 میلی گرم در میلی لیتر 5 سی سی "},{value:"1503214964618",label:"ویال دوکسوروبیسین 10 میلی گرم "},{value:"1503215025043",label:"ویال دوکسوروبیسین 50 میلی گرم "},{value:"1535385697524",label:"پودر استنشاقی بودزوناید400 میکروگرم 100 دوزی"},{value:"1503215078902",label:"ویال دوکسوروبیسین لیپوزومال 20 میلی گرم در 10 میلی لیتر "},{value:"1503215141765",label:"ویال دوکسوروبیسین لیپوزومال 50 میلی گرم "},{value:"1503216071453",label:"ویال اپی روبیسین 10 میلی گرم "},{value:"1503216160084",label:"ویال اپی روبیسین 200 میلی گرم "},{value:"1535385846540",label:"پودر استنشاقی بودزوناید400 میکروگرم 200 دوزی"},{value:"1503216222606",label:"ویال اپی روبیسین 2 میلی گرم در میلی لیتر 10 سی سی "},{value:"1503216284580",label:"ویال اپی روبیسین 2 میلی گرم در میلی لیتر 25 سی سی "},{value:"1503216345458",label:"ویال اپی روبیسین 2 میلی گرم"},{value:"1503216571382",label:"ویال اپی روبیسین50 میلی گرم "},{value:"1535385939016",label:"پودر استنشاقی بودزوناید400 میکرو گرم50دوزی"},{value:"1503216767754",label:"کپسول استراموستین سدیم فسفات 140 میلی گرم "},{value:"1503221754125",label:"کپسول اتوپوزاید 100 میلی گرم "},{value:"1503221813847",label:"آمپول اتوپوزاید 100 میلی گرم در 5 میلی لیتر "},{value:"1503221882014",label:"ویال اتوپوزاید 200 میلی گرم در 10 میلی لیتر "},{value:"1503221940200",label:"کپسول اتوپوزاید 25 میلی گرم "},{value:"1503224076564",label:"ویال فلودارابین 50 میلی گرم "},{value:"1503224286219",label:"آمپول فلوروئوراسیل 1 گرم در 20 میلی لیتر "},{value:"1503224374273",label:"آمپول فلوروئوراسیل 2500 میلی گرم در 50 میلی لیتر "},{value:"1503224459670",label:"آمپول فلوروئوراسیل 250 میلی گرم در 5 میلی لیتر "},{value:"1503224524852",label:"کرم فلوروئوراسیل 5% 20 گرم "},{value:"1503224652638",label:"آمپول فلوروئوراسیل 500 میلی گرم در 10 میلی لیتر "},{value:"1503224728603",label:"آمپول فلوروئوراسیل 50 میلی گرم در 5 میلی لیتر"},{value:"1503224808009",label:"ویال فلوروئوراسیل 5 گرم 100 میلی گرم "},{value:"1503226141494",label:"قرص فلوتامید 250 میلی گرم "},{value:"1503226383689",label:"قرص فلوتامید 250 میلی گرم "},{value:"1503226594424",label:"آمپول فولوسترانت 250 میلی گرم 5 میلی لیتر "},{value:"1503227942604",label:"آمپول فولوسترانت 50 میلی گرم در 5 میلی لیتر "},{value:"1503228197346",label:"قرص جفی تینیب 250 میلی گرم "},{value:"1503228814376",label:"ویال جم سیتابین 1 گرم در 100 میلی لیتر "},{value:"1503228868504",label:"ویال جم سیتابین 1 گرم در 10 میلی لیتر "},{value:"1503228931547",label:"ویال جم سیتابین 200 میلی گرم در 20 میلی لیتر "},{value:"1503229009468",label:"ویال جم سیتابین 200 میلی گرم در 2 میلی لیتر "},{value:"1503229060739",label:"ویال جم سیتابین 2 گرم "},{value:"1503229121222",label:"ویال جم سیتابین 1 گرم "},{value:"1503231181321",label:"کپسول لوموستین 40 میلی گرم "},{value:"1503229220737",label:"ویال جم سیتابین 200 میلی گرم "},{value:"1503229330143",label:"ویال جمتوزومب 5 میلی گرم در 20 میلی لیتر "},{value:"1503229465315",label:"ویال ایداروبیسین 10 میلی گرم "},{value:"1503229525690",label:"ویال ایداروبیسین 5 میلی گرم "},{value:"1503290944159",label:"قرص مرکاپتوپورین 50 میلی گرم "},{value:"1503229650909",label:"ویال ایفوسفامید 1 گرم "},{value:"1503229700395",label:"ویال ایفوسفامید 2 گرم "},{value:"1503229822363",label:"کپسول ایماتینیب 100 میلی گرم "},{value:"1503229867316",label:"قرص ایماتینیب 100 میلی گرم "},{value:"1503229913629",label:"کپسول ایماتینیب 50 میلی گرم "},{value:"1503230045665",label:"اینترلوکین-2 تزریقی"},{value:"1503230620422",label:"ویال ایرینوتکان 100 میلی گرم در 5 میلی لیتر "},{value:"1503230671708",label:"ویال ایرینوتکان 100 میلی گرم در 5 میلی لیتر "},{value:"1503230734011",label:"ویال ایرینوتکان 300 میلی گرم در 15 میلی لیتر "},{value:"1535386031729",label:"اسپری بینی بوسوناید64 میکروگرم "},{value:"1503230824185",label:"ویال ایرینوتکان 40 میلی گرم در 2 میلی لیتر "},{value:"1503230879189",label:"ویال ایرینوتکان 40 میلی گرم در 2 میلی لیتر "},{value:"1503230930124",label:"ویال ایرینوتکان 300 میلی گرم در 15 میلی لیتر "},{value:"1503231051586",label:"قرص لتروزول 2.5 میلی گرم "},{value:"1535440263521",label:"اسپری سیکلوزناید 160میکروگرم "},{value:"1503231351695",label:"ویال ملفالان 100 میلی گرم "},{value:"1503231388865",label:"قرص ملفالان 25 میلی گرم "},{value:"1503231432006",label:"قرص ملفالان 2 میلی گرم "},{value:"1503231469884",label:"قرص ملفالان 50 میلی گرم "},{value:"1503231564520",label:"ویال ملفالان 50 میلی گرم "},{value:"1503291068738",label:"ویال متوترکسات 1000 میلی گرم در 10 میلی لیتر "},{value:"1503291118947",label:"آمپول متوترکسات 100 میلی گرم در میلی لیتر "},{value:"1503291177372",label:"آمپول متوترکسات 10 میلی گرم در میلی لیتر "},{value:"1503291249366",label:"ویال متوترکسات 1 گرم در 40 میلی لیتر "},{value:"1535440397095",label:"نا مشخص"},{value:"1503291420970",label:"قرص متوترکسات 2.5 میلی گرم "},{value:"1503291481880",label:"آمپول متوترکسات 2.5 میلی گرم در میلی لیتر "},{value:"1503291540239",label:"آمپول متوترکسات 25 میلی گرم در میلی لیتر 2 سی سی "},{value:"1503291618845",label:"ویال متوترکسات 500 میلی گرم در 50 میلی لیتر "},{value:"1535440403647",label:"اسپری سیکلزناید80 میکروگرم"},{value:"1503291680125",label:"آمپول متوترکسات 50 میلی گرم در 5 میلی لیتر "},{value:"1503291872164",label:"قرص متوترکسات 5 میلی گرم "},{value:"1503291932586",label:"ویال متوترکسات 5 میلی گرم در 2 میلی لیتر "},{value:"1503291989226",label:"آمپول متوترکسات 5 میلی گرم در میلی لیتر "},{value:"1535440652497",label:"پماد کلوبتازول 0.05% "},{value:"1503292058166",label:"آمپول متوترکسات نگهدارنده 100 میلی گرم در میلی لیتر "},{value:"1503292223678",label:"آمپول متوترکسات نگهدارنده 10 میلی گرم در میلی لیتر "},{value:"1503292308506",label:"ویال متوترکسات نگهدارنده 1 گرم در 10 میلی گرم "},{value:"1503292379809",label:"آمپول متوترکسات نگهدارنده 2.5 میلی گرم در میلی لیتر "},{value:"1535440878867",label:"کرم کلوبتازول 0.05%"},{value:"1503292445519",label:"آمپول متوترکسات نگهدارنده 25 میلی گرم در میی لیتر "},{value:"1503292499434",label:"آمپول متوترکسات نگهدارنده 50 میلی گرم "},{value:"1503292610041",label:"آمپول متوترکسات نگهدارنده 5 میلی گرم "},{value:"1503293599240",label:"ویال میتومایسین 10 میلی گرم "},{value:"1535440970030",label:"پماد کلوبتازول 0.05%"},{value:"1503293644248",label:"ویال میتومایسین 2 میلی گرم "},{value:"1503293713381",label:"ویال میتومایسین 5 میلی گرم "},{value:"1503294040496",label:"قرص میتوتان 500 میلی گرم "},{value:"1503294191132",label:"ویال میتوکسانترون 10 میلی گرم در 5 میلی لیتر "},{value:"1535441039001",label:"لوسیون کلوبتازول 0.05%"},{value:"1503294260729",label:"ویال میتوکسانترون 20 میلی گرم "},{value:"1503294378839",label:"ویال اگزالی پلاتین 100 میلی گرم "},{value:"1503294436737",label:"ویال اگزالی پلاتین 100 میلی گرم در 20 میلی لیتر "},{value:"1503294492502",label:"ویال اگزالی پلاتین 200 میلی گرم "},{value:"1503294540179",label:"ویال اگزالی پلاتین 50 میلی گرم "},{value:"1503294591217",label:"ویال اگزالی پلاتین 50 میلی گرم در 10 میلی لیتر"},{value:"1503295725494",label:"آمپول پکلی تاکسل 100 میلی گرم "},{value:"1503295881093",label:"ویال پکلی تاکسل 150 میلی گرم در 25 میلی لیتر "},{value:"1503295936365",label:"ویال پکلی تاکسل 300 میلی گرم در 50 میلی لیتر "},{value:"1503295986346",label:"ویال پکلی تاکسل 30 میلی گرم در 5 میلی لیتر "},{value:"1503296036282",label:"ویال پکلی تاکسل 50 میلی گرم در 25 میلی لیتر "},{value:"1503296094827",label:"ویال پکلی تاکسل 6 میلی گرم در میلی لیتر 16.7 سی سی "},{value:"1503296166393",label:"ویال پکلی تاکسل آلبومین باند 100 میلی گرم "},{value:"1503299620307",label:"ویال پمه ترکسید 100 میلی گرم "},{value:"1535441134670",label:"قرص کورتیزون 25 میلی گرم"},{value:"1503299664453",label:"ویال پمه ترکسید 500 میلی گرم "},{value:"1503300440951",label:"ویال پنتوستاتین10 میلی گرم "},{value:"1503300487189",label:"آمپول پنتوستاتین 30 میلی گرم "},{value:"1503300587541",label:"کپسول پروکاربازین 50 میلی گرم "},{value:"1503300631950",label:"ژل پروکاربازین 50 میلی گرم "},{value:"1503300679724",label:"قرص پروکاربازین 50 میلی گرم "},{value:"1503304251819",label:"ویال ریتوکسی مب 100 میلی گرم در 10 میلیل لیتر "},{value:"1503304301114",label:"ویال ریتوکسی مب 500 میلی گرم در 50 میلی لیتر "},{value:"1503304404385",label:"ویال استرپتوزوسین 1 گرم "},{value:"1503304504898",label:"قرص تاموکسی فن 10 میلی گرم "},{value:"1503304552347",label:"قرص تاموکسی فن 20 میلی گرم "},{value:"1503304662765",label:"کپسول تموزولامید 100 میلی گرم "},{value:"1503304708993",label:"کپسول تموزولامید 140 میلی گرم "},{value:"1503304757627",label:"کپسول تموزولامید 180 میلی گرم "},{value:"1503304807560",label:"ویال تموزولامید 2.5 میلی گرم در میلی لیتر "},{value:"1503304867330",label:"کپسول تموزولامید 20 میلی گرم "},{value:"1503304918157",label:"کپسول تموزولامید 20 میلی گرم "},{value:"1503304964002",label:"کپسول تموزولامید 250 میلی گرم "},{value:"1503305012136",label:"قرص تموزولامید 250 میلی گرم "},{value:"1503305057147",label:"کپسول تموزولامید 5 میلی گرم "},{value:"1503305102929",label:"کپسول تموزولامید 5 میلی گرم "},{value:"1503305691403",label:"آمپول تنی پوزاید 10 میلی گرم در میلی لیتر 5 سی سی "},{value:"1503305803485",label:"قرص تیوگوانین 40 میلی گرم "},{value:"1503305896967",label:"ویال توپوتکان 1 میلی گرم "},{value:"1503305937764",label:"ویال توپوتکان 4 میلی گرم "},{value:"1503306044141",label:"قرص تورمیفن 60 میلی گرم "},{value:"1503306175121",label:"ویال تراستوزومب 150 میلی گرم "},{value:"1503306223846",label:"ویال تراستوزومب 440 میلی گرم"},{value:"1503306332412",label:"آمپول ورتیپورفین"},{value:"1503306498869",label:"ویال وین بلاستین 10 میلی گرم "},{value:"1503306546244",label:"ویال وین بلاستین 5 میلی گرم "},{value:"1503306664258",label:"ویال وین کریستین 1میلی گرم "},{value:"1503306702041",label:"آمپول وین کریستین 1 میلی گرم در میلی لیتر "},{value:"1503306811674",label:"ویال وینورلبین 10 میلی گرم در 1 میلی لیتر "},{value:"1535441259681",label:"قرص دگزامتازون 0.5 میلی گرم"},{value:"1503306857347",label:"کپسول وینورلبین 20 میلی گرم "},{value:"1503306911210",label:"کپسول وینورلبین 30 میلی گرم "},{value:"1503306960590",label:"ویال وینورلبین 500 میلی گرم در 10 میلی لیتر "},{value:"1503307025737",label:"ویال وینورلبین 50 میلی گرم در 5 میلی لیتر "},{value:"1503307140179",label:"آمپول آرسنیک تری اکسید 0.1% "},{value:"1503307246946",label:"کپسول نیلوتینیب 200 میلی گرم "},{value:"1503307285508",label:"قرص نیلوتینیب 200 میلی گرم "},{value:"1503307327587",label:"قرص نیلوتینیب 400 میلی گرم "},{value:"1503307423640",label:"قرص سورافنیب 200 میلی گرم "},{value:"1503377143008",label:"قرص یدوکینول 210 میلی گرم "},{value:"1503377262174",label:"کرم افلورنیتین 13.9% 30 گرم "},{value:"1503377376013",label:"قرص فورازولیدون 100 میلی گرم "},{value:"1503377414541",label:"سوسپانسیون فورازولیدون 50 میلی گرم در 15 میلی لیتر "},{value:"1503377863798",label:"شربت پارامومایسین 125 میلی گرم در 5 میلی لیتر 60 سی سی "},{value:"1503380112242",label:"کپسول پارامومایسین 250 میلی گرم "},{value:"1503380164386",label:"قرص پارامومایسین 250 میلی گرم "},{value:"1503380220819",label:"پماد پارامومایسین اوره (15+10) در 100 گرم "},{value:"1503380435157",label:"ویال پنتامیدین 300 میلی گرم "},{value:"1503380555316",label:"قرص تینیدازول 500 میلی گرم "},{value:"1503380674397",label:"آمپول مگلومین آنتی مونات 1.5 گرم در 5 میلی لیتر"},{value:"1503381015295",label:"قرص آباکاویر 300 میلی گرم "},{value:"1503463331588",label:"پماد چشمی آسیکلوویر 3% "},{value:"1503463425295",label:"قرص آسیکلوویر 400 میلی گرم "},{value:"1503463474266",label:"کرم آسیکلوویر 5% 10 گرم "},{value:"1503463537488",label:"قرص آسیکلوویر 800 میلی گرم "},{value:"1503463758517",label:"ویال آسیکلوویر 250 میلی گرم "},{value:"1503463814488",label:"ویال آسیکلوویر 500 میلی گرم "},{value:"1503463872089",label:"قرص آسیکلوویر 500 میلی گرم "},{value:"1503463943356",label:"قرص آسیکلوویر 200 میلی گرم "},{value:"1503465771732",label:"قرص آدفوویر 10 میلی گرم "},{value:"1503466575517",label:"قرص آتازاناوویر 150 میلی گرم "},{value:"1503466612660",label:"کپسول آتازاناوویر 150 میلی گرم "},{value:"1503466731184",label:"قرص دیدانوزین 200 میلی گرم "},{value:"1503469609158",label:"سوسپانسیون دیدانوزین 2 گرم 237 میلی گرم "},{value:"1503469910946",label:"دوکوسانول موضعی"},{value:"1503470006242",label:"کپسول افاویرنز 100 میلی گرم "},{value:"1503470302202",label:"کپسول افاویرنز 200 میلی گرم "},{value:"1503471650959",label:"قرص افاویرنز 200 میلی گرم "},{value:"1503471699533",label:"کپسول افاویرنز 50 میلی گرم "},{value:"1503472413741",label:"قرص افاویرنز 600 میلی گرم "},{value:"1503472523314",label:"قرص امتری سیتابین 7.5 میلی گرم "},{value:"1503473496694",label:"قرص فامسیکلوویر 125 میلی گرم "},{value:"1503473588652",label:"قرص فامسیکلوویر 250 میلی گرم "},{value:"1503473636183",label:"قرص فامسیکلوویر 500 میلی گرم "},{value:"1503473770282",label:"آمپول فوسکارنت 24 میلی گرم در میلی لیتر 250 سی سی "},{value:"1503473904233",label:"ویال گان سیکلوویر 500 میلی گرم "},{value:"1503473947191",label:"ژل گان سیکلوویر 5 گرم "},{value:"1503475435631",label:"قطره چشمی یدوکسوریدین 0.1% 10 سی سی "},{value:"1503476219232",label:"کرم موضعی ایمی کوئی مود 5%"},{value:"1503476281991",label:"ساشه ایمی کوئیمود"},{value:"1503476572052",label:"کپسول ایندیناویر 400 میلی گرم "},{value:"1503476730548",label:"ویال2A 3MEGA اینترفرون آلفا "},{value:"1503476840177",label:"ویال 2A 4.5MEGA اینترفرون آلفا "},{value:"1503476911809",label:"ویال 2B 3MEGA اینترفرون آلفا"},{value:"1503477143368",label:"ویال 2B 4.5MEGA اینترفرون آلفا"},{value:"1503477201270",label:"ویال 2B 5MEGA اینترفرون آلفا"},{value:"1503477261309",label:"سرنگ آماده تزریق اینترفرون آلفا B 1A 30"},{value:"1503477409308",label:"ویالB 1A 30 اینترفرون آلفا "},{value:"1503477716746",label:"سرنگ اینترفرون B 1A 44MCG/0.5ML "},{value:"1503815125456",label:"قرص تنوفوویر 300 میلی گرم "},{value:"1503477815517",label:"ویالB 1A 8MIU اینترفرون آلفا "},{value:"1503728533338",label:"ویال پگ اینترفرون آلفا ALFA-2B 100MCG"},{value:"1503728936414",label:"ویال پگ اینترفرون آلفا ALFA-2B 120MCG"},{value:"1503728988186",label:"ویال پگ اینترفرون آلفا ALFA-2B 150MCG"},{value:"1504075756190",label:"ست نشده"},{value:"1503729119529",label:"ویال پگ اینترفرون آلفا ALFA-2B 50MCG"},{value:"1503729180447",label:"ویال پگ اینترفرون آلفا ALFA-2B 80MCG"},{value:"1503729251786",label:"سرنگ آماده تزریق پگ اینترفرون آلفا۲A 180MCG/0.5ML"},{value:"1503729322244",label:"آمپول پگ اینترفرون آلفا۲ 180MCG/1ML"},{value:"1503735079024",label:"کپسول اوسلتامیویر 30 میلی گرم "},{value:"1503730377802",label:"اینترفرون بتا-1بی"},{value:"1503730491733",label:"اینترفرون گاما 100 میکروگرم "},{value:"1503730862939",label:"قرص لامیوودین 100 میلی گرم "},{value:"1503730903583",label:"محلول خوراکی لامیوودین 10 میلی گرم در میلی لیتر 100 سی سی "},{value:"1503730989146",label:"قرص لامیوودین 150 میلی گرم "},{value:"1503731033572",label:"سوسپانسیون لامیوودین 50 میلی گرم در 5 میلی لیتر 240 سی سی "},{value:"1503731185358",label:"کپسول لامیوودین "},{value:"1503731366009",label:"قرص لوپیناویر+ریتوناوویر 200/50 میلی گرم "},{value:"1503731497192",label:"کپسول لوپیناویر+ریتوناوویر 133.3/33.3 میلی گرم "},{value:"1503731652166",label:"پودر خوراکی نلفیناوویر 144 گرم "},{value:"1503731846763",label:"سوسپانسیون نلفیناویر 50 میلی گرم "},{value:"1503731910989",label:"قرص نلفیناویر 250 میلی گرم "},{value:"1503731959744",label:"قرص آهسته رهش نلفیناویر 20 میلی گرم "},{value:"1503732112656",label:"محلول خوراکی نویراپین 50 میلی گرم در 5 میلی لیتر "},{value:"1503732188372",label:"قرص نویراپین 200 میلی گرم "},{value:"1503735140497",label:"کپسول اوسلتامیویر 45 میلی گرم "},{value:"1503735202081",label:"سوسپانسیون اوسلتامیویر 60 میلی گرم در 5 میلی لیتر "},{value:"1503735305293",label:"شربت اوسلتامیویر 60 میلی گرم در 5 میلی لیتر"},{value:"1503735377438",label:"کپسول اوسلتامیویر 75 میلی گرم "},{value:"1503735491499",label:"آمپول ریباویرین 100 میلی گرم "},{value:"1503736174827",label:"کپسول ریباویرین 100 میلی گرم "},{value:"1503736218341",label:"قرص ریباویرین 100 میلی گرم "},{value:"1503736261455",label:"کپسول ریباویرین 200 میلی گرم "},{value:"1503736324217",label:"قرص ریباویرین 200 میلی گرم "},{value:"1503811199618",label:"قرص ریمانتادین 50 میلی گرم"},{value:"1503811800173",label:"کپسول ریتوناوویر 100 میلی گرم "},{value:"1503811933794",label:"کپسول ساکویی ناوویر 200 میلی گرم "},{value:"1503813355628",label:"شربت استاوودین 1 میلی گرم در میلی لیتر "},{value:"1503814148117",label:"کپسول استاوودین 40 میلی گرم "},{value:"1503815020189",label:"قرص تنوفوویر 24 میلی گرم "},{value:"1503982921590",label:"قطره چشمی تری فلوریدین 1% 5 سی سی "},{value:"1503982995354",label:"قطره چشمی تری فلوریدین 10 میلی گرم در 5 میلی لیتر "},{value:"1503983057300",label:"قطره چشمی تری فلوریدین "},{value:"1503983222346",label:"قرص والاسیکلوویر 1000میلی گرم "},{value:"1503983281529",label:"قرص والاسیکلوویر 250 میلی گرم "},{value:"1503983373785",label:"قرص والاسیکلوویر 500 میلی گرم "},{value:"1503983577505",label:"شربت والگان سیکلوویر 250 میلی گرم در 5 میلی لیتر "},{value:"1503983641507",label:"شربت والگان سیکلوویر 250 میلی گرم در 5 میلی لیتر "},{value:"1503983955430",label:"قرص والگان سیکلوویر 450 میلی گرم "},{value:"1503984321295",label:"پودر استنشاقی زانامی ویر 5 میلی گرم "},{value:"1503984580995",label:"کپسول زیدوودین 100 میلی گرم "},{value:"1503984661220",label:"کپسول زیدوودین 250 میلی گرم "},{value:"1503984706159",label:"قرص زیدوودین 250 میلی گرم "},{value:"1503984755799",label:"کپسول زیدوودین 300 میلی گرم "},{value:"1503984802107",label:"قرص زیدوودین 300 میلی گرم "},{value:"1503984848339",label:"شربت زیدوودین 50 میلی گرم در 5 میلی لیتر "},{value:"1503987138802",label:"کپسول تلاپرویر 375 میلی گرم "},{value:"1503987237210",label:"قرص تلاپرویر 375 میلی گرم "},{value:"1503987779374",label:"قرص انته کاویر 0.5 میلی گرم "},{value:"1503987835939",label:"قرص انته کاویر 1 میلی گرم "},{value:"1503992595274",label:"قرص آکامپروسات 333 میلی گرم "},{value:"1503993390720",label:"قرص آلپرازولام 05 میلی گرم "},{value:"1503993428845",label:"قرص آلپرازولام 1 میلی گرم "},{value:"1503994983324",label:"قرص آموباربیتال 15 میلی گرم "},{value:"1503995687611",label:"قرص آری پیپرازول 10 میلی گرم "},{value:"1503995765926",label:"قرص آری پیپرازول 15 میلی گرم "},{value:"1503995811325",label:"قرص آری پیپرازول 30 میلی گرم "},{value:"1503995899233",label:"قرص آری پیرازول 5 میلی گرم "},{value:"1504008140166",label:"قرص بوسپیرون 10 میلی گرم "},{value:"1504008183619",label:"قرص بوسپیرون 5 میلی گرم "},{value:"1504008499753",label:"قرص کلردیازپوکساید 10 میلی گرم "},{value:"1504008785850",label:"قرص کلردیازپوکساید 5 میلی گرم "},{value:"1504008911465",label:"قرص کلرپرومازین 100 میلی گرم "},{value:"1504009017797",label:"قرص کلرپرومازین 200 میلی گرم "},{value:"1504009070065",label:"قرص کلرپرومازین 25 میلی گرم "},{value:"1504009118781",label:"آمپول کلرپرومازین 50 میلی گرم در 2 میلی لیتر "},{value:"1504009246516",label:"محول خوراکی کلرال هیدراته 250 میلی گرم در 5 میلی لیتر "},{value:"1504068367496",label:"قرص کلوزاپین 100 میلی گرم "},{value:"1504068418646",label:"قرص کلوزاپین 25 میلی گرم "},{value:"1504068557241",label:"ویال دگزمدتومیدین 100 میکروگرم در 2 میلی لیتر "},{value:"1504068689528",label:"رکتال تیوب دیازپام 10 میلی گرم "},{value:"1504068808129",label:"شیاف دیازپام 10 میلی گرم "},{value:"1504068883069",label:"قرص دیازپام 10 میلی گرم "},{value:"1504068930747",label:"آمپول دیازپام 10 میلی گرم در 2 میلی لیتر "},{value:"1504068981679",label:"قرص دیازپام 2 میلی گرم "},{value:"1504069032410",label:"شربت دیازپام 2 میلی گرم در 5 میلی لیتر 120 سی سی "},{value:"1504069083732",label:"شربت دیازپام 2 میلی گرم در 5 میلی لیتر 60 سی سی "},{value:"1504069171502",label:"رکتال تیوب دیازپام 5 میلی گرم "},{value:"1504069222072",label:"شیاف دیازپام 5 میلی گرم "},{value:"1504069275483",label:"قرص دیازپام 5 میلی گرم "},{value:"1504070274870",label:"آمپول دروپریدول 25 میلی گرم در 10 میلی لیتر"},{value:"1504070335692",label:"آمپول دروپریدول کامپاند"},{value:"1504070800018",label:"قرص فلوپنتیکسول 0.5 میلی گرم "},{value:"1504070858717",label:"قرص فلوپنتیکسول 1 میلی گرم "},{value:"1504070914879",label:"قرص فلوپنتیکسول 3 میلی گرم"},{value:"1504070958708",label:"آمپول فلوپنتیکسول 20 میلی گرم "},{value:"1504073670163",label:"قرص فلوفنازین 1 میلی گرم "},{value:"1504073725068",label:"قرص فلوفنازین 2.5 میلی گرم "},{value:"1504073772300",label:"آمپول فلوفنازین 25 میلی گرم در میلی لیتر"},{value:"1504073892928",label:"کپسول فلورازپام 15 میلی گرم "},{value:"1504073931977",label:"قرص فلورازپام 130 میلی گرم "},{value:"1504075546016",label:"قرص هالوپریدول 0.5 میلی لیتر"},{value:"1504075597199",label:"قطره خوراکی هالوپریدول 20 میلی گرم 30 میلی لیتر "},{value:"1504075656040",label:"قرص هالوپریدول 2 میلی گرم"},{value:"1504075705958",label:"قرص هالوپریدول 5 میلی گرم "},{value:"1504075762582",label:"آمپول هالوپریدول 50 میلی گرم در میلی لیتر "},{value:"1504075819125",label:"قطره خوراکی هالوپریدول 2 میلی گرم در میلی لیتر 15 سی سی "},{value:"1504075961388",label:"آمپول هالوپریدول 5 میلی گرم در میلی لیتر "},{value:"1504076124674",label:"قرص لورازپام 1 میلی گرم "},{value:"1504076173905",label:"قرص لورازپام 2 میلی گرم "},{value:"1504076268130",label:"آمپول لورازپام 2 میلی گرم در میلی لیتر "},{value:"1504076318373",label:"آمپول لورازپام 4 میلی گرم در میلی لیتر "},{value:"1504076555709",label:"قرص مپروبامات 400 میلی گرم "},{value:"1504076673409",label:"شربت میدازولام 2.5 میلی گرم در میلی لیتر 100 سی سی "},{value:"1504076731025",label:"آمپول میدازولام 15 میلی گرم در 3 میلی لیتر "},{value:"1504076785718",label:"شربت میدازولام 2 میلی گرم در میلی لیتر "},{value:"1504076840978",label:"آمپول میدازولام 5 میلی گرم در میلی لیتر "},{value:"1504077115321",label:"قرص نیترازپام 5 میلی گرم "},{value:"1504087833868",label:"قرص الانزاپین 10 میلی گرم "},{value:"1504087904831",label:"قرص الانزاپین 15 میلی گرم "},{value:"1504087967826",label:"قرص الانزاپین 2.5 میلی گرم "},{value:"1504088021127",label:"قرص الانزاپین 5 میلی گرم "},{value:"1504088152602",label:"قرص اگزازپام 10 میلی گرم "},{value:"1504088272591",label:"قرص پرفنازین 2 میلی گرم "},{value:"1504088314947",label:"قرص پرفنازین 4 میلی گرم "},{value:"1504088506480",label:"آمپول پرفنازین 5 میلی گرم در میلی "},{value:"1504088677070",label:"قرص پرفنازین 8 میلی گرم "},{value:"1504088798858",label:"قرص پیموزاید 2 میلی گرم "},{value:"1504088853642",label:"قرص پیموزاید 4 میلی گرم "},{value:"1504088955203",label:"قرص کوتیاپین 100 میلی گرم "},{value:"1504089084111",label:"قرص کوتیاپین 150 میلی گرم "},{value:"1504089156685",label:"قرص پیوسته رهش کوتیاپین 200 میلی گرم "},{value:"1504089257764",label:"قرص کوتیاپین 200 میلی گرم "},{value:"1504089309693",label:"قرص کوتیاپین 25 میلی گرم "},{value:"1504089378596",label:"قرص کوتیاپین 300 میلی گرم "},{value:"1504089426605",label:"قرص پیوسته رهش کوتیاپین 50 میلی گرم "},{value:"1504089559800",label:"قرص کوتیاپین 50 میلی گرم "},{value:"1504089771802",label:"قرص ریسپریدون 1 میلی گرم "},{value:"1504089914999",label:"شربت ریسپریدون 1 میلی گرم در میلی لیتر "},{value:"1504090040456",label:"آمپول ریسپریدون ال آ 25 میلی گرم "},{value:"1504090096704",label:"قرص ریسپریدون 2 میلی گرم "},{value:"1504090144597",label:"آمپول ریسپریدون ال آ 37.5 میلی گرم "},{value:"1504090407918",label:"قرص ریسپریدون 3 میلی گرم "},{value:"1504090487912",label:"قرص ریسپریدون 4 میلی گرم "},{value:"1504093099037",label:"قرص تمازپام 20 میلی گرم "},{value:"1504093206295",label:"سوسپانسیون تیوریدازین 25 میلی گرم در 5 میلی لیتر "},{value:"1504093276191",label:"قرص تیوریدازین 100 میلی گرم "},{value:"1504093320047",label:"قرص تیوریدازین 10 میلی گرم "},{value:"1504093359975",label:"قرص تیوریدازین 25 میلی گرم "},{value:"1504093464181",label:"کپسول تیوتیکسین 5 میلی گرم "},{value:"1504093564531",label:"قرص تری فلوپرازین 10 میلی گرم "},{value:"1504093615974",label:"قرص تری فلوپرازین 1 میلی گرم "},{value:"1504093669192",label:"آمپول تری فلوپرازین 1 میلی گرم در میلی لیتر "},{value:"1504093741853",label:"قرص تری فلوپرازین 2 میلی گرم "},{value:"1504093806019",label:"قرص تری فلوپرازین 5 میلی گرم "},{value:"1504093959834",label:"کپسول زالپلون 10 میلی گرم "},{value:"1504093997403",label:"کپسول زالپلون 5 میلی گرم "},{value:"1504094093030",label:"کپسول زیپراسیدون 40 میلی گرم "},{value:"1504094140182",label:"کپسول زیپراسیدون 20 میلی گرم "},{value:"1504094224621",label:"ویال زیپراسیدون 20 میلی گرم در میلی لیتر "},{value:"1504094284284",label:"کپسول زیپراسیدون 40 میلی گرم "},{value:"1504094327777",label:"کپسول زیپراسیدون 40 میلی گرم "},{value:"1504094384927",label:"کپسول زیپراسیدون 60 میلی گرم "},{value:"1504094433762",label:"کپسول زیپراسیدن 80 میلی گرم "},{value:"1504094555595",label:"قرص زولپیدم 10 میلی گرم "},{value:"1504094595428",label:"قرص زولپیدم 5 میلی گرم "},{value:"1504327571781",label:"ویال آلبومین انسانی 20% 100 سی سی"},{value:"1504327628914",label:"ویال آلبومین انسانی 20% 50 سی سی"},{value:"1504327679057",label:"ویال آلبومین انسانی 5% 100 سی سی "},{value:"1504327741021",label:"ویال آلبومین انسانی 5% 500 سی سی "},{value:"1504327788510",label:"ویال آلبومین 5% 250 سی سی "},{value:"1504327845884",label:"ویال آلبومین 15%"},{value:"1504328576581",label:"آمپول آمینوکاپروئیک اسید 250 میلی گرم در میلی لیتر "},{value:"1504328652261",label:"آمپول آمینوکاپروئیک اسید 4 گرم در 10 میلی لیتر "},{value:"1504329309590",label:"آمپول آپروتینین 100000 واحد در 10 میلی لیتر "},{value:"1504329392113",label:"آمپول آپروتینین 20000 KIU در میلی لیتر "},{value:"1504329479505",label:"آمپول آپروتینین"},{value:"1504329530831",label:"ویال آپروتینین 500000 KIU در 50 میلی لیتر "},{value:"1504329682946",label:"ست نشده"},{value:"1508224691810",label:"سرم تزریقی دکستران70 500 سی سی"},{value:"1508224865245",label:"آمپول اریتروپویتین 2000 ولحد"},{value:"1508224948685",label:"سرنگ آماده تزریق اریتروپویتین 10000 واحد در 0.5 سی سی "},{value:"1508225120747",label:"سرنگ آماده تزریق اریتروپویتین 2000 واحد در 0.5 سی سی "},{value:"1508225172975",label:"سرنگ آماده تزریق اریتروپویتین4000 واحد 0.5 سی سی "},{value:"1508225296755",label:"ویال اریتروپویتین 1000 واحد "},{value:"1508225345928",label:"ویال اریتروپویتین 10000 واحد"},{value:"1508225401424",label:"ویال اریتروپویتین 2000 واحد "},{value:"1508225473156",label:"ویال اریتروپویتین 4000 واحد"},{value:"1508225784305",label:"سرم استارچ 6% در 0.5 لیتر "},{value:"1508226064804",label:"سرم هیدروکسی اتیل استارچ 6% 500 سی سی "},{value:"1508232993537",label:"ویال فاکتور آنتی هموفیلی ۷ 2.4 میلی گرم"},{value:"1508233060958",label:"ویال فاکتور آنتی هموفیلی ۷ 4.8 میلی گرم "},{value:"1508233111660",label:"ویال فاکتور آنتی هموفیلی ۷ 600 واحد"},{value:"1508233182901",label:"ویال فاکتور آنتی هموفیلی ۷ 1.2 میلی گرم "},{value:"1535382621554",label:"آمپول بتامتازون 4 میلی گرمی"},{value:"1508233234680",label:"ویال فاکتور آنتی هموفیلی ۷ 1 میلی گرم "},{value:"1508233315490",label:"ویال فاکتور آنتی هموفیلی ۷ 2 میلی گرم "},{value:"1517735191320",label:"کپسول ژلی ویتامین دی (50000 واحد)"},{value:"1534827430964",label:"قرص کلسیم - د "},{value:"1535382023096",label:"اسپری استنشاقی بکلومتازون"},{value:"1535382554104",label:"قرص بتامتازون 0/5 میلی گرمی"},{value:"1535441769466",label:"قرص فلودروکورتیزون0.1 میلی گرم"},{value:"1535442910394",label:"کرم فلوراندرنولید0.05%"},{value:"1535443040289",label:"پماد فلوران درنولید0.05%"},{value:"1535443171994",label:"کرم فلوسینولون0.025%"},{value:"1535443278859",label:"پماد فلوسینولون0.025%"},{value:"1535443374599",label:"قطره چشمی فلورومتولون0.1% در 5 میلی لیتر"},{value:"1535443499366",label:"قطره چشمی فلورومتولون 0.1% درصدر 10 میلی لیتر"},{value:"1535443679732",label:"نا مشخص"},{value:"1535443936897",label:"اسپری بینی فلوتیکازون 120 میکروگرم در 120 دوز"},{value:"1535444177469",label:"اسپری استنشاقی فلوتیکازون125میکروگرم 120 دوز"},{value:"1535444506894",label:"اسپری استنشاقی فلوتیکازون 125 میکروگرم 60 دوز"},{value:"1535444619447",label:"اسپری استنشاقی فلوتیکازون 125میکروگرم "},{value:"1535445342157",label:"اسپری استنشاقی فلوتیکازون 250 میکروگرم 120 دوز"},{value:"1535445464848",label:"اسپری استنشاقی فلوتیکازون250 میکروگرم 60 دوز"},{value:"1535445539181",label:"اسپری استنشاقی فلوتیکازون 250 میکروگرم "},{value:"1535445632781",label:"اسپری بینی فلوتیکازون50 میکروگرم 100دوز"},{value:"1535445722086",label:"اسپری بینی فلوتیکازون 50 میکروگرم 120 دوز"},{value:"1535445836630",label:"نا مشخص"},{value:"1535445848986",label:"اسپری بینی فلوتیکازون50 میکروگرم 200 دوز"},{value:"1535445940281",label:"اسپری استنشاقی فلوتیکازون 50 میکروگرم"},{value:"1535446184814",label:"انما هیدروکورتیزون100 میلی گرم 60 میلی لیتر"},{value:"1535446994024",label:"اسپری هیدروکورتیزون 20.8 گرم"},{value:"1535447086511",label:"فوم هیدروکورتیزون رکتال0.1 میلی گرم"},{value:"1535455031697",label:"قرص فروس سولفات 50 میلی گرم "},{value:"1535460292590",label:"پماد جلدی هیدروکورتیزون 1%"},{value:"1535460462863",label:"کرم موضعی هیدروکورتیزون1%"},{value:"1535460543571",label:"قطره چشمی لوته پردنول0.5% "},{value:"1535460816781",label:"آمپول متیل پردنیزولون 1000میلی گرم"},{value:"1535460977775",label:"قرص متیل پردنیزولون میلی گرم"},{value:"1535461056866",label:"آمپول متیل پردنیزولون40میلی گرم"},{value:"1535461144220",label:"ویال تزریقی متیل پردنیزولون 500میلی گرم"},{value:"1535461252007",label:"آمپول متیل پردنیزولون 250 میلی گرم"},{value:"1535461789865",label:"لوسیون مومتازون0.1%"},{value:"1535461904947",label:"کرم مومتازون0.1% 15 گرمی"},{value:"1535461958980",label:"پماد مومتازون0.1% 15 گرمی"},{value:"1535462057520",label:"کرم مومتازون 0.1% 30 گرمی"},{value:"1535462686708",label:"اسپری بینی مومتازون 0.05% 120 دوز"},{value:"1535462862248",label:"پمپ اسپری بینی مومتازون"},{value:"1535462914073",label:"اسپری استنشاقی مومتازون 200میکروگرم 60 دوز"},{value:"1535462988644",label:"پمات مومتازون 20 گرم"},{value:"1535463102623",label:"اسپری استنشاقی مومتازون 400میکروگرم 30 دوز"},{value:"1535463164006",label:"اسپری استنشاقی مومتازون 400میکروگرم 60 دوز"},{value:"1535463233127",label:"اسپری استنشاقی مومتازون50 میکرو گرم 120 دوز"},{value:"1535463303636",label:"اسپری استنشاقی مومتازون50 میکروگرم 140 دوز"},{value:"1535463375633",label:"اسپری بینی مومتازون50 میکرو گرم 200 دوز"},{value:"1535463432901",label:"اسپری استنشاقی مومتازون 50 میکروگرم 40 دوز"},{value:"1535463508743",label:"آمپول پردنیزولون 10 میلی گرم"},{value:"1535463707849",label:"قرص پردنیزولون1میلی گرم"},{value:"1535463762694",label:"قرص پردنیزولون20 میلی گرم"},{value:"1535464162544",label:"قطره چشمی ریمکسولون5%"},{value:"1535464226778",label:"آمپول تریامسینولون4میلی گرم"},{value:"1535464349316",label:'آمپول تریامسینولون HSJ},KHDN 40 LDGD "VL'},{value:"1535464475819",label:"آمپول تریامسینولون هگزاستوناید 20 میلی گرم"},{value:"1535466030049",label:"محلول خوراکی دگزامتازون 2میلی گرم 5 میلی لیتر"},{value:"1535466157089",label:"قطره چشمی دگزامتازون+نئومایسین"},{value:"1535466305230",label:"قطره چشمی دگزامتازون+نئومایسین+پلی میکسین"},{value:"1535467552472",label:"قطره چشمی دگزامتازون0.1%"},{value:"1535469151985",label:"آمپول هیدروکورتیزون 100 میلی گرم"},{value:"1535469242299",label:"آمپول هیدروکورتیزون سوکسینات 100 میلی گرم"},{value:"1535469358282",label:"ویال هیدروکورتیزون سوکسینات 100 میلی گرم"},{value:"1535469449306",label:"قطره چشمی پردنیزولون 1%"},{value:"1535469563182",label:"قطره چشمی پردنیزولون-اس "},{value:"1535469921509",label:"کرم تریامسینولون 0.1% 15 گرم"},{value:"1535469963374",label:"پماد تریامسینولون 0.1% 15گرم"},{value:"1535470080077",label:"ژل دهانی تریامسینولون0.1%"},{value:"1535470248433",label:"خمیر دهانی تریامسینولون0.1%"},{value:"1535470637791",label:"ژل تریامسینولون0.1%"},{value:"1535470732556",label:"پماد تریامسینولون ان ان"},{value:"1535470783268",label:"قطره گوشی هیدروکورتیزون+استیک اسید"},{value:"1535807180837",label:"محلول اسنتشاقی سووفلوران"},{value:"1535807414741",label:"ویال تیوپنتال سدیم1 گرم"},{value:"1535807516875",label:"ویال تیوپنتال سدیم 500 میلی گرم"},{value:"1535807582597",label:"ویال پروپوفول 1000میلی گرم 100سی سی"},{value:"1535807660841",label:"ویال پروپوفول2% 50 میلی لیتر"},{value:"1535807740275",label:"آمپول پروپوفول 200 میلی گرم 20 میلی لیتر"},{value:"1535807817299",label:"ویال پروپوفول200 میلی گرم 20 میلی لیتر"},{value:"1535807883423",label:"ویال پروپوفول 500 میلی گرم 50 میلی لیتر"},{value:"1535807960835",label:"گاز استنشاقی نیتروس اکساید"},{value:"1535808118848",label:"ویال کتامین50 میلی گرم در میلی لیتر 10 میلی لیتر"},{value:"1535808227552",label:"محلول استنشاقی ایزوفلوران 100 میلی لیتر"},{value:"1535808353955",label:"اسپری استنشاقی ایزوفلوران"},{value:"1535808415101",label:"محلول استنشاقی هالوتان250 میلی لیتر"},{value:"1535808551805",label:"آمپول اتومیدیت 20 میلی گرم 10 میلی لیتر"},{value:"1545636174027",label:"قطره چشمی سیکلوپنتولات 0.5 درصد"},{value:"1545636238220",label:"قطره چشمی سیکلوپنتولات 1%"},{value:"1545636391477",label:"قطره چشمی آتروپین 0.5"},{value:"1545636586666",label:"قطره چشمی آتروپین 1%"},{value:"1545640655791",label:"قطره چشمی هماتروپین 2%"}];function Mw(e){return nr({attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"path",attr:{d:"M4 22h14a2 2 0 0 0 2-2V7l-5-5H6a2 2 0 0 0-2 2v4"},child:[]},{tag:"path",attr:{d:"M14 2v4a2 2 0 0 0 2 2h4"},child:[]},{tag:"path",attr:{d:"m8 12.5-5 5"},child:[]},{tag:"path",attr:{d:"m3 12.5 5 5"},child:[]}]})(e)}function Lw({onChange:e=()=>{},drugsList:t,containerClassName:n,BC:a}){const[r,i]=ee.useState({10520:null,1730098894463:null,1730098956926:null}),[s,u]=ee.useState({10520:null,1730098894463:null,1730098956926:null,otag:new Date().getTime()}),[c,d]=ee.useState(!1),[g,S]=ee.useState(qa[0].value),[p,m]=ee.useState(1),x=ee.useMemo(()=>g*(p-1),[g,p]),_=()=>{if(d(!0),Object.values(r).every(C=>C)){t?.length?e([...t,r]):e([r]),i({10520:null,1730098894463:null,1730098956926:null});return}else u({10520:r[10520]?null:{message:"پر کردن این قسمت الزامیست."},1730098894463:r[1730098894463]?null:{message:"پر کردن این قسمت الزامیست."},1730098956926:r[1730098956926]?null:{message:"پر کردن این قسمت الزامیست."}})},b=(C,D)=>{if(C==10520){i({...r,10520:{id:D,bc:a,base_show_condition:null,icon:null,v:zs.find(N=>N.value==D)?.label}}),c&&u({...s,10520:D?null:{message:"پر کردن این قسمت الزامیست."}});return}if(C==1730098894463){i({...r,1730098894463:D}),c&&u({...s,1730098894463:D?null:{message:"پر کردن این قسمت الزامیست."}});return}if(C==1730098956926){i({...r,1730098956926:D}),c&&u({...s,1730098956926:D?null:{message:"پر کردن این قسمت الزامیست."}});return}},O=C=>{const D=t;t.splice(C,1),e(D)};return w.jsx(Ja,{title:"نسخه دارویی",containerClassName:"!min-w-0",children:w.jsxs("div",{className:oe(n,"grid md:grid-cols-2 lg:grid-cols-3 md:gap-x-[5vw] gap-y-4 lg:gap-y-6"),children:[w.jsx(Xl,{search:!0,errors:s,questionKey:"10520",label:"نام داروی مصرفی",divider:"center",options:zs,onChange:C=>b("10520",C),value:r[10520]}),w.jsx(Oa,{questionKey:"1730098894463",errors:s,label:"تعداد",divider:"center",type:"number",inputMode:"numeric",value:r["1730098894463"],onChange:C=>b("1730098894463",C.target.value)}),w.jsx(Oa,{questionKey:"1730098956926",errors:s,label:"دستور مصرف",divider:"center",value:r["1730098956926"],onChange:C=>b("1730098956926",C.target.value)}),w.jsx(Za,{containerClassName:"col-span-full min-w-0",columns:["ردیف","نام دارو","فاصله زمانی","نحوه مصرف","عملیات"],rows:t?.length?t?.slice(x,x+g)?.map((C,D)=>[x+D+1,C[10520]?.v,C[1730098894463],C[1730098956926],w.jsx(Mw,{className:"cursor-pointer place-items-center font-600 !text-base text-error mx-auto",onClick:()=>O(D)},D)]):[[]],pagination:!0,page:p,setTableSize:S,tableSize:g,setPage:m,children:w.jsx("div",{className:"flex xs:w-[88vw] md:w-auto",children:w.jsx(er,{title:"افزودن",variant:"variant",className:"xs:w-full md:w-24 !border-opacity-30 xs:!py-1.5 md:!py-1 lg:!py-1.5 !bg-white hover:!bg-success hover:!text-white !text-black lg:!text-xs !gap-1",onClick:()=>_(),icon:w.jsx(Ac,{className:"xs:text-2xs md:text-xs lg:text-base font-800"})})})})]})})}exports.ArchiveTable=Ws;exports.Button=er;exports.CFCHeader=gw;exports.CheckBox=a1;exports.CheckBoxGroup=x0;exports.DateInput=il;exports.Divider=ta;exports.Draft=sl;exports.Dropdown=e0;exports.EmptyForm=Jy;exports.FieldSet=Ja;exports.FileField=C0;exports.FormFields=Xy;exports.HTML=r0;exports.Header=cw;exports.Label=$r;exports.Modal=y0;exports.Page=gf;exports.PageCard=qs;exports.Prescription=Lw;exports.ProgressChart=_0;exports.ProjectName=Zs;exports.Radio=Ga;exports.RadioOptions=w0;exports.Select=Xl;exports.SpecialistDashboardPage=Cw;exports.SpecialistPrintPage=Dw;exports.Tab=sc;exports.Table=Za;exports.TextEditor=W0;exports.TextField=Oa;exports.commonjsGlobal=ul;exports.getDefaultExportFromCjs=cl;