You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
1 line
7.4 KiB
1 line
7.4 KiB
"use strict";(self.webpackChunkjupyter_web=self.webpackChunkjupyter_web||[]).push([[6074],{72842:function(w,y,v){var a,b=this&&this.__extends||(a=function(r,t){return(a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,o){e.__proto__=o}||function(e,o){for(var n in o)Object.prototype.hasOwnProperty.call(o,n)&&(e[n]=o[n])})(r,t)},function(r,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function e(){this.constructor=r}a(r,t),r.prototype=null===t?Object.create(t):(e.prototype=t.prototype,new e)}),s=this&&this.__values||function(a){var r="function"==typeof Symbol&&Symbol.iterator,t=r&&a[r],e=0;if(t)return t.call(a);if(a&&"number"==typeof a.length)return{next:function(){return a&&e>=a.length&&(a=void 0),{value:a&&a[e++],done:!a}}};throw new TypeError(r?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(y,"__esModule",{value:!0}),y.HTMLAdaptor=void 0;var i=function(a){function r(t){var e=a.call(this,t.document)||this;return e.window=t,e.parser=new t.DOMParser,e}return b(r,a),r.prototype.parse=function(t,e){return void 0===e&&(e="text/html"),this.parser.parseFromString(t,e)},r.prototype.create=function(t,e){return e?this.document.createElementNS(e,t):this.document.createElement(t)},r.prototype.text=function(t){return this.document.createTextNode(t)},r.prototype.head=function(t){return t.head||t},r.prototype.body=function(t){return t.body||t},r.prototype.root=function(t){return t.documentElement||t},r.prototype.doctype=function(t){return t.doctype?"<!DOCTYPE ".concat(t.doctype.name,">"):""},r.prototype.tags=function(t,e,o){void 0===o&&(o=null);var n=o?t.getElementsByTagNameNS(o,e):t.getElementsByTagName(e);return Array.from(n)},r.prototype.getElements=function(t,e){var o,n,u=[];try{for(var p=s(t),c=p.next();!c.done;c=p.next()){var f=c.value;"string"==typeof f?u=u.concat(Array.from(this.document.querySelectorAll(f))):Array.isArray(f)||f instanceof this.window.NodeList||f instanceof this.window.HTMLCollection?u=u.concat(Array.from(f)):u.push(f)}}catch(h){o={error:h}}finally{try{c&&!c.done&&(n=p.return)&&n.call(p)}finally{if(o)throw o.error}}return u},r.prototype.contains=function(t,e){return t.contains(e)},r.prototype.parent=function(t){return t.parentNode},r.prototype.append=function(t,e){return t.appendChild(e)},r.prototype.insert=function(t,e){return this.parent(e).insertBefore(t,e)},r.prototype.remove=function(t){return this.parent(t).removeChild(t)},r.prototype.replace=function(t,e){return this.parent(e).replaceChild(t,e)},r.prototype.clone=function(t){return t.cloneNode(!0)},r.prototype.split=function(t,e){return t.splitText(e)},r.prototype.next=function(t){return t.nextSibling},r.prototype.previous=function(t){return t.previousSibling},r.prototype.firstChild=function(t){return t.firstChild},r.prototype.lastChild=function(t){return t.lastChild},r.prototype.childNodes=function(t){return Array.from(t.childNodes)},r.prototype.childNode=function(t,e){return t.childNodes[e]},r.prototype.kind=function(t){var e=t.nodeType;return 1===e||3===e||8===e?t.nodeName.toLowerCase():""},r.prototype.value=function(t){return t.nodeValue||""},r.prototype.textContent=function(t){return t.textContent},r.prototype.innerHTML=function(t){return t.innerHTML},r.prototype.outerHTML=function(t){return t.outerHTML},r.prototype.serializeXML=function(t){return(new this.window.XMLSerializer).serializeToString(t)},r.prototype.setAttribute=function(t,e,o,n){return void 0===n&&(n=null),n?(e=n.replace(/.*\//,"")+":"+e.replace(/^.*:/,""),t.setAttributeNS(n,e,o)):t.setAttribute(e,o)},r.prototype.getAttribute=function(t,e){return t.getAttribute(e)},r.prototype.removeAttribute=function(t,e){return t.removeAttribute(e)},r.prototype.hasAttribute=function(t,e){return t.hasAttribute(e)},r.prototype.allAttributes=function(t){return Array.from(t.attributes).map(function(e){return{name:e.name,value:e.value}})},r.prototype.addClass=function(t,e){t.classList?t.classList.add(e):t.className=(t.className+" "+e).trim()},r.prototype.removeClass=function(t,e){t.classList?t.classList.remove(e):t.className=t.className.split(/ /).filter(function(o){return o!==e}).join(" ")},r.prototype.hasClass=function(t,e){return t.classList?t.classList.contains(e):t.className.split(/ /).indexOf(e)>=0},r.prototype.setStyle=function(t,e,o){t.style[e]=o},r.prototype.getStyle=function(t,e){return t.style[e]},r.prototype.allStyles=function(t){return t.style.cssText},r.prototype.insertRules=function(t,e){var o,n;try{for(var u=s(e.reverse()),p=u.next();!p.done;p=u.next()){var c=p.value;try{t.sheet.insertRule(c,0)}catch(f){console.warn("MathJax: can't insert css rule '".concat(c,"': ").concat(f.message))}}}catch(f){o={error:f}}finally{try{p&&!p.done&&(n=u.return)&&n.call(u)}finally{if(o)throw o.error}}},r.prototype.fontSize=function(t){var e=this.window.getComputedStyle(t);return parseFloat(e.fontSize)},r.prototype.fontFamily=function(t){return this.window.getComputedStyle(t).fontFamily||""},r.prototype.nodeSize=function(t,e,o){if(void 0===e&&(e=1),void 0===o&&(o=!1),o&&t.getBBox){var n=t.getBBox();return[n.width/e,n.height/e]}return[t.offsetWidth/e,t.offsetHeight/e]},r.prototype.nodeBBox=function(t){var e=t.getBoundingClientRect();return{left:e.left,right:e.right,top:e.top,bottom:e.bottom}},r}(v(50539).AbstractDOMAdaptor);y.HTMLAdaptor=i},36074:(w,y,v)=>{Object.defineProperty(y,"__esModule",{value:!0}),y.browserAdaptor=void 0;var b=v(72842);y.browserAdaptor=function s(){return new b.HTMLAdaptor(window)}},50539:function(w,y){var v=this&&this.__values||function(s){var l="function"==typeof Symbol&&Symbol.iterator,i=l&&s[l],a=0;if(i)return i.call(s);if(s&&"number"==typeof s.length)return{next:function(){return s&&a>=s.length&&(s=void 0),{value:s&&s[a++],done:!s}}};throw new TypeError(l?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(y,"__esModule",{value:!0}),y.AbstractDOMAdaptor=void 0;var b=function(){function s(l){void 0===l&&(l=null),this.document=l}return s.prototype.node=function(l,i,a,r){var t,e;void 0===i&&(i={}),void 0===a&&(a=[]);var o=this.create(l,r);this.setAttributes(o,i);try{for(var n=v(a),u=n.next();!u.done;u=n.next()){var p=u.value;this.append(o,p)}}catch(c){t={error:c}}finally{try{u&&!u.done&&(e=n.return)&&e.call(n)}finally{if(t)throw t.error}}return o},s.prototype.setAttributes=function(l,i){var a,r,t,e,o,n;if(i.style&&"string"!=typeof i.style)try{for(var u=v(Object.keys(i.style)),p=u.next();!p.done;p=u.next()){var c=p.value;this.setStyle(l,c.replace(/-([a-z])/g,function(d,g){return g.toUpperCase()}),i.style[c])}}catch(d){a={error:d}}finally{try{p&&!p.done&&(r=u.return)&&r.call(u)}finally{if(a)throw a.error}}if(i.properties)try{for(var f=v(Object.keys(i.properties)),h=f.next();!h.done;h=f.next()){l[c=h.value]=i.properties[c]}}catch(d){t={error:d}}finally{try{h&&!h.done&&(e=f.return)&&e.call(f)}finally{if(t)throw t.error}}try{for(var A=v(Object.keys(i)),m=A.next();!m.done;m=A.next()){("style"!==(c=m.value)||"string"==typeof i.style)&&"properties"!==c&&this.setAttribute(l,c,i[c])}}catch(d){o={error:d}}finally{try{m&&!m.done&&(n=A.return)&&n.call(A)}finally{if(o)throw o.error}}},s.prototype.replace=function(l,i){return this.insert(l,i),this.remove(i),i},s.prototype.childNode=function(l,i){return this.childNodes(l)[i]},s.prototype.allClasses=function(l){var i=this.getAttribute(l,"class");return i?i.replace(/ +/g," ").replace(/^ /,"").replace(/ $/,"").split(/ /):[]},s}();y.AbstractDOMAdaptor=b}}]); |