UNPKG

reveal.js

Version:

The HTML Presentation Framework

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