????
Current Path : C:/inetpub/vhost/bcvt.kontum.gov.vn/admin/assets/ |
Current File : C:/inetpub/vhost/bcvt.kontum.gov.vn/admin/assets/Reference-46aac1bb.js |
import{i as Re,m as We,r as T,o as pr,q as Fe,_ as ur,f as K}from"./vendor-4ed091cd.js";import{_ as m}from"./assertThisInitialized-081f9914.js";import{_ as O}from"./defineProperty-f749b14d.js";var He=Object.prototype.toString,vt=function(t){var n=He.call(t),r=n==="[object Arguments]";return r||(r=n!=="[object Array]"&&t!==null&&typeof t=="object"&&typeof t.length=="number"&&t.length>=0&&He.call(t.callee)==="[object Function]"),r},ce,ke;function lr(){if(ke)return ce;ke=1;var e;if(!Object.keys){var t=Object.prototype.hasOwnProperty,n=Object.prototype.toString,r=vt,o=Object.prototype.propertyIsEnumerable,i=!o.call({toString:null},"toString"),s=o.call(function(){},"prototype"),a=["toString","toLocaleString","valueOf","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","constructor"],f=function(v){var c=v.constructor;return c&&c.prototype===v},p={$applicationCache:!0,$console:!0,$external:!0,$frame:!0,$frameElement:!0,$frames:!0,$innerHeight:!0,$innerWidth:!0,$onmozfullscreenchange:!0,$onmozfullscreenerror:!0,$outerHeight:!0,$outerWidth:!0,$pageXOffset:!0,$pageYOffset:!0,$parent:!0,$scrollLeft:!0,$scrollTop:!0,$scrollX:!0,$scrollY:!0,$self:!0,$webkitIndexedDB:!0,$webkitStorageInfo:!0,$window:!0},u=function(){if(typeof window>"u")return!1;for(var v in window)try{if(!p["$"+v]&&t.call(window,v)&&window[v]!==null&&typeof window[v]=="object")try{f(window[v])}catch{return!0}}catch{return!0}return!1}(),l=function(v){if(typeof window>"u"||!u)return f(v);try{return f(v)}catch{return!1}};e=function(c){var d=c!==null&&typeof c=="object",b=n.call(c)==="[object Function]",I=r(c),h=d&&n.call(c)==="[object String]",y=[];if(!d&&!b&&!I)throw new TypeError("Object.keys called on a non-object");var E=s&&b;if(h&&c.length>0&&!t.call(c,0))for(var A=0;A<c.length;++A)y.push(String(A));if(I&&c.length>0)for(var P=0;P<c.length;++P)y.push(String(P));else for(var B in c)!(E&&B==="prototype")&&t.call(c,B)&&y.push(String(B));if(i)for(var ne=l(c),$=0;$<a.length;++$)!(ne&&a[$]==="constructor")&&t.call(c,a[$])&&y.push(a[$]);return y}}return ce=e,ce}var cr=Array.prototype.slice,vr=vt,Ve=Object.keys,oe=Ve?function(t){return Ve(t)}:lr(),Ge=Object.keys;oe.shim=function(){if(Object.keys){var t=function(){var n=Object.keys(arguments);return n&&n.length===arguments.length}(1,2);t||(Object.keys=function(r){return vr(r)?Ge(cr.call(r)):Ge(r)})}else Object.keys=oe;return Object.keys||oe};var dt=oe,yt=function(){if(typeof Symbol!="function"||typeof Object.getOwnPropertySymbols!="function")return!1;if(typeof Symbol.iterator=="symbol")return!0;var t={},n=Symbol("test"),r=Object(n);if(typeof n=="string"||Object.prototype.toString.call(n)!=="[object Symbol]"||Object.prototype.toString.call(r)!=="[object Symbol]")return!1;var o=42;t[n]=o;for(n in t)return!1;if(typeof Object.keys=="function"&&Object.keys(t).length!==0||typeof Object.getOwnPropertyNames=="function"&&Object.getOwnPropertyNames(t).length!==0)return!1;var i=Object.getOwnPropertySymbols(t);if(i.length!==1||i[0]!==n||!Object.prototype.propertyIsEnumerable.call(t,n))return!1;if(typeof Object.getOwnPropertyDescriptor=="function"){var s=Object.getOwnPropertyDescriptor(t,n);if(s.value!==o||s.enumerable!==!0)return!1}return!0},dr=yt,Ne=function(){return dr()&&!!Symbol.toStringTag},ze=typeof Symbol<"u"&&Symbol,yr=yt,hr=function(){return typeof ze!="function"||typeof Symbol!="function"||typeof ze("foo")!="symbol"||typeof Symbol("bar")!="symbol"?!1:yr()},qe={foo:{}},mr=Object,gr=function(){return{__proto__:qe}.foo===qe.foo&&!({__proto__:null}instanceof mr)},br="Function.prototype.bind called on incompatible ",ve=Array.prototype.slice,wr=Object.prototype.toString,Pr="[object Function]",Or=function(t){var n=this;if(typeof n!="function"||wr.call(n)!==Pr)throw new TypeError(br+n);for(var r=ve.call(arguments,1),o,i=function(){if(this instanceof o){var u=n.apply(this,r.concat(ve.call(arguments)));return Object(u)===u?u:this}else return n.apply(t,r.concat(ve.call(arguments)))},s=Math.max(0,n.length-r.length),a=[],f=0;f<s;f++)a.push("$"+f);if(o=Function("binder","return function ("+a.join(",")+"){ return binder.apply(this,arguments); }")(i),n.prototype){var p=function(){};p.prototype=n.prototype,o.prototype=new p,p.prototype=null}return o},Sr=Or,Te=Function.prototype.bind||Sr,Er=Te,Ar=Er.call(Function.call,Object.prototype.hasOwnProperty),g,V=SyntaxError,ht=Function,k=TypeError,de=function(e){try{return ht('"use strict"; return ('+e+").constructor;")()}catch{}},U=Object.getOwnPropertyDescriptor;if(U)try{U({},"")}catch{U=null}var ye=function(){throw new k},xr=U?function(){try{return arguments.callee,ye}catch{try{return U(arguments,"callee").get}catch{return ye}}}():ye,W=hr(),Ir=gr(),S=Object.getPrototypeOf||(Ir?function(e){return e.__proto__}:null),H={},$r=typeof Uint8Array>"u"||!S?g:S(Uint8Array),L={"%AggregateError%":typeof AggregateError>"u"?g:AggregateError,"%Array%":Array,"%ArrayBuffer%":typeof ArrayBuffer>"u"?g:ArrayBuffer,"%ArrayIteratorPrototype%":W&&S?S([][Symbol.iterator]()):g,"%AsyncFromSyncIteratorPrototype%":g,"%AsyncFunction%":H,"%AsyncGenerator%":H,"%AsyncGeneratorFunction%":H,"%AsyncIteratorPrototype%":H,"%Atomics%":typeof Atomics>"u"?g:Atomics,"%BigInt%":typeof BigInt>"u"?g:BigInt,"%BigInt64Array%":typeof BigInt64Array>"u"?g:BigInt64Array,"%BigUint64Array%":typeof BigUint64Array>"u"?g:BigUint64Array,"%Boolean%":Boolean,"%DataView%":typeof DataView>"u"?g:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":Error,"%eval%":eval,"%EvalError%":EvalError,"%Float32Array%":typeof Float32Array>"u"?g:Float32Array,"%Float64Array%":typeof Float64Array>"u"?g:Float64Array,"%FinalizationRegistry%":typeof FinalizationRegistry>"u"?g:FinalizationRegistry,"%Function%":ht,"%GeneratorFunction%":H,"%Int8Array%":typeof Int8Array>"u"?g:Int8Array,"%Int16Array%":typeof Int16Array>"u"?g:Int16Array,"%Int32Array%":typeof Int32Array>"u"?g:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":W&&S?S(S([][Symbol.iterator]())):g,"%JSON%":typeof JSON=="object"?JSON:g,"%Map%":typeof Map>"u"?g:Map,"%MapIteratorPrototype%":typeof Map>"u"||!W||!S?g:S(new Map()[Symbol.iterator]()),"%Math%":Math,"%Number%":Number,"%Object%":Object,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":typeof Promise>"u"?g:Promise,"%Proxy%":typeof Proxy>"u"?g:Proxy,"%RangeError%":RangeError,"%ReferenceError%":ReferenceError,"%Reflect%":typeof Reflect>"u"?g:Reflect,"%RegExp%":RegExp,"%Set%":typeof Set>"u"?g:Set,"%SetIteratorPrototype%":typeof Set>"u"||!W||!S?g:S(new Set()[Symbol.iterator]()),"%SharedArrayBuffer%":typeof SharedArrayBuffer>"u"?g:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":W&&S?S(""[Symbol.iterator]()):g,"%Symbol%":W?Symbol:g,"%SyntaxError%":V,"%ThrowTypeError%":xr,"%TypedArray%":$r,"%TypeError%":k,"%Uint8Array%":typeof Uint8Array>"u"?g:Uint8Array,"%Uint8ClampedArray%":typeof Uint8ClampedArray>"u"?g:Uint8ClampedArray,"%Uint16Array%":typeof Uint16Array>"u"?g:Uint16Array,"%Uint32Array%":typeof Uint32Array>"u"?g:Uint32Array,"%URIError%":URIError,"%WeakMap%":typeof WeakMap>"u"?g:WeakMap,"%WeakRef%":typeof WeakRef>"u"?g:WeakRef,"%WeakSet%":typeof WeakSet>"u"?g:WeakSet};if(S)try{null.error}catch(e){var jr=S(S(e));L["%Error.prototype%"]=jr}var Rr=function e(t){var n;if(t==="%AsyncFunction%")n=de("async function () {}");else if(t==="%GeneratorFunction%")n=de("function* () {}");else if(t==="%AsyncGeneratorFunction%")n=de("async function* () {}");else if(t==="%AsyncGenerator%"){var r=e("%AsyncGeneratorFunction%");r&&(n=r.prototype)}else if(t==="%AsyncIteratorPrototype%"){var o=e("%AsyncGenerator%");o&&S&&(n=S(o.prototype))}return L[t]=n,n},Ye={"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},Q=Te,ie=Ar,Fr=Q.call(Function.call,Array.prototype.concat),Nr=Q.call(Function.apply,Array.prototype.splice),Ke=Q.call(Function.call,String.prototype.replace),ae=Q.call(Function.call,String.prototype.slice),Tr=Q.call(Function.call,RegExp.prototype.exec),Dr=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,Br=/\\(\\)?/g,Mr=function(t){var n=ae(t,0,1),r=ae(t,-1);if(n==="%"&&r!=="%")throw new V("invalid intrinsic syntax, expected closing `%`");if(r==="%"&&n!=="%")throw new V("invalid intrinsic syntax, expected opening `%`");var o=[];return Ke(t,Dr,function(i,s,a,f){o[o.length]=a?Ke(f,Br,"$1"):s||i}),o},Cr=function(t,n){var r=t,o;if(ie(Ye,r)&&(o=Ye[r],r="%"+o[0]+"%"),ie(L,r)){var i=L[r];if(i===H&&(i=Rr(r)),typeof i>"u"&&!n)throw new k("intrinsic "+t+" exists, but is not available. Please file an issue!");return{alias:o,name:r,value:i}}throw new V("intrinsic "+t+" does not exist!")},De=function(t,n){if(typeof t!="string"||t.length===0)throw new k("intrinsic name must be a non-empty string");if(arguments.length>1&&typeof n!="boolean")throw new k('"allowMissing" argument must be a boolean');if(Tr(/^%?[^%]*%?$/,t)===null)throw new V("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var r=Mr(t),o=r.length>0?r[0]:"",i=Cr("%"+o+"%",n),s=i.name,a=i.value,f=!1,p=i.alias;p&&(o=p[0],Nr(r,Fr([0,1],p)));for(var u=1,l=!0;u<r.length;u+=1){var v=r[u],c=ae(v,0,1),d=ae(v,-1);if((c==='"'||c==="'"||c==="`"||d==='"'||d==="'"||d==="`")&&c!==d)throw new V("property names with quotes must have matching quotes");if((v==="constructor"||!l)&&(f=!0),o+="."+v,s="%"+o+"%",ie(L,s))a=L[s];else if(a!=null){if(!(v in a)){if(!n)throw new k("base intrinsic for "+t+" exists, but the property is not available.");return}if(U&&u+1>=r.length){var b=U(a,v);l=!!b,l&&"get"in b&&!("originalValue"in b.get)?a=b.get:a=a[v]}else l=ie(a,v),a=a[v];l&&!f&&(L[s]=a)}}return a},mt={exports:{}};(function(e){var t=Te,n=De,r=n("%Function.prototype.apply%"),o=n("%Function.prototype.call%"),i=n("%Reflect.apply%",!0)||t.call(o,r),s=n("%Object.getOwnPropertyDescriptor%",!0),a=n("%Object.defineProperty%",!0),f=n("%Math.max%");if(a)try{a({},"a",{value:1})}catch{a=null}e.exports=function(l){var v=i(t,o,arguments);if(s&&a){var c=s(v,"length");c.configurable&&a(v,"length",{value:1+f(0,l.length-(arguments.length-1))})}return v};var p=function(){return i(t,r,arguments)};a?a(e.exports,"apply",{value:p}):e.exports.apply=p})(mt);var Be=mt.exports,gt=De,bt=Be,Ur=bt(gt("String.prototype.indexOf")),wt=function(t,n){var r=gt(t,!!n);return typeof r=="function"&&Ur(t,".prototype.")>-1?bt(r):r},Lr=Ne(),_r=wt,be=_r("Object.prototype.toString"),ue=function(t){return Lr&&t&&typeof t=="object"&&Symbol.toStringTag in t?!1:be(t)==="[object Arguments]"},Pt=function(t){return ue(t)?!0:t!==null&&typeof t=="object"&&typeof t.length=="number"&&t.length>=0&&be(t)!=="[object Array]"&&be(t.callee)==="[object Function]"},Wr=function(){return ue(arguments)}();ue.isLegacyArguments=Pt;var Hr=Wr?ue:Pt,kr=De,we=kr("%Object.defineProperty%",!0),Pe=function(){if(we)try{return we({},"a",{value:1}),!0}catch{return!1}return!1};Pe.hasArrayLengthDefineBug=function(){if(!Pe())return null;try{return we([],"length",{value:1}).length!==1}catch{return!0}};var Vr=Pe,Gr=dt,zr=typeof Symbol=="function"&&typeof Symbol("foo")=="symbol",qr=Object.prototype.toString,Yr=Array.prototype.concat,Ot=Object.defineProperty,Kr=function(e){return typeof e=="function"&&qr.call(e)==="[object Function]"},Jr=Vr(),St=Ot&&Jr,Xr=function(e,t,n,r){if(t in e){if(r===!0){if(e[t]===n)return}else if(!Kr(r)||!r())return}St?Ot(e,t,{configurable:!0,enumerable:!1,value:n,writable:!0}):e[t]=n},Et=function(e,t){var n=arguments.length>2?arguments[2]:{},r=Gr(t);zr&&(r=Yr.call(r,Object.getOwnPropertySymbols(t)));for(var o=0;o<r.length;o+=1)Xr(e,r[o],t[r[o]],n[r[o]])};Et.supportsDescriptors=!!St;var Z=Et,Je=function(e){return e!==e},At=function(t,n){return t===0&&n===0?1/t===1/n:!!(t===n||Je(t)&&Je(n))},Qr=At,xt=function(){return typeof Object.is=="function"?Object.is:Qr},Zr=xt,en=Z,tn=function(){var t=Zr();return en(Object,{is:t},{is:function(){return Object.is!==t}}),t},rn=Z,nn=Be,on=At,It=xt,an=tn,$t=nn(It(),Object);rn($t,{getPolyfill:It,implementation:on,shim:an});var sn=$t,Oe=wt,jt=Ne(),Rt,Ft,Se,Ee;if(jt){Rt=Oe("Object.prototype.hasOwnProperty"),Ft=Oe("RegExp.prototype.exec"),Se={};var he=function(){throw Se};Ee={toString:he,valueOf:he},typeof Symbol.toPrimitive=="symbol"&&(Ee[Symbol.toPrimitive]=he)}var fn=Oe("Object.prototype.toString"),pn=Object.getOwnPropertyDescriptor,un="[object RegExp]",ln=jt?function(t){if(!t||typeof t!="object")return!1;var n=pn(t,"lastIndex"),r=n&&Rt(n,"value");if(!r)return!1;try{Ft(t,Ee)}catch(o){return o===Se}}:function(t){return!t||typeof t!="object"&&typeof t!="function"?!1:fn(t)===un},Nt={exports:{}},X=function(){return typeof function(){}.name=="string"},J=Object.getOwnPropertyDescriptor;if(J)try{J([],"length")}catch{J=null}X.functionsHaveConfigurableNames=function(){if(!X()||!J)return!1;var t=J(function(){},"name");return!!t&&!!t.configurable};var cn=Function.prototype.bind;X.boundFunctionsHaveNames=function(){return X()&&typeof cn=="function"&&function(){}.bind().name!==""};var vn=X;(function(e){var t=vn.functionsHaveConfigurableNames(),n=Object,r=TypeError;e.exports=function(){if(this!=null&&this!==n(this))throw new r("RegExp.prototype.flags getter called on non-object");var i="";return this.hasIndices&&(i+="d"),this.global&&(i+="g"),this.ignoreCase&&(i+="i"),this.multiline&&(i+="m"),this.dotAll&&(i+="s"),this.unicode&&(i+="u"),this.unicodeSets&&(i+="v"),this.sticky&&(i+="y"),i},t&&Object.defineProperty&&Object.defineProperty(e.exports,"name",{value:"get flags"})})(Nt);var Tt=Nt.exports,dn=Tt,yn=Z.supportsDescriptors,hn=Object.getOwnPropertyDescriptor,Dt=function(){if(yn&&/a/mig.flags==="gim"){var t=hn(RegExp.prototype,"flags");if(t&&typeof t.get=="function"&&typeof RegExp.prototype.dotAll=="boolean"&&typeof RegExp.prototype.hasIndices=="boolean"){var n="",r={};if(Object.defineProperty(r,"hasIndices",{get:function(){n+="d"}}),Object.defineProperty(r,"sticky",{get:function(){n+="y"}}),n==="dy")return t.get}}return dn},mn=Z.supportsDescriptors,gn=Dt,bn=Object.getOwnPropertyDescriptor,wn=Object.defineProperty,Pn=TypeError,Xe=Object.getPrototypeOf,On=/a/,Sn=function(){if(!mn||!Xe)throw new Pn("RegExp.prototype.flags requires a true ES5 environment that supports property descriptors");var t=gn(),n=Xe(On),r=bn(n,"flags");return(!r||r.get!==t)&&wn(n,"flags",{configurable:!0,enumerable:!1,get:t}),t},En=Z,An=Be,xn=Tt,Bt=Dt,In=Sn,Mt=An(Bt());En(Mt,{getPolyfill:Bt,implementation:xn,shim:In});var $n=Mt,jn=Date.prototype.getDay,Rn=function(t){try{return jn.call(t),!0}catch{return!1}},Fn=Object.prototype.toString,Nn="[object Date]",Tn=Ne(),Dn=function(t){return typeof t!="object"||t===null?!1:Tn?Rn(t):Fn.call(t)===Nn},Qe=dt,Ze=Hr,et=sn,tt=ln,rt=$n,nt=Dn,ot=Date.prototype.getTime;function Ct(e,t,n){var r=n||{};return(r.strict?et(e,t):e===t)?!0:!e||!t||typeof e!="object"&&typeof t!="object"?r.strict?et(e,t):e==t:Bn(e,t,r)}function it(e){return e==null}function at(e){return!(!e||typeof e!="object"||typeof e.length!="number"||typeof e.copy!="function"||typeof e.slice!="function"||e.length>0&&typeof e[0]!="number")}function Bn(e,t,n){var r,o;if(typeof e!=typeof t||it(e)||it(t)||e.prototype!==t.prototype||Ze(e)!==Ze(t))return!1;var i=tt(e),s=tt(t);if(i!==s)return!1;if(i||s)return e.source===t.source&&rt(e)===rt(t);if(nt(e)&&nt(t))return ot.call(e)===ot.call(t);var a=at(e),f=at(t);if(a!==f)return!1;if(a||f){if(e.length!==t.length)return!1;for(r=0;r<e.length;r++)if(e[r]!==t[r])return!1;return!0}if(typeof e!=typeof t)return!1;try{var p=Qe(e),u=Qe(t)}catch{return!1}if(p.length!==u.length)return!1;for(p.sort(),u.sort(),r=p.length-1;r>=0;r--)if(p[r]!=u[r])return!1;for(r=p.length-1;r>=0;r--)if(o=p[r],!Ct(e[o],t[o],n))return!1;return!0}var Mn=Ct;const Cn=Re(Mn);/**! * @fileOverview Kickass library to create and place poppers near their reference elements. * @version 1.16.1 * @license * Copyright (c) 2016 Federico Zivolo and contributors * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rights * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell * copies of the Software, and to permit persons to whom the Software is * furnished to do so, subject to the following conditions: * * The above copyright notice and this permission notice shall be included in all * copies or substantial portions of the Software. * * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE * SOFTWARE. */var ee=typeof window<"u"&&typeof document<"u"&&typeof navigator<"u",Un=function(){for(var e=["Edge","Trident","Firefox"],t=0;t<e.length;t+=1)if(ee&&navigator.userAgent.indexOf(e[t])>=0)return 1;return 0}();function Ln(e){var t=!1;return function(){t||(t=!0,window.Promise.resolve().then(function(){t=!1,e()}))}}function _n(e){var t=!1;return function(){t||(t=!0,setTimeout(function(){t=!1,e()},Un))}}var Wn=ee&&window.Promise,Hn=Wn?Ln:_n;function Ut(e){var t={};return e&&t.toString.call(e)==="[object Function]"}function _(e,t){if(e.nodeType!==1)return[];var n=e.ownerDocument.defaultView,r=n.getComputedStyle(e,null);return t?r[t]:r}function Me(e){return e.nodeName==="HTML"?e:e.parentNode||e.host}function te(e){if(!e)return document.body;switch(e.nodeName){case"HTML":case"BODY":return e.ownerDocument.body;case"#document":return e.body}var t=_(e),n=t.overflow,r=t.overflowX,o=t.overflowY;return/(auto|scroll|overlay)/.test(n+o+r)?e:te(Me(e))}function Lt(e){return e&&e.referenceNode?e.referenceNode:e}var st=ee&&!!(window.MSInputMethodContext&&document.documentMode),ft=ee&&/MSIE 10/.test(navigator.userAgent);function Y(e){return e===11?st:e===10?ft:st||ft}function G(e){if(!e)return document.documentElement;for(var t=Y(10)?document.body:null,n=e.offsetParent||null;n===t&&e.nextElementSibling;)n=(e=e.nextElementSibling).offsetParent;var r=n&&n.nodeName;return!r||r==="BODY"||r==="HTML"?e?e.ownerDocument.documentElement:document.documentElement:["TH","TD","TABLE"].indexOf(n.nodeName)!==-1&&_(n,"position")==="static"?G(n):n}function kn(e){var t=e.nodeName;return t==="BODY"?!1:t==="HTML"||G(e.firstElementChild)===e}function Ae(e){return e.parentNode!==null?Ae(e.parentNode):e}function se(e,t){if(!e||!e.nodeType||!t||!t.nodeType)return document.documentElement;var n=e.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_FOLLOWING,r=n?e:t,o=n?t:e,i=document.createRange();i.setStart(r,0),i.setEnd(o,0);var s=i.commonAncestorContainer;if(e!==s&&t!==s||r.contains(o))return kn(s)?s:G(s);var a=Ae(e);return a.host?se(a.host,t):se(e,Ae(t).host)}function z(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"top",n=t==="top"?"scrollTop":"scrollLeft",r=e.nodeName;if(r==="BODY"||r==="HTML"){var o=e.ownerDocument.documentElement,i=e.ownerDocument.scrollingElement||o;return i[n]}return e[n]}function Vn(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,r=z(t,"top"),o=z(t,"left"),i=n?-1:1;return e.top+=r*i,e.bottom+=r*i,e.left+=o*i,e.right+=o*i,e}function pt(e,t){var n=t==="x"?"Left":"Top",r=n==="Left"?"Right":"Bottom";return parseFloat(e["border"+n+"Width"])+parseFloat(e["border"+r+"Width"])}function ut(e,t,n,r){return Math.max(t["offset"+e],t["scroll"+e],n["client"+e],n["offset"+e],n["scroll"+e],Y(10)?parseInt(n["offset"+e])+parseInt(r["margin"+(e==="Height"?"Top":"Left")])+parseInt(r["margin"+(e==="Height"?"Bottom":"Right")]):0)}function _t(e){var t=e.body,n=e.documentElement,r=Y(10)&&getComputedStyle(n);return{height:ut("Height",t,n,r),width:ut("Width",t,n,r)}}var Gn=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")},zn=function(){function e(t,n){for(var r=0;r<n.length;r++){var o=n[r];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),q=function(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e},F=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e};function C(e){return F({},e,{right:e.left+e.width,bottom:e.top+e.height})}function xe(e){var t={};try{if(Y(10)){t=e.getBoundingClientRect();var n=z(e,"top"),r=z(e,"left");t.top+=n,t.left+=r,t.bottom+=n,t.right+=r}else t=e.getBoundingClientRect()}catch{}var o={left:t.left,top:t.top,width:t.right-t.left,height:t.bottom-t.top},i=e.nodeName==="HTML"?_t(e.ownerDocument):{},s=i.width||e.clientWidth||o.width,a=i.height||e.clientHeight||o.height,f=e.offsetWidth-s,p=e.offsetHeight-a;if(f||p){var u=_(e);f-=pt(u,"x"),p-=pt(u,"y"),o.width-=f,o.height-=p}return C(o)}function Ce(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,r=Y(10),o=t.nodeName==="HTML",i=xe(e),s=xe(t),a=te(e),f=_(t),p=parseFloat(f.borderTopWidth),u=parseFloat(f.borderLeftWidth);n&&o&&(s.top=Math.max(s.top,0),s.left=Math.max(s.left,0));var l=C({top:i.top-s.top-p,left:i.left-s.left-u,width:i.width,height:i.height});if(l.marginTop=0,l.marginLeft=0,!r&&o){var v=parseFloat(f.marginTop),c=parseFloat(f.marginLeft);l.top-=p-v,l.bottom-=p-v,l.left-=u-c,l.right-=u-c,l.marginTop=v,l.marginLeft=c}return(r&&!n?t.contains(a):t===a&&a.nodeName!=="BODY")&&(l=Vn(l,t)),l}function qn(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,n=e.ownerDocument.documentElement,r=Ce(e,n),o=Math.max(n.clientWidth,window.innerWidth||0),i=Math.max(n.clientHeight,window.innerHeight||0),s=t?0:z(n),a=t?0:z(n,"left"),f={top:s-r.top+r.marginTop,left:a-r.left+r.marginLeft,width:o,height:i};return C(f)}function Wt(e){var t=e.nodeName;if(t==="BODY"||t==="HTML")return!1;if(_(e,"position")==="fixed")return!0;var n=Me(e);return n?Wt(n):!1}function Ht(e){if(!e||!e.parentElement||Y())return document.documentElement;for(var t=e.parentElement;t&&_(t,"transform")==="none";)t=t.parentElement;return t||document.documentElement}function Ue(e,t,n,r){var o=arguments.length>4&&arguments[4]!==void 0?arguments[4]:!1,i={top:0,left:0},s=o?Ht(e):se(e,Lt(t));if(r==="viewport")i=qn(s,o);else{var a=void 0;r==="scrollParent"?(a=te(Me(t)),a.nodeName==="BODY"&&(a=e.ownerDocument.documentElement)):r==="window"?a=e.ownerDocument.documentElement:a=r;var f=Ce(a,s,o);if(a.nodeName==="HTML"&&!Wt(s)){var p=_t(e.ownerDocument),u=p.height,l=p.width;i.top+=f.top-f.marginTop,i.bottom=u+f.top,i.left+=f.left-f.marginLeft,i.right=l+f.left}else i=f}n=n||0;var v=typeof n=="number";return i.left+=v?n:n.left||0,i.top+=v?n:n.top||0,i.right-=v?n:n.right||0,i.bottom-=v?n:n.bottom||0,i}function Yn(e){var t=e.width,n=e.height;return t*n}function kt(e,t,n,r,o){var i=arguments.length>5&&arguments[5]!==void 0?arguments[5]:0;if(e.indexOf("auto")===-1)return e;var s=Ue(n,r,i,o),a={top:{width:s.width,height:t.top-s.top},right:{width:s.right-t.right,height:s.height},bottom:{width:s.width,height:s.bottom-t.bottom},left:{width:t.left-s.left,height:s.height}},f=Object.keys(a).map(function(v){return F({key:v},a[v],{area:Yn(a[v])})}).sort(function(v,c){return c.area-v.area}),p=f.filter(function(v){var c=v.width,d=v.height;return c>=n.clientWidth&&d>=n.clientHeight}),u=p.length>0?p[0].key:f[0].key,l=e.split("-")[1];return u+(l?"-"+l:"")}function Vt(e,t,n){var r=arguments.length>3&&arguments[3]!==void 0?arguments[3]:null,o=r?Ht(t):se(t,Lt(n));return Ce(n,o,r)}function Gt(e){var t=e.ownerDocument.defaultView,n=t.getComputedStyle(e),r=parseFloat(n.marginTop||0)+parseFloat(n.marginBottom||0),o=parseFloat(n.marginLeft||0)+parseFloat(n.marginRight||0),i={width:e.offsetWidth+o,height:e.offsetHeight+r};return i}function fe(e){var t={left:"right",right:"left",bottom:"top",top:"bottom"};return e.replace(/left|right|bottom|top/g,function(n){return t[n]})}function zt(e,t,n){n=n.split("-")[0];var r=Gt(e),o={width:r.width,height:r.height},i=["right","left"].indexOf(n)!==-1,s=i?"top":"left",a=i?"left":"top",f=i?"height":"width",p=i?"width":"height";return o[s]=t[s]+t[f]/2-r[f]/2,n===a?o[a]=t[a]-r[p]:o[a]=t[fe(a)],o}function re(e,t){return Array.prototype.find?e.find(t):e.filter(t)[0]}function Kn(e,t,n){if(Array.prototype.findIndex)return e.findIndex(function(o){return o[t]===n});var r=re(e,function(o){return o[t]===n});return e.indexOf(r)}function qt(e,t,n){var r=n===void 0?e:e.slice(0,Kn(e,"name",n));return r.forEach(function(o){o.function&&console.warn("`modifier.function` is deprecated, use `modifier.fn`!");var i=o.function||o.fn;o.enabled&&Ut(i)&&(t.offsets.popper=C(t.offsets.popper),t.offsets.reference=C(t.offsets.reference),t=i(t,o))}),t}function Jn(){if(!this.state.isDestroyed){var e={instance:this,styles:{},arrowStyles:{},attributes:{},flipped:!1,offsets:{}};e.offsets.reference=Vt(this.state,this.popper,this.reference,this.options.positionFixed),e.placement=kt(this.options.placement,e.offsets.reference,this.popper,this.reference,this.options.modifiers.flip.boundariesElement,this.options.modifiers.flip.padding),e.originalPlacement=e.placement,e.positionFixed=this.options.positionFixed,e.offsets.popper=zt(this.popper,e.offsets.reference,e.placement),e.offsets.popper.position=this.options.positionFixed?"fixed":"absolute",e=qt(this.modifiers,e),this.state.isCreated?this.options.onUpdate(e):(this.state.isCreated=!0,this.options.onCreate(e))}}function Yt(e,t){return e.some(function(n){var r=n.name,o=n.enabled;return o&&r===t})}function Le(e){for(var t=[!1,"ms","Webkit","Moz","O"],n=e.charAt(0).toUpperCase()+e.slice(1),r=0;r<t.length;r++){var o=t[r],i=o?""+o+n:e;if(typeof document.body.style[i]<"u")return i}return null}function Xn(){return this.state.isDestroyed=!0,Yt(this.modifiers,"applyStyle")&&(this.popper.removeAttribute("x-placement"),this.popper.style.position="",this.popper.style.top="",this.popper.style.left="",this.popper.style.right="",this.popper.style.bottom="",this.popper.style.willChange="",this.popper.style[Le("transform")]=""),this.disableEventListeners(),this.options.removeOnDestroy&&this.popper.parentNode.removeChild(this.popper),this}function Kt(e){var t=e.ownerDocument;return t?t.defaultView:window}function Jt(e,t,n,r){var o=e.nodeName==="BODY",i=o?e.ownerDocument.defaultView:e;i.addEventListener(t,n,{passive:!0}),o||Jt(te(i.parentNode),t,n,r),r.push(i)}function Qn(e,t,n,r){n.updateBound=r,Kt(e).addEventListener("resize",n.updateBound,{passive:!0});var o=te(e);return Jt(o,"scroll",n.updateBound,n.scrollParents),n.scrollElement=o,n.eventsEnabled=!0,n}function Zn(){this.state.eventsEnabled||(this.state=Qn(this.reference,this.options,this.state,this.scheduleUpdate))}function eo(e,t){return Kt(e).removeEventListener("resize",t.updateBound),t.scrollParents.forEach(function(n){n.removeEventListener("scroll",t.updateBound)}),t.updateBound=null,t.scrollParents=[],t.scrollElement=null,t.eventsEnabled=!1,t}function to(){this.state.eventsEnabled&&(cancelAnimationFrame(this.scheduleUpdate),this.state=eo(this.reference,this.state))}function _e(e){return e!==""&&!isNaN(parseFloat(e))&&isFinite(e)}function Ie(e,t){Object.keys(t).forEach(function(n){var r="";["width","height","top","right","bottom","left"].indexOf(n)!==-1&&_e(t[n])&&(r="px"),e.style[n]=t[n]+r})}function ro(e,t){Object.keys(t).forEach(function(n){var r=t[n];r!==!1?e.setAttribute(n,t[n]):e.removeAttribute(n)})}function no(e){return Ie(e.instance.popper,e.styles),ro(e.instance.popper,e.attributes),e.arrowElement&&Object.keys(e.arrowStyles).length&&Ie(e.arrowElement,e.arrowStyles),e}function oo(e,t,n,r,o){var i=Vt(o,t,e,n.positionFixed),s=kt(n.placement,i,t,e,n.modifiers.flip.boundariesElement,n.modifiers.flip.padding);return t.setAttribute("x-placement",s),Ie(t,{position:n.positionFixed?"fixed":"absolute"}),n}function io(e,t){var n=e.offsets,r=n.popper,o=n.reference,i=Math.round,s=Math.floor,a=function(h){return h},f=i(o.width),p=i(r.width),u=["left","right"].indexOf(e.placement)!==-1,l=e.placement.indexOf("-")!==-1,v=f%2===p%2,c=f%2===1&&p%2===1,d=t?u||l||v?i:s:a,b=t?i:a;return{left:d(c&&!l&&t?r.left-1:r.left),top:b(r.top),bottom:b(r.bottom),right:d(r.right)}}var ao=ee&&/Firefox/i.test(navigator.userAgent);function so(e,t){var n=t.x,r=t.y,o=e.offsets.popper,i=re(e.instance.modifiers,function(E){return E.name==="applyStyle"}).gpuAcceleration;i!==void 0&&console.warn("WARNING: `gpuAcceleration` option moved to `computeStyle` modifier and will not be supported in future versions of Popper.js!");var s=i!==void 0?i:t.gpuAcceleration,a=G(e.instance.popper),f=xe(a),p={position:o.position},u=io(e,window.devicePixelRatio<2||!ao),l=n==="bottom"?"top":"bottom",v=r==="right"?"left":"right",c=Le("transform"),d=void 0,b=void 0;if(l==="bottom"?a.nodeName==="HTML"?b=-a.clientHeight+u.bottom:b=-f.height+u.bottom:b=u.top,v==="right"?a.nodeName==="HTML"?d=-a.clientWidth+u.right:d=-f.width+u.right:d=u.left,s&&c)p[c]="translate3d("+d+"px, "+b+"px, 0)",p[l]=0,p[v]=0,p.willChange="transform";else{var I=l==="bottom"?-1:1,h=v==="right"?-1:1;p[l]=b*I,p[v]=d*h,p.willChange=l+", "+v}var y={"x-placement":e.placement};return e.attributes=F({},y,e.attributes),e.styles=F({},p,e.styles),e.arrowStyles=F({},e.offsets.arrow,e.arrowStyles),e}function Xt(e,t,n){var r=re(e,function(a){var f=a.name;return f===t}),o=!!r&&e.some(function(a){return a.name===n&&a.enabled&&a.order<r.order});if(!o){var i="`"+t+"`",s="`"+n+"`";console.warn(s+" modifier is required by "+i+" modifier in order to work, be sure to include it before "+i+"!")}return o}function fo(e,t){var n;if(!Xt(e.instance.modifiers,"arrow","keepTogether"))return e;var r=t.element;if(typeof r=="string"){if(r=e.instance.popper.querySelector(r),!r)return e}else if(!e.instance.popper.contains(r))return console.warn("WARNING: `arrow.element` must be child of its popper element!"),e;var o=e.placement.split("-")[0],i=e.offsets,s=i.popper,a=i.reference,f=["left","right"].indexOf(o)!==-1,p=f?"height":"width",u=f?"Top":"Left",l=u.toLowerCase(),v=f?"left":"top",c=f?"bottom":"right",d=Gt(r)[p];a[c]-d<s[l]&&(e.offsets.popper[l]-=s[l]-(a[c]-d)),a[l]+d>s[c]&&(e.offsets.popper[l]+=a[l]+d-s[c]),e.offsets.popper=C(e.offsets.popper);var b=a[l]+a[p]/2-d/2,I=_(e.instance.popper),h=parseFloat(I["margin"+u]),y=parseFloat(I["border"+u+"Width"]),E=b-e.offsets.popper[l]-h-y;return E=Math.max(Math.min(s[p]-d,E),0),e.arrowElement=r,e.offsets.arrow=(n={},q(n,l,Math.round(E)),q(n,v,""),n),e}function po(e){return e==="end"?"start":e==="start"?"end":e}var Qt=["auto-start","auto","auto-end","top-start","top","top-end","right-start","right","right-end","bottom-end","bottom","bottom-start","left-end","left","left-start"],me=Qt.slice(3);function lt(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,n=me.indexOf(e),r=me.slice(n+1).concat(me.slice(0,n));return t?r.reverse():r}var ge={FLIP:"flip",CLOCKWISE:"clockwise",COUNTERCLOCKWISE:"counterclockwise"};function uo(e,t){if(Yt(e.instance.modifiers,"inner")||e.flipped&&e.placement===e.originalPlacement)return e;var n=Ue(e.instance.popper,e.instance.reference,t.padding,t.boundariesElement,e.positionFixed),r=e.placement.split("-")[0],o=fe(r),i=e.placement.split("-")[1]||"",s=[];switch(t.behavior){case ge.FLIP:s=[r,o];break;case ge.CLOCKWISE:s=lt(r);break;case ge.COUNTERCLOCKWISE:s=lt(r,!0);break;default:s=t.behavior}return s.forEach(function(a,f){if(r!==a||s.length===f+1)return e;r=e.placement.split("-")[0],o=fe(r);var p=e.offsets.popper,u=e.offsets.reference,l=Math.floor,v=r==="left"&&l(p.right)>l(u.left)||r==="right"&&l(p.left)<l(u.right)||r==="top"&&l(p.bottom)>l(u.top)||r==="bottom"&&l(p.top)<l(u.bottom),c=l(p.left)<l(n.left),d=l(p.right)>l(n.right),b=l(p.top)<l(n.top),I=l(p.bottom)>l(n.bottom),h=r==="left"&&c||r==="right"&&d||r==="top"&&b||r==="bottom"&&I,y=["top","bottom"].indexOf(r)!==-1,E=!!t.flipVariations&&(y&&i==="start"&&c||y&&i==="end"&&d||!y&&i==="start"&&b||!y&&i==="end"&&I),A=!!t.flipVariationsByContent&&(y&&i==="start"&&d||y&&i==="end"&&c||!y&&i==="start"&&I||!y&&i==="end"&&b),P=E||A;(v||h||P)&&(e.flipped=!0,(v||h)&&(r=s[f+1]),P&&(i=po(i)),e.placement=r+(i?"-"+i:""),e.offsets.popper=F({},e.offsets.popper,zt(e.instance.popper,e.offsets.reference,e.placement)),e=qt(e.instance.modifiers,e,"flip"))}),e}function lo(e){var t=e.offsets,n=t.popper,r=t.reference,o=e.placement.split("-")[0],i=Math.floor,s=["top","bottom"].indexOf(o)!==-1,a=s?"right":"bottom",f=s?"left":"top",p=s?"width":"height";return n[a]<i(r[f])&&(e.offsets.popper[f]=i(r[f])-n[p]),n[f]>i(r[a])&&(e.offsets.popper[f]=i(r[a])),e}function co(e,t,n,r){var o=e.match(/((?:\-|\+)?\d*\.?\d*)(.*)/),i=+o[1],s=o[2];if(!i)return e;if(s.indexOf("%")===0){var a=void 0;switch(s){case"%p":a=n;break;case"%":case"%r":default:a=r}var f=C(a);return f[t]/100*i}else if(s==="vh"||s==="vw"){var p=void 0;return s==="vh"?p=Math.max(document.documentElement.clientHeight,window.innerHeight||0):p=Math.max(document.documentElement.clientWidth,window.innerWidth||0),p/100*i}else return i}function vo(e,t,n,r){var o=[0,0],i=["right","left"].indexOf(r)!==-1,s=e.split(/(\+|\-)/).map(function(u){return u.trim()}),a=s.indexOf(re(s,function(u){return u.search(/,|\s/)!==-1}));s[a]&&s[a].indexOf(",")===-1&&console.warn("Offsets separated by white space(s) are deprecated, use a comma (,) instead.");var f=/\s*,\s*|\s+/,p=a!==-1?[s.slice(0,a).concat([s[a].split(f)[0]]),[s[a].split(f)[1]].concat(s.slice(a+1))]:[s];return p=p.map(function(u,l){var v=(l===1?!i:i)?"height":"width",c=!1;return u.reduce(function(d,b){return d[d.length-1]===""&&["+","-"].indexOf(b)!==-1?(d[d.length-1]=b,c=!0,d):c?(d[d.length-1]+=b,c=!1,d):d.concat(b)},[]).map(function(d){return co(d,v,t,n)})}),p.forEach(function(u,l){u.forEach(function(v,c){_e(v)&&(o[l]+=v*(u[c-1]==="-"?-1:1))})}),o}function yo(e,t){var n=t.offset,r=e.placement,o=e.offsets,i=o.popper,s=o.reference,a=r.split("-")[0],f=void 0;return _e(+n)?f=[+n,0]:f=vo(n,i,s,a),a==="left"?(i.top+=f[0],i.left-=f[1]):a==="right"?(i.top+=f[0],i.left+=f[1]):a==="top"?(i.left+=f[0],i.top-=f[1]):a==="bottom"&&(i.left+=f[0],i.top+=f[1]),e.popper=i,e}function ho(e,t){var n=t.boundariesElement||G(e.instance.popper);e.instance.reference===n&&(n=G(n));var r=Le("transform"),o=e.instance.popper.style,i=o.top,s=o.left,a=o[r];o.top="",o.left="",o[r]="";var f=Ue(e.instance.popper,e.instance.reference,t.padding,n,e.positionFixed);o.top=i,o.left=s,o[r]=a,t.boundaries=f;var p=t.priority,u=e.offsets.popper,l={primary:function(c){var d=u[c];return u[c]<f[c]&&!t.escapeWithReference&&(d=Math.max(u[c],f[c])),q({},c,d)},secondary:function(c){var d=c==="right"?"left":"top",b=u[d];return u[c]>f[c]&&!t.escapeWithReference&&(b=Math.min(u[d],f[c]-(c==="right"?u.width:u.height))),q({},d,b)}};return p.forEach(function(v){var c=["left","top"].indexOf(v)!==-1?"primary":"secondary";u=F({},u,l[c](v))}),e.offsets.popper=u,e}function mo(e){var t=e.placement,n=t.split("-")[0],r=t.split("-")[1];if(r){var o=e.offsets,i=o.reference,s=o.popper,a=["bottom","top"].indexOf(n)!==-1,f=a?"left":"top",p=a?"width":"height",u={start:q({},f,i[f]),end:q({},f,i[f]+i[p]-s[p])};e.offsets.popper=F({},s,u[r])}return e}function go(e){if(!Xt(e.instance.modifiers,"hide","preventOverflow"))return e;var t=e.offsets.reference,n=re(e.instance.modifiers,function(r){return r.name==="preventOverflow"}).boundaries;if(t.bottom<n.top||t.left>n.right||t.top>n.bottom||t.right<n.left){if(e.hide===!0)return e;e.hide=!0,e.attributes["x-out-of-boundaries"]=""}else{if(e.hide===!1)return e;e.hide=!1,e.attributes["x-out-of-boundaries"]=!1}return e}function bo(e){var t=e.placement,n=t.split("-")[0],r=e.offsets,o=r.popper,i=r.reference,s=["left","right"].indexOf(n)!==-1,a=["top","left"].indexOf(n)===-1;return o[s?"left":"top"]=i[n]-(a?o[s?"width":"height"]:0),e.placement=fe(t),e.offsets.popper=C(o),e}var wo={shift:{order:100,enabled:!0,fn:mo},offset:{order:200,enabled:!0,fn:yo,offset:0},preventOverflow:{order:300,enabled:!0,fn:ho,priority:["left","right","top","bottom"],padding:5,boundariesElement:"scrollParent"},keepTogether:{order:400,enabled:!0,fn:lo},arrow:{order:500,enabled:!0,fn:fo,element:"[x-arrow]"},flip:{order:600,enabled:!0,fn:uo,behavior:"flip",padding:5,boundariesElement:"viewport",flipVariations:!1,flipVariationsByContent:!1},inner:{order:700,enabled:!1,fn:bo},hide:{order:800,enabled:!0,fn:go},computeStyle:{order:850,enabled:!0,fn:so,gpuAcceleration:!0,x:"bottom",y:"right"},applyStyle:{order:900,enabled:!0,fn:no,onLoad:oo,gpuAcceleration:void 0}},Po={placement:"bottom",positionFixed:!1,eventsEnabled:!0,removeOnDestroy:!1,onCreate:function(){},onUpdate:function(){},modifiers:wo},le=function(){function e(t,n){var r=this,o=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};Gn(this,e),this.scheduleUpdate=function(){return requestAnimationFrame(r.update)},this.update=Hn(this.update.bind(this)),this.options=F({},e.Defaults,o),this.state={isDestroyed:!1,isCreated:!1,scrollParents:[]},this.reference=t&&t.jquery?t[0]:t,this.popper=n&&n.jquery?n[0]:n,this.options.modifiers={},Object.keys(F({},e.Defaults.modifiers,o.modifiers)).forEach(function(s){r.options.modifiers[s]=F({},e.Defaults.modifiers[s]||{},o.modifiers?o.modifiers[s]:{})}),this.modifiers=Object.keys(this.options.modifiers).map(function(s){return F({name:s},r.options.modifiers[s])}).sort(function(s,a){return s.order-a.order}),this.modifiers.forEach(function(s){s.enabled&&Ut(s.onLoad)&&s.onLoad(r.reference,r.popper,r.options,s,r.state)}),this.update();var i=this.options.eventsEnabled;i&&this.enableEventListeners(),this.state.eventsEnabled=i}return zn(e,[{key:"update",value:function(){return Jn.call(this)}},{key:"destroy",value:function(){return Xn.call(this)}},{key:"enableEventListeners",value:function(){return Zn.call(this)}},{key:"disableEventListeners",value:function(){return to.call(this)}}]),e}();le.Utils=(typeof window<"u"?window:global).PopperUtils;le.placements=Qt;le.Defaults=Po;const Zt=le;var $e={exports:{}},je={exports:{}},ct="__global_unique_id__",Oo=function(){return We[ct]=(We[ct]||0)+1},So=function(){},er=So;const Eo=Re(er);(function(e,t){t.__esModule=!0;var n=T;f(n);var r=pr,o=f(r),i=Oo,s=f(i),a=er;f(a);function f(h){return h&&h.__esModule?h:{default:h}}function p(h,y){if(!(h instanceof y))throw new TypeError("Cannot call a class as a function")}function u(h,y){if(!h)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return y&&(typeof y=="object"||typeof y=="function")?y:h}function l(h,y){if(typeof y!="function"&&y!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof y);h.prototype=Object.create(y&&y.prototype,{constructor:{value:h,enumerable:!1,writable:!0,configurable:!0}}),y&&(Object.setPrototypeOf?Object.setPrototypeOf(h,y):h.__proto__=y)}var v=1073741823;function c(h,y){return h===y?h!==0||1/h===1/y:h!==h&&y!==y}function d(h){var y=[];return{on:function(A){y.push(A)},off:function(A){y=y.filter(function(P){return P!==A})},get:function(){return h},set:function(A,P){h=A,y.forEach(function(B){return B(h,P)})}}}function b(h){return Array.isArray(h)?h[0]:h}function I(h,y){var E,A,P="__create-react-context-"+(0,s.default)()+"__",B=function($){l(x,$);function x(){var j,w,R;p(this,x);for(var M=arguments.length,N=Array(M),D=0;D<M;D++)N[D]=arguments[D];return R=(j=(w=u(this,$.call.apply($,[this].concat(N))),w),w.emitter=d(w.props.value),j),u(w,R)}return x.prototype.getChildContext=function(){var w;return w={},w[P]=this.emitter,w},x.prototype.componentWillReceiveProps=function(w){if(this.props.value!==w.value){var R=this.props.value,M=w.value,N=void 0;c(R,M)?N=0:(N=typeof y=="function"?y(R,M):v,N|=0,N!==0&&this.emitter.set(w.value,N))}},x.prototype.render=function(){return this.props.children},x}(n.Component);B.childContextTypes=(E={},E[P]=o.default.object.isRequired,E);var ne=function($){l(x,$);function x(){var j,w,R;p(this,x);for(var M=arguments.length,N=Array(M),D=0;D<M;D++)N[D]=arguments[D];return R=(j=(w=u(this,$.call.apply($,[this].concat(N))),w),w.state={value:w.getValue()},w.onUpdate=function(Ro,sr){var fr=w.observedBits|0;fr&sr&&w.setState({value:w.getValue()})},j),u(w,R)}return x.prototype.componentWillReceiveProps=function(w){var R=w.observedBits;this.observedBits=R??v},x.prototype.componentDidMount=function(){this.context[P]&&this.context[P].on(this.onUpdate);var w=this.props.observedBits;this.observedBits=w??v},x.prototype.componentWillUnmount=function(){this.context[P]&&this.context[P].off(this.onUpdate)},x.prototype.getValue=function(){return this.context[P]?this.context[P].get():h},x.prototype.render=function(){return b(this.props.children)(this.state.value)},x}(n.Component);return ne.contextTypes=(A={},A[P]=o.default.object,A),{Provider:B,Consumer:ne}}t.default=I,e.exports=t.default})(je,je.exports);var Ao=je.exports;(function(e,t){t.__esModule=!0;var n=T,r=s(n),o=Ao,i=s(o);function s(a){return a&&a.__esModule?a:{default:a}}t.default=r.default.createContext||i.default,e.exports=t.default})($e,$e.exports);var xo=$e.exports;const tr=Re(xo);var rr=tr(),nr=tr(),Do=function(e){Fe(t,e);function t(){for(var r,o=arguments.length,i=new Array(o),s=0;s<o;s++)i[s]=arguments[s];return r=e.call.apply(e,[this].concat(i))||this,O(m(m(r)),"referenceNode",void 0),O(m(m(r)),"setReferenceNode",function(a){a&&r.referenceNode!==a&&(r.referenceNode=a,r.forceUpdate())}),r}var n=t.prototype;return n.componentWillUnmount=function(){this.referenceNode=null},n.render=function(){return T.createElement(rr.Provider,{value:this.referenceNode},T.createElement(nr.Provider,{value:this.setReferenceNode},this.props.children))},t}(T.Component),or=function(t){return Array.isArray(t)?t[0]:t},ir=function(t){if(typeof t=="function"){for(var n=arguments.length,r=new Array(n>1?n-1:0),o=1;o<n;o++)r[o-1]=arguments[o];return t.apply(void 0,r)}},pe=function(t,n){if(typeof t=="function")return ir(t,n);t!=null&&(t.current=n)},Io={position:"absolute",top:0,left:0,opacity:0,pointerEvents:"none"},$o={},ar=function(e){Fe(t,e);function t(){for(var r,o=arguments.length,i=new Array(o),s=0;s<o;s++)i[s]=arguments[s];return r=e.call.apply(e,[this].concat(i))||this,O(m(m(r)),"state",{data:void 0,placement:void 0}),O(m(m(r)),"popperInstance",void 0),O(m(m(r)),"popperNode",null),O(m(m(r)),"arrowNode",null),O(m(m(r)),"setPopperNode",function(a){!a||r.popperNode===a||(pe(r.props.innerRef,a),r.popperNode=a,r.updatePopperInstance())}),O(m(m(r)),"setArrowNode",function(a){r.arrowNode=a}),O(m(m(r)),"updateStateModifier",{enabled:!0,order:900,fn:function(f){var p=f.placement;return r.setState({data:f,placement:p}),f}}),O(m(m(r)),"getOptions",function(){return{placement:r.props.placement,eventsEnabled:r.props.eventsEnabled,positionFixed:r.props.positionFixed,modifiers:K({},r.props.modifiers,{arrow:K({},r.props.modifiers&&r.props.modifiers.arrow,{enabled:!!r.arrowNode,element:r.arrowNode}),applyStyle:{enabled:!1},updateStateModifier:r.updateStateModifier})}}),O(m(m(r)),"getPopperStyle",function(){return!r.popperNode||!r.state.data?Io:K({position:r.state.data.offsets.popper.position},r.state.data.styles)}),O(m(m(r)),"getPopperPlacement",function(){return r.state.data?r.state.placement:void 0}),O(m(m(r)),"getArrowStyle",function(){return!r.arrowNode||!r.state.data?$o:r.state.data.arrowStyles}),O(m(m(r)),"getOutOfBoundariesState",function(){return r.state.data?r.state.data.hide:void 0}),O(m(m(r)),"destroyPopperInstance",function(){r.popperInstance&&(r.popperInstance.destroy(),r.popperInstance=null)}),O(m(m(r)),"updatePopperInstance",function(){r.destroyPopperInstance();var a=m(m(r)),f=a.popperNode,p=r.props.referenceElement;!p||!f||(r.popperInstance=new Zt(p,f,r.getOptions()))}),O(m(m(r)),"scheduleUpdate",function(){r.popperInstance&&r.popperInstance.scheduleUpdate()}),r}var n=t.prototype;return n.componentDidUpdate=function(o,i){this.props.placement!==o.placement||this.props.referenceElement!==o.referenceElement||this.props.positionFixed!==o.positionFixed||!Cn(this.props.modifiers,o.modifiers,{strict:!0})?this.updatePopperInstance():this.props.eventsEnabled!==o.eventsEnabled&&this.popperInstance&&(this.props.eventsEnabled?this.popperInstance.enableEventListeners():this.popperInstance.disableEventListeners()),i.placement!==this.state.placement&&this.scheduleUpdate()},n.componentWillUnmount=function(){pe(this.props.innerRef,null),this.destroyPopperInstance()},n.render=function(){return or(this.props.children)({ref:this.setPopperNode,style:this.getPopperStyle(),placement:this.getPopperPlacement(),outOfBoundaries:this.getOutOfBoundariesState(),scheduleUpdate:this.scheduleUpdate,arrowProps:{ref:this.setArrowNode,style:this.getArrowStyle()}})},t}(T.Component);O(ar,"defaultProps",{placement:"bottom",eventsEnabled:!0,referenceElement:void 0,positionFixed:!1});Zt.placements;function Bo(e){var t=e.referenceElement,n=ur(e,["referenceElement"]);return T.createElement(rr.Consumer,null,function(r){return T.createElement(ar,K({referenceElement:t!==void 0?t:r},n))})}var jo=function(e){Fe(t,e);function t(){for(var r,o=arguments.length,i=new Array(o),s=0;s<o;s++)i[s]=arguments[s];return r=e.call.apply(e,[this].concat(i))||this,O(m(m(r)),"refHandler",function(a){pe(r.props.innerRef,a),ir(r.props.setReferenceNode,a)}),r}var n=t.prototype;return n.componentWillUnmount=function(){pe(this.props.innerRef,null)},n.render=function(){return Eo(!!this.props.setReferenceNode,"`Reference` should not be used outside of a `Manager` component."),or(this.props.children)({ref:this.refHandler})},t}(T.Component);function Mo(e){return T.createElement(nr.Consumer,null,function(t){return T.createElement(jo,K({setReferenceNode:t},e))})}export{Do as M,Bo as P,Mo as R,Eo as a,Zt as b,Oo as g,er as w};