revproxy-presentation/dist/reveal.esm.js
2020-05-26 10:45:05 +02:00

10 lines
118 KiB
JavaScript
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

/*!
* reveal.js 4.0.1
* https://revealjs.com
* MIT licensed
*
* Copyright (C) 2020 Hakim El Hattab, https://hakim.se
*/
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,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={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},o=function(e){try{return!!e()}catch(e){return!0}},s={}.toString,l=function(e){return s.call(e).slice(8,-1)},c="".split,u=o((function(){return!Object("z").propertyIsEnumerable(0)}))?function(e){return"String"==l(e)?c.call(e,""):Object(e)}:Object,d=function(e){if(null==e)throw TypeError("Can't call method on "+e);return e},h=function(e){return u(d(e))},f=!o((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]})),v=function(e){return"object"==typeof e?null!==e:"function"==typeof e},g=r.document,p=v(g)&&v(g.createElement),m=function(e){return p?g.createElement(e):{}},y=!f&&!o((function(){return 7!=Object.defineProperty(m("div"),"a",{get:function(){return 7}}).a})),b=function(e){if(!v(e))throw TypeError(String(e)+" is not an object");return e},w=function(e,t){if(!v(e))return e;var n,i;if(t&&"function"==typeof(n=e.toString)&&!v(i=n.call(e)))return i;if("function"==typeof(n=e.valueOf)&&!v(i=n.call(e)))return i;if(!t&&"function"==typeof(n=e.toString)&&!v(i=n.call(e)))return i;throw TypeError("Can't convert object to primitive value")},S=Object.defineProperty,E={f:f?S:function(e,t,n){if(b(e),t=w(t,!0),b(n),y)try{return S(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}},A=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}},R=f?function(e,t,n){return E.f(e,t,A(1,n))}:function(e,t,n){return e[t]=n,e},k=function(e,t){try{R(r,e,t)}catch(n){r[e]=t}return t},x=r["__core-js_shared__"]||k("__core-js_shared__",{}),L=t((function(e){(e.exports=function(e,t){return x[e]||(x[e]=void 0!==t?t:{})})("versions",[]).push({version:"3.6.5",mode:"global",copyright:"© 2020 Denis Pushkarev (zloirock.ru)"})})),C={}.hasOwnProperty,P=function(e,t){return C.call(e,t)},N=0,M=Math.random(),I=function(e){return"Symbol("+String(void 0===e?"":e)+")_"+(++N+M).toString(36)},T=!!Object.getOwnPropertySymbols&&!o((function(){return!String(Symbol())})),O=T&&!Symbol.sham&&"symbol"==typeof Symbol.iterator,D=L("wks"),j=r.Symbol,H=O?j:j&&j.withoutSetter||I,B=function(e){return P(D,e)||(T&&P(j,e)?D[e]=j[e]:D[e]=H("Symbol."+e)),D[e]},U=Math.ceil,F=Math.floor,z=function(e){return isNaN(e=+e)?0:(e>0?F:U)(e)},q=Math.min,_=function(e){return e>0?q(z(e),9007199254740991):0},V=Math.max,W=Math.min,K=function(e,t){var n=z(e);return n<0?V(n+t,0):W(n,t)},X=function(e){return function(t,n,i){var r,a=h(t),o=_(a.length),s=K(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}},$={includes:X(!0),indexOf:X(!1)},Y={},G=$.indexOf,J=function(e,t){var n,i=h(e),r=0,a=[];for(n in i)!P(Y,n)&&P(i,n)&&a.push(n);for(;t.length>r;)P(i,n=t[r++])&&(~G(a,n)||a.push(n));return a},Q=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],Z=Object.keys||function(e){return J(e,Q)},ee=f?Object.defineProperties:function(e,t){b(e);for(var n,i=Z(t),r=i.length,a=0;r>a;)E.f(e,n=i[a++],t[n]);return e},te=r,ne=function(e){return"function"==typeof e?e:void 0},ie=function(e,t){return arguments.length<2?ne(te[e])||ne(r[e]):te[e]&&te[e][t]||r[e]&&r[e][t]},re=ie("document","documentElement"),ae=L("keys"),oe=function(e){return ae[e]||(ae[e]=I(e))},se=oe("IE_PROTO"),le=function(){},ce=function(e){return"<script>"+e+"<\/script>"},ue=function(){try{n=document.domain&&new ActiveXObject("htmlfile")}catch(e){}var e,t;ue=n?function(e){e.write(ce("")),e.close();var t=e.parentWindow.Object;return e=null,t}(n):((t=m("iframe")).style.display="none",re.appendChild(t),t.src=String("javascript:"),(e=t.contentWindow.document).open(),e.write(ce("document.F=Object")),e.close(),e.F);for(var i=Q.length;i--;)delete ue.prototype[Q[i]];return ue()};Y[se]=!0;var de=Object.create||function(e,t){var n;return null!==e?(le.prototype=b(e),n=new le,le.prototype=null,n[se]=e):n=ue(),void 0===t?n:ee(n,t)},he=B("unscopables"),fe=Array.prototype;null==fe[he]&&E.f(fe,he,{configurable:!0,value:de(null)});var ve=function(e){fe[he][e]=!0},ge={},pe=Function.toString;"function"!=typeof x.inspectSource&&(x.inspectSource=function(e){return pe.call(e)});var me,ye,be,we=x.inspectSource,Se=r.WeakMap,Ee="function"==typeof Se&&/native code/.test(we(Se)),Ae=r.WeakMap;if(Ee){var Re=new Ae,ke=Re.get,xe=Re.has,Le=Re.set;me=function(e,t){return Le.call(Re,e,t),t},ye=function(e){return ke.call(Re,e)||{}},be=function(e){return xe.call(Re,e)}}else{var Ce=oe("state");Y[Ce]=!0,me=function(e,t){return R(e,Ce,t),t},ye=function(e){return P(e,Ce)?e[Ce]:{}},be=function(e){return P(e,Ce)}}var Pe,Ne,Me,Ie={set:me,get:ye,has:be,enforce:function(e){return be(e)?ye(e):me(e,{})},getterFor:function(e){return function(t){var n;if(!v(t)||(n=ye(t)).type!==e)throw TypeError("Incompatible receiver, "+e+" required");return n}}},Te={}.propertyIsEnumerable,Oe=Object.getOwnPropertyDescriptor,De={f:Oe&&!Te.call({1:2},1)?function(e){var t=Oe(this,e);return!!t&&t.enumerable}:Te},je=Object.getOwnPropertyDescriptor,He={f:f?je:function(e,t){if(e=h(e),t=w(t,!0),y)try{return je(e,t)}catch(e){}if(P(e,t))return A(!De.f.call(e,t),e[t])}},Be=t((function(e){var t=Ie.get,n=Ie.enforce,i=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||P(a,"name")||R(a,"name",t),n(a).source=i.join("string"==typeof t?t:"")),e!==r?(s?!c&&e[t]&&(l=!0):delete e[t],l?e[t]=a:R(e,t,a)):l?e[t]=a:k(t,a)})(Function.prototype,"toString",(function(){return"function"==typeof this&&t(this).source||we(this)}))})),Ue=Q.concat("length","prototype"),Fe={f:Object.getOwnPropertyNames||function(e){return J(e,Ue)}},ze={f:Object.getOwnPropertySymbols},qe=ie("Reflect","ownKeys")||function(e){var t=Fe.f(b(e)),n=ze.f;return n?t.concat(n(e)):t},_e=function(e,t){for(var n=qe(t),i=E.f,r=He.f,a=0;a<n.length;a++){var o=n[a];P(e,o)||i(e,o,r(t,o))}},Ve=/#|\.prototype\./,We=function(e,t){var n=Xe[Ke(e)];return n==Ye||n!=$e&&("function"==typeof t?o(t):!!t)},Ke=We.normalize=function(e){return String(e).replace(Ve,".").toLowerCase()},Xe=We.data={},$e=We.NATIVE="N",Ye=We.POLYFILL="P",Ge=We,Je=He.f,Qe=function(e,t){var n,i,a,o,s,l=e.target,c=e.global,u=e.stat;if(n=c?r:u?r[l]||k(l,{}):(r[l]||{}).prototype)for(i in t){if(o=t[i],a=e.noTargetGet?(s=Je(n,i))&&s.value:n[i],!Ge(c?i:l+(u?".":"#")+i,e.forced)&&void 0!==a){if(typeof o==typeof a)continue;_e(o,a)}(e.sham||a&&a.sham)&&R(o,"sham",!0),Be(n,i,o,e)}},Ze=function(e){return Object(d(e))},et=!o((function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype})),tt=oe("IE_PROTO"),nt=Object.prototype,it=et?Object.getPrototypeOf:function(e){return e=Ze(e),P(e,tt)?e[tt]:"function"==typeof e.constructor&&e instanceof e.constructor?e.constructor.prototype:e instanceof Object?nt:null},rt=B("iterator"),at=!1;[].keys&&("next"in(Me=[].keys())?(Ne=it(it(Me)))!==Object.prototype&&(Pe=Ne):at=!0),null==Pe&&(Pe={}),P(Pe,rt)||R(Pe,rt,(function(){return this}));var ot={IteratorPrototype:Pe,BUGGY_SAFARI_ITERATORS:at},st=E.f,lt=B("toStringTag"),ct=function(e,t,n){e&&!P(e=n?e:e.prototype,lt)&&st(e,lt,{configurable:!0,value:t})},ut=ot.IteratorPrototype,dt=function(){return this},ht=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 b(n),function(e){if(!v(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),ft=ot.IteratorPrototype,vt=ot.BUGGY_SAFARI_ITERATORS,gt=B("iterator"),pt=function(){return this},mt=function(e,t,n,i,r,a,o){!function(e,t,n){var i=t+" Iterator";e.prototype=de(ut,{next:A(1,n)}),ct(e,i,!1),ge[i]=dt}(n,t,i);var s,l,c,u=function(e){if(e===r&&g)return g;if(!vt&&e in f)return f[e];switch(e){case"keys":case"values":case"entries":return function(){return new n(this,e)}}return function(){return new n(this)}},d=t+" Iterator",h=!1,f=e.prototype,v=f[gt]||f["@@iterator"]||r&&f[r],g=!vt&&v||u(r),p="Array"==t&&f.entries||v;if(p&&(s=it(p.call(new e)),ft!==Object.prototype&&s.next&&(it(s)!==ft&&(ht?ht(s,ft):"function"!=typeof s[gt]&&R(s,gt,pt)),ct(s,d,!0))),"values"==r&&v&&"values"!==v.name&&(h=!0,g=function(){return v.call(this)}),f[gt]!==g&&R(f,gt,g),ge[t]=g,r)if(l={values:u("values"),keys:a?g:u("keys"),entries:u("entries")},o)for(c in l)(vt||h||!(c in f))&&Be(f,c,l[c]);else Qe({target:t,proto:!0,forced:vt||h},l);return l},yt=Ie.set,bt=Ie.getterFor("Array Iterator"),wt=mt(Array,"Array",(function(e,t){yt(this,{type:"Array Iterator",target:h(e),index:0,kind:t})}),(function(){var e=bt(this),t=e.target,n=e.kind,i=e.index++;return!t||i>=t.length?(e.target=void 0,{value:void 0,done:!0}):"keys"==n?{value:i,done:!1}:"values"==n?{value:t[i],done:!1}:{value:[i,t[i]],done:!1}}),"values");ge.Arguments=ge.Array,ve("keys"),ve("values"),ve("entries");var St=B("iterator"),Et=B("toStringTag"),At=wt.values;for(var Rt in a){var kt=r[Rt],xt=kt&&kt.prototype;if(xt){if(xt[St]!==At)try{R(xt,St,At)}catch(e){xt[St]=At}if(xt[Et]||R(xt,Et,Rt),a[Rt])for(var Lt in wt)if(xt[Lt]!==wt[Lt])try{R(xt,Lt,wt[Lt])}catch(e){xt[Lt]=wt[Lt]}}}var Ct=Array.isArray||function(e){return"Array"==l(e)},Pt=Fe.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(h(e))}},Tt={f:B},Ot=E.f,Dt=function(e){if("function"!=typeof e)throw TypeError(String(e)+" is not a function");return e},jt=function(e,t,n){if(Dt(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)}},Ht=B("species"),Bt=function(e,t){var n;return Ct(e)&&("function"!=typeof(n=e.constructor)||n!==Array&&!Ct(n.prototype)?v(n)&&null===(n=n[Ht])&&(n=void 0):n=void 0),new(void 0===n?Array:n)(0===t?0:t)},Ut=[].push,Ft=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,d){for(var h,f,v=Ze(s),g=u(v),p=jt(l,c,3),m=_(g.length),y=0,b=d||Bt,w=t?b(s,m):n?b(s,0):void 0;m>y;y++)if((o||y in g)&&(f=p(h=g[y],y,v),e))if(t)w[y]=f;else if(f)switch(e){case 3:return!0;case 5:return h;case 6:return y;case 2:Ut.call(w,h)}else if(r)return!1;return a?-1:i||r?r:w}},zt={forEach:Ft(0),map:Ft(1),filter:Ft(2),some:Ft(3),every:Ft(4),find:Ft(5),findIndex:Ft(6)},qt=zt.forEach,_t=oe("hidden"),Vt=B("toPrimitive"),Wt=Ie.set,Kt=Ie.getterFor("Symbol"),Xt=Object.prototype,$t=r.Symbol,Yt=ie("JSON","stringify"),Gt=He.f,Jt=E.f,Qt=It.f,Zt=De.f,en=L("symbols"),tn=L("op-symbols"),nn=L("string-to-symbol-registry"),rn=L("symbol-to-string-registry"),an=L("wks"),on=r.QObject,sn=!on||!on.prototype||!on.prototype.findChild,ln=f&&o((function(){return 7!=de(Jt({},"a",{get:function(){return Jt(this,"a",{value:7}).a}})).a}))?function(e,t,n){var i=Gt(Xt,t);i&&delete Xt[t],Jt(e,t,n),i&&e!==Xt&&Jt(Xt,t,i)}:Jt,cn=function(e,t){var n=en[e]=de($t.prototype);return Wt(n,{type:"Symbol",tag:e,description:t}),f||(n.description=t),n},un=O?function(e){return"symbol"==typeof e}:function(e){return Object(e)instanceof $t},dn=function(e,t,n){e===Xt&&dn(tn,t,n),b(e);var i=w(t,!0);return b(n),P(en,i)?(n.enumerable?(P(e,_t)&&e[_t][i]&&(e[_t][i]=!1),n=de(n,{enumerable:A(0,!1)})):(P(e,_t)||Jt(e,_t,A(1,{})),e[_t][i]=!0),ln(e,i,n)):Jt(e,i,n)},hn=function(e,t){b(e);var n=h(t),i=Z(n).concat(pn(n));return qt(i,(function(t){f&&!fn.call(n,t)||dn(e,t,n[t])})),e},fn=function(e){var t=w(e,!0),n=Zt.call(this,t);return!(this===Xt&&P(en,t)&&!P(tn,t))&&(!(n||!P(this,t)||!P(en,t)||P(this,_t)&&this[_t][t])||n)},vn=function(e,t){var n=h(e),i=w(t,!0);if(n!==Xt||!P(en,i)||P(tn,i)){var r=Gt(n,i);return!r||!P(en,i)||P(n,_t)&&n[_t][i]||(r.enumerable=!0),r}},gn=function(e){var t=Qt(h(e)),n=[];return qt(t,(function(e){P(en,e)||P(Y,e)||n.push(e)})),n},pn=function(e){var t=e===Xt,n=Qt(t?tn:h(e)),i=[];return qt(n,(function(e){!P(en,e)||t&&!P(Xt,e)||i.push(en[e])})),i};if(T||(Be(($t=function(){if(this instanceof $t)throw TypeError("Symbol is not a constructor");var e=arguments.length&&void 0!==arguments[0]?String(arguments[0]):void 0,t=I(e),n=function(e){this===Xt&&n.call(tn,e),P(this,_t)&&P(this[_t],t)&&(this[_t][t]=!1),ln(this,t,A(1,e))};return f&&sn&&ln(Xt,t,{configurable:!0,set:n}),cn(t,e)}).prototype,"toString",(function(){return Kt(this).tag})),Be($t,"withoutSetter",(function(e){return cn(I(e),e)})),De.f=fn,E.f=dn,He.f=vn,Fe.f=It.f=gn,ze.f=pn,Tt.f=function(e){return cn(B(e),e)},f&&(Jt($t.prototype,"description",{configurable:!0,get:function(){return Kt(this).description}}),Be(Xt,"propertyIsEnumerable",fn,{unsafe:!0}))),Qe({global:!0,wrap:!0,forced:!T,sham:!T},{Symbol:$t}),qt(Z(an),(function(e){!function(e){var t=te.Symbol||(te.Symbol={});P(t,e)||Ot(t,e,{value:Tt.f(e)})}(e)})),Qe({target:"Symbol",stat:!0,forced:!T},{for:function(e){var t=String(e);if(P(nn,t))return nn[t];var n=$t(t);return nn[t]=n,rn[n]=t,n},keyFor:function(e){if(!un(e))throw TypeError(e+" is not a symbol");if(P(rn,e))return rn[e]},useSetter:function(){sn=!0},useSimple:function(){sn=!1}}),Qe({target:"Object",stat:!0,forced:!T,sham:!f},{create:function(e,t){return void 0===t?de(e):hn(de(e),t)},defineProperty:dn,defineProperties:hn,getOwnPropertyDescriptor:vn}),Qe({target:"Object",stat:!0,forced:!T},{getOwnPropertyNames:gn,getOwnPropertySymbols:pn}),Qe({target:"Object",stat:!0,forced:o((function(){ze.f(1)}))},{getOwnPropertySymbols:function(e){return ze.f(Ze(e))}}),Yt){var mn=!T||o((function(){var e=$t();return"[null]"!=Yt([e])||"{}"!=Yt({a:e})||"{}"!=Yt(Object(e))}));Qe({target:"JSON",stat:!0,forced:mn},{stringify:function(e,t,n){for(var i,r=[e],a=1;arguments.length>a;)r.push(arguments[a++]);if(i=t,(v(t)||void 0!==e)&&!un(e))return Ct(t)||(t=function(e,t){if("function"==typeof i&&(t=i.call(this,e,t)),!un(t))return t}),r[1]=t,Yt.apply(null,r)}})}$t.prototype[Vt]||R($t.prototype,Vt,$t.prototype.valueOf),ct($t,"Symbol"),Y[_t]=!0;var yn=E.f,bn=r.Symbol;if(f&&"function"==typeof bn&&(!("description"in bn.prototype)||void 0!==bn().description)){var wn={},Sn=function(){var e=arguments.length<1||void 0===arguments[0]?void 0:String(arguments[0]),t=this instanceof Sn?new bn(e):void 0===e?bn():bn(e);return""===e&&(wn[t]=!0),t};_e(Sn,bn);var En=Sn.prototype=bn.prototype;En.constructor=Sn;var An=En.toString,Rn="Symbol(test)"==String(bn("test")),kn=/^Symbol\((.*)\)[^)]+$/;yn(En,"description",{configurable:!0,get:function(){var e=v(this)?this.valueOf():this,t=An.call(e);if(P(wn,e))return"";var n=Rn?t.slice(7,-1):t.replace(kn,"$1");return""===n?void 0:n}}),Qe({global:!0,forced:!0},{Symbol:Sn})}var xn,Ln,Cn=function(e,t,n){var i=w(t);i in e?E.f(e,i,A(0,n)):e[i]=n},Pn=ie("navigator","userAgent")||"",Nn=r.process,Mn=Nn&&Nn.versions,In=Mn&&Mn.v8;In?Ln=(xn=In.split("."))[0]+xn[1]:Pn&&(!(xn=Pn.match(/Edge\/(\d+)/))||xn[1]>=74)&&(xn=Pn.match(/Chrome\/(\d+)/))&&(Ln=xn[1]);var Tn=Ln&&+Ln,On=B("species"),Dn=function(e){return Tn>=51||!o((function(){var t=[];return(t.constructor={})[On]=function(){return{foo:1}},1!==t[e](Boolean).foo}))},jn=B("isConcatSpreadable"),Hn=Tn>=51||!o((function(){var e=[];return e[jn]=!1,e.concat()[0]!==e})),Bn=Dn("concat"),Un=function(e){if(!v(e))return!1;var t=e[jn];return void 0!==t?!!t:Ct(e)};Qe({target:"Array",proto:!0,forced:!Hn||!Bn},{concat:function(e){var t,n,i,r,a,o=Ze(this),s=Bt(o,0),l=0;for(t=-1,i=arguments.length;t<i;t++)if(a=-1===t?o:arguments[t],Un(a)){if(l+(r=_(a.length))>9007199254740991)throw TypeError("Maximum allowed index exceeded");for(n=0;n<r;n++,l++)n in a&&Cn(s,l,a[n])}else{if(l>=9007199254740991)throw TypeError("Maximum allowed index exceeded");Cn(s,l++,a)}return s.length=l,s}});var Fn=function(e,t){var n=[][e];return!!n&&o((function(){n.call(null,t||function(){throw 1},1)}))},zn=Object.defineProperty,qn={},_n=function(e){throw e},Vn=function(e,t){if(P(qn,e))return qn[e];t||(t={});var n=[][e],i=!!P(t,"ACCESSORS")&&t.ACCESSORS,r=P(t,0)?t[0]:_n,a=P(t,1)?t[1]:void 0;return qn[e]=!!n&&!o((function(){if(i&&!f)return!0;var e={length:-1};i?zn(e,1,{enumerable:!0,get:_n}):e[1]=1,n.call(e,r,a)}))},Wn=zt.forEach,Kn=Fn("forEach"),Xn=Vn("forEach"),$n=Kn&&Xn?[].forEach:function(e){return Wn(this,e,arguments.length>1?arguments[1]:void 0)};Qe({target:"Array",proto:!0,forced:[].forEach!=$n},{forEach:$n});var Yn=function(e,t,n,i){try{return i?t(b(n)[0],n[1]):t(n)}catch(t){var r=e.return;throw void 0!==r&&b(r.call(e)),t}},Gn=B("iterator"),Jn=Array.prototype,Qn=function(e){return void 0!==e&&(ge.Array===e||Jn[Gn]===e)},Zn={};Zn[B("toStringTag")]="z";var ei="[object z]"===String(Zn),ti=B("toStringTag"),ni="Arguments"==l(function(){return arguments}()),ii=ei?l: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),ti))?n:ni?l(t):"Object"==(i=l(t))&&"function"==typeof t.callee?"Arguments":i},ri=B("iterator"),ai=function(e){if(null!=e)return e[ri]||e["@@iterator"]||ge[ii(e)]},oi=B("iterator"),si=!1;try{var li=0,ci={next:function(){return{done:!!li++}},return:function(){si=!0}};ci[oi]=function(){return this},Array.from(ci,(function(){throw 2}))}catch(e){}var ui=function(e,t){if(!t&&!si)return!1;var n=!1;try{var i={};i[oi]=function(){return{next:function(){return{done:n=!0}}}},e(i)}catch(e){}return n},di=!ui((function(e){Array.from(e)}));Qe({target:"Array",stat:!0,forced:di},{from:function(e){var t,n,i,r,a,o,s=Ze(e),l="function"==typeof this?this:Array,c=arguments.length,u=c>1?arguments[1]:void 0,d=void 0!==u,h=ai(s),f=0;if(d&&(u=jt(u,c>2?arguments[2]:void 0,2)),null==h||l==Array&&Qn(h))for(n=new l(t=_(s.length));t>f;f++)o=d?u(s[f],f):s[f],Cn(n,f,o);else for(a=(r=h.call(s)).next,n=new l;!(i=a.call(r)).done;f++)o=d?Yn(r,u,[i.value,f],!0):i.value,Cn(n,f,o);return n.length=f,n}});var hi=$.indexOf,fi=[].indexOf,vi=!!fi&&1/[1].indexOf(1,-0)<0,gi=Fn("indexOf"),pi=Vn("indexOf",{ACCESSORS:!0,1:0});Qe({target:"Array",proto:!0,forced:vi||!gi||!pi},{indexOf:function(e){return vi?fi.apply(this,arguments)||0:hi(this,e,arguments.length>1?arguments[1]:void 0)}});var mi=zt.map,yi=Dn("map"),bi=Vn("map");Qe({target:"Array",proto:!0,forced:!yi||!bi},{map:function(e){return mi(this,e,arguments.length>1?arguments[1]:void 0)}});var wi=Dn("splice"),Si=Vn("splice",{ACCESSORS:!0,0:0,1:2}),Ei=Math.max,Ai=Math.min;Qe({target:"Array",proto:!0,forced:!wi||!Si},{splice:function(e,t){var n,i,r,a,o,s,l=Ze(this),c=_(l.length),u=K(e,c),d=arguments.length;if(0===d?n=i=0:1===d?(n=0,i=c-u):(n=d-2,i=Ai(Ei(z(t),0),c-u)),c+n-i>9007199254740991)throw TypeError("Maximum allowed length exceeded");for(r=Bt(l,i),a=0;a<i;a++)(o=u+a)in l&&Cn(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 Ri=E.f,ki=Function.prototype,xi=ki.toString,Li=/^\s*function ([^ (]*)/;f&&!("name"in ki)&&Ri(ki,"name",{configurable:!0,get:function(){try{return xi.call(this).match(Li)[1]}catch(e){return""}}});var Ci=function(e,t,n){var i,r;return ht&&"function"==typeof(i=t.constructor)&&i!==n&&v(r=i.prototype)&&r!==n.prototype&&ht(e,r),e},Pi="\t\n\v\f\r    \u2028\u2029\ufeff",Ni="["+Pi+"]",Mi=RegExp("^"+Ni+Ni+"*"),Ii=RegExp(Ni+Ni+"*$"),Ti=function(e){return function(t){var n=String(d(t));return 1&e&&(n=n.replace(Mi,"")),2&e&&(n=n.replace(Ii,"")),n}},Oi={start:Ti(1),end:Ti(2),trim:Ti(3)},Di=Fe.f,ji=He.f,Hi=E.f,Bi=Oi.trim,Ui=r.Number,Fi=Ui.prototype,zi="Number"==l(de(Fi)),qi=function(e){var t,n,i,r,a,o,s,l,c=w(e,!1);if("string"==typeof c&&c.length>2)if(43===(t=(c=Bi(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(Ge("Number",!Ui(" 0o1")||!Ui("0b1")||Ui("+0x1"))){for(var _i,Vi=function(e){var t=arguments.length<1?0:e,n=this;return n instanceof Vi&&(zi?o((function(){Fi.valueOf.call(n)})):"Number"!=l(n))?Ci(new Ui(qi(t)),n,Vi):qi(t)},Wi=f?Di(Ui):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,isFinite,isInteger,isNaN,isSafeInteger,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,parseFloat,parseInt,isInteger".split(","),Ki=0;Wi.length>Ki;Ki++)P(Ui,_i=Wi[Ki])&&!P(Vi,_i)&&Hi(Vi,_i,ji(Ui,_i));Vi.prototype=Fi,Fi.constructor=Vi,Be(r,"Number",Vi)}var Xi=ei?{}.toString:function(){return"[object "+ii(this)+"]"};ei||Be(Object.prototype,"toString",Xi,{unsafe:!0});var $i,Yi,Gi,Ji=r.Promise,Qi=B("species"),Zi=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=jt(n,i,r?2:1);if(a)o=e;else{if("function"!=typeof(s=ai(e)))throw TypeError("Target is not iterable");if(Qn(s)){for(l=0,c=_(e.length);c>l;l++)if((u=r?f(b(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=Yn(o,f,h.value,r))&&u&&u instanceof t)return u;return new t(!1)}).stop=function(e){return new t(!0,e)}})),er=B("species"),tr=function(e,t){var n,i=b(e).constructor;return void 0===i||null==(n=b(i)[er])?t:Dt(n)},nr=/(iphone|ipod|ipad).*applewebkit/i.test(Pn),ir=r.location,rr=r.setImmediate,ar=r.clearImmediate,or=r.process,sr=r.MessageChannel,lr=r.Dispatch,cr=0,ur={},dr=function(e){if(ur.hasOwnProperty(e)){var t=ur[e];delete ur[e],t()}},hr=function(e){return function(){dr(e)}},fr=function(e){dr(e.data)},vr=function(e){r.postMessage(e+"",ir.protocol+"//"+ir.host)};rr&&ar||(rr=function(e){for(var t=[],n=1;arguments.length>n;)t.push(arguments[n++]);return ur[++cr]=function(){("function"==typeof e?e:Function(e)).apply(void 0,t)},$i(cr),cr},ar=function(e){delete ur[e]},"process"==l(or)?$i=function(e){or.nextTick(hr(e))}:lr&&lr.now?$i=function(e){lr.now(hr(e))}:sr&&!nr?(Gi=(Yi=new sr).port2,Yi.port1.onmessage=fr,$i=jt(Gi.postMessage,Gi,1)):!r.addEventListener||"function"!=typeof postMessage||r.importScripts||o(vr)||"file:"===ir.protocol?$i="onreadystatechange"in m("script")?function(e){re.appendChild(m("script")).onreadystatechange=function(){re.removeChild(this),dr(e)}}:function(e){setTimeout(hr(e),0)}:($i=vr,r.addEventListener("message",fr,!1)));var gr,pr,mr,yr,br,wr,Sr,Er,Ar={set:rr,clear:ar},Rr=He.f,kr=Ar.set,xr=r.MutationObserver||r.WebKitMutationObserver,Lr=r.process,Cr=r.Promise,Pr="process"==l(Lr),Nr=Rr(r,"queueMicrotask"),Mr=Nr&&Nr.value;Mr||(gr=function(){var e,t;for(Pr&&(e=Lr.domain)&&e.exit();pr;){t=pr.fn,pr=pr.next;try{t()}catch(e){throw pr?yr():mr=void 0,e}}mr=void 0,e&&e.enter()},Pr?yr=function(){Lr.nextTick(gr)}:xr&&!nr?(br=!0,wr=document.createTextNode(""),new xr(gr).observe(wr,{characterData:!0}),yr=function(){wr.data=br=!br}):Cr&&Cr.resolve?(Sr=Cr.resolve(void 0),Er=Sr.then,yr=function(){Er.call(Sr,gr)}):yr=function(){kr.call(r,gr)});var Ir,Tr,Or,Dr,jr=Mr||function(e){var t={fn:e,next:void 0};mr&&(mr.next=t),pr||(pr=t,yr()),mr=t},Hr=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=Dt(t),this.reject=Dt(n)},Br={f:function(e){return new Hr(e)}},Ur=function(e,t){if(b(e),v(t)&&t.constructor===e)return t;var n=Br.f(e);return(0,n.resolve)(t),n.promise},Fr=function(e){try{return{error:!1,value:e()}}catch(e){return{error:!0,value:e}}},zr=Ar.set,qr=B("species"),_r="Promise",Vr=Ie.get,Wr=Ie.set,Kr=Ie.getterFor(_r),Xr=Ji,$r=r.TypeError,Yr=r.document,Gr=r.process,Jr=ie("fetch"),Qr=Br.f,Zr=Qr,ea="process"==l(Gr),ta=!!(Yr&&Yr.createEvent&&r.dispatchEvent),na=Ge(_r,(function(){if(!(we(Xr)!==String(Xr))){if(66===Tn)return!0;if(!ea&&"function"!=typeof PromiseRejectionEvent)return!0}if(Tn>=51&&/native code/.test(Xr))return!1;var e=Xr.resolve(1),t=function(e){e((function(){}),(function(){}))};return(e.constructor={})[qr]=t,!(e.then((function(){}))instanceof t)})),ia=na||!ui((function(e){Xr.all(e).catch((function(){}))})),ra=function(e){var t;return!(!v(e)||"function"!=typeof(t=e.then))&&t},aa=function(e,t,n){if(!t.notified){t.notified=!0;var i=t.reactions;jr((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&&ca(e,t),t.rejection=1),!0===d?s=r:(v&&v.enter(),s=d(r),v&&(v.exit(),c=!0)),s===u.promise?f($r("Promise-chain cycle")):(l=ra(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&&sa(e,t)}))}},oa=function(e,t,n){var i,a;ta?((i=Yr.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):"unhandledrejection"===e&&function(e,t){var n=r.console;n&&n.error&&(1===arguments.length?n.error(e):n.error(e,t))}("Unhandled promise rejection",n)},sa=function(e,t){zr.call(r,(function(){var n,i=t.value;if(la(t)&&(n=Fr((function(){ea?Gr.emit("unhandledRejection",i,e):oa("unhandledrejection",e,i)})),t.rejection=ea||la(t)?2:1,n.error))throw n.value}))},la=function(e){return 1!==e.rejection&&!e.parent},ca=function(e,t){zr.call(r,(function(){ea?Gr.emit("rejectionHandled",e):oa("rejectionhandled",e,t.value)}))},ua=function(e,t,n,i){return function(r){e(t,n,r,i)}},da=function(e,t,n,i){t.done||(t.done=!0,i&&(t=i),t.value=n,t.state=2,aa(e,t,!0))},ha=function(e,t,n,i){if(!t.done){t.done=!0,i&&(t=i);try{if(e===n)throw $r("Promise can't be resolved itself");var r=ra(n);r?jr((function(){var i={done:!1};try{r.call(n,ua(ha,e,i,t),ua(da,e,i,t))}catch(n){da(e,i,n,t)}})):(t.value=n,t.state=1,aa(e,t,!1))}catch(n){da(e,{done:!1},n,t)}}};na&&(Xr=function(e){!function(e,t,n){if(!(e instanceof t))throw TypeError("Incorrect "+(n?n+" ":"")+"invocation")}(this,Xr,_r),Dt(e),Ir.call(this);var t=Vr(this);try{e(ua(ha,this,t),ua(da,this,t))}catch(e){da(this,t,e)}},(Ir=function(e){Wr(this,{type:_r,done:!1,notified:!1,parent:!1,reactions:[],rejection:!1,state:0,value:void 0})}).prototype=function(e,t,n){for(var i in t)Be(e,i,t[i],n);return e}(Xr.prototype,{then:function(e,t){var n=Kr(this),i=Qr(tr(this,Xr));return i.ok="function"!=typeof e||e,i.fail="function"==typeof t&&t,i.domain=ea?Gr.domain:void 0,n.parent=!0,n.reactions.push(i),0!=n.state&&aa(this,n,!1),i.promise},catch:function(e){return this.then(void 0,e)}}),Tr=function(){var e=new Ir,t=Vr(e);this.promise=e,this.resolve=ua(ha,e,t),this.reject=ua(da,e,t)},Br.f=Qr=function(e){return e===Xr||e===Or?new Tr(e):Zr(e)},"function"==typeof Ji&&(Dr=Ji.prototype.then,Be(Ji.prototype,"then",(function(e,t){var n=this;return new Xr((function(e,t){Dr.call(n,e,t)})).then(e,t)}),{unsafe:!0}),"function"==typeof Jr&&Qe({global:!0,enumerable:!0,forced:!0},{fetch:function(e){return Ur(Xr,Jr.apply(r,arguments))}}))),Qe({global:!0,wrap:!0,forced:na},{Promise:Xr}),ct(Xr,_r,!1),function(e){var t=ie(e),n=E.f;f&&t&&!t[Qi]&&n(t,Qi,{configurable:!0,get:function(){return this}})}(_r),Or=ie(_r),Qe({target:_r,stat:!0,forced:na},{reject:function(e){var t=Qr(this);return t.reject.call(void 0,e),t.promise}}),Qe({target:_r,stat:!0,forced:na},{resolve:function(e){return Ur(this,e)}}),Qe({target:_r,stat:!0,forced:ia},{all:function(e){var t=this,n=Qr(t),i=n.resolve,r=n.reject,a=Fr((function(){var n=Dt(t.resolve),a=[],o=0,s=1;Zi(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=Qr(t),i=n.reject,r=Fr((function(){var r=Dt(t.resolve);Zi(e,(function(e){r.call(t,e).then(n.resolve,i)}))}));return r.error&&i(r.value),n.promise}});var fa=function(){var e=b(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 va(e,t){return RegExp(e,t)}var ga,pa,ma={UNSUPPORTED_Y:o((function(){var e=va("a","y");return e.lastIndex=2,null!=e.exec("abcd")})),BROKEN_CARET:o((function(){var e=va("^r","gy");return e.lastIndex=2,null!=e.exec("str")}))},ya=RegExp.prototype.exec,ba=String.prototype.replace,wa=ya,Sa=(ga=/a/,pa=/b*/g,ya.call(ga,"a"),ya.call(pa,"a"),0!==ga.lastIndex||0!==pa.lastIndex),Ea=ma.UNSUPPORTED_Y||ma.BROKEN_CARET,Aa=void 0!==/()??/.exec("")[1];(Sa||Aa||Ea)&&(wa=function(e){var t,n,i,r,a=this,o=Ea&&a.sticky,s=fa.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)),Aa&&(n=new RegExp("^"+l+"$(?!\\s)",s)),Sa&&(t=a.lastIndex),i=ya.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:Sa&&i&&(a.lastIndex=a.global?i.index+i[0].length:t),Aa&&i&&i.length>1&&ba.call(i[0],n,(function(){for(r=1;r<arguments.length-2;r++)void 0===arguments[r]&&(i[r]=void 0)})),i});var Ra=wa;Qe({target:"RegExp",proto:!0,forced:/./.exec!==Ra},{exec:Ra});var ka=function(e){return function(t,n){var i,r,a=String(d(t)),o=z(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}},xa={codeAt:ka(!1),charAt:ka(!0)},La=xa.charAt,Ca=Ie.set,Pa=Ie.getterFor("String Iterator");mt(String,"String",(function(e){Ca(this,{type:"String Iterator",string:String(e),index:0})}),(function(){var e,t=Pa(this),n=t.string,i=t.index;return i>=n.length?{value:void 0,done:!0}:(e=La(n,i),t.index+=e.length,{value:e,done:!1})}));var Na=B("species"),Ma=!o((function(){var e=/./;return e.exec=function(){var e=[];return e.groups={a:"7"},e},"7"!=="".replace(e,"$<a>")})),Ia="$0"==="a".replace(/./,"$0"),Ta=B("replace"),Oa=!!/./[Ta]&&""===/./[Ta]("a","$0"),Da=!o((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]})),ja=function(e,t,n,i){var r=B(e),a=!o((function(){var t={};return t[r]=function(){return 7},7!=""[e](t)})),s=a&&!o((function(){var t=!1,n=/a/;return"split"===e&&((n={}).constructor={},n.constructor[Na]=function(){return n},n.flags="",n[r]=/./[r]),n.exec=function(){return t=!0,null},n[r](""),!t}));if(!a||!s||"replace"===e&&(!Ma||!Ia||Oa)||"split"===e&&!Da){var l=/./[r],c=n(r,""[e],(function(e,t,n,i,r){return t.exec===Ra?a&&!r?{done:!0,value:l.call(t,n,i)}:{done:!0,value:e.call(n,t,i)}:{done:!1}}),{REPLACE_KEEPS_$0:Ia,REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE:Oa}),u=c[0],d=c[1];Be(String.prototype,e,u),Be(RegExp.prototype,r,2==t?function(e,t){return d.call(e,this,t)}:function(e){return d.call(e,this)})}i&&R(RegExp.prototype[r],"sham",!0)},Ha=xa.charAt,Ba=function(e,t,n){return t+(n?Ha(e,t).length:1)},Ua=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"!==l(e))throw TypeError("RegExp#exec called on incompatible receiver");return Ra.call(e,t)};ja("match",1,(function(e,t,n){return[function(t){var n=d(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=b(e),a=String(this);if(!r.global)return Ua(r,a);var o=r.unicode;r.lastIndex=0;for(var s,l=[],c=0;null!==(s=Ua(r,a));){var u=String(s[0]);l[c]=u,""===u&&(r.lastIndex=Ba(a,_(r.lastIndex),o)),c++}return 0===c?null:l}]}));var Fa=B("match"),za=[].push,qa=Math.min,_a=!o((function(){return!RegExp(4294967295,"y")}));ja("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(d(this)),o=void 0===n?4294967295:n>>>0;if(0===o)return[];if(void 0===e)return[a];if(!v(i=e)||!(void 0!==(r=i[Fa])?r:"RegExp"==l(i)))return t.call(a,e,o);for(var s,c,u,h=[],f=(e.ignoreCase?"i":"")+(e.multiline?"m":"")+(e.unicode?"u":"")+(e.sticky?"y":""),g=0,p=new RegExp(e.source,f+"g");(s=Ra.call(p,a))&&!((c=p.lastIndex)>g&&(h.push(a.slice(g,s.index)),s.length>1&&s.index<a.length&&za.apply(h,s.slice(1)),u=s[0].length,g=c,h.length>=o));)p.lastIndex===s.index&&p.lastIndex++;return g===a.length?!u&&p.test("")||h.push(""):h.push(a.slice(g)),h.length>o?h.slice(0,o):h}:"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=d(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=b(e),s=String(this),l=tr(o,RegExp),c=o.unicode,u=(o.ignoreCase?"i":"")+(o.multiline?"m":"")+(o.unicode?"u":"")+(_a?"y":"g"),d=new l(_a?o:"^(?:"+o.source+")",u),h=void 0===r?4294967295:r>>>0;if(0===h)return[];if(0===s.length)return null===Ua(d,s)?[s]:[];for(var f=0,v=0,g=[];v<s.length;){d.lastIndex=_a?v:0;var p,m=Ua(d,_a?s:s.slice(v));if(null===m||(p=qa(_(d.lastIndex+(_a?0:v)),s.length))===f)v=Ba(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}]}),!_a);var Va=Oi.trim;for(var Wa in Qe({target:"String",proto:!0,forced:function(e){return o((function(){return!!Pi[e]()||"…"!="…"[e]()||Pi[e].name!==e}))}("trim")},{trim:function(){return Va(this)}}),a){var Ka=r[Wa],Xa=Ka&&Ka.prototype;if(Xa&&Xa.forEach!==$n)try{R(Xa,"forEach",$n)}catch(e){Xa.forEach=$n}}function $a(e){return($a="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 Ya(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ga(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 Ja(e,t,n){return t&&Ga(e.prototype,t),n&&Ga(e,n),e}function Qa(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Za(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 eo(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Za(Object(n),!0).forEach((function(t){Qa(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Za(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}const to=/registerPlugin|registerKeyboardShortcut|addKeyBinding|addEventListener/,no=/fade-(down|up|right|left|out|in-then-out|in-then-semi-out)|semi-fade-out|current-visible|shrink|grow/;var io=Math.max,ro=Math.min,ao=Math.floor,oo=/\$([$&'`]|\d\d?|<[^>]*>)/g,so=/\$([$&'`]|\d\d?)/g;ja("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=d(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=b(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=Ua(c,u);if(null===g)break;if(v.push(g),!h)break;""===String(g[0])&&(c.lastIndex=Ba(u,_(c.lastIndex),f))}for(var p,m="",y=0,w=0;w<v.length;w++){g=v[w];for(var S=String(g[0]),E=io(ro(z(g.index),u.length),0),A=[],R=1;R<g.length;R++)A.push(void 0===(p=g[R])?p:String(p));var k=g.groups;if(d){var x=[S].concat(A,E,u);void 0!==k&&x.push(k);var L=String(i.apply(void 0,x))}else L=s(S,u,E,A,k,i);E>=y&&(m+=u.slice(y,E)+L,y=E+S.length)}return m+u.slice(y)}];function s(e,n,i,r,a,o){var s=i+e.length,l=r.length,c=so;return void 0!==a&&(a=Ze(a),c=oo),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=ao(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 lo=Object.is||function(e,t){return e===t?0!==e||1/e==1/t:e!=e&&t!=t};ja("search",1,(function(e,t,n){return[function(t){var n=d(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=b(e),a=String(this),o=r.lastIndex;lo(o,0)||(r.lastIndex=0);var s=Ua(r,a);return lo(r.lastIndex,o)||(r.lastIndex=o),null===s?-1:s.index}]}));var co=function(e,t){for(var n in t)e[n]=t[n];return e},uo=function(e,t){return Array.from(e.querySelectorAll(t))},ho=function(e,t,n){n?e.classList.add(t):e.classList.remove(t)},fo=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},vo=function(e,t){e.style.transform=t},go=function(e,t){var n=e.matches||e.matchesSelector||e.msMatchesSelector;return!(!n||!n.call(e,t))},po=function(e,t){if("function"==typeof e.closest)return e.closest(t);for(;e;){if(go(e,t))return e;e=e.parentNode}return null},mo=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},yo=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},bo=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]=fo(unescape(n))}return void 0!==e.dependencies&&delete e.dependencies,e},wo=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};const So=navigator.userAgent,Eo=document.createElement("div"),Ao=/(iphone|ipod|ipad|android)/gi.test(So)||"MacIntel"===navigator.platform&&navigator.maxTouchPoints>1,Ro=/chrome/i.test(So)&&!/edge/i.test(So),ko=/android/gi.test(So),xo="zoom"in Eo.style&&!Ao&&(Ro||/Version\/[\d\.]+.*Safari/.test(So)),Lo="function"==typeof window.history.replaceState&&!/PhantomJS/.test(So);var Co=function(){function e(t){Ya(this,e),this.Reveal=t,this.startEmbeddedIframe=this.startEmbeddedIframe.bind(this)}return Ja(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,uo(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"))})),uo(e,"video, audio").forEach((function(e){var t=0;uo(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),Ao&&(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",uo(t,"iframe[src]").forEach((function(e){e.removeAttribute("src")}))),uo(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")})),uo(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){uo(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()&&(uo(e,'img[src$=".gif"]').forEach((function(e){e.setAttribute("src",e.getAttribute("src"))})),uo(e,"video, audio").forEach((function(e){if(!po(e,".fragment")||po(e,".fragment.visible")){var n=t.Reveal.getConfig().autoPlayMedia;if("boolean"!=typeof n&&(n=e.hasAttribute("data-autoplay")||!!po(e,".slide-background")),n&&"function"==typeof e.play)if(e.readyState>1)t.startEmbeddedMedia({target:e});else if(Ao){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)}})),uo(e,"iframe[src]").forEach((function(e){po(e,".fragment")&&!po(e,".fragment.visible")||t.startEmbeddedIframe({target:e})})),uo(e,"iframe[data-src]").forEach((function(e){po(e,".fragment")&&!po(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=!!po(e.target,"html"),n=!!po(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=!!po(e.target,"html"),i=!!po(e.target,".present");if(n&&i){var r=this.Reveal.getConfig().autoPlayMedia;"boolean"!=typeof r&&(r=t.hasAttribute("data-autoplay")||!!po(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=co({unloadIframes:!0},n),e&&e.parentNode&&(uo(e,"video, audio").forEach((function(e){e.hasAttribute("data-ignore")||"function"!=typeof e.pause||(e.setAttribute("data-paused-by-reveal",""),e.pause())})),uo(e,"iframe").forEach((function(e){e.contentWindow&&e.contentWindow.postMessage("slide:stop","*"),e.removeEventListener("load",t.startEmbeddedIframe)})),uo(e,'iframe[src*="youtube.com/embed/"]').forEach((function(e){!e.hasAttribute("data-ignore")&&e.contentWindow&&"function"==typeof e.contentWindow.postMessage&&e.contentWindow.postMessage('{"event":"command","func":"pauseVideo","args":""}',"*")})),uo(e,'iframe[src*="player.vimeo.com/"]').forEach((function(e){!e.hasAttribute("data-ignore")&&e.contentWindow&&"function"==typeof e.contentWindow.postMessage&&e.contentWindow.postMessage('{"method":"pause"}',"*")})),!0===n.unloadIframes&&uo(e,"iframe[data-src]").forEach((function(e){e.setAttribute("src","about:blank"),e.removeAttribute("src")})))}}]),e}();class Po{constructor(e){this.Reveal=e}render(){this.element=document.createElement("div"),this.element.className="slide-number",this.Reveal.getRevealElement().appendChild(this.element)}configure(e,t){let n="none";e.slideNumber&&!this.Reveal.isPrintingPDF()&&("all"===e.showSlideNumber||"speaker"===e.showSlideNumber&&this.Reveal.isSpeakerNotes())&&(n="block"),this.element.style.display=n}update(){this.Reveal.getConfig().slideNumber&&this.element&&(this.element.innerHTML=this.getSlideNumber())}getSlideNumber(e=this.Reveal.getCurrentSlide()){let t,n=this.Reveal.getConfig(),i="h.v";if("function"==typeof n.slideNumber)t=n.slideNumber(e);else switch("string"==typeof n.slideNumber&&(i=n.slideNumber),/c/.test(i)||1!==this.Reveal.getHorizontalSlides().length||(i="c"),t=[],i){case"c":t.push(this.Reveal.getSlidePastCount(e)+1);break;case"c/t":t.push(this.Reveal.getSlidePastCount(e)+1,"/",this.Reveal.getTotalSlides());break;default:let n=this.Reveal.getIndices(e);t.push(n.h+1);let r="h/v"===i?"/":".";this.Reveal.isVerticalSlide(e)&&t.push(r,n.v+1)}let r="#"+this.Reveal.location.getHash(e);return this.formatNumber(t[0],t[1],t[2],r)}formatNumber(e,t,n,i="#"+this.Reveal.location.getHash()){return"number"!=typeof n||isNaN(n)?'<a href="'.concat(i,'">\n\t\t\t\t\t<span class="slide-number-a">').concat(e,"</span>\n\t\t\t\t\t</a>"):'<a href="'.concat(i,'">\n\t\t\t\t\t<span class="slide-number-a">').concat(e,'</span>\n\t\t\t\t\t<span class="slide-number-delimiter">').concat(t,'</span>\n\t\t\t\t\t<span class="slide-number-b">').concat(n,"</span>\n\t\t\t\t\t</a>")}}const No=e=>{let t=e.match(/^#([0-9a-f]{3})$/i);if(t&&t[1])return t=t[1],{r:17*parseInt(t.charAt(0),16),g:17*parseInt(t.charAt(1),16),b:17*parseInt(t.charAt(2),16)};let n=e.match(/^#([0-9a-f]{6})$/i);if(n&&n[1])return n=n[1],{r:parseInt(n.substr(0,2),16),g:parseInt(n.substr(2,2),16),b:parseInt(n.substr(4,2),16)};let i=e.match(/^rgb\s*\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*\)$/i);if(i)return{r:parseInt(i[1],10),g:parseInt(i[2],10),b:parseInt(i[3],10)};let r=e.match(/^rgba\s*\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*\,\s*([\d]+|[\d]*.[\d]+)\s*\)$/i);return r?{r:parseInt(r[1],10),g:parseInt(r[2],10),b:parseInt(r[3],10),a:parseFloat(r[4])}:null};class Mo{constructor(e){this.Reveal=e}render(){this.element=document.createElement("div"),this.element.className="backgrounds",this.Reveal.getRevealElement().appendChild(this.element)}create(){this.Reveal.isPrintingPDF();this.element.innerHTML="",this.element.classList.add("no-transition"),this.Reveal.getHorizontalSlides().forEach(e=>{let t=this.createBackground(e,this.element);uo(e,"section").forEach(e=>{this.createBackground(e,t),t.classList.add("stack")})}),this.Reveal.getConfig().parallaxBackgroundImage?(this.element.style.backgroundImage='url("'+this.Reveal.getConfig().parallaxBackgroundImage+'")',this.element.style.backgroundSize=this.Reveal.getConfig().parallaxBackgroundSize,this.element.style.backgroundRepeat=this.Reveal.getConfig().parallaxBackgroundRepeat,this.element.style.backgroundPosition=this.Reveal.getConfig().parallaxBackgroundPosition,setTimeout(()=>{this.Reveal.getRevealElement().classList.add("has-parallax-background")},1)):(this.element.style.backgroundImage="",this.Reveal.getRevealElement().classList.remove("has-parallax-background"))}createBackground(e,t){let n=document.createElement("div");n.className="slide-background "+e.className.replace(/present|past|future/,"");let i=document.createElement("div");return i.className="slide-background-content",n.appendChild(i),t.appendChild(n),e.slideBackgroundElement=n,e.slideBackgroundContentElement=i,this.sync(e),n}sync(e){let t=e.slideBackgroundElement,n=e.slideBackgroundContentElement;e.classList.remove("has-dark-background"),e.classList.remove("has-light-background"),t.removeAttribute("data-loaded"),t.removeAttribute("data-background-hash"),t.removeAttribute("data-background-size"),t.removeAttribute("data-background-transition"),t.style.backgroundColor="",n.style.backgroundSize="",n.style.backgroundRepeat="",n.style.backgroundPosition="",n.style.backgroundImage="",n.style.opacity="",n.innerHTML="";let i={background:e.getAttribute("data-background"),backgroundSize:e.getAttribute("data-background-size"),backgroundImage:e.getAttribute("data-background-image"),backgroundVideo:e.getAttribute("data-background-video"),backgroundIframe:e.getAttribute("data-background-iframe"),backgroundColor:e.getAttribute("data-background-color"),backgroundRepeat:e.getAttribute("data-background-repeat"),backgroundPosition:e.getAttribute("data-background-position"),backgroundTransition:e.getAttribute("data-background-transition"),backgroundOpacity:e.getAttribute("data-background-opacity")};i.background&&(/^(http|file|\/\/)/gi.test(i.background)||/\.(svg|png|jpg|jpeg|gif|bmp)([?#\s]|$)/gi.test(i.background)?e.setAttribute("data-background-image",i.background):t.style.background=i.background),(i.background||i.backgroundColor||i.backgroundImage||i.backgroundVideo||i.backgroundIframe)&&t.setAttribute("data-background-hash",i.background+i.backgroundSize+i.backgroundImage+i.backgroundVideo+i.backgroundIframe+i.backgroundColor+i.backgroundRepeat+i.backgroundPosition+i.backgroundTransition+i.backgroundOpacity),i.backgroundSize&&t.setAttribute("data-background-size",i.backgroundSize),i.backgroundColor&&(t.style.backgroundColor=i.backgroundColor),i.backgroundTransition&&t.setAttribute("data-background-transition",i.backgroundTransition),e.hasAttribute("data-preload")&&t.setAttribute("data-preload",""),i.backgroundSize&&(n.style.backgroundSize=i.backgroundSize),i.backgroundRepeat&&(n.style.backgroundRepeat=i.backgroundRepeat),i.backgroundPosition&&(n.style.backgroundPosition=i.backgroundPosition),i.backgroundOpacity&&(n.style.opacity=i.backgroundOpacity);let r=i.backgroundColor;if(!r){let e=window.getComputedStyle(t);e&&e.backgroundColor&&(r=e.backgroundColor)}if(r){let t=No(r);t&&0!==t.a&&("string"==typeof(a=r)&&(a=No(a)),(a?(299*a.r+587*a.g+114*a.b)/1e3:null)<128?e.classList.add("has-dark-background"):e.classList.add("has-light-background"))}var a}update(e=!1){let t=this.Reveal.getCurrentSlide(),n=this.Reveal.getIndices(),i=null,r=this.Reveal.getConfig().rtl?"future":"past",a=this.Reveal.getConfig().rtl?"past":"future";if(Array.from(this.element.childNodes).forEach((t,o)=>{t.classList.remove("past","present","future"),o<n.h?t.classList.add(r):o>n.h?t.classList.add(a):(t.classList.add("present"),i=t),(e||o===n.h)&&uo(t,".slide-background").forEach((e,t)=>{e.classList.remove("past","present","future"),t<n.v?e.classList.add("past"):t>n.v?e.classList.add("future"):(e.classList.add("present"),o===n.h&&(i=e))})}),this.previousBackground&&this.Reveal.slideContent.stopEmbeddedContent(this.previousBackground,{unloadIframes:!this.Reveal.slideContent.shouldPreload(this.previousBackground)}),i){this.Reveal.slideContent.startEmbeddedContent(i);let e=i.querySelector(".slide-background-content");if(e){let t=e.style.backgroundImage||"";/\.gif/i.test(t)&&(e.style.backgroundImage="",window.getComputedStyle(e).opacity,e.style.backgroundImage=t)}let t=this.previousBackground?this.previousBackground.getAttribute("data-background-hash"):null,n=i.getAttribute("data-background-hash");n&&n===t&&i!==this.previousBackground&&this.element.classList.add("no-transition"),this.previousBackground=i}t&&["has-light-background","has-dark-background"].forEach(e=>{t.classList.contains(e)?this.Reveal.getRevealElement().classList.add(e):this.Reveal.getRevealElement().classList.remove(e)},this),setTimeout(()=>{this.element.classList.remove("no-transition")},1)}updateParallax(){let e=this.Reveal.getIndices();if(this.Reveal.getConfig().parallaxBackgroundImage){let t,n,i=this.Reveal.getHorizontalSlides(),r=this.Reveal.getVerticalSlides(),a=this.element.style.backgroundSize.split(" ");1===a.length?t=n=parseInt(a[0],10):(t=parseInt(a[0],10),n=parseInt(a[1],10));let o,s,l=this.element.offsetWidth,c=i.length;o="number"==typeof this.Reveal.getConfig().parallaxBackgroundHorizontal?this.Reveal.getConfig().parallaxBackgroundHorizontal:c>1?(t-l)/(c-1):0,s=o*e.h*-1;let u,d,h=this.element.offsetHeight,f=r.length;u="number"==typeof this.Reveal.getConfig().parallaxBackgroundVertical?this.Reveal.getConfig().parallaxBackgroundVertical:(n-h)/(f-1),d=f>0?u*e.v:0,this.element.style.backgroundPosition=s+"px "+-d+"px"}}}var Io=zt.filter,To=Dn("filter"),Oo=Vn("filter");Qe({target:"Array",proto:!0,forced:!To||!Oo},{filter:function(e){return Io(this,e,arguments.length>1?arguments[1]:void 0)}});var Do=[].join,jo=u!=Object,Ho=Fn("join",",");Qe({target:"Array",proto:!0,forced:jo||!Ho},{join:function(e){return Do.call(h(this),void 0===e?",":e)}});var Bo=function(e){return function(t,n,i,r){Dt(n);var a=Ze(t),o=u(a),s=_(a.length),l=e?s-1:0,c=e?-1:1;if(i<2)for(;;){if(l in o){r=o[l],l+=c;break}if(l+=c,e?l<0:s<=l)throw TypeError("Reduce of empty array with no initial value")}for(;e?l>=0:s>l;l+=c)l in o&&(r=n(r,o[l],l,a));return r}},Uo={left:Bo(!1),right:Bo(!0)}.left,Fo=Fn("reduce"),zo=Vn("reduce",{1:0});Qe({target:"Array",proto:!0,forced:!Fo||!zo},{reduce:function(e){return Uo(this,e,arguments.length,arguments.length>1?arguments[1]:void 0)}});var qo=Dn("slice"),_o=Vn("slice",{ACCESSORS:!0,0:0,1:2}),Vo=B("species"),Wo=[].slice,Ko=Math.max;Qe({target:"Array",proto:!0,forced:!qo||!_o},{slice:function(e,t){var n,i,r,a=h(this),o=_(a.length),s=K(e,o),l=K(void 0===t?o:t,o);if(Ct(a)&&("function"!=typeof(n=a.constructor)||n!==Array&&!Ct(n.prototype)?v(n)&&null===(n=n[Vo])&&(n=void 0):n=void 0,n===Array||void 0===n))return Wo.call(a,s,l);for(i=new(void 0===n?Array:n)(Ko(l-s,0)),r=0;s<l;s++,r++)s in a&&Cn(i,r,a[s]);return i.length=r,i}});var Xo=o((function(){Z(1)}));Qe({target:"Object",stat:!0,forced:Xo},{keys:function(e){return Z(Ze(e))}});var $o=0,Yo=function(){function e(t){Ya(this,e),this.Reveal=t}return Ja(e,[{key:"run",value:function(e,t){var n=this;if(this.reset(),e.hasAttribute("data-auto-animate")&&t.hasAttribute("data-auto-animate")){this.autoAnimateStyleSheet=this.autoAnimateStyleSheet||yo();var i=this.getAutoAnimateOptions(t);e.dataset.autoAnimate="pending",t.dataset.autoAnimate="pending";var r=this.Reveal.getSlides();i.slideDirection=r.indexOf(t)>r.indexOf(e)?"forward":"backward";var a=this.getAutoAnimatableElements(e,t).map((function(e){return n.autoAnimateElements(e.from,e.to,e.options||{},i,$o++)}));if("false"!==t.dataset.autoAnimateUnmatched&&!0===this.Reveal.getConfig().autoAnimateUnmatched){var o=.8*i.duration,s=.2*i.duration;this.getUnmatchedAutoAnimateElements(t).forEach((function(e){var t=n.getAutoAnimateOptions(e,i),r="unmatched";t.duration===i.duration&&t.delay===i.delay||(r="unmatched-"+$o++,a.push('[data-auto-animate="running"] [data-auto-animate-target="'.concat(r,'"] { transition: opacity ').concat(t.duration,"s ease ").concat(t.delay,"s; }"))),e.dataset.autoAnimateTarget=r}),this),a.push('[data-auto-animate="running"] [data-auto-animate-target="unmatched"] { transition: opacity '.concat(o,"s ease ").concat(s,"s; }"))}this.autoAnimateStyleSheet.innerHTML=a.join(""),requestAnimationFrame((function(){n.autoAnimateStyleSheet&&(getComputedStyle(n.autoAnimateStyleSheet).fontWeight,t.dataset.autoAnimate="running")})),this.Reveal.dispatchEvent({type:"autoanimate",data:{fromSlide:e,toSlide:t,sheet:this.autoAnimateStyleSheet}})}}},{key:"reset",value:function(){uo(this.Reveal.getRevealElement(),'[data-auto-animate]:not([data-auto-animate=""])').forEach((function(e){e.dataset.autoAnimate=""})),uo(this.Reveal.getRevealElement(),"[data-auto-animate-target]").forEach((function(e){delete e.dataset.autoAnimateTarget})),this.autoAnimateStyleSheet&&this.autoAnimateStyleSheet.parentNode&&(this.autoAnimateStyleSheet.parentNode.removeChild(this.autoAnimateStyleSheet),this.autoAnimateStyleSheet=null)}},{key:"autoAnimateElements",value:function(e,t,n,i,r){e.dataset.autoAnimateTarget="",t.dataset.autoAnimateTarget=r;var a=this.getAutoAnimateOptions(t,i);void 0!==n.delay&&(a.delay=n.delay),void 0!==n.duration&&(a.duration=n.duration),void 0!==n.easing&&(a.easing=n.easing);var o=this.getAutoAnimatableProperties("from",e,n),s=this.getAutoAnimatableProperties("to",t,n);t.classList.contains("fragment")&&(delete s.styles.opacity,e.classList.contains("fragment")&&(e.className.match(no)||[""])[0]===(t.className.match(no)||[""])[0]&&"forward"===i.slideDirection&&t.classList.add("visible","disabled"));if(!1!==n.translate||!1!==n.scale){var l=this.Reveal.getScale(),c={x:(o.x-s.x)/l,y:(o.y-s.y)/l,scaleX:o.width/s.width,scaleY:o.height/s.height};c.x=Math.round(1e3*c.x)/1e3,c.y=Math.round(1e3*c.y)/1e3,c.scaleX=Math.round(1e3*c.scaleX)/1e3,c.scaleX=Math.round(1e3*c.scaleX)/1e3;var u=!1!==n.translate&&(0!==c.x||0!==c.y),d=!1!==n.scale&&(0!==c.scaleX||0!==c.scaleY);if(u||d){var h=[];u&&h.push("translate(".concat(c.x,"px, ").concat(c.y,"px)")),d&&h.push("scale(".concat(c.scaleX,", ").concat(c.scaleY,")")),o.styles.transform=h.join(" "),o.styles["transform-origin"]="top left",s.styles.transform="none"}}for(var f in s.styles){var v=s.styles[f],g=o.styles[f];v===g?delete s.styles[f]:(!0===v.explicitValue&&(s.styles[f]=v.value),!0===g.explicitValue&&(o.styles[f]=g.value))}var p="",m=Object.keys(s.styles);m.length>0&&(o.styles.transition="none",s.styles.transition="all ".concat(a.duration,"s ").concat(a.easing," ").concat(a.delay,"s"),s.styles["transition-property"]=m.join(", "),s.styles["will-change"]=m.join(", "),p='[data-auto-animate-target="'+r+'"] {'+Object.keys(o.styles).map((function(e){return e+": "+o.styles[e]+" !important;"})).join("")+'}[data-auto-animate="running"] [data-auto-animate-target="'+r+'"] {'+Object.keys(s.styles).map((function(e){return e+": "+s.styles[e]+" !important;"})).join("")+"}");return p}},{key:"getAutoAnimateOptions",value:function(e,t){var n={easing:this.Reveal.getConfig().autoAnimateEasing,duration:this.Reveal.getConfig().autoAnimateDuration,delay:0};if(n=co(n,t),e.parentNode){var i=po(e.parentNode,"[data-auto-animate-target]");i&&(n=this.getAutoAnimateOptions(i,n))}return e.dataset.autoAnimateEasing&&(n.easing=e.dataset.autoAnimateEasing),e.dataset.autoAnimateDuration&&(n.duration=parseFloat(e.dataset.autoAnimateDuration)),e.dataset.autoAnimateDelay&&(n.delay=parseFloat(e.dataset.autoAnimateDelay)),n}},{key:"getAutoAnimatableProperties",value:function(e,t,n){var i=this.Reveal.getConfig(),r={styles:[]};if(!1!==n.translate||!1!==n.scale){var a;if("function"==typeof n.measure)a=n.measure(t);else if(i.center)a=t.getBoundingClientRect();else{var o=this.Reveal.getScale();a={x:t.offsetLeft*o,y:t.offsetTop*o,width:t.offsetWidth*o,height:t.offsetHeight*o}}r.x=a.x,r.y=a.y,r.width=a.width,r.height=a.height}var s=getComputedStyle(t);return(n.styles||i.autoAnimateStyles).forEach((function(t){var n;"string"==typeof t&&(t={property:t}),""!==(n=void 0!==t.from&&"from"===e?{value:t.from,explicitValue:!0}:void 0!==t.to&&"to"===e?{value:t.to,explicitValue:!0}:s[t.property])&&(r.styles[t.property]=n)})),r}},{key:"getAutoAnimatableElements",value:function(e,t){var n=("function"==typeof this.Reveal.getConfig().autoAnimateMatcher?this.Reveal.getConfig().autoAnimateMatcher:this.getAutoAnimatePairs).call(this,e,t),i=[];return n.filter((function(e,t){if(-1===i.indexOf(e.to))return i.push(e.to),!0}))}},{key:"getAutoAnimatePairs",value:function(e,t){var n=this,i=[],r="h1, h2, h3, h4, h5, h6, p, li";return this.findAutoAnimateMatches(i,e,t,"[data-id]",(function(e){return e.nodeName+":::"+e.getAttribute("data-id")})),this.findAutoAnimateMatches(i,e,t,r,(function(e){return e.nodeName+":::"+e.innerText})),this.findAutoAnimateMatches(i,e,t,"img, video, iframe",(function(e){return e.nodeName+":::"+(e.getAttribute("src")||e.getAttribute("data-src"))})),this.findAutoAnimateMatches(i,e,t,"pre",(function(e){return e.nodeName+":::"+e.innerText})),i.forEach((function(e){go(e.from,r)?e.options={scale:!1}:go(e.from,"pre")&&(e.options={scale:!1,styles:["width","height"]},n.findAutoAnimateMatches(i,e.from,e.to,".hljs .hljs-ln-code",(function(e){return e.textContent}),{scale:!1,styles:[],measure:n.getLocalBoundingBox.bind(n)}),n.findAutoAnimateMatches(i,e.from,e.to,".hljs .hljs-ln-line[data-line-number]",(function(e){return e.getAttribute("data-line-number")}),{scale:!1,styles:["width"],measure:n.getLocalBoundingBox.bind(n)}))}),this),i}},{key:"getLocalBoundingBox",value:function(e){var t=this.Reveal.getScale();return{x:Math.round(e.offsetLeft*t*100)/100,y:Math.round(e.offsetTop*t*100)/100,width:Math.round(e.offsetWidth*t*100)/100,height:Math.round(e.offsetHeight*t*100)/100}}},{key:"findAutoAnimateMatches",value:function(e,t,n,i,r,a){var o={},s={};[].slice.call(t.querySelectorAll(i)).forEach((function(e,t){var n=r(e);"string"==typeof n&&n.length&&(o[n]=o[n]||[],o[n].push(e))})),[].slice.call(n.querySelectorAll(i)).forEach((function(t,n){var i,l=r(t);if(s[l]=s[l]||[],s[l].push(t),o[l]){var c=s[l].length-1,u=o[l].length-1;o[l][c]?(i=o[l][c],o[l][c]=null):o[l][u]&&(i=o[l][u],o[l][u]=null)}i&&e.push({from:i,to:t,options:a})}))}},{key:"getUnmatchedAutoAnimateElements",value:function(e){var t=this;return[].slice.call(e.children).reduce((function(e,n){var i=n.querySelector("[data-auto-animate-target]");return n.hasAttribute("data-auto-animate-target")||i||e.push(n),n.querySelector("[data-auto-animate-target]")&&(e=e.concat(t.getUnmatchedAutoAnimateElements(n))),e}),[])}}]),e}();class Go{constructor(e){this.Reveal=e}configure(e,t){!1===e.fragments?this.disable():!1===t.fragments&&this.enable()}disable(){uo(this.Reveal.getSlidesElement(),".fragment").forEach(e=>{e.classList.add("visible"),e.classList.remove("current-fragment")})}enable(){uo(this.Reveal.getSlidesElement(),".fragment").forEach(e=>{e.classList.remove("visible"),e.classList.remove("current-fragment")})}availableRoutes(){let e=this.Reveal.getCurrentSlide();if(e&&this.Reveal.getConfig().fragments){let t=e.querySelectorAll(".fragment:not(.disabled)"),n=e.querySelectorAll(".fragment:not(.disabled):not(.visible)");return{prev:t.length-n.length>0,next:!!n.length}}return{prev:!1,next:!1}}sort(e,t=!1){e=Array.from(e);let n=[],i=[],r=[];e.forEach(e=>{if(e.hasAttribute("data-fragment-index")){let t=parseInt(e.getAttribute("data-fragment-index"),10);n[t]||(n[t]=[]),n[t].push(e)}else i.push([e])}),n=n.concat(i);let a=0;return n.forEach(e=>{e.forEach(e=>{r.push(e),e.setAttribute("data-fragment-index",a)}),a++}),!0===t?n:r}sortAll(){this.Reveal.getHorizontalSlides().forEach(e=>{let t=uo(e,"section");t.forEach((e,t)=>{this.sort(e.querySelectorAll(".fragment"))},this),0===t.length&&this.sort(e.querySelectorAll(".fragment"))})}update(e,t){let n={shown:[],hidden:[]},i=this.Reveal.getCurrentSlide();if(i&&this.Reveal.getConfig().fragments&&(t=t||this.sort(i.querySelectorAll(".fragment"))).length){let r=0;if("number"!=typeof e){let t=this.sort(i.querySelectorAll(".fragment.visible")).pop();t&&(e=parseInt(t.getAttribute("data-fragment-index")||0,10))}Array.from(t).forEach((t,i)=>{if(t.hasAttribute("data-fragment-index")&&(i=parseInt(t.getAttribute("data-fragment-index"),10)),r=Math.max(r,i),i<=e){let r=t.classList.contains("visible");t.classList.add("visible"),t.classList.remove("current-fragment"),i===e&&(this.Reveal.announceStatus(this.Reveal.getStatusText(t)),t.classList.add("current-fragment"),this.Reveal.slideContent.startEmbeddedContent(t)),r||(n.shown.push(t),this.Reveal.dispatchEvent({target:t,type:"visible",bubbles:!1}))}else{let e=t.classList.contains("visible");t.classList.remove("visible"),t.classList.remove("current-fragment"),e&&(n.hidden.push(t),this.Reveal.dispatchEvent({target:t,type:"hidden",bubbles:!1}))}}),e="number"==typeof e?e:-1,e=Math.max(Math.min(e,r),-1),i.setAttribute("data-fragment",e)}return n}sync(e=this.Reveal.getCurrentSlide()){return this.sort(e.querySelectorAll(".fragment"))}goto(e,t=0){let n=this.Reveal.getCurrentSlide();if(n&&this.Reveal.getConfig().fragments){let i=this.sort(n.querySelectorAll(".fragment:not(.disabled)"));if(i.length){if("number"!=typeof e){let t=this.sort(n.querySelectorAll(".fragment:not(.disabled).visible")).pop();e=t?parseInt(t.getAttribute("data-fragment-index")||0,10):-1}e+=t;let r=this.update(e,i);return r.hidden.length&&this.Reveal.dispatchEvent({type:"fragmenthidden",data:{fragment:r.hidden[0],fragments:r.hidden}}),r.shown.length&&this.Reveal.dispatchEvent({type:"fragmentshown",data:{fragment:r.shown[0],fragments:r.shown}}),this.Reveal.controls.update(),this.Reveal.progress.update(),this.Reveal.getConfig().fragmentInURL&&this.Reveal.location.writeURL(),!(!r.shown.length&&!r.hidden.length)}}return!1}next(){return this.goto(null,1)}prev(){return this.goto(null,-1)}}class Jo{constructor(e){this.Reveal=e,this.active=!1,this.onSlideClicked=this.onSlideClicked.bind(this)}activate(){if(this.Reveal.getConfig().overview&&!this.isActive()){this.active=!0,this.Reveal.getRevealElement().classList.add("overview"),this.Reveal.cancelAutoSlide(),this.Reveal.getSlidesElement().appendChild(this.Reveal.getBackgroundsElement()),uo(this.Reveal.getRevealElement(),".slides section").forEach(e=>{e.classList.contains("stack")||e.addEventListener("click",this.onSlideClicked,!0)});const e=70,t=this.Reveal.getComputedSlideSize();this.overviewSlideWidth=t.width+e,this.overviewSlideHeight=t.height+e,this.Reveal.getConfig().rtl&&(this.overviewSlideWidth=-this.overviewSlideWidth),this.Reveal.updateSlidesVisibility(),this.layout(),this.update(),this.Reveal.layout();const n=this.Reveal.getIndices();this.Reveal.dispatchEvent({type:"overviewshown",data:{indexh:n.h,indexv:n.v,currentSlide:this.Reveal.getCurrentSlide()}})}}layout(){this.Reveal.getHorizontalSlides().forEach((e,t)=>{e.setAttribute("data-index-h",t),vo(e,"translate3d("+t*this.overviewSlideWidth+"px, 0, 0)"),e.classList.contains("stack")&&uo(e,"section").forEach((e,n)=>{e.setAttribute("data-index-h",t),e.setAttribute("data-index-v",n),vo(e,"translate3d(0, "+n*this.overviewSlideHeight+"px, 0)")})}),Array.from(this.Reveal.getBackgroundsElement().childNodes).forEach((e,t)=>{vo(e,"translate3d("+t*this.overviewSlideWidth+"px, 0, 0)"),uo(e,".slide-background").forEach((e,t)=>{vo(e,"translate3d(0, "+t*this.overviewSlideHeight+"px, 0)")})})}update(){const e=Math.min(window.innerWidth,window.innerHeight),t=Math.max(e/5,150)/e,n=this.Reveal.getIndices();this.Reveal.transformSlides({overview:["scale("+t+")","translateX("+-n.h*this.overviewSlideWidth+"px)","translateY("+-n.v*this.overviewSlideHeight+"px)"].join(" ")})}deactivate(){if(this.Reveal.getConfig().overview){this.active=!1,this.Reveal.getRevealElement().classList.remove("overview"),this.Reveal.getRevealElement().classList.add("overview-deactivating"),setTimeout(()=>{this.Reveal.getRevealElement().classList.remove("overview-deactivating")},1),this.Reveal.getRevealElement().appendChild(this.Reveal.getBackgroundsElement()),uo(this.Reveal.getRevealElement(),".slides section").forEach(e=>{vo(e,""),e.removeEventListener("click",this.onSlideClicked,!0)}),uo(this.Reveal.getBackgroundsElement(),".slide-background").forEach(e=>{vo(e,"")}),this.Reveal.transformSlides({overview:""});const e=this.Reveal.getIndices();this.Reveal.slide(e.h,e.v),this.Reveal.layout(),this.Reveal.cueAutoSlide(),this.Reveal.dispatchEvent({type:"overviewhidden",data:{indexh:e.h,indexv:e.v,currentSlide:this.Reveal.getCurrentSlide()}})}}toggle(e){"boolean"==typeof e?e?this.activate():this.deactivate():this.isActive()?this.deactivate():this.activate()}isActive(){return this.active}onSlideClicked(e){if(this.isActive()){e.preventDefault();let t=e.target;for(;t&&!t.nodeName.match(/section/gi);)t=t.parentNode;if(t&&!t.classList.contains("disabled")&&(this.deactivate(),t.nodeName.match(/section/gi))){let e=parseInt(t.getAttribute("data-index-h"),10),n=parseInt(t.getAttribute("data-index-v"),10);this.Reveal.slide(e,n)}}}}class Qo{constructor(e){this.Reveal=e,this.shortcuts={},this.bindings={},this.onDocumentKeyDown=this.onDocumentKeyDown.bind(this),this.onDocumentKeyPress=this.onDocumentKeyPress.bind(this)}configure(e,t){"linear"===e.navigationMode?(this.shortcuts["&#8594; , &#8595; , SPACE , N , L , J"]="Next slide",this.shortcuts["&#8592; , &#8593; , P , H , K"]="Previous slide"):(this.shortcuts["N , SPACE"]="Next slide",this.shortcuts.P="Previous slide",this.shortcuts["&#8592; , H"]="Navigate left",this.shortcuts["&#8594; , L"]="Navigate right",this.shortcuts["&#8593; , K"]="Navigate up",this.shortcuts["&#8595; , J"]="Navigate down"),this.shortcuts["Home , Shift &#8592;"]="First slide",this.shortcuts["End , Shift &#8594;"]="Last slide",this.shortcuts["B , ."]="Pause",this.shortcuts.F="Fullscreen",this.shortcuts["ESC, O"]="Slide overview"}bind(){document.addEventListener("keydown",this.onDocumentKeyDown,!1),document.addEventListener("keypress",this.onDocumentKeyPress,!1)}unbind(){document.removeEventListener("keydown",this.onDocumentKeyDown,!1),document.removeEventListener("keypress",this.onDocumentKeyPress,!1)}addKeyBinding(e,t){"object"==typeof e&&e.keyCode?this.bindings[e.keyCode]={callback:t,key:e.key,description:e.description}:this.bindings[e]={callback:t,key:null,description:null}}removeKeyBinding(e){delete this.bindings[e]}triggerKey(e){this.onDocumentKeyDown({keyCode:e})}registerKeyboardShortcut(e,t){this.shortcuts[e]=t}getShortcuts(){return this.shortcuts}getBindings(){return this.bindings}onDocumentKeyPress(e){e.shiftKey&&63===e.charCode&&this.Reveal.toggleHelp()}onDocumentKeyDown(e){let t=this.Reveal.getConfig();if("function"==typeof t.keyboardCondition&&!1===t.keyboardCondition(e))return!0;if("focused"===t.keyboardCondition&&!this.Reveal.isFocused())return!0;let n=e.keyCode,i=!this.Reveal.isAutoSliding();this.Reveal.onUserInput(e);let r=document.activeElement&&!0===document.activeElement.isContentEditable,a=document.activeElement&&document.activeElement.tagName&&/input|textarea/i.test(document.activeElement.tagName),o=document.activeElement&&document.activeElement.className&&/speaker-notes/i.test(document.activeElement.className),s=e.shiftKey&&32===e.keyCode,l=e.shiftKey&&37===n,c=e.shiftKey&&39===n,u=!s&&!l&&!c&&(e.shiftKey||e.altKey||e.ctrlKey||e.metaKey);if(r||a||o||u)return;let d,h=[66,86,190,191];if("object"==typeof t.keyboard)for(d in t.keyboard)"togglePause"===t.keyboard[d]&&h.push(parseInt(d,10));if(this.Reveal.isPaused()&&-1===h.indexOf(n))return!1;let f="linear"===t.navigationMode||!this.Reveal.hasHorizontalSlides()||!this.Reveal.hasVerticalSlides(),v=!1;if("object"==typeof t.keyboard)for(d in t.keyboard)if(parseInt(d,10)===n){let n=t.keyboard[d];"function"==typeof n?n.apply(null,[e]):"string"==typeof n&&"function"==typeof this.Reveal[n]&&this.Reveal[n].call(),v=!0}if(!1===v)for(d in this.bindings)if(parseInt(d,10)===n){let t=this.bindings[d].callback;"function"==typeof t?t.apply(null,[e]):"string"==typeof t&&"function"==typeof this.Reveal[t]&&this.Reveal[t].call(),v=!0}var g,p;!1===v&&(v=!0,80===n||33===n?this.Reveal.prev():78===n||34===n?this.Reveal.next():72===n||37===n?l?this.Reveal.slide(0):!this.Reveal.overview.isActive()&&f?this.Reveal.prev():this.Reveal.left():76===n||39===n?c?this.Reveal.slide(Number.MAX_VALUE):!this.Reveal.overview.isActive()&&f?this.Reveal.next():this.Reveal.right():75===n||38===n?!this.Reveal.overview.isActive()&&f?this.Reveal.prev():this.Reveal.up():74===n||40===n?!this.Reveal.overview.isActive()&&f?this.Reveal.next():this.Reveal.down():36===n?this.Reveal.slide(0):35===n?this.Reveal.slide(Number.MAX_VALUE):32===n?(this.Reveal.overview.isActive()&&this.Reveal.overview.deactivate(),e.shiftKey?this.Reveal.prev():this.Reveal.next()):58===n||59===n||66===n||86===n||190===n||191===n?this.Reveal.togglePause():70===n?(g=t.embedded?this.Reveal.getViewportElement():document.documentElement,(p=(g=g||document.documentElement).requestFullscreen||g.webkitRequestFullscreen||g.webkitRequestFullScreen||g.mozRequestFullScreen||g.msRequestFullscreen)&&p.apply(g)):65===n?t.autoSlideStoppable&&this.Reveal.toggleAutoSlide(i):v=!1),v?e.preventDefault&&e.preventDefault():27!==n&&79!==n||(!1===this.Reveal.closeOverlay()&&this.Reveal.overview.toggle(),e.preventDefault&&e.preventDefault()),this.Reveal.cueAutoSlide()}}class Zo{constructor(e){this.Reveal=e,this.writeURLTimeout=0,this.onWindowHashChange=this.onWindowHashChange.bind(this)}bind(){window.addEventListener("hashchange",this.onWindowHashChange,!1)}unbind(){window.removeEventListener("hashchange",this.onWindowHashChange,!1)}readURL(){let e=this.Reveal.getConfig(),t=this.Reveal.getIndices(),n=this.Reveal.getCurrentSlide(),i=window.location.hash,r=i.slice(2).split("/"),a=i.replace(/#\/?/gi,"");if(!/^[0-9]*$/.test(r[0])&&a.length){let e,i;/\/[-\d]+$/g.test(a)&&(i=parseInt(a.split("/").pop(),10),i=isNaN(i)?void 0:i,a=a.split("/").shift());try{e=document.getElementById(decodeURIComponent(a))}catch(e){}let r=!!n&&n.getAttribute("id")===a;if(e){if(!r||void 0!==i){let t=this.Reveal.getIndices(e);this.Reveal.slide(t.h,t.v,i)}}else this.Reveal.slide(t.h||0,t.v||0)}else{let n,i=e.hashOneBasedIndex?1:0,a=parseInt(r[0],10)-i||0,o=parseInt(r[1],10)-i||0;e.fragmentInURL&&(n=parseInt(r[2],10),isNaN(n)&&(n=void 0)),a===t.h&&o===t.v&&void 0===n||this.Reveal.slide(a,o,n)}}writeURL(e){let t=this.Reveal.getConfig(),n=this.Reveal.getCurrentSlide();clearTimeout(this.writeURLTimeout),"number"==typeof e?this.writeURLTimeout=setTimeout(this.writeURL,e):n&&(t.history||!1===Lo?window.location.hash=this.getHash():t.hash&&window.history.replaceState(null,null,"#"+this.getHash()))}getHash(e){let t="/",n=e||this.Reveal.getCurrentSlide(),i=n?n.getAttribute("id"):null;i&&(i=encodeURIComponent(i));let r=this.Reveal.getIndices(e);if(this.Reveal.getConfig().fragmentInURL||(r.f=void 0),"string"==typeof i&&i.length)t="/"+i,r.f>=0&&(t+="/"+r.f);else{let e=this.Reveal.getConfig().hashOneBasedIndex?1:0;(r.h>0||r.v>0||r.f>=0)&&(t+=r.h+e),(r.v>0||r.f>=0)&&(t+="/"+(r.v+e)),r.f>=0&&(t+="/"+r.f)}return t}onWindowHashChange(e){this.readURL()}}class es{constructor(e){this.Reveal=e,this.onNavigateLeftClicked=this.onNavigateLeftClicked.bind(this),this.onNavigateRightClicked=this.onNavigateRightClicked.bind(this),this.onNavigateUpClicked=this.onNavigateUpClicked.bind(this),this.onNavigateDownClicked=this.onNavigateDownClicked.bind(this),this.onNavigatePrevClicked=this.onNavigatePrevClicked.bind(this),this.onNavigateNextClicked=this.onNavigateNextClicked.bind(this)}render(){const e=this.Reveal.getConfig().rtl,t=this.Reveal.getRevealElement();this.element=document.createElement("aside"),this.element.className="controls",this.element.innerHTML='<button class="navigate-left" aria-label="'.concat(e?"next slide":"previous slide",'"><div class="controls-arrow"></div></button>\n\t\t\t<button class="navigate-right" aria-label="').concat(e?"previous slide":"next slide",'"><div class="controls-arrow"></div></button>\n\t\t\t<button class="navigate-up" aria-label="above slide"><div class="controls-arrow"></div></button>\n\t\t\t<button class="navigate-down" aria-label="below slide"><div class="controls-arrow"></div></button>'),this.Reveal.getRevealElement().appendChild(this.element),this.controlsLeft=uo(t,".navigate-left"),this.controlsRight=uo(t,".navigate-right"),this.controlsUp=uo(t,".navigate-up"),this.controlsDown=uo(t,".navigate-down"),this.controlsPrev=uo(t,".navigate-prev"),this.controlsNext=uo(t,".navigate-next"),this.controlsRightArrow=this.element.querySelector(".navigate-right"),this.controlsLeftArrow=this.element.querySelector(".navigate-left"),this.controlsDownArrow=this.element.querySelector(".navigate-down")}configure(e,t){this.element.style.display=e.controls?"block":"none",this.element.setAttribute("data-controls-layout",e.controlsLayout),this.element.setAttribute("data-controls-back-arrows",e.controlsBackArrows)}bind(){let e=["touchstart","click"];ko&&(e=["touchstart"]),e.forEach(e=>{this.controlsLeft.forEach(t=>t.addEventListener(e,this.onNavigateLeftClicked,!1)),this.controlsRight.forEach(t=>t.addEventListener(e,this.onNavigateRightClicked,!1)),this.controlsUp.forEach(t=>t.addEventListener(e,this.onNavigateUpClicked,!1)),this.controlsDown.forEach(t=>t.addEventListener(e,this.onNavigateDownClicked,!1)),this.controlsPrev.forEach(t=>t.addEventListener(e,this.onNavigatePrevClicked,!1)),this.controlsNext.forEach(t=>t.addEventListener(e,this.onNavigateNextClicked,!1))})}unbind(){["touchstart","click"].forEach(e=>{this.controlsLeft.forEach(t=>t.removeEventListener(e,this.onNavigateLeftClicked,!1)),this.controlsRight.forEach(t=>t.removeEventListener(e,this.onNavigateRightClicked,!1)),this.controlsUp.forEach(t=>t.removeEventListener(e,this.onNavigateUpClicked,!1)),this.controlsDown.forEach(t=>t.removeEventListener(e,this.onNavigateDownClicked,!1)),this.controlsPrev.forEach(t=>t.removeEventListener(e,this.onNavigatePrevClicked,!1)),this.controlsNext.forEach(t=>t.removeEventListener(e,this.onNavigateNextClicked,!1))})}update(){let e=this.Reveal.availableRoutes();[...this.controlsLeft,...this.controlsRight,...this.controlsUp,...this.controlsDown,...this.controlsPrev,...this.controlsNext].forEach(e=>{e.classList.remove("enabled","fragmented"),e.setAttribute("disabled","disabled")}),e.left&&this.controlsLeft.forEach(e=>{e.classList.add("enabled"),e.removeAttribute("disabled")}),e.right&&this.controlsRight.forEach(e=>{e.classList.add("enabled"),e.removeAttribute("disabled")}),e.up&&this.controlsUp.forEach(e=>{e.classList.add("enabled"),e.removeAttribute("disabled")}),e.down&&this.controlsDown.forEach(e=>{e.classList.add("enabled"),e.removeAttribute("disabled")}),(e.left||e.up)&&this.controlsPrev.forEach(e=>{e.classList.add("enabled"),e.removeAttribute("disabled")}),(e.right||e.down)&&this.controlsNext.forEach(e=>{e.classList.add("enabled"),e.removeAttribute("disabled")});let t=this.Reveal.getCurrentSlide();if(t){let e=this.Reveal.fragments.availableRoutes();e.prev&&this.controlsPrev.forEach(e=>{e.classList.add("fragmented","enabled"),e.removeAttribute("disabled")}),e.next&&this.controlsNext.forEach(e=>{e.classList.add("fragmented","enabled"),e.removeAttribute("disabled")}),this.Reveal.isVerticalSlide(t)?(e.prev&&this.controlsUp.forEach(e=>{e.classList.add("fragmented","enabled"),e.removeAttribute("disabled")}),e.next&&this.controlsDown.forEach(e=>{e.classList.add("fragmented","enabled"),e.removeAttribute("disabled")})):(e.prev&&this.controlsLeft.forEach(e=>{e.classList.add("fragmented","enabled"),e.removeAttribute("disabled")}),e.next&&this.controlsRight.forEach(e=>{e.classList.add("fragmented","enabled"),e.removeAttribute("disabled")}))}if(this.Reveal.getConfig().controlsTutorial){let t=this.Reveal.getIndices();!this.Reveal.hasNavigatedVertically()&&e.down?this.controlsDownArrow.classList.add("highlight"):(this.controlsDownArrow.classList.remove("highlight"),this.Reveal.getConfig().rtl?!this.Reveal.hasNavigatedHorizontally()&&e.left&&0===t.v?this.controlsLeftArrow.classList.add("highlight"):this.controlsLeftArrow.classList.remove("highlight"):!this.Reveal.hasNavigatedHorizontally()&&e.right&&0===t.v?this.controlsRightArrow.classList.add("highlight"):this.controlsRightArrow.classList.remove("highlight"))}}onNavigateLeftClicked(e){e.preventDefault(),this.Reveal.onUserInput(),"linear"===this.Reveal.getConfig().navigationMode?this.Reveal.prev():this.Reveal.left()}onNavigateRightClicked(e){e.preventDefault(),this.Reveal.onUserInput(),"linear"===this.Reveal.getConfig().navigationMode?this.Reveal.next():this.Reveal.right()}onNavigateUpClicked(e){e.preventDefault(),this.Reveal.onUserInput(),this.Reveal.up()}onNavigateDownClicked(e){e.preventDefault(),this.Reveal.onUserInput(),this.Reveal.down()}onNavigatePrevClicked(e){e.preventDefault(),this.Reveal.onUserInput(),this.Reveal.prev()}onNavigateNextClicked(e){e.preventDefault(),this.Reveal.onUserInput(),this.Reveal.next()}}class ts{constructor(e){this.Reveal=e,this.onProgressClicked=this.onProgressClicked.bind(this)}render(){this.element=document.createElement("div"),this.element.className="progress",this.Reveal.getRevealElement().appendChild(this.element),this.bar=document.createElement("span"),this.element.appendChild(this.bar)}configure(e,t){this.element.style.display=e.progress?"block":"none"}bind(){this.Reveal.getConfig().progress&&this.element&&this.element.addEventListener("click",this.onProgressClicked,!1)}unbind(){this.Reveal.getConfig().progress&&this.element&&this.element.removeEventListener("click",this.onProgressClicked,!1)}update(){this.Reveal.getConfig().progress&&this.bar&&(this.bar.style.transform="scaleX("+this.Reveal.getProgress()+")")}getMaxWidth(){return this.Reveal.getRevealElement().offsetWidth}onProgressClicked(e){this.Reveal.onUserInput(e),e.preventDefault();let t=this.Reveal.getHorizontalSlides().length,n=Math.floor(e.clientX/this.getMaxWidth()*t);this.Reveal.getConfig().rtl&&(n=t-n),this.Reveal.slide(n)}}class ns{constructor(e){this.Reveal=e,this.lastMouseWheelStep=0,this.cursorHidden=!1,this.cursorInactiveTimeout=0,this.onDocumentCursorActive=this.onDocumentCursorActive.bind(this),this.onDocumentMouseScroll=this.onDocumentMouseScroll.bind(this)}configure(e,t){e.mouseWheel?(document.addEventListener("DOMMouseScroll",this.onDocumentMouseScroll,!1),document.addEventListener("mousewheel",this.onDocumentMouseScroll,!1)):(document.removeEventListener("DOMMouseScroll",this.onDocumentMouseScroll,!1),document.removeEventListener("mousewheel",this.onDocumentMouseScroll,!1)),e.hideInactiveCursor?(document.addEventListener("mousemove",this.onDocumentCursorActive,!1),document.addEventListener("mousedown",this.onDocumentCursorActive,!1)):(this.showCursor(),document.removeEventListener("mousemove",this.onDocumentCursorActive,!1),document.removeEventListener("mousedown",this.onDocumentCursorActive,!1))}showCursor(){this.cursorHidden&&(this.cursorHidden=!1,this.Reveal.getRevealElement().style.cursor="")}hideCursor(){!1===this.cursorHidden&&(this.cursorHidden=!0,this.Reveal.getRevealElement().style.cursor="none")}onDocumentCursorActive(e){this.showCursor(),clearTimeout(this.cursorInactiveTimeout),this.cursorInactiveTimeout=setTimeout(this.hideCursor.bind(this),this.Reveal.getConfig().hideCursorTime)}onDocumentMouseScroll(e){if(Date.now()-this.lastMouseWheelStep>1e3){this.lastMouseWheelStep=Date.now();let t=e.detail||-e.wheelDelta;t>0?this.Reveal.next():t<0&&this.Reveal.prev()}}}const is=(e,t)=>{const n=document.createElement("script");n.type="text/javascript",n.async=!1,n.defer=!1,n.src=e,"function"==typeof t&&(n.onload=n.onreadystatechange=e=>{("load"===e.type||/loaded|complete/.test(n.readyState))&&(n.onload=n.onreadystatechange=n.onerror=null,t())},n.onerror=e=>{n.onload=n.onreadystatechange=n.onerror=null,t(new Error("Failed loading script: "+n.src+"\n"+e))});const i=document.querySelector("head");i.insertBefore(n,i.lastChild)};class rs{constructor(e){this.Reveal=e,this.state="idle",this.registeredPlugins={},this.asyncDependencies=[]}load(e,t){return this.state="loading",e.forEach(this.registerPlugin.bind(this)),new Promise(e=>{let n=[],i=0;if(t.forEach(e=>{e.condition&&!e.condition()||(e.async?this.asyncDependencies.push(e):n.push(e))}),n.length){i=n.length;const t=t=>{t&&"function"==typeof t.callback&&t.callback(),0==--i&&this.initPlugins().then(e)};n.forEach(e=>{"string"==typeof e.id?(this.registerPlugin(e),t(e)):"string"==typeof e.src?is(e.src,()=>t(e)):(console.warn("Unrecognized plugin format",e),t())})}else this.initPlugins().then(e)})}initPlugins(){return new Promise(e=>{let t=Object.values(this.registeredPlugins),n=t.length;if(0===n)this.loadAsync().then(e);else{let i,r=()=>{0==--n?this.loadAsync().then(e):i()},a=0;i=()=>{let e=t[a++];if("function"==typeof e.init){let t=e.init(this.Reveal);t&&"function"==typeof t.then?t.then(r):r()}else r()},i()}})}loadAsync(){return this.state="loaded",this.asyncDependencies.length&&this.asyncDependencies.forEach(e=>{is(e.src,e.callback)}),Promise.resolve()}registerPlugin(e){2===arguments.length&&"string"==typeof arguments[0]?(e=arguments[1]).id=arguments[0]:"function"==typeof e&&(e=e());let t=e.id;"string"!=typeof t?console.warn("Unrecognized plugin format; can't find plugin.id",e):void 0===this.registeredPlugins[t]?(this.registeredPlugins[t]=e,"loaded"===this.state&&"function"==typeof e.init&&e.init(this.Reveal)):console.warn('reveal.js: "'+t+'" plugin has already been registered')}hasPlugin(e){return!!this.registeredPlugins[e]}getPlugin(e){return this.registeredPlugins[e]}getRegisteredPlugins(){return this.registeredPlugins}}class as{constructor(e){this.Reveal=e}setupPDF(){let e=this.Reveal.getConfig(),t=this.Reveal.getComputedSlideSize(window.innerWidth,window.innerHeight),n=Math.floor(t.width*(1+e.margin)),i=Math.floor(t.height*(1+e.margin)),r=t.width,a=t.height;yo("@page{size:"+n+"px "+i+"px; margin: 0px;}"),yo(".reveal section>img, .reveal section>video, .reveal section>iframe{max-width: "+r+"px; max-height:"+a+"px}"),document.documentElement.classList.add("print-pdf"),document.body.style.width=n+"px",document.body.style.height=i+"px",this.Reveal.layoutSlideContents(r,a);let o=e.slideNumber&&/all|print/i.test(e.showSlideNumber);uo(this.Reveal.getRevealElement(),".slides section").forEach((function(e){e.setAttribute("data-slide-number",this.Reveal.slideNumber.getSlideNumber(e))}),this),uo(this.Reveal.getRevealElement(),".slides section").forEach((function(t){if(!1===t.classList.contains("stack")){let s=(n-r)/2,l=(i-a)/2,c=t.scrollHeight,u=Math.max(Math.ceil(c/i),1);u=Math.min(u,e.pdfMaxPagesPerSlide),(1===u&&e.center||t.classList.contains("center"))&&(l=Math.max((i-c)/2,0));let d=document.createElement("div");if(d.className="pdf-page",d.style.height=(i+e.pdfPageHeightOffset)*u+"px",t.parentNode.insertBefore(d,t),d.appendChild(t),t.style.left=s+"px",t.style.top=l+"px",t.style.width=r+"px",t.slideBackgroundElement&&d.insertBefore(t.slideBackgroundElement,t),e.showNotes){let i=this.Reveal.getSlideNotes(t);if(i){let t=8,r="string"==typeof e.showNotes?e.showNotes:"inline",a=document.createElement("div");a.classList.add("speaker-notes"),a.classList.add("speaker-notes-pdf"),a.setAttribute("data-layout",r),a.innerHTML=i,"separate-page"===r?d.parentNode.insertBefore(a,d.nextSibling):(a.style.left=t+"px",a.style.bottom=t+"px",a.style.width=n-2*t+"px",d.appendChild(a))}}if(o){let e=document.createElement("div");e.classList.add("slide-number"),e.classList.add("slide-number-pdf"),e.innerHTML=t.getAttribute("data-slide-number"),d.appendChild(e)}if(e.pdfSeparateFragments){let e,t,n=this.Reveal.fragments.sort(d.querySelectorAll(".fragment"),!0);n.forEach((function(n){e&&e.forEach((function(e){e.classList.remove("current-fragment")})),n.forEach((function(e){e.classList.add("visible","current-fragment")}),this);let i=d.cloneNode(!0);d.parentNode.insertBefore(i,(t||d).nextSibling),e=n,t=i}),this),n.forEach((function(e){e.forEach((function(e){e.classList.remove("visible","current-fragment")}))}))}else uo(d,".fragment:not(.fade-out)").forEach((function(e){e.classList.add("visible")}))}}),this),this.Reveal.dispatchEvent({type:"pdf-ready"})}isPrintingPDF(){return/print-pdf/gi.test(window.location.search)}}class os{constructor(e){this.Reveal=e,this.touchStartX=0,this.touchStartY=0,this.touchStartCount=0,this.touchCaptured=!1,this.onPointerDown=this.onPointerDown.bind(this),this.onPointerMove=this.onPointerMove.bind(this),this.onPointerUp=this.onPointerUp.bind(this),this.onTouchStart=this.onTouchStart.bind(this),this.onTouchMove=this.onTouchMove.bind(this),this.onTouchEnd=this.onTouchEnd.bind(this)}bind(){let e=this.Reveal.getRevealElement();"onpointerdown"in window?(e.addEventListener("pointerdown",this.onPointerDown,!1),e.addEventListener("pointermove",this.onPointerMove,!1),e.addEventListener("pointerup",this.onPointerUp,!1)):window.navigator.msPointerEnabled?(e.addEventListener("MSPointerDown",this.onPointerDown,!1),e.addEventListener("MSPointerMove",this.onPointerMove,!1),e.addEventListener("MSPointerUp",this.onPointerUp,!1)):(e.addEventListener("touchstart",this.onTouchStart,!1),e.addEventListener("touchmove",this.onTouchMove,!1),e.addEventListener("touchend",this.onTouchEnd,!1))}unbind(){let e=this.Reveal.getRevealElement();e.removeEventListener("pointerdown",this.onPointerDown,!1),e.removeEventListener("pointermove",this.onPointerMove,!1),e.removeEventListener("pointerup",this.onPointerUp,!1),e.removeEventListener("MSPointerDown",this.onPointerDown,!1),e.removeEventListener("MSPointerMove",this.onPointerMove,!1),e.removeEventListener("MSPointerUp",this.onPointerUp,!1),e.removeEventListener("touchstart",this.onTouchStart,!1),e.removeEventListener("touchmove",this.onTouchMove,!1),e.removeEventListener("touchend",this.onTouchEnd,!1)}isSwipePrevented(e){for(;e&&"function"==typeof e.hasAttribute;){if(e.hasAttribute("data-prevent-swipe"))return!0;e=e.parentNode}return!1}onTouchStart(e){if(this.isSwipePrevented(e.target))return!0;this.touchStartX=e.touches[0].clientX,this.touchStartY=e.touches[0].clientY,this.touchStartCount=e.touches.length}onTouchMove(e){if(this.isSwipePrevented(e.target))return!0;let t=this.Reveal.getConfig();if(this.touchCaptured)ko&&e.preventDefault();else{this.Reveal.onUserInput(e);let n=e.touches[0].clientX,i=e.touches[0].clientY;if(1===e.touches.length&&2!==this.touchStartCount){let r=this.Reveal.availableRoutes({includeFragments:!0}),a=n-this.touchStartX,o=i-this.touchStartY;a>40&&Math.abs(a)>Math.abs(o)?(this.touchCaptured=!0,"linear"===t.navigationMode?t.rtl?this.Reveal.next():this.Reveal.prev():this.Reveal.left()):a<-40&&Math.abs(a)>Math.abs(o)?(this.touchCaptured=!0,"linear"===t.navigationMode?t.rtl?this.Reveal.prev():this.Reveal.next():this.Reveal.right()):o>40&&r.up?(this.touchCaptured=!0,"linear"===t.navigationMode?this.Reveal.prev():this.Reveal.up()):o<-40&&r.down&&(this.touchCaptured=!0,"linear"===t.navigationMode?this.Reveal.next():this.Reveal.down()),t.embedded?(this.touchCaptured||this.Reveal.isVerticalSlide())&&e.preventDefault():e.preventDefault()}}}onTouchEnd(e){this.touchCaptured=!1}onPointerDown(e){e.pointerType!==e.MSPOINTER_TYPE_TOUCH&&"touch"!==e.pointerType||(e.touches=[{clientX:e.clientX,clientY:e.clientY}],this.onTouchStart(e))}onPointerMove(e){e.pointerType!==e.MSPOINTER_TYPE_TOUCH&&"touch"!==e.pointerType||(e.touches=[{clientX:e.clientX,clientY:e.clientY}],this.onTouchMove(e))}onPointerUp(e){e.pointerType!==e.MSPOINTER_TYPE_TOUCH&&"touch"!==e.pointerType||(e.touches=[{clientX:e.clientX,clientY:e.clientY}],this.onTouchEnd(e))}}var ss=function(){function e(t){Ya(this,e),this.Reveal=t,this.onRevealPointerDown=this.onRevealPointerDown.bind(this),this.onDocumentPointerDown=this.onDocumentPointerDown.bind(this)}return Ja(e,[{key:"configure",value:function(e,t){e.embedded?this.blur():(this.focus(),this.unbind())}},{key:"bind",value:function(){this.Reveal.getConfig().embedded&&this.Reveal.getRevealElement().addEventListener("pointerdown",this.onRevealPointerDown,!1)}},{key:"unbind",value:function(){this.Reveal.getRevealElement().removeEventListener("pointerdown",this.onRevealPointerDown,!1),document.removeEventListener("pointerdown",this.onDocumentPointerDown,!1)}},{key:"focus",value:function(){"focus"!==this.state&&(this.Reveal.getRevealElement().classList.add("focused"),document.addEventListener("pointerdown",this.onDocumentPointerDown,!1)),this.state="focus"}},{key:"blur",value:function(){"blur"!==this.state&&(this.Reveal.getRevealElement().classList.remove("focused"),document.removeEventListener("pointerdown",this.onDocumentPointerDown,!1)),this.state="blur"}},{key:"isFocused",value:function(){return"focus"===this.state}},{key:"onRevealPointerDown",value:function(e){this.focus()}},{key:"onDocumentPointerDown",value:function(e){var t=po(e.target,".reveal");t&&t===this.Reveal.getRevealElement()||this.blur()}}]),e}();class ls{constructor(e){this.Reveal=e}render(){this.element=document.createElement("div"),this.element.className="speaker-notes",this.element.setAttribute("data-prevent-swipe",""),this.element.setAttribute("tabindex","0"),this.Reveal.getRevealElement().appendChild(this.element)}configure(e,t){e.showNotes&&this.element.setAttribute("data-layout","string"==typeof e.showNotes?e.showNotes:"inline")}update(){this.Reveal.getConfig().showNotes&&this.element&&this.Reveal.getCurrentSlide()&&!this.Reveal.print.isPrintingPDF()&&(this.element.innerHTML=this.getSlideNotes()||'<span class="notes-placeholder">No notes on this slide.</span>')}updateVisibility(){this.Reveal.getConfig().showNotes&&this.hasNotes()&&!this.Reveal.print.isPrintingPDF()?this.Reveal.getRevealElement().classList.add("show-notes"):this.Reveal.getRevealElement().classList.remove("show-notes")}hasNotes(){return this.Reveal.getSlidesElement().querySelectorAll("[data-notes], aside.notes").length>0}isSpeakerNotesWindow(){return!!window.location.search.match(/receiver/gi)}getSlideNotes(e=this.Reveal.getCurrentSlide()){if(e.hasAttribute("data-notes"))return e.getAttribute("data-notes");let t=e.querySelector("aside.notes");return t?t.innerHTML:null}}class cs{constructor(e,t){this.diameter=100,this.diameter2=this.diameter/2,this.thickness=6,this.playing=!1,this.progress=0,this.progressOffset=1,this.container=e,this.progressCheck=t,this.canvas=document.createElement("canvas"),this.canvas.className="playback",this.canvas.width=this.diameter,this.canvas.height=this.diameter,this.canvas.style.width=this.diameter2+"px",this.canvas.style.height=this.diameter2+"px",this.context=this.canvas.getContext("2d"),this.container.appendChild(this.canvas),this.render()}setPlaying(e){const t=this.playing;this.playing=e,!t&&this.playing?this.animate():this.render()}animate(){const e=this.progress;this.progress=this.progressCheck(),e>.8&&this.progress<.2&&(this.progressOffset=this.progress),this.render(),this.playing&&requestAnimationFrame(this.animate.bind(this))}render(){let e=this.playing?this.progress:0,t=this.diameter2-this.thickness,n=this.diameter2,i=this.diameter2;this.progressOffset+=.1*(1-this.progressOffset);const r=-Math.PI/2+e*(2*Math.PI),a=-Math.PI/2+this.progressOffset*(2*Math.PI);this.context.save(),this.context.clearRect(0,0,this.diameter,this.diameter),this.context.beginPath(),this.context.arc(n,i,t+4,0,2*Math.PI,!1),this.context.fillStyle="rgba( 0, 0, 0, 0.4 )",this.context.fill(),this.context.beginPath(),this.context.arc(n,i,t,0,2*Math.PI,!1),this.context.lineWidth=this.thickness,this.context.strokeStyle="rgba( 255, 255, 255, 0.2 )",this.context.stroke(),this.playing&&(this.context.beginPath(),this.context.arc(n,i,t,a,r,!1),this.context.lineWidth=this.thickness,this.context.strokeStyle="#fff",this.context.stroke()),this.context.translate(n-14,i-14),this.playing?(this.context.fillStyle="#fff",this.context.fillRect(0,0,10,28),this.context.fillRect(18,0,10,28)):(this.context.beginPath(),this.context.translate(4,0),this.context.moveTo(0,0),this.context.lineTo(24,14),this.context.lineTo(0,28),this.context.fillStyle="#fff",this.context.fill()),this.context.restore()}on(e,t){this.canvas.addEventListener(e,t,!1)}off(e,t){this.canvas.removeEventListener(e,t,!1)}destroy(){this.playing=!1,this.canvas.parentNode&&this.container.removeChild(this.canvas)}}var us={width:960,height:700,margin:.04,minScale:.2,maxScale:2,controls:!0,controlsTutorial:!0,controlsLayout:"bottom-right",controlsBackArrows:"faded",progress:!0,slideNumber:!1,showSlideNumber:"all",hashOneBasedIndex:!1,hash:!1,respondToHashChanges:!0,history:!1,keyboard:!0,keyboardCondition:null,disableLayout:!1,overview:!0,center:!0,touch:!0,loop:!1,rtl:!1,navigationMode:"default",shuffle:!1,fragments:!0,fragmentInURL:!0,embedded:!1,help:!0,pause:!0,showNotes:!1,autoPlayMedia:null,preloadIframes:null,autoAnimate:!0,autoAnimateMatcher:null,autoAnimateEasing:"ease",autoAnimateDuration:1,autoAnimateUnmatched:!0,autoAnimateStyles:["opacity","color","background-color","padding","font-size","line-height","letter-spacing","border-width","border-color","border-radius","outline","outline-offset"],autoSlide:0,autoSlideStoppable:!0,autoSlideMethod:null,defaultTiming:null,mouseWheel:!1,previewLinks:!1,postMessage:!0,postMessageEvents:!1,focusBodyOnPageVisibilityChange:!0,transition:"slide",transitionSpeed:"default",backgroundTransition:"fade",parallaxBackgroundImage:"",parallaxBackgroundSize:"",parallaxBackgroundRepeat:"",parallaxBackgroundPosition:"",parallaxBackgroundHorizontal:null,parallaxBackgroundVertical:null,pdfMaxPagesPerSlide:Number.POSITIVE_INFINITY,pdfSeparateFragments:!0,pdfPageHeightOffset:-1,viewDistance:3,mobileViewDistance:2,display:"block",hideInactiveCursor:!0,hideCursorTime:5e3,dependencies:[],plugins:[]};function ds(e,t){arguments.length<2&&(t=arguments[0],e=document.querySelector(".reveal"));var n,i,r,a,o,s,l={},c=!1,u={hasNavigatedHorizontally:!1,hasNavigatedVertically:!1},d=[],h=1,f={layout:"",overview:""},v={},g="idle",p=0,m=0,y=-1,b=!1,w=new Co(l),S=new Po(l),E=new Yo(l),A=new Mo(l),R=new Go(l),k=new Jo(l),x=new Qo(l),L=new Zo(l),C=new es(l),P=new ts(l),N=new ns(l),M=new rs(l),I=new as(l),T=new ss(l),O=new os(l),D=new ls(l);function j(i){return v.wrapper=e,v.slides=e.querySelector(".slides"),n=eo(eo(eo(eo({},us),t),i),bo()),H(),window.addEventListener("load",ae,!1),M.load(n.plugins,n.dependencies).then(B),new Promise((function(e){return l.on("ready",e)}))}function H(){!0===n.embedded?v.viewport=po(e,".reveal-viewport")||e:(v.viewport=document.body,document.documentElement.classList.add("reveal-full-page")),v.viewport.classList.add("reveal-viewport")}function B(){c=!0,U(),V(),_(),Ae(),W(),L.readURL(),A.update(!0),setTimeout((function(){v.slides.classList.remove("no-transition"),v.wrapper.classList.add("ready"),J({type:"ready",data:{indexh:i,indexv:r,currentSlide:o}})}),1),I.isPrintingPDF()&&(X(),"complete"===document.readyState?I.setupPDF():window.addEventListener("load",(function(){I.setupPDF()})))}function U(){v.slides.classList.add("no-transition"),Ao?v.wrapper.classList.add("no-hover"):v.wrapper.classList.remove("no-hover"),A.render(),S.render(),C.render(),P.render(),D.render(),v.pauseOverlay=mo(v.wrapper,"div","pause-overlay",n.controls?'<button class="resume-button">Resume presentation</button>':null),v.statusElement=F(),v.wrapper.setAttribute("role","application")}function F(){var e=v.wrapper.querySelector(".aria-status");return e||((e=document.createElement("div")).style.position="absolute",e.style.height="1px",e.style.width="1px",e.style.overflow="hidden",e.style.clip="rect( 1px, 1px, 1px, 1px )",e.classList.add("aria-status"),e.setAttribute("aria-live","polite"),e.setAttribute("aria-atomic","true"),v.wrapper.appendChild(e)),e}function z(e){v.statusElement.textContent=e}function q(e){var t="";if(3===e.nodeType)t+=e.textContent;else if(1===e.nodeType){var n=e.getAttribute("aria-hidden"),i="none"===window.getComputedStyle(e).display;"true"===n||i||Array.from(e.childNodes).forEach((function(e){t+=q(e)}))}return""===(t=t.trim())?"":t+" "}function _(){setInterval((function(){0===v.wrapper.scrollTop&&0===v.wrapper.scrollLeft||(v.wrapper.scrollTop=0,v.wrapper.scrollLeft=0)}),1e3)}function V(){n.postMessage&&window.addEventListener("message",(function(e){var t=e.data;if("string"==typeof t&&"{"===t.charAt(0)&&"}"===t.charAt(t.length-1)&&(t=JSON.parse(t)).method&&"function"==typeof l[t.method])if(!1===to.test(t.method)){var n=l[t.method].apply(l,t.args);Q("callback",{method:t.method,result:n})}else console.warn('reveal.js: "'+t.method+'" is is blacklisted from the postMessage API')}),!1)}function W(e){var t=eo({},n);if("object"===$a(e)&&co(n,e),!1!==l.isReady()){var i=v.wrapper.querySelectorAll(".slides section").length;v.wrapper.classList.remove(t.transition),v.wrapper.classList.add(n.transition),v.wrapper.setAttribute("data-transition-speed",n.transitionSpeed),v.wrapper.setAttribute("data-background-transition",n.backgroundTransition),n.shuffle&&Re(),ho(v.wrapper,"embedded",n.embedded),ho(v.wrapper,"rtl",n.rtl),ho(v.wrapper,"center",n.center),!1===n.pause&&ge(),n.previewLinks?(Z(),ee("[data-preview-link=false]")):(ee(),Z("[data-preview-link]:not([data-preview-link=false])")),E.reset(),s&&(s.destroy(),s=null),i>1&&n.autoSlide&&n.autoSlideStoppable&&((s=new cs(v.wrapper,(function(){return Math.min(Math.max((Date.now()-y)/p,0),1)}))).on("click",rt),b=!1),"default"!==n.navigationMode?v.wrapper.setAttribute("data-navigation-mode",n.navigationMode):v.wrapper.removeAttribute("data-navigation-mode"),D.configure(n,t),T.configure(n,t),N.configure(n,t),C.configure(n,t),P.configure(n,t),x.configure(n,t),R.configure(n,t),S.configure(n,t),Se()}}function K(){window.addEventListener("resize",tt,!1),n.touch&&O.bind(),n.keyboard&&x.bind(),n.progress&&P.bind(),n.respondToHashChanges&&L.bind(),C.bind(),T.bind(),v.slides.addEventListener("transitionend",et,!1),v.pauseOverlay.addEventListener("click",ge,!1),n.focusBodyOnPageVisibilityChange&&document.addEventListener("visibilitychange",nt,!1)}function X(){O.unbind(),T.unbind(),x.unbind(),C.unbind(),P.unbind(),L.unbind(),window.removeEventListener("resize",tt,!1),v.slides.removeEventListener("transitionend",et,!1),v.pauseOverlay.removeEventListener("click",ge,!1)}function $(t,n,i){e.addEventListener(t,n,i)}function Y(t,n,i){e.removeEventListener(t,n,i)}function G(e){"string"==typeof e.layout&&(f.layout=e.layout),"string"==typeof e.overview&&(f.overview=e.overview),f.layout?vo(v.slides,f.layout+" "+f.overview):vo(v.slides,f.overview)}function J(e){var t=e.target,n=void 0===t?v.wrapper:t,i=e.type,r=e.data,a=e.bubbles,o=void 0===a||a,s=document.createEvent("HTMLEvents",1,2);s.initEvent(i,o,!0),co(s,r),n.dispatchEvent(s),n===v.wrapper&&Q(i)}function Q(e,t){if(n.postMessageEvents&&window.parent!==window.self){var i={namespace:"reveal",eventName:e,state:ze()};co(i,t),window.parent.postMessage(JSON.stringify(i),"*")}}function Z(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"a";Array.from(v.wrapper.querySelectorAll(e)).forEach((function(e){/^(http|www)/gi.test(e.getAttribute("href"))&&e.addEventListener("click",it,!1)}))}function ee(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"a";Array.from(v.wrapper.querySelectorAll(e)).forEach((function(e){/^(http|www)/gi.test(e.getAttribute("href"))&&e.removeEventListener("click",it,!1)}))}function te(e){re(),v.overlay=document.createElement("div"),v.overlay.classList.add("overlay"),v.overlay.classList.add("overlay-preview"),v.wrapper.appendChild(v.overlay),v.overlay.innerHTML='<header>\n\t\t\t\t<a class="close" href="#"><span class="icon"></span></a>\n\t\t\t\t<a class="external" href="'.concat(e,'" target="_blank"><span class="icon"></span></a>\n\t\t\t</header>\n\t\t\t<div class="spinner"></div>\n\t\t\t<div class="viewport">\n\t\t\t\t<iframe src="').concat(e,'"></iframe>\n\t\t\t\t<small class="viewport-inner">\n\t\t\t\t\t<span class="x-frame-error">Unable to load iframe. This is likely due to the site\'s policy (x-frame-options).</span>\n\t\t\t\t</small>\n\t\t\t</div>'),v.overlay.querySelector("iframe").addEventListener("load",(function(e){v.overlay.classList.add("loaded")}),!1),v.overlay.querySelector(".close").addEventListener("click",(function(e){re(),e.preventDefault()}),!1),v.overlay.querySelector(".external").addEventListener("click",(function(e){re()}),!1)}function ne(e){"boolean"==typeof e?e?ie():re():v.overlay?re():ie()}function ie(){if(n.help){re(),v.overlay=document.createElement("div"),v.overlay.classList.add("overlay"),v.overlay.classList.add("overlay-help"),v.wrapper.appendChild(v.overlay);var e='<p class="title">Keyboard Shortcuts</p><br/>',t=x.getShortcuts(),i=x.getBindings();for(var r in e+="<table><th>KEY</th><th>ACTION</th>",t)e+="<tr><td>".concat(r,"</td><td>").concat(t[r],"</td></tr>");for(var a in i)i[a].key&&i[a].description&&(e+="<tr><td>".concat(i[a].key,"</td><td>").concat(i[a].description,"</td></tr>"));e+="</table>",v.overlay.innerHTML='\n\t\t\t\t<header>\n\t\t\t\t\t<a class="close" href="#"><span class="icon"></span></a>\n\t\t\t\t</header>\n\t\t\t\t<div class="viewport">\n\t\t\t\t\t<div class="viewport-inner">'.concat(e,"</div>\n\t\t\t\t</div>\n\t\t\t"),v.overlay.querySelector(".close").addEventListener("click",(function(e){re(),e.preventDefault()}),!1)}}function re(){return!!v.overlay&&(v.overlay.parentNode.removeChild(v.overlay),v.overlay=null,!0)}function ae(){if(v.wrapper&&!I.isPrintingPDF()){if(!n.disableLayout){Ao&&!n.embedded&&document.documentElement.style.setProperty("--vh",.01*window.innerHeight+"px");var e=se(),t=h;oe(n.width,n.height),v.slides.style.width=e.width+"px",v.slides.style.height=e.height+"px",h=Math.min(e.presentationWidth/e.width,e.presentationHeight/e.height),h=Math.max(h,n.minScale),1===(h=Math.min(h,n.maxScale))?(v.slides.style.zoom="",v.slides.style.left="",v.slides.style.top="",v.slides.style.bottom="",v.slides.style.right="",G({layout:""})):h>1&&xo&&window.devicePixelRatio<2?(v.slides.style.zoom=h,v.slides.style.left="",v.slides.style.top="",v.slides.style.bottom="",v.slides.style.right="",G({layout:""})):(v.slides.style.zoom="",v.slides.style.left="50%",v.slides.style.top="50%",v.slides.style.bottom="auto",v.slides.style.right="auto",G({layout:"translate(-50%, -50%) scale("+h+")"}));for(var i=Array.from(v.wrapper.querySelectorAll(".slides section")),r=0,a=i.length;r<a;r++){var o=i[r];"none"!==o.style.display&&(n.center||o.classList.contains("center")?o.classList.contains("stack")?o.style.top=0:o.style.top=Math.max((e.height-o.scrollHeight)/2,0)+"px":o.style.top="")}t!==h&&J({type:"resize",data:{oldScale:t,scale:h,size:e}})}P.update(),A.updateParallax(),k.isActive()&&k.update()}}function oe(e,t){uo(v.slides,"section > .stretch, section > .r-stretch").forEach((function(n){var i=wo(n,t);if(/(img|video)/gi.test(n.nodeName)){var r=n.naturalWidth||n.videoWidth,a=n.naturalHeight||n.videoHeight,o=Math.min(e/r,i/a);n.style.width=r*o+"px",n.style.height=a*o+"px"}else n.style.width=e+"px",n.style.height=i+"px"}))}function se(e,t){var i={width:n.width,height:n.height,presentationWidth:e||v.wrapper.offsetWidth,presentationHeight:t||v.wrapper.offsetHeight};return i.presentationWidth-=i.presentationWidth*n.margin,i.presentationHeight-=i.presentationHeight*n.margin,"string"==typeof i.width&&/%$/.test(i.width)&&(i.width=parseInt(i.width,10)/100*i.presentationWidth),"string"==typeof i.height&&/%$/.test(i.height)&&(i.height=parseInt(i.height,10)/100*i.presentationHeight),i}function le(e,t){"object"===$a(e)&&"function"==typeof e.setAttribute&&e.setAttribute("data-previous-indexv",t||0)}function ce(e){if("object"===$a(e)&&"function"==typeof e.setAttribute&&e.classList.contains("stack")){var t=e.hasAttribute("data-start-indexv")?"data-start-indexv":"data-previous-indexv";return parseInt(e.getAttribute(t)||0,10)}return 0}function ue(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:o;return e&&e.parentNode&&!!e.parentNode.nodeName.match(/section/i)}function de(){return!(!o||!ue(o))&&!o.nextElementSibling}function he(){return 0===i&&0===r}function fe(){return!!o&&(!o.nextElementSibling&&(!ue(o)||!o.parentNode.nextElementSibling))}function ve(){if(n.pause){var e=v.wrapper.classList.contains("paused");Ve(),v.wrapper.classList.add("paused"),!1===e&&J({type:"paused"})}}function ge(){var e=v.wrapper.classList.contains("paused");v.wrapper.classList.remove("paused"),_e(),e&&J({type:"resumed"})}function pe(e){"boolean"==typeof e?e?ve():ge():me()?ge():ve()}function me(){return v.wrapper.classList.contains("paused")}function ye(e){"boolean"==typeof e?e?Ke():We():b?Ke():We()}function be(){return!(!p||b)}function we(e,t,s,l){a=o;var c=v.wrapper.querySelectorAll(".slides>section");if(0!==c.length){void 0!==t||k.isActive()||(t=ce(c[e])),a&&a.parentNode&&a.parentNode.classList.contains("stack")&&le(a.parentNode,r);var u=d.concat();d.length=0;var h=i||0,f=r||0;i=ke(".slides>section",void 0===e?i:e),r=ke(".slides>section.present>section",void 0===t?r:t);var p=i!==h||r!==f;p||(a=null);var m=c[i],y=m.querySelectorAll("section");o=y[r]||m;var b=!1;p&&a&&o&&!k.isActive()&&(a.hasAttribute("data-auto-animate")&&o.hasAttribute("data-auto-animate")&&(b=!0,v.slides.classList.add("disable-slide-transitions")),g="running"),xe(),ae(),k.isActive()&&k.update(),void 0!==s&&R.goto(s),a&&a!==o&&(a.classList.remove("present"),a.setAttribute("aria-hidden","true"),he()&&setTimeout((function(){Oe().forEach((function(e){le(e,0)}))}),0));e:for(var x=0,N=d.length;x<N;x++){for(var M=0;M<u.length;M++)if(u[M]===d[x]){u.splice(M,1);continue e}v.viewport.classList.add(d[x]),J({type:d[x]})}for(;u.length;)v.viewport.classList.remove(u.pop());p&&J({type:"slidechanged",data:{indexh:i,indexv:r,previousSlide:a,currentSlide:o,origin:l}}),!p&&a||(w.stopEmbeddedContent(a),w.startEmbeddedContent(o)),z(q(o)),P.update(),C.update(),D.update(),A.update(),A.updateParallax(),S.update(),R.update(),L.writeURL(),_e(),b&&(setTimeout((function(){v.slides.classList.remove("disable-slide-transitions")}),0),n.autoAnimate&&E.run(a,o))}}function Se(){X(),K(),ae(),p=n.autoSlide,_e(),A.create(),L.writeURL(),R.sortAll(),C.update(),P.update(),xe(),D.update(),D.updateVisibility(),A.update(!0),S.update(),w.formatEmbeddedContent(),!1===n.autoPlayMedia?w.stopEmbeddedContent(o,{unloadIframes:!1}):w.startEmbeddedContent(o),k.isActive()&&k.layout()}function Ee(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:o;A.sync(e),R.sync(e),w.load(e),A.update(),D.update()}function Ae(){Ie().forEach((function(e){uo(e,"section").forEach((function(e,t){t>0&&(e.classList.remove("present"),e.classList.remove("past"),e.classList.add("future"),e.setAttribute("aria-hidden","true"))}))}))}function Re(){Ie().forEach((function(e,t,n){v.slides.insertBefore(e,n[Math.floor(Math.random()*n.length)])}))}function ke(e,t){var i=uo(v.wrapper,e),r=i.length,a=I.isPrintingPDF();if(r){n.loop&&(t%=r)<0&&(t=r+t),t=Math.max(Math.min(t,r-1),0);for(var o=0;o<r;o++){var s=i[o],l=n.rtl&&!ue(s);s.classList.remove("past"),s.classList.remove("present"),s.classList.remove("future"),s.setAttribute("hidden",""),s.setAttribute("aria-hidden","true"),s.querySelector("section")&&s.classList.add("stack"),a?s.classList.add("present"):o<t?(s.classList.add(l?"future":"past"),n.fragments&&uo(s,".fragment").forEach((function(e){e.classList.add("visible"),e.classList.remove("current-fragment")}))):o>t&&(s.classList.add(l?"past":"future"),n.fragments&&uo(s,".fragment.visible").forEach((function(e){e.classList.remove("visible","current-fragment")})))}var c=i[t],u=c.classList.contains("present");c.classList.add("present"),c.removeAttribute("hidden"),c.removeAttribute("aria-hidden"),u||J({target:c,type:"visible",bubbles:!1});var h=c.getAttribute("data-state");h&&(d=d.concat(h.split(" ")))}else t=0;return t}function xe(){var e,t=Ie(),a=t.length;if(a&&void 0!==i){var o=k.isActive()?10:n.viewDistance;Ao&&(o=k.isActive()?6:n.mobileViewDistance),I.isPrintingPDF()&&(o=Number.MAX_VALUE);for(var s=0;s<a;s++){var l=t[s],c=uo(l,"section"),u=c.length;if(e=Math.abs((i||0)-s)||0,n.loop&&(e=Math.abs(((i||0)-s)%(a-o))||0),e<o?w.load(l):w.unload(l),u)for(var d=ce(l),h=0;h<u;h++){var f=c[h];e+(s===(i||0)?Math.abs((r||0)-h):Math.abs(h-d))<o?w.load(f):w.unload(f)}}je()?v.wrapper.classList.add("has-vertical-slides"):v.wrapper.classList.remove("has-vertical-slides"),De()?v.wrapper.classList.add("has-horizontal-slides"):v.wrapper.classList.remove("has-horizontal-slides")}}function Le(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.includeFragments,a=void 0!==t&&t,o=v.wrapper.querySelectorAll(".slides>section"),s=v.wrapper.querySelectorAll(".slides>section.present>section"),l={left:i>0,right:i<o.length-1,up:r>0,down:r<s.length-1};if(n.loop&&(o.length>1&&(l.left=!0,l.right=!0),s.length>1&&(l.up=!0,l.down=!0)),o.length>1&&"linear"===n.navigationMode&&(l.right=l.right||l.down,l.left=l.left||l.up),!0===a){var c=R.availableRoutes();l.left=l.left||c.prev,l.up=l.up||c.prev,l.down=l.down||c.next,l.right=l.right||c.next}if(n.rtl){var u=l.left;l.left=l.right,l.right=u}return l}function Ce(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:o,t=Ie(),n=0;e:for(var i=0;i<t.length;i++){for(var r=t[i],a=r.querySelectorAll("section"),s=0;s<a.length;s++){if(a[s]===e)break e;"uncounted"!==a[s].dataset.visibility&&n++}if(r===e)break;!1===r.classList.contains("stack")&&"uncounted"!==!r.dataset.visibility&&n++}return n}function Pe(){var e=Be(),t=Ce();if(o){var n=o.querySelectorAll(".fragment");if(n.length>0){t+=o.querySelectorAll(".fragment.visible").length/n.length*.9}}return Math.min(t/(e-1),1)}function Ne(e){var t,n=i,a=r;if(e){var s=ue(e),l=s?e.parentNode:e,c=Ie();n=Math.max(c.indexOf(l),0),a=void 0,s&&(a=Math.max(uo(e.parentNode,"section").indexOf(e),0))}if(!e&&o&&o.querySelectorAll(".fragment").length>0){var u=o.querySelector(".current-fragment");t=u&&u.hasAttribute("data-fragment-index")?parseInt(u.getAttribute("data-fragment-index"),10):o.querySelectorAll(".fragment.visible").length-1}return{h:n,v:a,f:t}}function Me(){return uo(v.wrapper,'.slides section:not(.stack):not([data-visibility="uncounted"])')}function Ie(){return uo(v.wrapper,".slides>section")}function Te(){return uo(v.wrapper,".slides>section>section")}function Oe(){return uo(v.wrapper,".slides>section.stack")}function De(){return Ie().length>1}function je(){return Te().length>1}function He(){return Me().map((function(e){for(var t={},n=0;n<e.attributes.length;n++){var i=e.attributes[n];t[i.name]=i.value}return t}))}function Be(){return Me().length}function Ue(e,t){var n=Ie()[e],i=n&&n.querySelectorAll("section");return i&&i.length&&"number"==typeof t?i?i[t]:void 0:n}function Fe(e,t){var n="number"==typeof e?Ue(e,t):e;if(n)return n.slideBackgroundElement}function ze(){var e=Ne();return{indexh:e.h,indexv:e.v,indexf:e.f,paused:me(),overview:k.isActive()}}function qe(e){if("object"===$a(e)){we(fo(e.indexh),fo(e.indexv),fo(e.indexf));var t=fo(e.paused),n=fo(e.overview);"boolean"==typeof t&&t!==me()&&pe(t),"boolean"==typeof n&&n!==k.isActive()&&k.toggle(n)}}function _e(){if(Ve(),o&&!1!==n.autoSlide){var e=o.querySelector(".current-fragment");e||(e=o.querySelector(".fragment"));var t=e?e.getAttribute("data-autoslide"):null,i=o.parentNode?o.parentNode.getAttribute("data-autoslide"):null,r=o.getAttribute("data-autoslide");p=t?parseInt(t,10):r?parseInt(r,10):i?parseInt(i,10):n.autoSlide,0===o.querySelectorAll(".fragment").length&&uo(o,"video, audio").forEach((function(e){e.hasAttribute("data-autoplay")&&p&&1e3*e.duration/e.playbackRate>p&&(p=1e3*e.duration/e.playbackRate+1e3)})),!p||b||me()||k.isActive()||fe()&&!R.availableRoutes().next&&!0!==n.loop||(m=setTimeout((function(){"function"==typeof n.autoSlideMethod?n.autoSlideMethod():Qe(),_e()}),p),y=Date.now()),s&&s.setPlaying(-1!==m)}}function Ve(){clearTimeout(m),m=-1}function We(){p&&!b&&(b=!0,J({type:"autoslidepaused"}),clearTimeout(m),s&&s.setPlaying(!1))}function Ke(){p&&b&&(b=!1,J({type:"autoslideresumed"}),_e())}function Xe(){u.hasNavigatedHorizontally=!0,n.rtl?(k.isActive()||!1===R.next())&&Le().left&&we(i+1,"grid"===n.navigationMode?r:void 0):(k.isActive()||!1===R.prev())&&Le().left&&we(i-1,"grid"===n.navigationMode?r:void 0)}function $e(){u.hasNavigatedHorizontally=!0,n.rtl?(k.isActive()||!1===R.prev())&&Le().right&&we(i-1,"grid"===n.navigationMode?r:void 0):(k.isActive()||!1===R.next())&&Le().right&&we(i+1,"grid"===n.navigationMode?r:void 0)}function Ye(){(k.isActive()||!1===R.prev())&&Le().up&&we(i,r-1)}function Ge(){u.hasNavigatedVertically=!0,(k.isActive()||!1===R.next())&&Le().down&&we(i,r+1)}function Je(){var e;if(!1===R.prev())if(Le().up)Ye();else if(e=n.rtl?uo(v.wrapper,".slides>section.future").pop():uo(v.wrapper,".slides>section.past").pop()){var t=e.querySelectorAll("section").length-1||void 0;we(i-1,t)}}function Qe(){if(u.hasNavigatedHorizontally=!0,u.hasNavigatedVertically=!0,!1===R.next()){var e=Le();e.down&&e.right&&n.loop&&de()&&(e.down=!1),e.down?Ge():n.rtl?Xe():$e()}}function Ze(e){n.autoSlideStoppable&&We()}function et(e){"running"===g&&/section/gi.test(e.target.nodeName)&&(g="idle",J({type:"slidetransitionend",data:{indexh:i,indexv:r,previousSlide:a,currentSlide:o}}))}function tt(e){ae()}function nt(e){!1===document.hidden&&document.activeElement!==document.body&&("function"==typeof document.activeElement.blur&&document.activeElement.blur(),document.body.focus())}function it(e){if(e.currentTarget&&e.currentTarget.hasAttribute("href")){var t=e.currentTarget.getAttribute("href");t&&(te(t),e.preventDefault())}}function rt(e){fe()&&!1===n.loop?(we(0,0),Ke()):b?Ke():We()}var at={VERSION:"4.0.1",initialize:j,configure:W,sync:Se,syncSlide:Ee,syncFragments:R.sync.bind(R),slide:we,left:Xe,right:$e,up:Ye,down:Ge,prev:Je,next:Qe,navigateLeft:Xe,navigateRight:$e,navigateUp:Ye,navigateDown:Ge,navigatePrev:Je,navigateNext:Qe,navigateFragment:R.goto.bind(R),prevFragment:R.prev.bind(R),nextFragment:R.next.bind(R),on:$,off:Y,addEventListener:$,removeEventListener:Y,layout:ae,shuffle:Re,availableRoutes:Le,availableFragments:R.availableRoutes.bind(R),toggleHelp:ne,toggleOverview:k.toggle.bind(k),togglePause:pe,toggleAutoSlide:ye,isFirstSlide:he,isLastSlide:fe,isLastVerticalSlide:de,isVerticalSlide:ue,isPaused:me,isAutoSliding:be,isSpeakerNotes:D.isSpeakerNotesWindow.bind(D),isOverview:k.isActive.bind(k),isFocused:T.isFocused.bind(T),isPrintingPDF:I.isPrintingPDF.bind(I),isReady:function(){return c},loadSlide:w.load.bind(w),unloadSlide:w.unload.bind(w),addEventListeners:K,removeEventListeners:X,dispatchEvent:J,getState:ze,setState:qe,getProgress:Pe,getIndices:Ne,getSlidesAttributes:He,getSlidePastCount:Ce,getTotalSlides:Be,getSlide:Ue,getPreviousSlide:function(){return a},getCurrentSlide:function(){return o},getSlideBackground:Fe,getSlideNotes:D.getSlideNotes.bind(D),getSlides:Me,getHorizontalSlides:Ie,getVerticalSlides:Te,hasHorizontalSlides:De,hasVerticalSlides:je,hasNavigatedHorizontally:function(){return u.hasNavigatedHorizontally},hasNavigatedVertically:function(){return u.hasNavigatedVertically},addKeyBinding:x.addKeyBinding.bind(x),removeKeyBinding:x.removeKeyBinding.bind(x),triggerKey:x.triggerKey.bind(x),registerKeyboardShortcut:x.registerKeyboardShortcut.bind(x),getComputedSlideSize:se,getScale:function(){return h},getConfig:function(){return n},getQueryHash:bo,getRevealElement:function(){return e},getSlidesElement:function(){return v.slides},getViewportElement:function(){return v.viewport},getBackgroundsElement:function(){return A.element},registerPlugin:M.registerPlugin.bind(M),hasPlugin:M.hasPlugin.bind(M),getPlugin:M.getPlugin.bind(M),getPlugins:M.getRegisteredPlugins.bind(M)};return co(l,eo(eo({},at),{},{announceStatus:z,getStatusText:q,print:I,focus:T,progress:P,controls:C,location:L,overview:k,fragments:R,slideContent:w,slideNumber:S,onUserInput:Ze,closeOverlay:re,updateSlidesVisibility:xe,layoutSlideContents:oe,transformSlides:G,cueAutoSlide:_e,cancelAutoSlide:Ve})),at}let hs=ds,fs=[];hs.initialize=e=>(Object.assign(hs,new ds(document.querySelector(".reveal"),e)),fs.map(e=>e(hs)),hs.initialize()),["on","off","addEventListener","removeEventListener","registerPlugin"].forEach(e=>{hs[e]=(...t)=>{fs.push(n=>n[e].call(null,...t))}}),hs.VERSION="4.0.1";export default hs;
//# sourceMappingURL=reveal.esm.js.map