!function(t){var e={};function n(r){if(e[r])return e[r].exports;var o=e[r]={i:r,l:!1,exports:{}};return t[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}n.m=t,n.c=e,n.d=function(t,e,r){n.o(t,e)||Object.defineProperty(t,e,{configurable:!1,enumerable:!0,get: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=232)}([function(t,e){var n=t.exports={version:"2.5.3"};"number"==typeof __e&&(__e=n)},function(t,e,n){var r=n(47)("wks"),o=n(34),i=n(2).Symbol,c="function"==typeof i;(t.exports=function(t){return r[t]||(r[t]=c&&i[t]||(c?i:o)("Symbol."+t))}).store=r},function(t,e){var n=t.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=n)},function(t,e){t.exports=function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}},function(t,e,n){var r=n(2),o=n(0),i=n(17),c=n(15),a="prototype",u=function(t,e,n){var s,f,l,p=t&u.F,h=t&u.G,v=t&u.S,d=t&u.P,y=t&u.B,m=t&u.W,g=h?o:o[e]||(o[e]={}),b=g[a],x=h?r:v?r[e]:(r[e]||{})[a];h&&(n=e);for(s in n)(f=!p&&x&&void 0!==x[s])&&s in g||(l=f?x[s]:n[s],g[s]=h&&"function"!=typeof x[s]?n[s]:y&&f?i(l,r):m&&x[s]==l?function(t){var e=function(e,n,r){if(this instanceof t){switch(arguments.length){case 0:return new t;case 1:return new t(e);case 2:return new t(e,n)}return new t(e,n,r)}return t.apply(this,arguments)};return e[a]=t[a],e}(l):d&&"function"==typeof l?i(Function.call,l):l,d&&((g.virtual||(g.virtual={}))[s]=l,t&u.R&&b&&!b[s]&&c(b,s,l)))};u.F=1,u.G=2,u.S=4,u.P=8,u.B=16,u.W=32,u.U=64,u.R=128,t.exports=u},function(t,e,n){var r=n(14);function o(t,e){for(var n=0;n=e.length?{value:void 0,done:!0}:(t=r(e,n),this._i+=t.length,{value:t,done:!1})})},,function(t,e){t.exports=!0},function(t,e){var n=0,r=Math.random();t.exports=function(t){return"Symbol(".concat(void 0===t?"":t,")_",(++n+r).toString(36))}},function(t,e,n){var r=n(69),o=n(48);t.exports=Object.keys||function(t){return r(t,o)}},function(t,e,n){var r=n(40);t.exports=function(t){return Object(r(t))}},function(t,e,n){var r=n(39),o=Math.min;t.exports=function(t){return t>0?o(r(t),9007199254740991):0}},function(t,e,n){n(96);for(var r=n(2),o=n(15),i=n(23),c=n(1)("toStringTag"),a="CSSRuleList,CSSStyleDeclaration,CSSValueList,ClientRectList,DOMRectList,DOMStringList,DOMTokenList,DataTransferItemList,FileList,HTMLAllCollection,HTMLCollection,HTMLFormElement,HTMLSelectElement,MediaList,MimeTypeArray,NamedNodeMap,NodeList,PaintRequestList,Plugin,PluginArray,SVGLengthList,SVGNumberList,SVGPathSegList,SVGPointList,SVGStringList,SVGTransformList,SourceBufferList,StyleSheetList,TextTrackCueList,TextTrackList,TouchList".split(","),u=0;u0?r:n)(t)}},function(t,e){t.exports=function(t){if(void 0==t)throw TypeError("Can't call method on "+t);return t}},function(t,e,n){var r=n(9),o=n(2).document,i=r(o)&&r(o.createElement);t.exports=function(t){return i?o.createElement(t):{}}},function(t,e,n){var r=n(47)("keys"),o=n(34);t.exports=function(t){return r[t]||(r[t]=o(t))}},function(t,e,n){"use strict";var r=n(27);t.exports.f=function(t){return new function(t){var e,n;this.promise=new t(function(t,r){if(void 0!==e||void 0!==n)throw TypeError("Bad Promise constructor");e=t,n=r}),this.resolve=r(e),this.reject=r(n)}(t)}},function(t,e){e.f={}.propertyIsEnumerable},function(t,e,n){var r=n(53);t.exports=function(t){if(Array.isArray(t)){for(var e=0,n=new Array(t.length);edocument.F=Object<\/script>"),t.close(),s=t.F;r--;)delete s[u][i[r]];return s()};t.exports=Object.create||function(t,e){var n;return null!==t?(a[u]=r(t),n=new a,a[u]=null,n[c]=t):n=s(),void 0===e?n:o(n,e)}},function(t,e,n){var r=n(2),o="__core-js_shared__",i=r[o]||(r[o]={});t.exports=function(t){return i[t]||(i[t]={})}},function(t,e){t.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},function(t,e,n){var r=n(26),o=n(1)("toStringTag"),i="Arguments"==r(function(){return arguments}());t.exports=function(t){var e,n,c;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(n=function(t,e){try{return t[e]}catch(t){}}(e=Object(t),o))?n:i?r(e):"Object"==(c=r(e))&&"function"==typeof e.callee?"Arguments":c}},function(t,e,n){var r=n(9);t.exports=function(t,e){if(!r(t))return t;var n,o;if(e&&"function"==typeof(n=t.toString)&&!r(o=n.call(t)))return o;if("function"==typeof(n=t.valueOf)&&!r(o=n.call(t)))return o;if(!e&&"function"==typeof(n=t.toString)&&!r(o=n.call(t)))return o;throw TypeError("Can't convert object to primitive value")}},function(t,e,n){var r=n(17),o=n(70),i=n(71),c=n(8),a=n(37),u=n(56),s={},f={};(e=t.exports=function(t,e,n,l,p){var h,v,d,y,m=p?function(){return t}:u(t),g=r(n,l,e?2:1),b=0;if("function"!=typeof m)throw TypeError(t+" is not iterable!");if(i(m)){for(h=a(t.length);h>b;b++)if((y=e?g(c(v=t[b])[0],v[1]):g(t[b]))===s||y===f)return y}else for(d=m.call(t);!(v=d.next()).done;)if((y=o(d,g,v.value,e))===s||y===f)return y}).BREAK=s,e.RETURN=f},function(t,e,n){t.exports=n(143)},function(t,e,n){t.exports=n(89)},function(t,e,n){"use strict";var r=n(33),o=n(4),i=n(68),c=n(15),a=n(19),u=n(23),s=n(91),f=n(30),l=n(78),p=n(1)("iterator"),h=!([].keys&&"next"in[].keys()),v="values",d=function(){return this};t.exports=function(t,e,n,y,m,g,b){s(n,e,y);var x,_,w,E=function(t){if(!h&&t in j)return j[t];switch(t){case"keys":case v:return function(){return new n(this,t)}}return function(){return new n(this,t)}},O=e+" Iterator",S=m==v,L=!1,j=t.prototype,C=j[p]||j["@@iterator"]||m&&j[m],k=!h&&C||E(m),P=m?S?E("entries"):k:void 0,I="Array"==e&&j.entries||C;if(I&&(w=l(I.call(new t)))!==Object.prototype&&w.next&&(f(w,O,!0),r||a(w,p)||c(w,p,d)),S&&C&&C.name!==v&&(L=!0,k=function(){return C.call(this)}),r&&!b||!h&&!L&&j[p]||c(j,p,k),u[e]=k,u[O]=d,m)if(x={values:S?k:E(v),keys:g?k:E("keys"),entries:P},b)for(_ in x)_ in j||i(j,_,x[_]);else o(o.P+o.F*(h||L),e,x);return x}},function(t,e){},function(t,e,n){var r=n(49),o=n(1)("iterator"),i=n(23);t.exports=n(0).getIteratorMethod=function(t){if(void 0!=t)return t[o]||t["@@iterator"]||i[r(t)]}},function(t,e,n){e.f=n(1)},function(t,e,n){var r=n(2),o=n(0),i=n(33),c=n(57),a=n(7).f;t.exports=function(t){var e=o.Symbol||(o.Symbol=i?{}:r.Symbol||{});"_"==t.charAt(0)||t in e||a(e,t,{value:c.f(t)})}},function(t,e,n){var r=n(26);t.exports=Object("z").propertyIsEnumerable(0)?Object:function(t){return"String"==r(t)?t.split(""):Object(t)}},function(t,e,n){var r=n(2).document;t.exports=r&&r.documentElement},function(t,e,n){var r=n(8),o=n(27),i=n(1)("species");t.exports=function(t,e){var n,c=r(t).constructor;return void 0===c||void 0==(n=r(c)[i])?e:o(n)}},function(t,e,n){var r,o,i,c=n(17),a=n(99),u=n(60),s=n(41),f=n(2),l=f.process,p=f.setImmediate,h=f.clearImmediate,v=f.MessageChannel,d=f.Dispatch,y=0,m={},g="onreadystatechange",b=function(){var t=+this;if(m.hasOwnProperty(t)){var e=m[t];delete m[t],e()}},x=function(t){b.call(t.data)};p&&h||(p=function(t){for(var e=[],n=1;arguments.length>n;)e.push(arguments[n++]);return m[++y]=function(){a("function"==typeof t?t:Function(t),e)},r(y),y},h=function(t){delete m[t]},"process"==n(26)(l)?r=function(t){l.nextTick(c(b,t,1))}:d&&d.now?r=function(t){d.now(c(b,t,1))}:v?(i=(o=new v).port2,o.port1.onmessage=x,r=c(i.postMessage,i,1)):f.addEventListener&&"function"==typeof postMessage&&!f.importScripts?(r=function(t){f.postMessage(t+"","*")},f.addEventListener("message",x,!1)):r=g in s("script")?function(t){u.appendChild(s("script"))[g]=function(){u.removeChild(this),b.call(t)}}:function(t){setTimeout(c(b,t,1),0)}),t.exports={set:p,clear:h}},function(t,e){t.exports=function(t){try{return{e:!1,v:t()}}catch(t){return{e:!0,v:t}}}},function(t,e,n){var r=n(8),o=n(9),i=n(43);t.exports=function(t,e){if(r(t),o(e)&&e.constructor===t)return e;var n=i.f(t);return(0,n.resolve)(e),n.promise}},function(t,e){e.f=Object.getOwnPropertySymbols},,function(t,e,n){t.exports=!n(10)&&!n(25)(function(){return 7!=Object.defineProperty(n(41)("div"),"a",{get:function(){return 7}}).a})},function(t,e,n){t.exports=n(15)},function(t,e,n){var r=n(19),o=n(20),i=n(92)(!1),c=n(42)("IE_PROTO");t.exports=function(t,e){var n,a=o(t),u=0,s=[];for(n in a)n!=c&&r(a,n)&&s.push(n);for(;e.length>u;)r(a,n=e[u++])&&(~i(s,n)||s.push(n));return s}},function(t,e,n){var r=n(8);t.exports=function(t,e,n,o){try{return o?e(r(n)[0],n[1]):e(n)}catch(e){var i=t.return;throw void 0!==i&&r(i.call(t)),e}}},function(t,e,n){var r=n(23),o=n(1)("iterator"),i=Array.prototype;t.exports=function(t){return void 0!==t&&(r.Array===t||i[o]===t)}},function(t,e,n){var r=n(1)("iterator"),o=!1;try{var i=[7][r]();i.return=function(){o=!0},Array.from(i,function(){throw 2})}catch(t){}t.exports=function(t,e){if(!e&&!o)return!1;var n=!1;try{var i=[7],c=i[r]();c.next=function(){return{done:n=!0}},i[r]=function(){return c},t(i)}catch(t){}return n}},function(t,e){t.exports=function(t,e,n,r){if(!(t instanceof e)||void 0!==r&&r in t)throw TypeError(n+": incorrect invocation!");return t}},function(t,e,n){var r=n(15);t.exports=function(t,e,n){for(var o in e)n&&t[o]?t[o]=e[o]:r(t,o,e[o]);return t}},function(t,e,n){var r=n(34)("meta"),o=n(9),i=n(19),c=n(7).f,a=0,u=Object.isExtensible||function(){return!0},s=!n(25)(function(){return u(Object.preventExtensions({}))}),f=function(t){c(t,r,{value:{i:"O"+ ++a,w:{}}})},l=t.exports={KEY:r,NEED:!1,fastKey:function(t,e){if(!o(t))return"symbol"==typeof t?t:("string"==typeof t?"S":"P")+t;if(!i(t,r)){if(!u(t))return"F";if(!e)return"E";f(t)}return t[r].i},getWeak:function(t,e){if(!i(t,r)){if(!u(t))return!0;if(!e)return!1;f(t)}return t[r].w},onFreeze:function(t){return s&&l.NEED&&u(t)&&!i(t,r)&&f(t),t}}},,function(t,e,n){var r=n(224),o=n(80);t.exports=function(t,e){if(Array.isArray(t))return t;if(r(Object(t)))return function(t,e){var n=[],r=!0,i=!1,c=void 0;try{for(var a,u=o(t);!(r=(a=u.next()).done)&&(n.push(a.value),!e||n.length!==e);r=!0);}catch(t){i=!0,c=t}finally{try{r||null==u.return||u.return()}finally{if(i)throw c}}return n}(t,e);throw new TypeError("Invalid attempt to destructure non-iterable instance")}},function(t,e,n){var r=n(19),o=n(36),i=n(42)("IE_PROTO"),c=Object.prototype;t.exports=Object.getPrototypeOf||function(t){return t=o(t),r(t,i)?t[i]:"function"==typeof t.constructor&&t instanceof t.constructor?t.constructor.prototype:t instanceof Object?c:null}},function(t,e,n){var r=n(44),o=n(28),i=n(20),c=n(50),a=n(19),u=n(67),s=Object.getOwnPropertyDescriptor;e.f=n(10)?s:function(t,e){if(t=i(t),e=c(e,!0),u)try{return s(t,e)}catch(t){}if(a(t,e))return o(!r.f.call(t,e),t[e])}},function(t,e,n){t.exports=n(227)},function(t,e,n){t.exports=n(126)},function(t,e,n){var r=n(7),o=n(8),i=n(35);t.exports=n(10)?Object.defineProperties:function(t,e){o(t);for(var n,c=i(e),a=c.length,u=0;a>u;)r.f(t,n=c[u++],e[n]);return t}},function(t,e){t.exports=function(t,e){return{value:e,done:!!t}}},function(t,e,n){"use strict";var r=n(2),o=n(0),i=n(7),c=n(10),a=n(1)("species");t.exports=function(t){var e="function"==typeof o[t]?o[t]:r[t];c&&e&&!e[a]&&i.f(e,a,{configurable:!0,get:function(){return this}})}},function(t,e,n){var r=n(69),o=n(48).concat("length","prototype");e.f=Object.getOwnPropertyNames||function(t){return r(t,o)}},,function(t,e,n){"use strict";var r=n(2),o=n(19),i=n(10),c=n(4),a=n(68),u=n(75).KEY,s=n(25),f=n(47),l=n(30),p=n(34),h=n(1),v=n(57),d=n(58),y=n(117),m=n(105),g=n(8),b=n(9),x=n(20),_=n(50),w=n(28),E=n(46),O=n(118),S=n(79),L=n(7),j=n(35),C=S.f,k=L.f,P=O.f,I=r.Symbol,T=r.JSON,A=T&&T.stringify,N="prototype",M=h("_hidden"),F=h("toPrimitive"),D={}.propertyIsEnumerable,B=f("symbol-registry"),R=f("symbols"),G=f("op-symbols"),H=Object[N],U="function"==typeof I,V=r.QObject,q=!V||!V[N]||!V[N].findChild,W=i&&s(function(){return 7!=E(k({},"a",{get:function(){return k(this,"a",{value:7}).a}})).a})?function(t,e,n){var r=C(H,e);r&&delete H[e],k(t,e,n),r&&t!==H&&k(H,e,r)}:k,J=function(t){var e=R[t]=E(I[N]);return e._k=t,e},K=U&&"symbol"==typeof I.iterator?function(t){return"symbol"==typeof t}:function(t){return t instanceof I},z=function(t,e,n){return t===H&&z(G,e,n),g(t),e=_(e,!0),g(n),o(R,e)?(n.enumerable?(o(t,M)&&t[M][e]&&(t[M][e]=!1),n=E(n,{enumerable:w(0,!1)})):(o(t,M)||k(t,M,w(1,{})),t[M][e]=!0),W(t,e,n)):k(t,e,n)},Y=function(t,e){g(t);for(var n,r=y(e=x(e)),o=0,i=r.length;i>o;)z(t,n=r[o++],e[n]);return t},Q=function(t){var e=D.call(this,t=_(t,!0));return!(this===H&&o(R,t)&&!o(G,t))&&(!(e||!o(this,t)||!o(R,t)||o(this,M)&&this[M][t])||e)},X=function(t,e){if(t=x(t),e=_(e,!0),t!==H||!o(R,e)||o(G,e)){var n=C(t,e);return!n||!o(R,e)||o(t,M)&&t[M][e]||(n.enumerable=!0),n}},Z=function(t){for(var e,n=P(x(t)),r=[],i=0;n.length>i;)o(R,e=n[i++])||e==M||e==u||r.push(e);return r},$=function(t){for(var e,n=t===H,r=P(n?G:x(t)),i=[],c=0;r.length>c;)!o(R,e=r[c++])||n&&!o(H,e)||i.push(R[e]);return i};U||(a((I=function(){if(this instanceof I)throw TypeError("Symbol is not a constructor!");var t=p(arguments.length>0?arguments[0]:void 0),e=function(n){this===H&&e.call(G,n),o(this,M)&&o(this[M],t)&&(this[M][t]=!1),W(this,t,w(1,n))};return i&&q&&W(H,t,{configurable:!0,set:e}),J(t)})[N],"toString",function(){return this._k}),S.f=X,L.f=z,n(85).f=O.f=Z,n(44).f=Q,n(65).f=$,i&&!n(33)&&a(H,"propertyIsEnumerable",Q,!0),v.f=function(t){return J(h(t))}),c(c.G+c.W+c.F*!U,{Symbol:I});for(var tt="hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables".split(","),et=0;tt.length>et;)h(tt[et++]);for(var nt=j(h.store),rt=0;nt.length>rt;)d(nt[rt++]);c(c.S+c.F*!U,"Symbol",{for:function(t){return o(B,t+="")?B[t]:B[t]=I(t)},keyFor:function(t){if(!K(t))throw TypeError(t+" is not a symbol!");for(var e in B)if(B[e]===t)return e},useSetter:function(){q=!0},useSimple:function(){q=!1}}),c(c.S+c.F*!U,"Object",{create:function(t,e){return void 0===e?E(t):Y(E(t),e)},defineProperty:z,defineProperties:Y,getOwnPropertyDescriptor:X,getOwnPropertyNames:Z,getOwnPropertySymbols:$}),T&&c(c.S+c.F*(!U||s(function(){var t=I();return"[null]"!=A([t])||"{}"!=A({a:t})||"{}"!=A(Object(t))})),"JSON",{stringify:function(t){for(var e,n,r=[t],o=1;arguments.length>o;)r.push(arguments[o++]);if(n=e=r[1],(b(e)||void 0!==t)&&!K(t))return m(e)||(e=function(t,e){if("function"==typeof n&&(e=n.call(this,t,e)),!K(e))return e}),r[1]=e,A.apply(T,r)}}),I[N][F]||n(15)(I[N],F,I[N].valueOf),l(I,"Symbol"),l(Math,"Math",!0),l(r.JSON,"JSON",!0)},,function(t,e,n){n(31),n(110),t.exports=n(0).Array.from},function(t,e,n){var r=n(39),o=n(40);t.exports=function(t){return function(e,n){var i,c,a=String(o(e)),u=r(n),s=a.length;return u<0||u>=s?t?"":void 0:(i=a.charCodeAt(u))<55296||i>56319||u+1===s||(c=a.charCodeAt(u+1))<56320||c>57343?t?a.charAt(u):i:t?a.slice(u,u+2):c-56320+(i-55296<<10)+65536}}},function(t,e,n){"use strict";var r=n(46),o=n(28),i=n(30),c={};n(15)(c,n(1)("iterator"),function(){return this}),t.exports=function(t,e,n){t.prototype=r(c,{next:o(1,n)}),i(t,e+" Iterator")}},function(t,e,n){var r=n(20),o=n(37),i=n(93);t.exports=function(t){return function(e,n,c){var a,u=r(e),s=o(u.length),f=i(c,s);if(t&&n!=n){for(;s>f;)if((a=u[f++])!=a)return!0}else for(;s>f;f++)if((t||f in u)&&u[f]===n)return t||f||0;return!t&&-1}}},function(t,e,n){var r=n(39),o=Math.max,i=Math.min;t.exports=function(t,e){return(t=r(t))<0?o(t+e,0):i(t,e)}},function(t,e,n){n(112);var r=n(0).Object;t.exports=function(t,e,n){return r.defineProperty(t,e,n)}},function(t,e,n){n(55),n(31),n(38),n(98),n(101),n(102),t.exports=n(0).Promise},function(t,e,n){"use strict";var r=n(97),o=n(83),i=n(23),c=n(20);t.exports=n(54)(Array,"Array",function(t,e){this._t=c(t),this._i=0,this._k=e},function(){var t=this._t,e=this._k,n=this._i++;return!t||n>=t.length?(this._t=void 0,o(1)):o(0,"keys"==e?n:"values"==e?t[n]:[n,t[n]])},"values"),i.Arguments=i.Array,r("keys"),r("values"),r("entries")},function(t,e){t.exports=function(){}},function(t,e,n){"use strict";var r,o,i,c,a=n(33),u=n(2),s=n(17),f=n(49),l=n(4),p=n(9),h=n(27),v=n(73),d=n(51),y=n(61),m=n(62).set,g=n(100)(),b=n(43),x=n(63),_=n(64),w="Promise",E=u.TypeError,O=u.process,S=u[w],L="process"==f(O),j=function(){},C=o=b.f,k=!!function(){try{var t=S.resolve(1),e=(t.constructor={})[n(1)("species")]=function(t){t(j,j)};return(L||"function"==typeof PromiseRejectionEvent)&&t.then(j)instanceof e}catch(t){}}(),P=function(t){var e;return!(!p(t)||"function"!=typeof(e=t.then))&&e},I=function(t,e){if(!t._n){t._n=!0;var n=t._c;g(function(){for(var r=t._v,o=1==t._s,i=0,c=function(e){var n,i,c=o?e.ok:e.fail,a=e.resolve,u=e.reject,s=e.domain;try{c?(o||(2==t._h&&N(t),t._h=1),!0===c?n=r:(s&&s.enter(),n=c(r),s&&s.exit()),n===e.promise?u(E("Promise-chain cycle")):(i=P(n))?i.call(n,a,u):a(n)):u(r)}catch(t){u(t)}};n.length>i;)c(n[i++]);t._c=[],t._n=!1,e&&!t._h&&T(t)})}},T=function(t){m.call(u,function(){var e,n,r,o=t._v,i=A(t);if(i&&(e=x(function(){L?O.emit("unhandledRejection",o,t):(n=u.onunhandledrejection)?n({promise:t,reason:o}):(r=u.console)&&r.error&&r.error("Unhandled promise rejection",o)}),t._h=L||A(t)?2:1),t._a=void 0,i&&e.e)throw e.v})},A=function(t){return 1!==t._h&&0===(t._a||t._c).length},N=function(t){m.call(u,function(){var e;L?O.emit("rejectionHandled",t):(e=u.onrejectionhandled)&&e({promise:t,reason:t._v})})},M=function(t){var e=this;e._d||(e._d=!0,(e=e._w||e)._v=t,e._s=2,e._a||(e._a=e._c.slice()),I(e,!0))},F=function(t){var e,n=this;if(!n._d){n._d=!0,n=n._w||n;try{if(n===t)throw E("Promise can't be resolved itself");(e=P(t))?g(function(){var r={_w:n,_d:!1};try{e.call(t,s(F,r,1),s(M,r,1))}catch(t){M.call(r,t)}}):(n._v=t,n._s=1,I(n,!1))}catch(t){M.call({_w:n,_d:!1},t)}}};k||(S=function(t){v(this,S,w,"_h"),h(t),r.call(this);try{t(s(F,this,1),s(M,this,1))}catch(t){M.call(this,t)}},(r=function(t){this._c=[],this._a=void 0,this._s=0,this._d=!1,this._v=void 0,this._h=0,this._n=!1}).prototype=n(74)(S.prototype,{then:function(t,e){var n=C(y(this,S));return n.ok="function"!=typeof t||t,n.fail="function"==typeof e&&e,n.domain=L?O.domain:void 0,this._c.push(n),this._a&&this._a.push(n),this._s&&I(this,!1),n.promise},catch:function(t){return this.then(void 0,t)}}),i=function(){var t=new r;this.promise=t,this.resolve=s(F,t,1),this.reject=s(M,t,1)},b.f=C=function(t){return t===S||t===c?new i(t):o(t)}),l(l.G+l.W+l.F*!k,{Promise:S}),n(30)(S,w),n(84)(w),c=n(0)[w],l(l.S+l.F*!k,w,{reject:function(t){var e=C(this);return(0,e.reject)(t),e.promise}}),l(l.S+l.F*(a||!k),w,{resolve:function(t){return _(a&&this===c?S:this,t)}}),l(l.S+l.F*!(k&&n(72)(function(t){S.all(t).catch(j)})),w,{all:function(t){var e=this,n=C(e),r=n.resolve,o=n.reject,i=x(function(){var n=[],i=0,c=1;d(t,!1,function(t){var a=i++,u=!1;n.push(void 0),c++,e.resolve(t).then(function(t){u||(u=!0,n[a]=t,--c||r(n))},o)}),--c||r(n)});return i.e&&o(i.v),n.promise},race:function(t){var e=this,n=C(e),r=n.reject,o=x(function(){d(t,!1,function(t){e.resolve(t).then(n.resolve,r)})});return o.e&&r(o.v),n.promise}})},function(t,e){t.exports=function(t,e,n){var r=void 0===n;switch(e.length){case 0:return r?t():t.call(n);case 1:return r?t(e[0]):t.call(n,e[0]);case 2:return r?t(e[0],e[1]):t.call(n,e[0],e[1]);case 3:return r?t(e[0],e[1],e[2]):t.call(n,e[0],e[1],e[2]);case 4:return r?t(e[0],e[1],e[2],e[3]):t.call(n,e[0],e[1],e[2],e[3])}return t.apply(n,e)}},function(t,e,n){var r=n(2),o=n(62).set,i=r.MutationObserver||r.WebKitMutationObserver,c=r.process,a=r.Promise,u="process"==n(26)(c);t.exports=function(){var t,e,n,s=function(){var r,o;for(u&&(r=c.domain)&&r.exit();t;){o=t.fn,t=t.next;try{o()}catch(r){throw t?n():e=void 0,r}}e=void 0,r&&r.enter()};if(u)n=function(){c.nextTick(s)};else if(!i||r.navigator&&r.navigator.standalone)if(a&&a.resolve){var f=a.resolve();n=function(){f.then(s)}}else n=function(){o.call(r,s)};else{var l=!0,p=document.createTextNode("");new i(s).observe(p,{characterData:!0}),n=function(){p.data=l=!l}}return function(r){var o={fn:r,next:void 0};e&&(e.next=o),t||(t=o,n()),e=o}}},function(t,e,n){"use strict";var r=n(4),o=n(0),i=n(2),c=n(61),a=n(64);r(r.P+r.R,"Promise",{finally:function(t){var e=c(this,o.Promise||i.Promise),n="function"==typeof t;return this.then(n?function(n){return a(e,t()).then(function(){return n})}:t,n?function(n){return a(e,t()).then(function(){throw n})}:t)}})},function(t,e,n){"use strict";var r=n(4),o=n(43),i=n(63);r(r.S,"Promise",{try:function(t){var e=o.f(this),n=i(t);return(n.e?e.reject:e.resolve)(n.v),e.promise}})},,function(t,e,n){var r=n(4),o=n(0),i=n(25);t.exports=function(t,e){var n=(o.Object||{})[t]||Object[t],c={};c[t]=e(n),r(r.S+r.F*i(function(){n(1)}),"Object",c)}},function(t,e,n){var r=n(26);t.exports=Array.isArray||function(t){return"Array"==r(t)}},,,function(t,e,n){var r=function(){return this}()||Function("return this")(),o=r.regeneratorRuntime&&Object.getOwnPropertyNames(r).indexOf("regeneratorRuntime")>=0,i=o&&r.regeneratorRuntime;if(r.regeneratorRuntime=void 0,t.exports=n(109),o)r.regeneratorRuntime=i;else try{delete r.regeneratorRuntime}catch(t){r.regeneratorRuntime=void 0}},function(t,e){!function(e){"use strict";var n,r=Object.prototype,o=r.hasOwnProperty,i="function"==typeof Symbol?Symbol:{},c=i.iterator||"@@iterator",a=i.asyncIterator||"@@asyncIterator",u=i.toStringTag||"@@toStringTag",s="object"==typeof t,f=e.regeneratorRuntime;if(f)s&&(t.exports=f);else{(f=e.regeneratorRuntime=s?t.exports:{}).wrap=x;var l="suspendedStart",p="suspendedYield",h="executing",v="completed",d={},y={};y[c]=function(){return this};var m=Object.getPrototypeOf,g=m&&m(m(I([])));g&&g!==r&&o.call(g,c)&&(y=g);var b=O.prototype=w.prototype=Object.create(y);E.prototype=b.constructor=O,O.constructor=E,O[u]=E.displayName="GeneratorFunction",f.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===E||"GeneratorFunction"===(e.displayName||e.name))},f.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,O):(t.__proto__=O,u in t||(t[u]="GeneratorFunction")),t.prototype=Object.create(b),t},f.awrap=function(t){return{__await:t}},S(L.prototype),L.prototype[a]=function(){return this},f.AsyncIterator=L,f.async=function(t,e,n,r){var o=new L(x(t,e,n,r));return f.isGeneratorFunction(e)?o:o.next().then(function(t){return t.done?t.value:o.next()})},S(b),b[u]="Generator",b[c]=function(){return this},b.toString=function(){return"[object Generator]"},f.keys=function(t){var e=[];for(var n in t)e.push(n);return e.reverse(),function n(){for(;e.length;){var r=e.pop();if(r in t)return n.value=r,n.done=!1,n}return n.done=!0,n}},f.values=I,P.prototype={constructor:P,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=n,this.done=!1,this.delegate=null,this.method="next",this.arg=n,this.tryEntries.forEach(k),!t)for(var e in this)"t"===e.charAt(0)&&o.call(this,e)&&!isNaN(+e.slice(1))&&(this[e]=n)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var e=this;function r(r,o){return a.type="throw",a.arg=t,e.next=r,o&&(e.method="next",e.arg=n),!!o}for(var i=this.tryEntries.length-1;i>=0;--i){var c=this.tryEntries[i],a=c.completion;if("root"===c.tryLoc)return r("end");if(c.tryLoc<=this.prev){var u=o.call(c,"catchLoc"),s=o.call(c,"finallyLoc");if(u&&s){if(this.prev=0;--n){var r=this.tryEntries[n];if(r.tryLoc<=this.prev&&o.call(r,"finallyLoc")&&this.prev=0;--e){var n=this.tryEntries[e];if(n.finallyLoc===t)return this.complete(n.completion,n.afterLoc),k(n),d}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.tryLoc===t){var r=n.completion;if("throw"===r.type){var o=r.arg;k(n)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(t,e,r){return this.delegate={iterator:I(t),resultName:e,nextLoc:r},"next"===this.method&&(this.arg=n),d}}}function x(t,e,n,r){var o,i,c,a,u=e&&e.prototype instanceof w?e:w,s=Object.create(u.prototype),f=new P(r||[]);return s._invoke=(o=t,i=n,c=f,a=l,function(t,e){if(a===h)throw new Error("Generator is already running");if(a===v){if("throw"===t)throw e;return T()}for(c.method=t,c.arg=e;;){var n=c.delegate;if(n){var r=j(n,c);if(r){if(r===d)continue;return r}}if("next"===c.method)c.sent=c._sent=c.arg;else if("throw"===c.method){if(a===l)throw a=v,c.arg;c.dispatchException(c.arg)}else"return"===c.method&&c.abrupt("return",c.arg);a=h;var u=_(o,i,c);if("normal"===u.type){if(a=c.done?v:p,u.arg===d)continue;return{value:u.arg,done:c.done}}"throw"===u.type&&(a=v,c.method="throw",c.arg=u.arg)}}),s}function _(t,e,n){try{return{type:"normal",arg:t.call(e,n)}}catch(t){return{type:"throw",arg:t}}}function w(){}function E(){}function O(){}function S(t){["next","throw","return"].forEach(function(e){t[e]=function(t){return this._invoke(e,t)}})}function L(t){var e;this._invoke=function(n,r){function i(){return new Promise(function(e,i){!function e(n,r,i,c){var a=_(t[n],t,r);if("throw"!==a.type){var u=a.arg,s=u.value;return s&&"object"==typeof s&&o.call(s,"__await")?Promise.resolve(s.__await).then(function(t){e("next",t,i,c)},function(t){e("throw",t,i,c)}):Promise.resolve(s).then(function(t){u.value=t,i(u)},c)}c(a.arg)}(n,r,e,i)})}return e=e?e.then(i,i):i()}}function j(t,e){var r=t.iterator[e.method];if(r===n){if(e.delegate=null,"throw"===e.method){if(t.iterator.return&&(e.method="return",e.arg=n,j(t,e),"throw"===e.method))return d;e.method="throw",e.arg=new TypeError("The iterator does not provide a 'throw' method")}return d}var o=_(r,t.iterator,e.arg);if("throw"===o.type)return e.method="throw",e.arg=o.arg,e.delegate=null,d;var i=o.arg;return i?i.done?(e[t.resultName]=i.value,e.next=t.nextLoc,"return"!==e.method&&(e.method="next",e.arg=n),e.delegate=null,d):i:(e.method="throw",e.arg=new TypeError("iterator result is not an object"),e.delegate=null,d)}function C(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function k(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function P(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(C,this),this.reset(!0)}function I(t){if(t){var e=t[c];if(e)return e.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var r=-1,i=function e(){for(;++r1?arguments[1]:void 0,y=void 0!==d,m=0,g=f(p);if(y&&(d=r(d,v>2?arguments[2]:void 0,2)),void 0==g||h==Array&&a(g))for(n=new h(e=u(p.length));e>m;m++)s(n,m,y?d(p[m],m):p[m]);else for(l=g.call(p),n=new h;!(o=l.next()).done;m++)s(n,m,y?c(l,d,[o.value,m],!0):o.value);return n.length=m,n}})},function(t,e,n){"use strict";var r=n(7),o=n(28);t.exports=function(t,e,n){e in t?r.f(t,e,o(0,n)):t[e]=n}},function(t,e,n){var r=n(4);r(r.S+r.F*!n(10),"Object",{defineProperty:n(7).f})},function(t,e,n){t.exports=n(114)},function(t,e,n){n(31),n(38),t.exports=n(57).f("iterator")},function(t,e,n){t.exports=n(116)},function(t,e,n){n(87),n(55),n(119),n(120),t.exports=n(0).Symbol},function(t,e,n){var r=n(35),o=n(65),i=n(44);t.exports=function(t){var e=r(t),n=o.f;if(n)for(var c,a=n(t),u=i.f,s=0;a.length>s;)u.call(t,c=a[s++])&&e.push(c);return e}},function(t,e,n){var r=n(20),o=n(85).f,i={}.toString,c="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];t.exports.f=function(t){return c&&"[object Window]"==i.call(t)?function(t){try{return o(t)}catch(t){return c.slice()}}(t):o(r(t))}},function(t,e,n){n(58)("asyncIterator")},function(t,e,n){n(58)("observable")},,,,,,function(t,e,n){var r=n(0),o=r.JSON||(r.JSON={stringify:JSON.stringify});t.exports=function(t){return o.stringify.apply(o,arguments)}},,,,,function(t,e,n){n(132),t.exports=n(0).Object.assign},function(t,e,n){var r=n(4);r(r.S+r.F,"Object",{assign:n(133)})},function(t,e,n){"use strict";var r=n(35),o=n(65),i=n(44),c=n(36),a=n(59),u=Object.assign;t.exports=!u||n(25)(function(){var t={},e={},n=Symbol(),r="abcdefghijklmnopqrst";return t[n]=7,r.split("").forEach(function(t){e[t]=t}),7!=u({},t)[n]||Object.keys(u({},e)).join("")!=r})?function(t,e){for(var n=c(t),u=arguments.length,s=1,f=o.f,l=i.f;u>s;)for(var p,h=a(arguments[s++]),v=f?r(h).concat(f(h)):r(h),d=v.length,y=0;d>y;)l.call(h,p=v[y++])&&(n[p]=h[p]);return n}:u},function(t,e,n){n(135),t.exports=n(0).Object.getPrototypeOf},function(t,e,n){var r=n(36),o=n(78);n(104)("getPrototypeOf",function(){return function(t){return o(r(t))}})},function(t,e,n){t.exports=n(137)},function(t,e,n){n(138),t.exports=n(0).Object.setPrototypeOf},function(t,e,n){var r=n(4);r(r.S,"Object",{setPrototypeOf:n(139).set})},function(t,e,n){var r=n(9),o=n(8),i=function(t,e){if(o(t),!r(e)&&null!==e)throw TypeError(e+": can't set as prototype!")};t.exports={set:Object.setPrototypeOf||("__proto__"in{}?function(t,e,r){try{(r=n(17)(Function.call,n(79).f(Object.prototype,"__proto__").set,2))(t,[]),e=!(t instanceof Array)}catch(t){e=!0}return function(t,n){return i(t,n),e?t.__proto__=n:r(t,n),t}}({},!1):void 0),check:i}},function(t,e,n){t.exports=n(141)},function(t,e,n){n(142);var r=n(0).Object;t.exports=function(t,e){return r.create(t,e)}},function(t,e,n){var r=n(4);r(r.S,"Object",{create:n(46)})},function(t,e,n){n(87),t.exports=n(0).Object.getOwnPropertySymbols},,,,,,,,,,,,,,,function(t,e,n){"use strict";var r=n(11),o=n(3),i=n(5),c=n(12),a=n(13);Object.defineProperty(e,"__esModule",{value:!0});var u=function(t){function e(){return o(this,e),c(this,(e.__proto__||r(e)).apply(this,arguments))}return a(e,t),i(e,[{key:"alert",value:function(t){window.alert(t)}},{key:"setLoadingState",value:function(t){}}]),e}(n(230).default);e.default=u},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(t,e,n){t.exports=n(225)},function(t,e,n){n(38),n(31),t.exports=n(226)},function(t,e,n){var r=n(49),o=n(1)("iterator"),i=n(23);t.exports=n(0).isIterable=function(t){var e=Object(t);return void 0!==e[o]||"@@iterator"in e||i.hasOwnProperty(r(e))}},function(t,e,n){n(38),n(31),t.exports=n(228)},function(t,e,n){var r=n(8),o=n(56);t.exports=n(0).getIterator=function(t){var e=o(t);if("function"!=typeof e)throw TypeError(t+" is not iterable!");return r(e.call(t))}},,function(t,e,n){"use strict";var r,o,i=n(53),c=n(77),a=n(80),u=n(45),s=n(81),f=n(3),l=n(5),p=n(52),h=this&&this.__rest||function(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&e.indexOf(r)<0&&(n[r]=t[r]);if(null!=t&&"function"==typeof p){var o=0;for(r=p(t);o2&&void 0!==arguments[2]?arguments[2]:[],d=document.createElement("div");if(d.id=t.bibliographyId,d.setAttribute("data-reflist",s(n.map(function(t){return t.id}))),(r=d.classList).add.apply(r,[t.bibliographyId].concat(u(v))),d.classList.contains(t.staticBibClass)&&(d.classList.remove(t.bibliographyId),d.removeAttribute("id"),0===n.length)){var y=top.ABT.i18n.errors.warnings;return d.innerHTML="".concat(y.warning,": ").concat(y.no_bib,"."),d}c&&("toggle"===h?((o=document.createElement("button")).classList.add("".concat(t.bibliographyId,"__heading"),"".concat(t.bibliographyId,"__heading_toggle")),o.setAttribute("aria-expanded","false"),o.setAttribute("aria-controls","".concat(this.bibliographyId,"__container")),o.setAttribute("data-heading-level",l)):(o=document.createElement(l)).classList.add("".concat(t.bibliographyId,"__heading")),o.textContent=c,d.appendChild(o));var m=document.createElement("div");m.id="".concat(this.bibliographyId,"__container"),m.classList.add("".concat(this.bibliographyId,"__container")),d.appendChild(m);var g=!0,b=!1,x=void 0;try{for(var _,w=a(n);!(g=(_=w.next()).done);g=!0){var E=_.value,O=document.createElement("div");O.id=E.id,O.innerHTML=E.html,m.appendChild(O)}}catch(t){b=!0,x=t}finally{try{g||null==w.return||w.return()}finally{if(b)throw x}}return d}},{key:"createFootnoteSection",value:function(e){var n,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],o=document.createElement("div");o.id=t.footnoteId,(n=o.classList).add.apply(n,[t.footnoteId].concat(u(r)));var a=document.createElement("div");a.classList.add("".concat(t.footnoteId,"__heading")),a.textContent=top.ABT.i18n.misc.footnotes,o.appendChild(a);for(var s=i(e.entries()),f=0;f2&&void 0!==arguments[2]&&arguments[2]?this.setStaticBibliography(e):this.setStandardBibliography(t,e)}},{key:"setLoadingState",value:function(t){this.editor.setProgressState(t||!1)}},{key:"bindEvents",value:function(){var t=this;this.editor.on("focusin",function(){t.selectionCache=o({},t.selectionCache,{fresh:!1})}),this.editor.on("focusout",function(){t.selectionCache={fresh:!0,selection:t.selection,bookmark:t.editor.selection.getBookmark(1)}}),this.editor.on("hide",function(){dispatchEvent(new CustomEvent(m.default.events.UNAVAILABLE))}),this.editor.on("show",function(){dispatchEvent(new CustomEvent(m.default.events.AVAILABLE))}),this.editor.on("Undo",function(){dispatchEvent(new CustomEvent(m.default.events.UNDO))}),this.editor.addShortcut("meta+alt+r","Add Reference",function(){return dispatchEvent(new CustomEvent(m.default.events.ADD_REFERENCE))}),this.editor.addShortcut("meta+alt+p","Pin Reference List",function(){return dispatchEvent(new CustomEvent(m.default.events.TOGGLE_PINNED))}),this.editorCitationObserver.observe(this.editor.getBody(),{childList:!0,subtree:!0})}},{key:"composeFootnotes",value:function(){var t=this.editor.getDoc(),e=r(t.querySelectorAll(".".concat(m.default.citationClass)).entries()).reduce(function(t,e){var n=a(e,2),o=n[0],i=n[1];i.innerHTML="[".concat(o+1,"]");var c=i.getAttribute("data-footnote");return c?r(t).concat([c]):t},[]);if(0!==e.length){var n=this.editor.selection.getBookmark(),o=m.default.createFootnoteSection(e,["noselect","mceNonEditable"]),i=this.editor.getBody();this.editor.selection.setCursorLocation(i,i.childNodes.length),this.editor.insertContent(o.outerHTML),this.editor.selection.moveToBookmark(n)}}},{key:"setStandardBibliography",value:function(t,e){if("boolean"!=typeof e&&0!==e.length){var n=m.default.createBibliographyElement(t,e,["noselect","mceNonEditable"]),r=this.editor.selection.getBookmark(),o=this.editor.getBody();this.editor.selection.setCursorLocation(o,o.childNodes.length),this.editor.insertContent(n.outerHTML),this.editor.selection.moveToBookmark(r)}}},{key:"setStaticBibliography",value:function(t){var e="boolean"==typeof t?[]:t,n=m.default.createBibliographyElement({},e,["".concat(m.default.staticBibClass),"noselect","mceNonEditable"]);this.selectionCache.fresh&&this.editor.selection.moveToBookmark(this.selectionCache.bookmark),this.editor.insertContent(n.outerHTML)}},{key:"citationIds",get:function(){var t=this.editor.getDoc().querySelectorAll("*:not(.mce-offscreen-selection) > .".concat(m.default.citationClass));return r(t).map(function(t){return t.id})}},{key:"citationsByIndex",get:function(){var t=this.editor.getDoc(),e=r(t.querySelectorAll("\n *:not(.mce-offscreen-selection) >\n .".concat(m.default.citationClass,"\n "))),n=null!==t.querySelector("#".concat(m.default.footnoteId));return e.reduce(function(t,e,o){var i=e.getAttribute("data-reflist");if(!i)return t;var c=JSON.parse(i);return r(t).concat([{citationID:e.id,citationItems:c.map(function(t){return{id:t}}),properties:{index:o,noteIndex:n?1:0}}])},[])}},{key:"relativeCitationPositions",get:function(){var t=this,e=this.editor.getDoc(),n=(this.selectionCache.fresh?this.selectionCache.bookmark:this.editor.selection.getBookmark(1)).rng.startContainer;return r(e.querySelectorAll("\n *:not(.mce-offscreen-selection) >\n .".concat(m.default.citationClass,"\n "))).reduce(function(e,o,i){if(!o.parentNode)throw new Error("parentNode not defined for citation");switch(n.compareDocumentPosition(o)){case Node.DOCUMENT_POSITION_PRECEDING:e.itemsPreceding=r(e.itemsPreceding).concat([[o.id,i]]);break;case Node.DOCUMENT_POSITION_FOLLOWING:e.itemsFollowing=r(e.itemsFollowing).concat([[o.id,i+1]]);break;default:o.parentElement.removeChild(o),t.editor.selection.moveToBookmark(t.selectionCache.bookmark)}return e},{itemsPreceding:[],itemsFollowing:[]})}},{key:"selection",get:function(){return this.selectionCache.fresh?this.selectionCache.selection:this.editor.selection.getContent({format:"html"})}}]),e}(m.default);e.default=g},function(t,e){}]); //# sourceMappingURL=tinymce.js.map