conference_ia_generative/Demo _ reveal.js_files/main.js

83 lines
1.1 MiB
JavaScript
Raw Normal View History

2023-01-17 18:36:04 +00:00
!function(e){var t={};function n(a){if(t[a])return t[a].exports;var i=t[a]={i:a,l:!1,exports:{}};return e[a].call(i.exports,i,i.exports,n),i.l=!0,i.exports}n.m=e,n.c=t,n.d=function(e,t,a){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:a})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var a=Object.create(null);if(n.r(a),Object.defineProperty(a,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var i in e)n.d(a,i,function(t){return e[t]}.bind(null,i));return a},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=35)}([function(e,t,n){var a=n(2),i=n(11),r=n(14),s=Math.max,o=Math.min;e.exports=function(e,t,n){var l,c,d,_,u,p,m=0,g=!1,E=!1,S=!0;if("function"!=typeof e)throw new TypeError("Expected a function");function h(t){var n=l,a=c;return l=c=void 0,m=t,_=e.apply(a,n)}function b(e){return m=e,u=setTimeout(T,t),g?h(e):_}function f(e){var n=e-p;return void 0===p||n>=t||n<0||E&&e-m>=d}function T(){var e=i();if(f(e))return v(e);u=setTimeout(T,function(e){var n=t-(e-p);return E?o(n,d-(e-m)):n}(e))}function v(e){return u=void 0,S&&l?h(e):(l=c=void 0,_)}function R(){var e=i(),n=f(e);if(l=arguments,c=this,p=e,n){if(void 0===u)return b(p);if(E)return clearTimeout(u),u=setTimeout(T,t),h(p)}return void 0===u&&(u=setTimeout(T,t)),_}return t=r(t)||0,a(n)&&(g=!!n.leading,d=(E="maxWait"in n)?s(r(n.maxWait)||0,t):d,S="trailing"in n?!!n.trailing:S),R.cancel=function(){void 0!==u&&clearTimeout(u),m=0,l=p=c=u=void 0},R.flush=function(){return void 0===u?_:v(i())},R}},function(e,t,n){var a=n(0),i=n(2);e.exports=function(e,t,n){var r=!0,s=!0;if("function"!=typeof e)throw new TypeError("Expected a function");return i(n)&&(r="leading"in n?!!n.leading:r,s="trailing"in n?!!n.trailing:s),a(e,t,{leading:r,maxWait:t,trailing:s})}},function(e,t){e.exports=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}},function(e,t,n){var a=n(4).Symbol;e.exports=a},function(e,t,n){var a=n(12),i="object"==typeof self&&self&&self.Object===Object&&self,r=a||i||Function("return this")();e.exports=r},function(e,t,n){var a=n(15),i=/^\s+/;e.exports=function(e){return e?e.slice(0,a(e)+1).replace(i,""):e}},function(e,t,n){var a=n(16),i=n(19);e.exports=function(e){return"symbol"==typeof e||i(e)&&"[object Symbol]"==a(e)}},function(e,t,n){var a=n(3),i=n(21),r=n(22),s=n(6),o=a?a.prototype:void 0,l=o?o.toString:void 0;e.exports=function e(t){if("string"==typeof t)return t;if(r(t))return i(t,e)+"";if(s(t))return l?l.call(t):"";var n=t+"";return"0"==n&&1/t==-1/0?"-0":n}},function(e,t,n){var a=n(26),i=n(27),r=n(28);e.exports=function(e,t,n){return t==t?r(e,t,n):a(e,i,n)}},function(e,t,n){var a,i;
/**
* lunr - http://lunrjs.com - A bit like Solr, but much smaller and not as bright - 2.3.9
* Copyright (C) 2020 Oliver Nightingale
* @license MIT
*/!function(){var r,s,o,l,c,d,_,u,p,m,g,E,S,h,b,f,T,v,R,C,y,N,A,O,I,D,w=function(e){var t=new w.Builder;return t.pipeline.add(w.trimmer,w.stopWordFilter,w.stemmer),t.searchPipeline.add(w.stemmer),e.call(t,t),t.build()};w.version="2.3.9"
/*!
* lunr.utils
* Copyright (C) 2020 Oliver Nightingale
*/,w.utils={},w.utils.warn=(r=this,function(e){r.console&&console.warn&&console.warn(e)}),w.utils.asString=function(e){return null==e?"":e.toString()},w.utils.clone=function(e){if(null==e)return e;for(var t=Object.create(null),n=Object.keys(e),a=0;a<n.length;a++){var i=n[a],r=e[i];if(Array.isArray(r))t[i]=r.slice();else{if("string"!=typeof r&&"number"!=typeof r&&"boolean"!=typeof r)throw new TypeError("clone is not deep and does not support nested objects");t[i]=r}}return t},w.FieldRef=function(e,t,n){this.docRef=e,this.fieldName=t,this._stringValue=n},w.FieldRef.joiner="/",w.FieldRef.fromString=function(e){var t=e.indexOf(w.FieldRef.joiner);if(-1===t)throw"malformed field ref string";var n=e.slice(0,t),a=e.slice(t+1);return new w.FieldRef(a,n,e)},w.FieldRef.prototype.toString=function(){return null==this._stringValue&&(this._stringValue=this.fieldName+w.FieldRef.joiner+this.docRef),this._stringValue}
/*!
* lunr.Set
* Copyright (C) 2020 Oliver Nightingale
*/,w.Set=function(e){if(this.elements=Object.create(null),e){this.length=e.length;for(var t=0;t<this.length;t++)this.elements[e[t]]=!0}else this.length=0},w.Set.complete={intersect:function(e){return e},union:function(){return this},contains:function(){return!0}},w.Set.empty={intersect:function(){return this},union:function(e){return e},contains:function(){return!1}},w.Set.prototype.contains=function(e){return!!this.elements[e]},w.Set.prototype.intersect=function(e){var t,n,a,i=[];if(e===w.Set.complete)return this;if(e===w.Set.empty)return e;this.length<e.length?(t=this,n=e):(t=e,n=this),a=Object.keys(t.elements);for(var r=0;r<a.length;r++){var s=a[r];s in n.elements&&i.push(s)}return new w.Set(i)},w.Set.prototype.union=function(e){return e===w.Set.complete?w.Set.complete:e===w.Set.empty?this:new w.Set(Object.keys(this.elements).concat(Object.keys(e.elements)))},w.idf=function(e,t){var n=0;for(var a in e)"_index"!=a&&(n+=Object.keys(e[a]).length);var i=(t-n+.5)/(n+.5);return Math.log(1+Math.abs(i))},w.Token=function(e,t){this.str=e||"",this.metadata=t||{}},w.Token.prototype.toString=function(){return this.str},w.Token.prototype.update=function(e){return this.str=e(this.str,this.metadata),this},w.Token.prototype.clone=function(e){return e=e||function(e){return e},new w.Token(e(this.str,this.metadata),this.metadata)}
/*!
* lunr.tokenizer
* Copyright (C) 2020 Oliver Nightingale
*/,w.tokenizer=function(e,t){if(null==e||null==e)return[];if(Array.isArray(e))return e.map((function(e){return new w.Token(w.utils.asString(e).toLowerCase(),w.utils.clone(t))}));for(var n=e.toString().toLowerCase(),a=n.length,i=[],r=0,s=0;r<=a;r++){var o=r-s;if(n.charAt(r).match(w.tokenizer.separator)||r==a){if(o>0){var l=w.utils.clone(t)||{};l.position=[s,o],l.index=i.length,i.push(new w.Token(n.slice(s,r),l))}s=r+1}}return i},w.tokenizer.separator=/[\s\-]+/
/*!
* lunr.Pipeline
* Copyright (C) 2020 Oliver Nightingale
*/,w.Pipeline=function(){this._stack=[]},w.Pipeline.registeredFunctions=Object.create(null),w.Pipeline.registerFunction=function(e,t){t in this.registeredFunctions&&w.utils.warn("Overwriting existing registered function: "+t),e.label=t,w.Pipeline.registeredFunctions[e.label]=e},w.Pipeline.warnIfFunctionNotRegistered=function(e){e.label&&e.label in this.registeredFunctions||w.utils.warn("Function is not registered with pipeline. This may cause problems when serialising the index.\n",e)},w.Pipeline.load=function(e){var t=new w.Pipeline;return e.forEach((function(e){var n=w.Pipeline.registeredFunctions[e];if(!n)throw new Error("Cannot load unregistered function: "+e);t.add(n)})),t},w.Pipeline.prototype.add=function(){var e=Array.prototype.slice.call(arguments);e.forEach((function(e){w.Pipeline.warnIfFunctionNotRegistered(e),this._stack.push(e)}),this)},w.Pipeline.prototype.after=function(e,t){w.Pipeline.warnIfFunctionNotRegistered(t);var n=this._stack.indexOf(e);if(-1==n)throw new Error("Cannot find existingFn");n+=1,this._stack.splice(n,0,t)},w.Pipeline.prototype.before=function(e,t){w.Pipeline.warnIfFunctionNotRegistered(t);var n=this._stack.indexOf(e);if(-1==n)throw new Error("Cannot find existingFn");this._stack.splice(n,0,t)},w.Pipeline.prototype.remove=function(e){var t=this._stack.indexOf(e);-1!=t&&this._stack.splice(t,1)},w.Pipeline.prototype.run=function(e){for(var t=this._stack.length,n=0;n<t;n++){for(var a=this._stack[n],i=[],r=0;r<e.length;r++){var s=a(e[r],r,e);if(null!=s&&""!==s)if(Array.isArray(s))for(var o=0;o<s.length;o++)i.push(s[o]);else i.push(s)}e=i}return e},w.Pipeline.prototype.runString=function(e,t){var n=new w.Token(e,t);return this.run([n]).map((function(e){return e.toString()}))},w.Pipeline.prototype.reset=function(){this._stack=[]},w.Pipeline.prototype.toJSON=function(){return this._stack.map((function(e){return w.Pipeline.warnIfFunctionNotRegistered(e),e.label}))}
/*!
* lunr.Vector
* Copyright (C) 2020 Oliver Nightingale
*/,w.Vector=function(e){this._magnitude=0,this.elements=e||[]},w.Vector.prototype.positionForIndex=function(e){if(0==this.elements.length)return 0;for(var t=0,n=this.elements.length/2,a=n-t,i=Math.floor(a/2),r=this.elements[2*i];a>1&&(r<e&&(t=i),r>e&&(n=i),r!=e);)a=n-t,i=t+Math.floor(a/2),r=this.elements[2*i];return r==e||r>e?2*i:r<e?2*(i+1):void 0},w.Vector.prototype.insert=function(e,t){this.upsert(e,t,(function(){throw"duplicate index"}))},w.Vector.prototype.upsert=function(e,t,n){this._magnitude=0;var a=this.positionForIndex(e);this.elements[a]==e?this.elements[a+1]=n(this.elements[a+1],t):this.elements.splice(a,0,e,t)},w.Vector.prototype.magnitude=function(){if(this._magnitude)return this._magnitude;for(var e=0,t=this.elements.length,n=1;n<t;n+=2){var a=this.elements[n];e+=a*a}return this._magnitude=Math.sqrt(e)},w.Vector.prototype.dot=function(e){for(var t=0,n=this.elements,a=e.elements,i=n.length,r=a.length,s=0,o=0,l=0,c=0;l<i&&c<r;)(s=n[l])<(o=a[c])?l+=2:s>o?c+=2:s==o&&(t+=n[l+1]*a[c+1],l+=2,c+=2);return t},w.Vector.prototype.similarity=function(e){return this.dot(e)/this.magnitude()||0},w.Vector.prototype.toArray=function(){for(var e=new Array(this.elements.length/2),t=1,n=0;t<this.elements.length;t+=2,n++)e[n]=this.elements[t];return e},w.Vector.prototype.toJSON=function(){return this.elements}
/*!
* lunr.stemmer
* Copyright (C) 2020 Oliver Nightingale
* Includes code from - http://tartarus.org/~martin/PorterStemmer/js.txt
*/,w.stemmer=(s={ational:"ate",tional:"tion",enci:"ence",anci:"ance",izer:"ize",bli:"ble",alli:"al",entli:"ent",eli:"e",ousli:"ous",ization:"ize",ation:"ate",ator:"ate",alism:"al",iveness:"ive",fulness:"ful",ousness:"ous",aliti:"al",iviti:"ive",biliti:"ble",logi:"log"},o={icate:"ic",ative:"",alize:"al",iciti:"ic",ical:"ic",ful:"",ness:""},l="[aeiouy]",c="[^aeiou][^aeiouy]*",d=new RegExp("^([^aeiou][^aeiouy]*)?[aeiouy][aeiou]*[^aeiou][^aeiouy]*"),_=new RegExp("^([^aeiou][^aeiouy]*)?[aeiouy][aeiou]*[^aeiou][^aeiouy]*[aeiouy][aeiou]*[^aeiou][^aeiouy]*"),u=new RegExp("^([^aeiou][^aeiouy]*)?[aeiouy][aeiou]*[^aeiou][^aeiouy]*([aeiouy][aeiou]*)?$"),p=new RegExp("^([^aeiou][^aeiouy]*)?[aeiouy]"),m=/^(.+?)(ss|i)es$/,g=/^(.+?)([^s])s$/,E=/^(.+?)eed$/,S=/^(.+?)(ed|ing)$/,h=/.$/,b=/(at|bl|iz)$/,f=new RegExp("([^aeiouylsz])\\1$"),T=new RegExp("^"+c+l+"[^aeiouwxy]$"),v=/^(.+?[^aeiou])y$/,R=/^(.+?)(ational|tional|enci|anci|izer|bli|alli|entli|eli|ousli|ization|ation|ator|alism|iveness|fulness|ousness|aliti|iviti|biliti|logi)$/,C=/^(.+?)(icate|ative|alize|iciti|ical|ful|ness)$/,y=/^(.+?)(al|ance|ence|er|ic|able|ible|ant|ement|ment|ent|ou|ism|ate|iti|ous|ive|ize)$/,N=/^(.+?)(s|t)(ion)$/,A=/^(.+?)e$/,O=/ll$/,I=new RegExp("^"+c+l+"[^aeiouwxy]$"),D=function(e){var t,n,a,i,r,l,c;if(e.length<3)return e;if("y"==(a=e.substr(0,1))&&(e=a.toUpperCase()+e.substr(1)),r=g,(i=m).test(e)?e=e.replace(i,"$1$2"):r.test(e)&&(e=e.replace(r,"$1$2")),r=S,(i=E).test(e)){var D=i.exec(e);(i=d).test(D[1])&&(i=h,e=e.replace(i,""))}else r.test(e)&&(t=(D=r.exec(e))[1],(r=p).test(t)&&(l=f,c=T,(r=b).test(e=t)?e+="e":l.test(e)?(i=h,e=e.replace(i,"")):c.test(e)&&(e+="e")));return(i=v).test(e)&&(e=(t=(D=i.exec(e))[1])+"i"),(i=R).test(e)&&(t=(D=i.exec(e))[1],n=D[2],(i=d).test(t)&&(e=t+s[n])),(i=C).test(e)&&(t=(D=i.exec(e))[1],n=D[2],(i=d).test(t)&&(e=t+o[n])),r=N,(i=y).test(e)?(t=(D=i.exec(e))[1],(i=_).test(t)&&(e=t)):r.test(e)&&(t=(D=r.exec(e))[1]+D[2],(r=_).test(t)&&(e=t)),(i=A).test(e)&&(t=(D=i.exec(e))[1],r=u,l=I,((i=_).test(t)||r.test(t)&&!l.test(t))&&(e=t)),r=_,(i=O).test(e)&&r.test(e)&&(i=h,e=e.replace(i,"")),"y"==a&&(e=a.toLowerCase()+e.substr(1)),e},function(e){return e.update(D)}),w.Pipeline.registerFunction(w.stemmer,"stemmer")
/*!
* lunr.stopWordFilter
* Copyright (C) 2020 Oliver Nightingale
*/,w.generateStopWordFilter=function(e){var t=e.reduce((function(e,t){return e[t]=t,e}),{});return function(e){if(e&&t[e.toString()]!==e.toString())return e}},w.stopWordFilter=w.generateStopWordFilter(["a","able","about","across","after","all","almost","also","am","among","an","and","any","are","as","at","be","because","been","but","by","can","cannot","could","dear","did","do","does","either","else","ever","every","for","from","get","got","had","has","have","he","her","hers","him","his","how","however","i","if","in","into","is","it","its","just","least","let","like","likely","may","me","might","most","must","my","neither","no","nor","not","of","off","often","on","only","or","other","our","own","rather","said","say","says","she","should","since","so","some","than","that","the","their","them","then","there","these","they","this","tis","to","too","twas","us","wants","was","we","were","what","when","where","which","while","who","whom","why","will","with","would","yet","you","your"]),w.Pipeline.registerFunction(w.stopWordFilter,"stopWordFilter")
/*!
* lunr.trimmer
* Copyright (C) 2020 Oliver Nightingale
*/,w.trimmer=function(e){return e.update((function(e){return e.replace(/^\W+/,"").replace(/\W+$/,"")}))},w.Pipeline.registerFunction(w.trimmer,"trimmer")
/*!
* lunr.TokenSet
* Copyright (C) 2020 Oliver Nightingale
*/,w.TokenSet=function(){this.final=!1,this.edges={},this.id=w.TokenSet._nextId,w.TokenSet._nextId+=1},w.TokenSet._nextId=1,w.TokenSet.fromArray=function(e){for(var t=new w.TokenSet.Builder,n=0,a=e.length;n<a;n++)t.insert(e[n]);return t.finish(),t.root},w.TokenSet.fromClause=function(e){return"editDistance"in e?w.TokenSet.fromFuzzyString(e.term,e.editDistance):w.TokenSet.fromString(e.term)},w.TokenSet.fromFuzzyString=function(e,t){for(var n=new w.TokenSet,a=[{node:n,editsRemaining:t,str:e}];a.length;){var i=a.pop();if(i.str.length>0){var r,s=i.str.charAt(0);s in i.node.edges?r=i.node.edges[s]:(r=new w.TokenSet,i.node.edges[s]=r),1==i.str.length&&(r.final=!0),a.push({node:r,editsRemaining:i.editsRemaining,str:i.str.slice(1)})}if(0!=i.editsRemaining){if("*"in i.node.edges)var o=i.node.edges["*"];else{o=new w.TokenSet;i.node.edges["*"]=o}if(0==i.str.length&&(o.final=!0),a.push({node:o,editsRemaining:i.editsRemaining-1,str:i.str}),i.str.length>1&&a.push({node:i.node,editsRemaining:i.editsRemaining-1,str:i.str.slice(1)}),1==i.str.length&&(i.node.final=!0),i.str.length>=1){if("*"in i.node.edges)var l=i.node.edges["*"];else{l=new w.TokenSet;i.node.edges["*"]=l}1==i.str.length&&(l.final=!0),a.push({node:l,editsRemaining:i.editsRemaining-1,str:i.str.slice(1)})}if(i.str.length>1){var c,d=i.str.charAt(0),_=i.str.charAt(1);_ in i.node.edges?c=i.node.edges[_]:(c=new w.TokenSet,i.node.edges[_]=c),1==i.str.length&&(c.final=!0),a.push({node:c,editsRemaining:i.editsRemaining-1,str:d+i.str.slice(2)})}}}return n},w.TokenSet.fromString=function(e){for(var t=new w.TokenSet,n=t,a=0,i=e.length;a<i;a++){var r=e[a],s=a==i-1;if("*"==r)t.edges[r]=t,t.final=s;else{var o=new w.TokenSet;o.final=s,t.edges[r]=o,t=o}}return n},w.TokenSet.prototype.toArray=function(){for(var e=[],t=[{prefix:"",node:this}];t.length;){var n=t.pop(),a=Object.keys(n.node.edges),i=a.length;n.node.final&&(n.prefix.charAt(0),e.push(n.prefix));for(var r=0;r<i;r++){var s=a[r];t.push({prefix:n.prefix.concat(s),node:n.node.edges[s]})}}return e},w.TokenSet.prototype.toString=function(){if(this._str)return this._str;for(var e=this.final?"1":"0",t=Object.keys(this.edges).sort(),n=t.length,a=0;a<n;a++){var i=t[a];e=e+i+this.edges[i].id}return e},w.TokenSet.prototype.intersect=function(e){for(var t=new w.TokenSet,n=void 0,a=[{qNode:e,output:t,node:this}];a.length;){n=a.pop();for(var i=Object.keys(n.qNode.edges),r=i.length,s=Object.keys(n.node.edges),o=s.length,l=0;l<r;l++)for(var c=i[l],d=0;d<o;d++){var _=s[d];if(_==c||"*"==c){var u=n.node.edges[_],p=n.qNode.edges[c],m=u.final&&p.final,g=void 0;_ in n.output.edges?(g=n.output.edges[_]).final=g.final||m:((g=new w.TokenSet).final=m,n.output.edges[_]=g),a.push({qNode:p,output:g,node:u})}}}return t},w.TokenSet.Builder=function(){this.previousWord="",this.root=new w.TokenSet,this.uncheckedNodes=[],this.minimizedNodes={}},w.TokenSet.Builder.prototype.insert=function(e){var t,n=0;if(e<this.previousWord)throw new Error("Out of order word insertion");for(var a=0;a<e.length&&a<this.previousWord.length&&e[a]==this.previousWord[a];a++)n++;this.minimize(n),t=0==this.uncheckedNodes.length?this.root:this.uncheckedNodes[this.uncheckedNodes.length-1].child;for(a=n;a<e.length;a++){var i=new w.TokenSet,r=e[a];t.edges[r]=i,this.uncheckedNodes.push({parent:t,char:r,child:i}),t=i}t.final=!0,this.previousWord=e},w.TokenSet.Builder.prototype.finish=function(){this.minimize(0)},w.TokenSet.Builder.prototype.minimize=function(e){for(var t=this.uncheckedNodes.length-1;t>=e;t--){var n=this.uncheckedNodes[t],a=n.child.toString();a in this.minimizedNodes?n.parent.edges[n.char]=this.minimizedNodes[a]:(n.child._str=a,this.minimizedNodes[a]=n.child),this.uncheckedNodes.pop()}}
/*!
* lunr.Index
* Copyright (C) 2020 Oliver Nightingale
*/,w.Index=function(e){this.invertedIndex=e.invertedIndex,this.fieldVectors=e.fieldVectors,this.tokenSet=e.tokenSet,this.fields=e.fields,this.pipeline=e.pipeline},w.Index.prototype.search=function(e){return this.query((function(t){new w.QueryParser(e,t).parse()}))},w.Index.prototype.query=function(e){for(var t=new w.Query(this.fields),n=Object.create(null),a=Object.create(null),i=Object.create(null),r=Object.create(null),s=Object.create(null),o=0;o<this.fields.length;o++)a[this.fields[o]]=new w.Vector;e.call(t,t);for(o=0;o<t.clauses.length;o++){var l=t.clauses[o],c=null,d=w.Set.empty;c=l.usePipeline?this.pipeline.runString(l.term,{fields:l.fields}):[l.term];for(var _=0;_<c.length;_++){var u=c[_];l.term=u;var p=w.TokenSet.fromClause(l),m=this.tokenSet.intersect(p).toArray();if(0===m.length&&l.presence===w.Query.presence.REQUIRED){for(var g=0;g<l.fields.length;g++){r[x=l.fields[g]]=w.Set.empty}break}for(var E=0;E<m.length;E++){var S=m[E],h=this.invertedIndex[S],b=h._index;for(g=0;g<l.fields.length;g++){var f=h[x=l.fields[g]],T=Object.keys(f),v=S+"/"+x,R=new w.Set(T);if(l.presence==w.Query.presence.REQUIRED&&(d=d.union(R),void 0===r[x]&&(r[x]=w.Set.complete)),l.presence!=w.Query.presence.PROHIBITED){if(a[x].upsert(b,l.boost,(function(e,t){return e+t})),!i[v]){for(var C=0;C<T.length;C++){var y,N=T[C],A=new w.FieldRef(N,x),O=f[N];void 0===(y=n[A])?n[A]=new w.MatchData(S,x,O):y.add(S,x,O)}i[v]=!0}}else void 0===s[x]&&(s[x]=w.Set.empty),s[x]=s[x].union(R)}}}if(l.presence===w.Query.presence.REQUIRED)for(g=0;g<l.fields.length;g++){r[x=l.fields[g]]=r[x].intersect(d)}}var I=w.Set.complete,D=w.Set.empty;for(o=0;o<this.fields.length;o++){var x;r[x=this.fields[o]]&&(I=I.intersect(r[x])),s[x]&&(D=D.union(s[x]))}var L=Object.keys(n),M=[],k=Object.create(null);if(t.isNegated()){L=Object.keys(this.fieldVectors);for(o=0;o<L.length;o++){A=L[o];var P=w.FieldRef.fromString(A);n[A]=new w.MatchData}}for(o=0;o<L.length;o++){var U=(P=w.FieldRef.fromString(L[o])).docRef;if(I.contains(U)&&!D.contains(U)){var F,B=this.fieldVectors[P],G=a[P.fieldName].similarity(B);if(void 0!==(F=k[U]))F.score+=G,F.matchData.combine(n[P]);else{var Y={ref:U,score:G,matchData:n[P]};k[U]=Y,M.push(Y)}}}return M.sort((function(e,t){return t.score-e.score}))},w.Index.prototype.toJSON=function(){var e=Object.keys(this.invertedIndex).sort().map((function(e){return[e,this.invertedIndex[e]]}),this),t=Object.keys(this.fieldVectors).map((function(e){return[e,this.fieldVectors[e].toJSON()]}),this);return{version:w.version,fields:this.fields,fieldVectors:t,invertedIndex:e,pipeline:this.pipeline.toJSON()}},w.Index.load=function(e){var t={},n={},a=e.fieldVectors,i=Object.create(null),r=e.invertedIndex,s=new w.TokenSet.Builder,o=w.Pipeline.load(e.pipeline);e.version!=w.version&&w.utils.warn("Version mismatch when loading serialised index. Current version of lunr '"+w.version+"' does not match serialized index '"+e.version+"'");for(var l=0;l<a.length;l++){var c=(_=a[l])[0],d=_[1];n[c]=new w.Vector(d)}for(l=0;l<r.length;l++){var _,u=(_=r[l])[0],p=_[1];s.insert(u),i[u]=p}return s.finish(),t.fields=e.fields,t.fieldVectors=n,t.invertedIndex=i,t.tokenSet=s.root,t.pipeline=o,new w.Index(t)}
/*!
* lunr.Builder
* Copyright (C) 2020 Oliver Nightingale
*/,w.Builder=function(){this._ref="id",this._fields=Object.create(null),this._documents=Object.create(null),this.invertedIndex=Object.create(null),this.fieldTermFrequencies={},this.fieldLengths={},this.tokenizer=w.tokenizer,this.pipeline=new w.Pipeline,this.searchPipeline=new w.Pipeline,this.documentCount=0,this._b=.75,this._k1=1.2,this.termIndex=0,this.metadataWhitelist=[]},w.Builder.prototype.ref=function(e){this._ref=e},w.Builder.prototype.field=function(e,t){if(/\//.test(e))throw new RangeError("Field '"+e+"' contains illegal character '/'");this._fields[e]=t||{}},w.Builder.prototype.b=function(e){this._b=e<0?0:e>1?1:e},w.Builder.prototype.k1=function(e){this._k1=e},w.Builder.prototype.add=function(e,t){var n=e[this._ref],a=Object.keys(this._fields);this._documents[n]=t||{},this.documentCount+=1;for(var i=0;i<a.length;i++){var r=a[i],s=this._fields[r].extractor,o=s?s(e):e[r],l=this.tokenizer(o,{fields:[r]}),c=this.pipeline.run(l),d=new w.FieldRef(n,r),_=Object.create(null);this.fieldTermFrequencies[d]=_,this.fieldLengths[d]=0,this.fieldLengths[d]+=c.length;for(var u=0;u<c.length;u++){var p=c[u];if(null==_[p]&&(_[p]=0),_[p]+=1,null==this.invertedIndex[p]){var m=Object.create(null);m._index=this.termIndex,this.termIndex+=1;for(var g=0;g<a.length;g++)m[a[g]]=Object.create(null);this.invertedIndex[p]=m}null==this.invertedIndex[p][r][n]&&(this.invertedIndex[p][r][n]=Object.create(null));for(var E=0;E<this.metadataWhitelist.length;E++){var S=this.metadataWhitelist[E],h=p.metadata[S];null==this.invertedIndex[p][r][n][S]&&(this.invertedIndex[p][r][n][S]=[]),this.invertedIndex[p][r][n][S].push(h)}}}},w.Builder.prototype.calculateAverageFieldLengths=function(){for(var e=Object.keys(this.fieldLengths),t=e.length,n={},a={},i=0;i<t;i++){var r=w.FieldRef.fromString(e[i]),s=r.fieldName;a[s]||(a[s]=0),a[s]+=1,n[s]||(n[s]=0),n[s]+=this.fieldLengths[r]}var o=Object.keys(this._fields);for(i=0;i<o.length;i++){var l=o[i];n[l]=n[l]/a[l]}this.averageFieldLength=n},w.Builder.prototype.createFieldVectors=function(){for(var e={},t=Object.keys(this.fieldTermFrequencies),n=t.length,a=Object.create(null),i=0;i<n;i++){for(var r=w.FieldRef.fromString(t[i]),s=r.fieldName,o=this.fieldLengths[r],l=new w.Vector,c=this.fieldTermFrequencies[r],d=Object.keys(c),_=d.length,u=this._fields[s].boost||1,p=this._documents[r.docRef].boost||1,m=0;m<_;m++){var g,E,S,h=d[m],b=c[h],f=this.invertedIndex[h]._index;void 0===a[h]?(g=w.idf(this.invertedIndex[h],this.documentCount),a[h]=g):g=a[h],E=g*((this._k1+1)*b)/(this._k1*(1-this._b+this._b*(o/this.averageFieldLength[s]))+b),E*=u,E*=p,S=Math.round(1e3*E)/1e3,l.insert(f,S)}e[r]=l}this.fieldVectors=e},w.Builder.prototype.createTokenSet=function(){this.tokenSet=w.TokenSet.fromArray(Object.keys(this.invertedIndex).sort())},w.Builder.prototype.build=function(){return this.calculateAverageFieldLengths(),this.createFieldVectors(),this.createTokenSet(),new w.Index({invertedIndex:this.invertedIndex,fieldVectors:this.fieldVectors,tokenSet:this.tokenSet,fields:Object.keys(this._fields),pipeline:this.searchPipeline})},w.Builder.prototype.use=function(e){var t=Array.prototype.slice.call(arguments,1);t.unshift(this),e.apply(this,t)},w.MatchData=function(e,t,n){for(var a=Object.create(null),i=Object.keys(n||{}),r=0;r<i.length;r++){var s=i[r];a[s]=n[s].slice()}this.metadata=Object.create(null),void 0!==e&&(this.metadata[e]=Object.create(null),this.metadata[e][t]=a)},w.MatchData.prototype.combine=function(e){for(var t=Object.keys(e.metadata),n=0;n<t.length;n++){var a=t[n],i=Object.keys(e.metadata[a]);null==this.metadata[a]&&(this.metadata[a]=Object.create(null));for(var r=0;r<i.length;r++){var s=i[r],o=Object.keys(e.metadata[a][s]);null==this.metadata[a][s]&&(this.metadata[a][s]=Object.create(null));for(var l=0;l<o.length;l++){var c=o[l];null==this.metadata[a][s][c]?this.metadata[a][s][c]=e.metadata[a][s][c]:this.metadata[a][s][c]=this.metadata[a][s][c].concat(e.metadata[a][s][c])}}}},w.MatchData.prototype.add=function(e,t,n){if(!(e in this.metadata))return this.metadata[e]=Object.create(null),void(this.metadata[e][t]=n);if(t in t
/*!
* reveal.js 4.4.0
* https://revealjs.com
* MIT licensed
*
* Copyright (C) 2011-2022 Hakim El Hattab, https://hakim.se
*/
const a=(e,t)=>{for(let n in t)e[n]=t[n];return e},i=(e,t)=>Array.from(e.querySelectorAll(t)),r=(e,t,n)=>{n?e.classList.add(t):e.classList.remove(t)},s=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},o=(e,t)=>{e.style.transform=t},l=(e,t)=>{let n=e.matches||e.matchesSelector||e.msMatchesSelector;return!(!n||!n.call(e,t))},c=(e,t)=>{if("function"==typeof e.closest)return e.closest(t);for(;e;){if(l(e,t))return e;e=e.parentNode}return null},d=(e,t,n,a="")=>{let i=e.querySelectorAll("."+n);for(let t=0;t<i.length;t++){let n=i[t];if(n.parentNode===e)return n}let r=document.createElement(t);return r.className=n,r.innerHTML=a,e.appendChild(r),r},_=e=>{let 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},u=()=>{let e={};location.search.replace(/[A-Z0-9]+?=([\w\.%-]*)/gi,t=>{e[t.split("=").shift()]=t.split("=").pop()});for(let t in e){let n=e[t];e[t]=s(unescape(n))}return void 0!==e.dependencies&&delete e.dependencies,e},p=(e,t=0)=>{if(e){let n,a=e.style.height;return e.style.height="0px",e.parentNode.style.height="auto",n=t-e.parentNode.offsetHeight,e.style.height=a+"px",e.parentNode.style.removeProperty("height"),n}return t},m={mp4:"video/mp4",m4a:"video/mp4",ogv:"video/ogg",mpeg:"video/mpeg",webm:"video/webm"},g=navigator.userAgent,E=/(iphone|ipod|ipad|android)/gi.test(g)||"MacIntel"===navigator.platform&&navigator.maxTouchPoints>1;/chrome/i.test(g)&&/edge/i.test(g);const S=/android/gi.test(g);var h={};Object.defineProperty(h,"__esModule",{value:!0});var b=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},f=h.default=function(e){if(e){var t=function(e){return[].slice.call(e)},n=3,a=[],i=null,r="requestAnimationFrame"in e?function(){e.cancelAnimationFrame(i),i=e.requestAnimationFrame((function(){return o(a.filter((function(e){return e.dirty&&e.active})))}))}:function(){},s=function(e){return function(){a.forEach((function(t){return t.dirty=e})),r()}},o=function(e){e.filter((function(e){return!e.styleComputed})).forEach((function(e){e.styleComputed=_(e)})),e.filter(u).forEach(p);var t=e.filter(d);t.forEach(c),t.forEach((function(e){p(e),l(e)})),t.forEach(m)},l=function(e){return e.dirty=0},c=function(e){e.availableWidth=e.element.parentNode.clientWidth,e.currentWidth=e.element.scrollWidth,e.previousFontSize=e.currentFontSize,e.currentFontSize=Math.min(Math.max(e.minSize,e.availableWidth/e.currentWidth*e.previousFontSize),e.maxSize),e.whiteSpace=e.multiLine&&e.currentFontSize===e.minSize?"normal":"nowrap"},d=function(e){return 2!==e.dirty||2===e.dirty&&e.element.parentNode.clientWidth!==e.availableWidth},_=function(t){var n=e.getComputedStyle(t.element,null);t.currentFontSize=parseFloat(n.getPropertyValue("font-size")),t.display=n.getPropertyValue("display"),t.whiteSpace=n.getPropertyValue("white-space")},u=function(e){var t=!1;return!e.preStyleTestCompleted&&(/inline-/.test(e.display)||(t=!0,e.display="inline-block"),"nowrap"!==e.whiteSpace&&(t=!0,e.whiteSpace="nowrap"),e.preStyleTestCompleted=!0,t)},p=function(e){e.element.style.whiteSpace=e.whiteSpace,e.element.style.display=e.display,e.element.style.fontSize=e.currentFontSize+"px"},m=function(e){e.element.dispatchEvent(new CustomEvent("fit",{detail:{oldValue:e.previousFontSize,newValue:e.currentFontSize,scaleFactor:e.currentFontSize/e.previousFontSize}}))},g=function(e,t){return function(){e.dirty=t,e.active&&r()}},E=function(e){return function(){a=a.filter((function(t){return t.element!==e.element})),e.observeMutations&&e.observer.disconnect(),e.element.style.whiteSpace=e.originalStyle.whiteSpace,e.element.style.display=e.originalStyle.display,e.element.style.fontSize=e.originalStyle.fontSize}},S=function(e){return function(){e.active||(e.active=!0,r())}},h=function(e){return function(){return e.active=!1}},f=function(e){e.
/*!
* reveal.js plugin that adds syntax highlight support.
*/
const ra={id:"highlight",HIGHLIGHT_STEP_DELIMITER:"|",HIGHLIGHT_LINE_DELIMITER:",",HIGHLIGHT_LINE_RANGE_DELIMITER:"-",hljs:ia,init:function(e){let t=e.getConfig().highlight||{};t.highlightOnLoad="boolean"!=typeof t.highlightOnLoad||t.highlightOnLoad,t.escapeHTML="boolean"!=typeof t.escapeHTML||t.escapeHTML,Array.from(e.getRevealElement().querySelectorAll("pre code")).forEach(e=>{e.parentNode.classList.add("code-wrapper");let n=e.querySelector('script[type="text/template"]');n&&(e.textContent=n.innerHTML),e.hasAttribute("data-trim")&&"function"==typeof e.innerHTML.trim&&(e.innerHTML=function(e){function t(e){return e.replace(/^[\s\uFEFF\xA0]+/g,"")}return function(e){var n=function(e){for(var t=e.split("\n"),n=0;n<t.length&&""===t[n].trim();n++)t.splice(n--,1);for(n=t.length-1;n>=0&&""===t[n].trim();n--)t.splice(n,1);return t.join("\n")}(e.innerHTML).split("\n"),a=n.reduce((function(e,n){return n.length>0&&t(n).length>0&&e>n.length-t(n).length?n.length-t(n).length:e}),Number.POSITIVE_INFINITY);return n.map((function(e,t){return e.slice(a)})).join("\n")}(e)}(e)),t.escapeHTML&&!e.hasAttribute("data-noescape")&&(e.innerHTML=e.innerHTML.replace(/</g,"&lt;").replace(/>/g,"&gt;")),e.addEventListener("focusout",(function(e){ia.highlightElement(e.currentTarget)}),!1)}),"function"==typeof t.beforeHighlight&&t.beforeHighlight(ia),t.highlightOnLoad&&Array.from(e.getRevealElement().querySelectorAll("pre code")).forEach(e=>{ra.highlightBlock(e)}),e.on("pdf-ready",(function(){[].slice.call(e.getRevealElement().querySelectorAll("pre code[data-line-numbers].current-fragment")).forEach((function(e){ra.scrollHighlightedLineIntoView(e,{},!0)}))}))},highlightBlock:function(e){if(ia.highlightElement(e),0!==e.innerHTML.trim().length&&e.hasAttribute("data-line-numbers")){ia.lineNumbersBlock(e,{singleLine:!0});var t={currentBlock:e},n=ra.deserializeHighlightSteps(e.getAttribute("data-line-numbers"));if(n.length>1){var a=parseInt(e.getAttribute("data-fragment-index"),10);("number"!=typeof a||isNaN(a))&&(a=null),n.slice(1).forEach((function(n){var i=e.cloneNode(!0);i.setAttribute("data-line-numbers",ra.serializeHighlightSteps([n])),i.classList.add("fragment"),e.parentNode.appendChild(i),ra.highlightLines(i),"number"==typeof a?(i.setAttribute("data-fragment-index",a),a+=1):i.removeAttribute("data-fragment-index"),i.addEventListener("visible",ra.scrollHighlightedLineIntoView.bind(ra,i,t)),i.addEventListener("hidden",ra.scrollHighlightedLineIntoView.bind(ra,i.previousSibling,t))})),e.removeAttribute("data-fragment-index"),e.setAttribute("data-line-numbers",ra.serializeHighlightSteps([n[0]]))}var i="function"==typeof e.closest?e.closest("section:not(.stack)"):null;if(i){var r=function(){ra.scrollHighlightedLineIntoView(e,t,!0),i.removeEventListener("visible",r)};i.addEventListener("visible",r)}ra.highlightLines(e)}},scrollHighlightedLineIntoView:function(e,t,n){cancelAnimationFrame(t.animationFrameID),t.currentBlock&&(e.scrollTop=t.currentBlock.scrollTop),t.currentBlock=e;var a=this.getHighlightedLineBounds(e),i=e.offsetHeight,r=getComputedStyle(e);i-=parseInt(r.paddingTop)+parseInt(r.paddingBottom);var s=e.scrollTop,o=a.top+(Math.min(a.bottom-a.top,i)-i)/2,l=e.querySelector(".hljs-ln");if(l&&(o+=l.offsetTop-parseInt(r.paddingTop)),o=Math.max(Math.min(o,e.scrollHeight-i),0),!0===n||s===o)e.scrollTop=o;else{if(e.scrollHeight<=i)return;var c=0,d=function(){c=Math.min(c+.02,1),e.scrollTop=s+(o-s)*ra.easeInOutQuart(c),c<1&&(t.animationFrameID=requestAnimationFrame(d))};d()}},easeInOutQuart:function(e){return e<.5?8*e*e*e*e:1-8*--e*e*e*e},getHighlightedLineBounds:function(e){var t=e.querySelectorAll(".highlight-line");if(0===t.length)return{top:0,bottom:0};var n=t[0],a=t[t.length-1];return{top:n.offsetTop,bottom:a.offsetTop+a.offsetHeight}},highlightLines:function(e,t){var n=ra.deserializeHighlightSteps(t||e.getAttribute("data-line-numbers"));n.length&&n[0].forEach((function(t){var n=[];"number"==typeof t.end?n=[].slice.call(e.querySelectorAll("table tr:nth-child(n+"+t.start+"):nth-child(-n+"+t.end+")")):"number"==typeof t.start&&(n=[].slice.call(e.queryS
/*!
* The reveal.js markdown plugin. Handles parsing of
* markdown inside of presentations as well as loading
* of external markdown documents.
*/
const qa=/\[([\s\d,|-]*)\]/,Va={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"};var $a=()=>{let e;function t(e){var t=(e.querySelector("[data-template]")||e.querySelector("script")||e).textContent,n=(t=t.replace(new RegExp("__SCRIPT_END__","g"),"<\/script>")).match(/^\n?(\s*)/)[1].length,a=t.match(/^\n?(\t*)/)[1].length;return a>0?t=t.replace(new RegExp("\\n?\\t{"+a+"}","g"),"\n"):n>1&&(t=t.replace(new RegExp("\\n? {"+n+"}","g"),"\n")),t}function n(e){for(var t=e.attributes,n=[],a=0,i=t.length;a<i;a++){var r=t[a].name,s=t[a].value;/data\-(markdown|separator|vertical|notes)/gi.test(r)||(s?n.push(r+'="'+s+'"'):n.push(r))}return n.join(" ")}function a(e){return(e=e||{}).separator=e.separator||"\r?\n---\r?\n",e.notesSeparator=e.notesSeparator||"notes?:",e.attributes=e.attributes||"",e}function i(e,t){t=a(t);var n=e.split(new RegExp(t.notesSeparator,"mgi"));return 2===n.length&&(e=n[0]+'<aside class="notes">'+za(n[1].trim())+"</aside>"),'<script type="text/template">'+(e=e.replace(/<\/script>/g,"__SCRIPT_END__"))+"<\/script>"}function r(e,t){t=a(t);for(var n,r,s,o=new RegExp(t.separator+(t.verticalSeparator?"|"+t.verticalSeparator:""),"mg"),l=new RegExp(t.separator),c=0,d=!0,_=[];n=o.exec(e);)!(r=l.test(n[0]))&&d&&_.push([]),s=e.substring(c,n.index),r&&d?_.push(s):_[_.length-1].push(s),c=o.lastIndex,d=r;(d?_:_[_.length-1]).push(e.substring(c));for(var u="",p=0,m=_.length;p<m;p++)_[p]instanceof Array?(u+="<section "+t.attributes+">",_[p].forEach((function(e){u+="<section data-markdown>"+i(e,t)+"</section>"})),u+="</section>"):u+="<section "+t.attributes+" data-markdown>"+i(_[p],t)+"</section>";return u}function s(e){return new Promise((function(a){var i=[];[].slice.call(e.querySelectorAll("section[data-markdown]:not([data-markdown-parsed])")).forEach((function(e,a){e.getAttribute("data-markdown").length?i.push(function(e){return new Promise((function(t,n){var a=new XMLHttpRequest,i=e.getAttribute("data-markdown"),r=e.getAttribute("data-charset");null!=r&&""!=r&&a.overrideMimeType("text/html; charset="+r),a.onreadystatechange=function(e,a){4===a.readyState&&(a.status>=200&&a.status<300||0===a.status?t(a,i):n(a,i))}.bind(this,e,a),a.open("GET",i,!0);try{a.send()}catch(e){console.warn("Failed to get the Markdown file "+i+". Make sure that the presentation and the file are served by a HTTP server and the file can be found there. "+e),t(a,i)}}))}(e).then((function(t,a){e.outerHTML=r(t.responseText,{separator:e.getAttribute("data-separator"),verticalSeparator:e.getAttribute("data-separator-vertical"),notesSeparator:e.getAttribute("data-separator-notes"),attributes:n(e)})}),(function(t,n){e.outerHTML='<section data-state="alert">ERROR: The attempt to fetch '+n+" failed with HTTP status "+t.status+".Check your browser's JavaScript console for more details.<p>Remember that you need to serve the presentation HTML from a HTTP server.</p></section>"}))):e.outerHTML=r(t(e),{separator:e.getAttribute("data-separator"),verticalSeparator:e.getAttribute("data-separator-vertical"),notesSeparator:e.getAttribute("data-separator-notes"),attributes:n(e)})})),Promise.all(i).then(a)}))}function o(e,t,n){var a,i,r=new RegExp(n,"mg"),s=new RegExp('([^"= ]+?)="([^"]+?)"|(data-[^"= ]+?)(?=[" ])',"mg"),o=e.nodeValue;if(a=r.exec(o)){var l=a[1];for(o=o.substring(0,a.index)+o.substring(r.lastIndex),e.nodeValue=o;i=s.exec(l);)i[2]?t.setAttribute(i[1],i[2]):t.setAttribute(i[3],"");return!0}return!1}function l(){var n=e.getRevealElement().querySelectorAll("[data-markdown]:not([data-markdown-parsed])");return[].slice.call(n).forEach((function(e){e.setAttribute("data-markdown-parsed",!0);var n=e.querySelector("aside.notes"),a=t(e);e.innerHTML=za(a),function e(t,n,a,i,r){if(null!=n&&null!=n.childNodes&&n.childNodes.length>0)for(var s=n,l=0;l<n.childNodes.length;l++){var c=n.childNodes[l];if(l>0)for(var d=l-1;d>=0;){var _=n.childNodes[d];if("function"==typeof _.setAttribute&&"BR"!=_.tagName){s=_;break}d-=1}var u=t;"section"==c.nodeName&&(u=c,s=c),"function"!=typeof c.setAttribute&&c.nodeType!=Node.COMMENT_NODE||e(u,c,s,i,r)}n.nodeType==Node.COMMENT_NODE
/*!
* reveal.js Zoom plugin
*/const wi={id:"zoom",init:function(e){e.getRevealElement().addEventListener("mousedown",(function(t){var n=/Linux/.test(window.navigator.platform)?"ctrl":"alt",a=(e.getConfig().zoomKey?e.getConfig().zoomKey:n)+"Key",i=e.getConfig().zoomLevel?e.getConfig().zoomLevel:2;t[a]&&!e.isOverview()&&(t.preventDefault(),xi.to({x:t.clientX,y:t.clientY,scale:i,pan:!1}))}))},destroy:()=>{xi.reset()}};var xi=function(){var e=1,t=0,n=0,a=-1,i=-1,r="transform"in document.body.style;function s(t,n){var a=l();if(t.width=t.width||1,t.height=t.height||1,t.x-=(window.innerWidth-t.width*n)/2,t.y-=(window.innerHeight-t.height*n)/2,r)if(1===n)document.body.style.transform="";else{var i=a.x+"px "+a.y+"px",s="translate("+-t.x+"px,"+-t.y+"px) scale("+n+")";document.body.style.transformOrigin=i,document.body.style.transform=s}else 1===n?(document.body.style.position="",document.body.style.left="",document.body.style.top="",document.body.style.width="",document.body.style.height="",document.body.style.zoom=""):(document.body.style.position="relative",document.body.style.left=-(a.x+t.x)/n+"px",document.body.style.top=-(a.y+t.y)/n+"px",document.body.style.width=100*n+"%",document.body.style.height=100*n+"%",document.body.style.zoom=n);e=n,document.documentElement.classList&&(1!==e?document.documentElement.classList.add("zoomed"):document.documentElement.classList.remove("zoomed"))}function o(){var a=.12*window.innerWidth,i=.12*window.innerHeight,r=l();n<i?window.scroll(r.x,r.y-14/e*(1-n/i)):n>window.innerHeight-i&&window.scroll(r.x,r.y+(1-(window.innerHeight-n)/i)*(14/e)),t<a?window.scroll(r.x-14/e*(1-t/a),r.y):t>window.innerWidth-a&&window.scroll(r.x+(1-(window.innerWidth-t)/a)*(14/e),r.y)}function l(){return{x:void 0!==window.scrollX?window.scrollX:window.pageXOffset,y:void 0!==window.scrollY?window.scrollY:window.pageYOffset}}return r&&(document.body.style.transition="transform 0.8s ease"),document.addEventListener("keyup",(function(t){1!==e&&27===t.keyCode&&xi.out()})),document.addEventListener("mousemove",(function(a){1!==e&&(t=a.clientX,n=a.clientY)})),{to:function(t){if(1!==e)xi.out();else{if(t.x=t.x||0,t.y=t.y||0,t.element){var n=t.element.getBoundingClientRect();t.x=n.left-20,t.y=n.top-20,t.width=n.width+40,t.height=n.height+40}void 0!==t.width&&void 0!==t.height&&(t.scale=Math.max(Math.min(window.innerWidth/t.width,window.innerHeight/t.height),1)),t.scale>1&&(t.x*=t.scale,t.y*=t.scale,s(t,t.scale),!1!==t.pan&&(a=setTimeout((function(){i=setInterval(o,1e3/60)}),800)))}},out:function(){clearTimeout(a),clearInterval(i),s({x:0,y:0},1),e=1},magnify:function(e){this.to(e)},reset:function(){this.out()},zoomLevel:function(){return e}}}(),Li=()=>wi,Mi=n(1),ki=n.n(Mi),Pi=()=>{function e(){let e=()=>{window.scrollY&&(document.documentElement.classList.remove("highlight-demo"),document.removeEventListener("scroll",e))};document.documentElement.classList.add("highlight-demo"),document.addEventListener("scroll",e,{passive:!0})}new Q(document.querySelector(".reveal-demo .reveal"),{embedded:!0,hash:!0,margin:.1,url:"https://revealjs.com/demo",plugins:[$a,sa,Di,Li]}).initialize().then(()=>{!function(){let e=document.querySelector(".demo-logo");if(e){let t=()=>{document.documentElement.classList.toggle("logo-visible",e.getBoundingClientRect().bottom<0)};t(),document.addEventListener("scroll",ki()(t,100),{passive:!0})}}(),document.querySelector(".demo-link").addEventListener("click",t=>{t.preventDefault(),window.scrollTo(0,0),e()})}),/print\-pdf/.test(location.search)&&(window.location="/demo"+window.location.search),/demo/.test(location.search)&&e()},Ui=n(9),Fi=n.n(Ui),Bi=(n(20),n(0)),Gi=n.n(Bi);
/*!
* zoom.js 0.3 (modified for use with reveal.js)
* http://lab.hakim.se/zoom-js
* MIT licensed
*
* Copyright (C) 2011-2014 Hakim El Hattab, http://hakim.se
*/let Yi,Hi,zi=0,qi=0,Vi=0,$i=0,Qi=(e,t,n,a)=>{e.style.transform="scale("+a+") translate("+t+"px,"+n+"px)"},Wi=(e,t,n)=>{let a=event.offsetX/e.offsetWidth*100,i=event.offsetY/e.offsetHeight*100;a=Math.min(Math.max(a,0),100),i=Math.min(Math.max(i,0),100),e.style.transformOrigin=Math.round(a)+"% "+Math.round(i)+"%"};document.addEventListener("mousemove",()=>{if(zi&&qi){let e=event.pageX-zi,t=event.pageY-qi;Vi=e/6,$i=t/6,Vi=Math.max(Math.min(Vi,2),-2),$i=Math.max(Math.min($i,2),-2)}zi=event.pageX,qi=event.pageY}),document.addEventListener("scroll",e=>{zi=null,qi=null,Vi=0,$i=0},{passive:!0});var ji=e=>{/ipad|iphone|ipod|android|windows\sphone/gi.test(navigator.userAgent)||(Array.from(document.querySelectorAll(e)).forEach(e=>{e.classList.add("r-anchor"),e.innerHTML='<span class="r-anchor-label">'+e.innerHTML+'</span><span class="r-anchor-background"></span>'}),Array.from(document.querySelectorAll(".r-anchor")).forEach(e=>{((e,t)=>{let n=Array.from(e.querySelectorAll(t));e.addEventListener("mouseenter",(function(t){clearTimeout(Yi),n.forEach(e=>{Wi(e,t.offsetX,t.offsetY);let n=Date.now()-Hi<200?1:.7;e.classList.add("no-transition"),Qi(e,-16*Vi,-16*$i,n),e.offsetHeight,e.classList.remove("no-transition")}),Yi=setTimeout(()=>{e.classList.add("hover")},1)}),!1),e.addEventListener("mouseleave",(function(t){Hi=Date.now(),clearTimeout(Yi),e.classList.remove("hover"),n.forEach(e=>{Wi(e,t.offsetX,t.offsetY),Qi(e,16*Vi,16*$i,.7)})}),!1)})(e,".r-anchor-background")}))},Ki=async()=>{const e=document.querySelector(".search-input"),t=document.querySelector(".search-results");document.querySelector(".search-shortcut-modifier");let n,a;let i=Gi()(e=>{if(n){let i=a.search(e).map(e=>n[e.ref]).slice(0,3);i.length?(t.innerHTML=i.map(r.bind(void 0,e)).join(""),ji(".search-result"),o("has-results")):o("no-results",`No results for "${e}"`)}},250);function r(e,t){let n=new RegExp(e.split(" ").join("|"),"i"),a=s(t.title,n),i="",r=t.content.match(n);if(r){let e=r.index,a=e+r[0].length;e=Math.max(e-30,0),a=Math.max(a+110,t.content.length);let o=t.content.slice(e,a).trim();o.length>0&&(o=o.replace(/\s*[\n]+\s*/g,"\n"),o=o.replace(/^\s+|\s+$/g,""),i=['<p class="excerpt mt-2">',e>0?"...":"",s(o,n),a<t.content.length?"...":"","</p>"].join(""))}return`\n\t\t\t<a href="${t.url}" class="search-result block z-10 m-0 p-2 outline-none border-2 border-transparent rounded focus:border-blue-400">\n\t\t\t\t<p class="font-medium text-base">${a}</p>\n\t\t\t\t${i}\n\t\t\t</a>\n\t\t\t<div class="divider border-t border-gray-200 my-2"></div>\n\t\t`}function s(e,t){return e.replace(new RegExp(t,"gi"),"<mark>$&</mark>")}function o(e,n){t.dataset.state=e,"string"==typeof n&&(t.innerHTML=`<span class="text-gray-500">${n}</span>`)}let l=ki()(()=>{let n=e.getBoundingClientRect();t.style.top=Math.round(n.bottom)+"px"},33);function c(){_()||(document.documentElement.classList.add("search-visible"),document.addEventListener("mousedown",m),document.addEventListener("keydown",p),document.querySelector(".header").offsetTop>0&&"fixed"===getComputedStyle(t).position?(document.addEventListener("scroll",l,{passive:!0}),l()):t.style.top="",n||async function(){o("loading","Loading...");let e=await fetch("/api/search.json");n=await e.json(),a=Fi()((function(){this.ref("id"),this.field("title"),this.field("content"),n.forEach((e,t)=>{e.id=t,this.add(e)})}))}().then(()=>{let t=e.value.trim();t&&_()&&i(t)},()=>{o("loading-error","Failed to load search data 😭")}))}function d(){_()&&(document.documentElement.classList.remove("search-visible"),document.removeEventListener("mousedown",m),document.removeEventListener("keydown",p),document.removeEventListener("scroll",l))}function _(){return document.documentElement.classList.contains("search-visible")}function u(t=1){let n=[e,...document.querySelectorAll(".search-result")],a=n.indexOf(document.activeElement),i=-1===a?n[1]:n[a+t];i&&i.focus()}function p(t){if("Escape"===t.key)e.blur(),d();else if("Enter"===t.key){e.blur(),d();let t=document.querySelectorAll(".search-result");t.length&&!1===document.activeElement.matches(".search-result")&&(wi
/*!
* This plugin is a wrapper for the MathJax2,
* MathJax3 and KaTeX typesetter plugins.
*/var tr=Plugin=Object.assign(er(),{KaTeX:()=>{let e,t={version:"latest",delimiters:[{left:"$$",right:"$$",display:!0},{left:"$",right:"$",display:!1},{left:"\\(",right:"\\)",display:!1},{left:"\\[",right:"\\]",display:!0}],ignoredTags:["script","noscript","style","textarea","pre"]};const n=e=>new Promise((t,n)=>{const a=document.createElement("script");a.type="text/javascript",a.onload=t,a.onerror=n,a.src=e,document.head.append(a)});return{id:"katex",init:function(a){e=a;let i=e.getConfig().katex||{},r={...t,...i};const{local:s,version:o,extensions:l,...c}=r;let d=r.local||"https://cdn.jsdelivr.net/npm/katex",_=r.local?"":"@"+r.version,u=d+_+"/dist/katex.min.css",p=d+_+"/dist/contrib/mhchem.min.js",m=d+_+"/dist/contrib/auto-render.min.js",g=[d+_+"/dist/katex.min.js"];r.extensions&&r.extensions.includes("mhchem")&&g.push(p),g.push(m);const E=()=>{renderMathInElement(a.getSlidesElement(),c),e.layout()};(e=>{let t=document.createElement("link");t.rel="stylesheet",t.href=e,document.head.appendChild(t)})(u),async function(e){for(const t of e)await n(t)}(g).then(()=>{e.isReady()?E():e.on("ready",E.bind(this))})}}},MathJax2:Ji,MathJax3:()=>{let e,t={tex:{inlineMath:[["$","$"],["\\(","\\)"]]},options:{skipHtmlTags:["script","noscript","style","textarea","pre"]},startup:{ready:()=>{MathJax.startup.defaultReady(),MathJax.startup.promise.then(()=>{Reveal.layout()})}}};return{id:"mathjax3",init:function(n){e=n;let a=e.getConfig().mathjax3||{},i={...t,...a};i.tex={...t.tex,...a.tex},i.options={...t.options,...a.options},i.startup={...t.startup,...a.startup};let r=i.mathjax||"https://cdn.jsdelivr.net/npm/mathjax@3/es5/tex-mml-chtml.js";i.mathjax=null,window.MathJax=i,function(e,t){let n=document.createElement("script");n.type="text/javascript",n.id="MathJax-script",n.src=e,n.async=!0,n.onload=()=>{"function"==typeof t&&(t.call(),t=null)},document.head.appendChild(n)}(r,(function(){Reveal.addEventListener("slidechanged",(function(e){MathJax.typeset()}))}))}}}});const nr=document.body.dataset.page;function ar(){const e=document.querySelector("#_carbonads_js");if(e&&e.hasAttribute("data-src")){const t=e.getAttribute("data-src");e.removeAttribute("data-src"),e.setAttribute("src",t)}}(()=>{let e=document.querySelector(".sidebar");if(e){let t=()=>{let t=window.location.pathname.replace(/\/$/,"")+"/"+window.location.hash,n=e.querySelector('.nav-link[href="'+t+'"]');if(n){let t=e.querySelector(".nav-link.selected");t&&t.classList.remove("selected"),n.classList.add("selected")}};t(),window.addEventListener("hashchange",t);let n=parseInt(sessionStorage.getItem("sidebar-scroll-top"),10),a=document.querySelector(".sidebar-scroller");if(isNaN(n)){let t=e.querySelector(".nav-link.selected");t.offsetTop>.8*a.offsetHeight&&(a.scrollTop=t.offsetTop-.8*a.offsetHeight)}else a.scrollTop=n;window.addEventListener("beforeunload",()=>{sessionStorage.setItem("sidebar-scroll-top",a.scrollTop)}),document.querySelector(".menu-toggle").addEventListener("click",()=>{e.classList.toggle("hidden"),document.documentElement.classList.toggle("menu-visible",!e.classList.contains("hidden"))})}})(),ji(".header-nav a, .header-cta, .footer a, .sidebar a:not(.selected)"),function(){const e=new Zi.a;e.options={placement:"left",icon:"#"},e.add(".article>h2, .article>h3, .article>h4")}(),Array.from(document.querySelectorAll(".reveal-example")).forEach(e=>{let t=e.previousSibling;if(t.matches("pre")){let n=document.createElement("div");n.className="reveal-example-wrapper",t.parentNode.insertBefore(n,t),n.appendChild(t),n.appendChild(e)}let n={};e.hasAttribute("data-config")&&(n=JSON.parse(e.dataset.config)),new Q(e,{width:900,height:500,hash:!1,respondToHashChanges:!1,embedded:!0,progress:!1,keyboardCondition:"focused",controlsTutorial:!1,math:{config:"TeX-AMS_HTML-full"},plugins:[$a,sa,Li,tr],...n}).initialize()}),(()=>{let e=document.createElement("link");e.setAttribute("rel","prefetch prerender");let t=Gi()(t=>{e.setAttribute("href",t),document.head.appendChild(e)},300);Array.from(document.querySelectorAll('a[href^="/"]')).forEach(e=>{e.addEventListener("mouseover",()=>{t(