|
-
- !function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):(e=e||self).Reveal=t()}(this,(function(){"use strict";var e="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function t(e,t,n){return e(n={path:t,exports:{},require:function(e,t){return function(){throw new Error("Dynamic requires are not currently supported by @rollup/plugin-commonjs")}(null==t&&n.path)}},n.exports),n.exports}var n=function(e){return e&&e.Math==Math&&e},i=n("object"==typeof globalThis&&globalThis)||n("object"==typeof window&&window)||n("object"==typeof self&&self)||n("object"==typeof e&&e)||Function("return this")(),r=function(e){try{return!!e()}catch(e){return!0}},a=!r((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]})),o={}.propertyIsEnumerable,s=Object.getOwnPropertyDescriptor,l={f:s&&!o.call({1:2},1)?function(e){var t=s(this,e);return!!t&&t.enumerable}:o},c=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}},u={}.toString,d=function(e){return u.call(e).slice(8,-1)},h="".split,f=r((function(){return!Object("z").propertyIsEnumerable(0)}))?function(e){return"String"==d(e)?h.call(e,""):Object(e)}:Object,v=function(e){if(null==e)throw TypeError("Can't call method on "+e);return e},g=function(e){return f(v(e))},p=function(e){return"object"==typeof e?null!==e:"function"==typeof e},m=function(e,t){if(!p(e))return e;var n,i;if(t&&"function"==typeof(n=e.toString)&&!p(i=n.call(e)))return i;if("function"==typeof(n=e.valueOf)&&!p(i=n.call(e)))return i;if(!t&&"function"==typeof(n=e.toString)&&!p(i=n.call(e)))return i;throw TypeError("Can't convert object to primitive value")},y={}.hasOwnProperty,b=function(e,t){return y.call(e,t)},w=i.document,S=p(w)&&p(w.createElement),E=function(e){return S?w.createElement(e):{}},k=!a&&!r((function(){return 7!=Object.defineProperty(E("div"),"a",{get:function(){return 7}}).a})),A=Object.getOwnPropertyDescriptor,R={f:a?A:function(e,t){if(e=g(e),t=m(t,!0),k)try{return A(e,t)}catch(e){}if(b(e,t))return c(!l.f.call(e,t),e[t])}},x=function(e){if(!p(e))throw TypeError(String(e)+" is not an object");return e},L=Object.defineProperty,C={f:a?L:function(e,t,n){if(x(e),t=m(t,!0),x(n),k)try{return L(e,t,n)}catch(e){}if("get"in n||"set"in n)throw TypeError("Accessors not supported");return"value"in n&&(e[t]=n.value),e}},P=a?function(e,t,n){return C.f(e,t,c(1,n))}:function(e,t,n){return e[t]=n,e},N=function(e,t){try{P(i,e,t)}catch(n){i[e]=t}return t},M=i["__core-js_shared__"]||N("__core-js_shared__",{}),I=Function.toString;"function"!=typeof M.inspectSource&&(M.inspectSource=function(e){return I.call(e)});var O,T,D,j=M.inspectSource,H=i.WeakMap,U="function"==typeof H&&/native code/.test(j(H)),B=t((function(e){(e.exports=function(e,t){return M[e]||(M[e]=void 0!==t?t:{})})("versions",[]).push({version:"3.6.5",mode:"global",copyright:"© 2020 Denis Pushkarev (zloirock.ru)"})})),F=0,z=Math.random(),q=function(e){return"Symbol("+String(void 0===e?"":e)+")_"+(++F+z).toString(36)},_=B("keys"),V=function(e){return _[e]||(_[e]=q(e))},W={},K=i.WeakMap;if(U){var $=new K,X=$.get,Y=$.has,G=$.set;O=function(e,t){return G.call($,e,t),t},T=function(e){return X.call($,e)||{}},D=function(e){return Y.call($,e)}}else{var J=V("state");W[J]=!0,O=function(e,t){return P(e,J,t),t},T=function(e){return b(e,J)?e[J]:{}},D=function(e){return b(e,J)}}var Q,Z,ee={set:O,get:T,has:D,enforce:function(e){return D(e)?T(e):O(e,{})},getterFor:function(e){return function(t){var n;if(!p(t)||(n=T(t)).type!==e)throw TypeError("Incompatible receiver, "+e+" required");return n}}},te=t((function(e){var t=ee.get,n=ee.enforce,r=String(String).split("String");(e.exports=function(e,t,a,o){var s=!!o&&!!o.unsafe,l=!!o&&!!o.enumerable,c=!!o&&!!o.noTargetGet;"function"==typeof a&&("string"!=typeof t||b(a,"name")||P(a,"name",t),n(a).source=r.join("string"==typeof t?t:"")),e!==i?(s?!c&&e[t]&&(l=!0):delete e[t],l?e[t]=a:P(e,t,a)):l?e[t]=a:N(t,a)})(Function.prototype,"toString",(function(){return"function"==typeof this&&t(this).source||j(this)}))})),ne=i,ie=function(e){return"function"==typeof e?e:void 0},re=function(e,t){return arguments.length<2?ie(ne[e])||ie(i[e]):ne[e]&&ne[e][t]||i[e]&&i[e][t]},ae=Math.ceil,oe=Math.floor,se=function(e){return isNaN(e=+e)?0:(e>0?oe:ae)(e)},le=Math.min,ce=function(e){return e>0?le(se(e),9007199254740991):0},ue=Math.max,de=Math.min,he=function(e,t){var n=se(e);return n<0?ue(n+t,0):de(n,t)},fe=function(e){return function(t,n,i){var r,a=g(t),o=ce(a.length),s=he(i,o);if(e&&n!=n){for(;o>s;)if((r=a[s++])!=r)return!0}else for(;o>s;s++)if((e||s in a)&&a[s]===n)return e||s||0;return!e&&-1}},ve={includes:fe(!0),indexOf:fe(!1)},ge=ve.indexOf,pe=function(e,t){var n,i=g(e),r=0,a=[];for(n in i)!b(W,n)&&b(i,n)&&a.push(n);for(;t.length>r;)b(i,n=t[r++])&&(~ge(a,n)||a.push(n));return a},me=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],ye=me.concat("length","prototype"),be={f:Object.getOwnPropertyNames||function(e){return pe(e,ye)}},we={f:Object.getOwnPropertySymbols},Se=re("Reflect","ownKeys")||function(e){var t=be.f(x(e)),n=we.f;return n?t.concat(n(e)):t},Ee=function(e,t){for(var n=Se(t),i=C.f,r=R.f,a=0;a<n.length;a++){var o=n[a];b(e,o)||i(e,o,r(t,o))}},ke=/#|\.prototype\./,Ae=function(e,t){var n=xe[Re(e)];return n==Ce||n!=Le&&("function"==typeof t?r(t):!!t)},Re=Ae.normalize=function(e){return String(e).replace(ke,".").toLowerCase()},xe=Ae.data={},Le=Ae.NATIVE="N",Ce=Ae.POLYFILL="P",Pe=Ae,Ne=R.f,Me=function(e,t){var n,r,a,o,s,l=e.target,c=e.global,u=e.stat;if(n=c?i:u?i[l]||N(l,{}):(i[l]||{}).prototype)for(r in t){if(o=t[r],a=e.noTargetGet?(s=Ne(n,r))&&s.value:n[r],!Pe(c?r:l+(u?".":"#")+r,e.forced)&&void 0!==a){if(typeof o==typeof a)continue;Ee(o,a)}(e.sham||a&&a.sham)&&P(o,"sham",!0),te(n,r,o,e)}},Ie=Array.isArray||function(e){return"Array"==d(e)},Oe=function(e){return Object(v(e))},Te=function(e,t,n){var i=m(t);i in e?C.f(e,i,c(0,n)):e[i]=n},De=!!Object.getOwnPropertySymbols&&!r((function(){return!String(Symbol())})),je=De&&!Symbol.sham&&"symbol"==typeof Symbol.iterator,He=B("wks"),Ue=i.Symbol,Be=je?Ue:Ue&&Ue.withoutSetter||q,Fe=function(e){return b(He,e)||(De&&b(Ue,e)?He[e]=Ue[e]:He[e]=Be("Symbol."+e)),He[e]},ze=Fe("species"),qe=function(e,t){var n;return Ie(e)&&("function"!=typeof(n=e.constructor)||n!==Array&&!Ie(n.prototype)?p(n)&&null===(n=n[ze])&&(n=void 0):n=void 0),new(void 0===n?Array:n)(0===t?0:t)},_e=re("navigator","userAgent")||"",Ve=i.process,We=Ve&&Ve.versions,Ke=We&&We.v8;Ke?Z=(Q=Ke.split("."))[0]+Q[1]:_e&&(!(Q=_e.match(/Edge\/(\d+)/))||Q[1]>=74)&&(Q=_e.match(/Chrome\/(\d+)/))&&(Z=Q[1]);var $e=Z&&+Z,Xe=Fe("species"),Ye=function(e){return $e>=51||!r((function(){var t=[];return(t.constructor={})[Xe]=function(){return{foo:1}},1!==t[e](Boolean).foo}))},Ge=Fe("isConcatSpreadable"),Je=$e>=51||!r((function(){var e=[];return e[Ge]=!1,e.concat()[0]!==e})),Qe=Ye("concat"),Ze=function(e){if(!p(e))return!1;var t=e[Ge];return void 0!==t?!!t:Ie(e)};Me({target:"Array",proto:!0,forced:!Je||!Qe},{concat:function(e){var t,n,i,r,a,o=Oe(this),s=qe(o,0),l=0;for(t=-1,i=arguments.length;t<i;t++)if(a=-1===t?o:arguments[t],Ze(a)){if(l+(r=ce(a.length))>9007199254740991)throw TypeError("Maximum allowed index exceeded");for(n=0;n<r;n++,l++)n in a&&Te(s,l,a[n])}else{if(l>=9007199254740991)throw TypeError("Maximum allowed index exceeded");Te(s,l++,a)}return s.length=l,s}});var et=function(e){if("function"!=typeof e)throw TypeError(String(e)+" is not a function");return e},tt=function(e,t,n){if(et(e),void 0===t)return e;switch(n){case 0:return function(){return e.call(t)};case 1:return function(n){return e.call(t,n)};case 2:return function(n,i){return e.call(t,n,i)};case 3:return function(n,i,r){return e.call(t,n,i,r)}}return function(){return e.apply(t,arguments)}},nt=[].push,it=function(e){var t=1==e,n=2==e,i=3==e,r=4==e,a=6==e,o=5==e||a;return function(s,l,c,u){for(var d,h,v=Oe(s),g=f(v),p=tt(l,c,3),m=ce(g.length),y=0,b=u||qe,w=t?b(s,m):n?b(s,0):void 0;m>y;y++)if((o||y in g)&&(h=p(d=g[y],y,v),e))if(t)w[y]=h;else if(h)switch(e){case 3:return!0;case 5:return d;case 6:return y;case 2:nt.call(w,d)}else if(r)return!1;return a?-1:i||r?r:w}},rt={forEach:it(0),map:it(1),filter:it(2),some:it(3),every:it(4),find:it(5),findIndex:it(6)},at=function(e,t){var n=[][e];return!!n&&r((function(){n.call(null,t||function(){throw 1},1)}))},ot=Object.defineProperty,st={},lt=function(e){throw e},ct=function(e,t){if(b(st,e))return st[e];t||(t={});var n=[][e],i=!!b(t,"ACCESSORS")&&t.ACCESSORS,o=b(t,0)?t[0]:lt,s=b(t,1)?t[1]:void 0;return st[e]=!!n&&!r((function(){if(i&&!a)return!0;var e={length:-1};i?ot(e,1,{enumerable:!0,get:lt}):e[1]=1,n.call(e,o,s)}))},ut=rt.forEach,dt=at("forEach"),ht=ct("forEach"),ft=dt&&ht?[].forEach:function(e){return ut(this,e,arguments.length>1?arguments[1]:void 0)};Me({target:"Array",proto:!0,forced:[].forEach!=ft},{forEach:ft});var vt=rt.map,gt=Ye("map"),pt=ct("map");Me({target:"Array",proto:!0,forced:!gt||!pt},{map:function(e){return vt(this,e,arguments.length>1?arguments[1]:void 0)}});var mt=Object.keys||function(e){return pe(e,me)},yt=Object.assign,bt=Object.defineProperty,wt=!yt||r((function(){if(a&&1!==yt({b:1},yt(bt({},"a",{enumerable:!0,get:function(){bt(this,"b",{value:3,enumerable:!1})}}),{b:2})).b)return!0;var e={},t={},n=Symbol();return e[n]=7,"abcdefghijklmnopqrst".split("").forEach((function(e){t[e]=e})),7!=yt({},e)[n]||"abcdefghijklmnopqrst"!=mt(yt({},t)).join("")}))?function(e,t){for(var n=Oe(e),i=arguments.length,r=1,o=we.f,s=l.f;i>r;)for(var c,u=f(arguments[r++]),d=o?mt(u).concat(o(u)):mt(u),h=d.length,v=0;h>v;)c=d[v++],a&&!s.call(u,c)||(n[c]=u[c]);return n}:yt;Me({target:"Object",stat:!0,forced:Object.assign!==wt},{assign:wt});var St,Et=a?Object.defineProperties:function(e,t){x(e);for(var n,i=mt(t),r=i.length,a=0;r>a;)C.f(e,n=i[a++],t[n]);return e},kt=re("document","documentElement"),At=V("IE_PROTO"),Rt=function(){},xt=function(e){return"<script>"+e+"<\/script>"},Lt=function(){try{St=document.domain&&new ActiveXObject("htmlfile")}catch(e){}var e,t;Lt=St?function(e){e.write(xt("")),e.close();var t=e.parentWindow.Object;return e=null,t}(St):((t=E("iframe")).style.display="none",kt.appendChild(t),t.src=String("javascript:"),(e=t.contentWindow.document).open(),e.write(xt("document.F=Object")),e.close(),e.F);for(var n=me.length;n--;)delete Lt.prototype[me[n]];return Lt()};W[At]=!0;var Ct=Object.create||function(e,t){var n;return null!==e?(Rt.prototype=x(e),n=new Rt,Rt.prototype=null,n[At]=e):n=Lt(),void 0===t?n:Et(n,t)},Pt=be.f,Nt={}.toString,Mt="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],It={f:function(e){return Mt&&"[object Window]"==Nt.call(e)?function(e){try{return Pt(e)}catch(e){return Mt.slice()}}(e):Pt(g(e))}},Ot={f:Fe},Tt=C.f,Dt=C.f,jt=Fe("toStringTag"),Ht=function(e,t,n){e&&!b(e=n?e:e.prototype,jt)&&Dt(e,jt,{configurable:!0,value:t})},Ut=rt.forEach,Bt=V("hidden"),Ft=Fe("toPrimitive"),zt=ee.set,qt=ee.getterFor("Symbol"),_t=Object.prototype,Vt=i.Symbol,Wt=re("JSON","stringify"),Kt=R.f,$t=C.f,Xt=It.f,Yt=l.f,Gt=B("symbols"),Jt=B("op-symbols"),Qt=B("string-to-symbol-registry"),Zt=B("symbol-to-string-registry"),en=B("wks"),tn=i.QObject,nn=!tn||!tn.prototype||!tn.prototype.findChild,rn=a&&r((function(){return 7!=Ct($t({},"a",{get:function(){return $t(this,"a",{value:7}).a}})).a}))?function(e,t,n){var i=Kt(_t,t);i&&delete _t[t],$t(e,t,n),i&&e!==_t&&$t(_t,t,i)}:$t,an=function(e,t){var n=Gt[e]=Ct(Vt.prototype);return zt(n,{type:"Symbol",tag:e,description:t}),a||(n.description=t),n},on=je?function(e){return"symbol"==typeof e}:function(e){return Object(e)instanceof Vt},sn=function(e,t,n){e===_t&&sn(Jt,t,n),x(e);var i=m(t,!0);return x(n),b(Gt,i)?(n.enumerable?(b(e,Bt)&&e[Bt][i]&&(e[Bt][i]=!1),n=Ct(n,{enumerable:c(0,!1)})):(b(e,Bt)||$t(e,Bt,c(1,{})),e[Bt][i]=!0),rn(e,i,n)):$t(e,i,n)},ln=function(e,t){x(e);var n=g(t),i=mt(n).concat(hn(n));return Ut(i,(function(t){a&&!cn.call(n,t)||sn(e,t,n[t])})),e},cn=function(e){var t=m(e,!0),n=Yt.call(this,t);return!(this===_t&&b(Gt,t)&&!b(Jt,t))&&(!(n||!b(this,t)||!b(Gt,t)||b(this,Bt)&&this[Bt][t])||n)},un=function(e,t){var n=g(e),i=m(t,!0);if(n!==_t||!b(Gt,i)||b(Jt,i)){var r=Kt(n,i);return!r||!b(Gt,i)||b(n,Bt)&&n[Bt][i]||(r.enumerable=!0),r}},dn=function(e){var t=Xt(g(e)),n=[];return Ut(t,(function(e){b(Gt,e)||b(W,e)||n.push(e)})),n},hn=function(e){var t=e===_t,n=Xt(t?Jt:g(e)),i=[];return Ut(n,(function(e){!b(Gt,e)||t&&!b(_t,e)||i.push(Gt[e])})),i};if(De||(te((Vt=function(){if(this instanceof Vt)throw TypeError("Symbol is not a constructor");var e=arguments.length&&void 0!==arguments[0]?String(arguments[0]):void 0,t=q(e),n=function(e){this===_t&&n.call(Jt,e),b(this,Bt)&&b(this[Bt],t)&&(this[Bt][t]=!1),rn(this,t,c(1,e))};return a&&nn&&rn(_t,t,{configurable:!0,set:n}),an(t,e)}).prototype,"toString",(function(){return qt(this).tag})),te(Vt,"withoutSetter",(function(e){return an(q(e),e)})),l.f=cn,C.f=sn,R.f=un,be.f=It.f=dn,we.f=hn,Ot.f=function(e){return an(Fe(e),e)},a&&($t(Vt.prototype,"description",{configurable:!0,get:function(){return qt(this).description}}),te(_t,"propertyIsEnumerable",cn,{unsafe:!0}))),Me({global:!0,wrap:!0,forced:!De,sham:!De},{Symbol:Vt}),Ut(mt(en),(function(e){!function(e){var t=ne.Symbol||(ne.Symbol={});b(t,e)||Tt(t,e,{value:Ot.f(e)})}(e)})),Me({target:"Symbol",stat:!0,forced:!De},{for:function(e){var t=String(e);if(b(Qt,t))return Qt[t];var n=Vt(t);return Qt[t]=n,Zt[n]=t,n},keyFor:function(e){if(!on(e))throw TypeError(e+" is not a symbol");if(b(Zt,e))return Zt[e]},useSetter:function(){nn=!0},useSimple:function(){nn=!1}}),Me({target:"Object",stat:!0,forced:!De,sham:!a},{create:function(e,t){return void 0===t?Ct(e):ln(Ct(e),t)},defineProperty:sn,defineProperties:ln,getOwnPropertyDescriptor:un}),Me({target:"Object",stat:!0,forced:!De},{getOwnPropertyNames:dn,getOwnPropertySymbols:hn}),Me({target:"Object",stat:!0,forced:r((function(){we.f(1)}))},{getOwnPropertySymbols:function(e){return we.f(Oe(e))}}),Wt){var fn=!De||r((function(){var e=Vt();return"[null]"!=Wt([e])||"{}"!=Wt({a:e})||"{}"!=Wt(Object(e))}));Me({target:"JSON",stat:!0,forced:fn},{stringify:function(e,t,n){for(var i,r=[e],a=1;arguments.length>a;)r.push(arguments[a++]);if(i=t,(p(t)||void 0!==e)&&!on(e))return Ie(t)||(t=function(e,t){if("function"==typeof i&&(t=i.call(this,e,t)),!on(t))return t}),r[1]=t,Wt.apply(null,r)}})}Vt.prototype[Ft]||P(Vt.prototype,Ft,Vt.prototype.valueOf),Ht(Vt,"Symbol"),W[Bt]=!0;var vn=C.f,gn=i.Symbol;if(a&&"function"==typeof gn&&(!("description"in gn.prototype)||void 0!==gn().description)){var pn={},mn=function(){var e=arguments.length<1||void 0===arguments[0]?void 0:String(arguments[0]),t=this instanceof mn?new gn(e):void 0===e?gn():gn(e);return""===e&&(pn[t]=!0),t};Ee(mn,gn);var yn=mn.prototype=gn.prototype;yn.constructor=mn;var bn=yn.toString,wn="Symbol(test)"==String(gn("test")),Sn=/^Symbol\((.*)\)[^)]+$/;vn(yn,"description",{configurable:!0,get:function(){var e=p(this)?this.valueOf():this,t=bn.call(e);if(b(pn,e))return"";var n=wn?t.slice(7,-1):t.replace(Sn,"$1");return""===n?void 0:n}}),Me({global:!0,forced:!0},{Symbol:mn})}var En=function(e,t,n,i){try{return i?t(x(n)[0],n[1]):t(n)}catch(t){var r=e.return;throw void 0!==r&&x(r.call(e)),t}},kn={},An=Fe("iterator"),Rn=Array.prototype,xn=function(e){return void 0!==e&&(kn.Array===e||Rn[An]===e)},Ln={};Ln[Fe("toStringTag")]="z";var Cn="[object z]"===String(Ln),Pn=Fe("toStringTag"),Nn="Arguments"==d(function(){return arguments}()),Mn=Cn?d:function(e){var t,n,i;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(n=function(e,t){try{return e[t]}catch(e){}}(t=Object(e),Pn))?n:Nn?d(t):"Object"==(i=d(t))&&"function"==typeof t.callee?"Arguments":i},In=Fe("iterator"),On=function(e){if(null!=e)return e[In]||e["@@iterator"]||kn[Mn(e)]},Tn=Fe("iterator"),Dn=!1;try{var jn=0,Hn={next:function(){return{done:!!jn++}},return:function(){Dn=!0}};Hn[Tn]=function(){return this},Array.from(Hn,(function(){throw 2}))}catch(e){}var Un=function(e,t){if(!t&&!Dn)return!1;var n=!1;try{var i={};i[Tn]=function(){return{next:function(){return{done:n=!0}}}},e(i)}catch(e){}return n},Bn=!Un((function(e){Array.from(e)}));Me({target:"Array",stat:!0,forced:Bn},{from:function(e){var t,n,i,r,a,o,s=Oe(e),l="function"==typeof this?this:Array,c=arguments.length,u=c>1?arguments[1]:void 0,d=void 0!==u,h=On(s),f=0;if(d&&(u=tt(u,c>2?arguments[2]:void 0,2)),null==h||l==Array&&xn(h))for(n=new l(t=ce(s.length));t>f;f++)o=d?u(s[f],f):s[f],Te(n,f,o);else for(a=(r=h.call(s)).next,n=new l;!(i=a.call(r)).done;f++)o=d?En(r,u,[i.value,f],!0):i.value,Te(n,f,o);return n.length=f,n}});var Fn=ve.indexOf,zn=[].indexOf,qn=!!zn&&1/[1].indexOf(1,-0)<0,_n=at("indexOf"),Vn=ct("indexOf",{ACCESSORS:!0,1:0});Me({target:"Array",proto:!0,forced:qn||!_n||!Vn},{indexOf:function(e){return qn?zn.apply(this,arguments)||0:Fn(this,e,arguments.length>1?arguments[1]:void 0)}});var Wn=Ye("splice"),Kn=ct("splice",{ACCESSORS:!0,0:0,1:2}),$n=Math.max,Xn=Math.min;Me({target:"Array",proto:!0,forced:!Wn||!Kn},{splice:function(e,t){var n,i,r,a,o,s,l=Oe(this),c=ce(l.length),u=he(e,c),d=arguments.length;if(0===d?n=i=0:1===d?(n=0,i=c-u):(n=d-2,i=Xn($n(se(t),0),c-u)),c+n-i>9007199254740991)throw TypeError("Maximum allowed length exceeded");for(r=qe(l,i),a=0;a<i;a++)(o=u+a)in l&&Te(r,a,l[o]);if(r.length=i,n<i){for(a=u;a<c-i;a++)s=a+n,(o=a+i)in l?l[s]=l[o]:delete l[s];for(a=c;a>c-i+n;a--)delete l[a-1]}else if(n>i)for(a=c-i;a>u;a--)s=a+n-1,(o=a+i-1)in l?l[s]=l[o]:delete l[s];for(a=0;a<n;a++)l[a+u]=arguments[a+2];return l.length=c-i+n,r}});var Yn=C.f,Gn=Function.prototype,Jn=Gn.toString,Qn=/^\s*function ([^ (]*)/;a&&!("name"in Gn)&&Yn(Gn,"name",{configurable:!0,get:function(){try{return Jn.call(this).match(Qn)[1]}catch(e){return""}}});var Zn=Object.setPrototypeOf||("__proto__"in{}?function(){var e,t=!1,n={};try{(e=Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set).call(n,[]),t=n instanceof Array}catch(e){}return function(n,i){return x(n),function(e){if(!p(e)&&null!==e)throw TypeError("Can't set "+String(e)+" as a prototype")}(i),t?e.call(n,i):n.__proto__=i,n}}():void 0),ei=function(e,t,n){var i,r;return Zn&&"function"==typeof(i=t.constructor)&&i!==n&&p(r=i.prototype)&&r!==n.prototype&&Zn(e,r),e},ti="\t\n\v\f\r \u2028\u2029\ufeff",ni="["+ti+"]",ii=RegExp("^"+ni+ni+"*"),ri=RegExp(ni+ni+"*$"),ai=function(e){return function(t){var n=String(v(t));return 1&e&&(n=n.replace(ii,"")),2&e&&(n=n.replace(ri,"")),n}},oi={start:ai(1),end:ai(2),trim:ai(3)},si=be.f,li=R.f,ci=C.f,ui=oi.trim,di=i.Number,hi=di.prototype,fi="Number"==d(Ct(hi)),vi=function(e){var t,n,i,r,a,o,s,l,c=m(e,!1);if("string"==typeof c&&c.length>2)if(43===(t=(c=ui(c)).charCodeAt(0))||45===t){if(88===(n=c.charCodeAt(2))||120===n)return NaN}else if(48===t){switch(c.charCodeAt(1)){case 66:case 98:i=2,r=49;break;case 79:case 111:i=8,r=55;break;default:return+c}for(o=(a=c.slice(2)).length,s=0;s<o;s++)if((l=a.charCodeAt(s))<48||l>r)return NaN;return parseInt(a,i)}return+c};if(Pe("Number",!di(" 0o1")||!di("0b1")||di("+0x1"))){for(var gi,pi=function(e){var t=arguments.length<1?0:e,n=this;return n instanceof pi&&(fi?r((function(){hi.valueOf.call(n)})):"Number"!=d(n))?ei(new di(vi(t)),n,pi):vi(t)},mi=a?si(di):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,isFinite,isInteger,isNaN,isSafeInteger,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,parseFloat,parseInt,isInteger".split(","),yi=0;mi.length>yi;yi++)b(di,gi=mi[yi])&&!b(pi,gi)&&ci(pi,gi,li(di,gi));pi.prototype=hi,hi.constructor=pi,te(i,"Number",pi)}var bi=Cn?{}.toString:function(){return"[object "+Mn(this)+"]"};Cn||te(Object.prototype,"toString",bi,{unsafe:!0});var wi,Si,Ei,ki=i.Promise,Ai=Fe("species"),Ri=t((function(e){var t=function(e,t){this.stopped=e,this.result=t};(e.exports=function(e,n,i,r,a){var o,s,l,c,u,d,h,f=tt(n,i,r?2:1);if(a)o=e;else{if("function"!=typeof(s=On(e)))throw TypeError("Target is not iterable");if(xn(s)){for(l=0,c=ce(e.length);c>l;l++)if((u=r?f(x(h=e[l])[0],h[1]):f(e[l]))&&u instanceof t)return u;return new t(!1)}o=s.call(e)}for(d=o.next;!(h=d.call(o)).done;)if("object"==typeof(u=En(o,f,h.value,r))&&u&&u instanceof t)return u;return new t(!1)}).stop=function(e){return new t(!0,e)}})),xi=Fe("species"),Li=function(e,t){var n,i=x(e).constructor;return void 0===i||null==(n=x(i)[xi])?t:et(n)},Ci=/(iphone|ipod|ipad).*applewebkit/i.test(_e),Pi=i.location,Ni=i.setImmediate,Mi=i.clearImmediate,Ii=i.process,Oi=i.MessageChannel,Ti=i.Dispatch,Di=0,ji={},Hi=function(e){if(ji.hasOwnProperty(e)){var t=ji[e];delete ji[e],t()}},Ui=function(e){return function(){Hi(e)}},Bi=function(e){Hi(e.data)},Fi=function(e){i.postMessage(e+"",Pi.protocol+"//"+Pi.host)};Ni&&Mi||(Ni=function(e){for(var t=[],n=1;arguments.length>n;)t.push(arguments[n++]);return ji[++Di]=function(){("function"==typeof e?e:Function(e)).apply(void 0,t)},wi(Di),Di},Mi=function(e){delete ji[e]},"process"==d(Ii)?wi=function(e){Ii.nextTick(Ui(e))}:Ti&&Ti.now?wi=function(e){Ti.now(Ui(e))}:Oi&&!Ci?(Ei=(Si=new Oi).port2,Si.port1.onmessage=Bi,wi=tt(Ei.postMessage,Ei,1)):!i.addEventListener||"function"!=typeof postMessage||i.importScripts||r(Fi)||"file:"===Pi.protocol?wi="onreadystatechange"in E("script")?function(e){kt.appendChild(E("script")).onreadystatechange=function(){kt.removeChild(this),Hi(e)}}:function(e){setTimeout(Ui(e),0)}:(wi=Fi,i.addEventListener("message",Bi,!1)));var zi,qi,_i,Vi,Wi,Ki,$i,Xi,Yi={set:Ni,clear:Mi},Gi=R.f,Ji=Yi.set,Qi=i.MutationObserver||i.WebKitMutationObserver,Zi=i.process,er=i.Promise,tr="process"==d(Zi),nr=Gi(i,"queueMicrotask"),ir=nr&&nr.value;ir||(zi=function(){var e,t;for(tr&&(e=Zi.domain)&&e.exit();qi;){t=qi.fn,qi=qi.next;try{t()}catch(e){throw qi?Vi():_i=void 0,e}}_i=void 0,e&&e.enter()},tr?Vi=function(){Zi.nextTick(zi)}:Qi&&!Ci?(Wi=!0,Ki=document.createTextNode(""),new Qi(zi).observe(Ki,{characterData:!0}),Vi=function(){Ki.data=Wi=!Wi}):er&&er.resolve?($i=er.resolve(void 0),Xi=$i.then,Vi=function(){Xi.call($i,zi)}):Vi=function(){Ji.call(i,zi)});var rr,ar,or,sr,lr=ir||function(e){var t={fn:e,next:void 0};_i&&(_i.next=t),qi||(qi=t,Vi()),_i=t},cr=function(e){var t,n;this.promise=new e((function(e,i){if(void 0!==t||void 0!==n)throw TypeError("Bad Promise constructor");t=e,n=i})),this.resolve=et(t),this.reject=et(n)},ur={f:function(e){return new cr(e)}},dr=function(e,t){if(x(e),p(t)&&t.constructor===e)return t;var n=ur.f(e);return(0,n.resolve)(t),n.promise},hr=function(e){try{return{error:!1,value:e()}}catch(e){return{error:!0,value:e}}},fr=Yi.set,vr=Fe("species"),gr="Promise",pr=ee.get,mr=ee.set,yr=ee.getterFor(gr),br=ki,wr=i.TypeError,Sr=i.document,Er=i.process,kr=re("fetch"),Ar=ur.f,Rr=Ar,xr="process"==d(Er),Lr=!!(Sr&&Sr.createEvent&&i.dispatchEvent),Cr=Pe(gr,(function(){if(!(j(br)!==String(br))){if(66===$e)return!0;if(!xr&&"function"!=typeof PromiseRejectionEvent)return!0}if($e>=51&&/native code/.test(br))return!1;var e=br.resolve(1),t=function(e){e((function(){}),(function(){}))};return(e.constructor={})[vr]=t,!(e.then((function(){}))instanceof t)})),Pr=Cr||!Un((function(e){br.all(e).catch((function(){}))})),Nr=function(e){var t;return!(!p(e)||"function"!=typeof(t=e.then))&&t},Mr=function(e,t,n){if(!t.notified){t.notified=!0;var i=t.reactions;lr((function(){for(var r=t.value,a=1==t.state,o=0;i.length>o;){var s,l,c,u=i[o++],d=a?u.ok:u.fail,h=u.resolve,f=u.reject,v=u.domain;try{d?(a||(2===t.rejection&&Dr(e,t),t.rejection=1),!0===d?s=r:(v&&v.enter(),s=d(r),v&&(v.exit(),c=!0)),s===u.promise?f(wr("Promise-chain cycle")):(l=Nr(s))?l.call(s,h,f):h(s)):f(r)}catch(e){v&&!c&&v.exit(),f(e)}}t.reactions=[],t.notified=!1,n&&!t.rejection&&Or(e,t)}))}},Ir=function(e,t,n){var r,a;Lr?((r=Sr.createEvent("Event")).promise=t,r.reason=n,r.initEvent(e,!1,!0),i.dispatchEvent(r)):r={promise:t,reason:n},(a=i["on"+e])?a(r):"unhandledrejection"===e&&function(e,t){var n=i.console;n&&n.error&&(1===arguments.length?n.error(e):n.error(e,t))}("Unhandled promise rejection",n)},Or=function(e,t){fr.call(i,(function(){var n,i=t.value;if(Tr(t)&&(n=hr((function(){xr?Er.emit("unhandledRejection",i,e):Ir("unhandledrejection",e,i)})),t.rejection=xr||Tr(t)?2:1,n.error))throw n.value}))},Tr=function(e){return 1!==e.rejection&&!e.parent},Dr=function(e,t){fr.call(i,(function(){xr?Er.emit("rejectionHandled",e):Ir("rejectionhandled",e,t.value)}))},jr=function(e,t,n,i){return function(r){e(t,n,r,i)}},Hr=function(e,t,n,i){t.done||(t.done=!0,i&&(t=i),t.value=n,t.state=2,Mr(e,t,!0))},Ur=function(e,t,n,i){if(!t.done){t.done=!0,i&&(t=i);try{if(e===n)throw wr("Promise can't be resolved itself");var r=Nr(n);r?lr((function(){var i={done:!1};try{r.call(n,jr(Ur,e,i,t),jr(Hr,e,i,t))}catch(n){Hr(e,i,n,t)}})):(t.value=n,t.state=1,Mr(e,t,!1))}catch(n){Hr(e,{done:!1},n,t)}}};Cr&&(br=function(e){!function(e,t,n){if(!(e instanceof t))throw TypeError("Incorrect "+(n?n+" ":"")+"invocation")}(this,br,gr),et(e),rr.call(this);var t=pr(this);try{e(jr(Ur,this,t),jr(Hr,this,t))}catch(e){Hr(this,t,e)}},(rr=function(e){mr(this,{type:gr,done:!1,notified:!1,parent:!1,reactions:[],rejection:!1,state:0,value:void 0})}).prototype=function(e,t,n){for(var i in t)te(e,i,t[i],n);return e}(br.prototype,{then:function(e,t){var n=yr(this),i=Ar(Li(this,br));return i.ok="function"!=typeof e||e,i.fail="function"==typeof t&&t,i.domain=xr?Er.domain:void 0,n.parent=!0,n.reactions.push(i),0!=n.state&&Mr(this,n,!1),i.promise},catch:function(e){return this.then(void 0,e)}}),ar=function(){var e=new rr,t=pr(e);this.promise=e,this.resolve=jr(Ur,e,t),this.reject=jr(Hr,e,t)},ur.f=Ar=function(e){return e===br||e===or?new ar(e):Rr(e)},"function"==typeof ki&&(sr=ki.prototype.then,te(ki.prototype,"then",(function(e,t){var n=this;return new br((function(e,t){sr.call(n,e,t)})).then(e,t)}),{unsafe:!0}),"function"==typeof kr&&Me({global:!0,enumerable:!0,forced:!0},{fetch:function(e){return dr(br,kr.apply(i,arguments))}}))),Me({global:!0,wrap:!0,forced:Cr},{Promise:br}),Ht(br,gr,!1),function(e){var t=re(e),n=C.f;a&&t&&!t[Ai]&&n(t,Ai,{configurable:!0,get:function(){return this}})}(gr),or=re(gr),Me({target:gr,stat:!0,forced:Cr},{reject:function(e){var t=Ar(this);return t.reject.call(void 0,e),t.promise}}),Me({target:gr,stat:!0,forced:Cr},{resolve:function(e){return dr(this,e)}}),Me({target:gr,stat:!0,forced:Pr},{all:function(e){var t=this,n=Ar(t),i=n.resolve,r=n.reject,a=hr((function(){var n=et(t.resolve),a=[],o=0,s=1;Ri(e,(function(e){var l=o++,c=!1;a.push(void 0),s++,n.call(t,e).then((function(e){c||(c=!0,a[l]=e,--s||i(a))}),r)})),--s||i(a)}));return a.error&&r(a.value),n.promise},race:function(e){var t=this,n=Ar(t),i=n.reject,r=hr((function(){var r=et(t.resolve);Ri(e,(function(e){r.call(t,e).then(n.resolve,i)}))}));return r.error&&i(r.value),n.promise}});var Br=function(){var e=x(this),t="";return e.global&&(t+="g"),e.ignoreCase&&(t+="i"),e.multiline&&(t+="m"),e.dotAll&&(t+="s"),e.unicode&&(t+="u"),e.sticky&&(t+="y"),t};function Fr(e,t){return RegExp(e,t)}var zr,qr,_r={UNSUPPORTED_Y:r((function(){var e=Fr("a","y");return e.lastIndex=2,null!=e.exec("abcd")})),BROKEN_CARET:r((function(){var e=Fr("^r","gy");return e.lastIndex=2,null!=e.exec("str")}))},Vr=RegExp.prototype.exec,Wr=String.prototype.replace,Kr=Vr,$r=(zr=/a/,qr=/b*/g,Vr.call(zr,"a"),Vr.call(qr,"a"),0!==zr.lastIndex||0!==qr.lastIndex),Xr=_r.UNSUPPORTED_Y||_r.BROKEN_CARET,Yr=void 0!==/()??/.exec("")[1];($r||Yr||Xr)&&(Kr=function(e){var t,n,i,r,a=this,o=Xr&&a.sticky,s=Br.call(a),l=a.source,c=0,u=e;return o&&(-1===(s=s.replace("y","")).indexOf("g")&&(s+="g"),u=String(e).slice(a.lastIndex),a.lastIndex>0&&(!a.multiline||a.multiline&&"\n"!==e[a.lastIndex-1])&&(l="(?: "+l+")",u=" "+u,c++),n=new RegExp("^(?:"+l+")",s)),Yr&&(n=new RegExp("^"+l+"$(?!\\s)",s)),$r&&(t=a.lastIndex),i=Vr.call(o?n:a,u),o?i?(i.input=i.input.slice(c),i[0]=i[0].slice(c),i.index=a.lastIndex,a.lastIndex+=i[0].length):a.lastIndex=0:$r&&i&&(a.lastIndex=a.global?i.index+i[0].length:t),Yr&&i&&i.length>1&&Wr.call(i[0],n,(function(){for(r=1;r<arguments.length-2;r++)void 0===arguments[r]&&(i[r]=void 0)})),i});var Gr=Kr;Me({target:"RegExp",proto:!0,forced:/./.exec!==Gr},{exec:Gr});var Jr,Qr,Zr,ea=function(e){return function(t,n){var i,r,a=String(v(t)),o=se(n),s=a.length;return o<0||o>=s?e?"":void 0:(i=a.charCodeAt(o))<55296||i>56319||o+1===s||(r=a.charCodeAt(o+1))<56320||r>57343?e?a.charAt(o):i:e?a.slice(o,o+2):r-56320+(i-55296<<10)+65536}},ta={codeAt:ea(!1),charAt:ea(!0)},na=!r((function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype})),ia=V("IE_PROTO"),ra=Object.prototype,aa=na?Object.getPrototypeOf:function(e){return e=Oe(e),b(e,ia)?e[ia]:"function"==typeof e.constructor&&e instanceof e.constructor?e.constructor.prototype:e instanceof Object?ra:null},oa=Fe("iterator"),sa=!1;[].keys&&("next"in(Zr=[].keys())?(Qr=aa(aa(Zr)))!==Object.prototype&&(Jr=Qr):sa=!0),null==Jr&&(Jr={}),b(Jr,oa)||P(Jr,oa,(function(){return this}));var la={IteratorPrototype:Jr,BUGGY_SAFARI_ITERATORS:sa},ca=la.IteratorPrototype,ua=function(){return this},da=la.IteratorPrototype,ha=la.BUGGY_SAFARI_ITERATORS,fa=Fe("iterator"),va=function(){return this},ga=ta.charAt,pa=ee.set,ma=ee.getterFor("String Iterator");!function(e,t,n,i,r,a,o){!function(e,t,n){var i=t+" Iterator";e.prototype=Ct(ca,{next:c(1,n)}),Ht(e,i,!1),kn[i]=ua}(n,t,i);var s,l,u,d=function(e){if(e===r&&p)return p;if(!ha&&e in v)return v[e];switch(e){case"keys":case"values":case"entries":return function(){return new n(this,e)}}return function(){return new n(this)}},h=t+" Iterator",f=!1,v=e.prototype,g=v[fa]||v["@@iterator"]||r&&v[r],p=!ha&&g||d(r),m="Array"==t&&v.entries||g;if(m&&(s=aa(m.call(new e)),da!==Object.prototype&&s.next&&(aa(s)!==da&&(Zn?Zn(s,da):"function"!=typeof s[fa]&&P(s,fa,va)),Ht(s,h,!0))),"values"==r&&g&&"values"!==g.name&&(f=!0,p=function(){return g.call(this)}),v[fa]!==p&&P(v,fa,p),kn[t]=p,r)if(l={values:d("values"),keys:a?p:d("keys"),entries:d("entries")},o)for(u in l)(ha||f||!(u in v))&&te(v,u,l[u]);else Me({target:t,proto:!0,forced:ha||f},l)}(String,"String",(function(e){pa(this,{type:"String Iterator",string:String(e),index:0})}),(function(){var e,t=ma(this),n=t.string,i=t.index;return i>=n.length?{value:void 0,done:!0}:(e=ga(n,i),t.index+=e.length,{value:e,done:!1})}));var ya=Fe("species"),ba=!r((function(){var e=/./;return e.exec=function(){var e=[];return e.groups={a:"7"},e},"7"!=="".replace(e,"$<a>")})),wa="$0"==="a".replace(/./,"$0"),Sa=Fe("replace"),Ea=!!/./[Sa]&&""===/./[Sa]("a","$0"),ka=!r((function(){var e=/(?:)/,t=e.exec;e.exec=function(){return t.apply(this,arguments)};var n="ab".split(e);return 2!==n.length||"a"!==n[0]||"b"!==n[1]})),Aa=function(e,t,n,i){var a=Fe(e),o=!r((function(){var t={};return t[a]=function(){return 7},7!=""[e](t)})),s=o&&!r((function(){var t=!1,n=/a/;return"split"===e&&((n={}).constructor={},n.constructor[ya]=function(){return n},n.flags="",n[a]=/./[a]),n.exec=function(){return t=!0,null},n[a](""),!t}));if(!o||!s||"replace"===e&&(!ba||!wa||Ea)||"split"===e&&!ka){var l=/./[a],c=n(a,""[e],(function(e,t,n,i,r){return t.exec===Gr?o&&!r?{done:!0,value:l.call(t,n,i)}:{done:!0,value:e.call(n,t,i)}:{done:!1}}),{REPLACE_KEEPS_$0:wa,REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE:Ea}),u=c[0],d=c[1];te(String.prototype,e,u),te(RegExp.prototype,a,2==t?function(e,t){return d.call(e,this,t)}:function(e){return d.call(e,this)})}i&&P(RegExp.prototype[a],"sham",!0)},Ra=ta.charAt,xa=function(e,t,n){return t+(n?Ra(e,t).length:1)},La=function(e,t){var n=e.exec;if("function"==typeof n){var i=n.call(e,t);if("object"!=typeof i)throw TypeError("RegExp exec method returned something other than an Object or null");return i}if("RegExp"!==d(e))throw TypeError("RegExp#exec called on incompatible receiver");return Gr.call(e,t)};Aa("match",1,(function(e,t,n){return[function(t){var n=v(this),i=null==t?void 0:t[e];return void 0!==i?i.call(t,n):new RegExp(t)[e](String(n))},function(e){var i=n(t,e,this);if(i.done)return i.value;var r=x(e),a=String(this);if(!r.global)return La(r,a);var o=r.unicode;r.lastIndex=0;for(var s,l=[],c=0;null!==(s=La(r,a));){var u=String(s[0]);l[c]=u,""===u&&(r.lastIndex=xa(a,ce(r.lastIndex),o)),c++}return 0===c?null:l}]}));var Ca=Fe("match"),Pa=[].push,Na=Math.min,Ma=!r((function(){return!RegExp(4294967295,"y")}));Aa("split",2,(function(e,t,n){var i;return i="c"=="abbc".split(/(b)*/)[1]||4!="test".split(/(?:)/,-1).length||2!="ab".split(/(?:ab)*/).length||4!=".".split(/(.?)(.?)/).length||".".split(/()()/).length>1||"".split(/.?/).length?function(e,n){var i,r,a=String(v(this)),o=void 0===n?4294967295:n>>>0;if(0===o)return[];if(void 0===e)return[a];if(!p(i=e)||!(void 0!==(r=i[Ca])?r:"RegExp"==d(i)))return t.call(a,e,o);for(var s,l,c,u=[],h=(e.ignoreCase?"i":"")+(e.multiline?"m":"")+(e.unicode?"u":"")+(e.sticky?"y":""),f=0,g=new RegExp(e.source,h+"g");(s=Gr.call(g,a))&&!((l=g.lastIndex)>f&&(u.push(a.slice(f,s.index)),s.length>1&&s.index<a.length&&Pa.apply(u,s.slice(1)),c=s[0].length,f=l,u.length>=o));)g.lastIndex===s.index&&g.lastIndex++;return f===a.length?!c&&g.test("")||u.push(""):u.push(a.slice(f)),u.length>o?u.slice(0,o):u}:"0".split(void 0,0).length?function(e,n){return void 0===e&&0===n?[]:t.call(this,e,n)}:t,[function(t,n){var r=v(this),a=null==t?void 0:t[e];return void 0!==a?a.call(t,r,n):i.call(String(r),t,n)},function(e,r){var a=n(i,e,this,r,i!==t);if(a.done)return a.value;var o=x(e),s=String(this),l=Li(o,RegExp),c=o.unicode,u=(o.ignoreCase?"i":"")+(o.multiline?"m":"")+(o.unicode?"u":"")+(Ma?"y":"g"),d=new l(Ma?o:"^(?:"+o.source+")",u),h=void 0===r?4294967295:r>>>0;if(0===h)return[];if(0===s.length)return null===La(d,s)?[s]:[];for(var f=0,v=0,g=[];v<s.length;){d.lastIndex=Ma?v:0;var p,m=La(d,Ma?s:s.slice(v));if(null===m||(p=Na(ce(d.lastIndex+(Ma?0:v)),s.length))===f)v=xa(s,v,c);else{if(g.push(s.slice(f,v)),g.length===h)return g;for(var y=1;y<=m.length-1;y++)if(g.push(m[y]),g.length===h)return g;v=f=p}}return g.push(s.slice(f)),g}]}),!Ma);var Ia,Oa=oi.trim;Me({target:"String",proto:!0,forced:(Ia="trim",r((function(){return!!ti[Ia]()||"
"!="
"[Ia]()||ti[Ia].name!==Ia})))},{trim:function(){return Oa(this)}});for(var Ta in{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}){var Da=i[Ta],ja=Da&&Da.prototype;if(ja&&ja.forEach!==ft)try{P(ja,"forEach",ft)}catch(e){ja.forEach=ft}}function Ha(e){return(Ha="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function Ua(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ba(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}function Fa(e,t,n){return t&&Ba(e.prototype,t),n&&Ba(e,n),e}function za(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function qa(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,i)}return n}function _a(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?qa(Object(n),!0).forEach((function(t){za(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):qa(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Va(e){return function(e){if(Array.isArray(e))return Wa(e)}(e)||function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return Wa(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Wa(e,t)}(e)||function(){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 Wa(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,i=new Array(t);n<t;n++)i[n]=e[n];return i}var Ka=/registerPlugin|registerKeyboardShortcut|addKeyBinding|addEventListener/,$a=/fade-(down|up|right|left|out|in-then-out|in-then-semi-out)|semi-fade-out|current-visible|shrink|grow/,Xa=Math.max,Ya=Math.min,Ga=Math.floor,Ja=/\$([$&'`]|\d\d?|<[^>]*>)/g,Qa=/\$([$&'`]|\d\d?)/g;Aa("replace",2,(function(e,t,n,i){var r=i.REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE,a=i.REPLACE_KEEPS_$0,o=r?"$":"$0";return[function(n,i){var r=v(this),a=null==n?void 0:n[e];return void 0!==a?a.call(n,r,i):t.call(String(r),n,i)},function(e,i){if(!r&&a||"string"==typeof i&&-1===i.indexOf(o)){var l=n(t,e,this,i);if(l.done)return l.value}var c=x(e),u=String(this),d="function"==typeof i;d||(i=String(i));var h=c.global;if(h){var f=c.unicode;c.lastIndex=0}for(var v=[];;){var g=La(c,u);if(null===g)break;if(v.push(g),!h)break;""===String(g[0])&&(c.lastIndex=xa(u,ce(c.lastIndex),f))}for(var p,m="",y=0,b=0;b<v.length;b++){g=v[b];for(var w=String(g[0]),S=Xa(Ya(se(g.index),u.length),0),E=[],k=1;k<g.length;k++)E.push(void 0===(p=g[k])?p:String(p));var A=g.groups;if(d){var R=[w].concat(E,S,u);void 0!==A&&R.push(A);var L=String(i.apply(void 0,R))}else L=s(w,u,S,E,A,i);S>=y&&(m+=u.slice(y,S)+L,y=S+w.length)}return m+u.slice(y)}];function s(e,n,i,r,a,o){var s=i+e.length,l=r.length,c=Qa;return void 0!==a&&(a=Oe(a),c=Ja),t.call(o,c,(function(t,o){var c;switch(o.charAt(0)){case"$":return"$";case"&":return e;case"`":return n.slice(0,i);case"'":return n.slice(s);case"<":c=a[o.slice(1,-1)];break;default:var u=+o;if(0===u)return t;if(u>l){var d=Ga(u/10);return 0===d?t:d<=l?void 0===r[d-1]?o.charAt(1):r[d-1]+o.charAt(1):t}c=r[u-1]}return void 0===c?"":c}))}}));var Za=Object.is||function(e,t){return e===t?0!==e||1/e==1/t:e!=e&&t!=t};Aa("search",1,(function(e,t,n){return[function(t){var n=v(this),i=null==t?void 0:t[e];return void 0!==i?i.call(t,n):new RegExp(t)[e](String(n))},function(e){var i=n(t,e,this);if(i.done)return i.value;var r=x(e),a=String(this),o=r.lastIndex;Za(o,0)||(r.lastIndex=0);var s=La(r,a);return Za(r.lastIndex,o)||(r.lastIndex=o),null===s?-1:s.index}]}));var eo=function(e,t){for(var n in t)e[n]=t[n];return e},to=function(e,t){return Array.from(e.querySelectorAll(t))},no=function(e,t,n){n?e.classList.add(t):e.classList.remove(t)},io=function(e){if("string"==typeof e){if("null"===e)return null;if("true"===e)return!0;if("false"===e)return!1;if(e.match(/^-?[\d\.]+$/))return parseFloat(e)}return e},ro=function(e,t){e.style.transform=t},ao=function(e,t){var n=e.matches||e.matchesSelector||e.msMatchesSelector;return!(!n||!n.call(e,t))},oo=function(e,t){if("function"==typeof e.closest)return e.closest(t);for(;e;){if(ao(e,t))return e;e=e.parentNode}return null},so=function(e,t,n){for(var i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"",r=e.querySelectorAll("."+n),a=0;a<r.length;a++){var o=r[a];if(o.parentNode===e)return o}var s=document.createElement(t);return s.className=n,s.innerHTML=i,e.appendChild(s),s},lo=function(e){var t=document.createElement("style");return t.type="text/css",e&&e.length>0&&(t.styleSheet?t.styleSheet.cssText=e:t.appendChild(document.createTextNode(e))),document.head.appendChild(t),t},co=function(){var e={};for(var t in location.search.replace(/[A-Z0-9]+?=([\w\.%-]*)/gi,(function(t){e[t.split("=").shift()]=t.split("=").pop()})),e){var n=e[t];e[t]=io(unescape(n))}return void 0!==e.dependencies&&delete e.dependencies,e},uo=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;if(e){var n,i=e.style.height;return e.style.height="0px",e.parentNode.style.height="auto",n=t-e.parentNode.offsetHeight,e.style.height=i+"px",e.parentNode.style.removeProperty("height"),n}return t},ho=navigator.userAgent,fo=document.createElement("div"),vo=/(iphone|ipod|ipad|android)/gi.test(ho)||"MacIntel"===navigator.platform&&navigator.maxTouchPoints>1,go=/chrome/i.test(ho)&&!/edge/i.test(ho),po=/android/gi.test(ho),mo="zoom"in fo.style&&!vo&&(go||/Version\/[\d\.]+.*Safari/.test(ho)),yo="function"==typeof window.history.replaceState&&!/PhantomJS/.test(ho),bo=function(){function e(t){Ua(this,e),this.Reveal=t,this.startEmbeddedIframe=this.startEmbeddedIframe.bind(this)}return Fa(e,[{key:"shouldPreload",value:function(e){var t=this.Reveal.getConfig().preloadIframes;return"boolean"!=typeof t&&(t=e.hasAttribute("data-preload")),t}},{key:"load",value:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};e.style.display=this.Reveal.getConfig().display,to(e,"img[data-src], video[data-src], audio[data-src], iframe[data-src]").forEach((function(e){("IFRAME"!==e.tagName||t.shouldPreload(e))&&(e.setAttribute("src",e.getAttribute("data-src")),e.setAttribute("data-lazy-loaded",""),e.removeAttribute("data-src"))})),to(e,"video, audio").forEach((function(e){var t=0;to(e,"source[data-src]").forEach((function(e){e.setAttribute("src",e.getAttribute("data-src")),e.removeAttribute("data-src"),e.setAttribute("data-lazy-loaded",""),t+=1})),t>0&&e.load()}));var i=e.slideBackgroundElement;if(i){i.style.display="block";var r=e.slideBackgroundContentElement,a=e.getAttribute("data-background-iframe");if(!1===i.hasAttribute("data-loaded")){i.setAttribute("data-loaded","true");var o=e.getAttribute("data-background-image"),s=e.getAttribute("data-background-video"),l=e.hasAttribute("data-background-video-loop"),c=e.hasAttribute("data-background-video-muted");if(o)r.style.backgroundImage="url("+encodeURI(o)+")";else if(s&&!this.Reveal.isSpeakerNotes()){var u=document.createElement("video");l&&u.setAttribute("loop",""),c&&(u.muted=!0),vo&&(u.muted=!0,u.autoplay=!0,u.setAttribute("playsinline","")),s.split(",").forEach((function(e){u.innerHTML+='<source src="'+e+'">'})),r.appendChild(u)}else if(a&&!0!==n.excludeIframes){var d=document.createElement("iframe");d.setAttribute("allowfullscreen",""),d.setAttribute("mozallowfullscreen",""),d.setAttribute("webkitallowfullscreen",""),d.setAttribute("allow","autoplay"),d.setAttribute("data-src",a),d.style.width="100%",d.style.height="100%",d.style.maxHeight="100%",d.style.maxWidth="100%",r.appendChild(d)}}var h=r.querySelector("iframe[data-src]");h&&this.shouldPreload(i)&&!/autoplay=(1|true|yes)/gi.test(a)&&h.getAttribute("src")!==a&&h.setAttribute("src",a)}}},{key:"unload",value:function(e){e.style.display="none";var t=this.Reveal.getSlideBackground(e);t&&(t.style.display="none",to(t,"iframe[src]").forEach((function(e){e.removeAttribute("src")}))),to(e,"video[data-lazy-loaded][src], audio[data-lazy-loaded][src], iframe[data-lazy-loaded][src]").forEach((function(e){e.setAttribute("data-src",e.getAttribute("src")),e.removeAttribute("src")})),to(e,"video[data-lazy-loaded] source[src], audio source[src]").forEach((function(e){e.setAttribute("data-src",e.getAttribute("src")),e.removeAttribute("src")}))}},{key:"formatEmbeddedContent",value:function(){var e=this,t=function(t,n,i){to(e.Reveal.getSlidesElement(),"iframe["+t+'*="'+n+'"]').forEach((function(e){var n=e.getAttribute(t);n&&-1===n.indexOf(i)&&e.setAttribute(t,n+(/\?/.test(n)?"&":"?")+i)}))};t("src","youtube.com/embed/","enablejsapi=1"),t("data-src","youtube.com/embed/","enablejsapi=1"),t("src","player.vimeo.com/","api=1"),t("data-src","player.vimeo.com/","api=1")}},{key:"startEmbeddedContent",value:function(e){var t=this;e&&!this.Reveal.isSpeakerNotes()&&(to(e,'img[src$=".gif"]').forEach((function(e){e.setAttribute("src",e.getAttribute("src"))})),to(e,"video, audio").forEach((function(e){if(!oo(e,".fragment")||oo(e,".fragment.visible")){var n=t.Reveal.getConfig().autoPlayMedia;if("boolean"!=typeof n&&(n=e.hasAttribute("data-autoplay")||!!oo(e,".slide-background")),n&&"function"==typeof e.play)if(e.readyState>1)t.startEmbeddedMedia({target:e});else if(vo){var i=e.play();i&&"function"==typeof i.catch&&!1===e.controls&&i.catch((function(){e.controls=!0,e.addEventListener("play",(function(){e.controls=!1}))}))}else e.removeEventListener("loadeddata",t.startEmbeddedMedia),e.addEventListener("loadeddata",t.startEmbeddedMedia)}})),to(e,"iframe[src]").forEach((function(e){oo(e,".fragment")&&!oo(e,".fragment.visible")||t.startEmbeddedIframe({target:e})})),to(e,"iframe[data-src]").forEach((function(e){oo(e,".fragment")&&!oo(e,".fragment.visible")||e.getAttribute("src")!==e.getAttribute("data-src")&&(e.removeEventListener("load",t.startEmbeddedIframe),e.addEventListener("load",t.startEmbeddedIframe),e.setAttribute("src",e.getAttribute("data-src")))})))}},{key:"startEmbeddedMedia",value:function(e){var t=!!oo(e.target,"html"),n=!!oo(e.target,".present");t&&n&&(e.target.currentTime=0,e.target.play()),e.target.removeEventListener("loadeddata",this.startEmbeddedMedia)}},{key:"startEmbeddedIframe",value:function(e){var t=e.target;if(t&&t.contentWindow){var n=!!oo(e.target,"html"),i=!!oo(e.target,".present");if(n&&i){var r=this.Reveal.getConfig().autoPlayMedia;"boolean"!=typeof r&&(r=t.hasAttribute("data-autoplay")||!!oo(t,".slide-background")),/youtube\.com\/embed\
|