v-annotator
Version:
## Project setup ``` yarn install ```
2 lines • 141 kB
JavaScript
(function(t,e){"object"===typeof exports&&"object"===typeof module?module.exports=e(require("vue")):"function"===typeof define&&define.amd?define([],e):"object"===typeof exports?exports["v-annotator"]=e(require("vue")):t["v-annotator"]=e(t["Vue"])})("undefined"!==typeof self?self:this,(function(t){return function(t){var e={};function n(r){if(e[r])return e[r].exports;var i=e[r]={i:r,l:!1,exports:{}};return t[r].call(i.exports,i,i.exports,n),i.l=!0,i.exports}return n.m=t,n.c=e,n.d=function(t,e,r){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:r})},n.r=function(t){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"===typeof t&&t&&t.__esModule)return t;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var i in t)n.d(r,i,function(e){return t[e]}.bind(null,i));return r},n.n=function(t){var e=t&&t.__esModule?function(){return t["default"]}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="",n(n.s="fb15")}({"00ee":function(t,e,n){var r=n("b622"),i=r("toStringTag"),o={};o[i]="z",t.exports="[object z]"===String(o)},"0366":function(t,e,n){var r=n("1c0b");t.exports=function(t,e,n){if(r(t),void 0===e)return t;switch(n){case 0:return function(){return t.call(e)};case 1:return function(n){return t.call(e,n)};case 2:return function(n,r){return t.call(e,n,r)};case 3:return function(n,r,i){return t.call(e,n,r,i)}}return function(){return t.apply(e,arguments)}}},"04d1":function(t,e,n){var r=n("342f"),i=r.match(/firefox\/(\d+)/i);t.exports=!!i&&+i[1]},"0538":function(t,e,n){"use strict";var r=n("1c0b"),i=n("861d"),o=[].slice,s={},a=function(t,e,n){if(!(e in s)){for(var r=[],i=0;i<e;i++)r[i]="a["+i+"]";s[e]=Function("C,a","return new C("+r.join(",")+")")}return s[e](t,n)};t.exports=Function.bind||function(t){var e=r(this),n=o.call(arguments,1),s=function(){var r=n.concat(o.call(arguments));return this instanceof s?a(e,r.length,r):e.apply(t,r)};return i(e.prototype)&&(s.prototype=e.prototype),s}},"057f":function(t,e,n){var r=n("fc6a"),i=n("241c").f,o={}.toString,s="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],a=function(t){try{return i(t)}catch(e){return s.slice()}};t.exports.f=function(t){return s&&"[object Window]"==o.call(t)?a(t):i(r(t))}},"06cf":function(t,e,n){var r=n("83ab"),i=n("d1e7"),o=n("5c6c"),s=n("fc6a"),a=n("c04e"),c=n("5135"),u=n("0cfb"),l=Object.getOwnPropertyDescriptor;e.f=r?l:function(t,e){if(t=s(t),e=a(e,!0),u)try{return l(t,e)}catch(n){}if(c(t,e))return o(!i.f.call(t,e),t[e])}},"0cfb":function(t,e,n){var r=n("83ab"),i=n("d039"),o=n("cc12");t.exports=!r&&!i((function(){return 7!=Object.defineProperty(o("div"),"a",{get:function(){return 7}}).a}))},1276:function(t,e,n){"use strict";var r=n("d784"),i=n("44e7"),o=n("825a"),s=n("1d80"),a=n("4840"),c=n("8aa5"),u=n("50c4"),l=n("14c3"),f=n("9263"),h=n("9f7f"),d=h.UNSUPPORTED_Y,p=[].push,v=Math.min,y=4294967295;r("split",2,(function(t,e,n){var r;return r="c"=="abbc".split(/(b)*/)[1]||4!="test".split(/(?:)/,-1).length||2!="ab".split(/(?:ab)*/).length||4!=".".split(/(.?)(.?)/).length||".".split(/()()/).length>1||"".split(/.?/).length?function(t,n){var r=String(s(this)),o=void 0===n?y:n>>>0;if(0===o)return[];if(void 0===t)return[r];if(!i(t))return e.call(r,t,o);var a,c,u,l=[],h=(t.ignoreCase?"i":"")+(t.multiline?"m":"")+(t.unicode?"u":"")+(t.sticky?"y":""),d=0,v=new RegExp(t.source,h+"g");while(a=f.call(v,r)){if(c=v.lastIndex,c>d&&(l.push(r.slice(d,a.index)),a.length>1&&a.index<r.length&&p.apply(l,a.slice(1)),u=a[0].length,d=c,l.length>=o))break;v.lastIndex===a.index&&v.lastIndex++}return d===r.length?!u&&v.test("")||l.push(""):l.push(r.slice(d)),l.length>o?l.slice(0,o):l}:"0".split(void 0,0).length?function(t,n){return void 0===t&&0===n?[]:e.call(this,t,n)}:e,[function(e,n){var i=s(this),o=void 0==e?void 0:e[t];return void 0!==o?o.call(e,i,n):r.call(String(i),e,n)},function(t,i){var s=n(r,t,this,i,r!==e);if(s.done)return s.value;var f=o(t),h=String(this),p=a(f,RegExp),m=f.unicode,g=(f.ignoreCase?"i":"")+(f.multiline?"m":"")+(f.unicode?"u":"")+(d?"g":"y"),b=new p(d?"^(?:"+f.source+")":f,g),x=void 0===i?y:i>>>0;if(0===x)return[];if(0===h.length)return null===l(b,h)?[h]:[];var w=0,_=0,S=[];while(_<h.length){b.lastIndex=d?0:_;var O,k=l(b,d?h.slice(_):h);if(null===k||(O=v(u(b.lastIndex+(d?_:0)),h.length))===w)_=c(h,_,m);else{if(S.push(h.slice(w,_)),S.length===x)return S;for(var E=1;E<=k.length-1;E++)if(S.push(k[E]),S.length===x)return S;_=w=O}}return S.push(h.slice(w)),S}]}),d)},"129f":function(t,e){t.exports=Object.is||function(t,e){return t===e?0!==t||1/t===1/e:t!=t&&e!=e}},"14c3":function(t,e,n){var r=n("c6b6"),i=n("9263");t.exports=function(t,e){var n=t.exec;if("function"===typeof n){var o=n.call(t,e);if("object"!==typeof o)throw TypeError("RegExp exec method returned something other than an Object or null");return o}if("RegExp"!==r(t))throw TypeError("RegExp#exec called on incompatible receiver");return i.call(t,e)}},"159b":function(t,e,n){var r=n("da84"),i=n("fdbc"),o=n("17c2"),s=n("9112");for(var a in i){var c=r[a],u=c&&c.prototype;if(u&&u.forEach!==o)try{s(u,"forEach",o)}catch(l){u.forEach=o}}},"17c2":function(t,e,n){"use strict";var r=n("b727").forEach,i=n("a640"),o=i("forEach");t.exports=o?[].forEach:function(t){return r(this,t,arguments.length>1?arguments[1]:void 0)}},"19aa":function(t,e){t.exports=function(t,e,n){if(!(t instanceof e))throw TypeError("Incorrect "+(n?n+" ":"")+"invocation");return t}},"1be4":function(t,e,n){var r=n("d066");t.exports=r("document","documentElement")},"1c0b":function(t,e){t.exports=function(t){if("function"!=typeof t)throw TypeError(String(t)+" is not a function");return t}},"1c7e":function(t,e,n){var r=n("b622"),i=r("iterator"),o=!1;try{var s=0,a={next:function(){return{done:!!s++}},return:function(){o=!0}};a[i]=function(){return this},Array.from(a,(function(){throw 2}))}catch(c){}t.exports=function(t,e){if(!e&&!o)return!1;var n=!1;try{var r={};r[i]=function(){return{next:function(){return{done:n=!0}}}},t(r)}catch(c){}return n}},"1d80":function(t,e){t.exports=function(t){if(void 0==t)throw TypeError("Can't call method on "+t);return t}},"1dde":function(t,e,n){var r=n("d039"),i=n("b622"),o=n("2d00"),s=i("species");t.exports=function(t){return o>=51||!r((function(){var e=[],n=e.constructor={};return n[s]=function(){return{foo:1}},1!==e[t](Boolean).foo}))}},2266:function(t,e,n){var r=n("825a"),i=n("e95a"),o=n("50c4"),s=n("0366"),a=n("35a1"),c=n("2a62"),u=function(t,e){this.stopped=t,this.result=e};t.exports=function(t,e,n){var l,f,h,d,p,v,y,m=n&&n.that,g=!(!n||!n.AS_ENTRIES),b=!(!n||!n.IS_ITERATOR),x=!(!n||!n.INTERRUPTED),w=s(e,m,1+g+x),_=function(t){return l&&c(l),new u(!0,t)},S=function(t){return g?(r(t),x?w(t[0],t[1],_):w(t[0],t[1])):x?w(t,_):w(t)};if(b)l=t;else{if(f=a(t),"function"!=typeof f)throw TypeError("Target is not iterable");if(i(f)){for(h=0,d=o(t.length);d>h;h++)if(p=S(t[h]),p&&p instanceof u)return p;return new u(!1)}l=f.call(t)}v=l.next;while(!(y=v.call(l)).done){try{p=S(y.value)}catch(O){throw c(l),O}if("object"==typeof p&&p&&p instanceof u)return p}return new u(!1)}},"23cb":function(t,e,n){var r=n("a691"),i=Math.max,o=Math.min;t.exports=function(t,e){var n=r(t);return n<0?i(n+e,0):o(n,e)}},"23e7":function(t,e,n){var r=n("da84"),i=n("06cf").f,o=n("9112"),s=n("6eeb"),a=n("ce4e"),c=n("e893"),u=n("94ca");t.exports=function(t,e){var n,l,f,h,d,p,v=t.target,y=t.global,m=t.stat;if(l=y?r:m?r[v]||a(v,{}):(r[v]||{}).prototype,l)for(f in e){if(d=e[f],t.noTargetGet?(p=i(l,f),h=p&&p.value):h=l[f],n=u(y?f:v+(m?".":"#")+f,t.forced),!n&&void 0!==h){if(typeof d===typeof h)continue;c(d,h)}(t.sham||h&&h.sham)&&o(d,"sham",!0),s(l,f,d,t)}}},"241c":function(t,e,n){var r=n("ca84"),i=n("7839"),o=i.concat("length","prototype");e.f=Object.getOwnPropertyNames||function(t){return r(t,o)}},"252c":function(t,e,n){"use strict";(function(t){function r(){var t=window.navigator.userAgent,e=t.indexOf("MSIE ");if(e>0)return parseInt(t.substring(e+5,t.indexOf(".",e)),10);var n=t.indexOf("Trident/");if(n>0){var r=t.indexOf("rv:");return parseInt(t.substring(r+3,t.indexOf(".",r)),10)}var i=t.indexOf("Edge/");return i>0?parseInt(t.substring(i+5,t.indexOf(".",i)),10):-1}n.d(e,"a",(function(){return s}));var i=void 0;function o(){o.init||(o.init=!0,i=-1!==r())}var s={render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"resize-observer",attrs:{tabindex:"-1"}})},staticRenderFns:[],_scopeId:"data-v-b329ee4c",name:"resize-observer",methods:{compareAndNotify:function(){this._w===this.$el.offsetWidth&&this._h===this.$el.offsetHeight||(this._w=this.$el.offsetWidth,this._h=this.$el.offsetHeight,this.$emit("notify"))},addResizeHandlers:function(){this._resizeObject.contentDocument.defaultView.addEventListener("resize",this.compareAndNotify),this.compareAndNotify()},removeResizeHandlers:function(){this._resizeObject&&this._resizeObject.onload&&(!i&&this._resizeObject.contentDocument&&this._resizeObject.contentDocument.defaultView.removeEventListener("resize",this.compareAndNotify),delete this._resizeObject.onload)}},mounted:function(){var t=this;o(),this.$nextTick((function(){t._w=t.$el.offsetWidth,t._h=t.$el.offsetHeight}));var e=document.createElement("object");this._resizeObject=e,e.setAttribute("aria-hidden","true"),e.setAttribute("tabindex",-1),e.onload=this.addResizeHandlers,e.type="text/html",i&&this.$el.appendChild(e),e.data="about:blank",i||this.$el.appendChild(e)},beforeDestroy:function(){this.removeResizeHandlers()}};function a(t){t.component("resize-observer",s),t.component("ResizeObserver",s)}var c={version:"0.4.5",install:a},u=null;"undefined"!==typeof window?u=window.Vue:"undefined"!==typeof t&&(u=t.Vue),u&&u.use(c)}).call(this,n("c8ba"))},2626:function(t,e,n){"use strict";var r=n("d066"),i=n("9bf2"),o=n("b622"),s=n("83ab"),a=o("species");t.exports=function(t){var e=r(t),n=i.f;s&&e&&!e[a]&&n(e,a,{configurable:!0,get:function(){return this}})}},"2a62":function(t,e,n){var r=n("825a");t.exports=function(t){var e=t["return"];if(void 0!==e)return r(e.call(t)).value}},"2d00":function(t,e,n){var r,i,o=n("da84"),s=n("342f"),a=o.process,c=a&&a.versions,u=c&&c.v8;u?(r=u.split("."),i=r[0]<4?1:r[0]+r[1]):s&&(r=s.match(/Edge\/(\d+)/),(!r||r[1]>=74)&&(r=s.match(/Chrome\/(\d+)/),r&&(i=r[1]))),t.exports=i&&+i},"2de1":function(t,e,n){},3410:function(t,e,n){var r=n("23e7"),i=n("d039"),o=n("7b0b"),s=n("e163"),a=n("e177"),c=i((function(){s(1)}));r({target:"Object",stat:!0,forced:c,sham:!a},{getPrototypeOf:function(t){return s(o(t))}})},"342f":function(t,e,n){var r=n("d066");t.exports=r("navigator","userAgent")||""},"35a1":function(t,e,n){var r=n("f5df"),i=n("3f8c"),o=n("b622"),s=o("iterator");t.exports=function(t){if(void 0!=t)return t[s]||t["@@iterator"]||i[r(t)]}},"37e8":function(t,e,n){var r=n("83ab"),i=n("9bf2"),o=n("825a"),s=n("df75");t.exports=r?Object.defineProperties:function(t,e){o(t);var n,r=s(e),a=r.length,c=0;while(a>c)i.f(t,n=r[c++],e[n]);return t}},"3bbe":function(t,e,n){var r=n("861d");t.exports=function(t){if(!r(t)&&null!==t)throw TypeError("Can't set "+String(t)+" as a prototype");return t}},"3ca3":function(t,e,n){"use strict";var r=n("6547").charAt,i=n("69f3"),o=n("7dd0"),s="String Iterator",a=i.set,c=i.getterFor(s);o(String,"String",(function(t){a(this,{type:s,string:String(t),index:0})}),(function(){var t,e=c(this),n=e.string,i=e.index;return i>=n.length?{value:void 0,done:!0}:(t=r(n,i),e.index+=t.length,{value:t,done:!1})}))},"3f8c":function(t,e){t.exports={}},"3fbb":function(t,e,n){"use strict";n("6bb5")},"428f":function(t,e,n){var r=n("da84");t.exports=r},"44ad":function(t,e,n){var r=n("d039"),i=n("c6b6"),o="".split;t.exports=r((function(){return!Object("z").propertyIsEnumerable(0)}))?function(t){return"String"==i(t)?o.call(t,""):Object(t)}:Object},"44d2":function(t,e,n){var r=n("b622"),i=n("7c73"),o=n("9bf2"),s=r("unscopables"),a=Array.prototype;void 0==a[s]&&o.f(a,s,{configurable:!0,value:i(null)}),t.exports=function(t){a[s][t]=!0}},"44e7":function(t,e,n){var r=n("861d"),i=n("c6b6"),o=n("b622"),s=o("match");t.exports=function(t){var e;return r(t)&&(void 0!==(e=t[s])?!!e:"RegExp"==i(t))}},4840:function(t,e,n){var r=n("825a"),i=n("1c0b"),o=n("b622"),s=o("species");t.exports=function(t,e){var n,o=r(t).constructor;return void 0===o||void 0==(n=r(o)[s])?e:i(n)}},4930:function(t,e,n){var r=n("2d00"),i=n("d039");t.exports=!!Object.getOwnPropertySymbols&&!i((function(){var t=Symbol();return!String(t)||!(Object(t)instanceof Symbol)||!Symbol.sham&&r&&r<41}))},"4ae1":function(t,e,n){var r=n("23e7"),i=n("d066"),o=n("1c0b"),s=n("825a"),a=n("861d"),c=n("7c73"),u=n("0538"),l=n("d039"),f=i("Reflect","construct"),h=l((function(){function t(){}return!(f((function(){}),[],t)instanceof t)})),d=!l((function(){f((function(){}))})),p=h||d;r({target:"Reflect",stat:!0,forced:p,sham:p},{construct:function(t,e){o(t),s(e);var n=arguments.length<3?t:o(arguments[2]);if(d&&!h)return f(t,e,n);if(t==n){switch(e.length){case 0:return new t;case 1:return new t(e[0]);case 2:return new t(e[0],e[1]);case 3:return new t(e[0],e[1],e[2]);case 4:return new t(e[0],e[1],e[2],e[3])}var r=[null];return r.push.apply(r,e),new(u.apply(t,r))}var i=n.prototype,l=c(a(i)?i:Object.prototype),p=Function.apply.call(t,l,e);return a(p)?p:l}})},"4d64":function(t,e,n){var r=n("fc6a"),i=n("50c4"),o=n("23cb"),s=function(t){return function(e,n,s){var a,c=r(e),u=i(c.length),l=o(s,u);if(t&&n!=n){while(u>l)if(a=c[l++],a!=a)return!0}else for(;u>l;l++)if((t||l in c)&&c[l]===n)return t||l||0;return!t&&-1}};t.exports={includes:s(!0),indexOf:s(!1)}},"4de4":function(t,e,n){"use strict";var r=n("23e7"),i=n("b727").filter,o=n("1dde"),s=o("filter");r({target:"Array",proto:!0,forced:!s},{filter:function(t){return i(this,t,arguments.length>1?arguments[1]:void 0)}})},"4df4":function(t,e,n){"use strict";var r=n("0366"),i=n("7b0b"),o=n("9bdd"),s=n("e95a"),a=n("50c4"),c=n("8418"),u=n("35a1");t.exports=function(t){var e,n,l,f,h,d,p=i(t),v="function"==typeof this?this:Array,y=arguments.length,m=y>1?arguments[1]:void 0,g=void 0!==m,b=u(p),x=0;if(g&&(m=r(m,y>2?arguments[2]:void 0,2)),void 0==b||v==Array&&s(b))for(e=a(p.length),n=new v(e);e>x;x++)d=g?m(p[x],x):p[x],c(n,x,d);else for(f=b.call(p),h=f.next,n=new v;!(l=h.call(f)).done;x++)d=g?o(f,m,[l.value,x],!0):l.value,c(n,x,d);return n.length=x,n}},"4e82":function(t,e,n){"use strict";var r=n("23e7"),i=n("1c0b"),o=n("7b0b"),s=n("50c4"),a=n("d039"),c=n("addb"),u=n("a640"),l=n("04d1"),f=n("d998"),h=n("2d00"),d=n("512c"),p=[],v=p.sort,y=a((function(){p.sort(void 0)})),m=a((function(){p.sort(null)})),g=u("sort"),b=!a((function(){if(h)return h<70;if(!(l&&l>3)){if(f)return!0;if(d)return d<603;var t,e,n,r,i="";for(t=65;t<76;t++){switch(e=String.fromCharCode(t),t){case 66:case 69:case 70:case 72:n=3;break;case 68:case 71:n=4;break;default:n=2}for(r=0;r<47;r++)p.push({k:e+r,v:n})}for(p.sort((function(t,e){return e.v-t.v})),r=0;r<p.length;r++)e=p[r].k.charAt(0),i.charAt(i.length-1)!==e&&(i+=e);return"DGBEFHACIJK"!==i}})),x=y||!m||!g||!b,w=function(t){return function(e,n){return void 0===n?-1:void 0===e?1:void 0!==t?+t(e,n)||0:String(e)>String(n)?1:-1}};r({target:"Array",proto:!0,forced:x},{sort:function(t){void 0!==t&&i(t);var e=o(this);if(b)return void 0===t?v.call(e):v.call(e,t);var n,r,a=[],u=s(e.length);for(r=0;r<u;r++)r in e&&a.push(e[r]);a=c(a,w(t)),n=a.length,r=0;while(r<n)e[r]=a[r++];while(r<u)delete e[r++];return e}})},"4ec9":function(t,e,n){"use strict";var r=n("6d61"),i=n("6566");t.exports=r("Map",(function(t){return function(){return t(this,arguments.length?arguments[0]:void 0)}}),i)},"50c4":function(t,e,n){var r=n("a691"),i=Math.min;t.exports=function(t){return t>0?i(r(t),9007199254740991):0}},"512c":function(t,e,n){var r=n("342f"),i=r.match(/AppleWebKit\/(\d+)\./);t.exports=!!i&&+i[1]},5135:function(t,e,n){var r=n("7b0b"),i={}.hasOwnProperty;t.exports=Object.hasOwn||function(t,e){return i.call(r(t),e)}},5692:function(t,e,n){var r=n("c430"),i=n("c6cd");(t.exports=function(t,e){return i[t]||(i[t]=void 0!==e?e:{})})("versions",[]).push({version:"3.14.0",mode:r?"pure":"global",copyright:"© 2021 Denis Pushkarev (zloirock.ru)"})},"56ef":function(t,e,n){var r=n("d066"),i=n("241c"),o=n("7418"),s=n("825a");t.exports=r("Reflect","ownKeys")||function(t){var e=i.f(s(t)),n=o.f;return n?e.concat(n(t)):e}},5899:function(t,e){t.exports="\t\n\v\f\r \u2028\u2029\ufeff"},"58a8":function(t,e,n){var r=n("1d80"),i=n("5899"),o="["+i+"]",s=RegExp("^"+o+o+"*"),a=RegExp(o+o+"*$"),c=function(t){return function(e){var n=String(r(e));return 1&t&&(n=n.replace(s,"")),2&t&&(n=n.replace(a,"")),n}};t.exports={start:c(1),end:c(2),trim:c(3)}},"5c6c":function(t,e){t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},"5ea3":function(t,e,n){"use strict";(function(t){var n="object"==typeof t&&t&&t.Object===Object&&t;e["a"]=n}).call(this,n("c8ba"))},6062:function(t,e,n){"use strict";var r=n("6d61"),i=n("6566");t.exports=r("Set",(function(t){return function(){return t(this,arguments.length?arguments[0]:void 0)}}),i)},6386:function(t,e,n){"use strict";n("2de1")},6547:function(t,e,n){var r=n("a691"),i=n("1d80"),o=function(t){return function(e,n){var o,s,a=String(i(e)),c=r(n),u=a.length;return c<0||c>=u?t?"":void 0:(o=a.charCodeAt(c),o<55296||o>56319||c+1===u||(s=a.charCodeAt(c+1))<56320||s>57343?t?a.charAt(c):o:t?a.slice(c,c+2):s-56320+(o-55296<<10)+65536)}};t.exports={codeAt:o(!1),charAt:o(!0)}},6566:function(t,e,n){"use strict";var r=n("9bf2").f,i=n("7c73"),o=n("e2cc"),s=n("0366"),a=n("19aa"),c=n("2266"),u=n("7dd0"),l=n("2626"),f=n("83ab"),h=n("f183").fastKey,d=n("69f3"),p=d.set,v=d.getterFor;t.exports={getConstructor:function(t,e,n,u){var l=t((function(t,r){a(t,l,e),p(t,{type:e,index:i(null),first:void 0,last:void 0,size:0}),f||(t.size=0),void 0!=r&&c(r,t[u],{that:t,AS_ENTRIES:n})})),d=v(e),y=function(t,e,n){var r,i,o=d(t),s=m(t,e);return s?s.value=n:(o.last=s={index:i=h(e,!0),key:e,value:n,previous:r=o.last,next:void 0,removed:!1},o.first||(o.first=s),r&&(r.next=s),f?o.size++:t.size++,"F"!==i&&(o.index[i]=s)),t},m=function(t,e){var n,r=d(t),i=h(e);if("F"!==i)return r.index[i];for(n=r.first;n;n=n.next)if(n.key==e)return n};return o(l.prototype,{clear:function(){var t=this,e=d(t),n=e.index,r=e.first;while(r)r.removed=!0,r.previous&&(r.previous=r.previous.next=void 0),delete n[r.index],r=r.next;e.first=e.last=void 0,f?e.size=0:t.size=0},delete:function(t){var e=this,n=d(e),r=m(e,t);if(r){var i=r.next,o=r.previous;delete n.index[r.index],r.removed=!0,o&&(o.next=i),i&&(i.previous=o),n.first==r&&(n.first=i),n.last==r&&(n.last=o),f?n.size--:e.size--}return!!r},forEach:function(t){var e,n=d(this),r=s(t,arguments.length>1?arguments[1]:void 0,3);while(e=e?e.next:n.first){r(e.value,e.key,this);while(e&&e.removed)e=e.previous}},has:function(t){return!!m(this,t)}}),o(l.prototype,n?{get:function(t){var e=m(this,t);return e&&e.value},set:function(t,e){return y(this,0===t?0:t,e)}}:{add:function(t){return y(this,t=0===t?0:t,t)}}),f&&r(l.prototype,"size",{get:function(){return d(this).size}}),l},setStrong:function(t,e,n){var r=e+" Iterator",i=v(e),o=v(r);u(t,e,(function(t,e){p(this,{type:r,target:t,state:i(t),kind:e,last:void 0})}),(function(){var t=o(this),e=t.kind,n=t.last;while(n&&n.removed)n=n.previous;return t.target&&(t.last=n=n?n.next:t.state.first)?"keys"==e?{value:n.key,done:!1}:"values"==e?{value:n.value,done:!1}:{value:[n.key,n.value],done:!1}:(t.target=void 0,{value:void 0,done:!0})}),n?"entries":"values",!n,!0),l(e)}}},"65f0":function(t,e,n){var r=n("861d"),i=n("e8b5"),o=n("b622"),s=o("species");t.exports=function(t,e){var n;return i(t)&&(n=t.constructor,"function"!=typeof n||n!==Array&&!i(n.prototype)?r(n)&&(n=n[s],null===n&&(n=void 0)):n=void 0),new(void 0===n?Array:n)(0===e?0:e)}},"69f3":function(t,e,n){var r,i,o,s=n("7f9a"),a=n("da84"),c=n("861d"),u=n("9112"),l=n("5135"),f=n("c6cd"),h=n("f772"),d=n("d012"),p="Object already initialized",v=a.WeakMap,y=function(t){return o(t)?i(t):r(t,{})},m=function(t){return function(e){var n;if(!c(e)||(n=i(e)).type!==t)throw TypeError("Incompatible receiver, "+t+" required");return n}};if(s||f.state){var g=f.state||(f.state=new v),b=g.get,x=g.has,w=g.set;r=function(t,e){if(x.call(g,t))throw new TypeError(p);return e.facade=t,w.call(g,t,e),e},i=function(t){return b.call(g,t)||{}},o=function(t){return x.call(g,t)}}else{var _=h("state");d[_]=!0,r=function(t,e){if(l(t,_))throw new TypeError(p);return e.facade=t,u(t,_,e),e},i=function(t){return l(t,_)?t[_]:{}},o=function(t){return l(t,_)}}t.exports={set:r,get:i,has:o,enforce:y,getterFor:m}},"6bb5":function(t,e,n){},"6d61":function(t,e,n){"use strict";var r=n("23e7"),i=n("da84"),o=n("94ca"),s=n("6eeb"),a=n("f183"),c=n("2266"),u=n("19aa"),l=n("861d"),f=n("d039"),h=n("1c7e"),d=n("d44e"),p=n("7156");t.exports=function(t,e,n){var v=-1!==t.indexOf("Map"),y=-1!==t.indexOf("Weak"),m=v?"set":"add",g=i[t],b=g&&g.prototype,x=g,w={},_=function(t){var e=b[t];s(b,t,"add"==t?function(t){return e.call(this,0===t?0:t),this}:"delete"==t?function(t){return!(y&&!l(t))&&e.call(this,0===t?0:t)}:"get"==t?function(t){return y&&!l(t)?void 0:e.call(this,0===t?0:t)}:"has"==t?function(t){return!(y&&!l(t))&&e.call(this,0===t?0:t)}:function(t,n){return e.call(this,0===t?0:t,n),this})},S=o(t,"function"!=typeof g||!(y||b.forEach&&!f((function(){(new g).entries().next()}))));if(S)x=n.getConstructor(e,t,v,m),a.REQUIRED=!0;else if(o(t,!0)){var O=new x,k=O[m](y?{}:-0,1)!=O,E=f((function(){O.has(1)})),L=h((function(t){new g(t)})),$=!y&&f((function(){var t=new g,e=5;while(e--)t[m](e,e);return!t.has(-0)}));L||(x=e((function(e,n){u(e,x,t);var r=p(new g,e,x);return void 0!=n&&c(n,r[m],{that:r,AS_ENTRIES:v}),r})),x.prototype=b,b.constructor=x),(E||$)&&(_("delete"),_("has"),v&&_("get")),($||k)&&_(m),y&&b.clear&&delete b.clear}return w[t]=x,r({global:!0,forced:x!=g},w),d(x,t),y||n.setStrong(x,t,v),x}},"6eeb":function(t,e,n){var r=n("da84"),i=n("9112"),o=n("5135"),s=n("ce4e"),a=n("8925"),c=n("69f3"),u=c.get,l=c.enforce,f=String(String).split("String");(t.exports=function(t,e,n,a){var c,u=!!a&&!!a.unsafe,h=!!a&&!!a.enumerable,d=!!a&&!!a.noTargetGet;"function"==typeof n&&("string"!=typeof e||o(n,"name")||i(n,"name",e),c=l(n),c.source||(c.source=f.join("string"==typeof e?e:""))),t!==r?(u?!d&&t[e]&&(h=!0):delete t[e],h?t[e]=n:i(t,e,n)):h?t[e]=n:s(e,n)})(Function.prototype,"toString",(function(){return"function"==typeof this&&u(this).source||a(this)}))},7037:function(t,e,n){function r(e){return"function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?(t.exports=r=function(t){return typeof t},t.exports["default"]=t.exports,t.exports.__esModule=!0):(t.exports=r=function(t){return t&&"function"===typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},t.exports["default"]=t.exports,t.exports.__esModule=!0),r(e)}n("a4d3"),n("e01a"),n("d3b7"),n("d28b"),n("3ca3"),n("ddb0"),t.exports=r,t.exports["default"]=t.exports,t.exports.__esModule=!0},7156:function(t,e,n){var r=n("861d"),i=n("d2bb");t.exports=function(t,e,n){var o,s;return i&&"function"==typeof(o=e.constructor)&&o!==n&&r(s=o.prototype)&&s!==n.prototype&&i(t,s),t}},7418:function(t,e){e.f=Object.getOwnPropertySymbols},"746f":function(t,e,n){var r=n("428f"),i=n("5135"),o=n("e538"),s=n("9bf2").f;t.exports=function(t){var e=r.Symbol||(r.Symbol={});i(e,t)||s(e,t,{value:o.f(t)})}},7839:function(t,e){t.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},"7b0b":function(t,e,n){var r=n("1d80");t.exports=function(t){return Object(r(t))}},"7c73":function(t,e,n){var r,i=n("825a"),o=n("37e8"),s=n("7839"),a=n("d012"),c=n("1be4"),u=n("cc12"),l=n("f772"),f=">",h="<",d="prototype",p="script",v=l("IE_PROTO"),y=function(){},m=function(t){return h+p+f+t+h+"/"+p+f},g=function(t){t.write(m("")),t.close();var e=t.parentWindow.Object;return t=null,e},b=function(){var t,e=u("iframe"),n="java"+p+":";return e.style.display="none",c.appendChild(e),e.src=String(n),t=e.contentWindow.document,t.open(),t.write(m("document.F=Object")),t.close(),t.F},x=function(){try{r=document.domain&&new ActiveXObject("htmlfile")}catch(e){}x=r?g(r):b();var t=s.length;while(t--)delete x[d][s[t]];return x()};a[v]=!0,t.exports=Object.create||function(t,e){var n;return null!==t?(y[d]=i(t),n=new y,y[d]=null,n[v]=t):n=x(),void 0===e?n:o(n,e)}},"7dd0":function(t,e,n){"use strict";var r=n("23e7"),i=n("9ed3"),o=n("e163"),s=n("d2bb"),a=n("d44e"),c=n("9112"),u=n("6eeb"),l=n("b622"),f=n("c430"),h=n("3f8c"),d=n("ae93"),p=d.IteratorPrototype,v=d.BUGGY_SAFARI_ITERATORS,y=l("iterator"),m="keys",g="values",b="entries",x=function(){return this};t.exports=function(t,e,n,l,d,w,_){i(n,e,l);var S,O,k,E=function(t){if(t===d&&I)return I;if(!v&&t in z)return z[t];switch(t){case m:return function(){return new n(this,t)};case g:return function(){return new n(this,t)};case b:return function(){return new n(this,t)}}return function(){return new n(this)}},L=e+" Iterator",$=!1,z=t.prototype,R=z[y]||z["@@iterator"]||d&&z[d],I=!v&&R||E(d),A="Array"==e&&z.entries||R;if(A&&(S=o(A.call(new t)),p!==Object.prototype&&S.next&&(f||o(S)===p||(s?s(S,p):"function"!=typeof S[y]&&c(S,y,x)),a(S,L,!0,!0),f&&(h[L]=x))),d==g&&R&&R.name!==g&&($=!0,I=function(){return R.call(this)}),f&&!_||z[y]===I||c(z,y,I),h[e]=I,d)if(O={values:E(g),keys:w?I:E(m),entries:E(b)},_)for(k in O)(v||$||!(k in z))&&u(z,k,O[k]);else r({target:e,proto:!0,forced:v||$},O);return O}},"7f9a":function(t,e,n){var r=n("da84"),i=n("8925"),o=r.WeakMap;t.exports="function"===typeof o&&/native code/.test(i(o))},"825a":function(t,e,n){var r=n("861d");t.exports=function(t){if(!r(t))throw TypeError(String(t)+" is not an object");return t}},"83ab":function(t,e,n){var r=n("d039");t.exports=!r((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}))},8418:function(t,e,n){"use strict";var r=n("c04e"),i=n("9bf2"),o=n("5c6c");t.exports=function(t,e,n){var s=r(e);s in t?i.f(t,s,o(0,n)):t[s]=n}},"841c":function(t,e,n){"use strict";var r=n("d784"),i=n("825a"),o=n("1d80"),s=n("129f"),a=n("14c3");r("search",1,(function(t,e,n){return[function(e){var n=o(this),r=void 0==e?void 0:e[t];return void 0!==r?r.call(e,n):new RegExp(e)[t](String(n))},function(t){var r=n(e,t,this);if(r.done)return r.value;var o=i(t),c=String(this),u=o.lastIndex;s(u,0)||(o.lastIndex=0);var l=a(o,c);return s(o.lastIndex,u)||(o.lastIndex=u),null===l?-1:l.index}]}))},"85fe":function(t,e,n){"use strict";(function(t){function r(t){return r="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"===typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},r(t)}function i(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function o(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function s(t,e,n){return e&&o(t.prototype,e),n&&o(t,n),t}function a(t){return c(t)||u(t)||l()}function c(t){if(Array.isArray(t)){for(var e=0,n=new Array(t.length);e<t.length;e++)n[e]=t[e];return n}}function u(t){if(Symbol.iterator in Object(t)||"[object Arguments]"===Object.prototype.toString.call(t))return Array.from(t)}function l(){throw new TypeError("Invalid attempt to spread non-iterable instance")}function f(t){var e;return e="function"===typeof t?{callback:t}:t,e}function h(t,e){var n,r,i,o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},s=function(s){for(var c=arguments.length,u=new Array(c>1?c-1:0),l=1;l<c;l++)u[l-1]=arguments[l];if(i=u,!n||s!==r){var f=o.leading;"function"===typeof f&&(f=f(s,r)),n&&s===r||!f||t.apply(void 0,[s].concat(a(i))),r=s,clearTimeout(n),n=setTimeout((function(){t.apply(void 0,[s].concat(a(i))),n=0}),e)}};return s._clear=function(){clearTimeout(n),n=null},s}function d(t,e){if(t===e)return!0;if("object"===r(t)){for(var n in t)if(!d(t[n],e[n]))return!1;return!0}return!1}n.d(e,"a",(function(){return g}));var p=function(){function t(e,n,r){i(this,t),this.el=e,this.observer=null,this.frozen=!1,this.createObserver(n,r)}return s(t,[{key:"createObserver",value:function(t,e){var n=this;if(this.observer&&this.destroyObserver(),!this.frozen){if(this.options=f(t),this.callback=function(t,e){n.options.callback(t,e),t&&n.options.once&&(n.frozen=!0,n.destroyObserver())},this.callback&&this.options.throttle){var r=this.options.throttleOptions||{},i=r.leading;this.callback=h(this.callback,this.options.throttle,{leading:function(t){return"both"===i||"visible"===i&&t||"hidden"===i&&!t}})}this.oldResult=void 0,this.observer=new IntersectionObserver((function(t){var e=t[0];if(t.length>1){var r=t.find((function(t){return t.isIntersecting}));r&&(e=r)}if(n.callback){var i=e.isIntersecting&&e.intersectionRatio>=n.threshold;if(i===n.oldResult)return;n.oldResult=i,n.callback(i,e)}}),this.options.intersection),e.context.$nextTick((function(){n.observer&&n.observer.observe(n.el)}))}}},{key:"destroyObserver",value:function(){this.observer&&(this.observer.disconnect(),this.observer=null),this.callback&&this.callback._clear&&(this.callback._clear(),this.callback=null)}},{key:"threshold",get:function(){return this.options.intersection&&this.options.intersection.threshold||0}}]),t}();function v(t,e,n){var r=e.value;if(r)if("undefined"===typeof IntersectionObserver)console.warn("[vue-observe-visibility] IntersectionObserver API is not available in your browser. Please install this polyfill: https://github.com/w3c/IntersectionObserver/tree/master/polyfill");else{var i=new p(t,r,n);t._vue_visibilityState=i}}function y(t,e,n){var r=e.value,i=e.oldValue;if(!d(r,i)){var o=t._vue_visibilityState;r?o?o.createObserver(r,n):v(t,{value:r},n):m(t)}}function m(t){var e=t._vue_visibilityState;e&&(e.destroyObserver(),delete t._vue_visibilityState)}var g={bind:v,update:y,unbind:m};function b(t){t.directive("observe-visibility",g)}var x={version:"0.4.6",install:b},w=null;"undefined"!==typeof window?w=window.Vue:"undefined"!==typeof t&&(w=t.Vue),w&&w.use(x)}).call(this,n("c8ba"))},"861d":function(t,e){t.exports=function(t){return"object"===typeof t?null!==t:"function"===typeof t}},8875:function(t,e,n){var r,i,o;(function(n,s){i=[],r=s,o="function"===typeof r?r.apply(e,i):r,void 0===o||(t.exports=o)})("undefined"!==typeof self&&self,(function(){function t(){var e=Object.getOwnPropertyDescriptor(document,"currentScript");if(!e&&"currentScript"in document&&document.currentScript)return document.currentScript;if(e&&e.get!==t&&document.currentScript)return document.currentScript;try{throw new Error}catch(d){var n,r,i,o=/.*at [^(]*\((.*):(.+):(.+)\)$/gi,s=/@([^@]*):(\d+):(\d+)\s*$/gi,a=o.exec(d.stack)||s.exec(d.stack),c=a&&a[1]||!1,u=a&&a[2]||!1,l=document.location.href.replace(document.location.hash,""),f=document.getElementsByTagName("script");c===l&&(n=document.documentElement.outerHTML,r=new RegExp("(?:[^\\n]+?\\n){0,"+(u-2)+"}[^<]*<script>([\\d\\D]*?)<\\/script>[\\d\\D]*","i"),i=n.replace(r,"$1").trim());for(var h=0;h<f.length;h++){if("interactive"===f[h].readyState)return f[h];if(f[h].src===c)return f[h];if(c===l&&f[h].innerHTML&&f[h].innerHTML.trim()===i)return f[h]}return null}}return t}))},8925:function(t,e,n){var r=n("c6cd"),i=Function.toString;"function"!=typeof r.inspectSource&&(r.inspectSource=function(t){return i.call(t)}),t.exports=r.inspectSource},"8aa5":function(t,e,n){"use strict";var r=n("6547").charAt;t.exports=function(t,e,n){return e+(n?r(t,e).length:1)}},"8bbf":function(e,n){e.exports=t},"90e3":function(t,e){var n=0,r=Math.random();t.exports=function(t){return"Symbol("+String(void 0===t?"":t)+")_"+(++n+r).toString(36)}},9112:function(t,e,n){var r=n("83ab"),i=n("9bf2"),o=n("5c6c");t.exports=r?function(t,e,n){return i.f(t,e,o(1,n))}:function(t,e,n){return t[e]=n,t}},9263:function(t,e,n){"use strict";var r=n("ad6d"),i=n("9f7f"),o=n("5692"),s=RegExp.prototype.exec,a=o("native-string-replace",String.prototype.replace),c=s,u=function(){var t=/a/,e=/b*/g;return s.call(t,"a"),s.call(e,"a"),0!==t.lastIndex||0!==e.lastIndex}(),l=i.UNSUPPORTED_Y||i.BROKEN_CARET,f=void 0!==/()??/.exec("")[1],h=u||f||l;h&&(c=function(t){var e,n,i,o,c=this,h=l&&c.sticky,d=r.call(c),p=c.source,v=0,y=t;return h&&(d=d.replace("y",""),-1===d.indexOf("g")&&(d+="g"),y=String(t).slice(c.lastIndex),c.lastIndex>0&&(!c.multiline||c.multiline&&"\n"!==t[c.lastIndex-1])&&(p="(?: "+p+")",y=" "+y,v++),n=new RegExp("^(?:"+p+")",d)),f&&(n=new RegExp("^"+p+"$(?!\\s)",d)),u&&(e=c.lastIndex),i=s.call(h?n:c,y),h?i?(i.input=i.input.slice(v),i[0]=i[0].slice(v),i.index=c.lastIndex,c.lastIndex+=i[0].length):c.lastIndex=0:u&&i&&(c.lastIndex=c.global?i.index+i[0].length:e),f&&i&&i.length>1&&a.call(i[0],n,(function(){for(o=1;o<arguments.length-2;o++)void 0===arguments[o]&&(i[o]=void 0)})),i}),t.exports=c},"94ca":function(t,e,n){var r=n("d039"),i=/#|\.prototype\./,o=function(t,e){var n=a[s(t)];return n==u||n!=c&&("function"==typeof e?r(e):!!e)},s=o.normalize=function(t){return String(t).replace(i,".").toLowerCase()},a=o.data={},c=o.NATIVE="N",u=o.POLYFILL="P";t.exports=o},"99af":function(t,e,n){"use strict";var r=n("23e7"),i=n("d039"),o=n("e8b5"),s=n("861d"),a=n("7b0b"),c=n("50c4"),u=n("8418"),l=n("65f0"),f=n("1dde"),h=n("b622"),d=n("2d00"),p=h("isConcatSpreadable"),v=9007199254740991,y="Maximum allowed index exceeded",m=d>=51||!i((function(){var t=[];return t[p]=!1,t.concat()[0]!==t})),g=f("concat"),b=function(t){if(!s(t))return!1;var e=t[p];return void 0!==e?!!e:o(t)},x=!m||!g;r({target:"Array",proto:!0,forced:x},{concat:function(t){var e,n,r,i,o,s=a(this),f=l(s,0),h=0;for(e=-1,r=arguments.length;e<r;e++)if(o=-1===e?s:arguments[e],b(o)){if(i=c(o.length),h+i>v)throw TypeError(y);for(n=0;n<i;n++,h++)n in o&&u(f,h,o[n])}else{if(h>=v)throw TypeError(y);u(f,h++,o)}return f.length=h,f}})},"9bdd":function(t,e,n){var r=n("825a"),i=n("2a62");t.exports=function(t,e,n,o){try{return o?e(r(n)[0],n[1]):e(n)}catch(s){throw i(t),s}}},"9bf2":function(t,e,n){var r=n("83ab"),i=n("0cfb"),o=n("825a"),s=n("c04e"),a=Object.defineProperty;e.f=r?a:function(t,e,n){if(o(t),e=s(e,!0),o(n),i)try{return a(t,e,n)}catch(r){}if("get"in n||"set"in n)throw TypeError("Accessors not supported");return"value"in n&&(t[e]=n.value),t}},"9ed3":function(t,e,n){"use strict";var r=n("ae93").IteratorPrototype,i=n("7c73"),o=n("5c6c"),s=n("d44e"),a=n("3f8c"),c=function(){return this};t.exports=function(t,e,n){var u=e+" Iterator";return t.prototype=i(r,{next:o(1,n)}),s(t,u,!1,!0),a[u]=c,t}},"9f7f":function(t,e,n){"use strict";var r=n("d039");function i(t,e){return RegExp(t,e)}e.UNSUPPORTED_Y=r((function(){var t=i("a","y");return t.lastIndex=2,null!=t.exec("abcd")})),e.BROKEN_CARET=r((function(){var t=i("^r","gy");return t.lastIndex=2,null!=t.exec("str")}))},a053:function(t,e,n){"use strict";n("e11f")},a15b:function(t,e,n){"use strict";var r=n("23e7"),i=n("44ad"),o=n("fc6a"),s=n("a640"),a=[].join,c=i!=Object,u=s("join",",");r({target:"Array",proto:!0,forced:c||!u},{join:function(t){return a.call(o(this),void 0===t?",":t)}})},a4d3:function(t,e,n){"use strict";var r=n("23e7"),i=n("da84"),o=n("d066"),s=n("c430"),a=n("83ab"),c=n("4930"),u=n("fdbf"),l=n("d039"),f=n("5135"),h=n("e8b5"),d=n("861d"),p=n("825a"),v=n("7b0b"),y=n("fc6a"),m=n("c04e"),g=n("5c6c"),b=n("7c73"),x=n("df75"),w=n("241c"),_=n("057f"),S=n("7418"),O=n("06cf"),k=n("9bf2"),E=n("d1e7"),L=n("9112"),$=n("6eeb"),z=n("5692"),R=n("f772"),I=n("d012"),A=n("90e3"),T=n("b622"),j=n("e538"),M=n("746f"),P=n("d44e"),C=n("69f3"),N=n("b727").forEach,D=R("hidden"),W="Symbol",B="prototype",V=T("toPrimitive"),U=C.set,F=C.getterFor(W),q=Object[B],H=i.Symbol,G=o("JSON","stringify"),Y=O.f,X=k.f,K=_.f,Q=E.f,J=z("symbols"),Z=z("op-symbols"),tt=z("string-to-symbol-registry"),et=z("symbol-to-string-registry"),nt=z("wks"),rt=i.QObject,it=!rt||!rt[B]||!rt[B].findChild,ot=a&&l((function(){return 7!=b(X({},"a",{get:function(){return X(this,"a",{value:7}).a}})).a}))?function(t,e,n){var r=Y(q,e);r&&delete q[e],X(t,e,n),r&&t!==q&&X(q,e,r)}:X,st=function(t,e){var n=J[t]=b(H[B]);return U(n,{type:W,tag:t,description:e}),a||(n.description=e),n},at=u?function(t){return"symbol"==typeof t}:function(t){return Object(t)instanceof H},ct=function(t,e,n){t===q&&ct(Z,e,n),p(t);var r=m(e,!0);return p(n),f(J,r)?(n.enumerable?(f(t,D)&&t[D][r]&&(t[D][r]=!1),n=b(n,{enumerable:g(0,!1)})):(f(t,D)||X(t,D,g(1,{})),t[D][r]=!0),ot(t,r,n)):X(t,r,n)},ut=function(t,e){p(t);var n=y(e),r=x(n).concat(pt(n));return N(r,(function(e){a&&!ft.call(n,e)||ct(t,e,n[e])})),t},lt=function(t,e){return void 0===e?b(t):ut(b(t),e)},ft=function(t){var e=m(t,!0),n=Q.call(this,e);return!(this===q&&f(J,e)&&!f(Z,e))&&(!(n||!f(this,e)||!f(J,e)||f(this,D)&&this[D][e])||n)},ht=function(t,e){var n=y(t),r=m(e,!0);if(n!==q||!f(J,r)||f(Z,r)){var i=Y(n,r);return!i||!f(J,r)||f(n,D)&&n[D][r]||(i.enumerable=!0),i}},dt=function(t){var e=K(y(t)),n=[];return N(e,(function(t){f(J,t)||f(I,t)||n.push(t)})),n},pt=function(t){var e=t===q,n=K(e?Z:y(t)),r=[];return N(n,(function(t){!f(J,t)||e&&!f(q,t)||r.push(J[t])})),r};if(c||(H=function(){if(this instanceof H)throw TypeError("Symbol is not a constructor");var t=arguments.length&&void 0!==arguments[0]?String(arguments[0]):void 0,e=A(t),n=function(t){this===q&&n.call(Z,t),f(this,D)&&f(this[D],e)&&(this[D][e]=!1),ot(this,e,g(1,t))};return a&&it&&ot(q,e,{configurable:!0,set:n}),st(e,t)},$(H[B],"toString",(function(){return F(this).tag})),$(H,"withoutSetter",(function(t){return st(A(t),t)})),E.f=ft,k.f=ct,O.f=ht,w.f=_.f=dt,S.f=pt,j.f=function(t){return st(T(t),t)},a&&(X(H[B],"description",{configurable:!0,get:function(){return F(this).description}}),s||$(q,"propertyIsEnumerable",ft,{unsafe:!0}))),r({global:!0,wrap:!0,forced:!c,sham:!c},{Symbol:H}),N(x(nt),(function(t){M(t)})),r({target:W,stat:!0,forced:!c},{for:function(t){var e=String(t);if(f(tt,e))return tt[e];var n=H(e);return tt[e]=n,et[n]=e,n},keyFor:function(t){if(!at(t))throw TypeError(t+" is not a symbol");if(f(et,t))return et[t]},useSetter:function(){it=!0},useSimple:function(){it=!1}}),r({target:"Object",stat:!0,forced:!c,sham:!a},{create:lt,defineProperty:ct,defineProperties:ut,getOwnPropertyDescriptor:ht}),r({target:"Object",stat:!0,forced:!c},{getOwnPropertyNames:dt,getOwnPropertySymbols:pt}),r({target:"Object",stat:!0,forced:l((function(){S.f(1)}))},{getOwnPropertySymbols:function(t){return S.f(v(t))}}),G){var vt=!c||l((function(){var t=H();return"[null]"!=G([t])||"{}"!=G({a:t})||"{}"!=G(Object(t))}));r({target:"JSON",stat:!0,forced:vt},{stringify:function(t,e,n){var r,i=[t],o=1;while(arguments.length>o)i.push(arguments[o++]);if(r=e,(d(e)||void 0!==t)&&!at(t))return h(e)||(e=function(t,e){if("function"==typeof r&&(e=r.call(this,t,e)),!at(e))return e}),i[1]=e,G.apply(null,i)}})}H[B][V]||L(H[B],V,H[B].valueOf),P(H,W),I[D]=!0},a630:function(t,e,n){var r=n("23e7"),i=n("4df4"),o=n("1c7e"),s=!o((function(t){Array.from(t)}));r({target:"Array",stat:!0,forced:s},{from:i})},a640:function(t,e,n){"use strict";var r=n("d039");t.exports=function(t,e){var n=[][t];return!!n&&r((function(){n.call(null,e||function(){throw 1},1)}))}},a691:function(t,e){var n=Math.ceil,r=Math.floor;t.exports=function(t){return isNaN(t=+t)?0:(t>0?r:n)(t)}},a899:function(t,e,n){},a9e3:function(t,e,n){"use strict";var r=n("83ab"),i=n("da84"),o=n("94ca"),s=n("6eeb"),a=n("5135"),c=n("c6b6"),u=n("7156"),l=n("c04e"),f=n("d039"),h=n("7c73"),d=n("241c").f,p=n("06cf").f,v=n("9bf2").f,y=n("58a8").trim,m="Number",g=i[m],b=g.prototype,x=c(h(b))==m,w=function(t){var e,n,r,i,o,s,a,c,u=l(t,!1);if("string"==typeof u&&u.length>2)if(u=y(u),e=u.charCodeAt(0),43===e||45===e){if(n=u.charCodeAt(2),88===n||120===n)return NaN}else if(48===e){switch(u.charCodeAt(1)){case 66:case 98:r=2,i=49;break;case 79:case 111:r=8,i=55;break;default:return+u}for(o=u.slice(2),s=o.length,a=0;a<s;a++)if(c=o.charCodeAt(a),c<48||c>i)return NaN;return parseInt(o,r)}return+u};if(o(m,!g(" 0o1")||!g("0b1")||g("+0x1"))){for(var _,S=function(t){var e=arguments.length<1?0:t,n=this;return n instanceof S&&(x?f((function(){b.valueOf.call(n)})):c(n)!=m)?u(new g(w(e)),n,S):w(e)},O=r?d(g):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,isFinite,isInteger,isNaN,isSafeInteger,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,parseFloat,parseInt,isInteger,fromString,range".split(","),k=0;O.length>k;k++)a(g,_=O[k])&&!a(S,_)&&v(S,_,p(g,_));S.prototype=b,b.constructor=S,s(i,m,S)}},ac1f:function(t,e,n){"use strict";var r=n("23e7"),i=n("9263");r({target:"RegExp",proto:!0,forced:/./.exec!==i},{exec:i})},ad6d:function(t,e,n){"use strict";var r=n("825a");t.exports=function(){var t=r(this),e="";return t.global&&(e+="g"),t.ignoreCase&&(e+="i"),t.multiline&&(e+="m"),t.dotAll&&(e+="s"),t.unicode&&(e+="u"),t.sticky&&(e+="y"),e}},addb:function(t,e){var n=Math.floor,r=function(t,e){var s=t.length,a=n(s/2);return s<8?i(t,e):o(r(t.slice(0,a),e),r(t.slice(a),e),e)},i=function(t,e){var n,r,i=t.length,o=1;while(o<i){r=o,n=t[o];while(r&&e(t[r-1],n)>0)t[r]=t[--r];r!==o++&&(t[r]=n)}return t},o=function(t,e,n){var r=t.length,i=e.length,o=0,s=0,a=[];while(o<r||s<i)o<r&&s<i?a.push(n(t[o],e[s])<=0?t[o++]:e[s++]):a.push(o<r?t[o++]:e[s++]);return a};t.exports=r},ae93:function(t,e,n){"use strict";var r,i,o,s=n("d039"),a=n("e163"),c=n("9112"),u=n("5135"),l=n("b622"),f=n("c430"),h=l("iterator"),d=!1,p=function(){return this};[].keys&&(o=[].keys(),"next"in o?(i=a(a(o)),i!==Object.prototype&&(r=i)):d=!0);var v=void 0==r||s((function(){var t={};return r[h].call(t)!==t}));v&&(r={}),f&&!v||u(r,h)||c(r,h,p),t.exports={IteratorPrototype:r,BUGGY_SAFARI_ITERATORS:d}},b041:function(t,e,n){"use strict";var r=n("00ee"),i=n("f5df");t.exports=r?{}.toString:function(){return"[object "+i(this)+"]"}},b0c0:function(t,e,n){var r=n("83ab"),i=n("9bf2").f,o=Function.prototype,s=o.toString,a=/^\s*function ([^ (]*)/,c="name";r&&!(c in o)&&i(o,c,{configurable:!0,get:function(){try{return s.call(this).match(a)[1]}catch(t){return""}}})},b622:function(t,e,n){var r=n("da84"),i=n("5692"),o=n("5135"),s=n("90e3"),a=n("4930"),c=n("fdbf"),u=i("wks"),l=r.Symbol,f=c?l:l&&l.withoutSetter||s;t.exports=function(t){return o(u,t)&&(a||"string"==typeof u[t])||(a&&o(l,t)?u[t]=l[t]:u[t]=f("Symbol."+t)),u[t]}},b727:function(t,e,n){var r=n("0366"),i=n("44ad"),o=n("7b0b"),s=n("50c4"),a=n("65f0"),c=[].push,u=function(t){var e=1==t,n=2==t,u=3==t,l=4==t,f=6==t,h=7==t,d=5==t||f;return function(p,v,y,m){for(var g,b,x=o(p),w=i(x),_=r(v,y,3),S=s(w.length),O=0,k=m||a,E=e?k(p,S):n||h?k(p,0):void 0;S>O;O++)if((d||O in w)&&(g=w[O],b=_(g,O,x),t))if(e)E[O]=b;else if(b)switch(t){case 3:return!0;case 5:return g;case 6:return O;case 2:c.call(E,g)}else switch(t){case 4:return!1;case 7:c.call(E,g)}return f?-1:u||l?l:E}};t.exports={forEach:u(0),map:u(1),filter:u(2),some:u(3),every:u(4),find:u(5),findIndex:u(6),filterOut:u(7)}},bb2f:function(t,e,n){var r=n("d039");t.exports=!r((function(){return Object.isExtensible(Object.preventExtensions({}))}))},be34:function(t,e,n){"use strict";(function(t){n.d(e,"b",(function(){return i}));var r=n("eb31");function i(t){i.installed||(i.installed=!0,t.component("VAnnotator",r["a"]))}var o={install:i},s=null;"undefined"!==typeof window?s=window.Vue:"undefined"!==typeof t&&(s=t.Vue),s&&s.use(o),e["a"]=r["a"]}).call(this,n("c8ba"))},c04e:function(t,e,n){var r=n("861d");t.exports=function(t,e){if(!r(t))return t;var n,i;if(e&&"function"==typeof(n=t.toString)&&!r(i=n.call(t)))return i;if("function"==typeof(n=t.valueOf)&&!r(i=n.call(t)))return i;if(!e&&"function"==typeof(n=t.toString)&&!r(i=n.call(t)))return i;throw TypeError("Can't convert object to primitive value")}},c097:function(t,e,n){function r(){var t=0,e=1,n=2,r=3,i=4,o=5,s=6,a=7,c=8,u=9,l=10,f=11,h=12,d=13,p=14,v=15,y=16,m=17,g=0,b=1,x=2,w=3,_=4;function S(t,e){return 55296<=t.charCodeAt(e)&&t.charCodeAt(e)<=56319&&56320<=t.charCodeAt(e+1)&&t.charCodeAt(e+1)<=57343}function O(t,e){void 0===e&&(e=0);var n=t.charCodeAt(e);if(55296<=n&&n<=56319&&e<t.length-1){var r=n,i=t.charCodeAt(e+1);return 56320<=i&&i<=57343?1024*(r-55296)+(i-56320)+65536:r}if(56320<=n&&n<=57343&&e>=1){r=t.charCodeAt(e-1),i=n;return 55296<=r&&r<=56319?1024*(r-55296)+(i-56320)+65536:i}return n}function k(f,S,O){var k=[f].concat(S).concat([O]),E=k[k.length-2],L=O,$=k.lastIndexOf(p);if($>1&&k.slice(1,$).every((function(t){return t==r}))&&-1==[r,d,m].indexOf(f))return x;var z=k.lastIndexOf(i);if(z>0&&k.slice(1,z).every((function(t){return t==i}))&&-1==[h,i].indexOf(E))return k.filter((function(t){return t==i})).length%2==1?w:_;if(E==t&&L==e)return g;if(E==n||E==t||E==e)return L==p&&S.every((function(t){return t==r}))?x:b;if(L==n||L==t||L==e)return b;if(E==s&&(L==s||L==a||L==u||L==l))return g;if(!(E!=u&&E!=a||L!=a&&L!=c))return g;if((E==l||E==c)&&L==c)return g;if(L==r||L==v)return g;if(L==o)return g;if(E==h)return g;var R=-1!=k.indexOf(r)?k.lastIndexOf(r)-1:k.length-2;return-1!=[d,m].indexOf(k[R])&&k.slice(R+1,-1).every((function(t){return t==r}))&&L==p||E==v&&-1!=[y,m].indexOf(L)?g:-1!=S.indexOf(i)?x:E==i&&L==i?g:b}function E(g){return 1536<=g&&g<=1541||1757==g||1807==g||2274==g||3406==g||69821==g||70082<=g&&g<=70083||72250==g||72326<=g&&g<=72329||73030==g?h:13==g?t:10==g?e:0<=g&&g<=9||11<=g&&g<=12||14<=g&&g<=31||127<=g&&g<=159||173==g||1564==g||6158==g||8203==g||8206<=g&&g<=8207||8232==g||8233==g||8234<=g&&g<=8238||8288<=g&&g<=8292||8293==g||8294<=g&&g<=8303||55296<=g&&g<=57343||65279==g||65520<=g&&g<=65528||65529<=g&&g<=65531||113824<=g&&g<=113827||119155<=g&&g<=119162||917504==g||917505==g||917506<=g&&g<=917535||917632<=g&&g<=917759||918e3<=g&&g<=921599?n:768<=g&&g<=879||1155<=g&&g<=1159||1160<=g&&g<=1161||1425<=g&&g<=1469||1471==g||1473<=g&&g<=1474||1476<=g&&g<=1477||1479==g||1552<=g&&g<=1562||1611<=g&&g<=1631||1648==g||1750<=g&&g<=1756||1759<=g&&g<=1764||1767<=g&&g<=1768||1770<=g&&g<=1773||1809==g||1840<=g&&g<=1866||1958<=g&&g<=1968||2027<=g&&g<=2035||2070<=g&&g<=2073||2075<=g&&g<=2083||2085<=g&&g<=2087||2089<=g&&g<=2093||2137<=g&&g<=2139||2260<=g&&g<=2273||2275<=g&&g<=2306||2362==g||2364==g||2369<=g&&g<=2376||2381==g||2385<=g&&g<=2391||2402<=g&&g<=2403||2433==g||2492==g||2494==g||2497<=g&&g<=2500||2509==g||2519==g||2530<=g&&g<=2531||2561<=g&&g<=2562||2620==g||2625<=g&&g<=2626||2631<=g&&g<=2632||2635<=g&&g<=2637||2641==g||2672<=g&&g<=2673||2677==g||2689<=g&&g<=2690||2748==g||2753<=g&&g<=2757||2759<=g&&g<=2760||2765==g||2786<=g&&g<=2787||2810<=g&&g<=2815||2817==g||2876==g||2878==g||2879==g||2881<=g&&g<=2884||2893==g||2902==g||2903==g||2914<=g&&g<=2915||2946==g||3006==g||3008==g||3021==g||3031==g||3072==g||3134<=g&&g<=3136||3142<=g&&g<=3144||3146<=g&&g<=3149||3157<=g&&g<=3158||3170<=g&&g<=3171||3201==g||3260==g||3263==g||3266==g||3270==g||3276<=g&&g<=3277||3285<=g&&g<=3286||3298<=g&&g<=3299||3328<=g&&g<=3329||3387<=g&&g<=3388||3390==g||3393<=g&&g<=3396||3405==g||3415==g||3426<=g&&g<=3427||3530==g||3535==g||3538<=g&&g<=3540||3542==g||3551==g||3633==g||3636<=g&&g<=3642||3655<=g&&g<=3662||3761==g||3764<=g&&g<=3769||3771<=g&&g<=3772||3784<=g&&g<=3789||3864<=g&&g<=3865||3893==g||3895==g||3897==g||3953<=g&&g<=3966||3968<=g&&g<=3972||3974<=g&&g<=3975||3981<=g&&g<=3991||3993<=g&&g<=4028||4038==g||4141<=g&&g<=4144||4146<=g&&g<=4151||4153<=g&&g<=4154||4157<=g&&g<=4158||4184<=g&&g<=4185||4190<=g&&g<=4192||4209<=g&&g<=4212||4226==g||4229<=g&&g<=4230||4237==g||4253==g||4957<=g&&g<=4959||5906<=g&&g<=5908||5938<=g&&g<=5940||5970<=g&&g<=5971||6002<=g&&g<=6003||6068<=g&&g<=6069||6071<=g&&g<=6077||6086==g||6089<=g&&g<=6099||6109==g||6155<=g&&g<=6157||6277<=g&&g<=6278||6313==g||6432<=g&&g<=6434||6439<=g&&g<=6440||6450==g||6457<=g&&g<=6459||6679<=g&&g<=6680||6683==g||6742==g||6744<=g&&g<=6750||6752==g||6754==g||6757<=g&&g<=6764||6771<=g&&g<=6780||6783==g||6832<=g&&g<=6845||6846==g||6912<=g&&g<=6915||6964==g||6966<=g&&g<=6970||6972==g||6978==g||7019<=g&&g<=7027||7040<=g&&g<=7041||7074<=g&&g<=7077||7080<=g&&g<=7081||7083<=g&&g<=7085||7142==g||7144<=g&&g<=7145||7149==g||7151<=g&&g<=7153||7212<=g&&g<=7219||7222<=g&&g<=7223||7376<=g&&g<=7378||7380<=g&&g<=7392||7394<=g&&g<=7400||7405==g||7412==g||7416<=g&&g<=7417||7616<=g&&g<=7673||7675<=g&&g<=7679||8204==g||8400<=g&&g<=8412||8413<=g&&g<=8416||8417==g||8418<=g&&g<=8420||8421<=g&&g<=8432||11503<=g&&g<=11505||11647==g||11744<=g&&g<=11775||12330<=g&&g<=12333||12334<=g&&g<=12335||12441<=g&&g<=12442||42607==g||42608<=g&&g<=42610||42612<=g&&g<=42621||42654<=g&&g<=42655||42736<=g&&g<=42737||43010==g||43014==g||43019==g||43045<=g&&g<=43046||43204<=g&&g<=43205||43232<=g&&g<=43249||43302<=g&&g<=43309||43335<=g&&g<=43345||43392<=g&&g<=43394||43443==g||43446<=g&&g<=43449||43452==g||43493==g||43561<=g&&g<=43566||43569<=g&&g<=43570||43573<=g&&g<=43574||43587==g||43596==g||43644==g||43696==g||43698<=g&&g<=43700||43703<=g&&g<=43704||43710<=g&&g<=43711||43713==g||43756<=g&&g<=43757||43766==g||44005==g||44008==g||44013==g||64286==g||65024<=g&&g<=65039||65056<=g&&g<=65071||65438<=g&&g<=65439||66045==g||66272==g||66422<=g&&g<=66426||68097<=g&&g<=68099||68101<=g&&g<=68102||68108<=g&&g<=68111||68152<=g&&g<=68154||68159==g||68325<=g&&g<=68326||69633==g||69688<=g&&g<=69702||69759<=g&&g<=69761||69811<=g&&g<=69814||69817<=g&&g<=69818||69888<=g&&g<=69890||69927<=g&&g<=69931||69933<=g&&g<=69940||70003==g||70016<=g&&g<=70017||70070<=g&&g<=70078||70090<=g&&g<=70092||70191<=g&&g<=70193||70196==g||70198<=g&&g<=70199||70206==g||70367==g||70371<=g&&g<=70378||70400<=g&&g<=70401||70460==g||70462==g||70464==g||70487==g||70502<=g&&g<=70508||70512<=g&&g<=70516||70712<=g&&g<=70719||70722<=g&&g<=70724||70726==g||70832==g||70835<=g&&g<=70840||70842==g||70845==g||70847<=g&&g<=70848||70850<=g&&g<=70851||71087==g||71090<=g&&g<=71093||71100<=g&&g<=71101||71103<=g&&g<=71104||71132<=g&&g<=71133||71219<=g&&g<=71226||71229==g||71231<=g&&g<=71232||71339==g||71341==g||71344<=g&&g<=71349||71351==g||71453<=g&&g<=71455||71458<=g&&g<=71461||71463<=g&&g<=71467||72193<=g&&g<=72198||72201<=g&&g<=72202||72243<=g&&g<=72248||72251<=g&&g<=72254||72263==g||72273<=g&&g<=72278||72281<=g&&g<=72283||72330<=g&&g<=72342||72344<=g&&g<=72345||72752<=g&&g<=72758||72760<=g&&g<=72765||72767==g||72850<=g&&g<=72871||72874<=g&&g<=72880||72882<=g&&g<=72883||72885<=g&&g<=72886||73009<=g&&g<=73014||73018==g||73020<=g&&g<=73021||73023<=g&&g<=73029||73031==g||92912<=g&&g<=92916||92976<=g&&g<=92982||94095<=g&&g<=94098||113821<=g&&g<=113822||119141==g||119143<=g&&g<=119145||119150<=g&&g<=119154||119163<=g&&g<=119170||119173<=g&&g<=119179||119210<=g&&g<=119213||119362<=g&&g<=119364||121344<=g&&g<=121398||121403<=g&&g<=121452||121461==g||121476==g||121499<=g&&g<=121503||121505<=g&&g<=121519||122880<=g&&g<=122886||122888<=g&&g<=122904||122907<=g&&g<=122913||122915<=g&&g<=122916||122918<=g&&g<=122922||125136<=g&&g<=125142||125252<=g&&g<=125258||917536<=g&&g<=917631||917760<=g&&g<=917999?r:127462<=g&&g<=127487?i:2307==g||2363==g||2366<=g&&g<=2368||2377<=g&&g<=2380||2382<=g&&g<=2383||2434<=g&&g<=2435||2495<=g&&g<=2496||2503<=g&&g<=2504||2507<=g&&g<=2508||2563==g||2622<=g&&g<=2624||2691==g||2750<=g&&g<=2752||2761==g||2763<=g&&g<=2764||2818<=g&&g<=2819||2880==g||2887<=g&&g<=2888||2891<=g&&g<=2892||3007==g||3009<=g&&g<=3010||3014<=g&&g<=3016||3018<=g&&g<=3020||3073<=g&&g<=3075||3137<=g&&g<=3140||3202<=g&&g<=3203||3262==g||3264<=g&&g<=3265||3267<=g&&g<=3268||3271<=g&&g<=3272||3274<=g&&g<=3275||3330<=g&&g<=3331||3391<=g&&g<=3392||3398<=g&&g<=3400||3402<=g&&g<=3404||3458<=g&&g<=3459||3536<=g&&g<=3537||3544<=g&&g<=3550||3570<=g&&g<=3571||3635==g||3763==g||3902<=g&&g<=3903||3967==g||4145==g||4155<=g&&g<=4156||4182<=g&&g<=4183||4228==g||6070==g||6078<=g&&g<=6085||6087<=g&&g<=6088||6435<=g&&g<=6438||6441<=g&&g<=6443||6448<=g&&g<=6449||6451<=g&&g<=6456||6681<=g&&g<=6682||6741==g||6743==g||6765<=g&&g<=6770||6916==g||6965==g||6971==g||6973<=g&&g<=6977||6979<=g&&g<=6980||7042==g||7073==g||7078<=g&&g<=7079||7082==g||7143==g||7146<=g&&g<=7148||7150==g||7154<=g&&g<=7155||7204<=g&&g<=7211||7220<=g&&g<=7221||7393==g||7410<=g&&g<=7411||7415==g||43043<=g&&g<=43044||43047==g||43136<=g&&g<=43137||43188<=g&&g<=43203||43346<=g&&g<=43347||43395==g||43444<=g&&g<=43445||43450<=g&&g<=43451||43453<=g&&g<=43456||43567<=g&&g<=43568||43571<=g&&g<=43572||43597==g||43755==g||43758<=g&&g<=43759||43765==g||44003<=g&&g<=44004||44006<=g&&g<=44007||44009<=g&&g<=44010||44012==g||69632==g||69634==g||69762==g||69808<=g&&g<=69810||69815<=g&&g<=69816||69932==g||70018==g||70067<=g&&g<=70069||70079<=g&&g<=70080||70188<=g&&g<=70190||70194<=g&&g<=70195||70197==g||70368<=g&&g<=70370||70402<=g&&g<=70403||70463==g||70465<=g&&g<=70468||70471<=g&&g<=70472||70475<=g&&g<=70477||70498<=g&&g<=70499||70709<=g&&g<=70711||70720<=g&&g<=70721||70725==g||70833<=g&&g<=70834||70841==g||70843<=g&&g<=70844||70846==g||70849==g||71088<=g&&g<=71089||71096<=g&&g<=71099||71102==g||71216<=g&&g<=71218||71227<=g&&g<=71228||71230==g||71340==g||71342<=g&&g<=71343||71350==g||71456<=g&&g<=71457||71462==g||72199<=g&&g<=72200||72249==g||72279<=g&&g<=72280||72343==g||72751==g||72766==g||72873==g||72881==g||72884==g||94033<=g&&g<=94078||119142==g||119149==g?o:4352<=g&&g<=4447||43360<=g&&g<=43388?s:4448<=g&&g<=4519||55216<=g&&g<=55238?a:4520<=g&&g<=4607||55243<=g&&g<=55291?c:44032==g||44060==g||44088==g||44116==g||44144==g||44172==g||44200==g||44228==g||44256==g||44284==g||44312==g||44340==g||44368==g||44396==g||44424==g||44452==g||44480==g||44508==g||44536==g||44564==g||44592==g||44620==g||44648==g||44676==g||44704==g||44732==g||44760==g||44788==g||44816==g||44844==g||44872==g||44900==g||44928==g||44956==g||44984==g||45012==g||45040==g||45068==g||45096==g||45124==g||45152==g||45180==g||45208==g||45236==g||45264==g||45292==g||45320==g||45348==g||45376==g||45404==g||45432==g||45460==g||45488==g||45516==g||45544==g||45572==g||45600==g||45628==g||45656==g||45684==g||45712==g||45740==g||45768==g||45796==g||45824==g||45852==g||45880==g||45908==g||45936==g||45964==g||45992==g||46020==g||46048==g||46076==g||46104==g||46132==g||46160==g||46188==g||46216==g||46244==g||46272==g||46300==g||46328==g||46356==g||46384==g||46412==g||46440==g||46468==g||46496==g||46524==g||46552==g||46580==g||46608==g||46636==g||46664==g||46692==g||46720==g||46748==g||46776==g||46804==g||46832==g||46860==g||46888==g||46916==g||46944==g||46972==g||47e3==g||47028==g||47056==g||47084==g||47112==g||47140==g||47168==g||47196==g||47224==g||47252==g||47280==g||47308==g||47336==g||47364==g||47392==g||47420==g||47448==g||47476==g||47504==g||47532==g||47560==g||47588==g||47616==g||47644==g||47672==g||47700==g||47728==g||47756==g||47784==g||47812==g||47840==g||47868==g||47896==g||47924==g||47952==g||47980==g||48008==g||48036==g||48064==g||48092==g||48120==g||48148==g||48176==g||48204==g||48232==g||48260==g||48288==g||48316==g||48344==g||48372==g||48400==g||48428==g||48456==g||48484==g||48512==g||48540==g||48568==g||48596==g||48624==g||48652==g||48680==g||48708==g||48736==g||48764==g||48792==g||48820==g||48848==g||48876==g||48904==g||48932==g||48960==g||48988==g||49016==g||49044==g||49072==g||49100==g||49128==g||49156==g||49184==g||49212==g||49240==g||49268==g||49296==g||49324==g||49352==g||49380==g||49408==g||49436==g||49464==g||49492==g||49520==g||49548==g||49576==g||49604==g||49632==g||49660==g||49688==g||49716==g||49744==g||49772==g||49800==g||49828==g||49856==g||49884==g||49912==g||49940==g||49968==g||49996==g||50024==g||50052==g||50080==g||50108==g||50136==g||50164==g||50192==g||50220==g||50248==g||50276==g||50304==g||50332==g||50360==g||50388==g||50416==g||50444==g||50472==g||50500==g||50528==g||50556==g||50584==g||50612==g||50640==g||50668==g||50696==g||50724==g||50752==g||50780==g||50808==g||50836==g||50864==g||50892==g||50920==g||50948==g||50976==g||51004==g||51032==g||51060==g||51088==g||51116==g||51144==g||51172==g||51200==g||51228==g||51256==g||51284==g||51312==g||51340==g||51368==g||51396==g||51424==g||51452==g||51480==g||51508==g||51536==g||51564==g||51592==g||51620==g||51648==g||51676==g||51704==g||51732==g||51760==g||51788==g||51816==g||51844==g||51872==g||51900==g||51928==g||51956==g||51984==g||52012==g||52040==g||52068==g||52096==g||52124==g||52152==g||52180==g||52208==g||52236==g||52264==g||52292==g||52320==g||52348==g||52376==g||52404==g||52432==g||52460==g||52488==g||52516==g||52544==g||52572==g||52600==g||52628==g||52656==g||52684==g||52712==g||52740==g||52768==g||52796==g||52824==g||52852==g||52880==g||52908==g||52936==g||52964==g||52992==g||53020==g||53048==g||53076==g||53104==g||53132==g||53160==g||53188==g||53216==g||53244==g||53272==g||53300==g||53328==g||53356==g||53384==g||53412==g||53440==g||53468==g||53496==g||53524==g||53552==g||53580==g||53608==g||53636==g||53664==g||53692==g||53720==g||53748==g||53776==g||53804==g||53832==g||53860==g||53888==g||53916==g||53944==g||53972==g||54e3==g||54028==g||54056==g||54084==g||54112==g||54140==g||54168==g||54196==g||54224==g||54252==g||54280==g||54308==g||54336==g||54364==g||54392==g||54420==g||54448==g||54476==g||54504==g||54532==g||54560==g||54588==g||54616==g||54644==g||54672==g||54700==g||54728==g||54756==g||54784==g||54812==g||54840==g||54868==g||54896==g||54924==g||54952==g||54980==g||55008==g||55036==g||55064==g||55092==g||55120==g||55148==g||55176==g?u:44033<=g&&g<=44059||44061<=g&&g<=44087||44089<=g&&g<=44115||44117<=g&&g<=44143||44145<=g&&g<=44171||44173<=g&&g<=44199||44201<=g&&g<=44227||44229<=g&&g<=44255||44257<=g&&g<=44283||44285<=g&&g<=44311||44313<=g&&g<=44339||44341<=g&&g<=44367||44369<=g&&g<=44395||44397<=g&&g<=44423||44425<=g&&g<=44451||44453<=g&&g<=44479||44481<=g&&g<=44507||44509<=g&&g<=44535||44537<=g&&g<=44563||44565<=g&&g<=44591||44593<=g&&g<=44619||44621<=g&&g<=44647||44649<=g&&g<=44675||44677<=g&&g<=44703||44705<=g&&g<=44731||44733<=g&&g<=44759||44761<=g&&g<=44787||44789<=g&&g<=44815||44817<=g&&g<=44843||44845<=g&&g<=44871||44873<=g&&g<=44899||44901<=g&&g<=44927||44929<=g&&g<=44955||44957<=g&&g<=44983||44985<=g&&g<=45011||45013<=g&&g<=45039||45041<=g&&g<=45067||45069<=g&&g<=45095||45097<=g&&g<=45123||45125<=g&&g<=45151||45153<=g&&g<=45179||45181<=g&&g<=45207||45209<=g&&g<=45235||45237<=g&&g<=45263||45265<=g&&g<=45291||45293<=g&&g<=45319||45321<=g&&g<=45347||45349<=g&&g<=45375||45377<=g&&g<=45403||45405<=g&&g<=45431||45433<=g&&g<=45459||45461<=g&&g<=45487||45489<=g&&g<=45515||45517<=g&&g<=45543||45545<=g&&g<=45571||45573<=g&&g<=45599||45601<=g&&g<=45627||45629<=g&&g<=45655||45657<=g&&g<=45683||45685<=g&&g<=45711||45713<=g&&g<=45739||45741<=g&&g<=45767||45769<=g&&g<=45795||45797<=g&&g<=45823||45825<=g&&g<=45851||45853<=g&&g<=45879||45881<=g&&g<=45907||45909<=g&&g<=45935||45937<=g&&g<=45963||45965<=g&&g<=45991||45993<=g&&g<=46019||46021<=g&&g<=46047||46049<=g&&g<=46075||46077<=g&&g<=46103||46105<=g&&g<=46131||46133<=g&&g<=46159||46161<=g&&g<=46187||46189<=g&&g<=46215||46217<=g&&g<=46243||46245<=g&&g<=46271||46273<=g&&g<=46299||46301<=g&&g<=46327||46329<=g&&g<=46355||46357<=g&&g<=46383||46385<=g&&g<=46411||46413<=g&&g<=46439||46441<=g&&g<=46467||46469<=g&&g<=46495||46497<=g&&g<=46523||46525<=g&&g<=46551||46553<=g&&g<=46579||46581<=g&&g<=46607||46609<=g&&g<=46635||46637<=g&&g<=46663||46665<=g&&g<=46691||46693<=g&&g<=46719||46721<=g&&g<=46747||46749<=g&&g<=46775||46777<=g&&g<=46803||46805<=g&&g<=46831||46833<=g&&g<=46859||46861<=g&&g<=46887||46889<=g&&g<=46915||46917<=g&&g<=46943||46945<=g&&g<=46971||46973<=g&&g<=46999||47001<=g&&g<=47027||47029<=g&&g<=47055||47057<=g&&g<=47083||47085<=g&&g<=47111||47113<=g&&g<=47139||47141<=g&&g<=47167||47169<=g&&g<=47195||47197<=g&&g<=47223||47225<=g&&g<=47251||47253<=g&&g<=47279||47281<=g&&g<=47307||47309<=g&&g<=47335||47337<=g&&g<=47363||47365<=g&&g<=47391||47393<=g&&g<=47419||47421<=g&&g<=47447||47449<=g&&g<=47475||47477<=g&&g<=47503||47505<=g&&g<=47531||47533<=g&&g<=47559||47561<=g&&g<=47587||47589<=g&&g<=47615||47617<=g&&g<=47643||47645<=g&&g<=47671||47673<=g&&g<=47699||47701<=g&&g<=47727||47729<=g&&g<=47755||47757<=g&&g<=47783||47785<=g&&g<=47811||47813<=g&&g<=47839||47841<=g&&g<=47867||47869<=g&&g<=47895||47897<=g&&g<=47923||47925<=g&&g<=47951||47953<=g&&g<=47979||47981<=g&&g<=48007||48009<=g&&g<=48035||48037<=g&&g<=48063||48065<=g&&g<=48091||48093<=g&&g<=48119||48121<=g&&g<=48147||48149<=g&&g<=48175||48177<=g&&g<=48203||48205<=g&&g<=48231||48233<=g&&g<=48259||48261<=g&&g<=48287||48289<=g&&g<=48315||48317<=g&&g<=48343||48345<=g&&g<=48371||48373<=g&&g<=48399||48401<=g&&g<=48427||48429<=g&&g<=48455||48457<=g&&g<=48483||48485<=g&&g<=48511||48513<=g&&g<=48539||48541<=g&&g<=48567||48569<=g&&g<=48595||48597<=g&&g<=48623||48625<=g&&g<=48651||48653<=g&&g<=48679||48681<=g&&g<=48707||48709<=g&&g<=48735||48737<=g&&g<=48763||48765<=g&&g<=48791||48793<=g&&g<=48819||48821<=g&&g<=48847||48849<=g&&g<=48875||48877<=g&&g<=48903||48905<=g&&g<=48931||48933<=g&&g<=48959||48961<=g&&g<=48987||48989<=g&&g<=49015||49017<=g&&g<=49043||49045<=g&&g<=49071||49073<=g&&g<=49099||49101<=g&&g<=49127||49129<=g&&g<=49155||49157<=g&&g<=49183||49185<=g&&g<=49211||49213<=g&&g<=49239||49241<=g&&g<=49267||49269<=g&&g<=49295||49297<=g&&g<=49323||49325<=g&&g<=49351||49353<=g&&g<=49379||49381<=g&&g<=49407||49409<=g&&g<=49435||49437<=g&&g<=49463||49465<=g&&g<=49491||49493<=g&&g<=49519||49521<=g&&g<=49547||49549<=g&&g<=49575||49577<=g&&g<=49603||49605<=g&&g<=49631||49633<=g&&g<=49659||49661<=g&&g<=49687||49689<=g&&g<=49715||49717<=g&&g<=49743||49745<=g&&g<=49771||49773<=g&&g<=49799||49801<=g&&g<=49827||49829<=g&&g<=49855||49857<=g&&g<=49883||49885<=g&&g<=49911||49913<=g&&g<=49939||49941<=g&&g<=49967||49969<=g&&g<=49995||49997<=g&&g<=50023||50025<=g&&g<=50051||50053<=g&&g<=50079||50081<=g&&g<=50107||50109<=g&&g<=50135||50137<=g&&g<=50163||50165<=g&&g<=50191||50193<=g&&g<=50219||50221<=g&&g<=50247||50249<=g&&g<=50275||50277<=g&&g<=50303||50305<=g&&g<=50331||50333<=g&&g<=50359||50361<=g&&g<=50387||50389<=g&&g<=50415||50417<=g&&g<=50443||50445<=g&&g<=50471||50473<=g&&g<=50499||50501<=g&&g<=50527||50529<=g&&g<=50555||50557<=g&&g<=50583||50585<=g&&g<=50611||50613<=g&&g<=50639||50641<=g&&g<=50667||50669<=g&&g<=50695||50697<=g&&g<=50723||50725<=g&&g<=50751||50753<=g&&g<=50779||50781<=g&&g<=50807||50809<=g&&g<=50835||50837<=g&&g<=50863||50865<=g&&g<=50891||50893<=g&&g<=50919||50921<=g&&g<=50947||50949<=g&&g<=50975||50977<=g&&g<=51003||51005<=g&&g<=51031||51033<=g&&g<=51059||51061<=g&&g<=51087||51089<=g&&g<=51115||51117<=g&&g<=51143||51145<=g&&g<=51171||51173<=g&&g<=51199||51201<=g&&g<=51227||51229<=g&&g<=51255||51257<=g&&g<=51283||51285<=g&&g<=51311||51313<=g&&g<=51339||51341<=g&&g<=51367||51369<=g&&g<=51395||51397<=g&&g<=51423||51425<=g&&g<=51451||51453<=g&&g<=51479||51481<=g&&g<=51507||51509<=g&&g<=51535||51537<=g&&g<=51563||51565<=g&&g<=51591||51593<=g&&g<=51619||51621<=g&&g<=51647||51649<=g&&g<=51675||51677<=g&&g<=51703||51705<=g&&g<=51731||51733<=g&&g<=51759||51761<=g&&g<=51787||51789<=g&&g<=51815||51817<=g&&g<=51843||51845<=g&&g<=51871||51873<=g&&g<=51899||51901<=g&&g<=51927||51929<=g&&g<=51955||51957<=g&&g<=51983||51985<=g&&g<=52011||52013<=g&&g<=52039||52041<=g&&g<=52067||52069<=g&&g<=52095||52097<=g&&g<=52123||52125<=g&&g<=52151||52153<=g&&g<=52179||52181<=g&&g<=52207||52209<=g&&g<=52235||52237<=g&&g<=52263||52265<=g&&g<=52291||52293<=g&&g<=52319||52321<=g&&g<=52347||52349<=g&&g<=52375||52377<=g&&g<=52403||52405<=g&&g<=52431||52433<=g&&g<=52459||52461<=g&&g<=52487||52489<=g&&g<=52515||52517<=g&&g<=52543||52545<=g&&g<=52571||52573<=g&&g<=52599||52601<=g&&g<=52627||52629<=g&&g<=52655||52657<=g&&g<=52683||52685<=g&&g<=52711||52713<=g&&g<=52739||52741<=g&&g<=52767||52769<=g&&g<=52795||52797<=g&&g<=52823||52825<=g&&g<=52851||52853<=g&&g<=52879||52881<=g&&g<=52907||52909<=g&&g<=52935||52937<=g&&g<=52963||52965<=g&&g<=52991||52993<=g&&g<=53019||53021<=g&&g<=53047||53049<=g&&g<=53075||53077<=g&&g<=53103||53105<=g&&g<=53131||53133<=g&&g<=53159||53161<=g&&g<=53187||53189<=g&&g<=53215||53217<=g&&g<=53243||53245<=g&&g<=53271||53273<=g&&g<=53299||53301<=g&&g<=53327||53329<=g&&g<=53355||53357<=g&&g<=53383||53385<=g&&g<=53411||53413<=g&&g<=53439||53441<=g&&g<=53467||53469<=g&&g<=53495||53497<=g&&g<=53523||53525<=g&&g<=53551||53553<=g&&g<=53579||53581<=g&&g<=53607||53609<=g&&g<=53635||53637<=g&&g<=53663||53665<=g&&g<=53691||53693<=g&&g<=53719||53721<=g&&g<=53747||53749<=g&&g<=53775||53777<=g&&g<=53803||53805<=g&&g<=53831||53833<=g&&g<=53859||53861<=g&&g<=53887||53889<=g&&g<=53915||53917<=g&&g<=53943||53945<=g&&g<=53971||53973<=g&&g<=53999||54001<=g&&g<=54027||54029<=g&&g<=54055||54057<=g&&g<=54083||54085<=g&&g<=54111||54113<=g&&g<=54139||54141<=g&&g<=54167||54169<=g&&g<=54195||54197<=g&&g<=54223||54225<=g&&g<=54251||54253<=g&&g<=54279||54281<=g&&g<=54307||54309<=g&&g<=54335||54337<=g&&g<=54363||54365<=g&&g<=54391||54393<=g&&g<=54419||54421<=g&&g<=54447||54449<=g&&g<=54475||54477<=g&&g<=54503||54505<=g&&g<=54531||54533<=g&&g<=54559||54561<=g&&g<=54587||54589<=g&&g<=54615||54617<=g&&g<=54643||54645<=g&&g<=54671||54673<=g&&g<=54699||54701<=g&&g<=54727||54729<=g&&g<=54755||54757<=g&&g<=54783||54785<=g&&g<=54811||54813<=g&&g<=54839||54841<=g&&g<=54867||54869<=g&&g<=54895||54897<=g&&g<=54923||54925<=g&&g<=54951||54953<=g&&g<=54979||54981<=g&&g<=55007||55009<=g&&g<=55035||55037<=g&&g<=55063||55065<=g&&g<=55091||55093<=g&&g<=55119||55121<=g&&g<=55147||55149<=g&&g<=55175||55177<=g&&g<=55203?l:9757==g||9977==g||9994<=g&&g<=9997||127877==g||127938<=g&&g<=127940||127943==g||127946<=g&&g<=127948||128066<=g&&g<=128067||128070<=g&&g<=128080||128110==g||128112<=g&&g<=128120||128124==g||128129<=g&&g<=128131||128133<=g&&g<=128135||128170==g||128372<=g&&g<=128373||128378==g||128400==g||128405<=g&&g<=128406||128581<=g&&g<=128583||128587<=g&&g<=128591||128675==g||128692<=g&&g<=128694||128704==g||128716==g||129304<=g&&g<=129308||129310<=g&&g<=129311||129318==g||129328<=g&&g<=129337||129341<=g&&g<=129342||129489<=g&&g<=129501?d:127995<=g&&g<=127999?p:8205==g?v:9792==g||9794==g||9877<=g&&g<=9878||9992==g||10084==g||127752==g||127806==g||127859==g||127891==g||127908==g||127912==g||127979==g||127981==g||128139==g||128187<=g&&g<=128188||128295==g||128300==g||128488==g||128640==g||128658==g?y:128102<=g&&g<=128105?m:f}return this.nextBreak=function(t,e){if(void 0===e&&(e=0),e<0)return 0;if(e>=t.length-1)return t.length;for(var n=E(O(t,e)),r=[],i=e+1;i<t.length;i++)if(!S(t,i-1)){var o=E(O(t,i));if(k(n,r,o))return i;r.push(o)}return t.length},this.splitGraphemes=function(t){var e,n=[],r=0;while((e=this.nextBreak(t,r))<t.length)n.push(t.slice(r,e)),r=e;return r<t.length&&n.push(t.slice(r)),n},this.iterateGraphemes=function(t){var e=0,n={next:function(){var n,r;return(r=this.nextBreak(t,e))<t.length?(n=t.slice(e,r),e=r,{value:n,done:!1}):e<t.length?(n=t.slice(e),e=t.length,{value:n,done:!1}):{value:void 0,done:!0}}.bind(this)};return"undefined"!==typeof Symbol&&Symbol.iterator&&(n[Symbol.iterator]=function(){return n}),n},this.countGraphemes=function(t){var e,n=0,r=0;while((e=this.nextBreak(t,r))<t.length)r=e,n++;return r<t.length&&n++,n},this}t.exports&&(t.exports=r)},c430:function(t,e){t.exports=!1},c6b6:function(t,e){var n={}.toString;t.exports=function(t){return n.call(t).slice(8,-1)}},c6cd:function(t,e,n){var r=n("da84"),i=n("ce4e"),o="__core-js_shared__",s=r[o]||i(o,{});t.exports=s},c8ba:function(t,e){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(r){"object"===typeof window&&(n=window)}t.exports=n},ca84:function(t,e,n){var r=n("5135"),i=n("fc6a"),o=n("4d64").indexOf,s=n("d012");t.exports=function(t,e){var n,a=i(t),c=0,u=[];for(n in a)!r(s,n)&&r(a,n)&&u.push(n);while(e.length>c)r(a,n=e[c++])&&(~o(u,n)||u.push(n));return u}},cc12:function(t,e,n){var r=n("da84"),i=n("861d"),o=r.document,s=i(o)&&i(o.createElement);t.exports=function(t){return s?o.createElement(t):{}}},ce4e:function(t,e,n){var r=n("da84"),i=n("9112");t.exports=function(t,e){try{i(r,t,e)}catch(n){r[t]=e}return e}},d012:function(t,e){t.exports={}},d039:function(t,e){t.exports=function(t){try{return!!t()}catch(e){return!0}}},d066:function(t,e,n){var r=n("428f"),i=n("da84"),o=function(t){return"function"==typeof t?t:void 0};t.exports=function(t,e){return arguments.length<2?o(r[t])||o(i[t]):r[t]&&r[t][e]||i[t]&&i[t][e]}},d1e7:function(t,e,n){"use strict";var r={}.propertyIsEnumerable,i=Object.getOwnPropertyDescriptor,o=i&&!r.call({1:2},1);e.f=o?function(t){var e=i(this,t);return!!e&&e.enumerable}:r},d28b:function(t,e,n){var r=n("746f");r("iterator")},d2bb:function(t,e,n){var r=n("825a"),i=n("3bbe");t.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var t,e=!1,n={};try{t=Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set,t.call(n,[]),e=n instanceof Array}catch(o){}return function(n,o){return r(n),i(o),e?t.call(n,o):n.__proto__=o,n}}():void 0)},d3b7:function(t,e,n){var r=n("00ee"),i=n("6eeb"),o=n("b041");r||i(Object.prototype,"toString",o,{unsafe:!0})},d44e:function(t,e,n){var r=n("9bf2").f,i=n("5135"),o=n("b622"),s=o("toStringTag");t.exports=function(t,e,n){t&&!i(t=n?t:t.prototype,s)&&r(t,s,{configurable:!0,value:e})}},d784:function(t,e,n){"use strict";n("ac1f");var r=n("6eeb"),i=n("9263"),o=n("d039"),s=n("b622"),a=n("9112"),c=s("species"),u=RegExp.prototype,l=!o((function(){var t=/./;return t.exec=function(){var t=[];return t.groups={a:"7"},t},"7"!=="".replace(t,"$<a>")})),f=function(){return"$0"==="a".replace(/./,"$0")}(),h=s("replace"),d=function(){return!!/./[h]&&""===/./[h]("a","$0")}(),p=!o((function(){var t=/(?:)/,e=t.exec;t.exec=function(){return e.apply(this,arguments)};var n="ab".split(t);return 2!==n.length||"a"!==n[0]||"b"!==n[1]}));t.exports=function(t,e,n,h){var v=s(t),y=!o((function(){var e={};return e[v]=function(){return 7},7!=""[t](e)})),m=y&&!o((function(){var e=!1,n=/a/;return"split"===t&&(n={},n.constructor={},n.constructor[c]=function(){return n},n.flags="",n[v]=/./[v]),n.exec=function(){return e=!0,null},n[v](""),!e}));if(!y||!m||"replace"===t&&(!l||!f||d)||"split"===t&&!p){var g=/./[v],b=n(v,""[t],(function(t,e,n,r,o){var s=e.exec;return s===i||s===u.exec?y&&!o?{done:!0,value:g.call(e,n,r)}:{done:!0,value:t.call(n,e,r)}:{done:!1}}),{REPLACE_KEEPS_$0:f,REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE:d}),x=b[0],w=b[1];r(String.prototype,t,x),r(u,v,2==e?function(t,e){return w.call(t,this,e)}:function(t){return w.call(t,this)})}h&&a(u[v],"sham",!0)}},d81d:function(t,e,n){"use strict";var r=n("23e7"),i=n("b727").map,o=n("1dde"),s=o("map");r({target:"Array",proto:!0,forced:!s},{map:function(t){return i(this,t,arguments.length>1?arguments[1]:void 0)}})},d998:function(t,e,n){var r=n("342f");t.exports=/MSIE|Trident/.test(r)},da84:function(t,e,n){(function(e){var n=function(t){return t&&t.Math==Math&&t};t.exports=n("object"==typeof globalThis&&globalThis)||n("object"==typeof window&&window)||n("object"==typeof self&&self)||n("object"==typeof e&&e)||function(){return this}()||Function("return this")()}).call(this,n("c8ba"))},dca8:function(t,e,n){var r=n("23e7"),i=n("bb2f"),o=n("d039"),s=n("861d"),a=n("f183").onFreeze,c=Object.freeze,u=o((function(){c(1)}));r({target:"Object",stat:!0,forced:u,sham:!i},{freeze:function(t){return c&&s(t)?c(a(t)):t}})},ddb0:function(t,e,n){var r=n("da84"),i=n("fdbc"),o=n("e260"),s=n("9112"),a=n("b622"),c=a("iterator"),u=a("toStringTag"),l=o.values;for(var f in i){var h=r[f],d=h&&h.prototype;if(d){if(d[c]!==l)try{s(d,c,l)}catch(v){d[c]=l}if(d[u]||s(d,u,f),i[f])for(var p in o)if(d[p]!==o[p])try{s(d,p,o[p])}catch(v){d[p]=o[p]}}}},df75:function(t,e,n){var r=n("ca84"),i=n("7839");t.exports=Object.keys||function(t){return r(t,i)}},e01a:function(t,e,n){"use strict";var r=n("23e7"),i=n("83ab"),o=n("da84"),s=n("5135"),a=n("861d"),c=n("9bf2").f,u=n("e893"),l=o.Symbol;if(i&&"function"==typeof l&&(!("description"in l.prototype)||void 0!==l().description)){var f={},h=function(){var t=arguments.length<1||void 0===arguments[0]?void 0:String(arguments[0]),e=this instanceof h?new l(t):void 0===t?l():l(t);return""===t&&(f[e]=!0),e};u(h,l);var d=h.prototype=l.prototype;d.constructor=h;var p=d.toString,v="Symbol(test)"==String(l("test")),y=/^Symbol\((.*)\)[^)]+$/;c(d,"description",{configurable:!0,get:function(){var t=a(this)?this.valueOf():this,e=p.call(t);if(s(f,t))return"";var n=v?e.slice(7,-1):e.replace(y,"$1");return""===n?void 0:n}}),r({global:!0,forced:!0},{Symbol:h})}},e11f:function(t,e,n){},e163:function(t,e,n){var r=n("5135"),i=n("7b0b"),o=n("f772"),s=n("e177"),a=o("IE_PROTO"),c=Object.prototype;t.exports=s?Object.getPrototypeOf:function(t){return t=i(t),r(t,a)?t[a]:"function"==typeof t.constructor&&t instanceof t.constructor?t.constructor.prototype:t instanceof Object?c:null}},e177:function(t,e,n){var r=n("d039");t.exports=!r((function(){function t(){}return t.prototype.constructor=null,Object.getPrototypeOf(new t)!==t.prototype}))},e260:function(t,e,n){"use strict";var r=n("fc6a"),i=n("44d2"),o=n("3f8c"),s=n("69f3"),a=n("7dd0"),c="Array Iterator",u=s.set,l=s.getterFor(c);t.exports=a(Array,"Array",(function(t,e){u(this,{type:c,target:r(t),index:0,kind:e})}),(function(){var t=l(this),e=t.target,n=t.kind,r=t.index++;return!e||r>=e.length?(t.target=void 0,{value:void 0,done:!0}):"keys"==n?{value:r,done:!1}:"values"==n?{value:e[r],done:!1}:{value:[r,e[r]],done:!1}}),"values"),o.Arguments=o.Array,i("keys"),i("values"),i("entries")},e2cc:function(t,e,n){var r=n("6eeb");t.exports=function(t,e,n){for(var i in e)r(t,i,e[i],n);return t}},e508:function(t,e,n){"use strict";(function(t){n.d(e,"a",(function(){return z}));var r=n("252c"),i=n("85fe"),o=n("ed83"),s=n.n(o),a=(n("8bbf"),{itemsLimit:1e3});function c(t){return c="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"===typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},c(t)}function u(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function l(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function f(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?l(Object(n),!0).forEach((function(e){u(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):l(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function h(t,e){if(t){if("string"===typeof t)return d(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(n):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?d(t,e):void 0}}function d(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}function p(t){if("undefined"===typeof Symbol||null==t[Symbol.iterator]){if(Array.isArray(t)||(t=h(t))){var e=0,n=function(){};return{s:n,n:function(){return e>=t.length?{done:!0}:{done:!1,value:t[e++]}},e:function(t){throw t},f:n}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var r,i,o=!0,s=!1;return{s:function(){r=t[Symbol.iterator]()},n:function(){var t=r.next();return o=t.done,t},e:function(t){s=!0,i=t},f:function(){try{o||null==r.return||r.return()}finally{if(s)throw i}}}}var v={items:{type:Array,required:!0},keyField:{type:String,default:"id"},direction:{type:String,default:"vertical",validator:function(t){return["vertical","horizontal"].includes(t)}}};function y(){return this.items.length&&"object"!==c(this.items[0])}var m=!1;if("undefined"!==typeof window){m=!1;try{var g=Object.defineProperty({},"passive",{get:function(){m=!0}});window.addEventListener("test",null,g)}catch(X){}}var b=0,x={name:"RecycleScroller",components:{ResizeObserver:r["a"]},directives:{ObserveVisibility:i["a"]},props:f({},v,{itemSize:{type:Number,default:null},minItemSize:{type:[Number,String],default:null},sizeField:{type:String,default:"size"},typeField:{type:String,default:"type"},buffer:{type:Number,default:200},pageMode:{type:Boolean,default:!1},prerender:{type:Number,default:0},emitUpdate:{type:Boolean,default:!1}}),data:function(){return{pool:[],totalSize:0,ready:!1,hoverKey:null}},computed:{sizes:function(){if(null===this.itemSize){for(var t,e={"-1":{accumulator:0}},n=this.items,r=this.sizeField,i=this.minItemSize,o=1e4,s=0,a=0,c=n.length;a<c;a++)t=n[a][r]||i,t<o&&(o=t),s+=t,e[a]={accumulator:s,size:t};return this.$_computedMinItemSize=o,e}return[]},simpleArray:y},watch:{items:function(){this.updateVisibleItems(!0)},pageMode:function(){this.applyPageMode(),this.updateVisibleItems(!1)},sizes:{handler:function(){this.updateVisibleItems(!1)},deep:!0}},created:function(){this.$_startIndex=0,this.$_endIndex=0,this.$_views=new Map,this.$_unusedViews=new Map,this.$_scrollDirty=!1,this.$_lastUpdateScrollPosition=0,this.prerender&&(this.$_prerender=!0,this.updateVisibleItems(!1))},mounted:function(){var t=this;this.applyPageMode(),this.$nextTick((function(){t.$_prerender=!1,t.updateVisibleItems(!0),t.ready=!0}))},beforeDestroy:function(){this.removeListeners()},methods:{addView:function(t,e,n,r,i){var o={item:n,position:0},s={id:b++,index:e,used:!0,key:r,type:i};return Object.defineProperty(o,"nr",{configurable:!1,value:s}),t.push(o),o},unuseView:function(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=this.$_unusedViews,r=t.nr.type,i=n.get(r);i||(i=[],n.set(r,i)),i.push(t),e||(t.nr.used=!1,t.position=-9999,this.$_views.delete(t.nr.key))},handleResize:function(){this.$emit("resize"),this.ready&&this.updateVisibleItems(!1)},handleScroll:function(t){var e=this;this.$_scrollDirty||(this.$_scrollDirty=!0,requestAnimationFrame((function(){e.$_scrollDirty=!1;var t=e.updateVisibleItems(!1,!0),n=t.continuous;n||(clearTimeout(e.$_refreshTimout),e.$_refreshTimout=setTimeout(e.handleScroll,100))})))},handleVisibilityChange:function(t,e){var n=this;this.ready&&(t||0!==e.boundingClientRect.width||0!==e.boundingClientRect.height?(this.$emit("visible"),requestAnimationFrame((function(){n.updateVisibleItems(!1)}))):this.$emit("hidden"))},updateVisibleItems:function(t){var e,n,r,i,o=arguments.length>1&&void 0!==arguments[1]&&arguments[1],s=this.itemSize,c=this.$_computedMinItemSize,u=this.typeField,l=this.simpleArray?null:this.keyField,f=this.items,h=f.length,d=this.sizes,p=this.$_views,v=this.$_unusedViews,y=this.pool;if(h)if(this.$_prerender)e=0,n=this.prerender,r=null;else{var m=this.getScroll();if(o){var g=m.start-this.$_lastUpdateScrollPosition;if(g<0&&(g=-g),null===s&&g<c||g<s)return{continuous:!0}}this.$_lastUpdateScrollPosition=m.start;var b=this.buffer;if(m.start-=b,m.end+=b,null===s){var x,w,_=0,S=h-1,O=~~(h/2);do{w=O,x=d[O].accumulator,x<m.start?_=O:O<h-1&&d[O+1].accumulator>m.start&&(S=O),O=~~((_+S)/2)}while(O!==w);for(O<0&&(O=0),e=O,r=d[h-1].accumulator,n=O;n<h&&d[n].accumulator<m.end;n++);-1===n?n=f.length-1:(n++,n>h&&(n=h))}else e=~~(m.start/s),n=Math.ceil(m.end/s),e<0&&(e=0),n>h&&(n=h),r=h*s}else e=n=r=0;n-e>a.itemsLimit&&this.itemsLimitError(),this.totalSize=r;var k=e<=this.$_endIndex&&n>=this.$_startIndex;if(this.$_continuous!==k){if(k){p.clear(),v.clear();for(var E=0,L=y.length;E<L;E++)i=y[E],this.unuseView(i)}this.$_continuous=k}else if(k)for(var $=0,z=y.length;$<z;$++)i=y[$],i.nr.used&&(t&&(i.nr.index=f.findIndex((function(t){return l?t[l]===i.item[l]:t===i.item}))),(-1===i.nr.index||i.nr.index<e||i.nr.index>=n)&&this.unuseView(i));for(var R,I,A,T,j=k?null:new Map,M=e;M<n;M++){R=f[M];var P=l?R[l]:R;if(null==P)throw new Error("Key is ".concat(P," on item (keyField is '").concat(l,"')"));i=p.get(P),s||d[M].size?(i?(i.nr.used=!0,i.item=R):(I=R[u],A=v.get(I),k?A&&A.length?(i=A.pop(),i.item=R,i.nr.used=!0,i.nr.index=M,i.nr.key=P,i.nr.type=I):i=this.addView(y,M,R,P,I):(T=j.get(I)||0,(!A||T>=A.length)&&(i=this.addView(y,M,R,P,I),this.unuseView(i,!0),A=v.get(I)),i=A[T],i.item=R,i.nr.used=!0,i.nr.index=M,i.nr.key=P,i.nr.type=I,j.set(I,T+1),T++),p.set(P,i)),i.position=null===s?d[M-1].accumulator:M*s):i&&this.unuseView(i)}return this.$_startIndex=e,this.$_endIndex=n,this.emitUpdate&&this.$emit("update",e,n),clearTimeout(this.$_sortTimer),this.$_sortTimer=setTimeout(this.sortViews,300),{continuous:k}},getListenerTarget:function(){var t=s()(this.$el);return!window.document||t!==window.document.documentElement&&t!==window.document.body||(t=window),t},getScroll:function(){var t,e=this.$el,n=this.direction,r="vertical"===n;if(this.pageMode){var i=e.getBoundingClientRect(),o=r?i.height:i.width,s=-(r?i.top:i.left),a=r?window.innerHeight:window.innerWidth;s<0&&(a+=s,s=0),s+a>o&&(a=o-s),t={start:s,end:s+a}}else t=r?{start:e.scrollTop,end:e.scrollTop+e.clientHeight}:{start:e.scrollLeft,end:e.scrollLeft+e.clientWidth};return t},applyPageMode:function(){this.pageMode?this.addListeners():this.removeListeners()},addListeners:function(){this.listenerTarget=this.getListenerTarget(),this.listenerTarget.addEventListener("scroll",this.handleScroll,!!m&&{passive:!0}),this.listenerTarget.addEventListener("resize",this.handleResize)},removeListeners:function(){this.listenerTarget&&(this.listenerTarget.removeEventListener("scroll",this.handleScroll),this.listenerTarget.removeEventListener("resize",this.handleResize),this.listenerTarget=null)},scrollToItem:function(t){var e;e=null===this.itemSize?t>0?this.sizes[t-1].accumulator:0:t*this.itemSize,this.scrollToPosition(e)},scrollToPosition:function(t){"vertical"===this.direction?this.$el.scrollTop=t:this.$el.scrollLeft=t},itemsLimitError:function(){var t=this;throw setTimeout((function(){console.log("It seems the scroller element isn't scrolling, so it tries to render all the items at once.","Scroller:",t.$el),console.log("Make sure the scroller has a fixed height (or width) and 'overflow-y' (or 'overflow-x') set to 'auto' so it can scroll correctly and only render the items visible in the scroll viewport.")})),new Error("Rendered items limit reached")},sortViews:function(){this.pool.sort((function(t,e){return t.nr.index-e.nr.index}))}}};function w(t,e,n,r,i,o,s,a,c,u){"boolean"!==typeof s&&(c=a,a=s,s=!1);const l="function"===typeof n?n.options:n;let f;if(t&&t.render&&(l.render=t.render,l.staticRenderFns=t.staticRenderFns,l._compiled=!0,i&&(l.functional=!0)),r&&(l._scopeId=r),o?(f=function(t){t=t||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,t||"undefined"===typeof __VUE_SSR_CONTEXT__||(t=__VUE_SSR_CONTEXT__),e&&e.call(this,c(t)),t&&t._registeredComponents&&t._registeredComponents.add(o)},l._ssrRegister=f):e&&(f=s?function(t){e.call(this,u(t,this.$root.$options.shadowRoot))}:function(t){e.call(this,a(t))}),f)if(l.functional){const t=l.render;l.render=function(e,n){return f.call(n),t(e,n)}}else{const t=l.beforeCreate;l.beforeCreate=t?[].concat(t,f):[f]}return n}const _=x;var S=function(){var t,e,n=this,r=n.$createElement,i=n._self._c||r;return i("div",{directives:[{name:"observe-visibility",rawName:"v-observe-visibility",value:n.handleVisibilityChange,expression:"handleVisibilityChange"}],staticClass:"vue-recycle-scroller",class:(t={ready:n.ready,"page-mode":n.pageMode},t["direction-"+n.direction]=!0,t),on:{"&scroll":function(t){return n.handleScroll(t)}}},[n.$slots.before?i("div",{staticClass:"vue-recycle-scroller__slot"},[n._t("before")],2):n._e(),n._v(" "),i("div",{ref:"wrapper",staticClass:"vue-recycle-scroller__item-wrapper",style:(e={},e["vertical"===n.direction?"minHeight":"minWidth"]=n.totalSize+"px",e)},n._l(n.pool,(function(t){return i("div",{key:t.nr.id,staticClass:"vue-recycle-scroller__item-view",class:{hover:n.hoverKey===t.nr.key},style:n.ready?{transform:"translate"+("vertical"===n.direction?"Y":"X")+"("+t.position+"px)"}:null,on:{mouseenter:function(e){n.hoverKey=t.nr.key},mouseleave:function(t){n.hoverKey=null}}},[n._t("default",null,{item:t.item,index:t.nr.index,active:t.nr.used})],2)})),0),n._v(" "),n.$slots.after?i("div",{staticClass:"vue-recycle-scroller__slot"},[n._t("after")],2):n._e(),n._v(" "),i("ResizeObserver",{on:{notify:n.handleResize}})],1)},O=[];S._withStripped=!0;const k=void 0,E=void 0,L=void 0,$=!1,z=w({render:S,staticRenderFns:O},k,_,E,$,L,!1,void 0,void 0,void 0);var R={name:"DynamicScroller",components:{RecycleScroller:z},inheritAttrs:!1,provide:function(){return"undefined"!==typeof ResizeObserver&&(this.$_resizeObserver=new ResizeObserver((function(t){var e,n=p(t);try{for(n.s();!(e=n.n()).done;){var r=e.value;if(r.target){var i=new CustomEvent("resize",{detail:{contentRect:r.contentRect}});r.target.dispatchEvent(i)}}}catch(o){n.e(o)}finally{n.f()}}))),{vscrollData:this.vscrollData,vscrollParent:this,vscrollResizeObserver:this.$_resizeObserver}},props:f({},v,{minItemSize:{type:[Number,String],required:!0}}),data:function(){return{vscrollData:{active:!0,sizes:{},validSizes:{},keyField:this.keyField,simpleArray:!1}}},computed:{simpleArray:y,itemsWithSize:function(){for(var t=[],e=this.items,n=this.keyField,r=this.simpleArray,i=this.vscrollData.sizes,o=0;o<e.length;o++){var s=e[o],a=r?o:s[n],c=i[a];"undefined"!==typeof c||this.$_undefinedMap[a]||(c=0),t.push({item:s,id:a,size:c})}return t},listeners:function(){var t={};for(var e in this.$listeners)"resize"!==e&&"visible"!==e&&(t[e]=this.$listeners[e]);return t}},watch:{items:function(){this.forceUpdate(!1)},simpleArray:{handler:function(t){this.vscrollData.simpleArray=t},immediate:!0},direction:function(t){this.forceUpdate(!0)}},created:function(){this.$_updates=[],this.$_undefinedSizes=0,this.$_undefinedMap={}},activated:function(){this.vscrollData.active=!0},deactivated:function(){this.vscrollData.active=!1},methods:{onScrollerResize:function(){var t=this.$refs.scroller;t&&this.forceUpdate(),this.$emit("resize")},onScrollerVisible:function(){this.$emit("vscroll:update",{force:!1}),this.$emit("visible")},forceUpdate:function(){var t=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];(t||this.simpleArray)&&(this.vscrollData.validSizes={}),this.$emit("vscroll:update",{force:!0})},scrollToItem:function(t){var e=this.$refs.scroller;e&&e.scrollToItem(t)},getItemSize:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:void 0,n=this.simpleArray?null!=e?e:this.items.indexOf(t):t[this.keyField];return this.vscrollData.sizes[n]||0},scrollToBottom:function(){var t=this;if(!this.$_scrollingToBottom){this.$_scrollingToBottom=!0;var e=this.$el;this.$nextTick((function(){e.scrollTop=e.scrollHeight+5e3;var n=function n(){e.scrollTop=e.scrollHeight+5e3,requestAnimationFrame((function(){e.scrollTop=e.scrollHeight+5e3,0===t.$_undefinedSizes?t.$_scrollingToBottom=!1:requestAnimationFrame(n)}))};requestAnimationFrame(n)}))}}}};const I=R;var A=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("RecycleScroller",t._g(t._b({ref:"scroller",attrs:{items:t.itemsWithSize,"min-item-size":t.minItemSize,direction:t.direction,"key-field":"id"},on:{resize:t.onScrollerResize,visible:t.onScrollerVisible},scopedSlots:t._u([{key:"default",fn:function(e){var n=e.item,r=e.index,i=e.active;return[t._t("default",null,null,{item:n.item,index:r,active:i,itemWithSize:n})]}}],null,!0)},"RecycleScroller",t.$attrs,!1),t.listeners),[t._v(" "),n("template",{slot:"before"},[t._t("before")],2),t._v(" "),n("template",{slot:"after"},[t._t("after")],2)],2)},T=[];A._withStripped=!0;const j=void 0,M=void 0,P=void 0,C=!1,N=w({render:A,staticRenderFns:T},j,I,M,C,P,!1,void 0,void 0,void 0);var D={name:"DynamicScrollerItem",inject:["vscrollData","vscrollParent","vscrollResizeObserver"],props:{item:{required:!0},watchData:{type:Boolean,default:!1},active:{type:Boolean,required:!0},index:{type:Number,default:void 0},sizeDependencies:{type:[Array,Object],default:null},emitResize:{type:Boolean,default:!1},tag:{type:String,default:"div"}},computed:{id:function(){return this.vscrollData.simpleArray?this.index:this.item[this.vscrollData.keyField]},size:function(){return this.vscrollData.validSizes[this.id]&&this.vscrollData.sizes[this.id]||0},finalActive:function(){return this.active&&this.vscrollData.active}},watch:{watchData:"updateWatchData",id:function(){this.size||this.onDataUpdate()},finalActive:function(t){this.size||(t?this.vscrollParent.$_undefinedMap[this.id]||(this.vscrollParent.$_undefinedSizes++,this.vscrollParent.$_undefinedMap[this.id]=!0):this.vscrollParent.$_undefinedMap[this.id]&&(this.vscrollParent.$_undefinedSizes--,this.vscrollParent.$_undefinedMap[this.id]=!1)),this.vscrollResizeObserver?t?this.observeSize():this.unobserveSize():t&&this.$_pendingVScrollUpdate===this.id&&this.updateSize()}},created:function(){var t=this;if(!this.$isServer&&(this.$_forceNextVScrollUpdate=null,this.updateWatchData(),!this.vscrollResizeObserver)){var e=function(e){t.$watch((function(){return t.sizeDependencies[e]}),t.onDataUpdate)};for(var n in this.sizeDependencies)e(n);this.vscrollParent.$on("vscroll:update",this.onVscrollUpdate),this.vscrollParent.$on("vscroll:update-size",this.onVscrollUpdateSize)}},mounted:function(){this.vscrollData.active&&(this.updateSize(),this.observeSize())},beforeDestroy:function(){this.vscrollParent.$off("vscroll:update",this.onVscrollUpdate),this.vscrollParent.$off("vscroll:update-size",this.onVscrollUpdateSize),this.unobserveSize()},methods:{updateSize:function(){this.finalActive?this.$_pendingSizeUpdate!==this.id&&(this.$_pendingSizeUpdate=this.id,this.$_forceNextVScrollUpdate=null,this.$_pendingVScrollUpdate=null,this.computeSize(this.id)):this.$_forceNextVScrollUpdate=this.id},updateWatchData:function(){var t=this;this.watchData?this.$_watchData=this.$watch("data",(function(){t.onDataUpdate()}),{deep:!0}):this.$_watchData&&(this.$_watchData(),this.$_watchData=null)},onVscrollUpdate:function(t){var e=t.force;!this.finalActive&&e&&(this.$_pendingVScrollUpdate=this.id),this.$_forceNextVScrollUpdate!==this.id&&!e&&this.size||this.updateSize()},onDataUpdate:function(){this.updateSize()},computeSize:function(t){var e=this;this.$nextTick((function(){if(e.id===t){var n=e.$el.offsetWidth,r=e.$el.offsetHeight;e.applySize(n,r)}e.$_pendingSizeUpdate=null}))},applySize:function(t,e){var n=Math.round("vertical"===this.vscrollParent.direction?e:t);n&&this.size!==n&&(this.vscrollParent.$_undefinedMap[this.id]&&(this.vscrollParent.$_undefinedSizes--,this.vscrollParent.$_undefinedMap[this.id]=void 0),this.$set(this.vscrollData.sizes,this.id,n),this.$set(this.vscrollData.validSizes,this.id,!0),this.emitResize&&this.$emit("resize",this.id))},observeSize:function(){this.vscrollResizeObserver&&(this.vscrollResizeObserver.observe(this.$el.parentNode),this.$el.parentNode.addEventListener("resize",this.onResize))},unobserveSize:function(){this.vscrollResizeObserver&&(this.vscrollResizeObserver.unobserve(this.$el.parentNode),this.$el.parentNode.removeEventListener("resize",this.onResize))},onResize:function(t){var e=t.detail.contentRect,n=e.width,r=e.height;this.applySize(n,r)}},render:function(t){return t(this.tag,this.$slots.default)}};const W=D,B=void 0,V=void 0,U=void 0,F=void 0,q=w({},B,W,V,F,U,!1,void 0,void 0,void 0);function H(t,e){t.component("".concat(e,"recycle-scroller"),z),t.component("".concat(e,"RecycleScroller"),z),t.component("".concat(e,"dynamic-scroller"),N),t.component("".concat(e,"DynamicScroller"),N),t.component("".concat(e,"dynamic-scroller-item"),q),t.component("".concat(e,"DynamicScrollerItem"),q)}var G={version:"1.0.10",install:function(t,e){var n=Object.assign({},{installComponents:!0,componentsPrefix:""},e);for(var r in n)"undefined"!==typeof n[r]&&(a[r]=n[r]);n.installComponents&&H(t,n.componentsPrefix)}},Y=null;"undefined"!==typeof window?Y=window.Vue:"undefined"!==typeof t&&(Y=t.Vue),Y&&Y.use(G)}).call(this,n("c8ba"))},e538:function(t,e,n){var r=n("b622");e.f=r},e893:function(t,e,n){var r=n("5135"),i=n("56ef"),o=n("06cf"),s=n("9bf2");t.exports=function(t,e){for(var n=i(e),a=s.f,c=o.f,u=0;u<n.length;u++){var l=n[u];r(t,l)||a(t,l,c(e,l))}}},e8b5:function(t,e,n){var r=n("c6b6");t.exports=Array.isArray||function(t){return"Array"==r(t)}},e95a:function(t,e,n){var r=n("b622"),i=n("3f8c"),o=r("iterator"),s=Array.prototype;t.exports=function(t){return void 0!==t&&(i.Array===t||s[o]===t)}},eb31:function(t,e,n){"use strict";var r=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{attrs:{id:"container-"+t.uuid},on:{click:t.open,touchend:t.open}},[n("svg",{attrs:{version:"1.1",xmlns:"http://www.w3.org/2000/svg"}},[n("defs",[n("marker",{attrs:{id:"v-annotator-arrow",viewBox:"0 0 10 10",refX:"5",refY:"5",markerWidth:"6",markerHeight:"6",orient:"auto-start-reverse"}},[n("path",{attrs:{d:"M 0 0 L 10 5 L 0 10 z",stroke:"#74b8dc",fill:"#74b8dc"}})])])]),n("RecycleScroller",{staticClass:"scroller",attrs:{"page-mode":"",items:t.items},scopedSlots:t._u([{key:"default",fn:function(e){var r=e.item,i=e.index;return[n("v-line",{key:i+":"+t.rtl,attrs:{"annotator-uuid":t.uuid,dark:t.dark,entities:t.entityList.filterByRange(r.textLine.startOffset,r.textLine.endOffset),entityLabels:t.entityLabelList,relations:t.relationList.filterByRange(r.textLine.startOffset,r.textLine.endOffset),maxLabelLength:t.maxLabelLength,relationLabels:t.relationLabelList,font:t.font,rtl:t.rtl,"selected-entities":t.highlightedEntities,"selected-relation":t.selectedRelation,text:t.text,textLine:r.textLine,"base-x":t.baseX,left:t.left,right:t.right},on:{"click:entity":t.clicked,"click:relation":t.onRelationClicked,"contextmenu:entity":function(e){return t.$emit("contextmenu:entity",e)},"contextmenu:relation":function(e){return t.$emit("contextmenu:relation",e)},"update:height":t.updateHeight,setSelectedEntity:function(e){t.selectedEntity=e},setSelectedRelation:function(e){t.selectedRelation=e}}})]}}])}),n("svg",{attrs:{version:"1.1",xmlns:"http://www.w3.org/2000/svg"}},[n("text",{staticStyle:{"white-space":"pre"},attrs:{id:"text-"+t.uuid}})])],1)},i=[];function o(t){if(Array.isArray(t))return t}n("a4d3"),n("e01a"),n("d3b7"),n("d28b"),n("3ca3"),n("ddb0");function s(t,e){var n=null==t?null:"undefined"!==typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=n){var r,i,o=[],s=!0,a=!1;try{for(n=n.call(t);!(s=(r=n.next()).done);s=!0)if(o.push(r.value),e&&o.length===e)break}catch(c){a=!0,i=c}finally{try{s||null==n["return"]||n["return"]()}finally{if(a)throw i}}return o}}n("fb6a"),n("b0c0"),n("a630");function a(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}function c(t,e){if(t){if("string"===typeof t)return a(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?a(t,e):void 0}}function u(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function l(t,e){return o(t)||s(t,e)||c(t,e)||u()}n("a9e3"),n("d81d"),n("99af"),n("ac1f"),n("1276");function f(t){var e=typeof t;return null!=t&&("object"==e||"function"==e)}var h=f,d=n("5ea3"),p="object"==typeof self&&self&&self.Object===Object&&self,v=d["a"]||p||Function("return this")(),y=v,m=function(){return y.Date.now()},g=m,b=/\s/;function x(t){var e=t.length;while(e--&&b.test(t.charAt(e)));return e}var w=x,_=/^\s+/;function S(t){return t?t.slice(0,w(t)+1).replace(_,""):t}var O=S,k=y.Symbol,E=k,L=Object.prototype,$=L.hasOwnProperty,z=L.toString,R=E?E.toStringTag:void 0;function I(t){var e=$.call(t,R),n=t[R];try{t[R]=void 0;var r=!0}catch(o){}var i=z.call(t);return r&&(e?t[R]=n:delete t[R]),i}var A=I,T=Object.prototype,j=T.toString;function M(t){return j.call(t)}var P=M,C="[object Null]",N="[object Undefined]",D=E?E.toStringTag:void 0;function W(t){return null==t?void 0===t?N:C:D&&D in Object(t)?A(t):P(t)}var B=W;function V(t){return null!=t&&"object"==typeof t}var U=V,F="[object Symbol]";function q(t){return"symbol"==typeof t||U(t)&&B(t)==F}var H=q,G=NaN,Y=/^[-+]0x[0-9a-f]+$/i,X=/^0b[01]+$/i,K=/^0o[0-7]+$/i,Q=parseInt;function J(t){if("number"==typeof t)return t;if(H(t))return G;if(h(t)){var e="function"==typeof t.valueOf?t.valueOf():t;t=h(e)?e+"":e}if("string"!=typeof t)return 0===t?t:+t;t=O(t);var n=X.test(t);return n||K.test(t)?Q(t.slice(2),n?2:8):Y.test(t)?G:+t}var Z=J,tt="Expected a function",et=Math.max,nt=Math.min;function rt(t,e,n){var r,i,o,s,a,c,u=0,l=!1,f=!1,d=!0;if("function"!=typeof t)throw new TypeError(tt);function p(e){var n=r,o=i;return r=i=void 0,u=e,s=t.apply(o,n),s}function v(t){return u=t,a=setTimeout(b,e),l?p(t):s}function y(t){var n=t-c,r=t-u,i=e-n;return f?nt(i,o-r):i}function m(t){var n=t-c,r=t-u;return void 0===c||n>=e||n<0||f&&r>=o}function b(){var t=g();if(m(t))return x(t);a=setTimeout(b,y(t))}function x(t){return a=void 0,d&&r?p(t):(r=i=void 0,s)}function w(){void 0!==a&&clearTimeout(a),u=0,r=c=i=a=void 0}function _(){return void 0===a?s:x(g())}function S(){var t=g(),n=m(t);if(r=arguments,i=this,c=t,n){if(void 0===a)return v(c);if(f)return clearTimeout(a),a=setTimeout(b,e),p(c)}return void 0===a&&(a=setTimeout(b,e)),s}return e=Z(e)||0,h(n)&&(l=!!n.leading,f="maxWait"in n,o=f?et(Z(n.maxWait)||0,e):o,d="trailing"in n?!!n.trailing:d),S.cancel=w,S.flush=_,S}var it=rt;const ot="undefined"!==typeof crypto&&crypto.randomUUID&&crypto.randomUUID.bind(crypto);var st={randomUUID:ot};let at;const ct=new Uint8Array(16);function ut(){if(!at&&(at="undefined"!==typeof crypto&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto),!at))throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return at(ct)}const lt=[];for(let en=0;en<256;++en)lt.push((en+256).toString(16).slice(1));function ft(t,e=0){return(lt[t[e+0]]+lt[t[e+1]]+lt[t[e+2]]+lt[t[e+3]]+"-"+lt[t[e+4]]+lt[t[e+5]]+"-"+lt[t[e+6]]+lt[t[e+7]]+"-"+lt[t[e+8]]+lt[t[e+9]]+"-"+lt[t[e+10]]+lt[t[e+11]]+lt[t[e+12]]+lt[t[e+13]]+lt[t[e+14]]+lt[t[e+15]]).toLowerCase()}function ht(t,e,n){if(st.randomUUID&&!e&&!t)return st.randomUUID();t=t||{};const r=t.random||(t.rng||ut)();if(r[6]=15&r[6]|64,r[8]=63&r[8]|128,e){n=n||0;for(let t=0;t<16;++t)e[n+t]=r[t];return e}return ft(r)}var dt=ht,pt=n("8bbf"),vt=n.n(pt),yt=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("svg",{attrs:{version:"1.1",xmlns:"http://www.w3.org/2000/svg",direction:t.direction,id:t.svgId,width:"100%"}},[n("g",{attrs:{transform:t.translate}},[t._l(t.lineRelations,(function(e){return n("BaseRelation",{key:e.relation.id,attrs:{dark:t.dark,"font-size":t.font.fontSize,x1:e.x1,x2:e.x2,level:e.level,label:e.label,"label-width":e.labelWidth,marker:e.marker,"max-level":t.maxRelationLevel,openLeft:e.openLeft,openRight:e.openRight,rtl:t.rtl,margin:t.left,selected:t.isSelectedRelation(e.relation)},on:{"click:relation":function(n){return t.$emit("click:relation",n,e.relation)},"contextmenu:relation":function(n){return t.$emit("contextmenu:relation",e.relation)},mouseover:function(n){return t.$emit("setSelectedRelation",e.relation)},mouseleave:function(e){return t.$emit("setSelectedRelation",null)}}})})),n("g",{attrs:{transform:t.translateEntity}},[n("BaseText",{attrs:{id:t.basetextId,"text-line":t.textLine,text:t.text,x:t.baseX}}),t._l(t.geometricEntities,(function(e){return n("BaseEntity",{key:e.entity.id,attrs:{ranges:e.ranges,color:t.color(e.entity),label:t.labelText(e.entity),"no-text":t.noText(e.entity),rtl:t.rtl,margin:t.left,level:e.level,"font-size":t.font.fontSize,selected:t.isSelectedEntity(e.entity)},on:{"click:entity":function(n){return t.$emit("click:entity",n,e.entity)},"contextmenu:entity":function(n){return t.$emit("contextmenu:entity",e.entity)},mouseover:function(n){return t.$emit("setSelectedEntity",e.entity)},mouseleave:function(e){return t.$emit("setSelectedEntity",null)}}})}))],2)],2)])},mt=[];function gt(t){if(Array.isArray(t))return a(t)}function bt(t){if("undefined"!==typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}function xt(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function wt(t){return gt(t)||bt(t)||c(t)||xt()}n("4de4");var _t=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("g",{on:{mouseover:function(e){return t.$emit("mouseover")},mouseleave:function(e){return t.$emit("mouseleave")}}},[t._l(t.coordinates,(function(e,r){var i=e[0],o=e[1];return n("BaseEntityLine",{key:r,attrs:{x1:i,x2:o,y:t.lineY,color:t.color,height:t.height}})})),t.noText?t._e():n("BaseEntityText",{attrs:{r:t.r,x:t.textX,y:t.textY,dx:t.dx,rtl:t.rtl,text:t.label,color:t.color},on:{"click:entity":function(e){return t.$emit("click:entity",e)},"contextmenu:entity":function(e){return t.$emit("contextmenu:entity")}}})],2)},St=[],Ot=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("g",{staticStyle:{cursor:"pointer","user-select":"none"},on:{click:function(e){return t.$emit("click:entity",e)},contextmenu:function(e){return e.preventDefault(),t.$emit("contextmenu:entity")}}},[n("circle",{attrs:{r:t.r,fill:t.color,cx:t.cx,cy:t.y}}),n("text",{attrs:{x:t.x,y:t.y,fill:"currentColor",dx:t.dx,dy:"0.35em"},domProps:{textContent:t._s(t.text)}})])},kt=[],Et=vt.a.extend({props:{r:{type:Number,required:!0},x:{type:Number,required:!0},y:{type:Number,required:!0},dx:{type:Number,required:!0},color:{type:String,required:!0},text:{type:String,required:!0},rtl:{type:Boolean,default:!1}},computed:{cx:function(){return this.rtl?this.x-this.r:this.x+this.r}}}),Lt=Et;function $t(t,e,n,r,i,o,s,a){var c,u="function"===typeof t?t.options:t;if(e&&(u.render=e,u.staticRenderFns=n,u._compiled=!0),r&&(u.functional=!0),o&&(u._scopeId="data-v-"+o),s?(c=function(t){t=t||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,t||"undefined"===typeof __VUE_SSR_CONTEXT__||(t=__VUE_SSR_CONTEXT__),i&&i.call(this,t),t&&t._registeredComponents&&t._registeredComponents.add(s)},u._ssrRegister=c):i&&(c=a?function(){i.call(this,(u.functional?this.parent:this).$root.$options.shadowRoot)}:i),c)if(u.functional){u._injectStyles=c;var l=u.render;u.render=function(t,e){return c.call(e),l(t,e)}}else{var f=u.beforeCreate;u.beforeCreate=f?[].concat(f,c):[c]}return{exports:t,options:u}}var zt=$t(Lt,Ot,kt,!1,null,null,null),Rt=zt.exports,It=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("line",{attrs:{x1:t._x1,y1:t.y,x2:t._x2,y2:t.y,stroke:t.color,"stroke-width":t.height,"stroke-linecap":"round"}})},At=[],Tt=vt.a.extend({props:{x1:{type:Number},x2:{type:Number},y:{type:Number},height:{type:Number,default:5},color:{type:String}},computed:{_x1:function(){var t=this.x1<this.x2?this.x1:this.x2;return t+this.height/2},_x2:function(){var t=this.x1<this.x2?this.x2:this.x1;return t-this.height/2}}}),jt=Tt,Mt=$t(jt,It,At,!1,null,null,null),Pt=Mt.exports,Ct=(n("dca8"),Object.freeze({radius:3,lineWidth:5,maxLabelLength:12,get labelMargin(){return 5+this.radius},get diameter(){return 2*this.radius}})),Nt=Ct,Dt=vt.a.extend({components:{BaseEntityText:Rt,BaseEntityLine:Pt},props:{ranges:{type:Object,required:!0},color:{type:String,required:!0},noText:{type:Boolean,required:!1},label:{type:String,required:!0},rtl:{type:Boolean,default:!1},margin:{type:Number,default:0},level:{type:Number,default:0},fontSize:{type:Number,default:17},selected:{type:Boolean,default:!1}},computed:{dx:function(){return this.rtl?-Nt.labelMargin:Nt.labelMargin},r:function(){return Nt.radius},height:function(){return this.selected?1.5*Nt.lineWidth:Nt.lineWidth},textX:function(){return this.rtl?this.x(this.ranges.first.x2):this.x(this.ranges.first.x1)},textY:function(){var t=5;return this.lineY+this.fontSize/2+t},lineY:function(){var t=8;return Nt.lineWidth+(Nt.lineWidth+this.fontSize+t)*this.level},coordinates:function(){var t=this;return this.ranges.items.map((function(e){return[t.x(e.x1),t.x(e.x2)]}))}},methods:{x:function(t){return t-this.margin}}}),Wt=Dt,Bt=$t(Wt,_t,St,!1,null,null,null),Vt=Bt.exports,Ut=function(){var t=this,e=t.$createElement,n=t._self._c||e;return t.snippet?n("text",{staticStyle:{"white-space":"pre"},attrs:{fill:"currentColor"},domProps:{textContent:t._s(t.snippet)}}):n("text",{staticStyle:{"font-size":"6px"},attrs:{fill:"currentColor"}},[t._v("⮐")])},Ft=[],qt=vt.a.extend({props:{text:{type:String,default:"",required:!0},textLine:{type:Object,required:!0}},computed:{snippet:function(){return this.text.substring(this.textLine.startOffset,this.textLine.endOffset)}},watch:{textLine:{immediate:!0,handler:function(){var t=this;this.$nextTick((function(){t.$el.annotatorElement=t.textLine}))}}}}),Ht=qt,Gt=(n("6386"),$t(Ht,Ut,Ft,!1,null,"5225550e",null)),Yt=Gt.exports,Xt=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("g",{staticStyle:{cursor:"pointer",userselect:"none"},on:{click:function(e){return t.$emit("click:relation",e)},contextmenu:function(e){return t.$emit("contextmenu:relation")},mouseover:function(e){return t.$emit("mouseover")},mouseleave:function(e){return t.$emit("mouseleave")}}},[n("path",t._b({attrs:{d:t.d,stroke:"#74b8dc","stroke-width":t.width,fill:"none"}},"path",t.markerObj,!1)),t.x1?n("g",[n("rect",{attrs:{x:t.rectX,y:t.rectY,width:t.labelWidth,height:t.fontSize,fill:t.fill}}),n("text",{attrs:{x:t.center,y:t.textY,fill:"currentColor","text-anchor":"middle"},domProps:{textContent:t._s(t.label)}})]):t._e()])},Kt=[],Qt=vt.a.extend({props:{fontSize:{type:Number,required:!0},x1:{type:Number},x2:{type:Number},dark:{type:Boolean,default:!1},label:{type:String,required:!0},labelWidth:{type:Number,required:!0},level:{type:Number,default:0},openLeft:{type:Boolean,default:!1},openRight:{type:Boolean,default:!1},rtl:{type:Boolean,default:!1},margin:{type:Number,default:0},marker:{type:String},maxLevel:{type:Number},selected:{type:Boolean,default:!1}},computed:{r:function(){return 12},y:function(){return 20+this.fontSize*this.maxLevel+this.fontSize/2},d:function(){return this.openLeft&&this.openRight?"M ".concat(this._x1," ").concat(this.y-this.dy-this.r,"\n H ").concat(this._x2,"\n "):this.openLeft?"M ".concat(this._x1," ").concat(this.y-this.dy-this.r,"\n H ").concat(this._x2-this.r,"\n A ").concat(this.r," ").concat(this.r," 0 0 1 ").concat(this._x2," ").concat(this.lineY+this.r,"\n v ").concat(this.dy-3,"\n "):this.openRight?"M ".concat(this._x1," ").concat(this.y,"\n v -").concat(this.dy,"\n A ").concat(this.r," ").concat(this.r," 0 0 1 ").concat(this._x1+this.r," ").concat(this.lineY,"\n H ").concat(this._x2,"\n "):"M ".concat(this._x1," ").concat(this.y,"\n v -").concat(this.dy,"\n A ").concat(this.r," ").concat(this.r," 0 0 1 ").concat(this._x1+this.r," ").concat(this.lineY,"\n H ").concat(this._x2-this.r,"\n A ").concat(this.r," ").concat(this.r," 0 0 1 ").concat(this._x2," ").concat(this.lineY+this.r,"\n v ").concat(this.dy-3,"\n ")},dy:function(){return 20+this.fontSize*this.level},center:function(){return this._x1+(this._x2-this._x1)/2},rectX:function(){return this.center-this.labelWidth/2},rectY:function(){return this.lineY-this.fontSize/2},lineY:function(){return this.y-this.dy-this.r},textY:function(){return this.lineY+this.fontSize/2-3},_x1:function(){return this.x1-this.margin},_x2:function(){return this.x2-this.margin},width:function(){return this.selected?3:1},markerObj:function(){return"start"===this.marker?{"marker-start":"url(#v-annotator-arrow)"}:"end"===this.marker?{"marker-end":"url(#v-annotator-arrow)"}:{}},fill:function(){return this.dark?"#1E1E1E":"white"}}}),Jt=Qt,Zt=$t(Jt,Xt,Kt,!1,null,null,null),te=Zt.exports;function ee(t,e){var n="undefined"!==typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!n){if(Array.isArray(t)||(n=c(t))||e&&t&&"number"===typeof t.length){n&&(t=n);var r=0,i=function(){};return{s:i,n:function(){return r>=t.length?{done:!0}:{done:!1,value:t[r++]}},e:function(t){throw t},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,s=!0,a=!1;return{s:function(){n=n.call(t)},n:function(){var t=n.next();return s=t.done,t},e:function(t){a=!0,o=t},f:function(){try{s||null==n["return"]||n["return"]()}finally{if(a)throw o}}}}function ne(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function re(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function ie(t,e,n){return e&&re(t.prototype,e),n&&re(t,n),t}function oe(t){return oe="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"===typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},oe(t)}n("4ec9"),n("159b"),n("841c");const se=class t{constructor(t,e){this.low=t,this.high=e}clone(){return new t(this.low,this.high)}get max(){return this.clone()}less_than(t){return this.low<t.low||this.low==t.low&&this.high<t.high}equal_to(t){return this.low==t.low&&this.high==t.high}intersect(t){return!this.not_intersect(t)}not_intersect(t){return this.high<t.low||t.high<this.low}merge(e){return new t(void 0===this.low?e.low:Math.min(this.low,e.low),void 0===this.high?e.high:Math.max(this.high,e.high))}output(){return[this.low,this.high]}static comparable_max(t,e){return t.merge(e)}static comparable_less_than(t,e){return t<e}},ae=0,ce=1;class ue{constructor(t,e,n=null,r=null,i=null,o=ce){this.left=n,this.right=r,this.parent=i,this.color=o,this.item={key:t,value:e},t&&t instanceof Array&&2==t.length&&(Number.isNaN(t[0])||Number.isNaN(t[1])||(this.item.key=new se(Math.min(t[0],t[1]),Math.max(t[0],t[1])))),this.max=this.item.key?this.item.key.max:void 0}isNil(){return void 0===this.item.key&&void 0===this.item.value&&null===this.left&&null===this.right&&this.color===ce}less_than(t){if(this.item.value===this.item.key&&t.item.value===t.item.key)return this.item.key.less_than(t.item.key);{let e=this.item.value&&t.item.value&&this.item.value.less_than?this.item.value.less_than(t.item.value):this.item.value<t.item.value;return this.item.key.less_than(t.item.key)||this.item.key.equal_to(t.item.key)&&e}}equal_to(t){if(this.item.value===this.item.key&&t.item.value===t.item.key)return this.item.key.equal_to(t.item.key);{let e=this.item.value&&t.item.value&&this.item.value.equal_to?this.item.value.equal_to(t.item.value):this.item.value==t.item.value;return this.item.key.equal_to(t.item.key)&&e}}intersect(t){return this.item.key.intersect(t.item.key)}copy_data(t){this.item.key=t.item.key.clone(),this.item.value=t.item.value&&t.item.value.clone?t.item.value.clone():t.item.value}update_max(){if(this.max=this.item.key?this.item.key.max:void 0,this.right&&this.right.max){const t=this.item.key.constructor.comparable_max;this.max=t(this.max,this.right.max)}if(this.left&&this.left.max){const t=this.item.key.constructor.comparable_max;this.max=t(this.max,this.left.max)}}not_intersect_left_subtree(t){const e=this.item.key.constructor.comparable_less_than;let n=void 0!==this.left.max.high?this.left.max.high:this.left.max;return e(n,t.item.key.low)}not_intersect_right_subtree(t){const e=this.item.key.constructor.comparable_less_than;let n=void 0!==this.right.max.low?this.right.max.low:this.right.item.key.low;return e(t.item.key.high,n)}}class le{constructor(){this.root=null,this.nil_node=new ue}get size(){let t=0;return this.tree_walk(this.root,()=>t++),t}get keys(){let t=[];return this.tree_walk(this.root,e=>t.push(e.item.key.output?e.item.key.output():e.item.key)),t}get values(){let t=[];return this.tree_walk(this.root,e=>t.push(e.item.value)),t}get items(){let t=[];return this.tree_walk(this.root,e=>t.push({key:e.item.key.output?e.item.key.output():e.item.key,value:e.item.value})),t}isEmpty(){return null==this.root||this.root==this.nil_node}insert(t,e=t){if(void 0===t)return;let n=new ue(t,e,this.nil_node,this.nil_node,null,ae);return this.tree_insert(n),this.recalc_max(n),n}exist(t,e=t){let n=new ue(t,e);return!!this.tree_search(this.root,n)}remove(t,e=t){let n=new ue(t,e),r=this.tree_search(this.root,n);return r&&this.tree_delete(r),r}search(t,e=((t,e)=>t===e?e.output():t)){let n=new ue(t),r=[];return this.tree_search_interval(this.root,n,r),r.map(t=>e(t.item.value,t.item.key))}intersect_any(t){let e=new ue(t),n=this.tree_find_any_interval(this.root,e);return n}forEach(t){this.tree_walk(this.root,e=>t(e.item.key,e.item.value))}map(t){const e=new le;return this.tree_walk(this.root,n=>e.insert(n.item.key,t(n.item.value,n.item.key))),e}recalc_max(t){let e=t;while(null!=e.parent)e.parent.update_max(),e=e.parent}tree_insert(t){let e=this.root,n=null;if(null==this.root||this.root==this.nil_node)this.root=t;else{while(e!=this.nil_node)n=e,e=t.less_than(e)?e.left:e.right;t.parent=n,t.less_than(n)?n.left=t:n.right=t}this.insert_fixup(t)}insert_fixup(t){let e,n;e=t;while(e!=this.root&&e.parent.color==ae)e.parent==e.parent.parent.left?(n=e.parent.parent.right,n.color==ae?(e.parent.color=ce,n.color=ce,e.parent.parent.color=ae,e=e.parent.parent):(e==e.parent.right&&(e=e.parent,this.rotate_left(e)),e.parent.color=ce,e.parent.parent.color=ae,this.rotate_right(e.parent.parent))):(n=e.parent.parent.left,n.color==ae?(e.parent.color=ce,n.color=ce,e.parent.parent.color=ae,e=e.parent.parent):(e==e.parent.left&&(e=e.parent,this.rotate_right(e)),e.parent.color=ce,e.parent.parent.color=ae,this.rotate_left(e.parent.parent)));this.root.color=ce}tree_delete(t){let e,n;e=t.left==this.nil_node||t.right==this.nil_node?t:this.tree_successor(t),n=e.left!=this.nil_node?e.left:e.right,n.parent=e.parent,e==this.root?this.root=n:(e==e.parent.left?e.parent.left=n:e.parent.right=n,e.parent.update_max()),this.recalc_max(n),e!=t&&(t.copy_data(e),t.update_max(),this.recalc_max(t)),e.color==ce&&this.delete_fixup(n)}delete_fixup(t){let e,n=t;while(n!=this.root&&null!=n.parent&&n.color==ce)n==n.parent.left?(e=n.parent.right,e.color==ae&&(e.color=ce,n.parent.color=ae,this.rotate_left(n.parent),e=n.parent.right),e.left.color==ce&&e.right.color==ce?(e.color=ae,n=n.parent):(e.right.color==ce&&(e.color=ae,e.left.color=ce,this.rotate_right(e),e=n.parent.right),e.color=n.parent.color,n.parent.color=ce,e.right.color=ce,this.rotate_left(n.parent),n=this.root)):(e=n.parent.left,e.color==ae&&(e.color=ce,n.parent.color=ae,this.rotate_right(n.parent),e=n.parent.left),e.left.color==ce&&e.right.color==ce?(e.color=ae,n=n.parent):(e.left.color==ce&&(e.color=ae,e.right.color=ce,this.rotate_left(e),e=n.parent.left),e.color=n.parent.color,n.parent.color=ce,e.left.color=ce,this.rotate_right(n.parent),n=this.root));n.color=ce}tree_search(t,e){if(null!=t&&t!=this.nil_node)return e.equal_to(t)?t:e.less_than(t)?this.tree_search(t.left,e):this.tree_search(t.right,e)}tree_search_interval(t,e,n){null!=t&&t!=this.nil_node&&(t.left==this.nil_node||t.not_intersect_left_subtree(e)||this.tree_search_interval(t.left,e,n),t.intersect(e)&&n.push(t),t.right==this.nil_node||t.not_intersect_right_subtree(e)||this.tree_search_interval(t.right,e,n))}tree_find_any_interval(t,e){let n=!1;return null!=t&&t!=this.nil_node&&(t.left==this.nil_node||t.not_intersect_left_subtree(e)||(n=this.tree_find_any_interval(t.left,e)),n||(n=t.intersect(e)),n||t.right==this.nil_node||t.not_intersect_right_subtree(e)||(n=this.tree_find_any_interval(t.right,e))),n}local_minimum(t){let e=t;while(null!=e.left&&e.left!=this.nil_node)e=e.left;return e}local_maximum(t){let e=t;while(null!=e.right&&e.right!=this.nil_node)e=e.right;return e}tree_successor(t){let e,n,r;if(t.right!=this.nil_node)e=this.local_minimum(t.right);else{n=t,r=t.parent;while(null!=r&&r.right==n)n=r,r=r.parent;e=r}return e}rotate_left(t){let e=t.right;t.right=e.left,e.left!=this.nil_node&&(e.left.parent=t),e.parent=t.parent,t==this.root?this.root=e:t==t.parent.left?t.parent.left=e:t.parent.right=e,e.left=t,t.parent=e,null!=t&&t!=this.nil_node&&t.update_max(),e=t.parent,null!=e&&e!=this.nil_node&&e.update_max()}rotate_right(t){let e=t.left;t.left=e.right,e.right!=this.nil_node&&(e.right.parent=t),e.parent=t.parent,t==this.root?this.root=e:t==t.parent.left?t.parent.left=e:t.parent.right=e,e.right=t,t.parent=e,null!=t&&t!=this.nil_node&&t.update_max(),e=t.parent,null!=e&&e!=this.nil_node&&e.update_max()}tree_walk(t,e){null!=t&&t!=this.nil_node&&(this.tree_walk(t.left,e),e(t),this.tree_walk(t.right,e))}testRedBlackProperty(){let t=!0;return this.tree_walk(this.root,(function(e){e.color==ae&&(e.left.color==ce&&e.right.color==ce||(t=!1))})),t}testBlackHeightProperty(t){let e=0,n=0,r=0;if(t.color==ce&&e++,n=t.left!=this.nil_node?this.testBlackHeightProperty(t.left):1,r=t.right!=this.nil_node?this.testBlackHeightProperty(t.right):1,n!=r)throw new Error("Red-black height property violated");return e+=n,e}}var fe=le,he=function(){function t(){ne(this,t),this.intervalPerLevel=[],this.id2level=new Map}return ie(t,[{key:"update",value:function(t,e){var n,r=this,i=ee(this.intervalPerLevel.entries());try{var o=function(){var i=l(n.value,2),o=i[0],s=i[1];if(e.every((function(t){return!r.intersectAny(s,t)})))return e.forEach((function(t){s.insert(t)})),r.id2level.set(t.id,o),{v:void 0}};for(i.s();!(n=i.n()).done;){var s=o();if("object"===oe(s))return s.v}}catch(c){i.e(c)}finally{i.f()}this.id2level.set(t.id,this.intervalPerLevel.length);var a=new fe;e.forEach((function(t){a.insert(t)})),this.intervalPerLevel.push(a)}},{key:"intersectAny",value:function(t,e){var n=t.search(e);return n.filter((function(t){return!(t[0]===e[1]||t[1]===e[0])})).length>0}},{key:"fetchLevel",value:function(t){return this.id2level.get(t.id)}},{key:"clear",value:function(){this.intervalPerLevel=[],this.id2level.clear()}}]),t}(),de=function(){function t(e,n,r){ne(this,t),this.entity=e,this.ranges=n,this.level=r}return ie(t,[{key:"center",get:function(){return this.ranges.center}}]),t}(),pe=function(){function t(e,n){if(ne(this,t),this.x1=e,this.x2=n,e>n)throw new RangeError("The argument must be x1 <= x2.")}return ie(t,[{key:"center",get:function(){return this.x1+(this.x2-this.x1)/2}},{key:"getInterval",value:function(){var t=arguments.length>0&&void 0!==arguments[0]&&arguments[0],e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return t?[Math.min(this.x1,this.x2-e),this.x2]:[this.x1,Math.max(this.x2,this.x1+e)]}}]),t}(),ve=function(){function t(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];ne(this,t),this.rtl=e,this._items=[]}return ie(t,[{key:"items",get:function(){return this._items}},{key:"add",value:function(t,e){var n=new pe(t,e);this.rtl?this._items.unshift(n):this._items.push(n)}},{key:"first",get:function(){return this.items[0]}},{key:"center",get:function(){return this.first.center}},{key:"getIntervals",value:function(t,e){var n=this;return this.items.map((function(r,i){return 0===i&&t?r.getInterval(n.rtl,e):r.getInterval()}))}}]),t}(),ye=function(){function t(e){var n=arguments.length>1&&void 0!==arguments[1]&&arguments[1];ne(this,t),this.textLine=e,this.rtl=n,this.levelManager=new he}return ie(t,[{key:"render",value:function(t,e,n){if(0===t.getNumberOfChars())return[];var r=[];this.levelManager.clear();var i,o=ee(e);try{for(o.s();!(i=o.n()).done;){var s=i.value,a=this.createRanges(t,s),c=s.startsAfter(this.textLine.startOffset),u=n.getWidth(s.label),l=a.getIntervals(c,u);this.levelManager.update(s,l);var f=this.levelManager.fetchLevel(s);r.push(new de(s,a,f))}}catch(h){o.e(h)}finally{o.f()}return r}},{key:"createRanges",value:function(t,e){var n=new ve(this.rtl),r=t.firstChild,i=Math.max(e.startOffset,this.textLine.startOffset)-this.textLine.startOffset,o=Math.min(e.endOffset,this.textLine.endOffset)-this.textLine.startOffset;if(r.textContent&&r.textContent.length<o)return n.add(0,0),n;var s=document.createRange();s.setStart(r,i),s.setEnd(r,o);var a,c=s.getClientRects(),u=ee(c);try{for(u.s();!(a=u.n()).done;){var l=a.value;n.add(l.left,l.right)}}catch(f){u.e(f)}finally{u.f()}return n}}]),t}(),me=(n("4e82"),function(){function t(e,n,r,i,o){ne(this,t),this.relations=e,this.relationLabels=n,this.textLine=r,this.left=i,this.right=o,this.levelManager=new he}return ie(t,[{key:"render",value:function(t,e){var n=[];this.levelManager.clear();var r=new Map;t.forEach((function(t){r.set(t.entity.id,t)})),this.relations.sort((function(t,e){return t.width-e.width}));var i,o=ee(this.relations);try{for(o.s();!(i=o.n()).done;){var s=i.value;if(s.isVisible(this.textLine.startOffset)){var a=this.left,c=this.right,u="",l=r.get(s.fromEntity.id),f=r.get(s.toEntity.id),h=this.relationLabels.getById(s.labelId),d=s.isOpenOnLeft(this.textLine.startOffset),p=s.isOpenOnRight(this.textLine.endOffset);if(d&&p?(a=this.left,c=this.right):d?e?l?a=l.center:f&&(a=f.center):l?c=l.center:f&&(c=f.center):p?e?l?c=l.center:f&&(c=f.center):l?a=l.center:f&&(a=f.center):f&&l&&(a=Math.min(f.center,l.center),c=Math.max(f.center,l.center)),f&&a===f.center?u="start":f&&c===f.center&&(u="end"),a>c){var v=[c,a];a=v[0],c=v[1]}if(e){var y=[p,d];d=y[0],p=y[1]}if(c-a<h.truncatedWidth){var m=a+(c-a)/2,g=h.truncatedWidth/2;this.levelManager.update(s,[[m-g,m+g]])}else this.levelManager.update(s,[[a,c]]);var b=this.levelManager.fetchLevel(s);n.push({x1:a,x2:c,level:b,label:h.truncatedText,labelWidth:h.truncatedWidth,relation:s,marker:u,openLeft:d,openRight:p})}}}catch(x){o.e(x)}finally{o.f()}return n}}]),t}()),ge=vt.a.extend({components:{BaseEntity:Vt,BaseText:Yt,BaseRelation:te},props:{annotatorUuid:{type:String,required:!0},entities:{type:[],default:function(){return[]},required:!0},relations:{type:[],default:function(){return[]}},textLine:{type:Object,required:!0},dark:{type:Boolean,default:!1},font:{type:Object,required:!0},text:{type:String,required:!0},entityLabels:{type:Object,required:!0},relationLabels:{type:Object},rtl:{type:Boolean,default:!1},baseX:{type:Number,default:0},left:{type:Number,default:0},right:{type:Number,default:0},selectedEntities:{type:Array},selectedRelation:{type:Object}},data:function(){return{element:null}},mounted:function(){this.setElement()},watch:{textLine:{handler:function(){this.setElement()},deep:!0},entities:{handler:function(){var t=this;this.$nextTick((function(){var e=document.getElementById(t.svgId),n=e.getBBox().height+30;e.setAttribute("style","height: ".concat(n,"px")),t.$emit("update:height",t.id,n)}))},deep:!0,immediate:!0}},computed:{translate:function(){return"translate(0, ".concat(this.font.lineHeight,")")},geometricEntities:function(){if(this.element){var t=new ye(this.textLine,this.rtl);return t.render(this.element,this.entities,this.entityLabels)}return[]},lineRelations:function(){var t=new me(this.relations,this.relationLabels,this.textLine,this.left,this.right);return t.render(this.geometricEntities,this.rtl)},maxRelationLevel:function(){return Math.max.apply(Math,wt(this.lineRelations.map((function(t){return t.level}))).concat([0]))},y:function(){var t=Math.max.apply(Math,wt(this.lineRelations.map((function(t){return t.level}))));return t<0?0:20+this.font.fontSize*(t+1.5)},translateEntity:function(){return"translate(0, ".concat(this.y,")")},direction:function(){return this.rtl?"rtl":"ltr"},id:function(){return"".concat(this.textLine.startOffset,":").concat(this.textLine.endOffset)},basetextId:function(){return"basetext-".concat(this.annotatorUuid,"-").concat(this.id)},svgId:function(){return"svg-".concat(this.annotatorUuid,"-").concat(this.id)}},methods:{noText:function(t){return t.startOffset<this.textLine.startOffset},setElement:function(){var t=this;this.$nextTick((function(){t.element=document.getElementById(t.basetextId)}))},color:function(t){return this.entityLabels.getColor(t.label)},labelText:function(t){return this.entityLabels.getText(t.label)},isSelectedRelation:function(t){return this.selectedRelation===t},isSelectedEntity:function(t){return this.selectedRelation?this.selectedRelation.consistOf(t):this.selectedEntities.filter((function(e){return e.id===t.id})).length>0}}}),be=ge,xe=(n("a053"),$t(be,yt,mt,!1,null,"040f6976",null)),we=xe.exports,_e=(n("a899"),n("e508")),Se=n("c097"),Oe=n.n(Se),ke=function(){function t(e){ne(this,t),this.text=e,this.graphemes=[],this.g2c=new Map,this.c2g=new Map,this.idx2len=new Map,this.setGraphemeMapping(),this.setCodePointMapping(),this.setWordBoundary()}return ie(t,[{key:"setCodePointMapping",value:function(){var t,e=ee(this.g2c);try{for(e.s();!(t=e.n()).done;){var n=l(t.value,2),r=n[0],i=n[1];this.c2g.set(i,r)}}catch(o){e.e(o)}finally{e.f()}}},{key:"setGraphemeMapping",value:function(){var t=new Oe.a;this.graphemes=t.splitGraphemes(this.text);for(var e=0,n=0;n<this.graphemeLength;n++)this.g2c.set(n,e),e+=this.graphemeAt(n).length;this.g2c.set(this.graphemeLength,e)}},{key:"setWordBoundary",value:function(){for(var t=0,e=this.text.split(/\s/),n=0;n<e.length;n++)""!==e[n]?(this.idx2len.set(t,e[n].length),t+=e[n].length+1):t++}},{key:"getWord",value:function(t){var e=this.idx2len.get(t);return e?this.text.substr(t,e):void 0}},{key:"toGraphemeOffset",value:function(t){return this.c2g.get(t)}},{key:"toCodePointOffset",value:function(t){return this.g2c.get(t)}},{key:"graphemeAt",value:function(t){return 0<=t&&t<this.graphemeLength?this.graphemes[t]:""}},{key:"charAt",value:function(t){return this.text.charAt(t)}},{key:"graphemeLength",get:function(){return this.graphemes.length}},{key:"codePointLength",get:function(){return this.text.length}},{key:"substr",value:function(t,e){return this.text.substr(t,e)}}]),t}();function Ee(t,e){return Ee=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t},Ee(t,e)}function Le(t,e){if("function"!==typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Ee(t,e)}n("4ae1"),n("3410");function $e(t){return $e=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)},$e(t)}function ze(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}var Re=n("7037"),Ie=n.n(Re);function Ae(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Te(t,e){return!e||"object"!==Ie()(e)&&"function"!==typeof e?Ae(t):e}function je(t){var e=ze();return function(){var n,r=$e(t);if(e){var i=$e(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return Te(this,n)}}var Me=function(){function t(e,n,r,i){var o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:Nt.maxLabelLength;ne(this,t),this.id=e,this.text=n,this.color=r,this.textWidth=i,this.maxLength=o}return ie(t,[{key:"width",get:function(){return this.textWidth}},{key:"truncatedText",get:function(){return this.text.length<=this.maxLength?this.text:"".concat(this.text.slice(0,this.maxLength),"...")}},{key:"truncatedWidth",get:function(){var t=this.textWidth/this.text.length;return t*Math.min(this.text.length,this.maxLength)}}]),t}(),Pe=function(t){Le(n,t);var e=je(n);function n(){return ne(this,n),e.apply(this,arguments)}return ie(n,[{key:"width",get:function(){return Nt.diameter+Nt.labelMargin+this.textWidth}}]),n}(Me),Ce=function(t){Le(n,t);var e=je(n);function n(){return ne(this,n),e.apply(this,arguments)}return n}(Me),Ne=function(){function t(e){ne(this,t),this.labels=e,this.id2Label={};var n,r=ee(e);try{for(r.s();!(n=r.n()).done;){var i=n.value;this.id2Label[i.id]=i}}catch(o){r.e(o)}finally{r.f()}}return ie(t,[{key:"getById",value:function(t){return this.id2Label[t]}},{key:"getColor",value:function(t){var e;return null===(e=this.getById(t))||void 0===e?void 0:e.color}},{key:"getText",value:function(t){var e;return null===(e=this.getById(t))||void 0===e?void 0:e.truncatedText}},{key:"getWidth",value:function(t){var e;return null===(e=this.getById(t))||void 0===e?void 0:e.truncatedWidth}},{key:"maxLabelWidth",get:function(){return Math.max.apply(Math,wt(this.labels.map((function(t){return t.truncatedWidth}))).concat([0]))}}],[{key:"valueOf",value:function(e,n,r,i){return new t(n.map((function(t,n){return new i(t.id,t.text,t.color||t.backgroundColor,r[n],e)})))}}]),t}(),De=function(){function t(e,n,r,i){if(ne(this,t),this.id=e,this.label=n,this.startOffset=r,this.endOffset=i,r>i)throw new RangeError("The startOffset(".concat(r,") must be smaller than endOffset(").concat(i,")."))}return ie(t,[{key:"isIn",value:function(t,e){return t<=this.startOffset&&this.startOffset<e||t<this.endOffset&&this.endOffset<=e||this.startOffset<t&&e<this.endOffset}},{key:"equalTo",value:function(t){return this.id===t.id}},{key:"startsAfter",value:function(t){return t<=this.startOffset}},{key:"center",get:function(){return this.startOffset+(this.endOffset-this.startOffset)/2}}]),t}(),We=function(){function t(e){ne(this,t),this.tree=new fe,this.id2entity=new Map;var n,r=ee(e);try{for(r.s();!(n=r.n()).done;){var i=n.value;this.tree.insert([i.startOffset,i.endOffset],i),this.id2entity.set(i.id,i)}}catch(o){r.e(o)}finally{r.f()}}return ie(t,[{key:"size",get:function(){return this.tree.size}},{key:"findById",value:function(t){return this.id2entity.get(t)}},{key:"filterByRange",value:function(t,e){return this.tree.search([t,e]).filter((function(n){return n.isIn(t,e)}))}},{key:"intersectAny",value:function(t,e){return this.filterByRange(t,e).length>0}}],[{key:"valueOf",value:function(e,n){return new t(e.map((function(t){return new De(t.id,t.label,n?n.toCodePointOffset(t.startOffset):t.startOffset,n?n.toCodePointOffset(t.endOffset):t.endOffset)})))}}]),t}(),Be=(n("6062"),n("a15b"),function(){function t(e,n,r,i,o){ne(this,t),this.fontSize=e,this.fontFamily=n,this.fontWeight=r,this.lineHeight=i,this.width=o}return ie(t,[{key:"widthOf",value:function(t){var e=this,n=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return n?Math.max.apply(Math,wt(Array.from(t).map((function(t){return e.widthOfChar(t)}))).concat([20])):Array.from(t).map((function(t){return e.widthOfChar(t)})).reduce((function(t,e){return t+e}),0)}},{key:"widthOfChar",value:function(t){return this.width.get(t)||0}}],[{key:"create",value:function(e,n){var r=new Set(e),i=new Map;r.delete("\n");var o=Array.from(r);o.sort(),n.textContent=o.join("");for(var s=0;s<n.getNumberOfChars();s++){var a=n.textContent.charAt(s);i.set(a,n.getExtentOfChar(s).width)}i.set("\n",0);var c=parseFloat(window.getComputedStyle(n).fontSize),u=window.getComputedStyle(n).fontFamily,l=window.getComputedStyle(n).fontWeight,f=n.getBoundingClientRect().height;return n.textContent="",new t(c,u,l,f,i)}}]),t}());function Ve(t,e){var n=0;e.textContent=t;for(var r=0;r<t.length;r++)n+=e.getExtentOfChar(r).width;return e.textContent="",n}var Ue=function(){function t(e,n){ne(this,t),this.maxLineWidth=e,this.maxLabelWidth=n,this.totalWidth=0}return ie(t,[{key:"width",get:function(){return this.totalWidth}},{key:"maxWidth",get:function(){return this.maxLineWidth-this.maxLabelWidth}},{key:"add",value:function(t){this.totalWidth+=t}},{key:"reset",value:function(){this.totalWidth=0}},{key:"isFull",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;return this.maxWidth<this.totalWidth+t}},{key:"canAdd",value:function(t){return this.totalWidth+t<=this.maxWidth}},{key:"isEmpty",value:function(){return 0===this.totalWidth}}]),t}(),Fe=function t(e,n){ne(this,t),this.startOffset=e,this.endOffset=n};function qe(t){return"\n"===t}function He(t){return"\r"===t}function Ge(t){return"\r\n"===t}var Ye=function(){function t(e,n){ne(this,t),this.widthManager=e,this.font=n}return ie(t,[{key:"split",value:function(t){this.widthManager.reset();for(var e=0,n=e,r=[],i=0;i<t.graphemeLength;i++){var o=t.graphemeAt(i);this.needsNewline(n,t,o)?(r.push(new Fe(e,n)),this.widthManager.reset(),Ge(t.substr(n,2))?e=n+2:qe(o)||He(o)?e=n+1:(e=n,this.widthManager.add(this.font.widthOf(o,o.length>1)))):this.widthManager.add(this.font.widthOf(o,o.length>1)),n+=o.length}return this.widthManager.isEmpty()||r.push(new Fe(e,t.codePointLength)),r}},{key:"needsNewline",value:function(t,e,n){var r=e.charAt(t);if(qe(r)||He(r))return!0;if(!this.widthManager.canAdd(this.font.widthOf(n,n.length>1)))return!0;var i=this.calculateWordLength(t,e),o=i<=this.widthManager.maxWidth;return!(!o||!this.widthManager.isFull(i))}},{key:"calculateWordLength",value:function(t,e){var n=e.getWord(t);if(n){for(var r=0,i=t;i<t+n.length;i++){var o=e.graphemeAt(i);r+=o?this.font.widthOf(o,o.length>1):0}return r}return 0}}]),t}(),Xe=function(){function t(e,n){ne(this,t),this.allowOverlapping=e,this.graphemeMode=n}return ie(t,[{key:"getOffsets",value:function(t,e){var n=this.getRange(),r=l(n,2),i=r[0],o=r[1];if(this.validate(i,o,t))return this.convert(i,o,e);throw RangeError("[".concat(i,", ").concat(o,"] is invalid."))}},{key:"getRange",value:function(){var t=window.getSelection(),e=t.anchorNode.parentNode,n=t.focusNode.parentNode,r=e.annotatorElement,i=n.annotatorElement,o=r.startOffset+t.anchorOffset,s=i.startOffset+t.focusOffset;return null===t||void 0===t||t.removeAllRanges(),o>s?[s,o]:[o,s]}},{key:"validate",value:function(t,e,n){return!(t>=e)&&(!!this.allowOverlapping||!n.intersectAny(t,e))}},{key:"convert",value:function(t,e,n){return this.graphemeMode?[n.toGraphemeOffset(t),n.toGraphemeOffset(e)]:[t,e]}}]),t}(),Ke=function(){function t(e,n,r,i){ne(this,t),this.id=e,this.labelId=n,this.fromEntity=r,this.toEntity=i}return ie(t,[{key:"isIn",value:function(t,e){return t<=this.startOffset&&this.startOffset<e||t<this.endOffset&&this.endOffset<=e||this.startOffset<t&&e<this.endOffset}},{key:"consistOf",value:function(t){return this.fromEntity.equalTo(t)||this.toEntity.equalTo(t)}},{key:"isOpenOnLeft",value:function(t){return this.startOffset<t}},{key:"isOpenOnRight",value:function(t){var e=Math.max(this.fromEntity.startOffset,this.toEntity.startOffset);return e>=t}},{key:"isVisible",value:function(t){var e=Math.max(this.fromEntity.startOffset,this.toEntity.startOffset);return t<=e}},{key:"width",get:function(){return Math.abs(this.fromEntity.center-this.toEntity.center)}},{key:"startOffset",get:function(){return Math.min(this.fromEntity.startOffset,this.toEntity.startOffset)}},{key:"endOffset",get:function(){return Math.max(this.fromEntity.endOffset,this.toEntity.endOffset)}}]),t}(),Qe=function(){function t(e,n){ne(this,t),this.tree=new fe;var r,i=ee(e);try{for(i.s();!(r=i.n()).done;){var o=r.value,s=n.findById(o.fromId),a=n.findById(o.toId),c=new Ke(o.id,o.labelId,s,a);this.tree.insert([c.startOffset,c.endOffset],c)}}catch(u){i.e(u)}finally{i.f()}}return ie(t,[{key:"filterByRange",value:function(t,e){return this.tree.search([t,e]).filter((function(n){return n.isIn(t,e)}))}}]),t}(),Je=vt.a.extend({components:{RecycleScroller:_e["a"],VLine:we},props:{maxLabelLength:{type:Number,default:12,required:!1},text:{type:String,default:"",required:!0},entities:{type:Array,default:function(){return[]},required:!0},entityLabels:{type:Array,default:function(){return[]},required:!0},relations:{type:Array,default:function(){return[]}},relationLabels:{type:Array,default:function(){return[]}},allowOverlapping:{type:Boolean,default:!1,required:!1},rtl:{type:Boolean,default:!1},graphemeMode:{type:Boolean,default:!0},dark:{type:Boolean,default:!1},selectedEntities:{type:Array,default:function(){return[]},required:!1}},data:function(){return{uuid:dt(),font:null,heights:{},maxWidth:-1,baseX:0,left:0,right:0,textElement:null,selectedRelation:null,selectedEntity:null}},mounted:function(){this.textElement=document.getElementById("text-".concat(this.uuid)),window.addEventListener("resize",this.setMaxWidth),this.setMaxWidth()},watch:{text:{handler:function(){var t=this;this.heights={},this.$nextTick((function(){t.font=Be.create(t.text,t.textElement)}))},immediate:!0},rtl:function(){this.setMaxWidth()}},computed:{_text:function(){return new ke(this.text)},entityLabelList:function(){var t=this;if(this.textElement){var e=this.entityLabels.map((function(e){return Ve(e.text,t.textElement)}));return Ne.valueOf(this.maxLabelLength,this.entityLabels,e,Pe)}return null},relationLabelList:function(){var t=this;if(this.textElement){var e=this.relationLabels.map((function(e){return Ve(e.text,t.textElement)}));return Ne.valueOf(this.maxLabelLength,this.relationLabels,e,Ce)}return null},items:function(){if(!this.textLines)return[];for(var t=[],e=0;e<this.textLines.length;e++){var n="".concat(this.textLines[e].startOffset,":").concat(this.textLines[e].endOffset);t.push({id:n,textLine:this.textLines[e],size:this.heights[n]||64})}return t},entityList:function(){return this.resetSelection(),this.graphemeMode?We.valueOf(this.entities,this._text):We.valueOf(this.entities)},relationList:function(){return this.resetSelection(),new Qe(this.relations,this.entityList)},textLines:function(){if(this.font&&this.entityLabelList&&-1!==this.maxWidth){var t=this.entityLabelList.maxLabelWidth,e=new Ue(this.maxWidth,t),n=new Ye(e,this.font);return n.split(this._text)}return[]},highlightedEntities:function(){return this.selectedEntity?this.selectedEntities.concat(this.selectedEntity):this.selectedEntities}},beforeDestroy:function(){window.removeEventListener("resize",this.setMaxWidth)},methods:{clicked:function(t,e){this.$emit("click:entity",t,e.id)},onRelationClicked:function(t,e){this.$emit("click:relation",t,e)},setMaxWidth:function(){var t=this;this.$nextTick(it((function(){var e=document.getElementById("container-".concat(t.uuid));t.maxWidth=e.clientWidth;var n=e.getBoundingClientRect();t.left=n.left,t.right=n.right-n.left,t.baseX=t.rtl?t.right:0}),500))},updateHeight:function(t,e){this.$set(this.heights,t,e)},resetSelection:function(){this.selectedRelation=null,this.selectedEntity=null},open:function(t){try{var e=new Xe(this.allowOverlapping,this.graphemeMode),n=e.getOffsets(this.entityList,this._text),r=l(n,2),i=r[0],o=r[1];this.$emit("add:entity",t,i,o)}catch(s){return}}}}),Ze=Je,tn=(n("3fbb"),$t(Ze,r,i,!1,null,"24577b23",null));e["a"]=tn.exports},ed83:function(t,e,n){var r,i,o;(function(n,s){i=[],r=s,o="function"===typeof r?r.apply(e,i):r,void 0===o||(t.exports=o)})(0,(function(){var t=/(auto|scroll)/,e=function(t,n){return null===t.parentNode?n:e(t.parentNode,n.concat([t]))},n=function(t,e){return getComputedStyle(t,null).getPropertyValue(e)},r=function(t){return n(t,"overflow")+n(t,"overflow-y")+n(t,"overflow-x")},i=function(e){return t.test(r(e))},o=function(t){if(t instanceof HTMLElement||t instanceof SVGElement){for(var n=e(t.parentNode,[]),r=0;r<n.length;r+=1)if(i(n[r]))return n[r];return document.scrollingElement||document.documentElement}};return o}))},f183:function(t,e,n){var r=n("d012"),i=n("861d"),o=n("5135"),s=n("9bf2").f,a=n("90e3"),c=n("bb2f"),u=a("meta"),l=0,f=Object.isExtensible||function(){return!0},h=function(t){s(t,u,{value:{objectID:"O"+ ++l,weakData:{}}})},d=function(t,e){if(!i(t))return"symbol"==typeof t?t:("string"==typeof t?"S":"P")+t;if(!o(t,u)){if(!f(t))return"F";if(!e)return"E";h(t)}return t[u].objectID},p=function(t,e){if(!o(t,u)){if(!f(t))return!0;if(!e)return!1;h(t)}return t[u].weakData},v=function(t){return c&&y.REQUIRED&&f(t)&&!o(t,u)&&h(t),t},y=t.exports={REQUIRED:!1,fastKey:d,getWeakData:p,onFreeze:v};r[u]=!0},f5df:function(t,e,n){var r=n("00ee"),i=n("c6b6"),o=n("b622"),s=o("toStringTag"),a="Arguments"==i(function(){return arguments}()),c=function(t,e){try{return t[e]}catch(n){}};t.exports=r?i:function(t){var e,n,r;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(n=c(e=Object(t),s))?n:a?i(e):"Object"==(r=i(e))&&"function"==typeof e.callee?"Arguments":r}},f772:function(t,e,n){var r=n("5692"),i=n("90e3"),o=r("keys");t.exports=function(t){return o[t]||(o[t]=i(t))}},fb15:function(t,e,n){"use strict";if(n.r(e),n.d(e,"install",(function(){return s["b"]})),"undefined"!==typeof window){var r=window.document.currentScript,i=n("8875");r=i(),"currentScript"in document||Object.defineProperty(document,"currentScript",{get:i});var o=r&&r.src.match(/(.+\/)[^/]+\.js(\?.*)?$/);o&&(n.p=o[1])}var s=n("be34");e["default"]=s["a"]},fb6a:function(t,e,n){"use strict";var r=n("23e7"),i=n("861d"),o=n("e8b5"),s=n("23cb"),a=n("50c4"),c=n("fc6a"),u=n("8418"),l=n("b622"),f=n("1dde"),h=f("slice"),d=l("species"),p=[].slice,v=Math.max;r({target:"Array",proto:!0,forced:!h},{slice:function(t,e){var n,r,l,f=c(this),h=a(f.length),y=s(t,h),m=s(void 0===e?h:e,h);if(o(f)&&(n=f.constructor,"function"!=typeof n||n!==Array&&!o(n.prototype)?i(n)&&(n=n[d],null===n&&(n=void 0)):n=void 0,n===Array||void 0===n))return p.call(f,y,m);for(r=new(void 0===n?Array:n)(v(m-y,0)),l=0;y<m;y++,l++)y in f&&u(r,l,f[y]);return r.length=l,r}})},fc6a:function(t,e,n){var r=n("44ad"),i=n("1d80");t.exports=function(t){return r(i(t))}},fdbc:function(t,e){t.exports={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}},fdbf:function(t,e,n){var r=n("4930");t.exports=r&&!Symbol.sham&&"symbol"==typeof Symbol.iterator}})}));
//# sourceMappingURL=v-annotator.umd.min.js.map