This repository has been archived by the owner on Jun 7, 2024. It is now read-only.
forked from speced/respec
-
Notifications
You must be signed in to change notification settings - Fork 0
/
respec-w3c-common.js
14 lines (14 loc) · 413 KB
/
respec-w3c-common.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
"use strict";window.respecVersion="10.0.0";var requirejs,require,define;!function(global,setTimeout){function commentReplace(e,t){return t||""}function isFunction(e){return"[object Function]"===ostring.call(e)}function isArray(e){return"[object Array]"===ostring.call(e)}function each(e,t){if(e){var n;for(n=0;n<e.length&&(!e[n]||!t(e[n],n,e));n+=1);}}function eachReverse(e,t){if(e){var n;for(n=e.length-1;n>-1&&(!e[n]||!t(e[n],n,e));n-=1);}}function hasProp(e,t){return hasOwn.call(e,t)}function getOwn(e,t){return hasProp(e,t)&&e[t]}function eachProp(e,t){var n;for(n in e)if(hasProp(e,n)&&t(e[n],n))break}function mixin(e,t,n,r){return t&&eachProp(t,function(t,i){!n&&hasProp(e,i)||(!r||"object"!=typeof t||!t||isArray(t)||isFunction(t)||t instanceof RegExp?e[i]=t:(e[i]||(e[i]={}),mixin(e[i],t,n,r)))}),e}function bind(e,t){return function(){return t.apply(e,arguments)}}function scripts(){return document.getElementsByTagName("script")}function defaultOnError(e){throw e}function getGlobal(e){if(!e)return e;var t=global;return each(e.split("."),function(e){t=t[e]}),t}function makeError(e,t,n,r){var i=new Error(t+"\nhttp://requirejs.org/docs/errors.html#"+e);return i.requireType=e,i.requireModules=r,n&&(i.originalError=n),i}function newContext(e){function t(e){var t,n;for(t=0;t<e.length;t++)if(n=e[t],"."===n)e.splice(t,1),t-=1;else if(".."===n){if(0===t||1===t&&".."===e[2]||".."===e[t-1])continue;t>0&&(e.splice(t-1,2),t-=2)}}function n(e,n,r){var i,a,o,s,l,u,c,p,d,f,h,m,g=n&&n.split("/"),v=T.map,b=v&&v["*"];if(e&&(e=e.split("/"),c=e.length-1,T.nodeIdCompat&&jsSuffixRegExp.test(e[c])&&(e[c]=e[c].replace(jsSuffixRegExp,"")),"."===e[0].charAt(0)&&g&&(m=g.slice(0,g.length-1),e=m.concat(e)),t(e),e=e.join("/")),r&&v&&(g||b)){o=e.split("/");e:for(s=o.length;s>0;s-=1){if(u=o.slice(0,s).join("/"),g)for(l=g.length;l>0;l-=1)if(a=getOwn(v,g.slice(0,l).join("/")),a&&(a=getOwn(a,u))){p=a,d=s;break e}!f&&b&&getOwn(b,u)&&(f=getOwn(b,u),h=s)}!p&&f&&(p=f,d=h),p&&(o.splice(0,d,p),e=o.join("/"))}return i=getOwn(T.pkgs,e),i?i:e}function r(e){isBrowser&&each(scripts(),function(t){if(t.getAttribute("data-requiremodule")===e&&t.getAttribute("data-requirecontext")===w.contextName)return t.parentNode.removeChild(t),!0})}function i(e){var t=getOwn(T.paths,e);if(t&&isArray(t)&&t.length>1)return t.shift(),w.require.undef(e),w.makeRequire(null,{skipMap:!0})([e]),!0}function a(e){var t,n=e?e.indexOf("!"):-1;return n>-1&&(t=e.substring(0,n),e=e.substring(n+1,e.length)),[t,e]}function o(e,t,r,i){var o,s,l,u,c=null,p=t?t.name:null,d=e,f=!0,h="";return e||(f=!1,e="_@r"+(L+=1)),u=a(e),c=u[0],e=u[1],c&&(c=n(c,p,i),s=getOwn(R,c)),e&&(c?h=s&&s.normalize?s.normalize(e,function(e){return n(e,p,i)}):e.indexOf("!")===-1?n(e,p,i):e:(h=n(e,p,i),u=a(h),c=u[0],h=u[1],r=!0,o=w.nameToUrl(h))),l=!c||s||r?"":"_unnormalized"+(N+=1),{prefix:c,name:h,parentMap:t,unnormalized:!!l,url:o,originalName:d,isDefine:f,id:(c?c+"!"+h:h)+l}}function s(e){var t=e.id,n=getOwn(E,t);return n||(n=E[t]=new w.Module(e)),n}function l(e,t,n){var r=e.id,i=getOwn(E,r);!hasProp(R,r)||i&&!i.defineEmitComplete?(i=s(e),i.error&&"error"===t?n(i.error):i.on(t,n)):"defined"===t&&n(R[r])}function u(e,t){var n=e.requireModules,r=!1;t?t(e):(each(n,function(t){var n=getOwn(E,t);n&&(n.error=e,n.events.error&&(r=!0,n.emit("error",e)))}),r||req.onError(e))}function c(){globalDefQueue.length&&(each(globalDefQueue,function(e){var t=e[0];"string"==typeof t&&(w.defQueueMap[t]=!0),S.push(e)}),globalDefQueue=[])}function p(e){delete E[e],delete k[e]}function d(e,t,n){var r=e.map.id;e.error?e.emit("error",e.error):(t[r]=!0,each(e.depMaps,function(r,i){var a=r.id,o=getOwn(E,a);!o||e.depMatched[i]||n[a]||(getOwn(t,a)?(e.defineDep(i,R[a]),e.check()):d(o,t,n))}),n[r]=!0)}function f(){var e,t,n=1e3*T.waitSeconds,a=n&&w.startTime+n<(new Date).getTime(),o=[],s=[],l=!1,c=!0;if(!b){if(b=!0,eachProp(k,function(e){var n=e.map,u=n.id;if(e.enabled&&(n.isDefine||s.push(e),!e.error))if(!e.inited&&a)i(u)?(t=!0,l=!0):(o.push(u),r(u));else if(!e.inited&&e.fetched&&n.isDefine&&(l=!0,!n.prefix))return c=!1}),a&&o.length)return e=makeError("timeout","Load timeout for modules: "+o,null,o),e.contextName=w.contextName,u(e);c&&each(s,function(e){d(e,{},{})}),a&&!t||!l||!isBrowser&&!isWebWorker||_||(_=setTimeout(function(){_=0,f()},50)),b=!1}}function h(e){hasProp(R,e[0])||s(o(e[0],null,!0)).init(e[1],e[2])}function m(e,t,n,r){e.detachEvent&&!isOpera?r&&e.detachEvent(r,t):e.removeEventListener(n,t,!1)}function g(e){var t=e.currentTarget||e.srcElement;return m(t,w.onScriptLoad,"load","onreadystatechange"),m(t,w.onScriptError,"error"),{node:t,id:t&&t.getAttribute("data-requiremodule")}}function v(){var e;for(c();S.length;){if(e=S.shift(),null===e[0])return u(makeError("mismatch","Mismatched anonymous define() module: "+e[e.length-1]));h(e)}w.defQueueMap={}}var b,y,w,x,_,T={waitSeconds:7,baseUrl:"./",paths:{},bundles:{},pkgs:{},shim:{},config:{}},E={},k={},C={},S=[],R={},A={},D={},L=1,N=1;return x={require:function(e){return e.require?e.require:e.require=w.makeRequire(e.map)},exports:function(e){if(e.usingExports=!0,e.map.isDefine)return e.exports?R[e.map.id]=e.exports:e.exports=R[e.map.id]={}},module:function(e){return e.module?e.module:e.module={id:e.map.id,uri:e.map.url,config:function(){return getOwn(T.config,e.map.id)||{}},exports:e.exports||(e.exports={})}}},y=function(e){this.events=getOwn(C,e.id)||{},this.map=e,this.shim=getOwn(T.shim,e.id),this.depExports=[],this.depMaps=[],this.depMatched=[],this.pluginMaps={},this.depCount=0},y.prototype={init:function(e,t,n,r){r=r||{},this.inited||(this.factory=t,n?this.on("error",n):this.events.error&&(n=bind(this,function(e){this.emit("error",e)})),this.depMaps=e&&e.slice(0),this.errback=n,this.inited=!0,this.ignore=r.ignore,r.enabled||this.enabled?this.enable():this.check())},defineDep:function(e,t){this.depMatched[e]||(this.depMatched[e]=!0,this.depCount-=1,this.depExports[e]=t)},fetch:function(){if(!this.fetched){this.fetched=!0,w.startTime=(new Date).getTime();var e=this.map;return this.shim?void w.makeRequire(this.map,{enableBuildCallback:!0})(this.shim.deps||[],bind(this,function(){return e.prefix?this.callPlugin():this.load()})):e.prefix?this.callPlugin():this.load()}},load:function(){var e=this.map.url;A[e]||(A[e]=!0,w.load(this.map.id,e))},check:function(){if(this.enabled&&!this.enabling){var e,t,n=this.map.id,r=this.depExports,i=this.exports,a=this.factory;if(this.inited){if(this.error)this.emit("error",this.error);else if(!this.defining){if(this.defining=!0,this.depCount<1&&!this.defined){if(isFunction(a)){if(this.events.error&&this.map.isDefine||req.onError!==defaultOnError)try{i=w.execCb(n,a,r,i)}catch(t){e=t}else i=w.execCb(n,a,r,i);if(this.map.isDefine&&void 0===i&&(t=this.module,t?i=t.exports:this.usingExports&&(i=this.exports)),e)return e.requireMap=this.map,e.requireModules=this.map.isDefine?[this.map.id]:null,e.requireType=this.map.isDefine?"define":"require",u(this.error=e)}else i=a;if(this.exports=i,this.map.isDefine&&!this.ignore&&(R[n]=i,req.onResourceLoad)){var o=[];each(this.depMaps,function(e){o.push(e.normalizedMap||e)}),req.onResourceLoad(w,this.map,o)}p(n),this.defined=!0}this.defining=!1,this.defined&&!this.defineEmitted&&(this.defineEmitted=!0,this.emit("defined",this.exports),this.defineEmitComplete=!0)}}else hasProp(w.defQueueMap,n)||this.fetch()}},callPlugin:function(){var e=this.map,t=e.id,r=o(e.prefix);this.depMaps.push(r),l(r,"defined",bind(this,function(r){var i,a,c,d=getOwn(D,this.map.id),f=this.map.name,h=this.map.parentMap?this.map.parentMap.name:null,m=w.makeRequire(e.parentMap,{enableBuildCallback:!0});return this.map.unnormalized?(r.normalize&&(f=r.normalize(f,function(e){return n(e,h,!0)})||""),a=o(e.prefix+"!"+f,this.map.parentMap),l(a,"defined",bind(this,function(e){this.map.normalizedMap=a,this.init([],function(){return e},null,{enabled:!0,ignore:!0})})),c=getOwn(E,a.id),void(c&&(this.depMaps.push(a),this.events.error&&c.on("error",bind(this,function(e){this.emit("error",e)})),c.enable()))):d?(this.map.url=w.nameToUrl(d),void this.load()):(i=bind(this,function(e){this.init([],function(){return e},null,{enabled:!0})}),i.error=bind(this,function(e){this.inited=!0,this.error=e,e.requireModules=[t],eachProp(E,function(e){0===e.map.id.indexOf(t+"_unnormalized")&&p(e.map.id)}),u(e)}),i.fromText=bind(this,function(n,r){var a=e.name,l=o(a),c=useInteractive;r&&(n=r),c&&(useInteractive=!1),s(l),hasProp(T.config,t)&&(T.config[a]=T.config[t]);try{req.exec(n)}catch(e){return u(makeError("fromtexteval","fromText eval for "+t+" failed: "+e,e,[t]))}c&&(useInteractive=!0),this.depMaps.push(l),w.completeLoad(a),m([a],i)}),void r.load(e.name,m,i,T))})),w.enable(r,this),this.pluginMaps[r.id]=r},enable:function(){k[this.map.id]=this,this.enabled=!0,this.enabling=!0,each(this.depMaps,bind(this,function(e,t){var n,r,i;if("string"==typeof e){if(e=o(e,this.map.isDefine?this.map:this.map.parentMap,!1,!this.skipMap),this.depMaps[t]=e,i=getOwn(x,e.id))return void(this.depExports[t]=i(this));this.depCount+=1,l(e,"defined",bind(this,function(e){this.undefed||(this.defineDep(t,e),this.check())})),this.errback?l(e,"error",bind(this,this.errback)):this.events.error&&l(e,"error",bind(this,function(e){this.emit("error",e)}))}n=e.id,r=E[n],hasProp(x,n)||!r||r.enabled||w.enable(e,this)})),eachProp(this.pluginMaps,bind(this,function(e){var t=getOwn(E,e.id);t&&!t.enabled&&w.enable(e,this)})),this.enabling=!1,this.check()},on:function(e,t){var n=this.events[e];n||(n=this.events[e]=[]),n.push(t)},emit:function(e,t){each(this.events[e],function(e){e(t)}),"error"===e&&delete this.events[e]}},w={config:T,contextName:e,registry:E,defined:R,urlFetched:A,defQueue:S,defQueueMap:{},Module:y,makeModuleMap:o,nextTick:req.nextTick,onError:u,configure:function(e){if(e.baseUrl&&"/"!==e.baseUrl.charAt(e.baseUrl.length-1)&&(e.baseUrl+="/"),"string"==typeof e.urlArgs){var t=e.urlArgs;e.urlArgs=function(e,n){return(n.indexOf("?")===-1?"?":"&")+t}}var n=T.shim,r={paths:!0,bundles:!0,config:!0,map:!0};eachProp(e,function(e,t){r[t]?(T[t]||(T[t]={}),mixin(T[t],e,!0,!0)):T[t]=e}),e.bundles&&eachProp(e.bundles,function(e,t){each(e,function(e){e!==t&&(D[e]=t)})}),e.shim&&(eachProp(e.shim,function(e,t){isArray(e)&&(e={deps:e}),!e.exports&&!e.init||e.exportsFn||(e.exportsFn=w.makeShimExports(e)),n[t]=e}),T.shim=n),e.packages&&each(e.packages,function(e){var t,n;e="string"==typeof e?{name:e}:e,n=e.name,t=e.location,t&&(T.paths[n]=e.location),T.pkgs[n]=e.name+"/"+(e.main||"main").replace(currDirRegExp,"").replace(jsSuffixRegExp,"")}),eachProp(E,function(e,t){e.inited||e.map.unnormalized||(e.map=o(t,null,!0))}),(e.deps||e.callback)&&w.require(e.deps||[],e.callback)},makeShimExports:function(e){function t(){var t;return e.init&&(t=e.init.apply(global,arguments)),t||e.exports&&getGlobal(e.exports)}return t},makeRequire:function(t,i){function a(n,r,l){var c,p,d;return i.enableBuildCallback&&r&&isFunction(r)&&(r.__requireJsBuild=!0),"string"==typeof n?isFunction(r)?u(makeError("requireargs","Invalid require call"),l):t&&hasProp(x,n)?x[n](E[t.id]):req.get?req.get(w,n,t,a):(p=o(n,t,!1,!0),c=p.id,hasProp(R,c)?R[c]:u(makeError("notloaded",'Module name "'+c+'" has not been loaded yet for context: '+e+(t?"":". Use require([])")))):(v(),w.nextTick(function(){v(),d=s(o(null,t)),d.skipMap=i.skipMap,d.init(n,r,l,{enabled:!0}),f()}),a)}return i=i||{},mixin(a,{isBrowser:isBrowser,toUrl:function(e){var r,i=e.lastIndexOf("."),a=e.split("/")[0],o="."===a||".."===a;return i!==-1&&(!o||i>1)&&(r=e.substring(i,e.length),e=e.substring(0,i)),w.nameToUrl(n(e,t&&t.id,!0),r,!0)},defined:function(e){return hasProp(R,o(e,t,!1,!0).id)},specified:function(e){return e=o(e,t,!1,!0).id,hasProp(R,e)||hasProp(E,e)}}),t||(a.undef=function(e){c();var n=o(e,t,!0),i=getOwn(E,e);i.undefed=!0,r(e),delete R[e],delete A[n.url],delete C[e],eachReverse(S,function(t,n){t[0]===e&&S.splice(n,1)}),delete w.defQueueMap[e],i&&(i.events.defined&&(C[e]=i.events),p(e))}),a},enable:function(e){var t=getOwn(E,e.id);t&&s(e).enable()},completeLoad:function(e){var t,n,r,a=getOwn(T.shim,e)||{},o=a.exports;for(c();S.length;){if(n=S.shift(),null===n[0]){if(n[0]=e,t)break;t=!0}else n[0]===e&&(t=!0);h(n)}if(w.defQueueMap={},r=getOwn(E,e),!t&&!hasProp(R,e)&&r&&!r.inited){if(!(!T.enforceDefine||o&&getGlobal(o)))return i(e)?void 0:u(makeError("nodefine","No define call for "+e,null,[e]));h([e,a.deps||[],a.exportsFn])}f()},nameToUrl:function(e,t,n){var r,i,a,o,s,l,u,c=getOwn(T.pkgs,e);if(c&&(e=c),u=getOwn(D,e))return w.nameToUrl(u,t,n);if(req.jsExtRegExp.test(e))s=e+(t||"");else{for(r=T.paths,i=e.split("/"),a=i.length;a>0;a-=1)if(o=i.slice(0,a).join("/"),l=getOwn(r,o)){isArray(l)&&(l=l[0]),i.splice(0,a,l);break}s=i.join("/"),s+=t||(/^data\:|^blob\:|\?/.test(s)||n?"":".js"),s=("/"===s.charAt(0)||s.match(/^[\w\+\.\-]+:/)?"":T.baseUrl)+s}return T.urlArgs&&!/^blob\:/.test(s)?s+T.urlArgs(e,s):s},load:function(e,t){req.load(w,e,t)},execCb:function(e,t,n,r){return t.apply(r,n)},onScriptLoad:function(e){if("load"===e.type||readyRegExp.test((e.currentTarget||e.srcElement).readyState)){interactiveScript=null;var t=g(e);w.completeLoad(t.id)}},onScriptError:function(e){var t=g(e);if(!i(t.id)){var n=[];return eachProp(E,function(e,r){0!==r.indexOf("_@r")&&each(e.depMaps,function(e){if(e.id===t.id)return n.push(r),!0})}),u(makeError("scripterror",'Script error for "'+t.id+(n.length?'", needed by: '+n.join(", "):'"'),e,[t.id]))}}},w.require=w.makeRequire(),w}function getInteractiveScript(){return interactiveScript&&"interactive"===interactiveScript.readyState?interactiveScript:(eachReverse(scripts(),function(e){if("interactive"===e.readyState)return interactiveScript=e}),interactiveScript)}var req,s,head,baseElement,dataMain,src,interactiveScript,currentlyAddingScript,mainScript,subPath,version="2.3.2",commentRegExp=/\/\*[\s\S]*?\*\/|([^:"'=]|^)\/\/.*$/gm,cjsRequireRegExp=/[^.]\s*require\s*\(\s*["']([^'"\s]+)["']\s*\)/g,jsSuffixRegExp=/\.js$/,currDirRegExp=/^\.\//,op=Object.prototype,ostring=op.toString,hasOwn=op.hasOwnProperty,isBrowser=!("undefined"==typeof window||"undefined"==typeof navigator||!window.document),isWebWorker=!isBrowser&&"undefined"!=typeof importScripts,readyRegExp=isBrowser&&"PLAYSTATION 3"===navigator.platform?/^complete$/:/^(complete|loaded)$/,defContextName="_",isOpera="undefined"!=typeof opera&&"[object Opera]"===opera.toString(),contexts={},cfg={},globalDefQueue=[],useInteractive=!1;if("undefined"==typeof define){if("undefined"!=typeof requirejs){if(isFunction(requirejs))return;cfg=requirejs,requirejs=void 0}"undefined"==typeof require||isFunction(require)||(cfg=require,require=void 0),req=requirejs=function(e,t,n,r){var i,a,o=defContextName;return isArray(e)||"string"==typeof e||(a=e,isArray(t)?(e=t,t=n,n=r):e=[]),a&&a.context&&(o=a.context),i=getOwn(contexts,o),i||(i=contexts[o]=req.s.newContext(o)),a&&i.configure(a),i.require(e,t,n)},req.config=function(e){return req(e)},req.nextTick="undefined"!=typeof setTimeout?function(e){setTimeout(e,4)}:function(e){e()},require||(require=req),req.version=version,req.jsExtRegExp=/^\/|:|\?|\.js$/,req.isBrowser=isBrowser,s=req.s={contexts:contexts,newContext:newContext},req({}),each(["toUrl","undef","defined","specified"],function(e){req[e]=function(){var t=contexts[defContextName];return t.require[e].apply(t,arguments)}}),isBrowser&&(head=s.head=document.getElementsByTagName("head")[0],baseElement=document.getElementsByTagName("base")[0],baseElement&&(head=s.head=baseElement.parentNode)),req.onError=defaultOnError,req.createNode=function(e,t,n){var r=e.xhtml?document.createElementNS("http://www.w3.org/1999/xhtml","html:script"):document.createElement("script");return r.type=e.scriptType||"text/javascript",r.charset="utf-8",r.async=!0,r},req.load=function(e,t,n){var r,i=e&&e.config||{};if(isBrowser)return r=req.createNode(i,t,n),r.setAttribute("data-requirecontext",e.contextName),r.setAttribute("data-requiremodule",t),!r.attachEvent||r.attachEvent.toString&&r.attachEvent.toString().indexOf("[native code")<0||isOpera?(r.addEventListener("load",e.onScriptLoad,!1),r.addEventListener("error",e.onScriptError,!1)):(useInteractive=!0,r.attachEvent("onreadystatechange",e.onScriptLoad)),r.src=n,i.onNodeCreated&&i.onNodeCreated(r,i,t,n),currentlyAddingScript=r,baseElement?head.insertBefore(r,baseElement):head.appendChild(r),currentlyAddingScript=null,r;if(isWebWorker)try{setTimeout(function(){},0),importScripts(n),e.completeLoad(t)}catch(r){e.onError(makeError("importscripts","importScripts failed for "+t+" at "+n,r,[t]))}},isBrowser&&!cfg.skipDataMain&&eachReverse(scripts(),function(e){if(head||(head=e.parentNode),dataMain=e.getAttribute("data-main"))return mainScript=dataMain,cfg.baseUrl||mainScript.indexOf("!")!==-1||(src=mainScript.split("/"),mainScript=src.pop(),subPath=src.length?src.join("/")+"/":"./",cfg.baseUrl=subPath),mainScript=mainScript.replace(jsSuffixRegExp,""),req.jsExtRegExp.test(mainScript)&&(mainScript=dataMain),cfg.deps=cfg.deps?cfg.deps.concat(mainScript):[mainScript],!0}),define=function(e,t,n){var r,i;"string"!=typeof e&&(n=t,t=e,e=null),isArray(t)||(n=t,t=null),!t&&isFunction(n)&&(t=[],n.length&&(n.toString().replace(commentRegExp,commentReplace).replace(cjsRequireRegExp,function(e,n){t.push(n)}),t=(1===n.length?["require"]:["require","exports","module"]).concat(t))),useInteractive&&(r=currentlyAddingScript||getInteractiveScript(),r&&(e||(e=r.getAttribute("data-requiremodule")),i=contexts[r.getAttribute("data-requirecontext")])),i?(i.defQueue.push([e,t,n]),i.defQueueMap[e]=!0):globalDefQueue.push([e,t,n])},define.amd={jQuery:!0},req.exec=function(text){return eval(text)},req(cfg)}}(this,"undefined"==typeof setTimeout?void 0:setTimeout),define("deps/require",function(){}),function(e){function t(e){if("string"!=typeof e&&(e=String(e)),/[^a-z0-9\-#$%&'*+.\^_`|~]/i.test(e))throw new TypeError("Invalid character in header field name");return e.toLowerCase()}function n(e){return"string"!=typeof e&&(e=String(e)),e}function r(e){var t={next:function(){var t=e.shift();return{done:void 0===t,value:t}}};return v.iterable&&(t[Symbol.iterator]=function(){return t}),t}function i(e){this.map={},e instanceof i?e.forEach(function(e,t){this.append(t,e)},this):e&&Object.getOwnPropertyNames(e).forEach(function(t){this.append(t,e[t])},this)}function a(e){return e.bodyUsed?Promise.reject(new TypeError("Already read")):void(e.bodyUsed=!0)}function o(e){return new Promise(function(t,n){e.onload=function(){t(e.result)},e.onerror=function(){n(e.error)}})}function s(e){var t=new FileReader,n=o(t);return t.readAsArrayBuffer(e),n}function l(e){var t=new FileReader,n=o(t);return t.readAsText(e),n}function u(e){for(var t=new Uint8Array(e),n=new Array(t.length),r=0;r<t.length;r++)n[r]=String.fromCharCode(t[r]);return n.join("")}function c(e){if(e.slice)return e.slice(0);var t=new Uint8Array(e.byteLength);return t.set(new Uint8Array(e)),t.buffer}function p(){return this.bodyUsed=!1,this._initBody=function(e){if(this._bodyInit=e,e)if("string"==typeof e)this._bodyText=e;else if(v.blob&&Blob.prototype.isPrototypeOf(e))this._bodyBlob=e;else if(v.formData&&FormData.prototype.isPrototypeOf(e))this._bodyFormData=e;else if(v.searchParams&&URLSearchParams.prototype.isPrototypeOf(e))this._bodyText=e.toString();else if(v.arrayBuffer&&v.blob&&y(e))this._bodyArrayBuffer=c(e.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer]);else{if(!v.arrayBuffer||!ArrayBuffer.prototype.isPrototypeOf(e)&&!w(e))throw new Error("unsupported BodyInit type");this._bodyArrayBuffer=c(e)}else this._bodyText="";this.headers.get("content-type")||("string"==typeof e?this.headers.set("content-type","text/plain;charset=UTF-8"):this._bodyBlob&&this._bodyBlob.type?this.headers.set("content-type",this._bodyBlob.type):v.searchParams&&URLSearchParams.prototype.isPrototypeOf(e)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},v.blob&&(this.blob=function(){var e=a(this);if(e)return e;if(this._bodyBlob)return Promise.resolve(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(new Blob([this._bodyArrayBuffer]));if(this._bodyFormData)throw new Error("could not read FormData body as blob");return Promise.resolve(new Blob([this._bodyText]))},this.arrayBuffer=function(){return this._bodyArrayBuffer?a(this)||Promise.resolve(this._bodyArrayBuffer):this.blob().then(s)}),this.text=function(){var e=a(this);if(e)return e;if(this._bodyBlob)return l(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(u(this._bodyArrayBuffer));if(this._bodyFormData)throw new Error("could not read FormData body as text");return Promise.resolve(this._bodyText)},v.formData&&(this.formData=function(){return this.text().then(h)}),this.json=function(){return this.text().then(JSON.parse)},this}function d(e){var t=e.toUpperCase();return x.indexOf(t)>-1?t:e}function f(e,t){t=t||{};var n=t.body;if(e instanceof f){if(e.bodyUsed)throw new TypeError("Already read");this.url=e.url,this.credentials=e.credentials,t.headers||(this.headers=new i(e.headers)),this.method=e.method,this.mode=e.mode,n||null==e._bodyInit||(n=e._bodyInit,e.bodyUsed=!0)}else this.url=String(e);if(this.credentials=t.credentials||this.credentials||"omit",!t.headers&&this.headers||(this.headers=new i(t.headers)),this.method=d(t.method||this.method||"GET"),this.mode=t.mode||this.mode||null,this.referrer=null,("GET"===this.method||"HEAD"===this.method)&&n)throw new TypeError("Body not allowed for GET or HEAD requests");this._initBody(n)}function h(e){var t=new FormData;return e.trim().split("&").forEach(function(e){if(e){var n=e.split("="),r=n.shift().replace(/\+/g," "),i=n.join("=").replace(/\+/g," ");t.append(decodeURIComponent(r),decodeURIComponent(i))}}),t}function m(e){var t=new i;return e.split(/\r?\n/).forEach(function(e){var n=e.split(":"),r=n.shift().trim();if(r){var i=n.join(":").trim();t.append(r,i)}}),t}function g(e,t){t||(t={}),this.type="default",this.status="status"in t?t.status:200,this.ok=this.status>=200&&this.status<300,this.statusText="statusText"in t?t.statusText:"OK",this.headers=new i(t.headers),this.url=t.url||"",this._initBody(e)}if(!e.fetch){var v={searchParams:"URLSearchParams"in e,iterable:"Symbol"in e&&"iterator"in Symbol,blob:"FileReader"in e&&"Blob"in e&&function(){try{return new Blob,!0}catch(e){return!1}}(),formData:"FormData"in e,arrayBuffer:"ArrayBuffer"in e};if(v.arrayBuffer)var b=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],y=function(e){return e&&DataView.prototype.isPrototypeOf(e)},w=ArrayBuffer.isView||function(e){return e&&b.indexOf(Object.prototype.toString.call(e))>-1};i.prototype.append=function(e,r){e=t(e),r=n(r);var i=this.map[e];this.map[e]=i?i+","+r:r},i.prototype.delete=function(e){delete this.map[t(e)]},i.prototype.get=function(e){return e=t(e),this.has(e)?this.map[e]:null},i.prototype.has=function(e){return this.map.hasOwnProperty(t(e))},i.prototype.set=function(e,r){this.map[t(e)]=n(r)},i.prototype.forEach=function(e,t){for(var n in this.map)this.map.hasOwnProperty(n)&&e.call(t,this.map[n],n,this)},i.prototype.keys=function(){var e=[];return this.forEach(function(t,n){e.push(n)}),r(e)},i.prototype.values=function(){var e=[];return this.forEach(function(t){e.push(t)}),r(e)},i.prototype.entries=function(){var e=[];return this.forEach(function(t,n){e.push([n,t])}),r(e)},v.iterable&&(i.prototype[Symbol.iterator]=i.prototype.entries);var x=["DELETE","GET","HEAD","OPTIONS","POST","PUT"];f.prototype.clone=function(){return new f(this,{body:this._bodyInit})},p.call(f.prototype),p.call(g.prototype),g.prototype.clone=function(){return new g(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new i(this.headers),url:this.url})},g.error=function(){var e=new g(null,{status:0,statusText:""});return e.type="error",e};var _=[301,302,303,307,308];g.redirect=function(e,t){if(_.indexOf(t)===-1)throw new RangeError("Invalid status code");return new g(null,{status:t,headers:{location:e}})},e.Headers=i,e.Request=f,e.Response=g,e.fetch=function(e,t){return new Promise(function(n,r){var i=new f(e,t),a=new XMLHttpRequest;a.onload=function(){var e={status:a.status,statusText:a.statusText,headers:m(a.getAllResponseHeaders()||"")};e.url="responseURL"in a?a.responseURL:e.headers.get("X-Request-URL");var t="response"in a?a.response:a.responseText;n(new g(t,e))},a.onerror=function(){r(new TypeError("Network request failed"))},a.ontimeout=function(){r(new TypeError("Network request failed"))},a.open(i.method,i.url,!0),"include"===i.credentials&&(a.withCredentials=!0),"responseType"in a&&v.blob&&(a.responseType="blob"),i.headers.forEach(function(e,t){a.setRequestHeader(t,e)}),a.send("undefined"==typeof i._bodyInit?null:i._bodyInit)})},e.fetch.polyfill=!0}}("undefined"!=typeof self?self:this),define("deps/fetch",function(){}),define("deps/domReady",[],function(){function e(e){var t;for(t=0;t<e.length;t+=1)e[t](u)}function t(){var t=c;l&&t.length&&(c=[],e(t))}function n(){l||(l=!0,o&&clearInterval(o),t())}function r(e){return l?e(u):c.push(e),r}var i,a,o,s="undefined"!=typeof window&&window.document,l=!s,u=s?document:null,c=[];if(s){if(document.addEventListener)document.addEventListener("DOMContentLoaded",n,!1),window.addEventListener("load",n,!1);else if(window.attachEvent){window.attachEvent("onload",n),a=document.createElement("div");try{i=null===window.frameElement}catch(e){}a.doScroll&&i&&window.external&&(o=setInterval(function(){try{a.doScroll(),n()}catch(e){}},30))}"complete"===document.readyState&&n()}return r.version="2.0.1",r.load=function(e,t,n,i){i.isBuild?n(null):r(n)},r}),define("core/pubsubhub",["exports"],function(e){function t(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];if(a.has(e)&&(Array.from(a.get(e)).forEach(function(e){return e.apply(null,n)}),window.parent!==window.self)){var i=n.map(function(e){return String(JSON.stringify(e.stack||e))});window.parent.postMessage({topic:e,args:i},window.parent.location.origin)}}function n(e,t){var o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{once:!1};if(o.once){var s=function(){var i=n(e,function(){return r(i),t.apply(void 0,arguments)});return{v:void 0}}();if("object"===("undefined"==typeof s?"undefined":i(s)))return s.v}return a.has(e)?a.get(e).push(t):a.set(e,[t]),{topic:e,cb:t}}function r(e){var t=a.get(e.topic);return t&&t.indexOf(e.cb)!==-1?void t.splice(t.indexOf(e.cb),1):void console.warn("Already unsubscribed:",e.topic,e.cb)}Object.defineProperty(e,"__esModule",{value:!0}),e.pub=t,e.sub=n,e.unsub=r;var i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},a=new Map;n("error",function(e){console.error(e.stack||e)}),n("warn",function(e){console.warn(e)})}),!function(e){function t(e,t,n,i){var a=t&&t.prototype instanceof r?t:r,o=Object.create(a.prototype),s=new p(i||[]);return o._invoke=l(e,n,s),o}function n(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}function r(){}function i(){}function a(){}function o(e){["next","throw","return"].forEach(function(t){e[t]=function(e){return this._invoke(t,e)}})}function s(e){function t(r,i,a,o){var s=n(e[r],e,i);if("throw"!==s.type){var l=s.arg,u=l.value;return u&&"object"==typeof u&&g.call(u,"__await")?Promise.resolve(u.__await).then(function(e){t("next",e,a,o)},function(e){t("throw",e,a,o)}):Promise.resolve(u).then(function(e){l.value=e,a(l)},o)}o(s.arg)}function r(e,n){function r(){return new Promise(function(r,i){t(e,n,r,i)})}return i=i?i.then(r,r):r()}"object"==typeof process&&process.domain&&(t=process.domain.bind(t));var i;this._invoke=r}function l(e,t,r){var i=_;return function(a,o){if(i===E)throw new Error("Generator is already running");if(i===k){if("throw"===a)throw o;return f()}for(;;){var s=r.delegate;if(s){if("return"===a||"throw"===a&&s.iterator[a]===h){r.delegate=null;var l=s.iterator.return;if(l){var u=n(l,s.iterator,o);if("throw"===u.type){a="throw",o=u.arg;continue}}if("return"===a)continue}var u=n(s.iterator[a],s.iterator,o);if("throw"===u.type){r.delegate=null,a="throw",o=u.arg;continue}a="next",o=h;var c=u.arg;if(!c.done)return i=T,c;r[s.resultName]=c.value,r.next=s.nextLoc,r.delegate=null}if("next"===a)r.sent=r._sent=o;else if("throw"===a){if(i===_)throw i=k,o;r.dispatchException(o)&&(a="next",o=h)}else"return"===a&&r.abrupt("return",o);i=E;var u=n(e,t,r);if("normal"===u.type){i=r.done?k:T;var c={value:u.arg,done:r.done};if(u.arg!==C)return c;r.delegate&&"next"===a&&(o=h)}else"throw"===u.type&&(i=k,a="throw",o=u.arg)}}}function u(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function c(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function p(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(u,this),this.reset(!0)}function d(e){if(e){var t=e[b];if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var n=-1,r=function t(){for(;++n<e.length;)if(g.call(e,n))return t.value=e[n],t.done=!1,t;return t.value=h,t.done=!0,t};return r.next=r}}return{next:f}}function f(){return{value:h,done:!0}}var h,m=Object.prototype,g=m.hasOwnProperty,v="function"==typeof Symbol?Symbol:{},b=v.iterator||"@@iterator",y=v.toStringTag||"@@toStringTag",w="object"==typeof module,x=e.regeneratorRuntime;if(x)return void(w&&(module.exports=x));x=e.regeneratorRuntime=w?module.exports:{},x.wrap=t;var _="suspendedStart",T="suspendedYield",E="executing",k="completed",C={},S={};S[b]=function(){return this};var R=Object.getPrototypeOf,A=R&&R(R(d([])));A&&A!==m&&g.call(A,b)&&(S=A);var D=a.prototype=r.prototype=Object.create(S);i.prototype=D.constructor=a,a.constructor=i,a[y]=i.displayName="GeneratorFunction",x.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===i||"GeneratorFunction"===(t.displayName||t.name))},x.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,a):(e.__proto__=a,y in e||(e[y]="GeneratorFunction")),e.prototype=Object.create(D),e},x.awrap=function(e){return{__await:e}},o(s.prototype),x.AsyncIterator=s,x.async=function(e,n,r,i){var a=new s(t(e,n,r,i));return x.isGeneratorFunction(n)?a:a.next().then(function(e){return e.done?e.value:a.next()})},o(D),D[y]="Generator",D.toString=function(){return"[object Generator]"},x.keys=function(e){var t=[];for(var n in e)t.push(n);return t.reverse(),function n(){for(;t.length;){var r=t.pop();if(r in e)return n.value=r,n.done=!1,n}return n.done=!0,n}},x.values=d,p.prototype={constructor:p,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=h,this.done=!1,this.delegate=null,this.tryEntries.forEach(c),!e)for(var t in this)"t"===t.charAt(0)&&g.call(this,t)&&!isNaN(+t.slice(1))&&(this[t]=h)},stop:function(){this.done=!0;var e=this.tryEntries[0],t=e.completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(e){function t(t,r){return a.type="throw",a.arg=e,n.next=t,!!r}if(this.done)throw e;for(var n=this,r=this.tryEntries.length-1;r>=0;--r){var i=this.tryEntries[r],a=i.completion;if("root"===i.tryLoc)return t("end");if(i.tryLoc<=this.prev){var o=g.call(i,"catchLoc"),s=g.call(i,"finallyLoc");if(o&&s){if(this.prev<i.catchLoc)return t(i.catchLoc,!0);if(this.prev<i.finallyLoc)return t(i.finallyLoc)}else if(o){if(this.prev<i.catchLoc)return t(i.catchLoc,!0)}else{if(!s)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return t(i.finallyLoc)}}}},abrupt:function(e,t){for(var n=this.tryEntries.length-1;n>=0;--n){var r=this.tryEntries[n];if(r.tryLoc<=this.prev&&g.call(r,"finallyLoc")&&this.prev<r.finallyLoc){var i=r;break}}i&&("break"===e||"continue"===e)&&i.tryLoc<=t&&t<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=e,a.arg=t,i?this.next=i.finallyLoc:this.complete(a),C},complete:function(e,t){
if("throw"===e.type)throw e.arg;"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=e.arg,this.next="end"):"normal"===e.type&&t&&(this.next=t)},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),c(n),C}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var i=r.arg;c(n)}return i}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,n){return this.delegate={iterator:d(e),resultName:t,nextLoc:n},C}}}("object"==typeof global?global:"object"==typeof window?window:"object"==typeof self?self:this),define("deps/regenerator",function(){}),define("core/pre-process",["exports","core/pubsubhub","deps/regenerator"],function(e,t){function n(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}return Array.from(e)}function r(e){return function(){var t=e.apply(this,arguments);return new Promise(function(e,n){function r(i,a){try{var o=t[i](a),s=o.value}catch(e){return void n(e)}return o.done?void e(s):Promise.resolve(s).then(function(e){r("next",e)},function(e){r("throw",e)})}return r("next")})}}Object.defineProperty(e,"__esModule",{value:!0}),e.done=void 0;var i=void 0;e.done=new Promise(function(e){i=e}),(0,t.sub)("start-all",function(){var e=r(regeneratorRuntime.mark(function e(t){var r,a;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(r=[],!Array.isArray(t.preProcess)){e.next=6;break}return e.next=4,Promise.all(t.preProcess.filter(function(e){return"function"==typeof e}).map(function(e){return Promise.resolve(e(t,document))}));case 4:a=e.sent,r.push.apply(r,n(a));case 6:i(r);case 7:case"end":return e.stop()}},e,void 0)}));return function(t){return e.apply(this,arguments)}}(),{once:!0})}),define("core/post-process",["exports","core/pubsubhub","deps/regenerator"],function(e,t){function n(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}return Array.from(e)}function r(e){return function(){var t=e.apply(this,arguments);return new Promise(function(e,n){function r(i,a){try{var o=t[i](a),s=o.value}catch(e){return void n(e)}return o.done?void e(s):Promise.resolve(s).then(function(e){r("next",e)},function(e){r("throw",e)})}return r("next")})}}Object.defineProperty(e,"__esModule",{value:!0}),e.done=void 0;var i=void 0;e.done=new Promise(function(e){i=e}),(0,t.sub)("plugins-done",function(){var e=r(regeneratorRuntime.mark(function e(t){var r,a;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(r=[],!Array.isArray(t.postProcess)){e.next=6;break}return e.next=4,Promise.all(t.postProcess.filter(function(e){return"function"==typeof e}).map(function(e){return Promise.resolve(e(t,document))}));case 4:a=e.sent,r.push.apply(r,n(a));case 6:if("function"!=typeof t.afterEnd){e.next=12;break}return e.t0=r,e.next=10,Promise.resolve(t.afterEnd(t,document));case 10:e.t1=e.sent,e.t0.push.call(e.t0,e.t1);case 12:i(r);case 13:case"end":return e.stop()}},e,void 0)}));return function(t){return e.apply(this,arguments)}}(),{once:!0})}),define("core/default-root-attr",[],function(){var e=document.querySelector("html");e.hasAttribute("lang")||(e.lang="en",e.hasAttribute("dir")||(e.dir="ltr"))}),define("core/respec-ready",["core/pubsubhub"],function(e){var t=new Promise(function(t){(0,e.sub)("end-all",t,{once:!0})});Object.defineProperty(document,"respecIsReady",{get:function(){return t}})}),define("core/override-configuration",["core/pubsubhub"],function(e){function t(e){if(document.location.search){var t={};document.location.search.replace(/^\?/,"").split(";").filter(function(e){return e.trim()}).reduce(function(e,t){var n=t.split("=",2),r=decodeURIComponent(n[0]),i=decodeURIComponent(n[1].replace(/%3D/g,"=")),a=void 0;try{a=JSON.parse(i)}catch(e){a=i}return e[r]=a,e},t),Object.assign(e,t)}}(0,e.sub)("start-all",t,{once:!0})}),define("core/include-config",["core/pubsubhub"],function(e){function t(e,t){switch(e){case"definitionMap":return Object.keys(t).reduce(function(e,n){e[n]=t[n].map(function(e){return e[0].id})},{});default:return t}}(0,e.sub)("start-all",function(n){var r=document.createElement("script");r.id="initialUserConfig",r.innerHTML=JSON.stringify(n,t,2),r.type="application/json",(0,e.sub)("end-all",function(){document.head.appendChild(r)},{once:!0})},{once:!0})}),define("core/utils",["exports","core/pubsubhub"],function(e,t){function n(e){if(!e)throw new TypeError("Expected instance of Node.");return function(t){return e.remove(),t.ownerDocument.adoptNode(e),t.firstElementChild?t.insertBefore(e,t.firstElementChild):void t.appendChild(e)}}function r(e){if("string"!=typeof e)throw new TypeError("Invalid input");var t=/^[\ |\t]*/,n=e.split("\n").filter(function(e){return e}).reduce(function(e,n){if(0===e)return e;var r=n.match(t)[0]||"";return Math.min(r.length,e)},+(1/0));return n===+(1/0)?0:n}function i(e){if(!e||"object"!==("undefined"==typeof e?"undefined":w(e)))throw new TypeError("Missing options");if(!_.has(e.hint))throw new TypeError("Invalid resources hint");var t=new URL(e.href,document.location),n=document.createElement("link"),r=t.href;switch(n.rel=e.hint,n.rel){case"dns-prefetch":case"preconnect":r=t.origin,(e.corsMode||t.origin!==document.location.origin)&&(n.crossOrigin=e.corsMode||"anonymous");break;case"preload":"as"in e&&"string"==typeof e.as&&(T.has(e.as)||console.warn("Unknown request destination: "+e.as),n.setAttribute("as",e.as));break;case"prerender":r=t.href}return n.href=r,e.dontRemove||n.classList.add("removeOnSave"),n}function a(e){if("function"!=typeof e)throw TypeError("Expected a function");var t=function(){return{value:e(),get done(){return null===this.value}}},n={};return n[Symbol.iterator]=function(){return{next:t}},n}function o(e){function t(e){return e.nodeType===Node.TEXT_NODE}if(!e)return"";if("string"!=typeof e)throw TypeError("Invalid input");if("\n"===e)return"\n";var n="<body>"+e,r=(new DOMParser).parseFromString(n,"text/html");Array.from(r.body.children).filter(function(e){return!x.has(e.localName)}).filter(function(e){return"pre"!==e.localName}).forEach(function(e){return e.innerHTML=o(e.innerHTML)}),Array.from(r.body.childNodes).filter(function(e){return t(e)&&""===e.textContent.trim()}).forEach(function(e){return e.parentElement.replaceChild(r.createTextNode("\n"),e)}),t(r.body.firstChild)||Array.from(r.body.children).forEach(function(e){return e.innerHTML=o(e.innerHTML)}),r.normalize();var i=r.body.innerText.split("\n").filter(function(e){return e&&e.startsWith(" ")})[0],a=i?i.match(/\ +/)[0].length:0;return a&&!function(){var e=new RegExp("^ {1,"+a+"}","gm");Array.from(r.body.childNodes).filter(function(e){return"pre"!==e.localName}).filter(t).forEach(function(t){return t.textContent=t.textContent.replace(e,"")})}(),r.body.innerHTML}function s(e){Array.from(e.querySelectorAll(".remove, script[data-requiremodule]")).forEach(function(e){e.remove()})}function l(e,t){if(!e||!e.length)return"";t=t||function(e){return e};var n="";if(1===e.length)return t(e[0],0);for(var r=0,i=e.length;r<i;r++)r>0&&(n+=2===i?" ":", ",r==i-1&&(n+="and ")),n+=t(e[r],r);return n}function u(e){return e.replace(/&/g,"&").replace(/>/g,">").replace(/"/g,""").replace(/</g,"<")}function c(e){return e.replace(/^\s+/,"").replace(/\s+$/,"").split(/\s+/).join(" ")}function p(e,t){return t||(t=""),""+e.getFullYear()+t+d(e.getMonth()+1)+t+d(e.getDate())}function d(e){return e=""+e,1==e.length?"0"+e:e}function f(e){return new Date(e.substr(0,4),e.substr(5,2)-1,e.substr(8,2))}function h(e){return e?new Date(Date.parse(e)):new Date}function m(e){return e instanceof Date||(e=f(e)),d(e.getDate())+" "+E[e.getMonth()]+" "+e.getFullYear()}function g(e){return e instanceof Date||(e=f(e)),e.toISOString()}function v(e,t,n){return n||(n="="),t||(t=", "),Object.getOwnPropertyNames(e).map(function(t){return t+n+JSON.stringify(e[t])}).join(t)}function b(e,t){var n=Array.isArray(t)?[].concat(t):[t],r=n.map(function(t){var n=e.createElement("link");return n.rel="stylesheet",n.href=t,n}).reduce(function(e,t){return e.appendChild(t),e},e.createDocumentFragment());e.head.appendChild(r)}function y(e,t){var n=[this,e],r=Array.from(arguments);if(r.shift(),r.shift(),n=n.concat(r),t)for(var i=t.split(/\s+/),a=0;a<i.length;a++){var o=i[a];if(window[o])try{e=window[o].apply(this,n)}catch(e){pubsubhub.pub("warn","call to "+o+"() failed with "+e)}}return e}Object.defineProperty(e,"__esModule",{value:!0}),e.humanMonths=void 0,e.makeOwnerSwapper=n,e.calculateLeftPad=r,e.createResourceHint=i,e.toESIterable=a,e.normalizePadding=o,e.removeReSpec=s,e.joinAnd=l,e.xmlEscape=u,e.norm=c,e.concatDate=p,e.lead0=d,e.parseSimpleDate=f,e.parseLastModified=h,e.humanDate=m,e.isoDate=g,e.toKeyValuePairs=v,e.linkCSS=b,e.runTransforms=y;var w="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},x=new Set(["a","abbr","acronym","b","bdo","big","br","button","cite","code","dfn","em","i","img","input","kbd","label","map","object","q","samp","script","select","small","span","strong","sub","sup","textarea","time","tt","var"]),_=new Set(["dns-prefetch","preconnect","preload","prerender"]),T=new Set(["document","embed","font","image","manifest","media","object","report","script","serviceworker","sharedworker","style","worker","xslt",""]),E=e.humanMonths=["January","February","March","April","May","June","July","August","September","October","November","December"]}),define("core/remove-respec",["core/utils","core/pubsubhub"],function(e,t){(0,t.sub)("end-all",function(){(0,e.removeReSpec)(document)},{once:!0})}),define("core/base-runner",["exports","core/pubsubhub","core/pre-process","core/post-process","core/default-root-attr","core/respec-ready","core/override-configuration","core/include-config","core/remove-respec"],function(e,t,n,r){function i(e){return function(){var t=e.apply(this,arguments);return new Promise(function(e,n){function r(i,a){try{var o=t[i](a),s=o.value}catch(e){return void n(e)}return o.done?void e(s):Promise.resolve(s).then(function(e){r("next",e)},function(e){r("throw",e)})}return r("next")})}}function a(e){return function(t){return new Promise(function(n,r){e.run(t,document,n),setTimeout(function(){r(new Error("Plugin took too long."))},5e3)})}}Object.defineProperty(e,"__esModule",{value:!0}),e.runAll=void 0,e.runAll=function(){var e=i(regeneratorRuntime.mark(function e(i){var o,s,l,u,c,p,d,f=this;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return(0,t.pub)("start-all",respecConfig),e.next=3,n.done;case 3:o=i.filter(function(e){return e&&"function"==typeof e.run&&e!==f}).map(a),s=!0,l=!1,u=void 0,e.prev=7,c=o[Symbol.iterator]();case 9:if(s=(p=c.next()).done){e.next=22;break}return d=p.value,e.prev=11,e.next=14,d(respecConfig);case 14:e.next=19;break;case 16:e.prev=16,e.t0=e.catch(11),console.error(e.t0);case 19:s=!0,e.next=9;break;case 22:e.next=28;break;case 24:e.prev=24,e.t1=e.catch(7),l=!0,u=e.t1;case 28:e.prev=28,e.prev=29,!s&&c.return&&c.return();case 31:if(e.prev=31,!l){e.next=34;break}throw u;case 34:return e.finish(31);case 35:return e.finish(28);case 36:return(0,t.pub)("plugins-done",respecConfig),e.next=39,r.done;case 39:(0,t.pub)("end-all",respecConfig);case 40:case"end":return e.stop()}},e,this,[[7,24,28,36],[11,16],[29,,31,35]])}));return function(t){return e.apply(this,arguments)}}()});var shortcut={all_shortcuts:{},add:function(e,t,n){var r={type:"keydown",propagate:!1,disable_in_input:!1,target:document,keycode:!1};if(n)for(var i in r)"undefined"==typeof n[i]&&(n[i]=r[i]);else n=r;var a=n.target;"string"==typeof n.target&&(a=document.getElementById(n.target)),e=e.toLowerCase();var o=function(r){var i;if(r=r||window.event,n.disable_in_input){var a;if(r.target?a=r.target:r.srcElement&&(a=r.srcElement),3==a.nodeType&&(a=a.parentNode),"INPUT"==a.tagName||"TEXTAREA"==a.tagName)return}r.keyCode?i=r.keyCode:r.which&&(i=r.which);var o=String.fromCharCode(i).toLowerCase();188==i&&(o=","),190==i&&(o=".");var s=e.split("+"),l=0,u={"`":"~",1:"!",2:"@",3:"#",4:"$",5:"%",6:"^",7:"&",8:"*",9:"(",0:")","-":"_","=":"+",";":":","'":'"',",":"<",".":">","/":"?","\\":"|"},c={esc:27,escape:27,tab:9,space:32,return:13,enter:13,backspace:8,scrolllock:145,scroll_lock:145,scroll:145,capslock:20,caps_lock:20,caps:20,numlock:144,num_lock:144,num:144,pause:19,break:19,insert:45,home:36,delete:46,end:35,pageup:33,page_up:33,pu:33,pagedown:34,page_down:34,pd:34,left:37,up:38,right:39,down:40,f1:112,f2:113,f3:114,f4:115,f5:116,f6:117,f7:118,f8:119,f9:120,f10:121,f11:122,f12:123},p={shift:{wanted:!1,pressed:!1},ctrl:{wanted:!1,pressed:!1},alt:{wanted:!1,pressed:!1},meta:{wanted:!1,pressed:!1}};r.ctrlKey&&(p.ctrl.pressed=!0),r.shiftKey&&(p.shift.pressed=!0),r.altKey&&(p.alt.pressed=!0),r.metaKey&&(p.meta.pressed=!0);for(var d,f=0;d=s[f],f<s.length;f++)"ctrl"==d||"control"==d?(l++,p.ctrl.wanted=!0):"shift"==d?(l++,p.shift.wanted=!0):"alt"==d?(l++,p.alt.wanted=!0):"meta"==d?(l++,p.meta.wanted=!0):d.length>1?c[d]==i&&l++:n.keycode?n.keycode==i&&l++:o==d?l++:u[o]&&r.shiftKey&&(o=u[o],o==d&&l++);if(l==s.length&&p.ctrl.pressed==p.ctrl.wanted&&p.shift.pressed==p.shift.wanted&&p.alt.pressed==p.alt.wanted&&p.meta.pressed==p.meta.wanted&&(t(r),!n.propagate))return r.cancelBubble=!0,r.returnValue=!1,r.stopPropagation&&(r.stopPropagation(),r.preventDefault()),!1};this.all_shortcuts[e]={callback:o,target:a,event:n.type},a.addEventListener?a.addEventListener(n.type,o,!1):a.attachEvent?a.attachEvent("on"+n.type,o):a["on"+n.type]=o}};define("shortcut",function(e){return function(){var t;return t||e.shortcut}}(this)),function(e,t){"object"==typeof module&&"object"==typeof module.exports?module.exports=e.document?t(e,!0):function(e){if(!e.document)throw new Error("jQuery requires a window with a document");return t(e)}:t(e)}("undefined"!=typeof window?window:this,function(e,t){function n(e,t){t=t||te;var n=t.createElement("script");n.text=e,t.head.appendChild(n).parentNode.removeChild(n)}function r(e){var t=!!e&&"length"in e&&e.length,n=he.type(e);return"function"!==n&&!he.isWindow(e)&&("array"===n||0===t||"number"==typeof t&&t>0&&t-1 in e)}function i(e,t,n){return he.isFunction(t)?he.grep(e,function(e,r){return!!t.call(e,r,e)!==n}):t.nodeType?he.grep(e,function(e){return e===t!==n}):"string"!=typeof t?he.grep(e,function(e){return oe.call(t,e)>-1!==n}):Ee.test(t)?he.filter(t,e,n):(t=he.filter(t,e),he.grep(e,function(e){return oe.call(t,e)>-1!==n&&1===e.nodeType}))}function a(e,t){for(;(e=e[t])&&1!==e.nodeType;);return e}function o(e){var t={};return he.each(e.match(De)||[],function(e,n){t[n]=!0}),t}function s(e){return e}function l(e){throw e}function u(e,t,n){var r;try{e&&he.isFunction(r=e.promise)?r.call(e).done(t).fail(n):e&&he.isFunction(r=e.then)?r.call(e,t,n):t.call(void 0,e)}catch(e){n.call(void 0,e)}}function c(){te.removeEventListener("DOMContentLoaded",c),e.removeEventListener("load",c),he.ready()}function p(){this.expando=he.expando+p.uid++}function d(e){return"true"===e||"false"!==e&&("null"===e?null:e===+e+""?+e:Ie.test(e)?JSON.parse(e):e)}function f(e,t,n){var r;if(void 0===n&&1===e.nodeType)if(r="data-"+t.replace(qe,"-$&").toLowerCase(),n=e.getAttribute(r),"string"==typeof n){try{n=d(n)}catch(e){}Me.set(e,t,n)}else n=void 0;return n}function h(e,t,n,r){var i,a=1,o=20,s=r?function(){return r.cur()}:function(){return he.css(e,t,"")},l=s(),u=n&&n[3]||(he.cssNumber[t]?"":"px"),c=(he.cssNumber[t]||"px"!==u&&+l)&&Fe.exec(he.css(e,t));if(c&&c[3]!==u){u=u||c[3],n=n||[],c=+l||1;do a=a||".5",c/=a,he.style(e,t,c+u);while(a!==(a=s()/l)&&1!==a&&--o)}return n&&(c=+c||+l||0,i=n[1]?c+(n[1]+1)*n[2]:+n[2],r&&(r.unit=u,r.start=c,r.end=i)),i}function m(e){var t,n=e.ownerDocument,r=e.nodeName,i=He[r];return i?i:(t=n.body.appendChild(n.createElement(r)),i=he.css(t,"display"),t.parentNode.removeChild(t),"none"===i&&(i="block"),He[r]=i,i)}function g(e,t){for(var n,r,i=[],a=0,o=e.length;a<o;a++)r=e[a],r.style&&(n=r.style.display,t?("none"===n&&(i[a]=Oe.get(r,"display")||null,i[a]||(r.style.display="")),""===r.style.display&&Ke(r)&&(i[a]=m(r))):"none"!==n&&(i[a]="none",Oe.set(r,"display",n)));for(a=0;a<o;a++)null!=i[a]&&(e[a].style.display=i[a]);return e}function v(e,t){var n;return n="undefined"!=typeof e.getElementsByTagName?e.getElementsByTagName(t||"*"):"undefined"!=typeof e.querySelectorAll?e.querySelectorAll(t||"*"):[],void 0===t||t&&he.nodeName(e,t)?he.merge([e],n):n}function b(e,t){for(var n=0,r=e.length;n<r;n++)Oe.set(e[n],"globalEval",!t||Oe.get(t[n],"globalEval"))}function y(e,t,n,r,i){for(var a,o,s,l,u,c,p=t.createDocumentFragment(),d=[],f=0,h=e.length;f<h;f++)if(a=e[f],a||0===a)if("object"===he.type(a))he.merge(d,a.nodeType?[a]:a);else if(Xe.test(a)){for(o=o||p.appendChild(t.createElement("div")),s=(Ve.exec(a)||["",""])[1].toLowerCase(),l=ze[s]||ze._default,o.innerHTML=l[1]+he.htmlPrefilter(a)+l[2],c=l[0];c--;)o=o.lastChild;he.merge(d,o.childNodes),o=p.firstChild,o.textContent=""}else d.push(t.createTextNode(a));for(p.textContent="",f=0;a=d[f++];)if(r&&he.inArray(a,r)>-1)i&&i.push(a);else if(u=he.contains(a.ownerDocument,a),o=v(p.appendChild(a),"script"),u&&b(o),n)for(c=0;a=o[c++];)Ge.test(a.type||"")&&n.push(a);return p}function w(){return!0}function x(){return!1}function _(){try{return te.activeElement}catch(e){}}function T(e,t,n,r,i,a){var o,s;if("object"==typeof t){"string"!=typeof n&&(r=r||n,n=void 0);for(s in t)T(e,s,n,r,t[s],a);return e}if(null==r&&null==i?(i=n,r=n=void 0):null==i&&("string"==typeof n?(i=r,r=void 0):(i=r,r=n,n=void 0)),i===!1)i=x;else if(!i)return e;return 1===a&&(o=i,i=function(e){return he().off(e),o.apply(this,arguments)},i.guid=o.guid||(o.guid=he.guid++)),e.each(function(){he.event.add(this,t,i,r,n)})}function E(e,t){return he.nodeName(e,"table")&&he.nodeName(11!==t.nodeType?t:t.firstChild,"tr")?e.getElementsByTagName("tbody")[0]||e:e}function k(e){return e.type=(null!==e.getAttribute("type"))+"/"+e.type,e}function C(e){var t=rt.exec(e.type);return t?e.type=t[1]:e.removeAttribute("type"),e}function S(e,t){var n,r,i,a,o,s,l,u;if(1===t.nodeType){if(Oe.hasData(e)&&(a=Oe.access(e),o=Oe.set(t,a),u=a.events)){delete o.handle,o.events={};for(i in u)for(n=0,r=u[i].length;n<r;n++)he.event.add(t,i,u[i][n])}Me.hasData(e)&&(s=Me.access(e),l=he.extend({},s),Me.set(t,l))}}function R(e,t){var n=t.nodeName.toLowerCase();"input"===n&&Be.test(e.type)?t.checked=e.checked:"input"!==n&&"textarea"!==n||(t.defaultValue=e.defaultValue)}function A(e,t,r,i){t=ie.apply([],t);var a,o,s,l,u,c,p=0,d=e.length,f=d-1,h=t[0],m=he.isFunction(h);if(m||d>1&&"string"==typeof h&&!de.checkClone&&nt.test(h))return e.each(function(n){var a=e.eq(n);m&&(t[0]=h.call(this,n,a.html())),A(a,t,r,i)});if(d&&(a=y(t,e[0].ownerDocument,!1,e,i),o=a.firstChild,1===a.childNodes.length&&(a=o),o||i)){for(s=he.map(v(a,"script"),k),l=s.length;p<d;p++)u=a,p!==f&&(u=he.clone(u,!0,!0),l&&he.merge(s,v(u,"script"))),r.call(e[p],u,p);if(l)for(c=s[s.length-1].ownerDocument,he.map(s,C),p=0;p<l;p++)u=s[p],Ge.test(u.type||"")&&!Oe.access(u,"globalEval")&&he.contains(c,u)&&(u.src?he._evalUrl&&he._evalUrl(u.src):n(u.textContent.replace(it,""),c))}return e}function D(e,t,n){for(var r,i=t?he.filter(t,e):e,a=0;null!=(r=i[a]);a++)n||1!==r.nodeType||he.cleanData(v(r)),r.parentNode&&(n&&he.contains(r.ownerDocument,r)&&b(v(r,"script")),r.parentNode.removeChild(r));return e}function L(e,t,n){var r,i,a,o,s=e.style;return n=n||st(e),n&&(o=n.getPropertyValue(t)||n[t],""!==o||he.contains(e.ownerDocument,e)||(o=he.style(e,t)),!de.pixelMarginRight()&&ot.test(o)&&at.test(t)&&(r=s.width,i=s.minWidth,a=s.maxWidth,s.minWidth=s.maxWidth=s.width=o,o=n.width,s.width=r,s.minWidth=i,s.maxWidth=a)),void 0!==o?o+"":o}function N(e,t){return{get:function(){return e()?void delete this.get:(this.get=t).apply(this,arguments)}}}function P(e){if(e in dt)return e;for(var t=e[0].toUpperCase()+e.slice(1),n=pt.length;n--;)if(e=pt[n]+t,e in dt)return e}function j(e,t,n){var r=Fe.exec(t);return r?Math.max(0,r[2]-(n||0))+(r[3]||"px"):t}function O(e,t,n,r,i){var a,o=0;for(a=n===(r?"border":"content")?4:"width"===t?1:0;a<4;a+=2)"margin"===n&&(o+=he.css(e,n+Ue[a],!0,i)),r?("content"===n&&(o-=he.css(e,"padding"+Ue[a],!0,i)),"margin"!==n&&(o-=he.css(e,"border"+Ue[a]+"Width",!0,i))):(o+=he.css(e,"padding"+Ue[a],!0,i),"padding"!==n&&(o+=he.css(e,"border"+Ue[a]+"Width",!0,i)));return o}function M(e,t,n){var r,i=!0,a=st(e),o="border-box"===he.css(e,"boxSizing",!1,a);if(e.getClientRects().length&&(r=e.getBoundingClientRect()[t]),r<=0||null==r){if(r=L(e,t,a),(r<0||null==r)&&(r=e.style[t]),ot.test(r))return r;i=o&&(de.boxSizingReliable()||r===e.style[t]),r=parseFloat(r)||0}return r+O(e,t,n||(o?"border":"content"),i,a)+"px"}function I(e,t,n,r,i){return new I.prototype.init(e,t,n,r,i)}function q(){ht&&(e.requestAnimationFrame(q),he.fx.tick())}function $(){return e.setTimeout(function(){ft=void 0}),ft=he.now()}function F(e,t){var n,r=0,i={height:e};for(t=t?1:0;r<4;r+=2-t)n=Ue[r],i["margin"+n]=i["padding"+n]=e;return t&&(i.opacity=i.width=e),i}function U(e,t,n){for(var r,i=(H.tweeners[t]||[]).concat(H.tweeners["*"]),a=0,o=i.length;a<o;a++)if(r=i[a].call(n,t,e))return r}function K(e,t,n){var r,i,a,o,s,l,u,c,p="width"in t||"height"in t,d=this,f={},h=e.style,m=e.nodeType&&Ke(e),v=Oe.get(e,"fxshow");n.queue||(o=he._queueHooks(e,"fx"),null==o.unqueued&&(o.unqueued=0,s=o.empty.fire,o.empty.fire=function(){o.unqueued||s()}),o.unqueued++,d.always(function(){d.always(function(){o.unqueued--,he.queue(e,"fx").length||o.empty.fire()})}));for(r in t)if(i=t[r],mt.test(i)){if(delete t[r],a=a||"toggle"===i,i===(m?"hide":"show")){if("show"!==i||!v||void 0===v[r])continue;m=!0}f[r]=v&&v[r]||he.style(e,r)}if(l=!he.isEmptyObject(t),l||!he.isEmptyObject(f)){p&&1===e.nodeType&&(n.overflow=[h.overflow,h.overflowX,h.overflowY],u=v&&v.display,null==u&&(u=Oe.get(e,"display")),c=he.css(e,"display"),"none"===c&&(u?c=u:(g([e],!0),u=e.style.display||u,c=he.css(e,"display"),g([e]))),("inline"===c||"inline-block"===c&&null!=u)&&"none"===he.css(e,"float")&&(l||(d.done(function(){h.display=u}),null==u&&(c=h.display,u="none"===c?"":c)),h.display="inline-block")),n.overflow&&(h.overflow="hidden",d.always(function(){h.overflow=n.overflow[0],h.overflowX=n.overflow[1],h.overflowY=n.overflow[2]})),l=!1;for(r in f)l||(v?"hidden"in v&&(m=v.hidden):v=Oe.access(e,"fxshow",{display:u}),a&&(v.hidden=!m),m&&g([e],!0),d.done(function(){m||g([e]),Oe.remove(e,"fxshow");for(r in f)he.style(e,r,f[r])})),l=U(m?v[r]:0,r,d),r in v||(v[r]=l.start,m&&(l.end=l.start,l.start=0))}}function W(e,t){var n,r,i,a,o;for(n in e)if(r=he.camelCase(n),i=t[r],a=e[n],he.isArray(a)&&(i=a[1],a=e[n]=a[0]),n!==r&&(e[r]=a,delete e[n]),o=he.cssHooks[r],o&&"expand"in o){a=o.expand(a),delete e[r];for(n in a)n in e||(e[n]=a[n],t[n]=i)}else t[r]=i}function H(e,t,n){var r,i,a=0,o=H.prefilters.length,s=he.Deferred().always(function(){delete l.elem}),l=function(){if(i)return!1;for(var t=ft||$(),n=Math.max(0,u.startTime+u.duration-t),r=n/u.duration||0,a=1-r,o=0,l=u.tweens.length;o<l;o++)u.tweens[o].run(a);return s.notifyWith(e,[u,a,n]),a<1&&l?n:(s.resolveWith(e,[u]),!1)},u=s.promise({elem:e,props:he.extend({},t),opts:he.extend(!0,{specialEasing:{},easing:he.easing._default},n),originalProperties:t,originalOptions:n,startTime:ft||$(),duration:n.duration,tweens:[],createTween:function(t,n){var r=he.Tween(e,u.opts,t,n,u.opts.specialEasing[t]||u.opts.easing);return u.tweens.push(r),r},stop:function(t){var n=0,r=t?u.tweens.length:0;if(i)return this;for(i=!0;n<r;n++)u.tweens[n].run(1);return t?(s.notifyWith(e,[u,1,0]),s.resolveWith(e,[u,t])):s.rejectWith(e,[u,t]),this}}),c=u.props;for(W(c,u.opts.specialEasing);a<o;a++)if(r=H.prefilters[a].call(u,e,c,u.opts))return he.isFunction(r.stop)&&(he._queueHooks(u.elem,u.opts.queue).stop=he.proxy(r.stop,r)),r;return he.map(c,U,u),he.isFunction(u.opts.start)&&u.opts.start.call(e,u),he.fx.timer(he.extend(l,{elem:e,anim:u,queue:u.opts.queue})),u.progress(u.opts.progress).done(u.opts.done,u.opts.complete).fail(u.opts.fail).always(u.opts.always)}function B(e){var t=e.match(De)||[];return t.join(" ")}function V(e){return e.getAttribute&&e.getAttribute("class")||""}function G(e,t,n,r){var i;if(he.isArray(t))he.each(t,function(t,i){n||Ct.test(e)?r(e,i):G(e+"["+("object"==typeof i&&null!=i?t:"")+"]",i,n,r)});else if(n||"object"!==he.type(t))r(e,t);else for(i in t)G(e+"["+i+"]",t[i],n,r)}function z(e){return function(t,n){"string"!=typeof t&&(n=t,t="*");var r,i=0,a=t.toLowerCase().match(De)||[];if(he.isFunction(n))for(;r=a[i++];)"+"===r[0]?(r=r.slice(1)||"*",(e[r]=e[r]||[]).unshift(n)):(e[r]=e[r]||[]).push(n)}}function X(e,t,n,r){function i(s){var l;return a[s]=!0,he.each(e[s]||[],function(e,s){var u=s(t,n,r);return"string"!=typeof u||o||a[u]?o?!(l=u):void 0:(t.dataTypes.unshift(u),i(u),!1)}),l}var a={},o=e===qt;return i(t.dataTypes[0])||!a["*"]&&i("*")}function Y(e,t){var n,r,i=he.ajaxSettings.flatOptions||{};for(n in t)void 0!==t[n]&&((i[n]?e:r||(r={}))[n]=t[n]);return r&&he.extend(!0,e,r),e}function Q(e,t,n){for(var r,i,a,o,s=e.contents,l=e.dataTypes;"*"===l[0];)l.shift(),void 0===r&&(r=e.mimeType||t.getResponseHeader("Content-Type"));if(r)for(i in s)if(s[i]&&s[i].test(r)){l.unshift(i);break}if(l[0]in n)a=l[0];else{for(i in n){if(!l[0]||e.converters[i+" "+l[0]]){a=i;break}o||(o=i)}a=a||o}if(a)return a!==l[0]&&l.unshift(a),n[a]}function J(e,t,n,r){var i,a,o,s,l,u={},c=e.dataTypes.slice();if(c[1])for(o in e.converters)u[o.toLowerCase()]=e.converters[o];for(a=c.shift();a;)if(e.responseFields[a]&&(n[e.responseFields[a]]=t),!l&&r&&e.dataFilter&&(t=e.dataFilter(t,e.dataType)),l=a,a=c.shift())if("*"===a)a=l;else if("*"!==l&&l!==a){if(o=u[l+" "+a]||u["* "+a],!o)for(i in u)if(s=i.split(" "),s[1]===a&&(o=u[l+" "+s[0]]||u["* "+s[0]])){o===!0?o=u[i]:u[i]!==!0&&(a=s[0],c.unshift(s[1]));break}if(o!==!0)if(o&&e.throws)t=o(t);else try{t=o(t)}catch(e){return{state:"parsererror",error:o?e:"No conversion from "+l+" to "+a}}}return{state:"success",data:t}}function Z(e){return he.isWindow(e)?e:9===e.nodeType&&e.defaultView}var ee=[],te=e.document,ne=Object.getPrototypeOf,re=ee.slice,ie=ee.concat,ae=ee.push,oe=ee.indexOf,se={},le=se.toString,ue=se.hasOwnProperty,ce=ue.toString,pe=ce.call(Object),de={},fe="3.1.1",he=function(e,t){return new he.fn.init(e,t)},me=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,ge=/^-ms-/,ve=/-([a-z])/g,be=function(e,t){return t.toUpperCase()};he.fn=he.prototype={jquery:fe,constructor:he,length:0,toArray:function(){return re.call(this)},get:function(e){return null==e?re.call(this):e<0?this[e+this.length]:this[e]},pushStack:function(e){var t=he.merge(this.constructor(),e);return t.prevObject=this,t},each:function(e){return he.each(this,e)},map:function(e){return this.pushStack(he.map(this,function(t,n){return e.call(t,n,t)}))},slice:function(){return this.pushStack(re.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},eq:function(e){var t=this.length,n=+e+(e<0?t:0);return this.pushStack(n>=0&&n<t?[this[n]]:[])},end:function(){return this.prevObject||this.constructor()},push:ae,sort:ee.sort,splice:ee.splice},he.extend=he.fn.extend=function(){var e,t,n,r,i,a,o=arguments[0]||{},s=1,l=arguments.length,u=!1;for("boolean"==typeof o&&(u=o,o=arguments[s]||{},s++),"object"==typeof o||he.isFunction(o)||(o={}),s===l&&(o=this,s--);s<l;s++)if(null!=(e=arguments[s]))for(t in e)n=o[t],r=e[t],o!==r&&(u&&r&&(he.isPlainObject(r)||(i=he.isArray(r)))?(i?(i=!1,a=n&&he.isArray(n)?n:[]):a=n&&he.isPlainObject(n)?n:{},o[t]=he.extend(u,a,r)):void 0!==r&&(o[t]=r));return o},he.extend({expando:"jQuery"+(fe+Math.random()).replace(/\D/g,""),isReady:!0,error:function(e){throw new Error(e)},noop:function(){},isFunction:function(e){return"function"===he.type(e)},isArray:Array.isArray,isWindow:function(e){return null!=e&&e===e.window},isNumeric:function(e){var t=he.type(e);return("number"===t||"string"===t)&&!isNaN(e-parseFloat(e))},isPlainObject:function(e){var t,n;return!(!e||"[object Object]"!==le.call(e)||(t=ne(e))&&(n=ue.call(t,"constructor")&&t.constructor,"function"!=typeof n||ce.call(n)!==pe))},isEmptyObject:function(e){var t;for(t in e)return!1;return!0},type:function(e){return null==e?e+"":"object"==typeof e||"function"==typeof e?se[le.call(e)]||"object":typeof e},globalEval:function(e){n(e)},camelCase:function(e){return e.replace(ge,"ms-").replace(ve,be)},nodeName:function(e,t){return e.nodeName&&e.nodeName.toLowerCase()===t.toLowerCase()},each:function(e,t){var n,i=0;if(r(e))for(n=e.length;i<n&&t.call(e[i],i,e[i])!==!1;i++);else for(i in e)if(t.call(e[i],i,e[i])===!1)break;return e},trim:function(e){return null==e?"":(e+"").replace(me,"")},makeArray:function(e,t){var n=t||[];return null!=e&&(r(Object(e))?he.merge(n,"string"==typeof e?[e]:e):ae.call(n,e)),n},inArray:function(e,t,n){return null==t?-1:oe.call(t,e,n)},merge:function(e,t){for(var n=+t.length,r=0,i=e.length;r<n;r++)e[i++]=t[r];return e.length=i,e},grep:function(e,t,n){for(var r,i=[],a=0,o=e.length,s=!n;a<o;a++)r=!t(e[a],a),r!==s&&i.push(e[a]);return i},map:function(e,t,n){var i,a,o=0,s=[];if(r(e))for(i=e.length;o<i;o++)a=t(e[o],o,n),null!=a&&s.push(a);else for(o in e)a=t(e[o],o,n),null!=a&&s.push(a);return ie.apply([],s)},guid:1,proxy:function(e,t){var n,r,i;if("string"==typeof t&&(n=e[t],t=e,e=n),he.isFunction(e))return r=re.call(arguments,2),i=function(){return e.apply(t||this,r.concat(re.call(arguments)))},i.guid=e.guid=e.guid||he.guid++,i},now:Date.now,support:de}),"function"==typeof Symbol&&(he.fn[Symbol.iterator]=ee[Symbol.iterator]),he.each("Boolean Number String Function Array Date RegExp Object Error Symbol".split(" "),function(e,t){se["[object "+t+"]"]=t.toLowerCase()});var ye=function(e){function t(e,t,n,r){var i,a,o,s,l,u,c,d=t&&t.ownerDocument,h=t?t.nodeType:9;if(n=n||[],"string"!=typeof e||!e||1!==h&&9!==h&&11!==h)return n;if(!r&&((t?t.ownerDocument||t:U)!==P&&N(t),t=t||P,O)){if(11!==h&&(l=ve.exec(e)))if(i=l[1]){if(9===h){if(!(o=t.getElementById(i)))return n;if(o.id===i)return n.push(o),n}else if(d&&(o=d.getElementById(i))&&$(t,o)&&o.id===i)return n.push(o),n}else{if(l[2])return J.apply(n,t.getElementsByTagName(e)),n;if((i=l[3])&&_.getElementsByClassName&&t.getElementsByClassName)return J.apply(n,t.getElementsByClassName(i)),n}if(_.qsa&&!V[e+" "]&&(!M||!M.test(e))){if(1!==h)d=t,c=e;else if("object"!==t.nodeName.toLowerCase()){for((s=t.getAttribute("id"))?s=s.replace(xe,_e):t.setAttribute("id",s=F),u=C(e),a=u.length;a--;)u[a]="#"+s+" "+f(u[a]);c=u.join(","),d=be.test(e)&&p(t.parentNode)||t}if(c)try{return J.apply(n,d.querySelectorAll(c)),n}catch(e){}finally{s===F&&t.removeAttribute("id")}}}return R(e.replace(se,"$1"),t,n,r)}function n(){function e(n,r){return t.push(n+" ")>T.cacheLength&&delete e[t.shift()],e[n+" "]=r}var t=[];return e}function r(e){return e[F]=!0,e}function i(e){var t=P.createElement("fieldset");try{return!!e(t)}catch(e){return!1}finally{t.parentNode&&t.parentNode.removeChild(t),t=null}}function a(e,t){for(var n=e.split("|"),r=n.length;r--;)T.attrHandle[n[r]]=t}function o(e,t){var n=t&&e,r=n&&1===e.nodeType&&1===t.nodeType&&e.sourceIndex-t.sourceIndex;if(r)return r;if(n)for(;n=n.nextSibling;)if(n===t)return-1;return e?1:-1}function s(e){return function(t){var n=t.nodeName.toLowerCase();return"input"===n&&t.type===e}}function l(e){return function(t){var n=t.nodeName.toLowerCase();return("input"===n||"button"===n)&&t.type===e}}function u(e){return function(t){return"form"in t?t.parentNode&&t.disabled===!1?"label"in t?"label"in t.parentNode?t.parentNode.disabled===e:t.disabled===e:t.isDisabled===e||t.isDisabled!==!e&&Ee(t)===e:t.disabled===e:"label"in t&&t.disabled===e}}function c(e){return r(function(t){return t=+t,r(function(n,r){for(var i,a=e([],n.length,t),o=a.length;o--;)n[i=a[o]]&&(n[i]=!(r[i]=n[i]))})})}function p(e){return e&&"undefined"!=typeof e.getElementsByTagName&&e;
}function d(){}function f(e){for(var t=0,n=e.length,r="";t<n;t++)r+=e[t].value;return r}function h(e,t,n){var r=t.dir,i=t.next,a=i||r,o=n&&"parentNode"===a,s=W++;return t.first?function(t,n,i){for(;t=t[r];)if(1===t.nodeType||o)return e(t,n,i);return!1}:function(t,n,l){var u,c,p,d=[K,s];if(l){for(;t=t[r];)if((1===t.nodeType||o)&&e(t,n,l))return!0}else for(;t=t[r];)if(1===t.nodeType||o)if(p=t[F]||(t[F]={}),c=p[t.uniqueID]||(p[t.uniqueID]={}),i&&i===t.nodeName.toLowerCase())t=t[r]||t;else{if((u=c[a])&&u[0]===K&&u[1]===s)return d[2]=u[2];if(c[a]=d,d[2]=e(t,n,l))return!0}return!1}}function m(e){return e.length>1?function(t,n,r){for(var i=e.length;i--;)if(!e[i](t,n,r))return!1;return!0}:e[0]}function g(e,n,r){for(var i=0,a=n.length;i<a;i++)t(e,n[i],r);return r}function v(e,t,n,r,i){for(var a,o=[],s=0,l=e.length,u=null!=t;s<l;s++)(a=e[s])&&(n&&!n(a,r,i)||(o.push(a),u&&t.push(s)));return o}function b(e,t,n,i,a,o){return i&&!i[F]&&(i=b(i)),a&&!a[F]&&(a=b(a,o)),r(function(r,o,s,l){var u,c,p,d=[],f=[],h=o.length,m=r||g(t||"*",s.nodeType?[s]:s,[]),b=!e||!r&&t?m:v(m,d,e,s,l),y=n?a||(r?e:h||i)?[]:o:b;if(n&&n(b,y,s,l),i)for(u=v(y,f),i(u,[],s,l),c=u.length;c--;)(p=u[c])&&(y[f[c]]=!(b[f[c]]=p));if(r){if(a||e){if(a){for(u=[],c=y.length;c--;)(p=y[c])&&u.push(b[c]=p);a(null,y=[],u,l)}for(c=y.length;c--;)(p=y[c])&&(u=a?ee(r,p):d[c])>-1&&(r[u]=!(o[u]=p))}}else y=v(y===o?y.splice(h,y.length):y),a?a(null,o,y,l):J.apply(o,y)})}function y(e){for(var t,n,r,i=e.length,a=T.relative[e[0].type],o=a||T.relative[" "],s=a?1:0,l=h(function(e){return e===t},o,!0),u=h(function(e){return ee(t,e)>-1},o,!0),c=[function(e,n,r){var i=!a&&(r||n!==A)||((t=n).nodeType?l(e,n,r):u(e,n,r));return t=null,i}];s<i;s++)if(n=T.relative[e[s].type])c=[h(m(c),n)];else{if(n=T.filter[e[s].type].apply(null,e[s].matches),n[F]){for(r=++s;r<i&&!T.relative[e[r].type];r++);return b(s>1&&m(c),s>1&&f(e.slice(0,s-1).concat({value:" "===e[s-2].type?"*":""})).replace(se,"$1"),n,s<r&&y(e.slice(s,r)),r<i&&y(e=e.slice(r)),r<i&&f(e))}c.push(n)}return m(c)}function w(e,n){var i=n.length>0,a=e.length>0,o=function(r,o,s,l,u){var c,p,d,f=0,h="0",m=r&&[],g=[],b=A,y=r||a&&T.find.TAG("*",u),w=K+=null==b?1:Math.random()||.1,x=y.length;for(u&&(A=o===P||o||u);h!==x&&null!=(c=y[h]);h++){if(a&&c){for(p=0,o||c.ownerDocument===P||(N(c),s=!O);d=e[p++];)if(d(c,o||P,s)){l.push(c);break}u&&(K=w)}i&&((c=!d&&c)&&f--,r&&m.push(c))}if(f+=h,i&&h!==f){for(p=0;d=n[p++];)d(m,g,o,s);if(r){if(f>0)for(;h--;)m[h]||g[h]||(g[h]=Y.call(l));g=v(g)}J.apply(l,g),u&&!r&&g.length>0&&f+n.length>1&&t.uniqueSort(l)}return u&&(K=w,A=b),m};return i?r(o):o}var x,_,T,E,k,C,S,R,A,D,L,N,P,j,O,M,I,q,$,F="sizzle"+1*new Date,U=e.document,K=0,W=0,H=n(),B=n(),V=n(),G=function(e,t){return e===t&&(L=!0),0},z={}.hasOwnProperty,X=[],Y=X.pop,Q=X.push,J=X.push,Z=X.slice,ee=function(e,t){for(var n=0,r=e.length;n<r;n++)if(e[n]===t)return n;return-1},te="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",ne="[\\x20\\t\\r\\n\\f]",re="(?:\\\\.|[\\w-]|[^\0-\\xa0])+",ie="\\["+ne+"*("+re+")(?:"+ne+"*([*^$|!~]?=)"+ne+"*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|("+re+"))|)"+ne+"*\\]",ae=":("+re+")(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|"+ie+")*)|.*)\\)|)",oe=new RegExp(ne+"+","g"),se=new RegExp("^"+ne+"+|((?:^|[^\\\\])(?:\\\\.)*)"+ne+"+$","g"),le=new RegExp("^"+ne+"*,"+ne+"*"),ue=new RegExp("^"+ne+"*([>+~]|"+ne+")"+ne+"*"),ce=new RegExp("="+ne+"*([^\\]'\"]*?)"+ne+"*\\]","g"),pe=new RegExp(ae),de=new RegExp("^"+re+"$"),fe={ID:new RegExp("^#("+re+")"),CLASS:new RegExp("^\\.("+re+")"),TAG:new RegExp("^("+re+"|[*])"),ATTR:new RegExp("^"+ie),PSEUDO:new RegExp("^"+ae),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+ne+"*(even|odd|(([+-]|)(\\d*)n|)"+ne+"*(?:([+-]|)"+ne+"*(\\d+)|))"+ne+"*\\)|)","i"),bool:new RegExp("^(?:"+te+")$","i"),needsContext:new RegExp("^"+ne+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+ne+"*((?:-\\d)?\\d*)"+ne+"*\\)|)(?=[^-]|$)","i")},he=/^(?:input|select|textarea|button)$/i,me=/^h\d$/i,ge=/^[^{]+\{\s*\[native \w/,ve=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,be=/[+~]/,ye=new RegExp("\\\\([\\da-f]{1,6}"+ne+"?|("+ne+")|.)","ig"),we=function(e,t,n){var r="0x"+t-65536;return r!==r||n?t:r<0?String.fromCharCode(r+65536):String.fromCharCode(r>>10|55296,1023&r|56320)},xe=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\0-\x1f\x7f-\uFFFF\w-]/g,_e=function(e,t){return t?"\0"===e?"�":e.slice(0,-1)+"\\"+e.charCodeAt(e.length-1).toString(16)+" ":"\\"+e},Te=function(){N()},Ee=h(function(e){return e.disabled===!0&&("form"in e||"label"in e)},{dir:"parentNode",next:"legend"});try{J.apply(X=Z.call(U.childNodes),U.childNodes),X[U.childNodes.length].nodeType}catch(e){J={apply:X.length?function(e,t){Q.apply(e,Z.call(t))}:function(e,t){for(var n=e.length,r=0;e[n++]=t[r++];);e.length=n-1}}}_=t.support={},k=t.isXML=function(e){var t=e&&(e.ownerDocument||e).documentElement;return!!t&&"HTML"!==t.nodeName},N=t.setDocument=function(e){var t,n,r=e?e.ownerDocument||e:U;return r!==P&&9===r.nodeType&&r.documentElement?(P=r,j=P.documentElement,O=!k(P),U!==P&&(n=P.defaultView)&&n.top!==n&&(n.addEventListener?n.addEventListener("unload",Te,!1):n.attachEvent&&n.attachEvent("onunload",Te)),_.attributes=i(function(e){return e.className="i",!e.getAttribute("className")}),_.getElementsByTagName=i(function(e){return e.appendChild(P.createComment("")),!e.getElementsByTagName("*").length}),_.getElementsByClassName=ge.test(P.getElementsByClassName),_.getById=i(function(e){return j.appendChild(e).id=F,!P.getElementsByName||!P.getElementsByName(F).length}),_.getById?(T.filter.ID=function(e){var t=e.replace(ye,we);return function(e){return e.getAttribute("id")===t}},T.find.ID=function(e,t){if("undefined"!=typeof t.getElementById&&O){var n=t.getElementById(e);return n?[n]:[]}}):(T.filter.ID=function(e){var t=e.replace(ye,we);return function(e){var n="undefined"!=typeof e.getAttributeNode&&e.getAttributeNode("id");return n&&n.value===t}},T.find.ID=function(e,t){if("undefined"!=typeof t.getElementById&&O){var n,r,i,a=t.getElementById(e);if(a){if(n=a.getAttributeNode("id"),n&&n.value===e)return[a];for(i=t.getElementsByName(e),r=0;a=i[r++];)if(n=a.getAttributeNode("id"),n&&n.value===e)return[a]}return[]}}),T.find.TAG=_.getElementsByTagName?function(e,t){return"undefined"!=typeof t.getElementsByTagName?t.getElementsByTagName(e):_.qsa?t.querySelectorAll(e):void 0}:function(e,t){var n,r=[],i=0,a=t.getElementsByTagName(e);if("*"===e){for(;n=a[i++];)1===n.nodeType&&r.push(n);return r}return a},T.find.CLASS=_.getElementsByClassName&&function(e,t){if("undefined"!=typeof t.getElementsByClassName&&O)return t.getElementsByClassName(e)},I=[],M=[],(_.qsa=ge.test(P.querySelectorAll))&&(i(function(e){j.appendChild(e).innerHTML="<a id='"+F+"'></a><select id='"+F+"-\r\\' msallowcapture=''><option selected=''></option></select>",e.querySelectorAll("[msallowcapture^='']").length&&M.push("[*^$]="+ne+"*(?:''|\"\")"),e.querySelectorAll("[selected]").length||M.push("\\["+ne+"*(?:value|"+te+")"),e.querySelectorAll("[id~="+F+"-]").length||M.push("~="),e.querySelectorAll(":checked").length||M.push(":checked"),e.querySelectorAll("a#"+F+"+*").length||M.push(".#.+[+~]")}),i(function(e){e.innerHTML="<a href='' disabled='disabled'></a><select disabled='disabled'><option/></select>";var t=P.createElement("input");t.setAttribute("type","hidden"),e.appendChild(t).setAttribute("name","D"),e.querySelectorAll("[name=d]").length&&M.push("name"+ne+"*[*^$|!~]?="),2!==e.querySelectorAll(":enabled").length&&M.push(":enabled",":disabled"),j.appendChild(e).disabled=!0,2!==e.querySelectorAll(":disabled").length&&M.push(":enabled",":disabled"),e.querySelectorAll("*,:x"),M.push(",.*:")})),(_.matchesSelector=ge.test(q=j.matches||j.webkitMatchesSelector||j.mozMatchesSelector||j.oMatchesSelector||j.msMatchesSelector))&&i(function(e){_.disconnectedMatch=q.call(e,"*"),q.call(e,"[s!='']:x"),I.push("!=",ae)}),M=M.length&&new RegExp(M.join("|")),I=I.length&&new RegExp(I.join("|")),t=ge.test(j.compareDocumentPosition),$=t||ge.test(j.contains)?function(e,t){var n=9===e.nodeType?e.documentElement:e,r=t&&t.parentNode;return e===r||!(!r||1!==r.nodeType||!(n.contains?n.contains(r):e.compareDocumentPosition&&16&e.compareDocumentPosition(r)))}:function(e,t){if(t)for(;t=t.parentNode;)if(t===e)return!0;return!1},G=t?function(e,t){if(e===t)return L=!0,0;var n=!e.compareDocumentPosition-!t.compareDocumentPosition;return n?n:(n=(e.ownerDocument||e)===(t.ownerDocument||t)?e.compareDocumentPosition(t):1,1&n||!_.sortDetached&&t.compareDocumentPosition(e)===n?e===P||e.ownerDocument===U&&$(U,e)?-1:t===P||t.ownerDocument===U&&$(U,t)?1:D?ee(D,e)-ee(D,t):0:4&n?-1:1)}:function(e,t){if(e===t)return L=!0,0;var n,r=0,i=e.parentNode,a=t.parentNode,s=[e],l=[t];if(!i||!a)return e===P?-1:t===P?1:i?-1:a?1:D?ee(D,e)-ee(D,t):0;if(i===a)return o(e,t);for(n=e;n=n.parentNode;)s.unshift(n);for(n=t;n=n.parentNode;)l.unshift(n);for(;s[r]===l[r];)r++;return r?o(s[r],l[r]):s[r]===U?-1:l[r]===U?1:0},P):P},t.matches=function(e,n){return t(e,null,null,n)},t.matchesSelector=function(e,n){if((e.ownerDocument||e)!==P&&N(e),n=n.replace(ce,"='$1']"),_.matchesSelector&&O&&!V[n+" "]&&(!I||!I.test(n))&&(!M||!M.test(n)))try{var r=q.call(e,n);if(r||_.disconnectedMatch||e.document&&11!==e.document.nodeType)return r}catch(e){}return t(n,P,null,[e]).length>0},t.contains=function(e,t){return(e.ownerDocument||e)!==P&&N(e),$(e,t)},t.attr=function(e,t){(e.ownerDocument||e)!==P&&N(e);var n=T.attrHandle[t.toLowerCase()],r=n&&z.call(T.attrHandle,t.toLowerCase())?n(e,t,!O):void 0;return void 0!==r?r:_.attributes||!O?e.getAttribute(t):(r=e.getAttributeNode(t))&&r.specified?r.value:null},t.escape=function(e){return(e+"").replace(xe,_e)},t.error=function(e){throw new Error("Syntax error, unrecognized expression: "+e)},t.uniqueSort=function(e){var t,n=[],r=0,i=0;if(L=!_.detectDuplicates,D=!_.sortStable&&e.slice(0),e.sort(G),L){for(;t=e[i++];)t===e[i]&&(r=n.push(i));for(;r--;)e.splice(n[r],1)}return D=null,e},E=t.getText=function(e){var t,n="",r=0,i=e.nodeType;if(i){if(1===i||9===i||11===i){if("string"==typeof e.textContent)return e.textContent;for(e=e.firstChild;e;e=e.nextSibling)n+=E(e)}else if(3===i||4===i)return e.nodeValue}else for(;t=e[r++];)n+=E(t);return n},T=t.selectors={cacheLength:50,createPseudo:r,match:fe,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(e){return e[1]=e[1].replace(ye,we),e[3]=(e[3]||e[4]||e[5]||"").replace(ye,we),"~="===e[2]&&(e[3]=" "+e[3]+" "),e.slice(0,4)},CHILD:function(e){return e[1]=e[1].toLowerCase(),"nth"===e[1].slice(0,3)?(e[3]||t.error(e[0]),e[4]=+(e[4]?e[5]+(e[6]||1):2*("even"===e[3]||"odd"===e[3])),e[5]=+(e[7]+e[8]||"odd"===e[3])):e[3]&&t.error(e[0]),e},PSEUDO:function(e){var t,n=!e[6]&&e[2];return fe.CHILD.test(e[0])?null:(e[3]?e[2]=e[4]||e[5]||"":n&&pe.test(n)&&(t=C(n,!0))&&(t=n.indexOf(")",n.length-t)-n.length)&&(e[0]=e[0].slice(0,t),e[2]=n.slice(0,t)),e.slice(0,3))}},filter:{TAG:function(e){var t=e.replace(ye,we).toLowerCase();return"*"===e?function(){return!0}:function(e){return e.nodeName&&e.nodeName.toLowerCase()===t}},CLASS:function(e){var t=H[e+" "];return t||(t=new RegExp("(^|"+ne+")"+e+"("+ne+"|$)"))&&H(e,function(e){return t.test("string"==typeof e.className&&e.className||"undefined"!=typeof e.getAttribute&&e.getAttribute("class")||"")})},ATTR:function(e,n,r){return function(i){var a=t.attr(i,e);return null==a?"!="===n:!n||(a+="","="===n?a===r:"!="===n?a!==r:"^="===n?r&&0===a.indexOf(r):"*="===n?r&&a.indexOf(r)>-1:"$="===n?r&&a.slice(-r.length)===r:"~="===n?(" "+a.replace(oe," ")+" ").indexOf(r)>-1:"|="===n&&(a===r||a.slice(0,r.length+1)===r+"-"))}},CHILD:function(e,t,n,r,i){var a="nth"!==e.slice(0,3),o="last"!==e.slice(-4),s="of-type"===t;return 1===r&&0===i?function(e){return!!e.parentNode}:function(t,n,l){var u,c,p,d,f,h,m=a!==o?"nextSibling":"previousSibling",g=t.parentNode,v=s&&t.nodeName.toLowerCase(),b=!l&&!s,y=!1;if(g){if(a){for(;m;){for(d=t;d=d[m];)if(s?d.nodeName.toLowerCase()===v:1===d.nodeType)return!1;h=m="only"===e&&!h&&"nextSibling"}return!0}if(h=[o?g.firstChild:g.lastChild],o&&b){for(d=g,p=d[F]||(d[F]={}),c=p[d.uniqueID]||(p[d.uniqueID]={}),u=c[e]||[],f=u[0]===K&&u[1],y=f&&u[2],d=f&&g.childNodes[f];d=++f&&d&&d[m]||(y=f=0)||h.pop();)if(1===d.nodeType&&++y&&d===t){c[e]=[K,f,y];break}}else if(b&&(d=t,p=d[F]||(d[F]={}),c=p[d.uniqueID]||(p[d.uniqueID]={}),u=c[e]||[],f=u[0]===K&&u[1],y=f),y===!1)for(;(d=++f&&d&&d[m]||(y=f=0)||h.pop())&&((s?d.nodeName.toLowerCase()!==v:1!==d.nodeType)||!++y||(b&&(p=d[F]||(d[F]={}),c=p[d.uniqueID]||(p[d.uniqueID]={}),c[e]=[K,y]),d!==t)););return y-=i,y===r||y%r===0&&y/r>=0}}},PSEUDO:function(e,n){var i,a=T.pseudos[e]||T.setFilters[e.toLowerCase()]||t.error("unsupported pseudo: "+e);return a[F]?a(n):a.length>1?(i=[e,e,"",n],T.setFilters.hasOwnProperty(e.toLowerCase())?r(function(e,t){for(var r,i=a(e,n),o=i.length;o--;)r=ee(e,i[o]),e[r]=!(t[r]=i[o])}):function(e){return a(e,0,i)}):a}},pseudos:{not:r(function(e){var t=[],n=[],i=S(e.replace(se,"$1"));return i[F]?r(function(e,t,n,r){for(var a,o=i(e,null,r,[]),s=e.length;s--;)(a=o[s])&&(e[s]=!(t[s]=a))}):function(e,r,a){return t[0]=e,i(t,null,a,n),t[0]=null,!n.pop()}}),has:r(function(e){return function(n){return t(e,n).length>0}}),contains:r(function(e){return e=e.replace(ye,we),function(t){return(t.textContent||t.innerText||E(t)).indexOf(e)>-1}}),lang:r(function(e){return de.test(e||"")||t.error("unsupported lang: "+e),e=e.replace(ye,we).toLowerCase(),function(t){var n;do if(n=O?t.lang:t.getAttribute("xml:lang")||t.getAttribute("lang"))return n=n.toLowerCase(),n===e||0===n.indexOf(e+"-");while((t=t.parentNode)&&1===t.nodeType);return!1}}),target:function(t){var n=e.location&&e.location.hash;return n&&n.slice(1)===t.id},root:function(e){return e===j},focus:function(e){return e===P.activeElement&&(!P.hasFocus||P.hasFocus())&&!!(e.type||e.href||~e.tabIndex)},enabled:u(!1),disabled:u(!0),checked:function(e){var t=e.nodeName.toLowerCase();return"input"===t&&!!e.checked||"option"===t&&!!e.selected},selected:function(e){return e.parentNode&&e.parentNode.selectedIndex,e.selected===!0},empty:function(e){for(e=e.firstChild;e;e=e.nextSibling)if(e.nodeType<6)return!1;return!0},parent:function(e){return!T.pseudos.empty(e)},header:function(e){return me.test(e.nodeName)},input:function(e){return he.test(e.nodeName)},button:function(e){var t=e.nodeName.toLowerCase();return"input"===t&&"button"===e.type||"button"===t},text:function(e){var t;return"input"===e.nodeName.toLowerCase()&&"text"===e.type&&(null==(t=e.getAttribute("type"))||"text"===t.toLowerCase())},first:c(function(){return[0]}),last:c(function(e,t){return[t-1]}),eq:c(function(e,t,n){return[n<0?n+t:n]}),even:c(function(e,t){for(var n=0;n<t;n+=2)e.push(n);return e}),odd:c(function(e,t){for(var n=1;n<t;n+=2)e.push(n);return e}),lt:c(function(e,t,n){for(var r=n<0?n+t:n;--r>=0;)e.push(r);return e}),gt:c(function(e,t,n){for(var r=n<0?n+t:n;++r<t;)e.push(r);return e})}},T.pseudos.nth=T.pseudos.eq;for(x in{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})T.pseudos[x]=s(x);for(x in{submit:!0,reset:!0})T.pseudos[x]=l(x);return d.prototype=T.filters=T.pseudos,T.setFilters=new d,C=t.tokenize=function(e,n){var r,i,a,o,s,l,u,c=B[e+" "];if(c)return n?0:c.slice(0);for(s=e,l=[],u=T.preFilter;s;){r&&!(i=le.exec(s))||(i&&(s=s.slice(i[0].length)||s),l.push(a=[])),r=!1,(i=ue.exec(s))&&(r=i.shift(),a.push({value:r,type:i[0].replace(se," ")}),s=s.slice(r.length));for(o in T.filter)!(i=fe[o].exec(s))||u[o]&&!(i=u[o](i))||(r=i.shift(),a.push({value:r,type:o,matches:i}),s=s.slice(r.length));if(!r)break}return n?s.length:s?t.error(e):B(e,l).slice(0)},S=t.compile=function(e,t){var n,r=[],i=[],a=V[e+" "];if(!a){for(t||(t=C(e)),n=t.length;n--;)a=y(t[n]),a[F]?r.push(a):i.push(a);a=V(e,w(i,r)),a.selector=e}return a},R=t.select=function(e,t,n,r){var i,a,o,s,l,u="function"==typeof e&&e,c=!r&&C(e=u.selector||e);if(n=n||[],1===c.length){if(a=c[0]=c[0].slice(0),a.length>2&&"ID"===(o=a[0]).type&&9===t.nodeType&&O&&T.relative[a[1].type]){if(t=(T.find.ID(o.matches[0].replace(ye,we),t)||[])[0],!t)return n;u&&(t=t.parentNode),e=e.slice(a.shift().value.length)}for(i=fe.needsContext.test(e)?0:a.length;i--&&(o=a[i],!T.relative[s=o.type]);)if((l=T.find[s])&&(r=l(o.matches[0].replace(ye,we),be.test(a[0].type)&&p(t.parentNode)||t))){if(a.splice(i,1),e=r.length&&f(a),!e)return J.apply(n,r),n;break}}return(u||S(e,c))(r,t,!O,n,!t||be.test(e)&&p(t.parentNode)||t),n},_.sortStable=F.split("").sort(G).join("")===F,_.detectDuplicates=!!L,N(),_.sortDetached=i(function(e){return 1&e.compareDocumentPosition(P.createElement("fieldset"))}),i(function(e){return e.innerHTML="<a href='#'></a>","#"===e.firstChild.getAttribute("href")})||a("type|href|height|width",function(e,t,n){if(!n)return e.getAttribute(t,"type"===t.toLowerCase()?1:2)}),_.attributes&&i(function(e){return e.innerHTML="<input/>",e.firstChild.setAttribute("value",""),""===e.firstChild.getAttribute("value")})||a("value",function(e,t,n){if(!n&&"input"===e.nodeName.toLowerCase())return e.defaultValue}),i(function(e){return null==e.getAttribute("disabled")})||a(te,function(e,t,n){var r;if(!n)return e[t]===!0?t.toLowerCase():(r=e.getAttributeNode(t))&&r.specified?r.value:null}),t}(e);he.find=ye,he.expr=ye.selectors,he.expr[":"]=he.expr.pseudos,he.uniqueSort=he.unique=ye.uniqueSort,he.text=ye.getText,he.isXMLDoc=ye.isXML,he.contains=ye.contains,he.escapeSelector=ye.escape;var we=function(e,t,n){for(var r=[],i=void 0!==n;(e=e[t])&&9!==e.nodeType;)if(1===e.nodeType){if(i&&he(e).is(n))break;r.push(e)}return r},xe=function(e,t){for(var n=[];e;e=e.nextSibling)1===e.nodeType&&e!==t&&n.push(e);return n},_e=he.expr.match.needsContext,Te=/^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i,Ee=/^.[^:#\[\.,]*$/;he.filter=function(e,t,n){var r=t[0];return n&&(e=":not("+e+")"),1===t.length&&1===r.nodeType?he.find.matchesSelector(r,e)?[r]:[]:he.find.matches(e,he.grep(t,function(e){return 1===e.nodeType}))},he.fn.extend({find:function(e){var t,n,r=this.length,i=this;if("string"!=typeof e)return this.pushStack(he(e).filter(function(){for(t=0;t<r;t++)if(he.contains(i[t],this))return!0}));for(n=this.pushStack([]),t=0;t<r;t++)he.find(e,i[t],n);return r>1?he.uniqueSort(n):n},filter:function(e){return this.pushStack(i(this,e||[],!1))},not:function(e){return this.pushStack(i(this,e||[],!0))},is:function(e){return!!i(this,"string"==typeof e&&_e.test(e)?he(e):e||[],!1).length}});var ke,Ce=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/,Se=he.fn.init=function(e,t,n){var r,i;if(!e)return this;if(n=n||ke,"string"==typeof e){if(r="<"===e[0]&&">"===e[e.length-1]&&e.length>=3?[null,e,null]:Ce.exec(e),!r||!r[1]&&t)return!t||t.jquery?(t||n).find(e):this.constructor(t).find(e);if(r[1]){if(t=t instanceof he?t[0]:t,he.merge(this,he.parseHTML(r[1],t&&t.nodeType?t.ownerDocument||t:te,!0)),Te.test(r[1])&&he.isPlainObject(t))for(r in t)he.isFunction(this[r])?this[r](t[r]):this.attr(r,t[r]);return this}return i=te.getElementById(r[2]),i&&(this[0]=i,this.length=1),this}return e.nodeType?(this[0]=e,this.length=1,this):he.isFunction(e)?void 0!==n.ready?n.ready(e):e(he):he.makeArray(e,this)};Se.prototype=he.fn,ke=he(te);var Re=/^(?:parents|prev(?:Until|All))/,Ae={children:!0,contents:!0,next:!0,prev:!0};he.fn.extend({has:function(e){var t=he(e,this),n=t.length;return this.filter(function(){for(var e=0;e<n;e++)if(he.contains(this,t[e]))return!0})},closest:function(e,t){var n,r=0,i=this.length,a=[],o="string"!=typeof e&&he(e);if(!_e.test(e))for(;r<i;r++)for(n=this[r];n&&n!==t;n=n.parentNode)if(n.nodeType<11&&(o?o.index(n)>-1:1===n.nodeType&&he.find.matchesSelector(n,e))){a.push(n);break}return this.pushStack(a.length>1?he.uniqueSort(a):a)},index:function(e){return e?"string"==typeof e?oe.call(he(e),this[0]):oe.call(this,e.jquery?e[0]:e):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(e,t){return this.pushStack(he.uniqueSort(he.merge(this.get(),he(e,t))))},addBack:function(e){return this.add(null==e?this.prevObject:this.prevObject.filter(e))}}),he.each({parent:function(e){var t=e.parentNode;return t&&11!==t.nodeType?t:null},parents:function(e){return we(e,"parentNode")},parentsUntil:function(e,t,n){return we(e,"parentNode",n)},next:function(e){return a(e,"nextSibling")},prev:function(e){return a(e,"previousSibling")},nextAll:function(e){return we(e,"nextSibling")},prevAll:function(e){return we(e,"previousSibling")},nextUntil:function(e,t,n){return we(e,"nextSibling",n)},prevUntil:function(e,t,n){return we(e,"previousSibling",n)},siblings:function(e){return xe((e.parentNode||{}).firstChild,e)},children:function(e){return xe(e.firstChild)},contents:function(e){return e.contentDocument||he.merge([],e.childNodes)}},function(e,t){he.fn[e]=function(n,r){var i=he.map(this,t,n);return"Until"!==e.slice(-5)&&(r=n),r&&"string"==typeof r&&(i=he.filter(r,i)),this.length>1&&(Ae[e]||he.uniqueSort(i),Re.test(e)&&i.reverse()),this.pushStack(i)}});var De=/[^\x20\t\r\n\f]+/g;he.Callbacks=function(e){e="string"==typeof e?o(e):he.extend({},e);var t,n,r,i,a=[],s=[],l=-1,u=function(){for(i=e.once,r=t=!0;s.length;l=-1)for(n=s.shift();++l<a.length;)a[l].apply(n[0],n[1])===!1&&e.stopOnFalse&&(l=a.length,n=!1);e.memory||(n=!1),t=!1,i&&(a=n?[]:"")},c={add:function(){return a&&(n&&!t&&(l=a.length-1,s.push(n)),function t(n){he.each(n,function(n,r){he.isFunction(r)?e.unique&&c.has(r)||a.push(r):r&&r.length&&"string"!==he.type(r)&&t(r)})}(arguments),n&&!t&&u()),this},remove:function(){return he.each(arguments,function(e,t){for(var n;(n=he.inArray(t,a,n))>-1;)a.splice(n,1),n<=l&&l--}),this},has:function(e){return e?he.inArray(e,a)>-1:a.length>0},empty:function(){return a&&(a=[]),this},disable:function(){return i=s=[],a=n="",this},disabled:function(){return!a},lock:function(){return i=s=[],n||t||(a=n=""),this},locked:function(){return!!i},fireWith:function(e,n){return i||(n=n||[],n=[e,n.slice?n.slice():n],s.push(n),t||u()),this},fire:function(){return c.fireWith(this,arguments),this},fired:function(){return!!r}};return c},he.extend({Deferred:function(t){var n=[["notify","progress",he.Callbacks("memory"),he.Callbacks("memory"),2],["resolve","done",he.Callbacks("once memory"),he.Callbacks("once memory"),0,"resolved"],["reject","fail",he.Callbacks("once memory"),he.Callbacks("once memory"),1,"rejected"]],r="pending",i={state:function(){return r},always:function(){return a.done(arguments).fail(arguments),this},catch:function(e){return i.then(null,e)},pipe:function(){var e=arguments;return he.Deferred(function(t){he.each(n,function(n,r){var i=he.isFunction(e[r[4]])&&e[r[4]];a[r[1]](function(){var e=i&&i.apply(this,arguments);e&&he.isFunction(e.promise)?e.promise().progress(t.notify).done(t.resolve).fail(t.reject):t[r[0]+"With"](this,i?[e]:arguments)})}),e=null}).promise()},then:function(t,r,i){function a(t,n,r,i){return function(){var u=this,c=arguments,p=function(){var e,p;if(!(t<o)){if(e=r.apply(u,c),e===n.promise())throw new TypeError("Thenable self-resolution");p=e&&("object"==typeof e||"function"==typeof e)&&e.then,he.isFunction(p)?i?p.call(e,a(o,n,s,i),a(o,n,l,i)):(o++,p.call(e,a(o,n,s,i),a(o,n,l,i),a(o,n,s,n.notifyWith))):(r!==s&&(u=void 0,c=[e]),(i||n.resolveWith)(u,c))}},d=i?p:function(){try{p()}catch(e){he.Deferred.exceptionHook&&he.Deferred.exceptionHook(e,d.stackTrace),t+1>=o&&(r!==l&&(u=void 0,c=[e]),n.rejectWith(u,c))}};t?d():(he.Deferred.getStackHook&&(d.stackTrace=he.Deferred.getStackHook()),e.setTimeout(d))}}var o=0;return he.Deferred(function(e){n[0][3].add(a(0,e,he.isFunction(i)?i:s,e.notifyWith)),n[1][3].add(a(0,e,he.isFunction(t)?t:s)),n[2][3].add(a(0,e,he.isFunction(r)?r:l))}).promise()},promise:function(e){return null!=e?he.extend(e,i):i}},a={};return he.each(n,function(e,t){var o=t[2],s=t[5];i[t[1]]=o.add,s&&o.add(function(){r=s},n[3-e][2].disable,n[0][2].lock),o.add(t[3].fire),a[t[0]]=function(){return a[t[0]+"With"](this===a?void 0:this,arguments),this},a[t[0]+"With"]=o.fireWith}),i.promise(a),t&&t.call(a,a),a},when:function(e){var t=arguments.length,n=t,r=Array(n),i=re.call(arguments),a=he.Deferred(),o=function(e){return function(n){r[e]=this,i[e]=arguments.length>1?re.call(arguments):n,--t||a.resolveWith(r,i)}};if(t<=1&&(u(e,a.done(o(n)).resolve,a.reject),"pending"===a.state()||he.isFunction(i[n]&&i[n].then)))return a.then();for(;n--;)u(i[n],o(n),a.reject);return a.promise()}});var Le=/^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/;he.Deferred.exceptionHook=function(t,n){e.console&&e.console.warn&&t&&Le.test(t.name)&&e.console.warn("jQuery.Deferred exception: "+t.message,t.stack,n)},he.readyException=function(t){e.setTimeout(function(){throw t})};var Ne=he.Deferred();he.fn.ready=function(e){return Ne.then(e).catch(function(e){he.readyException(e)}),this},he.extend({isReady:!1,readyWait:1,holdReady:function(e){e?he.readyWait++:he.ready(!0)},ready:function(e){(e===!0?--he.readyWait:he.isReady)||(he.isReady=!0,e!==!0&&--he.readyWait>0||Ne.resolveWith(te,[he]))}}),he.ready.then=Ne.then,"complete"===te.readyState||"loading"!==te.readyState&&!te.documentElement.doScroll?e.setTimeout(he.ready):(te.addEventListener("DOMContentLoaded",c),e.addEventListener("load",c));var Pe=function(e,t,n,r,i,a,o){var s=0,l=e.length,u=null==n;if("object"===he.type(n)){i=!0;for(s in n)Pe(e,t,s,n[s],!0,a,o)}else if(void 0!==r&&(i=!0,he.isFunction(r)||(o=!0),u&&(o?(t.call(e,r),t=null):(u=t,t=function(e,t,n){return u.call(he(e),n)})),t))for(;s<l;s++)t(e[s],n,o?r:r.call(e[s],s,t(e[s],n)));return i?e:u?t.call(e):l?t(e[0],n):a},je=function(e){return 1===e.nodeType||9===e.nodeType||!+e.nodeType};p.uid=1,p.prototype={cache:function(e){var t=e[this.expando];return t||(t={},je(e)&&(e.nodeType?e[this.expando]=t:Object.defineProperty(e,this.expando,{value:t,configurable:!0}))),t},set:function(e,t,n){var r,i=this.cache(e);if("string"==typeof t)i[he.camelCase(t)]=n;else for(r in t)i[he.camelCase(r)]=t[r];return i},get:function(e,t){return void 0===t?this.cache(e):e[this.expando]&&e[this.expando][he.camelCase(t)]},access:function(e,t,n){return void 0===t||t&&"string"==typeof t&&void 0===n?this.get(e,t):(this.set(e,t,n),void 0!==n?n:t)},remove:function(e,t){var n,r=e[this.expando];if(void 0!==r){if(void 0!==t){he.isArray(t)?t=t.map(he.camelCase):(t=he.camelCase(t),t=t in r?[t]:t.match(De)||[]),n=t.length;for(;n--;)delete r[t[n]]}(void 0===t||he.isEmptyObject(r))&&(e.nodeType?e[this.expando]=void 0:delete e[this.expando])}},hasData:function(e){var t=e[this.expando];return void 0!==t&&!he.isEmptyObject(t)}};var Oe=new p,Me=new p,Ie=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,qe=/[A-Z]/g;he.extend({hasData:function(e){return Me.hasData(e)||Oe.hasData(e)},data:function(e,t,n){return Me.access(e,t,n)},removeData:function(e,t){Me.remove(e,t)},_data:function(e,t,n){return Oe.access(e,t,n)},_removeData:function(e,t){Oe.remove(e,t)}}),he.fn.extend({data:function(e,t){var n,r,i,a=this[0],o=a&&a.attributes;if(void 0===e){if(this.length&&(i=Me.get(a),1===a.nodeType&&!Oe.get(a,"hasDataAttrs"))){for(n=o.length;n--;)o[n]&&(r=o[n].name,0===r.indexOf("data-")&&(r=he.camelCase(r.slice(5)),f(a,r,i[r])));Oe.set(a,"hasDataAttrs",!0)}return i}return"object"==typeof e?this.each(function(){Me.set(this,e)}):Pe(this,function(t){var n;if(a&&void 0===t){if(n=Me.get(a,e),void 0!==n)return n;if(n=f(a,e),void 0!==n)return n}else this.each(function(){Me.set(this,e,t)})},null,t,arguments.length>1,null,!0)},removeData:function(e){return this.each(function(){Me.remove(this,e)})}}),he.extend({queue:function(e,t,n){var r;if(e)return t=(t||"fx")+"queue",r=Oe.get(e,t),n&&(!r||he.isArray(n)?r=Oe.access(e,t,he.makeArray(n)):r.push(n)),r||[]},dequeue:function(e,t){t=t||"fx";var n=he.queue(e,t),r=n.length,i=n.shift(),a=he._queueHooks(e,t),o=function(){he.dequeue(e,t)};"inprogress"===i&&(i=n.shift(),r--),i&&("fx"===t&&n.unshift("inprogress"),delete a.stop,i.call(e,o,a)),!r&&a&&a.empty.fire()},_queueHooks:function(e,t){var n=t+"queueHooks";return Oe.get(e,n)||Oe.access(e,n,{empty:he.Callbacks("once memory").add(function(){Oe.remove(e,[t+"queue",n])})})}}),he.fn.extend({queue:function(e,t){var n=2;return"string"!=typeof e&&(t=e,e="fx",n--),arguments.length<n?he.queue(this[0],e):void 0===t?this:this.each(function(){var n=he.queue(this,e,t);he._queueHooks(this,e),"fx"===e&&"inprogress"!==n[0]&&he.dequeue(this,e)})},dequeue:function(e){return this.each(function(){he.dequeue(this,e)})},clearQueue:function(e){return this.queue(e||"fx",[])},promise:function(e,t){var n,r=1,i=he.Deferred(),a=this,o=this.length,s=function(){--r||i.resolveWith(a,[a])};for("string"!=typeof e&&(t=e,e=void 0),e=e||"fx";o--;)n=Oe.get(a[o],e+"queueHooks"),n&&n.empty&&(r++,n.empty.add(s));return s(),i.promise(t)}});var $e=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,Fe=new RegExp("^(?:([+-])=|)("+$e+")([a-z%]*)$","i"),Ue=["Top","Right","Bottom","Left"],Ke=function(e,t){return e=t||e,"none"===e.style.display||""===e.style.display&&he.contains(e.ownerDocument,e)&&"none"===he.css(e,"display")},We=function(e,t,n,r){var i,a,o={};for(a in t)o[a]=e.style[a],e.style[a]=t[a];i=n.apply(e,r||[]);for(a in t)e.style[a]=o[a];return i},He={};he.fn.extend({show:function(){return g(this,!0)},hide:function(){return g(this)},toggle:function(e){return"boolean"==typeof e?e?this.show():this.hide():this.each(function(){Ke(this)?he(this).show():he(this).hide()})}});var Be=/^(?:checkbox|radio)$/i,Ve=/<([a-z][^\/\0>\x20\t\r\n\f]+)/i,Ge=/^$|\/(?:java|ecma)script/i,ze={option:[1,"<select multiple='multiple'>","</select>"],thead:[1,"<table>","</table>"],col:[2,"<table><colgroup>","</colgroup></table>"],tr:[2,"<table><tbody>","</tbody></table>"],td:[3,"<table><tbody><tr>","</tr></tbody></table>"],_default:[0,"",""]};ze.optgroup=ze.option,ze.tbody=ze.tfoot=ze.colgroup=ze.caption=ze.thead,ze.th=ze.td;var Xe=/<|&#?\w+;/;!function(){var e=te.createDocumentFragment(),t=e.appendChild(te.createElement("div")),n=te.createElement("input");n.setAttribute("type","radio"),n.setAttribute("checked","checked"),n.setAttribute("name","t"),t.appendChild(n),de.checkClone=t.cloneNode(!0).cloneNode(!0).lastChild.checked,t.innerHTML="<textarea>x</textarea>",de.noCloneChecked=!!t.cloneNode(!0).lastChild.defaultValue}();var Ye=te.documentElement,Qe=/^key/,Je=/^(?:mouse|pointer|contextmenu|drag|drop)|click/,Ze=/^([^.]*)(?:\.(.+)|)/;he.event={global:{},add:function(e,t,n,r,i){var a,o,s,l,u,c,p,d,f,h,m,g=Oe.get(e);if(g)for(n.handler&&(a=n,n=a.handler,i=a.selector),i&&he.find.matchesSelector(Ye,i),n.guid||(n.guid=he.guid++),(l=g.events)||(l=g.events={}),(o=g.handle)||(o=g.handle=function(t){return"undefined"!=typeof he&&he.event.triggered!==t.type?he.event.dispatch.apply(e,arguments):void 0}),t=(t||"").match(De)||[""],u=t.length;u--;)s=Ze.exec(t[u])||[],f=m=s[1],h=(s[2]||"").split(".").sort(),f&&(p=he.event.special[f]||{},f=(i?p.delegateType:p.bindType)||f,p=he.event.special[f]||{},c=he.extend({type:f,origType:m,data:r,handler:n,guid:n.guid,selector:i,needsContext:i&&he.expr.match.needsContext.test(i),namespace:h.join(".")},a),(d=l[f])||(d=l[f]=[],d.delegateCount=0,p.setup&&p.setup.call(e,r,h,o)!==!1||e.addEventListener&&e.addEventListener(f,o)),p.add&&(p.add.call(e,c),c.handler.guid||(c.handler.guid=n.guid)),i?d.splice(d.delegateCount++,0,c):d.push(c),he.event.global[f]=!0)},remove:function(e,t,n,r,i){var a,o,s,l,u,c,p,d,f,h,m,g=Oe.hasData(e)&&Oe.get(e);if(g&&(l=g.events)){for(t=(t||"").match(De)||[""],u=t.length;u--;)if(s=Ze.exec(t[u])||[],f=m=s[1],h=(s[2]||"").split(".").sort(),f){for(p=he.event.special[f]||{},f=(r?p.delegateType:p.bindType)||f,d=l[f]||[],s=s[2]&&new RegExp("(^|\\.)"+h.join("\\.(?:.*\\.|)")+"(\\.|$)"),o=a=d.length;a--;)c=d[a],!i&&m!==c.origType||n&&n.guid!==c.guid||s&&!s.test(c.namespace)||r&&r!==c.selector&&("**"!==r||!c.selector)||(d.splice(a,1),c.selector&&d.delegateCount--,p.remove&&p.remove.call(e,c));o&&!d.length&&(p.teardown&&p.teardown.call(e,h,g.handle)!==!1||he.removeEvent(e,f,g.handle),delete l[f])}else for(f in l)he.event.remove(e,f+t[u],n,r,!0);
he.isEmptyObject(l)&&Oe.remove(e,"handle events")}},dispatch:function(e){var t,n,r,i,a,o,s=he.event.fix(e),l=new Array(arguments.length),u=(Oe.get(this,"events")||{})[s.type]||[],c=he.event.special[s.type]||{};for(l[0]=s,t=1;t<arguments.length;t++)l[t]=arguments[t];if(s.delegateTarget=this,!c.preDispatch||c.preDispatch.call(this,s)!==!1){for(o=he.event.handlers.call(this,s,u),t=0;(i=o[t++])&&!s.isPropagationStopped();)for(s.currentTarget=i.elem,n=0;(a=i.handlers[n++])&&!s.isImmediatePropagationStopped();)s.rnamespace&&!s.rnamespace.test(a.namespace)||(s.handleObj=a,s.data=a.data,r=((he.event.special[a.origType]||{}).handle||a.handler).apply(i.elem,l),void 0!==r&&(s.result=r)===!1&&(s.preventDefault(),s.stopPropagation()));return c.postDispatch&&c.postDispatch.call(this,s),s.result}},handlers:function(e,t){var n,r,i,a,o,s=[],l=t.delegateCount,u=e.target;if(l&&u.nodeType&&!("click"===e.type&&e.button>=1))for(;u!==this;u=u.parentNode||this)if(1===u.nodeType&&("click"!==e.type||u.disabled!==!0)){for(a=[],o={},n=0;n<l;n++)r=t[n],i=r.selector+" ",void 0===o[i]&&(o[i]=r.needsContext?he(i,this).index(u)>-1:he.find(i,this,null,[u]).length),o[i]&&a.push(r);a.length&&s.push({elem:u,handlers:a})}return u=this,l<t.length&&s.push({elem:u,handlers:t.slice(l)}),s},addProp:function(e,t){Object.defineProperty(he.Event.prototype,e,{enumerable:!0,configurable:!0,get:he.isFunction(t)?function(){if(this.originalEvent)return t(this.originalEvent)}:function(){if(this.originalEvent)return this.originalEvent[e]},set:function(t){Object.defineProperty(this,e,{enumerable:!0,configurable:!0,writable:!0,value:t})}})},fix:function(e){return e[he.expando]?e:new he.Event(e)},special:{load:{noBubble:!0},focus:{trigger:function(){if(this!==_()&&this.focus)return this.focus(),!1},delegateType:"focusin"},blur:{trigger:function(){if(this===_()&&this.blur)return this.blur(),!1},delegateType:"focusout"},click:{trigger:function(){if("checkbox"===this.type&&this.click&&he.nodeName(this,"input"))return this.click(),!1},_default:function(e){return he.nodeName(e.target,"a")}},beforeunload:{postDispatch:function(e){void 0!==e.result&&e.originalEvent&&(e.originalEvent.returnValue=e.result)}}}},he.removeEvent=function(e,t,n){e.removeEventListener&&e.removeEventListener(t,n)},he.Event=function(e,t){return this instanceof he.Event?(e&&e.type?(this.originalEvent=e,this.type=e.type,this.isDefaultPrevented=e.defaultPrevented||void 0===e.defaultPrevented&&e.returnValue===!1?w:x,this.target=e.target&&3===e.target.nodeType?e.target.parentNode:e.target,this.currentTarget=e.currentTarget,this.relatedTarget=e.relatedTarget):this.type=e,t&&he.extend(this,t),this.timeStamp=e&&e.timeStamp||he.now(),void(this[he.expando]=!0)):new he.Event(e,t)},he.Event.prototype={constructor:he.Event,isDefaultPrevented:x,isPropagationStopped:x,isImmediatePropagationStopped:x,isSimulated:!1,preventDefault:function(){var e=this.originalEvent;this.isDefaultPrevented=w,e&&!this.isSimulated&&e.preventDefault()},stopPropagation:function(){var e=this.originalEvent;this.isPropagationStopped=w,e&&!this.isSimulated&&e.stopPropagation()},stopImmediatePropagation:function(){var e=this.originalEvent;this.isImmediatePropagationStopped=w,e&&!this.isSimulated&&e.stopImmediatePropagation(),this.stopPropagation()}},he.each({altKey:!0,bubbles:!0,cancelable:!0,changedTouches:!0,ctrlKey:!0,detail:!0,eventPhase:!0,metaKey:!0,pageX:!0,pageY:!0,shiftKey:!0,view:!0,char:!0,charCode:!0,key:!0,keyCode:!0,button:!0,buttons:!0,clientX:!0,clientY:!0,offsetX:!0,offsetY:!0,pointerId:!0,pointerType:!0,screenX:!0,screenY:!0,targetTouches:!0,toElement:!0,touches:!0,which:function(e){var t=e.button;return null==e.which&&Qe.test(e.type)?null!=e.charCode?e.charCode:e.keyCode:!e.which&&void 0!==t&&Je.test(e.type)?1&t?1:2&t?3:4&t?2:0:e.which}},he.event.addProp),he.each({mouseenter:"mouseover",mouseleave:"mouseout",pointerenter:"pointerover",pointerleave:"pointerout"},function(e,t){he.event.special[e]={delegateType:t,bindType:t,handle:function(e){var n,r=this,i=e.relatedTarget,a=e.handleObj;return i&&(i===r||he.contains(r,i))||(e.type=a.origType,n=a.handler.apply(this,arguments),e.type=t),n}}}),he.fn.extend({on:function(e,t,n,r){return T(this,e,t,n,r)},one:function(e,t,n,r){return T(this,e,t,n,r,1)},off:function(e,t,n){var r,i;if(e&&e.preventDefault&&e.handleObj)return r=e.handleObj,he(e.delegateTarget).off(r.namespace?r.origType+"."+r.namespace:r.origType,r.selector,r.handler),this;if("object"==typeof e){for(i in e)this.off(i,t,e[i]);return this}return t!==!1&&"function"!=typeof t||(n=t,t=void 0),n===!1&&(n=x),this.each(function(){he.event.remove(this,e,n,t)})}});var et=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([a-z][^\/\0>\x20\t\r\n\f]*)[^>]*)\/>/gi,tt=/<script|<style|<link/i,nt=/checked\s*(?:[^=]|=\s*.checked.)/i,rt=/^true\/(.*)/,it=/^\s*<!(?:\[CDATA\[|--)|(?:\]\]|--)>\s*$/g;he.extend({htmlPrefilter:function(e){return e.replace(et,"<$1></$2>")},clone:function(e,t,n){var r,i,a,o,s=e.cloneNode(!0),l=he.contains(e.ownerDocument,e);if(!(de.noCloneChecked||1!==e.nodeType&&11!==e.nodeType||he.isXMLDoc(e)))for(o=v(s),a=v(e),r=0,i=a.length;r<i;r++)R(a[r],o[r]);if(t)if(n)for(a=a||v(e),o=o||v(s),r=0,i=a.length;r<i;r++)S(a[r],o[r]);else S(e,s);return o=v(s,"script"),o.length>0&&b(o,!l&&v(e,"script")),s},cleanData:function(e){for(var t,n,r,i=he.event.special,a=0;void 0!==(n=e[a]);a++)if(je(n)){if(t=n[Oe.expando]){if(t.events)for(r in t.events)i[r]?he.event.remove(n,r):he.removeEvent(n,r,t.handle);n[Oe.expando]=void 0}n[Me.expando]&&(n[Me.expando]=void 0)}}}),he.fn.extend({detach:function(e){return D(this,e,!0)},remove:function(e){return D(this,e)},text:function(e){return Pe(this,function(e){return void 0===e?he.text(this):this.empty().each(function(){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||(this.textContent=e)})},null,e,arguments.length)},append:function(){return A(this,arguments,function(e){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var t=E(this,e);t.appendChild(e)}})},prepend:function(){return A(this,arguments,function(e){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var t=E(this,e);t.insertBefore(e,t.firstChild)}})},before:function(){return A(this,arguments,function(e){this.parentNode&&this.parentNode.insertBefore(e,this)})},after:function(){return A(this,arguments,function(e){this.parentNode&&this.parentNode.insertBefore(e,this.nextSibling)})},empty:function(){for(var e,t=0;null!=(e=this[t]);t++)1===e.nodeType&&(he.cleanData(v(e,!1)),e.textContent="");return this},clone:function(e,t){return e=null!=e&&e,t=null==t?e:t,this.map(function(){return he.clone(this,e,t)})},html:function(e){return Pe(this,function(e){var t=this[0]||{},n=0,r=this.length;if(void 0===e&&1===t.nodeType)return t.innerHTML;if("string"==typeof e&&!tt.test(e)&&!ze[(Ve.exec(e)||["",""])[1].toLowerCase()]){e=he.htmlPrefilter(e);try{for(;n<r;n++)t=this[n]||{},1===t.nodeType&&(he.cleanData(v(t,!1)),t.innerHTML=e);t=0}catch(e){}}t&&this.empty().append(e)},null,e,arguments.length)},replaceWith:function(){var e=[];return A(this,arguments,function(t){var n=this.parentNode;he.inArray(this,e)<0&&(he.cleanData(v(this)),n&&n.replaceChild(t,this))},e)}}),he.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(e,t){he.fn[e]=function(e){for(var n,r=[],i=he(e),a=i.length-1,o=0;o<=a;o++)n=o===a?this:this.clone(!0),he(i[o])[t](n),ae.apply(r,n.get());return this.pushStack(r)}});var at=/^margin/,ot=new RegExp("^("+$e+")(?!px)[a-z%]+$","i"),st=function(t){var n=t.ownerDocument.defaultView;return n&&n.opener||(n=e),n.getComputedStyle(t)};!function(){function t(){if(s){s.style.cssText="box-sizing:border-box;position:relative;display:block;margin:auto;border:1px;padding:1px;top:1%;width:50%",s.innerHTML="",Ye.appendChild(o);var t=e.getComputedStyle(s);n="1%"!==t.top,a="2px"===t.marginLeft,r="4px"===t.width,s.style.marginRight="50%",i="4px"===t.marginRight,Ye.removeChild(o),s=null}}var n,r,i,a,o=te.createElement("div"),s=te.createElement("div");s.style&&(s.style.backgroundClip="content-box",s.cloneNode(!0).style.backgroundClip="",de.clearCloneStyle="content-box"===s.style.backgroundClip,o.style.cssText="border:0;width:8px;height:0;top:0;left:-9999px;padding:0;margin-top:1px;position:absolute",o.appendChild(s),he.extend(de,{pixelPosition:function(){return t(),n},boxSizingReliable:function(){return t(),r},pixelMarginRight:function(){return t(),i},reliableMarginLeft:function(){return t(),a}}))}();var lt=/^(none|table(?!-c[ea]).+)/,ut={position:"absolute",visibility:"hidden",display:"block"},ct={letterSpacing:"0",fontWeight:"400"},pt=["Webkit","Moz","ms"],dt=te.createElement("div").style;he.extend({cssHooks:{opacity:{get:function(e,t){if(t){var n=L(e,"opacity");return""===n?"1":n}}}},cssNumber:{animationIterationCount:!0,columnCount:!0,fillOpacity:!0,flexGrow:!0,flexShrink:!0,fontWeight:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},cssProps:{float:"cssFloat"},style:function(e,t,n,r){if(e&&3!==e.nodeType&&8!==e.nodeType&&e.style){var i,a,o,s=he.camelCase(t),l=e.style;return t=he.cssProps[s]||(he.cssProps[s]=P(s)||s),o=he.cssHooks[t]||he.cssHooks[s],void 0===n?o&&"get"in o&&void 0!==(i=o.get(e,!1,r))?i:l[t]:(a=typeof n,"string"===a&&(i=Fe.exec(n))&&i[1]&&(n=h(e,t,i),a="number"),void(null!=n&&n===n&&("number"===a&&(n+=i&&i[3]||(he.cssNumber[s]?"":"px")),de.clearCloneStyle||""!==n||0!==t.indexOf("background")||(l[t]="inherit"),o&&"set"in o&&void 0===(n=o.set(e,n,r))||(l[t]=n))))}},css:function(e,t,n,r){var i,a,o,s=he.camelCase(t);return t=he.cssProps[s]||(he.cssProps[s]=P(s)||s),o=he.cssHooks[t]||he.cssHooks[s],o&&"get"in o&&(i=o.get(e,!0,n)),void 0===i&&(i=L(e,t,r)),"normal"===i&&t in ct&&(i=ct[t]),""===n||n?(a=parseFloat(i),n===!0||isFinite(a)?a||0:i):i}}),he.each(["height","width"],function(e,t){he.cssHooks[t]={get:function(e,n,r){if(n)return!lt.test(he.css(e,"display"))||e.getClientRects().length&&e.getBoundingClientRect().width?M(e,t,r):We(e,ut,function(){return M(e,t,r)})},set:function(e,n,r){var i,a=r&&st(e),o=r&&O(e,t,r,"border-box"===he.css(e,"boxSizing",!1,a),a);return o&&(i=Fe.exec(n))&&"px"!==(i[3]||"px")&&(e.style[t]=n,n=he.css(e,t)),j(e,n,o)}}}),he.cssHooks.marginLeft=N(de.reliableMarginLeft,function(e,t){if(t)return(parseFloat(L(e,"marginLeft"))||e.getBoundingClientRect().left-We(e,{marginLeft:0},function(){return e.getBoundingClientRect().left}))+"px"}),he.each({margin:"",padding:"",border:"Width"},function(e,t){he.cssHooks[e+t]={expand:function(n){for(var r=0,i={},a="string"==typeof n?n.split(" "):[n];r<4;r++)i[e+Ue[r]+t]=a[r]||a[r-2]||a[0];return i}},at.test(e)||(he.cssHooks[e+t].set=j)}),he.fn.extend({css:function(e,t){return Pe(this,function(e,t,n){var r,i,a={},o=0;if(he.isArray(t)){for(r=st(e),i=t.length;o<i;o++)a[t[o]]=he.css(e,t[o],!1,r);return a}return void 0!==n?he.style(e,t,n):he.css(e,t)},e,t,arguments.length>1)}}),he.Tween=I,I.prototype={constructor:I,init:function(e,t,n,r,i,a){this.elem=e,this.prop=n,this.easing=i||he.easing._default,this.options=t,this.start=this.now=this.cur(),this.end=r,this.unit=a||(he.cssNumber[n]?"":"px")},cur:function(){var e=I.propHooks[this.prop];return e&&e.get?e.get(this):I.propHooks._default.get(this)},run:function(e){var t,n=I.propHooks[this.prop];return this.options.duration?this.pos=t=he.easing[this.easing](e,this.options.duration*e,0,1,this.options.duration):this.pos=t=e,this.now=(this.end-this.start)*t+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),n&&n.set?n.set(this):I.propHooks._default.set(this),this}},I.prototype.init.prototype=I.prototype,I.propHooks={_default:{get:function(e){var t;return 1!==e.elem.nodeType||null!=e.elem[e.prop]&&null==e.elem.style[e.prop]?e.elem[e.prop]:(t=he.css(e.elem,e.prop,""),t&&"auto"!==t?t:0)},set:function(e){he.fx.step[e.prop]?he.fx.step[e.prop](e):1!==e.elem.nodeType||null==e.elem.style[he.cssProps[e.prop]]&&!he.cssHooks[e.prop]?e.elem[e.prop]=e.now:he.style(e.elem,e.prop,e.now+e.unit)}}},I.propHooks.scrollTop=I.propHooks.scrollLeft={set:function(e){e.elem.nodeType&&e.elem.parentNode&&(e.elem[e.prop]=e.now)}},he.easing={linear:function(e){return e},swing:function(e){return.5-Math.cos(e*Math.PI)/2},_default:"swing"},he.fx=I.prototype.init,he.fx.step={};var ft,ht,mt=/^(?:toggle|show|hide)$/,gt=/queueHooks$/;he.Animation=he.extend(H,{tweeners:{"*":[function(e,t){var n=this.createTween(e,t);return h(n.elem,e,Fe.exec(t),n),n}]},tweener:function(e,t){he.isFunction(e)?(t=e,e=["*"]):e=e.match(De);for(var n,r=0,i=e.length;r<i;r++)n=e[r],H.tweeners[n]=H.tweeners[n]||[],H.tweeners[n].unshift(t)},prefilters:[K],prefilter:function(e,t){t?H.prefilters.unshift(e):H.prefilters.push(e)}}),he.speed=function(e,t,n){var r=e&&"object"==typeof e?he.extend({},e):{complete:n||!n&&t||he.isFunction(e)&&e,duration:e,easing:n&&t||t&&!he.isFunction(t)&&t};return he.fx.off||te.hidden?r.duration=0:"number"!=typeof r.duration&&(r.duration in he.fx.speeds?r.duration=he.fx.speeds[r.duration]:r.duration=he.fx.speeds._default),null!=r.queue&&r.queue!==!0||(r.queue="fx"),r.old=r.complete,r.complete=function(){he.isFunction(r.old)&&r.old.call(this),r.queue&&he.dequeue(this,r.queue)},r},he.fn.extend({fadeTo:function(e,t,n,r){return this.filter(Ke).css("opacity",0).show().end().animate({opacity:t},e,n,r)},animate:function(e,t,n,r){var i=he.isEmptyObject(e),a=he.speed(t,n,r),o=function(){var t=H(this,he.extend({},e),a);(i||Oe.get(this,"finish"))&&t.stop(!0)};return o.finish=o,i||a.queue===!1?this.each(o):this.queue(a.queue,o)},stop:function(e,t,n){var r=function(e){var t=e.stop;delete e.stop,t(n)};return"string"!=typeof e&&(n=t,t=e,e=void 0),t&&e!==!1&&this.queue(e||"fx",[]),this.each(function(){var t=!0,i=null!=e&&e+"queueHooks",a=he.timers,o=Oe.get(this);if(i)o[i]&&o[i].stop&&r(o[i]);else for(i in o)o[i]&&o[i].stop&>.test(i)&&r(o[i]);for(i=a.length;i--;)a[i].elem!==this||null!=e&&a[i].queue!==e||(a[i].anim.stop(n),t=!1,a.splice(i,1));!t&&n||he.dequeue(this,e)})},finish:function(e){return e!==!1&&(e=e||"fx"),this.each(function(){var t,n=Oe.get(this),r=n[e+"queue"],i=n[e+"queueHooks"],a=he.timers,o=r?r.length:0;for(n.finish=!0,he.queue(this,e,[]),i&&i.stop&&i.stop.call(this,!0),t=a.length;t--;)a[t].elem===this&&a[t].queue===e&&(a[t].anim.stop(!0),a.splice(t,1));for(t=0;t<o;t++)r[t]&&r[t].finish&&r[t].finish.call(this);delete n.finish})}}),he.each(["toggle","show","hide"],function(e,t){var n=he.fn[t];he.fn[t]=function(e,r,i){return null==e||"boolean"==typeof e?n.apply(this,arguments):this.animate(F(t,!0),e,r,i)}}),he.each({slideDown:F("show"),slideUp:F("hide"),slideToggle:F("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(e,t){he.fn[e]=function(e,n,r){return this.animate(t,e,n,r)}}),he.timers=[],he.fx.tick=function(){var e,t=0,n=he.timers;for(ft=he.now();t<n.length;t++)e=n[t],e()||n[t]!==e||n.splice(t--,1);n.length||he.fx.stop(),ft=void 0},he.fx.timer=function(e){he.timers.push(e),e()?he.fx.start():he.timers.pop()},he.fx.interval=13,he.fx.start=function(){ht||(ht=e.requestAnimationFrame?e.requestAnimationFrame(q):e.setInterval(he.fx.tick,he.fx.interval))},he.fx.stop=function(){e.cancelAnimationFrame?e.cancelAnimationFrame(ht):e.clearInterval(ht),ht=null},he.fx.speeds={slow:600,fast:200,_default:400},he.fn.delay=function(t,n){return t=he.fx?he.fx.speeds[t]||t:t,n=n||"fx",this.queue(n,function(n,r){var i=e.setTimeout(n,t);r.stop=function(){e.clearTimeout(i)}})},function(){var e=te.createElement("input"),t=te.createElement("select"),n=t.appendChild(te.createElement("option"));e.type="checkbox",de.checkOn=""!==e.value,de.optSelected=n.selected,e=te.createElement("input"),e.value="t",e.type="radio",de.radioValue="t"===e.value}();var vt,bt=he.expr.attrHandle;he.fn.extend({attr:function(e,t){return Pe(this,he.attr,e,t,arguments.length>1)},removeAttr:function(e){return this.each(function(){he.removeAttr(this,e)})}}),he.extend({attr:function(e,t,n){var r,i,a=e.nodeType;if(3!==a&&8!==a&&2!==a)return"undefined"==typeof e.getAttribute?he.prop(e,t,n):(1===a&&he.isXMLDoc(e)||(i=he.attrHooks[t.toLowerCase()]||(he.expr.match.bool.test(t)?vt:void 0)),void 0!==n?null===n?void he.removeAttr(e,t):i&&"set"in i&&void 0!==(r=i.set(e,n,t))?r:(e.setAttribute(t,n+""),n):i&&"get"in i&&null!==(r=i.get(e,t))?r:(r=he.find.attr(e,t),null==r?void 0:r))},attrHooks:{type:{set:function(e,t){if(!de.radioValue&&"radio"===t&&he.nodeName(e,"input")){var n=e.value;return e.setAttribute("type",t),n&&(e.value=n),t}}}},removeAttr:function(e,t){var n,r=0,i=t&&t.match(De);if(i&&1===e.nodeType)for(;n=i[r++];)e.removeAttribute(n)}}),vt={set:function(e,t,n){return t===!1?he.removeAttr(e,n):e.setAttribute(n,n),n}},he.each(he.expr.match.bool.source.match(/\w+/g),function(e,t){var n=bt[t]||he.find.attr;bt[t]=function(e,t,r){var i,a,o=t.toLowerCase();return r||(a=bt[o],bt[o]=i,i=null!=n(e,t,r)?o:null,bt[o]=a),i}});var yt=/^(?:input|select|textarea|button)$/i,wt=/^(?:a|area)$/i;he.fn.extend({prop:function(e,t){return Pe(this,he.prop,e,t,arguments.length>1)},removeProp:function(e){return this.each(function(){delete this[he.propFix[e]||e]})}}),he.extend({prop:function(e,t,n){var r,i,a=e.nodeType;if(3!==a&&8!==a&&2!==a)return 1===a&&he.isXMLDoc(e)||(t=he.propFix[t]||t,i=he.propHooks[t]),void 0!==n?i&&"set"in i&&void 0!==(r=i.set(e,n,t))?r:e[t]=n:i&&"get"in i&&null!==(r=i.get(e,t))?r:e[t]},propHooks:{tabIndex:{get:function(e){var t=he.find.attr(e,"tabindex");return t?parseInt(t,10):yt.test(e.nodeName)||wt.test(e.nodeName)&&e.href?0:-1}}},propFix:{for:"htmlFor",class:"className"}}),de.optSelected||(he.propHooks.selected={get:function(e){var t=e.parentNode;return t&&t.parentNode&&t.parentNode.selectedIndex,null},set:function(e){var t=e.parentNode;t&&(t.selectedIndex,t.parentNode&&t.parentNode.selectedIndex)}}),he.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],function(){he.propFix[this.toLowerCase()]=this}),he.fn.extend({addClass:function(e){var t,n,r,i,a,o,s,l=0;if(he.isFunction(e))return this.each(function(t){he(this).addClass(e.call(this,t,V(this)))});if("string"==typeof e&&e)for(t=e.match(De)||[];n=this[l++];)if(i=V(n),r=1===n.nodeType&&" "+B(i)+" "){for(o=0;a=t[o++];)r.indexOf(" "+a+" ")<0&&(r+=a+" ");s=B(r),i!==s&&n.setAttribute("class",s)}return this},removeClass:function(e){var t,n,r,i,a,o,s,l=0;if(he.isFunction(e))return this.each(function(t){he(this).removeClass(e.call(this,t,V(this)))});if(!arguments.length)return this.attr("class","");if("string"==typeof e&&e)for(t=e.match(De)||[];n=this[l++];)if(i=V(n),r=1===n.nodeType&&" "+B(i)+" "){for(o=0;a=t[o++];)for(;r.indexOf(" "+a+" ")>-1;)r=r.replace(" "+a+" "," ");s=B(r),i!==s&&n.setAttribute("class",s)}return this},toggleClass:function(e,t){var n=typeof e;return"boolean"==typeof t&&"string"===n?t?this.addClass(e):this.removeClass(e):he.isFunction(e)?this.each(function(n){he(this).toggleClass(e.call(this,n,V(this),t),t)}):this.each(function(){var t,r,i,a;if("string"===n)for(r=0,i=he(this),a=e.match(De)||[];t=a[r++];)i.hasClass(t)?i.removeClass(t):i.addClass(t);else void 0!==e&&"boolean"!==n||(t=V(this),t&&Oe.set(this,"__className__",t),this.setAttribute&&this.setAttribute("class",t||e===!1?"":Oe.get(this,"__className__")||""))})},hasClass:function(e){var t,n,r=0;for(t=" "+e+" ";n=this[r++];)if(1===n.nodeType&&(" "+B(V(n))+" ").indexOf(t)>-1)return!0;return!1}});var xt=/\r/g;he.fn.extend({val:function(e){var t,n,r,i=this[0];return arguments.length?(r=he.isFunction(e),this.each(function(n){var i;1===this.nodeType&&(i=r?e.call(this,n,he(this).val()):e,null==i?i="":"number"==typeof i?i+="":he.isArray(i)&&(i=he.map(i,function(e){return null==e?"":e+""})),t=he.valHooks[this.type]||he.valHooks[this.nodeName.toLowerCase()],t&&"set"in t&&void 0!==t.set(this,i,"value")||(this.value=i))})):i?(t=he.valHooks[i.type]||he.valHooks[i.nodeName.toLowerCase()],t&&"get"in t&&void 0!==(n=t.get(i,"value"))?n:(n=i.value,"string"==typeof n?n.replace(xt,""):null==n?"":n)):void 0}}),he.extend({valHooks:{option:{get:function(e){var t=he.find.attr(e,"value");return null!=t?t:B(he.text(e))}},select:{get:function(e){var t,n,r,i=e.options,a=e.selectedIndex,o="select-one"===e.type,s=o?null:[],l=o?a+1:i.length;for(r=a<0?l:o?a:0;r<l;r++)if(n=i[r],(n.selected||r===a)&&!n.disabled&&(!n.parentNode.disabled||!he.nodeName(n.parentNode,"optgroup"))){if(t=he(n).val(),o)return t;s.push(t)}return s},set:function(e,t){for(var n,r,i=e.options,a=he.makeArray(t),o=i.length;o--;)r=i[o],(r.selected=he.inArray(he.valHooks.option.get(r),a)>-1)&&(n=!0);return n||(e.selectedIndex=-1),a}}}}),he.each(["radio","checkbox"],function(){he.valHooks[this]={set:function(e,t){if(he.isArray(t))return e.checked=he.inArray(he(e).val(),t)>-1}},de.checkOn||(he.valHooks[this].get=function(e){return null===e.getAttribute("value")?"on":e.value})});var _t=/^(?:focusinfocus|focusoutblur)$/;he.extend(he.event,{trigger:function(t,n,r,i){var a,o,s,l,u,c,p,d=[r||te],f=ue.call(t,"type")?t.type:t,h=ue.call(t,"namespace")?t.namespace.split("."):[];if(o=s=r=r||te,3!==r.nodeType&&8!==r.nodeType&&!_t.test(f+he.event.triggered)&&(f.indexOf(".")>-1&&(h=f.split("."),f=h.shift(),h.sort()),u=f.indexOf(":")<0&&"on"+f,t=t[he.expando]?t:new he.Event(f,"object"==typeof t&&t),t.isTrigger=i?2:3,t.namespace=h.join("."),t.rnamespace=t.namespace?new RegExp("(^|\\.)"+h.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,t.result=void 0,t.target||(t.target=r),n=null==n?[t]:he.makeArray(n,[t]),p=he.event.special[f]||{},i||!p.trigger||p.trigger.apply(r,n)!==!1)){if(!i&&!p.noBubble&&!he.isWindow(r)){for(l=p.delegateType||f,_t.test(l+f)||(o=o.parentNode);o;o=o.parentNode)d.push(o),s=o;s===(r.ownerDocument||te)&&d.push(s.defaultView||s.parentWindow||e)}for(a=0;(o=d[a++])&&!t.isPropagationStopped();)t.type=a>1?l:p.bindType||f,c=(Oe.get(o,"events")||{})[t.type]&&Oe.get(o,"handle"),c&&c.apply(o,n),c=u&&o[u],c&&c.apply&&je(o)&&(t.result=c.apply(o,n),t.result===!1&&t.preventDefault());return t.type=f,i||t.isDefaultPrevented()||p._default&&p._default.apply(d.pop(),n)!==!1||!je(r)||u&&he.isFunction(r[f])&&!he.isWindow(r)&&(s=r[u],s&&(r[u]=null),he.event.triggered=f,r[f](),he.event.triggered=void 0,s&&(r[u]=s)),t.result}},simulate:function(e,t,n){var r=he.extend(new he.Event,n,{type:e,isSimulated:!0});he.event.trigger(r,null,t)}}),he.fn.extend({trigger:function(e,t){return this.each(function(){he.event.trigger(e,t,this)})},triggerHandler:function(e,t){var n=this[0];if(n)return he.event.trigger(e,t,n,!0)}}),he.each("blur focus focusin focusout resize scroll click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup contextmenu".split(" "),function(e,t){he.fn[t]=function(e,n){return arguments.length>0?this.on(t,null,e,n):this.trigger(t)}}),he.fn.extend({hover:function(e,t){return this.mouseenter(e).mouseleave(t||e)}}),de.focusin="onfocusin"in e,de.focusin||he.each({focus:"focusin",blur:"focusout"},function(e,t){var n=function(e){he.event.simulate(t,e.target,he.event.fix(e))};he.event.special[t]={setup:function(){var r=this.ownerDocument||this,i=Oe.access(r,t);i||r.addEventListener(e,n,!0),Oe.access(r,t,(i||0)+1)},teardown:function(){var r=this.ownerDocument||this,i=Oe.access(r,t)-1;i?Oe.access(r,t,i):(r.removeEventListener(e,n,!0),Oe.remove(r,t))}}});var Tt=e.location,Et=he.now(),kt=/\?/;he.parseXML=function(t){var n;if(!t||"string"!=typeof t)return null;try{n=(new e.DOMParser).parseFromString(t,"text/xml")}catch(e){n=void 0}return n&&!n.getElementsByTagName("parsererror").length||he.error("Invalid XML: "+t),n};var Ct=/\[\]$/,St=/\r?\n/g,Rt=/^(?:submit|button|image|reset|file)$/i,At=/^(?:input|select|textarea|keygen)/i;he.param=function(e,t){var n,r=[],i=function(e,t){var n=he.isFunction(t)?t():t;r[r.length]=encodeURIComponent(e)+"="+encodeURIComponent(null==n?"":n)};if(he.isArray(e)||e.jquery&&!he.isPlainObject(e))he.each(e,function(){i(this.name,this.value)});else for(n in e)G(n,e[n],t,i);return r.join("&")},he.fn.extend({serialize:function(){return he.param(this.serializeArray())},serializeArray:function(){return this.map(function(){var e=he.prop(this,"elements");return e?he.makeArray(e):this}).filter(function(){var e=this.type;return this.name&&!he(this).is(":disabled")&&At.test(this.nodeName)&&!Rt.test(e)&&(this.checked||!Be.test(e))}).map(function(e,t){var n=he(this).val();return null==n?null:he.isArray(n)?he.map(n,function(e){return{name:t.name,value:e.replace(St,"\r\n")}}):{name:t.name,value:n.replace(St,"\r\n")}}).get()}});var Dt=/%20/g,Lt=/#.*$/,Nt=/([?&])_=[^&]*/,Pt=/^(.*?):[ \t]*([^\r\n]*)$/gm,jt=/^(?:about|app|app-storage|.+-extension|file|res|widget):$/,Ot=/^(?:GET|HEAD)$/,Mt=/^\/\//,It={},qt={},$t="*/".concat("*"),Ft=te.createElement("a");Ft.href=Tt.href,he.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:Tt.href,type:"GET",isLocal:jt.test(Tt.protocol),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":$t,text:"text/plain",html:"text/html",xml:"application/xml, text/xml",json:"application/json, text/javascript"},contents:{xml:/\bxml\b/,html:/\bhtml/,json:/\bjson\b/},responseFields:{xml:"responseXML",text:"responseText",json:"responseJSON"},converters:{"* text":String,"text html":!0,"text json":JSON.parse,"text xml":he.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(e,t){return t?Y(Y(e,he.ajaxSettings),t):Y(he.ajaxSettings,e)},ajaxPrefilter:z(It),ajaxTransport:z(qt),ajax:function(t,n){function r(t,n,r,s){var u,d,f,w,x,_=n;c||(c=!0,l&&e.clearTimeout(l),i=void 0,o=s||"",T.readyState=t>0?4:0,u=t>=200&&t<300||304===t,r&&(w=Q(h,T,r)),w=J(h,w,T,u),u?(h.ifModified&&(x=T.getResponseHeader("Last-Modified"),x&&(he.lastModified[a]=x),x=T.getResponseHeader("etag"),x&&(he.etag[a]=x)),204===t||"HEAD"===h.type?_="nocontent":304===t?_="notmodified":(_=w.state,d=w.data,f=w.error,u=!f)):(f=_,!t&&_||(_="error",t<0&&(t=0))),T.status=t,T.statusText=(n||_)+"",u?v.resolveWith(m,[d,_,T]):v.rejectWith(m,[T,_,f]),T.statusCode(y),y=void 0,p&&g.trigger(u?"ajaxSuccess":"ajaxError",[T,h,u?d:f]),b.fireWith(m,[T,_]),p&&(g.trigger("ajaxComplete",[T,h]),--he.active||he.event.trigger("ajaxStop")))}"object"==typeof t&&(n=t,t=void 0),n=n||{};var i,a,o,s,l,u,c,p,d,f,h=he.ajaxSetup({},n),m=h.context||h,g=h.context&&(m.nodeType||m.jquery)?he(m):he.event,v=he.Deferred(),b=he.Callbacks("once memory"),y=h.statusCode||{},w={},x={},_="canceled",T={readyState:0,getResponseHeader:function(e){var t;if(c){if(!s)for(s={};t=Pt.exec(o);)s[t[1].toLowerCase()]=t[2];t=s[e.toLowerCase()]}return null==t?null:t},getAllResponseHeaders:function(){return c?o:null},setRequestHeader:function(e,t){return null==c&&(e=x[e.toLowerCase()]=x[e.toLowerCase()]||e,w[e]=t),this},overrideMimeType:function(e){return null==c&&(h.mimeType=e),this},statusCode:function(e){var t;if(e)if(c)T.always(e[T.status]);else for(t in e)y[t]=[y[t],e[t]];return this},abort:function(e){var t=e||_;return i&&i.abort(t),r(0,t),this}};if(v.promise(T),h.url=((t||h.url||Tt.href)+"").replace(Mt,Tt.protocol+"//"),h.type=n.method||n.type||h.method||h.type,h.dataTypes=(h.dataType||"*").toLowerCase().match(De)||[""],null==h.crossDomain){u=te.createElement("a");try{u.href=h.url,u.href=u.href,h.crossDomain=Ft.protocol+"//"+Ft.host!=u.protocol+"//"+u.host}catch(e){h.crossDomain=!0}}if(h.data&&h.processData&&"string"!=typeof h.data&&(h.data=he.param(h.data,h.traditional)),X(It,h,n,T),c)return T;p=he.event&&h.global,p&&0===he.active++&&he.event.trigger("ajaxStart"),h.type=h.type.toUpperCase(),h.hasContent=!Ot.test(h.type),a=h.url.replace(Lt,""),h.hasContent?h.data&&h.processData&&0===(h.contentType||"").indexOf("application/x-www-form-urlencoded")&&(h.data=h.data.replace(Dt,"+")):(f=h.url.slice(a.length),h.data&&(a+=(kt.test(a)?"&":"?")+h.data,delete h.data),h.cache===!1&&(a=a.replace(Nt,"$1"),f=(kt.test(a)?"&":"?")+"_="+Et++ +f),h.url=a+f),h.ifModified&&(he.lastModified[a]&&T.setRequestHeader("If-Modified-Since",he.lastModified[a]),he.etag[a]&&T.setRequestHeader("If-None-Match",he.etag[a])),(h.data&&h.hasContent&&h.contentType!==!1||n.contentType)&&T.setRequestHeader("Content-Type",h.contentType),T.setRequestHeader("Accept",h.dataTypes[0]&&h.accepts[h.dataTypes[0]]?h.accepts[h.dataTypes[0]]+("*"!==h.dataTypes[0]?", "+$t+"; q=0.01":""):h.accepts["*"]);for(d in h.headers)T.setRequestHeader(d,h.headers[d]);if(h.beforeSend&&(h.beforeSend.call(m,T,h)===!1||c))return T.abort();if(_="abort",b.add(h.complete),T.done(h.success),T.fail(h.error),i=X(qt,h,n,T)){if(T.readyState=1,p&&g.trigger("ajaxSend",[T,h]),c)return T;h.async&&h.timeout>0&&(l=e.setTimeout(function(){T.abort("timeout")},h.timeout));try{c=!1,i.send(w,r)}catch(e){if(c)throw e;r(-1,e)}}else r(-1,"No Transport");return T},getJSON:function(e,t,n){return he.get(e,t,n,"json")},getScript:function(e,t){return he.get(e,void 0,t,"script")}}),he.each(["get","post"],function(e,t){he[t]=function(e,n,r,i){return he.isFunction(n)&&(i=i||r,r=n,n=void 0),he.ajax(he.extend({url:e,type:t,dataType:i,data:n,success:r},he.isPlainObject(e)&&e))}}),he._evalUrl=function(e){return he.ajax({url:e,type:"GET",dataType:"script",cache:!0,async:!1,global:!1,throws:!0})},he.fn.extend({wrapAll:function(e){var t;return this[0]&&(he.isFunction(e)&&(e=e.call(this[0])),t=he(e,this[0].ownerDocument).eq(0).clone(!0),this[0].parentNode&&t.insertBefore(this[0]),t.map(function(){for(var e=this;e.firstElementChild;)e=e.firstElementChild;return e}).append(this)),this},wrapInner:function(e){return he.isFunction(e)?this.each(function(t){he(this).wrapInner(e.call(this,t))}):this.each(function(){var t=he(this),n=t.contents();n.length?n.wrapAll(e):t.append(e)})},wrap:function(e){var t=he.isFunction(e);return this.each(function(n){he(this).wrapAll(t?e.call(this,n):e)})},unwrap:function(e){return this.parent(e).not("body").each(function(){he(this).replaceWith(this.childNodes)}),this}}),he.expr.pseudos.hidden=function(e){return!he.expr.pseudos.visible(e)},he.expr.pseudos.visible=function(e){return!!(e.offsetWidth||e.offsetHeight||e.getClientRects().length)},he.ajaxSettings.xhr=function(){try{return new e.XMLHttpRequest}catch(e){}};var Ut={0:200,1223:204},Kt=he.ajaxSettings.xhr();de.cors=!!Kt&&"withCredentials"in Kt,de.ajax=Kt=!!Kt,he.ajaxTransport(function(t){var n,r;if(de.cors||Kt&&!t.crossDomain)return{send:function(i,a){var o,s=t.xhr();if(s.open(t.type,t.url,t.async,t.username,t.password),t.xhrFields)for(o in t.xhrFields)s[o]=t.xhrFields[o];t.mimeType&&s.overrideMimeType&&s.overrideMimeType(t.mimeType),t.crossDomain||i["X-Requested-With"]||(i["X-Requested-With"]="XMLHttpRequest");for(o in i)s.setRequestHeader(o,i[o]);n=function(e){return function(){n&&(n=r=s.onload=s.onerror=s.onabort=s.onreadystatechange=null,"abort"===e?s.abort():"error"===e?"number"!=typeof s.status?a(0,"error"):a(s.status,s.statusText):a(Ut[s.status]||s.status,s.statusText,"text"!==(s.responseType||"text")||"string"!=typeof s.responseText?{binary:s.response}:{text:s.responseText},s.getAllResponseHeaders()))}},s.onload=n(),r=s.onerror=n("error"),void 0!==s.onabort?s.onabort=r:s.onreadystatechange=function(){4===s.readyState&&e.setTimeout(function(){n&&r()})},n=n("abort");try{s.send(t.hasContent&&t.data||null)}catch(e){if(n)throw e}},abort:function(){n&&n()}}}),he.ajaxPrefilter(function(e){e.crossDomain&&(e.contents.script=!1)}),he.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/\b(?:java|ecma)script\b/},converters:{"text script":function(e){return he.globalEval(e),e}}}),he.ajaxPrefilter("script",function(e){void 0===e.cache&&(e.cache=!1),e.crossDomain&&(e.type="GET")}),he.ajaxTransport("script",function(e){if(e.crossDomain){var t,n;return{send:function(r,i){t=he("<script>").prop({charset:e.scriptCharset,src:e.url}).on("load error",n=function(e){t.remove(),n=null,e&&i("error"===e.type?404:200,e.type)}),te.head.appendChild(t[0])},abort:function(){n&&n()}}}});var Wt=[],Ht=/(=)\?(?=&|$)|\?\?/;he.ajaxSetup({
jsonp:"callback",jsonpCallback:function(){var e=Wt.pop()||he.expando+"_"+Et++;return this[e]=!0,e}}),he.ajaxPrefilter("json jsonp",function(t,n,r){var i,a,o,s=t.jsonp!==!1&&(Ht.test(t.url)?"url":"string"==typeof t.data&&0===(t.contentType||"").indexOf("application/x-www-form-urlencoded")&&Ht.test(t.data)&&"data");if(s||"jsonp"===t.dataTypes[0])return i=t.jsonpCallback=he.isFunction(t.jsonpCallback)?t.jsonpCallback():t.jsonpCallback,s?t[s]=t[s].replace(Ht,"$1"+i):t.jsonp!==!1&&(t.url+=(kt.test(t.url)?"&":"?")+t.jsonp+"="+i),t.converters["script json"]=function(){return o||he.error(i+" was not called"),o[0]},t.dataTypes[0]="json",a=e[i],e[i]=function(){o=arguments},r.always(function(){void 0===a?he(e).removeProp(i):e[i]=a,t[i]&&(t.jsonpCallback=n.jsonpCallback,Wt.push(i)),o&&he.isFunction(a)&&a(o[0]),o=a=void 0}),"script"}),de.createHTMLDocument=function(){var e=te.implementation.createHTMLDocument("").body;return e.innerHTML="<form></form><form></form>",2===e.childNodes.length}(),he.parseHTML=function(e,t,n){if("string"!=typeof e)return[];"boolean"==typeof t&&(n=t,t=!1);var r,i,a;return t||(de.createHTMLDocument?(t=te.implementation.createHTMLDocument(""),r=t.createElement("base"),r.href=te.location.href,t.head.appendChild(r)):t=te),i=Te.exec(e),a=!n&&[],i?[t.createElement(i[1])]:(i=y([e],t,a),a&&a.length&&he(a).remove(),he.merge([],i.childNodes))},he.fn.load=function(e,t,n){var r,i,a,o=this,s=e.indexOf(" ");return s>-1&&(r=B(e.slice(s)),e=e.slice(0,s)),he.isFunction(t)?(n=t,t=void 0):t&&"object"==typeof t&&(i="POST"),o.length>0&&he.ajax({url:e,type:i||"GET",dataType:"html",data:t}).done(function(e){a=arguments,o.html(r?he("<div>").append(he.parseHTML(e)).find(r):e)}).always(n&&function(e,t){o.each(function(){n.apply(this,a||[e.responseText,t,e])})}),this},he.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(e,t){he.fn[t]=function(e){return this.on(t,e)}}),he.expr.pseudos.animated=function(e){return he.grep(he.timers,function(t){return e===t.elem}).length},he.offset={setOffset:function(e,t,n){var r,i,a,o,s,l,u,c=he.css(e,"position"),p=he(e),d={};"static"===c&&(e.style.position="relative"),s=p.offset(),a=he.css(e,"top"),l=he.css(e,"left"),u=("absolute"===c||"fixed"===c)&&(a+l).indexOf("auto")>-1,u?(r=p.position(),o=r.top,i=r.left):(o=parseFloat(a)||0,i=parseFloat(l)||0),he.isFunction(t)&&(t=t.call(e,n,he.extend({},s))),null!=t.top&&(d.top=t.top-s.top+o),null!=t.left&&(d.left=t.left-s.left+i),"using"in t?t.using.call(e,d):p.css(d)}},he.fn.extend({offset:function(e){if(arguments.length)return void 0===e?this:this.each(function(t){he.offset.setOffset(this,e,t)});var t,n,r,i,a=this[0];return a?a.getClientRects().length?(r=a.getBoundingClientRect(),r.width||r.height?(i=a.ownerDocument,n=Z(i),t=i.documentElement,{top:r.top+n.pageYOffset-t.clientTop,left:r.left+n.pageXOffset-t.clientLeft}):r):{top:0,left:0}:void 0},position:function(){if(this[0]){var e,t,n=this[0],r={top:0,left:0};return"fixed"===he.css(n,"position")?t=n.getBoundingClientRect():(e=this.offsetParent(),t=this.offset(),he.nodeName(e[0],"html")||(r=e.offset()),r={top:r.top+he.css(e[0],"borderTopWidth",!0),left:r.left+he.css(e[0],"borderLeftWidth",!0)}),{top:t.top-r.top-he.css(n,"marginTop",!0),left:t.left-r.left-he.css(n,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){for(var e=this.offsetParent;e&&"static"===he.css(e,"position");)e=e.offsetParent;return e||Ye})}}),he.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(e,t){var n="pageYOffset"===t;he.fn[e]=function(r){return Pe(this,function(e,r,i){var a=Z(e);return void 0===i?a?a[t]:e[r]:void(a?a.scrollTo(n?a.pageXOffset:i,n?i:a.pageYOffset):e[r]=i)},e,r,arguments.length)}}),he.each(["top","left"],function(e,t){he.cssHooks[t]=N(de.pixelPosition,function(e,n){if(n)return n=L(e,t),ot.test(n)?he(e).position()[t]+"px":n})}),he.each({Height:"height",Width:"width"},function(e,t){he.each({padding:"inner"+e,content:t,"":"outer"+e},function(n,r){he.fn[r]=function(i,a){var o=arguments.length&&(n||"boolean"!=typeof i),s=n||(i===!0||a===!0?"margin":"border");return Pe(this,function(t,n,i){var a;return he.isWindow(t)?0===r.indexOf("outer")?t["inner"+e]:t.document.documentElement["client"+e]:9===t.nodeType?(a=t.documentElement,Math.max(t.body["scroll"+e],a["scroll"+e],t.body["offset"+e],a["offset"+e],a["client"+e])):void 0===i?he.css(t,n,s):he.style(t,n,i,s)},t,o?i:void 0,o)}})}),he.fn.extend({bind:function(e,t,n){return this.on(e,null,t,n)},unbind:function(e,t){return this.off(e,null,t)},delegate:function(e,t,n,r){return this.on(t,e,n,r)},undelegate:function(e,t,n){return 1===arguments.length?this.off(e,"**"):this.off(t,e||"**",n)}}),he.parseJSON=JSON.parse,"function"==typeof define&&define.amd&&define("jquery",[],function(){return he});var Bt=e.jQuery,Vt=e.$;return he.noConflict=function(t){return e.$===he&&(e.$=Vt),t&&e.jQuery===he&&(e.jQuery=Bt),he},t||(e.jQuery=e.$=he),he}),define("deps/jquery",function(){}),define("core/jquery-enhanced",["core/pubsubhub","core/utils","deps/jquery"],function(e,t){return $.fn.renameElement=function(t){var n=[];return this.each(function(){for(var r=$(this.ownerDocument.createElement(t)),i=0,a=this.attributes.length;i<a;i++){var o=this.attributes[i];try{r[0].setAttributeNS(o.namespaceURI,o.name,o.value)}catch(t){var s="Your HTML markup is malformed. Error in: \n";s+=this.outerHTML,e.pub("error",s);break}}$(this).contents().appendTo(r),$(this).replaceWith(r),n.push(r[0])}),$(n)},$.fn.getDfnTitles=function(n){var r=[],i="",a="",o="";if(void 0===this.attr("data-lt-noDefault")&&(o=t.norm(this.text()).toLowerCase()),this.attr("data-lt")||this.attr("lt")){if(i=this.attr("data-lt")?"data-lt":"lt",a=this.attr(i).toLowerCase(),""!==o){var s=new RegExp("^"+o+"\\|");s.test(a)||(a=o+"|"+a)}}else this.attr("title")?(a=this.attr("title"),i="title",e.pub("warn","Using deprecated attribute title for '"+this.text()+"': see https://github.com/w3c/respec/wiki/User's-Guide#definitions-and-linking")):a=1==this.contents().length&&1==this.children("abbr, acronym").length&&this.find(":first-child").attr("title")?this.find(":first-child").attr("title"):'""'===this.text()?"the-empty-string":this.text();return a=t.norm(a).toLowerCase(),n&&n.isDefinition===!0&&(i&&(this.attr("data-lt",a),this.removeAttr(i)),this.attr("dfn-type")?(this.attr("data-dfn-type",this.attr("dfn-type")),this.removeAttr("dfn-type")):this.attr("data-dfn-type","dfn")),a.split("|").forEach(function(e){""!=e&&r.push(e)}),r},$.fn.linkTargets=function(){var e=this,t=(e.attr("for")||e.attr("data-for")||e.closest("[link-for]").attr("link-for")||e.closest("[data-link-for]").attr("data-link-for")||"").toLowerCase(),n=e.getDfnTitles(),r=[];return $.each(n,function(){r.push({for_:t,title:this});var e=this.split(".");2===e.length&&r.push({for_:e[0],title:e[1]}),r.push({for_:"",title:this})}),r},$.fn.makeID=function(e,t,n){if(this.attr("id"))return this.attr("id");t||(t=this.attr("title")?this.attr("title"):this.text()),t=t.replace(/^\s+/,"").replace(/\s+$/,"");var r=n?t:t.toLowerCase();r=r.split(/[^\-.0-9a-z_]+/i).join("-").replace(/^-+/,"").replace(/-+$/,""),/\.$/.test(r)&&(r+="x"),r.length>0&&/^[^a-z]/i.test(r)&&(r="x"+r),0===r.length&&(r="generatedID"),e&&(r=e+"-"+r);var i=1,a=this[0].ownerDocument;if($("#"+r,a).length){for(;$("#"+r+"-"+i,a).length;)i++;r+="-"+i}return this.attr("id",r),r},$.fn.allTextNodes=function(e){function t(e){if(1!==e.nodeType||!r[e.localName.toLowerCase()])if(3===e.nodeType)n.push(e);else for(var i=0,a=e.childNodes.length;i<a;++i)t(e.childNodes[i])}for(var n=[],r={},i=0,a=e.length;i<a;i++)r[e[i]]=!0;return t(this[0]),n},window.$=$,$}),define("core/ui",["shortcut","core/pubsubhub","core/jquery-enhanced"],function(e,t){function n(e,t){Array.from(t.entries()).reduce(function(e,t){const n=t[0],r=t[1];return e.setAttribute("aria-"+n,r),e},e)}function r(e,t,r,i){if(t.push(e),u.hasOwnProperty(r))return void u[r].text(t.length);u[r]=$("<button id='respec-pill-"+r+"' class='respec-info-button'>"+t.length+"</button>").appendTo(c).click(function(){this.setAttribute("aria-expanded","true");for(var e=$("<ol></ol>"),n=0,r=t.length;n<r;n++){var a=t[n];a instanceof Error?$("<li><span></span> <a>⊞</a><pre></pre></li>").appendTo(e).find("span").text("["+a.name+"] "+a.message).end().find("a").css({fontSize:"1.1em",color:"#999",cursor:"pointer"}).click(function(){var e=$(this),t=e.text(),n=e.parent().find("pre");"⊞"===t?(e.text("⊟"),n.show()):(e.text("⊞"),n.hide())}).end().find("pre").text(a.stack).css({marginLeft:"0",maxWidth:"100%",overflowY:"hidden",overflowX:"scroll"}).hide().end():$("<li></li>").text(a).appendTo(e)}f.freshModal(i,e,this)});const a=new Map([["expanded","false"],["haspopup","true"],["controls","respec-pill-"+r+"-modal"],["label","Document "+i.toLowerCase()]]);n(u[r][0],a)}const i=$("<ul id=respec-menu role=menu aria-labelledby='respec-pill'></ul>");var a,o;const s=[],l=[],u={},c=$("<div id='respec-ui' class='removeOnSave respec-hidden'></div>",document).appendTo($("body",document)),p=$("<button id='respec-pill' disabled>ReSpec</button>").click(function(e){e.stopPropagation();const t="true"===this.getAttribute("aria-expanded")?"false":"true";this.setAttribute("aria-expanded",t),i.toggle()}).appendTo(c);document.documentElement.addEventListener("click",function(){"block"===window.getComputedStyle(i[0]).display&&i.fadeOut(200)}),i.appendTo(c);const d=new Map([["controls","respec-menu"],["expanded","false"],["haspopup","true"],["label","ReSpec Menu"]]);n(p[0],d);const f={show:function(){try{c[0].classList.remove("respec-hidden"),c[0].setAttribute("aria-expanded","true")}catch(e){console.error(e)}},hide:function(){c[0].classList.add("respec-hidden"),c[0].setAttribute("aria-expanded","false")},enable:function(){p[0].removeAttribute("disabled")},addCommand:function(t,n,r,a){a=a||"";var o=function(){i.hide(),require([n],function(e){e.show()})},s="respec-button-"+t.toLowerCase().replace(/\s+/,"-"),l=$('<li role=menuitem><button id="'+s+'" class="respec-option" title="'+r+'"><span class="respec-cmd-icon">'+a+"</span> "+t+"… </button></li>").click(o).appendTo(i);return r&&e.add(r,o),l[0].querySelector("button")},error:function(e){r(e,s,"error","Errors")},warning:function(e){r(e,l,"warning","Warnings")},closeModal:function(e){o&&o.fadeOut(200,function(){o.remove(),o=null}),e&&e.setAttribute("aria-expanded","false"),a&&(a.remove(),a=null)},freshModal:function(e,t,r){a&&a.remove(),o&&o.remove();var i=500;o=$("<div id='respec-overlay' class='removeOnSave'></div>").hide();const s=r.id+"-modal",l=s+"-heading";a=$("<div id='"+s+"' class='respec-modal' role=dialog class='removeOnSave'><h3></h3><div class='inside'></div></div>").hide(),a.find("h3").text(e),a.find("h3")[0].id=l;const u=new Map([["labelledby",l]]);n(a[0],u),a.find(".inside").append(t),$("body").append(o).append(a),o.click(function(){this.closeModal(r)}.bind(this)).css({display:"block",opacity:0,position:"fixed",zIndex:1e4,top:"0px",left:"0px",height:"100%",width:"100%",background:"#000"}).fadeTo(200,.5),a.css({display:"block",position:"fixed",opacity:0,zIndex:11e3,left:"50%",marginLeft:-(i/2)+"px",top:"100px",background:"#fff",border:"5px solid #666",borderRadius:"5px",width:i+"px",padding:"0 20px 20px 20px",maxHeight:$(window).height()-150+"px",overflowY:"auto"}).fadeTo(200,1)}};return e.add("Esc",function(){f.closeModal()}),e.add("Ctrl+Alt+Shift+E",function(){u.error&&u.error.click()}),e.add("Ctrl+Alt+Shift+W",function(){u.warning&&u.warning.click()}),window.respecUI=f,t.sub("error",function(e){f.error(e)}),t.sub("warn",function(e){f.warning(e)}),f}),define("core/aria",["core/pubsubhub"],function(e){document.body.setAttribute("aria-busy","true"),(0,e.sub)("end-all",function(){document.body.setAttribute("aria-busy","false")},{once:!0})}),define("deps/text",["module"],function(e){function t(e,t){return void 0===e||""===e?t:e}function n(e,n,r,i){if(n===i)return!0;if(e===r){if("http"===e)return t(n,"80")===t(i,"80");if("https"===e)return t(n,"443")===t(i,"443")}return!1}var r,i,a,o,s,l=["Msxml2.XMLHTTP","Microsoft.XMLHTTP","Msxml2.XMLHTTP.4.0"],u=/^\s*<\?xml(\s)+version=[\'\"](\d)*.(\d)*[\'\"](\s)*\?>/im,c=/<body[^>]*>\s*([\s\S]+)\s*<\/body>/im,p="undefined"!=typeof location&&location.href,d=p&&location.protocol&&location.protocol.replace(/\:/,""),f=p&&location.hostname,h=p&&(location.port||void 0),m={},g=e.config&&e.config()||{};return r={version:"2.0.15",strip:function(e){if(e){e=e.replace(u,"");var t=e.match(c);t&&(e=t[1])}else e="";return e},jsEscape:function(e){return e.replace(/(['\\])/g,"\\$1").replace(/[\f]/g,"\\f").replace(/[\b]/g,"\\b").replace(/[\n]/g,"\\n").replace(/[\t]/g,"\\t").replace(/[\r]/g,"\\r").replace(/[\u2028]/g,"\\u2028").replace(/[\u2029]/g,"\\u2029")},createXhr:g.createXhr||function(){var e,t,n;if("undefined"!=typeof XMLHttpRequest)return new XMLHttpRequest;if("undefined"!=typeof ActiveXObject)for(t=0;t<3;t+=1){n=l[t];try{e=new ActiveXObject(n)}catch(e){}if(e){l=[n];break}}return e},parseName:function(e){var t,n,r,i=!1,a=e.lastIndexOf("."),o=0===e.indexOf("./")||0===e.indexOf("../");return a!==-1&&(!o||a>1)?(t=e.substring(0,a),n=e.substring(a+1)):t=e,r=n||t,a=r.indexOf("!"),a!==-1&&(i="strip"===r.substring(a+1),r=r.substring(0,a),n?n=r:t=r),{moduleName:t,ext:n,strip:i}},xdRegExp:/^((\w+)\:)?\/\/([^\/\\]+)/,useXhr:function(e,t,i,a){var o,s,l,u=r.xdRegExp.exec(e);return!u||(o=u[2],s=u[3],s=s.split(":"),l=s[1],s=s[0],(!o||o===t)&&(!s||s.toLowerCase()===i.toLowerCase())&&(!l&&!s||n(o,l,t,a)))},finishLoad:function(e,t,n,i){n=t?r.strip(n):n,g.isBuild&&(m[e]=n),i(n)},load:function(e,t,n,i){if(i&&i.isBuild&&!i.inlineText)return void n();g.isBuild=i&&i.isBuild;var a=r.parseName(e),o=a.moduleName+(a.ext?"."+a.ext:""),s=t.toUrl(o),l=g.useXhr||r.useXhr;return 0===s.indexOf("empty:")?void n():void(!p||l(s,d,f,h)?r.get(s,function(t){r.finishLoad(e,a.strip,t,n)},function(e){n.error&&n.error(e)}):t([o],function(e){r.finishLoad(a.moduleName+"."+a.ext,a.strip,e,n)}))},write:function(e,t,n,i){if(m.hasOwnProperty(t)){var a=r.jsEscape(m[t]);n.asModule(e+"!"+t,"define(function () { return '"+a+"';});\n")}},writeFile:function(e,t,n,i,a){var o=r.parseName(t),s=o.ext?"."+o.ext:"",l=o.moduleName+s,u=n.toUrl(o.moduleName+s)+".js";r.load(l,n,function(t){var n=function(e){return i(u,e)};n.asModule=function(e,t){return i.asModule(e,u,t)},r.write(e,l,n,a)},a)}},"node"===g.env||!g.env&&"undefined"!=typeof process&&process.versions&&process.versions.node&&!process.versions["node-webkit"]&&!process.versions["atom-shell"]?(i=require.nodeRequire("fs"),r.get=function(e,t,n){try{var r=i.readFileSync(e,"utf8");"\ufeff"===r[0]&&(r=r.substring(1)),t(r)}catch(e){n&&n(e)}}):"xhr"===g.env||!g.env&&r.createXhr()?r.get=function(e,t,n,i){var a,o=r.createXhr();if(o.open("GET",e,!0),i)for(a in i)i.hasOwnProperty(a)&&o.setRequestHeader(a.toLowerCase(),i[a]);g.onXhr&&g.onXhr(o,e),o.onreadystatechange=function(r){var i,a;4===o.readyState&&(i=o.status||0,i>399&&i<600?(a=new Error(e+" HTTP status: "+i),a.xhr=o,n&&n(a)):t(o.responseText),g.onXhrComplete&&g.onXhrComplete(o,e))},o.send(null)}:"rhino"===g.env||!g.env&&"undefined"!=typeof Packages&&"undefined"!=typeof java?r.get=function(e,t){var n,r,i="utf-8",a=new java.io.File(e),o=java.lang.System.getProperty("line.separator"),s=new java.io.BufferedReader(new java.io.InputStreamReader(new java.io.FileInputStream(a),i)),l="";try{for(n=new java.lang.StringBuffer,r=s.readLine(),r&&r.length()&&65279===r.charAt(0)&&(r=r.substring(1)),null!==r&&n.append(r);null!==(r=s.readLine());)n.append(o),n.append(r);l=String(n.toString())}finally{s.close()}t(l)}:("xpconnect"===g.env||!g.env&&"undefined"!=typeof Components&&Components.classes&&Components.interfaces)&&(a=Components.classes,o=Components.interfaces,Components.utils.import("resource://gre/modules/FileUtils.jsm"),s="@mozilla.org/windows-registry-key;1"in a,r.get=function(e,t){var n,r,i,l={};s&&(e=e.replace(/\//g,"\\")),i=new FileUtils.File(e);try{n=a["@mozilla.org/network/file-input-stream;1"].createInstance(o.nsIFileInputStream),n.init(i,1,0,!1),r=a["@mozilla.org/intl/converter-input-stream;1"].createInstance(o.nsIConverterInputStream),r.init(n,"utf-8",n.available(),o.nsIConverterInputStream.DEFAULT_REPLACEMENT_CHARACTER),r.readString(n.available(),l),r.close(),n.close(),t(l.value)}catch(e){throw new Error((i&&i.path||"")+": "+e)}}),r}),define("deps/text!core/css/respec2.css",[],function(){return'/*****************************************************************\n * ReSpec 3 CSS\n * Robin Berjon - http://berjon.com/\n *****************************************************************/\n\n/* Override code highlighter background */\n.hljs {\n background: transparent !important;\n}\n\n/* --- INLINES --- */\nem.rfc2119 {\n text-transform: lowercase;\n font-variant: small-caps;\n font-style: normal;\n color: #900;\n}\n\nh1 acronym, h2 acronym, h3 acronym, h4 acronym, h5 acronym, h6 acronym, a acronym,\nh1 abbr, h2 abbr, h3 abbr, h4 abbr, h5 abbr, h6 abbr, a abbr {\n border: none;\n}\n\ndfn {\n font-weight: bold;\n}\n\na.internalDFN {\n color: inherit;\n border-bottom: 1px solid #99c;\n text-decoration: none;\n}\n\na.externalDFN {\n color: inherit;\n border-bottom: 1px dotted #ccc;\n text-decoration: none;\n}\n\na.bibref {\n text-decoration: none;\n}\n\ncite .bibref {\n font-style: normal;\n}\n\ncode {\n color: #C83500;\n}\n\nth code {\n color: inherit;\n}\n\n/* --- TOC --- */\n.toc a, .tof a {\n text-decoration: none;\n}\n\na .secno, a .figno {\n color: #000;\n}\n\nul.tof, ol.tof {\n list-style: none outside none;\n}\n\n.caption {\n margin-top: 0.5em;\n font-style: italic;\n}\n\n/* --- TABLE --- */\ntable.simple {\n border-spacing: 0;\n border-collapse: collapse;\n border-bottom: 3px solid #005a9c;\n}\n\n.simple th {\n background: #005a9c;\n color: #fff;\n padding: 3px 5px;\n text-align: left;\n}\n\n.simple th[scope="row"] {\n background: inherit;\n color: inherit;\n border-top: 1px solid #ddd;\n}\n\n.simple td {\n padding: 3px 10px;\n border-top: 1px solid #ddd;\n}\n\n.simple tr:nth-child(even) {\n background: #f0f6ff;\n}\n\n/* --- DL --- */\n.section dd > p:first-child {\n margin-top: 0;\n}\n\n.section dd > p:last-child {\n margin-bottom: 0;\n}\n\n.section dd {\n margin-bottom: 1em;\n}\n\n.section dl.attrs dd, .section dl.eldef dd {\n margin-bottom: 0;\n}\n\n.respec-hidden {\n display: none;\n}\n\n#respec-ui {\n position: fixed;\n display: flex;\n flex-direction: row-reverse;\n top: 20px;\n right: 20px;\n width: 202px;\n text-align: right;\n}\n\n#respec-pill, .respec-info-button {\n background: #fff;\n height: 2.5em;\n color: rgb(120, 120, 120);\n border: 1px solid #ccc;\n box-shadow: 1px 1px 8px 0 rgba(100, 100, 100, .5);\n}\n\n.respec-info-button {\n border: none;\n opacity: .5;\n border-radius: 2em;\n margin-right: 1em;\n min-width: 3.5em;\n}\n\n.respec-info-button:focus {\n opacity: 1;\n transition: opacity .2s;\n}\n\n\n#respec-pill:disabled{\n font-size: 2.8px;\n text-indent: -9999em;\n border-top: 1.1em solid rgba(40, 40, 40, 0.2);\n border-right: 1.1em solid rgba(40, 40, 40, 0.2);\n border-bottom: 1.1em solid rgba(40, 40, 40, 0.2);\n border-left: 1.1em solid #ffffff;\n transform: translateZ(0);\n animation: respec-spin .5s infinite linear;\n box-shadow: none;\n}\n\n#respec-pill:disabled,\n#respec-pill:disabled:after {\n border-radius: 50%;\n width: 10em;\n height: 10em;\n}\n\n@keyframes respec-spin {\n 0% {\n transform: rotate(0deg);\n }\n 100% {\n transform: rotate(360deg);\n }\n}\n\n#respec-pill:hover, #respec-pill:focus {\n color: rgb(0, 0, 0);\n background-color: rgb(245,245,245);\n transition: color .2s;\n}\n\n#respec-menu {\n position: absolute;\n margin:0;\n padding: 0;\n font-family: sans-serif;\n background: #fff;\n box-shadow: 1px 1px 8px 0 rgba(100, 100, 100, .5);\n width: 200px;\n display: none;\n text-align: left;\n margin-top: 32px;\n font-size: .8em;\n}\n\n#respec-menu li {\n list-style-type: none;\n margin: 0;\n padding: 0;\n}\n\n.respec-save-button {\n background: #fff;\n border: 1px solid #000;\n border-radius: 5px;\n padding: 5px;\n margin: 5px;\n display: block;\n width: 100%;\n color: #000;\n text-decoration: none;\n text-align: center;\n font-size: inherit;\n}\n\n\n#respec-ui button:focus, #respec-pill:focus, .respec-option:focus {\n outline:0;\n outline-style: none;\n}\n\n#respec-pill-error {\n background-color: red;\n color: white;\n}\n\n#respec-pill-warning {\n background-color: orange;\n color: white;\n}\n\n#respec-menu button.respec-option {\n background: white;\n border: none;\n width: 100%;\n text-align: left;\n font-size: inherit;\n padding: 1.2em 1.2em;\n}\n\n#respec-menu button.respec-option:hover, #respec-menu button:focus {\n background-color: #eeeeee;\n}\n\n.respec-cmd-icon {\n padding-right: .5em;\n}\n\n#respec-ui button.respec-option:last-child {\n border: none;\n border-radius: inherit;\n}\n\n.respec-offending-element {\n display: inline-block;\n position:relative;\n background: url(data:image/gif;base64,R0lGODdhBAADAPEAANv///8AAP///wAAACwAAAAABAADAEACBZQjmIAFADs=) bottom repeat-x;\n}\n\n@media print {\n .removeOnSave {\n display: none;\n }\n}\n'}),define("core/style",["deps/text!core/css/respec2.css","core/utils"],function(e,t){var n=document.createElement("style");n.id="respec-mainstyle",n.textContent=e;var r=t.makeOwnerSwapper(n);return r(document.head),{run:function(e,t,i){e.noReSpecCSS?n.remove():n.ownerDocument!==t&&r(t.head),i()}}}),define("w3c/style",["core/utils","core/pubsubhub"],function(e,t){function n(e,t){var n=e.createElement("script"),r="https://www.w3.org/scripts/TR/{version}/fixup.js".replace("{version}",t);n.src=r,e.body.appendChild(n)}function r(){var t=document.createElement("meta");t.name="viewport";var n={width:"device-width","initial-scale":"1","shrink-to-fit":"no"};return t.content=e.toKeyValuePairs(n).replace(/\"/g,""),t}function i(){var e=document.createElement("link");return e.rel="stylesheet",e.href="https://www.w3.org/StyleSheets/TR/2016/base.css",e.classList.add("removeOnSave"),e}function a(e){var t="";switch(e){case null:case!0:t="2016";break;default:e&&!isNaN(e)&&(t=e.toString().trim())}return t}function o(){var t=[{hint:"preconnect",href:"https://www.w3.org"},{hint:"preload",href:"https://www.w3.org/scripts/TR/2016/fixup.js",as:"script"},{hint:"preload",href:"https://www.w3.org/StyleSheets/TR/2016/base.css",as:"style"},{hint:"preload",href:"https://www.w3.org/StyleSheets/TR/2016/logos/W3C",as:"image"}].map(e.createResourceHint.bind(e)).reduce(function(e,t){return e.appendChild(t),e},document.createDocumentFragment());return t}var s=o();return s.appendChild(i()),document.head.querySelector("meta[name=viewport]")||s.insertBefore(r(),s.firstChild),document.head.insertBefore(s,document.head.firstChild),{run:function(r,i,o){if(!r.specStatus){var s="'specStatus' missing from ReSpec config. Defaulting to 'base'.";r.specStatus="base",t.pub("warn",s)}var l="https://www.w3.org/StyleSheets/TR/{version}",u="",c="W3C-";switch(r.specStatus.toUpperCase()){case"CG-DRAFT":case"CG-FINAL":case"BG-DRAFT":case"BG-FINAL":c=r.specStatus.toLowerCase();break;case"FPWD":case"LC":case"WD-NOTE":case"LC-NOTE":c+="WD";break;case"WG-NOTE":case"FPWD-NOTE":c+="WG-NOTE.css";break;case"UNOFFICIAL":c+="UD";break;case"FINDING":case"FINDING-DRAFT":case"BASE":c="base.css";break;default:c+=r.specStatus}var p=a(r.useExperimentalStyles||"2016");p&&!r.noToc&&t.sub("end-all",function(){n(i,p)},{once:!0});var d=p?p+"/":"";u=l.replace("{version}",d),u+=c,e.linkCSS(i,u),o()}}}),define("w3c/l10n",[],function(){var e={en:{this_version:"This version:",latest_published_version:"Latest published version:",latest_editors_draft:"Latest editor's draft:",editor:"Editor:",editors:"Editors:",author:"Author:",authors:"Authors:",abstract:"Abstract",sotd:"Status of This Document",status_at_publication:"This section describes the status of this document at the time of its publication. Other documents may supersede this document. A list of current W3C publications and the latest revision of this technical report can be found in the <a href='https://www.w3.org/TR/'>W3C technical reports index</a> at https://www.w3.org/TR/.",toc:"Table of Contents",note:"Note",fig:"Fig. ",bug_tracker:"Bug tracker:",file_a_bug:"file a bug",open_bugs:"open bugs",open_parens:"(",close_parens:")"},ko:{this_version:"현재 버전:",latest_published_version:"최신 버전:",latest_editors_draft:"Latest editor's draft:",editor:"Editor:",editors:"Editors:",author:"저자:",authors:"저자:",abstract:"요약",sotd:"현재 문서의 상태",status_at_publication:"This section describes the status of this document at the time of its publication. Other documents may supersede this document. A list of current W3C publications and the latest revision of this technical report can be found in the <a href='https://www.w3.org/TR/'>W3C technical reports index</a> at https://www.w3.org/TR/.",toc:"Table of Contents",note:"Note",fig:"그림 ",bug_tracker:"Bug tracker:",file_a_bug:"file a bug",open_bugs:"open bugs",open_parens:"(",close_parens:")"},zh:{this_version:"本版本:",latest_published_version:"最新发布草稿:",latest_editors_draft:"最新编辑草稿:",editor:"编辑:",editors:"编辑们:",author:"Author:",authors:"Authors:",abstract:"摘要",sotd:"关于本文档",status_at_publication:"本章节描述了本文档的发布状态。其它更新版本可能会覆盖本文档。W3C的文档列 表和最新版本可通过<a href='https://www.w3.org/TR/'>W3C技术报告</a>索引访问。",toc:"内容大纲",note:"注",fig:"圖",bug_tracker:"错误跟踪:",file_a_bug:"反馈错误",open_bugs:"修正中的错误",open_parens:"(",close_parens:")"},ja:{this_version:"このバージョン:",latest_published_version:"最新バージョン:",latest_editors_draft:"最新の編集用草案:",editor:"編者:",editors:"編者:",author:"著者:",authors:"著者:",abstract:"要約",sotd:"この文書の位置付け",status_at_publication:"この節には、公開時点でのこの文書の位置づけが記されている。他の文書によって置き換えられる可能性がある。現時点でのW3Cの発行文書とこのテクニカルレポートの最新版は、下記から参照できる。 <a href='https://www.w3.org/TR/'>W3C technical reports index</a> (https://www.w3.org/TR/)",toc:"目次",note:"注",fig:"図",bug_tracker:"バグの追跡履歴:",file_a_bug:"File a bug",open_bugs:"改修されていないバグ",open_parens:"(",close_parens:")"}};return e["zh-hans"]=e.zh,e["zh-cn"]=e.zh,{run:function(t,n,r){var i=$(n.documentElement).attr("lang")||"en";t.l10n=e[i]?e[i]:e.en,r()}}}),define("core/data-include",["exports","core/utils","core/pubsubhub"],function(e,t,n){function r(e){return function(){var t=e.apply(this,arguments);return new Promise(function(e,n){function r(i,a){try{var o=t[i](a),s=o.value}catch(e){return void n(e)}return o.done?void e(s):Promise.resolve(s).then(function(e){r("next",e)},function(e){r("throw",e)})}return r("next")})}}function i(e,n,r){var i=document.querySelector("[data-include-id="+n+"]"),o=i.ownerDocument,s=(0,t.runTransforms)(e,i.dataset.oninclude,r),l="string"==typeof i.dataset.includeReplace,u=void 0;switch(i.dataset.includeFormat){case"text":l?(u=o.createTextNode(s),i.parentNode.replaceChild(u,i)):i.textContent=s;break;default:if(i.innerHTML=s,l){for(u=o.createDocumentFragment();i.hasChildNodes();)u.append(i.removeChild(i.firstChild));i.parentNode.replaceChild(u,i)}}o.contains(i)&&a(i)}function a(e){["data-include","data-include-format","data-include-replace","data-include-id","oninclude"].forEach(function(t){return e.removeAttribute(t)})}function o(e,t,a){var o=this,s=Array.from(t.querySelectorAll("[data-include]")).map(function(){var e=r(regeneratorRuntime.mark(function e(t){var r,a,s,l,u;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(r=t.dataset.include){e.next=3;break}return e.abrupt("return");case 3:return a="include-"+String(Math.random()).substr(2),t.dataset.includeId=a,e.prev=5,e.next=8,fetch(r);case 8:return s=e.sent,e.next=11,s.text();case 11:l=e.sent,i(l,a,r),e.next=20;break;case 15:e.prev=15,e.t0=e.catch(5),u="data-include failed: "+r+" ("+e.t0.message+"). See console for details.",console.error("data-include failed for element: ",t,e.t0),(0,n.pub)("error",u);case 20:case"end":return e.stop()}},e,o,[[5,15]])}));return function(t){return e.apply(this,arguments)}}());Promise.all(s).then(a)}Object.defineProperty(e,"__esModule",{value:!0}),e.run=o}),function(){function e(e){this.tokens=[],this.tokens.links={},this.options=e||u.defaults,this.rules=c.normal,this.options.gfm&&(this.options.tables?this.rules=c.tables:this.rules=c.gfm)}function t(e,t){if(this.options=t||u.defaults,this.links=e,this.rules=p.normal,this.renderer=this.options.renderer||new n,this.renderer.options=this.options,!this.links)throw new Error("Tokens array requires a `links` property.");this.options.gfm?this.options.breaks?this.rules=p.breaks:this.rules=p.gfm:this.options.pedantic&&(this.rules=p.pedantic)}function n(e){this.options=e||{}}function r(e){this.tokens=[],this.token=null,this.options=e||u.defaults,this.options.renderer=this.options.renderer||new n,this.renderer=this.options.renderer,this.renderer.options=this.options}function i(e,t){return e.replace(t?/&/g:/&(?!#?\w+;)/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/"/g,""").replace(/'/g,"'")}function a(e){return e.replace(/&(#(?:\d+)|(?:#x[0-9A-Fa-f]+)|(?:\w+));?/g,function(e,t){return t=t.toLowerCase(),"colon"===t?":":"#"===t.charAt(0)?"x"===t.charAt(1)?String.fromCharCode(parseInt(t.substring(2),16)):String.fromCharCode(+t.substring(1)):""})}function o(e,t){return e=e.source,t=t||"",function n(r,i){return r?(i=i.source||i,i=i.replace(/(^|[^\[])\^/g,"$1"),e=e.replace(r,i),n):new RegExp(e,t)}}function s(){}function l(e){for(var t,n,r=1;r<arguments.length;r++){t=arguments[r];for(n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])}return e}function u(t,n,a){if(a||"function"==typeof n){a||(a=n,n=null),n=l({},u.defaults,n||{});var o,s,c=n.highlight,p=0;try{o=e.lex(t,n)}catch(e){return a(e)}s=o.length;var d=function(e){if(e)return n.highlight=c,a(e);var t;try{t=r.parse(o,n)}catch(t){e=t}return n.highlight=c,e?a(e):a(null,t)};if(!c||c.length<3)return d();if(delete n.highlight,!s)return d();for(;p<o.length;p++)!function(e){return"code"!==e.type?--s||d():c(e.text,e.lang,function(t,n){return t?d(t):null==n||n===e.text?--s||d():(e.text=n,e.escaped=!0,void(--s||d()))})}(o[p])}else try{return n&&(n=l({},u.defaults,n)),r.parse(e.lex(t,n),n)}catch(e){if(e.message+="\nPlease report this to https://github.com/chjj/marked.",(n||u.defaults).silent)return"<p>An error occured:</p><pre>"+i(e.message+"",!0)+"</pre>";throw e}}var c={newline:/^\n+/,code:/^( {4}[^\n]+\n*)+/,fences:s,hr:/^( *[-*_]){3,} *(?:\n+|$)/,heading:/^ *(#{1,6}) *([^\n]+?) *#* *(?:\n+|$)/,nptable:s,lheading:/^([^\n]+)\n *(=|-){2,} *(?:\n+|$)/,blockquote:/^( *>[^\n]+(\n(?!def)[^\n]+)*\n*)+/,list:/^( *)(bull) [\s\S]+?(?:hr|def|\n{2,}(?! )(?!\1bull )\n*|\s*$)/,html:/^ *(?:comment *(?:\n|\s*$)|closed *(?:\n{2,}|\s*$)|closing *(?:\n{2,}|\s*$))/,def:/^ *\[([^\]]+)\]: *<?([^\s>]+)>?(?: +["(]([^\n]+)[")])? *(?:\n+|$)/,table:s,paragraph:/^((?:[^\n]+\n?(?!hr|heading|lheading|blockquote|tag|def))+)\n*/,text:/^[^\n]+/};c.bullet=/(?:[*+-]|\d+\.)/,c.item=/^( *)(bull) [^\n]*(?:\n(?!\1bull )[^\n]*)*/,c.item=o(c.item,"gm")(/bull/g,c.bullet)(),c.list=o(c.list)(/bull/g,c.bullet)("hr","\\n+(?=\\1?(?:[-*_] *){3,}(?:\\n+|$))")("def","\\n+(?="+c.def.source+")")(),c.blockquote=o(c.blockquote)("def",c.def)(),c._tag="(?!(?:a|em|strong|small|s|cite|q|dfn|abbr|data|time|code|var|samp|kbd|sub|sup|i|b|u|mark|ruby|rt|rp|bdi|bdo|span|br|wbr|ins|del|img)\\b)\\w+(?!:/|[^\\w\\s@]*@)\\b",c.html=o(c.html)("comment",/<!--[\s\S]*?-->/)("closed",/<(tag)[\s\S]+?<\/\1>/)("closing",/<tag(?:"[^"]*"|'[^']*'|[^'">])*?>/)(/tag/g,c._tag)(),c.paragraph=o(c.paragraph)("hr",c.hr)("heading",c.heading)("lheading",c.lheading)("blockquote",c.blockquote)("tag","<"+c._tag)("def",c.def)(),c.normal=l({},c),c.gfm=l({},c.normal,{fences:/^ *(`{3,}|~{3,})[ \.]*(\S+)? *\n([\s\S]*?)\s*\1 *(?:\n+|$)/,paragraph:/^/,
heading:/^ *(#{1,6}) +([^\n]+?) *#* *(?:\n+|$)/}),c.gfm.paragraph=o(c.paragraph)("(?!","(?!"+c.gfm.fences.source.replace("\\1","\\2")+"|"+c.list.source.replace("\\1","\\3")+"|")(),c.tables=l({},c.gfm,{nptable:/^ *(\S.*\|.*)\n *([-:]+ *\|[-| :]*)\n((?:.*\|.*(?:\n|$))*)\n*/,table:/^ *\|(.+)\n *\|( *[-:]+[-| :]*)\n((?: *\|.*(?:\n|$))*)\n*/}),e.rules=c,e.lex=function(t,n){var r=new e(n);return r.lex(t)},e.prototype.lex=function(e){return e=e.replace(/\r\n|\r/g,"\n").replace(/\t/g," ").replace(/\u00a0/g," ").replace(/\u2424/g,"\n"),this.token(e,!0)},e.prototype.token=function(e,t,n){for(var r,i,a,o,s,l,u,p,d,e=e.replace(/^ +$/gm,"");e;)if((a=this.rules.newline.exec(e))&&(e=e.substring(a[0].length),a[0].length>1&&this.tokens.push({type:"space"})),a=this.rules.code.exec(e))e=e.substring(a[0].length),a=a[0].replace(/^ {4}/gm,""),this.tokens.push({type:"code",text:this.options.pedantic?a:a.replace(/\n+$/,"")});else if(a=this.rules.fences.exec(e))e=e.substring(a[0].length),this.tokens.push({type:"code",lang:a[2],text:a[3]||""});else if(a=this.rules.heading.exec(e))e=e.substring(a[0].length),this.tokens.push({type:"heading",depth:a[1].length,text:a[2]});else if(t&&(a=this.rules.nptable.exec(e))){for(e=e.substring(a[0].length),l={type:"table",header:a[1].replace(/^ *| *\| *$/g,"").split(/ *\| */),align:a[2].replace(/^ *|\| *$/g,"").split(/ *\| */),cells:a[3].replace(/\n$/,"").split("\n")},p=0;p<l.align.length;p++)/^ *-+: *$/.test(l.align[p])?l.align[p]="right":/^ *:-+: *$/.test(l.align[p])?l.align[p]="center":/^ *:-+ *$/.test(l.align[p])?l.align[p]="left":l.align[p]=null;for(p=0;p<l.cells.length;p++)l.cells[p]=l.cells[p].split(/ *\| */);this.tokens.push(l)}else if(a=this.rules.lheading.exec(e))e=e.substring(a[0].length),this.tokens.push({type:"heading",depth:"="===a[2]?1:2,text:a[1]});else if(a=this.rules.hr.exec(e))e=e.substring(a[0].length),this.tokens.push({type:"hr"});else if(a=this.rules.blockquote.exec(e))e=e.substring(a[0].length),this.tokens.push({type:"blockquote_start"}),a=a[0].replace(/^ *> ?/gm,""),this.token(a,t,!0),this.tokens.push({type:"blockquote_end"});else if(a=this.rules.list.exec(e)){for(e=e.substring(a[0].length),o=a[2],this.tokens.push({type:"list_start",ordered:o.length>1}),a=a[0].match(this.rules.item),r=!1,d=a.length,p=0;p<d;p++)l=a[p],u=l.length,l=l.replace(/^ *([*+-]|\d+\.) +/,""),~l.indexOf("\n ")&&(u-=l.length,l=this.options.pedantic?l.replace(/^ {1,4}/gm,""):l.replace(new RegExp("^ {1,"+u+"}","gm"),"")),this.options.smartLists&&p!==d-1&&(s=c.bullet.exec(a[p+1])[0],o===s||o.length>1&&s.length>1||(e=a.slice(p+1).join("\n")+e,p=d-1)),i=r||/\n\n(?!\s*$)/.test(l),p!==d-1&&(r="\n"===l.charAt(l.length-1),i||(i=r)),this.tokens.push({type:i?"loose_item_start":"list_item_start"}),this.token(l,!1,n),this.tokens.push({type:"list_item_end"});this.tokens.push({type:"list_end"})}else if(a=this.rules.html.exec(e))e=e.substring(a[0].length),this.tokens.push({type:this.options.sanitize?"paragraph":"html",pre:!this.options.sanitizer&&("pre"===a[1]||"script"===a[1]||"style"===a[1]),text:a[0]});else if(!n&&t&&(a=this.rules.def.exec(e)))e=e.substring(a[0].length),this.tokens.links[a[1].toLowerCase()]={href:a[2],title:a[3]};else if(t&&(a=this.rules.table.exec(e))){for(e=e.substring(a[0].length),l={type:"table",header:a[1].replace(/^ *| *\| *$/g,"").split(/ *\| */),align:a[2].replace(/^ *|\| *$/g,"").split(/ *\| */),cells:a[3].replace(/(?: *\| *)?\n$/,"").split("\n")},p=0;p<l.align.length;p++)/^ *-+: *$/.test(l.align[p])?l.align[p]="right":/^ *:-+: *$/.test(l.align[p])?l.align[p]="center":/^ *:-+ *$/.test(l.align[p])?l.align[p]="left":l.align[p]=null;for(p=0;p<l.cells.length;p++)l.cells[p]=l.cells[p].replace(/^ *\| *| *\| *$/g,"").split(/ *\| */);this.tokens.push(l)}else if(t&&(a=this.rules.paragraph.exec(e)))e=e.substring(a[0].length),this.tokens.push({type:"paragraph",text:"\n"===a[1].charAt(a[1].length-1)?a[1].slice(0,-1):a[1]});else if(a=this.rules.text.exec(e))e=e.substring(a[0].length),this.tokens.push({type:"text",text:a[0]});else if(e)throw new Error("Infinite loop on byte: "+e.charCodeAt(0));return this.tokens};var p={escape:/^\\([\\`*{}\[\]()#+\-.!_>])/,autolink:/^<([^ >]+(@|:\/)[^ >]+)>/,url:s,tag:/^<!--[\s\S]*?-->|^<\/?\w+(?:"[^"]*"|'[^']*'|[^'">])*?>/,link:/^!?\[(inside)\]\(href\)/,reflink:/^!?\[(inside)\]\s*\[([^\]]*)\]/,nolink:/^!?\[((?:\[[^\]]*\]|[^\[\]])*)\]/,strong:/^__([\s\S]+?)__(?!_)|^\*\*([\s\S]+?)\*\*(?!\*)/,em:/^\b_((?:[^_]|__)+?)_\b|^\*((?:\*\*|[\s\S])+?)\*(?!\*)/,code:/^(`+)\s*([\s\S]*?[^`])\s*\1(?!`)/,br:/^ {2,}\n(?!\s*$)/,del:s,text:/^[\s\S]+?(?=[\\<!\[_*`]| {2,}\n|$)/};p._inside=/(?:\[[^\]]*\]|[^\[\]]|\](?=[^\[]*\]))*/,p._href=/\s*<?([\s\S]*?)>?(?:\s+['"]([\s\S]*?)['"])?\s*/,p.link=o(p.link)("inside",p._inside)("href",p._href)(),p.reflink=o(p.reflink)("inside",p._inside)(),p.normal=l({},p),p.pedantic=l({},p.normal,{strong:/^__(?=\S)([\s\S]*?\S)__(?!_)|^\*\*(?=\S)([\s\S]*?\S)\*\*(?!\*)/,em:/^_(?=\S)([\s\S]*?\S)_(?!_)|^\*(?=\S)([\s\S]*?\S)\*(?!\*)/}),p.gfm=l({},p.normal,{escape:o(p.escape)("])","~|])")(),url:/^(https?:\/\/[^\s<]+[^<.,:;"')\]\s])/,del:/^~~(?=\S)([\s\S]*?\S)~~/,text:o(p.text)("]|","~]|")("|","|https?://|")()}),p.breaks=l({},p.gfm,{br:o(p.br)("{2,}","*")(),text:o(p.gfm.text)("{2,}","*")()}),t.rules=p,t.output=function(e,n,r){var i=new t(n,r);return i.output(e)},t.prototype.output=function(e){for(var t,n,r,a,o="";e;)if(a=this.rules.escape.exec(e))e=e.substring(a[0].length),o+=a[1];else if(a=this.rules.autolink.exec(e))e=e.substring(a[0].length),"@"===a[2]?(n=":"===a[1].charAt(6)?this.mangle(a[1].substring(7)):this.mangle(a[1]),r=this.mangle("mailto:")+n):(n=i(a[1]),r=n),o+=this.renderer.link(r,null,n);else if(this.inLink||!(a=this.rules.url.exec(e))){if(a=this.rules.tag.exec(e))!this.inLink&&/^<a /i.test(a[0])?this.inLink=!0:this.inLink&&/^<\/a>/i.test(a[0])&&(this.inLink=!1),e=e.substring(a[0].length),o+=this.options.sanitize?this.options.sanitizer?this.options.sanitizer(a[0]):i(a[0]):a[0];else if(a=this.rules.link.exec(e))e=e.substring(a[0].length),this.inLink=!0,o+=this.outputLink(a,{href:a[2],title:a[3]}),this.inLink=!1;else if((a=this.rules.reflink.exec(e))||(a=this.rules.nolink.exec(e))){if(e=e.substring(a[0].length),t=(a[2]||a[1]).replace(/\s+/g," "),t=this.links[t.toLowerCase()],!t||!t.href){o+=a[0].charAt(0),e=a[0].substring(1)+e;continue}this.inLink=!0,o+=this.outputLink(a,t),this.inLink=!1}else if(a=this.rules.strong.exec(e))e=e.substring(a[0].length),o+=this.renderer.strong(this.output(a[2]||a[1]));else if(a=this.rules.em.exec(e))e=e.substring(a[0].length),o+=this.renderer.em(this.output(a[2]||a[1]));else if(a=this.rules.code.exec(e))e=e.substring(a[0].length),o+=this.renderer.codespan(i(a[2],!0));else if(a=this.rules.br.exec(e))e=e.substring(a[0].length),o+=this.renderer.br();else if(a=this.rules.del.exec(e))e=e.substring(a[0].length),o+=this.renderer.del(this.output(a[1]));else if(a=this.rules.text.exec(e))e=e.substring(a[0].length),o+=this.renderer.text(i(this.smartypants(a[0])));else if(e)throw new Error("Infinite loop on byte: "+e.charCodeAt(0))}else e=e.substring(a[0].length),n=i(a[1]),r=n,o+=this.renderer.link(r,null,n);return o},t.prototype.outputLink=function(e,t){var n=i(t.href),r=t.title?i(t.title):null;return"!"!==e[0].charAt(0)?this.renderer.link(n,r,this.output(e[1])):this.renderer.image(n,r,i(e[1]))},t.prototype.smartypants=function(e){return this.options.smartypants?e.replace(/---/g,"—").replace(/--/g,"–").replace(/(^|[-\u2014\/(\[{"\s])'/g,"$1‘").replace(/'/g,"’").replace(/(^|[-\u2014\/(\[{\u2018\s])"/g,"$1“").replace(/"/g,"”").replace(/\.{3}/g,"…"):e},t.prototype.mangle=function(e){if(!this.options.mangle)return e;for(var t,n="",r=e.length,i=0;i<r;i++)t=e.charCodeAt(i),Math.random()>.5&&(t="x"+t.toString(16)),n+="&#"+t+";";return n},n.prototype.code=function(e,t,n){if(this.options.highlight){var r=this.options.highlight(e,t);null!=r&&r!==e&&(n=!0,e=r)}return t?'<pre><code class="'+this.options.langPrefix+i(t,!0)+'">'+(n?e:i(e,!0))+"\n</code></pre>\n":"<pre><code>"+(n?e:i(e,!0))+"\n</code></pre>"},n.prototype.blockquote=function(e){return"<blockquote>\n"+e+"</blockquote>\n"},n.prototype.html=function(e){return e},n.prototype.heading=function(e,t,n){return"<h"+t+' id="'+this.options.headerPrefix+n.toLowerCase().replace(/[^\w]+/g,"-")+'">'+e+"</h"+t+">\n"},n.prototype.hr=function(){return this.options.xhtml?"<hr/>\n":"<hr>\n"},n.prototype.list=function(e,t){var n=t?"ol":"ul";return"<"+n+">\n"+e+"</"+n+">\n"},n.prototype.listitem=function(e){return"<li>"+e+"</li>\n"},n.prototype.paragraph=function(e){return"<p>"+e+"</p>\n"},n.prototype.table=function(e,t){return"<table>\n<thead>\n"+e+"</thead>\n<tbody>\n"+t+"</tbody>\n</table>\n"},n.prototype.tablerow=function(e){return"<tr>\n"+e+"</tr>\n"},n.prototype.tablecell=function(e,t){var n=t.header?"th":"td",r=t.align?"<"+n+' style="text-align:'+t.align+'">':"<"+n+">";return r+e+"</"+n+">\n"},n.prototype.strong=function(e){return"<strong>"+e+"</strong>"},n.prototype.em=function(e){return"<em>"+e+"</em>"},n.prototype.codespan=function(e){return"<code>"+e+"</code>"},n.prototype.br=function(){return this.options.xhtml?"<br/>":"<br>"},n.prototype.del=function(e){return"<del>"+e+"</del>"},n.prototype.link=function(e,t,n){if(this.options.sanitize){try{var r=decodeURIComponent(a(e)).replace(/[^\w:]/g,"").toLowerCase()}catch(e){return""}if(0===r.indexOf("javascript:")||0===r.indexOf("vbscript:"))return""}var i='<a href="'+e+'"';return t&&(i+=' title="'+t+'"'),i+=">"+n+"</a>"},n.prototype.image=function(e,t,n){var r='<img src="'+e+'" alt="'+n+'"';return t&&(r+=' title="'+t+'"'),r+=this.options.xhtml?"/>":">"},n.prototype.text=function(e){return e},r.parse=function(e,t,n){var i=new r(t,n);return i.parse(e)},r.prototype.parse=function(e){this.inline=new t(e.links,this.options,this.renderer),this.tokens=e.reverse();for(var n="";this.next();)n+=this.tok();return n},r.prototype.next=function(){return this.token=this.tokens.pop()},r.prototype.peek=function(){return this.tokens[this.tokens.length-1]||0},r.prototype.parseText=function(){for(var e=this.token.text;"text"===this.peek().type;)e+="\n"+this.next().text;return this.inline.output(e)},r.prototype.tok=function(){switch(this.token.type){case"space":return"";case"hr":return this.renderer.hr();case"heading":return this.renderer.heading(this.inline.output(this.token.text),this.token.depth,this.token.text);case"code":return this.renderer.code(this.token.text,this.token.lang,this.token.escaped);case"table":var e,t,n,r,i,a="",o="";for(n="",e=0;e<this.token.header.length;e++)r={header:!0,align:this.token.align[e]},n+=this.renderer.tablecell(this.inline.output(this.token.header[e]),{header:!0,align:this.token.align[e]});for(a+=this.renderer.tablerow(n),e=0;e<this.token.cells.length;e++){for(t=this.token.cells[e],n="",i=0;i<t.length;i++)n+=this.renderer.tablecell(this.inline.output(t[i]),{header:!1,align:this.token.align[i]});o+=this.renderer.tablerow(n)}return this.renderer.table(a,o);case"blockquote_start":for(var o="";"blockquote_end"!==this.next().type;)o+=this.tok();return this.renderer.blockquote(o);case"list_start":for(var o="",s=this.token.ordered;"list_end"!==this.next().type;)o+=this.tok();return this.renderer.list(o,s);case"list_item_start":for(var o="";"list_item_end"!==this.next().type;)o+="text"===this.token.type?this.parseText():this.tok();return this.renderer.listitem(o);case"loose_item_start":for(var o="";"list_item_end"!==this.next().type;)o+=this.tok();return this.renderer.listitem(o);case"html":var l=this.token.pre||this.options.pedantic?this.token.text:this.inline.output(this.token.text);return this.renderer.html(l);case"paragraph":return this.renderer.paragraph(this.inline.output(this.token.text));case"text":return this.renderer.paragraph(this.parseText())}},s.exec=s,u.options=u.setOptions=function(e){return l(u.defaults,e),u},u.defaults={gfm:!0,tables:!0,breaks:!1,pedantic:!1,sanitize:!1,sanitizer:null,mangle:!0,smartLists:!1,silent:!1,highlight:null,langPrefix:"lang-",smartypants:!1,headerPrefix:"",renderer:new n,xhtml:!1},u.Parser=r,u.parser=r.parse,u.Renderer=n,u.Lexer=e,u.lexer=e.lex,u.InlineLexer=t,u.inlineLexer=t.output,u.parse=u,"undefined"!=typeof module&&"object"==typeof exports?module.exports=u:"function"==typeof define&&define.amd?define("deps/marked",[],function(){return u}):this.marked=u}.call(function(){return this||("undefined"!=typeof window?window:global)}()),Object.values||(Object.values=function(e){if(e!==Object(e))throw new TypeError("Object.values called on a non-object");var t,n=[];for(t in e)Object.prototype.hasOwnProperty.call(e,t)&&n.push(e[t]);return n}),function(){function e(e,t){var n,r={};for(n in e)n!==t&&(r[n]=e[n]);if(t in e)for(n in e[t])r[n]=e[t][n];return r}function t(t,n){function r(e,t){for(var n=0;n<t.length;n+=1)if(t[n]===e)return!0;return!1}function i(e){return e.replace(/^\s+|\s+$/g,"")}function a(e){return e.replace(/^\s+/g,"")}function o(e){e=e||d.before_newline;var t=Object.values(d);if(!r(e,t))throw new Error("Invalid Option Value: The option 'operator_position' must be one of the following values\n"+t+"\nYou passed in: '"+e+"'");return e}function s(t,n){function s(e,t){var n=0;e&&(n=e.indentation_level,!G.just_added_newline()&&e.line_indent_level>n&&(n=e.line_indent_level));var r={mode:t,parent:e,last_text:e?e.last_text:"",last_word:e?e.last_word:"",declaration_statement:!1,declaration_assignment:!1,multiline_frame:!1,inline_frame:!1,if_block:!1,else_block:!1,do_block:!1,do_while:!1,import_block:!1,in_case_statement:!1,in_case:!1,case_body:!1,indentation_level:n,line_indent_level:e?e.line_indent_level:n,start_line_index:G.get_line_number(),ternary_depth:0};return r}function l(e,t){for(var n=e.newlines,r=ae.keep_array_indentation&&T(ee.mode),i=Y,a=0;a<e.comments_before.length;a++)Y=e.comments_before[a],l(Y,t),ie[Y.type](t);if(Y=i,r)for(var o=0;o<n;o+=1)v(o>0,t);else if(ae.max_preserve_newlines&&n>ae.max_preserve_newlines&&(n=ae.max_preserve_newlines),ae.preserve_newlines&&e.newlines>1){v(!1,t);for(var s=1;s<n;s+=1)v(!0,t)}}function m(e){e=e.replace(p.allLineBreaks,"\n");for(var t=[],n=e.indexOf("\n");n!==-1;)t.push(e.substring(0,n)),e=e.substring(n+1),n=e.indexOf("\n");return e.length&&t.push(e),t}function g(e){if(e=void 0!==e&&e,!G.just_added_newline()){var t=ae.preserve_newlines&&Y.wanted_newline||e,n=r(ee.last_text,X.positionable_operators)||r(Y.text,X.positionable_operators);if(n){var i=r(ee.last_text,X.positionable_operators)&&r(ae.operator_position,f)||r(Y.text,X.positionable_operators);t=t&&i}if(t)v(!1,!0);else if(ae.wrap_line_length){if("TK_RESERVED"===Q&&r(ee.last_text,ce))return;var a=G.current_line.get_character_count()+Y.text.length+(G.space_before_token?1:0);a>=ae.wrap_line_length&&v(!1,!0)}}}function v(e,t){if(!t&&";"!==ee.last_text&&","!==ee.last_text&&"="!==ee.last_text&&"TK_OPERATOR"!==Q)for(var n=L(1);!(ee.mode!==h.Statement||ee.if_block&&n&&"TK_RESERVED"===n.type&&"else"===n.text||ee.do_block);)k();G.add_new_line(e)&&(ee.multiline_frame=!0)}function b(){G.just_added_newline()&&(ae.keep_array_indentation&&T(ee.mode)&&Y.wanted_newline?(G.current_line.push(Y.whitespace_before),G.space_before_token=!1):G.set_indent(ee.indentation_level)&&(ee.line_indent_level=ee.indentation_level))}function y(e){if(G.raw)return void G.add_raw_token(Y);if(ae.comma_first&&"TK_COMMA"===Q&&G.just_added_newline()&&","===G.previous_line.last()){var t=G.previous_line.pop();G.previous_line.is_empty()&&(G.previous_line.push(t),G.trim(!0),G.current_line.pop(),G.trim()),b(),G.add_token(","),G.space_before_token=!0}e=e||Y.text,b(),G.add_token(e)}function w(){ee.indentation_level+=1}function x(){ee.indentation_level>0&&(!ee.parent||ee.indentation_level>ee.parent.indentation_level)&&(ee.indentation_level-=1)}function _(e){ee?(ne.push(ee),te=ee):te=s(null,e),ee=s(te,e)}function T(e){return e===h.ArrayLiteral}function E(e){return r(e,[h.Expression,h.ForInitializer,h.Conditional])}function k(){ne.length>0&&(te=ee,ee=ne.pop(),te.mode===h.Statement&&G.remove_redundant_indentation(te))}function C(){return ee.parent.mode===h.ObjectLiteral&&ee.mode===h.Statement&&(":"===ee.last_text&&0===ee.ternary_depth||"TK_RESERVED"===Q&&r(ee.last_text,["get","set"]))}function S(){return!!("TK_RESERVED"===Q&&r(ee.last_text,["var","let","const"])&&"TK_WORD"===Y.type||"TK_RESERVED"===Q&&"do"===ee.last_text||"TK_RESERVED"===Q&&r(ee.last_text,["return","throw"])&&!Y.wanted_newline||"TK_RESERVED"===Q&&"else"===ee.last_text&&("TK_RESERVED"!==Y.type||"if"!==Y.text||Y.comments_before.length)||"TK_END_EXPR"===Q&&(te.mode===h.ForInitializer||te.mode===h.Conditional)||"TK_WORD"===Q&&ee.mode===h.BlockStatement&&!ee.in_case&&"--"!==Y.text&&"++"!==Y.text&&"function"!==J&&"TK_WORD"!==Y.type&&"TK_RESERVED"!==Y.type||ee.mode===h.ObjectLiteral&&(":"===ee.last_text&&0===ee.ternary_depth||"TK_RESERVED"===Q&&r(ee.last_text,["get","set"])))&&(_(h.Statement),w(),l(Y,!0),C()||g("TK_RESERVED"===Y.type&&r(Y.text,["do","for","if","while"])),!0)}function R(e,t){for(var n=0;n<e.length;n++){var r=i(e[n]);if(r.charAt(0)!==t)return!1}return!0}function A(e,t){for(var n,r=0,i=e.length;r<i;r++)if(n=e[r],n&&0!==n.indexOf(t))return!1;return!0}function D(e){return r(e,["case","return","do","if","throw","else"])}function L(e){var t=z+(e||0);return t<0||t>=oe.length?null:oe[t]}function N(){S()||l(Y);var e=h.Expression;if("["===Y.text){if("TK_WORD"===Q||")"===ee.last_text)return"TK_RESERVED"===Q&&r(ee.last_text,X.line_starters)&&(G.space_before_token=!0),_(e),y(),w(),void(ae.space_in_paren&&(G.space_before_token=!0));e=h.ArrayLiteral,T(ee.mode)&&("["!==ee.last_text&&(","!==ee.last_text||"]"!==J&&"}"!==J)||ae.keep_array_indentation||v())}else"TK_RESERVED"===Q&&"for"===ee.last_text?e=h.ForInitializer:"TK_RESERVED"===Q&&r(ee.last_text,["if","while"])&&(e=h.Conditional);";"===ee.last_text||"TK_START_BLOCK"===Q?v():"TK_END_EXPR"===Q||"TK_START_EXPR"===Q||"TK_END_BLOCK"===Q||"."===ee.last_text?g(Y.wanted_newline):"TK_RESERVED"===Q&&"("===Y.text||"TK_WORD"===Q||"TK_OPERATOR"===Q?"TK_RESERVED"===Q&&("function"===ee.last_word||"typeof"===ee.last_word)||"*"===ee.last_text&&(r(J,["function","yield"])||ee.mode===h.ObjectLiteral&&r(J,["{",","]))?ae.space_after_anon_function&&(G.space_before_token=!0):"TK_RESERVED"!==Q||!r(ee.last_text,X.line_starters)&&"catch"!==ee.last_text||ae.space_before_conditional&&(G.space_before_token=!0):G.space_before_token=!0,"("===Y.text&&"TK_RESERVED"===Q&&"await"===ee.last_word&&(G.space_before_token=!0),"("===Y.text&&("TK_EQUALS"!==Q&&"TK_OPERATOR"!==Q||C()||g()),"("===Y.text&&"TK_WORD"!==Q&&"TK_RESERVED"!==Q&&g(),_(e),y(),ae.space_in_paren&&(G.space_before_token=!0),w()}function P(){for(;ee.mode===h.Statement;)k();l(Y),ee.multiline_frame&&g("]"===Y.text&&T(ee.mode)&&!ae.keep_array_indentation),ae.space_in_paren&&("TK_START_EXPR"!==Q||ae.space_in_empty_paren?G.space_before_token=!0:(G.trim(),G.space_before_token=!1)),"]"===Y.text&&ae.keep_array_indentation?(y(),k()):(k(),y()),G.remove_redundant_indentation(te),ee.do_while&&te.mode===h.Conditional&&(te.mode=h.Expression,ee.do_block=!1,ee.do_while=!1)}function j(){l(Y);var e=L(1),t=L(2);_(t&&(r(t.text,[":",","])&&r(e.type,["TK_STRING","TK_WORD","TK_RESERVED"])||r(e.text,["get","set","..."])&&r(t.type,["TK_WORD","TK_RESERVED"]))?r(J,["class","interface"])?h.BlockStatement:h.ObjectLiteral:"TK_OPERATOR"===Q&&"=>"===ee.last_text?h.BlockStatement:r(Q,["TK_EQUALS","TK_START_EXPR","TK_COMMA","TK_OPERATOR"])||"TK_RESERVED"===Q&&r(ee.last_text,["return","throw","import","default"])?h.ObjectLiteral:h.BlockStatement);var n=!e.comments_before.length&&"}"===e.text,i=n&&"function"===ee.last_word&&"TK_END_EXPR"===Q;if(ae.brace_preserve_inline){var a=0,o=null;ee.inline_frame=!0;do if(a+=1,o=L(a),o.wanted_newline){ee.inline_frame=!1;break}while("TK_EOF"!==o.type&&("TK_END_BLOCK"!==o.type||o.opened!==Y))}("expand"===ae.brace_style||"none"===ae.brace_style&&Y.wanted_newline)&&!ee.inline_frame?"TK_OPERATOR"!==Q&&(i||"TK_EQUALS"===Q||"TK_RESERVED"===Q&&D(ee.last_text)&&"else"!==ee.last_text)?G.space_before_token=!0:v(!1,!0):(!T(te.mode)||"TK_START_EXPR"!==Q&&"TK_COMMA"!==Q||(("TK_COMMA"===Q||ae.space_in_paren)&&(G.space_before_token=!0),("TK_COMMA"===Q||"TK_START_EXPR"===Q&&ee.inline_frame)&&(g(),te.multiline_frame=te.multiline_frame||ee.multiline_frame,ee.multiline_frame=!1)),"TK_OPERATOR"!==Q&&"TK_START_EXPR"!==Q&&("TK_START_BLOCK"!==Q||ee.inline_frame?G.space_before_token=!0:v())),y(),w()}function O(){for(l(Y);ee.mode===h.Statement;)k();var e="TK_START_BLOCK"===Q;ee.inline_frame&&!e?G.space_before_token=!0:"expand"===ae.brace_style?e||v():e||(T(ee.mode)&&ae.keep_array_indentation?(ae.keep_array_indentation=!1,v(),ae.keep_array_indentation=!0):v()),k(),y()}function M(){if("TK_RESERVED"===Y.type)if(r(Y.text,["set","get"])&&ee.mode!==h.ObjectLiteral)Y.type="TK_WORD";else if(r(Y.text,["as","from"])&&!ee.import_block)Y.type="TK_WORD";else if(ee.mode===h.ObjectLiteral){var e=L(1);":"===e.text&&(Y.type="TK_WORD")}if(S()?"TK_RESERVED"===Q&&r(ee.last_text,["var","let","const"])&&"TK_WORD"===Y.type&&(ee.declaration_statement=!0):!Y.wanted_newline||E(ee.mode)||"TK_OPERATOR"===Q&&"--"!==ee.last_text&&"++"!==ee.last_text||"TK_EQUALS"===Q||!ae.preserve_newlines&&"TK_RESERVED"===Q&&r(ee.last_text,["var","let","const","set","get"])?l(Y):(l(Y),v()),ee.do_block&&!ee.do_while){if("TK_RESERVED"===Y.type&&"while"===Y.text)return G.space_before_token=!0,y(),G.space_before_token=!0,void(ee.do_while=!0);v(),ee.do_block=!1}if(ee.if_block)if(ee.else_block||"TK_RESERVED"!==Y.type||"else"!==Y.text){for(;ee.mode===h.Statement;)k();ee.if_block=!1,ee.else_block=!1}else ee.else_block=!0;if("TK_RESERVED"===Y.type&&("case"===Y.text||"default"===Y.text&&ee.in_case_statement))return v(),(ee.case_body||ae.jslint_happy)&&(x(),ee.case_body=!1),y(),ee.in_case=!0,void(ee.in_case_statement=!0);if("TK_COMMA"!==Q&&"TK_START_EXPR"!==Q&&"TK_EQUALS"!==Q&&"TK_OPERATOR"!==Q||C()||g(),"TK_RESERVED"===Y.type&&"function"===Y.text)return(r(ee.last_text,["}",";"])||G.just_added_newline()&&!r(ee.last_text,["(","[","{",":","=",","])&&"TK_OPERATOR"!==Q)&&(G.just_added_blankline()||Y.comments_before.length||(v(),v(!0))),"TK_RESERVED"===Q||"TK_WORD"===Q?"TK_RESERVED"===Q&&r(ee.last_text,["get","set","new","return","export","async"])?G.space_before_token=!0:"TK_RESERVED"===Q&&"default"===ee.last_text&&"export"===J?G.space_before_token=!0:v():"TK_OPERATOR"===Q||"="===ee.last_text?G.space_before_token=!0:(ee.multiline_frame||!E(ee.mode)&&!T(ee.mode))&&v(),y(),void(ee.last_word=Y.text);if(re="NONE","TK_END_BLOCK"===Q?te.inline_frame?re="SPACE":"TK_RESERVED"===Y.type&&r(Y.text,["else","catch","finally","from"])?"expand"===ae.brace_style||"end-expand"===ae.brace_style||"none"===ae.brace_style&&Y.wanted_newline?re="NEWLINE":(re="SPACE",G.space_before_token=!0):re="NEWLINE":"TK_SEMICOLON"===Q&&ee.mode===h.BlockStatement?re="NEWLINE":"TK_SEMICOLON"===Q&&E(ee.mode)?re="SPACE":"TK_STRING"===Q?re="NEWLINE":"TK_RESERVED"===Q||"TK_WORD"===Q||"*"===ee.last_text&&(r(J,["function","yield"])||ee.mode===h.ObjectLiteral&&r(J,["{",","]))?re="SPACE":"TK_START_BLOCK"===Q?re=ee.inline_frame?"SPACE":"NEWLINE":"TK_END_EXPR"===Q&&(G.space_before_token=!0,re="NEWLINE"),"TK_RESERVED"===Y.type&&r(Y.text,X.line_starters)&&")"!==ee.last_text&&(re=ee.inline_frame||"else"===ee.last_text||"export"===ee.last_text?"SPACE":"NEWLINE"),"TK_RESERVED"===Y.type&&r(Y.text,["else","catch","finally"]))if(("TK_END_BLOCK"!==Q||te.mode!==h.BlockStatement||"expand"===ae.brace_style||"end-expand"===ae.brace_style||"none"===ae.brace_style&&Y.wanted_newline)&&!ee.inline_frame)v();else{G.trim(!0);var t=G.current_line;"}"!==t.last()&&v(),G.space_before_token=!0}else"NEWLINE"===re?"TK_RESERVED"===Q&&D(ee.last_text)?G.space_before_token=!0:"TK_END_EXPR"!==Q?"TK_START_EXPR"===Q&&"TK_RESERVED"===Y.type&&r(Y.text,["var","let","const"])||":"===ee.last_text||("TK_RESERVED"===Y.type&&"if"===Y.text&&"else"===ee.last_text?G.space_before_token=!0:v()):"TK_RESERVED"===Y.type&&r(Y.text,X.line_starters)&&")"!==ee.last_text&&v():ee.multiline_frame&&T(ee.mode)&&","===ee.last_text&&"}"===J?v():"SPACE"===re&&(G.space_before_token=!0);y(),ee.last_word=Y.text,"TK_RESERVED"===Y.type&&("do"===Y.text?ee.do_block=!0:"if"===Y.text?ee.if_block=!0:"import"===Y.text?ee.import_block=!0:ee.import_block&&"TK_RESERVED"===Y.type&&"from"===Y.text&&(ee.import_block=!1))}function I(){S()?G.space_before_token=!1:l(Y);for(var e=L(1);!(ee.mode!==h.Statement||ee.if_block&&e&&"TK_RESERVED"===e.type&&"else"===e.text||ee.do_block);)k();ee.import_block&&(ee.import_block=!1),y()}function q(){S()?G.space_before_token=!0:(l(Y),"TK_RESERVED"===Q||"TK_WORD"===Q||ee.inline_frame?G.space_before_token=!0:"TK_COMMA"===Q||"TK_START_EXPR"===Q||"TK_EQUALS"===Q||"TK_OPERATOR"===Q?C()||g():v()),y()}function $(){S()||l(Y),ee.declaration_statement&&(ee.declaration_assignment=!0),G.space_before_token=!0,y(),G.space_before_token=!0}function F(){l(Y,!0),y(),G.space_before_token=!0,ee.declaration_statement?(E(ee.parent.mode)&&(ee.declaration_assignment=!1),ee.declaration_assignment?(ee.declaration_assignment=!1,v(!1,!0)):ae.comma_first&&g()):ee.mode===h.ObjectLiteral||ee.mode===h.Statement&&ee.parent.mode===h.ObjectLiteral?(ee.mode===h.Statement&&k(),ee.inline_frame||v()):ae.comma_first&&g()}function U(){var e="*"===Y.text&&("TK_RESERVED"===Q&&r(ee.last_text,["function","yield"])||r(Q,["TK_START_BLOCK","TK_COMMA","TK_END_BLOCK","TK_SEMICOLON"])),t=r(Y.text,["-","+"])&&(r(Q,["TK_START_BLOCK","TK_START_EXPR","TK_EQUALS","TK_OPERATOR"])||r(ee.last_text,X.line_starters)||","===ee.last_text);if(S());else{var n=!e;l(Y,n)}if("TK_RESERVED"===Q&&D(ee.last_text))return G.space_before_token=!0,void y();if("*"===Y.text&&"TK_DOT"===Q)return void y();if("::"===Y.text)return void y();if("TK_OPERATOR"===Q&&r(ae.operator_position,f)&&g(),":"===Y.text&&ee.in_case)return ee.case_body=!0,w(),y(),v(),void(ee.in_case=!1);var i=!0,a=!0,o=!1;if(":"===Y.text?0===ee.ternary_depth?i=!1:(ee.ternary_depth-=1,o=!0):"?"===Y.text&&(ee.ternary_depth+=1),!t&&!e&&ae.preserve_newlines&&r(Y.text,X.positionable_operators)){var s=":"===Y.text,u=s&&o,c=s&&!o;switch(ae.operator_position){case d.before_newline:return G.space_before_token=!c,y(),s&&!u||g(),void(G.space_before_token=!0);case d.after_newline:return G.space_before_token=!0,!s||u?L(1).wanted_newline?v(!1,!0):g():G.space_before_token=!1,y(),void(G.space_before_token=!0);case d.preserve_newline:return c||g(),i=!(G.just_added_newline()||c),G.space_before_token=i,y(),void(G.space_before_token=!0)}}if(e){g(),i=!1;var p=L(1);a=p&&r(p.type,["TK_WORD","TK_RESERVED"])}else"..."===Y.text?(g(),i="TK_START_BLOCK"===Q,a=!1):(r(Y.text,["--","++","!","~"])||t)&&(i=!1,a=!1,!Y.wanted_newline||"--"!==Y.text&&"++"!==Y.text||v(!1,!0),";"===ee.last_text&&E(ee.mode)&&(i=!0),"TK_RESERVED"===Q?i=!0:"TK_END_EXPR"===Q?i=!("]"===ee.last_text&&("--"===Y.text||"++"===Y.text)):"TK_OPERATOR"===Q&&(i=r(Y.text,["--","-","++","+"])&&r(ee.last_text,["--","-","++","+"]),r(Y.text,["+","-"])&&r(ee.last_text,["--","++"])&&(a=!0)),(ee.mode!==h.BlockStatement||ee.inline_frame)&&ee.mode!==h.Statement||"{"!==ee.last_text&&";"!==ee.last_text||v());G.space_before_token=G.space_before_token||i,y(),G.space_before_token=a}function K(e){if(G.raw)return G.add_raw_token(Y),void(Y.directives&&"end"===Y.directives.preserve&&(G.raw=ae.test_output_raw));if(Y.directives)return v(!1,e),y(),"start"===Y.directives.preserve&&(G.raw=!0),void v(!1,!0);if(!p.newline.test(Y.text)&&!Y.wanted_newline)return G.space_before_token=!0,y(),void(G.space_before_token=!0);var t,n=m(Y.text),r=!1,i=!1,o=Y.whitespace_before,s=o.length;for(v(!1,e),n.length>1&&(r=R(n.slice(1),"*"),i=A(n.slice(1),o)),y(n[0]),t=1;t<n.length;t++)v(!1,!0),r?y(" "+a(n[t])):i&&n[t].length>s?y(n[t].substring(s)):G.add_token(n[t]);v(!1,e)}function W(e){Y.wanted_newline?v(!1,e):G.trim(!0),G.space_before_token=!0,y(),v(!1,e)}function H(){S()||l(Y,!0),"TK_RESERVED"===Q&&D(ee.last_text)?G.space_before_token=!0:g(")"===ee.last_text&&ae.break_chained_methods),y()}function B(e){y(),"\n"===Y.text[Y.text.length-1]&&v(!1,e)}function V(){for(;ee.mode===h.Statement;)k();l(Y)}var G,z,X,Y,Q,J,Z,ee,te,ne,re,ie,ae,oe=[],se="";ie={TK_START_EXPR:N,TK_END_EXPR:P,TK_START_BLOCK:j,TK_END_BLOCK:O,TK_WORD:M,TK_RESERVED:M,TK_SEMICOLON:I,TK_STRING:q,TK_EQUALS:$,TK_OPERATOR:U,TK_COMMA:F,TK_BLOCK_COMMENT:K,TK_COMMENT:W,TK_DOT:H,TK_UNKNOWN:B,TK_EOF:V},n=n?n:{},n=e(n,"js"),ae={},"expand-strict"===n.brace_style?n.brace_style="expand":"collapse-preserve-inline"===n.brace_style?n.brace_style="collapse,preserve-inline":void 0!==n.braces_on_own_line?n.brace_style=n.braces_on_own_line?"expand":"collapse":n.brace_style||(n.brace_style="collapse");var le=n.brace_style.split(/[^a-zA-Z0-9_\-]+/);for(ae.brace_style=le[0],ae.brace_preserve_inline=!!le[1]&&le[1],ae.indent_size=n.indent_size?parseInt(n.indent_size,10):4,ae.indent_char=n.indent_char?n.indent_char:" ",ae.eol=n.eol?n.eol:"auto",ae.preserve_newlines=void 0===n.preserve_newlines||n.preserve_newlines,ae.break_chained_methods=void 0!==n.break_chained_methods&&n.break_chained_methods,ae.max_preserve_newlines=void 0===n.max_preserve_newlines?0:parseInt(n.max_preserve_newlines,10),ae.space_in_paren=void 0!==n.space_in_paren&&n.space_in_paren,ae.space_in_empty_paren=void 0!==n.space_in_empty_paren&&n.space_in_empty_paren,ae.jslint_happy=void 0!==n.jslint_happy&&n.jslint_happy,ae.space_after_anon_function=void 0!==n.space_after_anon_function&&n.space_after_anon_function,ae.keep_array_indentation=void 0!==n.keep_array_indentation&&n.keep_array_indentation,ae.space_before_conditional=void 0===n.space_before_conditional||n.space_before_conditional,ae.unescape_strings=void 0!==n.unescape_strings&&n.unescape_strings,ae.wrap_line_length=void 0===n.wrap_line_length?0:parseInt(n.wrap_line_length,10),ae.e4x=void 0!==n.e4x&&n.e4x,ae.end_with_newline=void 0!==n.end_with_newline&&n.end_with_newline,ae.comma_first=void 0!==n.comma_first&&n.comma_first,ae.operator_position=o(n.operator_position),ae.test_output_raw=void 0!==n.test_output_raw&&n.test_output_raw,ae.jslint_happy&&(ae.space_after_anon_function=!0),n.indent_with_tabs&&(ae.indent_char="\t",ae.indent_size=1),"auto"===ae.eol&&(ae.eol="\n",t&&p.lineBreak.test(t||"")&&(ae.eol=t.match(p.lineBreak)[0])),ae.eol=ae.eol.replace(/\\r/,"\r").replace(/\\n/,"\n"),Z="";ae.indent_size>0;)Z+=ae.indent_char,ae.indent_size-=1;var ue=0;if(t&&t.length){for(;" "===t.charAt(ue)||"\t"===t.charAt(ue);)se+=t.charAt(ue),ue+=1;t=t.substring(ue)}Q="TK_START_BLOCK",J="",G=new u(Z,se),G.raw=ae.test_output_raw,ne=[],_(h.BlockStatement),this.beautify=function(){var e;for(X=new c(t,ae,Z),oe=X.tokenize(),z=0,Y=L();Y;)ie[Y.type](),J=ee.last_text,Q=Y.type,ee.last_text=Y.text,z+=1,Y=L();return e=G.get_code(),ae.end_with_newline&&(e+="\n"),"\n"!==ae.eol&&(e=e.replace(/[\n]/g,ae.eol)),e};var ce=["break","continue","return","throw"]}function l(e){var t=0,n=-1,r=[],i=!0;this.set_indent=function(r){t=e.baseIndentLength+r*e.indent_length,n=r},this.get_character_count=function(){return t},this.is_empty=function(){return i},this.last=function(){return this._empty?null:r[r.length-1]},this.push=function(e){r.push(e),t+=e.length,i=!1},this.pop=function(){var e=null;return i||(e=r.pop(),t-=e.length,i=0===r.length),e},this.remove_indent=function(){n>0&&(n-=1,t-=e.indent_length)},this.trim=function(){for(;" "===this.last();)r.pop(),t-=1;i=0===r.length},this.toString=function(){var t="";return this._empty||(n>=0&&(t=e.indent_cache[n]),t+=r.join("")),t}}function u(e,t){t=t||"",this.indent_cache=[t],this.baseIndentLength=t.length,this.indent_length=e.length,this.raw=!1;var n=[];this.baseIndentString=t,this.indent_string=e,this.previous_line=null,this.current_line=null,this.space_before_token=!1,this.add_outputline=function(){this.previous_line=this.current_line,this.current_line=new l(this),n.push(this.current_line)},this.add_outputline(),this.get_line_number=function(){return n.length},this.add_new_line=function(e){return!(1===this.get_line_number()&&this.just_added_newline()||!e&&this.just_added_newline()||(this.raw||this.add_outputline(),0))},this.get_code=function(){
var e=n.join("\n").replace(/[\r\n\t ]+$/,"");return e},this.set_indent=function(e){if(n.length>1){for(;e>=this.indent_cache.length;)this.indent_cache.push(this.indent_cache[this.indent_cache.length-1]+this.indent_string);return this.current_line.set_indent(e),!0}return this.current_line.set_indent(0),!1},this.add_raw_token=function(e){for(var t=0;t<e.newlines;t++)this.add_outputline();this.current_line.push(e.whitespace_before),this.current_line.push(e.text),this.space_before_token=!1},this.add_token=function(e){this.add_space_before_token(),this.current_line.push(e)},this.add_space_before_token=function(){this.space_before_token&&!this.just_added_newline()&&this.current_line.push(" "),this.space_before_token=!1},this.remove_redundant_indentation=function(e){if(!e.multiline_frame&&e.mode!==h.ForInitializer&&e.mode!==h.Conditional)for(var t=e.start_line_index,r=n.length;t<r;)n[t].remove_indent(),t++},this.trim=function(r){for(r=void 0!==r&&r,this.current_line.trim(e,t);r&&n.length>1&&this.current_line.is_empty();)n.pop(),this.current_line=n[n.length-1],this.current_line.trim();this.previous_line=n.length>1?n[n.length-2]:null},this.just_added_newline=function(){return this.current_line.is_empty()},this.just_added_blankline=function(){if(this.just_added_newline()){if(1===n.length)return!0;var e=n[n.length-2];return e.is_empty()}return!1}}function c(e,t){function n(e){if(!e.match(E))return null;var t={};k.lastIndex=0;for(var n=k.exec(e);n;)t[n[1]]=n[2],n=k.exec(e);return t}function a(){var e,a=[];h=0,v="";var m=w.next();if(null===m)return["","TK_EOF"];var E;for(E=y.length?y[y.length-1]:new g("TK_START_BLOCK","{");r(m,s);)if(p.newline.test(m)?"\n"===m&&"\r"===w.peek(-2)||(h+=1,a=[]):a.push(m),m=w.next(),null===m)return["","TK_EOF"];if(a.length&&(v=a.join("")),l.test(m)||"."===m&&w.testChar(l)){var k=!0,R=!0,A=l;for("0"===m&&w.testChar(/[XxOoBb]/)?(k=!1,R=!1,A=w.testChar(/[Bb]/)?u:w.testChar(/[Oo]/)?c:d,m+=w.next()):"."===m?k=!1:(m="",w.back());w.testChar(A);)m+=w.next(),k&&"."===w.peek()&&(m+=w.next(),k=!1),R&&w.testChar(/[Ee]/)&&(m+=w.next(),w.testChar(/[+-]/)&&(m+=w.next()),R=!1,k=!1);return[m,"TK_WORD"]}if(p.isIdentifierStart(w.peekCharCode(-1))){if(w.hasNext())for(;p.isIdentifierChar(w.peekCharCode())&&(m+=w.next(),w.hasNext()););return"TK_DOT"===E.type||"TK_RESERVED"===E.type&&r(E.text,["set","get"])||!r(m,x)?[m,"TK_WORD"]:"in"===m||"of"===m?[m,"TK_OPERATOR"]:[m,"TK_RESERVED"]}if("("===m||"["===m)return[m,"TK_START_EXPR"];if(")"===m||"]"===m)return[m,"TK_END_EXPR"];if("{"===m)return[m,"TK_START_BLOCK"];if("}"===m)return[m,"TK_END_BLOCK"];if(";"===m)return[m,"TK_SEMICOLON"];if("/"===m){var D,L="";if("*"===w.peek()){w.next(),D=w.match(_),L="/*"+D[0];var N=n(L);return N&&"start"===N.ignore&&(D=w.match(C),L+=D[0]),L=L.replace(p.allLineBreaks,"\n"),[L,"TK_BLOCK_COMMENT",N]}if("/"===w.peek())return w.next(),D=w.match(T),L="//"+D[0],[L,"TK_COMMENT"]}var P=/<()([-a-zA-Z:0-9_.]+|{[\s\S]+?}|!\[CDATA\[[\s\S]*?\]\])(\s+{[\s\S]+?}|\s+[-a-zA-Z:0-9_.]+|\s+[-a-zA-Z:0-9_.]+\s*=\s*('[^']*'|"[^"]*"|{[\s\S]+?}))*\s*(\/?)\s*>/g;if("`"===m||"'"===m||'"'===m||("/"===m||t.e4x&&"<"===m&&w.test(P,-1))&&("TK_RESERVED"===E.type&&r(E.text,["return","case","throw","else","do","typeof","yield"])||"TK_END_EXPR"===E.type&&")"===E.text&&E.parent&&"TK_RESERVED"===E.parent.type&&r(E.parent.text,["if","while","for"])||r(E.type,["TK_COMMENT","TK_START_EXPR","TK_START_BLOCK","TK_END_BLOCK","TK_OPERATOR","TK_EQUALS","TK_EOF","TK_SEMICOLON","TK_COMMA"]))){var j=m,O=!1,M=!1;if(e=m,"/"===j)for(var I=!1;w.hasNext()&&(O||I||w.peek()!==j)&&!w.testChar(p.newline);)e+=w.peek(),O?O=!1:(O="\\"===w.peek(),"["===w.peek()?I=!0:"]"===w.peek()&&(I=!1)),w.next();else if(t.e4x&&"<"===j){var q=/[\s\S]*?<(\/?)([-a-zA-Z:0-9_.]+|{[\s\S]+?}|!\[CDATA\[[\s\S]*?\]\])(\s+{[\s\S]+?}|\s+[-a-zA-Z:0-9_.]+|\s+[-a-zA-Z:0-9_.]+\s*=\s*('[^']*'|"[^"]*"|{[\s\S]+?}))*\s*(\/?)\s*>/g;w.back();var $="",F=w.match(P);if(F){for(var U=F[2].replace(/^{\s+/,"{").replace(/\s+}$/,"}"),K=0===U.indexOf("{"),W=0;F;){var H=!!F[1],B=F[2],V=!!F[F.length-1]||"![CDATA["===B.slice(0,8);if(!V&&(B===U||K&&B.replace(/^{\s+/,"{").replace(/\s+}$/,"}"))&&(H?--W:++W),$+=F[0],W<=0)break;F=w.match(q)}return F||($+=w.match(/[\s\S]*/g)[0]),$=$.replace(p.allLineBreaks,"\n"),[$,"TK_STRING"]}}else{var G=function(t,n,r){for(var i;w.hasNext()&&(i=w.peek(),O||i!==t&&(n||!p.newline.test(i)));)(O||n)&&p.newline.test(i)?("\r"===i&&"\n"===w.peek(1)&&(w.next(),i=w.peek()),e+="\n"):e+=i,O?("x"!==i&&"u"!==i||(M=!0),O=!1):O="\\"===i,w.next(),r&&e.indexOf(r,e.length-r.length)!==-1&&("`"===t?G("}",n,"`"):G("`",n,"${"),w.hasNext()&&(e+=w.next()))};"`"===j?G("`",!0,"${"):G(j)}if(M&&t.unescape_strings&&(e=o(e)),w.peek()===j&&(e+=j,w.next(),"/"===j))for(;w.hasNext()&&p.isIdentifierStart(w.peekCharCode());)e+=w.next();return[e,"TK_STRING"]}if("#"===m){if(0===y.length&&"!"===w.peek()){for(e=m;w.hasNext()&&"\n"!==m;)m=w.next(),e+=m;return[i(e)+"\n","TK_UNKNOWN"]}var z="#";if(w.hasNext()&&w.testChar(l)){do m=w.next(),z+=m;while(w.hasNext()&&"#"!==m&&"="!==m);return"#"===m||("["===w.peek()&&"]"===w.peek(1)?(z+="[]",w.next(),w.next()):"{"===w.peek()&&"}"===w.peek(1)&&(z+="{}",w.next(),w.next())),[z,"TK_WORD"]}}if("<"===m&&("?"===w.peek()||"%"===w.peek())){w.back();var X=w.match(S);if(X)return m=X[0],m=m.replace(p.allLineBreaks,"\n"),[m,"TK_STRING"]}if("<"===m&&w.match(/\!--/g)){for(m="<!--";w.hasNext()&&!w.testChar(p.newline);)m+=w.next();return b=!0,[m,"TK_COMMENT"]}if("-"===m&&b&&w.match(/->/g))return b=!1,["-->","TK_COMMENT"];if("."===m)return"."===w.peek()&&"."===w.peek(1)?(m+=w.next()+w.next(),[m,"TK_OPERATOR"]):[m,"TK_DOT"];if(r(m,f)){for(;w.hasNext()&&r(m+w.peek(),f)&&(m+=w.next(),w.hasNext()););return","===m?[m,"TK_COMMA"]:"="===m?[m,"TK_EQUALS"]:[m,"TK_OPERATOR"]}return[m,"TK_UNKNOWN"]}function o(e){for(var t="",n=0,r=new m(e),i=null;r.hasNext();)if(i=r.match(/([\s]|[^\\]|\\\\)+/g),i&&(t+=i[0]),"\\"===r.peek()){if(r.next(),"x"===r.peek())i=r.match(/x([0-9A-Fa-f]{2})/g);else{if("u"!==r.peek()){t+="\\",r.hasNext()&&(t+=r.next());continue}i=r.match(/u([0-9A-Fa-f]{4})/g)}if(!i)return e;if(n=parseInt(i[1],16),n>126&&n<=255&&0===i[0].indexOf("x"))return e;if(n>=0&&n<32){t+="\\"+i[0];continue}t+=34===n||39===n||92===n?"\\"+String.fromCharCode(n):String.fromCharCode(n)}return t}var s="\n\r\t ".split(""),l=/[0-9]/,u=/[01]/,c=/[01234567]/,d=/[0123456789abcdefABCDEF]/;this.positionable_operators="!= !== % & && * ** + - / : < << <= == === > >= >> >>> ? ^ | ||".split(" ");var f=this.positionable_operators.concat("! %= &= *= **= ++ += , -- -= /= :: <<= = => >>= >>>= ^= |= ~ ...".split(" "));this.line_starters="continue,try,throw,return,var,let,const,if,switch,case,default,for,while,break,function,import,export".split(",");var h,v,b,y,w,x=this.line_starters.concat(["do","in","of","else","get","set","new","catch","finally","typeof","yield","async","await","from","as"]),_=/([\s\S]*?)((?:\*\/)|$)/g,T=/([^\n\r\u2028\u2029]*)/g,E=/\/\* beautify( \w+[:]\w+)+ \*\//g,k=/ (\w+)[:](\w+)/g,C=/([\s\S]*?)((?:\/\*\sbeautify\signore:end\s\*\/)|$)/g,S=/((<\?php|<\?=)[\s\S]*?\?>)|(<%[\s\S]*?%>)/g;this.tokenize=function(){w=new m(e),b=!1,y=[];for(var t,n,r,i=null,o=[],s=[];!n||"TK_EOF"!==n.type;){for(r=a(),t=new g(r[1],r[0],h,v);"TK_COMMENT"===t.type||"TK_BLOCK_COMMENT"===t.type||"TK_UNKNOWN"===t.type;)"TK_BLOCK_COMMENT"===t.type&&(t.directives=r[2]),s.push(t),r=a(),t=new g(r[1],r[0],h,v);s.length&&(t.comments_before=s,s=[]),"TK_START_BLOCK"===t.type||"TK_START_EXPR"===t.type?(t.parent=n,o.push(i),i=t):("TK_END_BLOCK"===t.type||"TK_END_EXPR"===t.type)&&i&&("]"===t.text&&"["===i.text||")"===t.text&&"("===i.text||"}"===t.text&&"{"===i.text)&&(t.parent=i.parent,t.opened=i,i=o.pop()),y.push(t),n=t}return y}}var p={};!function(e){var t="ªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ-ͽΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-ԧԱ-Ֆՙա-ևא-תװ-ײؠ-يٮٯٱ-ۓەۥۦۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘࢠࢢ-ࢬऄ-हऽॐक़-ॡॱ-ॷॹ-ॿঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-ళవ-హఽౘౙౠౡಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽೞೠೡೱೲഅ-ഌഎ-ഐഒ-ഺഽൎൠൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆก-ะาำเ-ๆກຂຄງຈຊຍດ-ທນ-ຟມ-ຣລວສຫອ-ະາຳຽເ-ໄໆໜ-ໟༀཀ-ཇཉ-ཬྈ-ྌက-ဪဿၐ-ၕၚ-ၝၡၥၦၮ-ၰၵ-ႁႎႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏼᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛰᜀ-ᜌᜎ-ᜑᜠ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳៗៜᠠ-ᡷᢀ-ᢨᢪᢰ-ᣵᤀ-ᤜᥐ-ᥭᥰ-ᥴᦀ-ᦫᧁ-ᧇᨀ-ᨖᨠ-ᩔᪧᬅ-ᬳᭅ-ᭋᮃ-ᮠᮮᮯᮺ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱽᳩ-ᳬᳮ-ᳱᳵᳶᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕℙ-ℝℤΩℨK-ℭℯ-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-Ⱞⰰ-ⱞⱠ-ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞⸯ々-〇〡-〩〱-〵〸-〼ぁ-ゖゝ-ゟァ-ヺー-ヿㄅ-ㄭㄱ-ㆎㆠ-ㆺㇰ-ㇿ㐀-䶵一-鿌ꀀ-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙿ-ꚗꚠ-ꛯꜗ-ꜟꜢ-ꞈꞋ-ꞎꞐ-ꞓꞠ-Ɦꟸ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꡀ-ꡳꢂ-ꢳꣲ-ꣷꣻꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲꧏꨀ-ꨨꩀ-ꩂꩄ-ꩋꩠ-ꩶꩺꪀ-ꪯꪱꪵꪶꪹ-ꪽꫀꫂꫛ-ꫝꫠ-ꫪꫲ-ꫴꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꯀ-ꯢ가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼA-Za-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ",n="̀-ͯ҃-֑҇-ׇֽֿׁׂׅׄؐ-ؚؠ-ىٲ-ۓۧ-ۨۻ-ۼܰ-݊ࠀ-ࠔࠛ-ࠣࠥ-ࠧࠩ-࠭ࡀ-ࡗࣤ-ࣾऀ-ःऺ-़ा-ॏ॑-ॗॢ-ॣ०-९ঁ-ঃ়া-ৄেৈৗয়-ৠਁ-ਃ਼ਾ-ੂੇੈੋ-੍ੑ੦-ੱੵઁ-ઃ઼ા-ૅે-ૉો-્ૢ-ૣ૦-૯ଁ-ଃ଼ା-ୄେୈୋ-୍ୖୗୟ-ୠ୦-୯ஂா-ூெ-ைொ-்ௗ௦-௯ఁ-ఃె-ైొ-్ౕౖౢ-ౣ౦-౯ಂಃ಼ಾ-ೄೆ-ೈೊ-್ೕೖೢ-ೣ೦-೯ംഃെ-ൈൗൢ-ൣ൦-൯ංඃ්ා-ුූෘ-ෟෲෳิ-ฺเ-ๅ๐-๙ິ-ູ່-ໍ໐-໙༘༙༠-༩༹༵༷ཁ-ཇཱ-྄྆-྇ྍ-ྗྙ-ྼ࿆က-ဩ၀-၉ၧ-ၭၱ-ၴႂ-ႍႏ-ႝ፝-፟ᜎ-ᜐᜠ-ᜰᝀ-ᝐᝲᝳក-ឲ៝០-៩᠋-᠍᠐-᠙ᤠ-ᤫᤰ-᤻ᥑ-ᥭᦰ-ᧀᧈ-ᧉ᧐-᧙ᨀ-ᨕᨠ-ᩓ᩠-᩿᩼-᪉᪐-᪙ᭆ-ᭋ᭐-᭙᭫-᭳᮰-᮹᯦-᯳ᰀ-ᰢ᱀-᱉ᱛ-ᱽ᳐-᳒ᴀ-ᶾḁ-ἕ‿⁀⁔⃐-⃥⃜⃡-⃰ⶁ-ⶖⷠ-ⷿ〡-〨゙゚Ꙁ-ꙭꙴ-꙽ꚟ꛰-꛱ꟸ-ꠀ꠆ꠋꠣ-ꠧꢀ-ꢁꢴ-꣄꣐-꣙ꣳ-ꣷ꤀-꤉ꤦ-꤭ꤰ-ꥅꦀ-ꦃ꦳-꧀ꨀ-ꨧꩀ-ꩁꩌ-ꩍ꩐-꩙ꩻꫠ-ꫩꫲ-ꫳꯀ-ꯡ꯬꯭꯰-꯹ﬠ-ﬨ︀-️︠-︦︳︴﹍-﹏0-9_",r=new RegExp("["+t+"]"),i=new RegExp("["+t+n+"]");e.newline=/[\n\r\u2028\u2029]/,e.lineBreak=new RegExp("\r\n|"+e.newline.source),e.allLineBreaks=new RegExp(e.lineBreak.source,"g"),e.isIdentifierStart=function(e){return e<65?36===e||64===e:e<91||(e<97?95===e:e<123||e>=170&&r.test(String.fromCharCode(e)))},e.isIdentifierChar=function(e){return e<48?36===e:e<58||!(e<65)&&(e<91||(e<97?95===e:e<123||e>=170&&i.test(String.fromCharCode(e))))}}(p);var d={before_newline:"before-newline",after_newline:"after-newline",preserve_newline:"preserve-newline"},f=[d.before_newline,d.preserve_newline],h={BlockStatement:"BlockStatement",Statement:"Statement",ObjectLiteral:"ObjectLiteral",ArrayLiteral:"ArrayLiteral",ForInitializer:"ForInitializer",Conditional:"Conditional",Expression:"Expression"},m=function(e){var t=e,n=t.length,r=0;this.back=function(){r-=1},this.hasNext=function(){return r<n},this.next=function(){var e=null;return this.hasNext()&&(e=t.charAt(r),r+=1),e},this.peek=function(e){var i=null;return e=e||0,e+=r,e>=0&&e<n&&(i=t.charAt(e)),i},this.peekCharCode=function(e){var i=0;return e=e||0,e+=r,e>=0&&e<n&&(i=t.charCodeAt(e)),i},this.test=function(e,n){return n=n||0,e.lastIndex=r+n,e.test(t)},this.testChar=function(e,t){var n=this.peek(t);return null!==n&&e.test(n)},this.match=function(e){e.lastIndex=r;var n=e.exec(t);return n&&n.index===r?r+=n[0].length:n=null,n}},g=function(e,t,n,r,i){this.type=e,this.text=t,this.comments_before=[],this.comments_after=[],this.newlines=n||0,this.wanted_newline=n>0,this.whitespace_before=r||"",this.parent=i||null,this.opened=null,this.directives=null},v=new s(t,n);return v.beautify()}"function"==typeof define&&define.amd?define("deps/beautify",[],function(){return{js_beautify:t}}):"undefined"!=typeof exports?exports.js_beautify=t:"undefined"!=typeof window?window.js_beautify=t:"undefined"!=typeof global&&(global.js_beautify=t)}(),function(){function e(e,t){var n,r={};for(n in e)n!==t&&(r[n]=e[n]);if(t in e)for(n in e[t])r[n]=e[t][n];return r}function t(i,a){function o(){return E=i.charAt(++C),E||""}function s(e){var t="",n=C;return e&&c(),t=i.charAt(C+1)||"",C=n-1,o(),t}function l(e){for(var t=C;o();)if("\\"===E)o();else{if(e.indexOf(E)!==-1)break;if("\n"===E)break}return i.substring(t,C+1)}function u(e){var t=C,n=l(e);return C=t-1,o(),n}function c(){for(var e="";k.test(s());)o(),e+=E;return e}function p(){var e="";for(E&&k.test(E)&&(e=E);k.test(o());)e+=E;return e}function d(e){var t=C;for(e="/"===s(),o();o();){if(!e&&"*"===E&&"/"===s()){o();break}if(e&&"\n"===E)return i.substring(t,C)}return i.substring(t,C)+E}function f(e){return i.substring(C-e.length,C).toLowerCase()===e}function h(){for(var e=0,t=C+1;t<i.length;t++){var n=i.charAt(t);if("{"===n)return!0;if("("===n)e+=1;else if(")"===n){if(0===e)return!1;e-=1}else if(";"===n||"}"===n)return!1}return!1}function m(){D++,R+=A}function g(){D--,R=R.slice(0,-v)}a=a||{},a=e(a,"css"),i=i||"";var v=a.indent_size?parseInt(a.indent_size,10):4,b=a.indent_char||" ",y=void 0===a.selector_separator_newline||a.selector_separator_newline,w=void 0!==a.end_with_newline&&a.end_with_newline,x=void 0===a.newline_between_rules||a.newline_between_rules,_=void 0!==a.space_around_combinator&&a.space_around_combinator;_=_||void 0!==a.space_around_selector_separator&&a.space_around_selector_separator;var T=a.eol?a.eol:"auto";a.indent_with_tabs&&(b="\t",v=1),"auto"===T&&(T="\n",i&&n.test(i||"")&&(T=i.match(n)[0])),T=T.replace(/\\r/,"\r").replace(/\\n/,"\n"),i=i.replace(r,"\n");var E,k=/^\s+$/,C=-1,S=0,R=i.match(/^[\t ]*/)[0],A=new Array(v+1).join(b),D=0,L=0,N={};N["{"]=function(e){N.singleSpace(),P.push(e),N.newLine()},N["}"]=function(e){N.newLine(),P.push(e),N.newLine()},N._lastCharWhitespace=function(){return k.test(P[P.length-1])},N.newLine=function(e){P.length&&(e||"\n"===P[P.length-1]||N.trim(),P.push("\n"),R&&P.push(R))},N.singleSpace=function(){P.length&&!N._lastCharWhitespace()&&P.push(" ")},N.preserveSingleSpace=function(){F&&N.singleSpace()},N.trim=function(){for(;N._lastCharWhitespace();)P.pop()};for(var P=[],j=!1,O=!1,M=!1,I="",q="";;){var $=p(),F=""!==$,U=$.indexOf("\n")!==-1;if(q=I,I=E,!E)break;if("/"===E&&"*"===s()){var K=0===D;(U||K)&&N.newLine(),P.push(d()),N.newLine(),K&&N.newLine(!0)}else if("/"===E&&"/"===s())U||"{"===q||N.trim(),N.singleSpace(),P.push(d()),N.newLine();else if("@"===E)if(N.preserveSingleSpace(),"{"===s())P.push(l("}"));else{P.push(E);var W=u(": ,;{}()[]/='\"");W.match(/[ :]$/)&&(o(),W=l(": ").replace(/\s$/,""),P.push(W),N.singleSpace()),W=W.replace(/\s$/,""),W in t.NESTED_AT_RULE&&(L+=1,W in t.CONDITIONAL_GROUP_RULE&&(M=!0))}else"#"===E&&"{"===s()?(N.preserveSingleSpace(),P.push(l("}"))):"{"===E?"}"===s(!0)?(c(),o(),N.singleSpace(),P.push("{}"),N.newLine(),x&&0===D&&N.newLine(!0)):(m(),N["{"](E),M?(M=!1,j=D>L):j=D>=L):"}"===E?(g(),N["}"](E),j=!1,O=!1,L&&L--,x&&0===D&&N.newLine(!0)):":"===E?(c(),!j&&!M||f("&")||h()||f("(")?(f(" ")&&" "!==P[P.length-1]&&P.push(" "),":"===s()?(o(),P.push("::")):P.push(":")):(P.push(":"),O||(O=!0,N.singleSpace()))):'"'===E||"'"===E?(N.preserveSingleSpace(),P.push(l(E))):";"===E?(O=!1,P.push(E),N.newLine()):"("===E?f("url")?(P.push(E),c(),o()&&(")"!==E&&'"'!==E&&"'"!==E?P.push(l(")")):C--)):(S++,N.preserveSingleSpace(),P.push(E),c()):")"===E?(P.push(E),S--):","===E?(P.push(E),c(),y&&!O&&S<1?N.newLine():N.singleSpace()):(">"===E||"+"===E||"~"===E)&&!O&&S<1?_?(N.singleSpace(),P.push(E),N.singleSpace()):(P.push(E),c(),E&&k.test(E)&&(E="")):"]"===E?P.push(E):"["===E?(N.preserveSingleSpace(),P.push(E)):"="===E?(c(),E="=",P.push(E)):(N.preserveSingleSpace(),P.push(E))}var H="";return R&&(H+=R),H+=P.join("").replace(/[\r\n\t ]+$/,""),w&&(H+="\n"),"\n"!==T&&(H=H.replace(/[\n]/g,T)),H}var n=/\r\n|[\n\r\u2028\u2029]/,r=new RegExp(n.source,"g");t.NESTED_AT_RULE={"@page":!0,"@font-face":!0,"@keyframes":!0,"@media":!0,"@supports":!0,"@document":!0},t.CONDITIONAL_GROUP_RULE={"@media":!0,"@supports":!0,"@document":!0},"function"==typeof define&&define.amd?define("deps/beautify-css",[],function(){return{css_beautify:t}}):"undefined"!=typeof exports?exports.css_beautify=t:"undefined"!=typeof window?window.css_beautify=t:"undefined"!=typeof global&&(global.css_beautify=t)}(),function(){function e(e){return e.replace(/^\s+/g,"")}function t(e){return e.replace(/\s+$/g,"")}function n(e,t){var n,r={};for(n in e)n!==t&&(r[n]=e[n]);if(t in e)for(n in e[t])r[n]=e[t][n];return r}function r(r,o,s,l){function u(){function n(e){var t="",n=function(n){var r=t+n.toLowerCase();t=r.length<=e.length?r:r.substr(r.length-e.length,e.length)},r=function(){return t.indexOf(e)===-1};return{add:n,doesNotMatch:r}}return this.pos=0,this.token="",this.current_mode="CONTENT",this.tags={parent:"parent1",parentcount:1,parent1:""},this.tag_type="",this.token_text=this.last_token=this.last_text=this.token_type="",this.newlines=0,this.indent_content=p,this.indent_body_inner_html=d,this.indent_head_inner_html=f,this.Utils={whitespace:"\n\r\t ".split(""),single_token:["area","base","br","col","embed","hr","img","input","keygen","link","menuitem","meta","param","source","track","wbr","!doctype","?xml","?php","basefont","isindex"],extra_liners:A,in_array:function(e,t){for(var n=0;n<t.length;n++)if(e===t[n])return!0;return!1}},this.is_whitespace=function(e){for(var t=0;t<e.length;t++)if(!this.Utils.in_array(e.charAt(t),this.Utils.whitespace))return!1;return!0},this.traverse_whitespace=function(){var e="";if(e=this.input.charAt(this.pos),this.Utils.in_array(e,this.Utils.whitespace)){for(this.newlines=0;this.Utils.in_array(e,this.Utils.whitespace);)w&&"\n"===e&&this.newlines<=x&&(this.newlines+=1),this.pos++,e=this.input.charAt(this.pos);return!0}return!1},this.space_or_wrap=function(e){return this.line_char_count>=this.wrap_line_length?(this.print_newline(!1,e),this.print_indentation(e),!0):(this.line_char_count++,e.push(" "),!1)},this.get_content=function(){for(var e="",t=[],n=0;"<"!==this.input.charAt(this.pos)||2===n;){if(this.pos>=this.input.length)return t.length?t.join(""):["","TK_EOF"];if(this.traverse_whitespace())this.space_or_wrap(t);else{if(e=this.input.charAt(this.pos),_){if("{"===e?n+=1:n<2&&(n=0),"}"===e&&n>0&&0===n--)break;var r=this.input.substr(this.pos,3);if("{{#"===r||"{{/"===r)break;if("{{!"===r)return[this.get_tag(),"TK_TAG_HANDLEBARS_COMMENT"];if("{{"===this.input.substr(this.pos,2)&&"{{else}}"===this.get_tag(!0))break}this.pos++,this.line_char_count++,t.push(e)}}return t.length?t.join(""):""},this.get_contents_to=function(e){if(this.pos===this.input.length)return["","TK_EOF"];var t="",n=new RegExp("</"+e+"\\s*>","igm");n.lastIndex=this.pos;var r=n.exec(this.input),i=r?r.index:this.input.length;return this.pos<i&&(t=this.input.substring(this.pos,i),this.pos=i),t},this.record_tag=function(e){this.tags[e+"count"]?(this.tags[e+"count"]++,this.tags[e+this.tags[e+"count"]]=this.indent_level):(this.tags[e+"count"]=1,this.tags[e+this.tags[e+"count"]]=this.indent_level),this.tags[e+this.tags[e+"count"]+"parent"]=this.tags.parent,this.tags.parent=e+this.tags[e+"count"]},this.retrieve_tag=function(e){if(this.tags[e+"count"]){for(var t=this.tags.parent;t&&e+this.tags[e+"count"]!==t;)t=this.tags[t+"parent"];t&&(this.indent_level=this.tags[e+this.tags[e+"count"]],this.tags.parent=this.tags[t+"parent"]),delete this.tags[e+this.tags[e+"count"]+"parent"],delete this.tags[e+this.tags[e+"count"]],1===this.tags[e+"count"]?delete this.tags[e+"count"]:this.tags[e+"count"]--}},this.indent_to_tag=function(e){if(this.tags[e+"count"]){for(var t=this.tags.parent;t&&e+this.tags[e+"count"]!==t;)t=this.tags[t+"parent"];t&&(this.indent_level=this.tags[e+this.tags[e+"count"]])}},this.get_tag=function(e){var t,n,r,i,a="",o=[],s="",l=!1,u=!0,c=!1,p=this.pos,d=this.line_char_count,f=!1;e=void 0!==e&&e;do{if(this.pos>=this.input.length)return e&&(this.pos=p,this.line_char_count=d),o.length?o.join(""):["","TK_EOF"];if(a=this.input.charAt(this.pos),this.pos++,this.Utils.in_array(a,this.Utils.whitespace))l=!0;else{if("'"!==a&&'"'!==a||(a+=this.get_unformatted(a),l=!0),"="===a&&(l=!1),i=this.input.substr(this.pos-1),!C||!c||f||">"!==a&&"/"!==a||i.match(/^\/?\s*>/)&&(l=!1,f=!0,this.print_newline(!1,o),this.print_indentation(o)),o.length&&"="!==o[o.length-1]&&">"!==a&&l){var h=this.space_or_wrap(o),g=h&&"/"!==a&&!k;if(l=!1,k&&"/"!==a){var v=!1;if(C&&u){var w=null!==i.match(/^\S*(="([^"]|\\")*")?\s*\/?\s*>/);v=!w}u&&!v||(this.print_newline(!1,o),this.print_indentation(o),g=!0)}if(g){c=!0;var x=E;S&&(x=o.indexOf(" ")+1);for(var T=0;T<x;T++)o.push(m)}if(u)for(var R=0;R<o.length;R++)if(" "===o[R]){u=!1;break}}if(_&&"<"===r&&a+this.input.charAt(this.pos)==="{{"&&(a+=this.get_unformatted("}}"),o.length&&" "!==o[o.length-1]&&"<"!==o[o.length-1]&&(a=" "+a),l=!0),"<"!==a||r||(t=this.pos-1,r="<"),_&&!r&&o.length>=2&&"{"===o[o.length-1]&&"{"===o[o.length-2]&&(t="#"===a||"/"===a||"!"===a?this.pos-3:this.pos-2,r="{"),this.line_char_count++,o.push(a),o[1]&&("!"===o[1]||"?"===o[1]||"%"===o[1])){o=[this.get_comment(t)];break}if(_&&o[1]&&"{"===o[1]&&o[2]&&"!"===o[2]){o=[this.get_comment(t)];break}if(_&&"{"===r&&o.length>2&&"}"===o[o.length-2]&&"}"===o[o.length-1])break}}while(">"!==a);var A,D,L=o.join("");A=L.indexOf("\n")!==-1?L.indexOf("\n"):L.indexOf(" ")!==-1?L.indexOf(" "):"{"===L.charAt(0)?L.indexOf("}"):L.indexOf(">"),D="<"!==L.charAt(0)&&_?"#"===L.charAt(2)?3:2:1;var N=L.substring(D,A).toLowerCase();return"/"===L.charAt(L.length-2)||this.Utils.in_array(N,this.Utils.single_token)?e||(this.tag_type="SINGLE"):_&&"{"===L.charAt(0)&&"else"===N?e||(this.indent_to_tag("if"),this.tag_type="HANDLEBARS_ELSE",this.indent_content=!0,this.traverse_whitespace()):this.is_unformatted(N,b)||this.is_unformatted(N,y)?(s=this.get_unformatted("</"+N+">",L),o.push(s),n=this.pos-1,this.tag_type="SINGLE"):"script"===N&&(L.search("type")===-1||L.search("type")>-1&&L.search(/\b(text|application|dojo)\/(x-)?(javascript|ecmascript|jscript|livescript|(ld\+)?json|method|aspect)/)>-1)?e||(this.record_tag(N),this.tag_type="SCRIPT"):"style"===N&&(L.search("type")===-1||L.search("type")>-1&&L.search("text/css")>-1)?e||(this.record_tag(N),this.tag_type="STYLE"):"!"===N.charAt(0)?e||(this.tag_type="SINGLE",this.traverse_whitespace()):e||("/"===N.charAt(0)?(this.retrieve_tag(N.substring(1)),this.tag_type="END"):(this.record_tag(N),"html"!==N.toLowerCase()&&(this.indent_content=!0),this.tag_type="START"),this.traverse_whitespace()&&this.space_or_wrap(o),this.Utils.in_array(N,this.Utils.extra_liners)&&(this.print_newline(!1,this.output),this.output.length&&"\n"!==this.output[this.output.length-2]&&this.print_newline(!0,this.output))),e&&(this.pos=p,this.line_char_count=d),o.join("")},this.get_comment=function(e){var t="",n=">",r=!1;this.pos=e;var i=this.input.charAt(this.pos);for(this.pos++;this.pos<=this.input.length&&(t+=i,t.charAt(t.length-1)!==n.charAt(n.length-1)||t.indexOf(n)===-1);)!r&&t.length<10&&(0===t.indexOf("<![if")?(n="<![endif]>",r=!0):0===t.indexOf("<![cdata[")?(n="]]>",r=!0):0===t.indexOf("<![")?(n="]>",r=!0):0===t.indexOf("<!--")?(n="-->",r=!0):0===t.indexOf("{{!--")?(n="--}}",r=!0):0===t.indexOf("{{!")?5===t.length&&t.indexOf("{{!--")===-1&&(n="}}",r=!0):0===t.indexOf("<?")?(n="?>",r=!0):0===t.indexOf("<%")&&(n="%>",r=!0)),i=this.input.charAt(this.pos),this.pos++;return t},this.get_unformatted=function(e,t){if(t&&t.toLowerCase().indexOf(e)!==-1)return"";var r="",i="",a=!0,o=n(e);do{if(this.pos>=this.input.length)return i;if(r=this.input.charAt(this.pos),this.pos++,this.Utils.in_array(r,this.Utils.whitespace)){if(!a){this.line_char_count--;continue}if("\n"===r||"\r"===r){i+="\n",this.line_char_count=0;continue}}i+=r,o.add(r),this.line_char_count++,a=!0,_&&"{"===r&&i.length&&"{"===i.charAt(i.length-2)&&(i+=this.get_unformatted("}}"))}while(o.doesNotMatch());return i},this.get_token=function(){var e;if("TK_TAG_SCRIPT"===this.last_token||"TK_TAG_STYLE"===this.last_token){var t=this.last_token.substr(7);return e=this.get_contents_to(t),"string"!=typeof e?e:[e,"TK_"+t]}if("CONTENT"===this.current_mode)return e=this.get_content(),"string"!=typeof e?e:[e,"TK_CONTENT"];if("TAG"===this.current_mode){if(e=this.get_tag(),"string"!=typeof e)return e;var n="TK_TAG_"+this.tag_type;return[e,n]}},this.get_full_indent=function(e){return e=this.indent_level+e||0,e<1?"":Array(e+1).join(this.indent_string)},this.is_unformatted=function(e,t){if(!this.Utils.in_array(e,t))return!1;if("a"!==e.toLowerCase()||!this.Utils.in_array("a",t))return!0;var n=this.get_tag(!0),r=(n||"").match(/^\s*<\s*\/?([a-z]*)\s*[^>]*>\s*$/);return!(r&&!this.Utils.in_array(r,t))},this.printer=function(n,r,i,a,o){this.input=n||"",this.input=this.input.replace(/\r\n|[\r\u2028\u2029]/g,"\n"),this.output=[],this.indent_character=r,this.indent_string="",this.indent_size=i,this.brace_style=o,this.indent_level=0,this.wrap_line_length=a,this.line_char_count=0;for(var s=0;s<this.indent_size;s++)this.indent_string+=this.indent_character;this.print_newline=function(e,n){this.line_char_count=0,n&&n.length&&(e||"\n"!==n[n.length-1])&&("\n"!==n[n.length-1]&&(n[n.length-1]=t(n[n.length-1])),n.push("\n"))},this.print_indentation=function(e){for(var t=0;t<this.indent_level;t++)e.push(this.indent_string),this.line_char_count+=this.indent_string.length},this.print_token=function(t){this.is_whitespace(t)&&!this.output.length||((t||""!==t)&&this.output.length&&"\n"===this.output[this.output.length-1]&&(this.print_indentation(this.output),t=e(t)),this.print_token_raw(t))},this.print_token_raw=function(e){this.newlines>0&&(e=t(e)),e&&""!==e&&(e.length>1&&"\n"===e.charAt(e.length-1)?(this.output.push(e.slice(0,-1)),this.print_newline(!1,this.output)):this.output.push(e));for(var n=0;n<this.newlines;n++)this.print_newline(n>0,this.output);this.newlines=0},this.indent=function(){this.indent_level++},this.unindent=function(){this.indent_level>0&&this.indent_level--}},this}var c,p,d,f,h,m,g,v,b,y,w,x,_,T,E,k,C,S,R,A,D;for(o=o||{},o=n(o,"html"),void 0!==o.wrap_line_length&&0!==parseInt(o.wrap_line_length,10)||void 0===o.max_char||0===parseInt(o.max_char,10)||(o.wrap_line_length=o.max_char),p=void 0!==o.indent_inner_html&&o.indent_inner_html,d=void 0===o.indent_body_inner_html||o.indent_body_inner_html,f=void 0===o.indent_head_inner_html||o.indent_head_inner_html,h=void 0===o.indent_size?4:parseInt(o.indent_size,10),m=void 0===o.indent_char?" ":o.indent_char,v=void 0===o.brace_style?"collapse":o.brace_style,g=0===parseInt(o.wrap_line_length,10)?32786:parseInt(o.wrap_line_length||250,10),b=o.unformatted||["a","abbr","area","audio","b","bdi","bdo","br","button","canvas","cite","code","data","datalist","del","dfn","em","embed","i","iframe","img","input","ins","kbd","keygen","label","map","mark","math","meter","noscript","object","output","progress","q","ruby","s","samp","select","small","span","strong","sub","sup","svg","template","textarea","time","u","var","video","wbr","text","acronym","address","big","dt","ins","strike","tt"],y=o.content_unformatted||["pre"],w=void 0===o.preserve_newlines||o.preserve_newlines,x=w?isNaN(parseInt(o.max_preserve_newlines,10))?32786:parseInt(o.max_preserve_newlines,10):0,_=void 0!==o.indent_handlebars&&o.indent_handlebars,T=void 0===o.wrap_attributes?"auto":o.wrap_attributes,E=isNaN(parseInt(o.wrap_attributes_indent_size,10))?h:parseInt(o.wrap_attributes_indent_size,10),k="force"===T.substr(0,"force".length),C="force-expand-multiline"===T,S="force-aligned"===T,R=void 0!==o.end_with_newline&&o.end_with_newline,A="object"==typeof o.extra_liners&&o.extra_liners?o.extra_liners.concat():"string"==typeof o.extra_liners?o.extra_liners.split(","):"head,body,/html".split(","),D=o.eol?o.eol:"auto",o.indent_with_tabs&&(m="\t",h=1),"auto"===D&&(D="\n",r&&i.test(r||"")&&(D=r.match(i)[0])),D=D.replace(/\\r/,"\r").replace(/\\n/,"\n"),r=r.replace(a,"\n"),c=new u,c.printer(r,m,h,g,v);;){var L=c.get_token();if(c.token_text=L[0],c.token_type=L[1],"TK_EOF"===c.token_type)break;switch(c.token_type){case"TK_TAG_START":c.print_newline(!1,c.output),c.print_token(c.token_text),c.indent_content&&(!c.indent_body_inner_html&&c.token_text.match(/<body(?:.*)>/)||!c.indent_head_inner_html&&c.token_text.match(/<head(?:.*)>/)||c.indent(),c.indent_content=!1),c.current_mode="CONTENT";break;case"TK_TAG_STYLE":case"TK_TAG_SCRIPT":c.print_newline(!1,c.output),c.print_token(c.token_text),c.current_mode="CONTENT";break;case"TK_TAG_END":if("TK_CONTENT"===c.last_token&&""===c.last_text){var N=(c.token_text.match(/\w+/)||[])[0],P=null;c.output.length&&(P=c.output[c.output.length-1].match(/(?:<|{{#)\s*(\w+)/)),(null===P||P[1]!==N&&!c.Utils.in_array(P[1],b))&&c.print_newline(!1,c.output)}c.print_token(c.token_text),c.current_mode="CONTENT";break;case"TK_TAG_SINGLE":var j=c.token_text.match(/^\s*<([a-z-]+)/i);j&&c.Utils.in_array(j[1],b)||c.print_newline(!1,c.output),c.print_token(c.token_text),c.current_mode="CONTENT";break;case"TK_TAG_HANDLEBARS_ELSE":for(var O=!1,M=c.output.length-1;M>=0&&"\n"!==c.output[M];M--)if(c.output[M].match(/{{#if/)){O=!0;break}O||c.print_newline(!1,c.output),c.print_token(c.token_text),c.indent_content&&(c.indent(),c.indent_content=!1),c.current_mode="CONTENT";break;case"TK_TAG_HANDLEBARS_COMMENT":c.print_token(c.token_text),c.current_mode="TAG";break;case"TK_CONTENT":c.print_token(c.token_text),c.current_mode="TAG";break;case"TK_STYLE":case"TK_SCRIPT":if(""!==c.token_text){c.print_newline(!1,c.output);var I,q=c.token_text,$=1;"TK_SCRIPT"===c.token_type?I="function"==typeof s&&s:"TK_STYLE"===c.token_type&&(I="function"==typeof l&&l),"keep"===o.indent_scripts?$=0:"separate"===o.indent_scripts&&($=-c.indent_level);var F=c.get_full_indent($);if(I){var U=function(){this.eol="\n"};U.prototype=o;var K=new U;q=I(q.replace(/^\s*/,F),K)}else{var W=q.match(/^\s*/)[0],H=W.match(/[^\n\r]*$/)[0].split(c.indent_string).length-1,B=c.get_full_indent($-H);q=q.replace(/^\s*/,F).replace(/\r\n|\r|\n/g,"\n"+B).replace(/\s+$/,"")}q&&(c.print_token_raw(q),c.print_newline(!0,c.output))}c.current_mode="TAG";break;default:""!==c.token_text&&c.print_token(c.token_text)}c.last_token=c.token_type,c.last_text=c.token_text}var V=c.output.join("").replace(/[\r\n\t ]+$/,"");return R&&(V+="\n"),"\n"!==D&&(V=V.replace(/[\n]/g,D)),V}var i=/\r\n|[\n\r\u2028\u2029]/,a=new RegExp(i.source,"g");if("function"==typeof define&&define.amd)define("deps/beautify-html",["require","./beautify","./beautify-css"],function(e){var t=e("./beautify"),n=e("./beautify-css");return{html_beautify:function(e,i){return r(e,i,t.js_beautify,n.css_beautify)}}});else if("undefined"!=typeof exports){var o=require("./beautify.js"),s=require("./beautify-css.js");exports.html_beautify=function(e,t){return r(e,t,o.js_beautify,s.css_beautify)}}else"undefined"!=typeof window?window.html_beautify=function(e,t){return r(e,t,window.js_beautify,window.css_beautify)}:"undefined"!=typeof global&&(global.html_beautify=function(e,t){return r(e,t,global.js_beautify,global.css_beautify)})}(),define("core/beautify-options",[],function(){return Object.freeze({brace_style:"expand",extra_liners:["section"],indent_char:" ",indent_handlebars:!1,indent_inner_html:!1,indent_size:2,max_preserve_newlines:5,preserve_newlines:!0,wrap_line_length:0})}),define("core/markdown",["deps/marked","core/utils","deps/beautify-html","core/beautify-options"],function(e,t,n,r){function i(n){var r=t.normalizePadding(n),i=r.replace(/>/gm,">"),a=e(i);return a}function a(e){return function(t){Array.from(t.querySelectorAll(e)).map(function(e){return{element:e,html:i(e.innerHTML)}}).reduce(function(e,t){var n=t.element,r=e;for(e.innerHTML=t.html,e.firstChild&&n.localName===e.firstChild.localName&&(r=e.firstChild),n.innerHTML="";r.firstChild;)t.element.appendChild(r.firstChild);return e},t.ownerDocument.createElement("div"))}}function o(e){function t(e){return parseInt(e.tagName.charAt(1),10)}function n(e){for(var t;e>0;)if(e--,t=u[e])return t}function r(e){for(e=e.firstChild;e;){if(p.test(e.tagName))return e;e=e.nextSibling}return null}function i(r){var i=e.createElement("section"),a=t(r);i.appendChild(r),n(a).appendChild(i),u[a]=i,u.length=a+1,c=i}function a(e,i){var a=r(e),o=a?t(a):1,s=n(o);a&&e.removeChild(a),e.appendChild(i(e)),a&&e.insertBefore(a,e.firstChild),s.appendChild(e),c=s}function o(e){c.appendChild(e)}function s(){return l}var l=e.createDocumentFragment(),u=[l],c=l,p=/H[1-6]/;return{addHeader:i,addSection:a,addElement:o,getRoot:s}}function s(e,t){function n(e){for(var r,i,a=o(t);e.firstChild;)if(r=e.firstChild,r.nodeType===Node.ELEMENT_NODE)switch(i=r.localName){case"h1":case"h2":case"h3":case"h4":case"h5":case"h6":a.addHeader(r);break;case"section":a.addSection(r,n);break;default:a.addElement(r)}else e.removeChild(r);return a.getRoot()}return n(e)}function l(e){Array.from(e).forEach(function(e){var t=e.ownerDocument.createTextNode(e.textContent);e.parentElement.replaceChild(t,e)})}e.setOptions({sanitize:!1,gfm:!0});var u=a("section, .issue, .note, .req");return{run:function(e,t,a){
if("markdown"===e.format){var o=t.getElementById("respec-ui");o.remove();var c=t.createElement("body");c.innerHTML=t.body.innerHTML,u(c);var p=i(c.innerHTML),d=p.replace(/<p>\s*<\/p>/gm,"").replace(/\n\s*"</gm," "<"),f=n.html_beautify(d,r);c.innerHTML=f,l(c.querySelectorAll(".nolinks a[href]"));var h=s(c,t);c.appendChild(h),c.appendChild(o),t.body.parentNode.replaceChild(c,t.body)}a()}}}),function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define("handlebars.runtime",[],t):"object"==typeof exports?exports.Handlebars=t():e.Handlebars=t()}(this,function(){return function(e){function t(r){if(n[r])return n[r].exports;var i=n[r]={exports:{},id:r,loaded:!1};return e[r].call(i.exports,i,i.exports,t),i.loaded=!0,i.exports}var n={};return t.m=e,t.c=n,t.p="",t(0)}([function(e,t,n){function r(){var e=new s.HandlebarsEnvironment;return f.extend(e,s),e.SafeString=u.default,e.Exception=p.default,e.Utils=f,e.escapeExpression=f.escapeExpression,e.VM=m,e.template=function(t){return m.template(t,e)},e}var i=n(1).default,a=n(2).default;t.__esModule=!0;var o=n(3),s=i(o),l=n(20),u=a(l),c=n(5),p=a(c),d=n(4),f=i(d),h=n(21),m=i(h),g=n(22),v=a(g),b=r();b.create=r,v.default(b),b.default=b,t.default=b,e.exports=t.default},function(e,t){t.default=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t},t.__esModule=!0},function(e,t){t.default=function(e){return e&&e.__esModule?e:{default:e}},t.__esModule=!0},function(e,t,n){function r(e,t,n){this.helpers=e||{},this.partials=t||{},this.decorators=n||{},l.registerDefaultHelpers(this),u.registerDefaultDecorators(this)}var i=n(2).default;t.__esModule=!0,t.HandlebarsEnvironment=r;var a=n(4),o=n(5),s=i(o),l=n(9),u=n(17),c=n(19),p=i(c),d="4.0.5";t.VERSION=d;var f=7;t.COMPILER_REVISION=f;var h={1:"<= 1.0.rc.2",2:"== 1.0.0-rc.3",3:"== 1.0.0-rc.4",4:"== 1.x.x",5:"== 2.0.0-alpha.x",6:">= 2.0.0-beta.1",7:">= 4.0.0"};t.REVISION_CHANGES=h;var m="[object Object]";r.prototype={constructor:r,logger:p.default,log:p.default.log,registerHelper:function(e,t){if(a.toString.call(e)===m){if(t)throw new s.default("Arg not supported with multiple helpers");a.extend(this.helpers,e)}else this.helpers[e]=t},unregisterHelper:function(e){delete this.helpers[e]},registerPartial:function(e,t){if(a.toString.call(e)===m)a.extend(this.partials,e);else{if("undefined"==typeof t)throw new s.default('Attempting to register a partial called "'+e+'" as undefined');this.partials[e]=t}},unregisterPartial:function(e){delete this.partials[e]},registerDecorator:function(e,t){if(a.toString.call(e)===m){if(t)throw new s.default("Arg not supported with multiple decorators");a.extend(this.decorators,e)}else this.decorators[e]=t},unregisterDecorator:function(e){delete this.decorators[e]}};var g=p.default.log;t.log=g,t.createFrame=a.createFrame,t.logger=p.default},function(e,t){function n(e){return c[e]}function r(e){for(var t=1;t<arguments.length;t++)for(var n in arguments[t])Object.prototype.hasOwnProperty.call(arguments[t],n)&&(e[n]=arguments[t][n]);return e}function i(e,t){for(var n=0,r=e.length;n<r;n++)if(e[n]===t)return n;return-1}function a(e){if("string"!=typeof e){if(e&&e.toHTML)return e.toHTML();if(null==e)return"";if(!e)return e+"";e=""+e}return d.test(e)?e.replace(p,n):e}function o(e){return!e&&0!==e||!(!m(e)||0!==e.length)}function s(e){var t=r({},e);return t._parent=e,t}function l(e,t){return e.path=t,e}function u(e,t){return(e?e+".":"")+t}t.__esModule=!0,t.extend=r,t.indexOf=i,t.escapeExpression=a,t.isEmpty=o,t.createFrame=s,t.blockParams=l,t.appendContextPath=u;var c={"&":"&","<":"<",">":">",'"':""","'":"'","`":"`","=":"="},p=/[&<>"'`=]/g,d=/[&<>"'`=]/,f=Object.prototype.toString;t.toString=f;var h=function(e){return"function"==typeof e};h(/x/)&&(t.isFunction=h=function(e){return"function"==typeof e&&"[object Function]"===f.call(e)}),t.isFunction=h;var m=Array.isArray||function(e){return!(!e||"object"!=typeof e)&&"[object Array]"===f.call(e)};t.isArray=m},function(e,t,n){function r(e,t){var n=t&&t.loc,o=void 0,s=void 0;n&&(o=n.start.line,s=n.start.column,e+=" - "+o+":"+s);for(var l=Error.prototype.constructor.call(this,e),u=0;u<a.length;u++)this[a[u]]=l[a[u]];Error.captureStackTrace&&Error.captureStackTrace(this,r);try{n&&(this.lineNumber=o,i?Object.defineProperty(this,"column",{value:s}):this.column=s)}catch(e){}}var i=n(6).default;t.__esModule=!0;var a=["description","fileName","lineNumber","message","name","number","stack"];r.prototype=new Error,t.default=r,e.exports=t.default},function(e,t,n){e.exports={default:n(7),__esModule:!0}},function(e,t,n){var r=n(8);e.exports=function(e,t,n){return r.setDesc(e,t,n)}},function(e,t){var n=Object;e.exports={create:n.create,getProto:n.getPrototypeOf,isEnum:{}.propertyIsEnumerable,getDesc:n.getOwnPropertyDescriptor,setDesc:n.defineProperty,setDescs:n.defineProperties,getKeys:n.keys,getNames:n.getOwnPropertyNames,getSymbols:n.getOwnPropertySymbols,each:[].forEach}},function(e,t,n){function r(e){o.default(e),l.default(e),c.default(e),d.default(e),h.default(e),g.default(e),b.default(e)}var i=n(2).default;t.__esModule=!0,t.registerDefaultHelpers=r;var a=n(10),o=i(a),s=n(11),l=i(s),u=n(12),c=i(u),p=n(13),d=i(p),f=n(14),h=i(f),m=n(15),g=i(m),v=n(16),b=i(v)},function(e,t,n){t.__esModule=!0;var r=n(4);t.default=function(e){e.registerHelper("blockHelperMissing",function(t,n){var i=n.inverse,a=n.fn;if(t===!0)return a(this);if(t===!1||null==t)return i(this);if(r.isArray(t))return t.length>0?(n.ids&&(n.ids=[n.name]),e.helpers.each(t,n)):i(this);if(n.data&&n.ids){var o=r.createFrame(n.data);o.contextPath=r.appendContextPath(n.data.contextPath,n.name),n={data:o}}return a(t,n)})},e.exports=t.default},function(e,t,n){var r=n(2).default;t.__esModule=!0;var i=n(4),a=n(5),o=r(a);t.default=function(e){e.registerHelper("each",function(e,t){function n(t,n,a){u&&(u.key=t,u.index=n,u.first=0===n,u.last=!!a,c&&(u.contextPath=c+t)),l+=r(e[t],{data:u,blockParams:i.blockParams([e[t],t],[c+t,null])})}if(!t)throw new o.default("Must pass iterator to #each");var r=t.fn,a=t.inverse,s=0,l="",u=void 0,c=void 0;if(t.data&&t.ids&&(c=i.appendContextPath(t.data.contextPath,t.ids[0])+"."),i.isFunction(e)&&(e=e.call(this)),t.data&&(u=i.createFrame(t.data)),e&&"object"==typeof e)if(i.isArray(e))for(var p=e.length;s<p;s++)s in e&&n(s,s,s===e.length-1);else{var d=void 0;for(var f in e)e.hasOwnProperty(f)&&(void 0!==d&&n(d,s-1),d=f,s++);void 0!==d&&n(d,s-1,!0)}return 0===s&&(l=a(this)),l})},e.exports=t.default},function(e,t,n){var r=n(2).default;t.__esModule=!0;var i=n(5),a=r(i);t.default=function(e){e.registerHelper("helperMissing",function(){if(1!==arguments.length)throw new a.default('Missing helper: "'+arguments[arguments.length-1].name+'"')})},e.exports=t.default},function(e,t,n){t.__esModule=!0;var r=n(4);t.default=function(e){e.registerHelper("if",function(e,t){return r.isFunction(e)&&(e=e.call(this)),!t.hash.includeZero&&!e||r.isEmpty(e)?t.inverse(this):t.fn(this)}),e.registerHelper("unless",function(t,n){return e.helpers.if.call(this,t,{fn:n.inverse,inverse:n.fn,hash:n.hash})})},e.exports=t.default},function(e,t){t.__esModule=!0,t.default=function(e){e.registerHelper("log",function(){for(var t=[void 0],n=arguments[arguments.length-1],r=0;r<arguments.length-1;r++)t.push(arguments[r]);var i=1;null!=n.hash.level?i=n.hash.level:n.data&&null!=n.data.level&&(i=n.data.level),t[0]=i,e.log.apply(e,t)})},e.exports=t.default},function(e,t){t.__esModule=!0,t.default=function(e){e.registerHelper("lookup",function(e,t){return e&&e[t]})},e.exports=t.default},function(e,t,n){t.__esModule=!0;var r=n(4);t.default=function(e){e.registerHelper("with",function(e,t){r.isFunction(e)&&(e=e.call(this));var n=t.fn;if(r.isEmpty(e))return t.inverse(this);var i=t.data;return t.data&&t.ids&&(i=r.createFrame(t.data),i.contextPath=r.appendContextPath(t.data.contextPath,t.ids[0])),n(e,{data:i,blockParams:r.blockParams([e],[i&&i.contextPath])})})},e.exports=t.default},function(e,t,n){function r(e){o.default(e)}var i=n(2).default;t.__esModule=!0,t.registerDefaultDecorators=r;var a=n(18),o=i(a)},function(e,t,n){t.__esModule=!0;var r=n(4);t.default=function(e){e.registerDecorator("inline",function(e,t,n,i){var a=e;return t.partials||(t.partials={},a=function(i,a){var o=n.partials;n.partials=r.extend({},o,t.partials);var s=e(i,a);return n.partials=o,s}),t.partials[i.args[0]]=i.fn,a})},e.exports=t.default},function(e,t,n){t.__esModule=!0;var r=n(4),i={methodMap:["debug","info","warn","error"],level:"info",lookupLevel:function(e){if("string"==typeof e){var t=r.indexOf(i.methodMap,e.toLowerCase());e=t>=0?t:parseInt(e,10)}return e},log:function(e){if(e=i.lookupLevel(e),"undefined"!=typeof console&&i.lookupLevel(i.level)<=e){var t=i.methodMap[e];console[t]||(t="log");for(var n=arguments.length,r=Array(n>1?n-1:0),a=1;a<n;a++)r[a-1]=arguments[a];console[t].apply(console,r)}}};t.default=i,e.exports=t.default},function(e,t){function n(e){this.string=e}t.__esModule=!0,n.prototype.toString=n.prototype.toHTML=function(){return""+this.string},t.default=n,e.exports=t.default},function(e,t,n){function r(e){var t=e&&e[0]||1,n=v.COMPILER_REVISION;if(t!==n){if(t<n){var r=v.REVISION_CHANGES[n],i=v.REVISION_CHANGES[t];throw new g.default("Template was precompiled with an older version of Handlebars than the current runtime. Please update your precompiler to a newer version ("+r+") or downgrade your runtime to an older version ("+i+").")}throw new g.default("Template was precompiled with a newer version of Handlebars than the current runtime. Please update your runtime to a newer version ("+e[1]+").")}}function i(e,t){function n(n,r,i){i.hash&&(r=h.extend({},r,i.hash),i.ids&&(i.ids[0]=!0)),n=t.VM.resolvePartial.call(this,n,r,i);var a=t.VM.invokePartial.call(this,n,r,i);if(null==a&&t.compile&&(i.partials[i.name]=t.compile(n,e.compilerOptions,t),a=i.partials[i.name](r,i)),null!=a){if(i.indent){for(var o=a.split("\n"),s=0,l=o.length;s<l&&(o[s]||s+1!==l);s++)o[s]=i.indent+o[s];a=o.join("\n")}return a}throw new g.default("The partial "+i.name+" could not be compiled when running in runtime-only mode")}function r(t){function n(t){return""+e.main(i,t,i.helpers,i.partials,o,l,s)}var a=arguments.length<=1||void 0===arguments[1]?{}:arguments[1],o=a.data;r._setup(a),!a.partial&&e.useData&&(o=u(t,o));var s=void 0,l=e.useBlockParams?[]:void 0;return e.useDepths&&(s=a.depths?t!=a.depths[0]?[t].concat(a.depths):a.depths:[t]),(n=c(e.main,n,i,a.depths||[],o,l))(t,a)}if(!t)throw new g.default("No environment passed to template");if(!e||!e.main)throw new g.default("Unknown template object: "+typeof e);e.main.decorator=e.main_d,t.VM.checkRevision(e.compiler);var i={strict:function(e,t){if(!(t in e))throw new g.default('"'+t+'" not defined in '+e);return e[t]},lookup:function(e,t){for(var n=e.length,r=0;r<n;r++)if(e[r]&&null!=e[r][t])return e[r][t]},lambda:function(e,t){return"function"==typeof e?e.call(t):e},escapeExpression:h.escapeExpression,invokePartial:n,fn:function(t){var n=e[t];return n.decorator=e[t+"_d"],n},programs:[],program:function(e,t,n,r,i){var o=this.programs[e],s=this.fn(e);return t||i||r||n?o=a(this,e,s,t,n,r,i):o||(o=this.programs[e]=a(this,e,s)),o},data:function(e,t){for(;e&&t--;)e=e._parent;return e},merge:function(e,t){var n=e||t;return e&&t&&e!==t&&(n=h.extend({},t,e)),n},noop:t.VM.noop,compilerInfo:e.compiler};return r.isTop=!0,r._setup=function(n){n.partial?(i.helpers=n.helpers,i.partials=n.partials,i.decorators=n.decorators):(i.helpers=i.merge(n.helpers,t.helpers),e.usePartial&&(i.partials=i.merge(n.partials,t.partials)),(e.usePartial||e.useDecorators)&&(i.decorators=i.merge(n.decorators,t.decorators)))},r._child=function(t,n,r,o){if(e.useBlockParams&&!r)throw new g.default("must pass block params");if(e.useDepths&&!o)throw new g.default("must pass parent depths");return a(i,t,e[t],n,0,r,o)},r}function a(e,t,n,r,i,a,o){function s(t){var i=arguments.length<=1||void 0===arguments[1]?{}:arguments[1],s=o;return o&&t!=o[0]&&(s=[t].concat(o)),n(e,t,e.helpers,e.partials,i.data||r,a&&[i.blockParams].concat(a),s)}return s=c(n,s,e,o,r,a),s.program=t,s.depth=o?o.length:0,s.blockParams=i||0,s}function o(e,t,n){if(e)e.call||n.name||(n.name=e,e=n.partials[e]);else if("@partial-block"===n.name){for(var r=n.data;r["partial-block"]===l;)r=r._parent;e=r["partial-block"],r["partial-block"]=l}else e=n.partials[n.name];return e}function s(e,t,n){n.partial=!0,n.ids&&(n.data.contextPath=n.ids[0]||n.data.contextPath);var r=void 0;if(n.fn&&n.fn!==l&&(n.data=v.createFrame(n.data),r=n.data["partial-block"]=n.fn,r.partials&&(n.partials=h.extend({},n.partials,r.partials))),void 0===e&&r&&(e=r),void 0===e)throw new g.default("The partial "+n.name+" could not be found");if(e instanceof Function)return e(t,n)}function l(){return""}function u(e,t){return t&&"root"in t||(t=t?v.createFrame(t):{},t.root=e),t}function c(e,t,n,r,i,a){if(e.decorator){var o={};t=e.decorator(t,o,n,r&&r[0],i,a,r),h.extend(t,o)}return t}var p=n(1).default,d=n(2).default;t.__esModule=!0,t.checkRevision=r,t.template=i,t.wrapProgram=a,t.resolvePartial=o,t.invokePartial=s,t.noop=l;var f=n(4),h=p(f),m=n(5),g=d(m),v=n(3)},function(e,t){(function(n){t.__esModule=!0,t.default=function(e){var t="undefined"!=typeof n?n:window,r=t.Handlebars;e.noConflict=function(){return t.Handlebars===e&&(t.Handlebars=r),e}},e.exports=t.default}).call(t,function(){return this}())}])}),define("w3c/templates/compiled",["handlebars.runtime"],function(e){e=e.default;var t=e.template,n=e.templates=e.templates||{};return n["cgbg-headers.html"]=t({1:function(e,t,n,r,i){return" property='dc:title'"},3:function(e,t,n,r,i){var a,o,s=null!=t?t:{};return" <h2 "+(null!=(a=n.if.call(s,null!=t?t.doRDFa:t,{name:"if",hash:{},fn:e.program(4,i,0),inverse:e.noop,data:i}))?a:"")+"id='subtitle'>"+e.escapeExpression((o=null!=(o=n.subtitle||(null!=t?t.subtitle:t))?o:n.helperMissing,"function"==typeof o?o.call(s,{name:"subtitle",hash:{},data:i}):o))+"</h2>\n"},4:function(e,t,n,r,i){return"property='bibo:subtitle' "},6:function(e,t,n,r,i){return'property="dc:issued"'},8:function(e,t,n,r,i){var a,o,s=e.escapeExpression,l=null!=t?t:{},u=n.helperMissing,c="function";return" <dt>"+s(e.lambda(null!=(a=null!=t?t.l10n:t)?a.this_version:a,t))+"</dt>\n <dd><a class='u-url' href='"+s((o=null!=(o=n.thisVersion||(null!=t?t.thisVersion:t))?o:u,typeof o===c?o.call(l,{name:"thisVersion",hash:{},data:i}):o))+"'>"+s((o=null!=(o=n.thisVersion||(null!=t?t.thisVersion:t))?o:u,typeof o===c?o.call(l,{name:"thisVersion",hash:{},data:i}):o))+"</a></dd>\n"},10:function(e,t,n,r,i){var a,o,s=e.escapeExpression,l=null!=t?t:{},u=n.helperMissing,c="function";return" <dt>"+s(e.lambda(null!=(a=null!=t?t.l10n:t)?a.latest_published_version:a,t))+"</dt>\n <dd><a href='"+s((o=null!=(o=n.latestVersion||(null!=t?t.latestVersion:t))?o:u,typeof o===c?o.call(l,{name:"latestVersion",hash:{},data:i}):o))+"'>"+s((o=null!=(o=n.latestVersion||(null!=t?t.latestVersion:t))?o:u,typeof o===c?o.call(l,{name:"latestVersion",hash:{},data:i}):o))+"</a></dd>\n"},12:function(e,t,n,r,i){var a,o,s=e.escapeExpression,l=null!=t?t:{},u=n.helperMissing,c="function";return" <dt>"+s(e.lambda(null!=(a=null!=t?t.l10n:t)?a.latest_editors_draft:a,t))+"</dt>\n <dd><a href='"+s((o=null!=(o=n.edDraftURI||(null!=t?t.edDraftURI:t))?o:u,typeof o===c?o.call(l,{name:"edDraftURI",hash:{},data:i}):o))+"'>"+s((o=null!=(o=n.edDraftURI||(null!=t?t.edDraftURI:t))?o:u,typeof o===c?o.call(l,{name:"edDraftURI",hash:{},data:i}):o))+"</a></dd>\n"},14:function(e,t,n,r,i){var a,o=null!=t?t:{},s=n.helperMissing,l="function",u=e.escapeExpression;return" <dt>Test suite:</dt>\n <dd><a href='"+u((a=null!=(a=n.testSuiteURI||(null!=t?t.testSuiteURI:t))?a:s,typeof a===l?a.call(o,{name:"testSuiteURI",hash:{},data:i}):a))+"'>"+u((a=null!=(a=n.testSuiteURI||(null!=t?t.testSuiteURI:t))?a:s,typeof a===l?a.call(o,{name:"testSuiteURI",hash:{},data:i}):a))+"</a></dd>\n"},16:function(e,t,n,r,i){var a,o=null!=t?t:{},s=n.helperMissing,l="function",u=e.escapeExpression;return" <dt>Implementation report:</dt>\n <dd><a href='"+u((a=null!=(a=n.implementationReportURI||(null!=t?t.implementationReportURI:t))?a:s,typeof a===l?a.call(o,{name:"implementationReportURI",hash:{},data:i}):a))+"'>"+u((a=null!=(a=n.implementationReportURI||(null!=t?t.implementationReportURI:t))?a:s,typeof a===l?a.call(o,{name:"implementationReportURI",hash:{},data:i}):a))+"</a></dd>\n"},18:function(e,t,n,r,i){var a,o;return" <dt>"+e.escapeExpression(e.lambda(null!=(a=null!=t?t.l10n:t)?a.bug_tracker:a,t))+"</dt>\n <dd>"+(null!=(o=null!=(o=n.bugTrackerHTML||(null!=t?t.bugTrackerHTML:t))?o:n.helperMissing,a="function"==typeof o?o.call(null!=t?t:{},{name:"bugTrackerHTML",hash:{},data:i}):o)?a:"")+"</dd>\n"},20:function(e,t,n,r,i){var a,o,s=null!=t?t:{},l=n.helperMissing,u="function",c=e.escapeExpression;return" <dt>Previous version:</dt>\n <dd><a "+(null!=(a=n.if.call(s,null!=t?t.doRDFa:t,{name:"if",hash:{},fn:e.program(21,i,0),inverse:e.noop,data:i}))?a:"")+" href='"+c((o=null!=(o=n.prevVersion||(null!=t?t.prevVersion:t))?o:l,typeof o===u?o.call(s,{name:"prevVersion",hash:{},data:i}):o))+"'>"+c((o=null!=(o=n.prevVersion||(null!=t?t.prevVersion:t))?o:l,typeof o===u?o.call(s,{name:"prevVersion",hash:{},data:i}):o))+"</a></dd>\n"},21:function(e,t,n,r,i){return'rel="dcterms:replaces"'},23:function(e,t,n,r,i){var a;return null!=(a=n.if.call(null!=t?t:{},null!=t?t.prevED:t,{name:"if",hash:{},fn:e.program(24,i,0),inverse:e.noop,data:i}))?a:""},24:function(e,t,n,r,i){var a,o=null!=t?t:{},s=n.helperMissing,l="function",u=e.escapeExpression;return" <dt>Previous editor's draft:</dt>\n <dd><a href='"+u((a=null!=(a=n.prevED||(null!=t?t.prevED:t))?a:s,typeof a===l?a.call(o,{name:"prevED",hash:{},data:i}):a))+"'>"+u((a=null!=(a=n.prevED||(null!=t?t.prevED:t))?a:s,typeof a===l?a.call(o,{name:"prevED",hash:{},data:i}):a))+"</a></dd>\n"},26:function(e,t,n,r,i){var a;return e.escapeExpression(e.lambda(null!=(a=null!=t?t.l10n:t)?a.editors:a,t))},28:function(e,t,n,r,i){var a;return e.escapeExpression(e.lambda(null!=(a=null!=t?t.l10n:t)?a.editor:a,t))},30:function(e,t,n,r,i){var a,o=null!=t?t:{};return" <dt>"+(null!=(a=n.if.call(o,null!=t?t.multipleAuthors:t,{name:"if",hash:{},fn:e.program(31,i,0),inverse:e.program(33,i,0),data:i}))?a:"")+"</dt>\n "+e.escapeExpression((n.showPeople||t&&t.showPeople||n.helperMissing).call(o,"Author",null!=t?t.authors:t,{name:"showPeople",hash:{},data:i}))+"\n"},31:function(e,t,n,r,i){var a;return e.escapeExpression(e.lambda(null!=(a=null!=t?t.l10n:t)?a.authors:a,t))},33:function(e,t,n,r,i){var a;return e.escapeExpression(e.lambda(null!=(a=null!=t?t.l10n:t)?a.author:a,t))},35:function(e,t,n,r,i){var a;return null!=(a=n.each.call(null!=t?t:{},null!=t?t.otherLinks:t,{name:"each",hash:{},fn:e.program(36,i,0),inverse:e.noop,data:i}))?a:""},36:function(e,t,n,r,i){var a;return null!=(a=n.if.call(null!=t?t:{},null!=t?t.key:t,{name:"if",hash:{},fn:e.program(37,i,0),inverse:e.noop,data:i}))?a:""},37:function(e,t,n,r,i){var a,o,s=null!=t?t:{};return" <dt "+(null!=(a=n.if.call(s,null!=t?t.class:t,{name:"if",hash:{},fn:e.program(38,i,0),inverse:e.noop,data:i}))?a:"")+">"+e.escapeExpression((o=null!=(o=n.key||(null!=t?t.key:t))?o:n.helperMissing,"function"==typeof o?o.call(s,{name:"key",hash:{},data:i}):o))+":</dt>\n"+(null!=(a=n.if.call(s,null!=t?t.data:t,{name:"if",hash:{},fn:e.program(40,i,0),inverse:e.program(50,i,0),data:i}))?a:"")},38:function(e,t,n,r,i){var a;return'class="'+e.escapeExpression((a=null!=(a=n.class||(null!=t?t.class:t))?a:n.helperMissing,"function"==typeof a?a.call(null!=t?t:{},{name:"class",hash:{},data:i}):a))+'"'},40:function(e,t,n,r,i){var a;return null!=(a=n.each.call(null!=t?t:{},null!=t?t.data:t,{name:"each",hash:{},fn:e.program(41,i,0),inverse:e.noop,data:i}))?a:""},41:function(e,t,n,r,i){var a;return null!=(a=n.if.call(null!=t?t:{},null!=t?t.value:t,{name:"if",hash:{},fn:e.program(42,i,0),inverse:e.program(47,i,0),data:i}))?a:""},42:function(e,t,n,r,i){var a,o,s=null!=t?t:{};return" <dd "+(null!=(a=n.if.call(s,null!=t?t.class:t,{name:"if",hash:{},fn:e.program(38,i,0),inverse:e.noop,data:i}))?a:"")+">\n "+(null!=(a=n.if.call(s,null!=t?t.href:t,{name:"if",hash:{},fn:e.program(43,i,0),inverse:e.noop,data:i}))?a:"")+"\n "+e.escapeExpression((o=null!=(o=n.value||(null!=t?t.value:t))?o:n.helperMissing,"function"==typeof o?o.call(s,{name:"value",hash:{},data:i}):o))+"\n "+(null!=(a=n.if.call(s,null!=t?t.href:t,{name:"if",hash:{},fn:e.program(45,i,0),inverse:e.noop,data:i}))?a:"")+"\n </dd>\n"},43:function(e,t,n,r,i){var a;return'<a href="'+e.escapeExpression((a=null!=(a=n.href||(null!=t?t.href:t))?a:n.helperMissing,"function"==typeof a?a.call(null!=t?t:{},{name:"href",hash:{},data:i}):a))+'">'},45:function(e,t,n,r,i){return"</a>"},47:function(e,t,n,r,i){var a;return null!=(a=n.if.call(null!=t?t:{},null!=t?t.href:t,{name:"if",hash:{},fn:e.program(48,i,0),inverse:e.noop,data:i}))?a:""},48:function(e,t,n,r,i){var a,o=null!=t?t:{},s=n.helperMissing,l="function",u=e.escapeExpression;return' <dd><a href="'+u((a=null!=(a=n.href||(null!=t?t.href:t))?a:s,typeof a===l?a.call(o,{name:"href",hash:{},data:i}):a))+'">'+u((a=null!=(a=n.href||(null!=t?t.href:t))?a:s,typeof a===l?a.call(o,{name:"href",hash:{},data:i}):a))+"</a></dd>\n"},50:function(e,t,n,r,i){var a;return null!=(a=n.if.call(null!=t?t:{},null!=t?t.value:t,{name:"if",hash:{},fn:e.program(51,i,0),inverse:e.program(53,i,0),data:i}))?a:""},51:function(e,t,n,r,i){var a,o,s=null!=t?t:{};return" <dd "+(null!=(a=n.if.call(s,null!=t?t.class:t,{name:"if",hash:{},fn:e.program(38,i,0),inverse:e.noop,data:i}))?a:"")+">\n "+(null!=(a=n.if.call(s,null!=t?t.href:t,{name:"if",hash:{},fn:e.program(43,i,0),inverse:e.noop,data:i}))?a:"")+"\n "+e.escapeExpression((o=null!=(o=n.value||(null!=t?t.value:t))?o:n.helperMissing,"function"==typeof o?o.call(s,{name:"value",hash:{},data:i}):o))+"\n "+(null!=(a=n.if.call(s,null!=t?t.href:t,{name:"if",hash:{},fn:e.program(45,i,0),inverse:e.noop,data:i}))?a:"")+"\n </dd>\n"},53:function(e,t,n,r,i){var a;return null!=(a=n.if.call(null!=t?t:{},null!=t?t.href:t,{name:"if",hash:{},fn:e.program(54,i,0),inverse:e.noop,data:i}))?a:""},54:function(e,t,n,r,i){var a,o,s=null!=t?t:{},l=n.helperMissing,u="function",c=e.escapeExpression;return" <dd "+(null!=(a=n.if.call(s,null!=t?t.class:t,{name:"if",hash:{},fn:e.program(38,i,0),inverse:e.noop,data:i}))?a:"")+'>\n <a href="'+c((o=null!=(o=n.href||(null!=t?t.href:t))?o:l,typeof o===u?o.call(s,{name:"href",hash:{},data:i}):o))+'">'+c((o=null!=(o=n.href||(null!=t?t.href:t))?o:l,typeof o===u?o.call(s,{name:"href",hash:{},data:i}):o))+"</a>\n </dd>\n"},56:function(e,t,n,r,i){var a,o,s=null!=t?t:{};return" <p>\n"+(null!=(a=n.if.call(s,null!=t?t.multipleAlternates:t,{name:"if",hash:{},fn:e.program(57,i,0),inverse:e.program(59,i,0),data:i}))?a:"")+" "+(null!=(o=null!=(o=n.alternatesHTML||(null!=t?t.alternatesHTML:t))?o:n.helperMissing,a="function"==typeof o?o.call(s,{name:"alternatesHTML",hash:{},data:i}):o)?a:"")+"\n </p>\n"},57:function(e,t,n,r,i){return" This document is also available in these non-normative formats: \n"},59:function(e,t,n,r,i){return" This document is also available in this non-normative format: \n"},61:function(e,t,n,r,i){var a;return e.escapeExpression((a=null!=(a=n.copyrightStart||(null!=t?t.copyrightStart:t))?a:n.helperMissing,"function"==typeof a?a.call(null!=t?t:{},{name:"copyrightStart",hash:{},data:i}):a))+"-"},63:function(e,t,n,r,i){return' <a href="https://www.w3.org/community/about/agreements/fsa/">W3C Community Final Specification Agreement (FSA)</a>. \n A human-readable <a href="https://www.w3.org/community/about/agreements/fsa-deed/">summary</a> is available.\n'},65:function(e,t,n,r,i){return' <a href="https://www.w3.org/community/about/agreements/cla/">W3C Community Contributor License Agreement (CLA)</a>.\n A human-readable <a href="https://www.w3.org/community/about/agreements/cla-deed/">summary</a> is available.\n'},compiler:[7,">= 4.0.0"],main:function(e,t,n,r,i){var a,o,s=null!=t?t:{},l=n.helperMissing,u="function",c=e.escapeExpression;return"<div class='head'>\n <p>\n <a class='logo' href='https://www.w3.org/'><img width='72' height='48' src='https://www.w3.org/StyleSheets/TR/2016/logos/W3C' alt='W3C'></a>\n </p>\n <h1 class='title p-name' id='title'"+(null!=(a=n.if.call(s,null!=t?t.doRDFa:t,{name:"if",hash:{},fn:e.program(1,i,0),inverse:e.noop,data:i}))?a:"")+">"+c((o=null!=(o=n.title||(null!=t?t.title:t))?o:l,typeof o===u?o.call(s,{name:"title",hash:{},data:i}):o))+"</h1>\n"+(null!=(a=n.if.call(s,null!=t?t.subtitle:t,{name:"if",hash:{},fn:e.program(3,i,0),inverse:e.noop,data:i}))?a:"")+" <h2>"+c((o=null!=(o=n.longStatus||(null!=t?t.longStatus:t))?o:l,typeof o===u?o.call(s,{name:"longStatus",hash:{},data:i}):o))+" <time "+(null!=(a=n.if.call(s,null!=t?t.doRDFa:t,{name:"if",hash:{},fn:e.program(6,i,0),inverse:e.noop,data:i}))?a:"")+"class='dt-published' datetime='"+c((o=null!=(o=n.dashDate||(null!=t?t.dashDate:t))?o:l,typeof o===u?o.call(s,{name:"dashDate",hash:{},data:i}):o))+"'>"+c((o=null!=(o=n.publishHumanDate||(null!=t?t.publishHumanDate:t))?o:l,typeof o===u?o.call(s,{name:"publishHumanDate",hash:{},data:i}):o))+"</time></h2>\n <dl>\n"+(null!=(a=n.if.call(s,null!=t?t.thisVersion:t,{name:"if",hash:{},fn:e.program(8,i,0),inverse:e.noop,data:i}))?a:"")+(null!=(a=n.if.call(s,null!=t?t.latestVersion:t,{name:"if",hash:{},fn:e.program(10,i,0),inverse:e.noop,data:i}))?a:"")+(null!=(a=n.if.call(s,null!=t?t.edDraftURI:t,{name:"if",hash:{},fn:e.program(12,i,0),inverse:e.noop,data:i}))?a:"")+(null!=(a=n.if.call(s,null!=t?t.testSuiteURI:t,{name:"if",hash:{},fn:e.program(14,i,0),inverse:e.noop,data:i}))?a:"")+(null!=(a=n.if.call(s,null!=t?t.implementationReportURI:t,{name:"if",hash:{},fn:e.program(16,i,0),inverse:e.noop,data:i}))?a:"")+(null!=(a=n.if.call(s,null!=t?t.bugTrackerHTML:t,{name:"if",hash:{},fn:e.program(18,i,0),inverse:e.noop,data:i}))?a:"")+(null!=(a=n.if.call(s,null!=t?t.prevVersion:t,{name:"if",hash:{},fn:e.program(20,i,0),inverse:e.noop,data:i}))?a:"")+(null!=(a=n.unless.call(s,null!=t?t.isCGFinal:t,{name:"unless",hash:{},fn:e.program(23,i,0),inverse:e.noop,data:i}))?a:"")+" <dt>"+(null!=(a=n.if.call(s,null!=t?t.multipleEditors:t,{name:"if",hash:{},fn:e.program(26,i,0),inverse:e.program(28,i,0),data:i}))?a:"")+"</dt>\n "+c((n.showPeople||t&&t.showPeople||l).call(s,"Editor",null!=t?t.editors:t,{name:"showPeople",hash:{},data:i}))+"\n"+(null!=(a=n.if.call(s,null!=t?t.authors:t,{name:"if",hash:{},fn:e.program(30,i,0),inverse:e.noop,data:i}))?a:"")+(null!=(a=n.if.call(s,null!=t?t.otherLinks:t,{name:"if",hash:{},fn:e.program(35,i,0),inverse:e.noop,data:i}))?a:"")+" </dl>\n"+(null!=(a=n.if.call(s,null!=t?t.alternateFormats:t,{name:"if",hash:{},fn:e.program(56,i,0),inverse:e.noop,data:i}))?a:"")+" <p class='copyright'>\n <a href='https://www.w3.org/Consortium/Legal/ipr-notice#Copyright'>Copyright</a> ©\n "+(null!=(a=n.if.call(s,null!=t?t.copyrightStart:t,{name:"if",hash:{},fn:e.program(61,i,0),inverse:e.noop,data:i}))?a:"")+c((o=null!=(o=n.publishYear||(null!=t?t.publishYear:t))?o:l,typeof o===u?o.call(s,{name:"publishYear",hash:{},data:i}):o))+"\n the Contributors to the "+c((o=null!=(o=n.title||(null!=t?t.title:t))?o:l,typeof o===u?o.call(s,{name:"title",hash:{},data:i}):o))+" Specification, published by the\n <a href='"+c((o=null!=(o=n.wgURI||(null!=t?t.wgURI:t))?o:l,typeof o===u?o.call(s,{name:"wgURI",hash:{},data:i}):o))+"'>"+c((o=null!=(o=n.wg||(null!=t?t.wg:t))?o:l,typeof o===u?o.call(s,{name:"wg",hash:{},data:i}):o))+"</a> under the\n"+(null!=(a=n.if.call(s,null!=t?t.isCGFinal:t,{name:"if",hash:{},fn:e.program(63,i,0),inverse:e.program(65,i,0),data:i}))?a:"")+' </p>\n <hr title="Separator for header">\n</div>\n'},useData:!0}),n["cgbg-sotd.html"]=t({1:function(e,t,n,r,i){return' Please note that under the \n <a href="https://www.w3.org/community/about/agreements/final/">W3C Community Final Specification Agreement (FSA)</a> \n other conditions apply.\n'},3:function(e,t,n,r,i){return' Please note that under the \n <a href="https://www.w3.org/community/about/agreements/cla/">W3C Community Contributor License Agreement (CLA)</a>\n there is a limited opt-out and other conditions apply.\n'},5:function(e,t,n,r,i){var a,o;return" "+(null!=(o=null!=(o=n.sotdCustomParagraph||(null!=t?t.sotdCustomParagraph:t))?o:n.helperMissing,a="function"==typeof o?o.call(null!=t?t:{},{name:"sotdCustomParagraph",hash:{},data:i}):o)?a:"")+"\n"},7:function(e,t,n,r,i){var a,o,s=null!=t?t:{},l=n.helperMissing,u="function",c=e.escapeExpression;return" <p>If you wish to make comments regarding this document, please send them to \n <a href='mailto:"+c((o=null!=(o=n.wgPublicList||(null!=t?t.wgPublicList:t))?o:l,typeof o===u?o.call(s,{name:"wgPublicList",hash:{},data:i}):o))+"@w3.org"+(null!=(a=n.if.call(s,null!=t?t.subjectPrefix:t,{name:"if",hash:{},fn:e.program(8,i,0),inverse:e.noop,data:i}))?a:"")+"'>"+c((o=null!=(o=n.wgPublicList||(null!=t?t.wgPublicList:t))?o:l,typeof o===u?o.call(s,{name:"wgPublicList",hash:{},data:i}):o))+"@w3.org</a> \n (<a href='mailto:"+c((o=null!=(o=n.wgPublicList||(null!=t?t.wgPublicList:t))?o:l,typeof o===u?o.call(s,{name:"wgPublicList",hash:{},data:i}):o))+"-request@w3.org?subject=subscribe'>subscribe</a>,\n <a\n href='https://lists.w3.org/Archives/Public/"+c((o=null!=(o=n.wgPublicList||(null!=t?t.wgPublicList:t))?o:l,typeof o===u?o.call(s,{name:"wgPublicList",hash:{},data:i}):o))+"/'>archives</a>)"+(null!=(a=n.if.call(s,null!=t?t.subjectPrefix:t,{name:"if",hash:{},fn:e.program(10,i,0),inverse:e.noop,data:i}))?a:"")+".</p>\n"},8:function(e,t,n,r,i){var a;return"?subject="+e.escapeExpression((a=null!=(a=n.subjectPrefixEnc||(null!=t?t.subjectPrefixEnc:t))?a:n.helperMissing,"function"==typeof a?a.call(null!=t?t:{},{name:"subjectPrefixEnc",hash:{},data:i}):a))},10:function(e,t,n,r,i){var a;return"\n with <code>"+e.escapeExpression((a=null!=(a=n.subjectPrefix||(null!=t?t.subjectPrefix:t))?a:n.helperMissing,"function"==typeof a?a.call(null!=t?t:{},{name:"subjectPrefix",hash:{},data:i}):a))+"</code> at the start of your\n email's subject"},compiler:[7,">= 4.0.0"],main:function(e,t,n,r,i){var a,o,s=e.escapeExpression,l=null!=t?t:{},u=n.helperMissing,c="function";return"<section id='sotd' class='introductory'><h2>"+s(e.lambda(null!=(a=null!=t?t.l10n:t)?a.sotd:a,t))+"</h2>\n <p>\n This specification was published by the <a href='"+s((o=null!=(o=n.wgURI||(null!=t?t.wgURI:t))?o:u,typeof o===c?o.call(l,{name:"wgURI",hash:{},data:i}):o))+"'>"+s((o=null!=(o=n.wg||(null!=t?t.wg:t))?o:u,typeof o===c?o.call(l,{name:"wg",hash:{},data:i}):o))+"</a>.\n It is not a W3C Standard nor is it on the W3C Standards Track.\n"+(null!=(a=n.if.call(l,null!=t?t.isCGFinal:t,{name:"if",hash:{},fn:e.program(1,i,0),inverse:e.program(3,i,0),data:i}))?a:"")+' Learn more about \n <a href="https://www.w3.org/community/">W3C Community and Business Groups</a>.\n </p>\n'+(null!=(a=n.unless.call(l,null!=t?t.sotdAfterWGinfo:t,{name:"unless",hash:{},fn:e.program(5,i,0),inverse:e.noop,data:i}))?a:"")+(null!=(a=n.if.call(l,null!=t?t.wgPublicList:t,{name:"if",hash:{},fn:e.program(7,i,0),inverse:e.noop,data:i}))?a:"")+(null!=(a=n.if.call(l,null!=t?t.sotdAfterWGinfo:t,{name:"if",hash:{},fn:e.program(5,i,0),inverse:e.noop,data:i}))?a:"")+"</section>\n"},useData:!0}),n["conformance.html"]=t({compiler:[7,">= 4.0.0"],main:function(e,t,n,r,i){return"<h2>Conformance</h2>\n<p>\n As well as sections marked as non-normative, all authoring guidelines, diagrams, examples,\n and notes in this specification are non-normative. Everything else in this specification is\n normative.\n</p>\n<p id='respecRFC2119'>\n to be interpreted as described in [[!RFC2119]].\n</p>\n";
},useData:!0}),n["headers.html"]=t({1:function(e,t,n,r,i){return" "+e.escapeExpression((n.showLogos||t&&t.showLogos||n.helperMissing).call(null!=t?t:{},null!=t?t.logos:t,{name:"showLogos",hash:{},data:i}))+"\n"},3:function(e,t,n,r,i){var a;return null!=(a=n.if.call(null!=t?t:{},null!=t?t.prependW3C:t,{name:"if",hash:{},fn:e.program(4,i,0),inverse:e.noop,data:i}))?a:""},4:function(e,t,n,r,i){var a,o=null!=t?t:{};return" <a class='logo' href='https://www.w3.org/'><img width='72' height='48' src='https://www.w3.org/StyleSheets/TR/2016/logos/W3C' alt='W3C'></a>\n"+(null!=(a=n.if.call(o,null!=t?t.isMemberSubmission:t,{name:"if",hash:{},fn:e.program(5,i,0),inverse:e.noop,data:i}))?a:"")+(null!=(a=n.if.call(o,null!=t?t.isTeamSubmission:t,{name:"if",hash:{},fn:e.program(7,i,0),inverse:e.noop,data:i}))?a:"")},5:function(e,t,n,r,i){return' <a href="https://www.w3.org/Submission/"> <img height="48" width="211" alt="W3C Member Submission" src="https://www.w3.org/Icons/member_subm" /></a>\n'},7:function(e,t,n,r,i){return' <a href="https://www.w3.org/TeamSubmission/"><img height="48" width="211" alt="W3C Team Submission" src="https://www.w3.org/Icons/team_subm"/></a>\n'},9:function(e,t,n,r,i){return" property='dcterms:title'"},11:function(e,t,n,r,i){var a,o,s=null!=t?t:{};return" <h2 "+(null!=(a=n.if.call(s,null!=t?t.doRDFa:t,{name:"if",hash:{},fn:e.program(12,i,0),inverse:e.noop,data:i}))?a:"")+"id='subtitle'>"+e.escapeExpression((o=null!=(o=n.subtitle||(null!=t?t.subtitle:t))?o:n.helperMissing,"function"==typeof o?o.call(s,{name:"subtitle",hash:{},data:i}):o))+"</h2>\n"},12:function(e,t,n,r,i){return"property='bibo:subtitle' "},14:function(e,t,n,r,i){return"W3C "},16:function(e,t,n,r,i){return'property="dcterms:issued"'},18:function(e,t,n,r,i){var a,o,s=e.lambda,l=e.escapeExpression,u=null!=t?t:{},c=n.helperMissing,p="function";return" <dt>"+l(s(null!=(a=null!=t?t.l10n:t)?a.this_version:a,t))+"</dt>\n <dd><a class='u-url' href='"+l((o=null!=(o=n.thisVersion||(null!=t?t.thisVersion:t))?o:c,typeof o===p?o.call(u,{name:"thisVersion",hash:{},data:i}):o))+"'>"+l((o=null!=(o=n.thisVersion||(null!=t?t.thisVersion:t))?o:c,typeof o===p?o.call(u,{name:"thisVersion",hash:{},data:i}):o))+"</a></dd>\n <dt>"+l(s(null!=(a=null!=t?t.l10n:t)?a.latest_published_version:a,t))+"</dt>\n <dd>"+(null!=(a=n.if.call(u,null!=t?t.latestVersion:t,{name:"if",hash:{},fn:e.program(19,i,0),inverse:e.program(21,i,0),data:i}))?a:"")+"</dd>\n"},19:function(e,t,n,r,i){var a,o=null!=t?t:{},s=n.helperMissing,l="function",u=e.escapeExpression;return"<a href='"+u((a=null!=(a=n.latestVersion||(null!=t?t.latestVersion:t))?a:s,typeof a===l?a.call(o,{name:"latestVersion",hash:{},data:i}):a))+"'>"+u((a=null!=(a=n.latestVersion||(null!=t?t.latestVersion:t))?a:s,typeof a===l?a.call(o,{name:"latestVersion",hash:{},data:i}):a))+"</a>"},21:function(e,t,n,r,i){return"none"},23:function(e,t,n,r,i){var a,o,s=e.escapeExpression,l=null!=t?t:{},u=n.helperMissing,c="function";return" <dt>"+s(e.lambda(null!=(a=null!=t?t.l10n:t)?a.latest_editors_draft:a,t))+"</dt>\n <dd><a href='"+s((o=null!=(o=n.edDraftURI||(null!=t?t.edDraftURI:t))?o:u,typeof o===c?o.call(l,{name:"edDraftURI",hash:{},data:i}):o))+"'>"+s((o=null!=(o=n.edDraftURI||(null!=t?t.edDraftURI:t))?o:u,typeof o===c?o.call(l,{name:"edDraftURI",hash:{},data:i}):o))+"</a></dd>\n"},25:function(e,t,n,r,i){var a,o=null!=t?t:{},s=n.helperMissing,l="function",u=e.escapeExpression;return" <dt>Test suite:</dt>\n <dd><a href='"+u((a=null!=(a=n.testSuiteURI||(null!=t?t.testSuiteURI:t))?a:s,typeof a===l?a.call(o,{name:"testSuiteURI",hash:{},data:i}):a))+"'>"+u((a=null!=(a=n.testSuiteURI||(null!=t?t.testSuiteURI:t))?a:s,typeof a===l?a.call(o,{name:"testSuiteURI",hash:{},data:i}):a))+"</a></dd>\n"},27:function(e,t,n,r,i){var a,o=null!=t?t:{},s=n.helperMissing,l="function",u=e.escapeExpression;return" <dt>Implementation report:</dt>\n <dd><a href='"+u((a=null!=(a=n.implementationReportURI||(null!=t?t.implementationReportURI:t))?a:s,typeof a===l?a.call(o,{name:"implementationReportURI",hash:{},data:i}):a))+"'>"+u((a=null!=(a=n.implementationReportURI||(null!=t?t.implementationReportURI:t))?a:s,typeof a===l?a.call(o,{name:"implementationReportURI",hash:{},data:i}):a))+"</a></dd>\n"},29:function(e,t,n,r,i){var a,o;return" <dt>"+e.escapeExpression(e.lambda(null!=(a=null!=t?t.l10n:t)?a.bug_tracker:a,t))+"</dt>\n <dd>"+(null!=(o=null!=(o=n.bugTrackerHTML||(null!=t?t.bugTrackerHTML:t))?o:n.helperMissing,a="function"==typeof o?o.call(null!=t?t:{},{name:"bugTrackerHTML",hash:{},data:i}):o)?a:"")+"</dd>\n"},31:function(e,t,n,r,i){var a;return null!=(a=n.if.call(null!=t?t:{},null!=t?t.prevED:t,{name:"if",hash:{},fn:e.program(32,i,0),inverse:e.noop,data:i}))?a:""},32:function(e,t,n,r,i){var a,o=null!=t?t:{},s=n.helperMissing,l="function",u=e.escapeExpression;return" <dt>Previous editor's draft:</dt>\n <dd><a href='"+u((a=null!=(a=n.prevED||(null!=t?t.prevED:t))?a:s,typeof a===l?a.call(o,{name:"prevED",hash:{},data:i}):a))+"'>"+u((a=null!=(a=n.prevED||(null!=t?t.prevED:t))?a:s,typeof a===l?a.call(o,{name:"prevED",hash:{},data:i}):a))+"</a></dd>\n"},34:function(e,t,n,r,i){var a,o,s=null!=t?t:{},l=n.helperMissing,u="function",c=e.escapeExpression;return" <dt>Previous version:</dt>\n <dd><a "+(null!=(a=n.if.call(s,null!=t?t.doRDFa:t,{name:"if",hash:{},fn:e.program(35,i,0),inverse:e.noop,data:i}))?a:"")+" href='"+c((o=null!=(o=n.prevVersion||(null!=t?t.prevVersion:t))?o:l,typeof o===u?o.call(s,{name:"prevVersion",hash:{},data:i}):o))+"'>"+c((o=null!=(o=n.prevVersion||(null!=t?t.prevVersion:t))?o:l,typeof o===u?o.call(s,{name:"prevVersion",hash:{},data:i}):o))+"</a></dd>\n"},35:function(e,t,n,r,i){return'rel="dcterms:replaces"'},37:function(e,t,n,r,i){var a;return null!=(a=n.if.call(null!=t?t:{},null!=t?t.isRec:t,{name:"if",hash:{},fn:e.program(38,i,0),inverse:e.program(40,i,0),data:i}))?a:""},38:function(e,t,n,r,i){var a,o,s=null!=t?t:{},l=n.helperMissing,u="function",c=e.escapeExpression;return" <dt>Previous Recommendation:</dt>\n <dd><a "+(null!=(a=n.if.call(s,null!=t?t.doRDFa:t,{name:"if",hash:{},fn:e.program(35,i,0),inverse:e.noop,data:i}))?a:"")+" href='"+c((o=null!=(o=n.prevRecURI||(null!=t?t.prevRecURI:t))?o:l,typeof o===u?o.call(s,{name:"prevRecURI",hash:{},data:i}):o))+"'>"+c((o=null!=(o=n.prevRecURI||(null!=t?t.prevRecURI:t))?o:l,typeof o===u?o.call(s,{name:"prevRecURI",hash:{},data:i}):o))+"</a></dd>\n"},40:function(e,t,n,r,i){var a,o=null!=t?t:{},s=n.helperMissing,l="function",u=e.escapeExpression;return" <dt>Latest Recommendation:</dt>\n <dd><a href='"+u((a=null!=(a=n.prevRecURI||(null!=t?t.prevRecURI:t))?a:s,typeof a===l?a.call(o,{name:"prevRecURI",hash:{},data:i}):a))+"'>"+u((a=null!=(a=n.prevRecURI||(null!=t?t.prevRecURI:t))?a:s,typeof a===l?a.call(o,{name:"prevRecURI",hash:{},data:i}):a))+"</a></dd>\n"},42:function(e,t,n,r,i){var a;return e.escapeExpression(e.lambda(null!=(a=null!=t?t.l10n:t)?a.editors:a,t))},44:function(e,t,n,r,i){var a;return e.escapeExpression(e.lambda(null!=(a=null!=t?t.l10n:t)?a.editor:a,t))},46:function(e,t,n,r,i){var a,o=null!=t?t:{};return" <dt>"+(null!=(a=n.if.call(o,null!=t?t.multipleAuthors:t,{name:"if",hash:{},fn:e.program(47,i,0),inverse:e.program(49,i,0),data:i}))?a:"")+"</dt>\n "+e.escapeExpression((n.showPeople||t&&t.showPeople||n.helperMissing).call(o,"Author",null!=t?t.authors:t,{name:"showPeople",hash:{},data:i}))+"\n"},47:function(e,t,n,r,i){var a;return e.escapeExpression(e.lambda(null!=(a=null!=t?t.l10n:t)?a.authors:a,t))},49:function(e,t,n,r,i){var a;return e.escapeExpression(e.lambda(null!=(a=null!=t?t.l10n:t)?a.author:a,t))},51:function(e,t,n,r,i){var a;return null!=(a=n.each.call(null!=t?t:{},null!=t?t.otherLinks:t,{name:"each",hash:{},fn:e.program(52,i,0),inverse:e.noop,data:i}))?a:""},52:function(e,t,n,r,i){var a;return null!=(a=n.if.call(null!=t?t:{},null!=t?t.key:t,{name:"if",hash:{},fn:e.program(53,i,0),inverse:e.noop,data:i}))?a:""},53:function(e,t,n,r,i){var a,o,s=null!=t?t:{};return" <dt "+(null!=(a=n.if.call(s,null!=t?t.class:t,{name:"if",hash:{},fn:e.program(54,i,0),inverse:e.noop,data:i}))?a:"")+">"+e.escapeExpression((o=null!=(o=n.key||(null!=t?t.key:t))?o:n.helperMissing,"function"==typeof o?o.call(s,{name:"key",hash:{},data:i}):o))+":</dt>\n"+(null!=(a=n.if.call(s,null!=t?t.data:t,{name:"if",hash:{},fn:e.program(56,i,0),inverse:e.program(66,i,0),data:i}))?a:"")},54:function(e,t,n,r,i){var a;return'class="'+e.escapeExpression((a=null!=(a=n.class||(null!=t?t.class:t))?a:n.helperMissing,"function"==typeof a?a.call(null!=t?t:{},{name:"class",hash:{},data:i}):a))+'"'},56:function(e,t,n,r,i){var a;return null!=(a=n.each.call(null!=t?t:{},null!=t?t.data:t,{name:"each",hash:{},fn:e.program(57,i,0),inverse:e.noop,data:i}))?a:""},57:function(e,t,n,r,i){var a;return null!=(a=n.if.call(null!=t?t:{},null!=t?t.value:t,{name:"if",hash:{},fn:e.program(58,i,0),inverse:e.program(63,i,0),data:i}))?a:""},58:function(e,t,n,r,i){var a,o,s=null!=t?t:{};return" <dd "+(null!=(a=n.if.call(s,null!=t?t.class:t,{name:"if",hash:{},fn:e.program(54,i,0),inverse:e.noop,data:i}))?a:"")+">\n "+(null!=(a=n.if.call(s,null!=t?t.href:t,{name:"if",hash:{},fn:e.program(59,i,0),inverse:e.noop,data:i}))?a:"")+"\n "+e.escapeExpression((o=null!=(o=n.value||(null!=t?t.value:t))?o:n.helperMissing,"function"==typeof o?o.call(s,{name:"value",hash:{},data:i}):o))+"\n "+(null!=(a=n.if.call(s,null!=t?t.href:t,{name:"if",hash:{},fn:e.program(61,i,0),inverse:e.noop,data:i}))?a:"")+"\n </dd>\n"},59:function(e,t,n,r,i){var a;return'<a href="'+e.escapeExpression((a=null!=(a=n.href||(null!=t?t.href:t))?a:n.helperMissing,"function"==typeof a?a.call(null!=t?t:{},{name:"href",hash:{},data:i}):a))+'">'},61:function(e,t,n,r,i){return"</a>"},63:function(e,t,n,r,i){var a;return null!=(a=n.if.call(null!=t?t:{},null!=t?t.href:t,{name:"if",hash:{},fn:e.program(64,i,0),inverse:e.noop,data:i}))?a:""},64:function(e,t,n,r,i){var a,o=null!=t?t:{},s=n.helperMissing,l="function",u=e.escapeExpression;return' <dd><a href="'+u((a=null!=(a=n.href||(null!=t?t.href:t))?a:s,typeof a===l?a.call(o,{name:"href",hash:{},data:i}):a))+'">'+u((a=null!=(a=n.href||(null!=t?t.href:t))?a:s,typeof a===l?a.call(o,{name:"href",hash:{},data:i}):a))+"</a></dd>\n"},66:function(e,t,n,r,i){var a;return null!=(a=n.if.call(null!=t?t:{},null!=t?t.value:t,{name:"if",hash:{},fn:e.program(67,i,0),inverse:e.program(69,i,0),data:i}))?a:""},67:function(e,t,n,r,i){var a,o,s=null!=t?t:{};return" <dd "+(null!=(a=n.if.call(s,null!=t?t.class:t,{name:"if",hash:{},fn:e.program(54,i,0),inverse:e.noop,data:i}))?a:"")+">\n "+(null!=(a=n.if.call(s,null!=t?t.href:t,{name:"if",hash:{},fn:e.program(59,i,0),inverse:e.noop,data:i}))?a:"")+"\n "+e.escapeExpression((o=null!=(o=n.value||(null!=t?t.value:t))?o:n.helperMissing,"function"==typeof o?o.call(s,{name:"value",hash:{},data:i}):o))+"\n "+(null!=(a=n.if.call(s,null!=t?t.href:t,{name:"if",hash:{},fn:e.program(61,i,0),inverse:e.noop,data:i}))?a:"")+"\n </dd>\n"},69:function(e,t,n,r,i){var a;return null!=(a=n.if.call(null!=t?t:{},null!=t?t.href:t,{name:"if",hash:{},fn:e.program(70,i,0),inverse:e.noop,data:i}))?a:""},70:function(e,t,n,r,i){var a,o,s=null!=t?t:{},l=n.helperMissing,u="function",c=e.escapeExpression;return" <dd "+(null!=(a=n.if.call(s,null!=t?t.class:t,{name:"if",hash:{},fn:e.program(54,i,0),inverse:e.noop,data:i}))?a:"")+'>\n <a href="'+c((o=null!=(o=n.href||(null!=t?t.href:t))?o:l,typeof o===u?o.call(s,{name:"href",hash:{},data:i}):o))+'">'+c((o=null!=(o=n.href||(null!=t?t.href:t))?o:l,typeof o===u?o.call(s,{name:"href",hash:{},data:i}):o))+"</a>\n </dd>\n"},72:function(e,t,n,r,i){var a;return' <p>\n Please check the <a href="'+e.escapeExpression((a=null!=(a=n.errata||(null!=t?t.errata:t))?a:n.helperMissing,"function"==typeof a?a.call(null!=t?t:{},{name:"errata",hash:{},data:i}):a))+'"><strong>errata</strong></a> for any errors or issues\n reported since publication.\n </p>\n'},74:function(e,t,n,r,i){var a,o,s=null!=t?t:{};return" <p>\n"+(null!=(a=n.if.call(s,null!=t?t.multipleAlternates:t,{name:"if",hash:{},fn:e.program(75,i,0),inverse:e.program(77,i,0),data:i}))?a:"")+" "+(null!=(o=null!=(o=n.alternatesHTML||(null!=t?t.alternatesHTML:t))?o:n.helperMissing,a="function"==typeof o?o.call(s,{name:"alternatesHTML",hash:{},data:i}):o)?a:"")+"\n </p>\n"},75:function(e,t,n,r,i){return" This document is also available in these non-normative formats:\n"},77:function(e,t,n,r,i){return" This document is also available in this non-normative format:\n"},79:function(e,t,n,r,i){var a;return' <p>\n The English version of this specification is the only normative version. Non-normative\n <a href="https://www.w3.org/2003/03/Translations/byTechnology?technology='+e.escapeExpression((a=null!=(a=n.latestVersion||(null!=t?t.latestVersion:t))?a:n.helperMissing,"function"==typeof a?a.call(null!=t?t:{},{name:"latestVersion",hash:{},data:i}):a))+'">translations</a> may also be available.\n </p>\n'},81:function(e,t,n,r,i){var a;return null!=(a=n.if.call(null!=t?t:{},null!=t?t.additionalCopyrightHolders:t,{name:"if",hash:{},fn:e.program(82,i,0),inverse:e.program(84,i,0),data:i}))?a:""},82:function(e,t,n,r,i){var a,o;return" <p class='copyright'>"+(null!=(o=null!=(o=n.additionalCopyrightHolders||(null!=t?t.additionalCopyrightHolders:t))?o:n.helperMissing,a="function"==typeof o?o.call(null!=t?t:{},{name:"additionalCopyrightHolders",hash:{},data:i}):o)?a:"")+"</p>\n"},84:function(e,t,n,r,i){var a;return null!=(a=n.if.call(null!=t?t:{},null!=t?t.overrideCopyright:t,{name:"if",hash:{},fn:e.program(85,i,0),inverse:e.program(87,i,0),data:i}))?a:""},85:function(e,t,n,r,i){var a,o;return" "+(null!=(o=null!=(o=n.overrideCopyright||(null!=t?t.overrideCopyright:t))?o:n.helperMissing,a="function"==typeof o?o.call(null!=t?t:{},{name:"overrideCopyright",hash:{},data:i}):o)?a:"")+"\n"},87:function(e,t,n,r,i){return" <p class='copyright'>\n This document is licensed under a\n <a class='subfoot' href='https://creativecommons.org/licenses/by/3.0/' rel='license'>Creative Commons\n Attribution 3.0 License</a>.\n </p>\n"},89:function(e,t,n,r,i){var a;return null!=(a=n.if.call(null!=t?t:{},null!=t?t.overrideCopyright:t,{name:"if",hash:{},fn:e.program(90,i,0),inverse:e.program(92,i,0),data:i}))?a:""},90:function(e,t,n,r,i){var a,o;return" "+(null!=(o=null!=(o=n.overrideCopyright||(null!=t?t.overrideCopyright:t))?o:n.helperMissing,a="function"==typeof o?o.call(null!=t?t:{},{name:"overrideCopyright",hash:{},data:i}):o)?a:"")+"\n"},92:function(e,t,n,r,i){var a,o,s=null!=t?t:{};return" <p class='copyright'>\n <a href='https://www.w3.org/Consortium/Legal/ipr-notice#Copyright'>Copyright</a> ©\n "+(null!=(a=n.if.call(s,null!=t?t.copyrightStart:t,{name:"if",hash:{},fn:e.program(93,i,0),inverse:e.noop,data:i}))?a:"")+e.escapeExpression((o=null!=(o=n.publishYear||(null!=t?t.publishYear:t))?o:n.helperMissing,"function"==typeof o?o.call(s,{name:"publishYear",hash:{},data:i}):o))+"\n "+(null!=(a=n.if.call(s,null!=t?t.additionalCopyrightHolders:t,{name:"if",hash:{},fn:e.program(95,i,0),inverse:e.noop,data:i}))?a:"")+"\n <a href='https://www.w3.org/'><abbr title='World Wide Web Consortium'>W3C</abbr></a><sup>®</sup>\n (<a href='https://www.csail.mit.edu/'><abbr title='Massachusetts Institute of Technology'>MIT</abbr></a>,\n <a href='https://www.ercim.eu/'><abbr title='European Research Consortium for Informatics and Mathematics'>ERCIM</abbr></a>,\n <a href='https://www.keio.ac.jp/'>Keio</a>, <a href=\"http://ev.buaa.edu.cn/\">Beihang</a>).\n"+(null!=(a=n.if.call(s,null!=t?t.isCCBY:t,{name:"if",hash:{},fn:e.program(97,i,0),inverse:e.noop,data:i}))?a:"")+" W3C <a href='https://www.w3.org/Consortium/Legal/ipr-notice#Legal_Disclaimer'>liability</a>,\n <a href='https://www.w3.org/Consortium/Legal/ipr-notice#W3C_Trademarks'>trademark</a> and\n"+(null!=(a=n.if.call(s,null!=t?t.isCCBY:t,{name:"if",hash:{},fn:e.program(99,i,0),inverse:e.program(101,i,0),data:i}))?a:"")+" rules apply.\n </p>\n"},93:function(e,t,n,r,i){var a;return e.escapeExpression((a=null!=(a=n.copyrightStart||(null!=t?t.copyrightStart:t))?a:n.helperMissing,"function"==typeof a?a.call(null!=t?t:{},{name:"copyrightStart",hash:{},data:i}):a))+"-"},95:function(e,t,n,r,i){var a,o;return" "+(null!=(o=null!=(o=n.additionalCopyrightHolders||(null!=t?t.additionalCopyrightHolders:t))?o:n.helperMissing,a="function"==typeof o?o.call(null!=t?t:{},{name:"additionalCopyrightHolders",hash:{},data:i}):o)?a:"")+" &"},97:function(e,t,n,r,i){return' Some Rights Reserved: this document is dual-licensed,\n <a rel="license" href="https://creativecommons.org/licenses/by/3.0/">CC-BY</a> and\n <a rel="license" href="https://www.w3.org/Consortium/Legal/copyright-documents">W3C Document License</a>.\n'},99:function(e,t,n,r,i){return" <a rel=\"license\" href='https://www.w3.org/Consortium/Legal/2013/copyright-documents-dual.html'>document use</a>\n"},101:function(e,t,n,r,i){var a;return null!=(a=n.if.call(null!=t?t:{},null!=t?t.isW3CSoftAndDocLicense:t,{name:"if",hash:{},fn:e.program(102,i,0),inverse:e.program(104,i,0),data:i}))?a:""},102:function(e,t,n,r,i){return" <a rel=\"license\" href='https://www.w3.org/Consortium/Legal/2015/copyright-software-and-document'>permissive document license</a>\n"},104:function(e,t,n,r,i){return" <a rel=\"license\" href='https://www.w3.org/Consortium/Legal/copyright-documents'>document use</a>\n"},compiler:[7,">= 4.0.0"],main:function(e,t,n,r,i){var a,o,s=null!=t?t:{},l=n.helperMissing,u="function",c=e.escapeExpression;return"<div class='head'>\n <p>\n"+(null!=(a=n.if.call(s,null!=t?t.logos:t,{name:"if",hash:{},fn:e.program(1,i,0),inverse:e.program(3,i,0),data:i}))?a:"")+" </p>\n <h1 class='title p-name' id='title'"+(null!=(a=n.if.call(s,null!=t?t.doRDFa:t,{name:"if",hash:{},fn:e.program(9,i,0),inverse:e.noop,data:i}))?a:"")+">"+c((o=null!=(o=n.title||(null!=t?t.title:t))?o:l,typeof o===u?o.call(s,{name:"title",hash:{},data:i}):o))+"</h1>\n"+(null!=(a=n.if.call(s,null!=t?t.subtitle:t,{name:"if",hash:{},fn:e.program(11,i,0),inverse:e.noop,data:i}))?a:"")+" <h2>"+(null!=(a=n.if.call(s,null!=t?t.prependW3C:t,{name:"if",hash:{},fn:e.program(14,i,0),inverse:e.noop,data:i}))?a:"")+c((o=null!=(o=n.textStatus||(null!=t?t.textStatus:t))?o:l,typeof o===u?o.call(s,{name:"textStatus",hash:{},data:i}):o))+" <time "+(null!=(a=n.if.call(s,null!=t?t.doRDFa:t,{name:"if",hash:{},fn:e.program(16,i,0),inverse:e.noop,data:i}))?a:"")+"class='dt-published' datetime='"+c((o=null!=(o=n.dashDate||(null!=t?t.dashDate:t))?o:l,typeof o===u?o.call(s,{name:"dashDate",hash:{},data:i}):o))+"'>"+c((o=null!=(o=n.publishHumanDate||(null!=t?t.publishHumanDate:t))?o:l,typeof o===u?o.call(s,{name:"publishHumanDate",hash:{},data:i}):o))+"</time></h2>\n <dl>\n"+(null!=(a=n.unless.call(s,null!=t?t.isNoTrack:t,{name:"unless",hash:{},fn:e.program(18,i,0),inverse:e.noop,data:i}))?a:"")+(null!=(a=n.if.call(s,null!=t?t.edDraftURI:t,{name:"if",hash:{},fn:e.program(23,i,0),inverse:e.noop,data:i}))?a:"")+(null!=(a=n.if.call(s,null!=t?t.testSuiteURI:t,{name:"if",hash:{},fn:e.program(25,i,0),inverse:e.noop,data:i}))?a:"")+(null!=(a=n.if.call(s,null!=t?t.implementationReportURI:t,{name:"if",hash:{},fn:e.program(27,i,0),inverse:e.noop,data:i}))?a:"")+(null!=(a=n.if.call(s,null!=t?t.bugTrackerHTML:t,{name:"if",hash:{},fn:e.program(29,i,0),inverse:e.noop,data:i}))?a:"")+(null!=(a=n.if.call(s,null!=t?t.isED:t,{name:"if",hash:{},fn:e.program(31,i,0),inverse:e.noop,data:i}))?a:"")+(null!=(a=n.if.call(s,null!=t?t.showPreviousVersion:t,{name:"if",hash:{},fn:e.program(34,i,0),inverse:e.noop,data:i}))?a:"")+(null!=(a=n.if.call(s,null!=t?t.prevRecURI:t,{name:"if",hash:{},fn:e.program(37,i,0),inverse:e.noop,data:i}))?a:"")+" <dt>"+(null!=(a=n.if.call(s,null!=t?t.multipleEditors:t,{name:"if",hash:{},fn:e.program(42,i,0),inverse:e.program(44,i,0),data:i}))?a:"")+"</dt>\n "+c((n.showPeople||t&&t.showPeople||l).call(s,"Editor",null!=t?t.editors:t,{name:"showPeople",hash:{},data:i}))+"\n"+(null!=(a=n.if.call(s,null!=t?t.authors:t,{name:"if",hash:{},fn:e.program(46,i,0),inverse:e.noop,data:i}))?a:"")+(null!=(a=n.if.call(s,null!=t?t.otherLinks:t,{name:"if",hash:{},fn:e.program(51,i,0),inverse:e.noop,data:i}))?a:"")+" </dl>\n"+(null!=(a=n.if.call(s,null!=t?t.errata:t,{name:"if",hash:{},fn:e.program(72,i,0),inverse:e.noop,data:i}))?a:"")+(null!=(a=n.if.call(s,null!=t?t.alternateFormats:t,{name:"if",hash:{},fn:e.program(74,i,0),inverse:e.noop,data:i}))?a:"")+(null!=(a=n.if.call(s,null!=t?t.isRec:t,{name:"if",hash:{},fn:e.program(79,i,0),inverse:e.noop,data:i}))?a:"")+(null!=(a=n.if.call(s,null!=t?t.isUnofficial:t,{name:"if",hash:{},fn:e.program(81,i,0),inverse:e.program(89,i,0),data:i}))?a:"")+' <hr title="Separator for header">\n</div>\n'},useData:!0}),n["sotd.html"]=t({1:function(e,t,n,r,i){var a,o;return" <p>\n This document is merely a public working draft of a potential specification. It has\n no official standing of any kind and does not represent the support or consensus of any\n standards organisation.\n </p>\n "+(null!=(o=null!=(o=n.sotdCustomParagraph||(null!=t?t.sotdCustomParagraph:t))?o:n.helperMissing,a="function"==typeof o?o.call(null!=t?t:{},{name:"sotdCustomParagraph",hash:{},data:i}):o)?a:"")+"\n"},3:function(e,t,n,r,i){var a;return null!=(a=n.if.call(null!=t?t:{},null!=t?t.isTagFinding:t,{name:"if",hash:{},fn:e.program(4,i,0),inverse:e.program(6,i,0),data:i}))?a:""},4:function(e,t,n,r,i){var a,o;return" "+(null!=(o=null!=(o=n.sotdCustomParagraph||(null!=t?t.sotdCustomParagraph:t))?o:n.helperMissing,a="function"==typeof o?o.call(null!=t?t:{},{name:"sotdCustomParagraph",hash:{},data:i}):o)?a:"")+"\n"},6:function(e,t,n,r,i){var a;return null!=(a=n.if.call(null!=t?t:{},null!=t?t.isNoTrack:t,{name:"if",hash:{},fn:e.program(7,i,0),inverse:e.program(10,i,0),data:i}))?a:""},7:function(e,t,n,r,i){var a,o,s=null!=t?t:{};return" <p>\n This document is merely a W3C-internal "+(null!=(a=n.if.call(s,null!=t?t.isMO:t,{name:"if",hash:{},fn:e.program(8,i,0),inverse:e.noop,data:i}))?a:"")+" document. It\n has no official standing of any kind and does not represent consensus of the W3C\n Membership.\n </p>\n "+(null!=(o=null!=(o=n.sotdCustomParagraph||(null!=t?t.sotdCustomParagraph:t))?o:n.helperMissing,a="function"==typeof o?o.call(s,{name:"sotdCustomParagraph",hash:{},data:i}):o)?a:"")+"\n"},8:function(e,t,n,r,i){return"member-confidential"},10:function(e,t,n,r,i){var a;return" <p>\n <em>"+(null!=(a=e.lambda(null!=(a=null!=t?t.l10n:t)?a.status_at_publication:a,t))?a:"")+"</em>\n </p>\n"+(null!=(a=n.if.call(null!=t?t:{},null!=t?t.isSubmission:t,{name:"if",hash:{},fn:e.program(11,i,0),inverse:e.program(20,i,0),data:i}))?a:"")},11:function(e,t,n,r,i){var a,o,s=null!=t?t:{};return" "+(null!=(o=null!=(o=n.sotdCustomParagraph||(null!=t?t.sotdCustomParagraph:t))?o:n.helperMissing,a="function"==typeof o?o.call(s,{name:"sotdCustomParagraph",hash:{},data:i}):o)?a:"")+"\n"+(null!=(a=n.if.call(s,null!=t?t.isMemberSubmission:t,{name:"if",hash:{},fn:e.program(12,i,0),inverse:e.program(14,i,0),data:i}))?a:"")},12:function(e,t,n,r,i){return' <p>By publishing this document, W3C acknowledges that the <a href="https://www.w3.org/Submission/@@@submissiondoc@@@">Submitting Members</a> have made a formal Submission request to W3C for discussion. Publication of this document by W3C indicates no endorsement of its content by W3C, nor that W3C has, is, or will be allocating any resources to the issues addressed by it. This document is not the product of a chartered W3C group, but is published as potential input to the <a href="https://www.w3.org/Consortium/Process">W3C Process</a>. A <a href="https://www.w3.org/Submission/@@@teamcomment@@@">W3C Team Comment</a> has been published in conjunction with this Member Submission. Publication of acknowledged Member Submissions at the W3C site is one of the benefits of <a href="https://www.w3.org/Consortium/Prospectus/Joining">W3C Membership</a>. Please consult the requirements associated with Member Submissions of <a href="https://www.w3.org/Consortium/Patent-Policy-20040205/#sec-submissions">section 3.3 of the W3C Patent Policy</a>. Please consult the complete <a href="https://www.w3.org/Submission">list of acknowledged W3C Member Submissions</a>.</p>\n'},14:function(e,t,n,r,i){var a;return null!=(a=n.if.call(null!=t?t:{},null!=t?t.isTeamSubmission:t,{name:"if",hash:{},fn:e.program(15,i,0),inverse:e.noop,data:i}))?a:""},15:function(e,t,n,r,i){var a,o,s=null!=t?t:{},l=n.helperMissing,u="function",c=e.escapeExpression;return" <p>If you wish to make comments regarding this document, please send them to\n <a href='mailto:"+c((o=null!=(o=n.wgPublicList||(null!=t?t.wgPublicList:t))?o:l,typeof o===u?o.call(s,{name:"wgPublicList",hash:{},data:i}):o))+"@w3.org"+(null!=(a=n.if.call(s,null!=t?t.subjectPrefix:t,{name:"if",hash:{},fn:e.program(16,i,0),inverse:e.noop,data:i}))?a:"")+"'>"+c((o=null!=(o=n.wgPublicList||(null!=t?t.wgPublicList:t))?o:l,typeof o===u?o.call(s,{name:"wgPublicList",hash:{},data:i}):o))+"@w3.org</a>\n (<a href='mailto:"+c((o=null!=(o=n.wgPublicList||(null!=t?t.wgPublicList:t))?o:l,typeof o===u?o.call(s,{name:"wgPublicList",hash:{},data:i}):o))+"-request@w3.org?subject=subscribe'>subscribe</a>,\n <a\n href='https://lists.w3.org/Archives/Public/"+c((o=null!=(o=n.wgPublicList||(null!=t?t.wgPublicList:t))?o:l,typeof o===u?o.call(s,{name:"wgPublicList",hash:{},data:i}):o))+"/'>archives</a>)"+(null!=(a=n.if.call(s,null!=t?t.subjectPrefix:t,{name:"if",hash:{},fn:e.program(18,i,0),inverse:e.noop,data:i}))?a:"")+'.</p>\n <p>Please consult the complete <a href="https://www.w3.org/TeamSubmission/">list of Team Submissions</a>.</p>\n'},16:function(e,t,n,r,i){var a;return"?subject="+e.escapeExpression((a=null!=(a=n.subjectPrefixEnc||(null!=t?t.subjectPrefixEnc:t))?a:n.helperMissing,"function"==typeof a?a.call(null!=t?t:{},{name:"subjectPrefixEnc",hash:{},data:i}):a))},18:function(e,t,n,r,i){var a;return"\n with <code>"+e.escapeExpression((a=null!=(a=n.subjectPrefix||(null!=t?t.subjectPrefix:t))?a:n.helperMissing,"function"==typeof a?a.call(null!=t?t:{},{name:"subjectPrefix",hash:{},data:i}):a))+"</code> at the start of your email's subject"},20:function(e,t,n,r,i){var a,o=null!=t?t:{};return(null!=(a=n.unless.call(o,null!=t?t.sotdAfterWGinfo:t,{name:"unless",hash:{},fn:e.program(21,i,0),inverse:e.noop,data:i}))?a:"")+(null!=(a=n.unless.call(o,null!=t?t.overrideStatus:t,{name:"unless",hash:{},fn:e.program(23,i,0),inverse:e.noop,data:i}))?a:"")+(null!=(a=n.if.call(o,null!=t?t.implementationReportURI:t,{name:"if",hash:{},fn:e.program(37,i,0),inverse:e.noop,data:i}))?a:"")+(null!=(a=n.if.call(o,null!=t?t.sotdAfterWGinfo:t,{name:"if",hash:{},fn:e.program(21,i,0),inverse:e.noop,data:i}))?a:"")+(null!=(a=n.if.call(o,null!=t?t.notRec:t,{name:"if",hash:{},fn:e.program(39,i,0),inverse:e.noop,data:i}))?a:"")+(null!=(a=n.if.call(o,null!=t?t.isRec:t,{name:"if",hash:{},fn:e.program(41,i,0),inverse:e.noop,data:i}))?a:"")+" <p>\n"+(null!=(a=n.unless.call(o,null!=t?t.isIGNote:t,{name:"unless",hash:{},fn:e.program(43,i,0),inverse:e.noop,data:i}))?a:"")+(null!=(a=n.if.call(o,null!=t?t.recNotExpected:t,{name:"if",hash:{},fn:e.program(50,i,0),inverse:e.noop,data:i}))?a:"")+(null!=(a=n.unless.call(o,null!=t?t.isIGNote:t,{name:"unless",hash:{},fn:e.program(52,i,0),inverse:e.noop,data:i}))?a:"")+(null!=(a=n.if.call(o,null!=t?t.isIGNote:t,{name:"if",hash:{},fn:e.program(61,i,0),inverse:e.noop,data:i}))?a:"")+" </p>\n"+(null!=(a=n.if.call(o,null!=t?t.isNewProcess:t,{name:"if",hash:{},fn:e.program(63,i,0),inverse:e.program(65,i,0),data:i}))?a:"")+" "+(null!=(a=n.if.call(o,null!=t?t.addPatentNote:t,{name:"if",hash:{},fn:e.program(67,i,0),inverse:e.noop,data:i}))?a:"")+"\n"},21:function(e,t,n,r,i){var a,o;return" "+(null!=(o=null!=(o=n.sotdCustomParagraph||(null!=t?t.sotdCustomParagraph:t))?o:n.helperMissing,a="function"==typeof o?o.call(null!=t?t:{},{name:"sotdCustomParagraph",hash:{},data:i}):o)?a:"")+"\n"},23:function(e,t,n,r,i){var a,o,s=null!=t?t:{},l=n.helperMissing,u="function",c=e.escapeExpression;return" <p>\n This document was published by "+(null!=(o=null!=(o=n.wgHTML||(null!=t?t.wgHTML:t))?o:l,a=typeof o===u?o.call(s,{name:"wgHTML",hash:{},data:i}):o)?a:"")+" as "+c((o=null!=(o=n.anOrA||(null!=t?t.anOrA:t))?o:l,typeof o===u?o.call(s,{name:"anOrA",hash:{},data:i}):o))+" "+c((o=null!=(o=n.longStatus||(null!=t?t.longStatus:t))?o:l,typeof o===u?o.call(s,{name:"longStatus",hash:{},data:i}):o))+".\n"+(null!=(a=n.if.call(s,null!=t?t.notYetRec:t,{name:"if",hash:{},fn:e.program(24,i,0),inverse:e.noop,data:i}))?a:"")+(null!=(a=n.unless.call(s,null!=t?t.isPR:t,{name:"unless",hash:{},fn:e.program(26,i,0),inverse:e.noop,data:i}))?a:"")+(null!=(a=n.if.call(s,null!=t?t.isCR:t,{name:"if",hash:{},fn:e.program(28,i,0),inverse:e.noop,data:i}))?a:"")+(null!=(a=n.if.call(s,null!=t?t.isPER:t,{name:"if",hash:{},fn:e.program(30,i,0),inverse:e.noop,data:i}))?a:"")+(null!=(a=n.if.call(s,null!=t?t.isPR:t,{name:"if",hash:{},fn:e.program(32,i,0),inverse:e.program(34,i,0),data:i}))?a:"")+" </p>\n"},24:function(e,t,n,r,i){return" This document is intended to become a W3C Recommendation.\n"},26:function(e,t,n,r,i){var a,o,s=null!=t?t:{},l=n.helperMissing,u="function",c=e.escapeExpression;return" If you wish to make comments regarding this document, please send them to\n <a href='mailto:"+c((o=null!=(o=n.wgPublicList||(null!=t?t.wgPublicList:t))?o:l,typeof o===u?o.call(s,{name:"wgPublicList",hash:{},data:i}):o))+"@w3.org"+(null!=(a=n.if.call(s,null!=t?t.subjectPrefix:t,{name:"if",hash:{},fn:e.program(16,i,0),inverse:e.noop,data:i}))?a:"")+"'>"+c((o=null!=(o=n.wgPublicList||(null!=t?t.wgPublicList:t))?o:l,typeof o===u?o.call(s,{name:"wgPublicList",hash:{},data:i}):o))+"@w3.org</a>\n (<a href='mailto:"+c((o=null!=(o=n.wgPublicList||(null!=t?t.wgPublicList:t))?o:l,typeof o===u?o.call(s,{name:"wgPublicList",hash:{},data:i}):o))+"-request@w3.org?subject=subscribe'>subscribe</a>,\n <a\n href='https://lists.w3.org/Archives/Public/"+c((o=null!=(o=n.wgPublicList||(null!=t?t.wgPublicList:t))?o:l,typeof o===u?o.call(s,{name:"wgPublicList",hash:{},data:i}):o))+"/'>archives</a>)"+(null!=(a=n.if.call(s,null!=t?t.subjectPrefix:t,{name:"if",hash:{},fn:e.program(18,i,0),inverse:e.noop,data:i}))?a:"")+".\n"},28:function(e,t,n,r,i){var a;return" W3C publishes a Candidate Recommendation to indicate that the document is believed to be\n stable and to encourage implementation by the developer community. This Candidate\n Recommendation is expected to advance to Proposed Recommendation no earlier than\n "+e.escapeExpression((a=null!=(a=n.humanCREnd||(null!=t?t.humanCREnd:t))?a:n.helperMissing,"function"==typeof a?a.call(null!=t?t:{},{name:"humanCREnd",hash:{},data:i}):a))+".\n"},30:function(e,t,n,r,i){var a;return" W3C Advisory Committee Members are invited to\n send formal review comments on this Proposed\n Edited Recommendation to the W3C Team until\n "+e.escapeExpression((a=null!=(a=n.humanPEREnd||(null!=t?t.humanPEREnd:t))?a:n.helperMissing,
"function"==typeof a?a.call(null!=t?t:{},{name:"humanPEREnd",hash:{},data:i}):a))+".\n Members of the Advisory Committee will find the\n appropriate review form for this document by\n consulting their list of current\n <a href='https://www.w3.org/2002/09/wbs/myQuestionnaires'>WBS questionnaires</a>.\n"},32:function(e,t,n,r,i){var a,o=null!=t?t:{},s=n.helperMissing,l="function",u=e.escapeExpression;return" The W3C Membership and other interested parties are invited to review the document and\n send comments to\n <a rel='discussion' href='mailto:"+u((a=null!=(a=n.wgPublicList||(null!=t?t.wgPublicList:t))?a:s,typeof a===l?a.call(o,{name:"wgPublicList",hash:{},data:i}):a))+"@w3.org'>"+u((a=null!=(a=n.wgPublicList||(null!=t?t.wgPublicList:t))?a:s,typeof a===l?a.call(o,{name:"wgPublicList",hash:{},data:i}):a))+"@w3.org</a>\n (<a href='mailto:"+u((a=null!=(a=n.wgPublicList||(null!=t?t.wgPublicList:t))?a:s,typeof a===l?a.call(o,{name:"wgPublicList",hash:{},data:i}):a))+"-request@w3.org?subject=subscribe'>subscribe</a>,\n <a href='https://lists.w3.org/Archives/Public/"+u((a=null!=(a=n.wgPublicList||(null!=t?t.wgPublicList:t))?a:s,typeof a===l?a.call(o,{name:"wgPublicList",hash:{},data:i}):a))+"/'>archives</a>)\n through "+u((a=null!=(a=n.humanPREnd||(null!=t?t.humanPREnd:t))?a:s,typeof a===l?a.call(o,{name:"humanPREnd",hash:{},data:i}):a))+". Advisory Committee Representatives should consult their\n <a href='https://www.w3.org/2002/09/wbs/myQuestionnaires'>WBS questionnaires</a>.\n Note that substantive technical comments were expected during the Candidate Recommendation\n review period that ended "+u((a=null!=(a=n.humanCREnd||(null!=t?t.humanCREnd:t))?a:s,typeof a===l?a.call(o,{name:"humanCREnd",hash:{},data:i}):a))+".\n"},34:function(e,t,n,r,i){var a;return null!=(a=n.unless.call(null!=t?t:{},null!=t?t.isPER:t,{name:"unless",hash:{},fn:e.program(35,i,0),inverse:e.noop,data:i}))?a:""},35:function(e,t,n,r,i){return" All comments are welcome.\n"},37:function(e,t,n,r,i){var a;return" <p>\n Please see the Working Group's <a href='"+e.escapeExpression((a=null!=(a=n.implementationReportURI||(null!=t?t.implementationReportURI:t))?a:n.helperMissing,"function"==typeof a?a.call(null!=t?t:{},{name:"implementationReportURI",hash:{},data:i}):a))+"'>implementation\n report</a>.\n </p>\n"},39:function(e,t,n,r,i){var a,o=null!=t?t:{},s=n.helperMissing,l="function",u=e.escapeExpression;return" <p>\n Publication as "+u((a=null!=(a=n.anOrA||(null!=t?t.anOrA:t))?a:s,typeof a===l?a.call(o,{name:"anOrA",hash:{},data:i}):a))+" "+u((a=null!=(a=n.textStatus||(null!=t?t.textStatus:t))?a:s,typeof a===l?a.call(o,{name:"textStatus",hash:{},data:i}):a))+" does not imply endorsement by the W3C\n Membership. This is a draft document and may be updated, replaced or obsoleted by other\n documents at any time. It is inappropriate to cite this document as other than work in\n progress.\n </p>\n"},41:function(e,t,n,r,i){return" <p>\n This document has been reviewed by W3C Members, by software developers, and by other W3C\n groups and interested parties, and is endorsed by the Director as a W3C Recommendation.\n It is a stable document and may be used as reference material or cited from another\n document. W3C's role in making the Recommendation is to draw attention to the\n specification and to promote its widespread deployment. This enhances the functionality\n and interoperability of the Web.\n </p>\n"},43:function(e,t,n,r,i){var a,o=null!=t?t:{};return" This document was produced by\n"+(null!=(a=n.if.call(o,null!=t?t.multipleWGs:t,{name:"if",hash:{},fn:e.program(44,i,0),inverse:e.program(46,i,0),data:i}))?a:"")+" operating under the\n <a"+(null!=(a=n.if.call(o,null!=t?t.doRDFa:t,{name:"if",hash:{},fn:e.program(48,i,0),inverse:e.noop,data:i}))?a:"")+"\n href='https://www.w3.org/Consortium/Patent-Policy-20040205/'>5 February 2004 W3C Patent\n Policy</a>.\n"},44:function(e,t,n,r,i){return" groups\n"},46:function(e,t,n,r,i){return" a group\n "},48:function(e,t,n,r,i){return" id=\"sotd_patent\" property='w3p:patentRules'"},50:function(e,t,n,r,i){return" The group does not expect this document to become a W3C Recommendation.\n"},52:function(e,t,n,r,i){var a,o=null!=t?t:{};return(null!=(a=n.if.call(o,null!=t?t.multipleWGs:t,{name:"if",hash:{},fn:e.program(53,i,0),inverse:e.program(55,i,0),data:i}))?a:"")+" made in connection with the deliverables of\n"+(null!=(a=n.if.call(o,null!=t?t.multipleWGs:t,{name:"if",hash:{},fn:e.program(57,i,0),inverse:e.program(59,i,0),data:i}))?a:"")+" instructions for disclosing a patent. An individual who has actual knowledge of a patent\n which the individual believes contains\n <a href='https://www.w3.org/Consortium/Patent-Policy-20040205/#def-essential'>Essential\n Claim(s)</a> must disclose the information in accordance with\n <a href='https://www.w3.org/Consortium/Patent-Policy-20040205/#sec-Disclosure'>section\n 6 of the W3C Patent Policy</a>.\n"},53:function(e,t,n,r,i){var a,o;return" W3C maintains "+(null!=(o=null!=(o=n.wgPatentHTML||(null!=t?t.wgPatentHTML:t))?o:n.helperMissing,a="function"==typeof o?o.call(null!=t?t:{},{name:"wgPatentHTML",hash:{},data:i}):o)?a:"")+"\n"},55:function(e,t,n,r,i){var a;return" W3C maintains a <a href='"+e.escapeExpression((a=null!=(a=n.wgPatentURI||(null!=t?t.wgPatentURI:t))?a:n.helperMissing,"function"==typeof a?a.call(null!=t?t:{},{name:"wgPatentURI",hash:{},data:i}):a))+"' rel='disclosure'>public list of any patent\n disclosures</a>\n"},57:function(e,t,n,r,i){return" each group; these pages also include\n"},59:function(e,t,n,r,i){return" the group; that page also includes\n"},61:function(e,t,n,r,i){var a;return" The disclosure obligations of the Participants of this group are described in the\n <a href='"+e.escapeExpression((a=null!=(a=n.charterDisclosureURI||(null!=t?t.charterDisclosureURI:t))?a:n.helperMissing,"function"==typeof a?a.call(null!=t?t:{},{name:"charterDisclosureURI",hash:{},data:i}):a))+"'>charter</a>.\n"},63:function(e,t,n,r,i){return' <p>This document is governed by the <a id="w3c_process_revision"\n href="https://www.w3.org/2015/Process-20150901/">1 September 2015 W3C Process Document</a>.\n </p>\n'},65:function(e,t,n,r,i){return' <p>\n This document is governed by the <a id="w3c_process_revision"\n href="https://www.w3.org/2005/10/Process-20051014/">14 October 2005 W3C Process Document</a>.\n </p>\n'},67:function(e,t,n,r,i){var a,o;return"<p>"+(null!=(o=null!=(o=n.addPatentNote||(null!=t?t.addPatentNote:t))?o:n.helperMissing,a="function"==typeof o?o.call(null!=t?t:{},{name:"addPatentNote",hash:{},data:i}):o)?a:"")+"</p>"},compiler:[7,">= 4.0.0"],main:function(e,t,n,r,i){var a;return"<section id='sotd' class='introductory'><h2>"+e.escapeExpression(e.lambda(null!=(a=null!=t?t.l10n:t)?a.sotd:a,t))+"</h2>\n"+(null!=(a=n.if.call(null!=t?t:{},null!=t?t.isUnofficial:t,{name:"if",hash:{},fn:e.program(1,i,0),inverse:e.program(3,i,0),data:i}))?a:"")+"</section>\n"},useData:!0}),n["permalinks.css"]=t({1:function(e,t,n,r,i){return"section > *:hover > span.permalink { visibility: visible; }\n"},3:function(e,t,n,r,i){return"\tfloat: right;\n"},5:function(e,t,n,r,i){return" visibility: hidden;\n"},compiler:[7,">= 4.0.0"],main:function(e,t,n,r,i){var a,o=null!=t?t:{};return"/* --- PERMALINKS --- */\n"+(null!=(a=n.if.call(o,null!=t?t.permalinkHide:t,{name:"if",hash:{},fn:e.program(1,i,0),inverse:e.noop,data:i}))?a:"")+"\n.permalink {\n width: 1px;\n height: 1px;\n overflow: visible;\n font-size: 10pt;\n font-style: normal;\n vertical-align: middle;\n margin-left: 4px;\n"+(null!=(a=n.if.call(o,null!=t?t.permalinkEdge:t,{name:"if",hash:{},fn:e.program(3,i,0),inverse:e.noop,data:i}))?a:"")+(null!=(a=n.if.call(o,null!=t?t.permalinkHide:t,{name:"if",hash:{},fn:e.program(5,i,0),inverse:e.noop,data:i}))?a:"")+"}\n\n.permalink a, .permalink a:link, .permalink a:visited, .permalink a:hover, .permalink a:focus, .permalink a:active\n{\n\tbackground:transparent !important;\n\ttext-decoration:none;\n font-weight: bold;\n\tcolor:#666 !important;\n}\n\n.permalink abbr {\n\tborder:0;\n}\n"},useData:!0}),n}),define("w3c/headers",["handlebars.runtime","core/utils","core/pubsubhub","w3c/templates/compiled"],function(e,t,n,r){var i=r["cgbg-headers.html"],a=r["cgbg-sotd.html"],o=r["headers.html"],s=r["sotd.html"];return e.registerHelper("showPeople",function(t,n){var r="",i="",a="",o="",s="",l="",u="",c="",p="";this.doRDFa&&("Editor"===t?(u="_:editor0",r=" property='bibo:editor' resource='"+u+"'",i=" property='rdf:first' typeof='foaf:Person'"):"Author"===t&&(i=" property='dc:contributor' typeof='foaf:Person'"),o=" property='foaf:name'",a=" property='foaf:mbox'",s=" property='foaf:workplaceHomepage'",l=" property='foaf:homepage'",p=" property='rdfs:seeAlso'");for(var d="",f=0,h=n.length;f<h;f++){var m=n[f];if(m.w3cid&&(c=" data-editor-id='"+parseInt(m.w3cid,10)+"'"),this.doRDFa?(d+="<dd class='p-author h-card vcard' "+r+c+"><span"+i+">","Editor"===t&&(u=f<h-1?"_:editor"+(f+1):"rdf:nil",r=" resource='"+u+"'")):d+="<dd class='p-author h-card vcard'"+c+">",d+=m.url?this.doRDFa?"<meta"+o+" content='"+m.name+"'><a class='u-url url p-name fn' "+l+" href='"+m.url+"'>"+m.name+"</a>":"<a class='u-url url p-name fn' href='"+m.url+"'>"+m.name+"</a>":"<span"+o+" class='p-name fn'>"+m.name+"</span>",m.company&&(d+=", ",d+=m.companyURL?"<a"+s+" class='p-org org h-org h-card' href='"+m.companyURL+"'>"+m.company+"</a>":m.company),m.mailto&&(d+=", <span class='ed_mailto'><a class='u-email email' "+a+" href='mailto:"+m.mailto+"'>"+m.mailto+"</a></span>"),m.note&&(d+=" ("+m.note+")"),m.extras){var g=this,v=m.extras.filter(function(e){return e.name&&e.name.trim()}).map(function(e){var t=document.createElement("span"),n=t;if(e.class&&(t.className=e.class),e.href){var r=document.createElement("a");t.appendChild(r),r.href=e.href,n=r,g.doRDFa&&r.setAttribute("property","rdfs:seeAlso")}return n.innerHTML=e.name,t.outerHTML}).join(", ");d+=", "+v}this.doRDFa&&(d+="</span>\n","Editor"===t&&(d+="<span property='rdf:rest' resource='"+u+"'></span>\n")),d+="</dd>\n"}return new e.SafeString(d)}),e.registerHelper("showLogos",function(t){for(var n="<p>",r=0,i=t.length;r<i;r++){var a=t[r];a.url&&(n+="<a href='"+a.url+"'>"),a.id&&(n+="<span id='"+a.id+"'>"),a.src?(n+="<img src='"+a.src+"'",a.width&&(n+=" width='"+a.width+"'"),a.height&&(n+=" height='"+a.height+"'"),n+=a.alt?" alt='"+a.alt+"'":1==t.length?" alt='Logo'":" alt='Logo "+(r+1)+"'",n+=">"):a.alt&&(n+=a.alt),a.url&&(n+="</a>"),a.id&&(n+="</span>")}return n+="</p>",new e.SafeString(n)}),{status2maturity:{FPWD:"WD",LC:"WD",FPLC:"WD","FPWD-NOTE":"NOTE","WD-NOTE":"WD","LC-NOTE":"LC","IG-NOTE":"NOTE","WG-NOTE":"NOTE"},status2rdf:{NOTE:"w3p:NOTE",WD:"w3p:WD",LC:"w3p:LastCall",CR:"w3p:CR",PR:"w3p:PR",REC:"w3p:REC",PER:"w3p:PER",RSCND:"w3p:RSCND"},status2text:{NOTE:"Working Group Note","WG-NOTE":"Working Group Note","CG-NOTE":"Co-ordination Group Note","IG-NOTE":"Interest Group Note","Member-SUBM":"Member Submission","Team-SUBM":"Team Submission",MO:"Member-Only Document",ED:"Editor's Draft",FPWD:"First Public Working Draft",WD:"Working Draft","FPWD-NOTE":"Working Group Note","WD-NOTE":"Working Draft","LC-NOTE":"Working Draft",FPLC:"First Public and Last Call Working Draft",LC:"Last Call Working Draft",CR:"Candidate Recommendation",PR:"Proposed Recommendation",PER:"Proposed Edited Recommendation",REC:"Recommendation",RSCND:"Rescinded Recommendation",unofficial:"Unofficial Draft",base:"Document",finding:"TAG Finding","draft-finding":"Draft TAG Finding","CG-DRAFT":"Draft Community Group Report","CG-FINAL":"Final Community Group Report","BG-DRAFT":"Draft Business Group Report","BG-FINAL":"Final Business Group Report"},status2long:{"FPWD-NOTE":"First Public Working Group Note","LC-NOTE":"Last Call Working Draft"},recTrackStatus:["FPWD","WD","FPLC","LC","CR","PR","PER","REC"],noTrackStatus:["MO","unofficial","base","finding","draft-finding","CG-DRAFT","CG-FINAL","BG-DRAFT","BG-FINAL","webspec"],cgbg:["CG-DRAFT","CG-FINAL","BG-DRAFT","BG-FINAL"],precededByAn:["ED","IG-NOTE"],licenses:{cc0:{name:"Creative Commons 0 Public Domain Dedication",short:"CC0",url:"https://creativecommons.org/publicdomain/zero/1.0/"},"w3c-software":{name:"W3C Software Notice and License",short:"W3C Software",url:"https://www.w3.org/Consortium/Legal/2002/copyright-software-20021231"},"w3c-software-doc":{name:"W3C Software and Document Notice and License",short:"W3C Software and Document",url:"https://www.w3.org/Consortium/Legal/2015/copyright-software-and-document"},"cc-by":{name:"Creative Commons Attribution 4.0 International Public License",short:"CC-BY",url:"https://creativecommons.org/licenses/by/4.0/legalcode"}},run:function(e,r,l){void 0===e.doRDFa&&(e.doRDFa=!0),e.license||(e.license="webspec"===e.specStatus?"w3c-software":"w3c"),e.isCCBY="cc-by"===e.license,e.isW3CSoftAndDocLicense="w3c-software-doc"===e.license,"webspec"!==e.specStatus||$.inArray(e.license,["cc0","w3c-software"])||n.pub("error","You cannot use that license with WebSpecs."),"webspec"===e.specStatus||$.inArray(e.license,["cc-by","w3c"])||n.pub("error","You cannot use that license with that type of document."),e.licenseInfo=this.licenses[e.license],e.isCGBG=$.inArray(e.specStatus,this.cgbg)>=0,e.isCGFinal=e.isCGBG&&/G-FINAL$/.test(e.specStatus),e.isBasic="base"===e.specStatus,e.isRegular=!e.isCGBG&&!e.isBasic,e.specStatus||n.pub("error","Missing required configuration: specStatus"),e.isRegular&&!e.shortName&&n.pub("error","Missing required configuration: shortName"),e.title=r.title||"No Title",e.subtitle||(e.subtitle=""),e.publishDate?e.publishDate instanceof Date||(e.publishDate=t.parseSimpleDate(e.publishDate)):e.publishDate=t.parseLastModified(r.lastModified),e.publishYear=e.publishDate.getFullYear(),e.publishHumanDate=t.humanDate(e.publishDate),e.isNoTrack=$.inArray(e.specStatus,this.noTrackStatus)>=0,e.isRecTrack=!e.noRecTrack&&$.inArray(e.specStatus,this.recTrackStatus)>=0,e.isMemberSubmission="Member-SUBM"===e.specStatus,e.isTeamSubmission="Team-SUBM"===e.specStatus,e.isSubmission=e.isMemberSubmission||e.isTeamSubmission,e.anOrA=$.inArray(e.specStatus,this.precededByAn)>=0?"an":"a",e.isTagFinding="finding"===e.specStatus||"draft-finding"===e.specStatus,e.edDraftURI||(e.edDraftURI="","ED"===e.specStatus&&n.pub("warn","Editor's Drafts should set edDraftURI.")),e.maturity=this.status2maturity[e.specStatus]?this.status2maturity[e.specStatus]:e.specStatus;var u="TR";if("Member-SUBM"===e.specStatus?u="Submission":"Team-SUBM"===e.specStatus&&(u="TeamSubmission"),e.isRegular&&(e.thisVersion="https://www.w3.org/"+u+"/"+e.publishDate.getFullYear()+"/"+e.maturity+"-"+e.shortName+"-"+t.concatDate(e.publishDate)+"/"),"ED"===e.specStatus&&(e.thisVersion=e.edDraftURI),e.isRegular&&(e.latestVersion="https://www.w3.org/"+u+"/"+e.shortName+"/"),e.isTagFinding&&(e.latestVersion="https://www.w3.org/2001/tag/doc/"+e.shortName,e.thisVersion=e.latestVersion+"-"+t.concatDate(e.publishDate,"-")),e.previousPublishDate){e.previousMaturity||e.isTagFinding||n.pub("error","previousPublishDate is set, but not previousMaturity"),e.previousPublishDate instanceof Date||(e.previousPublishDate=t.parseSimpleDate(e.previousPublishDate));var c=this.status2maturity[e.previousMaturity]?this.status2maturity[e.previousMaturity]:e.previousMaturity;e.isTagFinding?e.prevVersion=e.latestVersion+"-"+t.concatDate(e.previousPublishDate,"-"):e.isCGBG?e.prevVersion=e.prevVersion||"":e.isBasic?e.prevVersion="":e.prevVersion="https://www.w3.org/TR/"+e.previousPublishDate.getFullYear()+"/"+c+"-"+e.shortName+"-"+t.concatDate(e.previousPublishDate)+"/"}else/NOTE$/.test(e.specStatus)||"FPWD"===e.specStatus||"FPLC"===e.specStatus||"ED"===e.specStatus||e.noRecTrack||e.isNoTrack||e.isSubmission||n.pub("error","Document on track but no previous version: Add previousMaturity previousPublishDate to ReSpec's config."),e.prevVersion||(e.prevVersion="");e.prevRecShortname&&!e.prevRecURI&&(e.prevRecURI="https://www.w3.org/TR/"+e.prevRecShortname),e.editors&&0!==e.editors.length||n.pub("error","At least one editor is required");var p=function(e){e.name||n.pub("error","All authors and editors must have a name.")};e.editors&&e.editors.forEach(p),e.authors&&e.authors.forEach(p),e.multipleEditors=e.editors&&e.editors.length>1,e.multipleAuthors=e.authors&&e.authors.length>1,$.each(e.alternateFormats||[],function(e,t){t.uri&&t.label||n.pub("error","All alternate formats must have a uri and a label.")}),e.multipleAlternates=e.alternateFormats&&e.alternateFormats.length>1,e.alternatesHTML=t.joinAnd(e.alternateFormats,function(e){var t=e.hasOwnProperty("lang")&&e.lang?" hreflang='"+e.lang+"'":"";return t+=e.hasOwnProperty("type")&&e.type?" type='"+e.type+"'":"","<a rel='alternate' href='"+e.uri+"'"+t+">"+e.label+"</a>"}),e.bugTracker&&(e.bugTracker.new&&e.bugTracker.open?e.bugTrackerHTML="<a href='"+e.bugTracker.new+"'>"+e.l10n.file_a_bug+"</a> "+e.l10n.open_parens+"<a href='"+e.bugTracker.open+"'>"+e.l10n.open_bugs+"</a>"+e.l10n.close_parens:e.bugTracker.open?e.bugTrackerHTML="<a href='"+e.bugTracker.open+"'>open bugs</a>":e.bugTracker.new&&(e.bugTrackerHTML="<a href='"+e.bugTracker.new+"'>file a bug</a>")),e.copyrightStart&&e.copyrightStart==e.publishYear&&(e.copyrightStart="");for(var d in this.status2text)this.status2long[d]||(this.status2long[d]=this.status2text[d]);if(e.longStatus=this.status2long[e.specStatus],e.textStatus=this.status2text[e.specStatus],this.status2rdf[e.specStatus]&&(e.rdfStatus=this.status2rdf[e.specStatus]),e.showThisVersion=!e.isNoTrack||e.isTagFinding,e.showPreviousVersion="FPWD"!==e.specStatus&&"FPLC"!==e.specStatus&&"ED"!==e.specStatus&&!e.isNoTrack&&!e.isSubmission,/NOTE$/.test(e.specStatus)&&!e.prevVersion&&(e.showPreviousVersion=!1),e.isTagFinding&&(e.showPreviousVersion=!!e.previousPublishDate),e.notYetRec=e.isRecTrack&&"REC"!==e.specStatus,e.isRec=e.isRecTrack&&"REC"===e.specStatus,e.isRec&&!e.errata&&n.pub("error","Recommendations must have an errata link."),e.notRec="REC"!==e.specStatus,e.isUnofficial="unofficial"===e.specStatus,e.prependW3C=!e.isUnofficial,e.isED="ED"===e.specStatus,e.isCR="CR"===e.specStatus,e.isPR="PR"===e.specStatus,e.isPER="PER"===e.specStatus,e.isMO="MO"===e.specStatus,e.isIGNote="IG-NOTE"===e.specStatus,e.dashDate=t.concatDate(e.publishDate,"-"),e.publishISODate=t.isoDate(e.publishDate),e.shortISODate=e.publishISODate.replace(/T.*/,""),e.processVersion=e.processVersion||"2015","2014"==e.processVersion&&(n.pub("warn","Process "+e.processVersion+" has been superceded by Process 2015."),e.processVersion="2015"),e.isNewProcess="2015"==e.processVersion,e.doRDFa){e.rdfStatus?$("html").attr("typeof","bibo:Document "+e.rdfStatus):$("html").attr("typeof","bibo:Document ");var f="bibo: http://purl.org/ontology/bibo/ w3p: http://www.w3.org/2001/02pd/rec54#";$("html").attr("prefix",f),$("html>head").prepend($("<meta lang='' property='dc:language' content='en'>"))}var h;h=e.isCGBG?i(e):o(e),$("body",r).prepend($(h)).addClass("h-entry");var m=$("#sotd");!e.isCGBG&&e.isNoTrack&&!e.isTagFinding||m.length||n.pub("error","A custom SotD paragraph is required for your type of document."),e.sotdCustomParagraph=m.html(),m.remove();var g=[e.wg,e.wgURI,e.wgPatentURI];if(g.some(function(e){return $.isArray(e)})&&g.some(function(e){return!$.isArray(e)})&&n.pub("error","If one of 'wg', 'wgURI', or 'wgPatentURI' is an array, they all have to be."),$.isArray(e.wg)){e.multipleWGs=e.wg.length>1,e.wgHTML=t.joinAnd(e.wg,function(t,n){return"the <a href='"+e.wgURI[n]+"'>"+t+"</a>"});for(var v=[],b=0,y=e.wg.length;b<y;b++)v.push("a <a href='"+e.wgPatentURI[b]+"' rel='disclosure'>public list of any patent disclosures ("+e.wg[b]+")</a>");e.wgPatentHTML=t.joinAnd(v)}else e.multipleWGs=!1,e.wgHTML="the <a href='"+e.wgURI+"'>"+e.wg+"</a>";"PR"!==e.specStatus||e.crEnd||n.pub("error","Status is PR but no crEnd is specified (needed to indicate end of previous CR)"),"CR"!==e.specStatus||e.crEnd||n.pub("error","Status is CR but no crEnd is specified"),e.humanCREnd=t.humanDate(e.crEnd||""),"PR"!==e.specStatus||e.prEnd||n.pub("error","Status is PR but no prEnd is specified"),e.humanPREnd=t.humanDate(e.prEnd||""),e.humanPEREnd=t.humanDate(e.perEnd||""),"PER"!==e.specStatus||e.perEnd||n.pub("error","Status is PER but no perEnd is specified"),e.recNotExpected=!e.isRecTrack&&"WD"==e.maturity&&"FPWD-NOTE"!==e.specStatus,e.isIGNote&&!e.charterDisclosureURI&&n.pub("error","IG-NOTEs must link to charter's disclosure section using charterDisclosureURI"),""!==e.subjectPrefix&&(e.subjectPrefixEnc=encodeURIComponent(e.subjectPrefix));var w;w=e.isCGBG?a(e):s(e),w&&$(w).insertAfter($("#abstract")),!e.implementationReportURI&&(e.isCR||e.isPR||e.isRec)&&n.pub("error","CR, PR, and REC documents need to have an implementationReportURI defined."),e.isTagFinding&&!e.sotdCustomParagraph&&n.pub("error","ReSpec does not support automated SotD generation for TAG findings, please specify one using a <code><section></code> element with ID=sotd."),l()}}}),define("w3c/abstract",["core/pubsubhub"],function(e){return{run:function(t,n,r){var i=$("#abstract");if(i.length){if(0===i.find("p").length&&i.contents().wrapAll($("<p></p>")),i.prepend("<h2>"+t.l10n.abstract+"</h2>"),i.addClass("introductory"),t.doRDFa){var a="dc:abstract",o=i.attr("property");o&&(a=o+" "+a),i.attr({property:a})}}else e.pub("error","Document must have one element with ID 'abstract'");r()}}}),define("w3c/conformance",["w3c/templates/compiled","core/pubsubhub"],function(e,t){var n=e["conformance.html"];return{run:function(e,r,i){var a=$("#conformance");a.length&&a.prepend(n(e)),t.pub("end","w3c/conformance"),i()}}}),define("core/data-transform",["core/utils"],function(e){return{run:function(t,n,r){Array.from(n.querySelectorAll("[data-transform]")).forEach(function(t){t.innerHTML=e.runTransforms(t.innerHTML,t.dataset.transform),t.removeAttribute("data-transform")}),r()}}}),define("core/inlines",["core/pubsubhub"],function(e){return{run:function(t,n,r){n.normalize(),t.normativeReferences||(t.normativeReferences=new Set),t.informativeReferences||(t.informativeReferences=new Set),t.respecRFC2119||(t.respecRFC2119={});var i={};$("abbr[title]",n).each(function(){i[$(this).text()]=$(this).attr("title")});var a=[];for(var o in i)a.push(o);a.sort(function(e,t){return t.length<e.length?-1:e.length<t.length?1:0});for(var s=a.length?"(?:\\b"+a.join("\\b)|(?:\\b")+"\\b)":null,l=$("body",n).allTextNodes(["pre"]),u=new RegExp("(\\bMUST(?:\\s+NOT)?\\b|\\bSHOULD(?:\\s+NOT)?\\b|\\bSHALL(?:\\s+NOT)?\\b|\\bMAY\\b|\\b(?:NOT\\s+)?REQUIRED\\b|\\b(?:NOT\\s+)?RECOMMENDED\\b|\\bOPTIONAL\\b|(?:\\[\\[(?:!|\\\\)?[A-Za-z0-9\\.-]+\\]\\])"+(s?"|"+s:"")+")"),c=0;c<l.length;c++){var p=l[c],d=p.data.split(u);if(1!==d.length){for(var f=n.createDocumentFragment();d.length;){var h=d.shift(),m=null;if(d.length&&(m=d.shift()),f.appendChild(n.createTextNode(h)),m)if(/MUST(?:\s+NOT)?|SHOULD(?:\s+NOT)?|SHALL(?:\s+NOT)?|MAY|(?:NOT\s+)?REQUIRED|(?:NOT\s+)?RECOMMENDED|OPTIONAL/.test(m))m=m.split(/\s+/).join(" "),f.appendChild($("<em/>").attr({class:"rfc2119",title:m}).text(m)[0]),t.respecRFC2119[m]=!0;else if(/^\[\[/.test(m)){var g=m;if(g=g.replace(/^\[\[/,""),g=g.replace(/\]\]$/,""),0===g.indexOf("\\"))f.appendChild(n.createTextNode("[["+g.replace(/^\\/,"")+"]]"));else{var v=!1;0===g.indexOf("!")&&(v=!0,g=g.replace(/^!/,"")),v?t.normativeReferences.add(g):t.informativeReferences.add(g),f.appendChild(n.createTextNode("[")),f.appendChild($("<cite/>").wrapInner($("<a/>").attr({class:"bibref",href:"#bib-"+g}).text(g))[0]),f.appendChild(n.createTextNode("]"))}}else i[m]?$(p).parents("abbr").length?f.appendChild(n.createTextNode(m)):f.appendChild($("<abbr/>").attr({title:i[m]}).text(m)[0]):e.pub("error","Found token '"+m+"' but it does not correspond to anything")}p.parentNode.replaceChild(f,p)}}r()}}}),define("core/biblio-db",["exports"],function(e){function t(e){return function(){var t=e.apply(this,arguments);return new Promise(function(e,n){function r(i,a){try{var o=t[i](a),s=o.value}catch(e){return void n(e)}return o.done?void e(s):Promise.resolve(s).then(function(e){r("next",e)},function(e){r("throw",e)})}return r("next")})}}Object.defineProperty(e,"__esModule",{value:!0});var n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r=new Set(["alias","reference"]),i=new Promise(function(e,t){var n=void 0;try{n=window.indexedDB.open("respec-biblio",1)}catch(e){return t(e)}n.onerror=function(){t(new DOMException(n.error.message,n.error.name))},n.onsuccess=function(){e(n.result)},n.onupgradeneeded=function(){var e=n.result;Array.from(e.objectStoreNames).map(function(t){return e.deleteObjectStore(t)});var r=[new Promise(function(t,n){try{var r=e.createObjectStore("alias",{keyPath:"id"});r.createIndex("aliasOf","aliasOf",{unique:!1}),r.transaction.oncomplete=t}catch(e){n(e)}}),new Promise(function(t,n){try{e.createObjectStore("reference",{keyPath:"id"}).transaction.oncomplete=t}catch(e){n(e)}})];Promise.all(r).catch(t)}});e.biblioDB={get ready(){return i},find:function(e){var n=this;return t(regeneratorRuntime.mark(function t(){return regeneratorRuntime.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,n.isAlias(e);case 2:if(!t.sent){t.next=6;break}return t.next=5,n.resolveAlias(e);case 5:e=t.sent;case 6:return t.abrupt("return",n.get("reference",e));case 7:case"end":return t.stop()}},t,n)}))()},has:function(e,n){var i=this;return t(regeneratorRuntime.mark(function t(){var a;return regeneratorRuntime.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:if(r.has(e)){t.next=2;break}throw new TypeError("Invalid type: "+e);case 2:if(n){t.next=4;break}throw new TypeError("id is required");case 4:return t.next=6,i.ready;case 6:return a=t.sent,t.abrupt("return",new Promise(function(t,r){var i=a.transaction([e],"readonly").objectStore(e),o=IDBKeyRange.only(n),s=i.openCursor(o);s.onsuccess=function(){t(!!s.result)},s.onerror=function(){r(new DOMException(s.error.message,s.error.name))}}));case 8:case"end":return t.stop()}},t,i)}))()},isAlias:function(e){var n=this;return t(regeneratorRuntime.mark(function t(){var r;return regeneratorRuntime.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:if(e){t.next=2;break}throw new TypeError("id is required");case 2:return t.next=4,n.ready;case 4:return r=t.sent,t.abrupt("return",new Promise(function(t,n){var i=r.transaction(["alias"],"readonly").objectStore("alias"),a=IDBKeyRange.only(e),o=i.openCursor(a);o.onsuccess=function(){t(!!o.result)},o.onerror=function(){n(new DOMException(o.error.message,o.error.name))}}));case 6:case"end":return t.stop()}},t,n)}))()},resolveAlias:function(e){var n=this;return t(regeneratorRuntime.mark(function t(){var r;return regeneratorRuntime.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:if(e){t.next=2;break}throw new TypeError("id is required");case 2:return t.next=4,n.ready;case 4:return r=t.sent,t.abrupt("return",new Promise(function(t,n){var i=r.transaction("alias","readonly").objectStore("alias"),a=IDBKeyRange.only(e),o=i.openCursor(a);o.onsuccess=function(){return null===o.result?t(null):void t(o.result.value.aliasOf)},o.onerror=function(){n(new DOMException(o.error.message,o.error.name))}}));case 6:case"end":return t.stop()}},t,n)}))()},get:function(e,n){var i=this;return t(regeneratorRuntime.mark(function t(){var a;return regeneratorRuntime.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:if(r.has(e)){t.next=2;break}throw new TypeError("Invalid type: "+e);case 2:if(n){t.next=4;break}throw new TypeError("id is required");case 4:return t.next=6,i.ready;case 6:return a=t.sent,t.abrupt("return",new Promise(function(t,r){var i=a.transaction([e],"readonly").objectStore(e),o=IDBKeyRange.only(n),s=i.openCursor(o);s.onsuccess=function(){return null===s.result?t(null):void t(s.result.value)},s.onerror=function(){r(new DOMException(s.error.message,s.error.name))}}));case 8:case"end":return t.stop()}},t,i)}))()},addAll:function(e){var n=this;return t(regeneratorRuntime.mark(function t(){var r,i;return regeneratorRuntime.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:if(e){t.next=2;break}return t.abrupt("return");case 2:return r={alias:new Set,reference:new Set},Object.keys(e).map(function(t){return Object.assign({id:t},e[t])}).reduce(function(e,t){return t.aliasOf?e.alias.add(t):e.reference.add(t),e},r),i=Object.keys(r).map(function(e){return Array.from(r[e]).map(function(t){return n.add(e,t)})}).reduce(function(e,t){return e.concat(t)},[]),t.next=7,Promise.all(i);case 7:case"end":return t.stop()}},t,n)}))()},add:function(e,i){var a=this;return t(regeneratorRuntime.mark(function t(){var o,s;return regeneratorRuntime.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:if(r.has(e)){t.next=2;break}throw new TypeError("Invalid type: "+e);case 2:if("object"===("undefined"==typeof i?"undefined":n(i))){t.next=4;break}throw new TypeError("details should be an object");case 4:if("alias"!==e||i.hasOwnProperty("aliasOf")){t.next=6;break}throw new TypeError("Invalid alias object.");case 6:return t.next=8,a.ready;case 8:return o=t.sent,t.next=11,a.has(e,i.id);case 11:return s=t.sent,t.abrupt("return",new Promise(function(t,n){var r=o.transaction([e],"readwrite").objectStore(e),a=s?r.put(i):r.add(i);a.onsuccess=t,a.onerror=function(){n(new DOMException(a.error.message,a.error.name))}}));case 13:case"end":return t.stop()}},t,a)}))()},close:function(){var e=this;return t(regeneratorRuntime.mark(function t(){var n;return regeneratorRuntime.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,e.ready;case 2:n=t.sent,n.close();case 4:case"end":return t.stop()}},t,e)}))()}}}),define("core/biblio",["exports","core/biblio-db","core/pubsubhub","core/utils","deps/regenerator"],function(e,t,n,r){function i(e){return function(){var t=e.apply(this,arguments);return new Promise(function(e,n){function r(i,a){try{var o=t[i](a),s=o.value}catch(e){return void n(e)}return o.done?void e(s):Promise.resolve(s).then(function(e){r("next",e)},function(e){r("throw",e)})}return r("next")})}}function a(e){Array.from(e.informativeReferences).filter(function(t){return e.normativeReferences.has(t)}).reduce(function(e,t){return e.delete(t),e},e.informativeReferences)}function o(e){return{informativeReferences:Array.from(e.informativeReferences),normativeReferences:Array.from(e.normativeReferences)}}function s(e){if("string"==typeof e)return e;var t="";return e.authors&&e.authors.length&&(t+=e.authors.join("; "),e.etAl&&(t+=" et al"),t+=". "),e.publisher&&(t+=e.publisher,t+=/\.$/.test(e.publisher)?" ":". "),t+=e.href?'<a href="'+e.href+'"><cite>'+e.title+"</cite></a>. ":"<cite>"+e.title+"</cite>. ",e.date&&(t+=e.date+". "),e.status&&(t+=(c.get(e.status)||e.status)+". "),e.href&&(t+='URL: <a href="'+e.href+'">'+e.href+"</a>"),t}function l(e){var t={},r=o(e),i=r.informativeReferences,a=r.normativeReferences,l={};if(i.length||a.length||e.refNote){var u=$("<section id='references' class='appendix'><h2>References</h2></section>").appendTo($("body"));e.refNote&&$("<p></p>").html(e.refNote).appendTo(u);for(var c=["Normative","Informative"],p=0;p<c.length;p++){
var d=c[p],r="Normative"===d?a:i;if(r.length){var f=$("<section><h3></h3></section>").appendTo(u).find("h3").text(d+" references").end();f.makeID(null,d+" references"),r.sort();var h=$("<dl class='bibliography'></dl>").appendTo(f);e.doRDFa&&h.attr("resource","");for(var m=0;m<r.length;m++){var g=r[m];$("<dt></dt>").attr({id:"bib-"+g}).text("["+g+"]").appendTo(h);var v=$("<dd></dd>").appendTo(h),b=e.biblio[g],y={},w=g;for(y[g]=!0;b&&b.aliasOf;)if(y[b.aliasOf]){b=null;var x="Circular reference in biblio DB between ["+g+"] and ["+w+"].";(0,n.pub)("error",x)}else w=b.aliasOf,b=e.biblio[w],y[w]=!0;if(l[w]=l[w]||[],l[w].indexOf(g)<0&&l[w].push(g),b){if(v.html(s(b)+"\n"),e.doRDFa){var _=v.children("a");_.attr("property","Normative"===d?"dc:requires":"dc:references")}}else t[g]||(t[g]=0),t[g]++,v.html("<em style='color: #f00'>Reference not found.</em>\n")}}}for(var T in l)if(l[T].length>1){var E="["+T+"] is referenced in "+l[T].length+' ways ({$aliases[k].join(", ")}).';E+="This causes duplicate entries in the reference section.",(0,n.pub)("warn",E)}for(var k in t){var C="Bad reference: ["+k+"] (appears "+t[k]+" times)";t.hasOwnProperty(k)&&(0,n.pub)("error",C)}}}Object.defineProperty(e,"__esModule",{value:!0}),e.run=e.resolveRef=e.done=void 0,e.stringifyReference=s;var u=new URL("https://specref.herokuapp.com/bibrefs?refs="),c=new Map([["CR","W3C Candidate Recommendation"],["ED","W3C Editor's Draft"],["FPWD","W3C First Public Working Draft"],["LCWD","W3C Last Call Working Draft"],["NOTE","W3C Note"],["PER","W3C Proposed Edited Recommendation"],["PR","W3C Proposed Recommendation"],["REC","W3C Recommendation"],["WD","W3C Working Draft"],["WG-NOTE","W3C Working Group Note"]]),p=(0,r.createResourceHint)({hint:"dns-prefetch",href:u.origin});document.head.appendChild(p);var d=void 0,f=e.done=new Promise(function(e){d=e}),h=function(){var e=i(regeneratorRuntime.mark(function e(n){var r,i,a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{forceUpdate:!1};return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(n.length){e.next=2;break}return e.abrupt("return");case 2:return e.next=4,fetch(u.href+n.join(","));case 4:if(r=e.sent,(a.forceUpdate||r.ok)&&200===r.status){e.next=7;break}return e.abrupt("return",null);case 7:return e.next=9,r.json();case 9:return i=e.sent,e.next=12,t.biblioDB.addAll(i);case 12:return e.abrupt("return",i);case 13:case"end":return e.stop()}},e,this)}));return function(t){return e.apply(this,arguments)}}(),m=e.resolveRef=function(){var e=i(regeneratorRuntime.mark(function e(t){var n,r;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,f;case 2:if(n=e.sent,n.hasOwnProperty(t)){e.next=5;break}return e.abrupt("return",null);case 5:if(r=n[t],!r.aliasOf){e.next=10;break}return e.next=9,m(r.aliasOf);case 9:return e.abrupt("return",e.sent);case 10:return e.abrupt("return",r);case 11:case"end":return e.stop()}},e,this)}));return function(t){return e.apply(this,arguments)}}();e.run=function(){var e=i(regeneratorRuntime.mark(function e(r,s,u){var c,p,f,m,g,v,b,y,w,x,_=this;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return c=function(){d(r.biblio),u()},r.localBiblio||(r.localBiblio={}),r.biblio&&(p="Overriding `.biblio` in config. Please use ",p+="`.localBiblio` for custom biblio entries.",(0,n.pub)("warn",p)),r.biblio={},f=Array.from(Object.keys(r.localBiblio)).filter(function(e){return r.localBiblio[e].hasOwnProperty("aliasOf")}).map(function(e){return r.localBiblio[e].aliasOf}),a(r),m=o(r),g=m.normativeReferences.concat(m.informativeReferences).filter(function(e){return!r.localBiblio.hasOwnProperty(e)}).concat(f).reduce(function(e,t){return e.indexOf(t)===-1&&e.push(t),e},[]).sort(),v=g.map(function(){var e=i(regeneratorRuntime.mark(function e(n){return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.t0=n,e.next=3,t.biblioDB.find(n);case 3:return e.t1=e.sent,e.abrupt("return",{id:e.t0,data:e.t1});case 5:case"end":return e.stop()}},e,_)}));return function(t){return e.apply(this,arguments)}}()),e.next=11,Promise.all(v);case 11:if(b=e.sent,y=b.reduce(function(e,t){return t.data?e.hasData.push(t):e.noData.push(t),e},{hasData:[],noData:[]}),y.hasData.reduce(function(e,t){return e[t.id]=t.data,e},r.biblio),w=y.noData.map(function(e){return e.id}),!w.length){e.next=20;break}return e.next=18,h(w,{forceUpdate:!0});case 18:x=e.sent,Object.assign(r.biblio,x);case 20:return Object.assign(r.biblio,r.localBiblio),l(r),c(),e.next=25,h(g);case 25:case"end":return e.stop()}},e,this)}));return function(t,n,r){return e.apply(this,arguments)}}()}),define("core/data-cite",["exports","core/pubsubhub","core/biblio"],function(e,t,n){function r(e){return function(){var t=e.apply(this,arguments);return new Promise(function(e,n){function r(i,a){try{var o=t[i](a),s=o.value}catch(e){return void n(e)}return o.done?void e(s):Promise.resolve(s).then(function(e){r("next",e)},function(e){r("throw",e)})}return r("next")})}}function i(e){["data-cite","data-cite-frag"].filter(function(t){return e.hasAttribute(t)}).forEach(function(t){return e.removeAttribute(t)})}function a(e){var t=e.dataset,n=t.cite,r=t.citeFrag,i=n.startsWith("!"),a=n.search("#");return a!==-1&&(r=r?r:n.substr(a),n=n.substring(0,a)),i&&(n=n.substr(1)),r&&!r.startsWith("#")&&(r="#"+r),{key:n,isNormative:i,frag:r}}function o(e,t,n){Array.from(t.querySelectorAll(["dfn[data-cite], a[data-cite]"])).filter(function(e){return e.dataset.cite}).map(a).reduce(function(e,t){var n=t.isNormative,r=t.key;return n?e.normativeReferences.add(r):e.informativeReferences.add(r),e},e),n()}Object.defineProperty(e,"__esModule",{value:!0}),e.linkInlineCitations=void 0,e.run=o;var s=function(){var e=r(regeneratorRuntime.mark(function e(r){var o,s,l,u,c,p,d,f;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return o=r.dataset.cite,s=a(r),l=s.key,u=s.frag,e.next=4,(0,n.resolveRef)(l);case 4:if(c=e.sent,i(r),c){e.next=12;break}return p="Couldn't find a match for 'data-cite="+o+"'.",console.warn(p,r),p+=" Please check developer console for offending element.",(0,t.pub)("warn",p),e.abrupt("return");case 12:d=c.href,u&&(d+=u),e.t0=r.localName,e.next="a"===e.t0?17:"dfn"===e.t0?19:24;break;case 17:return r.href=d,e.abrupt("break",24);case 19:for(f=r.ownerDocument.createElement("a"),f.href=d;r.firstChild;)f.appendChild(r.firstChild);return r.appendChild(f,r),e.abrupt("break",24);case 24:case"end":return e.stop()}},e,this)}));return function(t){return e.apply(this,arguments)}}();e.linkInlineCitations=function(){var e=r(regeneratorRuntime.mark(function e(t){var n,r;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return n=t.querySelectorAll("dfn[data-cite], a[data-cite]"),r=Array.from(n).map(s),e.next=4,Promise.all(r);case 4:return e.abrupt("return",e.sent);case 5:case"end":return e.stop()}},e,this)}));return function(t){return e.apply(this,arguments)}}()}),define("core/dfn",[],function(){function e(e,t){Array.from(document.querySelectorAll(e)).forEach(function(e){e.dataset.dfnFor=e.getAttribute(t).toLowerCase(),e.removeAttribute(t)})}return{run:function(t,n,r){t.hasOwnProperty("definitionMap")||(t.definitionMap=Object.create(null)),e("[dfn-for]","dfn-for"),e("dfn[for]","for"),Array.from(document.querySelectorAll("dfn")).forEach(function(e){const n=$(e).closest("[data-dfn-for]").attr("data-dfn-for");e.dataset.dfnFor=n?n.toLowerCase():"";const r=$(e);r.getDfnTitles({isDefinition:!0}).map(function(e){return t.definitionMap[e]||(t.definitionMap[e]=[]),t.definitionMap[e]}).reduce(function(e,t){return t.push(e),e},r)}),r()}}}),define("w3c/rfc2119",["core/utils"],function(e){return{run:function(t,n,r){var i=$("#respecRFC2119");if(i.length){var a=Object.getOwnPropertyNames(t.respecRFC2119).sort();if(a&&a.length){var o="The ",s=function(e){var t="<em class='rfc2119' title='"+e+"'>"+e+"</em>";return t};o+=a.length>1?"key words "+e.joinAnd(a,s)+" are ":"key word "+e.joinAnd(a,s)+" is ",o+=i[0].innerHTML,i[0].innerHTML=o}else i.remove()}r()}}}),define("deps/text!core/css/examples.css",[],function(){return"/* --- EXAMPLES --- */\ndiv.example-title {\n min-width: 7.5em;\n color: #b9ab2d;\n}\ndiv.example-title span {\n text-transform: uppercase;\n}\naside.example, div.example, div.illegal-example {\n padding: 0.5em;\n margin: 1em 0;\n position: relative;\n clear: both;\n}\ndiv.illegal-example { color: red }\ndiv.illegal-example p { color: black }\naside.example, div.example {\n padding: .5em;\n border-left-width: .5em;\n border-left-style: solid;\n border-color: #e0cb52;\n background: #fcfaee;\n}\n\naside.example div.example {\n border-left-width: .1em;\n border-color: #999;\n background: #fff;\n}\naside.example div.example div.example-title {\n color: #999;\n}\n"}),define("core/examples",["core/pubsubhub","deps/text!core/css/examples.css"],function(e,t){var n=function(e,t,n,r){var i=n>0?" "+n:"",a=$("<div class='example-title'><span>Example"+i+"</span></div>");return r.title=t.attr("title"),r.title&&(a.append($("<span style='text-transform: none'>: "+r.title+"</span>")),t.removeAttr("title")),a.addClass("marker"),a};return{run:function(r,i,a){var o=$("pre.example, pre.illegal-example, aside.example"),s=0;o.length&&($(i).find("head link").first().before($("<style/>").text(t)),o.each(function(t,i){var a=$(i),o={number:s,illegal:a.hasClass("illegal-example")};if(a.is("aside")){s++;var l=n(r,a,s,o);a.prepend(l),e.pub("example",o)}else{var u=!!a.parents("aside").length;u||s++;for(var c=a.html().split("\n");c.length&&/^\s*$/.test(c[0]);)c.shift();for(;c.length&&/^\s*$/.test(c[c.length-1]);)c.pop();var p=/^(\s+)/.exec(c[0]);if(p)for(var d=new RegExp("^"+p[1]),f=0;f<c.length;f++)c[f]=c[f].replace(d,"");o.content=c.join("\n"),a.html(c.join("\n")),a.removeClass("example illegal-example");var h=$("<div class='example'></div>"),l=n(r,a,u?0:s,o);h.append(l),h.append(a.clone()),a.replaceWith(h),u||e.pub("example",o)}})),a()}}}),define("deps/text!core/css/issues-notes.css",[],function(){return'/* --- ISSUES/NOTES --- */\ndiv.issue-title, div.note-title , div.ednote-title, div.warning-title {\n padding-right: 1em;\n min-width: 7.5em;\n color: #b9ab2d;\n}\ndiv.issue-title { color: #e05252; }\ndiv.note-title, div.ednote-title { color: #2b2; }\ndiv.warning-title { color: #f22; }\ndiv.issue-title span, div.note-title span, div.ednote-title span, div.warning-title span {\n text-transform: uppercase;\n}\ndiv.note, div.issue, div.ednote, div.warning {\n margin-top: 1em;\n margin-bottom: 1em;\n}\n.note > p:first-child, .ednote > p:first-child, .issue > p:first-child, .warning > p:first-child { margin-top: 0 }\n.issue, .note, .ednote, .warning {\n padding: .5em;\n border-left-width: .5em;\n border-left-style: solid;\n}\ndiv.issue, div.note , div.ednote, div.warning {\n padding: 1em 1.2em 0.5em;\n margin: 1em 0;\n position: relative;\n clear: both;\n}\nspan.note, span.ednote, span.issue, span.warning { padding: .1em .5em .15em; }\n\n.issue {\n border-color: #e05252;\n background: #fbe9e9;\n}\n.note, .ednote {\n border-color: #52e052;\n background: #e9fbe9;\n}\n\n.warning {\n border-color: #f11;\n border-width: .2em;\n border-style: solid;\n background: #fbe9e9;\n}\n\n.warning-title:before{\n content: "⚠"; /*U+26A0 WARNING SIGN*/\n font-size: 3em;\n float: left;\n height: 100%;\n padding-right: .3em;\n vertical-align: top;\n margin-top: -0.5em;\n}\n\nli.task-list-item {\n list-style: none;\n}\n\ninput.task-list-item-checkbox {\n margin: 0 0.35em 0.25em -1.6em;\n vertical-align: middle;\n}\n'}),define("github",[],function(){function e(e){var t=(e||"").match(/<([^>]+)>\s*;\s*rel="next"/);return t&&t[1]||null}function t(e,t){return t&&(t.url=e,e=t),$.ajax(e)}function n(e,t){return r(e,t,[])}function r(n,i,a){var o=t(n,i);return o.then(function(t){a.push.apply(a,t);var n=e(o.getResponseHeader("Link"));return n?r(n,i,a):a})}return{fetch:t,fetchAll:n,fetchIndex:function(e,t){return n(e.replace(/\{[^}]+\}/,""),t)}}}),define("core/issues-notes",["core/pubsubhub","deps/text!core/css/issues-notes.css","github"],function(e,t,n){return{run:function(r,i,a){function o(n,a,o){$(i).find("head link").first().before($("<style/>").text(t));var s=$(".issue[data-number]").length>0,l=0,u=$("<div><h2>Issue Summary</h2><ul></ul></div>"),c=u.find("ul");n.each(function(t,n){var i=$(n),u=i.hasClass("issue"),p=i.hasClass("warning"),d=i.hasClass("ednote"),f=i.hasClass("atrisk"),h="block"!=i.css("display"),m=i.attr("data-number"),g={inline:h,content:i.html()};if(g.type=u?"issue":p?"warning":d?"ednote":"note",!u||h||s?m&&(g.number=m):(l++,g.number=l),!h){var v,b=$("<div class='"+g.type+(f?" atrisk":"")+"'></div>"),y=$("<div class='"+g.type+"-title'><span></span></div>"),w=u?f?"Feature at Risk":"Issue":p?"Warning":d?"Editor's Note":r.l10n.note;if(g.title=i.attr("title"),u&&(s?m&&(w+=" "+m,!f&&o?y.find("span").wrap($("<a href='"+o+m+"'/>")):f&&r.atRiskBase&&y.find("span").wrap($("<a href='"+r.atRiskBase+m+"'/>")),v=a[m],v&&!g.title&&(g.title=v.title)):w+=" "+l,void 0!==g.number)){var x="issue-"+g.number,_=$("<li><a></a></li>"),T=_.find("a");b.attr("id",x),T.attr("href","#"+x).text("Issue "+g.number),g.title&&_.append($("<span style='text-transform: none'>: "+g.title+"</span>")),c.append(_)}y.find("span").text(w),g.title&&(y.append($("<span style='text-transform: none'>: "+g.title+"</span>")),i.removeAttr("title")),y.addClass("marker"),b.append(y),i.replaceWith(b);var E=i.removeClass(g.type).removeAttr("data-number");v&&!E.text().trim()&&(E=v.body_html),b.append(E)}e.pub(g.type,g)}),$(".issue").length?$("#issue-summary")&&$("#issue-summary").append(u.contents()):$("#issue-summary").length&&(e.pub("warn","Using issue summary (#issue-summary) but no issues found."),$("#issue-summary").remove())}var s=$(".issue, .note, .warning, .ednote"),l={},u=r.issueBase;s.length?r.githubAPI?n.fetch(r.githubAPI).then(function(e){return u=u||e.html_url+"/issues/",n.fetchIndex(e.issues_url,{headers:{Accept:"application/vnd.github.v3.html+json"}})}).then(function(e){e.forEach(function(e){l[e.number]=e}),o(s,l,u),a()}):(o(s,l,u),a()):a()}}}),define("core/requirements",["core/pubsubhub"],function(e){return{run:function(t,n,r){$(".req").each(function(t){t++;var n=$(this),r="Req. "+t;e.pub("req",{type:"req",number:t,content:n.html(),title:r}),n.prepend("<a href='#"+n.attr("id")+"'>"+r+"</a>: ")}),$("a.reqRef").each(function(){var t,n,r,i=$(this),a=i.attr("href");a&&(t=a.substring(1),n=$("#"+t),n.length?r=n.find("> a").text():(r="Req. not found '"+t+"'",e.pub("error","Requirement not found in a.reqRef: "+t)),i.text(r))}),r()}}}),define("deps/text!core/css/bp.css",[],function(){return"/* --- Best Practices --- */\ndiv.practice {\n border: solid #bebebe 1px;\n margin: 2em 1em 1em 2em;\n}\n\nspan.practicelab {\n margin: 1.5em 0.5em 1em 1em;\n font-weight: bold;\n font-style: italic;\n background: #dfffff;\n position: relative;\n padding: 0 0.5em;\n top: -1.5em;\n}\n\np.practicedesc {\n margin: 1.5em 0.5em 1em 1em;\n}\n\n@media screen {\n p.practicedesc {\n position: relative;\n top: -2em;\n padding: 0;\n margin: 1.5em 0.5em -1em 1em;\n }\n}\n"}),define("core/best-practices",["deps/text!core/css/bp.css","core/pubsubhub"],function(e,t){return{run:function(n,r,i){var a=0,o=$("span.practicelab",r),s=$("<div><h2>Best Practices Summary</h2><ul></ul></div>"),l=s.find("ul");o.each(function(){var e=$(this),t=e.makeID("bp"),n=$("<li><a></a></li>"),i=n.find("a");a++,i.attr("href","#"+t).text("Best Practice "+a),n.append(r.createTextNode(": "+e.text())),l.append(n),e.prepend(r.createTextNode("Best Practice "+a+": "))}),o.length?($(r).find("head link").first().before($("<style/>").text(e)),$("#bp-summary")&&$("#bp-summary").append(s.contents())):$("#bp-summary").length&&(t.pub("warn","Using best practices summary (#bp-summary) but no best practices found."),$("#bp-summary").remove()),i()}}}),define("core/figures",["core/pubsubhub"],function(e){return{run:function(t,n,r){$(".figure",n).each(function(t,n){var r=$(n),i=r.attr("title")||r.find("[title]").attr("title")||r.attr("alt")||r.find("[alt]").attr("alt")||"",a=$("<figcaption/>").text(i);r.is("div")?(e.pub("warn","You are using the deprecated div.figure syntax; please switch to <figure>."),r.append(a),r.renameElement("figure")):(e.pub("warn","You are using the deprecated img.figure syntax; please switch to <figure>."),r.wrap("<figure></figure>"),r.parent().append(a))});var i={},a=[],o=0;$("figure").each(function(){var r=$(this),s=r.find("figcaption"),l=s.text(),u=r.makeID("fig",l);s.length||e.pub("warn","A <figure> should contain a <figcaption>."),o++,s.wrapInner($("<span class='fig-title'/>")).prepend(n.createTextNode(" ")).prepend($("<span class='figno'>"+o+"</span>")).prepend(n.createTextNode(t.l10n.fig)),i[u]=s.contents();var c=s.clone();c.find("a").renameElement("span").removeAttr("href"),a.push($("<li class='tofline'><a class='tocxref' href='#"+u+"'></a></li>").find(".tocxref").append(c.contents()).end())}),$("a[href]",n).each(function(){var e=$(this),t=e.attr("href");t&&(t=t.substring(1),i[t]&&(e.addClass("fig-ref"),""===e.html()&&e.append(i[t].clone())))});var s=$("#tof",n);if(a.length&&s.length){s.hasClass("appendix")||s.hasClass("introductory")||s.parents("section").length||(s.prevAll("section.introductory").length==s.prevAll("section").length?s.addClass("introductory"):s.prevAll("appendix").length&&s.addClass("appendix")),s.append($("<h2>Table of Figures</h2>")),s.append($("<ul class='tof'/>"));for(var l=s.find("ul");a.length;)l.append(a.shift())}r()}}}),function(){function e(e,t,n,r){this.message=e,this.line=t,this.input=n,this.tokens=r}var t=function(e){for(var t=[],n={float:/^-?(([0-9]+\.[0-9]*|[0-9]*\.[0-9]+)([Ee][-+]?[0-9]+)?|[0-9]+[Ee][-+]?[0-9]+)/,integer:/^-?(0([Xx][0-9A-Fa-f]+|[0-7]*)|[1-9][0-9]*)/,identifier:/^[A-Z_a-z][0-9A-Z_a-z-]*/,string:/^"[^"]*"/,whitespace:/^(?:[\t\n\r ]+|[\t\n\r ]*((\/\/.*|\/\*(.|\n|\r)*?\*\/)[\t\n\r ]*))+/,other:/^[^\t\n\r 0-9A-Z_a-z]/},r=["float","integer","identifier","string","whitespace","other"];e.length>0;){for(var i=!1,a=0,o=r.length;a<o;a++){var s=r[a];if(e=e.replace(n[s],function(e){return t.push({type:s,value:e}),i=!0,""}),i)break}if(!i)throw new Error("Token stream not progressing")}return t};e.prototype.toString=function(){return this.message+", line "+this.line+" (tokens: '"+this.input+"')\n"+JSON.stringify(this.tokens,null,4)};var n=function(t,n){var r=1;t=t.slice();var i="float",a="integer",o="identifier",s="string",l="other",u=function(n){for(var i="",a=0,o=5;a<o&&t.length>a;)i+=t[a].value,a++;throw new e(n,r,i,t.slice(0,5))},c=null,p=function(e,n){if(t.length&&t[0].type===e)return"undefined"==typeof n||t[0].value===n?(c=t.shift(),e===o&&(c.value=c.value.replace(/^_/,"")),c):void 0},d=function(){if(t.length&&"whitespace"===t[0].type){var e=t.shift();return e.value.replace(/\n/g,function(e){return r++,e}),e}},f=function(e,t){for(var n={type:"whitespace",value:""};;){var r=d();if(!r)break;n.value+=r.value}if(n.value.length>0){if(e){var r=n.value,i={ws:/^([\t\n\r ]+)/,"line-comment":/^\/\/(.*)\n?/m,"multiline-comment":/^\/\*((?:.|\n|\r)*?)\*\//},a=[];for(var o in i)a.push(o);for(;r.length;){for(var s=!1,l=0,u=a.length;l<u;l++){var c=a[l];if(r=r.replace(i[c],function(n,r){return e.push({type:c+(t?"-"+t:""),value:r}),s=!0,""}),s)break}if(!s)throw new Error("Surprising white space construct.")}}return n}},h=function(){var e="";return f(),p(o,"unsigned")&&(e="unsigned "),f(),p(o,"short")?e+"short":p(o,"long")?(e+="long",f(),p(o,"long")?e+" long":e):void(e&&u("Failed to parse integer type"))},m=function(){var e="";return f(),p(o,"unrestricted")&&(e="unrestricted "),f(),p(o,"float")?e+"float":p(o,"double")?e+"double":void(e&&u("Failed to parse float type"))},g=function(){var e=h()||m();return e?e:(f(),p(o,"boolean")?"boolean":p(o,"byte")?"byte":p(o,"octet")?"octet":void 0)},v=function(){if(p(o,"true"))return{type:"boolean",value:!0};if(p(o,"false"))return{type:"boolean",value:!1};if(p(o,"null"))return{type:"null"};if(p(o,"Infinity"))return{type:"Infinity",negative:!1};if(p(o,"NaN"))return{type:"NaN"};var e=p(i)||p(a);if(e)return{type:"number",value:1*e.value};var n=p(l,"-");if(n){if(p(o,"Infinity"))return{type:"Infinity",negative:!0};t.unshift(n)}},b=function(e){for(;;)if(f(),p(l,"?"))e.nullable&&u("Can't nullable more than once"),e.nullable=!0;else{if(!p(l,"["))return;f(),p(l,"]")||u("Unterminated array type"),e.array?(e.array++,e.nullableArray.push(e.nullable)):(e.array=1,e.nullableArray=[e.nullable]),e.nullable=!1}},y=function(){var e,t,n=g(),r={sequence:!1,generic:null,nullable:!1,array:!1,union:!1};if(n)r.idlType=n;else{if(!(e=p(o)))return;if(t=e.value,f(),p(l,"<")){"sequence"===t&&(r.sequence=!0),r.generic=t;var i=[];do f(),i.push(x()||u("Error parsing generic type "+t)),f();while(p(l,","));return"sequence"===t?1!==i.length&&u("A sequence must have exactly one subtype"):"record"===t&&(2!==i.length&&u("A record must have exactly two subtypes"),/^(DOMString|USVString|ByteString)$/.test(i[0].idlType)||u("Record key must be DOMString, USVString, or ByteString")),r.idlType=1===i.length?i[0]:i,f(),p(l,">")||u("Unterminated generic type "+t),b(r),r}r.idlType=t}return b(r),r.nullable&&!r.array&&"any"===r.idlType&&u("Type any cannot be made nullable"),r},w=function(){if(f(),p(l,"(")){var e={sequence:!1,generic:null,nullable:!1,array:!1,union:!0,idlType:[]},t=x()||u("Union type with no content");for(e.idlType.push(t);f(),p(o,"or");){var n=x()||u("No type after 'or' in union type");e.idlType.push(n)}return p(l,")")||u("Unterminated union type"),b(e),e}},x=function(){return y()||w()},_=function(e){var n={optional:!1,variadic:!1};n.extAttrs=C(e),f(e,"pea");var r=p(o,"optional");if(r&&(n.optional=!0,f()),n.idlType=x(),!n.idlType)return void(r&&t.unshift(r));var i=c;n.optional||(f(),t.length>=3&&"other"===t[0].type&&"."===t[0].value&&"other"===t[1].type&&"."===t[1].value&&"other"===t[2].type&&"."===t[2].value&&(t.shift(),t.shift(),t.shift(),n.variadic=!0)),f();var a=p(o);if(!a)return r&&t.unshift(r),void t.unshift(i);if(n.name=a.value,n.optional){f();var s=S();"undefined"!=typeof s&&(n.default=s)}return n},T=function(e){var t=[],n=_(e?t:null);if(n)for(t.push(n);;){if(f(e?t:null),!p(l,","))return t;var r=_(e?t:null)||u("Trailing comma in arguments list");t.push(r)}},E=function(){f();var e=x();if(e&&(f(),p(l,","))){f();var t=x();if(t)return[e,t]}},k=function(e){f();var t=p(o);if(t){var n={name:t.value,arguments:null};f();var r=p(l,"=");if(r){var c;if(f(),c=p(o))n.rhs=c;else if(c=p(i))n.rhs=c;else if(c=p(a))n.rhs=c;else if(c=p(s))n.rhs=c;else if(p(l,"(")){c=[];var d=p(o);d&&(c=[d.value]),O(c),p(l,")")||u("Unexpected token in extended attribute argument list or type pair"),n.rhs={type:"identifier-list",value:c}}if(!n.rhs)return u("No right hand side to extended attribute assignment")}if(f(),p(l,"(")){var h,m;(h=T(e))?n.arguments=h:(m=E())?n.typePair=m:n.arguments=[],f(),p(l,")")||u("Unexpected token in extended attribute argument list or type pair")}return n}},C=function(e){var t=[];if(f(e),!p(l,"["))return t;for(t[0]=k(e)||u("Extended attribute with not content"),f();p(l,",");)t.push(k(e)||u("Trailing comma in extended attribute")),f();return p(l,"]")||u("No end of extended attribute"),t},S=function(){if(f(),p(l,"=")){f();var e=v();if(e)return e;if(p(l,"["))return p(l,"]")||u("Default sequence value must be empty"),{type:"sequence",value:[]};var t=p(s)||u("No value for default");return t.value=t.value.replace(/^"/,"").replace(/"$/,""),t}},R=function(e){if(f(e,"pea"),p(o,"const")){var t={type:"const",nullable:!1};f();var n=g();n||(n=p(o)||u("No type for const"),n=n.value),t.idlType=n,f(),p(l,"?")&&(t.nullable=!0,f());var r=p(o)||u("No name for const");t.name=r.value,f(),p(l,"=")||u("No value assignment for const"),f();var i=v();return i?t.value=i:u("No value for const"),f(),p(l,";")||u("Unterminated const"),t}},A=function(){if(f(),p(l,":")){f();var e=p(o)||u("No type in inheritance");return e.value}},D=function(e,t){f(),e||(e={});var n=p(o);return e.name=n?n.value:null,f(),p(l,"(")||u("Invalid operation"),e.arguments=T(t)||[],f(),p(l,")")||u("Unterminated operation"),f(),p(l,";")||u("Unterminated operation"),e},L=function(e){f(e,"pea");var n;if(p(o,"callback")){f();var r=p(o,"interface");if(r)return t.unshift(r),n=F(),n.type="callback interface",n;var i=p(o)||u("No name for callback");return n={type:"callback",name:i.value},f(),p(l,"=")||u("No assignment in callback"),f(),n.idlType=P(),f(),p(l,"(")||u("No arguments in callback"),n.arguments=T(e)||[],f(),p(l,")")||u("Unterminated callback"),f(),p(l,";")||u("Unterminated callback"),n}},N=function(e){f(e,"pea");var n=[],r={type:"attribute",static:!1,stringifier:!1,inherit:!1,readonly:!1};p(o,"static")?(r.static=!0,n.push(c)):p(o,"stringifier")&&(r.stringifier=!0,n.push(c));var i=f();if(i&&n.push(i),p(o,"inherit")){(r.static||r.stringifier)&&u("Cannot have a static or stringifier inherit"),r.inherit=!0,n.push(c);var i=f();i&&n.push(i)}if(p(o,"readonly")){r.readonly=!0,n.push(c);var i=f();i&&n.push(i)}if(!p(o,"attribute"))return void(t=n.concat(t));f(),r.idlType=x()||u("No type in attribute"),r.idlType.sequence&&u("Attributes cannot accept sequence types"),"record"===r.idlType.generic&&u("Attributes cannot accept record types"),f();var a=p(o)||u("No name in attribute");return r.name=a.value,f(),p(l,";")||u("Unterminated attribute"),r},P=function(){var e=x();if(!e){if(p(o,"void"))return"void";u("No return type")}return e},j=function(e){f(e,"pea");for(var t={type:"operation",getter:!1,setter:!1,creator:!1,deleter:!1,legacycaller:!1,static:!1,stringifier:!1};;)if(f(),p(o,"getter"))t.getter=!0;else if(p(o,"setter"))t.setter=!0;else if(p(o,"creator"))t.creator=!0;else if(p(o,"deleter"))t.deleter=!0;else{if(!p(o,"legacycaller"))break;t.legacycaller=!0}if(t.getter||t.setter||t.creator||t.deleter||t.legacycaller)return f(),t.idlType=P(),D(t,e),t;if(p(o,"static"))return t.static=!0,t.idlType=P(),D(t,e),t;if(p(o,"stringifier"))return t.stringifier=!0,-f(),p(l,";")?t:(t.idlType=P(),D(t,e),t);if(t.idlType=P(),f(),p(o,"iterator")){if(f(),t.type="iterator",p(o,"object"))t.iteratorObject="object";else if(p(l,"=")){f();var n=p(o)||u("No right hand side in iterator");t.iteratorObject=n.value}return f(),p(l,";")||u("Unterminated iterator"),t}return D(t,e),t},O=function(e){for(;f(),p(l,",");){f();var t=p(o)||u("Trailing comma in identifiers list");e.push(t.value)}},M=function(e){if(f(e,"pea"),p(o,"serializer")){var t={type:"serializer"};if(f(),p(l,"=")){if(f(),p(l,"{")){t.patternMap=!0,f();var n=p(o);n&&"getter"===n.value?t.names=["getter"]:n&&"inherit"===n.value?(t.names=["inherit"],O(t.names)):n?(t.names=[n.value],O(t.names)):t.names=[],f(),p(l,"}")||u("Unterminated serializer pattern map")}else if(p(l,"[")){t.patternList=!0,f();var n=p(o);n&&"getter"===n.value?t.names=["getter"]:n?(t.names=[n.value],O(t.names)):t.names=[],f(),p(l,"]")||u("Unterminated serializer pattern list")}else{var r=p(o)||u("Invalid serializer");t.name=r.value}return f(),p(l,";")||u("Unterminated serializer"),t}return p(l,";")||(t.idlType=P(),f(),t.operation=D(null,e)),t}},I=function(){return p(o,"iterable")?"iterable":p(o,"legacyiterable")?"legacyiterable":p(o,"maplike")?"maplike":p(o,"setlike")?"setlike":void 0},q=function(){return p(o,"maplike")?"maplike":p(o,"setlike")?"setlike":void 0},$=function(e){f(e,"pea");var n=[],r={type:null,idlType:null,readonly:!1};if(p(o,"readonly")){r.readonly=!0,n.push(c);var i=f();i&&n.push(i)}var a=r.readonly?q:I,s=a();if(!s)return void(t=n.concat(t));var d="maplike"===s,h=d||"iterable"===s;if(r.type=s,"maplike"!==r.type&&"setlike"!==r.type&&delete r.readonly,f(),p(l,"<")){if(r.idlType=x()||u("Error parsing "+s+" declaration"),f(),h){var m=null;p(l,",")&&(f(),m=x(),f()),m?r.idlType=[r.idlType,m]:d&&u("Missing second type argument in "+s+" declaration")}p(l,">")||u("Unterminated "+s+" declaration"),f(),p(l,";")||u("Missing semicolon after "+s+" declaration")}else u("Error parsing "+s+" declaration");return r},F=function(e,t){if(f(e?null:t,"pea"),p(o,"interface")){f();var r=p(o)||u("No name for interface"),i=[],a={type:"interface",name:r.value,partial:!1,members:i};for(e||(a.inheritance=A()||null),f(),p(l,"{")||u("Bodyless interface");;){if(f(t?i:null),p(l,"}"))return f(),p(l,";")||u("Missing semicolon after interface"),a;var s=C(t?i:null);f();var c=R(t?i:null);if(c)c.extAttrs=s,a.members.push(c);else{var d=n.allowNestedTypedefs&&B(t?i:null)||$(t?i:null)||M(t?i:null)||N(t?i:null)||j(t?i:null)||u("Unknown member");d.extAttrs=s,a.members.push(d)}}}},U=function(e){if(f(e,"pea"),p(o,"partial")){var t=K(!0,e)||F(!0,e)||u("Partial doesn't apply to anything");return t.partial=!0,t}},K=function(e,t){if(f(e?null:t,"pea"),p(o,"dictionary")){f();var n=p(o)||u("No name for dictionary"),r=[],i={type:"dictionary",name:n.value,partial:!1,members:r};for(e||(i.inheritance=A()||null),f(),p(l,"{")||u("Bodyless dictionary");;){if(f(t?r:null),p(l,"}"))return f(),p(l,";")||u("Missing semicolon after dictionary"),i;var a=C(t?r:null);f(t?r:null,"pea");var s=p(o,"required"),c=x()||u("No type for dictionary member");f();var n=p(o)||u("No name for dictionary member"),d=S();s&&d&&u("Required member must not have a default");var h={type:"field",name:n.value,required:!!s,idlType:c,extAttrs:a};"undefined"!=typeof d&&(h.default=d),i.members.push(h),f(),p(l,";")||u("Unterminated dictionary member")}}},W=function(e){if(f(e,"pea"),p(o,"exception")){f();var t=p(o)||u("No name for exception"),n=[],r={type:"exception",name:t.value,members:n};for(r.inheritance=A()||null,f(),p(l,"{")||u("Bodyless exception");;){if(f(e?n:null),p(l,"}"))return f(),p(l,";")||u("Missing semicolon after exception"),r;var i=C(e?n:null);f(e?n:null,"pea");var a=R();if(a)a.extAttrs=i,r.members.push(a);else{var s=x();f();var t=p(o);f(),s&&t&&p(l,";")||u("Unknown member in exception body"),r.members.push({type:"field",name:t.value,idlType:s,extAttrs:i})}}}},H=function(e){if(f(e,"pea"),p(o,"enum")){f();var t=p(o)||u("No name for enum"),n=[],r={type:"enum",name:t.value,values:n};f(),p(l,"{")||u("No curly for enum");for(var i=!1;;){if(f(e?n:null),p(l,"}"))return f(),p(l,";")||u("No semicolon after enum"),r;var a=p(s)||u("Unexpected value in enum");r.values.push(a.value.replace(/"/g,"")),f(e?n:null),p(l,",")?(e&&n.push({type:","}),f(e?n:null),i=!0):i=!1}}},B=function(e){if(f(e,"pea"),p(o,"typedef")){var t={type:"typedef"};f(),t.typeExtAttrs=C(),f(e,"tpea"),t.idlType=x()||u("No type in typedef"),f();var n=p(o)||u("No name in typedef");return t.name=n.value,f(),p(l,";")||u("Unterminated typedef"),t}},V=function(e){f(e,"pea");var n=p(o);if(n){var r=f();if(p(o,"implements")){var i={type:"implements",target:n.value};f();var a=p(o)||u("Incomplete implements statement");return i.implements=a.value,f(),p(l,";")||u("No terminating ; for implements statement"),i}t.unshift(r),t.unshift(n)}},G=function(e){return L(e)||F(!1,e)||U(e)||K(!1,e)||W(e)||H(e)||B(e)||V(e)},z=function(e){if(!t.length)return[];for(var n=[];;){var r=C(e?n:null),i=G(e?n:null);if(!i){r.length&&u("Stray extended attributes");break}i.extAttrs=r,n.push(i)}return n},X=z(n.ws);return t.length&&u("Unrecognised tokens"),X},r={parse:function(e,r){r||(r={});var i=t(e);return n(i,r)}};"undefined"!=typeof module&&"undefined"!=typeof module.exports?module.exports=r:"function"==typeof define&&define.amd?define("deps/webidl2",[],function(){return r}):(self||window).WebIDL2=r}(),define("deps/text!core/css/webidl-oldschool.css",[],function(){return'/* --- WEB IDL --- */\npre.idl {\n border-top: 1px solid #90b8de;\n border-bottom: 1px solid #90b8de;\n padding: 1em;\n line-height: 120%;\n}\n\n.respec-idl-separator {\n padding: 0 0 0.4cm 0;\n}\n\n.respec-idl-separator:last-child {\n padding: 0;\n}\n\n@media print {\n pre.idl {\n white-space: pre-wrap;\n }\n}\n\npre.idl::before {\n content: "WebIDL";\n display: block;\n width: 150px;\n background: #90b8de;\n color: #fff;\n font-family: sans-serif;\n padding: 3px;\n font-weight: bold;\n margin: -1em 0 1em -1em;\n}\n\n.idlType {\n color: #ff4500;\n font-weight: bold;\n text-decoration: none;\n}\n\n/*.idlModule*/\n/*.idlModuleID*/\n/*.idlInterface*/\n.idlInterfaceID, .idlDictionaryID, .idlCallbackID, .idlEnumID {\n font-weight: bold;\n color: #005a9c;\n}\na.idlEnumItem {\n color: #000;\n border-bottom: 1px dotted #ccc;\n text-decoration: none;\n}\n\n.idlSuperclass {\n font-style: italic;\n color: #005a9c;\n}\n\n/*.idlAttribute*/\n.idlAttrType, .idlFieldType, .idlMemberType {\n color: #005a9c;\n}\n.idlAttrName, .idlFieldName, .idlMemberName {\n color: #ff4500;\n}\n.idlAttrName a, .idlFieldName a, .idlMemberName a {\n color: #ff4500;\n border-bottom: 1px dotted #ff4500;\n text-decoration: none;\n}\n\n/*.idlMethod*/\n.idlMethType, .idlCallbackType {\n color: #005a9c;\n}\n.idlMethName {\n color: #ff4500;\n}\n.idlMethName a {\n color: #ff4500;\n border-bottom: 1px dotted #ff4500;\n text-decoration: none;\n}\n\n/*.idlCtor*/\n.idlCtorName {\n color: #ff4500;\n}\n.idlCtorName a {\n color: #ff4500;\n border-bottom: 1px dotted #ff4500;\n text-decoration: none;\n}\n\n/*.idlParam*/\n.idlParamType {\n color: #005a9c;\n}\n.idlParamName, .idlDefaultValue {\n font-style: italic;\n}\n\n.extAttr {\n color: #666;\n}\n\n/*.idlSectionComment*/\n.idlSectionComment {\n color: gray;\n}\n\n/*.idlIterable*/\n.idlIterableKeyType, .idlIterableValueType {\n color: #005a9c;\n}\n\n/*.idlMaplike*/\n.idlMaplikeKeyType, .idlMaplikeValueType {\n color: #005a9c;\n}\n\n/*.idlConst*/\n.idlConstType {\n color: #005a9c;\n}\n.idlConstName {\n color: #ff4500;\n}\n.idlConstName a {\n color: #ff4500;\n border-bottom: 1px dotted #ff4500;\n text-decoration: none;\n}\n\n/*.idlException*/\n.idlExceptionID {\n font-weight: bold;\n color: #c00;\n}\n\n.idlTypedefID, .idlTypedefType {\n color: #005a9c;\n}\n\n.idlRaises, .idlRaises a.idlType, .idlRaises a.idlType code, .excName a, .excName a code {\n color: #c00;\n font-weight: normal;\n}\n\n.excName a {\n font-family: monospace;\n}\n\n.idlRaises a.idlType, .excName a.idlType {\n border-bottom: 1px dotted #c00;\n}\n\n.excGetSetTrue, .excGetSetFalse, .prmNullTrue, .prmNullFalse, .prmOptTrue, .prmOptFalse {\n width: 45px;\n text-align: center;\n}\n.excGetSetTrue, .prmNullTrue, .prmOptTrue { color: #0c0; }\n.excGetSetFalse, .prmNullFalse, .prmOptFalse { color: #c00; }\n\n.idlImplements a {\n font-weight: bold;\n}\n\ndl.attributes, dl.methods, dl.constants, dl.constructors, dl.fields, dl.dictionary-members {\n margin-left: 2em;\n}\n\n.attributes dt, .methods dt, .constants dt, .constructors dt, .fields dt, .dictionary-members dt {\n font-weight: normal;\n}\n\n.attributes dt code, .methods dt code, .constants dt code, .constructors dt code, .fields dt code, .dictionary-members dt code {\n font-weight: bold;\n color: #000;\n font-family: monospace;\n}\n\n.attributes dt code, .fields dt code, .dictionary-members dt code {\n background: #ffffd2;\n}\n\n.attributes dt .idlAttrType code, .fields dt .idlFieldType code, .dictionary-members dt .idlMemberType code {\n color: #005a9c;\n background: transparent;\n font-family: inherit;\n font-weight: normal;\n font-style: italic;\n}\n\n.methods dt code {\n background: #d9e6f8;\n}\n\n.constants dt code {\n background: #ddffd2;\n}\n\n.constructors dt code {\n background: #cfc;\n}\n\n.attributes dd, .methods dd, .constants dd, .constructors dd, .fields dd, .dictionary-members dd {\n margin-bottom: 1em;\n}\n\ntable.parameters, table.exceptions {\n border-spacing: 0;\n border-collapse: collapse;\n margin: 0.5em 0;\n width: 100%;\n}\ntable.parameters { border-bottom: 1px solid #90b8de; }\ntable.exceptions { border-bottom: 1px solid #deb890; }\n\n.parameters th, .exceptions th {\n color: inherit;\n padding: 3px 5px;\n text-align: left;\n font-weight: normal;\n}\n.parameters th { color: #fff; background: #005a9c; }\n.exceptions th { background: #deb890; }\n\n.parameters td, .exceptions td {\n padding: 3px 10px;\n border-top: 1px solid #ddd;\n vertical-align: top;\n}\n\n.parameters tr:first-child td, .exceptions tr:first-child td {\n border-top: none;\n}\n\n.parameters td.prmName, .exceptions td.excName, .exceptions td.excCodeName {\n width: 100px;\n}\n\n.parameters td.prmType {\n width: 120px;\n}\n\ntable.exceptions table {\n border-spacing: 0;\n border-collapse: collapse;\n width: 100%;\n}\n';
}),define("core/templates/webidl-contiguous/compiled",["handlebars.runtime"],function(e){e=e.default;var t=e.template,n=e.templates=e.templates||{};return n["attribute.html"]=t({1:function(e,t,n,r,i){var a;return e.escapeExpression((n.escapeAttributeName||t&&t.escapeAttributeName||n.helperMissing).call(null!=t?t:{},null!=(a=null!=t?t.obj:t)?a.name:a,{name:"escapeAttributeName",hash:{},data:i}))},compiler:[7,">= 4.0.0"],main:function(e,t,n,r,i){var a,o,s=e.lambda,l=e.escapeExpression,u=null!=t?t:{},c=n.helperMissing;return"<span class='idlAttribute' id=\""+l(s(null!=(a=null!=t?t.obj:t)?a.idlId:a,t))+"\" data-idl data-title='"+l(s(null!=(a=null!=t?t.obj:t)?a.name:a,t))+"'>"+l((n.extAttr||t&&t.extAttr||c).call(u,null!=t?t.obj:t,null!=t?t.indent:t,{name:"extAttr",hash:{},data:i}))+l((n.idn||t&&t.idn||c).call(u,null!=t?t.indent:t,{name:"idn",hash:{},data:i}))+l((o=null!=(o=n.qualifiers||(null!=t?t.qualifiers:t))?o:c,"function"==typeof o?o.call(u,{name:"qualifiers",hash:{},data:i}):o))+"attribute <span class='idlAttrType'>"+l((n.idlType||t&&t.idlType||c).call(u,null!=t?t.obj:t,{name:"idlType",hash:{},data:i}))+"</span> "+l((n.pads||t&&t.pads||c).call(u,null!=t?t.pad:t,{name:"pads",hash:{},data:i}))+"<span class='idlAttrName'>"+(null!=(a=(n.tryLink||t&&t.tryLink||c).call(u,null!=t?t.obj:t,{name:"tryLink",hash:{},fn:e.program(1,i,0),inverse:e.noop,data:i}))?a:"")+"</span>;</span>\n"},useData:!0}),n["callback.html"]=t({1:function(e,t,n,r,i){var a;return e.escapeExpression(e.lambda(null!=(a=null!=t?t.obj:t)?a.name:a,t))},compiler:[7,">= 4.0.0"],main:function(e,t,n,r,i){var a,o,s=e.lambda,l=e.escapeExpression,u=null!=t?t:{},c=n.helperMissing;return"<span class='idlCallback' id='"+l(s(null!=(a=null!=t?t.obj:t)?a.idlId:a,t))+"' data-idl data-title='"+l(s(null!=(a=null!=t?t.obj:t)?a.name:a,t))+"'>"+l((n.extAttr||t&&t.extAttr||c).call(u,null!=t?t.obj:t,null!=t?t.indent:t,{name:"extAttr",hash:{},data:i}))+l((n.idn||t&&t.idn||c).call(u,null!=t?t.indent:t,{name:"idn",hash:{},data:i}))+"callback <span class='idlCallbackID'>"+(null!=(a=(n.tryLink||t&&t.tryLink||c).call(u,null!=t?t.obj:t,{name:"tryLink",hash:{},fn:e.program(1,i,0),inverse:e.noop,data:i}))?a:"")+"</span> = <span class='idlCallbackType'>"+l((n.idlType||t&&t.idlType||c).call(u,null!=t?t.obj:t,{name:"idlType",hash:{},data:i}))+"</span> ("+(null!=(o=null!=(o=n.children||(null!=t?t.children:t))?o:c,a="function"==typeof o?o.call(u,{name:"children",hash:{},data:i}):o)?a:"")+");</span>"},useData:!0}),n["const.html"]=t({1:function(e,t,n,r,i){var a;return e.escapeExpression(e.lambda(null!=(a=null!=t?t.obj:t)?a.name:a,t))},compiler:[7,">= 4.0.0"],main:function(e,t,n,r,i){var a,o,s=e.lambda,l=e.escapeExpression,u=null!=t?t:{},c=n.helperMissing;return"<span class='idlConst' id=\""+l(s(null!=(a=null!=t?t.obj:t)?a.idlId:a,t))+"\" data-idl data-title='"+l(s(null!=(a=null!=t?t.obj:t)?a.name:a,t))+"'>"+l((n.extAttr||t&&t.extAttr||c).call(u,null!=t?t.obj:t,null!=t?t.indent:t,{name:"extAttr",hash:{},data:i}))+l((n.idn||t&&t.idn||c).call(u,null!=t?t.indent:t,{name:"idn",hash:{},data:i}))+"const <span class='idlConstType'>"+l((n.idlType||t&&t.idlType||c).call(u,null!=t?t.obj:t,{name:"idlType",hash:{},data:i}))+"</span>"+l((o=null!=(o=n.nullable||(null!=t?t.nullable:t))?o:c,"function"==typeof o?o.call(u,{name:"nullable",hash:{},data:i}):o))+" "+l((n.pads||t&&t.pads||c).call(u,null!=t?t.pad:t,{name:"pads",hash:{},data:i}))+"<span class='idlConstName'>"+(null!=(a=(n.tryLink||t&&t.tryLink||c).call(u,null!=t?t.obj:t,{name:"tryLink",hash:{},fn:e.program(1,i,0),inverse:e.noop,data:i}))?a:"")+"</span> = <span class='idlConstValue'>"+l((n.stringifyIdlConst||t&&t.stringifyIdlConst||c).call(u,null!=(a=null!=t?t.obj:t)?a.value:a,{name:"stringifyIdlConst",hash:{},data:i}))+"</span>;</span>\n"},useData:!0}),n["dict-member.html"]=t({1:function(e,t,n,r,i){var a;return e.escapeExpression(e.lambda(null!=(a=null!=t?t.obj:t)?a.name:a,t))},3:function(e,t,n,r,i){var a;return" = <span class='idlMemberValue'>"+e.escapeExpression((n.stringifyIdlConst||t&&t.stringifyIdlConst||n.helperMissing).call(null!=t?t:{},null!=(a=null!=t?t.obj:t)?a.default:a,{name:"stringifyIdlConst",hash:{},data:i}))+"</span>"},compiler:[7,">= 4.0.0"],main:function(e,t,n,r,i){var a,o,s=e.lambda,l=e.escapeExpression,u=null!=t?t:{},c=n.helperMissing;return"<span class='idlMember' id=\""+l(s(null!=(a=null!=t?t.obj:t)?a.idlId:a,t))+"\" data-idl data-title='"+l(s(null!=(a=null!=t?t.obj:t)?a.name:a,t))+"'>"+l((n.extAttr||t&&t.extAttr||c).call(u,null!=t?t.obj:t,null!=t?t.indent:t,{name:"extAttr",hash:{},data:i}))+l((n.idn||t&&t.idn||c).call(u,null!=t?t.indent:t,{name:"idn",hash:{},data:i}))+l((o=null!=(o=n.qualifiers||(null!=t?t.qualifiers:t))?o:c,"function"==typeof o?o.call(u,{name:"qualifiers",hash:{},data:i}):o))+"<span class='idlMemberType'>"+l((n.idlType||t&&t.idlType||c).call(u,null!=t?t.obj:t,{name:"idlType",hash:{},data:i}))+"</span> "+l((n.pads||t&&t.pads||c).call(u,null!=t?t.typePad:t,{name:"pads",hash:{},data:i}))+"<span class='idlMemberName'>"+(null!=(a=(n.tryLink||t&&t.tryLink||c).call(u,null!=t?t.obj:t,{name:"tryLink",hash:{},fn:e.program(1,i,0),inverse:e.noop,data:i}))?a:"")+"</span>"+(null!=(a=n.if.call(u,null!=(a=null!=t?t.obj:t)?a.default:a,{name:"if",hash:{},fn:e.program(3,i,0),inverse:e.noop,data:i}))?a:"")+";</span>\n"},useData:!0}),n["dictionary.html"]=t({1:function(e,t,n,r,i){var a;return e.escapeExpression(e.lambda(null!=(a=null!=t?t.obj:t)?a.name:a,t))},3:function(e,t,n,r,i){var a;return" : <span class='idlSuperclass'><a>"+e.escapeExpression(e.lambda(null!=(a=null!=t?t.obj:t)?a.inheritance:a,t))+"</a></span>"},compiler:[7,">= 4.0.0"],main:function(e,t,n,r,i){var a,o,s=e.lambda,l=e.escapeExpression,u=null!=t?t:{},c=n.helperMissing,p="function";return"<span class='idlDictionary' id='"+l(s(null!=(a=null!=t?t.obj:t)?a.idlId:a,t))+"' data-idl data-title='"+l(s(null!=(a=null!=t?t.obj:t)?a.name:a,t))+"'>"+l((n.extAttr||t&&t.extAttr||c).call(u,null!=t?t.obj:t,null!=t?t.indent:t,{name:"extAttr",hash:{},data:i}))+l((n.idn||t&&t.idn||c).call(u,null!=t?t.indent:t,{name:"idn",hash:{},data:i}))+l((o=null!=(o=n.partial||(null!=t?t.partial:t))?o:c,typeof o===p?o.call(u,{name:"partial",hash:{},data:i}):o))+"dictionary <span class='idlDictionaryID'>"+(null!=(a=(n.tryLink||t&&t.tryLink||c).call(u,null!=t?t.obj:t,{name:"tryLink",hash:{},fn:e.program(1,i,0),inverse:e.noop,data:i}))?a:"")+"</span>"+(null!=(a=n.if.call(u,null!=(a=null!=t?t.obj:t)?a.inheritance:a,{name:"if",hash:{},fn:e.program(3,i,0),inverse:e.noop,data:i}))?a:"")+" {\n"+(null!=(o=null!=(o=n.children||(null!=t?t.children:t))?o:c,a=typeof o===p?o.call(u,{name:"children",hash:{},data:i}):o)?a:"")+"};</span>"},useData:!0}),n["enum-item.html"]=t({1:function(e,t,n,r,i){return","},compiler:[7,">= 4.0.0"],main:function(e,t,n,r,i){var a,o,s=null!=t?t:{},l=n.helperMissing,u=e.escapeExpression,c="function";return u((n.idn||t&&t.idn||l).call(s,null!=t?t.indent:t,{name:"idn",hash:{},data:i}))+'<a href="#dom-'+u((o=null!=(o=n.parentID||(null!=t?t.parentID:t))?o:l,typeof o===c?o.call(s,{name:"parentID",hash:{},data:i}):o))+"-"+u((o=null!=(o=n.lname||(null!=t?t.lname:t))?o:l,typeof o===c?o.call(s,{name:"lname",hash:{},data:i}):o))+'" class="idlEnumItem">"'+u((o=null!=(o=n.name||(null!=t?t.name:t))?o:l,typeof o===c?o.call(s,{name:"name",hash:{},data:i}):o))+'"</a>'+(null!=(a=n.if.call(s,null!=t?t.needsComma:t,{name:"if",hash:{},fn:e.program(1,i,0),inverse:e.noop,data:i}))?a:"")+"\n"},useData:!0}),n["enum.html"]=t({1:function(e,t,n,r,i){var a;return e.escapeExpression(e.lambda(null!=(a=null!=t?t.obj:t)?a.name:a,t))},compiler:[7,">= 4.0.0"],main:function(e,t,n,r,i){var a,o,s=e.lambda,l=e.escapeExpression,u=null!=t?t:{},c=n.helperMissing;return"<span class='idlEnum' id='"+l(s(null!=(a=null!=t?t.obj:t)?a.idlId:a,t))+"' data-idl data-title='"+l(s(null!=(a=null!=t?t.obj:t)?a.name:a,t))+"'>"+l((n.extAttr||t&&t.extAttr||c).call(u,null!=t?t.obj:t,null!=t?t.indent:t,{name:"extAttr",hash:{},data:i}))+l((n.idn||t&&t.idn||c).call(u,null!=t?t.indent:t,{name:"idn",hash:{},data:i}))+"enum <span class='idlEnumID'>"+(null!=(a=(n.tryLink||t&&t.tryLink||c).call(u,null!=t?t.obj:t,{name:"tryLink",hash:{},fn:e.program(1,i,0),inverse:e.noop,data:i}))?a:"")+"</span> {\n"+(null!=(o=null!=(o=n.children||(null!=t?t.children:t))?o:c,a="function"==typeof o?o.call(u,{name:"children",hash:{},data:i}):o)?a:"")+l((n.idn||t&&t.idn||c).call(u,null!=t?t.indent:t,{name:"idn",hash:{},data:i}))+"};</span>"},useData:!0}),n["exception.html"]=t({1:function(e,t,n,r,i){var a;return e.escapeExpression(e.lambda(null!=(a=null!=t?t.obj:t)?a.name:a,t))},3:function(e,t,n,r,i){var a;return" : <span class='idlSuperclass'><a>"+e.escapeExpression(e.lambda(null!=(a=null!=t?t.obj:t)?a.inheritance:a,t))+"</a></span>"},compiler:[7,">= 4.0.0"],main:function(e,t,n,r,i){var a,o,s=e.lambda,l=e.escapeExpression,u=null!=t?t:{},c=n.helperMissing;return"<span class='idlException' id='"+l(s(null!=(a=null!=t?t.obj:t)?a.idlId:a,t))+"' data-idl data-title='"+l(s(null!=(a=null!=t?t.obj:t)?a.name:a,t))+"'>"+l((n.extAttr||t&&t.extAttr||c).call(u,null!=t?t.obj:t,null!=t?t.indent:t,{name:"extAttr",hash:{},data:i}))+l((n.idn||t&&t.idn||c).call(u,null!=t?t.indent:t,{name:"idn",hash:{},data:i}))+"exception <span class='idlExceptionID'>"+(null!=(a=(n.tryLink||t&&t.tryLink||c).call(u,null!=t?t.obj:t,{name:"tryLink",hash:{},fn:e.program(1,i,0),inverse:e.noop,data:i}))?a:"")+"</span>"+(null!=(a=n.if.call(u,null!=(a=null!=t?t.obj:t)?a.inheritance:a,{name:"if",hash:{},fn:e.program(3,i,0),inverse:e.noop,data:i}))?a:"")+" {\n"+(null!=(o=null!=(o=n.children||(null!=t?t.children:t))?o:c,a="function"==typeof o?o.call(u,{name:"children",hash:{},data:i}):o)?a:"")+l((n.idn||t&&t.idn||c).call(u,null!=t?t.indent:t,{name:"idn",hash:{},data:i}))+"};</span>"},useData:!0}),n["extended-attribute.html"]=t({1:function(e,t,n,r,i){var a,o,s=null!=t?t:{},l=n.helperMissing,u="function",c=e.escapeExpression;return"<span class='"+c((o=null!=(o=n.extAttrClassName||(null!=t?t.extAttrClassName:t))?o:l,typeof o===u?o.call(s,{name:"extAttrClassName",hash:{},data:i}):o))+'\'><span class="extAttrName">'+c((o=null!=(o=n.name||(null!=t?t.name:t))?o:l,typeof o===u?o.call(s,{name:"name",hash:{},data:i}):o))+"</span>"+(null!=(a=n.if.call(s,null!=t?t.rhs:t,{name:"if",hash:{},fn:e.program(2,i,0),inverse:e.noop,data:i}))?a:"")+(null!=(a=(n.jsIf||t&&t.jsIf||l).call(s,null!=t?t.arguments:t,{name:"jsIf",hash:{},fn:e.program(5,i,0),inverse:e.noop,data:i}))?a:"")+"</span>"},2:function(e,t,n,r,i){var a;return'=<span class="extAttrRhs">'+(null!=(a=(n.extAttrRhs||t&&t.extAttrRhs||n.helperMissing).call(null!=t?t:{},null!=t?t.rhs:t,{name:"extAttrRhs",hash:{},fn:e.program(3,i,0),inverse:e.noop,data:i}))?a:"")+"</span>"},3:function(e,t,n,r,i){return e.escapeExpression(e.lambda(t,t))},5:function(e,t,n,r,i){var a;return"("+(null!=(a=(n.joinNonWhitespace||t&&t.joinNonWhitespace||n.helperMissing).call(null!=t?t:{},null!=t?t.arguments:t,", ",{name:"joinNonWhitespace",hash:{},fn:e.program(6,i,0),inverse:e.noop,data:i}))?a:"")+")"},6:function(e,t,n,r,i){return e.escapeExpression((n.param||t&&t.param||n.helperMissing).call(null!=t?t:{},t,{name:"param",hash:{},data:i}))},compiler:[7,">= 4.0.0"],main:function(e,t,n,r,i){var a,o,s=null!=t?t:{},l=n.helperMissing,u=e.escapeExpression;return u((n.idn||t&&t.idn||l).call(s,null!=t?t.indent:t,{name:"idn",hash:{},data:i}))+"["+(null!=(a=(n.join||t&&t.join||l).call(s,null!=t?t.extAttrs:t,null!=t?t.sep:t,{name:"join",hash:{},fn:e.program(1,i,0),inverse:e.noop,data:i}))?a:"")+"]"+u((o=null!=(o=n.end||(null!=t?t.end:t))?o:l,"function"==typeof o?o.call(s,{name:"end",hash:{},data:i}):o))},useData:!0}),n["field.html"]=t({1:function(e,t,n,r,i){var a;return e.escapeExpression(e.lambda(null!=(a=null!=t?t.obj:t)?a.name:a,t))},compiler:[7,">= 4.0.0"],main:function(e,t,n,r,i){var a,o=e.lambda,s=e.escapeExpression,l=null!=t?t:{},u=n.helperMissing;return"<span class='idlField' id=\""+s(o(null!=(a=null!=t?t.obj:t)?a.idlId:a,t))+"\" data-idl data-title='"+s(o(null!=(a=null!=t?t.obj:t)?a.name:a,t))+"'>"+s((n.extAttr||t&&t.extAttr||u).call(l,null!=t?t.obj:t,null!=t?t.indent:t,{name:"extAttr",hash:{},data:i}))+s((n.idn||t&&t.idn||u).call(l,null!=t?t.indent:t,{name:"idn",hash:{},data:i}))+"<span class='idlFieldType'>"+s((n.idlType||t&&t.idlType||u).call(l,null!=t?t.obj:t,{name:"idlType",hash:{},data:i}))+"</span> "+s((n.pads||t&&t.pads||u).call(l,null!=t?t.pad:t,{name:"pads",hash:{},data:i}))+"<span class='idlFieldName'>"+(null!=(a=(n.tryLink||t&&t.tryLink||u).call(l,null!=t?t.obj:t,{name:"tryLink",hash:{},fn:e.program(1,i,0),inverse:e.noop,data:i}))?a:"")+"</span>;</span>\n"},useData:!0}),n["implements.html"]=t({compiler:[7,">= 4.0.0"],main:function(e,t,n,r,i){var a,o=null!=t?t:{},s=n.helperMissing,l=e.escapeExpression,u=e.lambda;return"<span class='idlImplements'>"+l((n.extAttr||t&&t.extAttr||s).call(o,null!=t?t.obj:t,null!=t?t.indent:t,{name:"extAttr",hash:{},data:i}))+l((n.idn||t&&t.idn||s).call(o,null!=t?t.indent:t,{name:"idn",hash:{},data:i}))+"<a>"+l(u(null!=(a=null!=t?t.obj:t)?a.target:a,t))+"</a> implements <a>"+l(u(null!=(a=null!=t?t.obj:t)?a.implements:a,t))+"</a>;</span>"},useData:!0}),n["interface.html"]=t({1:function(e,t,n,r,i){var a;return e.escapeExpression(e.lambda(null!=(a=null!=t?t.obj:t)?a.name:a,t))},3:function(e,t,n,r,i){var a;return" : <span class='idlSuperclass'><a>"+e.escapeExpression(e.lambda(null!=(a=null!=t?t.obj:t)?a.inheritance:a,t))+"</a></span>"},compiler:[7,">= 4.0.0"],main:function(e,t,n,r,i){var a,o,s=e.lambda,l=e.escapeExpression,u=null!=t?t:{},c=n.helperMissing,p="function";return"<span class='idlInterface' id='"+l(s(null!=(a=null!=t?t.obj:t)?a.idlId:a,t))+"' data-idl data-title='"+l(s(null!=(a=null!=t?t.obj:t)?a.name:a,t))+"'>"+l((n.extAttr||t&&t.extAttr||c).call(u,null!=t?t.obj:t,null!=t?t.indent:t,{name:"extAttr",hash:{},data:i}))+l((n.idn||t&&t.idn||c).call(u,null!=t?t.indent:t,{name:"idn",hash:{},data:i}))+l((o=null!=(o=n.partial||(null!=t?t.partial:t))?o:c,typeof o===p?o.call(u,{name:"partial",hash:{},data:i}):o))+l((o=null!=(o=n.callback||(null!=t?t.callback:t))?o:c,typeof o===p?o.call(u,{name:"callback",hash:{},data:i}):o))+"interface <span class='idlInterfaceID'>"+(null!=(a=(n.tryLink||t&&t.tryLink||c).call(u,null!=t?t.obj:t,{name:"tryLink",hash:{},fn:e.program(1,i,0),inverse:e.noop,data:i}))?a:"")+"</span>"+(null!=(a=n.if.call(u,null!=(a=null!=t?t.obj:t)?a.inheritance:a,{name:"if",hash:{},fn:e.program(3,i,0),inverse:e.noop,data:i}))?a:"")+" {\n"+(null!=(o=null!=(o=n.children||(null!=t?t.children:t))?o:c,a=typeof o===p?o.call(u,{name:"children",hash:{},data:i}):o)?a:"")+l((n.idn||t&&t.idn||c).call(u,null!=t?t.indent:t,{name:"idn",hash:{},data:i}))+"};</span>"},useData:!0}),n["iterable.html"]=t({1:function(e,t,n,r,i){return"iterable"},compiler:[7,">= 4.0.0"],main:function(e,t,n,r,i){var a,o,s=e.escapeExpression,l=null!=t?t:{},u=n.helperMissing;return"<span class='idlIterable' id=\""+s(e.lambda(null!=(a=null!=t?t.obj:t)?a.idlId:a,t))+"\" data-idl data-title='iterable'>"+s((n.extAttr||t&&t.extAttr||u).call(l,null!=t?t.obj:t,null!=t?t.indent:t,{name:"extAttr",hash:{},data:i}))+s((n.idn||t&&t.idn||u).call(l,null!=t?t.indent:t,{name:"idn",hash:{},data:i}))+s((o=null!=(o=n.qualifiers||(null!=t?t.qualifiers:t))?o:u,"function"==typeof o?o.call(l,{name:"qualifiers",hash:{},data:i}):o))+(null!=(a=(n.tryLink||t&&t.tryLink||u).call(l,null!=t?t.obj:t,{name:"tryLink",hash:{},fn:e.program(1,i,0),inverse:e.noop,data:i}))?a:"")+"<"+s((n.idlType||t&&t.idlType||u).call(l,null!=t?t.obj:t,{name:"idlType",hash:{},data:i}))+">;</span>\n"},useData:!0}),n["line-comment.html"]=t({compiler:[7,">= 4.0.0"],main:function(e,t,n,r,i){var a,o=null!=t?t:{},s=n.helperMissing,l=e.escapeExpression;return"<span class='idlSectionComment'>"+l((n.idn||t&&t.idn||s).call(o,null!=t?t.indent:t,{name:"idn",hash:{},data:i}))+"//"+l((a=null!=(a=n.comment||(null!=t?t.comment:t))?a:s,"function"==typeof a?a.call(o,{name:"comment",hash:{},data:i}):a))+"</span>\n"},useData:!0}),n["maplike.html"]=t({1:function(e,t,n,r,i){return"maplike"},compiler:[7,">= 4.0.0"],main:function(e,t,n,r,i){var a,o,s=e.escapeExpression,l=null!=t?t:{},u=n.helperMissing;return"<span class='idlMaplike' id=\""+s(e.lambda(null!=(a=null!=t?t.obj:t)?a.idlId:a,t))+"\" data-idl data-title='maplike'>"+s((n.extAttr||t&&t.extAttr||u).call(l,null!=t?t.obj:t,null!=t?t.indent:t,{name:"extAttr",hash:{},data:i}))+s((n.idn||t&&t.idn||u).call(l,null!=t?t.indent:t,{name:"idn",hash:{},data:i}))+s((o=null!=(o=n.qualifiers||(null!=t?t.qualifiers:t))?o:u,"function"==typeof o?o.call(l,{name:"qualifiers",hash:{},data:i}):o))+(null!=(a=(n.tryLink||t&&t.tryLink||u).call(l,null!=t?t.obj:t,{name:"tryLink",hash:{},fn:e.program(1,i,0),inverse:e.noop,data:i}))?a:"")+"<"+s((n.idlType||t&&t.idlType||u).call(l,null!=t?t.obj:t,{name:"idlType",hash:{},data:i}))+">;</span>\n"},useData:!0}),n["method.html"]=t({1:function(e,t,n,r,i){var a;return e.escapeExpression(e.lambda(null!=(a=null!=t?t.obj:t)?a.name:a,t))},compiler:[7,">= 4.0.0"],main:function(e,t,n,r,i){var a,o,s=e.lambda,l=e.escapeExpression,u=null!=t?t:{},c=n.helperMissing,p="function";return"<span class='idlMethod' id=\""+l(s(null!=(a=null!=t?t.obj:t)?a.idlId:a,t))+"\" data-idl data-title='"+l(s(null!=(a=null!=t?t.obj:t)?a.name:a,t))+"'>"+l((n.extAttr||t&&t.extAttr||c).call(u,null!=t?t.obj:t,null!=t?t.indent:t,{name:"extAttr",hash:{},data:i}))+l((n.idn||t&&t.idn||c).call(u,null!=t?t.indent:t,{name:"idn",hash:{},data:i}))+l((o=null!=(o=n.static||(null!=t?t.static:t))?o:c,typeof o===p?o.call(u,{name:"static",hash:{},data:i}):o))+l((o=null!=(o=n.special||(null!=t?t.special:t))?o:c,typeof o===p?o.call(u,{name:"special",hash:{},data:i}):o))+"<span class='idlMethType'>"+l((n.idlType||t&&t.idlType||c).call(u,null!=t?t.obj:t,{name:"idlType",hash:{},data:i}))+"</span> "+l((n.pads||t&&t.pads||c).call(u,null!=t?t.pad:t,{name:"pads",hash:{},data:i}))+"<span class='idlMethName'>"+(null!=(a=(n.tryLink||t&&t.tryLink||c).call(u,null!=t?t.obj:t,{name:"tryLink",hash:{},fn:e.program(1,i,0),inverse:e.noop,data:i}))?a:"")+"</span>("+(null!=(o=null!=(o=n.children||(null!=t?t.children:t))?o:c,a=typeof o===p?o.call(u,{name:"children",hash:{},data:i}):o)?a:"")+");</span>\n"},useData:!0}),n["multiline-comment.html"]=t({1:function(e,t,n,r,i,a,o){var s=e.escapeExpression;return s((n.idn||t&&t.idn||n.helperMissing).call(null!=t?t:{},null!=o[1]?o[1].indent:o[1],{name:"idn",hash:{},data:i}))+s(e.lambda(t,t))+"\n"},compiler:[7,">= 4.0.0"],main:function(e,t,n,r,i,a,o){var s,l,u=null!=t?t:{},c=n.helperMissing,p=e.escapeExpression,d="function";return"<span class='idlSectionComment'>"+p((n.idn||t&&t.idn||c).call(u,null!=t?t.indent:t,{name:"idn",hash:{},data:i}))+"/*"+p((l=null!=(l=n.firstLine||(null!=t?t.firstLine:t))?l:c,typeof l===d?l.call(u,{name:"firstLine",hash:{},data:i}):l))+"\n"+(null!=(s=n.each.call(u,null!=t?t.innerLine:t,{name:"each",hash:{},fn:e.program(1,i,0,a,o),inverse:e.noop,data:i}))?s:"")+p((n.idn||t&&t.idn||c).call(u,null!=t?t.indent:t,{name:"idn",hash:{},data:i}))+p((l=null!=(l=n.lastLine||(null!=t?t.lastLine:t))?l:c,typeof l===d?l.call(u,{name:"lastLine",hash:{},data:i}):l))+"*/</span>\n"},useData:!0,useDepths:!0}),n["param.html"]=t({1:function(e,t,n,r,i){var a;return" = <span class='idlDefaultValue'>"+e.escapeExpression((n.stringifyIdlConst||t&&t.stringifyIdlConst||n.helperMissing).call(null!=t?t:{},null!=(a=null!=t?t.obj:t)?a.default:a,{name:"stringifyIdlConst",hash:{},data:i}))+"</span>"},compiler:[7,">= 4.0.0"],main:function(e,t,n,r,i){var a,o,s=null!=t?t:{},l=n.helperMissing,u=e.escapeExpression,c="function";return"<span class='idlParam'>"+u((n.extAttrInline||t&&t.extAttrInline||l).call(s,null!=t?t.obj:t,{name:"extAttrInline",hash:{},data:i}))+u((o=null!=(o=n.optional||(null!=t?t.optional:t))?o:l,typeof o===c?o.call(s,{name:"optional",hash:{},data:i}):o))+"<span class='idlParamType'>"+u((n.idlType||t&&t.idlType||l).call(s,null!=t?t.obj:t,{name:"idlType",hash:{},data:i}))+u((o=null!=(o=n.variadic||(null!=t?t.variadic:t))?o:l,typeof o===c?o.call(s,{name:"variadic",hash:{},data:i}):o))+"</span> <span class='idlParamName'>"+u(e.lambda(null!=(a=null!=t?t.obj:t)?a.name:a,t))+"</span>"+(null!=(a=n.if.call(s,null!=(a=null!=t?t.obj:t)?a.default:a,{name:"if",hash:{},fn:e.program(1,i,0),inverse:e.noop,data:i}))?a:"")+"</span>"},useData:!0}),n["serializer.html"]=t({1:function(e,t,n,r,i){return"serializer"},3:function(e,t,n,r,i){var a;return" = <span class='idlSerializerValues'>"+e.escapeExpression((a=null!=(a=n.values||(null!=t?t.values:t))?a:n.helperMissing,"function"==typeof a?a.call(null!=t?t:{},{name:"values",hash:{},data:i}):a))+"</span>"},compiler:[7,">= 4.0.0"],main:function(e,t,n,r,i){var a,o=e.escapeExpression,s=null!=t?t:{},l=n.helperMissing;return"<span class='idlSerializer' id=\""+o(e.lambda(null!=(a=null!=t?t.obj:t)?a.idlId:a,t))+"\" data-idl data-title='serializer'>"+o((n.extAttr||t&&t.extAttr||l).call(s,null!=t?t.obj:t,null!=t?t.indent:t,{name:"extAttr",hash:{},data:i}))+o((n.idn||t&&t.idn||l).call(s,null!=t?t.indent:t,{name:"idn",hash:{},data:i}))+(null!=(a=(n.tryLink||t&&t.tryLink||l).call(s,null!=t?t.obj:t,{name:"tryLink",hash:{},fn:e.program(1,i,0),inverse:e.noop,data:i}))?a:"")+(null!=(a=n.if.call(s,null!=t?t.values:t,{name:"if",hash:{},fn:e.program(3,i,0),inverse:e.noop,data:i}))?a:"")+";</span>\n"},useData:!0}),n["typedef.html"]=t({1:function(e,t,n,r,i){var a;return e.escapeExpression(e.lambda(null!=(a=null!=t?t.obj:t)?a.name:a,t))},compiler:[7,">= 4.0.0"],main:function(e,t,n,r,i){var a,o=e.lambda,s=e.escapeExpression,l=null!=t?t:{},u=n.helperMissing;return"<span class='idlTypedef' id='"+s(o(null!=(a=null!=t?t.obj:t)?a.idlId:a,t))+"' data-idl data-title='"+s(o(null!=(a=null!=t?t.obj:t)?a.name:a,t))+"'>typedef "+s((n.typeExtAttrs||t&&t.typeExtAttrs||u).call(l,null!=t?t.obj:t,{name:"typeExtAttrs",hash:{},data:i}))+"<span class='idlTypedefType'>"+s((n.idlType||t&&t.idlType||u).call(l,null!=t?t.obj:t,{name:"idlType",hash:{},data:i}))+"</span> <span class='idlTypedefID'>"+(null!=(a=(n.tryLink||t&&t.tryLink||u).call(l,null!=t?t.obj:t,{name:"tryLink",hash:{},fn:e.program(1,i,0),inverse:e.noop,data:i}))?a:"")+"</span>;</span>"},useData:!0}),n}),define("core/webidl-contiguous",["core/pubsubhub","deps/webidl2","handlebars.runtime","deps/text!core/css/webidl-oldschool.css","core/templates/webidl-contiguous/compiled"],function(e,t,n,r,i){function a(){n.registerHelper("extAttr",function(e,t){return p(e.extAttrs,t,!1)}),n.registerHelper("extAttrInline",function(e){return p(e.extAttrs,0,!0)}),n.registerHelper("typeExtAttrs",function(e){return p(e.typeExtAttrs,0,!0)}),n.registerHelper("extAttrClassName",function(){var e=this;return"Constructor"===e.name||"NamedConstructor"===e.name?"idlCtor":"extAttr"}),n.registerHelper("extAttrRhs",function(e,t){return"identifier"===e.type?t.fn(e.value):"("+e.value.map(function(e){return t.fn(e)}).join(",")+")"}),n.registerHelper("param",function(e){return new n.SafeString(Q({obj:e,optional:e.optional?"optional ":"",variadic:e.variadic?"...":""}))}),n.registerHelper("jsIf",function(e,t){return e?t.fn(this):t.inverse(this)}),n.registerHelper("idn",function(e){return new n.SafeString(o(e))}),n.registerHelper("idlType",function(e){return new n.SafeString(s(e.idlType))}),n.registerHelper("stringifyIdlConst",function(t){switch(t.type){case"null":return"null";case"Infinity":return t.negative?"-Infinity":"Infinity";case"NaN":return"NaN";case"string":case"number":case"boolean":case"sequence":return JSON.stringify(t.value);default:return e.pub("error","Unexpected constant value type: "+t.type),"<Unknown>"}}),n.registerHelper("escapeArgumentName",d),n.registerHelper("escapeAttributeName",f),n.registerHelper("escapeIdentifier",h),n.registerHelper("pads",function(e){return new n.SafeString(u(e))}),n.registerHelper("join",function(e,t,n){return e.map(function(e){return n.fn(e)}).join(t)}),n.registerHelper("joinNonWhitespace",function(e,t,n){return e.filter(function(e){return"ws"!==e.type}).map(function(e){return n.fn(e)}).join(t)}),n.registerHelper("tryLink",function(e,t){var r=t.fn(this);if(e.dfn){var i="<a for='"+n.Utils.escapeExpression(e.linkFor||"")+"'";if(e.name===e.dfn.text().trim())i+=" data-lt='"+n.Utils.escapeExpression(e.name)+(e.overload?"!overload-"+e.overload+"' data-lt-noDefault":"'");else{const a=n.Utils.escapeExpression(e.dfn.text().trim())+"|"+e.dfn[0].dataset.lt;i+=" data-lt='"+a+"' data-lt-noDefault"}return i+=">"+r+"</a>"}return r})}function o(e){for(var t="",n=0;n<e;n++)t+=" ";return t}function s(e){if("string"==typeof e)return"<a>"+n.Utils.escapeExpression(e)+"</a>";if(Array.isArray(e))return e.map(s).join(", ");var t=e.nullable?"?":"";if(e.union)return"("+e.idlType.map(function(e){return s(e)}).join(" or ")+")"+t;if(e.array){for(var r="",i=0;i<e.array;++i)e.nullableArray[i]&&(r+="?"),r+="[]";return s({generic:e.generic,idlType:e.idlType})+r+t}return e.generic?n.Utils.escapeExpression(e.generic)+"<"+s(e.idlType)+">"+t:s(e.idlType)+t}function l(e){if("string"==typeof e)return e;var t=e.nullable?"?":"";if(e.union)return"("+e.idlType.map(function(e){return l(e)}).join(" or ")+")"+t;if(e.array){for(var n="",r=0;r<e.array;++r)e.nullableArray[r]&&(n+="?"),n+="[]";return l({generic:e.generic,idlType:e.idlType})+n+t}return e.generic?e.generic+"<"+l(e.idlType)+">"+t:l(e.idlType)+t}function u(e){for(var t="",n=0;n<e;n++)t+=" ";return t}function c(e){return te[e]}function p(e,t,r){if(0===e.length)return"";var i={extAttrs:e,indent:t,sep:r?", ":",\n "+o(t),end:r?" ":"\n"};return new n.SafeString(K(i))}function d(e){return ne.indexOf(e)!==-1&&re.indexOf(e)===-1?"_"+e:e}function f(e){return ne.indexOf(e)!==-1&&ie.indexOf(e)===-1?"_"+e:e}function h(e){return ne.indexOf(e)!==-1?"_"+e:e}function m(e,t){var n={class:"def idl"},r=$("<pre></pre>").attr(n);return r.html(t.filter(function(e){return!c(e.type)}).map(function(e){return g(e,-1)}).join("\n\n")),r}function g(t,n){n++;var r={indent:n,obj:t};switch(t.type){case"typedef":return Z(r);case"implements":return H(r);case"interface":return v(r);case"callback interface":return v(r,"callback ");case"exception":var i=0,a=0;t.members.forEach(function(e){if(!c(e.type)){var t=l(e.idlType).length;"field"===e.type?i=t>i?t:i:"const"===e.type&&(a=t>a?t:a)}});var o=t.members.map(function(e){switch(e.type){case"field":return b(e,i,n+1);case"const":return _(e,a,n+1);case"line-comment":return E(e,n+1);case"multiline-comment":return k(e,n+1);case"ws":return T(e);case"ws-pea":break;default:throw new Error("Unexpected type in exception: "+e.type)}}).join("");return U({obj:t,indent:n,children:o});case"dictionary":var s=0,p=0;t.members.filter(function(e){return!c(e.type)}),t.members.forEach(function(e){if(!c(e.type)){var t="";e.required&&(t+="required "),s<t.length&&(s=t.length);var n=l(e.idlType).length;p<n&&(p=n)}});var o=t.members.map(function(e){switch(e.type){case"field":return A(e,s,p,n+1);case"line-comment":return E(e,n+1);case"multiline-comment":return k(e,n+1);case"ws":return T(e);case"ws-pea":break;default:throw new Error("Unexpected type in dictionary: "+e.type)}}).join("");return M({obj:t,indent:n,children:o,partial:t.partial?"partial ":""});case"callback":var d=t.arguments.filter(function(e){return!c(e.type)}).map(function(e){return Q({obj:e,optional:e.optional?"optional ":"",variadic:e.variadic?"...":""})}),f={obj:t,indent:n,children:d.join(", ")},h=j(f),m=$(h).text();if(m.length>80){var g=m.indexOf("(")+1;f.children=d.join(",\n"+u(g)),h=j(f)}return h;case"enum":for(var o="",y=0;y<t.values.length;y++){var w=t.values[y];switch(w.type){case void 0:for(var x=!1,C=y+1;C<t.values.length;C++){var S=t.values[C];if(void 0===S.type)break;if(","===S.type){x=!0;break}}o+=q({lname:w.toString()?w.toString().toLowerCase():"the-empty-string",name:w.toString(),parentID:t.name.toLowerCase(),indent:n+1,needsComma:x});break;case"line-comment":o+=E(w,n+1);break;case"multiline-comment":o+=k(w,n+1);break;case"ws":o+=T(w);break;case",":case"ws-pea":break;default:throw new Error("Unexpected type in exception: "+w.type)}}return F({obj:t,indent:n,children:o});default:return e.pub("error","Unexpected object type "+t.type+" in "+JSON.stringify(t)),""}}function v(e,t){var n=e.obj,r=e.indent,i=0,a=0,o=0,s=0;n.members.forEach(function(e){if(!c(e.type)&&"serializer"!==e.type&&"maplike"!==e.type&&"iterable"!==e.type){var t=l(e.idlType).length;if("attribute"===e.type){var n=y(e).length;i=t>i?t:i,a=n>a?n:a}else"operation"===e.type?o=t>o?t:o:"const"===e.type&&(s=t>s?t:s)}});var u=n.members.map(function(e){switch(e.type){case"attribute":return w(e,i,r+1,a);case"operation":return x(e,o,r+1);case"const":return _(e,s,r+1);case"serializer":return C(e,r+1);case"maplike":return S(e,r+1);case"iterable":return R(e,r+1);case"ws":return T(e);case"line-comment":return E(e,r+1);case"multiline-comment":return k(e,r+1);default:throw new Error("Unexpected member type: "+e.type)}}).join("");return B({obj:n,indent:r,partial:n.partial?"partial ":"",callback:t,children:u})}function b(e,t,n){var r=t-l(e.idlType).length;return W({obj:e,indent:n,pad:r})}function y(e){var t="";return e.static&&(t+="static "),e.stringifier&&(t+="stringifier "),e.inherit&&(t+="inherit "),e.readonly&&(t+="readonly "),t}function w(e,t,n,r){var i=l(e.idlType).length,a=t-i,o=y(e);return o+=u(r),o=o.slice(0,r),P({obj:e,indent:n,qualifiers:o,pad:a})}function x(e,t,n){var r=e.arguments.filter(function(e){return!c(e.type)}).map(function(e){return Q({obj:e,optional:e.optional?"optional ":"",variadic:e.variadic?"...":""})}),i=r.join(", "),a=l(e.idlType).length;e.static&&(a+=7);var o=["getter","setter","deleter","legacycaller","serializer","stringifier"],s="";for(var p in o)if(e[o[p]]){s=o[p]+" ",a+=s.length;break}var d=t-a,f={obj:e,indent:n,static:e.static?"static ":"",special:s,pad:d,children:i},h=X(f),m=$(h).text();if(m.length>80){var g=m.indexOf("(")+1;f.children=r.join(",\n"+u(g)),h=X(f)}return h}function _(e,t,n){var r=t-l(e.idlType).length;return e.nullable&&r--,O({obj:e,indent:n,pad:r,nullable:e.nullable?"?":""})}function T(e){return/\n.*\n/.test(e.value)?"\n":""}function E(e,t){return G({indent:t,comment:e.value})}function k(e,t){function n(e){return e.slice(i)}var r=e.value.split(/\r\n|\r|\n/);if(0===r.length)return"";if(1===r.length)return G({indent:t,comment:r[0]});var i=Math.max(0,/^ */.exec(r[1])[0].length-3);return Y({indent:t,firstLine:r[0],lastLine:n(r[r.length-1]),innerLine:r.slice(1,-1).map(n)})}function C(e,t){var n="";return e.patternMap?n="{"+e.names.join(", ")+"}":e.patternList?n="["+e.patternList.join(", ")+"]":e.name&&(n=e.name),J({obj:e,indent:t,values:n})}function S(e,t){var n="";return e.readonly&&(n+="readonly "),z({obj:e,qualifiers:n,indent:t})}function R(e,t){var n="";return e.readonly&&(n+="readonly "),V({obj:e,qualifiers:n,indent:t})}function A(e,t,n,r){var i={obj:e,indent:r};return i.typePad=n-l(e.idlType).length,e.required?i.qualifiers="required ":i.qualifiers=" ",i.qualifiers=i.qualifiers.slice(0,t),I(i)}function D(t,n,r,i){t.forEach(function(t){var a;switch(t.type){case"callback interface":case"dictionary":case"exception":case"interface":var o="";t.partial&&(oe[t.name]||(oe[t.name]=[]),oe[t.name].push(t),o="-partial-"+oe[t.name].length),D(t.members,n,t.name,i),a=t.name,t.idlId="idl-def-"+a.toLowerCase()+o;break;case"enum":a=t.name,t.values.forEach(function(e,r){void 0===e.type&&(t.values[r]={toString:function(){return e},dfn:L(a,e,n,t.type,i)})}),t.idlId="idl-def-"+a.toLowerCase();break;case"callback":case"typedef":a=t.name,t.idlId="idl-def-"+a.toLowerCase();break;case"attribute":case"const":case"field":a=t.name,t.idlId="idl-def-"+r.toLowerCase()+"-"+a.toLowerCase();break;case"operation":if(t.name){a=t.name;var s=r+"."+a,u=r+"."+a+"()";ae[u]||(ae[u]=[]),ae[s]?(t.overload=ae[s].length,a=t.name+"!overload-"+t.overload):ae[s]=[],ae[u].push(t),ae[s].push(t)}else(t.getter||t.setter||t.deleter||t.legacycaller||t.stringifier||t.serializer)&&(a="");t.idlId="idl-def-"+r.toLowerCase()+"-"+a.toLowerCase()+"("+t.arguments.filter(function(e){
return!c(e.type)}).map(function(e){var t=e.optional?"optional-":"",n=e.variadic?"...":"";return t+l(e.idlType).toLowerCase()+n}).join(",").replace(/\s/g,"_")+")";break;case"maplike":a="maplike",t.idlId=("idl-def-"+r+"-"+a).toLowerCase();break;case"iterable":a="iterable",t.idlId="idl-def-"+r.toLowerCase()+"-"+a.toLowerCase();break;case"serializer":a="serializer",t.idlId="idl-def-"+r.toLowerCase()+"-"+a.toLowerCase();break;case"implements":case"ws":case"ws-pea":case"ws-tpea":case"line-comment":case"multiline-comment":return;default:return void e.pub("error","Unexpected type when computing refTitles: "+t.type)}r&&(t.linkFor=r),t.dfn=L(r,a,n,t.type,i)})}function L(t,n,r,i,a){var o=t,s=n;switch(t=t.toLowerCase(),i){case"operation":if(n.search("!overload")!==-1){n=n.toLowerCase();break}const l=n.toLowerCase()+"()",u=t+"."+n.toLowerCase()+"()";if(r[l]||r[u]){const c=r[l]?l:u,p=L(t,c,r,null,a);if(!p)break;const d=p[0].dataset.lt?p[0].dataset.lt.split("|"):[];return d.push(c,n),p[0].dataset.lt=d.join("|"),r[n]||(r[n]=[]),r[n].push(p),p}const p=L(t,n,r,null,a);if(!p)break;const d=p[0].dataset.lt?p[0].dataset.lt.split("|"):[];return d.push(l,n),p[0].dataset.lt=d.join("|"),r[l]=[p],p;case"enum":if(""===n){n="the-empty-string";break}default:n=n.toLowerCase()}if(!ee.has(n)){var f=r[n],h=[];if(f&&(h=f.filter(function(e){return e.attr("data-dfn-for")===t}),0===h.length&&""===t&&1===f.length&&(h=f)),0===h.length&&""!==t){var m=t+"."+n;f=r[m],void 0!==f&&1===f.length&&(h=f,delete r[m],h[0].attr("data-dfn-for",t),h[0].attr("data-lt",n),void 0===r[n]&&(r[n]=[]),r[n].push(h[0]))}if(h.length>1&&e.pub("error","Multiple <dfn>s for "+s+(o?" in "+o:"")),0!==h.length){var p=h[0];return p.attr("id","dom-"+(t?t+"-":"")+n),p.attr("data-idl",""),p.attr("data-dfn-for",t),0===p.children("code").length&&0===p.parents("code").length&&p.wrapInner("<code></code>"),p}const g=i&&a&&a.classList.contains("no-link-warnings")===!1;if(g){const v="No <dfn> for "+s+(o?" in "+o:"")+".";e.pub("warn",v)}}}var N,P=i["attribute.html"],j=i["callback.html"],O=i["const.html"],M=i["dictionary.html"],I=i["dict-member.html"],q=i["enum-item.html"],F=i["enum.html"],U=i["exception.html"],K=i["extended-attribute.html"],W=i["field.html"],H=i["implements.html"],B=i["interface.html"],V=i["iterable.html"],G=i["line-comment.html"],z=i["maplike.html"],X=i["method.html"],Y=i["multiline-comment.html"],Q=i["param.html"],J=i["serializer.html"],Z=i["typedef.html"],ee=new Set(["maplike","setlike","stringifier"]),te={ws:!0,"ws-pea":!0,"ws-tpea":!0,"line-comment":!0,"multiline-comment":!0},ne=["any","attribute","boolean","byte","ByteString","callback","const","creator","Date","deleter","dictionary","DOMString","double","enum","false","float","getter","implements","Infinity","inherit","interface","iterable","legacycaller","legacyiterable","long","maplike","NaN","null","object","octet","optional","or","partial","readonly","RegExp","required","sequence","serializer","setlike","setter","short","static","stringifier","true","typedef","unrestricted","unsigned","USVString","void"],re=["attribute","callback","const","creator","deleter","dictionary","enum","getter","implements","inherit","interface","iterable","legacycaller","legacyiterable","maplike","partial","required","serializer","setlike","setter","static","stringifier","typedef","unrestricted"],ie=["required"],ae={},oe={};const se=new Promise(function(e){N=e});return{get done(){return se},run:function(n,i,o){var s=function(){N(),e.pub("end","core/webidl-contiguous"),o()},l=$("pre.idl",i);return l.length?(a(),$(".idl",i).not("pre").length||$(i).find("head link").first().before($("<style/>").text(r)),l.each(function(){var r;try{r=t.parse($(this).text(),{ws:!0})}catch(t){return void e.pub("error","Failed to parse <pre>"+l.text()+"</pre> as IDL: "+(t.stack||t))}D(r,n.definitionMap,"",this);var i=m(n,r);i.attr({id:this.id}),i.find(".idlAttribute,.idlCallback,.idlConst,.idlDictionary,.idlEnum,.idlException,.idlField,.idlInterface,.idlMember,.idlMethod,.idlSerializer,.idlMaplike,.idlIterable,.idlTypedef").each(function(){var e=$(this),t=e.attr("data-title").toLowerCase(),r=e.parent().closest(".idlDictionary,.idlEnum,.idlException,.idlInterface");r.length&&e.attr("data-dfn-for",r.attr("data-title").toLowerCase()),n.definitionMap[t]||(n.definitionMap[t]=[]),n.definitionMap[t].push(e)}),$(this).replaceWith(i)}),i.normalize(),void s()):s()}}}),define("core/webidl-index",["core/webidl-contiguous"],function(e){var t;const n=new Promise(function(e){t=e}),r=document.querySelector("section#idl-index");if(r){const i=[2,3,4,5,6].map(function(e){return":scope > h"+e}).join(",");if(!r.querySelector(i)){const a=document.createElement("h2");r.title?(a.innerHTML=r.title,r.removeAttribute("title")):a.innerHTML="IDL Index",r.insertAdjacentElement("afterbegin",a)}if(document.querySelector("pre.idl"))e.done.then(function(){const e=document.createDocumentFragment(),n=document.createElement("pre");n.classList.add("idl","def"),Array.from(document.querySelectorAll("pre.def.idl")).map(function(e){return e.cloneNode(!0).firstElementChild}).map(function(e){const t=document.createElement("div");return t.appendChild(e),t.appendChild(document.createTextNode("\n")),t.classList.add("respec-idl-separator"),t}).reduce(function(e,t){return e.appendChild(t),e},n),e.appendChild(n),r.appendChild(e),t()});else{const o="This specification doesn't declare any Web IDL.",s=document.createTextNode(o);r.appendChild(s),t()}}else t();return{get done(){return n}}}),define("core/webidl-oldschool",["core/pubsubhub"],function(e){return{showDeprecationWarning:function(){var t="Defining WebIDL in `dl` elements is deprecated. Please use Contiguous IDL instead: https://github.com/w3c/respec/wiki/WebIDL-Guide";e.pub("error",t)},run:function(e,t,n){return t.querySelector("dl.idl")&&this.showDeprecationWarning(),n()}}}),define("core/link-to-dfn",["core/pubsubhub","core/data-cite"],function(e,t){return{run:function(n,r,i){r.normalize();var a={};Object.keys(n.definitionMap).forEach(function(t){a[t]={},n.definitionMap[t].forEach(function(n){void 0===n.attr("data-idl")&&n.removeAttr("data-dfn-for");var r=n.attr("data-dfn-for")||"";if(r in a[t]){var i=0!==a[t][r].filter("dfn").length,o=0!==n.filter("dfn").length;if(i&&o&&e.pub("error","Duplicate definition of '"+(r?r+"/":"")+t+"'"),i)return}a[t][r]=n,void 0===n.attr("id")&&(n.attr("data-idl")?n.makeID("dom",(r?r+"-":"")+t):n.makeID("dfn",t))})}),$("a:not([href]):not([data-cite])").each(function(){var t=$(this);if(!t.hasClass("externalDFN")){var n=t.linkTargets(),r=n.some(function(e){if(a[e.title]&&a[e.title][e.for_]){var n=a[e.title][e.for_];return n[0].dataset.cite?t[0].dataset.cite=n[0].dataset.cite:t.attr("href","#"+n.prop("id")).addClass("internalDFN"),t.attr("data-link-type")||t.attr("data-link-type","dfn"),(n.closest("code,pre").length||1===n.contents().length&&1===n.children("code").length)&&t.wrapInner("<code></code>"),!0}return!1});if(!r){if(!t.parents(".idl, dl.methods, dl.attributes, dl.constants, dl.constructors, dl.fields, dl.dictionary-members, span.idlMemberType, span.idlTypedefType, div.idlImplementsDesc").length){var i=n[0].for_,o=n[0].title;return this.classList.add("respec-offending-element"),this.title="Linking error: not matching <dfn>",e.pub("warn","Found linkless <a> element "+(i?"for '"+i+"' ":"")+"with text '"+o+"' but no matching <dfn>."),void console.warn("Linkless element:",t[0])}t.replaceWith(t.contents())}}}),t.linkInlineCitations(r).then(function(){function t(e){return function(t){var n=t.getAttribute(e);t.removeAttribute(e),t.setAttribute("data-"+e,n)}}var n=r.querySelectorAll("*[for]");Array.prototype.forEach.call(n,t("for"));var a=r.querySelectorAll("*[dfn-for]");Array.prototype.forEach.call(a,t("dfn-for"));var o=r.querySelectorAll("*[link-for]");Array.prototype.forEach.call(o,t("link-for")),e.pub("end","core/link-to-dfn"),i()})}}}),define("core/contrib",["github","core/pubsubhub"],function(e,t){return{run:function(n,r,i){function a(e){return function(t){return t[e]}}function o(e){return Array.prototype.slice.call(e,0)}function s(){var e={};return o(arguments).forEach(function(t){t.forEach(function(t){t.user&&(e[t.user.url]=!0)})}),Object.keys(e)}function l(e){if(!e.length)return"";e=e.slice(0);var t=e.pop(),n=e.length;return 0===n?t:1===n?e[0]+" and "+t:e.join(", ")+", and "+t}function u(t,n,r){return $.when.apply($,t.map(function(t){return e.fetch(t)})).then(function(){var e=o(arguments).map(function(e){return e=e[0],e.name||e.login}).filter(function(e){return n.indexOf(e)<0});e.sort(function(e,t){return e.toLowerCase().localeCompare(t.toLowerCase())}),$(r).html(l(e)).attr("id",null)})}var c=r.querySelector("#gh-commenters"),p=r.querySelector("#gh-contributors");if(!c&&!p)return void i();if(!n.githubAPI){var d=[];return c&&d.push("#"+c.id),p&&d.push("#"+p.id),t.pub("error","Requested list of contributors and/or commenters from GitHub ("+d.join(" and ")+") but config.githubAPI is not set."),void i()}e.fetch(n.githubAPI).then(function(t){return $.when(e.fetchIndex(t.issues_url),e.fetchIndex(t.issue_comment_url),e.fetchIndex(t.contributors_url))}).then(function(e,t,n){var r=respecConfig.editors.map(a("name")),i=s(e,t);return n=n.map(a("url")),$.when(u(i,r,c),u(n,r,p))}).then(i,function(e){t.pub("error","Error loading contributors and/or commenters from GitHub. Error: "+e),i()})}}}),define("core/fix-headers",[],function(){return{run:function(e,t,n){var r=$("section:not(.introductory)",t).find("h1:first, h2:first, h3:first, h4:first, h5:first, h6:first");r.each(function(){var e=$(this).parents("section").length+1;e>6&&(e=6);var t="h"+e;this.localName.toLowerCase()!==t&&$(this).renameElement(t)}),n()}}}),define("core/structure",[],function(){function e(a,o,s,l,u){var c=a.children(u.tocIntroductory?"section":"section:not(.introductory)");if(0===c.length)return null;for(var p=$("<ol class='toc'></ol>"),d=0;d<c.length;d++){var f=$(c[d],o),h=f.hasClass("introductory"),m=f.hasClass("notoc");if(f.children().length&&!m){var g=f.children()[0],v=g.localName.toLowerCase();if("h2"===v||"h3"===v||"h4"===v||"h5"===v||"h6"===v){var b=g.textContent,y=$("<div></div>").append($(g).contents().clone());y.find("a").renameElement("span").attr("class","formerLink").removeAttr("href"),y.find("dfn").renameElement("span").removeAttr("id");var w=g.id?g.id:f.makeID(null,b);h||s[s.length-1]++;var x=s.slice();f.hasClass("appendix")&&1===s.length&&!n&&(r=s[0],n=!0),n&&(x[0]=i.charAt(s[0]-r));var _=x.join("."),T=1==x.length;T&&(_+=".",$(g).before(document.createComment("OddPage")));var E=$("<span class='secno'></span>").text(_+" ");h||$(g).prepend(E),t[w]=(h?"":"<span class='secno'>"+_+"</span> ")+"<span class='sec-title'>"+b+"</span>";var k=$("<a/>").attr({href:"#"+w,class:"tocxref"}).append(h?"":E.clone()).append(y.contents()),C=$("<li class='tocline'/>").append(k);(0===u.maxTocLevel||l<=u.maxTocLevel)&&p.append(C),s.push(0);var S=e(f,o,s,l+1,u);S&&C.append(S),s.pop()}}}return p}var t={},n=!1,r=0,i="ABCDEFGHIJKLMNOPQRSTUVWXYZ";return{run:function(n,r,i){"tocIntroductory"in n==0&&(n.tocIntroductory=!1),"maxTocLevel"in n==0&&(n.maxTocLevel=0);var a=$("section:not(.introductory)",r).find("h1:first, h2:first, h3:first, h4:first, h5:first, h6:first");if(!a.length)return i();if(a.each(function(){var e=$(this).parents("section").length+1;e>6&&(e=6);var t="h"+e;this.localName.toLowerCase()!=t&&$(this).renameElement(t)}),!n.noTOC){var o=e($("body",r),r,[0],1,n);if(!o)return;var s=r.createElement("nav");s.id="toc",s.innerHTML="<h2 class='introductory'>"+n.l10n.toc+"</h2>",s.appendChild(o[0]);var l=$("#toc",r),u=!1;l.length&&(u=!0),l.length||(l=$("#sotd",r)),l.length||(l=$("#abstract",r)),u?l.replaceWith(s):l.after(s);var c=$("<p role='navigation' id='back-to-top'><a href='#toc'><abbr title='Back to Top'>↑</abbr></a></p>");$("body").append(c)}$("a[href^='#']:not(.tocxref)",r).each(function(){var e=$(this);if(""===e.html()){var n=e.attr("href").slice(1);t[n]&&(e.addClass("sec-ref"),e.html((e.hasClass("sectionRef")?"section ":"")+t[n]))}}),i()}}}),define("w3c/informative",[],function(){return{run:function(e,t,n){$("section.informative").find("> h2:first, > h3:first, > h4:first, > h5:first, > h6:first").after("<p><em>This section is non-normative.</em></p>"),n()}}}),define("w3c/permalinks",["w3c/templates/compiled","core/utils"],function(e,t){const n=e["permalinks.css"];return{run:function(e,t,r){if(e.includePermalinks){var i=e.permalinkSymbol||"§",a="<style>"+n(e)+"</style>";$(t).find("head link").first().before(a);var o=$(t).find("h2, h3, h4, h5, h6");o.each(function(t,n){var r=$(n);if(!r.hasClass("nolink")){var a=r.attr("id"),o=r.parent();if((o.is("section")||o.is("div"))&&(a=o.hasClass("introductory")||o.hasClass("nolink")?null:o.attr("id")),null!=a){var s=$("<span></span>");s.attr("class","permalink"),e.doRDFa&&s.attr("typeof","bookmark");var l=r.text(),u=$("<a></a>");u.attr({href:"#"+a,"aria-label":"Permalink for "+l,title:"Permalink for "+l}),e.doRDFa&&u.attr("property","url");var c=$("<span></span>");e.doRDFa&&c.attr({property:"title",content:l}),c.append(i),u.append(c),s.append(u),e.permalinkEdge||r.append(" "),r.append(s)}}})}r()}}}),define("core/id-headers",[],function(){return{run:function(e,t,n){$("h2, h3, h4, h5, h6").each(function(){var e=$(this);if(!e.attr("id")){if(e.parent("section").attr("id")&&0===e.prev().length)return;e.makeID()}}),n()}}}),define("core/rdfa",[],function(){return{run:function(e,t,n){e.doRDFa&&$("section,nav").each(function(){var e=$(this),t="",n=e.children("h1,h2,h3,h4,h5,h6").first(),r=e.attr("id"),i=null;r?t="#"+r:n.length&&(r=n.attr("id"),r&&(t="#"+r,i=r));var a="bibo:hasPart";t.match(/#(abstract|sotd|toc)$/)||e.attr({typeof:"bibo:Chapter",resource:t,property:a}),n.length&&(i||(i=n.makeID("h",r)),n.attr({resource:"#"+i}),n.wrapInner("<span property='xhv:role' resource='xhv:heading'></span>"))}),n()}}}),define("w3c/aria",[],function(){return{run:function(e,t,n){t.body.hasAttribute("role")||t.body.setAttribute("role","document"),t.body.hasAttribute("id")||t.body.setAttribute("id","respecDocument");var r=document.querySelector("div.head");r&&(r.setAttribute("role","contentinfo"),r.setAttribute("id","respecHeader"));var i=t.querySelector("#toc ol:first-of-type");i&&i.setAttribute("role","directory");var a=1,o=1,s=1;Array.from(t.querySelectorAll(".note-title, .ednote-title, .issue-title")).forEach(function(e){var t=$(e),n=e.classList.contains("issue-title"),r=e.classList.contains("ednote-title"),i=t.parents("section").length+2;e.setAttribute("aria-level",i),e.setAttribute("role","heading"),n?t.makeID("h","issue"+o++):r?t.makeID("h","ednote"+s++):t.makeID("h","note"+a++)}),n()}}}),define("core/shiv",[],function(){var e="[if lt IE 9]><script src='https://www.w3.org/2008/site/js/html5shiv.js'></script><![endif]",t=document.createComment(e);return document.head.appendChild(t),{}}),define("core/location-hash",["core/pubsubhub"],function(e){return{run:function(t,n,r){e.pub("start","core/location-hash");var i=window.location.hash,a=void 0!==window.pageYOffset?window.pageYOffset:(document.documentElement||document.body.parentNode||document.body).scrollTop;i&&!a&&(window.location.hash="",window.location.hash=i),r()}}}),define("ui/about-respec",["core/ui"],function(e){window.respecVersion=window.respecVersion||"Developer Edition";const t=$("<div><p>ReSpec is a document production toolchain, with a notable focus on W3C specifications.</p></div>");$("<p>You can find more information in the <a href='https://w3.org/respec/'>documentation</a>.</p>").appendTo(t),$("<p>Found a bug in ReSpec? <a href='https://github.com/w3c/respec/issues'>File it!</a>.</p>").appendTo(t);const n=e.addCommand("About ReSpec","ui/about-respec","Ctrl+Shift+Alt+A","ℹ️");return{show:function(){e.freshModal("About ReSpec - "+window.respecVersion,t,n)}}}),define("ui/dfn-list",["core/ui"],function(e){const t=e.addCommand("Definition List","ui/dfn-list","Ctrl+Shift+Alt+D","📔");return{show:function(){var n=$("<ul></ul>");Object.keys(window.respecConfig.definitionMap).sort().forEach(function(t){window.respecConfig.definitionMap[t].forEach(function(r){var i=$("<a>"+t+"</a>").attr("href","#"+r.attr("id")).click(function(){e.closeModal()});$("<li></li>").append(i).appendTo(n)})}),e.freshModal("List of Definitions",n,t)}}}),define("ui/save-html",["deps/beautify-html","core/beautify-options","core/pubsubhub","core/utils","core/ui"],function(e,t,n,r,i){function a(e){return e.replace(/\n\s*\(</gm," (<")}var o=document,s=window.respecConfig;const l=i.addCommand("Save Snapshot","ui/save-html","Ctrl+Shift+Alt+S","💾");var u=function(e){$(".removeOnSave",e).remove(),$("#toc-nav",e).remove(),$("body",e).removeClass("toc-sidebar"),r.removeReSpec(e);var t=e.querySelector("head"),i=e.querySelector("meta[name='viewport']");i&&t.insertBefore(i,t.firstChild);var a=e.querySelector("meta[charset=utf-8], meta[content*='charset=utf-8']");a||(n.pub("warn","Document lacks a 'meta charset' declaration. Exporting as utf-8."),a=o.createElement("meta"),a.setAttribute("charset","utf-8")),t.insertBefore(a,t.firstChild);var s=o.createElement("meta");s.name="generator",s.content="ReSpec "+window.respecVersion||"Developer Channel",t.insertBefore(s,t.lastChild)};return{show:function(){s.diffTool||(s.diffTool="https://www5.aptest.com/standards/htmldiff/htmldiff.pl");var e=Object.getOwnPropertyNames(HTMLAnchorElement.prototype).indexOf("download")>-1,t=this,n=$("<div></div>"),r=function(t){e?$("<a class='respec-save-button'></a>").appendTo(n).text(t.title).attr({id:t.id,href:t.url,download:t.fileName,type:t.type||""}).click(function(){i.closeModal()}):$("<button class='respec-save-button'></button>").appendTo(n).text(t.title).click(function(){t.popupContent(),i.closeModal()})};r({id:"respec-save-as-html",title:"Save as HTML",url:this.htmlToDataURL(this.toString()),popupContent:function(){t.toHTMLSource()},fileName:"index.html"}),r({id:"respec-save-as-xhtml5",fileName:"index.xhtml",popupContent:function(){t.toXHTMLSource()},title:"Save as XHTML5",url:this.htmlToDataURL(this.toXML())}),r({id:"respec-save-as-epub",fileName:"spec.epub",popupContent:function(){window.open(t.makeEPubHref(),"_blank")},title:"Save as EPUB 3",type:"application/epub+zip",url:this.makeEPubHref()}),s.diffTool&&(s.previousDiffURI||s.previousURI)&&$("<button>Diff</button>").appendTo(n).click(function(){t.toDiffHTML(),i.closeModal()}),i.freshModal("Save Snapshot",n,l)},htmlToDataURL:function(e){return e=encodeURIComponent(e),"data:text/html;charset=utf-8,"+e},makeEPubHref:function(){var e="https://labs.w3.org/epub-generator/cgi-bin/epub-generator.py",t=e+"?type=respec&";return t+="url="+encodeURIComponent(o.location.href)},toString:function(){n.pub("save","toString");var i="<!DOCTYPE html",s=o.doctype;s&&s.publicId&&(i+=" PUBLIC '"+s.publicId+"' '"+s.systemId+"'"),i+=">\n<html";for(var l=o.documentElement.attributes,c=0;c<l.length;c++){var p=l[c].name;"xmlns"!==p&&"xml:lang"!==p&&(i+=" "+p+'="'+r.xmlEscape(l[c].value)+'"')}i+=">\n";var d=o.documentElement.cloneNode(!0);u(d),i+=d.innerHTML,i+="</html>";var f=a(i),h=e.html_beautify(f,t);return h},toXML:function(i){n.pub("save","toXML"+i);var s=o.documentElement.cloneNode(!0);u(s);var l="<!DOCTYPE html",c=o.doctype;c&&c.publicId&&(l+=" PUBLIC '"+c.publicId+"' '"+c.systemId+"'"),l+=">\n<html";for(var p=o.documentElement.attributes,d=!1,f=0;f<p.length;f++){var h=p[f].name;"xmlns"===h&&(d=!0),l+=" "+h+'="'+r.xmlEscape(p[f].value)+'"'}d||(l+=' xmlns="http://www.w3.org/1999/xhtml"'),l+=">\n";var m={};"br img input area base basefont col isindex link meta param hr".split(" ").forEach(function(e){m[e]=!0});var g=[!1],v=function(e){var t="";if(9===e.nodeType||1===e.nodeType&&"html"==e.nodeName.toLowerCase())for(var i=0;i<e.childNodes.length;i++)t+=v(e.childNodes[i]);else if(1===e.nodeType){var a=e.nodeName.toLowerCase();t+="<"+a;for(var i=0;i<e.attributes.length;i++){var o=e.attributes[i];/^\d+$/.test(o.name)||(t+=" "+o.name+'="'+r.xmlEscape(o.value)+'"')}if(m[a])t+=" />";else{t+=">",g.push("style"===a||"script"===a);for(var i=0;i<e.childNodes.length;i++)t+=v(e.childNodes[i]);g.pop(),t+="</"+a+">"}}else 8===e.nodeType?t+="\n<!--"+e.nodeValue+"-->\n":3===e.nodeType||4===e.nodeType?t+=g[g.length-1]?e.nodeValue:r.xmlEscape(e.nodeValue):n.pub("warn","Cannot handle serialising nodes of type: "+e.nodeType);return t};l+=v(s)+"</html>";var b=a(l),y=e.html_beautify(b,t);return y},toDiffHTML:function(){n.pub("save","toDiffHTML");var e=window.location.href.replace(/\/[^\/]*$/,"/"),t="<!DOCTYPE html>\n<html>\n<head><title>Diff form</title></head>\n<body><form name='form' method='POST' action='"+s.diffTool+"'>\n<input type='hidden' name='base' value='"+e+"'>\n";t+=s.previousDiffURI?"<input type='hidden' name='oldfile' value='"+s.previousDiffURI+"'>\n":"<input type='hidden' name='oldfile' value='"+s.previousURI+"'>\n",t+='<input type="hidden" name="newcontent" value="'+r.xmlEscape(this.toString())+'">\n<p>Submitting, please wait...</p></form></body></html>\n';var i=window.open();i.document.write(t),i.document.close(),i.document.form.submit()},toHTMLSource:function(){var e=window.open();e.document.write("<pre>"+r.xmlEscape(this.toString())+"</pre>"),e.document.close()},toXHTMLSource:function(){var e=window.open();e.document.write("<pre>"+r.xmlEscape(this.toXML())+"</pre>"),e.document.close()}}}),define("ui/search-specref",["core/biblio","core/ui"],function(e,t){function n(e,t,n){return e+" "+(1==e?t:n)}function r(t){var n="",r=0;for(var i in t){var a=t[i];a.aliasOf||(r++,n+="<dt>["+(a.id||i)+"]</dt><dd><small>"+e.stringifyReference(a)+"</small></dd>")}return{html:n,count:r}}function i(e,t){return t?"We found "+n(t,"result","results")+" for your search for '"+e+"'.":"Your search for '"+e+"' did not match any references in the Specref database.<br>Sorry. 😢"}function a(e,t){var n=new RegExp("(<[^>]+>)|("+t+")","gi");return(e||"").replace(n,function(e,t,n){return t?t:"<strong style='font-weight: inherit; background-color: yellow'>"+n+"</strong>"})}const o=t.addCommand("Search Specref DB","ui/search-specref","Ctrl+Shift+Alt+space","🔎");return{show:function(){var e=$("<div><form><p><input name=q type=search> <input type=submit value=search /></p></form></div"),n=e.find("input[type=search]"),s=$("<p style='font-size: smaller'></p>"),l=$("<dl></dl>");s.appendTo(e),l.appendTo(e),t.freshModal("Search Specref DB",e,o),n.focus(),e.find("form").on("submit",function(){s.html("Searching…");var e=n.val();return $.when($.getJSON("https://specref.herokuapp.com/search-refs",{q:e}),$.getJSON("https://specref.herokuapp.com/reverse-lookup",{urls:e})).done(function(t,o){var u;t=t[0],o=o[0];for(var c in o)u=o[c],t[u.id]=u;var p=r(t);l.html(a(p.html,e)),s.html(i(e,p.count)),n.select()}),!1})}}}),define("w3c/seo",["core/pubsubhub"],function(e){return{run:function(t,n,r){var i=t.shortName?"https://www.w3.org/TR/"+t.shortName+"/":null;switch(t.canonicalURI){case"edDraft":t.edDraftURI?t.canonicalURI=new URL(t.edDraftURI,n.location).href:(e.pub("warn","Canonical URI set to edDraft, but no edDraftURI is set in configuration"),t.canonicalURI=null);break;case"TR":i?t.canonicalURI=i:(e.pub("warn","Canonical URI set to TR, but no shortName is set in configuration"),t.canonicalURI=null);break;default:if(t.canonicalURI)try{t.canonicalURI=new URL(t.canonicalURI,n.location).href}catch(n){e.pub("warn","CanonicalURI is an invalid URL: "+n.message),t.canonicalURI=null}else i&&(t.canonicalURI=i)}if(t.canonicalURI){var a=n.createElement("link");a.setAttribute("rel","canonical"),a.setAttribute("href",t.canonicalURI),n.head.appendChild(a)}r()}}}),define("deps/text!core/../../worker/respec-worker.js",[],function(){return'// ReSpec Worker v0.1.0\n"use strict";\nimportScripts("https://www.w3.org/Tools/respec/respec-highlight.js");\n\nhljs.configure({\n tabReplace: " ", // 2 spaces\n languages: [\n "abnf",\n "css",\n "http",\n "javascript",\n "json",\n "markdown",\n "xml",\n ],\n});\n\nself.addEventListener("message", function(e) {\n switch (e.data.action) {\n case "highlight":\n const code = e.data.code;\n const langs = e.data.languages.length ? e.data.languages : undefined;\n const result = self.hljs.highlightAuto(code, langs);\n const data = Object.assign({}, e.data, result);\n try {\n self.postMessage(data);\n } catch (err) {\n console.error("Could not transform some code?", err);\n // Post back the original unhighlighted code.\n const fallbackData = Object.assign({}, e.data, { value: e.data.code });\n self.postMessage(fallbackData);\n }\n }\n});\n'}),define("core/worker",["exports","core/utils","deps/text!../../worker/respec-worker.js"],function(e,t,n){function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(e,"__esModule",{value:!0}),e.worker=void 0;var i=r(n),a={hint:"preload",href:"https://www.w3.org/Tools/respec/respec-highlight.js",as:"script"},o=(0,t.createResourceHint)(a);document.head.appendChild(o);var s=URL.createObjectURL(new Blob([i.default],{type:"application/javascript"}));e.worker=new Worker(s)}),define("deps/text!core/css/github.css",[],function(){return"/*\n\ngithub.com style (c) Vasily Polovnyov <vast@whiteants.net>\n\n*/\n\n.hljs {\n display: block;\n overflow-x: auto;\n padding: 0.5em;\n color: #333;\n background: #f8f8f8;\n}\n\n.hljs-comment,\n.hljs-quote {\n color: #998;\n font-style: italic;\n}\n\n.hljs-keyword,\n.hljs-selector-tag,\n.hljs-subst {\n color: #333;\n font-weight: bold;\n}\n\n.hljs-number,\n.hljs-literal,\n.hljs-variable,\n.hljs-template-variable,\n.hljs-tag .hljs-attr {\n color: #008080;\n}\n\n.hljs-string,\n.hljs-doctag {\n color: #d14;\n}\n\n.hljs-title,\n.hljs-section,\n.hljs-selector-id {\n color: #900;\n font-weight: bold;\n}\n\n.hljs-subst {\n font-weight: normal;\n}\n\n.hljs-type,\n.hljs-class .hljs-title {\n color: #458;\n font-weight: bold;\n}\n\n.hljs-tag,\n.hljs-name,\n.hljs-attribute {\n color: #000080;\n font-weight: normal;\n}\n\n.hljs-regexp,\n.hljs-link {\n color: #009926;\n}\n\n.hljs-symbol,\n.hljs-bullet {\n color: #990073;\n}\n\n.hljs-built_in,\n.hljs-builtin-name {\n color: #0086b3;\n}\n\n.hljs-meta {\n color: #999;\n font-weight: bold;\n}\n\n.hljs-deletion {\n background: #fdd;\n}\n\n.hljs-addition {\n background: #dfd;\n}\n\n.hljs-emphasis {\n font-style: italic;\n}\n\n.hljs-strong {\n font-weight: bold;\n}\n"}),define("core/highlight",["exports","core/pubsubhub","core/utils","core/worker","deps/text!core/css/github.css","deps/regenerator"],function(e,t,n,r,i){function a(e){return e&&e.__esModule?e:{default:e}}function o(e){return function(){var t=e.apply(this,arguments);return new Promise(function(e,n){function r(i,a){try{var o=t[i](a),s=o.value}catch(e){return void n(e)}return o.done?void e(s):Promise.resolve(s).then(function(e){r("next",e)},function(e){r("throw",e)})}return r("next")})}}function s(e){return Array.from(e).filter(function(e){return"highlight"!==e}).map(function(e){return e.toLowerCase()})}Object.defineProperty(e,"__esModule",{value:!0}),e.run=e.done=e.name=void 0;var l=a(i),u=(e.name="core/highlight",document.createElement("style"));u.textContent=l.default;var c=(0,n.makeOwnerSwapper)(u);c(document.head);var p=void 0,d=void 0;e.done=new Promise(function(e,t){p=e,d=t}),e.run=function(){var e=o(regeneratorRuntime.mark(function e(n,i,a){var o,l;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(!n.noHighlightCSS){e.next=3;break}return p(),e.abrupt("return",a());case 3:return u.ownerDocument!==i&&c(i.head),i.querySelector(".highlight")&&(0,t.pub)("warn","pre elements don't need a 'highlight' class anymore."),o=Array.from(i.querySelectorAll("pre:not(.idl):not(.nohighlight),code.highlight")).map(function(e){return e.setAttribute("aria-busy","true"),e}).map(function(e){return new Promise(function(t,n){if(""===e.textContent.trim())return t(e);var i={action:"highlight",code:e.textContent,id:Math.random().toString(),languages:s(e.classList)};e.setAttribute("aria-live","polite"),r.worker.postMessage(i),r.worker.addEventListener("message",function n(a){a.data.id===i.id&&(r.worker.removeEventListener("message",n),e.innerHTML=a.data.value,"pre"===e.localName&&e.classList.add("hljs"),t(e))}),setTimeout(function(){e.setAttribute("aria-busy","false");var t="Timeout error trying to process: "+i.code,r=new Error(t);n(r)},5e3)})}),e.prev=6,e.next=9,Promise.all(o);case 9:l=e.sent,l.forEach(function(e){return e.setAttribute("aria-busy","false")}),p(),e.next=18;break;case 14:e.prev=14,e.t0=e.catch(6),console.error(e.t0),d(e.t0);case 18:a();case 19:case"end":return e.stop()}},e,this,[[6,14]])}));return function(t,n,r){return e.apply(this,arguments)}}()}),define("w3c/linter",["core/pubsubhub"],function(e){function t(e){return Array.from(e.querySelectorAll("h2, h3, h4, h5, h6")).map(function(e){return e.textContent}).some(function(e){var t=/(privacy|security)/gim,n=/(considerations)/gim;return t.test(e)&&n.test(e)})}function n(e,t){return Object.getOwnPropertyNames(e).filter(function(e){return e.endsWith("URI")||"prevED"===e}).filter(function(n){return new URL(e[n],t).href.startsWith("http://")})}return{run:function(r,i,a){if(!r.lint||"unofficial"===r.status)return a();var o=[],s="";t(i)||(s="This specification doesn't appear to have any 'Privacy' or 'Security' considerations sections. Please consider adding one, see https://w3ctag.github.io/security-questionnaire/",o.push(s));var l=n(r,i.location.href);l.length&&(s="There are insecure URLs in your respecConfig! Please change the following properties to use 'https://': "+l.join(", ")+".",o.push(s)),o.map(function(t){e.pub("warn",t)}),a()},rules:{findHTTPProps:n,hasPriSecConsiderations:t}}}),require.config({shim:{shortcut:{exports:"shortcut"},highlight:{exports:"hljs"},beautify:{exports:"beautify"}},paths:{"beautify-css":"deps/beautify-css","beautify-html":"deps/beautify-html","handlebars.runtime":"deps/handlebars","deps/highlight":"https://www.w3.org/Tools/respec/respec-highlight"},deps:["deps/fetch"]}),define("profile-w3c-common",["deps/domReady","core/base-runner","core/ui","deps/regenerator","core/aria","core/style","w3c/style","w3c/l10n","core/data-include","core/markdown","w3c/headers","w3c/abstract","w3c/conformance","core/data-transform","core/inlines","core/data-cite","core/dfn","w3c/rfc2119","core/examples","core/issues-notes","core/requirements","core/best-practices","core/figures","core/biblio","core/webidl-contiguous","core/webidl-index","core/webidl-oldschool","core/link-to-dfn","core/contrib","core/fix-headers","core/structure","w3c/informative","w3c/permalinks","core/id-headers","core/rdfa","w3c/aria","core/shiv","core/location-hash","ui/about-respec","ui/dfn-list","ui/save-html","ui/search-specref","w3c/seo","core/highlight","w3c/linter"],function(e,t,n,r){var i=Array.from(arguments).filter(function(e){return e});n.show(),e(function(){t.runAll(i).then(document.respecIsReady).then(n.enable).catch(function(e){console.error(e),n.enable()})})}),require(["profile-w3c-common"]);
//# sourceMappingURL=respec-w3c-common.build.js.map