mirror of
https://github.com/vbatts/talks.git
synced 2024-12-29 10:06:33 +00:00
10 lines
303 KiB
JavaScript
10 lines
303 KiB
JavaScript
|
!function(t){function e(t,e,r,n,i){this._listener=e,this._isOnce=r,this.context=n,this._signal=t,this._priority=i||0}function r(t,e){if("function"!=typeof t)throw new Error("listener is a required param of {fn}() and should be a Function.".replace("{fn}",e))}function n(){this._bindings=[],this._prevParams=null;var t=this;this.dispatch=function(){n.prototype.dispatch.apply(t,arguments)}}e.prototype={active:!0,params:null,execute:function(t){var e,r;return this.active&&this._listener&&(r=this.params?this.params.concat(t):t,e=this._listener.apply(this.context,r),this._isOnce&&this.detach()),e},detach:function(){return this.isBound()?this._signal.remove(this._listener,this.context):null},isBound:function(){return!!this._signal&&!!this._listener},isOnce:function(){return this._isOnce},getListener:function(){return this._listener},getSignal:function(){return this._signal},_destroy:function(){delete this._signal,delete this._listener,delete this.context},toString:function(){return"[SignalBinding isOnce:"+this._isOnce+", isBound:"+this.isBound()+", active:"+this.active+"]"}},n.prototype={VERSION:"1.0.0",memorize:!1,_shouldPropagate:!0,active:!0,_registerListener:function(t,r,n,i){var a,o=this._indexOfListener(t,n);if(o!==-1){if(a=this._bindings[o],a.isOnce()!==r)throw new Error("You cannot add"+(r?"":"Once")+"() then add"+(r?"Once":"")+"() the same listener without removing the relationship first.")}else a=new e(this,t,r,n,i),this._addBinding(a);return this.memorize&&this._prevParams&&a.execute(this._prevParams),a},_addBinding:function(t){var e=this._bindings.length;do--e;while(this._bindings[e]&&t._priority<=this._bindings[e]._priority);this._bindings.splice(e+1,0,t)},_indexOfListener:function(t,e){for(var r,n=this._bindings.length;n--;)if(r=this._bindings[n],r._listener===t&&r.context===e)return n;return-1},has:function(t,e){return this._indexOfListener(t,e)!==-1},add:function(t,e,n){return r(t,"add"),this._registerListener(t,!1,e,n)},addOnce:function(t,e,n){return r(t,"addOnce"),this._registerListener(t,!0,e,n)},remove:function(t,e){r(t,"remove");var n=this._indexOfListener(t,e);return n!==-1&&(this._bindings[n]._destroy(),this._bindings.splice(n,1)),t},removeAll:function(){for(var t=this._bindings.length;t--;)this._bindings[t]._destroy();this._bindings.length=0},getNumListeners:function(){return this._bindings.length},halt:function(){this._shouldPropagate=!1},dispatch:function(){if(this.active){var t,e=Array.prototype.slice.call(arguments),r=this._bindings.length;if(this.memorize&&(this._prevParams=e),r){t=this._bindings.slice(),this._shouldPropagate=!0;do r--;while(t[r]&&this._shouldPropagate&&t[r].execute(e)!==!1)}}},forget:function(){this._prevParams=null},dispose:function(){this.removeAll(),delete this._bindings,delete this._prevParams},toString:function(){return"[Signal active:"+this.active+" numListeners:"+this.getNumListeners()+"]"}};var i=n;i.Signal=n,"function"==typeof define&&define.amd?define(function(){return i}):"undefined"!=typeof module&&module.exports?module.exports=i:t.signals=i}(this),function(t,e,r){function n(t,e){return typeof t===e}function i(){var t,e,r,i,a,o,s;for(var l in w)if(w.hasOwnProperty(l)){if(t=[],e=w[l],e.name&&(t.push(e.name.toLowerCase()),e.options&&e.options.aliases&&e.options.aliases.length))for(r=0;r<e.options.aliases.length;r++)t.push(e.options.aliases[r].toLowerCase());for(i=n(e.fn,"function")?e.fn():e.fn,a=0;a<t.length;a++)o=t[a],s=o.split("."),1===s.length?S[s[0]]=i:(!S[s[0]]||S[s[0]]instanceof Boolean||(S[s[0]]=new Boolean(S[s[0]])),S[s[0]][s[1]]=i),b.push((i?"":"no-")+s.join("-"))}}function a(t){var e=M.className,r=S._config.classPrefix||"";if(z&&(e=e.baseVal),S._config.enableJSClass){var n=new RegExp("(^|\\s)"+r+"no-js(\\s|$)");e=e.replace(n,"$1"+r+"js$2")}S._config.enableClasses&&(e+=" "+r+t.join(" "+r),z?M.className.baseVal=e:M.className=e)}function o(){return"function"!=typeof e.createElement?e.createElement(arguments[0]):z?e.createElementNS.call(e,"http://www.w3.org/2000/svg",arguments[0]):e.createElement.apply(e,arguments)}function s(t,e){return!!~(""+t).indexOf(e)}function
|
||
|
tilde2:"M344 55.266c-142 0-300.638 81.316-311.5 86.418\n-8.01 3.762-22.5 10.91-23.5 5.562L1 120c-1-2-1-3-1-4 0-5 3-9 8-10l18.4-9C160.9\n 31.9 283 0 358 0c148 0 188 122 331 122s314-97 326-97c4 0 8 2 10 7l7 21.114\nc1 2.14 1 3.21 1 4.28 0 5.347-3 9.626-7 10.696l-22.3 12.622C852.6 158.372 751\n 181.476 676 181.476c-149 0-189-126.21-332-126.21z",tilde3:"M786 59C457 59 32 175.242 13 175.242c-6 0-10-3.457\n-11-10.37L.15 138c-1-7 3-12 10-13l19.2-6.4C378.4 40.7 634.3 0 804.3 0c337 0\n 411.8 157 746.8 157 328 0 754-112 773-112 5 0 10 3 11 9l1 14.075c1 8.066-.697\n 16.595-6.697 17.492l-21.052 7.31c-367.9 98.146-609.15 122.696-778.15 122.696\n -338 0-409-156.573-744-156.573z",tilde4:"M786 58C457 58 32 177.487 13 177.487c-6 0-10-3.345\n-11-10.035L.15 143c-1-7 3-12 10-13l22-6.7C381.2 35 637.15 0 807.15 0c337 0 409\n 177 744 177 328 0 754-127 773-127 5 0 10 3 11 9l1 14.794c1 7.805-3 13.38-9\n 14.495l-20.7 5.574c-366.85 99.79-607.3 139.372-776.3 139.372-338 0-409\n -175.236-744-175.236z",vec:"M377 20c0-5.333 1.833-10 5.5-14S391 0 397 0c4.667 0 8.667 1.667 12 5\n3.333 2.667 6.667 9 10 19 6.667 24.667 20.333 43.667 41 57 7.333 4.667 11\n10.667 11 18 0 6-1 10-3 12s-6.667 5-14 9c-28.667 14.667-53.667 35.667-75 63\n-1.333 1.333-3.167 3.5-5.5 6.5s-4 4.833-5 5.5c-1 .667-2.5 1.333-4.5 2s-4.333 1\n-7 1c-4.667 0-9.167-1.833-13.5-5.5S337 184 337 178c0-12.667 15.667-32.333 47-59\nH213l-171-1c-8.667-6-13-12.333-13-19 0-4.667 4.333-11.333 13-20h359\nc-16-25.333-24-45-24-59z",widehat1:"M529 0h5l519 115c5 1 9 5 9 10 0 1-1 2-1 3l-4 22\nc-1 5-5 9-11 9h-2L532 67 19 159h-2c-5 0-9-4-11-9l-5-22c-1-6 2-12 8-13z",widehat2:"M1181 0h2l1171 176c6 0 10 5 10 11l-2 23c-1 6-5 10\n-11 10h-1L1182 67 15 220h-1c-6 0-10-4-11-10l-2-23c-1-6 4-11 10-11z",widehat3:"M1181 0h2l1171 236c6 0 10 5 10 11l-2 23c-1 6-5 10\n-11 10h-1L1182 67 15 280h-1c-6 0-10-4-11-10l-2-23c-1-6 4-11 10-11z",widehat4:"M1181 0h2l1171 296c6 0 10 5 10 11l-2 23c-1 6-5 10\n-11 10h-1L1182 67 15 340h-1c-6 0-10-4-11-10l-2-23c-1-6 4-11 10-11z",widecheck1:"M529,159h5l519,-115c5,-1,9,-5,9,-10c0,-1,-1,-2,-1,-3l-4,-22c-1,\n-5,-5,-9,-11,-9h-2l-512,92l-513,-92h-2c-5,0,-9,4,-11,9l-5,22c-1,6,2,12,8,13z",widecheck2:"M1181,220h2l1171,-176c6,0,10,-5,10,-11l-2,-23c-1,-6,-5,-10,\n-11,-10h-1l-1168,153l-1167,-153h-1c-6,0,-10,4,-11,10l-2,23c-1,6,4,11,10,11z",widecheck3:"M1181,280h2l1171,-236c6,0,10,-5,10,-11l-2,-23c-1,-6,-5,-10,\n-11,-10h-1l-1168,213l-1167,-213h-1c-6,0,-10,4,-11,10l-2,23c-1,6,4,11,10,11z",widecheck4:"M1181,340h2l1171,-296c6,0,10,-5,10,-11l-2,-23c-1,-6,-5,-10,\n-11,-10h-1l-1168,273l-1167,-273h-1c-6,0,-10,4,-11,10l-2,23c-1,6,4,11,10,11z",baraboveleftarrow:"M400000 620h-399890l3 -3c68.7 -52.7 113.7 -120 135 -202\nc4 -14.7 6 -23 6 -25c0 -7.3 -7 -11 -21 -11c-8 0 -13.2 0.8 -15.5 2.5\nc-2.3 1.7 -4.2 5.8 -5.5 12.5c-1.3 4.7 -2.7 10.3 -4 17c-12 48.7 -34.8 92 -68.5 130\ns-74.2 66.3 -121.5 85c-10 4 -16 7.7 -18 11c0 8.7 6 14.3 18 17c47.3 18.7 87.8 47\n121.5 85s56.5 81.3 68.5 130c0.7 2 1.3 5 2 9s1.2 6.7 1.5 8c0.3 1.3 1 3.3 2 6\ns2.2 4.5 3.5 5.5c1.3 1 3.3 1.8 6 2.5s6 1 10 1c14 0 21 -3.7 21 -11\nc0 -2 -2 -10.3 -6 -25c-20 -79.3 -65 -146.7 -135 -202l-3 -3h399890z\nM100 620v40h399900v-40z M0 241v40h399900v-40zM0 241v40h399900v-40z",rightarrowabovebar:"M0 241v40h399891c-47.3 35.3-84 78-110 128-16.7 32\n-27.7 63.7-33 95 0 1.3-.2 2.7-.5 4-.3 1.3-.5 2.3-.5 3 0 7.3 6.7 11 20 11 8 0\n13.2-.8 15.5-2.5 2.3-1.7 4.2-5.5 5.5-11.5 2-13.3 5.7-27 11-41 14.7-44.7 39\n-84.5 73-119.5s73.7-60.2 119-75.5c6-2 9-5.7 9-11s-3-9-9-11c-45.3-15.3-85-40.5\n-119-75.5s-58.3-74.8-73-119.5c-4.7-14-8.3-27.3-11-40-1.3-6.7-3.2-10.8-5.5\n-12.5-2.3-1.7-7.5-2.5-15.5-2.5-14 0-21 3.7-21 11 0 2 2 10.3 6 25 20.7 83.3 67\n151.7 139 205zm96 379h399894v40H0zm0 0h399904v40H0z",baraboveshortleftharpoon:"M507,435c-4,4,-6.3,8.7,-7,14c0,5.3,0.7,9,2,11\nc1.3,2,5.3,5.3,12,10c90.7,54,156,130,196,228c3.3,10.7,6.3,16.3,9,17\nc2,0.7,5,1,9,1c0,0,5,0,5,0c10.7,0,16.7,-2,18,-6c2,-2.7,1,-9.7,-3,-21\nc-32,-87.3,-82.7,-157.7,-152,-211c0,0,-3,-3,-3,-3l399351,0l0,-40\nc-398570,0,-399437,0,-399437,0z M593 435 v40 H399500 v-40z\nM0 281 v-40 H399908 v40z M0 281 v-40 H399908 v40z",rightharpoon
|
||
|
216:[.04861,.73472,.09062,0,.88555],223:[.19444,.69444,.09736,0,.665],230:[0,.44444,.085,0,.82666],248:[.09722,.54167,.09458,0,.59111],305:[0,.44444,.09426,0,.35555],338:[0,.68611,.11431,0,1.14054],339:[0,.44444,.085,0,.82666],567:[.19444,.44444,.04611,0,.385],710:[0,.69444,.06709,0,.59111],711:[0,.63194,.08271,0,.59111],713:[0,.59444,.10444,0,.59111],714:[0,.69444,.08528,0,.59111],715:[0,.69444,0,0,.59111],728:[0,.69444,.10333,0,.59111],729:[0,.69444,.12945,0,.35555],730:[0,.69444,0,0,.94888],732:[0,.69444,.11472,0,.59111],733:[0,.69444,.11472,0,.59111],915:[0,.68611,.12903,0,.69777],916:[0,.68611,0,0,.94444],920:[0,.68611,.09062,0,.88555],923:[0,.68611,0,0,.80666],926:[0,.68611,.15092,0,.76777],928:[0,.68611,.17208,0,.8961],931:[0,.68611,.11431,0,.82666],933:[0,.68611,.10778,0,.88555],934:[0,.68611,.05632,0,.82666],936:[0,.68611,.10778,0,.88555],937:[0,.68611,.0992,0,.82666],8211:[0,.44444,.09811,0,.59111],8212:[0,.44444,.09811,0,1.18221],8216:[0,.69444,.12945,0,.35555],8217:[0,.69444,.12945,0,.35555],8220:[0,.69444,.16772,0,.62055],8221:[0,.69444,.07939,0,.62055]},"Main-Italic":{33:[0,.69444,.12417,0,.30667],34:[0,.69444,.06961,0,.51444],35:[.19444,.69444,.06616,0,.81777],37:[.05556,.75,.13639,0,.81777],38:[0,.69444,.09694,0,.76666],39:[0,.69444,.12417,0,.30667],40:[.25,.75,.16194,0,.40889],41:[.25,.75,.03694,0,.40889],42:[0,.75,.14917,0,.51111],43:[.05667,.56167,.03694,0,.76666],44:[.19444,.10556,0,0,.30667],45:[0,.43056,.02826,0,.35778],46:[0,.10556,0,0,.30667],47:[.25,.75,.16194,0,.51111],48:[0,.64444,.13556,0,.51111],49:[0,.64444,.13556,0,.51111],50:[0,.64444,.13556,0,.51111],51:[0,.64444,.13556,0,.51111],52:[.19444,.64444,.13556,0,.51111],53:[0,.64444,.13556,0,.51111],54:[0,.64444,.13556,0,.51111],55:[.19444,.64444,.13556,0,.51111],56:[0,.64444,.13556,0,.51111],57:[0,.64444,.13556,0,.51111],58:[0,.43056,.0582,0,.30667],59:[.19444,.43056,.0582,0,.30667],61:[-.13313,.36687,.06616,0,.76666],63:[0,.69444,.1225,0,.51111],64:[0,.69444,.09597,0,.76666],65:[0,.68333,0,0,.74333],66:[0,.68333,.10257,0,.70389],67:[0,.68333,.14528,0,.71555],68:[0,.68333,.09403,0,.755],69:[0,.68333,.12028,0,.67833],70:[0,.68333,.13305,0,.65277],71:[0,.68333,.08722,0,.77361],72:[0,.68333,.16389,0,.74333],73:[0,.68333,.15806,0,.38555],74:[0,.68333,.14028,0,.525],75:[0,.68333,.14528,0,.76888],76:[0,.68333,0,0,.62722],77:[0,.68333,.16389,0,.89666],78:[0,.68333,.16389,0,.74333],79:[0,.68333,.09403,0,.76666],80:[0,.68333,.10257,0,.67833],81:[.19444,.68333,.09403,0,.76666],82:[0,.68333,.03868,0,.72944],83:[0,.68333,.11972,0,.56222],84:[0,.68333,.13305,0,.71555],85:[0,.68333,.16389,0,.74333],86:[0,.68333,.18361,0,.74333],87:[0,.68333,.18361,0,.99888],88:[0,.68333,.15806,0,.74333],89:[0,.68333,.19383,0,.74333],90:[0,.68333,.14528,0,.61333],91:[.25,.75,.1875,0,.30667],93:[.25,.75,.10528,0,.30667],94:[0,.69444,.06646,0,.51111],95:[.31,.12056,.09208,0,.51111],97:[0,.43056,.07671,0,.51111],98:[0,.69444,.06312,0,.46],99:[0,.43056,.05653,0,.46],100:[0,.69444,.10333,0,.51111],101:[0,.43056,.07514,0,.46],102:[.19444,.69444,.21194,0,.30667],103:[.19444,.43056,.08847,0,.46],104:[0,.69444,.07671,0,.51111],105:[0,.65536,.1019,0,.30667],106:[.19444,.65536,.14467,0,.30667],107:[0,.69444,.10764,0,.46],108:[0,.69444,.10333,0,.25555],109:[0,.43056,.07671,0,.81777],110:[0,.43056,.07671,0,.56222],111:[0,.43056,.06312,0,.51111],112:[.19444,.43056,.06312,0,.51111],113:[.19444,.43056,.08847,0,.46],114:[0,.43056,.10764,0,.42166],115:[0,.43056,.08208,0,.40889],116:[0,.61508,.09486,0,.33222],117:[0,.43056,.07671,0,.53666],118:[0,.43056,.10764,0,.46],119:[0,.43056,.10764,0,.66444],120:[0,.43056,.12042,0,.46389],121:[.19444,.43056,.08847,0,.48555],122:[0,.43056,.12292,0,.40889],126:[.35,.31786,.11585,0,.51111],163:[0,.69444,0,0,.76909],168:[0,.66786,.10474,0,.51111],176:[0,.69444,0,0,.83129],184:[.17014,0,0,0,.46],198:[0,.68333,.12028,0,.88277],216:[.04861,.73194,.09403,0,.76666],223:[.19444,.69444,.10514,0,.53666],230:[0,.43056,.07514,0,.71555],248:[.09722,.52778,.09194,0,.51111],305:[0,.43056,0,.02778,.32246],338:[0,.68333,.12028,0,.98499],339:[0,.43056,.07514,0,.71555],567:
|
||
|
10216:[.35001,.85,0,0,.47222],10217:[.35001,.85,0,0,.47222],10752:[.25001,.75,0,0,1.11111],10753:[.25001,.75,0,0,1.11111],10754:[.25001,.75,0,0,1.11111],10756:[.25001,.75,0,0,.83334],10758:[.25001,.75,0,0,.83334]},"Size2-Regular":{40:[.65002,1.15,0,0,.59722],41:[.65002,1.15,0,0,.59722],47:[.65002,1.15,0,0,.81111],91:[.65002,1.15,0,0,.47222],92:[.65002,1.15,0,0,.81111],93:[.65002,1.15,0,0,.47222],123:[.65002,1.15,0,0,.66667],125:[.65002,1.15,0,0,.66667],710:[0,.75,0,0,1],732:[0,.75,0,0,1],770:[0,.75,0,0,1],771:[0,.75,0,0,1],8719:[.55001,1.05,0,0,1.27778],8720:[.55001,1.05,0,0,1.27778],8721:[.55001,1.05,0,0,1.44445],8730:[.65002,1.15,0,0,1],8747:[.86225,1.36,.44445,0,.55556],8748:[.862,1.36,.44445,0,.55556],8749:[.862,1.36,.44445,0,.55556],8750:[.86225,1.36,.44445,0,.55556],8896:[.55001,1.05,0,0,1.11111],8897:[.55001,1.05,0,0,1.11111],8898:[.55001,1.05,0,0,1.11111],8899:[.55001,1.05,0,0,1.11111],8968:[.65002,1.15,0,0,.52778],8969:[.65002,1.15,0,0,.52778],8970:[.65002,1.15,0,0,.52778],8971:[.65002,1.15,0,0,.52778],10216:[.65002,1.15,0,0,.61111],10217:[.65002,1.15,0,0,.61111],10752:[.55001,1.05,0,0,1.51112],10753:[.55001,1.05,0,0,1.51112],10754:[.55001,1.05,0,0,1.51112],10756:[.55001,1.05,0,0,1.11111],10758:[.55001,1.05,0,0,1.11111]},"Size3-Regular":{40:[.95003,1.45,0,0,.73611],41:[.95003,1.45,0,0,.73611],47:[.95003,1.45,0,0,1.04445],91:[.95003,1.45,0,0,.52778],92:[.95003,1.45,0,0,1.04445],93:[.95003,1.45,0,0,.52778],123:[.95003,1.45,0,0,.75],125:[.95003,1.45,0,0,.75],710:[0,.75,0,0,1.44445],732:[0,.75,0,0,1.44445],770:[0,.75,0,0,1.44445],771:[0,.75,0,0,1.44445],8730:[.95003,1.45,0,0,1],8968:[.95003,1.45,0,0,.58334],8969:[.95003,1.45,0,0,.58334],8970:[.95003,1.45,0,0,.58334],8971:[.95003,1.45,0,0,.58334],10216:[.95003,1.45,0,0,.75],10217:[.95003,1.45,0,0,.75]},"Size4-Regular":{40:[1.25003,1.75,0,0,.79167],41:[1.25003,1.75,0,0,.79167],47:[1.25003,1.75,0,0,1.27778],91:[1.25003,1.75,0,0,.58334],92:[1.25003,1.75,0,0,1.27778],93:[1.25003,1.75,0,0,.58334],123:[1.25003,1.75,0,0,.80556],125:[1.25003,1.75,0,0,.80556],710:[0,.825,0,0,1.8889],732:[0,.825,0,0,1.8889],770:[0,.825,0,0,1.8889],771:[0,.825,0,0,1.8889],8730:[1.25003,1.75,0,0,1],8968:[1.25003,1.75,0,0,.63889],8969:[1.25003,1.75,0,0,.63889],8970:[1.25003,1.75,0,0,.63889],8971:[1.25003,1.75,0,0,.63889],9115:[.64502,1.155,0,0,.875],9116:[1e-5,.6,0,0,.875],9117:[.64502,1.155,0,0,.875],9118:[.64502,1.155,0,0,.875],9119:[1e-5,.6,0,0,.875],9120:[.64502,1.155,0,0,.875],9121:[.64502,1.155,0,0,.66667],9122:[-99e-5,.601,0,0,.66667],9123:[.64502,1.155,0,0,.66667],9124:[.64502,1.155,0,0,.66667],9125:[-99e-5,.601,0,0,.66667],9126:[.64502,1.155,0,0,.66667],9127:[1e-5,.9,0,0,.88889],9128:[.65002,1.15,0,0,.88889],9129:[.90001,0,0,0,.88889],9130:[0,.3,0,0,.88889],9131:[1e-5,.9,0,0,.88889],9132:[.65002,1.15,0,0,.88889],9133:[.90001,0,0,0,.88889],9143:[.88502,.915,0,0,1.05556],10216:[1.25003,1.75,0,0,.80556],10217:[1.25003,1.75,0,0,.80556],57344:[-.00499,.605,0,0,1.05556],57345:[-.00499,.605,0,0,1.05556],57680:[0,.12,0,0,.45],57681:[0,.12,0,0,.45],57682:[0,.12,0,0,.45],57683:[0,.12,0,0,.45]},"Typewriter-Regular":{32:[0,0,0,0,.525],33:[0,.61111,0,0,.525],34:[0,.61111,0,0,.525],35:[0,.61111,0,0,.525],36:[.08333,.69444,0,0,.525],37:[.08333,.69444,0,0,.525],38:[0,.61111,0,0,.525],39:[0,.61111,0,0,.525],40:[.08333,.69444,0,0,.525],41:[.08333,.69444,0,0,.525],42:[0,.52083,0,0,.525],43:[-.08056,.53055,0,0,.525],44:[.13889,.125,0,0,.525],45:[-.08056,.53055,0,0,.525],46:[0,.125,0,0,.525],47:[.08333,.69444,0,0,.525],48:[0,.61111,0,0,.525],49:[0,.61111,0,0,.525],50:[0,.61111,0,0,.525],51:[0,.61111,0,0,.525],52:[0,.61111,0,0,.525],53:[0,.61111,0,0,.525],54:[0,.61111,0,0,.525],55:[0,.61111,0,0,.525],56:[0,.61111,0,0,.525],57:[0,.61111,0,0,.525],58:[0,.43056,0,0,.525],59:[.13889,.43056,0,0,.525],60:[-.05556,.55556,0,0,.525],61:[-.19549,.41562,0,0,.525],62:[-.05556,.55556,0,0,.525],63:[0,.61111,0,0,.525],64:[0,.61111,0,0,.525],65:[0,.61111,0,0,.525],66:[0,.61111,0,0,.525],67:[0,.61111,0,0,.525],68:[0,.61111,0,0,.525],69:[0,.61111,0,0,.525],70:[0,.61111,0,0,.525],71:[0,.61111,0,0,.525],72:[0,.61111,0,0,.525],7
|
||
|
o("math",yt,"textord","N","\u2115"),o("text",yt,"textord","N","\u2115"),o("math",yt,"textord","P","\u2119"),o("text",yt,"textord","P","\u2119"),o("math",yt,"textord","Q","\u211a"),o("text",yt,"textord","Q","\u211a"),o("math",yt,"textord","R","\u211d"),o("text",yt,"textord","R","\u211d"),o("math",yt,"textord","Z","\u2124"),o("text",yt,"textord","Z","\u2124"),o("math",vt,bt,"h","\u210e"),o("text",vt,bt,"h","\u210e");for(var Nt="",Et=0;Et<Ct.length;Et++){var Ot=Ct.charAt(Et);o("math",vt,bt,Ot,Nt=String.fromCharCode(55349,56320+Et)),o("text",vt,"textord",Ot,Nt),o("math",vt,bt,Ot,Nt=String.fromCharCode(55349,56372+Et)),o("text",vt,"textord",Ot,Nt),o("math",vt,bt,Ot,Nt=String.fromCharCode(55349,56424+Et)),o("text",vt,"textord",Ot,Nt),o("math",vt,bt,Ot,Nt=String.fromCharCode(55349,56580+Et)),o("text",vt,"textord",Ot,Nt),o("math",vt,bt,Ot,Nt=String.fromCharCode(55349,56736+Et)),o("text",vt,"textord",Ot,Nt),o("math",vt,bt,Ot,Nt=String.fromCharCode(55349,56788+Et)),o("text",vt,"textord",Ot,Nt),o("math",vt,bt,Ot,Nt=String.fromCharCode(55349,56840+Et)),o("text",vt,"textord",Ot,Nt),o("math",vt,bt,Ot,Nt=String.fromCharCode(55349,56944+Et)),o("text",vt,"textord",Ot,Nt),Et<26&&(o("math",vt,bt,Ot,Nt=String.fromCharCode(55349,56632+Et)),o("text",vt,"textord",Ot,Nt),o("math",vt,bt,Ot,Nt=String.fromCharCode(55349,56476+Et)),o("text",vt,"textord",Ot,Nt))}o("math",vt,bt,"k",Nt=String.fromCharCode(55349,56668)),o("text",vt,"textord","k",Nt);for(var qt=0;qt<10;qt++){var It=qt.toString();o("math",vt,bt,It,Nt=String.fromCharCode(55349,57294+qt)),o("text",vt,"textord",It,Nt),o("math",vt,bt,It,Nt=String.fromCharCode(55349,57314+qt)),o("text",vt,"textord",It,Nt),o("math",vt,bt,It,Nt=String.fromCharCode(55349,57324+qt)),o("text",vt,"textord",It,Nt),o("math",vt,bt,It,Nt=String.fromCharCode(55349,57334+qt)),o("text",vt,"textord",It,Nt)}for(var Rt=0;Rt<"\xc7\xd0\xde\xe7\xfe".length;Rt++){var _t="\xc7\xd0\xde\xe7\xfe".charAt(Rt);o("math",vt,bt,_t,_t),o("text",vt,"textord",_t,_t)}o("text",vt,"textord","\xf0","\xf0"),o("text",vt,"textord","\u2013","\u2013"),o("text",vt,"textord","\u2014","\u2014"),o("text",vt,"textord","\u2018","\u2018"),o("text",vt,"textord","\u2019","\u2019"),o("text",vt,"textord","\u201c","\u201c"),o("text",vt,"textord","\u201d","\u201d");var Pt=[["mathbf","textbf","Main-Bold"],["mathbf","textbf","Main-Bold"],["mathdefault","textit","Math-Italic"],["mathdefault","textit","Math-Italic"],["boldsymbol","boldsymbol","Main-BoldItalic"],["boldsymbol","boldsymbol","Main-BoldItalic"],["mathscr","textscr","Script-Regular"],["","",""],["","",""],["","",""],["mathfrak","textfrak","Fraktur-Regular"],["mathfrak","textfrak","Fraktur-Regular"],["mathbb","textbb","AMS-Regular"],["mathbb","textbb","AMS-Regular"],["","",""],["","",""],["mathsf","textsf","SansSerif-Regular"],["mathsf","textsf","SansSerif-Regular"],["mathboldsf","textboldsf","SansSerif-Bold"],["mathboldsf","textboldsf","SansSerif-Bold"],["mathitsf","textitsf","SansSerif-Italic"],["mathitsf","textitsf","SansSerif-Italic"],["","",""],["","",""],["mathtt","texttt","Typewriter-Regular"],["mathtt","texttt","Typewriter-Regular"]],Ft=[["mathbf","textbf","Main-Bold"],["","",""],["mathsf","textsf","SansSerif-Regular"],["mathboldsf","textboldsf","SansSerif-Bold"],["mathtt","texttt","Typewriter-Regular"]],Dt=[[1,1,1],[2,1,1],[3,1,1],[4,2,1],[5,2,1],[6,3,1],[7,4,2],[8,6,3],[9,7,6],[10,8,7],[11,10,9]],Ht=[.5,.6,.7,.8,.9,1,1.2,1.44,1.728,2.074,2.488],jt=function(t,e){return e.size<2?t:Dt[t-1][e.size-1]},Ut=function(){function t(e){this.style=void 0,this.color=void 0,this.size=void 0,this.textSize=void 0,this.phantom=void 0,this.font=void 0,this.fontFamily=void 0,this.fontWeight=void 0,this.fontShape=void 0,this.sizeMultiplier=void 0,this.maxSize=void 0,this.minRuleThickness=void 0,this._fontMetrics=void 0,this.style=e.style,this.color=e.color,this.size=e.size||t.BASESIZE,this.textSize=e.textSize||this.size,this.phantom=!!e.phantom,this.font=e.font||"",this.fontFamily=e.fontFamily||"",this.fontWeight=e.fontWeight||"",this.fontShape=e.fontShape||"",this.sizeMultiplier=Ht[this.size-1],this.maxSize=e.maxSi
|
||
|
return{type:"color",mode:r.mode,color:n,body:fe(i)}},htmlBuilder:$e,mathmlBuilder:Ke}),u({type:"color",names:["\\color"],props:{numArgs:1,allowedInText:!0,greediness:3,argTypes:["color"]},handler:function(t,e){var r=t.parser,n=t.breakOnTokenText,i=s(e[0],"color-token").color;r.gullet.macros.set("\\current@color",i);var a=r.parseExpression(!0,n);return{type:"color",mode:r.mode,color:i,body:a}},htmlBuilder:$e,mathmlBuilder:Ke}),u({type:"cr",names:["\\cr","\\newline"],props:{numArgs:0,numOptionalArgs:1,argTypes:["size"],allowedInText:!0},handler:function(t,e,r){var n=t.parser,i=t.funcName,a=r[0],o="\\cr"===i,l=!1;return o||(l=!n.settings.displayMode||!n.settings.useStrictBehavior("newLineInDisplayMode","In LaTeX, \\\\ or \\newline does nothing in display mode")),{type:"cr",mode:n.mode,newLine:l,newRow:o,size:a&&s(a,"size").value}},htmlBuilder:function(t,e){if(t.newRow)throw new N("\\cr valid only within a tabular/array environment");var r=oe.makeSpan(["mspace"],[],e);return t.newLine&&(r.classes.push("newline"),t.size&&(r.style.marginTop=Xt(t.size,e)+"em")),r},mathmlBuilder:function(t,e){var r=new Be.MathNode("mspace");return t.newLine&&(r.setAttribute("linebreak","newline"),t.size&&r.setAttribute("height",Xt(t.size,e)+"em")),r}});var Ze=function(t,e,r){var n=a(gt.math[t]&>.math[t].replace||t,e,r);if(!n)throw new Error("Unsupported symbol "+t+" and font size "+e+".");return n},Je=function(t,e,r,n){var i=r.havingBaseStyle(e),a=oe.makeSpan(n.concat(i.sizingClasses(r)),[t],r),o=i.sizeMultiplier/r.sizeMultiplier;return a.height*=o,a.depth*=o,a.maxFontSize=i.sizeMultiplier,a},Qe=function(t,e,r){var n=e.havingBaseStyle(r),i=(1-e.sizeMultiplier/n.sizeMultiplier)*e.fontMetrics().axisHeight;t.classes.push("delimcenter"),t.style.top=i+"em",t.height-=i,t.depth+=i},tr=function(t,e,r,n,i,a){var o=function(t,e,r,n){return oe.makeSymbol(t,"Size"+e+"-Regular",r,n)}(t,e,i,n),s=Je(oe.makeSpan(["delimsizing","size"+e],[o],n),W.TEXT,n,a);return r&&Qe(s,n,W.TEXT),s},er=function(t,e,r){var n;return n="Size1-Regular"===e?"delim-size1":"delim-size4",{type:"elem",elem:oe.makeSpan(["delimsizinginner",n],[oe.makeSpan([],[oe.makeSymbol(t,e,r)])])}},rr={type:"kern",size:-.005},nr=function(t,e,r,n,i,a){var o,s,l,h;o=l=h=t,s=null;var c="Size1-Regular";"\\uparrow"===t?l=h="\u23d0":"\\Uparrow"===t?l=h="\u2016":"\\downarrow"===t?o=l="\u23d0":"\\Downarrow"===t?o=l="\u2016":"\\updownarrow"===t?(o="\\uparrow",l="\u23d0",h="\\downarrow"):"\\Updownarrow"===t?(o="\\Uparrow",l="\u2016",h="\\Downarrow"):"["===t||"\\lbrack"===t?(o="\u23a1",l="\u23a2",h="\u23a3",c="Size4-Regular"):"]"===t||"\\rbrack"===t?(o="\u23a4",l="\u23a5",h="\u23a6",c="Size4-Regular"):"\\lfloor"===t||"\u230a"===t?(l=o="\u23a2",h="\u23a3",c="Size4-Regular"):"\\lceil"===t||"\u2308"===t?(o="\u23a1",l=h="\u23a2",c="Size4-Regular"):"\\rfloor"===t||"\u230b"===t?(l=o="\u23a5",h="\u23a6",c="Size4-Regular"):"\\rceil"===t||"\u2309"===t?(o="\u23a4",l=h="\u23a5",c="Size4-Regular"):"("===t||"\\lparen"===t?(o="\u239b",l="\u239c",h="\u239d",c="Size4-Regular"):")"===t||"\\rparen"===t?(o="\u239e",l="\u239f",h="\u23a0",c="Size4-Regular"):"\\{"===t||"\\lbrace"===t?(o="\u23a7",s="\u23a8",h="\u23a9",l="\u23aa",c="Size4-Regular"):"\\}"===t||"\\rbrace"===t?(o="\u23ab",s="\u23ac",h="\u23ad",l="\u23aa",c="Size4-Regular"):"\\lgroup"===t||"\u27ee"===t?(o="\u23a7",h="\u23a9",l="\u23aa",c="Size4-Regular"):"\\rgroup"===t||"\u27ef"===t?(o="\u23ab",h="\u23ad",l="\u23aa",c="Size4-Regular"):"\\lmoustache"===t||"\u23b0"===t?(o="\u23a7",h="\u23ad",l="\u23aa",c="Size4-Regular"):"\\rmoustache"!==t&&"\u23b1"!==t||(o="\u23ab",h="\u23a9",l="\u23aa",c="Size4-Regular");var m=Ze(o,c,i),u=m.height+m.depth,d=Ze(l,c,i),p=d.height+d.depth,f=Ze(h,c,i),g=f.height+f.depth,v=0,y=1;if(null!==s){var x=Ze(s,c,i);v=x.height+x.depth,y=2}var b=u+g+v,w=Math.max(0,Math.ceil((e-b)/(y*p))),k=b+w*y*p,S=n.fontMetrics().axisHeight;r&&(S*=n.sizeMultiplier);var A=k/2-S,M=.005*(w+1)-p,z=[];if(z.push(er(h,c,i)),null===s)for(var T=0;T<w;T++)z.push(rr),z.push(er(l,c,i));else{for(var C=0;C<w;C++)z.push(rr),z.push(er(l,c,i));z.push({type:"kern",size:M}),z.push(er(
|
||
|
continued:!1,hasBarLine:m,barSize:p,leftDelim:o,rightDelim:u,size:f}},htmlBuilder:Ir,mathmlBuilder:Rr}),u({type:"infix",names:["\\above"],props:{numArgs:1,argTypes:["size"],infix:!0},handler:function(t,e){var r=t.parser,n=(t.funcName,t.token);return{type:"infix",mode:r.mode,replaceWith:"\\\\abovefrac",size:s(e[0],"size").value,token:n}}}),u({type:"genfrac",names:["\\\\abovefrac"],props:{numArgs:3,argTypes:["math","size","math"]},handler:function(t,e){var r=t.parser,n=(t.funcName,e[0]),i=function(t){if(!t)throw new Error("Expected non-null, but got "+String(t));return t}(s(e[1],"infix").size),a=e[2],o=i.number>0;return{type:"genfrac",mode:r.mode,numer:n,denom:a,continued:!1,hasBarLine:o,barSize:i,leftDelim:null,rightDelim:null,size:"auto"}},htmlBuilder:Ir,mathmlBuilder:Rr});var Fr=function(t,e){var r,n,i=e.style,a=l(t,"supsub");a?(r=a.sup?ze(a.sup,e.havingStyle(i.sup()),e):ze(a.sub,e.havingStyle(i.sub()),e),n=s(a.base,"horizBrace")):n=s(t,"horizBrace");var o,h=ze(n.base,e.havingBaseStyle(W.DISPLAY)),c=Ve(n,e);if(n.isOver?(o=oe.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:h},{type:"kern",size:.1},{type:"elem",elem:c}]},e)).children[0].children[0].children[1].classes.push("svg-align"):(o=oe.makeVList({positionType:"bottom",positionData:h.depth+.1+c.height,children:[{type:"elem",elem:c},{type:"kern",size:.1},{type:"elem",elem:h}]},e)).children[0].children[0].children[0].classes.push("svg-align"),r){var m=oe.makeSpan(["mord",n.isOver?"mover":"munder"],[o],e);o=n.isOver?oe.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:m},{type:"kern",size:.2},{type:"elem",elem:r}]},e):oe.makeVList({positionType:"bottom",positionData:m.depth+.2+r.height+r.depth,children:[{type:"elem",elem:r},{type:"kern",size:.2},{type:"elem",elem:m}]},e)}return oe.makeSpan(["mord",n.isOver?"mover":"munder"],[o],e)};u({type:"horizBrace",names:["\\overbrace","\\underbrace"],props:{numArgs:1},handler:function(t,e){var r=t.parser,n=t.funcName;return{type:"horizBrace",mode:r.mode,label:n,isOver:/^\\over/.test(n),base:e[0]}},htmlBuilder:Fr,mathmlBuilder:function(t,e){var r=Ue(t.label);return new Be.MathNode(t.isOver?"mover":"munder",[Ie(t.base,e),r])}}),u({type:"href",names:["\\href"],props:{numArgs:2,argTypes:["url","original"],allowedInText:!0},handler:function(t,e){var r=t.parser,n=e[1],i=s(e[0],"url").url;return r.settings.isTrusted({command:"\\href",url:i})?{type:"href",mode:r.mode,href:i,body:fe(n)}:r.formatUnsupportedCmd("\\href")},htmlBuilder:function(t,e){var r=we(t.body,e,!1);return oe.makeAnchor(t.href,[],r,e)},mathmlBuilder:function(t,e){var r=qe(t.body,e);return r instanceof Te||(r=new Te("mrow",[r])),r.setAttribute("href",t.href),r}}),u({type:"href",names:["\\url"],props:{numArgs:1,argTypes:["url"],allowedInText:!0},handler:function(t,e){var r=t.parser,n=s(e[0],"url").url;if(!r.settings.isTrusted({command:"\\url",url:n}))return r.formatUnsupportedCmd("\\url");for(var i=[],a=0;a<n.length;a++){var o=n[a];"~"===o&&(o="\\textasciitilde"),i.push({type:"textord",mode:"text",text:o})}var l={type:"text",mode:r.mode,font:"\\texttt",body:i};return{type:"href",mode:r.mode,href:n,body:fe(l)}}}),u({type:"htmlmathml",names:["\\html@mathml"],props:{numArgs:2,allowedInText:!0},handler:function(t,e){return{type:"htmlmathml",mode:t.parser.mode,html:fe(e[0]),mathml:fe(e[1])}},htmlBuilder:function(t,e){var r=we(t.html,e,!1);return oe.makeFragment(r)},mathmlBuilder:function(t,e){return qe(t.mathml,e)}});var Dr=function(t){if(/^[-+]? *(\d+(\.\d*)?|\.\d+)$/.test(t))return{number:+t,unit:"bp"};var e=/([-+]?) *(\d+(?:\.\d*)?|\.\d+) *([a-z]{2})/.exec(t);if(!e)throw new N("Invalid size: '"+t+"' in \\includegraphics");var r={number:+(e[1]+e[2]),unit:e[3]};if(!Yt(r))throw new N("Invalid unit: '"+r.unit+"' in \\includegraphics.");return r};u({type:"includegraphics",names:["\\includegraphics"],props:{numArgs:1,numOptionalArgs:1,argTypes:["raw","url"],allowedInText:!1},handler:function(t,e,r){var n=t.parser,i={number:0,unit:"em"},a={number:.9,unit:"em"},o={number:0,unit:"em"},l="";if(r[0])for(var h=s(r[0],"raw").string.split(","),c=0;c<h.
|
||
|
r=t.consumeArgs(1)[0]}return t.macros.set(n,{tokens:r,numArgs:i},e),""};T("\\gdef",function(t){return gn(t,!0)}),T("\\def",function(t){return gn(t,!1)}),T("\\global",function(t){var e=t.consumeArgs(1)[0];if(1!==e.length)throw new N("Invalid command after \\global");var r=e[0].text;if("\\def"===r)return gn(t,!0);throw new N("Invalid command '"+r+"' after \\global")});var vn=function(t,e,r){var n=t.consumeArgs(1)[0];if(1!==n.length)throw new N("\\newcommand's first argument must be a macro name");var i=n[0].text,a=t.isDefined(i);if(a&&!e)throw new N("\\newcommand{"+i+"} attempting to redefine "+i+"; use \\renewcommand");if(!a&&!r)throw new N("\\renewcommand{"+i+"} when command "+i+" does not yet exist; use \\newcommand");var o=0;if(1===(n=t.consumeArgs(1)[0]).length&&"["===n[0].text){for(var s="",l=t.expandNextToken();"]"!==l.text&&"EOF"!==l.text;)s+=l.text,l=t.expandNextToken();if(!s.match(/^\s*[0-9]+\s*$/))throw new N("Invalid number of arguments: "+s);o=parseInt(s),n=t.consumeArgs(1)[0]}return t.macros.set(i,{tokens:n,numArgs:o}),""};T("\\newcommand",function(t){return vn(t,!1,!0)}),T("\\renewcommand",function(t){return vn(t,!0,!1)}),T("\\providecommand",function(t){return vn(t,!0,!0)}),T("\\bgroup","{"),T("\\egroup","}"),T("\\lq","`"),T("\\rq","'"),T("\\aa","\\r a"),T("\\AA","\\r A"),T("\\textcopyright","\\html@mathml{\\textcircled{c}}{\\char`\xa9}"),T("\\copyright","\\TextOrMath{\\textcopyright}{\\text{\\textcopyright}}"),T("\\textregistered","\\html@mathml{\\textcircled{\\scriptsize R}}{\\char`\xae}"),T("\u212c","\\mathscr{B}"),T("\u2130","\\mathscr{E}"),T("\u2131","\\mathscr{F}"),T("\u210b","\\mathscr{H}"),T("\u2110","\\mathscr{I}"),T("\u2112","\\mathscr{L}"),T("\u2133","\\mathscr{M}"),T("\u211b","\\mathscr{R}"),T("\u212d","\\mathfrak{C}"),T("\u210c","\\mathfrak{H}"),T("\u2128","\\mathfrak{Z}"),T("\\Bbbk","\\Bbb{k}"),T("\xb7","\\cdotp"),T("\\llap","\\mathllap{\\textrm{#1}}"),T("\\rlap","\\mathrlap{\\textrm{#1}}"),T("\\clap","\\mathclap{\\textrm{#1}}"),T("\\not",'\\html@mathml{\\mathrel{\\mathrlap\\@not}}{\\char"338}'),T("\\neq","\\html@mathml{\\mathrel{\\not=}}{\\mathrel{\\char`\u2260}}"),T("\\ne","\\neq"),T("\u2260","\\neq"),T("\\notin","\\html@mathml{\\mathrel{{\\in}\\mathllap{/\\mskip1mu}}}{\\mathrel{\\char`\u2209}}"),T("\u2209","\\notin"),T("\u2258","\\html@mathml{\\mathrel{=\\kern{-1em}\\raisebox{0.4em}{$\\scriptsize\\frown$}}}{\\mathrel{\\char`\u2258}}"),T("\u2259","\\html@mathml{\\stackrel{\\tiny\\wedge}{=}}{\\mathrel{\\char`\u2258}}"),T("\u225a","\\html@mathml{\\stackrel{\\tiny\\vee}{=}}{\\mathrel{\\char`\u225a}}"),T("\u225b","\\html@mathml{\\stackrel{\\scriptsize\\star}{=}}{\\mathrel{\\char`\u225b}}"),T("\u225d","\\html@mathml{\\stackrel{\\tiny\\mathrm{def}}{=}}{\\mathrel{\\char`\u225d}}"),T("\u225e","\\html@mathml{\\stackrel{\\tiny\\mathrm{m}}{=}}{\\mathrel{\\char`\u225e}}"),T("\u225f","\\html@mathml{\\stackrel{\\tiny?}{=}}{\\mathrel{\\char`\u225f}}"),T("\u27c2","\\perp"),T("\u203c","\\mathclose{!\\mkern-0.8mu!}"),T("\u220c","\\notni"),T("\u231c","\\ulcorner"),T("\u231d","\\urcorner"),T("\u231e","\\llcorner"),T("\u231f","\\lrcorner"),T("\xa9","\\copyright"),T("\xae","\\textregistered"),T("\ufe0f","\\textregistered"),T("\\vdots","\\mathord{\\varvdots\\rule{0pt}{15pt}}"),T("\u22ee","\\vdots"),T("\\varGamma","\\mathit{\\Gamma}"),T("\\varDelta","\\mathit{\\Delta}"),T("\\varTheta","\\mathit{\\Theta}"),T("\\varLambda","\\mathit{\\Lambda}"),T("\\varXi","\\mathit{\\Xi}"),T("\\varPi","\\mathit{\\Pi}"),T("\\varSigma","\\mathit{\\Sigma}"),T("\\varUpsilon","\\mathit{\\Upsilon}"),T("\\varPhi","\\mathit{\\Phi}"),T("\\varPsi","\\mathit{\\Psi}"),T("\\varOmega","\\mathit{\\Omega}"),T("\\substack","\\begin{subarray}{c}#1\\end{subarray}"),T("\\colon","\\nobreak\\mskip2mu\\mathpunct{}\\mathchoice{\\mkern-3mu}{\\mkern-3mu}{}{}{:}\\mskip6mu"),T("\\boxed","\\fbox{$\\displaystyle{#1}$}"),T("\\iff","\\DOTSB\\;\\Longleftrightarrow\\;"),T("\\implies","\\DOTSB\\;\\Longrightarrow\\;"),T("\\impliedby","\\DOTSB\\;\\Longleftarrow\\;");var yn={",":"\\dotsc","\\not":"\\dotsb","+":"\\dotsb","=":"\\dotsb","<":"\\dotsb",">":"\\dotsb","-":"\\
|
||
|
loc:C.range(h,d),body:u,semisimple:"\\begingroup"===c||void 0}}else if(r)l=null;else if(null==(l=this.parseFunction(i,e,n)||this.parseSymbol())&&"\\"===c[0]&&!wn.hasOwnProperty(c)){if(this.settings.throwOnError)throw new N("Undefined control sequence: "+c,h);l=this.formatUnsupportedCmd(c),this.consume()}return a&&this.switchMode(s),l},e.formLigatures=function(t){for(var e=t.length-1,r=0;r<e;++r){var n=t[r],i=n.text;"-"===i&&"-"===t[r+1].text&&(r+1<e&&"-"===t[r+2].text?(t.splice(r,3,{type:"textord",mode:"text",loc:C.range(n,t[r+2]),text:"---"}),e-=2):(t.splice(r,2,{type:"textord",mode:"text",loc:C.range(n,t[r+1]),text:"--"}),e-=1)),"'"!==i&&"`"!==i||t[r+1].text!==i||(t.splice(r,2,{type:"textord",mode:"text",loc:C.range(n,t[r+1]),text:i+i}),e-=1)}},e.parseSymbol=function(){var t=this.fetch(),e=t.text;if(/^\\verb[^a-zA-Z]/.test(e)){this.consume();var r=e.slice(5),i="*"===r.charAt(0);if(i&&(r=r.slice(1)),r.length<2||r.charAt(0)!==r.slice(-1))throw new N("\\verb assertion failed --\n please report what input caused this bug");return{type:"verb",mode:"text",body:r=r.slice(1,-1),star:i}}An.hasOwnProperty(e[0])&&!gt[this.mode][e[0]]&&(this.settings.strict&&"math"===this.mode&&this.settings.reportNonstrict("unicodeTextInMathMode",'Accented Unicode text character "'+e[0]+'" used in math mode',t),e=An[e[0]]+e.substr(1));var a,o=hn.exec(e);if(o&&("i"===(e=e.substring(0,o.index))?e="\u0131":"j"===e&&(e="\u0237")),gt[this.mode][e]){this.settings.strict&&"math"===this.mode&&"\xc7\xd0\xde\xe7\xfe".indexOf(e)>=0&&this.settings.reportNonstrict("unicodeTextInMathMode",'Latin-1/Unicode text character "'+e[0]+'" used in math mode',t);var s,l=gt[this.mode][e].group,h=C.range(t);if(dt.hasOwnProperty(l)){var c=l;s={type:"atom",mode:this.mode,family:c,loc:h,text:e}}else s={type:l,mode:this.mode,loc:h,text:e};a=s}else{if(!(e.charCodeAt(0)>=128))return null;this.settings.strict&&(n(e.charCodeAt(0))?"math"===this.mode&&this.settings.reportNonstrict("unicodeTextInMathMode",'Unicode text character "'+e[0]+'" used in math mode',t):this.settings.reportNonstrict("unknownSymbol",'Unrecognized Unicode character "'+e[0]+'" ('+e.charCodeAt(0)+")",t)),a={type:"textord",mode:"text",loc:C.range(t),text:e}}if(this.consume(),o)for(var m=0;m<o[0].length;m++){var u=o[0][m];if(!Sn[u])throw new N("Unknown accent ' "+u+"'",t);var d=Sn[u][this.mode];if(!d)throw new N("Accent "+u+" unsupported in "+this.mode+" mode",t);a={type:"accent",mode:this.mode,loc:C.range(t),label:d,isStretchy:!1,isShifty:!0,base:a}}return a},t}();Mn.endOfExpression=["}","\\endgroup","\\end","\\right","&"],Mn.endOfGroup={"[":"]","{":"}","\\begingroup":"\\endgroup"},Mn.SUPSUB_GREEDINESS=1;var zn=function(t,e){if(!("string"==typeof t||t instanceof String))throw new TypeError("KaTeX can only parse string typed expression");var r=new Mn(t,e);delete r.gullet.macros.current["\\df@tag"];var n=r.parse();if(r.gullet.macros.get("\\df@tag")){if(!e.displayMode)throw new N("\\tag works only in display equations");r.gullet.feed("\\df@tag"),n=[{type:"tag",mode:"text",body:n,tag:r.parse()}]}return n},Tn=function(t,e,r){e.textContent="";var n=Bn(t,r).toNode();e.appendChild(n)};"undefined"!=typeof document&&"CSS1Compat"!==document.compatMode&&("undefined"!=typeof console&&console.warn("Warning: KaTeX doesn't work in quirks mode. Make sure your website has a suitable doctype."),Tn=function(){throw new N("KaTeX doesn't work in quirks mode.")});var Cn=function(t,e,r){if(r.throwOnError||!(t instanceof N))throw t;var n=oe.makeSpan(["katex-error"],[new at(e)]);return n.setAttribute("title",t.toString()),n.setAttribute("style","color:"+r.errorColor),n},Bn=function(t,e){var r=new _(e);try{var n=zn(t,r);return Pe(n,t,r)}catch(e){return Cn(e,t,r)}},Ln={version:"0.11.1",render:Tn,renderToString:function(t,e){return Bn(t,e).toMarkup()},ParseError:N,__parse:function(t,e){var r=new _(e);return zn(t,r)},__renderToDomTree:Bn,__renderToHTMLTree:function(t,e){var r=new _(e);try{return function(t,e,r){var n=f(t,Re(r)),i=oe.makeSpan(["katex"],[n]);return _e(i,r)}(zn(t,r),0,r)}catch(e){return Cn(e,t,r)}},__setFont
|
||
|
}))},isReady:function(){return this._isReady},onFontActive:function(t){var e=SL.fonts.getFamilyByName(t);e&&(e.active=!0),this.fontactive.dispatch(e)},onFontInactive:function(t){var e=SL.fonts.getFamilyByName(t);e&&(e.inactive=!0),this.fontinactive.dispatch(e)},onInitialFontsActive:function(){this.finishLoading()},onInitialFontsInactive:function(){this.finishLoading()}},SL("views.decks").Export=Class.extend({init:function(){SL.deck.util.injectNotes(),SL.deck.util.renderMath(),SL.deck.util.injectCodeCopyButtons(),window.Reveal&&Reveal.isReady()&&(Reveal.sync(),Reveal.layout())}}),SL("deck").Animation={init:function(){this.animationListeners=[],this.animationsEnabled=!0,this.run=this.run.bind(this),this.reset=this.reset.bind(this),this.toggle=this.toggle.bind(this),this.onSlideChanged=this.onSlideChanged.bind(this),Reveal.addEventListener("slidechanged",this.onSlideChanged),this.revealElement=document.querySelector(".reveal"),this.interactiveAnimationChanged=new signals.Signal},sync:function(){this.animationsEnabled?this.enableAnimations():this.disableAnimations()},enableAnimations:function(){this.animationsEnabled=!0,this.revealElement.classList.remove("block-animations-disabled"),this.reset(this.revealElement);var t=Reveal.getCurrentSlide();this.fastForwardAnimation(t,function(){this.run(t),this.bind(t)}.bind(this))},disableAnimations:function(){this.animationsEnabled=!1,this.revealElement.classList.add("block-animations-disabled"),this.unbind(),this.fastForwardAnimation(this.revealElement)},getAnimationTargets:function(t){return t instanceof Array?t:t.hasAttribute("data-animation-type")?[t]:[].slice.call(t.querySelectorAll("[data-animation-type]"))},getInteractiveAnimationTargets:function(t,e){var r=e?".animate":"";return[].slice.call(t.querySelectorAll(['[data-animation-trigger="click"]','[data-animation-trigger="hover"]'].join(r+",")+r))},run:function(t,e){this.getAnimationTargets(t).forEach(function(t){!e&&this.hasInteractiveAnimationTrigger(t)||t.classList.add("animate")}.bind(this))},toggle:function(t,e){this.getAnimationTargets(t).forEach(function(t){!e&&this.hasInteractiveAnimationTrigger(t)||t.classList.toggle("animate")}.bind(this))},reset:function(t){this.getAnimationTargets(t).forEach(function(t){t.classList.remove("animate")}.bind(this))},preview:function(t){this.animationsEnabled===!1&&this.revealElement.classList.remove("block-animations-disabled"),this.getAnimationTargets(t).forEach(function(t){t.classList.remove("animate"),this.fastForwardAnimation(t,function(){t.classList.add("animate"),this.animationsEnabled===!1&&this.revealElement.classList.add("block-animations-disabled")}.bind(this))}.bind(this))},bind:function(t){this.unbind(),this.getAnimationTargets(t).forEach(function(e){if(this.hasInteractiveAnimationTrigger(e)){var r=e.getAttribute("data-animation-trigger-id"),n="self"===r?e:t.querySelector('.sl-block[data-block-id="'+r+'"] .sl-block-content');if(n){var i=e.getAttribute("data-animation-trigger");"click"===i?(this.addAnimationEventListener(n,"touchstart",this.onTriggerTouchStart.bind(this,e)),this.addAnimationEventListener(n,"click",this.onTriggerClick.bind(this,e))):"hover"===i&&(this.addAnimationEventListener(n,"mouseover",this.onTriggerMouseOver.bind(this,e)),this.addAnimationEventListener(n,"mouseout",this.onTriggerMouseOut.bind(this,e)))}}}.bind(this))},addAnimationEventListener:function(t,e,r){t.addEventListener(e,r),/click|touchstart/gi.test(e)&&t.classList.add("animation-trigger"),this.animationListeners.push([t,e,r])},unbind:function(){this.animationListeners.forEach(function(t){var e=t[0],r=t[1],n=t[2];/click|touchstart/gi.test(r)&&e.classList.remove("animation-trigger"),e.removeEventListener(r,n)}),this.animationListeners.length=0},hasInteractiveAnimationTrigger:function(t){return/click|hover/gi.test(t.getAttribute("data-animation-trigger"))},fastForwardAnimation:function(t,e){t.classList.add("no-transition"),setTimeout(function(){t.classList.remove("no-transition"),"function"==typeof e&&e()},1)},getSerializedInteractiveState:function(){return this.getInteractiveAnimationTargets(Re
|