|
"use strict";function _typeof(u){return(_typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(u){return typeof u}:function(u){return u&&"function"==typeof Symbol&&u.constructor===Symbol&&u!==Symbol.prototype?"symbol":typeof u})(u)}function _wrapNativeSuper(u){var e="function"==typeof Map?new Map:void 0;return(_wrapNativeSuper=function(u){if(null===u||!_isNativeFunction(u))return u;if("function"!=typeof u)throw new TypeError("Super expression must either be null or a function");if(void 0!==e){if(e.has(u))return e.get(u);e.set(u,t)}function t(){return _construct(u,arguments,_getPrototypeOf(this).constructor)}return t.prototype=Object.create(u.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),_setPrototypeOf(t,u)})(u)}function _construct(u,e,t){return(_construct=_isNativeReflectConstruct()?Reflect.construct.bind():function(u,e,t){var n=[null];n.push.apply(n,e);var D=new(Function.bind.apply(u,n));return t&&_setPrototypeOf(D,t.prototype),D}).apply(null,arguments)}function _isNativeFunction(u){return-1!==Function.toString.call(u).indexOf("[native code]")}function _slicedToArray(u,e){return _arrayWithHoles(u)||_iterableToArrayLimit(u,e)||_unsupportedIterableToArray(u,e)||_nonIterableRest()}function _nonIterableRest(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function _iterableToArrayLimit(u,e){var t=null==u?null:"undefined"!=typeof Symbol&&u[Symbol.iterator]||u["@@iterator"];if(null!=t){var n,D,r,o,i=[],a=!0,c=!1;try{if(r=(t=t.call(u)).next,0===e){if(Object(t)!==t)return;a=!1}else for(;!(a=(n=r.call(t)).done)&&(i.push(n.value),i.length!==e);a=!0);}catch(u){c=!0,D=u}finally{try{if(!a&&null!=t.return&&(o=t.return(),Object(o)!==o))return}finally{if(c)throw D}}return i}}function _arrayWithHoles(u){if(Array.isArray(u))return u}function _inherits(u,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");u.prototype=Object.create(e&&e.prototype,{constructor:{value:u,writable:!0,configurable:!0}}),Object.defineProperty(u,"prototype",{writable:!1}),e&&_setPrototypeOf(u,e)}function _setPrototypeOf(u,e){return(_setPrototypeOf=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(u,e){return u.__proto__=e,u})(u,e)}function _createSuper(u){var e=_isNativeReflectConstruct();return function(){var t,n=_getPrototypeOf(u);if(e){var D=_getPrototypeOf(this).constructor;t=Reflect.construct(n,arguments,D)}else t=n.apply(this,arguments);return _possibleConstructorReturn(this,t)}}function _possibleConstructorReturn(u,e){if(e&&("object"===_typeof(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return _assertThisInitialized(u)}function _assertThisInitialized(u){if(void 0===u)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return u}function _isNativeReflectConstruct(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(u){return!1}}function _getPrototypeOf(u){return(_getPrototypeOf=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(u){return u.__proto__||Object.getPrototypeOf(u)})(u)}function _toConsumableArray(u){return _arrayWithoutHoles(u)||_iterableToArray(u)||_unsupportedIterableToArray(u)||_nonIterableSpread()}function _nonIterableSpread(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function _unsupportedIterableToArray(u,e){if(u){if("string"==typeof u)return _arrayLikeToArray(u,e);var t=Object.prototype.toString.call(u).slice(8,-1);return"Object"===t&&u.constructor&&(t=u.constructor.name),"Map"===t||"Set"===t?Array.from(u):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?_arrayLikeToArray(u,e):void 0}}function _iterableToArray(u){if("undefined"!=typeof Symbol&&null!=u[Symbol.iterator]||null!=u["@@iterator"])return Array.from(u)}function _arrayWithoutHoles(u){if(Array.isArray(u))return _arrayLikeToArray(u)}function _arrayLikeToArray(u,e){(null==e||e>u.length)&&(e=u.length);for(var t=0,n=new Array(e);t<e;t++)n[t]=u[t];return n}function _classCallCheck(u,e){if(!(u instanceof e))throw new TypeError("Cannot call a class as a function")}function _defineProperties(u,e){for(var t=0;t<e.length;t++){var n=e[t];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(u,_toPropertyKey(n.key),n)}}function _createClass(u,e,t){return e&&_defineProperties(u.prototype,e),t&&_defineProperties(u,t),Object.defineProperty(u,"prototype",{writable:!1}),u}function _toPropertyKey(u){var e=_toPrimitive(u,"string");return"symbol"===_typeof(e)?e:String(e)}function _toPrimitive(u,e){if("object"!==_typeof(u)||null===u)return u;var t=u[Symbol.toPrimitive];if(void 0!==t){var n=t.call(u,e||"default");if("object"!==_typeof(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(u)}function _typeof(u){return(_typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(u){return typeof u}:function(u){return u&&"function"==typeof Symbol&&u.constructor===Symbol&&u!==Symbol.prototype?"symbol":typeof u})(u)}!function(u){if("undefined"!=typeof window){var e=!0,t="",n=0,D="",r=null,o="",i=!1,a={resize:1,click:1},c=128,s=!0,l=1,F="bodyOffset",C=F,E=!0,d="",f={},A=32,g=null,h=!1,p=!1,B="[iFrameSizer]",m=B.length,y="",b={max:1,min:1,bodyScroll:1,documentElementScroll:1},v="child",w=!0,_=window.parent,S="*",x=0,k=!1,O=null,T=16,N=1,M="scroll",R=M,j=window,I=function(){Du("onMessage function not defined")},L=function(){},P=function(){},H={height:function(){return Du("Custom height calculation function not defined"),document.documentElement.offsetHeight},width:function(){return Du("Custom width calculation function not defined"),document.body.scrollWidth}},z={},U=!1;try{var K=Object.create({},{passive:{get:function(){U=!0}}});window.addEventListener("test",Q,K),window.removeEventListener("test",Q,K)}catch(Au){}var W,q,X,G,J,Z,$={bodyOffset:function(){return document.body.offsetHeight+du("marginTop")+du("marginBottom")},offset:function(){return $.bodyOffset()},bodyScroll:function(){return document.body.scrollHeight},custom:function(){return H.height()},documentElementOffset:function(){return document.documentElement.offsetHeight},documentElementScroll:function(){return document.documentElement.scrollHeight},max:function(){return Math.max.apply(null,Au($))},min:function(){return Math.min.apply(null,Au($))},grow:function(){return $.max()},lowestElement:function(){return Math.max($.bodyOffset()||$.documentElementOffset(),fu("bottom",hu()))},taggedElement:function(){return gu("bottom","data-iframe-height")}},V={bodyScroll:function(){return document.body.scrollWidth},bodyOffset:function(){return document.body.offsetWidth},custom:function(){return H.width()},documentElementScroll:function(){return document.documentElement.scrollWidth},documentElementOffset:function(){return document.documentElement.offsetWidth},scroll:function(){return Math.max(V.bodyScroll(),V.documentElementScroll())},max:function(){return Math.max.apply(null,Au(V))},min:function(){return Math.min.apply(null,Au(V))},rightMostElement:function(){return fu("right",hu())},taggedElement:function(){return gu("right","data-iframe-width")}},Y=(W=pu,J=null,Z=0,function(){var u=Date.now(),e=T-(u-(Z=Z||u));return q=this,X=arguments,e<=0||T<e?(J&&(clearTimeout(J),J=null),Z=u,G=W.apply(q,X),J||(q=X=null)):J=J||setTimeout(Bu,e),G});uu(window,"message",function(e){var t={init:function(){d=e.data,_=e.source,ru(),s=!1,setTimeout(function(){E=!1},c)},reset:function(){E?nu("Page reset ignored by init"):(nu("Page size reset by host page"),bu("resetPage"))},resize:function(){mu("resizeParent","Parent window requested size check")},moveToAnchor:function(){f.findTarget(D())},inPageLink:function(){this.moveToAnchor()},pageInfo:function(){var u=D();nu("PageInfoFromParent called from parent: "+u),P(JSON.parse(u)),nu(" --")},message:function(){var u=D();nu("onMessage called from parent: "+u),I(JSON.parse(u)),nu(" --")}};function n(){return e.data.split("]")[1].split(":")[0]}function D(){return e.data.slice(e.data.indexOf(":")+1)}function r(){return e.data.split(":")[2]in{true:1,false:1}}B===(""+e.data).slice(0,m)&&(!1===s?function(){var D=n();D in t?t[D]():("undefined"==typeof module||!module.exports)&&"iFrameResize"in window||window.jQuery!==u&&"iFrameResize"in window.jQuery.prototype||r()||Du("Unexpected message ("+e.data+")")}():r()?t.init():nu('Ignored message of type "'+n()+'". Received before initialization.'))}),uu(window,"readystatechange",_u),_u()}function Q(){}function uu(u,e,t,n){u.addEventListener(e,t,!!U&&(n||{}))}function eu(u){return u.charAt(0).toUpperCase()+u.slice(1)}function tu(u){return B+"["+y+"] "+u}function nu(u){h&&"object"==_typeof(window.console)&&console.log(tu(u))}function Du(u){"object"==_typeof(window.console)&&console.warn(tu(u))}function ru(){function a(u){return"true"===u}function s(u,e){return"function"==typeof u&&(nu("Setup custom "+e+"CalcMethod"),H[e]=u,u="custom"),u}var l;function F(u){wu(0,0,u.type,u.screenY+":"+u.screenX)}function E(u,e){nu("Add event listener: "+e),uu(window.document,u,F)}l=d.slice(m).split(":"),y=l[0],n=u===l[1]?n:Number(l[1]),i=u===l[2]?i:a(l[2]),h=u===l[3]?h:a(l[3]),A=u===l[4]?A:Number(l[4]),e=u===l[6]?e:a(l[6]),D=l[7],C=u===l[8]?C:l[8],t=l[9],o=l[10],x=u===l[11]?x:Number(l[11]),f.enable=u!==l[12]&&a(l[12]),v=u===l[13]?v:l[13],R=u===l[14]?R:l[14],p=u===l[15]?p:a(l[15]),nu("Initialising iFrame ("+window.location.href+")"),"iFrameResizer"in window&&Object===window.iFrameResizer.constructor&&(l=window.iFrameResizer,nu("Reading data from page: "+JSON.stringify(l)),Object.keys(l).forEach(ou,l),I="onMessage"in l?l.onMessage:I,L="onReady"in l?l.onReady:L,S="targetOrigin"in l?l.targetOrigin:S,C="heightCalculationMethod"in l?l.heightCalculationMethod:C,R="widthCalculationMethod"in l?l.widthCalculationMethod:R,C=s(C,"height"),R=s(R,"width")),nu("TargetOrigin for parent set to: "+S),iu("margin",function(u,e){return-1!==e.indexOf("-")&&(Du("Negative CSS value ignored for margin"),e=""),e}(0,D=u===D?n+"px":D)),iu("background",t),iu("padding",o),(l=document.createElement("div")).style.clear="both",l.style.display="block",l.style.height="0",document.body.appendChild(l),lu(),Fu(),document.documentElement.style.height="",document.body.style.height="",nu('HTML & body height set to "auto"'),nu("Enable public methods"),j.parentIFrame={autoResize:function(u){return!0===u&&!1===e?(e=!0,Cu()):!1===u&&!0===e&&(e=!1,cu("remove"),null!==r&&r.disconnect(),clearInterval(g)),wu(0,0,"autoResize",JSON.stringify(e)),e},close:function(){wu(0,0,"close")},getId:function(){return y},getPageInfo:function(u){"function"==typeof u?(P=u,wu(0,0,"pageInfo")):(P=function(){},wu(0,0,"pageInfoStop"))},moveToAnchor:function(u){f.findTarget(u)},reset:function(){vu("parentIFrame.reset")},scrollTo:function(u,e){wu(e,u,"scrollTo")},scrollToOffset:function(u,e){wu(e,u,"scrollToOffset")},sendMessage:function(u,e){wu(0,0,"message",JSON.stringify(u),e)},setHeightCalculationMethod:function(u){C=u,lu()},setWidthCalculationMethod:function(u){R=u,Fu()},setTargetOrigin:function(u){nu("Set targetOrigin: "+u),S=u},size:function(u,e){mu("size","parentIFrame.size("+(u||"")+(e?","+e:"")+")",u,e)}},!0===p&&(E("mouseenter","Mouse Enter"),E("mouseleave","Mouse Leave")),Cu(),f=function(){function e(e){e=e.split("#")[1]||e;var t=decodeURIComponent(e);t=document.getElementById(t)||document.getElementsByName(t)[0];u===t?(nu("In page link (#"+e+") not found in iFrame, so sending to parent"),wu(0,0,"inPageLink","#"+e)):(t=function(e){e=e.getBoundingClientRect();var t={x:window.pageXOffset===u?document.documentElement.scrollLeft:window.pageXOffset,y:window.pageYOffset===u?document.documentElement.scrollTop:window.pageYOffset};return{x:parseInt(e.left,10)+parseInt(t.x,10),y:parseInt(e.top,10)+parseInt(t.y,10)}}(t=t),nu("Moving to in page link (#"+e+") at x: "+t.x+" y: "+t.y),wu(t.y,t.x,"scrollToOffset"))}function t(){var u=window.location.hash,t=window.location.href;""!==u&&"#"!==u&&e(t)}return f.enable?Array.prototype.forEach&&document.querySelectorAll?(nu("Setting up location.hash handlers"),Array.prototype.forEach.call(document.querySelectorAll('a[href^="#"]'),function(u){"#"!==u.getAttribute("href")&&uu(u,"click",function(u){u.preventDefault(),e(this.getAttribute("href"))})}),uu(window,"hashchange",t),setTimeout(t,c)):Du("In page linking not fully supported in this browser! (See README.md for IE8 workaround)"):nu("In page linking not enabled"),{findTarget:e}}(),mu("init","Init message from host page"),L()}function ou(u){var e=u.split("Callback");2===e.length&&(this[e="on"+e[0].charAt(0).toUpperCase()+e[0].slice(1)]=this[u],delete this[u],Du("Deprecated: '"+u+"' has been renamed '"+e+"'. The old method will be removed in the next major version."))}function iu(e,t){u!==t&&""!==t&&"null"!==t&&nu("Body "+e+' set to "'+(document.body.style[e]=t)+'"')}function au(u){var e={add:function(e){function t(){mu(u.eventName,u.eventType)}z[e]=t,uu(window,e,t,{passive:!0})},remove:function(u){var e=z[u];delete z[u],window.removeEventListener(u,e,!1)}};u.eventNames&&Array.prototype.map?(u.eventName=u.eventNames[0],u.eventNames.map(e[u.method])):e[u.method](u.eventName),nu(eu(u.method)+" event listener: "+u.eventType)}function cu(u){au({method:u,eventType:"Animation Start",eventNames:["animationstart","webkitAnimationStart"]}),au({method:u,eventType:"Animation Iteration",eventNames:["animationiteration","webkitAnimationIteration"]}),au({method:u,eventType:"Animation End",eventNames:["animationend","webkitAnimationEnd"]}),au({method:u,eventType:"Input",eventName:"input"}),au({method:u,eventType:"Mouse Up",eventName:"mouseup"}),au({method:u,eventType:"Mouse Down",eventName:"mousedown"}),au({method:u,eventType:"Orientation Change",eventName:"orientationchange"}),au({method:u,eventType:"Print",eventNames:["afterprint","beforeprint"]}),au({method:u,eventType:"Ready State Change",eventName:"readystatechange"}),au({method:u,eventType:"Touch Start",eventName:"touchstart"}),au({method:u,eventType:"Touch End",eventName:"touchend"}),au({method:u,eventType:"Touch Cancel",eventName:"touchcancel"}),au({method:u,eventType:"Transition Start",eventNames:["transitionstart","webkitTransitionStart","MSTransitionStart","oTransitionStart","otransitionstart"]}),au({method:u,eventType:"Transition Iteration",eventNames:["transitioniteration","webkitTransitionIteration","MSTransitionIteration","oTransitionIteration","otransitioniteration"]}),au({method:u,eventType:"Transition End",eventNames:["transitionend","webkitTransitionEnd","MSTransitionEnd","oTransitionEnd","otransitionend"]}),"child"===v&&au({method:u,eventType:"IFrame Resized",eventName:"resize"})}function su(u,e,t,n){return e!==u&&(u in t||(Du(u+" is not a valid option for "+n+"CalculationMethod."),u=e),nu(n+' calculation method set to "'+u+'"')),u}function lu(){C=su(C,F,$,"height")}function Fu(){R=su(R,M,V,"width")}function Cu(){var u;!0===e?(cu("add"),u=A<0,window.MutationObserver||window.WebKitMutationObserver?u?Eu():r=function(){function u(u){function e(u){!1===u.complete&&(nu("Attach listeners to "+u.src),u.addEventListener("load",n,!1),u.addEventListener("error",D,!1),i.push(u))}"attributes"===u.type&&"src"===u.attributeName?e(u.target):"childList"===u.type&&Array.prototype.forEach.call(u.target.querySelectorAll("img"),e)}function e(u){nu("Remove listeners from "+u.src),u.removeEventListener("load",n,!1),u.removeEventListener("error",D,!1),i.splice(i.indexOf(u),1)}function t(u,t,n){e(u.target),mu(t,n+": "+u.target.src)}function n(u){t(u,"imageLoad","Image loaded")}function D(u){t(u,"imageLoadFailed","Image load failed")}function r(e){mu("mutationObserver","mutationObserver: "+e[0].target+" "+e[0].type),e.forEach(u)}var o,i=[],a=window.MutationObserver||window.WebKitMutationObserver,c=(o=document.querySelector("body"),c=new a(r),nu("Create body MutationObserver"),c.observe(o,{attributes:!0,attributeOldValue:!1,characterData:!0,characterDataOldValue:!1,childList:!0,subtree:!0}),c);return{disconnect:function(){"disconnect"in c&&(nu("Disconnect body MutationObserver"),c.disconnect(),i.forEach(e))}}}():(nu("MutationObserver not supported in this browser!"),Eu())):nu("Auto Resize disabled")}function Eu(){0!==A&&(nu("setInterval: "+A+"ms"),g=setInterval(function(){mu("interval","setInterval: "+A)},Math.abs(A)))}function du(u,e){return e=e||document.body,e=null===(e=document.defaultView.getComputedStyle(e,null))?0:e[u],parseInt(e,10)}function fu(u,e){for(var t,n=e.length,D=0,r=eu(u),o=Date.now(),i=0;i<n;i++)D<(t=e[i].getBoundingClientRect()[u]+du("margin"+r,e[i]))&&(D=t);return o=Date.now()-o,nu("Parsed "+n+" HTML elements"),nu("Element position calculated in "+o+"ms"),T/2<(o=o)&&nu("Event throttle increased to "+(T=2*o)+"ms"),D}function Au(u){return[u.bodyOffset(),u.bodyScroll(),u.documentElementOffset(),u.documentElementScroll()]}function gu(u,e){var t=document.querySelectorAll("["+e+"]");return 0===t.length&&(Du("No tagged elements ("+e+") found on page"),document.querySelectorAll("body *")),fu(u,t)}function hu(){return document.querySelectorAll("body *")}function pu(e,t,n,D){function r(u,e){return!(Math.abs(u-e)<=x)}n=u===n?$[C]():n,D=u===D?V[R]():D,r(l,n)||i&&r(N,D)||"init"===e?(yu(),wu(l=n,N=D,e)):e in{init:1,interval:1,size:1}||!(C in b||i&&R in b)?e in{interval:1}||nu("No change in size detected"):vu(t)}function Bu(){Z=Date.now(),J=null,G=W.apply(q,X),J||(q=X=null)}function mu(u,e,t,n){k&&u in a?nu("Trigger event cancelled: "+u):(u in{reset:1,resetPage:1,init:1}||nu("Trigger event: "+e),("init"===u?pu:Y)(u,e,t,n))}function yu(){k||(k=!0,nu("Trigger event lock on")),clearTimeout(O),O=setTimeout(function(){k=!1,nu("Trigger event lock off"),nu("--")},c)}function bu(u){l=$[C](),N=V[R](),wu(l,N,u)}function vu(u){var e=C;C=F,nu("Reset trigger event: "+u),yu(),bu("reset"),C=e}function wu(e,t,n,D,r){!0===w&&(u===r?r=S:nu("Message targetOrigin: "+r),nu("Sending message to host page ("+(e=y+":"+e+":"+t+":"+n+(u===D?"":":"+D))+")"),_.postMessage(B+e,r))}function _u(){"loading"!==document.readyState&&window.parent.postMessage("[iFrameResizerChild]Ready","*")}}();var hljs=function(){var u={exports:{}};function e(u){return u instanceof Map?u.clear=u.delete=u.set=function(){throw Error("map is read-only")}:u instanceof Set&&(u.add=u.clear=u.delete=function(){throw Error("set is read-only")}),Object.freeze(u),Object.getOwnPropertyNames(u).forEach(function(t){var n=u[t];"object"!=_typeof(n)||Object.isFrozen(n)||e(n)}),u}u.exports=e,u.exports.default=e;var t=function(){function u(e){_classCallCheck(this,u),void 0===e.data&&(e.data={}),this.data=e.data,this.isMatchIgnored=!1}return _createClass(u,[{key:"ignoreMatch",value:function(){this.isMatchIgnored=!0}}]),u}();function n(u){return u.replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/"/g,""").replace(/'/g,"'")}function D(u){var e=Object.create(null);for(var t in u)e[t]=u[t];for(var n=arguments.length,D=new Array(n>1?n-1:0),r=1;r<n;r++)D[r-1]=arguments[r];return D.forEach(function(u){for(var t in u)e[t]=u[t]}),e}var r=function(u){return!!u.scope||u.sublanguage&&u.language},o=function(){function u(e,t){_classCallCheck(this,u),this.buffer="",this.classPrefix=t.classPrefix,e.walk(this)}return _createClass(u,[{key:"addText",value:function(u){this.buffer+=n(u)}},{key:"openNode",value:function(u){if(r(u)){var e;e=u.sublanguage?"language-"+u.language:function(u,e){var t=e.prefix;if(u.includes(".")){var n=u.split(".");return["".concat(t).concat(n.shift())].concat(_toConsumableArray(n.map(function(u,e){return"".concat(u).concat("_".repeat(e+1))}))).join(" ")}return"".concat(t).concat(u)}(u.scope,{prefix:this.classPrefix}),this.span(e)}}},{key:"closeNode",value:function(u){r(u)&&(this.buffer+="</span>")}},{key:"value",value:function(){return this.buffer}},{key:"span",value:function(u){this.buffer+='<span class="'.concat(u,'">')}}]),u}(),i=function(){var u=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e={children:[]};return Object.assign(e,u),e},a=function(){function u(){_classCallCheck(this,u),this.rootNode=i(),this.stack=[this.rootNode]}return _createClass(u,[{key:"top",get:function(){return this.stack[this.stack.length-1]}},{key:"root",get:function(){return this.rootNode}},{key:"add",value:function(u){this.top.children.push(u)}},{key:"openNode",value:function(u){var e=i({scope:u});this.add(e),this.stack.push(e)}},{key:"closeNode",value:function(){if(this.stack.length>1)return this.stack.pop()}},{key:"closeAllNodes",value:function(){for(;this.closeNode(););}},{key:"toJSON",value:function(){return JSON.stringify(this.rootNode,null,4)}},{key:"walk",value:function(u){return this.constructor._walk(u,this.rootNode)}}],[{key:"_walk",value:function(u,e){var t=this;return"string"==typeof e?u.addText(e):e.children&&(u.openNode(e),e.children.forEach(function(e){return t._walk(u,e)}),u.closeNode(e)),u}},{key:"_collapse",value:function(e){"string"!=typeof e&&e.children&&(e.children.every(function(u){return"string"==typeof u})?e.children=[e.children.join("")]:e.children.forEach(function(e){u._collapse(e)}))}}]),u}(),c=function(u){_inherits(t,a);var e=_createSuper(t);function t(u){var n;return _classCallCheck(this,t),(n=e.call(this)).options=u,n}return _createClass(t,[{key:"addKeyword",value:function(u,e){""!==u&&(this.openNode(e),this.addText(u),this.closeNode())}},{key:"addText",value:function(u){""!==u&&this.add(u)}},{key:"addSublanguage",value:function(u,e){var t=u.root;t.sublanguage=!0,t.language=e,this.add(t)}},{key:"toHTML",value:function(){return new o(this,this.options).value()}},{key:"finalize",value:function(){return!0}}]),t}();function s(u){return u?"string"==typeof u?u:u.source:null}function l(u){return E("(?=",u,")")}function F(u){return E("(?:",u,")*")}function C(u){return E("(?:",u,")?")}function E(){for(var u=arguments.length,e=new Array(u),t=0;t<u;t++)e[t]=arguments[t];return e.map(function(u){return s(u)}).join("")}function d(){for(var u=arguments.length,e=new Array(u),t=0;t<u;t++)e[t]=arguments[t];return"("+(function(u){var e=u[u.length-1];return"object"==_typeof(e)&&e.constructor===Object?(u.splice(u.length-1,1),e):{}}(e).capture?"":"?:")+e.map(function(u){return s(u)}).join("|")+")"}function f(u){return RegExp(u.toString()+"|").exec("").length-1}var A=/\[(?:[^\\\]]|\\.)*\]|\(\??|\\([1-9][0-9]*)|\\./;function g(u,e){var t=e.joinWith,n=0;return u.map(function(u){for(var e=n+=1,t=s(u),D="";t.length>0;){var r=A.exec(t);if(!r){D+=t;break}D+=t.substring(0,r.index),t=t.substring(r.index+r[0].length),"\\"===r[0][0]&&r[1]?D+="\\"+(Number(r[1])+e):(D+=r[0],"("===r[0]&&n++)}return D}).map(function(u){return"(".concat(u,")")}).join(t)}var h="[a-zA-Z]\\w*",p="[a-zA-Z_]\\w*",B="\\b\\d+(\\.\\d+)?",m="(-?)(\\b0[xX][a-fA-F0-9]+|(\\b\\d+(\\.\\d*)?|\\.\\d+)([eE][-+]?\\d+)?)",y="\\b(0b[01]+)",b={begin:"\\\\[\\s\\S]",relevance:0},v={scope:"string",begin:"'",end:"'",illegal:"\\n",contains:[b]},w={scope:"string",begin:'"',end:'"',illegal:"\\n",contains:[b]},_=function(u,e){var t=D({scope:"comment",begin:u,end:e,contains:[]},arguments.length>2&&void 0!==arguments[2]?arguments[2]:{});t.contains.push({scope:"doctag",begin:"[ ]*(?=(TODO|FIXME|NOTE|BUG|OPTIMIZE|HACK|XXX):)",end:/(TODO|FIXME|NOTE|BUG|OPTIMIZE|HACK|XXX):/,excludeBegin:!0,relevance:0});var n=d("I","a","is","so","us","to","at","if","in","it","on",/[A-Za-z]+['](d|ve|re|ll|t|s|n)/,/[A-Za-z]+[-][a-z]+/,/[A-Za-z][a-z]{2,}/);return t.contains.push({begin:E(/[ ]+/,"(",n,/[.]?[:]?([.][ ]|[ ])/,"){3}")}),t},S=_("//","$"),x=_("/\\*","\\*/"),k=_("#","$"),O=Object.freeze({__proto__:null,MATCH_NOTHING_RE:/\b\B/,IDENT_RE:h,UNDERSCORE_IDENT_RE:p,NUMBER_RE:B,C_NUMBER_RE:m,BINARY_NUMBER_RE:y,RE_STARTERS_RE:"!|!=|!==|%|%=|&|&&|&=|\\*|\\*=|\\+|\\+=|,|-|-=|/=|/|:|;|<<|<<=|<=|<|===|==|=|>>>=|>>=|>=|>>>|>>|>|\\?|\\[|\\{|\\(|\\^|\\^=|\\||\\|=|\\|\\||~",SHEBANG:function(){var u=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=/^#![ ]*\//;return u.binary&&(u.begin=E(e,/.*\b/,u.binary,/\b.*/)),D({scope:"meta",begin:e,end:/$/,relevance:0,"on:begin":function(u,e){0!==u.index&&e.ignoreMatch()}},u)},BACKSLASH_ESCAPE:b,APOS_STRING_MODE:v,QUOTE_STRING_MODE:w,PHRASAL_WORDS_MODE:{begin:/\b(a|an|the|are|I'm|isn't|don't|doesn't|won't|but|just|should|pretty|simply|enough|gonna|going|wtf|so|such|will|you|your|they|like|more)\b/},COMMENT:_,C_LINE_COMMENT_MODE:S,C_BLOCK_COMMENT_MODE:x,HASH_COMMENT_MODE:k,NUMBER_MODE:{scope:"number",begin:B,relevance:0},C_NUMBER_MODE:{scope:"number",begin:m,relevance:0},BINARY_NUMBER_MODE:{scope:"number",begin:y,relevance:0},REGEXP_MODE:{begin:/(?=\/[^/\n]*\/)/,contains:[{scope:"regexp",begin:/\//,end:/\/[gimuy]*/,illegal:/\n/,contains:[b,{begin:/\[/,end:/\]/,relevance:0,contains:[b]}]}]},TITLE_MODE:{scope:"title",begin:h,relevance:0},UNDERSCORE_TITLE_MODE:{scope:"title",begin:p,relevance:0},METHOD_GUARD:{begin:"\\.\\s*[a-zA-Z_]\\w*",relevance:0},END_SAME_AS_BEGIN:function(u){return Object.assign(u,{"on:begin":function(u,e){e.data._beginMatch=u[1]},"on:end":function(u,e){e.data._beginMatch!==u[1]&&e.ignoreMatch()}})}});function T(u,e){"."===u.input[u.index-1]&&e.ignoreMatch()}function N(u,e){void 0!==u.className&&(u.scope=u.className,delete u.className)}function M(u,e){e&&u.beginKeywords&&(u.begin="\\b("+u.beginKeywords.split(" ").join("|")+")(?!\\.)(?=\\b|\\s)",u.__beforeBegin=T,u.keywords=u.keywords||u.beginKeywords,delete u.beginKeywords,void 0===u.relevance&&(u.relevance=0))}function R(u,e){Array.isArray(u.illegal)&&(u.illegal=d.apply(void 0,_toConsumableArray(u.illegal)))}function j(u,e){if(u.match){if(u.begin||u.end)throw Error("begin & end are not supported with match");u.begin=u.match,delete u.match}}function I(u,e){void 0===u.relevance&&(u.relevance=1)}var L=function(u,e){if(u.beforeMatch){if(u.starts)throw Error("beforeMatch cannot be used with starts");var t=Object.assign({},u);Object.keys(u).forEach(function(e){delete u[e]}),u.keywords=t.keywords,u.begin=E(t.beforeMatch,l(t.begin)),u.starts={relevance:0,contains:[Object.assign(t,{endsParent:!0})]},u.relevance=0,delete t.beforeMatch}},P=["of","and","for","in","not","or","if","then","parent","list","value"];function H(u,e){return e?Number(e):function(u){return P.includes(u.toLowerCase())}(u)?0:1}var z={},U=function(u){console.error(u)},K=function(u){for(var e,t=arguments.length,n=new Array(t>1?t-1:0),D=1;D<t;D++)n[D-1]=arguments[D];(e=console).log.apply(e,["WARN: "+u].concat(n))},W=function(u,e){z["".concat(u,"/").concat(e)]||(console.log("Deprecated as of ".concat(u,". ").concat(e)),z["".concat(u,"/").concat(e)]=!0)},q=Error();function X(u,e,t){for(var n=t.key,D=0,r=u[n],o={},i={},a=1;a<=e.length;a++)i[a+D]=r[a],o[a+D]=!0,D+=f(e[a-1]);u[n]=i,u[n]._emit=o,u[n]._multi=!0}function G(u){(function(u){u.scope&&"object"==_typeof(u.scope)&&null!==u.scope&&(u.beginScope=u.scope,delete u.scope)})(u),"string"==typeof u.beginScope&&(u.beginScope={_wrap:u.beginScope}),"string"==typeof u.endScope&&(u.endScope={_wrap:u.endScope}),function(u){if(Array.isArray(u.begin)){if(u.skip||u.excludeBegin||u.returnBegin)throw U("skip, excludeBegin, returnBegin not compatible with beginScope: {}"),q;if("object"!=_typeof(u.beginScope)||null===u.beginScope)throw U("beginScope must be object"),q;X(u,u.begin,{key:"beginScope"}),u.begin=g(u.begin,{joinWith:""})}}(u),function(u){if(Array.isArray(u.end)){if(u.skip||u.excludeEnd||u.returnEnd)throw U("skip, excludeEnd, returnEnd not compatible with endScope: {}"),q;if("object"!=_typeof(u.endScope)||null===u.endScope)throw U("endScope must be object"),q;X(u,u.end,{key:"endScope"}),u.end=g(u.end,{joinWith:""})}}(u)}function J(u){function e(e,t){return RegExp(s(e),"m"+(u.case_insensitive?"i":"")+(u.unicodeRegex?"u":"")+(t?"g":""))}var t=function(){function u(){_classCallCheck(this,u),this.matchIndexes={},this.regexes=[],this.matchAt=1,this.position=0}return _createClass(u,[{key:"addRule",value:function(u,e){e.position=this.position++,this.matchIndexes[this.matchAt]=e,this.regexes.push([e,u]),this.matchAt+=f(u)+1}},{key:"compile",value:function(){0===this.regexes.length&&(this.exec=function(){return null});var u=this.regexes.map(function(u){return u[1]});this.matcherRe=e(g(u,{joinWith:"|"}),!0),this.lastIndex=0}},{key:"exec",value:function(u){this.matcherRe.lastIndex=this.lastIndex;var e=this.matcherRe.exec(u);if(!e)return null;var t=e.findIndex(function(u,e){return e>0&&void 0!==u}),n=this.matchIndexes[t];return e.splice(0,t),Object.assign(e,n)}}]),u}(),n=function(){function u(){_classCallCheck(this,u),this.rules=[],this.multiRegexes=[],this.count=0,this.lastIndex=0,this.regexIndex=0}return _createClass(u,[{key:"getMatcher",value:function(u){if(this.multiRegexes[u])return this.multiRegexes[u];var e=new t;return this.rules.slice(u).forEach(function(u){var t=_slicedToArray(u,2),n=t[0],D=t[1];return e.addRule(n,D)}),e.compile(),this.multiRegexes[u]=e,e}},{key:"resumingScanAtSamePosition",value:function(){return 0!==this.regexIndex}},{key:"considerAll",value:function(){this.regexIndex=0}},{key:"addRule",value:function(u,e){this.rules.push([u,e]),"begin"===e.type&&this.count++}},{key:"exec",value:function(u){var e=this.getMatcher(this.regexIndex);e.lastIndex=this.lastIndex;var t=e.exec(u);if(this.resumingScanAtSamePosition())if(t&&t.index===this.lastIndex);else{var n=this.getMatcher(0);n.lastIndex=this.lastIndex+1,t=n.exec(u)}return t&&(this.regexIndex+=t.position+1,this.regexIndex===this.count&&this.considerAll()),t}}]),u}();if(u.compilerExtensions||(u.compilerExtensions=[]),u.contains&&u.contains.includes("self"))throw Error("ERR: contains `self` is not supported at the top-level of a language. See documentation.");return u.classNameAliases=D(u.classNameAliases||{}),function t(r,o){var i,a=r;if(r.isCompiled)return a;[N,j,G,L].forEach(function(u){return u(r,o)}),u.compilerExtensions.forEach(function(u){return u(r,o)}),r.__beforeBegin=null,[M,R,I].forEach(function(u){return u(r,o)}),r.isCompiled=!0;var c=null;return"object"==_typeof(r.keywords)&&r.keywords.$pattern&&(r.keywords=Object.assign({},r.keywords),c=r.keywords.$pattern,delete r.keywords.$pattern),c=c||/\w+/,r.keywords&&(r.keywords=function u(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"keyword",D=Object.create(null);return"string"==typeof e?r(n,e.split(" ")):Array.isArray(e)?r(n,e):Object.keys(e).forEach(function(n){Object.assign(D,u(e[n],t,n))}),D;function r(u,e){t&&(e=e.map(function(u){return u.toLowerCase()})),e.forEach(function(e){var t=e.split("|");D[t[0]]=[u,H(t[0],t[1])]})}}(r.keywords,u.case_insensitive)),a.keywordPatternRe=e(c,!0),o&&(r.begin||(r.begin=/\B|\b/),a.beginRe=e(a.begin),r.end||r.endsWithParent||(r.end=/\B|\b/),r.end&&(a.endRe=e(a.end)),a.terminatorEnd=s(a.end)||"",r.endsWithParent&&o.terminatorEnd&&(a.terminatorEnd+=(r.end?"|":"")+o.terminatorEnd)),r.illegal&&(a.illegalRe=e(r.illegal)),r.contains||(r.contains=[]),r.contains=(i=[]).concat.apply(i,_toConsumableArray(r.contains.map(function(u){return function(u){return u.variants&&!u.cachedVariants&&(u.cachedVariants=u.variants.map(function(e){return D(u,{variants:null},e)})),u.cachedVariants?u.cachedVariants:function u(e){return!!e&&(e.endsWithParent||u(e.starts))}(u)?D(u,{starts:u.starts?D(u.starts):null}):Object.isFrozen(u)?D(u):u}("self"===u?r:u)}))),r.contains.forEach(function(u){t(u,a)}),r.starts&&t(r.starts,o),a.matcher=function(u){var e=new n;return u.contains.forEach(function(u){return e.addRule(u.begin,{rule:u,type:"begin"})}),u.terminatorEnd&&e.addRule(u.terminatorEnd,{type:"end"}),u.illegal&&e.addRule(u.illegal,{type:"illegal"}),e}(a),a}(u)}var Z=function(u){_inherits(t,_wrapNativeSuper(Error));var e=_createSuper(t);function t(u,n){var D;return _classCallCheck(this,t),(D=e.call(this,u)).name="HTMLInjectionError",D.html=n,D}return _createClass(t)}(),$=n,V=D,Y=Symbol("nomatch");return function(e){var n=Object.create(null),D=Object.create(null),r=[],o=!0,i="Could not find the language '{}', did you forget to load/include a language module?",a={disableAutodetect:!0,name:"Plain text",contains:[]},s={ignoreUnescapedHTML:!1,throwUnescapedHTML:!1,noHighlightRe:/^(no-?highlight)$/i,languageDetectRe:/\blang(?:uage)?-([\w-]+)\b/i,classPrefix:"hljs-",cssSelector:"pre code",languages:null,__emitter:c};function f(u){return s.noHighlightRe.test(u)}function A(u,e,t){var n="",D="";"object"==_typeof(e)?(n=u,t=e.ignoreIllegals,D=e.language):(W("10.7.0","highlight(lang, code, ...args) has been deprecated."),W("10.7.0","Please use highlight(code, options) instead.\nhttps://github.com/highlightjs/highlight.js/issues/2277"),D=u,n=e),void 0===t&&(t=!0);var r={code:n,language:D};w("before:highlight",r);var o=r.result?r.result:g(r.language,r.code,t);return o.code=r.code,w("after:highlight",o),o}function g(u,e,D,r){var a=Object.create(null);function c(){if(b.keywords){var u=0;b.keywordPatternRe.lastIndex=0;for(var e,t=b.keywordPatternRe.exec(_),n="";t;){n+=_.substring(u,t.index);var D=p.case_insensitive?t[0].toLowerCase():t[0],r=(e=D,b.keywords[e]);if(r){var o=_slicedToArray(r,2),i=o[0],c=o[1];if(w.addText(n),n="",a[D]=(a[D]||0)+1,a[D]<=7&&(S+=c),i.startsWith("_"))n+=t[0];else{var s=p.classNameAliases[i]||i;w.addKeyword(t[0],s)}}else n+=t[0];u=b.keywordPatternRe.lastIndex,t=b.keywordPatternRe.exec(_)}n+=_.substring(u),w.addText(n)}else w.addText(_)}function l(){null!=b.subLanguage?function(){if(""!==_){var u=null;if("string"==typeof b.subLanguage){if(!n[b.subLanguage])return void w.addText(_);u=g(b.subLanguage,_,!0,v[b.subLanguage]),v[b.subLanguage]=u._top}else u=h(_,b.subLanguage.length?b.subLanguage:null);b.relevance>0&&(S+=u.relevance),w.addSublanguage(u._emitter,u.language)}}():c(),_=""}function F(u,e){for(var t=1,n=e.length-1;t<=n;)if(u._emit[t]){var D=p.classNameAliases[u[t]]||u[t],r=e[t];D?w.addKeyword(r,D):(_=r,c(),_=""),t++}else t++}function C(u,e){return u.scope&&"string"==typeof u.scope&&w.openNode(p.classNameAliases[u.scope]||u.scope),u.beginScope&&(u.beginScope._wrap?(w.addKeyword(_,p.classNameAliases[u.beginScope._wrap]||u.beginScope._wrap),_=""):u.beginScope._multi&&(F(u.beginScope,e),_="")),b=Object.create(u,{parent:{value:b}})}function E(u,e,n){var D=function(u,e){var t=u&&u.exec(e);return t&&0===t.index}(u.endRe,n);if(D){if(u["on:end"]){var r=new t(u);u["on:end"](e,r),r.isMatchIgnored&&(D=!1)}if(D){for(;u.endsParent&&u.parent;)u=u.parent;return u}}if(u.endsWithParent)return E(u.parent,e,n)}function d(u){return 0===b.matcher.regexIndex?(_+=u[0],1):(O=!0,0)}var f={};function A(n,r){var i=r&&r[0];if(_+=n,null==i)return l(),0;if("begin"===f.type&&"end"===r.type&&f.index===r.index&&""===i){if(_+=e.slice(r.index,r.index+1),!o){var a=Error("0 width match regex (".concat(u,")"));throw a.languageName=u,a.badRule=f.rule,a}return 1}if(f=r,"begin"===r.type)return function(u){for(var e=u[0],n=u.rule,D=new t(n),r=0,o=[n.__beforeBegin,n["on:begin"]];r<o.length;r++){var i=o[r];if(i&&(i(u,D),D.isMatchIgnored))return d(e)}return n.skip?_+=e:(n.excludeBegin&&(_+=e),l(),n.returnBegin||n.excludeBegin||(_=e)),C(n,u),n.returnBegin?0:e.length}(r);if("illegal"===r.type&&!D){var c=Error('Illegal lexeme "'+i+'" for mode "'+(b.scope||"<unnamed>")+'"');throw c.mode=b,c}if("end"===r.type){var s=function(u){var t=u[0],n=e.substring(u.index),D=E(b,u,n);if(!D)return Y;var r=b;b.endScope&&b.endScope._wrap?(l(),w.addKeyword(t,b.endScope._wrap)):b.endScope&&b.endScope._multi?(l(),F(b.endScope,u)):r.skip?_+=t:(r.returnEnd||r.excludeEnd||(_+=t),l(),r.excludeEnd&&(_=t));do{b.scope&&w.closeNode(),b.skip||b.subLanguage||(S+=b.relevance),b=b.parent}while(b!==D.parent);return D.starts&&C(D.starts,u),r.returnEnd?0:t.length}(r);if(s!==Y)return s}if("illegal"===r.type&&""===i)return 1;if(k>1e5&&k>3*r.index)throw Error("potential infinite loop, way more iterations than matches");return _+=i,i.length}var p=y(u);if(!p)throw U(i.replace("{}",u)),Error('Unknown language: "'+u+'"');var B=J(p),m="",b=r||B,v={},w=new s.__emitter(s);!function(){for(var u=[],e=b;e!==p;e=e.parent)e.scope&&u.unshift(e.scope);u.forEach(function(u){return w.openNode(u)})}();var _="",S=0,x=0,k=0,O=!1;try{for(b.matcher.considerAll();;){k++,O?O=!1:b.matcher.considerAll(),b.matcher.lastIndex=x;var T=b.matcher.exec(e);if(!T)break;var N=A(e.substring(x,T.index),T);x=T.index+N}return A(e.substring(x)),w.closeAllNodes(),w.finalize(),m=w.toHTML(),{language:u,value:m,relevance:S,illegal:!1,_emitter:w,_top:b}}catch(t){if(t.message&&t.message.includes("Illegal"))return{language:u,value:$(e),illegal:!0,relevance:0,_illegalBy:{message:t.message,index:x,context:e.slice(x-100,x+100),mode:t.mode,resultSoFar:m},_emitter:w};if(o)return{language:u,value:$(e),illegal:!1,relevance:0,errorRaised:t,_emitter:w,_top:b};throw t}}function h(u,e){e=e||s.languages||Object.keys(n);var t=function(u){var e={value:$(u),illegal:!1,relevance:0,_top:a,_emitter:new s.__emitter(s)};return e._emitter.addText(u),e}(u),D=e.filter(y).filter(v).map(function(e){return g(e,u,!1)});D.unshift(t);var r=_slicedToArray(D.sort(function(u,e){if(u.relevance!==e.relevance)return e.relevance-u.relevance;if(u.language&&e.language){if(y(u.language).supersetOf===e.language)return 1;if(y(e.language).supersetOf===u.language)return-1}return 0}),2),o=r[0],i=r[1],c=o;return c.secondBest=i,c}function p(u){var e=function(u){var e=u.className+" ";e+=u.parentNode?u.parentNode.className:"";var t=s.languageDetectRe.exec(e);if(t){var n=y(t[1]);return n||(K(i.replace("{}",t[1])),K("Falling back to no-highlight mode for this block.",u)),n?t[1]:"no-highlight"}return e.split(/\s+/).find(function(u){return f(u)||y(u)})}(u);if(!f(e)){if(w("before:highlightElement",{el:u,language:e}),u.children.length>0&&(s.ignoreUnescapedHTML||(console.warn("One of your code blocks includes unescaped HTML. This is a potentially serious security risk."),console.warn("https://github.com/highlightjs/highlight.js/wiki/security"),console.warn("The element with unescaped HTML:"),console.warn(u)),s.throwUnescapedHTML))throw new Z("One of your code blocks includes unescaped HTML.",u.innerHTML);var t=u.textContent,n=e?A(t,{language:e,ignoreIllegals:!0}):h(t);u.innerHTML=n.value,function(u,e,t){var n=e&&D[e]||t;u.classList.add("hljs"),u.classList.add("language-"+n)}(u,e,n.language),u.result={language:n.language,re:n.relevance,relevance:n.relevance},n.secondBest&&(u.secondBest={language:n.secondBest.language,relevance:n.secondBest.relevance}),w("after:highlightElement",{el:u,result:n,text:t})}}var B=!1;function m(){"loading"!==document.readyState?document.querySelectorAll(s.cssSelector).forEach(p):B=!0}function y(u){return u=(u||"").toLowerCase(),n[u]||n[D[u]]}function b(u,e){var t=e.languageName;"string"==typeof u&&(u=[u]),u.forEach(function(u){D[u.toLowerCase()]=t})}function v(u){var e=y(u);return e&&!e.disableAutodetect}function w(u,e){var t=u;r.forEach(function(u){u[t]&&u[t](e)})}for(var _ in"undefined"!=typeof window&&window.addEventListener&&window.addEventListener("DOMContentLoaded",function(){B&&m()},!1),Object.assign(e,{highlight:A,highlightAuto:h,highlightAll:m,highlightElement:p,highlightBlock:function(u){return W("10.7.0","highlightBlock will be removed entirely in v12.0"),W("10.7.0","Please use highlightElement now."),p(u)},configure:function(u){s=V(s,u)},initHighlighting:function(){m(),W("10.6.0","initHighlighting() deprecated. Use highlightAll() now.")},initHighlightingOnLoad:function(){m(),W("10.6.0","initHighlightingOnLoad() deprecated. Use highlightAll() now.")},registerLanguage:function(u,t){var D=null;try{D=t(e)}catch(e){if(U("Language definition for '{}' could not be registered.".replace("{}",u)),!o)throw e;U(e),D=a}D.name||(D.name=u),n[u]=D,D.rawDefinition=t.bind(null,e),D.aliases&&b(D.aliases,{languageName:u})},unregisterLanguage:function(u){delete n[u];for(var e=0,t=Object.keys(D);e<t.length;e++){var r=t[e];D[r]===u&&delete D[r]}},listLanguages:function(){return Object.keys(n)},getLanguage:y,registerAliases:b,autoDetection:v,inherit:V,addPlugin:function(u){(function(u){u["before:highlightBlock"]&&!u["before:highlightElement"]&&(u["before:highlightElement"]=function(e){u["before:highlightBlock"](Object.assign({block:e.el},e))}),u["after:highlightBlock"]&&!u["after:highlightElement"]&&(u["after:highlightElement"]=function(e){u["after:highlightBlock"](Object.assign({block:e.el},e))})})(u),r.push(u)}}),e.debugMode=function(){o=!1},e.safeMode=function(){o=!0},e.versionString="11.7.0",e.regex={concat:E,lookahead:l,either:d,optional:C,anyNumberOfTimes:F},O)"object"==_typeof(O[_])&&u.exports(O[_]);return Object.assign(e,O),e}({})}();function _typeof(u){return(_typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(u){return typeof u}:function(u){return u&&"function"==typeof Symbol&&u.constructor===Symbol&&u!==Symbol.prototype?"symbol":typeof u})(u)}function _classCallCheck(u,e){if(!(u instanceof e))throw new TypeError("Cannot call a class as a function")}function _defineProperties(u,e){for(var t=0;t<e.length;t++){var n=e[t];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(u,_toPropertyKey(n.key),n)}}function _createClass(u,e,t){return e&&_defineProperties(u.prototype,e),t&&_defineProperties(u,t),Object.defineProperty(u,"prototype",{writable:!1}),u}function _toPropertyKey(u){var e=_toPrimitive(u,"string");return"symbol"===_typeof(e)?e:String(e)}function _toPrimitive(u,e){if("object"!==_typeof(u)||null===u)return u;var t=u[Symbol.toPrimitive];if(void 0!==t){var n=t.call(u,e||"default");if("object"!==_typeof(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(u)}"object"==("undefined"==typeof exports?"undefined":_typeof(exports))&&"undefined"!=typeof module&&(module.exports=hljs),function(){var u=function(u){var e=u.regex,t=/(?:[A-Z_a-z\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037B-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0560-\u0588\u05D0-\u05EA\u05EF-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u0860-\u086A\u0870-\u0887\u0889-\u088E\u08A0-\u08C9\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u09FC\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C5D\u0C60\u0C61\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D04-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E86-\u0E8A\u0E8C-\u0EA3\u0EA5\u0EA7-\u0EB0\u0EB2\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u1711\u171F-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1878\u1880-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4C\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\u1C88\u1C90-\u1CBA\u1CBD-\u1CBF\u1CE9-\u1CEC\u1CEE-\u1CF3\u1CF5\u1CF6\u1CFA\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2118-\u211D\u2124\u2126\u2128\u212A-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u3005-\u3007\u3021-\u3029\u3031-\u3035\u3038-\u303C\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312F\u3131-\u318E\u31A0-\u31BF\u31F0-\u31FF\u3400-\u4DBF\u4E00-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6EF\uA717-\uA71F\uA722-\uA788\uA78B-\uA7CA\uA7D0\uA7D1\uA7D3\uA7D5-\uA7D9\uA7F2-\uA801\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uDCFB\uDD00-\uDD27\uDD30-\uDD63\uDD70-\uDD7A\uDD7C-\uDD8A\uDD8C-\uDD92\uDD94\uDD95\uDD97-\uDDA1\uDDA3-\uDDB1\uDDB3-\uDDB9\uDDBB\uDDBC\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67\uDF80-\uDF85\uDF87-\uDFB0\uDFB2-\uDFBA]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00\uDE10-\uDE13\uDE15-\uDE17\uDE19-\uDE35\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE4\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2\uDD00-\uDD23\uDE80-\uDEA9\uDEB0\uDEB1\uDF00-\uDF1C\uDF27\uDF30-\uDF45\uDF70-\uDF81\uDFB0-\uDFC4\uDFE0-\uDFF6]|\uD804[\uDC03-\uDC37\uDC71\uDC72\uDC75\uDC83-\uDCAF\uDCD0-\uDCE8\uDD03-\uDD26\uDD44\uDD47\uDD50-\uDD72\uDD76\uDD83-\uDDB2\uDDC1-\uDDC4\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE2B\uDE3F\uDE40\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEDE\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3D\uDF50\uDF5D-\uDF61]|\uD805[\uDC00-\uDC34\uDC47-\uDC4A\uDC5F-\uDC61\uDC80-\uDCAF\uDCC4\uDCC5\uDCC7\uDD80-\uDDAE\uDDD8-\uDDDB\uDE00-\uDE2F\uDE44\uDE80-\uDEAA\uDEB8\uDF00-\uDF1A\uDF40-\uDF46]|\uD806[\uDC00-\uDC2B\uDCA0-\uDCDF\uDCFF-\uDD06\uDD09\uDD0C-\uDD13\uDD15\uDD16\uDD18-\uDD2F\uDD3F\uDD41\uDDA0-\uDDA7\uDDAA-\uDDD0\uDDE1\uDDE3\uDE00\uDE0B-\uDE32\uDE3A\uDE50\uDE5C-\uDE89\uDE9D\uDEB0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC2E\uDC40\uDC72-\uDC8F\uDD00-\uDD06\uDD08\uDD09\uDD0B-\uDD30\uDD46\uDD60-\uDD65\uDD67\uDD68\uDD6A-\uDD89\uDD98\uDEE0-\uDEF2\uDF02\uDF04-\uDF10\uDF12-\uDF33\uDFB0]|\uD808[\uDC00-\uDF99]|\uD809[\uDC00-\uDC6E\uDC80-\uDD43]|\uD80B[\uDF90-\uDFF0]|[\uD80C\uD81C-\uD820\uD822\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872\uD874-\uD879\uD880-\uD883\uD885-\uD887][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2F\uDC41-\uDC46]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDE70-\uDEBE\uDED0-\uDEED\uDF00-\uDF2F\uDF40-\uDF43\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDE40-\uDE7F\uDF00-\uDF4A\uDF50\uDF93-\uDF9F\uDFE0\uDFE1\uDFE3]|\uD821[\uDC00-\uDFF7]|\uD823[\uDC00-\uDCD5\uDD00-\uDD08]|\uD82B[\uDFF0-\uDFF3\uDFF5-\uDFFB\uDFFD\uDFFE]|\uD82C[\uDC00-\uDD22\uDD32\uDD50-\uDD52\uDD55\uDD64-\uDD67\uDD70-\uDEFB]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90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\uDE1D]|\uD884[\uDC00-\uDF4A\uDF50-\uDFFF]|\uD888[\uDC00-\uDFAF])(?:[0-9A-Z_a-z\xAA\xB5\xB7\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0300-\u0374\u0376\u0377\u037B-\u037D\u037F\u0386-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u0483-\u0487\u048A-\u052F\u0531-\u0556\u0559\u0560-\u0588\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u05D0-\u05EA\u05EF-\u05F2\u0610-\u061A\u0620-\u0669\u066E-\u06D3\u06D5-\u06DC\u06DF-\u06E8\u06EA-\u06FC\u06FF\u0710-\u074A\u074D-\u07B1\u07C0-\u07F5\u07FA\u07FD\u0800-\u082D\u0840-\u085B\u0860-\u086A\u0870-\u0887\u0889-\u088E\u0898-\u08E1\u08E3-\u0963\u0966-\u096F\u0971-\u0983\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BC-\u09C4\u09C7\u09C8\u09CB-\u09CE\u09D7\u09DC\u09DD\u09DF-\u09E3\u09E6-\u09F1\u09FC\u09FE\u0A01-\u0A03\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A59-\u0A5C\u0A5E\u0A66-\u0A75\u0A81-\u0A83\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABC-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AD0\u0AE0-\u0AE3\u0AE6-\u0AEF\u0AF9-\u0AFF\u0B01-\u0B03\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u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u0F37\u0F39\u0F3E-\u0F47\u0F49-\u0F6C\u0F71-\u0F84\u0F86-\u0F97\u0F99-\u0FBC\u0FC6\u1000-\u1049\u1050-\u109D\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u135D-\u135F\u1369-\u1371\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u1715\u171F-\u1734\u1740-\u1753\u1760-\u176C\u176E-\u1770\u1772\u1773\u1780-\u17D3\u17D7\u17DC\u17DD\u17E0-\u17E9\u180B-\u180D\u180F-\u1819\u1820-\u1878\u1880-\u18AA\u18B0-\u18F5\u1900-\u191E\u1920-\u192B\u1930-\u193B\u1946-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u19D0-\u19DA\u1A00-\u1A1B\u1A20-\u1A5E\u1A60-\u1A7C\u1A7F-\u1A89\u1A90-\u1A99\u1AA7\u1AB0-\u1ABD\u1ABF-\u1ACE\u1B00-\u1B4C\u1B50-\u1B59\u1B6B-\u1B73\u1B80-\u1BF3\u1C00-\u1C37\u1C40-\u1C49\u1C4D-\u1C7D\u1C80-\u1C88\u1C90-\u1CBA\u1CBD-\u1CBF\u1CD0-\u1CD2\u1CD4-\u1CFA\u1D00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u203F\u2040\u2054\u2071\u207F\u2090-\u209C\u20D0-\u20DC\u20E1\u20E5-\u20F0\u2102\u2107\u210A-\u2113\u2115\u2118-\u211D\u2124\u2126\u2128\u212A-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2CE4\u2CEB-\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D7F-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2DE0-\u2DFF\u3005-\u3007\u3021-\u302F\u3031-\u3035\u3038-\u303C\u3041-\u3096\u3099\u309A\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312F\u3131-\u318E\u31A0-\u31BF\u31F0-\u31FF\u3400-\u4DBF\u4E00-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA62B\uA640-\uA66F\uA674-\uA67D\uA67F-\uA6F1\uA717-\uA71F\uA722-\uA788\uA78B-\uA7CA\uA7D0\uA7D1\uA7D3\uA7D5-\uA7D9\uA7F2-\uA827\uA82C\uA840-\uA873\uA880-\uA8C5\uA8D0-\uA8D9\uA8E0-\uA8F7\uA8FB\uA8FD-\uA92D\uA930-\uA953\uA960-\uA97C\uA980-\uA9C0\uA9CF-\uA9D9\uA9E0-\uA9FE\uAA00-\uAA36\uAA40-\uAA4D\uAA50-\uAA59\uAA60-\uAA76\uAA7A-\uAAC2\uAADB-\uAADD\uAAE0-\uAAEF\uAAF2-\uAAF6\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB69\uAB70-\uABEA\uABEC\uABED\uABF0-\uABF9\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB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uDD3B-\uDD43\uDD50-\uDD59\uDDA0-\uDDA7\uDDAA-\uDDD7\uDDDA-\uDDE1\uDDE3\uDDE4\uDE00-\uDE3E\uDE47\uDE50-\uDE99\uDE9D\uDEB0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC36\uDC38-\uDC40\uDC50-\uDC59\uDC72-\uDC8F\uDC92-\uDCA7\uDCA9-\uDCB6\uDD00-\uDD06\uDD08\uDD09\uDD0B-\uDD36\uDD3A\uDD3C\uDD3D\uDD3F-\uDD47\uDD50-\uDD59\uDD60-\uDD65\uDD67\uDD68\uDD6A-\uDD8E\uDD90\uDD91\uDD93-\uDD98\uDDA0-\uDDA9\uDEE0-\uDEF6\uDF00-\uDF10\uDF12-\uDF3A\uDF3E-\uDF42\uDF50-\uDF59\uDFB0]|\uD808[\uDC00-\uDF99]|\uD809[\uDC00-\uDC6E\uDC80-\uDD43]|\uD80B[\uDF90-\uDFF0]|[\uD80C\uD81C-\uD820\uD822\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872\uD874-\uD879\uD880-\uD883\uD885-\uD887][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2F\uDC40-\uDC55]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDE60-\uDE69\uDE70-\uDEBE\uDEC0-\uDEC9\uDED0-\uDEED\uDEF0-\uDEF4\uDF00-\uDF36\uDF40-\uDF43\uDF50-\uDF59\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDE40-\uDE7F\uDF00-\uDF4A\uDF4F-\uDF87\uDF8F-\uDF9F\uDFE0\uDFE1\uDFE3\uDFE4\uDFF0\uDFF1]|\uD821[\uDC00-\uDFF7]|\uD823[\uDC00-\uDCD5\uDD00-\uDD08]|\uD82B[\uDFF0-\uDFF3\uDFF5-\uDFFB\uDFFD\uDFFE]|\uD82C[\uDC00-\uDD22\uDD32\uDD50-\uDD52\uDD55\uDD64-\uDD67\uDD70-\uDEFB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\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD83E[\uDFF0-\uDFF9]|\uD869[\uDC00-\uDEDF\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF39\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1\uDEB0-\uDFFF]|\uD87A[\uDC00-\uDFE0]|\uD87E[\uDC00-\uDE1D]|\uD884[\uDC00-\uDF4A\uDF50-\uDFFF]|\uD888[\uDC00-\uDFAF]|\uDB40[\uDD00-\uDDEF])*/,n=["and","as","assert","async","await","break","case","class","continue","def","del","elif","else","except","finally","for","from","global","if","import","in","is","lambda","match","nonlocal|10","not","or","pass","raise","return","try","while","with","yield"],D={$pattern:/[A-Za-z]\w+|__\w+__/,keyword:n,built_in:["__import__","abs","all","any","ascii","bin","bool","breakpoint","bytearray","bytes","callable","chr","classmethod","compile","complex","delattr","dict","dir","divmod","enumerate","eval","exec","filter","float","format","frozenset","getattr","globals","hasattr","hash","help","hex","id","input","int","isinstance","issubclass","iter","len","list","locals","map","max","memoryview","min","next","object","oct","open","ord","pow","print","property","range","repr","reversed","round","set","setattr","slice","sorted","staticmethod","str","sum","super","tuple","type","vars","zip"],literal:["__debug__","Ellipsis","False","None","NotImplemented","True"],type:["Any","Callable","Coroutine","Dict","List","Literal","Generic","Optional","Sequence","Set","Tuple","Type","Union"]},r={className:"meta",begin:/^(>>>|\.\.\.) /},o={className:"subst",begin:/\{/,end:/\}/,keywords:D,illegal:/#/},i={begin:/\{\{/,relevance:0},a={className:"string",contains:[u.BACKSLASH_ESCAPE],variants:[{begin:/([uU]|[bB]|[rR]|[bB][rR]|[rR][bB])?'''/,end:/'''/,contains:[u.BACKSLASH_ESCAPE,r],relevance:10},{begin:/([uU]|[bB]|[rR]|[bB][rR]|[rR][bB])?"""/,end:/"""/,contains:[u.BACKSLASH_ESCAPE,r],relevance:10},{begin:/([fF][rR]|[rR][fF]|[fF])'''/,end:/'''/,contains:[u.BACKSLASH_ESCAPE,r,i,o]},{begin:/([fF][rR]|[rR][fF]|[fF])"""/,end:/"""/,contains:[u.BACKSLASH_ESCAPE,r,i,o]},{begin:/([uU]|[rR])'/,end:/'/,relevance:10},{begin:/([uU]|[rR])"/,end:/"/,relevance:10},{begin:/([bB]|[bB][rR]|[rR][bB])'/,end:/'/},{begin:/([bB]|[bB][rR]|[rR][bB])"/,end:/"/},{begin:/([fF][rR]|[rR][fF]|[fF])'/,end:/'/,contains:[u.BACKSLASH_ESCAPE,i,o]},{begin:/([fF][rR]|[rR][fF]|[fF])"/,end:/"/,contains:[u.BACKSLASH_ESCAPE,i,o]},u.APOS_STRING_MODE,u.QUOTE_STRING_MODE]},c="[0-9](_?[0-9])*",s="(\\b(".concat(c,"))?\\.(").concat(c,")|\\b(").concat(c,")\\."),l="\\b|"+n.join("|"),F={className:"number",relevance:0,variants:[{begin:"(\\b(".concat(c,")|(").concat(s,"))[eE][+-]?(").concat(c,")[jJ]?(?=").concat(l,")")},{begin:"(".concat(s,")[jJ]?")},{begin:"\\b([1-9](_?[0-9])*|0+(_?0)*)[lLjJ]?(?=".concat(l,")")},{begin:"\\b0[bB](_?[01])+[lL]?(?=".concat(l,")")},{begin:"\\b0[oO](_?[0-7])+[lL]?(?=".concat(l,")")},{begin:"\\b0[xX](_?[0-9a-fA-F])+[lL]?(?=".concat(l,")")},{begin:"\\b(".concat(c,")[jJ](?=").concat(l,")")}]},C={className:"comment",begin:e.lookahead(/# type:/),end:/$/,keywords:D,contains:[{begin:/# type:/},{begin:/#/,end:/\b\B/,endsWithParent:!0}]},E={className:"params",variants:[{className:"",begin:/\(\s*\)/,skip:!0},{begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:D,contains:["self",r,F,a,u.HASH_COMMENT_MODE]}]};return o.contains=[a,F,r],{name:"Python",aliases:["py","gyp","ipython"],unicodeRegex:!0,keywords:D,illegal:/(<\/|->|\?)|=>/,contains:[r,F,{begin:/\bself\b/},{beginKeywords:"if",relevance:0},a,C,u.HASH_COMMENT_MODE,{match:[/\bdef/,/\s+/,t],scope:{1:"keyword",3:"title.function"},contains:[E]},{variants:[{match:[/\bclass/,/\s+/,t,/\s*/,/\(\s*/,t,/\s*\)/]},{match:[/\bclass/,/\s+/,t]}],scope:{1:"keyword",3:"title.class",6:"title.class.inherited"}},{className:"meta",begin:/^[\t ]*@/,end:/(?=#)|$/,contains:[F,E,a]}]}};hljs.registerLanguage("python",u)}();var CopyButtonPlugin=function(){function u(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};_classCallCheck(this,u),self.hook=e.hook,self.callback=e.callback}return _createClass(u,[{key:"after:highlightElement",value:function(u){var e=u.el,t=u.text,n=Object.assign(document.createElement("button"),{innerHTML:"Copy",className:"hljs-copy-button"});n.dataset.copied=!1,e.parentElement.classList.add("hljs-copy-wrapper"),e.parentElement.appendChild(n),e.parentElement.style.setProperty("--hljs-theme-background",window.getComputedStyle(e).backgroundColor),n.onclick=function(){if(navigator.clipboard){var u=t;hook&&"function"==typeof hook&&(u=hook(t,e)||t),navigator.clipboard.writeText(u).then(function(){n.innerHTML=" Copied! ",n.dataset.copied=!0;var u=Object.assign(document.createElement("div"),{role:"status",className:"hljs-copy-alert",innerHTML:"Copied to clipboard"});e.parentElement.appendChild(u),setTimeout(function(){n.innerHTML="Copy",n.dataset.copied=!1,e.parentElement.removeChild(u),u=null},2e3)}).then(function(){if("function"==typeof callback)return callback(u,e)})}}}}]),u}();!function(){hljs.addPlugin(new CopyButtonPlugin),hljs.highlightAll(),document.querySelectorAll("#gsk-scan .gsk-issue").forEach(function(u){u.addEventListener("click",function(e){e.preventDefault(),u.classList.toggle("open"),u.classList.toggle("bg-zinc-700")})});var u=document.querySelectorAll("#gsk-scan [role='tabpanel']"),e=document.querySelectorAll("#gsk-scan [data-tab-target]");e.forEach(function(t){t.addEventListener("click",function(n){n.preventDefault();var D=t.getAttribute("data-tab-target");u.forEach(function(u){u.classList.add("hidden")}),e.forEach(function(u){u.classList.remove("active")}),t.classList.add("active"),document.getElementById(D).classList.remove("hidden")})})}(); |