44 lines
441 KiB
JavaScript
44 lines
441 KiB
JavaScript
(()=>{var e={117:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(2586),o=n(5765),i=n(4227),a=n(8660),s={keyword:"properties",type:"object",schemaType:"object",code(e){const{gen:t,schema:n,parentSchema:s,data:c,it:l}=e;"all"===l.opts.removeAdditional&&void 0===s.additionalProperties&&a.default.code(new r.KeywordCxt(l,a.default,"additionalProperties"));const u=(0,o.allSchemaProperties)(n);for(const e of u)l.definedProperties.add(e);l.opts.unevaluated&&u.length&&!0!==l.props&&(l.props=i.mergeEvaluated.props(t,(0,i.toHash)(u),l.props));const d=u.filter((e=>!(0,i.alwaysValidSchema)(l,n[e])));if(0===d.length)return;const f=t.name("valid");for(const n of d)h(n)?p(n):(t.if((0,o.propertyInData)(t,c,n,l.opts.ownProperties)),p(n),l.allErrors||t.else().var(f,!0),t.endIf()),e.it.definedProperties.add(n),e.ok(f);function h(e){return l.opts.useDefaults&&!l.compositeRule&&void 0!==n[e].default}function p(t){e.subschema({keyword:"properties",schemaProp:t,dataProp:t},f)}}};t.default=s},208:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.reportTypeError=t.checkDataTypes=t.checkDataType=t.coerceAndCheckDataType=t.getJSONTypes=t.getSchemaTypes=t.DataType=void 0;const r=n(396),o=n(7887),i=n(8708),a=n(9029),s=n(4227);var c;function l(e){const t=Array.isArray(e)?e:e?[e]:[];if(t.every(r.isJSONType))return t;throw new Error("type must be JSONType or JSONType[]: "+t.join(","))}!function(e){e[e.Correct=0]="Correct",e[e.Wrong=1]="Wrong"}(c||(t.DataType=c={})),t.getSchemaTypes=function(e){const t=l(e.type);if(t.includes("null")){if(!1===e.nullable)throw new Error("type: null contradicts nullable: false")}else{if(!t.length&&void 0!==e.nullable)throw new Error('"nullable" cannot be used without "type"');!0===e.nullable&&t.push("null")}return t},t.getJSONTypes=l,t.coerceAndCheckDataType=function(e,t){const{gen:n,data:r,opts:i}=e,s=function(e,t){return t?e.filter((e=>u.has(e)||"array"===t&&"array"===e)):[]}(t,i.coerceTypes),l=t.length>0&&!(0===s.length&&1===t.length&&(0,o.schemaHasRulesForType)(e,t[0]));if(l){const o=f(t,r,i.strictNumbers,c.Wrong);n.if(o,(()=>{s.length?function(e,t,n){const{gen:r,data:o,opts:i}=e,s=r.let("dataType",a._`typeof ${o}`),c=r.let("coerced",a._`undefined`);"array"===i.coerceTypes&&r.if(a._`${s} == 'object' && Array.isArray(${o}) && ${o}.length == 1`,(()=>r.assign(o,a._`${o}[0]`).assign(s,a._`typeof ${o}`).if(f(t,o,i.strictNumbers),(()=>r.assign(c,o)))));r.if(a._`${c} !== undefined`);for(const e of n)(u.has(e)||"array"===e&&"array"===i.coerceTypes)&&l(e);function l(e){switch(e){case"string":return void r.elseIf(a._`${s} == "number" || ${s} == "boolean"`).assign(c,a._`"" + ${o}`).elseIf(a._`${o} === null`).assign(c,a._`""`);case"number":return void r.elseIf(a._`${s} == "boolean" || ${o} === null
|
|
|| (${s} == "string" && ${o} && ${o} == +${o})`).assign(c,a._`+${o}`);case"integer":return void r.elseIf(a._`${s} === "boolean" || ${o} === null
|
|
|| (${s} === "string" && ${o} && ${o} == +${o} && !(${o} % 1))`).assign(c,a._`+${o}`);case"boolean":return void r.elseIf(a._`${o} === "false" || ${o} === 0 || ${o} === null`).assign(c,!1).elseIf(a._`${o} === "true" || ${o} === 1`).assign(c,!0);case"null":return r.elseIf(a._`${o} === "" || ${o} === 0 || ${o} === false`),void r.assign(c,null);case"array":r.elseIf(a._`${s} === "string" || ${s} === "number"
|
|
|| ${s} === "boolean" || ${o} === null`).assign(c,a._`[${o}]`)}}r.else(),p(e),r.endIf(),r.if(a._`${c} !== undefined`,(()=>{r.assign(o,c),function({gen:e,parentData:t,parentDataProperty:n},r){e.if(a._`${t} !== undefined`,(()=>e.assign(a._`${t}[${n}]`,r)))}(e,c)}))}(e,t,s):p(e)}))}return l};const u=new Set(["string","number","integer","boolean","null"]);function d(e,t,n,r=c.Correct){const o=r===c.Correct?a.operators.EQ:a.operators.NEQ;let i;switch(e){case"null":return a._`${t} ${o} null`;case"array":i=a._`Array.isArray(${t})`;break;case"object":i=a._`${t} && typeof ${t} == "object" && !Array.isArray(${t})`;break;case"integer":i=s(a._`!(${t} % 1) && !isNaN(${t})`);break;case"number":i=s();break;default:return a._`typeof ${t} ${o} ${e}`}return r===c.Correct?i:(0,a.not)(i);function s(e=a.nil){return(0,a.and)(a._`typeof ${t} == "number"`,e,n?a._`isFinite(${t})`:a.nil)}}function f(e,t,n,r){if(1===e.length)return d(e[0],t,n,r);let o;const i=(0,s.toHash)(e);if(i.array&&i.object){const e=a._`typeof ${t} != "object"`;o=i.null?e:a._`!${t} || ${e}`,delete i.null,delete i.array,delete i.object}else o=a.nil;i.number&&delete i.integer;for(const e in i)o=(0,a.and)(o,d(e,t,n,r));return o}t.checkDataType=d,t.checkDataTypes=f;const h={message:({schema:e})=>`must be ${e}`,params:({schema:e,schemaValue:t})=>"string"==typeof e?a._`{type: ${e}}`:a._`{type: ${t}}`};function p(e){const t=function(e){const{gen:t,data:n,schema:r}=e,o=(0,s.schemaRefOrVal)(e,r,"type");return{gen:t,keyword:"type",data:n,schema:r.type,schemaCode:o,schemaValue:o,parentSchema:r,params:{},it:e}}(e);(0,i.reportError)(t,h)}t.reportTypeError=p},343:e=>{"use strict";const t=/^[\da-f]{8}\b-[\da-f]{4}\b-[\da-f]{4}\b-[\da-f]{4}\b-[\da-f]{12}$/iu,n=/([\da-z][\d\-a-z]{0,31}):((?:[\w!$'()*+,\-.:;=@]|%[\da-f]{2})+)/iu;function r(e){return"boolean"==typeof e.secure?e.secure:"wss"===String(e.scheme).toLowerCase()}function o(e){return e.host||(e.error=e.error||"HTTP URIs must have a host."),e}function i(e){const t="https"===String(e.scheme).toLowerCase();return e.port!==(t?443:80)&&""!==e.port||(e.port=void 0),e.path||(e.path="/"),e}const a={scheme:"http",domainHost:!0,parse:o,serialize:i},s={scheme:"ws",domainHost:!0,parse:function(e){return e.secure=r(e),e.resourceName=(e.path||"/")+(e.query?"?"+e.query:""),e.path=void 0,e.query=void 0,e},serialize:function(e){if(e.port!==(r(e)?443:80)&&""!==e.port||(e.port=void 0),"boolean"==typeof e.secure&&(e.scheme=e.secure?"wss":"ws",e.secure=void 0),e.resourceName){const[t,n]=e.resourceName.split("?");e.path=t&&"/"!==t?t:void 0,e.query=n,e.resourceName=void 0}return e.fragment=void 0,e}},c={http:a,https:{scheme:"https",domainHost:a.domainHost,parse:o,serialize:i},ws:s,wss:{scheme:"wss",domainHost:s.domainHost,parse:s.parse,serialize:s.serialize},urn:{scheme:"urn",parse:function(e,t){if(!e.path)return e.error="URN can not be parsed",e;const r=e.path.match(n);if(r){const n=t.scheme||e.scheme||"urn";e.nid=r[1].toLowerCase(),e.nss=r[2];const o=`${n}:${t.nid||e.nid}`,i=c[o];e.path=void 0,i&&(e=i.parse(e,t))}else e.error=e.error||"URN can not be parsed.";return e},serialize:function(e,t){const n=t.scheme||e.scheme||"urn",r=e.nid.toLowerCase(),o=`${n}:${t.nid||r}`,i=c[o];i&&(e=i.serialize(e,t));const a=e,s=e.nss;return a.path=`${r||t.nid}:${s}`,t.skipEscape=!0,a},skipNormalize:!0},"urn:uuid":{scheme:"urn:uuid",parse:function(e,n){const r=e;return r.uuid=r.nss,r.nss=void 0,n.tolerant||r.uuid&&t.test(r.uuid)||(r.error=r.error||"UUID is not valid."),r},serialize:function(e){const t=e;return t.nss=(e.uuid||"").toLowerCase(),t},skipNormalize:!0}};e.exports=c},396:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getRules=t.isJSONType=void 0;const n=new Set(["string","number","integer","boolean","null","object","array"]);t.isJSONType=function(e){return"string"==typeof e&&n.has(e)},t.getRules=function(){const e={number:{type:"number",rules:[]},string:{type:"string",rules:[]},array:{type:"array",rules:[]},object:{type:"object",rules:[]}};return{types:{...e,integer:!0,boolean:!0,null:!0},rules:[{rules:[]},e.number,e.string,e.array,e.object],post:{rules:[]},all:{},keywords:{}}}},422:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(5765),o=n(9029),i={keyword:"pattern",type:"string",schemaType:"string",$data:!0,error:{message:({schemaCode:e})=>o.str`must match pattern "${e}"`,params:({schemaCode:e})=>o._`{pattern: ${e}}`},code(e){const{data:t,$data:n,schema:i,schemaCode:a,it:s}=e,c=s.opts.unicodeRegExp?"u":"",l=n?o._`(new RegExp(${a}, ${c}))`:(0,r.usePattern)(e,i);e.fail$data(o._`!${l}.test(${t})`)}};t.default=i},494:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.validateTuple=void 0;const r=n(9029),o=n(4227),i=n(5765),a={keyword:"items",type:"array",schemaType:["object","array","boolean"],before:"uniqueItems",code(e){const{schema:t,it:n}=e;if(Array.isArray(t))return s(e,"additionalItems",t);n.items=!0,(0,o.alwaysValidSchema)(n,t)||e.ok((0,i.validateArray)(e))}};function s(e,t,n=e.schema){const{gen:i,parentSchema:a,data:s,keyword:c,it:l}=e;!function(e){const{opts:r,errSchemaPath:i}=l,a=n.length,s=a===e.minItems&&(a===e.maxItems||!1===e[t]);if(r.strictTuples&&!s){const e=`"${c}" is ${a}-tuple, but minItems or maxItems/${t} are not specified or different at path "${i}"`;(0,o.checkStrictMode)(l,e,r.strictTuples)}}(a),l.opts.unevaluated&&n.length&&!0!==l.items&&(l.items=o.mergeEvaluated.items(i,n.length,l.items));const u=i.name("valid"),d=i.const("len",r._`${s}.length`);n.forEach(((t,n)=>{(0,o.alwaysValidSchema)(l,t)||(i.if(r._`${d} > ${n}`,(()=>e.subschema({keyword:c,schemaProp:n,dataProp:n},u))),e.ok(u))}))}t.validateTuple=s,t.default=a},617:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(208),o=n(9029),i=n(4227),a=n(6250),s={keyword:"uniqueItems",type:"array",schemaType:"boolean",$data:!0,error:{message:({params:{i:e,j:t}})=>o.str`must NOT have duplicate items (items ## ${t} and ${e} are identical)`,params:({params:{i:e,j:t}})=>o._`{i: ${e}, j: ${t}}`},code(e){const{gen:t,data:n,$data:s,schema:c,parentSchema:l,schemaCode:u,it:d}=e;if(!s&&!c)return;const f=t.let("valid"),h=l.items?(0,r.getSchemaTypes)(l.items):[];function p(i,a){const s=t.name("item"),c=(0,r.checkDataTypes)(h,s,d.opts.strictNumbers,r.DataType.Wrong),l=t.const("indices",o._`{}`);t.for(o._`;${i}--;`,(()=>{t.let(s,o._`${n}[${i}]`),t.if(c,o._`continue`),h.length>1&&t.if(o._`typeof ${s} == "string"`,o._`${s} += "_"`),t.if(o._`typeof ${l}[${s}] == "number"`,(()=>{t.assign(a,o._`${l}[${s}]`),e.error(),t.assign(f,!1).break()})).code(o._`${l}[${s}] = ${i}`)}))}function m(r,s){const c=(0,i.useFunc)(t,a.default),l=t.name("outer");t.label(l).for(o._`;${r}--;`,(()=>t.for(o._`${s} = ${r}; ${s}--;`,(()=>t.if(o._`${c}(${n}[${r}], ${n}[${s}])`,(()=>{e.error(),t.assign(f,!1).break(l)}))))))}e.block$data(f,(function(){const r=t.let("i",o._`${n}.length`),i=t.let("j");e.setParams({i:r,j:i}),t.assign(f,!0),t.if(o._`${r} > 1`,(()=>(h.length>0&&!h.some((e=>"object"===e||"array"===e))?p:m)(r,i)))}),o._`${u} === false`),e.ok(f)}};t.default=s},1163:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(9029),o={keyword:["maxItems","minItems"],type:"array",schemaType:"number",$data:!0,error:{message({keyword:e,schemaCode:t}){const n="maxItems"===e?"more":"fewer";return r.str`must NOT have ${n} than ${t} items`},params:({schemaCode:e})=>r._`{limit: ${e}}`},code(e){const{keyword:t,data:n,schemaCode:o}=e,i="maxItems"===t?r.operators.GT:r.operators.LT;e.fail$data(r._`${n}.length ${i} ${o}`)}};t.default=o},1239:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(9029),o=n(4227),i={keyword:"if",schemaType:["object","boolean"],trackErrors:!0,error:{message:({params:e})=>r.str`must match "${e.ifClause}" schema`,params:({params:e})=>r._`{failingKeyword: ${e.ifClause}}`},code(e){const{gen:t,parentSchema:n,it:i}=e;void 0===n.then&&void 0===n.else&&(0,o.checkStrictMode)(i,'"if" without "then" and "else" is ignored');const s=a(i,"then"),c=a(i,"else");if(!s&&!c)return;const l=t.let("valid",!0),u=t.name("_valid");if(function(){const t=e.subschema({keyword:"if",compositeRule:!0,createErrors:!1,allErrors:!1},u);e.mergeEvaluated(t)}(),e.reset(),s&&c){const n=t.let("ifClause");e.setParams({ifClause:n}),t.if(u,d("then",n),d("else",n))}else s?t.if(u,d("then")):t.if((0,r.not)(u),d("else"));function d(n,o){return()=>{const i=e.subschema({keyword:n},u);t.assign(l,u),e.mergeValidEvaluated(i,l),o?t.assign(o,r._`${n}`):e.setParams({ifClause:n})}}e.pass(l,(()=>e.error(!0)))}};function a(e,t){const n=e.schema[t];return void 0!==n&&!(0,o.alwaysValidSchema)(e,n)}t.default=i},1354:e=>{"use strict";e.exports=function(e){var t=e[1],n=e[3];if(!n)return t;if("function"==typeof btoa){var r=btoa(unescape(encodeURIComponent(JSON.stringify(n)))),o="sourceMappingURL=data:application/json;charset=utf-8;base64,".concat(r),i="/*# ".concat(o," */");return[t].concat([i]).join("\n")}return[t].join("\n")}},1520:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.regexpCode=t.getEsmExportName=t.getProperty=t.safeStringify=t.stringify=t.strConcat=t.addCodeArg=t.str=t._=t.nil=t._Code=t.Name=t.IDENTIFIER=t._CodeOrName=void 0;class n{}t._CodeOrName=n,t.IDENTIFIER=/^[a-z$_][a-z$_0-9]*$/i;class r extends n{constructor(e){if(super(),!t.IDENTIFIER.test(e))throw new Error("CodeGen: name must be a valid identifier");this.str=e}toString(){return this.str}emptyStr(){return!1}get names(){return{[this.str]:1}}}t.Name=r;class o extends n{constructor(e){super(),this._items="string"==typeof e?[e]:e}toString(){return this.str}emptyStr(){if(this._items.length>1)return!1;const e=this._items[0];return""===e||'""'===e}get str(){var e;return null!==(e=this._str)&&void 0!==e?e:this._str=this._items.reduce(((e,t)=>`${e}${t}`),"")}get names(){var e;return null!==(e=this._names)&&void 0!==e?e:this._names=this._items.reduce(((e,t)=>(t instanceof r&&(e[t.str]=(e[t.str]||0)+1),e)),{})}}function i(e,...t){const n=[e[0]];let r=0;for(;r<t.length;)c(n,t[r]),n.push(e[++r]);return new o(n)}t._Code=o,t.nil=new o(""),t._=i;const a=new o("+");function s(e,...t){const n=[u(e[0])];let r=0;for(;r<t.length;)n.push(a),c(n,t[r]),n.push(a,u(e[++r]));return function(e){let t=1;for(;t<e.length-1;){if(e[t]===a){const n=l(e[t-1],e[t+1]);if(void 0!==n){e.splice(t-1,3,n);continue}e[t++]="+"}t++}}(n),new o(n)}function c(e,t){var n;t instanceof o?e.push(...t._items):t instanceof r?e.push(t):e.push("number"==typeof(n=t)||"boolean"==typeof n||null===n?n:u(Array.isArray(n)?n.join(","):n))}function l(e,t){if('""'===t)return e;if('""'===e)return t;if("string"==typeof e){if(t instanceof r||'"'!==e[e.length-1])return;return"string"!=typeof t?`${e.slice(0,-1)}${t}"`:'"'===t[0]?e.slice(0,-1)+t.slice(1):void 0}return"string"!=typeof t||'"'!==t[0]||e instanceof r?void 0:`"${e}${t.slice(1)}`}function u(e){return JSON.stringify(e).replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029")}t.str=s,t.addCodeArg=c,t.strConcat=function(e,t){return t.emptyStr()?e:e.emptyStr()?t:s`${e}${t}`},t.stringify=function(e){return new o(u(e))},t.safeStringify=u,t.getProperty=function(e){return"string"==typeof e&&t.IDENTIFIER.test(e)?new o(`.${e}`):i`[${e}]`},t.getEsmExportName=function(e){if("string"==typeof e&&t.IDENTIFIER.test(e))return new o(`${e}`);throw new Error(`CodeGen: invalid export name: ${e}, use explicit $id name mapping`)},t.regexpCode=function(e){return new o(e.toString())}},1635:(e,t,n)=>{"use strict";n.r(t),n.d(t,{__addDisposableResource:()=>O,__assign:()=>i,__asyncDelegator:()=>L,__asyncGenerator:()=>E,__asyncValues:()=>j,__await:()=>C,__awaiter:()=>p,__classPrivateFieldGet:()=>_,__classPrivateFieldIn:()=>I,__classPrivateFieldSet:()=>D,__createBinding:()=>g,__decorate:()=>s,__disposeResources:()=>B,__esDecorate:()=>l,__exportStar:()=>y,__extends:()=>o,__generator:()=>m,__importDefault:()=>k,__importStar:()=>T,__makeTemplateObject:()=>x,__metadata:()=>h,__param:()=>c,__propKey:()=>d,__read:()=>v,__rest:()=>a,__rewriteRelativeImportExtension:()=>$,__runInitializers:()=>u,__setFunctionName:()=>f,__spread:()=>b,__spreadArray:()=>M,__spreadArrays:()=>w,__values:()=>A,default:()=>P});var r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},r(e,t)};function o(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}var i=function(){return i=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},i.apply(this,arguments)};function a(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n}function s(e,t,n,r){var o,i=arguments.length,a=i<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(a=(i<3?o(a):i>3?o(t,n,a):o(t,n))||a);return i>3&&a&&Object.defineProperty(t,n,a),a}function c(e,t){return function(n,r){t(n,r,e)}}function l(e,t,n,r,o,i){function a(e){if(void 0!==e&&"function"!=typeof e)throw new TypeError("Function expected");return e}for(var s,c=r.kind,l="getter"===c?"get":"setter"===c?"set":"value",u=!t&&e?r.static?e:e.prototype:null,d=t||(u?Object.getOwnPropertyDescriptor(u,r.name):{}),f=!1,h=n.length-1;h>=0;h--){var p={};for(var m in r)p[m]="access"===m?{}:r[m];for(var m in r.access)p.access[m]=r.access[m];p.addInitializer=function(e){if(f)throw new TypeError("Cannot add initializers after decoration has completed");i.push(a(e||null))};var g=(0,n[h])("accessor"===c?{get:d.get,set:d.set}:d[l],p);if("accessor"===c){if(void 0===g)continue;if(null===g||"object"!=typeof g)throw new TypeError("Object expected");(s=a(g.get))&&(d.get=s),(s=a(g.set))&&(d.set=s),(s=a(g.init))&&o.unshift(s)}else(s=a(g))&&("field"===c?o.unshift(s):d[l]=s)}u&&Object.defineProperty(u,r.name,d),f=!0}function u(e,t,n){for(var r=arguments.length>2,o=0;o<t.length;o++)n=r?t[o].call(e,n):t[o].call(e);return r?n:void 0}function d(e){return"symbol"==typeof e?e:"".concat(e)}function f(e,t,n){return"symbol"==typeof t&&(t=t.description?"[".concat(t.description,"]"):""),Object.defineProperty(e,"name",{configurable:!0,value:n?"".concat(n," ",t):t})}function h(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)}function p(e,t,n,r){return new(n||(n=Promise))((function(o,i){function a(e){try{c(r.next(e))}catch(e){i(e)}}function s(e){try{c(r.throw(e))}catch(e){i(e)}}function c(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,s)}c((r=r.apply(e,t||[])).next())}))}function m(e,t){var n,r,o,i={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]},a=Object.create(("function"==typeof Iterator?Iterator:Object).prototype);return a.next=s(0),a.throw=s(1),a.return=s(2),"function"==typeof Symbol&&(a[Symbol.iterator]=function(){return this}),a;function s(s){return function(c){return function(s){if(n)throw new TypeError("Generator is already executing.");for(;a&&(a=0,s[0]&&(i=0)),i;)try{if(n=1,r&&(o=2&s[0]?r.return:s[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,s[1])).done)return o;switch(r=0,o&&(s=[2&s[0],o.value]),s[0]){case 0:case 1:o=s;break;case 4:return i.label++,{value:s[1],done:!1};case 5:i.label++,r=s[1],s=[0];continue;case 7:s=i.ops.pop(),i.trys.pop();continue;default:if(!(o=i.trys,(o=o.length>0&&o[o.length-1])||6!==s[0]&&2!==s[0])){i=0;continue}if(3===s[0]&&(!o||s[1]>o[0]&&s[1]<o[3])){i.label=s[1];break}if(6===s[0]&&i.label<o[1]){i.label=o[1],o=s;break}if(o&&i.label<o[2]){i.label=o[2],i.ops.push(s);break}o[2]&&i.ops.pop(),i.trys.pop();continue}s=t.call(e,i)}catch(e){s=[6,e],r=0}finally{n=o=0}if(5&s[0])throw s[1];return{value:s[0]?s[1]:void 0,done:!0}}([s,c])}}}var g=Object.create?function(e,t,n,r){void 0===r&&(r=n);var o=Object.getOwnPropertyDescriptor(t,n);o&&!("get"in o?!t.__esModule:o.writable||o.configurable)||(o={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,o)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]};function y(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||g(t,e,n)}function A(e){var t="function"==typeof Symbol&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function v(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,o,i=n.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(r=i.next()).done;)a.push(r.value)}catch(e){o={error:e}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(o)throw o.error}}return a}function b(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat(v(arguments[t]));return e}function w(){for(var e=0,t=0,n=arguments.length;t<n;t++)e+=arguments[t].length;var r=Array(e),o=0;for(t=0;t<n;t++)for(var i=arguments[t],a=0,s=i.length;a<s;a++,o++)r[o]=i[a];return r}function M(e,t,n){if(n||2===arguments.length)for(var r,o=0,i=t.length;o<i;o++)!r&&o in t||(r||(r=Array.prototype.slice.call(t,0,o)),r[o]=t[o]);return e.concat(r||Array.prototype.slice.call(t))}function C(e){return this instanceof C?(this.v=e,this):new C(e)}function E(e,t,n){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var r,o=n.apply(e,t||[]),i=[];return r=Object.create(("function"==typeof AsyncIterator?AsyncIterator:Object).prototype),a("next"),a("throw"),a("return",(function(e){return function(t){return Promise.resolve(t).then(e,l)}})),r[Symbol.asyncIterator]=function(){return this},r;function a(e,t){o[e]&&(r[e]=function(t){return new Promise((function(n,r){i.push([e,t,n,r])>1||s(e,t)}))},t&&(r[e]=t(r[e])))}function s(e,t){try{(n=o[e](t)).value instanceof C?Promise.resolve(n.value.v).then(c,l):u(i[0][2],n)}catch(e){u(i[0][3],e)}var n}function c(e){s("next",e)}function l(e){s("throw",e)}function u(e,t){e(t),i.shift(),i.length&&s(i[0][0],i[0][1])}}function L(e){var t,n;return t={},r("next"),r("throw",(function(e){throw e})),r("return"),t[Symbol.iterator]=function(){return this},t;function r(r,o){t[r]=e[r]?function(t){return(n=!n)?{value:C(e[r](t)),done:!1}:o?o(t):t}:o}}function j(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t,n=e[Symbol.asyncIterator];return n?n.call(e):(e=A(e),t={},r("next"),r("throw"),r("return"),t[Symbol.asyncIterator]=function(){return this},t);function r(n){t[n]=e[n]&&function(t){return new Promise((function(r,o){(function(e,t,n,r){Promise.resolve(r).then((function(t){e({value:t,done:n})}),t)})(r,o,(t=e[n](t)).done,t.value)}))}}}function x(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e}var N=Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t},S=function(e){return S=Object.getOwnPropertyNames||function(e){var t=[];for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[t.length]=n);return t},S(e)};function T(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n=S(e),r=0;r<n.length;r++)"default"!==n[r]&&g(t,e,n[r]);return N(t,e),t}function k(e){return e&&e.__esModule?e:{default:e}}function _(e,t,n,r){if("a"===n&&!r)throw new TypeError("Private accessor was defined without a getter");if("function"==typeof t?e!==t||!r:!t.has(e))throw new TypeError("Cannot read private member from an object whose class did not declare it");return"m"===n?r:"a"===n?r.call(e):r?r.value:t.get(e)}function D(e,t,n,r,o){if("m"===r)throw new TypeError("Private method is not writable");if("a"===r&&!o)throw new TypeError("Private accessor was defined without a setter");if("function"==typeof t?e!==t||!o:!t.has(e))throw new TypeError("Cannot write private member to an object whose class did not declare it");return"a"===r?o.call(e,n):o?o.value=n:t.set(e,n),n}function I(e,t){if(null===t||"object"!=typeof t&&"function"!=typeof t)throw new TypeError("Cannot use 'in' operator on non-object");return"function"==typeof e?t===e:e.has(t)}function O(e,t,n){if(null!=t){if("object"!=typeof t&&"function"!=typeof t)throw new TypeError("Object expected.");var r,o;if(n){if(!Symbol.asyncDispose)throw new TypeError("Symbol.asyncDispose is not defined.");r=t[Symbol.asyncDispose]}if(void 0===r){if(!Symbol.dispose)throw new TypeError("Symbol.dispose is not defined.");r=t[Symbol.dispose],n&&(o=r)}if("function"!=typeof r)throw new TypeError("Object not disposable.");o&&(r=function(){try{o.call(this)}catch(e){return Promise.reject(e)}}),e.stack.push({value:t,dispose:r,async:n})}else n&&e.stack.push({async:!0});return t}var z="function"==typeof SuppressedError?SuppressedError:function(e,t,n){var r=new Error(n);return r.name="SuppressedError",r.error=e,r.suppressed=t,r};function B(e){function t(t){e.error=e.hasError?new z(t,e.error,"An error was suppressed during disposal."):t,e.hasError=!0}var n,r=0;return function o(){for(;n=e.stack.pop();)try{if(!n.async&&1===r)return r=0,e.stack.push(n),Promise.resolve().then(o);if(n.dispose){var i=n.dispose.call(n.value);if(n.async)return r|=2,Promise.resolve(i).then(o,(function(e){return t(e),o()}))}else r|=1}catch(e){t(e)}if(1===r)return e.hasError?Promise.reject(e.error):Promise.resolve();if(e.hasError)throw e.error}()}function $(e,t){return"string"==typeof e&&/^\.\.?\//.test(e)?e.replace(/\.(tsx)$|((?:\.d)?)((?:\.[^./]+?)?)\.([cm]?)ts$/i,(function(e,n,r,o,i){return n?t?".jsx":".js":!r||o&&i?r+o+"."+i.toLowerCase()+"js":e})):e}const P={__extends:o,__assign:i,__rest:a,__decorate:s,__param:c,__esDecorate:l,__runInitializers:u,__propKey:d,__setFunctionName:f,__metadata:h,__awaiter:p,__generator:m,__createBinding:g,__exportStar:y,__values:A,__read:v,__spread:b,__spreadArrays:w,__spreadArray:M,__await:C,__asyncGenerator:E,__asyncDelegator:L,__asyncValues:j,__makeTemplateObject:x,__importStar:T,__importDefault:k,__classPrivateFieldGet:_,__classPrivateFieldSet:D,__classPrivateFieldIn:I,__addDisposableResource:O,__disposeResources:B,__rewriteRelativeImportExtension:$}},1794:function(e,t){var n,r,o;!function(i,a){"use strict";"object"==typeof e.exports?e.exports=a():(r=[],void 0===(o="function"==typeof(n=a)?n.apply(t,r):n)||(e.exports=o))}(0,(function(){"use strict";var e=Object.prototype.toString;function t(e,t){return null!=e&&Object.prototype.hasOwnProperty.call(e,t)}function n(e){if(!e)return!0;if(o(e)&&0===e.length)return!0;if("string"!=typeof e){for(var n in e)if(t(e,n))return!1;return!0}return!1}function r(t){return e.call(t)}var o=Array.isArray||function(t){return"[object Array]"===e.call(t)};function i(e){var t=parseInt(e);return t.toString()===e?t:e}function a(e){var a,s,c=function(e){return Object.keys(c).reduce((function(t,n){return"create"===n||"function"==typeof c[n]&&(t[n]=c[n].bind(c,e)),t}),{})};function l(e,t){if(a(e,t))return e[t]}function u(e,t,n,r){if("number"==typeof t&&(t=[t]),!t||0===t.length)return e;if("string"==typeof t)return u(e,t.split(".").map(i),n,r);var o=t[0],a=s(e,o);return 1===t.length?(void 0!==a&&r||(e[o]=n),a):(void 0===a&&("number"==typeof t[1]?e[o]=[]:e[o]={}),u(e[o],t.slice(1),n,r))}return a=(e=e||{}).includeInheritedProps?function(){return!0}:function(e,n){return"number"==typeof n&&Array.isArray(e)||t(e,n)},s=e.includeInheritedProps?function(e,t){"string"!=typeof t&&"number"!=typeof t&&(t=String(t));var n=l(e,t);if("__proto__"===t||"prototype"===t||"constructor"===t&&"function"==typeof n)throw new Error("For security reasons, object's magic properties cannot be set");return n}:function(e,t){return l(e,t)},c.has=function(n,r){if("number"==typeof r?r=[r]:"string"==typeof r&&(r=r.split(".")),!r||0===r.length)return!!n;for(var a=0;a<r.length;a++){var s=i(r[a]);if(!("number"==typeof s&&o(n)&&s<n.length||(e.includeInheritedProps?s in Object(n):t(n,s))))return!1;n=n[s]}return!0},c.ensureExists=function(e,t,n){return u(e,t,n,!0)},c.set=function(e,t,n,r){return u(e,t,n,r)},c.insert=function(e,t,n,r){var i=c.get(e,t);r=~~r,o(i)||(i=[],c.set(e,t,i)),i.splice(r,0,n)},c.empty=function(e,t){var i,s;if(!n(t)&&(null!=e&&(i=c.get(e,t)))){if("string"==typeof i)return c.set(e,t,"");if(function(e){return"boolean"==typeof e||"[object Boolean]"===r(e)}(i))return c.set(e,t,!1);if("number"==typeof i)return c.set(e,t,0);if(o(i))i.length=0;else{if(!function(e){return"object"==typeof e&&"[object Object]"===r(e)}(i))return c.set(e,t,null);for(s in i)a(i,s)&&delete i[s]}}},c.push=function(e,t){var n=c.get(e,t);o(n)||(n=[],c.set(e,t,n)),n.push.apply(n,Array.prototype.slice.call(arguments,2))},c.coalesce=function(e,t,n){for(var r,o=0,i=t.length;o<i;o++)if(void 0!==(r=c.get(e,t[o])))return r;return n},c.get=function(e,t,n){if("number"==typeof t&&(t=[t]),!t||0===t.length)return e;if(null==e)return n;if("string"==typeof t)return c.get(e,t.split("."),n);var r=i(t[0]),o=s(e,r);return void 0===o?n:1===t.length?o:c.get(e[r],t.slice(1),n)},c.del=function(e,t){if("number"==typeof t&&(t=[t]),null==e)return e;if(n(t))return e;if("string"==typeof t)return c.del(e,t.split("."));var r=i(t[0]);return s(e,r),a(e,r)?1!==t.length?c.del(e[r],t.slice(1)):(o(e)?e.splice(r,1):delete e[r],e):e},c}var s=a();return s.create=a,s.withInheritedProps=a({includeInheritedProps:!0}),s}))},2017:e=>{"use strict";e.exports=function e(t,n){if(t===n)return!0;if(t&&n&&"object"==typeof t&&"object"==typeof n){if(t.constructor!==n.constructor)return!1;var r,o,i;if(Array.isArray(t)){if((r=t.length)!=n.length)return!1;for(o=r;0!=o--;)if(!e(t[o],n[o]))return!1;return!0}if(t.constructor===RegExp)return t.source===n.source&&t.flags===n.flags;if(t.valueOf!==Object.prototype.valueOf)return t.valueOf()===n.valueOf();if(t.toString!==Object.prototype.toString)return t.toString()===n.toString();if((r=(i=Object.keys(t)).length)!==Object.keys(n).length)return!1;for(o=r;0!=o--;)if(!Object.prototype.hasOwnProperty.call(n,i[o]))return!1;for(o=r;0!=o--;){var a=i[o];if(!e(t[a],n[a]))return!1}return!0}return t!=t&&n!=n}},2023:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(9029),o={data:new r.Name("data"),valCxt:new r.Name("valCxt"),instancePath:new r.Name("instancePath"),parentData:new r.Name("parentData"),parentDataProperty:new r.Name("parentDataProperty"),rootData:new r.Name("rootData"),dynamicAnchors:new r.Name("dynamicAnchors"),vErrors:new r.Name("vErrors"),errors:new r.Name("errors"),this:new r.Name("this"),self:new r.Name("self"),scope:new r.Name("scope"),json:new r.Name("json"),jsonPos:new r.Name("jsonPos"),jsonLen:new r.Name("jsonLen"),jsonPart:new r.Name("jsonPart")};t.default=o},2079:e=>{"use strict";e.exports=JSON.parse('{"$schema":"http://json-schema.org/draft-07/schema#","$id":"http://json-schema.org/draft-07/schema#","title":"Core schema meta-schema","definitions":{"schemaArray":{"type":"array","minItems":1,"items":{"$ref":"#"}},"nonNegativeInteger":{"type":"integer","minimum":0},"nonNegativeIntegerDefault0":{"allOf":[{"$ref":"#/definitions/nonNegativeInteger"},{"default":0}]},"simpleTypes":{"enum":["array","boolean","integer","null","number","object","string"]},"stringArray":{"type":"array","items":{"type":"string"},"uniqueItems":true,"default":[]}},"type":["object","boolean"],"properties":{"$id":{"type":"string","format":"uri-reference"},"$schema":{"type":"string","format":"uri"},"$ref":{"type":"string","format":"uri-reference"},"$comment":{"type":"string"},"title":{"type":"string"},"description":{"type":"string"},"default":true,"readOnly":{"type":"boolean","default":false},"examples":{"type":"array","items":true},"multipleOf":{"type":"number","exclusiveMinimum":0},"maximum":{"type":"number"},"exclusiveMaximum":{"type":"number"},"minimum":{"type":"number"},"exclusiveMinimum":{"type":"number"},"maxLength":{"$ref":"#/definitions/nonNegativeInteger"},"minLength":{"$ref":"#/definitions/nonNegativeIntegerDefault0"},"pattern":{"type":"string","format":"regex"},"additionalItems":{"$ref":"#"},"items":{"anyOf":[{"$ref":"#"},{"$ref":"#/definitions/schemaArray"}],"default":true},"maxItems":{"$ref":"#/definitions/nonNegativeInteger"},"minItems":{"$ref":"#/definitions/nonNegativeIntegerDefault0"},"uniqueItems":{"type":"boolean","default":false},"contains":{"$ref":"#"},"maxProperties":{"$ref":"#/definitions/nonNegativeInteger"},"minProperties":{"$ref":"#/definitions/nonNegativeIntegerDefault0"},"required":{"$ref":"#/definitions/stringArray"},"additionalProperties":{"$ref":"#"},"definitions":{"type":"object","additionalProperties":{"$ref":"#"},"default":{}},"properties":{"type":"object","additionalProperties":{"$ref":"#"},"default":{}},"patternProperties":{"type":"object","additionalProperties":{"$ref":"#"},"propertyNames":{"format":"regex"},"default":{}},"dependencies":{"type":"object","additionalProperties":{"anyOf":[{"$ref":"#"},{"$ref":"#/definitions/stringArray"}]}},"propertyNames":{"$ref":"#"},"const":true,"enum":{"type":"array","items":true,"minItems":1,"uniqueItems":true},"type":{"anyOf":[{"$ref":"#/definitions/simpleTypes"},{"type":"array","items":{"$ref":"#/definitions/simpleTypes"},"minItems":1,"uniqueItems":true}]},"format":{"type":"string"},"contentMediaType":{"type":"string"},"contentEncoding":{"type":"string"},"if":{"$ref":"#"},"then":{"$ref":"#"},"else":{"$ref":"#"},"allOf":{"$ref":"#/definitions/schemaArray"},"anyOf":{"$ref":"#/definitions/schemaArray"},"oneOf":{"$ref":"#/definitions/schemaArray"},"not":{"$ref":"#"}},"default":true}')},2128:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(3463),o=n(3693),i=["$schema","$id","$defs","$vocabulary",{keyword:"$comment"},"definitions",r.default,o.default];t.default=i},2189:e=>{var t=function(){this.Diff_Timeout=1,this.Diff_EditCost=4,this.Match_Threshold=.5,this.Match_Distance=1e3,this.Patch_DeleteThreshold=.5,this.Patch_Margin=4,this.Match_MaxBits=32},n=-1;t.Diff=function(e,t){return[e,t]},t.prototype.diff_main=function(e,n,r,o){void 0===o&&(o=this.Diff_Timeout<=0?Number.MAX_VALUE:(new Date).getTime()+1e3*this.Diff_Timeout);var i=o;if(null==e||null==n)throw new Error("Null input. (diff_main)");if(e==n)return e?[new t.Diff(0,e)]:[];void 0===r&&(r=!0);var a=r,s=this.diff_commonPrefix(e,n),c=e.substring(0,s);e=e.substring(s),n=n.substring(s),s=this.diff_commonSuffix(e,n);var l=e.substring(e.length-s);e=e.substring(0,e.length-s),n=n.substring(0,n.length-s);var u=this.diff_compute_(e,n,a,i);return c&&u.unshift(new t.Diff(0,c)),l&&u.push(new t.Diff(0,l)),this.diff_cleanupMerge(u),u},t.prototype.diff_compute_=function(e,r,o,i){var a;if(!e)return[new t.Diff(1,r)];if(!r)return[new t.Diff(n,e)];var s=e.length>r.length?e:r,c=e.length>r.length?r:e,l=s.indexOf(c);if(-1!=l)return a=[new t.Diff(1,s.substring(0,l)),new t.Diff(0,c),new t.Diff(1,s.substring(l+c.length))],e.length>r.length&&(a[0][0]=a[2][0]=n),a;if(1==c.length)return[new t.Diff(n,e),new t.Diff(1,r)];var u=this.diff_halfMatch_(e,r);if(u){var d=u[0],f=u[1],h=u[2],p=u[3],m=u[4],g=this.diff_main(d,h,o,i),y=this.diff_main(f,p,o,i);return g.concat([new t.Diff(0,m)],y)}return o&&e.length>100&&r.length>100?this.diff_lineMode_(e,r,i):this.diff_bisect_(e,r,i)},t.prototype.diff_lineMode_=function(e,r,o){var i=this.diff_linesToChars_(e,r);e=i.chars1,r=i.chars2;var a=i.lineArray,s=this.diff_main(e,r,!1,o);this.diff_charsToLines_(s,a),this.diff_cleanupSemantic(s),s.push(new t.Diff(0,""));for(var c=0,l=0,u=0,d="",f="";c<s.length;){switch(s[c][0]){case 1:u++,f+=s[c][1];break;case n:l++,d+=s[c][1];break;case 0:if(l>=1&&u>=1){s.splice(c-l-u,l+u),c=c-l-u;for(var h=this.diff_main(d,f,!1,o),p=h.length-1;p>=0;p--)s.splice(c,0,h[p]);c+=h.length}u=0,l=0,d="",f=""}c++}return s.pop(),s},t.prototype.diff_bisect_=function(e,r,o){for(var i=e.length,a=r.length,s=Math.ceil((i+a)/2),c=s,l=2*s,u=new Array(l),d=new Array(l),f=0;f<l;f++)u[f]=-1,d[f]=-1;u[c+1]=0,d[c+1]=0;for(var h=i-a,p=h%2!=0,m=0,g=0,y=0,A=0,v=0;v<s&&!((new Date).getTime()>o);v++){for(var b=-v+m;b<=v-g;b+=2){for(var w=c+b,M=(x=b==-v||b!=v&&u[w-1]<u[w+1]?u[w+1]:u[w-1]+1)-b;x<i&&M<a&&e.charAt(x)==r.charAt(M);)x++,M++;if(u[w]=x,x>i)g+=2;else if(M>a)m+=2;else if(p){if((L=c+h-b)>=0&&L<l&&-1!=d[L])if(x>=(E=i-d[L]))return this.diff_bisectSplit_(e,r,x,M,o)}}for(var C=-v+y;C<=v-A;C+=2){for(var E,L=c+C,j=(E=C==-v||C!=v&&d[L-1]<d[L+1]?d[L+1]:d[L-1]+1)-C;E<i&&j<a&&e.charAt(i-E-1)==r.charAt(a-j-1);)E++,j++;if(d[L]=E,E>i)A+=2;else if(j>a)y+=2;else if(!p){if((w=c+h-C)>=0&&w<l&&-1!=u[w]){var x;M=c+(x=u[w])-w;if(x>=(E=i-E))return this.diff_bisectSplit_(e,r,x,M,o)}}}}return[new t.Diff(n,e),new t.Diff(1,r)]},t.prototype.diff_bisectSplit_=function(e,t,n,r,o){var i=e.substring(0,n),a=t.substring(0,r),s=e.substring(n),c=t.substring(r),l=this.diff_main(i,a,!1,o),u=this.diff_main(s,c,!1,o);return l.concat(u)},t.prototype.diff_linesToChars_=function(e,t){var n=[],r={};function o(e){for(var t="",o=0,a=-1,s=n.length;a<e.length-1;){-1==(a=e.indexOf("\n",o))&&(a=e.length-1);var c=e.substring(o,a+1);(r.hasOwnProperty?r.hasOwnProperty(c):void 0!==r[c])?t+=String.fromCharCode(r[c]):(s==i&&(c=e.substring(o),a=e.length),t+=String.fromCharCode(s),r[c]=s,n[s++]=c),o=a+1}return t}n[0]="";var i=4e4,a=o(e);return i=65535,{chars1:a,chars2:o(t),lineArray:n}},t.prototype.diff_charsToLines_=function(e,t){for(var n=0;n<e.length;n++){for(var r=e[n][1],o=[],i=0;i<r.length;i++)o[i]=t[r.charCodeAt(i)];e[n][1]=o.join("")}},t.prototype.diff_commonPrefix=function(e,t){if(!e||!t||e.charAt(0)!=t.charAt(0))return 0;for(var n=0,r=Math.min(e.length,t.length),o=r,i=0;n<o;)e.substring(i,o)==t.substring(i,o)?i=n=o:r=o,o=Math.floor((r-n)/2+n);return o},t.prototype.diff_commonSuffix=function(e,t){if(!e||!t||e.charAt(e.length-1)!=t.charAt(t.length-1))return 0;for(var n=0,r=Math.min(e.length,t.length),o=r,i=0;n<o;)e.substring(e.length-o,e.length-i)==t.substring(t.length-o,t.length-i)?i=n=o:r=o,o=Math.floor((r-n)/2+n);return o},t.prototype.diff_commonOverlap_=function(e,t){var n=e.length,r=t.length;if(0==n||0==r)return 0;n>r?e=e.substring(n-r):n<r&&(t=t.substring(0,n));var o=Math.min(n,r);if(e==t)return o;for(var i=0,a=1;;){var s=e.substring(o-a),c=t.indexOf(s);if(-1==c)return i;a+=c,0!=c&&e.substring(o-a)!=t.substring(0,a)||(i=a,a++)}},t.prototype.diff_halfMatch_=function(e,t){if(this.Diff_Timeout<=0)return null;var n=e.length>t.length?e:t,r=e.length>t.length?t:e;if(n.length<4||2*r.length<n.length)return null;var o=this;function i(e,t,n){for(var r,i,a,s,c=e.substring(n,n+Math.floor(e.length/4)),l=-1,u="";-1!=(l=t.indexOf(c,l+1));){var d=o.diff_commonPrefix(e.substring(n),t.substring(l)),f=o.diff_commonSuffix(e.substring(0,n),t.substring(0,l));u.length<f+d&&(u=t.substring(l-f,l)+t.substring(l,l+d),r=e.substring(0,n-f),i=e.substring(n+d),a=t.substring(0,l-f),s=t.substring(l+d))}return 2*u.length>=e.length?[r,i,a,s,u]:null}var a,s,c,l,u,d=i(n,r,Math.ceil(n.length/4)),f=i(n,r,Math.ceil(n.length/2));return d||f?(a=f?d&&d[4].length>f[4].length?d:f:d,e.length>t.length?(s=a[0],c=a[1],l=a[2],u=a[3]):(l=a[0],u=a[1],s=a[2],c=a[3]),[s,c,l,u,a[4]]):null},t.prototype.diff_cleanupSemantic=function(e){for(var r=!1,o=[],i=0,a=null,s=0,c=0,l=0,u=0,d=0;s<e.length;)0==e[s][0]?(o[i++]=s,c=u,l=d,u=0,d=0,a=e[s][1]):(1==e[s][0]?u+=e[s][1].length:d+=e[s][1].length,a&&a.length<=Math.max(c,l)&&a.length<=Math.max(u,d)&&(e.splice(o[i-1],0,new t.Diff(n,a)),e[o[i-1]+1][0]=1,i--,s=--i>0?o[i-1]:-1,c=0,l=0,u=0,d=0,a=null,r=!0)),s++;for(r&&this.diff_cleanupMerge(e),this.diff_cleanupSemanticLossless(e),s=1;s<e.length;){if(e[s-1][0]==n&&1==e[s][0]){var f=e[s-1][1],h=e[s][1],p=this.diff_commonOverlap_(f,h),m=this.diff_commonOverlap_(h,f);p>=m?(p>=f.length/2||p>=h.length/2)&&(e.splice(s,0,new t.Diff(0,h.substring(0,p))),e[s-1][1]=f.substring(0,f.length-p),e[s+1][1]=h.substring(p),s++):(m>=f.length/2||m>=h.length/2)&&(e.splice(s,0,new t.Diff(0,f.substring(0,m))),e[s-1][0]=1,e[s-1][1]=h.substring(0,h.length-m),e[s+1][0]=n,e[s+1][1]=f.substring(m),s++),s++}s++}},t.prototype.diff_cleanupSemanticLossless=function(e){function n(e,n){if(!e||!n)return 6;var r=e.charAt(e.length-1),o=n.charAt(0),i=r.match(t.nonAlphaNumericRegex_),a=o.match(t.nonAlphaNumericRegex_),s=i&&r.match(t.whitespaceRegex_),c=a&&o.match(t.whitespaceRegex_),l=s&&r.match(t.linebreakRegex_),u=c&&o.match(t.linebreakRegex_),d=l&&e.match(t.blanklineEndRegex_),f=u&&n.match(t.blanklineStartRegex_);return d||f?5:l||u?4:i&&!s&&c?3:s||c?2:i||a?1:0}for(var r=1;r<e.length-1;){if(0==e[r-1][0]&&0==e[r+1][0]){var o=e[r-1][1],i=e[r][1],a=e[r+1][1],s=this.diff_commonSuffix(o,i);if(s){var c=i.substring(i.length-s);o=o.substring(0,o.length-s),i=c+i.substring(0,i.length-s),a=c+a}for(var l=o,u=i,d=a,f=n(o,i)+n(i,a);i.charAt(0)===a.charAt(0);){o+=i.charAt(0),i=i.substring(1)+a.charAt(0),a=a.substring(1);var h=n(o,i)+n(i,a);h>=f&&(f=h,l=o,u=i,d=a)}e[r-1][1]!=l&&(l?e[r-1][1]=l:(e.splice(r-1,1),r--),e[r][1]=u,d?e[r+1][1]=d:(e.splice(r+1,1),r--))}r++}},t.nonAlphaNumericRegex_=/[^a-zA-Z0-9]/,t.whitespaceRegex_=/\s/,t.linebreakRegex_=/[\r\n]/,t.blanklineEndRegex_=/\n\r?\n$/,t.blanklineStartRegex_=/^\r?\n\r?\n/,t.prototype.diff_cleanupEfficiency=function(e){for(var r=!1,o=[],i=0,a=null,s=0,c=!1,l=!1,u=!1,d=!1;s<e.length;)0==e[s][0]?(e[s][1].length<this.Diff_EditCost&&(u||d)?(o[i++]=s,c=u,l=d,a=e[s][1]):(i=0,a=null),u=d=!1):(e[s][0]==n?d=!0:u=!0,a&&(c&&l&&u&&d||a.length<this.Diff_EditCost/2&&c+l+u+d==3)&&(e.splice(o[i-1],0,new t.Diff(n,a)),e[o[i-1]+1][0]=1,i--,a=null,c&&l?(u=d=!0,i=0):(s=--i>0?o[i-1]:-1,u=d=!1),r=!0)),s++;r&&this.diff_cleanupMerge(e)},t.prototype.diff_cleanupMerge=function(e){e.push(new t.Diff(0,""));for(var r,o=0,i=0,a=0,s="",c="";o<e.length;)switch(e[o][0]){case 1:a++,c+=e[o][1],o++;break;case n:i++,s+=e[o][1],o++;break;case 0:i+a>1?(0!==i&&0!==a&&(0!==(r=this.diff_commonPrefix(c,s))&&(o-i-a>0&&0==e[o-i-a-1][0]?e[o-i-a-1][1]+=c.substring(0,r):(e.splice(0,0,new t.Diff(0,c.substring(0,r))),o++),c=c.substring(r),s=s.substring(r)),0!==(r=this.diff_commonSuffix(c,s))&&(e[o][1]=c.substring(c.length-r)+e[o][1],c=c.substring(0,c.length-r),s=s.substring(0,s.length-r))),o-=i+a,e.splice(o,i+a),s.length&&(e.splice(o,0,new t.Diff(n,s)),o++),c.length&&(e.splice(o,0,new t.Diff(1,c)),o++),o++):0!==o&&0==e[o-1][0]?(e[o-1][1]+=e[o][1],e.splice(o,1)):o++,a=0,i=0,s="",c=""}""===e[e.length-1][1]&&e.pop();var l=!1;for(o=1;o<e.length-1;)0==e[o-1][0]&&0==e[o+1][0]&&(e[o][1].substring(e[o][1].length-e[o-1][1].length)==e[o-1][1]?(e[o][1]=e[o-1][1]+e[o][1].substring(0,e[o][1].length-e[o-1][1].length),e[o+1][1]=e[o-1][1]+e[o+1][1],e.splice(o-1,1),l=!0):e[o][1].substring(0,e[o+1][1].length)==e[o+1][1]&&(e[o-1][1]+=e[o+1][1],e[o][1]=e[o][1].substring(e[o+1][1].length)+e[o+1][1],e.splice(o+1,1),l=!0)),o++;l&&this.diff_cleanupMerge(e)},t.prototype.diff_xIndex=function(e,t){var r,o=0,i=0,a=0,s=0;for(r=0;r<e.length&&(1!==e[r][0]&&(o+=e[r][1].length),e[r][0]!==n&&(i+=e[r][1].length),!(o>t));r++)a=o,s=i;return e.length!=r&&e[r][0]===n?s:s+(t-a)},t.prototype.diff_prettyHtml=function(e){for(var t=[],r=/&/g,o=/</g,i=/>/g,a=/\n/g,s=0;s<e.length;s++){var c=e[s][0],l=e[s][1].replace(r,"&").replace(o,"<").replace(i,">").replace(a,"¶<br>");switch(c){case 1:t[s]='<ins style="background:#e6ffe6;">'+l+"</ins>";break;case n:t[s]='<del style="background:#ffe6e6;">'+l+"</del>";break;case 0:t[s]="<span>"+l+"</span>"}}return t.join("")},t.prototype.diff_text1=function(e){for(var t=[],n=0;n<e.length;n++)1!==e[n][0]&&(t[n]=e[n][1]);return t.join("")},t.prototype.diff_text2=function(e){for(var t=[],r=0;r<e.length;r++)e[r][0]!==n&&(t[r]=e[r][1]);return t.join("")},t.prototype.diff_levenshtein=function(e){for(var t=0,r=0,o=0,i=0;i<e.length;i++){var a=e[i][0],s=e[i][1];switch(a){case 1:r+=s.length;break;case n:o+=s.length;break;case 0:t+=Math.max(r,o),r=0,o=0}}return t+=Math.max(r,o)},t.prototype.diff_toDelta=function(e){for(var t=[],r=0;r<e.length;r++)switch(e[r][0]){case 1:t[r]="+"+encodeURI(e[r][1]);break;case n:t[r]="-"+e[r][1].length;break;case 0:t[r]="="+e[r][1].length}return t.join("\t").replace(/%20/g," ")},t.prototype.diff_fromDelta=function(e,r){for(var o=[],i=0,a=0,s=r.split(/\t/g),c=0;c<s.length;c++){var l=s[c].substring(1);switch(s[c].charAt(0)){case"+":try{o[i++]=new t.Diff(1,decodeURI(l))}catch(e){throw new Error("Illegal escape in diff_fromDelta: "+l)}break;case"-":case"=":var u=parseInt(l,10);if(isNaN(u)||u<0)throw new Error("Invalid number in diff_fromDelta: "+l);var d=e.substring(a,a+=u);"="==s[c].charAt(0)?o[i++]=new t.Diff(0,d):o[i++]=new t.Diff(n,d);break;default:if(s[c])throw new Error("Invalid diff operation in diff_fromDelta: "+s[c])}}if(a!=e.length)throw new Error("Delta length ("+a+") does not equal source text length ("+e.length+").");return o},t.prototype.match_main=function(e,t,n){if(null==e||null==t||null==n)throw new Error("Null input. (match_main)");return n=Math.max(0,Math.min(n,e.length)),e==t?0:e.length?e.substring(n,n+t.length)==t?n:this.match_bitap_(e,t,n):-1},t.prototype.match_bitap_=function(e,t,n){if(t.length>this.Match_MaxBits)throw new Error("Pattern too long for this browser.");var r=this.match_alphabet_(t),o=this;function i(e,r){var i=e/t.length,a=Math.abs(n-r);return o.Match_Distance?i+a/o.Match_Distance:a?1:i}var a=this.Match_Threshold,s=e.indexOf(t,n);-1!=s&&(a=Math.min(i(0,s),a),-1!=(s=e.lastIndexOf(t,n+t.length))&&(a=Math.min(i(0,s),a)));var c,l,u=1<<t.length-1;s=-1;for(var d,f=t.length+e.length,h=0;h<t.length;h++){for(c=0,l=f;c<l;)i(h,n+l)<=a?c=l:f=l,l=Math.floor((f-c)/2+c);f=l;var p=Math.max(1,n-l+1),m=Math.min(n+l,e.length)+t.length,g=Array(m+2);g[m+1]=(1<<h)-1;for(var y=m;y>=p;y--){var A=r[e.charAt(y-1)];if(g[y]=0===h?(g[y+1]<<1|1)&A:(g[y+1]<<1|1)&A|(d[y+1]|d[y])<<1|1|d[y+1],g[y]&u){var v=i(h,y-1);if(v<=a){if(a=v,!((s=y-1)>n))break;p=Math.max(1,2*n-s)}}}if(i(h+1,n)>a)break;d=g}return s},t.prototype.match_alphabet_=function(e){for(var t={},n=0;n<e.length;n++)t[e.charAt(n)]=0;for(n=0;n<e.length;n++)t[e.charAt(n)]|=1<<e.length-n-1;return t},t.prototype.patch_addContext_=function(e,n){if(0!=n.length){if(null===e.start2)throw Error("patch not initialized");for(var r=n.substring(e.start2,e.start2+e.length1),o=0;n.indexOf(r)!=n.lastIndexOf(r)&&r.length<this.Match_MaxBits-this.Patch_Margin-this.Patch_Margin;)o+=this.Patch_Margin,r=n.substring(e.start2-o,e.start2+e.length1+o);o+=this.Patch_Margin;var i=n.substring(e.start2-o,e.start2);i&&e.diffs.unshift(new t.Diff(0,i));var a=n.substring(e.start2+e.length1,e.start2+e.length1+o);a&&e.diffs.push(new t.Diff(0,a)),e.start1-=i.length,e.start2-=i.length,e.length1+=i.length+a.length,e.length2+=i.length+a.length}},t.prototype.patch_make=function(e,r,o){var i,a;if("string"==typeof e&&"string"==typeof r&&void 0===o)i=e,(a=this.diff_main(i,r,!0)).length>2&&(this.diff_cleanupSemantic(a),this.diff_cleanupEfficiency(a));else if(e&&"object"==typeof e&&void 0===r&&void 0===o)a=e,i=this.diff_text1(a);else if("string"==typeof e&&r&&"object"==typeof r&&void 0===o)i=e,a=r;else{if("string"!=typeof e||"string"!=typeof r||!o||"object"!=typeof o)throw new Error("Unknown call format to patch_make.");i=e,a=o}if(0===a.length)return[];for(var s=[],c=new t.patch_obj,l=0,u=0,d=0,f=i,h=i,p=0;p<a.length;p++){var m=a[p][0],g=a[p][1];switch(l||0===m||(c.start1=u,c.start2=d),m){case 1:c.diffs[l++]=a[p],c.length2+=g.length,h=h.substring(0,d)+g+h.substring(d);break;case n:c.length1+=g.length,c.diffs[l++]=a[p],h=h.substring(0,d)+h.substring(d+g.length);break;case 0:g.length<=2*this.Patch_Margin&&l&&a.length!=p+1?(c.diffs[l++]=a[p],c.length1+=g.length,c.length2+=g.length):g.length>=2*this.Patch_Margin&&l&&(this.patch_addContext_(c,f),s.push(c),c=new t.patch_obj,l=0,f=h,u=d)}1!==m&&(u+=g.length),m!==n&&(d+=g.length)}return l&&(this.patch_addContext_(c,f),s.push(c)),s},t.prototype.patch_deepCopy=function(e){for(var n=[],r=0;r<e.length;r++){var o=e[r],i=new t.patch_obj;i.diffs=[];for(var a=0;a<o.diffs.length;a++)i.diffs[a]=new t.Diff(o.diffs[a][0],o.diffs[a][1]);i.start1=o.start1,i.start2=o.start2,i.length1=o.length1,i.length2=o.length2,n[r]=i}return n},t.prototype.patch_apply=function(e,t){if(0==e.length)return[t,[]];e=this.patch_deepCopy(e);var r=this.patch_addPadding(e);t=r+t+r,this.patch_splitMax(e);for(var o=0,i=[],a=0;a<e.length;a++){var s,c,l=e[a].start2+o,u=this.diff_text1(e[a].diffs),d=-1;if(u.length>this.Match_MaxBits?-1!=(s=this.match_main(t,u.substring(0,this.Match_MaxBits),l))&&(-1==(d=this.match_main(t,u.substring(u.length-this.Match_MaxBits),l+u.length-this.Match_MaxBits))||s>=d)&&(s=-1):s=this.match_main(t,u,l),-1==s)i[a]=!1,o-=e[a].length2-e[a].length1;else if(i[a]=!0,o=s-l,u==(c=-1==d?t.substring(s,s+u.length):t.substring(s,d+this.Match_MaxBits)))t=t.substring(0,s)+this.diff_text2(e[a].diffs)+t.substring(s+u.length);else{var f=this.diff_main(u,c,!1);if(u.length>this.Match_MaxBits&&this.diff_levenshtein(f)/u.length>this.Patch_DeleteThreshold)i[a]=!1;else{this.diff_cleanupSemanticLossless(f);for(var h,p=0,m=0;m<e[a].diffs.length;m++){var g=e[a].diffs[m];0!==g[0]&&(h=this.diff_xIndex(f,p)),1===g[0]?t=t.substring(0,s+h)+g[1]+t.substring(s+h):g[0]===n&&(t=t.substring(0,s+h)+t.substring(s+this.diff_xIndex(f,p+g[1].length))),g[0]!==n&&(p+=g[1].length)}}}}return[t=t.substring(r.length,t.length-r.length),i]},t.prototype.patch_addPadding=function(e){for(var n=this.Patch_Margin,r="",o=1;o<=n;o++)r+=String.fromCharCode(o);for(o=0;o<e.length;o++)e[o].start1+=n,e[o].start2+=n;var i=e[0],a=i.diffs;if(0==a.length||0!=a[0][0])a.unshift(new t.Diff(0,r)),i.start1-=n,i.start2-=n,i.length1+=n,i.length2+=n;else if(n>a[0][1].length){var s=n-a[0][1].length;a[0][1]=r.substring(a[0][1].length)+a[0][1],i.start1-=s,i.start2-=s,i.length1+=s,i.length2+=s}if(0==(a=(i=e[e.length-1]).diffs).length||0!=a[a.length-1][0])a.push(new t.Diff(0,r)),i.length1+=n,i.length2+=n;else if(n>a[a.length-1][1].length){s=n-a[a.length-1][1].length;a[a.length-1][1]+=r.substring(0,s),i.length1+=s,i.length2+=s}return r},t.prototype.patch_splitMax=function(e){for(var r=this.Match_MaxBits,o=0;o<e.length;o++)if(!(e[o].length1<=r)){var i=e[o];e.splice(o--,1);for(var a=i.start1,s=i.start2,c="";0!==i.diffs.length;){var l=new t.patch_obj,u=!0;for(l.start1=a-c.length,l.start2=s-c.length,""!==c&&(l.length1=l.length2=c.length,l.diffs.push(new t.Diff(0,c)));0!==i.diffs.length&&l.length1<r-this.Patch_Margin;){var d=i.diffs[0][0],f=i.diffs[0][1];1===d?(l.length2+=f.length,s+=f.length,l.diffs.push(i.diffs.shift()),u=!1):d===n&&1==l.diffs.length&&0==l.diffs[0][0]&&f.length>2*r?(l.length1+=f.length,a+=f.length,u=!1,l.diffs.push(new t.Diff(d,f)),i.diffs.shift()):(f=f.substring(0,r-l.length1-this.Patch_Margin),l.length1+=f.length,a+=f.length,0===d?(l.length2+=f.length,s+=f.length):u=!1,l.diffs.push(new t.Diff(d,f)),f==i.diffs[0][1]?i.diffs.shift():i.diffs[0][1]=i.diffs[0][1].substring(f.length))}c=(c=this.diff_text2(l.diffs)).substring(c.length-this.Patch_Margin);var h=this.diff_text1(i.diffs).substring(0,this.Patch_Margin);""!==h&&(l.length1+=h.length,l.length2+=h.length,0!==l.diffs.length&&0===l.diffs[l.diffs.length-1][0]?l.diffs[l.diffs.length-1][1]+=h:l.diffs.push(new t.Diff(0,h))),u||e.splice(++o,0,l)}}},t.prototype.patch_toText=function(e){for(var t=[],n=0;n<e.length;n++)t[n]=e[n];return t.join("")},t.prototype.patch_fromText=function(e){var r=[];if(!e)return r;for(var o=e.split("\n"),i=0,a=/^@@ -(\d+),?(\d*) \+(\d+),?(\d*) @@$/;i<o.length;){var s=o[i].match(a);if(!s)throw new Error("Invalid patch string: "+o[i]);var c=new t.patch_obj;for(r.push(c),c.start1=parseInt(s[1],10),""===s[2]?(c.start1--,c.length1=1):"0"==s[2]?c.length1=0:(c.start1--,c.length1=parseInt(s[2],10)),c.start2=parseInt(s[3],10),""===s[4]?(c.start2--,c.length2=1):"0"==s[4]?c.length2=0:(c.start2--,c.length2=parseInt(s[4],10)),i++;i<o.length;){var l=o[i].charAt(0);try{var u=decodeURI(o[i].substring(1))}catch(e){throw new Error("Illegal escape in patch_fromText: "+u)}if("-"==l)c.diffs.push(new t.Diff(n,u));else if("+"==l)c.diffs.push(new t.Diff(1,u));else if(" "==l)c.diffs.push(new t.Diff(0,u));else{if("@"==l)break;if(""!==l)throw new Error('Invalid patch mode "'+l+'" in: '+u)}i++}}return r},(t.patch_obj=function(){this.diffs=[],this.start1=null,this.start2=null,this.length1=0,this.length2=0}).prototype.toString=function(){for(var e,t=["@@ -"+(0===this.length1?this.start1+",0":1==this.length1?this.start1+1:this.start1+1+","+this.length1)+" +"+(0===this.length2?this.start2+",0":1==this.length2?this.start2+1:this.start2+1+","+this.length2)+" @@\n"],r=0;r<this.diffs.length;r++){switch(this.diffs[r][0]){case 1:e="+";break;case n:e="-";break;case 0:e=" "}t[r+1]=e+encodeURI(this.diffs[r][1])+"\n"}return t.join("").replace(/%20/g," ")},e.exports=t,e.exports.diff_match_patch=t,e.exports.DIFF_DELETE=n,e.exports.DIFF_INSERT=1,e.exports.DIFF_EQUAL=0},2374:(e,t,n)=>{"use strict";n.d(t,{A:()=>c});var r=n(1354),o=n.n(r),i=n(6314),a=n.n(i)()(o());a.push([e.id,'/* Example copied from */\n/* https://www.w3schools.com/howto/howto_css_switch.asp */\n\n/* The switch - the box around the slider */\n:host .switch {\n position: relative;\n display: inline-block;\n width: 60px;\n height: 34px;\n}\n\n/* Hide default HTML checkbox */\n:host .switch input {\n opacity: 0;\n width: 0;\n height: 0;\n}\n\n/* The slider */\n:host .slider {\n position: absolute;\n cursor: pointer;\n top: 0;\n left: 0;\n right: 0;\n bottom: 0;\n background-color: #ccc;\n -webkit-transition: 0.4s;\n transition: 0.4s;\n}\n\n:host .slider:before {\n position: absolute;\n content: "";\n height: 26px;\n width: 26px;\n left: 4px;\n bottom: 4px;\n background-color: white;\n -webkit-transition: 0.4s;\n transition: 0.4s;\n}\n\n:host input:checked + .slider {\n background-color: #2196f3;\n}\n\n:host input:focus + .slider {\n box-shadow: 0 0 1px #2196f3;\n}\n\n:host input:checked + .slider:before {\n -webkit-transform: translateX(26px);\n -ms-transform: translateX(26px);\n transform: translateX(26px);\n}\n\n/* Rounded sliders */\n:host .slider.round {\n border-radius: 34px;\n}\n\n:host .slider.round:before {\n border-radius: 50%;\n}\n',"",{version:3,sources:["webpack://./src/docdiff.css"],names:[],mappings:"AAAA,wBAAwB;AACxB,yDAAyD;;AAEzD,2CAA2C;AAC3C;EACE,kBAAkB;EAClB,qBAAqB;EACrB,WAAW;EACX,YAAY;AACd;;AAEA,+BAA+B;AAC/B;EACE,UAAU;EACV,QAAQ;EACR,SAAS;AACX;;AAEA,eAAe;AACf;EACE,kBAAkB;EAClB,eAAe;EACf,MAAM;EACN,OAAO;EACP,QAAQ;EACR,SAAS;EACT,sBAAsB;EACtB,wBAAwB;EACxB,gBAAgB;AAClB;;AAEA;EACE,kBAAkB;EAClB,WAAW;EACX,YAAY;EACZ,WAAW;EACX,SAAS;EACT,WAAW;EACX,uBAAuB;EACvB,wBAAwB;EACxB,gBAAgB;AAClB;;AAEA;EACE,yBAAyB;AAC3B;;AAEA;EACE,2BAA2B;AAC7B;;AAEA;EACE,mCAAmC;EACnC,+BAA+B;EAC/B,2BAA2B;AAC7B;;AAEA,oBAAoB;AACpB;EACE,mBAAmB;AACrB;;AAEA;EACE,kBAAkB;AACpB",sourcesContent:['/* Example copied from */\n/* https://www.w3schools.com/howto/howto_css_switch.asp */\n\n/* The switch - the box around the slider */\n:host .switch {\n position: relative;\n display: inline-block;\n width: 60px;\n height: 34px;\n}\n\n/* Hide default HTML checkbox */\n:host .switch input {\n opacity: 0;\n width: 0;\n height: 0;\n}\n\n/* The slider */\n:host .slider {\n position: absolute;\n cursor: pointer;\n top: 0;\n left: 0;\n right: 0;\n bottom: 0;\n background-color: #ccc;\n -webkit-transition: 0.4s;\n transition: 0.4s;\n}\n\n:host .slider:before {\n position: absolute;\n content: "";\n height: 26px;\n width: 26px;\n left: 4px;\n bottom: 4px;\n background-color: white;\n -webkit-transition: 0.4s;\n transition: 0.4s;\n}\n\n:host input:checked + .slider {\n background-color: #2196f3;\n}\n\n:host input:focus + .slider {\n box-shadow: 0 0 1px #2196f3;\n}\n\n:host input:checked + .slider:before {\n -webkit-transform: translateX(26px);\n -ms-transform: translateX(26px);\n transform: translateX(26px);\n}\n\n/* Rounded sliders */\n:host .slider.round {\n border-radius: 34px;\n}\n\n:host .slider.round:before {\n border-radius: 50%;\n}\n'],sourceRoot:""}]);var s=new CSSStyleSheet;s.replaceSync(a.toString());const c=s},2586:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getData=t.KeywordCxt=t.validateFunctionCode=void 0;const r=n(8727),o=n(208),i=n(7887),a=n(208),s=n(7870),c=n(3673),l=n(4495),u=n(9029),d=n(2023),f=n(6939),h=n(4227),p=n(8708);function m({gen:e,validateName:t,schema:n,schemaEnv:r,opts:o},i){o.code.es5?e.func(t,u._`${d.default.data}, ${d.default.valCxt}`,r.$async,(()=>{e.code(u._`"use strict"; ${g(n,o)}`),function(e,t){e.if(d.default.valCxt,(()=>{e.var(d.default.instancePath,u._`${d.default.valCxt}.${d.default.instancePath}`),e.var(d.default.parentData,u._`${d.default.valCxt}.${d.default.parentData}`),e.var(d.default.parentDataProperty,u._`${d.default.valCxt}.${d.default.parentDataProperty}`),e.var(d.default.rootData,u._`${d.default.valCxt}.${d.default.rootData}`),t.dynamicRef&&e.var(d.default.dynamicAnchors,u._`${d.default.valCxt}.${d.default.dynamicAnchors}`)}),(()=>{e.var(d.default.instancePath,u._`""`),e.var(d.default.parentData,u._`undefined`),e.var(d.default.parentDataProperty,u._`undefined`),e.var(d.default.rootData,d.default.data),t.dynamicRef&&e.var(d.default.dynamicAnchors,u._`{}`)}))}(e,o),e.code(i)})):e.func(t,u._`${d.default.data}, ${function(e){return u._`{${d.default.instancePath}="", ${d.default.parentData}, ${d.default.parentDataProperty}, ${d.default.rootData}=${d.default.data}${e.dynamicRef?u._`, ${d.default.dynamicAnchors}={}`:u.nil}}={}`}(o)}`,r.$async,(()=>e.code(g(n,o)).code(i)))}function g(e,t){const n="object"==typeof e&&e[t.schemaId];return n&&(t.code.source||t.code.process)?u._`/*# sourceURL=${n} */`:u.nil}function y(e,t){v(e)&&(b(e),A(e))?function(e,t){const{schema:n,gen:r,opts:o}=e;o.$comment&&n.$comment&&M(e);(function(e){const t=e.schema[e.opts.schemaId];t&&(e.baseId=(0,f.resolveUrl)(e.opts.uriResolver,e.baseId,t))})(e),function(e){if(e.schema.$async&&!e.schemaEnv.$async)throw new Error("async schema in sync schema")}(e);const i=r.const("_errs",d.default.errors);w(e,i),r.var(t,u._`${i} === ${d.default.errors}`)}(e,t):(0,r.boolOrEmptySchema)(e,t)}function A({schema:e,self:t}){if("boolean"==typeof e)return!e;for(const n in e)if(t.RULES.all[n])return!0;return!1}function v(e){return"boolean"!=typeof e.schema}function b(e){(0,h.checkUnknownRules)(e),function(e){const{schema:t,errSchemaPath:n,opts:r,self:o}=e;t.$ref&&r.ignoreKeywordsWithRef&&(0,h.schemaHasRulesButRef)(t,o.RULES)&&o.logger.warn(`$ref: keywords ignored in schema at path "${n}"`)}(e)}function w(e,t){if(e.opts.jtd)return C(e,[],!1,t);const n=(0,o.getSchemaTypes)(e.schema);C(e,n,!(0,o.coerceAndCheckDataType)(e,n),t)}function M({gen:e,schemaEnv:t,schema:n,errSchemaPath:r,opts:o}){const i=n.$comment;if(!0===o.$comment)e.code(u._`${d.default.self}.logger.log(${i})`);else if("function"==typeof o.$comment){const n=u.str`${r}/$comment`,o=e.scopeValue("root",{ref:t.root});e.code(u._`${d.default.self}.opts.$comment(${i}, ${n}, ${o}.schema)`)}}function C(e,t,n,r){const{gen:o,schema:s,data:c,allErrors:l,opts:f,self:p}=e,{RULES:m}=p;function g(h){(0,i.shouldUseGroup)(s,h)&&(h.type?(o.if((0,a.checkDataType)(h.type,c,f.strictNumbers)),E(e,h),1===t.length&&t[0]===h.type&&n&&(o.else(),(0,a.reportTypeError)(e)),o.endIf()):E(e,h),l||o.if(u._`${d.default.errors} === ${r||0}`))}!s.$ref||!f.ignoreKeywordsWithRef&&(0,h.schemaHasRulesButRef)(s,m)?(f.jtd||function(e,t){if(e.schemaEnv.meta||!e.opts.strictTypes)return;(function(e,t){if(!t.length)return;if(!e.dataTypes.length)return void(e.dataTypes=t);t.forEach((t=>{j(e.dataTypes,t)||x(e,`type "${t}" not allowed by context "${e.dataTypes.join(",")}"`)})),function(e,t){const n=[];for(const r of e.dataTypes)j(t,r)?n.push(r):t.includes("integer")&&"number"===r&&n.push("integer");e.dataTypes=n}(e,t)})(e,t),e.opts.allowUnionTypes||function(e,t){t.length>1&&(2!==t.length||!t.includes("null"))&&x(e,"use allowUnionTypes to allow union type keyword")}(e,t);!function(e,t){const n=e.self.RULES.all;for(const r in n){const o=n[r];if("object"==typeof o&&(0,i.shouldUseRule)(e.schema,o)){const{type:n}=o.definition;n.length&&!n.some((e=>L(t,e)))&&x(e,`missing type "${n.join(",")}" for keyword "${r}"`)}}}(e,e.dataTypes)}(e,t),o.block((()=>{for(const e of m.rules)g(e);g(m.post)}))):o.block((()=>S(e,"$ref",m.all.$ref.definition)))}function E(e,t){const{gen:n,schema:r,opts:{useDefaults:o}}=e;o&&(0,s.assignDefaults)(e,t.type),n.block((()=>{for(const n of t.rules)(0,i.shouldUseRule)(r,n)&&S(e,n.keyword,n.definition,t.type)}))}function L(e,t){return e.includes(t)||"number"===t&&e.includes("integer")}function j(e,t){return e.includes(t)||"integer"===t&&e.includes("number")}function x(e,t){t+=` at "${e.schemaEnv.baseId+e.errSchemaPath}" (strictTypes)`,(0,h.checkStrictMode)(e,t,e.opts.strictTypes)}t.validateFunctionCode=function(e){v(e)&&(b(e),A(e))?function(e){const{schema:t,opts:n,gen:r}=e;m(e,(()=>{n.$comment&&t.$comment&&M(e),function(e){const{schema:t,opts:n}=e;void 0!==t.default&&n.useDefaults&&n.strictSchema&&(0,h.checkStrictMode)(e,"default is ignored in the schema root")}(e),r.let(d.default.vErrors,null),r.let(d.default.errors,0),n.unevaluated&&function(e){const{gen:t,validateName:n}=e;e.evaluated=t.const("evaluated",u._`${n}.evaluated`),t.if(u._`${e.evaluated}.dynamicProps`,(()=>t.assign(u._`${e.evaluated}.props`,u._`undefined`))),t.if(u._`${e.evaluated}.dynamicItems`,(()=>t.assign(u._`${e.evaluated}.items`,u._`undefined`)))}(e),w(e),function(e){const{gen:t,schemaEnv:n,validateName:r,ValidationError:o,opts:i}=e;n.$async?t.if(u._`${d.default.errors} === 0`,(()=>t.return(d.default.data)),(()=>t.throw(u._`new ${o}(${d.default.vErrors})`))):(t.assign(u._`${r}.errors`,d.default.vErrors),i.unevaluated&&function({gen:e,evaluated:t,props:n,items:r}){n instanceof u.Name&&e.assign(u._`${t}.props`,n);r instanceof u.Name&&e.assign(u._`${t}.items`,r)}(e),t.return(u._`${d.default.errors} === 0`))}(e)}))}(e):m(e,(()=>(0,r.topBoolOrEmptySchema)(e)))};class N{constructor(e,t,n){if((0,c.validateKeywordUsage)(e,t,n),this.gen=e.gen,this.allErrors=e.allErrors,this.keyword=n,this.data=e.data,this.schema=e.schema[n],this.$data=t.$data&&e.opts.$data&&this.schema&&this.schema.$data,this.schemaValue=(0,h.schemaRefOrVal)(e,this.schema,n,this.$data),this.schemaType=t.schemaType,this.parentSchema=e.schema,this.params={},this.it=e,this.def=t,this.$data)this.schemaCode=e.gen.const("vSchema",_(this.$data,e));else if(this.schemaCode=this.schemaValue,!(0,c.validSchemaType)(this.schema,t.schemaType,t.allowUndefined))throw new Error(`${n} value must be ${JSON.stringify(t.schemaType)}`);("code"in t?t.trackErrors:!1!==t.errors)&&(this.errsCount=e.gen.const("_errs",d.default.errors))}result(e,t,n){this.failResult((0,u.not)(e),t,n)}failResult(e,t,n){this.gen.if(e),n?n():this.error(),t?(this.gen.else(),t(),this.allErrors&&this.gen.endIf()):this.allErrors?this.gen.endIf():this.gen.else()}pass(e,t){this.failResult((0,u.not)(e),void 0,t)}fail(e){if(void 0===e)return this.error(),void(this.allErrors||this.gen.if(!1));this.gen.if(e),this.error(),this.allErrors?this.gen.endIf():this.gen.else()}fail$data(e){if(!this.$data)return this.fail(e);const{schemaCode:t}=this;this.fail(u._`${t} !== undefined && (${(0,u.or)(this.invalid$data(),e)})`)}error(e,t,n){if(t)return this.setParams(t),this._error(e,n),void this.setParams({});this._error(e,n)}_error(e,t){(e?p.reportExtraError:p.reportError)(this,this.def.error,t)}$dataError(){(0,p.reportError)(this,this.def.$dataError||p.keyword$DataError)}reset(){if(void 0===this.errsCount)throw new Error('add "trackErrors" to keyword definition');(0,p.resetErrorsCount)(this.gen,this.errsCount)}ok(e){this.allErrors||this.gen.if(e)}setParams(e,t){t?Object.assign(this.params,e):this.params=e}block$data(e,t,n=u.nil){this.gen.block((()=>{this.check$data(e,n),t()}))}check$data(e=u.nil,t=u.nil){if(!this.$data)return;const{gen:n,schemaCode:r,schemaType:o,def:i}=this;n.if((0,u.or)(u._`${r} === undefined`,t)),e!==u.nil&&n.assign(e,!0),(o.length||i.validateSchema)&&(n.elseIf(this.invalid$data()),this.$dataError(),e!==u.nil&&n.assign(e,!1)),n.else()}invalid$data(){const{gen:e,schemaCode:t,schemaType:n,def:r,it:o}=this;return(0,u.or)(function(){if(n.length){if(!(t instanceof u.Name))throw new Error("ajv implementation error");const e=Array.isArray(n)?n:[n];return u._`${(0,a.checkDataTypes)(e,t,o.opts.strictNumbers,a.DataType.Wrong)}`}return u.nil}(),function(){if(r.validateSchema){const n=e.scopeValue("validate$data",{ref:r.validateSchema});return u._`!${n}(${t})`}return u.nil}())}subschema(e,t){const n=(0,l.getSubschema)(this.it,e);(0,l.extendSubschemaData)(n,this.it,e),(0,l.extendSubschemaMode)(n,e);const r={...this.it,...n,items:void 0,props:void 0};return y(r,t),r}mergeEvaluated(e,t){const{it:n,gen:r}=this;n.opts.unevaluated&&(!0!==n.props&&void 0!==e.props&&(n.props=h.mergeEvaluated.props(r,e.props,n.props,t)),!0!==n.items&&void 0!==e.items&&(n.items=h.mergeEvaluated.items(r,e.items,n.items,t)))}mergeValidEvaluated(e,t){const{it:n,gen:r}=this;if(n.opts.unevaluated&&(!0!==n.props||!0!==n.items))return r.if(t,(()=>this.mergeEvaluated(e,u.Name))),!0}}function S(e,t,n,r){const o=new N(e,n,t);"code"in n?n.code(o,r):o.$data&&n.validate?(0,c.funcKeywordCode)(o,n):"macro"in n?(0,c.macroKeywordCode)(o,n):(n.compile||n.validate)&&(0,c.funcKeywordCode)(o,n)}t.KeywordCxt=N;const T=/^\/(?:[^~]|~0|~1)*$/,k=/^([0-9]+)(#|\/(?:[^~]|~0|~1)*)?$/;function _(e,{dataLevel:t,dataNames:n,dataPathArr:r}){let o,i;if(""===e)return d.default.rootData;if("/"===e[0]){if(!T.test(e))throw new Error(`Invalid JSON-pointer: ${e}`);o=e,i=d.default.rootData}else{const a=k.exec(e);if(!a)throw new Error(`Invalid JSON-pointer: ${e}`);const s=+a[1];if(o=a[2],"#"===o){if(s>=t)throw new Error(c("property/index",s));return r[t-s]}if(s>t)throw new Error(c("data",s));if(i=n[t-s],!o)return i}let a=i;const s=o.split("/");for(const e of s)e&&(i=u._`${i}${(0,u.getProperty)((0,h.unescapeJsonPointer)(e))}`,a=u._`${a} && ${i}`);return a;function c(e,n){return`Cannot access ${e} ${n} levels up, current level is ${t}`}}t.getData=_},2661:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(9029),o=n(4227),i={keyword:"contains",type:"array",schemaType:["object","boolean"],before:"uniqueItems",trackErrors:!0,error:{message:({params:{min:e,max:t}})=>void 0===t?r.str`must contain at least ${e} valid item(s)`:r.str`must contain at least ${e} and no more than ${t} valid item(s)`,params:({params:{min:e,max:t}})=>void 0===t?r._`{minContains: ${e}}`:r._`{minContains: ${e}, maxContains: ${t}}`},code(e){const{gen:t,schema:n,parentSchema:i,data:a,it:s}=e;let c,l;const{minContains:u,maxContains:d}=i;s.opts.next?(c=void 0===u?1:u,l=d):c=1;const f=t.const("len",r._`${a}.length`);if(e.setParams({min:c,max:l}),void 0===l&&0===c)return void(0,o.checkStrictMode)(s,'"minContains" == 0 without "maxContains": "contains" keyword ignored');if(void 0!==l&&c>l)return(0,o.checkStrictMode)(s,'"minContains" > "maxContains" is always invalid'),void e.fail();if((0,o.alwaysValidSchema)(s,n)){let t=r._`${f} >= ${c}`;return void 0!==l&&(t=r._`${t} && ${f} <= ${l}`),void e.pass(t)}s.items=!0;const h=t.name("valid");function p(){const e=t.name("_valid"),n=t.let("count",0);m(e,(()=>t.if(e,(()=>function(e){t.code(r._`${e}++`),void 0===l?t.if(r._`${e} >= ${c}`,(()=>t.assign(h,!0).break())):(t.if(r._`${e} > ${l}`,(()=>t.assign(h,!1).break())),1===c?t.assign(h,!0):t.if(r._`${e} >= ${c}`,(()=>t.assign(h,!0))))}(n)))))}function m(n,r){t.forRange("i",0,f,(t=>{e.subschema({keyword:"contains",dataProp:t,dataPropType:o.Type.Num,compositeRule:!0},n),r()}))}void 0===l&&1===c?m(h,(()=>t.if(h,(()=>t.break())))):0===c?(t.let(h,!0),void 0!==l&&t.if(r._`${a}.length > 0`,p)):(t.let(h,!1),p()),e.result(h,(()=>e.reset()))}};t.default=i},3025:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.validateSchemaDeps=t.validatePropertyDeps=t.error=void 0;const r=n(9029),o=n(4227),i=n(5765);t.error={message:({params:{property:e,depsCount:t,deps:n}})=>{const o=1===t?"property":"properties";return r.str`must have ${o} ${n} when property ${e} is present`},params:({params:{property:e,depsCount:t,deps:n,missingProperty:o}})=>r._`{property: ${e},
|
|
missingProperty: ${o},
|
|
depsCount: ${t},
|
|
deps: ${n}}`};const a={keyword:"dependencies",type:"object",schemaType:"object",error:t.error,code(e){const[t,n]=function({schema:e}){const t={},n={};for(const r in e){if("__proto__"===r)continue;(Array.isArray(e[r])?t:n)[r]=e[r]}return[t,n]}(e);s(e,t),c(e,n)}};function s(e,t=e.schema){const{gen:n,data:o,it:a}=e;if(0===Object.keys(t).length)return;const s=n.let("missing");for(const c in t){const l=t[c];if(0===l.length)continue;const u=(0,i.propertyInData)(n,o,c,a.opts.ownProperties);e.setParams({property:c,depsCount:l.length,deps:l.join(", ")}),a.allErrors?n.if(u,(()=>{for(const t of l)(0,i.checkReportMissingProp)(e,t)})):(n.if(r._`${u} && (${(0,i.checkMissingProp)(e,l,s)})`),(0,i.reportMissingProp)(e,s),n.else())}}function c(e,t=e.schema){const{gen:n,data:r,keyword:a,it:s}=e,c=n.name("valid");for(const l in t)(0,o.alwaysValidSchema)(s,t[l])||(n.if((0,i.propertyInData)(n,r,l,s.opts.ownProperties),(()=>{const t=e.subschema({keyword:a,schemaProp:l},c);e.mergeValidEvaluated(t,c)}),(()=>n.var(c,!0))),e.ok(c))}t.validatePropertyDeps=s,t.validateSchemaDeps=c,t.default=a},3282:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.MissingRefError=t.ValidationError=t.CodeGen=t.Name=t.nil=t.stringify=t.str=t._=t.KeywordCxt=t.Ajv=void 0;const r=n(4042),o=n(6144),i=n(6653),a=n(2079),s=["/properties"],c="http://json-schema.org/draft-07/schema";class l extends r.default{_addVocabularies(){super._addVocabularies(),o.default.forEach((e=>this.addVocabulary(e))),this.opts.discriminator&&this.addKeyword(i.default)}_addDefaultMetaSchema(){if(super._addDefaultMetaSchema(),!this.opts.meta)return;const e=this.opts.$data?this.$dataMetaSchema(a,s):a;this.addMetaSchema(e,c,!1),this.refs["http://json-schema.org/schema"]=c}defaultMeta(){return this.opts.defaultMeta=super.defaultMeta()||(this.getSchema(c)?c:void 0)}}t.Ajv=l,e.exports=t=l,e.exports.Ajv=l,Object.defineProperty(t,"__esModule",{value:!0}),t.default=l;var u=n(2586);Object.defineProperty(t,"KeywordCxt",{enumerable:!0,get:function(){return u.KeywordCxt}});var d=n(9029);Object.defineProperty(t,"_",{enumerable:!0,get:function(){return d._}}),Object.defineProperty(t,"str",{enumerable:!0,get:function(){return d.str}}),Object.defineProperty(t,"stringify",{enumerable:!0,get:function(){return d.stringify}}),Object.defineProperty(t,"nil",{enumerable:!0,get:function(){return d.nil}}),Object.defineProperty(t,"Name",{enumerable:!0,get:function(){return d.Name}}),Object.defineProperty(t,"CodeGen",{enumerable:!0,get:function(){return d.CodeGen}});var f=n(3558);Object.defineProperty(t,"ValidationError",{enumerable:!0,get:function(){return f.default}});var h=n(4551);Object.defineProperty(t,"MissingRefError",{enumerable:!0,get:function(){return h.default}})},3329:(e,t,n)=>{"use strict";n.d(t,{A:()=>c});var r=n(1354),o=n.n(r),i=n(6314),a=n.n(i)()(o());a.push([e.id,".doc-diff-added {\n background-color: rgb(171, 242, 188);\n text-decoration: none;\n}\n\n.doc-diff-modified {\n}\n\n.doc-diff-removed {\n background-color: rgba(255, 129, 130, 0.4);\n text-decoration: none;\n}\n\n.doc-diff-chunk-selected {\n background-color: rgba(254, 250, 212, 0.6);\n}\n","",{version:3,sources:["webpack://./src/docdiff.document.css"],names:[],mappings:"AAAA;EACE,oCAAoC;EACpC,qBAAqB;AACvB;;AAEA;AACA;;AAEA;EACE,0CAA0C;EAC1C,qBAAqB;AACvB;;AAEA;EACE,0CAA0C;AAC5C",sourcesContent:[".doc-diff-added {\n background-color: rgb(171, 242, 188);\n text-decoration: none;\n}\n\n.doc-diff-modified {\n}\n\n.doc-diff-removed {\n background-color: rgba(255, 129, 130, 0.4);\n text-decoration: none;\n}\n\n.doc-diff-chunk-selected {\n background-color: rgba(254, 250, 212, 0.6);\n}\n"],sourceRoot:""}]);var s=new CSSStyleSheet;s.replaceSync(a.toString());const c=s},3439:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(9029),o={keyword:"multipleOf",type:"number",schemaType:"number",$data:!0,error:{message:({schemaCode:e})=>r.str`must be multiple of ${e}`,params:({schemaCode:e})=>r._`{multipleOf: ${e}}`},code(e){const{gen:t,data:n,schemaCode:o,it:i}=e,a=i.opts.multipleOfPrecision,s=t.let("res"),c=a?r._`Math.abs(Math.round(${s}) - ${s}) > 1e-${a}`:r._`${s} !== parseInt(${s})`;e.fail$data(r._`(${o} === 0 || (${s} = ${n}/${o}, ${c}))`)}};t.default=o},3463:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n={keyword:"id",code(){throw new Error('NOT SUPPORTED: keyword "id", use "$id" for schema ID')}};t.default=n},3558:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});class n extends Error{constructor(e){super("validation failed"),this.errors=e,this.ajv=this.validation=!0}}t.default=n},3673:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.validateKeywordUsage=t.validSchemaType=t.funcKeywordCode=t.macroKeywordCode=void 0;const r=n(9029),o=n(2023),i=n(5765),a=n(8708);function s(e){const{gen:t,data:n,it:o}=e;t.if(o.parentData,(()=>t.assign(n,r._`${o.parentData}[${o.parentDataProperty}]`)))}function c(e,t,n){if(void 0===n)throw new Error(`keyword "${t}" failed to compile`);return e.scopeValue("keyword","function"==typeof n?{ref:n}:{ref:n,code:(0,r.stringify)(n)})}t.macroKeywordCode=function(e,t){const{gen:n,keyword:o,schema:i,parentSchema:a,it:s}=e,l=t.macro.call(s.self,i,a,s),u=c(n,o,l);!1!==s.opts.validateSchema&&s.self.validateSchema(l,!0);const d=n.name("valid");e.subschema({schema:l,schemaPath:r.nil,errSchemaPath:`${s.errSchemaPath}/${o}`,topSchemaRef:u,compositeRule:!0},d),e.pass(d,(()=>e.error(!0)))},t.funcKeywordCode=function(e,t){var n;const{gen:l,keyword:u,schema:d,parentSchema:f,$data:h,it:p}=e;!function({schemaEnv:e},t){if(t.async&&!e.$async)throw new Error("async keyword in sync schema")}(p,t);const m=!h&&t.compile?t.compile.call(p.self,d,f,p):t.validate,g=c(l,u,m),y=l.let("valid");function A(n=(t.async?r._`await `:r.nil)){const a=p.opts.passContext?o.default.this:o.default.self,s=!("compile"in t&&!h||!1===t.schema);l.assign(y,r._`${n}${(0,i.callValidateCode)(e,g,a,s)}`,t.modifying)}function v(e){var n;l.if((0,r.not)(null!==(n=t.valid)&&void 0!==n?n:y),e)}e.block$data(y,(function(){if(!1===t.errors)A(),t.modifying&&s(e),v((()=>e.error()));else{const n=t.async?function(){const e=l.let("ruleErrs",null);return l.try((()=>A(r._`await `)),(t=>l.assign(y,!1).if(r._`${t} instanceof ${p.ValidationError}`,(()=>l.assign(e,r._`${t}.errors`)),(()=>l.throw(t))))),e}():function(){const e=r._`${g}.errors`;return l.assign(e,null),A(r.nil),e}();t.modifying&&s(e),v((()=>function(e,t){const{gen:n}=e;n.if(r._`Array.isArray(${t})`,(()=>{n.assign(o.default.vErrors,r._`${o.default.vErrors} === null ? ${t} : ${o.default.vErrors}.concat(${t})`).assign(o.default.errors,r._`${o.default.vErrors}.length`),(0,a.extendErrors)(e)}),(()=>e.error()))}(e,n)))}})),e.ok(null!==(n=t.valid)&&void 0!==n?n:y)},t.validSchemaType=function(e,t,n=!1){return!t.length||t.some((t=>"array"===t?Array.isArray(e):"object"===t?e&&"object"==typeof e&&!Array.isArray(e):typeof e==t||n&&void 0===e))},t.validateKeywordUsage=function({schema:e,opts:t,self:n,errSchemaPath:r},o,i){if(Array.isArray(o.keyword)?!o.keyword.includes(i):o.keyword!==i)throw new Error("ajv implementation error");const a=o.dependencies;if(null==a?void 0:a.some((t=>!Object.prototype.hasOwnProperty.call(e,t))))throw new Error(`parent schema must have dependencies of ${i}: ${a.join(",")}`);if(o.validateSchema){if(!o.validateSchema(e[i])){const e=`keyword "${i}" value is invalid at path "${r}": `+n.errorsText(o.validateSchema.errors);if("log"!==t.validateSchema)throw new Error(e);n.logger.error(e)}}}},3693:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.callRef=t.getValidate=void 0;const r=n(4551),o=n(5765),i=n(9029),a=n(2023),s=n(3835),c=n(4227),l={keyword:"$ref",schemaType:"string",code(e){const{gen:t,schema:n,it:o}=e,{baseId:a,schemaEnv:c,validateName:l,opts:f,self:h}=o,{root:p}=c;if(("#"===n||"#/"===n)&&a===p.baseId)return function(){if(c===p)return d(e,l,c,c.$async);const n=t.scopeValue("root",{ref:p});return d(e,i._`${n}.validate`,p,p.$async)}();const m=s.resolveRef.call(h,p,a,n);if(void 0===m)throw new r.default(o.opts.uriResolver,a,n);return m instanceof s.SchemaEnv?function(t){const n=u(e,t);d(e,n,t,t.$async)}(m):function(r){const o=t.scopeValue("schema",!0===f.code.source?{ref:r,code:(0,i.stringify)(r)}:{ref:r}),a=t.name("valid"),s=e.subschema({schema:r,dataTypes:[],schemaPath:i.nil,topSchemaRef:o,errSchemaPath:n},a);e.mergeEvaluated(s),e.ok(a)}(m)}};function u(e,t){const{gen:n}=e;return t.validate?n.scopeValue("validate",{ref:t.validate}):i._`${n.scopeValue("wrapper",{ref:t})}.validate`}function d(e,t,n,r){const{gen:s,it:l}=e,{allErrors:u,schemaEnv:d,opts:f}=l,h=f.passContext?a.default.this:i.nil;function p(e){const t=i._`${e}.errors`;s.assign(a.default.vErrors,i._`${a.default.vErrors} === null ? ${t} : ${a.default.vErrors}.concat(${t})`),s.assign(a.default.errors,i._`${a.default.vErrors}.length`)}function m(e){var t;if(!l.opts.unevaluated)return;const r=null===(t=null==n?void 0:n.validate)||void 0===t?void 0:t.evaluated;if(!0!==l.props)if(r&&!r.dynamicProps)void 0!==r.props&&(l.props=c.mergeEvaluated.props(s,r.props,l.props));else{const t=s.var("props",i._`${e}.evaluated.props`);l.props=c.mergeEvaluated.props(s,t,l.props,i.Name)}if(!0!==l.items)if(r&&!r.dynamicItems)void 0!==r.items&&(l.items=c.mergeEvaluated.items(s,r.items,l.items));else{const t=s.var("items",i._`${e}.evaluated.items`);l.items=c.mergeEvaluated.items(s,t,l.items,i.Name)}}r?function(){if(!d.$async)throw new Error("async schema referenced by sync schema");const n=s.let("valid");s.try((()=>{s.code(i._`await ${(0,o.callValidateCode)(e,t,h)}`),m(t),u||s.assign(n,!0)}),(e=>{s.if(i._`!(${e} instanceof ${l.ValidationError})`,(()=>s.throw(e))),p(e),u||s.assign(n,!1)})),e.ok(n)}():e.result((0,o.callValidateCode)(e,t,h),(()=>m(t)),(()=>p(t)))}t.getValidate=u,t.callRef=d,t.default=l},3741:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(2189),o=n(9804),i=n(7154),a=n(8274),s=function(e){return"TH"===e?"TD":e},c=function(e,t){return new i.DomIterator(e,t).reduce((function(e,t){return e+(a.isText(t)?t.data:a.charForNodeName(s(t.nodeName)))}),"")},l=function(e){return a.isText(e)?e.length:1},u=function(e){return"TR"===e.nodeName},d={skipChildren:u,skipSelf:function(e){return!u(e)}};t.visualDomDiff=function e(t,n,u){var f,h;void 0===u&&(u={});var p,m,g,y,A,v=n.ownerDocument||n,b=o.optionsToConfig(u),w=b.addedClass,M=b.diffText,C=b.modifiedClass,E=b.removedClass,L=b.skipSelf,j=b.skipChildren,x=function(e){return!L(e)},N=function(e,t){return a.getAncestors(e,t).filter(x).length},S=function(e){return a.isElement(e)&&L(e)},T=function(e,t){return a.getAncestors(e,t).filter(S).reverse()},k=function(e){return V.has(e)?1:G.has(e)?-1:0},_=M(c(t,b),c(n,b)),D=0,I=new i.DomIterator(t,b),O=new i.DomIterator(n,b),z=0,B=0,$=0;g=_[D++],f=I.next(),p=f.done,y=f.value,h=O.next(),m=h.done,A=h.value;var P=v.createDocumentFragment(),R=P,U=0,Y=P,Q=0,q=null,F=null,G=new Set,V=new Set,W=new Set,H=new Map,Z=new Array,K=new Map;function X(){for(var e=N(y,t);U>e;){if(!R.parentNode)return a.never();R===q&&(q=null),R=R.parentNode,U--}if(U!==e)return a.never()}function J(){for(var e=N(A,n);Q>e;){if(!Y.parentNode)return a.never();Y===F&&(F=null),Y=Y.parentNode,Q--}if(Q!==e)return a.never()}function ee(e){if(R!==Y||F||q)return a.never();if(a.isText(e)){var r=T(y,t),o=T(A,n);H.set(e,o);var i=r.length;if(i!==o.length)W.add(e);else for(var s=0;s<i;++s)if(!a.areNodesEqual(r[s],o[s])){W.add(e);break}}else{a.areNodesEqual(y,A)||W.add(e);var c=y.nodeName;"TABLE"===c?Z.push({newTable:A,oldTable:y,outputTable:e}):"TR"===c&&K.set(e,{newRow:A,oldRow:y})}Y.appendChild(e),R=e,Y=e,U++,Q++}function te(e){if(q||(q=e,G.add(e)),a.isText(e)){var n=T(y,t);H.set(e,n)}R.appendChild(e),R=e,U++}function ne(e){if(F||(F=e,V.add(e)),a.isText(e)){var t=T(A,n);H.set(e,t)}Y.appendChild(e),Y=e,Q++}function re(e){var t=g[1].length;if((z+=e)===t)g=_[D++],z=0;else if(z>t)return a.never()}function oe(e){var t,n=l(y);if((B+=e)===n)t=I.next(),p=t.done,y=t.value,B=0;else if(B>n)return a.never()}function ie(e){var t,n=l(A);if(($+=e)===n)t=O.next(),m=t.done,A=t.value,$=0;else if($>n)return a.never()}for(;g;)if(g[0]===r.DIFF_DELETE){if(p)return a.never();X();var ae=Math.min(g[1].length-z,l(y)-B),se=g[1].substring(z,z+ae);te(a.isText(y)?v.createTextNode(se):y.cloneNode(!1)),re(ae),oe(ae)}else if(g[0]===r.DIFF_INSERT){if(m)return a.never();J();var ce=Math.min(g[1].length-z,l(A)-$);se=g[1].substring(z,z+ce);ne(a.isText(A)?v.createTextNode(se):A.cloneNode(!1)),re(ce),ie(ce)}else{if(p||m)return a.never();X(),J();var le=Math.min(g[1].length-z,l(y)-B,l(A)-$);se=g[1].substring(z,z+le);R===Y&&(a.isText(y)&&a.isText(A)||s(y.nodeName)===s(A.nodeName)&&!j(y)&&!j(A)||a.areNodesEqual(y,A))?ee(a.isText(A)?v.createTextNode(se):A.cloneNode(!1)):(te(a.isText(y)?v.createTextNode(se):y.cloneNode(!1)),ne(a.isText(A)?v.createTextNode(se):A.cloneNode(!1))),re(le),oe(le),ie(le)}return G.forEach((function(e){for(var t=e.parentNode,n=e.previousSibling;n&&V.has(n);)t.insertBefore(e,n),n=e.previousSibling})),Z.forEach((function(t){var n=t.newTable,r=t.oldTable,o=t.outputTable;if(!a.isTableValid(r,!0)||!a.isTableValid(n,!0)||!a.isTableValid(o,!1)){new i.DomIterator(o).forEach((function(e){V.delete(e),G.delete(e),W.delete(e),H.delete(e)}));var s=o.parentNode,c=r.cloneNode(!0),l=n.cloneNode(!0);return s.insertBefore(c,o),s.insertBefore(l,o),s.removeChild(o),G.add(c),void V.add(l)}var f=[];new i.DomIterator(o,d).some((function(e){var t=K.get(e);if(!t)return!1;var n=t.oldRow,r=t.newRow,o=n.childNodes.length,i=r.childNodes.length,a=Math.max(o,i),s=Math.min(o,i);if(e.childNodes.length===a)for(var c=e.childNodes,l=0,u=c.length;l<u;++l)f.push(k(c[l]));else{l=0;for(var d=0;l<s;)f[l++]=d;for(d=o<i?1:-1;l<a;)f[l++]=d}return!0}));var h=f.length;if(0===h)return a.never();new i.DomIterator(o,d).forEach((function(t){var n=t.childNodes;if(V.has(t)||V.has(t.parentNode)){if(n.length<h)for(var r=0;r<h;++r)if(-1===f[r]){var o=v.createElement("TD");t.insertBefore(o,n[r]),G.add(o)}}else if(G.has(t)||G.has(t.parentNode)){if(n.length<h)for(r=0;r<h;++r)if(1===f[r]){o=v.createElement("TD");t.insertBefore(o,n[r])}}else{for(var a=!0,s=(r=0,n.length);r<s;++r)if(k(n[r])!==f[r]){a=!1;break}if(!a){var c=new i.DomIterator(t);for(c.next(),c.forEach((function(e){V.delete(e),G.delete(e),W.delete(e),H.delete(e)}));t.firstChild;)t.removeChild(t.firstChild);var l=K.get(t),d=l.newRow,p=l.oldRow,m=d.childNodes,g=p.childNodes,y=0,A=0;for(r=0;r<h;++r)if(1===f[r]){var b=m[A++].cloneNode(!0);t.appendChild(b),V.add(b)}else if(-1===f[r]){var w=g[y++].cloneNode(!0);t.appendChild(w),G.add(w)}else t.appendChild(e(g[y++],m[A++],u))}}}))})),G.forEach((function(e){a.markUpNode(e,"DEL",E)})),V.forEach((function(e){a.markUpNode(e,"INS",w)})),b.skipModified||W.forEach((function(e){a.markUpNode(e,"INS",C)})),H.forEach((function(e,t){e.forEach((function(e){var n=t.parentNode,r=t.previousSibling;if(r&&a.areNodesEqual(r,e))r.appendChild(t);else{var o=e.cloneNode(!1);n.insertBefore(o,t),o.appendChild(t)}}))})),P}},3835:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.resolveSchema=t.getCompilingSchema=t.resolveRef=t.compileSchema=t.SchemaEnv=void 0;const r=n(9029),o=n(3558),i=n(2023),a=n(6939),s=n(4227),c=n(2586);class l{constructor(e){var t;let n;this.refs={},this.dynamicAnchors={},"object"==typeof e.schema&&(n=e.schema),this.schema=e.schema,this.schemaId=e.schemaId,this.root=e.root||this,this.baseId=null!==(t=e.baseId)&&void 0!==t?t:(0,a.normalizeId)(null==n?void 0:n[e.schemaId||"$id"]),this.schemaPath=e.schemaPath,this.localRefs=e.localRefs,this.meta=e.meta,this.$async=null==n?void 0:n.$async,this.refs={}}}function u(e){const t=f.call(this,e);if(t)return t;const n=(0,a.getFullPath)(this.opts.uriResolver,e.root.baseId),{es5:s,lines:l}=this.opts.code,{ownProperties:u}=this.opts,d=new r.CodeGen(this.scope,{es5:s,lines:l,ownProperties:u});let h;e.$async&&(h=d.scopeValue("Error",{ref:o.default,code:r._`require("ajv/dist/runtime/validation_error").default`}));const p=d.scopeName("validate");e.validateName=p;const m={gen:d,allErrors:this.opts.allErrors,data:i.default.data,parentData:i.default.parentData,parentDataProperty:i.default.parentDataProperty,dataNames:[i.default.data],dataPathArr:[r.nil],dataLevel:0,dataTypes:[],definedProperties:new Set,topSchemaRef:d.scopeValue("schema",!0===this.opts.code.source?{ref:e.schema,code:(0,r.stringify)(e.schema)}:{ref:e.schema}),validateName:p,ValidationError:h,schema:e.schema,schemaEnv:e,rootId:n,baseId:e.baseId||n,schemaPath:r.nil,errSchemaPath:e.schemaPath||(this.opts.jtd?"":"#"),errorPath:r._`""`,opts:this.opts,self:this};let g;try{this._compilations.add(e),(0,c.validateFunctionCode)(m),d.optimize(this.opts.code.optimize);const t=d.toString();g=`${d.scopeRefs(i.default.scope)}return ${t}`,this.opts.code.process&&(g=this.opts.code.process(g,e));const n=new Function(`${i.default.self}`,`${i.default.scope}`,g)(this,this.scope.get());if(this.scope.value(p,{ref:n}),n.errors=null,n.schema=e.schema,n.schemaEnv=e,e.$async&&(n.$async=!0),!0===this.opts.code.source&&(n.source={validateName:p,validateCode:t,scopeValues:d._values}),this.opts.unevaluated){const{props:e,items:t}=m;n.evaluated={props:e instanceof r.Name?void 0:e,items:t instanceof r.Name?void 0:t,dynamicProps:e instanceof r.Name,dynamicItems:t instanceof r.Name},n.source&&(n.source.evaluated=(0,r.stringify)(n.evaluated))}return e.validate=n,e}catch(t){throw delete e.validate,delete e.validateName,g&&this.logger.error("Error compiling schema, function code:",g),t}finally{this._compilations.delete(e)}}function d(e){return(0,a.inlineRef)(e.schema,this.opts.inlineRefs)?e.schema:e.validate?e:u.call(this,e)}function f(e){for(const r of this._compilations)if(n=e,(t=r).schema===n.schema&&t.root===n.root&&t.baseId===n.baseId)return r;var t,n}function h(e,t){let n;for(;"string"==typeof(n=this.refs[t]);)t=n;return n||this.schemas[t]||p.call(this,e,t)}function p(e,t){const n=this.opts.uriResolver.parse(t),r=(0,a._getFullPath)(this.opts.uriResolver,n);let o=(0,a.getFullPath)(this.opts.uriResolver,e.baseId,void 0);if(Object.keys(e.schema).length>0&&r===o)return g.call(this,n,e);const i=(0,a.normalizeId)(r),s=this.refs[i]||this.schemas[i];if("string"==typeof s){const t=p.call(this,e,s);if("object"!=typeof(null==t?void 0:t.schema))return;return g.call(this,n,t)}if("object"==typeof(null==s?void 0:s.schema)){if(s.validate||u.call(this,s),i===(0,a.normalizeId)(t)){const{schema:t}=s,{schemaId:n}=this.opts,r=t[n];return r&&(o=(0,a.resolveUrl)(this.opts.uriResolver,o,r)),new l({schema:t,schemaId:n,root:e,baseId:o})}return g.call(this,n,s)}}t.SchemaEnv=l,t.compileSchema=u,t.resolveRef=function(e,t,n){var r;n=(0,a.resolveUrl)(this.opts.uriResolver,t,n);const o=e.refs[n];if(o)return o;let i=h.call(this,e,n);if(void 0===i){const o=null===(r=e.localRefs)||void 0===r?void 0:r[n],{schemaId:a}=this.opts;o&&(i=new l({schema:o,schemaId:a,root:e,baseId:t}))}return void 0!==i?e.refs[n]=d.call(this,i):void 0},t.getCompilingSchema=f,t.resolveSchema=p;const m=new Set(["properties","patternProperties","enum","dependencies","definitions"]);function g(e,{baseId:t,schema:n,root:r}){var o;if("/"!==(null===(o=e.fragment)||void 0===o?void 0:o[0]))return;for(const r of e.fragment.slice(1).split("/")){if("boolean"==typeof n)return;const e=n[(0,s.unescapeFragment)(r)];if(void 0===e)return;const o="object"==typeof(n=e)&&n[this.opts.schemaId];!m.has(r)&&o&&(t=(0,a.resolveUrl)(this.opts.uriResolver,t,o))}let i;if("boolean"!=typeof n&&n.$ref&&!(0,s.schemaHasRulesButRef)(n,this.RULES)){const e=(0,a.resolveUrl)(this.opts.uriResolver,t,n.$ref);i=p.call(this,r,e)}const{schemaId:c}=this.opts;return i=i||new l({schema:n,schemaId:c,root:r,baseId:t}),i.schema!==i.root.schema?i:void 0}},3837:e=>{"use strict";e.exports=JSON.parse('{"$id":"https://raw.githubusercontent.com/ajv-validator/ajv/master/lib/refs/data.json#","description":"Meta-schema for $data reference (JSON AnySchema extension proposal)","type":"object","required":["$data"],"properties":{"$data":{"type":"string","anyOf":[{"format":"relative-json-pointer"},{"format":"json-pointer"}]}},"additionalProperties":false}')},3853:(e,t)=>{"use strict";function n(e){const t=e.length;let n,r=0,o=0;for(;o<t;)r++,n=e.charCodeAt(o++),n>=55296&&n<=56319&&o<t&&(n=e.charCodeAt(o),56320==(64512&n)&&o++);return r}Object.defineProperty(t,"__esModule",{value:!0}),t.default=n,n.code='require("ajv/dist/runtime/ucs2length").default'},3966:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(9029),o=n(4227),i=n(5765),a=n(5457),s={keyword:"items",type:"array",schemaType:["object","boolean"],before:"uniqueItems",error:{message:({params:{len:e}})=>r.str`must NOT have more than ${e} items`,params:({params:{len:e}})=>r._`{limit: ${e}}`},code(e){const{schema:t,parentSchema:n,it:r}=e,{prefixItems:s}=n;r.items=!0,(0,o.alwaysValidSchema)(r,t)||(s?(0,a.validateAdditionalItems)(e,s):e.ok((0,i.validateArray)(e)))}};t.default=s},4003:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(5765),o=n(9029),i=n(4227),a={keyword:"required",type:"object",schemaType:"array",$data:!0,error:{message:({params:{missingProperty:e}})=>o.str`must have required property '${e}'`,params:({params:{missingProperty:e}})=>o._`{missingProperty: ${e}}`},code(e){const{gen:t,schema:n,schemaCode:a,data:s,$data:c,it:l}=e,{opts:u}=l;if(!c&&0===n.length)return;const d=n.length>=u.loopRequired;if(l.allErrors?function(){if(d||c)e.block$data(o.nil,f);else for(const t of n)(0,r.checkReportMissingProp)(e,t)}():function(){const i=t.let("missing");if(d||c){const n=t.let("valid",!0);e.block$data(n,(()=>function(n,i){e.setParams({missingProperty:n}),t.forOf(n,a,(()=>{t.assign(i,(0,r.propertyInData)(t,s,n,u.ownProperties)),t.if((0,o.not)(i),(()=>{e.error(),t.break()}))}),o.nil)}(i,n))),e.ok(n)}else t.if((0,r.checkMissingProp)(e,n,i)),(0,r.reportMissingProp)(e,i),t.else()}(),u.strictRequired){const t=e.parentSchema.properties,{definedProperties:r}=e.it;for(const e of n)if(void 0===(null==t?void 0:t[e])&&!r.has(e)){const t=`required property "${e}" is not defined at "${l.schemaEnv.baseId+l.errSchemaPath}" (strictRequired)`;(0,i.checkStrictMode)(l,t,l.opts.strictRequired)}}function f(){t.forOf("prop",a,(n=>{e.setParams({missingProperty:n}),t.if((0,r.noPropertyInData)(t,s,n,u.ownProperties),(()=>e.error()))}))}}};t.default=a},4042:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.CodeGen=t.Name=t.nil=t.stringify=t.str=t._=t.KeywordCxt=void 0;var r=n(2586);Object.defineProperty(t,"KeywordCxt",{enumerable:!0,get:function(){return r.KeywordCxt}});var o=n(9029);Object.defineProperty(t,"_",{enumerable:!0,get:function(){return o._}}),Object.defineProperty(t,"str",{enumerable:!0,get:function(){return o.str}}),Object.defineProperty(t,"stringify",{enumerable:!0,get:function(){return o.stringify}}),Object.defineProperty(t,"nil",{enumerable:!0,get:function(){return o.nil}}),Object.defineProperty(t,"Name",{enumerable:!0,get:function(){return o.Name}}),Object.defineProperty(t,"CodeGen",{enumerable:!0,get:function(){return o.CodeGen}});const i=n(3558),a=n(4551),s=n(396),c=n(3835),l=n(9029),u=n(6939),d=n(208),f=n(4227),h=n(3837),p=n(5944),m=(e,t)=>new RegExp(e,t);m.code="new RegExp";const g=["removeAdditional","useDefaults","coerceTypes"],y=new Set(["validate","serialize","parse","wrapper","root","schema","keyword","pattern","formats","validate$data","func","obj","Error"]),A={errorDataPath:"",format:"`validateFormats: false` can be used instead.",nullable:'"nullable" keyword is supported by default.',jsonPointers:"Deprecated jsPropertySyntax can be used instead.",extendRefs:"Deprecated ignoreKeywordsWithRef can be used instead.",missingRefs:"Pass empty schema with $id that should be ignored to ajv.addSchema.",processCode:"Use option `code: {process: (code, schemaEnv: object) => string}`",sourceCode:"Use option `code: {source: true}`",strictDefaults:"It is default now, see option `strict`.",strictKeywords:"It is default now, see option `strict`.",uniqueItems:'"uniqueItems" keyword is always validated.',unknownFormats:"Disable strict mode or pass `true` to `ajv.addFormat` (or `formats` option).",cache:"Map is used as cache, schema object as key.",serialize:"Map is used as cache, schema object as key.",ajvErrors:"It is default now."},v={ignoreKeywordsWithRef:"",jsPropertySyntax:"",unicode:'"minLength"/"maxLength" account for unicode characters by default.'};function b(e){var t,n,r,o,i,a,s,c,l,u,d,f,h,g,y,A,v,b,w,M,C,E,L,j,x;const N=e.strict,S=null===(t=e.code)||void 0===t?void 0:t.optimize,T=!0===S||void 0===S?1:S||0,k=null!==(r=null===(n=e.code)||void 0===n?void 0:n.regExp)&&void 0!==r?r:m,_=null!==(o=e.uriResolver)&&void 0!==o?o:p.default;return{strictSchema:null===(a=null!==(i=e.strictSchema)&&void 0!==i?i:N)||void 0===a||a,strictNumbers:null===(c=null!==(s=e.strictNumbers)&&void 0!==s?s:N)||void 0===c||c,strictTypes:null!==(u=null!==(l=e.strictTypes)&&void 0!==l?l:N)&&void 0!==u?u:"log",strictTuples:null!==(f=null!==(d=e.strictTuples)&&void 0!==d?d:N)&&void 0!==f?f:"log",strictRequired:null!==(g=null!==(h=e.strictRequired)&&void 0!==h?h:N)&&void 0!==g&&g,code:e.code?{...e.code,optimize:T,regExp:k}:{optimize:T,regExp:k},loopRequired:null!==(y=e.loopRequired)&&void 0!==y?y:200,loopEnum:null!==(A=e.loopEnum)&&void 0!==A?A:200,meta:null===(v=e.meta)||void 0===v||v,messages:null===(b=e.messages)||void 0===b||b,inlineRefs:null===(w=e.inlineRefs)||void 0===w||w,schemaId:null!==(M=e.schemaId)&&void 0!==M?M:"$id",addUsedSchema:null===(C=e.addUsedSchema)||void 0===C||C,validateSchema:null===(E=e.validateSchema)||void 0===E||E,validateFormats:null===(L=e.validateFormats)||void 0===L||L,unicodeRegExp:null===(j=e.unicodeRegExp)||void 0===j||j,int32range:null===(x=e.int32range)||void 0===x||x,uriResolver:_}}class w{constructor(e={}){this.schemas={},this.refs={},this.formats={},this._compilations=new Set,this._loading={},this._cache=new Map,e=this.opts={...e,...b(e)};const{es5:t,lines:n}=this.opts.code;this.scope=new l.ValueScope({scope:{},prefixes:y,es5:t,lines:n}),this.logger=function(e){if(!1===e)return N;if(void 0===e)return console;if(e.log&&e.warn&&e.error)return e;throw new Error("logger must implement log, warn and error methods")}(e.logger);const r=e.validateFormats;e.validateFormats=!1,this.RULES=(0,s.getRules)(),M.call(this,A,e,"NOT SUPPORTED"),M.call(this,v,e,"DEPRECATED","warn"),this._metaOpts=x.call(this),e.formats&&L.call(this),this._addVocabularies(),this._addDefaultMetaSchema(),e.keywords&&j.call(this,e.keywords),"object"==typeof e.meta&&this.addMetaSchema(e.meta),E.call(this),e.validateFormats=r}_addVocabularies(){this.addKeyword("$async")}_addDefaultMetaSchema(){const{$data:e,meta:t,schemaId:n}=this.opts;let r=h;"id"===n&&(r={...h},r.id=r.$id,delete r.$id),t&&e&&this.addMetaSchema(r,r[n],!1)}defaultMeta(){const{meta:e,schemaId:t}=this.opts;return this.opts.defaultMeta="object"==typeof e?e[t]||e:void 0}validate(e,t){let n;if("string"==typeof e){if(n=this.getSchema(e),!n)throw new Error(`no schema with key or ref "${e}"`)}else n=this.compile(e);const r=n(t);return"$async"in n||(this.errors=n.errors),r}compile(e,t){const n=this._addSchema(e,t);return n.validate||this._compileSchemaEnv(n)}compileAsync(e,t){if("function"!=typeof this.opts.loadSchema)throw new Error("options.loadSchema should be a function");const{loadSchema:n}=this.opts;return r.call(this,e,t);async function r(e,t){await o.call(this,e.$schema);const n=this._addSchema(e,t);return n.validate||i.call(this,n)}async function o(e){e&&!this.getSchema(e)&&await r.call(this,{$ref:e},!0)}async function i(e){try{return this._compileSchemaEnv(e)}catch(t){if(!(t instanceof a.default))throw t;return s.call(this,t),await c.call(this,t.missingSchema),i.call(this,e)}}function s({missingSchema:e,missingRef:t}){if(this.refs[e])throw new Error(`AnySchema ${e} is loaded but ${t} cannot be resolved`)}async function c(e){const n=await l.call(this,e);this.refs[e]||await o.call(this,n.$schema),this.refs[e]||this.addSchema(n,e,t)}async function l(e){const t=this._loading[e];if(t)return t;try{return await(this._loading[e]=n(e))}finally{delete this._loading[e]}}}addSchema(e,t,n,r=this.opts.validateSchema){if(Array.isArray(e)){for(const t of e)this.addSchema(t,void 0,n,r);return this}let o;if("object"==typeof e){const{schemaId:t}=this.opts;if(o=e[t],void 0!==o&&"string"!=typeof o)throw new Error(`schema ${t} must be string`)}return t=(0,u.normalizeId)(t||o),this._checkUnique(t),this.schemas[t]=this._addSchema(e,n,t,r,!0),this}addMetaSchema(e,t,n=this.opts.validateSchema){return this.addSchema(e,t,!0,n),this}validateSchema(e,t){if("boolean"==typeof e)return!0;let n;if(n=e.$schema,void 0!==n&&"string"!=typeof n)throw new Error("$schema must be a string");if(n=n||this.opts.defaultMeta||this.defaultMeta(),!n)return this.logger.warn("meta-schema not available"),this.errors=null,!0;const r=this.validate(n,e);if(!r&&t){const e="schema is invalid: "+this.errorsText();if("log"!==this.opts.validateSchema)throw new Error(e);this.logger.error(e)}return r}getSchema(e){let t;for(;"string"==typeof(t=C.call(this,e));)e=t;if(void 0===t){const{schemaId:n}=this.opts,r=new c.SchemaEnv({schema:{},schemaId:n});if(t=c.resolveSchema.call(this,r,e),!t)return;this.refs[e]=t}return t.validate||this._compileSchemaEnv(t)}removeSchema(e){if(e instanceof RegExp)return this._removeAllSchemas(this.schemas,e),this._removeAllSchemas(this.refs,e),this;switch(typeof e){case"undefined":return this._removeAllSchemas(this.schemas),this._removeAllSchemas(this.refs),this._cache.clear(),this;case"string":{const t=C.call(this,e);return"object"==typeof t&&this._cache.delete(t.schema),delete this.schemas[e],delete this.refs[e],this}case"object":{const t=e;this._cache.delete(t);let n=e[this.opts.schemaId];return n&&(n=(0,u.normalizeId)(n),delete this.schemas[n],delete this.refs[n]),this}default:throw new Error("ajv.removeSchema: invalid parameter")}}addVocabulary(e){for(const t of e)this.addKeyword(t);return this}addKeyword(e,t){let n;if("string"==typeof e)n=e,"object"==typeof t&&(this.logger.warn("these parameters are deprecated, see docs for addKeyword"),t.keyword=n);else{if("object"!=typeof e||void 0!==t)throw new Error("invalid addKeywords parameters");if(n=(t=e).keyword,Array.isArray(n)&&!n.length)throw new Error("addKeywords: keyword must be string or non-empty array")}if(T.call(this,n,t),!t)return(0,f.eachItem)(n,(e=>k.call(this,e))),this;D.call(this,t);const r={...t,type:(0,d.getJSONTypes)(t.type),schemaType:(0,d.getJSONTypes)(t.schemaType)};return(0,f.eachItem)(n,0===r.type.length?e=>k.call(this,e,r):e=>r.type.forEach((t=>k.call(this,e,r,t)))),this}getKeyword(e){const t=this.RULES.all[e];return"object"==typeof t?t.definition:!!t}removeKeyword(e){const{RULES:t}=this;delete t.keywords[e],delete t.all[e];for(const n of t.rules){const t=n.rules.findIndex((t=>t.keyword===e));t>=0&&n.rules.splice(t,1)}return this}addFormat(e,t){return"string"==typeof t&&(t=new RegExp(t)),this.formats[e]=t,this}errorsText(e=this.errors,{separator:t=", ",dataVar:n="data"}={}){return e&&0!==e.length?e.map((e=>`${n}${e.instancePath} ${e.message}`)).reduce(((e,n)=>e+t+n)):"No errors"}$dataMetaSchema(e,t){const n=this.RULES.all;e=JSON.parse(JSON.stringify(e));for(const r of t){const t=r.split("/").slice(1);let o=e;for(const e of t)o=o[e];for(const e in n){const t=n[e];if("object"!=typeof t)continue;const{$data:r}=t.definition,i=o[e];r&&i&&(o[e]=O(i))}}return e}_removeAllSchemas(e,t){for(const n in e){const r=e[n];t&&!t.test(n)||("string"==typeof r?delete e[n]:r&&!r.meta&&(this._cache.delete(r.schema),delete e[n]))}}_addSchema(e,t,n,r=this.opts.validateSchema,o=this.opts.addUsedSchema){let i;const{schemaId:a}=this.opts;if("object"==typeof e)i=e[a];else{if(this.opts.jtd)throw new Error("schema must be object");if("boolean"!=typeof e)throw new Error("schema must be object or boolean")}let s=this._cache.get(e);if(void 0!==s)return s;n=(0,u.normalizeId)(i||n);const l=u.getSchemaRefs.call(this,e,n);return s=new c.SchemaEnv({schema:e,schemaId:a,meta:t,baseId:n,localRefs:l}),this._cache.set(s.schema,s),o&&!n.startsWith("#")&&(n&&this._checkUnique(n),this.refs[n]=s),r&&this.validateSchema(e,!0),s}_checkUnique(e){if(this.schemas[e]||this.refs[e])throw new Error(`schema with key or id "${e}" already exists`)}_compileSchemaEnv(e){if(e.meta?this._compileMetaSchema(e):c.compileSchema.call(this,e),!e.validate)throw new Error("ajv implementation error");return e.validate}_compileMetaSchema(e){const t=this.opts;this.opts=this._metaOpts;try{c.compileSchema.call(this,e)}finally{this.opts=t}}}function M(e,t,n,r="error"){for(const o in e){const i=o;i in t&&this.logger[r](`${n}: option ${o}. ${e[i]}`)}}function C(e){return e=(0,u.normalizeId)(e),this.schemas[e]||this.refs[e]}function E(){const e=this.opts.schemas;if(e)if(Array.isArray(e))this.addSchema(e);else for(const t in e)this.addSchema(e[t],t)}function L(){for(const e in this.opts.formats){const t=this.opts.formats[e];t&&this.addFormat(e,t)}}function j(e){if(Array.isArray(e))this.addVocabulary(e);else{this.logger.warn("keywords option as map is deprecated, pass array");for(const t in e){const n=e[t];n.keyword||(n.keyword=t),this.addKeyword(n)}}}function x(){const e={...this.opts};for(const t of g)delete e[t];return e}w.ValidationError=i.default,w.MissingRefError=a.default,t.default=w;const N={log(){},warn(){},error(){}};const S=/^[a-z_$][a-z0-9_$:-]*$/i;function T(e,t){const{RULES:n}=this;if((0,f.eachItem)(e,(e=>{if(n.keywords[e])throw new Error(`Keyword ${e} is already defined`);if(!S.test(e))throw new Error(`Keyword ${e} has invalid name`)})),t&&t.$data&&!("code"in t)&&!("validate"in t))throw new Error('$data keyword must have "code" or "validate" function')}function k(e,t,n){var r;const o=null==t?void 0:t.post;if(n&&o)throw new Error('keyword with "post" flag cannot have "type"');const{RULES:i}=this;let a=o?i.post:i.rules.find((({type:e})=>e===n));if(a||(a={type:n,rules:[]},i.rules.push(a)),i.keywords[e]=!0,!t)return;const s={keyword:e,definition:{...t,type:(0,d.getJSONTypes)(t.type),schemaType:(0,d.getJSONTypes)(t.schemaType)}};t.before?_.call(this,a,s,t.before):a.rules.push(s),i.all[e]=s,null===(r=t.implements)||void 0===r||r.forEach((e=>this.addKeyword(e)))}function _(e,t,n){const r=e.rules.findIndex((e=>e.keyword===n));r>=0?e.rules.splice(r,0,t):(e.rules.push(t),this.logger.warn(`rule ${n} is not defined`))}function D(e){let{metaSchema:t}=e;void 0!==t&&(e.$data&&this.opts.$data&&(t=O(t)),e.validateSchema=this.compile(t,!0))}const I={$ref:"https://raw.githubusercontent.com/ajv-validator/ajv/master/lib/refs/data.json#"};function O(e){return{anyOf:[e,I]}}},4227:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.checkStrictMode=t.getErrorPath=t.Type=t.useFunc=t.setEvaluated=t.evaluatedPropsToName=t.mergeEvaluated=t.eachItem=t.unescapeJsonPointer=t.escapeJsonPointer=t.escapeFragment=t.unescapeFragment=t.schemaRefOrVal=t.schemaHasRulesButRef=t.schemaHasRules=t.checkUnknownRules=t.alwaysValidSchema=t.toHash=void 0;const r=n(9029),o=n(1520);function i(e,t=e.schema){const{opts:n,self:r}=e;if(!n.strictSchema)return;if("boolean"==typeof t)return;const o=r.RULES.keywords;for(const n in t)o[n]||p(e,`unknown keyword: "${n}"`)}function a(e,t){if("boolean"==typeof e)return!e;for(const n in e)if(t[n])return!0;return!1}function s(e){return"number"==typeof e?`${e}`:e.replace(/~/g,"~0").replace(/\//g,"~1")}function c(e){return e.replace(/~1/g,"/").replace(/~0/g,"~")}function l({mergeNames:e,mergeToName:t,mergeValues:n,resultToName:o}){return(i,a,s,c)=>{const l=void 0===s?a:s instanceof r.Name?(a instanceof r.Name?e(i,a,s):t(i,a,s),s):a instanceof r.Name?(t(i,s,a),a):n(a,s);return c!==r.Name||l instanceof r.Name?l:o(i,l)}}function u(e,t){if(!0===t)return e.var("props",!0);const n=e.var("props",r._`{}`);return void 0!==t&&d(e,n,t),n}function d(e,t,n){Object.keys(n).forEach((n=>e.assign(r._`${t}${(0,r.getProperty)(n)}`,!0)))}t.toHash=function(e){const t={};for(const n of e)t[n]=!0;return t},t.alwaysValidSchema=function(e,t){return"boolean"==typeof t?t:0===Object.keys(t).length||(i(e,t),!a(t,e.self.RULES.all))},t.checkUnknownRules=i,t.schemaHasRules=a,t.schemaHasRulesButRef=function(e,t){if("boolean"==typeof e)return!e;for(const n in e)if("$ref"!==n&&t.all[n])return!0;return!1},t.schemaRefOrVal=function({topSchemaRef:e,schemaPath:t},n,o,i){if(!i){if("number"==typeof n||"boolean"==typeof n)return n;if("string"==typeof n)return r._`${n}`}return r._`${e}${t}${(0,r.getProperty)(o)}`},t.unescapeFragment=function(e){return c(decodeURIComponent(e))},t.escapeFragment=function(e){return encodeURIComponent(s(e))},t.escapeJsonPointer=s,t.unescapeJsonPointer=c,t.eachItem=function(e,t){if(Array.isArray(e))for(const n of e)t(n);else t(e)},t.mergeEvaluated={props:l({mergeNames:(e,t,n)=>e.if(r._`${n} !== true && ${t} !== undefined`,(()=>{e.if(r._`${t} === true`,(()=>e.assign(n,!0)),(()=>e.assign(n,r._`${n} || {}`).code(r._`Object.assign(${n}, ${t})`)))})),mergeToName:(e,t,n)=>e.if(r._`${n} !== true`,(()=>{!0===t?e.assign(n,!0):(e.assign(n,r._`${n} || {}`),d(e,n,t))})),mergeValues:(e,t)=>!0===e||{...e,...t},resultToName:u}),items:l({mergeNames:(e,t,n)=>e.if(r._`${n} !== true && ${t} !== undefined`,(()=>e.assign(n,r._`${t} === true ? true : ${n} > ${t} ? ${n} : ${t}`))),mergeToName:(e,t,n)=>e.if(r._`${n} !== true`,(()=>e.assign(n,!0===t||r._`${n} > ${t} ? ${n} : ${t}`))),mergeValues:(e,t)=>!0===e||Math.max(e,t),resultToName:(e,t)=>e.var("items",t)})},t.evaluatedPropsToName=u,t.setEvaluated=d;const f={};var h;function p(e,t,n=e.opts.strictSchema){if(n){if(t=`strict mode: ${t}`,!0===n)throw new Error(t);e.self.logger.warn(t)}}t.useFunc=function(e,t){return e.scopeValue("func",{ref:t,code:f[t.code]||(f[t.code]=new o._Code(t.code))})},function(e){e[e.Num=0]="Num",e[e.Str=1]="Str"}(h||(t.Type=h={})),t.getErrorPath=function(e,t,n){if(e instanceof r.Name){const o=t===h.Num;return n?o?r._`"[" + ${e} + "]"`:r._`"['" + ${e} + "']"`:o?r._`"/" + ${e}`:r._`"/" + ${e}.replace(/~/g, "~0").replace(/\\//g, "~1")`}return n?(0,r.getProperty)(e).toString():"/"+s(e)},t.checkStrictMode=p},4333:(e,t,n)=>{"use strict";n.d(t,{A:()=>c});var r=n(1354),o=n.n(r),i=n(6314),a=n.n(i)()(o());a.push([e.id,'/* Read the Docs promotional block, only applicable to RTD.org\n\nTo support sphinx_rtd_theme, a `wy-menu` element is added. Other themes are\ntargeted using the theme identifier and use custom elements instead of a CSS\nframework html structure.\n\n*/\n\ndiv.ethical-sidebar,\ndiv.ethical-footer {\n display: block !important;\n}\n.ethical-sidebar,\n.ethical-footer {\n padding: 0.5em;\n margin: 1em 0;\n}\n.ethical-sidebar img,\n.ethical-footer img {\n width: 120px;\n height: 90px;\n display: inline-block;\n}\n.ethical-sidebar .ethical-callout,\n.ethical-footer .ethical-callout {\n padding-top: 1em;\n clear: both;\n}\n.ethical-sidebar .ethical-pixel,\n.ethical-footer .ethical-pixel,\n.ethical-fixedfooter .ethical-pixel {\n display: none !important;\n}\n.ethical-sidebar .ethical-text,\n.ethical-footer .ethical-text {\n margin-top: 1em;\n}\n.ethical-sidebar .ethical-image-link,\n.ethical-footer .ethical-image-link {\n border: 0;\n}\n\n.ethical-sidebar .ea-cta,\n.ethical-footer .ea-cta {\n display: block;\n border: 1px solid #ccc;\n border-radius: 0.5em;\n margin-top: 0.5em;\n margin-left: 1em;\n margin-right: 1em;\n}\n\n.ethical-sidebar,\n.ethical-footer {\n background-color: #eee;\n border: 1px solid #ccc;\n border-radius: 5px;\n color: #0a0a0a;\n font-size: 14px;\n line-height: 20px;\n}\n\n/* Techstack badging */\n.ethical-sidebar ul {\n margin: 0 !important;\n padding-left: 0;\n list-style: none;\n}\n.ethical-sidebar ul li {\n display: inline-block;\n background-color: lightskyblue;\n color: black;\n padding: 0.25em 0.4em;\n font-size: 75%;\n font-weight: 700;\n margin: 0.25em;\n border-radius: 0.25rem;\n text-align: center;\n vertical-align: baseline;\n white-space: nowrap;\n line-height: 1.41;\n}\n.ethical-sidebar ul li:not(:last-child) {\n margin-right: 0.25rem;\n}\n\n.ethical-sidebar a,\n.ethical-sidebar a:visited,\n.ethical-sidebar a:hover,\n.ethical-sidebar a:active,\n.ethical-footer a,\n.ethical-footer a:visited,\n.ethical-footer a:hover,\n.ethical-footer a:active {\n color: #0a0a0a;\n text-decoration: none !important;\n border-bottom: 0 !important;\n}\n\n.ethical-callout a {\n color: #707070 !important;\n text-decoration: none !important;\n}\n\n/* Sidebar promotions */\n.ethical-sidebar {\n text-align: center;\n max-width: 300px;\n margin-left: auto;\n margin-right: auto;\n}\n\n/* Footer promotions */\n.ethical-footer {\n text-align: left;\n\n font-size: 14px;\n line-height: 20px;\n}\n.ethical-footer img {\n float: right;\n margin-left: 25px;\n}\n.ethical-footer .ethical-callout {\n text-align: center;\n}\n.ethical-footer small {\n font-size: 10px;\n}\n\n/* Fixed footer promotions */\n.ethical-fixedfooter {\n box-sizing: border-box;\n position: fixed;\n bottom: 0;\n left: 0;\n z-index: 100;\n background-color: #eee;\n border-top: 1px solid #bfbfbf;\n font-size: 12px;\n line-height: 1.5;\n padding: 0.5em 1.5em;\n text-align: center;\n color: #404040;\n width: 100%; /* Fallback for Opera Mini */\n width: 100vw;\n}\n@media (min-width: 769px) {\n /* Improve viewing on non-mobile */\n .ethical-fixedfooter {\n font-size: 13px;\n padding: 1em 1.5em;\n }\n}\n.ethical-fixedfooter .ethical-text:before {\n margin-right: 4px;\n padding: 2px 6px;\n border-radius: 3px;\n background-color: #4caf50;\n color: #fff;\n content: "Sponsored";\n}\n.ethical-fixedfooter .ethical-callout {\n color: #999;\n padding-left: 6px;\n white-space: nowrap;\n}\n.ethical-fixedfooter a,\n.ethical-fixedfooter a:hover,\n.ethical-fixedfooter a:active,\n.ethical-fixedfooter a:visited {\n color: #404040;\n text-decoration: none;\n}\n.ethical-fixedfooter .ethical-close {\n position: absolute;\n top: 0;\n right: 5px;\n font-size: 20px;\n line-height: 20px;\n}\n\n/* RTD Theme specific customizations */\n.wy-nav-side .ethical-rtd {\n /* RTD theme doesn\'t correctly set the sidebar width */\n max-width: 300px;\n padding: 0 1em;\n}\n.ethical-rtd .ethical-sidebar {\n /* RTD theme doesn\'t set sidebar text color */\n color: #b3b3b3;\n\n font-size: 14px;\n line-height: 20px;\n}\n\n@media (min-width: 769px) {\n /* Make sure the fixed footer ad is under the RTD theme version selector */\n .wy-body-for-nav .ethical-fixedfooter {\n padding-left: 300px;\n }\n}\n\n/* Alabaster specific customizations */\n.ethical-alabaster a.ethical-image-link {\n /* Alabaster adds a border even to image links on hover */\n border: 0 !important;\n}\n.ethical-alabaster hr {\n /* Alabaster needs some extra spacing before the footer ad */\n margin-top: 2em;\n}\n.ethical-alabaster::before {\n /* Alabaster\'s search box above the ad is floating */\n clear: both;\n content: "";\n display: table;\n margin-top: 3em;\n}\n\n/* Dark theme */\n.ethical-dark-theme .ethical-sidebar {\n background-color: #4e4b4b;\n border: 1px solid #a0a0a0;\n color: #c2c2c2 !important;\n}\n.ethical-dark-theme a,\n.ethical-dark-theme a:visited {\n color: #e6e6e6 !important;\n border-bottom: 0 !important;\n}\n.ethical-dark-theme .ethical-callout a {\n color: #b3b3b3 !important;\n}\n.ethical-dark-theme .ethical-sidebar .ea-cta,\n.ethical-dark-theme .ethical-footer .ea-cta {\n border-color: #a0a0a0;\n}\n\n/* Docusaurus */\n.ethical-docusaurus {\n margin-left: 10% !important;\n margin-right: 10% !important;\n}\n\n/* Docsify */\n.ethical-docsify {\n margin-left: 10% !important;\n margin-right: 10% !important;\n}\n',"",{version:3,sources:["webpack://./src/ethicalads.css"],names:[],mappings:"AAAA;;;;;;CAMC;;AAED;;EAEE,yBAAyB;AAC3B;AACA;;EAEE,cAAc;EACd,aAAa;AACf;AACA;;EAEE,YAAY;EACZ,YAAY;EACZ,qBAAqB;AACvB;AACA;;EAEE,gBAAgB;EAChB,WAAW;AACb;AACA;;;EAGE,wBAAwB;AAC1B;AACA;;EAEE,eAAe;AACjB;AACA;;EAEE,SAAS;AACX;;AAEA;;EAEE,cAAc;EACd,sBAAsB;EACtB,oBAAoB;EACpB,iBAAiB;EACjB,gBAAgB;EAChB,iBAAiB;AACnB;;AAEA;;EAEE,sBAAsB;EACtB,sBAAsB;EACtB,kBAAkB;EAClB,cAAc;EACd,eAAe;EACf,iBAAiB;AACnB;;AAEA,sBAAsB;AACtB;EACE,oBAAoB;EACpB,eAAe;EACf,gBAAgB;AAClB;AACA;EACE,qBAAqB;EACrB,8BAA8B;EAC9B,YAAY;EACZ,qBAAqB;EACrB,cAAc;EACd,gBAAgB;EAChB,cAAc;EACd,sBAAsB;EACtB,kBAAkB;EAClB,wBAAwB;EACxB,mBAAmB;EACnB,iBAAiB;AACnB;AACA;EACE,qBAAqB;AACvB;;AAEA;;;;;;;;EAQE,cAAc;EACd,gCAAgC;EAChC,2BAA2B;AAC7B;;AAEA;EACE,yBAAyB;EACzB,gCAAgC;AAClC;;AAEA,uBAAuB;AACvB;EACE,kBAAkB;EAClB,gBAAgB;EAChB,iBAAiB;EACjB,kBAAkB;AACpB;;AAEA,sBAAsB;AACtB;EACE,gBAAgB;;EAEhB,eAAe;EACf,iBAAiB;AACnB;AACA;EACE,YAAY;EACZ,iBAAiB;AACnB;AACA;EACE,kBAAkB;AACpB;AACA;EACE,eAAe;AACjB;;AAEA,4BAA4B;AAC5B;EACE,sBAAsB;EACtB,eAAe;EACf,SAAS;EACT,OAAO;EACP,YAAY;EACZ,sBAAsB;EACtB,6BAA6B;EAC7B,eAAe;EACf,gBAAgB;EAChB,oBAAoB;EACpB,kBAAkB;EAClB,cAAc;EACd,WAAW,EAAE,4BAA4B;EACzC,YAAY;AACd;AACA;EACE,kCAAkC;EAClC;IACE,eAAe;IACf,kBAAkB;EACpB;AACF;AACA;EACE,iBAAiB;EACjB,gBAAgB;EAChB,kBAAkB;EAClB,yBAAyB;EACzB,WAAW;EACX,oBAAoB;AACtB;AACA;EACE,WAAW;EACX,iBAAiB;EACjB,mBAAmB;AACrB;AACA;;;;EAIE,cAAc;EACd,qBAAqB;AACvB;AACA;EACE,kBAAkB;EAClB,MAAM;EACN,UAAU;EACV,eAAe;EACf,iBAAiB;AACnB;;AAEA,sCAAsC;AACtC;EACE,sDAAsD;EACtD,gBAAgB;EAChB,cAAc;AAChB;AACA;EACE,6CAA6C;EAC7C,cAAc;;EAEd,eAAe;EACf,iBAAiB;AACnB;;AAEA;EACE,0EAA0E;EAC1E;IACE,mBAAmB;EACrB;AACF;;AAEA,sCAAsC;AACtC;EACE,yDAAyD;EACzD,oBAAoB;AACtB;AACA;EACE,4DAA4D;EAC5D,eAAe;AACjB;AACA;EACE,oDAAoD;EACpD,WAAW;EACX,WAAW;EACX,cAAc;EACd,eAAe;AACjB;;AAEA,eAAe;AACf;EACE,yBAAyB;EACzB,yBAAyB;EACzB,yBAAyB;AAC3B;AACA;;EAEE,yBAAyB;EACzB,2BAA2B;AAC7B;AACA;EACE,yBAAyB;AAC3B;AACA;;EAEE,qBAAqB;AACvB;;AAEA,eAAe;AACf;EACE,2BAA2B;EAC3B,4BAA4B;AAC9B;;AAEA,YAAY;AACZ;EACE,2BAA2B;EAC3B,4BAA4B;AAC9B",sourcesContent:['/* Read the Docs promotional block, only applicable to RTD.org\n\nTo support sphinx_rtd_theme, a `wy-menu` element is added. Other themes are\ntargeted using the theme identifier and use custom elements instead of a CSS\nframework html structure.\n\n*/\n\ndiv.ethical-sidebar,\ndiv.ethical-footer {\n display: block !important;\n}\n.ethical-sidebar,\n.ethical-footer {\n padding: 0.5em;\n margin: 1em 0;\n}\n.ethical-sidebar img,\n.ethical-footer img {\n width: 120px;\n height: 90px;\n display: inline-block;\n}\n.ethical-sidebar .ethical-callout,\n.ethical-footer .ethical-callout {\n padding-top: 1em;\n clear: both;\n}\n.ethical-sidebar .ethical-pixel,\n.ethical-footer .ethical-pixel,\n.ethical-fixedfooter .ethical-pixel {\n display: none !important;\n}\n.ethical-sidebar .ethical-text,\n.ethical-footer .ethical-text {\n margin-top: 1em;\n}\n.ethical-sidebar .ethical-image-link,\n.ethical-footer .ethical-image-link {\n border: 0;\n}\n\n.ethical-sidebar .ea-cta,\n.ethical-footer .ea-cta {\n display: block;\n border: 1px solid #ccc;\n border-radius: 0.5em;\n margin-top: 0.5em;\n margin-left: 1em;\n margin-right: 1em;\n}\n\n.ethical-sidebar,\n.ethical-footer {\n background-color: #eee;\n border: 1px solid #ccc;\n border-radius: 5px;\n color: #0a0a0a;\n font-size: 14px;\n line-height: 20px;\n}\n\n/* Techstack badging */\n.ethical-sidebar ul {\n margin: 0 !important;\n padding-left: 0;\n list-style: none;\n}\n.ethical-sidebar ul li {\n display: inline-block;\n background-color: lightskyblue;\n color: black;\n padding: 0.25em 0.4em;\n font-size: 75%;\n font-weight: 700;\n margin: 0.25em;\n border-radius: 0.25rem;\n text-align: center;\n vertical-align: baseline;\n white-space: nowrap;\n line-height: 1.41;\n}\n.ethical-sidebar ul li:not(:last-child) {\n margin-right: 0.25rem;\n}\n\n.ethical-sidebar a,\n.ethical-sidebar a:visited,\n.ethical-sidebar a:hover,\n.ethical-sidebar a:active,\n.ethical-footer a,\n.ethical-footer a:visited,\n.ethical-footer a:hover,\n.ethical-footer a:active {\n color: #0a0a0a;\n text-decoration: none !important;\n border-bottom: 0 !important;\n}\n\n.ethical-callout a {\n color: #707070 !important;\n text-decoration: none !important;\n}\n\n/* Sidebar promotions */\n.ethical-sidebar {\n text-align: center;\n max-width: 300px;\n margin-left: auto;\n margin-right: auto;\n}\n\n/* Footer promotions */\n.ethical-footer {\n text-align: left;\n\n font-size: 14px;\n line-height: 20px;\n}\n.ethical-footer img {\n float: right;\n margin-left: 25px;\n}\n.ethical-footer .ethical-callout {\n text-align: center;\n}\n.ethical-footer small {\n font-size: 10px;\n}\n\n/* Fixed footer promotions */\n.ethical-fixedfooter {\n box-sizing: border-box;\n position: fixed;\n bottom: 0;\n left: 0;\n z-index: 100;\n background-color: #eee;\n border-top: 1px solid #bfbfbf;\n font-size: 12px;\n line-height: 1.5;\n padding: 0.5em 1.5em;\n text-align: center;\n color: #404040;\n width: 100%; /* Fallback for Opera Mini */\n width: 100vw;\n}\n@media (min-width: 769px) {\n /* Improve viewing on non-mobile */\n .ethical-fixedfooter {\n font-size: 13px;\n padding: 1em 1.5em;\n }\n}\n.ethical-fixedfooter .ethical-text:before {\n margin-right: 4px;\n padding: 2px 6px;\n border-radius: 3px;\n background-color: #4caf50;\n color: #fff;\n content: "Sponsored";\n}\n.ethical-fixedfooter .ethical-callout {\n color: #999;\n padding-left: 6px;\n white-space: nowrap;\n}\n.ethical-fixedfooter a,\n.ethical-fixedfooter a:hover,\n.ethical-fixedfooter a:active,\n.ethical-fixedfooter a:visited {\n color: #404040;\n text-decoration: none;\n}\n.ethical-fixedfooter .ethical-close {\n position: absolute;\n top: 0;\n right: 5px;\n font-size: 20px;\n line-height: 20px;\n}\n\n/* RTD Theme specific customizations */\n.wy-nav-side .ethical-rtd {\n /* RTD theme doesn\'t correctly set the sidebar width */\n max-width: 300px;\n padding: 0 1em;\n}\n.ethical-rtd .ethical-sidebar {\n /* RTD theme doesn\'t set sidebar text color */\n color: #b3b3b3;\n\n font-size: 14px;\n line-height: 20px;\n}\n\n@media (min-width: 769px) {\n /* Make sure the fixed footer ad is under the RTD theme version selector */\n .wy-body-for-nav .ethical-fixedfooter {\n padding-left: 300px;\n }\n}\n\n/* Alabaster specific customizations */\n.ethical-alabaster a.ethical-image-link {\n /* Alabaster adds a border even to image links on hover */\n border: 0 !important;\n}\n.ethical-alabaster hr {\n /* Alabaster needs some extra spacing before the footer ad */\n margin-top: 2em;\n}\n.ethical-alabaster::before {\n /* Alabaster\'s search box above the ad is floating */\n clear: both;\n content: "";\n display: table;\n margin-top: 3em;\n}\n\n/* Dark theme */\n.ethical-dark-theme .ethical-sidebar {\n background-color: #4e4b4b;\n border: 1px solid #a0a0a0;\n color: #c2c2c2 !important;\n}\n.ethical-dark-theme a,\n.ethical-dark-theme a:visited {\n color: #e6e6e6 !important;\n border-bottom: 0 !important;\n}\n.ethical-dark-theme .ethical-callout a {\n color: #b3b3b3 !important;\n}\n.ethical-dark-theme .ethical-sidebar .ea-cta,\n.ethical-dark-theme .ethical-footer .ea-cta {\n border-color: #a0a0a0;\n}\n\n/* Docusaurus */\n.ethical-docusaurus {\n margin-left: 10% !important;\n margin-right: 10% !important;\n}\n\n/* Docsify */\n.ethical-docsify {\n margin-left: 10% !important;\n margin-right: 10% !important;\n}\n'],sourceRoot:""}]);var s=new CSSStyleSheet;s.replaceSync(a.toString());const c=s},4426:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(4227),o={keyword:["then","else"],schemaType:["object","boolean"],code({keyword:e,parentSchema:t,it:n}){void 0===t.if&&(0,r.checkStrictMode)(n,`"${e}" without "if" is ignored`)}};t.default=o},4486:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(9029),o={keyword:["maxProperties","minProperties"],type:"object",schemaType:"number",$data:!0,error:{message({keyword:e,schemaCode:t}){const n="maxProperties"===e?"more":"fewer";return r.str`must NOT have ${n} than ${t} properties`},params:({schemaCode:e})=>r._`{limit: ${e}}`},code(e){const{keyword:t,data:n,schemaCode:o}=e,i="maxProperties"===t?r.operators.GT:r.operators.LT;e.fail$data(r._`Object.keys(${n}).length ${i} ${o}`)}};t.default=o},4495:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.extendSubschemaMode=t.extendSubschemaData=t.getSubschema=void 0;const r=n(9029),o=n(4227);t.getSubschema=function(e,{keyword:t,schemaProp:n,schema:i,schemaPath:a,errSchemaPath:s,topSchemaRef:c}){if(void 0!==t&&void 0!==i)throw new Error('both "keyword" and "schema" passed, only one allowed');if(void 0!==t){const i=e.schema[t];return void 0===n?{schema:i,schemaPath:r._`${e.schemaPath}${(0,r.getProperty)(t)}`,errSchemaPath:`${e.errSchemaPath}/${t}`}:{schema:i[n],schemaPath:r._`${e.schemaPath}${(0,r.getProperty)(t)}${(0,r.getProperty)(n)}`,errSchemaPath:`${e.errSchemaPath}/${t}/${(0,o.escapeFragment)(n)}`}}if(void 0!==i){if(void 0===a||void 0===s||void 0===c)throw new Error('"schemaPath", "errSchemaPath" and "topSchemaRef" are required with "schema"');return{schema:i,schemaPath:a,topSchemaRef:c,errSchemaPath:s}}throw new Error('either "keyword" or "schema" must be passed')},t.extendSubschemaData=function(e,t,{dataProp:n,dataPropType:i,data:a,dataTypes:s,propertyName:c}){if(void 0!==a&&void 0!==n)throw new Error('both "data" and "dataProp" passed, only one allowed');const{gen:l}=t;if(void 0!==n){const{errorPath:a,dataPathArr:s,opts:c}=t;u(l.let("data",r._`${t.data}${(0,r.getProperty)(n)}`,!0)),e.errorPath=r.str`${a}${(0,o.getErrorPath)(n,i,c.jsPropertySyntax)}`,e.parentDataProperty=r._`${n}`,e.dataPathArr=[...s,e.parentDataProperty]}if(void 0!==a){u(a instanceof r.Name?a:l.let("data",a,!0)),void 0!==c&&(e.propertyName=c)}function u(n){e.data=n,e.dataLevel=t.dataLevel+1,e.dataTypes=[],t.definedProperties=new Set,e.parentData=t.data,e.dataNames=[...t.dataNames,n]}s&&(e.dataTypes=s)},t.extendSubschemaMode=function(e,{jtdDiscriminator:t,jtdMetadata:n,compositeRule:r,createErrors:o,allErrors:i}){void 0!==r&&(e.compositeRule=r),void 0!==o&&(e.createErrors=o),void 0!==i&&(e.allErrors=i),e.jtdDiscriminator=t,e.jtdMetadata=n}},4551:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(6939);class o extends Error{constructor(e,t,n,o){super(o||`can't resolve reference ${n} from id ${t}`),this.missingRef=(0,r.resolveUrl)(e,t,n),this.missingSchema=(0,r.normalizeId)((0,r.getFullPath)(e,this.missingRef))}}t.default=o},4737:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(9029),o={keyword:"format",type:["number","string"],schemaType:"string",$data:!0,error:{message:({schemaCode:e})=>r.str`must match format "${e}"`,params:({schemaCode:e})=>r._`{format: ${e}}`},code(e,t){const{gen:n,data:o,$data:i,schema:a,schemaCode:s,it:c}=e,{opts:l,errSchemaPath:u,schemaEnv:d,self:f}=c;l.validateFormats&&(i?function(){const i=n.scopeValue("formats",{ref:f.formats,code:l.code.formats}),a=n.const("fDef",r._`${i}[${s}]`),c=n.let("fType"),u=n.let("format");n.if(r._`typeof ${a} == "object" && !(${a} instanceof RegExp)`,(()=>n.assign(c,r._`${a}.type || "string"`).assign(u,r._`${a}.validate`)),(()=>n.assign(c,r._`"string"`).assign(u,a))),e.fail$data((0,r.or)(!1===l.strictSchema?r.nil:r._`${s} && !${u}`,function(){const e=d.$async?r._`(${a}.async ? await ${u}(${o}) : ${u}(${o}))`:r._`${u}(${o})`,n=r._`(typeof ${u} == "function" ? ${e} : ${u}.test(${o}))`;return r._`${u} && ${u} !== true && ${c} === ${t} && !${n}`}()))}():function(){const i=f.formats[a];if(!i)return void function(){if(!1===l.strictSchema)return void f.logger.warn(e());throw new Error(e());function e(){return`unknown format "${a}" ignored in schema at path "${u}"`}}();if(!0===i)return;const[s,c,h]=function(e){const t=e instanceof RegExp?(0,r.regexpCode)(e):l.code.formats?r._`${l.code.formats}${(0,r.getProperty)(a)}`:void 0,o=n.scopeValue("formats",{key:a,ref:e,code:t});if("object"==typeof e&&!(e instanceof RegExp))return[e.type||"string",e.validate,r._`${o}.validate`];return["string",e,o]}(i);s===t&&e.pass(function(){if("object"==typeof i&&!(i instanceof RegExp)&&i.async){if(!d.$async)throw new Error("async format in sync schema");return r._`await ${h}(${o})`}return"function"==typeof c?r._`${h}(${o})`:r._`${h}.test(${o})`}())}())}};t.default=o},4834:(e,t,n)=>{"use strict";const{HEX:r}=n(4914);function o(e){if(c(e,".")<3)return{host:e,isIPV4:!1};const t=e.match(/^(?:(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\.){3}(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])$/u)||[],[n]=t;return n?{host:s(n,"."),isIPV4:!0}:{host:e,isIPV4:!1}}function i(e,t=!1){let n="",o=!0;for(const t of e){if(void 0===r[t])return;"0"!==t&&!0===o&&(o=!1),o||(n+=t)}return t&&0===n.length&&(n="0"),n}function a(e,t={}){if(c(e,":")<2)return{host:e,isIPV6:!1};const n=function(e){let t=0;const n={error:!1,address:"",zone:""},r=[],o=[];let a=!1,s=!1,c=!1;function l(){if(o.length){if(!1===a){const e=i(o);if(void 0===e)return n.error=!0,!1;r.push(e)}o.length=0}return!0}for(let i=0;i<e.length;i++){const u=e[i];if("["!==u&&"]"!==u)if(":"!==u)if("%"===u){if(!l())break;a=!0}else o.push(u);else{if(!0===s&&(c=!0),!l())break;if(t++,r.push(":"),t>7){n.error=!0;break}i-1>=0&&":"===e[i-1]&&(s=!0)}}return o.length&&(a?n.zone=o.join(""):c?r.push(o.join("")):r.push(i(o))),n.address=r.join(""),n}(e);if(n.error)return{host:e,isIPV6:!1};{let e=n.address,t=n.address;return n.zone&&(e+="%"+n.zone,t+="%25"+n.zone),{host:e,escapedHost:t,isIPV6:!0}}}function s(e,t){let n="",r=!0;const o=e.length;for(let i=0;i<o;i++){const a=e[i];"0"===a&&r?(i+1<=o&&e[i+1]===t||i+1===o)&&(n+=a,r=!1):(r=a===t,n+=a)}return n}function c(e,t){let n=0;for(let r=0;r<e.length;r++)e[r]===t&&n++;return n}const l=/^\.\.?\//u,u=/^\/\.(?:\/|$)/u,d=/^\/\.\.(?:\/|$)/u,f=/^\/?(?:.|\n)*?(?=\/|$)/u;e.exports={recomposeAuthority:function(e,t){const n=[];if(void 0!==e.userinfo&&(n.push(e.userinfo),n.push("@")),void 0!==e.host){let t=unescape(e.host);const r=o(t);if(r.isIPV4)t=r.host;else{const n=a(r.host,{isIPV4:!1});t=!0===n.isIPV6?`[${n.escapedHost}]`:e.host}n.push(t)}return"number"!=typeof e.port&&"string"!=typeof e.port||(n.push(":"),n.push(String(e.port))),n.length?n.join(""):void 0},normalizeComponentEncoding:function(e,t){const n=!0!==t?escape:unescape;return void 0!==e.scheme&&(e.scheme=n(e.scheme)),void 0!==e.userinfo&&(e.userinfo=n(e.userinfo)),void 0!==e.host&&(e.host=n(e.host)),void 0!==e.path&&(e.path=n(e.path)),void 0!==e.query&&(e.query=n(e.query)),void 0!==e.fragment&&(e.fragment=n(e.fragment)),e},removeDotSegments:function(e){const t=[];for(;e.length;)if(e.match(l))e=e.replace(l,"");else if(e.match(u))e=e.replace(u,"/");else if(e.match(d))e=e.replace(d,"/"),t.pop();else if("."===e||".."===e)e="";else{const n=e.match(f);if(!n)throw new Error("Unexpected dot segment condition");{const r=n[0];e=e.slice(r.length),t.push(r)}}return t.join("")},normalizeIPv4:o,normalizeIPv6:a,stringArrayToHexStripped:i}},4914:e=>{"use strict";e.exports={HEX:{0:0,1:1,2:2,3:3,4:4,5:5,6:6,7:7,8:8,9:9,a:10,A:10,b:11,B:11,c:12,C:12,d:13,D:13,e:14,E:14,f:15,F:15}}},5032:(e,t,n)=>{"use strict";n.d(t,{A:()=>c});var r=n(1354),o=n.n(r),i=n(6314),a=n.n(i)()(o());a.push([e.id,':host {\n --addons-notification-font-size: var(\n --readthedocs-notification-font-size,\n var(--readthedocs-font-size, 1rem)\n );\n}\n\n:host > div {\n margin: 1rem 0rem;\n padding-top: var(--addons-notification-font-size);\n padding-bottom: var(--addons-notification-font-size);\n overflow: auto;\n border-radius: 0.5rem;\n font-family: var(\n --readthedocs-notification-font-family,\n "Lato",\n "proxima-nova",\n "Helvetica Neue",\n "Arial",\n "sans-serif"\n );\n font-size: var(--addons-notification-font-size);\n color: var(--readthedocs-notification-color, rgb(64, 64, 64));\n background-color: var(\n --readthedocs-notification-background-color,\n rgb(234, 234, 234)\n );\n}\n\n:host(.floating) > div {\n position: fixed;\n top: 2rem;\n left: 20%; /* (100 - width) / 2 */\n width: 60%;\n z-index: 1750;\n}\n\n:host(.toast) > div {\n position: fixed;\n padding-top: calc(var(--addons-notification-font-size) * 0.75);\n padding-bottom: calc(var(--addons-notification-font-size) * 0.75);\n margin: 0.75rem 0rem;\n top: 2rem;\n right: 2rem;\n z-index: 1750;\n font-size: var(\n --readthedocs-notification-toast-font-size,\n calc(var(--addons-notification-font-size) * 0.85)\n );\n width: 35rem;\n max-width: calc(100vw - 4rem);\n}\n\n@media (max-width: 640px) {\n :host(.toast) > div {\n right: 0.5rem;\n }\n\n :host(.floating) > div {\n width: 95%;\n left: 2%;\n }\n}\n\n:host(.raised) > div {\n box-shadow:\n 0 2px 4px 0 rgba(34, 36, 38, 0.12),\n 0 2px 10px 0 rgba(34, 36, 38, 0.15);\n}\n\n:host(.titled) > div {\n padding: 0rem;\n text-align: center;\n}\n\n:host > div > svg.header.icon {\n height: calc(var(--addons-notification-font-size) * 2);\n padding: 0.5rem 1.5rem;\n float: left;\n}\n\n:host(.toast) > div > svg.header.icon {\n height: calc(var(--addons-notification-font-size) * 1.5);\n}\n\n:host(.titled) > div > svg.header.icon {\n display: none;\n}\n\n:host(.inverted) > div {\n color: var(--readthedocs-notification-color, rgb(234, 234, 234));\n background-color: var(\n --readthedocs-notification-background-color,\n rgb(64, 64, 64)\n );\n}\n\n:host > div a {\n color: var(--readthedocs-notification-link-color, rgb(8, 140, 219));\n text-decoration: none;\n}\n\n:host(.inverted) > div a {\n color: var(--readthedocs-notification-link-color, rgb(134, 203, 243));\n}\n\n:host > div > .title {\n padding: 0.25rem var(--addons-notification-font-size);\n margin-bottom: 0.25rem;\n line-height: var(--addons-notification-font-size);\n font-weight: bold;\n}\n:host > div > div.content {\n line-height: var(--addons-notification-font-size);\n font-size: calc(var(--addons-notification-font-size) * 0.85);\n padding: 0 calc(var(--addons-notification-font-size) * 1.5);\n}\n\n:host(.toast) > div > .title {\n padding: 0rem var(--addons-notification-font-size);\n}\n\n:host(.titled) > div > .title {\n display: block;\n margin: 0rem;\n padding: 0.1rem var(--addons-notification-font-size);\n line-height: calc(var(--addons-notification-font-size) * 2);\n border-radius: 0.5rem 0.5rem 0 0;\n color: var(--readthedocs-notification-title-color, rgb(96, 96, 96));\n background-color: var(\n --readthedocs-notification-title-background-color,\n rgb(224, 224, 224)\n );\n vertical-align: middle;\n font-weight: bold;\n}\n:host(.titled) > div > div.content {\n margin-top: 1rem;\n margin-bottom: 1rem;\n padding: 0rem 0.65rem 0rem 0.65rem;\n}\n\n:host(.inverted) > div > .title {\n color: var(--readthedocs-notification-title-color, rgba(255, 255, 255, 0.9));\n}\n\n:host(.inverted.titled) > div > .title {\n background-color: var(\n --readthedocs-notification-title-background-color,\n rgb(48, 48, 48)\n );\n}\n\n:host > div > .title > .right {\n float: right;\n}\n\n:host > div > .title > .right > svg {\n display: inline-block;\n height: var(--addons-notification-font-size);\n vertical-align: middle;\n cursor: pointer;\n color: var(--readthedocs-notification-title-color, rgba(96, 96, 96));\n font-weight: normal;\n}\n\n:host(.inverted) > div > .title > .right > svg {\n color: var(--readthedocs-notification-title-color, rgba(255, 255, 255, 0.9));\n}\n:host(.titled) > div > .title > .right > svg {\n margin: 0.5rem 0rem;\n}\n',"",{version:3,sources:["webpack://./src/notification.css"],names:[],mappings:"AAAA;EACE;;;GAGC;AACH;;AAEA;EACE,iBAAiB;EACjB,iDAAiD;EACjD,oDAAoD;EACpD,cAAc;EACd,qBAAqB;EACrB;;;;;;;GAOC;EACD,+CAA+C;EAC/C,6DAA6D;EAC7D;;;GAGC;AACH;;AAEA;EACE,eAAe;EACf,SAAS;EACT,SAAS,EAAE,sBAAsB;EACjC,UAAU;EACV,aAAa;AACf;;AAEA;EACE,eAAe;EACf,8DAA8D;EAC9D,iEAAiE;EACjE,oBAAoB;EACpB,SAAS;EACT,WAAW;EACX,aAAa;EACb;;;GAGC;EACD,YAAY;EACZ,6BAA6B;AAC/B;;AAEA;EACE;IACE,aAAa;EACf;;EAEA;IACE,UAAU;IACV,QAAQ;EACV;AACF;;AAEA;EACE;;uCAEqC;AACvC;;AAEA;EACE,aAAa;EACb,kBAAkB;AACpB;;AAEA;EACE,sDAAsD;EACtD,sBAAsB;EACtB,WAAW;AACb;;AAEA;EACE,wDAAwD;AAC1D;;AAEA;EACE,aAAa;AACf;;AAEA;EACE,gEAAgE;EAChE;;;GAGC;AACH;;AAEA;EACE,mEAAmE;EACnE,qBAAqB;AACvB;;AAEA;EACE,qEAAqE;AACvE;;AAEA;EACE,qDAAqD;EACrD,sBAAsB;EACtB,iDAAiD;EACjD,iBAAiB;AACnB;AACA;EACE,iDAAiD;EACjD,4DAA4D;EAC5D,2DAA2D;AAC7D;;AAEA;EACE,kDAAkD;AACpD;;AAEA;EACE,cAAc;EACd,YAAY;EACZ,oDAAoD;EACpD,2DAA2D;EAC3D,gCAAgC;EAChC,mEAAmE;EACnE;;;GAGC;EACD,sBAAsB;EACtB,iBAAiB;AACnB;AACA;EACE,gBAAgB;EAChB,mBAAmB;EACnB,kCAAkC;AACpC;;AAEA;EACE,4EAA4E;AAC9E;;AAEA;EACE;;;GAGC;AACH;;AAEA;EACE,YAAY;AACd;;AAEA;EACE,qBAAqB;EACrB,4CAA4C;EAC5C,sBAAsB;EACtB,eAAe;EACf,oEAAoE;EACpE,mBAAmB;AACrB;;AAEA;EACE,4EAA4E;AAC9E;AACA;EACE,mBAAmB;AACrB",sourcesContent:[':host {\n --addons-notification-font-size: var(\n --readthedocs-notification-font-size,\n var(--readthedocs-font-size, 1rem)\n );\n}\n\n:host > div {\n margin: 1rem 0rem;\n padding-top: var(--addons-notification-font-size);\n padding-bottom: var(--addons-notification-font-size);\n overflow: auto;\n border-radius: 0.5rem;\n font-family: var(\n --readthedocs-notification-font-family,\n "Lato",\n "proxima-nova",\n "Helvetica Neue",\n "Arial",\n "sans-serif"\n );\n font-size: var(--addons-notification-font-size);\n color: var(--readthedocs-notification-color, rgb(64, 64, 64));\n background-color: var(\n --readthedocs-notification-background-color,\n rgb(234, 234, 234)\n );\n}\n\n:host(.floating) > div {\n position: fixed;\n top: 2rem;\n left: 20%; /* (100 - width) / 2 */\n width: 60%;\n z-index: 1750;\n}\n\n:host(.toast) > div {\n position: fixed;\n padding-top: calc(var(--addons-notification-font-size) * 0.75);\n padding-bottom: calc(var(--addons-notification-font-size) * 0.75);\n margin: 0.75rem 0rem;\n top: 2rem;\n right: 2rem;\n z-index: 1750;\n font-size: var(\n --readthedocs-notification-toast-font-size,\n calc(var(--addons-notification-font-size) * 0.85)\n );\n width: 35rem;\n max-width: calc(100vw - 4rem);\n}\n\n@media (max-width: 640px) {\n :host(.toast) > div {\n right: 0.5rem;\n }\n\n :host(.floating) > div {\n width: 95%;\n left: 2%;\n }\n}\n\n:host(.raised) > div {\n box-shadow:\n 0 2px 4px 0 rgba(34, 36, 38, 0.12),\n 0 2px 10px 0 rgba(34, 36, 38, 0.15);\n}\n\n:host(.titled) > div {\n padding: 0rem;\n text-align: center;\n}\n\n:host > div > svg.header.icon {\n height: calc(var(--addons-notification-font-size) * 2);\n padding: 0.5rem 1.5rem;\n float: left;\n}\n\n:host(.toast) > div > svg.header.icon {\n height: calc(var(--addons-notification-font-size) * 1.5);\n}\n\n:host(.titled) > div > svg.header.icon {\n display: none;\n}\n\n:host(.inverted) > div {\n color: var(--readthedocs-notification-color, rgb(234, 234, 234));\n background-color: var(\n --readthedocs-notification-background-color,\n rgb(64, 64, 64)\n );\n}\n\n:host > div a {\n color: var(--readthedocs-notification-link-color, rgb(8, 140, 219));\n text-decoration: none;\n}\n\n:host(.inverted) > div a {\n color: var(--readthedocs-notification-link-color, rgb(134, 203, 243));\n}\n\n:host > div > .title {\n padding: 0.25rem var(--addons-notification-font-size);\n margin-bottom: 0.25rem;\n line-height: var(--addons-notification-font-size);\n font-weight: bold;\n}\n:host > div > div.content {\n line-height: var(--addons-notification-font-size);\n font-size: calc(var(--addons-notification-font-size) * 0.85);\n padding: 0 calc(var(--addons-notification-font-size) * 1.5);\n}\n\n:host(.toast) > div > .title {\n padding: 0rem var(--addons-notification-font-size);\n}\n\n:host(.titled) > div > .title {\n display: block;\n margin: 0rem;\n padding: 0.1rem var(--addons-notification-font-size);\n line-height: calc(var(--addons-notification-font-size) * 2);\n border-radius: 0.5rem 0.5rem 0 0;\n color: var(--readthedocs-notification-title-color, rgb(96, 96, 96));\n background-color: var(\n --readthedocs-notification-title-background-color,\n rgb(224, 224, 224)\n );\n vertical-align: middle;\n font-weight: bold;\n}\n:host(.titled) > div > div.content {\n margin-top: 1rem;\n margin-bottom: 1rem;\n padding: 0rem 0.65rem 0rem 0.65rem;\n}\n\n:host(.inverted) > div > .title {\n color: var(--readthedocs-notification-title-color, rgba(255, 255, 255, 0.9));\n}\n\n:host(.inverted.titled) > div > .title {\n background-color: var(\n --readthedocs-notification-title-background-color,\n rgb(48, 48, 48)\n );\n}\n\n:host > div > .title > .right {\n float: right;\n}\n\n:host > div > .title > .right > svg {\n display: inline-block;\n height: var(--addons-notification-font-size);\n vertical-align: middle;\n cursor: pointer;\n color: var(--readthedocs-notification-title-color, rgba(96, 96, 96));\n font-weight: normal;\n}\n\n:host(.inverted) > div > .title > .right > svg {\n color: var(--readthedocs-notification-title-color, rgba(255, 255, 255, 0.9));\n}\n:host(.titled) > div > .title > .right > svg {\n margin: 0.5rem 0rem;\n}\n'],sourceRoot:""}]);var s=new CSSStyleSheet;s.replaceSync(a.toString());const c=s},5333:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(5765),o=n(9029),i=n(4227),a=n(4227),s={keyword:"patternProperties",type:"object",schemaType:"object",code(e){const{gen:t,schema:n,data:s,parentSchema:c,it:l}=e,{opts:u}=l,d=(0,r.allSchemaProperties)(n),f=d.filter((e=>(0,i.alwaysValidSchema)(l,n[e])));if(0===d.length||f.length===d.length&&(!l.opts.unevaluated||!0===l.props))return;const h=u.strictSchema&&!u.allowMatchingProperties&&c.properties,p=t.name("valid");!0===l.props||l.props instanceof o.Name||(l.props=(0,a.evaluatedPropsToName)(t,l.props));const{props:m}=l;function g(e){for(const t in h)new RegExp(e).test(t)&&(0,i.checkStrictMode)(l,`property ${t} matches pattern ${e} (use allowMatchingProperties)`)}function y(n){t.forIn("key",s,(i=>{t.if(o._`${(0,r.usePattern)(e,n)}.test(${i})`,(()=>{const r=f.includes(n);r||e.subschema({keyword:"patternProperties",schemaProp:n,dataProp:i,dataPropType:a.Type.Str},p),l.opts.unevaluated&&!0!==m?t.assign(o._`${m}[${i}]`,!0):r||l.allErrors||t.if((0,o.not)(p),(()=>t.break()))}))}))}!function(){for(const e of d)h&&g(e),l.allErrors?y(e):(t.var(p,!0),y(e),t.if(p))}()}};t.default=s},5348:(e,t,n)=>{"use strict";n.d(t,{A:()=>c});var r=n(1354),o=n.n(r),i=n(6314),a=n.n(i)()(o());a.push([e.id,'/* Flyout styles */\n\n:host {\n /* These variables are used more than once, use a local variable so we can set\n * a default in this addon */\n --addons-flyout-font-size: var(\n --readthedocs-flyout-font-size,\n var(--readthedocs-font-size, 0.8rem)\n );\n --addons-flyout-line-height: var(--readthedocs-flyout-line-height, 1.25em);\n}\n\n.container {\n position: fixed;\n max-width: var(--readthedocs-flyout-max-width, 25em);\n width: auto;\n height: auto;\n max-height: calc(100% - 100px);\n overflow-y: auto;\n line-height: var(--addons-flyout-line-height);\n}\n\n.container.bottom-right {\n right: 20px;\n bottom: 50px;\n}\n\n.container.bottom-left {\n left: 20px;\n bottom: 50px;\n}\n\n.container.top-left {\n left: 20px;\n top: 50px;\n}\n\n.container.top-right {\n right: 20px;\n top: 50px;\n}\n\n:host > div {\n font-family: var(\n --readthedocs-flyout-font-family,\n "Lato",\n "proxima-nova",\n "Helvetica Neue",\n "Arial",\n "sans-serif"\n );\n font-size: var(--addons-flyout-font-size);\n line-height: 1.2em;\n color: var(--readthedocs-flyout-color, rgb(128, 128, 128));\n background-color: var(--readthedocs-flyout-background-color, rgb(39, 39, 37));\n z-index: 3000;\n padding: 0 10px;\n overflow-y: auto;\n}\n\nheader {\n display: flex;\n flex-flow: row nowrap;\n gap: 1em;\n align-items: center;\n cursor: pointer;\n background-color: var(--readthedocs-flyout-background-color, rgb(39, 39, 37));\n position: sticky;\n top: 0px;\n font-size: var(--readthedocs-flyout-header-font-size, 1.25em);\n}\n\nheader > img.logo {\n /* Total height of 1.5 + 0.5 + 0.5 = 2.5em */\n max-height: 1.5em;\n width: auto;\n padding: 0.5em 0em;\n /* Don\'t grow past content size, do shrink down to min-content */\n flex: 0 1 auto;\n}\n\nheader > span {\n color: var(--readthedocs-flyout-current-version-color, #27ae60);\n /* Total height of 1 + 0.75 + 0.75 = 2.5em */\n padding: 0.75em 0em;\n line-height: 1em;\n /* Don\'t grow past content size or shrink below min-content */\n flex: 0 0 auto;\n /* Trim content to get ellipsis on wide content */\n text-overflow: ellipsis;\n overflow: hidden;\n white-space: nowrap;\n}\n\nheader > span.version {\n /* Grow to fill parent based on content width, shrink content when needed (for ellipsis) */\n flex: 0 1 auto;\n}\n\n/* Give the flex box extra spacing to the left of the first span item. This puts\n * automatic spacing between the logo and the text detail spans */\nheader > span:first-of-type {\n margin-left: auto;\n}\n\nheader > span svg.icon {\n color: rgb(128, 128, 128);\n height: 1em;\n padding-right: 0.25em;\n vertical-align: middle;\n}\n\nmain {\n padding: 5px;\n padding-bottom: 15px;\n margin-top: 5px;\n}\n\nmain.closed {\n display: none;\n}\n\ndl {\n margin: 0;\n padding: 0;\n}\n\ndl > dt {\n font-size: var(\n --readthedocs-flyout-dt-font-size,\n calc(var(--addons-flyout-font-size) * 1.125)\n );\n color: var(--readthedocs-flyout-section-heading-color, rgb(128, 128, 128));\n}\n\ndl > dd {\n display: inline-block;\n margin: 0;\n font-size: var(\n --readthedocs-flyout-dd-font-size,\n calc(var(--addons-flyout-font-size) * 1.125)\n );\n}\n\ndd a {\n text-decoration: none;\n color: var(--readthedocs-flyout-item-link-color, rgb(252, 252, 252));\n padding: 6px;\n display: inline-block;\n}\n\ndd form {\n padding: 6px;\n margin: 0;\n}\n\ndd input {\n padding: 6px;\n font-size: 80%;\n}\n\nhr {\n display: block;\n height: 1px;\n border: 0;\n margin: 20px 0;\n padding: 0;\n border-top-width: 1px;\n border-top-style: solid;\n border-top-color: var(--readthedocs-flyout-divider-color, #413d3d);\n}\n\nsmall a {\n text-decoration: none;\n color: var(--readthedocs-flyout-link-color, rgb(42, 128, 185));\n}\n',"",{version:3,sources:["webpack://./src/flyout.css"],names:[],mappings:"AAAA,kBAAkB;;AAElB;EACE;8BAC4B;EAC5B;;;GAGC;EACD,0EAA0E;AAC5E;;AAEA;EACE,eAAe;EACf,oDAAoD;EACpD,WAAW;EACX,YAAY;EACZ,8BAA8B;EAC9B,gBAAgB;EAChB,6CAA6C;AAC/C;;AAEA;EACE,WAAW;EACX,YAAY;AACd;;AAEA;EACE,UAAU;EACV,YAAY;AACd;;AAEA;EACE,UAAU;EACV,SAAS;AACX;;AAEA;EACE,WAAW;EACX,SAAS;AACX;;AAEA;EACE;;;;;;;GAOC;EACD,yCAAyC;EACzC,kBAAkB;EAClB,0DAA0D;EAC1D,6EAA6E;EAC7E,aAAa;EACb,eAAe;EACf,gBAAgB;AAClB;;AAEA;EACE,aAAa;EACb,qBAAqB;EACrB,QAAQ;EACR,mBAAmB;EACnB,eAAe;EACf,6EAA6E;EAC7E,gBAAgB;EAChB,QAAQ;EACR,6DAA6D;AAC/D;;AAEA;EACE,4CAA4C;EAC5C,iBAAiB;EACjB,WAAW;EACX,kBAAkB;EAClB,gEAAgE;EAChE,cAAc;AAChB;;AAEA;EACE,+DAA+D;EAC/D,4CAA4C;EAC5C,mBAAmB;EACnB,gBAAgB;EAChB,6DAA6D;EAC7D,cAAc;EACd,iDAAiD;EACjD,uBAAuB;EACvB,gBAAgB;EAChB,mBAAmB;AACrB;;AAEA;EACE,0FAA0F;EAC1F,cAAc;AAChB;;AAEA;iEACiE;AACjE;EACE,iBAAiB;AACnB;;AAEA;EACE,yBAAyB;EACzB,WAAW;EACX,qBAAqB;EACrB,sBAAsB;AACxB;;AAEA;EACE,YAAY;EACZ,oBAAoB;EACpB,eAAe;AACjB;;AAEA;EACE,aAAa;AACf;;AAEA;EACE,SAAS;EACT,UAAU;AACZ;;AAEA;EACE;;;GAGC;EACD,0EAA0E;AAC5E;;AAEA;EACE,qBAAqB;EACrB,SAAS;EACT;;;GAGC;AACH;;AAEA;EACE,qBAAqB;EACrB,oEAAoE;EACpE,YAAY;EACZ,qBAAqB;AACvB;;AAEA;EACE,YAAY;EACZ,SAAS;AACX;;AAEA;EACE,YAAY;EACZ,cAAc;AAChB;;AAEA;EACE,cAAc;EACd,WAAW;EACX,SAAS;EACT,cAAc;EACd,UAAU;EACV,qBAAqB;EACrB,uBAAuB;EACvB,kEAAkE;AACpE;;AAEA;EACE,qBAAqB;EACrB,8DAA8D;AAChE",sourcesContent:['/* Flyout styles */\n\n:host {\n /* These variables are used more than once, use a local variable so we can set\n * a default in this addon */\n --addons-flyout-font-size: var(\n --readthedocs-flyout-font-size,\n var(--readthedocs-font-size, 0.8rem)\n );\n --addons-flyout-line-height: var(--readthedocs-flyout-line-height, 1.25em);\n}\n\n.container {\n position: fixed;\n max-width: var(--readthedocs-flyout-max-width, 25em);\n width: auto;\n height: auto;\n max-height: calc(100% - 100px);\n overflow-y: auto;\n line-height: var(--addons-flyout-line-height);\n}\n\n.container.bottom-right {\n right: 20px;\n bottom: 50px;\n}\n\n.container.bottom-left {\n left: 20px;\n bottom: 50px;\n}\n\n.container.top-left {\n left: 20px;\n top: 50px;\n}\n\n.container.top-right {\n right: 20px;\n top: 50px;\n}\n\n:host > div {\n font-family: var(\n --readthedocs-flyout-font-family,\n "Lato",\n "proxima-nova",\n "Helvetica Neue",\n "Arial",\n "sans-serif"\n );\n font-size: var(--addons-flyout-font-size);\n line-height: 1.2em;\n color: var(--readthedocs-flyout-color, rgb(128, 128, 128));\n background-color: var(--readthedocs-flyout-background-color, rgb(39, 39, 37));\n z-index: 3000;\n padding: 0 10px;\n overflow-y: auto;\n}\n\nheader {\n display: flex;\n flex-flow: row nowrap;\n gap: 1em;\n align-items: center;\n cursor: pointer;\n background-color: var(--readthedocs-flyout-background-color, rgb(39, 39, 37));\n position: sticky;\n top: 0px;\n font-size: var(--readthedocs-flyout-header-font-size, 1.25em);\n}\n\nheader > img.logo {\n /* Total height of 1.5 + 0.5 + 0.5 = 2.5em */\n max-height: 1.5em;\n width: auto;\n padding: 0.5em 0em;\n /* Don\'t grow past content size, do shrink down to min-content */\n flex: 0 1 auto;\n}\n\nheader > span {\n color: var(--readthedocs-flyout-current-version-color, #27ae60);\n /* Total height of 1 + 0.75 + 0.75 = 2.5em */\n padding: 0.75em 0em;\n line-height: 1em;\n /* Don\'t grow past content size or shrink below min-content */\n flex: 0 0 auto;\n /* Trim content to get ellipsis on wide content */\n text-overflow: ellipsis;\n overflow: hidden;\n white-space: nowrap;\n}\n\nheader > span.version {\n /* Grow to fill parent based on content width, shrink content when needed (for ellipsis) */\n flex: 0 1 auto;\n}\n\n/* Give the flex box extra spacing to the left of the first span item. This puts\n * automatic spacing between the logo and the text detail spans */\nheader > span:first-of-type {\n margin-left: auto;\n}\n\nheader > span svg.icon {\n color: rgb(128, 128, 128);\n height: 1em;\n padding-right: 0.25em;\n vertical-align: middle;\n}\n\nmain {\n padding: 5px;\n padding-bottom: 15px;\n margin-top: 5px;\n}\n\nmain.closed {\n display: none;\n}\n\ndl {\n margin: 0;\n padding: 0;\n}\n\ndl > dt {\n font-size: var(\n --readthedocs-flyout-dt-font-size,\n calc(var(--addons-flyout-font-size) * 1.125)\n );\n color: var(--readthedocs-flyout-section-heading-color, rgb(128, 128, 128));\n}\n\ndl > dd {\n display: inline-block;\n margin: 0;\n font-size: var(\n --readthedocs-flyout-dd-font-size,\n calc(var(--addons-flyout-font-size) * 1.125)\n );\n}\n\ndd a {\n text-decoration: none;\n color: var(--readthedocs-flyout-item-link-color, rgb(252, 252, 252));\n padding: 6px;\n display: inline-block;\n}\n\ndd form {\n padding: 6px;\n margin: 0;\n}\n\ndd input {\n padding: 6px;\n font-size: 80%;\n}\n\nhr {\n display: block;\n height: 1px;\n border: 0;\n margin: 20px 0;\n padding: 0;\n border-top-width: 1px;\n border-top-style: solid;\n border-top-color: var(--readthedocs-flyout-divider-color, #413d3d);\n}\n\nsmall a {\n text-decoration: none;\n color: var(--readthedocs-flyout-link-color, rgb(42, 128, 185));\n}\n'],sourceRoot:""}]);var s=new CSSStyleSheet;s.replaceSync(a.toString());const c=s},5354:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(494),o={keyword:"prefixItems",type:"array",schemaType:["array"],before:"uniqueItems",code:e=>(0,r.validateTuple)(e,"items")};t.default=o},5457:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.validateAdditionalItems=void 0;const r=n(9029),o=n(4227),i={keyword:"additionalItems",type:"array",schemaType:["boolean","object"],before:"uniqueItems",error:{message:({params:{len:e}})=>r.str`must NOT have more than ${e} items`,params:({params:{len:e}})=>r._`{limit: ${e}}`},code(e){const{parentSchema:t,it:n}=e,{items:r}=t;Array.isArray(r)?a(e,r):(0,o.checkStrictMode)(n,'"additionalItems" is ignored when "items" is not an array of schemas')}};function a(e,t){const{gen:n,schema:i,data:a,keyword:s,it:c}=e;c.items=!0;const l=n.const("len",r._`${a}.length`);if(!1===i)e.setParams({len:t.length}),e.pass(r._`${l} <= ${t.length}`);else if("object"==typeof i&&!(0,o.alwaysValidSchema)(c,i)){const i=n.var("valid",r._`${l} <= ${t.length}`);n.if((0,r.not)(i),(()=>function(i){n.forRange("i",t.length,l,(t=>{e.subschema({keyword:s,dataProp:t,dataPropType:o.Type.Num},i),c.allErrors||n.if((0,r.not)(i),(()=>n.break()))}))}(i))),e.ok(i)}}t.validateAdditionalItems=a,t.default=i},5765:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.validateUnion=t.validateArray=t.usePattern=t.callValidateCode=t.schemaProperties=t.allSchemaProperties=t.noPropertyInData=t.propertyInData=t.isOwnProperty=t.hasPropFunc=t.reportMissingProp=t.checkMissingProp=t.checkReportMissingProp=void 0;const r=n(9029),o=n(4227),i=n(2023),a=n(4227);function s(e){return e.scopeValue("func",{ref:Object.prototype.hasOwnProperty,code:r._`Object.prototype.hasOwnProperty`})}function c(e,t,n){return r._`${s(e)}.call(${t}, ${n})`}function l(e,t,n,o){const i=r._`${t}${(0,r.getProperty)(n)} === undefined`;return o?(0,r.or)(i,(0,r.not)(c(e,t,n))):i}function u(e){return e?Object.keys(e).filter((e=>"__proto__"!==e)):[]}t.checkReportMissingProp=function(e,t){const{gen:n,data:o,it:i}=e;n.if(l(n,o,t,i.opts.ownProperties),(()=>{e.setParams({missingProperty:r._`${t}`},!0),e.error()}))},t.checkMissingProp=function({gen:e,data:t,it:{opts:n}},o,i){return(0,r.or)(...o.map((o=>(0,r.and)(l(e,t,o,n.ownProperties),r._`${i} = ${o}`))))},t.reportMissingProp=function(e,t){e.setParams({missingProperty:t},!0),e.error()},t.hasPropFunc=s,t.isOwnProperty=c,t.propertyInData=function(e,t,n,o){const i=r._`${t}${(0,r.getProperty)(n)} !== undefined`;return o?r._`${i} && ${c(e,t,n)}`:i},t.noPropertyInData=l,t.allSchemaProperties=u,t.schemaProperties=function(e,t){return u(t).filter((n=>!(0,o.alwaysValidSchema)(e,t[n])))},t.callValidateCode=function({schemaCode:e,data:t,it:{gen:n,topSchemaRef:o,schemaPath:a,errorPath:s},it:c},l,u,d){const f=d?r._`${e}, ${t}, ${o}${a}`:t,h=[[i.default.instancePath,(0,r.strConcat)(i.default.instancePath,s)],[i.default.parentData,c.parentData],[i.default.parentDataProperty,c.parentDataProperty],[i.default.rootData,i.default.rootData]];c.opts.dynamicRef&&h.push([i.default.dynamicAnchors,i.default.dynamicAnchors]);const p=r._`${f}, ${n.object(...h)}`;return u!==r.nil?r._`${l}.call(${u}, ${p})`:r._`${l}(${p})`};const d=r._`new RegExp`;t.usePattern=function({gen:e,it:{opts:t}},n){const o=t.unicodeRegExp?"u":"",{regExp:i}=t.code,s=i(n,o);return e.scopeValue("pattern",{key:s.toString(),ref:s,code:r._`${"new RegExp"===i.code?d:(0,a.useFunc)(e,i)}(${n}, ${o})`})},t.validateArray=function(e){const{gen:t,data:n,keyword:i,it:a}=e,s=t.name("valid");if(a.allErrors){const e=t.let("valid",!0);return c((()=>t.assign(e,!1))),e}return t.var(s,!0),c((()=>t.break())),s;function c(a){const c=t.const("len",r._`${n}.length`);t.forRange("i",0,c,(n=>{e.subschema({keyword:i,dataProp:n,dataPropType:o.Type.Num},s),t.if((0,r.not)(s),a)}))}},t.validateUnion=function(e){const{gen:t,schema:n,keyword:i,it:a}=e;if(!Array.isArray(n))throw new Error("ajv implementation error");if(n.some((e=>(0,o.alwaysValidSchema)(a,e)))&&!a.opts.unevaluated)return;const s=t.let("valid",!1),c=t.name("_valid");t.block((()=>n.forEach(((n,o)=>{const a=e.subschema({keyword:i,schemaProp:o,compositeRule:!0},c);t.assign(s,r._`${s} || ${c}`);e.mergeValidEvaluated(a,c)||t.if((0,r.not)(s))})))),e.result(s,(()=>e.reset()),(()=>e.error(!0)))}},5844:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(4227),o={keyword:"allOf",schemaType:"array",code(e){const{gen:t,schema:n,it:o}=e;if(!Array.isArray(n))throw new Error("ajv implementation error");const i=t.name("valid");n.forEach(((t,n)=>{if((0,r.alwaysValidSchema)(o,t))return;const a=e.subschema({keyword:"allOf",schemaProp:n},i);e.ok(i),e.mergeEvaluated(a)}))}};t.default=o},5882:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(9029),o=r.operators,i={maximum:{okStr:"<=",ok:o.LTE,fail:o.GT},minimum:{okStr:">=",ok:o.GTE,fail:o.LT},exclusiveMaximum:{okStr:"<",ok:o.LT,fail:o.GTE},exclusiveMinimum:{okStr:">",ok:o.GT,fail:o.LTE}},a={message:({keyword:e,schemaCode:t})=>r.str`must be ${i[e].okStr} ${t}`,params:({keyword:e,schemaCode:t})=>r._`{comparison: ${i[e].okStr}, limit: ${t}}`},s={keyword:Object.keys(i),type:"number",schemaType:"number",$data:!0,error:a,code(e){const{keyword:t,data:n,schemaCode:o}=e;e.fail$data(r._`${n} ${i[t].fail} ${o} || isNaN(${n})`)}};t.default=s},5944:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(8343);r.code='require("ajv/dist/runtime/uri").default',t.default=r},6144:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(2128),o=n(7060),i=n(6378),a=n(7532),s=n(9857),c=[r.default,o.default,(0,i.default)(),a.default,s.metadataVocabulary,s.contentVocabulary];t.default=c},6163:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(9029),o=n(4227),i={keyword:"oneOf",schemaType:"array",trackErrors:!0,error:{message:"must match exactly one schema in oneOf",params:({params:e})=>r._`{passingSchemas: ${e.passing}}`},code(e){const{gen:t,schema:n,parentSchema:i,it:a}=e;if(!Array.isArray(n))throw new Error("ajv implementation error");if(a.opts.discriminator&&i.discriminator)return;const s=n,c=t.let("valid",!1),l=t.let("passing",null),u=t.name("_valid");e.setParams({passing:l}),t.block((function(){s.forEach(((n,i)=>{let s;(0,o.alwaysValidSchema)(a,n)?t.var(u,!0):s=e.subschema({keyword:"oneOf",schemaProp:i,compositeRule:!0},u),i>0&&t.if(r._`${u} && ${c}`).assign(c,!1).assign(l,r._`[${l}, ${i}]`).else(),t.if(u,(()=>{t.assign(c,!0),t.assign(l,i),s&&e.mergeEvaluated(s,r.Name)}))}))})),e.result(c,(()=>e.reset()),(()=>e.error(!0)))}};t.default=i},6250:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(2017);r.code='require("ajv/dist/runtime/equal").default',t.default=r},6314:e=>{"use strict";e.exports=function(e){var t=[];return t.toString=function(){return this.map((function(t){var n="",r=void 0!==t[5];return t[4]&&(n+="@supports (".concat(t[4],") {")),t[2]&&(n+="@media ".concat(t[2]," {")),r&&(n+="@layer".concat(t[5].length>0?" ".concat(t[5]):""," {")),n+=e(t),r&&(n+="}"),t[2]&&(n+="}"),t[4]&&(n+="}"),n})).join("")},t.i=function(e,n,r,o,i){"string"==typeof e&&(e=[[null,e,void 0]]);var a={};if(r)for(var s=0;s<this.length;s++){var c=this[s][0];null!=c&&(a[c]=!0)}for(var l=0;l<e.length;l++){var u=[].concat(e[l]);r&&a[u[0]]||(void 0!==i&&(void 0===u[5]||(u[1]="@layer".concat(u[5].length>0?" ".concat(u[5]):""," {").concat(u[1],"}")),u[5]=i),n&&(u[2]?(u[1]="@media ".concat(u[2]," {").concat(u[1],"}"),u[2]=n):u[2]=n),o&&(u[4]?(u[1]="@supports (".concat(u[4],") {").concat(u[1],"}"),u[4]=o):u[4]="".concat(o)),t.push(u))}},t}},6378:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(5457),o=n(5354),i=n(494),a=n(3966),s=n(2661),c=n(3025),l=n(9713),u=n(8660),d=n(117),f=n(5333),h=n(7923),p=n(6505),m=n(6163),g=n(5844),y=n(1239),A=n(4426);t.default=function(e=!1){const t=[h.default,p.default,m.default,g.default,y.default,A.default,l.default,u.default,c.default,d.default,f.default];return e?t.push(o.default,a.default):t.push(r.default,i.default),t.push(s.default),t}},6505:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r={keyword:"anyOf",schemaType:"array",trackErrors:!0,code:n(5765).validateUnion,error:{message:"must match a schema in anyOf"}};t.default=r},6650:(e,t,n)=>{"use strict";n.d(t,{A:()=>c});var r=n(1354),o=n.n(r),i=n(6314),a=n.n(i)()(o());a.push([e.id,'/*\n * Specific styles based on documentation tools and themes\n *\n * Usage of `@layer` at-rule pushes this rules down a step in\n * precedence/priority. This allows a user `:root` rule to override these\n * values.\n **/\n@layer defaults {\n :root[data-readthedocs-tool="docusaurus"] {\n --readthedocs-flyout-header-font-size: 0.9rem;\n }\n\n :root[data-readthedocs-tool="mkdocs-material"] {\n --readthedocs-font-size: 0.58rem;\n --readthedocs-flyout-header-font-size: 0.7rem;\n --readthedocs-flyout-font-size: 0.58rem;\n }\n\n :root[data-readthedocs-tool="antora"] {\n --readthedocs-font-size: 0.7rem;\n --readthedocs-flyout-header-font-size: 0.8rem;\n --readthedocs-flyout-font-size: 0.7rem;\n }\n\n :root[data-readthedocs-tool="mdbook"] {\n --readthedocs-font-size: 1.3rem;\n --readthedocs-flyout-header-font-size: 1.5rem;\n --readthedocs-flyout-font-size: 1.3rem;\n }\n\n :root[data-readthedocs-tool="sphinx"][data-readthedocs-tool-theme="furo"] {\n --readthedocs-font-size: 0.725rem;\n --readthedocs-flyout-header-font-size: 0.845rem;\n --readthedocs-flyout-font-size: 0.725rem;\n }\n\n :root[data-readthedocs-tool="sphinx"][data-readthedocs-tool-theme="immaterial"] {\n --readthedocs-font-size: 0.58rem;\n --readthedocs-flyout-header-font-size: 0.7rem;\n --readthedocs-flyout-font-size: 0.58rem;\n }\n}\n',"",{version:3,sources:["webpack://./src/doctools.css"],names:[],mappings:"AAAA;;;;;;GAMG;AACH;EACE;IACE,6CAA6C;EAC/C;;EAEA;IACE,gCAAgC;IAChC,6CAA6C;IAC7C,uCAAuC;EACzC;;EAEA;IACE,+BAA+B;IAC/B,6CAA6C;IAC7C,sCAAsC;EACxC;;EAEA;IACE,+BAA+B;IAC/B,6CAA6C;IAC7C,sCAAsC;EACxC;;EAEA;IACE,iCAAiC;IACjC,+CAA+C;IAC/C,wCAAwC;EAC1C;;EAEA;IACE,gCAAgC;IAChC,6CAA6C;IAC7C,uCAAuC;EACzC;AACF",sourcesContent:['/*\n * Specific styles based on documentation tools and themes\n *\n * Usage of `@layer` at-rule pushes this rules down a step in\n * precedence/priority. This allows a user `:root` rule to override these\n * values.\n **/\n@layer defaults {\n :root[data-readthedocs-tool="docusaurus"] {\n --readthedocs-flyout-header-font-size: 0.9rem;\n }\n\n :root[data-readthedocs-tool="mkdocs-material"] {\n --readthedocs-font-size: 0.58rem;\n --readthedocs-flyout-header-font-size: 0.7rem;\n --readthedocs-flyout-font-size: 0.58rem;\n }\n\n :root[data-readthedocs-tool="antora"] {\n --readthedocs-font-size: 0.7rem;\n --readthedocs-flyout-header-font-size: 0.8rem;\n --readthedocs-flyout-font-size: 0.7rem;\n }\n\n :root[data-readthedocs-tool="mdbook"] {\n --readthedocs-font-size: 1.3rem;\n --readthedocs-flyout-header-font-size: 1.5rem;\n --readthedocs-flyout-font-size: 1.3rem;\n }\n\n :root[data-readthedocs-tool="sphinx"][data-readthedocs-tool-theme="furo"] {\n --readthedocs-font-size: 0.725rem;\n --readthedocs-flyout-header-font-size: 0.845rem;\n --readthedocs-flyout-font-size: 0.725rem;\n }\n\n :root[data-readthedocs-tool="sphinx"][data-readthedocs-tool-theme="immaterial"] {\n --readthedocs-font-size: 0.58rem;\n --readthedocs-flyout-header-font-size: 0.7rem;\n --readthedocs-flyout-font-size: 0.58rem;\n }\n}\n'],sourceRoot:""}]);var s=new CSSStyleSheet;s.replaceSync(a.toString());const c=s},6653:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(9029),o=n(7652),i=n(3835),a=n(4551),s=n(4227),c={keyword:"discriminator",type:"object",schemaType:"object",error:{message:({params:{discrError:e,tagName:t}})=>e===o.DiscrError.Tag?`tag "${t}" must be string`:`value of tag "${t}" must be in oneOf`,params:({params:{discrError:e,tag:t,tagName:n}})=>r._`{error: ${e}, tag: ${n}, tagValue: ${t}}`},code(e){const{gen:t,data:n,schema:c,parentSchema:l,it:u}=e,{oneOf:d}=l;if(!u.opts.discriminator)throw new Error("discriminator: requires discriminator option");const f=c.propertyName;if("string"!=typeof f)throw new Error("discriminator: requires propertyName");if(c.mapping)throw new Error("discriminator: mapping is not supported");if(!d)throw new Error("discriminator: requires oneOf keyword");const h=t.let("valid",!1),p=t.const("tag",r._`${n}${(0,r.getProperty)(f)}`);function m(n){const o=t.name("valid"),i=e.subschema({keyword:"oneOf",schemaProp:n},o);return e.mergeEvaluated(i,r.Name),o}t.if(r._`typeof ${p} == "string"`,(()=>function(){const n=function(){var e;const t={},n=o(l);let r=!0;for(let t=0;t<d.length;t++){let l=d[t];if((null==l?void 0:l.$ref)&&!(0,s.schemaHasRulesButRef)(l,u.self.RULES)){const e=l.$ref;if(l=i.resolveRef.call(u.self,u.schemaEnv.root,u.baseId,e),l instanceof i.SchemaEnv&&(l=l.schema),void 0===l)throw new a.default(u.opts.uriResolver,u.baseId,e)}const h=null===(e=null==l?void 0:l.properties)||void 0===e?void 0:e[f];if("object"!=typeof h)throw new Error(`discriminator: oneOf subschemas (or referenced schemas) must have "properties/${f}"`);r=r&&(n||o(l)),c(h,t)}if(!r)throw new Error(`discriminator: "${f}" must be required`);return t;function o({required:e}){return Array.isArray(e)&&e.includes(f)}function c(e,t){if(e.const)h(e.const,t);else{if(!e.enum)throw new Error(`discriminator: "properties/${f}" must have "const" or "enum"`);for(const n of e.enum)h(n,t)}}function h(e,n){if("string"!=typeof e||e in t)throw new Error(`discriminator: "${f}" values must be unique strings`);t[e]=n}}();t.if(!1);for(const e in n)t.elseIf(r._`${p} === ${e}`),t.assign(h,m(n[e]));t.else(),e.error(!1,{discrError:o.DiscrError.Mapping,tag:p,tagName:f}),t.endIf()}()),(()=>e.error(!1,{discrError:o.DiscrError.Tag,tag:p,tagName:f}))),e.ok(h)}};t.default=c},6801:(e,t,n)=>{"use strict";n.d(t,{A:()=>c});var r=n(1354),o=n.n(r),i=n(6314),a=n.n(i)()(o());a.push([e.id,':host > div {\n font-family: var(\n --readthedocs-search-font-family,\n "Lato",\n "proxima-nova",\n "Helvetica Neue",\n "Arial",\n "sans-serif"\n );\n font-size: var(--readthedocs-search-font-size, 16px);\n\n /* TODO: make some of this variables */\n color: var(--readthedocs-search-color, rgb(64, 64, 64));\n position: fixed;\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n z-index: 3000;\n line-height: 1rem;\n}\n\n:host > div a {\n color: var(--readthedocs-search-result-section-color, #2980b9);\n text-decoration: none;\n cursor: pointer;\n}\n\n:host > div code {\n background: var(--readthedocs-search-footer-code-background-color, #fff);\n padding: 2px 5px;\n border: solid 1px var(--readthedocs-search-footer-code-border-color, #e1e4e5);\n color: #333;\n white-space: pre-wrap;\n word-wrap: break-word;\n font-size: 0.875em;\n font-family:\n SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New",\n monospace;\n border-radius: 0;\n}\n\n:host > div .background {\n position: fixed;\n top: 0;\n left: 0;\n z-index: 1250;\n width: 100%;\n height: 100%;\n background-color: var(\n --readthedocs-search-backdrop-color,\n rgba(0, 0, 0, 0.3)\n );\n backdrop-filter: blur(3px);\n}\n\n:host > div > div.content {\n margin: 5em auto auto auto;\n position: absolute;\n top: 0;\n left: 0;\n right: 0;\n bottom: 0;\n z-index: 100000;\n height: 80%;\n width: 60%;\n max-width: 43em;\n overflow-y: hidden;\n display: flex;\n flex-direction: column;\n border: 1px solid var(--readthedocs-search-content-border-color, #e0e0e0);\n border-radius: 0.7rem;\n line-height: 1.75rem;\n background-color: var(--readthedocs-search-content-background-color, #fcfcfc);\n box-shadow:\n rgba(0, 0, 0, 0.05) 5px 5px 5px 5px,\n rgba(0, 0, 0, 0.05) -5px -5px 5px 5px;\n text-align: left;\n}\n\n:host > div form {\n background-color: var(--readthedocs-search-input-background-color, #eaeaea);\n margin: 0.5rem;\n border-radius: 0.25em;\n font-size: 1.05em;\n padding: 5px;\n display: flex;\n}\n\n:host > div form.focus {\n outline: 2px solid #6ea0ec;\n border-shadow: inset 0 0 1px white transparent;\n}\n\n:host > div form > label {\n font-size: 1.15em;\n padding-left: 5px;\n color: #333;\n}\n\n:host > div form label svg {\n height: 1em;\n position: relative;\n top: 5px;\n}\n\n:host > div form > input {\n border: 0;\n outline: none;\n background: inherit;\n width: max-content;\n font-size: 1.15em;\n box-shadow: none;\n width: 100%;\n padding: 6px;\n line-height: 1;\n color: var(--readthedocs-search-color, rgb(64, 64, 64));\n}\n\n:host > div .results {\n margin-top: 10px;\n padding: 0.5em;\n overflow-y: scroll;\n height: 100%;\n hyphens: auto;\n}\n\ndiv.hit-block {\n padding-top: 3px;\n border-top: 1px solid rgb(224, 224, 224);\n display: flex;\n flex-direction: column;\n margin-bottom: 10px;\n}\n\ndiv.hit-block a.hit-block-heading {\n display: flex;\n align-items: center;\n}\n\ndiv.hit-block .hit-block-heading-container {\n display: flex;\n align-items: center;\n justify-content: space-between;\n}\n\ndiv.hit-block a.hit-block-heading i,\ndiv.hit-block .hit-block-heading-container .close-icon {\n font-size: 1.15em;\n width: 1em;\n padding-right: 10px;\n color: rgba(0, 0, 0, 0.54);\n padding-top: 5px;\n}\n\nbutton.close-icon {\n border: none;\n margin: 0;\n padding: 0;\n padding-right: 10px;\n margin-bottom: 15px;\n overflow: visible;\n\n display: inline-block;\n width: 1em;\n height: 1em;\n vertical-align: middle;\n\n background: transparent;\n cursor: pointer;\n}\n\nbutton.close-icon svg {\n pointer-events: none;\n}\n\ndiv.hit-block a.hit-block-heading i svg,\ndiv.hit-block .hit-block-heading-container svg {\n width: 1em;\n}\n\n:host > div .results a.hit {\n width: 100%;\n display: inline-block;\n padding: 0.15em calc(1.15em + 10px);\n box-sizing: border-box;\n}\n\n:host > div .results a.hit:hover,\n:host > div .results .hit .active {\n background-color: rgb(245, 245, 245);\n}\n\n:host > div .results h2 {\n display: inline-block;\n font-weight: 700;\n margin-top: 3px;\n margin-bottom: 5px;\n font-size: 1em;\n color: black;\n line-height: inherit;\n}\n\n:host > div .results h2:hover {\n border-bottom-color: black;\n}\n\n:host > div .results a.hit > div {\n display: flex;\n flex-direction: column;\n}\n\n:host > div .results .hit .subheading {\n color: var(\n --readthedocs-search-result-section-subheading-color,\n rgba(0, 0, 0, 0.64)\n );\n font-weight: 700;\n font-size: 15px;\n margin-right: 10px;\n overflow-x: hidden;\n margin: inherit;\n line-height: inherit;\n}\n\n:host > div .results .hit .content {\n margin: 0;\n text-decoration: none;\n color: rgba(0, 0, 0, 0.54);\n font-size: 15px;\n display: block;\n margin-bottom: 5px;\n margin-bottom: 0;\n line-height: inherit;\n text-align: left;\n}\n\n:host > div .results span {\n font-style: normal;\n}\n\n:host > div .results .hit h2 span {\n background-color: #e5f6ff;\n padding-bottom: 3px;\n border-bottom-color: black;\n}\n\n:host > div .results .hit span {\n color: var(--readthedocs-search-result-section-highlight-color, #6ea0ec);\n font-style: italic;\n font-weight: bold;\n}\n\n:host div.content > div.footer {\n width: 100%;\n display: inline-block;\n height: 30px;\n background-color: var(\n --readthedocs-search-footer-background-color,\n rgb(234, 234, 234)\n );\n color: #404040;\n}\n\n:host > div .credits {\n float: right;\n margin: 0 15px;\n font-size: small;\n padding-top: 3px;\n}\n\n:host > div .credits a img {\n display: inline-block;\n width: 100px;\n vertical-align: middle;\n}\n\n/* TODO: find an example for domain role and style it properly */\n:host > div .readthedocs-search-result-hit--domain-role {\n font-size: 80%;\n letter-spacing: 1px;\n}\n\n:host > div .filters-title {\n display: block;\n font-size: 0.9rem;\n position: absolute;\n top: 0;\n left: 14px;\n background: rgb(252, 252, 252);\n margin: 0 5px;\n padding: 0 5px;\n}\n\n:host > div .filters {\n position: relative;\n padding-top: 0.9rem;\n margin: 0 0.5em;\n}\n\n:host > div .filters ul {\n display: block;\n margin: 0;\n padding: 5px 14px;\n border-radius: 0.3rem;\n border-style: solid;\n border-width: 1px;\n border-color: var(--readthedocs-search-filters-border-color, #e0e0e0);\n border-bottom: 1px solid #e0e0e0;\n}\n\n:host > div .filters li {\n display: inline-block;\n margin: 0 0 0 15px;\n}\n\n:host > div .filters li label {\n padding: 3px;\n}\n\n:host > div .filters label {\n font-size: 0.9rem;\n}\n\n:host > div .no-results {\n text-align: center;\n margin-top: 1.15em;\n padding: 15px;\n margin: 0 auto;\n width: 80%;\n}\n\n:host > div .no-results > p.title {\n margin-top: 0;\n margin-bottom: 0.5em;\n}\n\n:host > div .no-results > svg {\n height: 5.5rem;\n margin-bottom: 1.15em;\n}\n\n:host > div .no-results > div.footer p {\n font-size: small;\n}\n\n:host > div .no-results > .tips {\n padding: 0;\n text-align: left;\n font-size: 15px;\n margin-bottom: 1.15em;\n}\n\n:host > div .no-results > .tips ul {\n padding: 0 0 0 0.7em;\n margin: 0;\n}\n:host > div .no-results > .tips li {\n list-style-position: inside;\n list-style-type: "\\BB ";\n margin: 0;\n}\n\n:host > div .help {\n display: inline-block;\n font-size: small;\n margin: 0 15px;\n padding: 0;\n}\n\n:host > div .help li {\n list-style: none;\n display: inline-block;\n margin: 0 0.4em;\n}\n',"",{version:3,sources:["webpack://./src/search.css"],names:[],mappings:"AAAA;EACE;;;;;;;GAOC;EACD,oDAAoD;;EAEpD,sCAAsC;EACtC,uDAAuD;EACvD,eAAe;EACf,MAAM;EACN,OAAO;EACP,WAAW;EACX,YAAY;EACZ,aAAa;EACb,iBAAiB;AACnB;;AAEA;EACE,8DAA8D;EAC9D,qBAAqB;EACrB,eAAe;AACjB;;AAEA;EACE,wEAAwE;EACxE,gBAAgB;EAChB,6EAA6E;EAC7E,WAAW;EACX,qBAAqB;EACrB,qBAAqB;EACrB,kBAAkB;EAClB;;aAEW;EACX,gBAAgB;AAClB;;AAEA;EACE,eAAe;EACf,MAAM;EACN,OAAO;EACP,aAAa;EACb,WAAW;EACX,YAAY;EACZ;;;GAGC;EACD,0BAA0B;AAC5B;;AAEA;EACE,0BAA0B;EAC1B,kBAAkB;EAClB,MAAM;EACN,OAAO;EACP,QAAQ;EACR,SAAS;EACT,eAAe;EACf,WAAW;EACX,UAAU;EACV,eAAe;EACf,kBAAkB;EAClB,aAAa;EACb,sBAAsB;EACtB,yEAAyE;EACzE,qBAAqB;EACrB,oBAAoB;EACpB,6EAA6E;EAC7E;;yCAEuC;EACvC,gBAAgB;AAClB;;AAEA;EACE,2EAA2E;EAC3E,cAAc;EACd,qBAAqB;EACrB,iBAAiB;EACjB,YAAY;EACZ,aAAa;AACf;;AAEA;EACE,0BAA0B;EAC1B,8CAA8C;AAChD;;AAEA;EACE,iBAAiB;EACjB,iBAAiB;EACjB,WAAW;AACb;;AAEA;EACE,WAAW;EACX,kBAAkB;EAClB,QAAQ;AACV;;AAEA;EACE,SAAS;EACT,aAAa;EACb,mBAAmB;EACnB,kBAAkB;EAClB,iBAAiB;EACjB,gBAAgB;EAChB,WAAW;EACX,YAAY;EACZ,cAAc;EACd,uDAAuD;AACzD;;AAEA;EACE,gBAAgB;EAChB,cAAc;EACd,kBAAkB;EAClB,YAAY;EACZ,aAAa;AACf;;AAEA;EACE,gBAAgB;EAChB,wCAAwC;EACxC,aAAa;EACb,sBAAsB;EACtB,mBAAmB;AACrB;;AAEA;EACE,aAAa;EACb,mBAAmB;AACrB;;AAEA;EACE,aAAa;EACb,mBAAmB;EACnB,8BAA8B;AAChC;;AAEA;;EAEE,iBAAiB;EACjB,UAAU;EACV,mBAAmB;EACnB,0BAA0B;EAC1B,gBAAgB;AAClB;;AAEA;EACE,YAAY;EACZ,SAAS;EACT,UAAU;EACV,mBAAmB;EACnB,mBAAmB;EACnB,iBAAiB;;EAEjB,qBAAqB;EACrB,UAAU;EACV,WAAW;EACX,sBAAsB;;EAEtB,uBAAuB;EACvB,eAAe;AACjB;;AAEA;EACE,oBAAoB;AACtB;;AAEA;;EAEE,UAAU;AACZ;;AAEA;EACE,WAAW;EACX,qBAAqB;EACrB,mCAAmC;EACnC,sBAAsB;AACxB;;AAEA;;EAEE,oCAAoC;AACtC;;AAEA;EACE,qBAAqB;EACrB,gBAAgB;EAChB,eAAe;EACf,kBAAkB;EAClB,cAAc;EACd,YAAY;EACZ,oBAAoB;AACtB;;AAEA;EACE,0BAA0B;AAC5B;;AAEA;EACE,aAAa;EACb,sBAAsB;AACxB;;AAEA;EACE;;;GAGC;EACD,gBAAgB;EAChB,eAAe;EACf,kBAAkB;EAClB,kBAAkB;EAClB,eAAe;EACf,oBAAoB;AACtB;;AAEA;EACE,SAAS;EACT,qBAAqB;EACrB,0BAA0B;EAC1B,eAAe;EACf,cAAc;EACd,kBAAkB;EAClB,gBAAgB;EAChB,oBAAoB;EACpB,gBAAgB;AAClB;;AAEA;EACE,kBAAkB;AACpB;;AAEA;EACE,yBAAyB;EACzB,mBAAmB;EACnB,0BAA0B;AAC5B;;AAEA;EACE,wEAAwE;EACxE,kBAAkB;EAClB,iBAAiB;AACnB;;AAEA;EACE,WAAW;EACX,qBAAqB;EACrB,YAAY;EACZ;;;GAGC;EACD,cAAc;AAChB;;AAEA;EACE,YAAY;EACZ,cAAc;EACd,gBAAgB;EAChB,gBAAgB;AAClB;;AAEA;EACE,qBAAqB;EACrB,YAAY;EACZ,sBAAsB;AACxB;;AAEA,gEAAgE;AAChE;EACE,cAAc;EACd,mBAAmB;AACrB;;AAEA;EACE,cAAc;EACd,iBAAiB;EACjB,kBAAkB;EAClB,MAAM;EACN,UAAU;EACV,8BAA8B;EAC9B,aAAa;EACb,cAAc;AAChB;;AAEA;EACE,kBAAkB;EAClB,mBAAmB;EACnB,eAAe;AACjB;;AAEA;EACE,cAAc;EACd,SAAS;EACT,iBAAiB;EACjB,qBAAqB;EACrB,mBAAmB;EACnB,iBAAiB;EACjB,qEAAqE;EACrE,gCAAgC;AAClC;;AAEA;EACE,qBAAqB;EACrB,kBAAkB;AACpB;;AAEA;EACE,YAAY;AACd;;AAEA;EACE,iBAAiB;AACnB;;AAEA;EACE,kBAAkB;EAClB,kBAAkB;EAClB,aAAa;EACb,cAAc;EACd,UAAU;AACZ;;AAEA;EACE,aAAa;EACb,oBAAoB;AACtB;;AAEA;EACE,cAAc;EACd,qBAAqB;AACvB;;AAEA;EACE,gBAAgB;AAClB;;AAEA;EACE,UAAU;EACV,gBAAgB;EAChB,eAAe;EACf,qBAAqB;AACvB;;AAEA;EACE,oBAAoB;EACpB,SAAS;AACX;AACA;EACE,2BAA2B;EAC3B,wBAAwB;EACxB,SAAS;AACX;;AAEA;EACE,qBAAqB;EACrB,gBAAgB;EAChB,cAAc;EACd,UAAU;AACZ;;AAEA;EACE,gBAAgB;EAChB,qBAAqB;EACrB,eAAe;AACjB",sourcesContent:[':host > div {\n font-family: var(\n --readthedocs-search-font-family,\n "Lato",\n "proxima-nova",\n "Helvetica Neue",\n "Arial",\n "sans-serif"\n );\n font-size: var(--readthedocs-search-font-size, 16px);\n\n /* TODO: make some of this variables */\n color: var(--readthedocs-search-color, rgb(64, 64, 64));\n position: fixed;\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n z-index: 3000;\n line-height: 1rem;\n}\n\n:host > div a {\n color: var(--readthedocs-search-result-section-color, #2980b9);\n text-decoration: none;\n cursor: pointer;\n}\n\n:host > div code {\n background: var(--readthedocs-search-footer-code-background-color, #fff);\n padding: 2px 5px;\n border: solid 1px var(--readthedocs-search-footer-code-border-color, #e1e4e5);\n color: #333;\n white-space: pre-wrap;\n word-wrap: break-word;\n font-size: 0.875em;\n font-family:\n SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New",\n monospace;\n border-radius: 0;\n}\n\n:host > div .background {\n position: fixed;\n top: 0;\n left: 0;\n z-index: 1250;\n width: 100%;\n height: 100%;\n background-color: var(\n --readthedocs-search-backdrop-color,\n rgba(0, 0, 0, 0.3)\n );\n backdrop-filter: blur(3px);\n}\n\n:host > div > div.content {\n margin: 5em auto auto auto;\n position: absolute;\n top: 0;\n left: 0;\n right: 0;\n bottom: 0;\n z-index: 100000;\n height: 80%;\n width: 60%;\n max-width: 43em;\n overflow-y: hidden;\n display: flex;\n flex-direction: column;\n border: 1px solid var(--readthedocs-search-content-border-color, #e0e0e0);\n border-radius: 0.7rem;\n line-height: 1.75rem;\n background-color: var(--readthedocs-search-content-background-color, #fcfcfc);\n box-shadow:\n rgba(0, 0, 0, 0.05) 5px 5px 5px 5px,\n rgba(0, 0, 0, 0.05) -5px -5px 5px 5px;\n text-align: left;\n}\n\n:host > div form {\n background-color: var(--readthedocs-search-input-background-color, #eaeaea);\n margin: 0.5rem;\n border-radius: 0.25em;\n font-size: 1.05em;\n padding: 5px;\n display: flex;\n}\n\n:host > div form.focus {\n outline: 2px solid #6ea0ec;\n border-shadow: inset 0 0 1px white transparent;\n}\n\n:host > div form > label {\n font-size: 1.15em;\n padding-left: 5px;\n color: #333;\n}\n\n:host > div form label svg {\n height: 1em;\n position: relative;\n top: 5px;\n}\n\n:host > div form > input {\n border: 0;\n outline: none;\n background: inherit;\n width: max-content;\n font-size: 1.15em;\n box-shadow: none;\n width: 100%;\n padding: 6px;\n line-height: 1;\n color: var(--readthedocs-search-color, rgb(64, 64, 64));\n}\n\n:host > div .results {\n margin-top: 10px;\n padding: 0.5em;\n overflow-y: scroll;\n height: 100%;\n hyphens: auto;\n}\n\ndiv.hit-block {\n padding-top: 3px;\n border-top: 1px solid rgb(224, 224, 224);\n display: flex;\n flex-direction: column;\n margin-bottom: 10px;\n}\n\ndiv.hit-block a.hit-block-heading {\n display: flex;\n align-items: center;\n}\n\ndiv.hit-block .hit-block-heading-container {\n display: flex;\n align-items: center;\n justify-content: space-between;\n}\n\ndiv.hit-block a.hit-block-heading i,\ndiv.hit-block .hit-block-heading-container .close-icon {\n font-size: 1.15em;\n width: 1em;\n padding-right: 10px;\n color: rgba(0, 0, 0, 0.54);\n padding-top: 5px;\n}\n\nbutton.close-icon {\n border: none;\n margin: 0;\n padding: 0;\n padding-right: 10px;\n margin-bottom: 15px;\n overflow: visible;\n\n display: inline-block;\n width: 1em;\n height: 1em;\n vertical-align: middle;\n\n background: transparent;\n cursor: pointer;\n}\n\nbutton.close-icon svg {\n pointer-events: none;\n}\n\ndiv.hit-block a.hit-block-heading i svg,\ndiv.hit-block .hit-block-heading-container svg {\n width: 1em;\n}\n\n:host > div .results a.hit {\n width: 100%;\n display: inline-block;\n padding: 0.15em calc(1.15em + 10px);\n box-sizing: border-box;\n}\n\n:host > div .results a.hit:hover,\n:host > div .results .hit .active {\n background-color: rgb(245, 245, 245);\n}\n\n:host > div .results h2 {\n display: inline-block;\n font-weight: 700;\n margin-top: 3px;\n margin-bottom: 5px;\n font-size: 1em;\n color: black;\n line-height: inherit;\n}\n\n:host > div .results h2:hover {\n border-bottom-color: black;\n}\n\n:host > div .results a.hit > div {\n display: flex;\n flex-direction: column;\n}\n\n:host > div .results .hit .subheading {\n color: var(\n --readthedocs-search-result-section-subheading-color,\n rgba(0, 0, 0, 0.64)\n );\n font-weight: 700;\n font-size: 15px;\n margin-right: 10px;\n overflow-x: hidden;\n margin: inherit;\n line-height: inherit;\n}\n\n:host > div .results .hit .content {\n margin: 0;\n text-decoration: none;\n color: rgba(0, 0, 0, 0.54);\n font-size: 15px;\n display: block;\n margin-bottom: 5px;\n margin-bottom: 0;\n line-height: inherit;\n text-align: left;\n}\n\n:host > div .results span {\n font-style: normal;\n}\n\n:host > div .results .hit h2 span {\n background-color: #e5f6ff;\n padding-bottom: 3px;\n border-bottom-color: black;\n}\n\n:host > div .results .hit span {\n color: var(--readthedocs-search-result-section-highlight-color, #6ea0ec);\n font-style: italic;\n font-weight: bold;\n}\n\n:host div.content > div.footer {\n width: 100%;\n display: inline-block;\n height: 30px;\n background-color: var(\n --readthedocs-search-footer-background-color,\n rgb(234, 234, 234)\n );\n color: #404040;\n}\n\n:host > div .credits {\n float: right;\n margin: 0 15px;\n font-size: small;\n padding-top: 3px;\n}\n\n:host > div .credits a img {\n display: inline-block;\n width: 100px;\n vertical-align: middle;\n}\n\n/* TODO: find an example for domain role and style it properly */\n:host > div .readthedocs-search-result-hit--domain-role {\n font-size: 80%;\n letter-spacing: 1px;\n}\n\n:host > div .filters-title {\n display: block;\n font-size: 0.9rem;\n position: absolute;\n top: 0;\n left: 14px;\n background: rgb(252, 252, 252);\n margin: 0 5px;\n padding: 0 5px;\n}\n\n:host > div .filters {\n position: relative;\n padding-top: 0.9rem;\n margin: 0 0.5em;\n}\n\n:host > div .filters ul {\n display: block;\n margin: 0;\n padding: 5px 14px;\n border-radius: 0.3rem;\n border-style: solid;\n border-width: 1px;\n border-color: var(--readthedocs-search-filters-border-color, #e0e0e0);\n border-bottom: 1px solid #e0e0e0;\n}\n\n:host > div .filters li {\n display: inline-block;\n margin: 0 0 0 15px;\n}\n\n:host > div .filters li label {\n padding: 3px;\n}\n\n:host > div .filters label {\n font-size: 0.9rem;\n}\n\n:host > div .no-results {\n text-align: center;\n margin-top: 1.15em;\n padding: 15px;\n margin: 0 auto;\n width: 80%;\n}\n\n:host > div .no-results > p.title {\n margin-top: 0;\n margin-bottom: 0.5em;\n}\n\n:host > div .no-results > svg {\n height: 5.5rem;\n margin-bottom: 1.15em;\n}\n\n:host > div .no-results > div.footer p {\n font-size: small;\n}\n\n:host > div .no-results > .tips {\n padding: 0;\n text-align: left;\n font-size: 15px;\n margin-bottom: 1.15em;\n}\n\n:host > div .no-results > .tips ul {\n padding: 0 0 0 0.7em;\n margin: 0;\n}\n:host > div .no-results > .tips li {\n list-style-position: inside;\n list-style-type: "\\BB ";\n margin: 0;\n}\n\n:host > div .help {\n display: inline-block;\n font-size: small;\n margin: 0 15px;\n padding: 0;\n}\n\n:host > div .help li {\n list-style: none;\n display: inline-block;\n margin: 0 0.4em;\n}\n'],sourceRoot:""}]);var s=new CSSStyleSheet;s.replaceSync(a.toString());const c=s},6938:(e,t,n)=>{"use strict";n.d(t,{A:()=>c});var r=n(1354),o=n.n(r),i=n(6314),a=n.n(i)()(o());a.push([e.id,".tooltip {\n display: none;\n max-width: 650px;\n pointer-events: auto;\n z-index: 9999999;\n max-height: 80vh;\n min-height: 100px;\n position: absolute;\n margin-bottom: 20px;\n top: 0;\n border: none;\n border-radius: 5px;\n background: #fff;\n box-shadow: 0 0 10px 6px rgba(0, 0, 0, 0.1);\n}\n\n.tooltip .tooltip-content {\n box-sizing: border-box;\n max-height: 100%;\n max-width: 100%;\n overflow: auto;\n padding: 18px;\n color: #8d8d8d;\n font-size: 80%;\n line-height: 18px;\n}\n\n.tooltip .tooltip-content .headerlink {\n visibility: hidden;\n}\n\n.tooltip .tooltip-content p {\n font-size: 100%;\n}\n\n.tooltip .arrow {\n position: absolute;\n background: #fff;\n width: 8px;\n height: 8px;\n transform: rotate(45deg);\n}\n\n.link-preview {\n border-bottom: 1px dotted;\n}\n","",{version:3,sources:["webpack://./src/linkpreviews.css"],names:[],mappings:"AAAA;EACE,aAAa;EACb,gBAAgB;EAChB,oBAAoB;EACpB,gBAAgB;EAChB,gBAAgB;EAChB,iBAAiB;EACjB,kBAAkB;EAClB,mBAAmB;EACnB,MAAM;EACN,YAAY;EACZ,kBAAkB;EAClB,gBAAgB;EAChB,2CAA2C;AAC7C;;AAEA;EACE,sBAAsB;EACtB,gBAAgB;EAChB,eAAe;EACf,cAAc;EACd,aAAa;EACb,cAAc;EACd,cAAc;EACd,iBAAiB;AACnB;;AAEA;EACE,kBAAkB;AACpB;;AAEA;EACE,eAAe;AACjB;;AAEA;EACE,kBAAkB;EAClB,gBAAgB;EAChB,UAAU;EACV,WAAW;EACX,wBAAwB;AAC1B;;AAEA;EACE,yBAAyB;AAC3B",sourcesContent:[".tooltip {\n display: none;\n max-width: 650px;\n pointer-events: auto;\n z-index: 9999999;\n max-height: 80vh;\n min-height: 100px;\n position: absolute;\n margin-bottom: 20px;\n top: 0;\n border: none;\n border-radius: 5px;\n background: #fff;\n box-shadow: 0 0 10px 6px rgba(0, 0, 0, 0.1);\n}\n\n.tooltip .tooltip-content {\n box-sizing: border-box;\n max-height: 100%;\n max-width: 100%;\n overflow: auto;\n padding: 18px;\n color: #8d8d8d;\n font-size: 80%;\n line-height: 18px;\n}\n\n.tooltip .tooltip-content .headerlink {\n visibility: hidden;\n}\n\n.tooltip .tooltip-content p {\n font-size: 100%;\n}\n\n.tooltip .arrow {\n position: absolute;\n background: #fff;\n width: 8px;\n height: 8px;\n transform: rotate(45deg);\n}\n\n.link-preview {\n border-bottom: 1px dotted;\n}\n"],sourceRoot:""}]);var s=new CSSStyleSheet;s.replaceSync(a.toString());const c=s},6939:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getSchemaRefs=t.resolveUrl=t.normalizeId=t._getFullPath=t.getFullPath=t.inlineRef=void 0;const r=n(4227),o=n(2017),i=n(7106),a=new Set(["type","format","pattern","maxLength","minLength","maxProperties","minProperties","maxItems","minItems","maximum","minimum","uniqueItems","multipleOf","required","enum","const"]);t.inlineRef=function(e,t=!0){return"boolean"==typeof e||(!0===t?!c(e):!!t&&l(e)<=t)};const s=new Set(["$ref","$recursiveRef","$recursiveAnchor","$dynamicRef","$dynamicAnchor"]);function c(e){for(const t in e){if(s.has(t))return!0;const n=e[t];if(Array.isArray(n)&&n.some(c))return!0;if("object"==typeof n&&c(n))return!0}return!1}function l(e){let t=0;for(const n in e){if("$ref"===n)return 1/0;if(t++,!a.has(n)&&("object"==typeof e[n]&&(0,r.eachItem)(e[n],(e=>t+=l(e))),t===1/0))return 1/0}return t}function u(e,t="",n){!1!==n&&(t=h(t));const r=e.parse(t);return d(e,r)}function d(e,t){return e.serialize(t).split("#")[0]+"#"}t.getFullPath=u,t._getFullPath=d;const f=/#\/?$/;function h(e){return e?e.replace(f,""):""}t.normalizeId=h,t.resolveUrl=function(e,t,n){return n=h(n),e.resolve(t,n)};const p=/^[a-z_][-a-z0-9._]*$/i;t.getSchemaRefs=function(e,t){if("boolean"==typeof e)return{};const{schemaId:n,uriResolver:r}=this.opts,a=h(e[n]||t),s={"":a},c=u(r,a,!1),l={},d=new Set;return i(e,{allKeys:!0},((e,t,r,o)=>{if(void 0===o)return;const i=c+t;let a=s[o];function u(t){const n=this.opts.uriResolver.resolve;if(t=h(a?n(a,t):t),d.has(t))throw m(t);d.add(t);let r=this.refs[t];return"string"==typeof r&&(r=this.refs[r]),"object"==typeof r?f(e,r.schema,t):t!==h(i)&&("#"===t[0]?(f(e,l[t],t),l[t]=e):this.refs[t]=i),t}function g(e){if("string"==typeof e){if(!p.test(e))throw new Error(`invalid anchor "${e}"`);u.call(this,`#${e}`)}}"string"==typeof e[n]&&(a=u.call(this,e[n])),g.call(this,e.$anchor),g.call(this,e.$dynamicAnchor),s[t]=a})),l;function f(e,t,n){if(void 0!==t&&!o(e,t))throw m(n)}function m(e){return new Error(`reference "${e}" resolves to more than one schema`)}}},7060:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(5882),o=n(3439),i=n(7307),a=n(422),s=n(4486),c=n(4003),l=n(1163),u=n(617),d=n(7935),f=n(8643),h=[r.default,o.default,i.default,a.default,s.default,c.default,l.default,u.default,{keyword:"type",schemaType:["string","array"]},{keyword:"nullable",schemaType:"boolean"},d.default,f.default];t.default=h},7106:e=>{"use strict";var t=e.exports=function(e,t,r){"function"==typeof t&&(r=t,t={}),n(t,"function"==typeof(r=t.cb||r)?r:r.pre||function(){},r.post||function(){},e,"",e)};function n(e,r,o,i,a,s,c,l,u,d){if(i&&"object"==typeof i&&!Array.isArray(i)){for(var f in r(i,a,s,c,l,u,d),i){var h=i[f];if(Array.isArray(h)){if(f in t.arrayKeywords)for(var p=0;p<h.length;p++)n(e,r,o,h[p],a+"/"+f+"/"+p,s,a,f,i,p)}else if(f in t.propsKeywords){if(h&&"object"==typeof h)for(var m in h)n(e,r,o,h[m],a+"/"+f+"/"+m.replace(/~/g,"~0").replace(/\//g,"~1"),s,a,f,i,m)}else(f in t.keywords||e.allKeys&&!(f in t.skipKeywords))&&n(e,r,o,h,a+"/"+f,s,a,f,i)}o(i,a,s,c,l,u,d)}}t.keywords={additionalItems:!0,items:!0,contains:!0,additionalProperties:!0,propertyNames:!0,not:!0,if:!0,then:!0,else:!0},t.arrayKeywords={items:!0,allOf:!0,anyOf:!0,oneOf:!0},t.propsKeywords={$defs:!0,definitions:!0,properties:!0,patternProperties:!0,dependencies:!0},t.skipKeywords={default:!0,enum:!0,const:!0,required:!0,maximum:!0,minimum:!0,exclusiveMaximum:!0,exclusiveMinimum:!0,multipleOf:!0,maxLength:!0,minLength:!0,pattern:!0,format:!0,maxItems:!0,minItems:!0,uniqueItems:!0,maxProperties:!0,minProperties:!0}},7154:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=function(){function e(e,t){this.rootNode=e,this.config=t,this.descend=!0,this.nextNode=this.rootNode,this.skipSelf(this.nextNode)&&this.next()}return e.prototype.toArray=function(){for(var e,t=[],n=this.next(),r=n.done,o=n.value;!r;)t.push(o),r=(e=this.next()).done,o=e.value;return t},e.prototype.forEach=function(e){for(var t,n=this.next(),r=n.done,o=n.value;!r;)e(o),r=(t=this.next()).done,o=t.value},e.prototype.reduce=function(e,t){for(var n,r=t,o=this.next(),i=o.done,a=o.value;!i;)r=e(r,a),i=(n=this.next()).done,a=n.value;return r},e.prototype.some=function(e){for(var t,n=this.next(),r=n.done,o=n.value;!r;){if(e(o))return!0;r=(t=this.next()).done,o=t.value}return!1},e.prototype.next=function(){if(!this.nextNode)return{done:!0,value:this.rootNode};var e=this.nextNode;return this.descend&&this.nextNode.firstChild&&!this.skipChildren(this.nextNode)?this.nextNode=this.nextNode.firstChild:this.nextNode===this.rootNode?this.nextNode=null:this.nextNode.nextSibling?(this.nextNode=this.nextNode.nextSibling,this.descend=!0):(this.nextNode=this.nextNode.parentNode,this.descend=!1,this.next()),this.nextNode&&this.skipSelf(this.nextNode)&&this.next(),{done:!1,value:e}},e.prototype.skipSelf=function(e){return!(!this.config||!this.config.skipSelf)&&this.config.skipSelf(e)},e.prototype.skipChildren=function(e){return!(!this.config||!this.config.skipChildren)&&this.config.skipChildren(e)},e}();t.DomIterator=n},7307:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(9029),o=n(4227),i=n(3853),a={keyword:["maxLength","minLength"],type:"string",schemaType:"number",$data:!0,error:{message({keyword:e,schemaCode:t}){const n="maxLength"===e?"more":"fewer";return r.str`must NOT have ${n} than ${t} characters`},params:({schemaCode:e})=>r._`{limit: ${e}}`},code(e){const{keyword:t,data:n,schemaCode:a,it:s}=e,c="maxLength"===t?r.operators.GT:r.operators.LT,l=!1===s.opts.unicode?r._`${n}.length`:r._`${(0,o.useFunc)(e.gen,i.default)}(${n})`;e.fail$data(r._`${l} ${c} ${a}`)}};t.default=a},7532:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=[n(4737).default];t.default=r},7652:(e,t)=>{"use strict";var n;Object.defineProperty(t,"__esModule",{value:!0}),t.DiscrError=void 0,function(e){e.Tag="tag",e.Mapping="mapping"}(n||(t.DiscrError=n={}))},7845:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ValueScope=t.ValueScopeName=t.Scope=t.varKinds=t.UsedValueState=void 0;const r=n(1520);class o extends Error{constructor(e){super(`CodeGen: "code" for ${e} not defined`),this.value=e.value}}var i;!function(e){e[e.Started=0]="Started",e[e.Completed=1]="Completed"}(i||(t.UsedValueState=i={})),t.varKinds={const:new r.Name("const"),let:new r.Name("let"),var:new r.Name("var")};class a{constructor({prefixes:e,parent:t}={}){this._names={},this._prefixes=e,this._parent=t}toName(e){return e instanceof r.Name?e:this.name(e)}name(e){return new r.Name(this._newName(e))}_newName(e){return`${e}${(this._names[e]||this._nameGroup(e)).index++}`}_nameGroup(e){var t,n;if((null===(n=null===(t=this._parent)||void 0===t?void 0:t._prefixes)||void 0===n?void 0:n.has(e))||this._prefixes&&!this._prefixes.has(e))throw new Error(`CodeGen: prefix "${e}" is not allowed in this scope`);return this._names[e]={prefix:e,index:0}}}t.Scope=a;class s extends r.Name{constructor(e,t){super(t),this.prefix=e}setValue(e,{property:t,itemIndex:n}){this.value=e,this.scopePath=r._`.${new r.Name(t)}[${n}]`}}t.ValueScopeName=s;const c=r._`\n`;t.ValueScope=class extends a{constructor(e){super(e),this._values={},this._scope=e.scope,this.opts={...e,_n:e.lines?c:r.nil}}get(){return this._scope}name(e){return new s(e,this._newName(e))}value(e,t){var n;if(void 0===t.ref)throw new Error("CodeGen: ref must be passed in value");const r=this.toName(e),{prefix:o}=r,i=null!==(n=t.key)&&void 0!==n?n:t.ref;let a=this._values[o];if(a){const e=a.get(i);if(e)return e}else a=this._values[o]=new Map;a.set(i,r);const s=this._scope[o]||(this._scope[o]=[]),c=s.length;return s[c]=t.ref,r.setValue(t,{property:o,itemIndex:c}),r}getValue(e,t){const n=this._values[e];if(n)return n.get(t)}scopeRefs(e,t=this._values){return this._reduceValues(t,(t=>{if(void 0===t.scopePath)throw new Error(`CodeGen: name "${t}" has no value`);return r._`${e}${t.scopePath}`}))}scopeCode(e=this._values,t,n){return this._reduceValues(e,(e=>{if(void 0===e.value)throw new Error(`CodeGen: name "${e}" has no value`);return e.value.code}),t,n)}_reduceValues(e,n,a={},s){let c=r.nil;for(const l in e){const u=e[l];if(!u)continue;const d=a[l]=a[l]||new Map;u.forEach((e=>{if(d.has(e))return;d.set(e,i.Started);let a=n(e);if(a){const n=this.opts.es5?t.varKinds.var:t.varKinds.const;c=r._`${c}${n} ${e} = ${a};${this.opts._n}`}else{if(!(a=null==s?void 0:s(e)))throw new o(e);c=r._`${c}${a}${this.opts._n}`}d.set(e,i.Completed)}))}return c}}},7870:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.assignDefaults=void 0;const r=n(9029),o=n(4227);function i(e,t,n){const{gen:i,compositeRule:a,data:s,opts:c}=e;if(void 0===n)return;const l=r._`${s}${(0,r.getProperty)(t)}`;if(a)return void(0,o.checkStrictMode)(e,`default is ignored for: ${l}`);let u=r._`${l} === undefined`;"empty"===c.useDefaults&&(u=r._`${u} || ${l} === null || ${l} === ""`),i.if(u,r._`${l} = ${(0,r.stringify)(n)}`)}t.assignDefaults=function(e,t){const{properties:n,items:r}=e.schema;if("object"===t&&n)for(const t in n)i(e,t,n[t].default);else"array"===t&&Array.isArray(r)&&r.forEach(((t,n)=>i(e,n,t.default)))}},7887:(e,t)=>{"use strict";function n(e,t){return t.rules.some((t=>r(e,t)))}function r(e,t){var n;return void 0!==e[t.keyword]||(null===(n=t.definition.implements)||void 0===n?void 0:n.some((t=>void 0!==e[t])))}Object.defineProperty(t,"__esModule",{value:!0}),t.shouldUseRule=t.shouldUseGroup=t.schemaHasRulesForType=void 0,t.schemaHasRulesForType=function({schema:e,self:t},r){const o=t.RULES.types[r];return o&&!0!==o&&n(e,o)},t.shouldUseGroup=n,t.shouldUseRule=r},7923:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(4227),o={keyword:"not",schemaType:["object","boolean"],trackErrors:!0,code(e){const{gen:t,schema:n,it:o}=e;if((0,r.alwaysValidSchema)(o,n))return void e.fail();const i=t.name("valid");e.subschema({keyword:"not",compositeRule:!0,createErrors:!1,allErrors:!1},i),e.failResult(i,(()=>e.reset()),(()=>e.error()))},error:{message:"must NOT be valid"}};t.default=o},7935:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(9029),o=n(4227),i=n(6250),a={keyword:"const",$data:!0,error:{message:"must be equal to constant",params:({schemaCode:e})=>r._`{allowedValue: ${e}}`},code(e){const{gen:t,data:n,$data:a,schemaCode:s,schema:c}=e;a||c&&"object"==typeof c?e.fail$data(r._`!${(0,o.useFunc)(t,i.default)}(${n}, ${s})`):e.fail(r._`${c} !== ${n}`)}};t.default=a},8274:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(2189);function o(e){return e.nodeType===e.ELEMENT_NODE}function i(e){return e.nodeType===e.TEXT_NODE}function a(e){return e.nodeType===e.COMMENT_NODE}function s(e,t){return e===t}function c(e,t,n){if(void 0===n&&(n=s),e.length!==t.length)return!1;for(var r=0,o=e.length;r<o;++r)if(!n(e[r],t[r]))return!1;return!0}function l(e){if(e.getAttributeNames)return e.getAttributeNames();for(var t=e.attributes,n=t.length,r=new Array(n),o=0;o<n;o++)r[o]=t[o].name;return r}function u(e){for(var t=0,n=0;n<e.length;n++)t=(t<<5)-t+e.charCodeAt(n)|0;return t}function d(e){for(var t=0;t<e.length-2;){var n=e[t],o=e[t+1],i=e[t+2];if(n[0]===r.DIFF_EQUAL&&o[0]!==r.DIFF_EQUAL&&i[0]===r.DIFF_EQUAL){var a=n[1],s=o[1],c=i[1],l=a[a.length-1];l!==s[s.length-1]||l<""||l>="豈"?t++:(n[1]=a.substring(0,a.length-1),o[1]=l+s.substring(0,s.length-1),i[1]=l+c,0===n[1].length&&e.splice(t,1))}else t++}}t.isElement=o,t.isText=i,t.isDocument=function(e){return e.nodeType===e.DOCUMENT_NODE},t.isDocumentFragment=function(e){return e.nodeType===e.DOCUMENT_FRAGMENT_NODE},t.isComment=a,t.strictEqual=s,t.areArraysEqual=c,t.areNodesEqual=function e(t,n,r){if(void 0===r&&(r=!1),t===n)return!0;if(t.nodeType!==n.nodeType||t.nodeName!==n.nodeName)return!1;if(i(t)||a(t)){if(t.data!==n.data)return!1}else if(o(t)){var s=l(t).sort();if(!c(s,l(n).sort()))return!1;for(var u=0,d=s.length;u<d;++u){var f=s[u];if(t.getAttribute(f)!==n.getAttribute(f))return!1}}if(r){var h=t.childNodes,p=n.childNodes;if(h.length!==p.length)return!1;for(u=0,d=h.length;u<d;++u)if(!e(h[u],p[u],r))return!1}return!0},t.getAncestors=function(e,t){if(void 0===t&&(t=null),!e||e===t)return[];for(var n=[],r=e.parentNode;r&&(n.push(r),r!==t);)r=r.parentNode;return n},t.never=function(e){throw void 0===e&&(e="visual-dom-diff: Should never happen"),new Error(e)},t.hashCode=u,t.charForNodeName=function(e){return String.fromCharCode(57344+u(e)%6400)},t.cleanUpNodeMarkers=d;var f=new r.diff_match_patch;function h(e,t){for(var n=e.length,r=0,o=t.length;r<o;)e[n++]=t[r++]}t.diffText=function(e,t){var n=f.diff_main(e,t),o=[],i=[];d(n);for(var a=0,s=n.length;a<s;++a){var c=n[a];if(c[0]===r.DIFF_EQUAL){var l=c[1],u=l.length,p=/^[^\uE000-\uF8FF]*/.exec(l)[0].length;if(p<u){var m=/[^\uE000-\uF8FF]*$/.exec(l)[0].length;p>0&&i.push([r.DIFF_EQUAL,l.substring(0,p)]),f.diff_cleanupSemantic(i),h(o,i),i.length=0,o.push([r.DIFF_EQUAL,l.substring(p,u-m)]),m>0&&i.push([r.DIFF_EQUAL,l.substring(u-m)])}else i.push(c)}else i.push(c)}return f.diff_cleanupSemantic(i),h(o,i),i.length=0,f.diff_cleanupMerge(o),d(o),o},t.markUpNode=function(e,t,n){var r=e.ownerDocument,i=e.parentNode,a=e.previousSibling;if(o(e))e.classList.add(n);else if(a&&a.nodeName===t&&a.classList.contains(n))a.appendChild(e);else{var s=r.createElement(t);s.classList.add(n),i.insertBefore(s,e),s.appendChild(e)}},t.isTableValid=function(e,t){var n;return function(e){var t=e.childNodes,n=t.length,o=0;o<n&&"CAPTION"===t[o].nodeName&&o++;if(o<n&&"THEAD"===t[o].nodeName){if(!r(t[o]))return!1;o++}if(!(o<n&&"TBODY"===t[o].nodeName))return!1;if(!r(t[o]))return!1;o++;if(o<n&&"TFOOT"===t[o].nodeName){if(!r(t[o]))return!1;o++}return o===n}(e);function r(e){var t=e.childNodes;if("TBODY"===e.nodeName&&0===t.length)return!1;for(var n=0,r=t.length;n<r;++n)if(!o(t[n]))return!1;return!0}function o(e){var r=e.childNodes;if("TR"!==e.nodeName||0===r.length)return!1;if(t)if(void 0===n)n=r.length;else if(n!==r.length)return!1;for(var o=0,a=r.length;o<a;++o)if(!i(r[o]))return!1;return!0}function i(e){var t=e.nodeName;if("TD"!==t&&"TH"!==t)return!1;var n=e,r=n.getAttribute("colspan"),o=n.getAttribute("rowspan");return!(null!==r&&"1"!==r||null!==o&&"1"!==o)}}},8343:(e,t,n)=>{"use strict";const{normalizeIPv6:r,normalizeIPv4:o,removeDotSegments:i,recomposeAuthority:a,normalizeComponentEncoding:s}=n(4834),c=n(343);function l(e,t,n,r){const o={};return r||(e=h(u(e,n),n),t=h(u(t,n),n)),!(n=n||{}).tolerant&&t.scheme?(o.scheme=t.scheme,o.userinfo=t.userinfo,o.host=t.host,o.port=t.port,o.path=i(t.path||""),o.query=t.query):(void 0!==t.userinfo||void 0!==t.host||void 0!==t.port?(o.userinfo=t.userinfo,o.host=t.host,o.port=t.port,o.path=i(t.path||""),o.query=t.query):(t.path?("/"===t.path.charAt(0)?o.path=i(t.path):(void 0===e.userinfo&&void 0===e.host&&void 0===e.port||e.path?e.path?o.path=e.path.slice(0,e.path.lastIndexOf("/")+1)+t.path:o.path=t.path:o.path="/"+t.path,o.path=i(o.path)),o.query=t.query):(o.path=e.path,void 0!==t.query?o.query=t.query:o.query=e.query),o.userinfo=e.userinfo,o.host=e.host,o.port=e.port),o.scheme=e.scheme),o.fragment=t.fragment,o}function u(e,t){const n={host:e.host,scheme:e.scheme,userinfo:e.userinfo,port:e.port,path:e.path,query:e.query,nid:e.nid,nss:e.nss,uuid:e.uuid,fragment:e.fragment,reference:e.reference,resourceName:e.resourceName,secure:e.secure,error:""},r=Object.assign({},t),o=[],s=c[(r.scheme||n.scheme||"").toLowerCase()];s&&s.serialize&&s.serialize(n,r),void 0!==n.path&&(r.skipEscape?n.path=unescape(n.path):(n.path=escape(n.path),void 0!==n.scheme&&(n.path=n.path.split("%3A").join(":")))),"suffix"!==r.reference&&n.scheme&&(o.push(n.scheme),o.push(":"));const l=a(n,r);if(void 0!==l&&("suffix"!==r.reference&&o.push("//"),o.push(l),n.path&&"/"!==n.path.charAt(0)&&o.push("/")),void 0!==n.path){let e=n.path;r.absolutePath||s&&s.absolutePath||(e=i(e)),void 0===l&&(e=e.replace(/^\/\//u,"/%2F")),o.push(e)}return void 0!==n.query&&(o.push("?"),o.push(n.query)),void 0!==n.fragment&&(o.push("#"),o.push(n.fragment)),o.join("")}const d=Array.from({length:127},((e,t)=>/[^!"$&'()*+,\-.;=_`a-z{}~]/u.test(String.fromCharCode(t))));const f=/^(?:([^#/:?]+):)?(?:\/\/((?:([^#/?@]*)@)?(\[[^#/?\]]+\]|[^#/:?]*)(?::(\d*))?))?([^#?]*)(?:\?([^#]*))?(?:#((?:.|[\n\r])*))?/u;function h(e,t){const n=Object.assign({},t),i={scheme:void 0,userinfo:void 0,host:"",port:void 0,path:"",query:void 0,fragment:void 0},a=-1!==e.indexOf("%");let s=!1;"suffix"===n.reference&&(e=(n.scheme?n.scheme+":":"")+"//"+e);const l=e.match(f);if(l){if(i.scheme=l[1],i.userinfo=l[3],i.host=l[4],i.port=parseInt(l[5],10),i.path=l[6]||"",i.query=l[7],i.fragment=l[8],isNaN(i.port)&&(i.port=l[5]),i.host){const e=o(i.host);if(!1===e.isIPV4){const t=r(e.host,{isIPV4:!1});i.host=t.host.toLowerCase(),s=t.isIPV6}else i.host=e.host,s=!0}void 0!==i.scheme||void 0!==i.userinfo||void 0!==i.host||void 0!==i.port||i.path||void 0!==i.query?void 0===i.scheme?i.reference="relative":void 0===i.fragment?i.reference="absolute":i.reference="uri":i.reference="same-document",n.reference&&"suffix"!==n.reference&&n.reference!==i.reference&&(i.error=i.error||"URI is not a "+n.reference+" reference.");const e=c[(n.scheme||i.scheme||"").toLowerCase()];if(!(n.unicodeSupport||e&&e.unicodeSupport)&&i.host&&(n.domainHost||e&&e.domainHost)&&!1===s&&function(e){let t=0;for(let n=0,r=e.length;n<r;++n)if(t=e.charCodeAt(n),t>126||d[t])return!0;return!1}(i.host))try{i.host=URL.domainToASCII(i.host.toLowerCase())}catch(e){i.error=i.error||"Host's domain name can not be converted to ASCII: "+e}(!e||e&&!e.skipNormalize)&&(a&&void 0!==i.scheme&&(i.scheme=unescape(i.scheme)),a&&void 0!==i.userinfo&&(i.userinfo=unescape(i.userinfo)),a&&void 0!==i.host&&(i.host=unescape(i.host)),void 0!==i.path&&i.path.length&&(i.path=escape(unescape(i.path))),void 0!==i.fragment&&i.fragment.length&&(i.fragment=encodeURI(decodeURIComponent(i.fragment)))),e&&e.parse&&e.parse(i,n)}else i.error=i.error||"URI can not be parsed.";return i}const p={SCHEMES:c,normalize:function(e,t){return"string"==typeof e?e=u(h(e,t),t):"object"==typeof e&&(e=h(u(e,t),t)),e},resolve:function(e,t,n){const r=Object.assign({scheme:"null"},n);return u(l(h(e,r),h(t,r),r,!0),{...r,skipEscape:!0})},resolveComponents:l,equal:function(e,t,n){return"string"==typeof e?(e=unescape(e),e=u(s(h(e,n),!0),{...n,skipEscape:!0})):"object"==typeof e&&(e=u(s(e,!0),{...n,skipEscape:!0})),"string"==typeof t?(t=unescape(t),t=u(s(h(t,n),!0),{...n,skipEscape:!0})):"object"==typeof t&&(t=u(s(t,!0),{...n,skipEscape:!0})),e.toLowerCase()===t.toLowerCase()},serialize:u,parse:h};e.exports=p,e.exports.default=p,e.exports.fastUri=p},8643:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(9029),o=n(4227),i=n(6250),a={keyword:"enum",schemaType:"array",$data:!0,error:{message:"must be equal to one of the allowed values",params:({schemaCode:e})=>r._`{allowedValues: ${e}}`},code(e){const{gen:t,data:n,$data:a,schema:s,schemaCode:c,it:l}=e;if(!a&&0===s.length)throw new Error("enum must have non-empty array");const u=s.length>=l.opts.loopEnum;let d;const f=()=>null!=d?d:d=(0,o.useFunc)(t,i.default);let h;if(u||a)h=t.let("valid"),e.block$data(h,(function(){t.assign(h,!1),t.forOf("v",c,(e=>t.if(r._`${f()}(${n}, ${e})`,(()=>t.assign(h,!0).break()))))}));else{if(!Array.isArray(s))throw new Error("ajv implementation error");const e=t.const("vSchema",c);h=(0,r.or)(...s.map(((t,o)=>function(e,t){const o=s[t];return"object"==typeof o&&null!==o?r._`${f()}(${n}, ${e}[${t}])`:r._`${n} === ${o}`}(e,o))))}e.pass(h)}};t.default=a},8660:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(5765),o=n(9029),i=n(2023),a=n(4227),s={keyword:"additionalProperties",type:["object"],schemaType:["boolean","object"],allowUndefined:!0,trackErrors:!0,error:{message:"must NOT have additional properties",params:({params:e})=>o._`{additionalProperty: ${e.additionalProperty}}`},code(e){const{gen:t,schema:n,parentSchema:s,data:c,errsCount:l,it:u}=e;if(!l)throw new Error("ajv implementation error");const{allErrors:d,opts:f}=u;if(u.props=!0,"all"!==f.removeAdditional&&(0,a.alwaysValidSchema)(u,n))return;const h=(0,r.allSchemaProperties)(s.properties),p=(0,r.allSchemaProperties)(s.patternProperties);function m(e){t.code(o._`delete ${c}[${e}]`)}function g(r){if("all"===f.removeAdditional||f.removeAdditional&&!1===n)m(r);else{if(!1===n)return e.setParams({additionalProperty:r}),e.error(),void(d||t.break());if("object"==typeof n&&!(0,a.alwaysValidSchema)(u,n)){const n=t.name("valid");"failing"===f.removeAdditional?(y(r,n,!1),t.if((0,o.not)(n),(()=>{e.reset(),m(r)}))):(y(r,n),d||t.if((0,o.not)(n),(()=>t.break())))}}}function y(t,n,r){const o={keyword:"additionalProperties",dataProp:t,dataPropType:a.Type.Str};!1===r&&Object.assign(o,{compositeRule:!0,createErrors:!1,allErrors:!1}),e.subschema(o,n)}t.forIn("key",c,(n=>{h.length||p.length?t.if(function(n){let i;if(h.length>8){const e=(0,a.schemaRefOrVal)(u,s.properties,"properties");i=(0,r.isOwnProperty)(t,e,n)}else i=h.length?(0,o.or)(...h.map((e=>o._`${n} === ${e}`))):o.nil;return p.length&&(i=(0,o.or)(i,...p.map((t=>o._`${(0,r.usePattern)(e,t)}.test(${n})`)))),(0,o.not)(i)}(n),(()=>g(n))):g(n)})),e.ok(o._`${l} === ${i.default.errors}`)}};t.default=s},8708:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.extendErrors=t.resetErrorsCount=t.reportExtraError=t.reportError=t.keyword$DataError=t.keywordError=void 0;const r=n(9029),o=n(4227),i=n(2023);function a(e,t){const n=e.const("err",t);e.if(r._`${i.default.vErrors} === null`,(()=>e.assign(i.default.vErrors,r._`[${n}]`)),r._`${i.default.vErrors}.push(${n})`),e.code(r._`${i.default.errors}++`)}function s(e,t){const{gen:n,validateName:o,schemaEnv:i}=e;i.$async?n.throw(r._`new ${e.ValidationError}(${t})`):(n.assign(r._`${o}.errors`,t),n.return(!1))}t.keywordError={message:({keyword:e})=>r.str`must pass "${e}" keyword validation`},t.keyword$DataError={message:({keyword:e,schemaType:t})=>t?r.str`"${e}" keyword must be ${t} ($data)`:r.str`"${e}" keyword is invalid ($data)`},t.reportError=function(e,n=t.keywordError,o,i){const{it:c}=e,{gen:u,compositeRule:d,allErrors:f}=c,h=l(e,n,o);(null!=i?i:d||f)?a(u,h):s(c,r._`[${h}]`)},t.reportExtraError=function(e,n=t.keywordError,r){const{it:o}=e,{gen:c,compositeRule:u,allErrors:d}=o;a(c,l(e,n,r)),u||d||s(o,i.default.vErrors)},t.resetErrorsCount=function(e,t){e.assign(i.default.errors,t),e.if(r._`${i.default.vErrors} !== null`,(()=>e.if(t,(()=>e.assign(r._`${i.default.vErrors}.length`,t)),(()=>e.assign(i.default.vErrors,null)))))},t.extendErrors=function({gen:e,keyword:t,schemaValue:n,data:o,errsCount:a,it:s}){if(void 0===a)throw new Error("ajv implementation error");const c=e.name("err");e.forRange("i",a,i.default.errors,(a=>{e.const(c,r._`${i.default.vErrors}[${a}]`),e.if(r._`${c}.instancePath === undefined`,(()=>e.assign(r._`${c}.instancePath`,(0,r.strConcat)(i.default.instancePath,s.errorPath)))),e.assign(r._`${c}.schemaPath`,r.str`${s.errSchemaPath}/${t}`),s.opts.verbose&&(e.assign(r._`${c}.schema`,n),e.assign(r._`${c}.data`,o))}))};const c={keyword:new r.Name("keyword"),schemaPath:new r.Name("schemaPath"),params:new r.Name("params"),propertyName:new r.Name("propertyName"),message:new r.Name("message"),schema:new r.Name("schema"),parentSchema:new r.Name("parentSchema")};function l(e,t,n){const{createErrors:o}=e.it;return!1===o?r._`{}`:function(e,t,n={}){const{gen:o,it:a}=e,s=[u(a,n),d(e,n)];return function(e,{params:t,message:n},o){const{keyword:a,data:s,schemaValue:l,it:u}=e,{opts:d,propertyName:f,topSchemaRef:h,schemaPath:p}=u;o.push([c.keyword,a],[c.params,"function"==typeof t?t(e):t||r._`{}`]),d.messages&&o.push([c.message,"function"==typeof n?n(e):n]);d.verbose&&o.push([c.schema,l],[c.parentSchema,r._`${h}${p}`],[i.default.data,s]);f&&o.push([c.propertyName,f])}(e,t,s),o.object(...s)}(e,t,n)}function u({errorPath:e},{instancePath:t}){const n=t?r.str`${e}${(0,o.getErrorPath)(t,o.Type.Str)}`:e;return[i.default.instancePath,(0,r.strConcat)(i.default.instancePath,n)]}function d({keyword:e,it:{errSchemaPath:t}},{schemaPath:n,parentSchema:i}){let a=i?t:r.str`${t}/${e}`;return n&&(a=r.str`${a}${(0,o.getErrorPath)(n,o.Type.Str)}`),[c.schemaPath,a]}},8727:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.boolOrEmptySchema=t.topBoolOrEmptySchema=void 0;const r=n(8708),o=n(9029),i=n(2023),a={message:"boolean schema is false"};function s(e,t){const{gen:n,data:o}=e,i={gen:n,keyword:"false schema",data:o,schema:!1,schemaCode:!1,schemaValue:!1,params:{},it:e};(0,r.reportError)(i,a,void 0,t)}t.topBoolOrEmptySchema=function(e){const{gen:t,schema:n,validateName:r}=e;!1===n?s(e,!1):"object"==typeof n&&!0===n.$async?t.return(i.default.data):(t.assign(o._`${r}.errors`,null),t.return(!0))},t.boolOrEmptySchema=function(e,t){const{gen:n,schema:r}=e;!1===r?(n.var(t,!1),s(e)):n.var(t,!0)}},8968:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),n(1635).__exportStar(n(3741),t)},9029:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.or=t.and=t.not=t.CodeGen=t.operators=t.varKinds=t.ValueScopeName=t.ValueScope=t.Scope=t.Name=t.regexpCode=t.stringify=t.getProperty=t.nil=t.strConcat=t.str=t._=void 0;const r=n(1520),o=n(7845);var i=n(1520);Object.defineProperty(t,"_",{enumerable:!0,get:function(){return i._}}),Object.defineProperty(t,"str",{enumerable:!0,get:function(){return i.str}}),Object.defineProperty(t,"strConcat",{enumerable:!0,get:function(){return i.strConcat}}),Object.defineProperty(t,"nil",{enumerable:!0,get:function(){return i.nil}}),Object.defineProperty(t,"getProperty",{enumerable:!0,get:function(){return i.getProperty}}),Object.defineProperty(t,"stringify",{enumerable:!0,get:function(){return i.stringify}}),Object.defineProperty(t,"regexpCode",{enumerable:!0,get:function(){return i.regexpCode}}),Object.defineProperty(t,"Name",{enumerable:!0,get:function(){return i.Name}});var a=n(7845);Object.defineProperty(t,"Scope",{enumerable:!0,get:function(){return a.Scope}}),Object.defineProperty(t,"ValueScope",{enumerable:!0,get:function(){return a.ValueScope}}),Object.defineProperty(t,"ValueScopeName",{enumerable:!0,get:function(){return a.ValueScopeName}}),Object.defineProperty(t,"varKinds",{enumerable:!0,get:function(){return a.varKinds}}),t.operators={GT:new r._Code(">"),GTE:new r._Code(">="),LT:new r._Code("<"),LTE:new r._Code("<="),EQ:new r._Code("==="),NEQ:new r._Code("!=="),NOT:new r._Code("!"),OR:new r._Code("||"),AND:new r._Code("&&"),ADD:new r._Code("+")};class s{optimizeNodes(){return this}optimizeNames(e,t){return this}}class c extends s{constructor(e,t,n){super(),this.varKind=e,this.name=t,this.rhs=n}render({es5:e,_n:t}){const n=e?o.varKinds.var:this.varKind,r=void 0===this.rhs?"":` = ${this.rhs}`;return`${n} ${this.name}${r};`+t}optimizeNames(e,t){if(e[this.name.str])return this.rhs&&(this.rhs=k(this.rhs,e,t)),this}get names(){return this.rhs instanceof r._CodeOrName?this.rhs.names:{}}}class l extends s{constructor(e,t,n){super(),this.lhs=e,this.rhs=t,this.sideEffects=n}render({_n:e}){return`${this.lhs} = ${this.rhs};`+e}optimizeNames(e,t){if(!(this.lhs instanceof r.Name)||e[this.lhs.str]||this.sideEffects)return this.rhs=k(this.rhs,e,t),this}get names(){return T(this.lhs instanceof r.Name?{}:{...this.lhs.names},this.rhs)}}class u extends l{constructor(e,t,n,r){super(e,n,r),this.op=t}render({_n:e}){return`${this.lhs} ${this.op}= ${this.rhs};`+e}}class d extends s{constructor(e){super(),this.label=e,this.names={}}render({_n:e}){return`${this.label}:`+e}}class f extends s{constructor(e){super(),this.label=e,this.names={}}render({_n:e}){return`break${this.label?` ${this.label}`:""};`+e}}class h extends s{constructor(e){super(),this.error=e}render({_n:e}){return`throw ${this.error};`+e}get names(){return this.error.names}}class p extends s{constructor(e){super(),this.code=e}render({_n:e}){return`${this.code};`+e}optimizeNodes(){return`${this.code}`?this:void 0}optimizeNames(e,t){return this.code=k(this.code,e,t),this}get names(){return this.code instanceof r._CodeOrName?this.code.names:{}}}class m extends s{constructor(e=[]){super(),this.nodes=e}render(e){return this.nodes.reduce(((t,n)=>t+n.render(e)),"")}optimizeNodes(){const{nodes:e}=this;let t=e.length;for(;t--;){const n=e[t].optimizeNodes();Array.isArray(n)?e.splice(t,1,...n):n?e[t]=n:e.splice(t,1)}return e.length>0?this:void 0}optimizeNames(e,t){const{nodes:n}=this;let r=n.length;for(;r--;){const o=n[r];o.optimizeNames(e,t)||(_(e,o.names),n.splice(r,1))}return n.length>0?this:void 0}get names(){return this.nodes.reduce(((e,t)=>S(e,t.names)),{})}}class g extends m{render(e){return"{"+e._n+super.render(e)+"}"+e._n}}class y extends m{}class A extends g{}A.kind="else";class v extends g{constructor(e,t){super(t),this.condition=e}render(e){let t=`if(${this.condition})`+super.render(e);return this.else&&(t+="else "+this.else.render(e)),t}optimizeNodes(){super.optimizeNodes();const e=this.condition;if(!0===e)return this.nodes;let t=this.else;if(t){const e=t.optimizeNodes();t=this.else=Array.isArray(e)?new A(e):e}return t?!1===e?t instanceof v?t:t.nodes:this.nodes.length?this:new v(D(e),t instanceof v?[t]:t.nodes):!1!==e&&this.nodes.length?this:void 0}optimizeNames(e,t){var n;if(this.else=null===(n=this.else)||void 0===n?void 0:n.optimizeNames(e,t),super.optimizeNames(e,t)||this.else)return this.condition=k(this.condition,e,t),this}get names(){const e=super.names;return T(e,this.condition),this.else&&S(e,this.else.names),e}}v.kind="if";class b extends g{}b.kind="for";class w extends b{constructor(e){super(),this.iteration=e}render(e){return`for(${this.iteration})`+super.render(e)}optimizeNames(e,t){if(super.optimizeNames(e,t))return this.iteration=k(this.iteration,e,t),this}get names(){return S(super.names,this.iteration.names)}}class M extends b{constructor(e,t,n,r){super(),this.varKind=e,this.name=t,this.from=n,this.to=r}render(e){const t=e.es5?o.varKinds.var:this.varKind,{name:n,from:r,to:i}=this;return`for(${t} ${n}=${r}; ${n}<${i}; ${n}++)`+super.render(e)}get names(){const e=T(super.names,this.from);return T(e,this.to)}}class C extends b{constructor(e,t,n,r){super(),this.loop=e,this.varKind=t,this.name=n,this.iterable=r}render(e){return`for(${this.varKind} ${this.name} ${this.loop} ${this.iterable})`+super.render(e)}optimizeNames(e,t){if(super.optimizeNames(e,t))return this.iterable=k(this.iterable,e,t),this}get names(){return S(super.names,this.iterable.names)}}class E extends g{constructor(e,t,n){super(),this.name=e,this.args=t,this.async=n}render(e){return`${this.async?"async ":""}function ${this.name}(${this.args})`+super.render(e)}}E.kind="func";class L extends m{render(e){return"return "+super.render(e)}}L.kind="return";class j extends g{render(e){let t="try"+super.render(e);return this.catch&&(t+=this.catch.render(e)),this.finally&&(t+=this.finally.render(e)),t}optimizeNodes(){var e,t;return super.optimizeNodes(),null===(e=this.catch)||void 0===e||e.optimizeNodes(),null===(t=this.finally)||void 0===t||t.optimizeNodes(),this}optimizeNames(e,t){var n,r;return super.optimizeNames(e,t),null===(n=this.catch)||void 0===n||n.optimizeNames(e,t),null===(r=this.finally)||void 0===r||r.optimizeNames(e,t),this}get names(){const e=super.names;return this.catch&&S(e,this.catch.names),this.finally&&S(e,this.finally.names),e}}class x extends g{constructor(e){super(),this.error=e}render(e){return`catch(${this.error})`+super.render(e)}}x.kind="catch";class N extends g{render(e){return"finally"+super.render(e)}}N.kind="finally";function S(e,t){for(const n in t)e[n]=(e[n]||0)+(t[n]||0);return e}function T(e,t){return t instanceof r._CodeOrName?S(e,t.names):e}function k(e,t,n){return e instanceof r.Name?i(e):(o=e)instanceof r._Code&&o._items.some((e=>e instanceof r.Name&&1===t[e.str]&&void 0!==n[e.str]))?new r._Code(e._items.reduce(((e,t)=>(t instanceof r.Name&&(t=i(t)),t instanceof r._Code?e.push(...t._items):e.push(t),e)),[])):e;var o;function i(e){const r=n[e.str];return void 0===r||1!==t[e.str]?e:(delete t[e.str],r)}}function _(e,t){for(const n in t)e[n]=(e[n]||0)-(t[n]||0)}function D(e){return"boolean"==typeof e||"number"==typeof e||null===e?!e:r._`!${B(e)}`}t.CodeGen=class{constructor(e,t={}){this._values={},this._blockStarts=[],this._constants={},this.opts={...t,_n:t.lines?"\n":""},this._extScope=e,this._scope=new o.Scope({parent:e}),this._nodes=[new y]}toString(){return this._root.render(this.opts)}name(e){return this._scope.name(e)}scopeName(e){return this._extScope.name(e)}scopeValue(e,t){const n=this._extScope.value(e,t);return(this._values[n.prefix]||(this._values[n.prefix]=new Set)).add(n),n}getScopeValue(e,t){return this._extScope.getValue(e,t)}scopeRefs(e){return this._extScope.scopeRefs(e,this._values)}scopeCode(){return this._extScope.scopeCode(this._values)}_def(e,t,n,r){const o=this._scope.toName(t);return void 0!==n&&r&&(this._constants[o.str]=n),this._leafNode(new c(e,o,n)),o}const(e,t,n){return this._def(o.varKinds.const,e,t,n)}let(e,t,n){return this._def(o.varKinds.let,e,t,n)}var(e,t,n){return this._def(o.varKinds.var,e,t,n)}assign(e,t,n){return this._leafNode(new l(e,t,n))}add(e,n){return this._leafNode(new u(e,t.operators.ADD,n))}code(e){return"function"==typeof e?e():e!==r.nil&&this._leafNode(new p(e)),this}object(...e){const t=["{"];for(const[n,o]of e)t.length>1&&t.push(","),t.push(n),(n!==o||this.opts.es5)&&(t.push(":"),(0,r.addCodeArg)(t,o));return t.push("}"),new r._Code(t)}if(e,t,n){if(this._blockNode(new v(e)),t&&n)this.code(t).else().code(n).endIf();else if(t)this.code(t).endIf();else if(n)throw new Error('CodeGen: "else" body without "then" body');return this}elseIf(e){return this._elseNode(new v(e))}else(){return this._elseNode(new A)}endIf(){return this._endBlockNode(v,A)}_for(e,t){return this._blockNode(e),t&&this.code(t).endFor(),this}for(e,t){return this._for(new w(e),t)}forRange(e,t,n,r,i=(this.opts.es5?o.varKinds.var:o.varKinds.let)){const a=this._scope.toName(e);return this._for(new M(i,a,t,n),(()=>r(a)))}forOf(e,t,n,i=o.varKinds.const){const a=this._scope.toName(e);if(this.opts.es5){const e=t instanceof r.Name?t:this.var("_arr",t);return this.forRange("_i",0,r._`${e}.length`,(t=>{this.var(a,r._`${e}[${t}]`),n(a)}))}return this._for(new C("of",i,a,t),(()=>n(a)))}forIn(e,t,n,i=(this.opts.es5?o.varKinds.var:o.varKinds.const)){if(this.opts.ownProperties)return this.forOf(e,r._`Object.keys(${t})`,n);const a=this._scope.toName(e);return this._for(new C("in",i,a,t),(()=>n(a)))}endFor(){return this._endBlockNode(b)}label(e){return this._leafNode(new d(e))}break(e){return this._leafNode(new f(e))}return(e){const t=new L;if(this._blockNode(t),this.code(e),1!==t.nodes.length)throw new Error('CodeGen: "return" should have one node');return this._endBlockNode(L)}try(e,t,n){if(!t&&!n)throw new Error('CodeGen: "try" without "catch" and "finally"');const r=new j;if(this._blockNode(r),this.code(e),t){const e=this.name("e");this._currNode=r.catch=new x(e),t(e)}return n&&(this._currNode=r.finally=new N,this.code(n)),this._endBlockNode(x,N)}throw(e){return this._leafNode(new h(e))}block(e,t){return this._blockStarts.push(this._nodes.length),e&&this.code(e).endBlock(t),this}endBlock(e){const t=this._blockStarts.pop();if(void 0===t)throw new Error("CodeGen: not in self-balancing block");const n=this._nodes.length-t;if(n<0||void 0!==e&&n!==e)throw new Error(`CodeGen: wrong number of nodes: ${n} vs ${e} expected`);return this._nodes.length=t,this}func(e,t=r.nil,n,o){return this._blockNode(new E(e,t,n)),o&&this.code(o).endFunc(),this}endFunc(){return this._endBlockNode(E)}optimize(e=1){for(;e-- >0;)this._root.optimizeNodes(),this._root.optimizeNames(this._root.names,this._constants)}_leafNode(e){return this._currNode.nodes.push(e),this}_blockNode(e){this._currNode.nodes.push(e),this._nodes.push(e)}_endBlockNode(e,t){const n=this._currNode;if(n instanceof e||t&&n instanceof t)return this._nodes.pop(),this;throw new Error(`CodeGen: not in block "${t?`${e.kind}/${t.kind}`:e.kind}"`)}_elseNode(e){const t=this._currNode;if(!(t instanceof v))throw new Error('CodeGen: "else" without "if"');return this._currNode=t.else=e,this}get _root(){return this._nodes[0]}get _currNode(){const e=this._nodes;return e[e.length-1]}set _currNode(e){const t=this._nodes;t[t.length-1]=e}},t.not=D;const I=z(t.operators.AND);t.and=function(...e){return e.reduce(I)};const O=z(t.operators.OR);function z(e){return(t,n)=>t===r.nil?n:n===r.nil?t:r._`${B(t)} ${e} ${B(n)}`}function B(e){return e instanceof r.Name?e:r._`(${e})`}t.or=function(...e){return e.reduce(O)}},9358:(e,t,n)=>{"use strict";n.d(t,{A:()=>c});var r=n(1354),o=n.n(r),i=n(6314),a=n.n(i)()(o());a.push([e.id,"/* Using --addons-* prefix variables for consistency and to allow for overrides */\n:host {\n --addons-filetreediff-color: var(\n --readthedocs-filetreediff-color,\n rgb(252, 252, 252)\n );\n --addons-filetreediff-background-color: var(\n --readthedocs-filetreediff-background-color,\n rgb(39, 39, 37)\n );\n --addons-filetreediff-border-color: var(\n --readthedocs-filetreediff-border-color,\n #ddd\n );\n --addons-filetreediff-font-size: var(\n --readthedocs-filetreediff-font-size,\n 0.85rem\n );\n --addons-filetreediff-label-color: var(\n --readthedocs-filetreediff-label-color,\n #333\n );\n}\n\n:host > div {\n position: fixed;\n top: 0;\n right: 1rem;\n color: var(--addons-filetreediff-color);\n background-color: var(--addons-filetreediff-background-color);\n padding: 0.25rem 0.75rem;\n box-shadow: 0 0.1rem 0.25rem rgba(0, 0, 0, 0.1);\n z-index: 2000;\n border-radius: 0 0 0.375rem 0.375rem;\n font-size: var(--addons-filetreediff-font-size);\n}\n\n:host > div > div {\n display: flex;\n gap: 0.75rem;\n align-items: center;\n}\n\n:host > div > div > select {\n flex: 1;\n padding: 0.25rem 0.5rem;\n border: 0;\n color: var(--addons-filetreediff-color);\n background-color: var(--addons-filetreediff-background-color);\n border-radius: 0.25rem;\n appearance: revert;\n}\n\n:host > div > div > label {\n display: flex;\n align-items: center;\n gap: 0.35rem;\n white-space: nowrap;\n cursor: pointer;\n}\n\n:host > div > div > label > input {\n margin: 0;\n}\n\n:host > div > div > span:not(.chunks) {\n display: flex;\n width: 0.5rem;\n cursor: pointer;\n}\n\n:host > div > div > span.chunks {\n color: var(--readthedocs-filetreediff-chunks-color, #27ae60);\n font-weight: bold;\n display: flex;\n min-width: 2.5rem;\n}\n\n:host > div > div > a {\n width: 0.8rem;\n color: var(--addons-filetreediff-color);\n}\n\n:host > div > div > a.version {\n width: auto;\n text-decoration: none;\n color: var(--readthedocs-filetreediff-chunks-color, #27ae60);\n}\n\n/* Expand to full width on smaller screens */\n@media (max-width: 768px) {\n :host > div {\n width: calc(100% - 1rem);\n margin: 0;\n right: 0;\n border-radius: 0;\n padding: 0.5rem;\n }\n\n :host > div > div > select {\n width: 100%;\n border: 0;\n }\n}\n","",{version:3,sources:["webpack://./src/filetreediff.css"],names:[],mappings:"AAAA,iFAAiF;AACjF;EACE;;;GAGC;EACD;;;GAGC;EACD;;;GAGC;EACD;;;GAGC;EACD;;;GAGC;AACH;;AAEA;EACE,eAAe;EACf,MAAM;EACN,WAAW;EACX,uCAAuC;EACvC,6DAA6D;EAC7D,wBAAwB;EACxB,+CAA+C;EAC/C,aAAa;EACb,oCAAoC;EACpC,+CAA+C;AACjD;;AAEA;EACE,aAAa;EACb,YAAY;EACZ,mBAAmB;AACrB;;AAEA;EACE,OAAO;EACP,uBAAuB;EACvB,SAAS;EACT,uCAAuC;EACvC,6DAA6D;EAC7D,sBAAsB;EACtB,kBAAkB;AACpB;;AAEA;EACE,aAAa;EACb,mBAAmB;EACnB,YAAY;EACZ,mBAAmB;EACnB,eAAe;AACjB;;AAEA;EACE,SAAS;AACX;;AAEA;EACE,aAAa;EACb,aAAa;EACb,eAAe;AACjB;;AAEA;EACE,4DAA4D;EAC5D,iBAAiB;EACjB,aAAa;EACb,iBAAiB;AACnB;;AAEA;EACE,aAAa;EACb,uCAAuC;AACzC;;AAEA;EACE,WAAW;EACX,qBAAqB;EACrB,4DAA4D;AAC9D;;AAEA,4CAA4C;AAC5C;EACE;IACE,wBAAwB;IACxB,SAAS;IACT,QAAQ;IACR,gBAAgB;IAChB,eAAe;EACjB;;EAEA;IACE,WAAW;IACX,SAAS;EACX;AACF",sourcesContent:["/* Using --addons-* prefix variables for consistency and to allow for overrides */\n:host {\n --addons-filetreediff-color: var(\n --readthedocs-filetreediff-color,\n rgb(252, 252, 252)\n );\n --addons-filetreediff-background-color: var(\n --readthedocs-filetreediff-background-color,\n rgb(39, 39, 37)\n );\n --addons-filetreediff-border-color: var(\n --readthedocs-filetreediff-border-color,\n #ddd\n );\n --addons-filetreediff-font-size: var(\n --readthedocs-filetreediff-font-size,\n 0.85rem\n );\n --addons-filetreediff-label-color: var(\n --readthedocs-filetreediff-label-color,\n #333\n );\n}\n\n:host > div {\n position: fixed;\n top: 0;\n right: 1rem;\n color: var(--addons-filetreediff-color);\n background-color: var(--addons-filetreediff-background-color);\n padding: 0.25rem 0.75rem;\n box-shadow: 0 0.1rem 0.25rem rgba(0, 0, 0, 0.1);\n z-index: 2000;\n border-radius: 0 0 0.375rem 0.375rem;\n font-size: var(--addons-filetreediff-font-size);\n}\n\n:host > div > div {\n display: flex;\n gap: 0.75rem;\n align-items: center;\n}\n\n:host > div > div > select {\n flex: 1;\n padding: 0.25rem 0.5rem;\n border: 0;\n color: var(--addons-filetreediff-color);\n background-color: var(--addons-filetreediff-background-color);\n border-radius: 0.25rem;\n appearance: revert;\n}\n\n:host > div > div > label {\n display: flex;\n align-items: center;\n gap: 0.35rem;\n white-space: nowrap;\n cursor: pointer;\n}\n\n:host > div > div > label > input {\n margin: 0;\n}\n\n:host > div > div > span:not(.chunks) {\n display: flex;\n width: 0.5rem;\n cursor: pointer;\n}\n\n:host > div > div > span.chunks {\n color: var(--readthedocs-filetreediff-chunks-color, #27ae60);\n font-weight: bold;\n display: flex;\n min-width: 2.5rem;\n}\n\n:host > div > div > a {\n width: 0.8rem;\n color: var(--addons-filetreediff-color);\n}\n\n:host > div > div > a.version {\n width: auto;\n text-decoration: none;\n color: var(--readthedocs-filetreediff-chunks-color, #27ae60);\n}\n\n/* Expand to full width on smaller screens */\n@media (max-width: 768px) {\n :host > div {\n width: calc(100% - 1rem);\n margin: 0;\n right: 0;\n border-radius: 0;\n padding: 0.5rem;\n }\n\n :host > div > div > select {\n width: 100%;\n border: 0;\n }\n}\n"],sourceRoot:""}]);var s=new CSSStyleSheet;s.replaceSync(a.toString());const c=s},9713:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(9029),o=n(4227),i={keyword:"propertyNames",type:"object",schemaType:["object","boolean"],error:{message:"property name must be valid",params:({params:e})=>r._`{propertyName: ${e.propertyName}}`},code(e){const{gen:t,schema:n,data:i,it:a}=e;if((0,o.alwaysValidSchema)(a,n))return;const s=t.name("valid");t.forIn("key",i,(n=>{e.setParams({propertyName:n}),e.subschema({keyword:"propertyNames",data:n,dataTypes:["string"],propertyName:n,compositeRule:!0},s),t.if((0,r.not)(s),(()=>{e.error(!0),a.allErrors||t.break()}))})),e.ok(s)}};t.default=i},9804:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(8274),o=new Set;o.add("IMG"),o.add("VIDEO"),o.add("IFRAME"),o.add("OBJECT"),o.add("SVG");var i=new Set;i.add("BDO"),i.add("BDI"),i.add("Q"),i.add("CITE"),i.add("CODE"),i.add("DATA"),i.add("TIME"),i.add("VAR"),i.add("DFN"),i.add("ABBR"),i.add("STRONG"),i.add("EM"),i.add("BIG"),i.add("SMALL"),i.add("MARK"),i.add("SUB"),i.add("SUP"),i.add("SAMP"),i.add("KBD"),i.add("B"),i.add("I"),i.add("S"),i.add("U"),i.add("SPAN"),t.optionsToConfig=function(e){var t=void 0===e?{}:e,n=t.addedClass,a=void 0===n?"vdd-added":n,s=t.modifiedClass,c=void 0===s?"vdd-modified":s,l=t.removedClass,u=void 0===l?"vdd-removed":l,d=t.skipModified,f=void 0!==d&&d,h=t.skipChildren,p=t.skipSelf,m=t.diffText;return{addedClass:a,diffText:void 0===m?r.diffText:m,modifiedClass:c,removedClass:u,skipModified:f,skipChildren:function(e){if(!r.isElement(e)&&!r.isDocumentFragment(e)&&!r.isDocument(e))return!0;if(h){var t=h(e);if("boolean"==typeof t)return t}return o.has(e.nodeName)},skipSelf:function(e){if(!r.isText(e)&&!r.isElement(e))return!0;if(p){var t=p(e);if("boolean"==typeof t)return t}return i.has(e.nodeName)}}}},9857:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.contentVocabulary=t.metadataVocabulary=void 0,t.metadataVocabulary=["title","description","default","deprecated","readOnly","writeOnly","examples"],t.contentVocabulary=["contentMediaType","contentEncoding","contentSchema"]}},t={};function n(r){var o=t[r];if(void 0!==o)return o.exports;var i=t[r]={id:r,exports:{}};return e[r].call(i.exports,i,i.exports,n),i.exports}n.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return n.d(t,{a:t}),t},n.d=(e,t)=>{for(var r in t)n.o(t,r)&&!n.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),n.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},(()=>{"use strict";
|
|
/**
|
|
* @license
|
|
* Copyright 2019 Google LLC
|
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
*/
|
|
const e=globalThis,t=e.ShadowRoot&&(void 0===e.ShadyCSS||e.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,r=Symbol(),o=new WeakMap;class i{constructor(e,t,n){if(this._$cssResult$=!0,n!==r)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=e,this.t=t}get styleSheet(){let e=this.o;const n=this.t;if(t&&void 0===e){const t=void 0!==n&&1===n.length;t&&(e=o.get(n)),void 0===e&&((this.o=e=new CSSStyleSheet).replaceSync(this.cssText),t&&o.set(n,e))}return e}toString(){return this.cssText}}const a=(n,r)=>{if(t)n.adoptedStyleSheets=r.map((e=>e instanceof CSSStyleSheet?e:e.styleSheet));else for(const t of r){const r=document.createElement("style"),o=e.litNonce;void 0!==o&&r.setAttribute("nonce",o),r.textContent=t.cssText,n.appendChild(r)}},s=t?e=>e:e=>e instanceof CSSStyleSheet?(e=>{let t="";for(const n of e.cssRules)t+=n.cssText;return(e=>new i("string"==typeof e?e:e+"",void 0,r))(t)})(e):e,{is:c,defineProperty:l,getOwnPropertyDescriptor:u,getOwnPropertyNames:d,getOwnPropertySymbols:f,getPrototypeOf:h}=Object,p=globalThis,m=p.trustedTypes,g=m?m.emptyScript:"",y=p.reactiveElementPolyfillSupport,A=(e,t)=>e,v={toAttribute(e,t){switch(t){case Boolean:e=e?g:null;break;case Object:case Array:e=null==e?e:JSON.stringify(e)}return e},fromAttribute(e,t){let n=e;switch(t){case Boolean:n=null!==e;break;case Number:n=null===e?null:Number(e);break;case Object:case Array:try{n=JSON.parse(e)}catch(e){n=null}}return n}},b=(e,t)=>!c(e,t),w={attribute:!0,type:String,converter:v,reflect:!1,hasChanged:b};Symbol.metadata??=Symbol("metadata"),p.litPropertyMetadata??=new WeakMap;class M extends HTMLElement{static addInitializer(e){this._$Ei(),(this.l??=[]).push(e)}static get observedAttributes(){return this.finalize(),this._$Eh&&[...this._$Eh.keys()]}static createProperty(e,t=w){if(t.state&&(t.attribute=!1),this._$Ei(),this.elementProperties.set(e,t),!t.noAccessor){const n=Symbol(),r=this.getPropertyDescriptor(e,n,t);void 0!==r&&l(this.prototype,e,r)}}static getPropertyDescriptor(e,t,n){const{get:r,set:o}=u(this.prototype,e)??{get(){return this[t]},set(e){this[t]=e}};return{get(){return r?.call(this)},set(t){const i=r?.call(this);o.call(this,t),this.requestUpdate(e,i,n)},configurable:!0,enumerable:!0}}static getPropertyOptions(e){return this.elementProperties.get(e)??w}static _$Ei(){if(this.hasOwnProperty(A("elementProperties")))return;const e=h(this);e.finalize(),void 0!==e.l&&(this.l=[...e.l]),this.elementProperties=new Map(e.elementProperties)}static finalize(){if(this.hasOwnProperty(A("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(A("properties"))){const e=this.properties,t=[...d(e),...f(e)];for(const n of t)this.createProperty(n,e[n])}const e=this[Symbol.metadata];if(null!==e){const t=litPropertyMetadata.get(e);if(void 0!==t)for(const[e,n]of t)this.elementProperties.set(e,n)}this._$Eh=new Map;for(const[e,t]of this.elementProperties){const n=this._$Eu(e,t);void 0!==n&&this._$Eh.set(n,e)}this.elementStyles=this.finalizeStyles(this.styles)}static finalizeStyles(e){const t=[];if(Array.isArray(e)){const n=new Set(e.flat(1/0).reverse());for(const e of n)t.unshift(s(e))}else void 0!==e&&t.push(s(e));return t}static _$Eu(e,t){const n=t.attribute;return!1===n?void 0:"string"==typeof n?n:"string"==typeof e?e.toLowerCase():void 0}constructor(){super(),this._$Ep=void 0,this.isUpdatePending=!1,this.hasUpdated=!1,this._$Em=null,this._$Ev()}_$Ev(){this._$ES=new Promise((e=>this.enableUpdating=e)),this._$AL=new Map,this._$E_(),this.requestUpdate(),this.constructor.l?.forEach((e=>e(this)))}addController(e){(this._$EO??=new Set).add(e),void 0!==this.renderRoot&&this.isConnected&&e.hostConnected?.()}removeController(e){this._$EO?.delete(e)}_$E_(){const e=new Map,t=this.constructor.elementProperties;for(const n of t.keys())this.hasOwnProperty(n)&&(e.set(n,this[n]),delete this[n]);e.size>0&&(this._$Ep=e)}createRenderRoot(){const e=this.shadowRoot??this.attachShadow(this.constructor.shadowRootOptions);return a(e,this.constructor.elementStyles),e}connectedCallback(){this.renderRoot??=this.createRenderRoot(),this.enableUpdating(!0),this._$EO?.forEach((e=>e.hostConnected?.()))}enableUpdating(e){}disconnectedCallback(){this._$EO?.forEach((e=>e.hostDisconnected?.()))}attributeChangedCallback(e,t,n){this._$AK(e,n)}_$EC(e,t){const n=this.constructor.elementProperties.get(e),r=this.constructor._$Eu(e,n);if(void 0!==r&&!0===n.reflect){const o=(void 0!==n.converter?.toAttribute?n.converter:v).toAttribute(t,n.type);this._$Em=e,null==o?this.removeAttribute(r):this.setAttribute(r,o),this._$Em=null}}_$AK(e,t){const n=this.constructor,r=n._$Eh.get(e);if(void 0!==r&&this._$Em!==r){const e=n.getPropertyOptions(r),o="function"==typeof e.converter?{fromAttribute:e.converter}:void 0!==e.converter?.fromAttribute?e.converter:v;this._$Em=r,this[r]=o.fromAttribute(t,e.type),this._$Em=null}}requestUpdate(e,t,n){if(void 0!==e){if(n??=this.constructor.getPropertyOptions(e),!(n.hasChanged??b)(this[e],t))return;this.P(e,t,n)}!1===this.isUpdatePending&&(this._$ES=this._$ET())}P(e,t,n){this._$AL.has(e)||this._$AL.set(e,t),!0===n.reflect&&this._$Em!==e&&(this._$Ej??=new Set).add(e)}async _$ET(){this.isUpdatePending=!0;try{await this._$ES}catch(e){Promise.reject(e)}const e=this.scheduleUpdate();return null!=e&&await e,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){if(!this.isUpdatePending)return;if(!this.hasUpdated){if(this.renderRoot??=this.createRenderRoot(),this._$Ep){for(const[e,t]of this._$Ep)this[e]=t;this._$Ep=void 0}const e=this.constructor.elementProperties;if(e.size>0)for(const[t,n]of e)!0!==n.wrapped||this._$AL.has(t)||void 0===this[t]||this.P(t,this[t],n)}let e=!1;const t=this._$AL;try{e=this.shouldUpdate(t),e?(this.willUpdate(t),this._$EO?.forEach((e=>e.hostUpdate?.())),this.update(t)):this._$EU()}catch(t){throw e=!1,this._$EU(),t}e&&this._$AE(t)}willUpdate(e){}_$AE(e){this._$EO?.forEach((e=>e.hostUpdated?.())),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(e)),this.updated(e)}_$EU(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$ES}shouldUpdate(e){return!0}update(e){this._$Ej&&=this._$Ej.forEach((e=>this._$EC(e,this[e]))),this._$EU()}updated(e){}firstUpdated(e){}}M.elementStyles=[],M.shadowRootOptions={mode:"open"},M[A("elementProperties")]=new Map,M[A("finalized")]=new Map,y?.({ReactiveElement:M}),(p.reactiveElementVersions??=[]).push("2.0.4");
|
|
/**
|
|
* @license
|
|
* Copyright 2017 Google LLC
|
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
*/
|
|
const C=globalThis,E=C.trustedTypes,L=E?E.createPolicy("lit-html",{createHTML:e=>e}):void 0,j="$lit$",x=`lit$${Math.random().toFixed(9).slice(2)}$`,N="?"+x,S=`<${N}>`,T=document,k=()=>T.createComment(""),_=e=>null===e||"object"!=typeof e&&"function"!=typeof e,D=Array.isArray,I=e=>D(e)||"function"==typeof e?.[Symbol.iterator],O="[ \t\n\f\r]",z=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,B=/-->/g,$=/>/g,P=RegExp(`>|${O}(?:([^\\s"'>=/]+)(${O}*=${O}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),R=/'/g,U=/"/g,Y=/^(?:script|style|textarea|title)$/i,Q=e=>(t,...n)=>({_$litType$:e,strings:t,values:n}),q=Q(1),F=(Q(2),Q(3),Symbol.for("lit-noChange")),G=Symbol.for("lit-nothing"),V=new WeakMap,W=T.createTreeWalker(T,129);function H(e,t){if(!D(e)||!e.hasOwnProperty("raw"))throw Error("invalid template strings array");return void 0!==L?L.createHTML(t):t}const Z=(e,t)=>{const n=e.length-1,r=[];let o,i=2===t?"<svg>":3===t?"<math>":"",a=z;for(let t=0;t<n;t++){const n=e[t];let s,c,l=-1,u=0;for(;u<n.length&&(a.lastIndex=u,c=a.exec(n),null!==c);)u=a.lastIndex,a===z?"!--"===c[1]?a=B:void 0!==c[1]?a=$:void 0!==c[2]?(Y.test(c[2])&&(o=RegExp("</"+c[2],"g")),a=P):void 0!==c[3]&&(a=P):a===P?">"===c[0]?(a=o??z,l=-1):void 0===c[1]?l=-2:(l=a.lastIndex-c[2].length,s=c[1],a=void 0===c[3]?P:'"'===c[3]?U:R):a===U||a===R?a=P:a===B||a===$?a=z:(a=P,o=void 0);const d=a===P&&e[t+1].startsWith("/>")?" ":"";i+=a===z?n+S:l>=0?(r.push(s),n.slice(0,l)+j+n.slice(l)+x+d):n+x+(-2===l?t:d)}return[H(e,i+(e[n]||"<?>")+(2===t?"</svg>":3===t?"</math>":"")),r]};class K{constructor({strings:e,_$litType$:t},n){let r;this.parts=[];let o=0,i=0;const a=e.length-1,s=this.parts,[c,l]=Z(e,t);if(this.el=K.createElement(c,n),W.currentNode=this.el.content,2===t||3===t){const e=this.el.content.firstChild;e.replaceWith(...e.childNodes)}for(;null!==(r=W.nextNode())&&s.length<a;){if(1===r.nodeType){if(r.hasAttributes())for(const e of r.getAttributeNames())if(e.endsWith(j)){const t=l[i++],n=r.getAttribute(e).split(x),a=/([.?@])?(.*)/.exec(t);s.push({type:1,index:o,name:a[2],strings:n,ctor:"."===a[1]?ne:"?"===a[1]?re:"@"===a[1]?oe:te}),r.removeAttribute(e)}else e.startsWith(x)&&(s.push({type:6,index:o}),r.removeAttribute(e));if(Y.test(r.tagName)){const e=r.textContent.split(x),t=e.length-1;if(t>0){r.textContent=E?E.emptyScript:"";for(let n=0;n<t;n++)r.append(e[n],k()),W.nextNode(),s.push({type:2,index:++o});r.append(e[t],k())}}}else if(8===r.nodeType)if(r.data===N)s.push({type:2,index:o});else{let e=-1;for(;-1!==(e=r.data.indexOf(x,e+1));)s.push({type:7,index:o}),e+=x.length-1}o++}}static createElement(e,t){const n=T.createElement("template");return n.innerHTML=e,n}}function X(e,t,n=e,r){if(t===F)return t;let o=void 0!==r?n.o?.[r]:n.l;const i=_(t)?void 0:t._$litDirective$;return o?.constructor!==i&&(o?._$AO?.(!1),void 0===i?o=void 0:(o=new i(e),o._$AT(e,n,r)),void 0!==r?(n.o??=[])[r]=o:n.l=o),void 0!==o&&(t=X(e,o._$AS(e,t.values),o,r)),t}class J{constructor(e,t){this._$AV=[],this._$AN=void 0,this._$AD=e,this._$AM=t}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(e){const{el:{content:t},parts:n}=this._$AD,r=(e?.creationScope??T).importNode(t,!0);W.currentNode=r;let o=W.nextNode(),i=0,a=0,s=n[0];for(;void 0!==s;){if(i===s.index){let t;2===s.type?t=new ee(o,o.nextSibling,this,e):1===s.type?t=new s.ctor(o,s.name,s.strings,this,e):6===s.type&&(t=new ie(o,this,e)),this._$AV.push(t),s=n[++a]}i!==s?.index&&(o=W.nextNode(),i++)}return W.currentNode=T,r}p(e){let t=0;for(const n of this._$AV)void 0!==n&&(void 0!==n.strings?(n._$AI(e,n,t),t+=n.strings.length-2):n._$AI(e[t])),t++}}class ee{get _$AU(){return this._$AM?._$AU??this.v}constructor(e,t,n,r){this.type=2,this._$AH=G,this._$AN=void 0,this._$AA=e,this._$AB=t,this._$AM=n,this.options=r,this.v=r?.isConnected??!0}get parentNode(){let e=this._$AA.parentNode;const t=this._$AM;return void 0!==t&&11===e?.nodeType&&(e=t.parentNode),e}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(e,t=this){e=X(this,e,t),_(e)?e===G||null==e||""===e?(this._$AH!==G&&this._$AR(),this._$AH=G):e!==this._$AH&&e!==F&&this._(e):void 0!==e._$litType$?this.$(e):void 0!==e.nodeType?this.T(e):I(e)?this.k(e):this._(e)}O(e){return this._$AA.parentNode.insertBefore(e,this._$AB)}T(e){this._$AH!==e&&(this._$AR(),this._$AH=this.O(e))}_(e){this._$AH!==G&&_(this._$AH)?this._$AA.nextSibling.data=e:this.T(T.createTextNode(e)),this._$AH=e}$(e){const{values:t,_$litType$:n}=e,r="number"==typeof n?this._$AC(e):(void 0===n.el&&(n.el=K.createElement(H(n.h,n.h[0]),this.options)),n);if(this._$AH?._$AD===r)this._$AH.p(t);else{const e=new J(r,this),n=e.u(this.options);e.p(t),this.T(n),this._$AH=e}}_$AC(e){let t=V.get(e.strings);return void 0===t&&V.set(e.strings,t=new K(e)),t}k(e){D(this._$AH)||(this._$AH=[],this._$AR());const t=this._$AH;let n,r=0;for(const o of e)r===t.length?t.push(n=new ee(this.O(k()),this.O(k()),this,this.options)):n=t[r],n._$AI(o),r++;r<t.length&&(this._$AR(n&&n._$AB.nextSibling,r),t.length=r)}_$AR(e=this._$AA.nextSibling,t){for(this._$AP?.(!1,!0,t);e&&e!==this._$AB;){const t=e.nextSibling;e.remove(),e=t}}setConnected(e){void 0===this._$AM&&(this.v=e,this._$AP?.(e))}}class te{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(e,t,n,r,o){this.type=1,this._$AH=G,this._$AN=void 0,this.element=e,this.name=t,this._$AM=r,this.options=o,n.length>2||""!==n[0]||""!==n[1]?(this._$AH=Array(n.length-1).fill(new String),this.strings=n):this._$AH=G}_$AI(e,t=this,n,r){const o=this.strings;let i=!1;if(void 0===o)e=X(this,e,t,0),i=!_(e)||e!==this._$AH&&e!==F,i&&(this._$AH=e);else{const r=e;let a,s;for(e=o[0],a=0;a<o.length-1;a++)s=X(this,r[n+a],t,a),s===F&&(s=this._$AH[a]),i||=!_(s)||s!==this._$AH[a],s===G?e=G:e!==G&&(e+=(s??"")+o[a+1]),this._$AH[a]=s}i&&!r&&this.j(e)}j(e){e===G?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,e??"")}}class ne extends te{constructor(){super(...arguments),this.type=3}j(e){this.element[this.name]=e===G?void 0:e}}class re extends te{constructor(){super(...arguments),this.type=4}j(e){this.element.toggleAttribute(this.name,!!e&&e!==G)}}class oe extends te{constructor(e,t,n,r,o){super(e,t,n,r,o),this.type=5}_$AI(e,t=this){if((e=X(this,e,t,0)??G)===F)return;const n=this._$AH,r=e===G&&n!==G||e.capture!==n.capture||e.once!==n.once||e.passive!==n.passive,o=e!==G&&(n===G||r);r&&this.element.removeEventListener(this.name,this,n),o&&this.element.addEventListener(this.name,this,e),this._$AH=e}handleEvent(e){"function"==typeof this._$AH?this._$AH.call(this.options?.host??this.element,e):this._$AH.handleEvent(e)}}class ie{constructor(e,t,n){this.element=e,this.type=6,this._$AN=void 0,this._$AM=t,this.options=n}get _$AU(){return this._$AM._$AU}_$AI(e){X(this,e)}}const ae=C.litHtmlPolyfillSupport;ae?.(K,ee),(C.litHtmlVersions??=[]).push("3.2.0");
|
|
/**
|
|
* @license
|
|
* Copyright 2017 Google LLC
|
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
*/
|
|
class se extends M{constructor(){super(...arguments),this.renderOptions={host:this},this.o=void 0}createRenderRoot(){const e=super.createRenderRoot();return this.renderOptions.renderBefore??=e.firstChild,e}update(e){const t=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(e),this.o=((e,t,n)=>{const r=n?.renderBefore??t;let o=r._$litPart$;if(void 0===o){const e=n?.renderBefore??null;r._$litPart$=o=new ee(t.insertBefore(k(),e),e,void 0,n??{})}return o._$AI(e),o})(t,this.renderRoot,this.renderOptions)}connectedCallback(){super.connectedCallback(),this.o?.setConnected(!0)}disconnectedCallback(){super.disconnectedCallback(),this.o?.setConnected(!1)}render(){return F}}se._$litElement$=!0,se.finalized=!0,globalThis.litElementHydrateSupport?.({LitElement:se});const ce=globalThis.litElementPolyfillSupport;ce?.({LitElement:se});(globalThis.litElementVersions??=[]).push("4.1.0");var le=n(3282),ue=new(n.n(le)())({allErrors:!0,schemas:[{$id:"http://v1.schemas.readthedocs.org/addons.analytics.json",type:"object",required:["addons","projects","versions"],properties:{addons:{type:"object",required:["analytics"],properties:{analytics:{type:"object",required:["code","enabled"],properties:{code:{type:["string","null"]},enabled:{type:"boolean"}}}}},projects:{type:"object",required:["current"],properties:{current:{type:"object",required:["slug","language","programming_language"],properties:{slug:{type:"string"},language:{type:"object",required:["code"],properties:{code:{type:"string"}}},programming_language:{type:"object",required:["code"],properties:{code:{type:"string"}}}}}}},versions:{type:"object",required:["current"],properties:{current:{type:"object",required:["slug","type"],properties:{slug:{type:"string"},type:{type:"string"}}}}}}},{$id:"http://v1.schemas.readthedocs.org/addons.docdiff.json",type:"object",required:["addons"],properties:{addons:{type:"object",required:["options","doc_diff"],properties:{options:{type:"object",required:["root_selector"],properties:{root_selector:{type:["string","null"]}}},doc_diff:{type:"object",required:["base_url","enabled"],properties:{base_url:{type:"string"},enabled:{type:"boolean"}}}}}}},{$id:"http://v1.schemas.readthedocs.org/addons.ethicalads.json",type:"object",required:["addons"],properties:{addons:{type:"object",required:["ethicalads"],properties:{ethicalads:{type:"object",required:["ad_free","campaign_types","enabled","keywords","publisher"],properties:{ad_free:{type:"boolean"},campaign_types:{type:"array"},enabled:{type:"boolean"},keywords:{type:"array"},publisher:{type:"string"}}}}}}},{$id:"http://v1.schemas.readthedocs.org/addons.flyout.json",type:"object",required:["addons","projects","versions","readthedocs"],properties:{addons:{type:"object",required:["flyout"],properties:{flyout:{type:"object",required:["enabled"],properties:{enabled:{type:"boolean"},vcs:{type:"object",properties:{view_url:{type:"string"}}}}}}},projects:{type:"object",required:["current","translations"],properties:{current:{type:"object",required:["slug","urls","versioning_scheme"],properties:{slug:{type:"string"},urls:{type:"object",required:["home","builds","downloads"],properties:{home:{type:"string"},builds:{type:"string"},downloads:{type:"string"}}},versioning_scheme:{enum:["multiple_versions_with_translations","multiple_versions_without_translations","single_version_without_translations"]}}},translations:{type:"array"}}},versions:{type:"object",required:["current","active"],properties:{active:{type:"array"},current:{type:"object",required:["slug","downloads"],properties:{slug:{type:"string"},downloads:{type:"object"}}}}},readthedocs:{type:"object",required:["resolver"],properties:{resolver:{type:"object",required:["filename"],properties:{filename:{type:["string","null"]}}}}}}},{$id:"http://v1.schemas.readthedocs.org/addons.hotkeys.json",type:"object",required:["addons"],properties:{addons:{type:"object",required:["hotkeys"],properties:{hotkeys:{type:"object",required:["enabled","doc_diff","search"],properties:{enabled:{type:"boolean"},doc_diff:{type:"object",required:["enabled","trigger"],properties:{enabled:{type:"boolean"},trigger:{type:"string"}}},search:{type:"object",required:["enabled","trigger"],properties:{enabled:{type:"boolean"},trigger:{type:"string"}}}}}}}}},{$id:"http://v1.schemas.readthedocs.org/addons.notifications.json",type:"object",required:["addons","readthedocs"],properties:{addons:{type:"object",required:["notifications"],properties:{enabled:{type:"object",properties:{enabled:{type:"boolean"}}}}},builds:{type:"object",required:["current"],properties:{current:{type:"object",required:["urls"],properties:{urls:{type:"object",required:["build"],properties:{build:{type:"string"}}}}}}},projects:{type:"object",properties:{current:{type:"object",properties:{slug:{type:"string"},versioning_scheme:{enum:["multiple_versions_with_translations","multiple_versions_without_translations","single_version_without_translations"]},repository:{type:"object",required:["url"],properties:{url:{type:"string"}}},language:{type:"object",required:["code"],properties:{code:{type:"string"}}}}}}},versions:{type:"object",required:["current","active"],properties:{active:{type:"array"},current:{type:"object",required:["slug","urls","type","aliases"],properties:{aliases:{type:"array"},slug:{type:"string"},type:{enum:["branch","tag","external"]},urls:{type:"object",required:["documentation","vcs"],properties:{documentation:{type:"string"},vcs:{type:"string"}}}}}}},readthedocs:{type:"object",required:["resolver"],properties:{resolver:{type:"object",required:["filename"],properties:{filename:{type:["string","null"]}}}}}}},{$id:"http://v1.schemas.readthedocs.org/addons.search.json",type:"object",required:["addons"],properties:{addons:{type:"object",required:["search"],properties:{search:{type:"object",required:["enabled","default_filter","filters"],properties:{enabled:{type:"boolean"},default_filter:{type:"string"},filters:{type:"array"}}}}},projects:{type:"object",required:["current"],properties:{current:{type:"object",required:["slug"],properties:{slug:{type:"string"}}}}}}},{$id:"http://v1.schemas.readthedocs.org/addons.linkpreviews.json",type:"object",required:["addons"],properties:{addons:{type:"object",required:["options","linkpreviews"],properties:{options:{type:"object",required:["root_selector"],properties:{root_selector:{type:["string","null"]}}},linkpreviews:{type:"object",required:["enabled"],properties:{enabled:{type:"boolean"}}}}}}},{$id:"http://v1.schemas.readthedocs.org/addons.filetreediff.json",type:"object",required:["addons","versions"],properties:{addons:{type:"object",required:["filetreediff"],properties:{filetreediff:{type:"object",required:["enabled","diff"],properties:{enabled:{type:"boolean"},diff:{type:"object",properties:{added:{type:"array"},deleted:{type:"array"},modified:{type:"array"}}}}}}},versions:{type:"object",required:["current"],properties:{current:{type:"object",required:["type","slug","urls"],properties:{type:{type:"string"},slug:{type:"string"},urls:{type:"object",required:["vcs"],properties:{vcs:{type:"string"}}}}}}}}},{$id:"http://v1.schemas.readthedocs.org/addons.customscript.json",type:"object",required:["addons"],properties:{addons:{type:"object",required:["customscript"],properties:{customscript:{type:"object",required:["enabled"],properties:{enabled:{type:"boolean"},src:{type:["string","null"]}}}}}}}]}),de=n(1794),fe=n.n(de),he="sphinx",pe="mkdocs-material",me="docusaurus",ge="pelican",ye="asciidoctor",Ae="jekyll",ve="docsify",be="antora",we="mdbook",Me="vitepress",Ce="fallback",Ee="/_/api/v3/embed/";function Le(e){return Le="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},Le(e)}function je(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,xe(r.key),r)}}function xe(e){var t=function(e,t){if("object"!=Le(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=Le(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==Le(t)?t:t+""}var Ne="readthedocs-search-show",Se="readthedocs-search-hide",Te="readthedocs-docdiff-added-removed-show",ke="readthedocs-docdiff-hide",_e="readthedocs-flyout-show",De="readthedocs-flyout-hide",Ie="readthedocs-url-changed",Oe="readthedocs-addons-data-ready",ze="readthedocs-addons-internal-data-ready",Be="readthedocs-root-dom-changed",$e=function(){return function(e,t,n){return t&&je(e.prototype,t),n&&je(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}((function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this._initialized=!1,this._data=t}),[{key:"initialize",value:function(){if(void 0===nt("readthedocs-addons-api-version"))throw"Subscribing to '".concat(Oe,'\' requires defining the \'<meta name="readthedocs-addons-api-version" content="').concat(He,"\" />' tag in the HTML.");this._initialized=!0}},{key:"data",value:function(e){return this._initialized||e||this.initialize(),this._data}},{key:"httpStatus",value:function(){var e=nt("readthedocs-http-status");return e}}])}();function Pe(e){return Pe="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},Pe(e)}function Re(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Ue(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Re(Object(n),!0).forEach((function(t){Ve(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Re(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Ye(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){if(e){if("string"==typeof e)return Qe(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Qe(e,t):void 0}}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,o=function(){};return{s:o,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,s=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return a=e.done,e},e:function(e){s=!0,i=e},f:function(){try{a||null==n.return||n.return()}finally{if(s)throw i}}}}function Qe(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function qe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Fe(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,We(r.key),r)}}function Ge(e,t,n){return t&&Fe(e.prototype,t),n&&Fe(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function Ve(e,t,n){return(t=We(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function We(e){var t=function(e,t){if("object"!=Pe(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=Pe(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==Pe(t)?t:t+""}var He="1",Ze="0.32.1",Ke=globalThis.location.href.startsWith("http://localhost")&&!0;new Promise((function(e){if("interactive"===document.readyState||"complete"===document.readyState)return e();var t=!1;document.addEventListener("DOMContentLoaded",(function(){t||e(),t=!0}),{capture:!0,once:!0,passive:!0})}));var Xe=function(){return Ge((function e(t){qe(this,e),this.elements=[],void 0!==this.constructor.elementClass&&(this.elements=document.querySelectorAll(this.constructor.elementClass.elementName),this.elements.length||(this.elements=[new this.constructor.elementClass],document.body.append(this.elements[0]))),this.loadConfig(t)}),[{key:"loadConfig",value:function(e){var t,n=Ye(this.elements);try{for(n.s();!(t=n.n()).done;){t.value.loadConfig(e)}}catch(e){n.e(e)}finally{n.f()}}}],[{key:"isConfigValid",value:function(e){var t=ue.getSchema(this.jsonValidationURI),n=t(e);return n||(console.debug('Validation error on addon "'.concat(this.addonName,'":')),console.debug(t.errors)),n}},{key:"isEnabled",value:function(e,t){var n=parseInt(t,10);return!(null!=n&&!isNaN(n)&&!this.enabledOnHttpStatus.includes(n))&&(!0===fe().get(e,this.addonEnabledPath,!1)&&this.isConfigValid(e))}},{key:"getAddonLocalStorageKey",value:function(){return this.addonLocalStorageKey||"readthedocs-".concat(this.addonName.toLowerCase(),"-storage-key")}},{key:"requiresUrlParam",value:function(){return!1}},{key:"getLocalStorage",value:function(){var e=window.localStorage.getItem(this.getAddonLocalStorageKey());return e?JSON.parse(e):{}}},{key:"setLocalStorage",value:function(e){var t=Ue(Ue({},this.getLocalStorage()||{}),e);window.localStorage.setItem(this.getAddonLocalStorageKey(),JSON.stringify(t))}}])}();function Je(e,t){var n,r=function(){var r=this,o=arguments;clearTimeout(n),n=setTimeout((function(){return e.apply(r,o)}),t)};return r.cancel=function(){clearTimeout(n),n=null},r}function et(e){return new URL(window.location.href).searchParams.get(e)}function tt(e,t){var n=document.querySelector("meta[name='readthedocs-project-slug']").content,r=new URL(e);return r.searchParams.append("utm_source",n),r.searchParams.append("utm_content",t),r.href}function nt(e){var t=document.querySelector("meta[name=".concat(e,"]"));if(null!==t)return t.getAttribute("content")}function rt(e,t){if(!t){if(it.isSinglePageApplication())return new URL(e);t=nt("readthedocs-resolver-filename")}var n=e.replace(/\/+$/,"/"),r=t.replace(/\/index.html$/,"/").replace(/^\//,"");return new URL(r,n)}Ve(Xe,"jsonValidationURI",null),Ve(Xe,"addonName",null),Ve(Xe,"addonEnabledPath",null),Ve(Xe,"addonLocalStorageKey",null),Ve(Xe,"enabledOnHttpStatus",[200]);var ot=function(){function e(){qe(this,e),this.documentationTool=this.getDocumentationTool(),this.documentationTheme=this.getDocumentationTheme(),console.debug("Documentation tool detected: ".concat(this.documentationTool))}return Ge(e,[{key:"getLinkSelector",value:function(){if(this.documentationTool&&fe().get(this.constructor.DEFAULT_LINK_SELECTOR,this.documentationTool,null))return"".concat(this.getRootSelector()," ").concat(this.constructor.DEFAULT_LINK_SELECTOR[this.documentationTool]);var e,t,n=Ye(this.constructor.DEFAULT_LINK_SELECTOR[Ce]);try{for(n.s();!(t=n.n()).done;){var r=t.value;if(e="".concat(this.getRootSelector()," ").concat(r),document.querySelector(e))return e}}catch(e){n.e(e)}finally{n.f()}return console.debug("We were not able to find the root selector."),null}},{key:"getRootSelector",value:function(){if(this.documentationTool&&fe().get(this.constructor.DEFAULT_ROOT_SELECTOR,this.documentationTool,null))return this.constructor.DEFAULT_ROOT_SELECTOR[this.documentationTool];var e,t=Ye(this.constructor.DEFAULT_ROOT_SELECTOR[Ce]);try{for(t.s();!(e=t.n()).done;){var n=e.value;if(document.querySelector(n))return n}}catch(e){t.e(e)}finally{t.f()}return console.debug("We were not able to find the root selector."),null}},{key:"getDocumentationTool",value:function(){return this.isSphinx()?he:this.isMaterialMkDocs()?pe:this.isPelican()?ge:this.isDocusaurus()?me:this.isAsciiDoctor()?ye:this.isJekyll()?Ae:this.isMkDocs()?"mkdocs":this.isDocsify()?ve:this.isMdBook()?we:this.isAntora()?be:this.isVitePress()?Me:(console.debug("We were not able to detect the documentation tool."),null)}},{key:"getDocumentationTheme",value:function(){if((this.documentationTool||this.getDocumentationTool())===he){if(this.isSphinxAlabasterLikeTheme())return"alabaster";if(this.isSphinxReadTheDocsLikeTheme())return"readthedocs";if(this.isSphinxFuroLikeTheme())return"furo";if(this.isSphinxImmaterialLikeTheme())return"immaterial"}return null}},{key:"isSinglePageApplication",value:function(){var t=e.SINGLE_PAGE_APPLICATIONS.includes(this.documentationTool);return console.debug("isSinglePageApplication:",t),t}},{key:"isAntora",value:function(){return!!document.querySelectorAll('meta[name="generator"][content^="Antora"]').length}},{key:"isVitePress",value:function(){return!!document.querySelectorAll('meta[name="generator"][content^="VitePress"]').length}},{key:"isMdBook",value:function(){var e;return!(null===(e=document)||void 0===e||null===(e=e.head)||void 0===e||null===(e=e.firstChild)||void 0===e||null===(e=e.nextSibling)||void 0===e||!e.textContent.includes("Book generated using mdBook"))}},{key:"isDocsify",value:function(){return!!document.querySelectorAll("head > link[href*=docsify]").length}},{key:"isSphinx",value:function(){return this.isSphinxAlabasterLikeTheme()||this.isSphinxReadTheDocsLikeTheme()||this.isSphinxFuroLikeTheme()||this.isSphinxBookThemeLikeTheme()||this.isSphinxImmaterialLikeTheme()}},{key:"isMaterialMkDocs",value:function(){return this.isMaterialMkDocsTheme()}},{key:"isDocusaurus",value:function(){return this.isDocusaurusTheme()}},{key:"isPelican",value:function(){return 1===document.querySelectorAll('meta[name="generator"][content="Pelican"]').length}},{key:"isAsciiDoctor",value:function(){return 1===document.querySelectorAll('meta[name="generator"][content*="Asciidoctor"]').length}},{key:"isJekyll",value:function(){return 1===document.querySelectorAll('meta[name="generator"][content*="Jekyll"]').length}},{key:"isMkDocs",value:function(){var e;return!(null===(e=document)||void 0===e||null===(e=e.lastChild)||void 0===e||!e.textContent.includes("MkDocs version :"))}},{key:"isSphinxAlabasterLikeTheme",value:function(){return!!document.querySelectorAll(['link[href^="_static/alabaster.css"]','link[href^="_static/flask.css"]','link[href^="_static/jinja.css"]','link[href^="_static/click.css"]','link[href^="_static/celery.css"]','link[href^="_static/babel.css"]','link[href^="_static/platter.css"]','link[href^="_static/werkzeug.css"]'].join(", ")).length}},{key:"isSphinxReadTheDocsLikeTheme",value:function(){return 1===document.querySelectorAll('script[src^="_static/js/theme.js"]').length}},{key:"isSphinxFuroLikeTheme",value:function(){return 1===document.querySelectorAll('link[href^="_static/styles/furo.css"]').length}},{key:"isSphinxBookThemeLikeTheme",value:function(){return 1===document.querySelectorAll('link[href^="_static/styles/sphinx-book-theme.css"]').length}},{key:"isSphinxImmaterialLikeTheme",value:function(){return!!document.querySelectorAll('link[href^="_static/sphinx_immaterial_theme"]','a[href="https://github.com/jbms/sphinx-immaterial/"][rel="noopener"]').length}},{key:"isMaterialMkDocsTheme",value:function(){return 1===document.querySelectorAll('meta[name="generator"][content*="mkdocs-material"]').length}},{key:"isDocusaurusTheme",value:function(){return 1===document.querySelectorAll('meta[name="generator"][content*="Docusaurus"]').length}}])}();Ve(ot,"DEFAULT_ROOT_SELECTOR",Ve(Ve(Ve(Ve(Ve(Ve(Ve(Ve(Ve({},he,"[role=main]"),pe,"main > div > div.md-content"),ve,"article#main"),ye,"div#content"),ge,"article"),me,"article div.markdown"),be,"article"),Ae,"article"),Ce,["article","main","div.body","div.document","body"])),Ve(ot,"DEFAULT_LINK_SELECTOR",Ve(Ve({},he,"a.internal"),Ce,["p a"])),Ve(ot,"SINGLE_PAGE_APPLICATIONS",[Me,we,me,ve]);var it=new ot;function at(e,t){return t=t||{},new Promise((function(n,r){var o=new XMLHttpRequest,i=[],a=[],s={},c=function(){return{ok:2==(o.status/100|0),statusText:o.statusText,status:o.status,url:o.responseURL,text:function(){return Promise.resolve(o.responseText)},json:function(){return Promise.resolve(o.responseText).then(JSON.parse)},blob:function(){return Promise.resolve(new Blob([o.response]))},clone:c,headers:{keys:function(){return i},entries:function(){return a},get:function(e){return s[e.toLowerCase()]},has:function(e){return e.toLowerCase()in s}}}};for(var l in o.open(t.method||"get",e,!0),o.onload=function(){o.getAllResponseHeaders().replace(/^(.*?):[^\S\n]*([\s\S]*?)$/gm,(function(e,t,n){i.push(t=t.toLowerCase()),a.push([t,n]),s[t]=s[t]?s[t]+","+n:n})),n(c())},o.onerror=r,o.withCredentials="include"==t.credentials,t.headers)o.setRequestHeader(l,t.headers[l]);o.send(t.body||null)}))}function st(e,t){var n=nt("readthedocs-project-slug"),r=nt("readthedocs-version-slug"),o={"client-version":Ze,"api-version":t};e&&(o.url=window.location.href),n&&r&&(o["project-slug"]=n,o["version-slug"]=r);var i="/_/addons/?"+new URLSearchParams(o);return Ke&&(i="/_/readthedocs-addons.json"),i}function ct(e){return new Promise((function(t,n){at(st(e,He),{method:"GET"}).then((function(e){return e.ok?e.json():n("Error hitting addons API endpoint")})).then((function(n){return lt(ze,document,new $e(n)),function(e){return new Promise((function(t,n){var r=nt("readthedocs-addons-api-version");return void 0!==r&&r!==He&&at(st(e,r),{method:"GET"}).then((function(e){return e.ok?t(e.json()):n("Error hitting addons API endpoint for user api-version")})),t(void 0)})).catch((function(e){console.error(e)}))}(e).then((function(e){var t=void 0!==e?e:n;return globalThis.ReadTheDocsEventData=new $e(t),lt(Oe,document,new $e(t))})),t(n)}))})).catch((function(e){console.error(e)}))}function lt(e,t,n){var r=new CustomEvent(e,{detail:n});t.dispatchEvent(r)}
|
|
/*!
|
|
* Font Awesome Free 6.7.2 by @fontawesome - https://fontawesome.com
|
|
* License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License)
|
|
* Copyright 2024 Fonticons, Inc.
|
|
*/
|
|
function ut(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function dt(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function ft(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?dt(Object(n),!0).forEach((function(t){ut(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):dt(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}const ht=()=>{};let pt={},mt={},gt=null,yt={mark:ht,measure:ht};try{"undefined"!=typeof window&&(pt=window),"undefined"!=typeof document&&(mt=document),"undefined"!=typeof MutationObserver&&(gt=MutationObserver),"undefined"!=typeof performance&&(yt=performance)}catch(t){}const{userAgent:At=""}=pt.navigator||{},vt=pt,bt=mt,wt=gt,Mt=yt,Ct=(vt.document,!!bt.documentElement&&!!bt.head&&"function"==typeof bt.addEventListener&&"function"==typeof bt.createElement),Et=~At.indexOf("MSIE")||~At.indexOf("Trident/");var Lt={classic:{fa:"solid",fas:"solid","fa-solid":"solid",far:"regular","fa-regular":"regular",fal:"light","fa-light":"light",fat:"thin","fa-thin":"thin",fab:"brands","fa-brands":"brands"},duotone:{fa:"solid",fad:"solid","fa-solid":"solid","fa-duotone":"solid",fadr:"regular","fa-regular":"regular",fadl:"light","fa-light":"light",fadt:"thin","fa-thin":"thin"},sharp:{fa:"solid",fass:"solid","fa-solid":"solid",fasr:"regular","fa-regular":"regular",fasl:"light","fa-light":"light",fast:"thin","fa-thin":"thin"},"sharp-duotone":{fa:"solid",fasds:"solid","fa-solid":"solid",fasdr:"regular","fa-regular":"regular",fasdl:"light","fa-light":"light",fasdt:"thin","fa-thin":"thin"}},jt=["fa-classic","fa-duotone","fa-sharp","fa-sharp-duotone"],xt="classic",Nt="duotone",St=[xt,Nt,"sharp","sharp-duotone"],Tt=new Map([["classic",{defaultShortPrefixId:"fas",defaultStyleId:"solid",styleIds:["solid","regular","light","thin","brands"],futureStyleIds:[],defaultFontWeight:900}],["sharp",{defaultShortPrefixId:"fass",defaultStyleId:"solid",styleIds:["solid","regular","light","thin"],futureStyleIds:[],defaultFontWeight:900}],["duotone",{defaultShortPrefixId:"fad",defaultStyleId:"solid",styleIds:["solid","regular","light","thin"],futureStyleIds:[],defaultFontWeight:900}],["sharp-duotone",{defaultShortPrefixId:"fasds",defaultStyleId:"solid",styleIds:["solid","regular","light","thin"],futureStyleIds:[],defaultFontWeight:900}]]),kt=["fak","fa-kit","fakd","fa-kit-duotone"],_t={fak:"kit","fa-kit":"kit"},Dt={fakd:"kit-duotone","fa-kit-duotone":"kit-duotone"},It=["fak","fakd"],Ot={kit:"fak"},zt={"kit-duotone":"fakd"},Bt={GROUP:"duotone-group",SWAP_OPACITY:"swap-opacity",PRIMARY:"primary",SECONDARY:"secondary"},$t=["fak","fa-kit","fakd","fa-kit-duotone"],Pt={classic:{fab:"fa-brands",fad:"fa-duotone",fal:"fa-light",far:"fa-regular",fas:"fa-solid",fat:"fa-thin"},duotone:{fadr:"fa-regular",fadl:"fa-light",fadt:"fa-thin"},sharp:{fass:"fa-solid",fasr:"fa-regular",fasl:"fa-light",fast:"fa-thin"},"sharp-duotone":{fasds:"fa-solid",fasdr:"fa-regular",fasdl:"fa-light",fasdt:"fa-thin"}},Rt=["fa","fas","far","fal","fat","fad","fadr","fadl","fadt","fab","fass","fasr","fasl","fast","fasds","fasdr","fasdl","fasdt","fa-classic","fa-duotone","fa-sharp","fa-sharp-duotone","fa-solid","fa-regular","fa-light","fa-thin","fa-duotone","fa-brands"],Ut=[1,2,3,4,5,6,7,8,9,10],Yt=Ut.concat([11,12,13,14,15,16,17,18,19,20]),Qt=[...Object.keys({classic:["fas","far","fal","fat","fad"],duotone:["fadr","fadl","fadt"],sharp:["fass","fasr","fasl","fast"],"sharp-duotone":["fasds","fasdr","fasdl","fasdt"]}),"solid","regular","light","thin","duotone","brands","2xs","xs","sm","lg","xl","2xl","beat","border","fade","beat-fade","bounce","flip-both","flip-horizontal","flip-vertical","flip","fw","inverse","layers-counter","layers-text","layers","li","pull-left","pull-right","pulse","rotate-180","rotate-270","rotate-90","rotate-by","shake","spin-pulse","spin-reverse","spin","stack-1x","stack-2x","stack","ul",Bt.GROUP,Bt.SWAP_OPACITY,Bt.PRIMARY,Bt.SECONDARY].concat(Ut.map((e=>"".concat(e,"x")))).concat(Yt.map((e=>"w-".concat(e))));const qt="___FONT_AWESOME___",Ft=16,Gt="svg-inline--fa",Vt="data-fa-i2svg",Wt="data-fa-pseudo-element",Ht="data-prefix",Zt="data-icon",Kt="fontawesome-i2svg",Xt=["HTML","HEAD","STYLE","SCRIPT"],Jt=(()=>{try{return!0}catch(e){return!1}})();function en(e){return new Proxy(e,{get:(e,t)=>t in e?e[t]:e[xt]})}const tn=ft({},Lt);tn[xt]=ft(ft(ft(ft({},{"fa-duotone":"duotone"}),Lt[xt]),_t),Dt);const nn=en(tn),rn=ft({},{classic:{solid:"fas",regular:"far",light:"fal",thin:"fat",brands:"fab"},duotone:{solid:"fad",regular:"fadr",light:"fadl",thin:"fadt"},sharp:{solid:"fass",regular:"fasr",light:"fasl",thin:"fast"},"sharp-duotone":{solid:"fasds",regular:"fasdr",light:"fasdl",thin:"fasdt"}});rn[xt]=ft(ft(ft(ft({},{duotone:"fad"}),rn[xt]),Ot),zt);const on=en(rn),an=ft({},Pt);an[xt]=ft(ft({},an[xt]),{fak:"fa-kit"});const sn=en(an),cn=ft({},{classic:{"fa-brands":"fab","fa-duotone":"fad","fa-light":"fal","fa-regular":"far","fa-solid":"fas","fa-thin":"fat"},duotone:{"fa-regular":"fadr","fa-light":"fadl","fa-thin":"fadt"},sharp:{"fa-solid":"fass","fa-regular":"fasr","fa-light":"fasl","fa-thin":"fast"},"sharp-duotone":{"fa-solid":"fasds","fa-regular":"fasdr","fa-light":"fasdl","fa-thin":"fasdt"}});cn[xt]=ft(ft({},cn[xt]),{"fa-kit":"fak"});en(cn);const ln=/fa(s|r|l|t|d|dr|dl|dt|b|k|kd|ss|sr|sl|st|sds|sdr|sdl|sdt)?[\-\ ]/,un="fa-layers-text",dn=/Font ?Awesome ?([56 ]*)(Solid|Regular|Light|Thin|Duotone|Brands|Free|Pro|Sharp Duotone|Sharp|Kit)?.*/i,fn=(en(ft({},{classic:{900:"fas",400:"far",normal:"far",300:"fal",100:"fat"},duotone:{900:"fad",400:"fadr",300:"fadl",100:"fadt"},sharp:{900:"fass",400:"fasr",300:"fasl",100:"fast"},"sharp-duotone":{900:"fasds",400:"fasdr",300:"fasdl",100:"fasdt"}})),["class","data-prefix","data-icon","data-fa-transform","data-fa-mask"]),hn={GROUP:"duotone-group",SWAP_OPACITY:"swap-opacity",PRIMARY:"primary",SECONDARY:"secondary"},pn=["kit",...Qt],mn=vt.FontAwesomeConfig||{};if(bt&&"function"==typeof bt.querySelector){[["data-family-prefix","familyPrefix"],["data-css-prefix","cssPrefix"],["data-family-default","familyDefault"],["data-style-default","styleDefault"],["data-replacement-class","replacementClass"],["data-auto-replace-svg","autoReplaceSvg"],["data-auto-add-css","autoAddCss"],["data-auto-a11y","autoA11y"],["data-search-pseudo-elements","searchPseudoElements"],["data-observe-mutations","observeMutations"],["data-mutate-approach","mutateApproach"],["data-keep-original-source","keepOriginalSource"],["data-measure-performance","measurePerformance"],["data-show-missing-icons","showMissingIcons"]].forEach((e=>{let[t,n]=e;const r=function(e){return""===e||"false"!==e&&("true"===e||e)}(function(e){var t=bt.querySelector("script["+e+"]");if(t)return t.getAttribute(e)}(t));null!=r&&(mn[n]=r)}))}const gn={styleDefault:"solid",familyDefault:xt,cssPrefix:"fa",replacementClass:Gt,autoReplaceSvg:!0,autoAddCss:!0,autoA11y:!0,searchPseudoElements:!1,observeMutations:!0,mutateApproach:"async",keepOriginalSource:!0,measurePerformance:!1,showMissingIcons:!0};mn.familyPrefix&&(mn.cssPrefix=mn.familyPrefix);const yn=ft(ft({},gn),mn);yn.autoReplaceSvg||(yn.observeMutations=!1);const An={};Object.keys(gn).forEach((e=>{Object.defineProperty(An,e,{enumerable:!0,set:function(t){yn[e]=t,vn.forEach((e=>e(An)))},get:function(){return yn[e]}})})),Object.defineProperty(An,"familyPrefix",{enumerable:!0,set:function(e){yn.cssPrefix=e,vn.forEach((e=>e(An)))},get:function(){return yn.cssPrefix}}),vt.FontAwesomeConfig=An;const vn=[];const bn=Ft,wn={size:16,x:0,y:0,rotate:0,flipX:!1,flipY:!1};function Mn(){let e=12,t="";for(;e-- >0;)t+="0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ"[62*Math.random()|0];return t}function Cn(e){const t=[];for(let n=(e||[]).length>>>0;n--;)t[n]=e[n];return t}function En(e){return e.classList?Cn(e.classList):(e.getAttribute("class")||"").split(" ").filter((e=>e))}function Ln(e){return"".concat(e).replace(/&/g,"&").replace(/"/g,""").replace(/'/g,"'").replace(/</g,"<").replace(/>/g,">")}function jn(e){return Object.keys(e||{}).reduce(((t,n)=>t+"".concat(n,": ").concat(e[n].trim(),";")),"")}function xn(e){return e.size!==wn.size||e.x!==wn.x||e.y!==wn.y||e.rotate!==wn.rotate||e.flipX||e.flipY}function Nn(){const e="fa",t=Gt,n=An.cssPrefix,r=An.replacementClass;let o=':root, :host {\n --fa-font-solid: normal 900 1em/1 "Font Awesome 6 Free";\n --fa-font-regular: normal 400 1em/1 "Font Awesome 6 Free";\n --fa-font-light: normal 300 1em/1 "Font Awesome 6 Pro";\n --fa-font-thin: normal 100 1em/1 "Font Awesome 6 Pro";\n --fa-font-duotone: normal 900 1em/1 "Font Awesome 6 Duotone";\n --fa-font-duotone-regular: normal 400 1em/1 "Font Awesome 6 Duotone";\n --fa-font-duotone-light: normal 300 1em/1 "Font Awesome 6 Duotone";\n --fa-font-duotone-thin: normal 100 1em/1 "Font Awesome 6 Duotone";\n --fa-font-brands: normal 400 1em/1 "Font Awesome 6 Brands";\n --fa-font-sharp-solid: normal 900 1em/1 "Font Awesome 6 Sharp";\n --fa-font-sharp-regular: normal 400 1em/1 "Font Awesome 6 Sharp";\n --fa-font-sharp-light: normal 300 1em/1 "Font Awesome 6 Sharp";\n --fa-font-sharp-thin: normal 100 1em/1 "Font Awesome 6 Sharp";\n --fa-font-sharp-duotone-solid: normal 900 1em/1 "Font Awesome 6 Sharp Duotone";\n --fa-font-sharp-duotone-regular: normal 400 1em/1 "Font Awesome 6 Sharp Duotone";\n --fa-font-sharp-duotone-light: normal 300 1em/1 "Font Awesome 6 Sharp Duotone";\n --fa-font-sharp-duotone-thin: normal 100 1em/1 "Font Awesome 6 Sharp Duotone";\n}\n\nsvg:not(:root).svg-inline--fa, svg:not(:host).svg-inline--fa {\n overflow: visible;\n box-sizing: content-box;\n}\n\n.svg-inline--fa {\n display: var(--fa-display, inline-block);\n height: 1em;\n overflow: visible;\n vertical-align: -0.125em;\n}\n.svg-inline--fa.fa-2xs {\n vertical-align: 0.1em;\n}\n.svg-inline--fa.fa-xs {\n vertical-align: 0em;\n}\n.svg-inline--fa.fa-sm {\n vertical-align: -0.0714285705em;\n}\n.svg-inline--fa.fa-lg {\n vertical-align: -0.2em;\n}\n.svg-inline--fa.fa-xl {\n vertical-align: -0.25em;\n}\n.svg-inline--fa.fa-2xl {\n vertical-align: -0.3125em;\n}\n.svg-inline--fa.fa-pull-left {\n margin-right: var(--fa-pull-margin, 0.3em);\n width: auto;\n}\n.svg-inline--fa.fa-pull-right {\n margin-left: var(--fa-pull-margin, 0.3em);\n width: auto;\n}\n.svg-inline--fa.fa-li {\n width: var(--fa-li-width, 2em);\n top: 0.25em;\n}\n.svg-inline--fa.fa-fw {\n width: var(--fa-fw-width, 1.25em);\n}\n\n.fa-layers svg.svg-inline--fa {\n bottom: 0;\n left: 0;\n margin: auto;\n position: absolute;\n right: 0;\n top: 0;\n}\n\n.fa-layers-counter, .fa-layers-text {\n display: inline-block;\n position: absolute;\n text-align: center;\n}\n\n.fa-layers {\n display: inline-block;\n height: 1em;\n position: relative;\n text-align: center;\n vertical-align: -0.125em;\n width: 1em;\n}\n.fa-layers svg.svg-inline--fa {\n transform-origin: center center;\n}\n\n.fa-layers-text {\n left: 50%;\n top: 50%;\n transform: translate(-50%, -50%);\n transform-origin: center center;\n}\n\n.fa-layers-counter {\n background-color: var(--fa-counter-background-color, #ff253a);\n border-radius: var(--fa-counter-border-radius, 1em);\n box-sizing: border-box;\n color: var(--fa-inverse, #fff);\n line-height: var(--fa-counter-line-height, 1);\n max-width: var(--fa-counter-max-width, 5em);\n min-width: var(--fa-counter-min-width, 1.5em);\n overflow: hidden;\n padding: var(--fa-counter-padding, 0.25em 0.5em);\n right: var(--fa-right, 0);\n text-overflow: ellipsis;\n top: var(--fa-top, 0);\n transform: scale(var(--fa-counter-scale, 0.25));\n transform-origin: top right;\n}\n\n.fa-layers-bottom-right {\n bottom: var(--fa-bottom, 0);\n right: var(--fa-right, 0);\n top: auto;\n transform: scale(var(--fa-layers-scale, 0.25));\n transform-origin: bottom right;\n}\n\n.fa-layers-bottom-left {\n bottom: var(--fa-bottom, 0);\n left: var(--fa-left, 0);\n right: auto;\n top: auto;\n transform: scale(var(--fa-layers-scale, 0.25));\n transform-origin: bottom left;\n}\n\n.fa-layers-top-right {\n top: var(--fa-top, 0);\n right: var(--fa-right, 0);\n transform: scale(var(--fa-layers-scale, 0.25));\n transform-origin: top right;\n}\n\n.fa-layers-top-left {\n left: var(--fa-left, 0);\n right: auto;\n top: var(--fa-top, 0);\n transform: scale(var(--fa-layers-scale, 0.25));\n transform-origin: top left;\n}\n\n.fa-1x {\n font-size: 1em;\n}\n\n.fa-2x {\n font-size: 2em;\n}\n\n.fa-3x {\n font-size: 3em;\n}\n\n.fa-4x {\n font-size: 4em;\n}\n\n.fa-5x {\n font-size: 5em;\n}\n\n.fa-6x {\n font-size: 6em;\n}\n\n.fa-7x {\n font-size: 7em;\n}\n\n.fa-8x {\n font-size: 8em;\n}\n\n.fa-9x {\n font-size: 9em;\n}\n\n.fa-10x {\n font-size: 10em;\n}\n\n.fa-2xs {\n font-size: 0.625em;\n line-height: 0.1em;\n vertical-align: 0.225em;\n}\n\n.fa-xs {\n font-size: 0.75em;\n line-height: 0.0833333337em;\n vertical-align: 0.125em;\n}\n\n.fa-sm {\n font-size: 0.875em;\n line-height: 0.0714285718em;\n vertical-align: 0.0535714295em;\n}\n\n.fa-lg {\n font-size: 1.25em;\n line-height: 0.05em;\n vertical-align: -0.075em;\n}\n\n.fa-xl {\n font-size: 1.5em;\n line-height: 0.0416666682em;\n vertical-align: -0.125em;\n}\n\n.fa-2xl {\n font-size: 2em;\n line-height: 0.03125em;\n vertical-align: -0.1875em;\n}\n\n.fa-fw {\n text-align: center;\n width: 1.25em;\n}\n\n.fa-ul {\n list-style-type: none;\n margin-left: var(--fa-li-margin, 2.5em);\n padding-left: 0;\n}\n.fa-ul > li {\n position: relative;\n}\n\n.fa-li {\n left: calc(-1 * var(--fa-li-width, 2em));\n position: absolute;\n text-align: center;\n width: var(--fa-li-width, 2em);\n line-height: inherit;\n}\n\n.fa-border {\n border-color: var(--fa-border-color, #eee);\n border-radius: var(--fa-border-radius, 0.1em);\n border-style: var(--fa-border-style, solid);\n border-width: var(--fa-border-width, 0.08em);\n padding: var(--fa-border-padding, 0.2em 0.25em 0.15em);\n}\n\n.fa-pull-left {\n float: left;\n margin-right: var(--fa-pull-margin, 0.3em);\n}\n\n.fa-pull-right {\n float: right;\n margin-left: var(--fa-pull-margin, 0.3em);\n}\n\n.fa-beat {\n animation-name: fa-beat;\n animation-delay: var(--fa-animation-delay, 0s);\n animation-direction: var(--fa-animation-direction, normal);\n animation-duration: var(--fa-animation-duration, 1s);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n animation-timing-function: var(--fa-animation-timing, ease-in-out);\n}\n\n.fa-bounce {\n animation-name: fa-bounce;\n animation-delay: var(--fa-animation-delay, 0s);\n animation-direction: var(--fa-animation-direction, normal);\n animation-duration: var(--fa-animation-duration, 1s);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.28, 0.84, 0.42, 1));\n}\n\n.fa-fade {\n animation-name: fa-fade;\n animation-delay: var(--fa-animation-delay, 0s);\n animation-direction: var(--fa-animation-direction, normal);\n animation-duration: var(--fa-animation-duration, 1s);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.4, 0, 0.6, 1));\n}\n\n.fa-beat-fade {\n animation-name: fa-beat-fade;\n animation-delay: var(--fa-animation-delay, 0s);\n animation-direction: var(--fa-animation-direction, normal);\n animation-duration: var(--fa-animation-duration, 1s);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.4, 0, 0.6, 1));\n}\n\n.fa-flip {\n animation-name: fa-flip;\n animation-delay: var(--fa-animation-delay, 0s);\n animation-direction: var(--fa-animation-direction, normal);\n animation-duration: var(--fa-animation-duration, 1s);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n animation-timing-function: var(--fa-animation-timing, ease-in-out);\n}\n\n.fa-shake {\n animation-name: fa-shake;\n animation-delay: var(--fa-animation-delay, 0s);\n animation-direction: var(--fa-animation-direction, normal);\n animation-duration: var(--fa-animation-duration, 1s);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n animation-timing-function: var(--fa-animation-timing, linear);\n}\n\n.fa-spin {\n animation-name: fa-spin;\n animation-delay: var(--fa-animation-delay, 0s);\n animation-direction: var(--fa-animation-direction, normal);\n animation-duration: var(--fa-animation-duration, 2s);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n animation-timing-function: var(--fa-animation-timing, linear);\n}\n\n.fa-spin-reverse {\n --fa-animation-direction: reverse;\n}\n\n.fa-pulse,\n.fa-spin-pulse {\n animation-name: fa-spin;\n animation-direction: var(--fa-animation-direction, normal);\n animation-duration: var(--fa-animation-duration, 1s);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n animation-timing-function: var(--fa-animation-timing, steps(8));\n}\n\n@media (prefers-reduced-motion: reduce) {\n .fa-beat,\n.fa-bounce,\n.fa-fade,\n.fa-beat-fade,\n.fa-flip,\n.fa-pulse,\n.fa-shake,\n.fa-spin,\n.fa-spin-pulse {\n animation-delay: -1ms;\n animation-duration: 1ms;\n animation-iteration-count: 1;\n transition-delay: 0s;\n transition-duration: 0s;\n }\n}\n@keyframes fa-beat {\n 0%, 90% {\n transform: scale(1);\n }\n 45% {\n transform: scale(var(--fa-beat-scale, 1.25));\n }\n}\n@keyframes fa-bounce {\n 0% {\n transform: scale(1, 1) translateY(0);\n }\n 10% {\n transform: scale(var(--fa-bounce-start-scale-x, 1.1), var(--fa-bounce-start-scale-y, 0.9)) translateY(0);\n }\n 30% {\n transform: scale(var(--fa-bounce-jump-scale-x, 0.9), var(--fa-bounce-jump-scale-y, 1.1)) translateY(var(--fa-bounce-height, -0.5em));\n }\n 50% {\n transform: scale(var(--fa-bounce-land-scale-x, 1.05), var(--fa-bounce-land-scale-y, 0.95)) translateY(0);\n }\n 57% {\n transform: scale(1, 1) translateY(var(--fa-bounce-rebound, -0.125em));\n }\n 64% {\n transform: scale(1, 1) translateY(0);\n }\n 100% {\n transform: scale(1, 1) translateY(0);\n }\n}\n@keyframes fa-fade {\n 50% {\n opacity: var(--fa-fade-opacity, 0.4);\n }\n}\n@keyframes fa-beat-fade {\n 0%, 100% {\n opacity: var(--fa-beat-fade-opacity, 0.4);\n transform: scale(1);\n }\n 50% {\n opacity: 1;\n transform: scale(var(--fa-beat-fade-scale, 1.125));\n }\n}\n@keyframes fa-flip {\n 50% {\n transform: rotate3d(var(--fa-flip-x, 0), var(--fa-flip-y, 1), var(--fa-flip-z, 0), var(--fa-flip-angle, -180deg));\n }\n}\n@keyframes fa-shake {\n 0% {\n transform: rotate(-15deg);\n }\n 4% {\n transform: rotate(15deg);\n }\n 8%, 24% {\n transform: rotate(-18deg);\n }\n 12%, 28% {\n transform: rotate(18deg);\n }\n 16% {\n transform: rotate(-22deg);\n }\n 20% {\n transform: rotate(22deg);\n }\n 32% {\n transform: rotate(-12deg);\n }\n 36% {\n transform: rotate(12deg);\n }\n 40%, 100% {\n transform: rotate(0deg);\n }\n}\n@keyframes fa-spin {\n 0% {\n transform: rotate(0deg);\n }\n 100% {\n transform: rotate(360deg);\n }\n}\n.fa-rotate-90 {\n transform: rotate(90deg);\n}\n\n.fa-rotate-180 {\n transform: rotate(180deg);\n}\n\n.fa-rotate-270 {\n transform: rotate(270deg);\n}\n\n.fa-flip-horizontal {\n transform: scale(-1, 1);\n}\n\n.fa-flip-vertical {\n transform: scale(1, -1);\n}\n\n.fa-flip-both,\n.fa-flip-horizontal.fa-flip-vertical {\n transform: scale(-1, -1);\n}\n\n.fa-rotate-by {\n transform: rotate(var(--fa-rotate-angle, 0));\n}\n\n.fa-stack {\n display: inline-block;\n vertical-align: middle;\n height: 2em;\n position: relative;\n width: 2.5em;\n}\n\n.fa-stack-1x,\n.fa-stack-2x {\n bottom: 0;\n left: 0;\n margin: auto;\n position: absolute;\n right: 0;\n top: 0;\n z-index: var(--fa-stack-z-index, auto);\n}\n\n.svg-inline--fa.fa-stack-1x {\n height: 1em;\n width: 1.25em;\n}\n.svg-inline--fa.fa-stack-2x {\n height: 2em;\n width: 2.5em;\n}\n\n.fa-inverse {\n color: var(--fa-inverse, #fff);\n}\n\n.sr-only,\n.fa-sr-only {\n position: absolute;\n width: 1px;\n height: 1px;\n padding: 0;\n margin: -1px;\n overflow: hidden;\n clip: rect(0, 0, 0, 0);\n white-space: nowrap;\n border-width: 0;\n}\n\n.sr-only-focusable:not(:focus),\n.fa-sr-only-focusable:not(:focus) {\n position: absolute;\n width: 1px;\n height: 1px;\n padding: 0;\n margin: -1px;\n overflow: hidden;\n clip: rect(0, 0, 0, 0);\n white-space: nowrap;\n border-width: 0;\n}\n\n.svg-inline--fa .fa-primary {\n fill: var(--fa-primary-color, currentColor);\n opacity: var(--fa-primary-opacity, 1);\n}\n\n.svg-inline--fa .fa-secondary {\n fill: var(--fa-secondary-color, currentColor);\n opacity: var(--fa-secondary-opacity, 0.4);\n}\n\n.svg-inline--fa.fa-swap-opacity .fa-primary {\n opacity: var(--fa-secondary-opacity, 0.4);\n}\n\n.svg-inline--fa.fa-swap-opacity .fa-secondary {\n opacity: var(--fa-primary-opacity, 1);\n}\n\n.svg-inline--fa mask .fa-primary,\n.svg-inline--fa mask .fa-secondary {\n fill: black;\n}';if(n!==e||r!==t){const i=new RegExp("\\.".concat(e,"\\-"),"g"),a=new RegExp("\\--".concat(e,"\\-"),"g"),s=new RegExp("\\.".concat(t),"g");o=o.replace(i,".".concat(n,"-")).replace(a,"--".concat(n,"-")).replace(s,".".concat(r))}return o}let Sn=!1;function Tn(){An.autoAddCss&&!Sn&&(!function(e){if(!e||!Ct)return;const t=bt.createElement("style");t.setAttribute("type","text/css"),t.innerHTML=e;const n=bt.head.childNodes;let r=null;for(let e=n.length-1;e>-1;e--){const t=n[e],o=(t.tagName||"").toUpperCase();["STYLE","LINK"].indexOf(o)>-1&&(r=t)}bt.head.insertBefore(t,r)}(Nn()),Sn=!0)}var kn={mixout:()=>({dom:{css:Nn,insertCss:Tn}}),hooks:()=>({beforeDOMElementCreation(){Tn()},beforeI2svg(){Tn()}})};const _n=vt||{};_n[qt]||(_n[qt]={}),_n[qt].styles||(_n[qt].styles={}),_n[qt].hooks||(_n[qt].hooks={}),_n[qt].shims||(_n[qt].shims=[]);var Dn=_n[qt];const In=[],On=function(){bt.removeEventListener("DOMContentLoaded",On),zn=1,In.map((e=>e()))};let zn=!1;function Bn(e){const{tag:t,attributes:n={},children:r=[]}=e;return"string"==typeof e?Ln(e):"<".concat(t," ").concat(function(e){return Object.keys(e||{}).reduce(((t,n)=>t+"".concat(n,'="').concat(Ln(e[n]),'" ')),"").trim()}(n),">").concat(r.map(Bn).join(""),"</").concat(t,">")}function $n(e,t,n){if(e&&e[t]&&e[t][n])return{prefix:t,iconName:n,icon:e[t][n]}}Ct&&(zn=(bt.documentElement.doScroll?/^loaded|^c/:/^loaded|^i|^c/).test(bt.readyState),zn||bt.addEventListener("DOMContentLoaded",On));var Pn=function(e,t,n,r){var o,i,a,s=Object.keys(e),c=s.length,l=void 0!==r?function(e,t){return function(n,r,o,i){return e.call(t,n,r,o,i)}}(t,r):t;for(void 0===n?(o=1,a=e[s[0]]):(o=0,a=n);o<c;o++)a=l(a,e[i=s[o]],i,e);return a};function Rn(e){const t=function(e){const t=[];let n=0;const r=e.length;for(;n<r;){const o=e.charCodeAt(n++);if(o>=55296&&o<=56319&&n<r){const r=e.charCodeAt(n++);56320==(64512&r)?t.push(((1023&o)<<10)+(1023&r)+65536):(t.push(o),n--)}else t.push(o)}return t}(e);return 1===t.length?t[0].toString(16):null}function Un(e){return Object.keys(e).reduce(((t,n)=>{const r=e[n];return!!r.icon?t[r.iconName]=r.icon:t[n]=r,t}),{})}function Yn(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};const{skipHooks:r=!1}=n,o=Un(t);"function"!=typeof Dn.hooks.addPack||r?Dn.styles[e]=ft(ft({},Dn.styles[e]||{}),o):Dn.hooks.addPack(e,Un(t)),"fas"===e&&Yn("fa",t)}const{styles:Qn,shims:qn}=Dn,Fn=Object.keys(sn),Gn=Fn.reduce(((e,t)=>(e[t]=Object.keys(sn[t]),e)),{});let Vn=null,Wn={},Hn={},Zn={},Kn={},Xn={};function Jn(e,t){const n=t.split("-"),r=n[0],o=n.slice(1).join("-");return r!==e||""===o||(i=o,~pn.indexOf(i))?null:o;var i}const er=()=>{const e=e=>Pn(Qn,((t,n,r)=>(t[r]=Pn(n,e,{}),t)),{});Wn=e(((e,t,n)=>{if(t[3]&&(e[t[3]]=n),t[2]){t[2].filter((e=>"number"==typeof e)).forEach((t=>{e[t.toString(16)]=n}))}return e})),Hn=e(((e,t,n)=>{if(e[n]=n,t[2]){t[2].filter((e=>"string"==typeof e)).forEach((t=>{e[t]=n}))}return e})),Xn=e(((e,t,n)=>{const r=t[2];return e[n]=n,r.forEach((t=>{e[t]=n})),e}));const t="far"in Qn||An.autoFetchSvg,n=Pn(qn,((e,n)=>{const r=n[0];let o=n[1];const i=n[2];return"far"!==o||t||(o="fas"),"string"==typeof r&&(e.names[r]={prefix:o,iconName:i}),"number"==typeof r&&(e.unicodes[r.toString(16)]={prefix:o,iconName:i}),e}),{names:{},unicodes:{}});Zn=n.names,Kn=n.unicodes,Vn=ar(An.styleDefault,{family:An.familyDefault})};var tr;function nr(e,t){return(Wn[e]||{})[t]}function rr(e,t){return(Xn[e]||{})[t]}function or(e){return Zn[e]||{prefix:null,iconName:null}}function ir(){return Vn}tr=e=>{Vn=ar(e.styleDefault,{family:An.familyDefault})},vn.push(tr),er();function ar(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const{family:n=xt}=t,r=nn[n][e];if(n===Nt&&!e)return"fad";const o=on[n][e]||on[n][r],i=e in Dn.styles?e:null;return o||i||null}function sr(e){return e.sort().filter(((e,t,n)=>n.indexOf(e)===t))}function cr(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const{skipLookups:n=!1}=t;let r=null;const o=Rt.concat($t),i=sr(e.filter((e=>o.includes(e)))),a=sr(e.filter((e=>!Rt.includes(e)))),s=i.filter((e=>(r=e,!jt.includes(e)))),[c=null]=s,l=function(e){let t=xt;const n=Fn.reduce(((e,t)=>(e[t]="".concat(An.cssPrefix,"-").concat(t),e)),{});return St.forEach((r=>{(e.includes(n[r])||e.some((e=>Gn[r].includes(e))))&&(t=r)})),t}(i),u=ft(ft({},function(e){let t=[],n=null;return e.forEach((e=>{const r=Jn(An.cssPrefix,e);r?n=r:e&&t.push(e)})),{iconName:n,rest:t}}(a)),{},{prefix:ar(c,{family:l})});return ft(ft(ft({},u),function(e){const{values:t,family:n,canonical:r,givenPrefix:o="",styles:i={},config:a={}}=e,s=n===Nt,c=t.includes("fa-duotone")||t.includes("fad"),l="duotone"===a.familyDefault,u="fad"===r.prefix||"fa-duotone"===r.prefix;!s&&(c||l||u)&&(r.prefix="fad");(t.includes("fa-brands")||t.includes("fab"))&&(r.prefix="fab");if(!r.prefix&&lr.includes(n)){if(Object.keys(i).find((e=>ur.includes(e)))||a.autoFetchSvg){const e=Tt.get(n).defaultShortPrefixId;r.prefix=e,r.iconName=rr(r.prefix,r.iconName)||r.iconName}}"fa"!==r.prefix&&"fa"!==o||(r.prefix=ir()||"fas");return r}({values:e,family:l,styles:Qn,config:An,canonical:u,givenPrefix:r})),function(e,t,n){let{prefix:r,iconName:o}=n;if(e||!r||!o)return{prefix:r,iconName:o};const i="fa"===t?or(o):{},a=rr(r,o);o=i.iconName||a||o,r=i.prefix||r,"far"!==r||Qn.far||!Qn.fas||An.autoFetchSvg||(r="fas");return{prefix:r,iconName:o}}(n,r,u))}const lr=St.filter((e=>e!==xt||e!==Nt)),ur=Object.keys(Pt).filter((e=>e!==xt)).map((e=>Object.keys(Pt[e]))).flat();let dr=[],fr={};const hr={},pr=Object.keys(hr);function mr(e,t){for(var n=arguments.length,r=new Array(n>2?n-2:0),o=2;o<n;o++)r[o-2]=arguments[o];return(fr[e]||[]).forEach((e=>{t=e.apply(null,[t,...r])})),t}function gr(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];(fr[e]||[]).forEach((e=>{e.apply(null,n)}))}function yr(){const e=arguments[0],t=Array.prototype.slice.call(arguments,1);return hr[e]?hr[e].apply(null,t):void 0}function Ar(e){"fa"===e.prefix&&(e.prefix="fas");let{iconName:t}=e;const n=e.prefix||ir();if(t)return t=rr(n,t)||t,$n(vr.definitions,n,t)||$n(Dn.styles,n,t)}const vr=new class{constructor(){this.definitions={}}add(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];const r=t.reduce(this._pullDefinitions,{});Object.keys(r).forEach((e=>{this.definitions[e]=ft(ft({},this.definitions[e]||{}),r[e]),Yn(e,r[e]);const t=sn[xt][e];t&&Yn(t,r[e]),er()}))}reset(){this.definitions={}}_pullDefinitions(e,t){const n=t.prefix&&t.iconName&&t.icon?{0:t}:t;return Object.keys(n).map((t=>{const{prefix:r,iconName:o,icon:i}=n[t],a=i[2];e[r]||(e[r]={}),a.length>0&&a.forEach((t=>{"string"==typeof t&&(e[r][t]=i)})),e[r][o]=i})),e}},br={i2svg:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return Ct?(gr("beforeI2svg",e),yr("pseudoElements2svg",e),yr("i2svg",e)):Promise.reject(new Error("Operation requires a DOM of some kind."))},watch:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const{autoReplaceSvgRoot:t}=e;var n;!1===An.autoReplaceSvg&&(An.autoReplaceSvg=!0),An.observeMutations=!0,n=()=>{Cr({autoReplaceSvgRoot:t}),gr("watch",e)},Ct&&(zn?setTimeout(n,0):In.push(n))}},wr={icon:e=>{if(null===e)return null;if("object"==typeof e&&e.prefix&&e.iconName)return{prefix:e.prefix,iconName:rr(e.prefix,e.iconName)||e.iconName};if(Array.isArray(e)&&2===e.length){const t=0===e[1].indexOf("fa-")?e[1].slice(3):e[1],n=ar(e[0]);return{prefix:n,iconName:rr(n,t)||t}}if("string"==typeof e&&(e.indexOf("".concat(An.cssPrefix,"-"))>-1||e.match(ln))){const t=cr(e.split(" "),{skipLookups:!0});return{prefix:t.prefix||ir(),iconName:rr(t.prefix,t.iconName)||t.iconName}}if("string"==typeof e){const t=ir();return{prefix:t,iconName:rr(t,e)||e}}}},Mr={noAuto:()=>{An.autoReplaceSvg=!1,An.observeMutations=!1,gr("noAuto")},config:An,dom:br,parse:wr,library:vr,findIconDefinition:Ar,toHtml:Bn},Cr=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const{autoReplaceSvgRoot:t=bt}=e;(Object.keys(Dn.styles).length>0||An.autoFetchSvg)&&Ct&&An.autoReplaceSvg&&Mr.dom.i2svg({node:t})};function Er(e,t){return Object.defineProperty(e,"abstract",{get:t}),Object.defineProperty(e,"html",{get:function(){return e.abstract.map((e=>Bn(e)))}}),Object.defineProperty(e,"node",{get:function(){if(!Ct)return;const t=bt.createElement("div");return t.innerHTML=e.html,t.children}}),e}function Lr(e){const{icons:{main:t,mask:n},prefix:r,iconName:o,transform:i,symbol:a,title:s,maskId:c,titleId:l,extra:u,watchable:d=!1}=e,{width:f,height:h}=n.found?n:t,p=It.includes(r),m=[An.replacementClass,o?"".concat(An.cssPrefix,"-").concat(o):""].filter((e=>-1===u.classes.indexOf(e))).filter((e=>""!==e||!!e)).concat(u.classes).join(" ");let g={children:[],attributes:ft(ft({},u.attributes),{},{"data-prefix":r,"data-icon":o,class:m,role:u.attributes.role||"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 ".concat(f," ").concat(h)})};const y=p&&!~u.classes.indexOf("fa-fw")?{width:"".concat(f/h*16*.0625,"em")}:{};d&&(g.attributes[Vt]=""),s&&(g.children.push({tag:"title",attributes:{id:g.attributes["aria-labelledby"]||"title-".concat(l||Mn())},children:[s]}),delete g.attributes.title);const A=ft(ft({},g),{},{prefix:r,iconName:o,main:t,mask:n,maskId:c,transform:i,symbol:a,styles:ft(ft({},y),u.styles)}),{children:v,attributes:b}=n.found&&t.found?yr("generateAbstractMask",A)||{children:[],attributes:{}}:yr("generateAbstractIcon",A)||{children:[],attributes:{}};return A.children=v,A.attributes=b,a?function(e){let{prefix:t,iconName:n,children:r,attributes:o,symbol:i}=e;const a=!0===i?"".concat(t,"-").concat(An.cssPrefix,"-").concat(n):i;return[{tag:"svg",attributes:{style:"display: none;"},children:[{tag:"symbol",attributes:ft(ft({},o),{},{id:a}),children:r}]}]}(A):function(e){let{children:t,main:n,mask:r,attributes:o,styles:i,transform:a}=e;if(xn(a)&&n.found&&!r.found){const{width:e,height:t}=n,r={x:e/t/2,y:.5};o.style=jn(ft(ft({},i),{},{"transform-origin":"".concat(r.x+a.x/16,"em ").concat(r.y+a.y/16,"em")}))}return[{tag:"svg",attributes:o,children:t}]}(A)}function jr(e){const{content:t,width:n,height:r,transform:o,title:i,extra:a,watchable:s=!1}=e,c=ft(ft(ft({},a.attributes),i?{title:i}:{}),{},{class:a.classes.join(" ")});s&&(c[Vt]="");const l=ft({},a.styles);xn(o)&&(l.transform=function(e){let{transform:t,width:n=Ft,height:r=Ft,startCentered:o=!1}=e,i="";return i+=o&&Et?"translate(".concat(t.x/bn-n/2,"em, ").concat(t.y/bn-r/2,"em) "):o?"translate(calc(-50% + ".concat(t.x/bn,"em), calc(-50% + ").concat(t.y/bn,"em)) "):"translate(".concat(t.x/bn,"em, ").concat(t.y/bn,"em) "),i+="scale(".concat(t.size/bn*(t.flipX?-1:1),", ").concat(t.size/bn*(t.flipY?-1:1),") "),i+="rotate(".concat(t.rotate,"deg) "),i}({transform:o,startCentered:!0,width:n,height:r}),l["-webkit-transform"]=l.transform);const u=jn(l);u.length>0&&(c.style=u);const d=[];return d.push({tag:"span",attributes:c,children:[t]}),i&&d.push({tag:"span",attributes:{class:"sr-only"},children:[i]}),d}const{styles:xr}=Dn;function Nr(e){const t=e[0],n=e[1],[r]=e.slice(4);let o=null;return o=Array.isArray(r)?{tag:"g",attributes:{class:"".concat(An.cssPrefix,"-").concat(hn.GROUP)},children:[{tag:"path",attributes:{class:"".concat(An.cssPrefix,"-").concat(hn.SECONDARY),fill:"currentColor",d:r[0]}},{tag:"path",attributes:{class:"".concat(An.cssPrefix,"-").concat(hn.PRIMARY),fill:"currentColor",d:r[1]}}]}:{tag:"path",attributes:{fill:"currentColor",d:r}},{found:!0,width:t,height:n,icon:o}}const Sr={found:!1,width:512,height:512};function Tr(e,t){let n=t;return"fa"===t&&null!==An.styleDefault&&(t=ir()),new Promise(((r,o)=>{if("fa"===n){const n=or(e)||{};e=n.iconName||e,t=n.prefix||t}if(e&&t&&xr[t]&&xr[t][e]){return r(Nr(xr[t][e]))}!function(e,t){Jt||An.showMissingIcons||!e||console.error('Icon with name "'.concat(e,'" and prefix "').concat(t,'" is missing.'))}(e,t),r(ft(ft({},Sr),{},{icon:An.showMissingIcons&&e&&yr("missingIconAbstract")||{}}))}))}const kr=()=>{},_r=An.measurePerformance&&Mt&&Mt.mark&&Mt.measure?Mt:{mark:kr,measure:kr},Dr='FA "6.7.2"',Ir=e=>{_r.mark("".concat(Dr," ").concat(e," ends")),_r.measure("".concat(Dr," ").concat(e),"".concat(Dr," ").concat(e," begins"),"".concat(Dr," ").concat(e," ends"))};var Or=e=>(_r.mark("".concat(Dr," ").concat(e," begins")),()=>Ir(e));const zr=()=>{};function Br(e){return"string"==typeof(e.getAttribute?e.getAttribute(Vt):null)}function $r(e){return bt.createElementNS("http://www.w3.org/2000/svg",e)}function Pr(e){return bt.createElement(e)}function Rr(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const{ceFn:n=("svg"===e.tag?$r:Pr)}=t;if("string"==typeof e)return bt.createTextNode(e);const r=n(e.tag);Object.keys(e.attributes||[]).forEach((function(t){r.setAttribute(t,e.attributes[t])}));return(e.children||[]).forEach((function(e){r.appendChild(Rr(e,{ceFn:n}))})),r}const Ur={replace:function(e){const t=e[0];if(t.parentNode)if(e[1].forEach((e=>{t.parentNode.insertBefore(Rr(e),t)})),null===t.getAttribute(Vt)&&An.keepOriginalSource){let e=bt.createComment(function(e){let t=" ".concat(e.outerHTML," ");return t="".concat(t,"Font Awesome fontawesome.com "),t}(t));t.parentNode.replaceChild(e,t)}else t.remove()},nest:function(e){const t=e[0],n=e[1];if(~En(t).indexOf(An.replacementClass))return Ur.replace(e);const r=new RegExp("".concat(An.cssPrefix,"-.*"));if(delete n[0].attributes.id,n[0].attributes.class){const e=n[0].attributes.class.split(" ").reduce(((e,t)=>(t===An.replacementClass||t.match(r)?e.toSvg.push(t):e.toNode.push(t),e)),{toNode:[],toSvg:[]});n[0].attributes.class=e.toSvg.join(" "),0===e.toNode.length?t.removeAttribute("class"):t.setAttribute("class",e.toNode.join(" "))}const o=n.map((e=>Bn(e))).join("\n");t.setAttribute(Vt,""),t.innerHTML=o}};function Yr(e){e()}function Qr(e,t){const n="function"==typeof t?t:zr;if(0===e.length)n();else{let t=Yr;"async"===An.mutateApproach&&(t=vt.requestAnimationFrame||Yr),t((()=>{const t=!0===An.autoReplaceSvg?Ur.replace:Ur[An.autoReplaceSvg]||Ur.replace,r=Or("mutate");e.map(t),r(),n()}))}}let qr=!1;function Fr(){qr=!0}function Gr(){qr=!1}let Vr=null;function Wr(e){if(!wt)return;if(!An.observeMutations)return;const{treeCallback:t=zr,nodeCallback:n=zr,pseudoElementsCallback:r=zr,observeMutationsRoot:o=bt}=e;Vr=new wt((e=>{if(qr)return;const o=ir();Cn(e).forEach((e=>{if("childList"===e.type&&e.addedNodes.length>0&&!Br(e.addedNodes[0])&&(An.searchPseudoElements&&r(e.target),t(e.target)),"attributes"===e.type&&e.target.parentNode&&An.searchPseudoElements&&r(e.target.parentNode),"attributes"===e.type&&Br(e.target)&&~fn.indexOf(e.attributeName))if("class"===e.attributeName&&function(e){const t=e.getAttribute?e.getAttribute(Ht):null,n=e.getAttribute?e.getAttribute(Zt):null;return t&&n}(e.target)){const{prefix:t,iconName:n}=cr(En(e.target));e.target.setAttribute(Ht,t||o),n&&e.target.setAttribute(Zt,n)}else(i=e.target)&&i.classList&&i.classList.contains&&i.classList.contains(An.replacementClass)&&n(e.target);var i}))})),Ct&&Vr.observe(o,{childList:!0,attributes:!0,characterData:!0,subtree:!0})}function Hr(e){const t=e.getAttribute("data-prefix"),n=e.getAttribute("data-icon"),r=void 0!==e.innerText?e.innerText.trim():"";let o=cr(En(e));return o.prefix||(o.prefix=ir()),t&&n&&(o.prefix=t,o.iconName=n),o.iconName&&o.prefix||(o.prefix&&r.length>0&&(o.iconName=function(e,t){return(Hn[e]||{})[t]}(o.prefix,e.innerText)||nr(o.prefix,Rn(e.innerText))),!o.iconName&&An.autoFetchSvg&&e.firstChild&&e.firstChild.nodeType===Node.TEXT_NODE&&(o.iconName=e.firstChild.data)),o}function Zr(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{styleParser:!0};const{iconName:n,prefix:r,rest:o}=Hr(e),i=function(e){const t=Cn(e.attributes).reduce(((e,t)=>("class"!==e.name&&"style"!==e.name&&(e[t.name]=t.value),e)),{}),n=e.getAttribute("title"),r=e.getAttribute("data-fa-title-id");return An.autoA11y&&(n?t["aria-labelledby"]="".concat(An.replacementClass,"-title-").concat(r||Mn()):(t["aria-hidden"]="true",t.focusable="false")),t}(e),a=mr("parseNodeAttributes",{},e);let s=t.styleParser?function(e){const t=e.getAttribute("style");let n=[];return t&&(n=t.split(";").reduce(((e,t)=>{const n=t.split(":"),r=n[0],o=n.slice(1);return r&&o.length>0&&(e[r]=o.join(":").trim()),e}),{})),n}(e):[];return ft({iconName:n,title:e.getAttribute("title"),titleId:e.getAttribute("data-fa-title-id"),prefix:r,transform:wn,mask:{iconName:null,prefix:null,rest:[]},maskId:null,symbol:!1,extra:{classes:o,styles:s,attributes:i}},a)}const{styles:Kr}=Dn;function Xr(e){const t="nest"===An.autoReplaceSvg?Zr(e,{styleParser:!1}):Zr(e);return~t.extra.classes.indexOf(un)?yr("generateLayersText",e,t):yr("generateSvgReplacementMutation",e,t)}function Jr(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;if(!Ct)return Promise.resolve();const n=bt.documentElement.classList,r=e=>n.add("".concat(Kt,"-").concat(e)),o=e=>n.remove("".concat(Kt,"-").concat(e)),i=An.autoFetchSvg?[...kt,...Rt]:jt.concat(Object.keys(Kr));i.includes("fa")||i.push("fa");const a=[".".concat(un,":not([").concat(Vt,"])")].concat(i.map((e=>".".concat(e,":not([").concat(Vt,"])")))).join(", ");if(0===a.length)return Promise.resolve();let s=[];try{s=Cn(e.querySelectorAll(a))}catch(e){}if(!(s.length>0))return Promise.resolve();r("pending"),o("complete");const c=Or("onTree"),l=s.reduce(((e,t)=>{try{const n=Xr(t);n&&e.push(n)}catch(e){Jt||"MissingIcon"===e.name&&console.error(e)}return e}),[]);return new Promise(((e,n)=>{Promise.all(l).then((n=>{Qr(n,(()=>{r("active"),r("complete"),o("pending"),"function"==typeof t&&t(),c(),e()}))})).catch((e=>{c(),n(e)}))}))}function eo(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;Xr(e).then((e=>{e&&Qr([e],t)}))}const to=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const{transform:n=wn,symbol:r=!1,mask:o=null,maskId:i=null,title:a=null,titleId:s=null,classes:c=[],attributes:l={},styles:u={}}=t;if(!e)return;const{prefix:d,iconName:f,icon:h}=e;return Er(ft({type:"icon"},e),(()=>(gr("beforeDOMElementCreation",{iconDefinition:e,params:t}),An.autoA11y&&(a?l["aria-labelledby"]="".concat(An.replacementClass,"-title-").concat(s||Mn()):(l["aria-hidden"]="true",l.focusable="false")),Lr({icons:{main:Nr(h),mask:o?Nr(o.icon):{found:!1,width:null,height:null,icon:{}}},prefix:d,iconName:f,transform:ft(ft({},wn),n),symbol:r,title:a,maskId:i,titleId:s,extra:{attributes:l,styles:u,classes:c}}))))};var no={mixout(){return{icon:(e=to,function(t){let n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const r=(t||{}).icon?t:Ar(t||{});let{mask:o}=n;return o&&(o=(o||{}).icon?o:Ar(o||{})),e(r,ft(ft({},n),{},{mask:o}))})};var e},hooks:()=>({mutationObserverCallbacks:e=>(e.treeCallback=Jr,e.nodeCallback=eo,e)}),provides(e){e.i2svg=function(e){const{node:t=bt,callback:n=()=>{}}=e;return Jr(t,n)},e.generateSvgReplacementMutation=function(e,t){const{iconName:n,title:r,titleId:o,prefix:i,transform:a,symbol:s,mask:c,maskId:l,extra:u}=t;return new Promise(((t,d)=>{Promise.all([Tr(n,i),c.iconName?Tr(c.iconName,c.prefix):Promise.resolve({found:!1,width:512,height:512,icon:{}})]).then((c=>{let[d,f]=c;t([e,Lr({icons:{main:d,mask:f},prefix:i,iconName:n,transform:a,symbol:s,maskId:l,title:r,titleId:o,extra:u,watchable:!0})])})).catch(d)}))},e.generateAbstractIcon=function(e){let{children:t,attributes:n,main:r,transform:o,styles:i}=e;const a=jn(i);let s;return a.length>0&&(n.style=a),xn(o)&&(s=yr("generateAbstractTransformGrouping",{main:r,transform:o,containerWidth:r.width,iconWidth:r.width})),t.push(s||r.icon),{children:t,attributes:n}}}},ro={mixout:()=>({layer(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const{classes:n=[]}=t;return Er({type:"layer"},(()=>{gr("beforeDOMElementCreation",{assembler:e,params:t});let r=[];return e((e=>{Array.isArray(e)?e.map((e=>{r=r.concat(e.abstract)})):r=r.concat(e.abstract)})),[{tag:"span",attributes:{class:["".concat(An.cssPrefix,"-layers"),...n].join(" ")},children:r}]}))}})},oo={mixout:()=>({counter(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const{title:n=null,classes:r=[],attributes:o={},styles:i={}}=t;return Er({type:"counter",content:e},(()=>(gr("beforeDOMElementCreation",{content:e,params:t}),function(e){const{content:t,title:n,extra:r}=e,o=ft(ft(ft({},r.attributes),n?{title:n}:{}),{},{class:r.classes.join(" ")}),i=jn(r.styles);i.length>0&&(o.style=i);const a=[];return a.push({tag:"span",attributes:o,children:[t]}),n&&a.push({tag:"span",attributes:{class:"sr-only"},children:[n]}),a}({content:e.toString(),title:n,extra:{attributes:o,styles:i,classes:["".concat(An.cssPrefix,"-layers-counter"),...r]}}))))}})},io={mixout:()=>({text(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const{transform:n=wn,title:r=null,classes:o=[],attributes:i={},styles:a={}}=t;return Er({type:"text",content:e},(()=>(gr("beforeDOMElementCreation",{content:e,params:t}),jr({content:e,transform:ft(ft({},wn),n),title:r,extra:{attributes:i,styles:a,classes:["".concat(An.cssPrefix,"-layers-text"),...o]}}))))}}),provides(e){e.generateLayersText=function(e,t){const{title:n,transform:r,extra:o}=t;let i=null,a=null;if(Et){const t=parseInt(getComputedStyle(e).fontSize,10),n=e.getBoundingClientRect();i=n.width/t,a=n.height/t}return An.autoA11y&&!n&&(o.attributes["aria-hidden"]="true"),Promise.resolve([e,jr({content:e.innerHTML,width:i,height:a,transform:r,title:n,extra:o,watchable:!0})])}}};const ao=new RegExp('"',"ug"),so=[1105920,1112319],co=ft(ft(ft(ft({},{FontAwesome:{normal:"fas",400:"fas"}}),{"Font Awesome 6 Free":{900:"fas",400:"far"},"Font Awesome 6 Pro":{900:"fas",400:"far",normal:"far",300:"fal",100:"fat"},"Font Awesome 6 Brands":{400:"fab",normal:"fab"},"Font Awesome 6 Duotone":{900:"fad",400:"fadr",normal:"fadr",300:"fadl",100:"fadt"},"Font Awesome 6 Sharp":{900:"fass",400:"fasr",normal:"fasr",300:"fasl",100:"fast"},"Font Awesome 6 Sharp Duotone":{900:"fasds",400:"fasdr",normal:"fasdr",300:"fasdl",100:"fasdt"}}),{"Font Awesome 5 Free":{900:"fas",400:"far"},"Font Awesome 5 Pro":{900:"fas",400:"far",normal:"far",300:"fal"},"Font Awesome 5 Brands":{400:"fab",normal:"fab"},"Font Awesome 5 Duotone":{900:"fad"}}),{"Font Awesome Kit":{400:"fak",normal:"fak"},"Font Awesome Kit Duotone":{400:"fakd",normal:"fakd"}}),lo=Object.keys(co).reduce(((e,t)=>(e[t.toLowerCase()]=co[t],e)),{}),uo=Object.keys(lo).reduce(((e,t)=>{const n=lo[t];return e[t]=n[900]||[...Object.entries(n)][0][1],e}),{});function fo(e,t){const n="".concat("data-fa-pseudo-element-pending").concat(t.replace(":","-"));return new Promise(((r,o)=>{if(null!==e.getAttribute(n))return r();const i=Cn(e.children).filter((e=>e.getAttribute(Wt)===t))[0],a=vt.getComputedStyle(e,t),s=a.getPropertyValue("font-family"),c=s.match(dn),l=a.getPropertyValue("font-weight"),u=a.getPropertyValue("content");if(i&&!c)return e.removeChild(i),r();if(c&&"none"!==u&&""!==u){const u=a.getPropertyValue("content");let d=function(e,t){const n=e.replace(/^['"]|['"]$/g,"").toLowerCase(),r=parseInt(t),o=isNaN(r)?"normal":r;return(lo[n]||{})[o]||uo[n]}(s,l);const{value:f,isSecondary:h}=function(e){const t=e.replace(ao,""),n=function(e,t){const n=e.length;let r,o=e.charCodeAt(t);return o>=55296&&o<=56319&&n>t+1&&(r=e.charCodeAt(t+1),r>=56320&&r<=57343)?1024*(o-55296)+r-56320+65536:o}(t,0),r=n>=so[0]&&n<=so[1],o=2===t.length&&t[0]===t[1];return{value:Rn(o?t[0]:t),isSecondary:r||o}}(u),p=c[0].startsWith("FontAwesome");let m=nr(d,f),g=m;if(p){const e=function(e){const t=Kn[e],n=nr("fas",e);return t||(n?{prefix:"fas",iconName:n}:null)||{prefix:null,iconName:null}}(f);e.iconName&&e.prefix&&(m=e.iconName,d=e.prefix)}if(!m||h||i&&i.getAttribute(Ht)===d&&i.getAttribute(Zt)===g)r();else{e.setAttribute(n,g),i&&e.removeChild(i);const a={iconName:null,title:null,titleId:null,prefix:null,transform:wn,symbol:!1,mask:{iconName:null,prefix:null,rest:[]},maskId:null,extra:{classes:[],styles:{},attributes:{}}},{extra:s}=a;s.attributes[Wt]=t,Tr(m,d).then((o=>{const i=Lr(ft(ft({},a),{},{icons:{main:o,mask:{prefix:null,iconName:null,rest:[]}},prefix:d,iconName:g,extra:s,watchable:!0})),c=bt.createElementNS("http://www.w3.org/2000/svg","svg");"::before"===t?e.insertBefore(c,e.firstChild):e.appendChild(c),c.outerHTML=i.map((e=>Bn(e))).join("\n"),e.removeAttribute(n),r()})).catch(o)}}else r()}))}function ho(e){return Promise.all([fo(e,"::before"),fo(e,"::after")])}function po(e){return!(e.parentNode===document.head||~Xt.indexOf(e.tagName.toUpperCase())||e.getAttribute(Wt)||e.parentNode&&"svg"===e.parentNode.tagName)}function mo(e){if(Ct)return new Promise(((t,n)=>{const r=Cn(e.querySelectorAll("*")).filter(po).map(ho),o=Or("searchPseudoElements");Fr(),Promise.all(r).then((()=>{o(),Gr(),t()})).catch((()=>{o(),Gr(),n()}))}))}var go={hooks:()=>({mutationObserverCallbacks:e=>(e.pseudoElementsCallback=mo,e)}),provides(e){e.pseudoElements2svg=function(e){const{node:t=bt}=e;An.searchPseudoElements&&mo(t)}}};let yo=!1;var Ao={mixout:()=>({dom:{unwatch(){Fr(),yo=!0}}}),hooks:()=>({bootstrap(){Wr(mr("mutationObserverCallbacks",{}))},noAuto(){Vr&&Vr.disconnect()},watch(e){const{observeMutationsRoot:t}=e;yo?Gr():Wr(mr("mutationObserverCallbacks",{observeMutationsRoot:t}))}})};const vo=e=>e.toLowerCase().split(" ").reduce(((e,t)=>{const n=t.toLowerCase().split("-"),r=n[0];let o=n.slice(1).join("-");if(r&&"h"===o)return e.flipX=!0,e;if(r&&"v"===o)return e.flipY=!0,e;if(o=parseFloat(o),isNaN(o))return e;switch(r){case"grow":e.size=e.size+o;break;case"shrink":e.size=e.size-o;break;case"left":e.x=e.x-o;break;case"right":e.x=e.x+o;break;case"up":e.y=e.y-o;break;case"down":e.y=e.y+o;break;case"rotate":e.rotate=e.rotate+o}return e}),{size:16,x:0,y:0,flipX:!1,flipY:!1,rotate:0});var bo={mixout:()=>({parse:{transform:e=>vo(e)}}),hooks:()=>({parseNodeAttributes(e,t){const n=t.getAttribute("data-fa-transform");return n&&(e.transform=vo(n)),e}}),provides(e){e.generateAbstractTransformGrouping=function(e){let{main:t,transform:n,containerWidth:r,iconWidth:o}=e;const i={transform:"translate(".concat(r/2," 256)")},a="translate(".concat(32*n.x,", ").concat(32*n.y,") "),s="scale(".concat(n.size/16*(n.flipX?-1:1),", ").concat(n.size/16*(n.flipY?-1:1),") "),c="rotate(".concat(n.rotate," 0 0)"),l={outer:i,inner:{transform:"".concat(a," ").concat(s," ").concat(c)},path:{transform:"translate(".concat(o/2*-1," -256)")}};return{tag:"g",attributes:ft({},l.outer),children:[{tag:"g",attributes:ft({},l.inner),children:[{tag:t.icon.tag,children:t.icon.children,attributes:ft(ft({},t.icon.attributes),l.path)}]}]}}}};const wo={x:0,y:0,width:"100%",height:"100%"};function Mo(e){let t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return e.attributes&&(e.attributes.fill||t)&&(e.attributes.fill="black"),e}var Co={hooks:()=>({parseNodeAttributes(e,t){const n=t.getAttribute("data-fa-mask"),r=n?cr(n.split(" ").map((e=>e.trim()))):{prefix:null,iconName:null,rest:[]};return r.prefix||(r.prefix=ir()),e.mask=r,e.maskId=t.getAttribute("data-fa-mask-id"),e}}),provides(e){e.generateAbstractMask=function(e){let{children:t,attributes:n,main:r,mask:o,maskId:i,transform:a}=e;const{width:s,icon:c}=r,{width:l,icon:u}=o,d=function(e){let{transform:t,containerWidth:n,iconWidth:r}=e;const o={transform:"translate(".concat(n/2," 256)")},i="translate(".concat(32*t.x,", ").concat(32*t.y,") "),a="scale(".concat(t.size/16*(t.flipX?-1:1),", ").concat(t.size/16*(t.flipY?-1:1),") "),s="rotate(".concat(t.rotate," 0 0)");return{outer:o,inner:{transform:"".concat(i," ").concat(a," ").concat(s)},path:{transform:"translate(".concat(r/2*-1," -256)")}}}({transform:a,containerWidth:l,iconWidth:s}),f={tag:"rect",attributes:ft(ft({},wo),{},{fill:"white"})},h=c.children?{children:c.children.map(Mo)}:{},p={tag:"g",attributes:ft({},d.inner),children:[Mo(ft({tag:c.tag,attributes:ft(ft({},c.attributes),d.path)},h))]},m={tag:"g",attributes:ft({},d.outer),children:[p]},g="mask-".concat(i||Mn()),y="clip-".concat(i||Mn()),A={tag:"mask",attributes:ft(ft({},wo),{},{id:g,maskUnits:"userSpaceOnUse",maskContentUnits:"userSpaceOnUse"}),children:[f,m]},v={tag:"defs",children:[{tag:"clipPath",attributes:{id:y},children:(b=u,"g"===b.tag?b.children:[b])},A]};var b;return t.push(v,{tag:"rect",attributes:ft({fill:"currentColor","clip-path":"url(#".concat(y,")"),mask:"url(#".concat(g,")")},wo)}),{children:t,attributes:n}}}},Eo={provides(e){let t=!1;vt.matchMedia&&(t=vt.matchMedia("(prefers-reduced-motion: reduce)").matches),e.missingIconAbstract=function(){const e=[],n={fill:"currentColor"},r={attributeType:"XML",repeatCount:"indefinite",dur:"2s"};e.push({tag:"path",attributes:ft(ft({},n),{},{d:"M156.5,447.7l-12.6,29.5c-18.7-9.5-35.9-21.2-51.5-34.9l22.7-22.7C127.6,430.5,141.5,440,156.5,447.7z M40.6,272H8.5 c1.4,21.2,5.4,41.7,11.7,61.1L50,321.2C45.1,305.5,41.8,289,40.6,272z M40.6,240c1.4-18.8,5.2-37,11.1-54.1l-29.5-12.6 C14.7,194.3,10,216.7,8.5,240H40.6z M64.3,156.5c7.8-14.9,17.2-28.8,28.1-41.5L69.7,92.3c-13.7,15.6-25.5,32.8-34.9,51.5 L64.3,156.5z M397,419.6c-13.9,12-29.4,22.3-46.1,30.4l11.9,29.8c20.7-9.9,39.8-22.6,56.9-37.6L397,419.6z M115,92.4 c13.9-12,29.4-22.3,46.1-30.4l-11.9-29.8c-20.7,9.9-39.8,22.6-56.8,37.6L115,92.4z M447.7,355.5c-7.8,14.9-17.2,28.8-28.1,41.5 l22.7,22.7c13.7-15.6,25.5-32.9,34.9-51.5L447.7,355.5z M471.4,272c-1.4,18.8-5.2,37-11.1,54.1l29.5,12.6 c7.5-21.1,12.2-43.5,13.6-66.8H471.4z M321.2,462c-15.7,5-32.2,8.2-49.2,9.4v32.1c21.2-1.4,41.7-5.4,61.1-11.7L321.2,462z M240,471.4c-18.8-1.4-37-5.2-54.1-11.1l-12.6,29.5c21.1,7.5,43.5,12.2,66.8,13.6V471.4z M462,190.8c5,15.7,8.2,32.2,9.4,49.2h32.1 c-1.4-21.2-5.4-41.7-11.7-61.1L462,190.8z M92.4,397c-12-13.9-22.3-29.4-30.4-46.1l-29.8,11.9c9.9,20.7,22.6,39.8,37.6,56.9 L92.4,397z M272,40.6c18.8,1.4,36.9,5.2,54.1,11.1l12.6-29.5C317.7,14.7,295.3,10,272,8.5V40.6z M190.8,50 c15.7-5,32.2-8.2,49.2-9.4V8.5c-21.2,1.4-41.7,5.4-61.1,11.7L190.8,50z M442.3,92.3L419.6,115c12,13.9,22.3,29.4,30.5,46.1 l29.8-11.9C470,128.5,457.3,109.4,442.3,92.3z M397,92.4l22.7-22.7c-15.6-13.7-32.8-25.5-51.5-34.9l-12.6,29.5 C370.4,72.1,384.4,81.5,397,92.4z"})});const o=ft(ft({},r),{},{attributeName:"opacity"}),i={tag:"circle",attributes:ft(ft({},n),{},{cx:"256",cy:"364",r:"28"}),children:[]};return t||i.children.push({tag:"animate",attributes:ft(ft({},r),{},{attributeName:"r",values:"28;14;28;28;14;28;"})},{tag:"animate",attributes:ft(ft({},o),{},{values:"1;0;1;1;0;1;"})}),e.push(i),e.push({tag:"path",attributes:ft(ft({},n),{},{opacity:"1",d:"M263.7,312h-16c-6.6,0-12-5.4-12-12c0-71,77.4-63.9,77.4-107.8c0-20-17.8-40.2-57.4-40.2c-29.1,0-44.3,9.6-59.2,28.7 c-3.9,5-11.1,6-16.2,2.4l-13.1-9.2c-5.6-3.9-6.9-11.8-2.6-17.2c21.2-27.2,46.4-44.7,91.2-44.7c52.3,0,97.4,29.8,97.4,80.2 c0,67.6-77.4,63.5-77.4,107.8C275.7,306.6,270.3,312,263.7,312z"}),children:t?[]:[{tag:"animate",attributes:ft(ft({},o),{},{values:"1;0;0;0;0;1;"})}]}),t||e.push({tag:"path",attributes:ft(ft({},n),{},{opacity:"0",d:"M232.5,134.5l7,168c0.3,6.4,5.6,11.5,12,11.5h9c6.4,0,11.7-5.1,12-11.5l7-168c0.3-6.8-5.2-12.5-12-12.5h-23 C237.7,122,232.2,127.7,232.5,134.5z"}),children:[{tag:"animate",attributes:ft(ft({},o),{},{values:"0;0;1;1;0;0;"})}]}),{tag:"g",attributes:{class:"missing"},children:e}}}};!function(e,t){let{mixoutsTo:n}=t;dr=e,fr={},Object.keys(hr).forEach((e=>{-1===pr.indexOf(e)&&delete hr[e]})),dr.forEach((e=>{const t=e.mixout?e.mixout():{};if(Object.keys(t).forEach((e=>{"function"==typeof t[e]&&(n[e]=t[e]),"object"==typeof t[e]&&Object.keys(t[e]).forEach((r=>{n[e]||(n[e]={}),n[e][r]=t[e][r]}))})),e.hooks){const t=e.hooks();Object.keys(t).forEach((e=>{fr[e]||(fr[e]=[]),fr[e].push(t[e])}))}e.provides&&e.provides(hr)}))}([kn,no,ro,oo,io,go,Ao,bo,Co,Eo,{hooks:()=>({parseNodeAttributes(e,t){const n=t.getAttribute("data-fa-symbol"),r=null!==n&&(""===n||n);return e.symbol=r,e}})}],{mixoutsTo:Mr});const Lo=Mr.library,jo=Mr.icon,xo={prefix:"fas",iconName:"code-pull-request",icon:[512,512,[],"e13c","M305.8 2.1C314.4 5.9 320 14.5 320 24l0 40 16 0c70.7 0 128 57.3 128 128l0 166.7c28.3 12.3 48 40.5 48 73.3c0 44.2-35.8 80-80 80s-80-35.8-80-80c0-32.8 19.7-61 48-73.3L400 192c0-35.3-28.7-64-64-64l-16 0 0 40c0 9.5-5.6 18.1-14.2 21.9s-18.8 2.3-25.8-4.1l-80-72c-5.1-4.6-7.9-11-7.9-17.8s2.9-13.3 7.9-17.8l80-72c7-6.3 17.2-7.9 25.8-4.1zM104 80A24 24 0 1 0 56 80a24 24 0 1 0 48 0zm8 73.3l0 205.3c28.3 12.3 48 40.5 48 73.3c0 44.2-35.8 80-80 80s-80-35.8-80-80c0-32.8 19.7-61 48-73.3l0-205.3C19.7 141 0 112.8 0 80C0 35.8 35.8 0 80 0s80 35.8 80 80c0 32.8-19.7 61-48 73.3zM104 432a24 24 0 1 0 -48 0 24 24 0 1 0 48 0zm328 24a24 24 0 1 0 0-48 24 24 0 1 0 0 48z"]},No={prefix:"fas",iconName:"circle-notch",icon:[512,512,[],"f1ce","M222.7 32.1c5 16.9-4.6 34.8-21.5 39.8C121.8 95.6 64 169.1 64 256c0 106 86 192 192 192s192-86 192-192c0-86.9-57.8-160.4-137.1-184.1c-16.9-5-26.6-22.9-21.5-39.8s22.9-26.6 39.8-21.5C434.9 42.1 512 140 512 256c0 141.4-114.6 256-256 256S0 397.4 0 256C0 140 77.1 42.1 182.9 10.6c16.9-5 34.8 4.6 39.8 21.5z"]},So={prefix:"fas",iconName:"binoculars",icon:[512,512,[],"f1e5","M128 32l32 0c17.7 0 32 14.3 32 32l0 32L96 96l0-32c0-17.7 14.3-32 32-32zm64 96l0 320c0 17.7-14.3 32-32 32L32 480c-17.7 0-32-14.3-32-32l0-59.1c0-34.6 9.4-68.6 27.2-98.3C40.9 267.8 49.7 242.4 53 216L60.5 156c2-16 15.6-28 31.8-28l99.8 0zm227.8 0c16.1 0 29.8 12 31.8 28L459 216c3.3 26.4 12.1 51.8 25.8 74.6c17.8 29.7 27.2 63.7 27.2 98.3l0 59.1c0 17.7-14.3 32-32 32l-128 0c-17.7 0-32-14.3-32-32l0-320 99.8 0zM320 64c0-17.7 14.3-32 32-32l32 0c17.7 0 32 14.3 32 32l0 32-96 0 0-32zm-32 64l0 160-64 0 0-160 64 0z"]},To={prefix:"fas",iconName:"hourglass-half",icon:[384,512,["hourglass-2"],"f252","M32 0C14.3 0 0 14.3 0 32S14.3 64 32 64l0 11c0 42.4 16.9 83.1 46.9 113.1L146.7 256 78.9 323.9C48.9 353.9 32 394.6 32 437l0 11c-17.7 0-32 14.3-32 32s14.3 32 32 32l32 0 256 0 32 0c17.7 0 32-14.3 32-32s-14.3-32-32-32l0-11c0-42.4-16.9-83.1-46.9-113.1L237.3 256l67.9-67.9c30-30 46.9-70.7 46.9-113.1l0-11c17.7 0 32-14.3 32-32s-14.3-32-32-32L320 0 64 0 32 0zM96 75l0-11 192 0 0 11c0 19-5.6 37.4-16 53L112 128c-10.3-15.6-16-34-16-53zm16 309c3.5-5.3 7.6-10.3 12.1-14.9L192 301.3l67.9 67.9c4.6 4.6 8.6 9.6 12.1 14.9L112 384z"]},ko={prefix:"fas",iconName:"language",icon:[640,512,[],"f1ab","M0 128C0 92.7 28.7 64 64 64l192 0 48 0 16 0 256 0c35.3 0 64 28.7 64 64l0 256c0 35.3-28.7 64-64 64l-256 0-16 0-48 0L64 448c-35.3 0-64-28.7-64-64L0 128zm320 0l0 256 256 0 0-256-256 0zM178.3 175.9c-3.2-7.2-10.4-11.9-18.3-11.9s-15.1 4.7-18.3 11.9l-64 144c-4.5 10.1 .1 21.9 10.2 26.4s21.9-.1 26.4-10.2l8.9-20.1 73.6 0 8.9 20.1c4.5 10.1 16.3 14.6 26.4 10.2s14.6-16.3 10.2-26.4l-64-144zM160 233.2L179 276l-38 0 19-42.8zM448 164c11 0 20 9 20 20l0 4 44 0 16 0c11 0 20 9 20 20s-9 20-20 20l-2 0-1.6 4.5c-8.9 24.4-22.4 46.6-39.6 65.4c.9 .6 1.8 1.1 2.7 1.6l18.9 11.3c9.5 5.7 12.5 18 6.9 27.4s-18 12.5-27.4 6.9l-18.9-11.3c-4.5-2.7-8.8-5.5-13.1-8.5c-10.6 7.5-21.9 14-34 19.4l-3.6 1.6c-10.1 4.5-21.9-.1-26.4-10.2s.1-21.9 10.2-26.4l3.6-1.6c6.4-2.9 12.6-6.1 18.5-9.8l-12.2-12.2c-7.8-7.8-7.8-20.5 0-28.3s20.5-7.8 28.3 0l14.6 14.6 .5 .5c12.4-13.1 22.5-28.3 29.8-45L448 228l-72 0c-11 0-20-9-20-20s9-20 20-20l52 0 0-4c0-11 9-20 20-20z"]},_o={prefix:"fas",iconName:"code-branch",icon:[448,512,[],"f126","M80 104a24 24 0 1 0 0-48 24 24 0 1 0 0 48zm80-24c0 32.8-19.7 61-48 73.3l0 87.8c18.8-10.9 40.7-17.1 64-17.1l96 0c35.3 0 64-28.7 64-64l0-6.7C307.7 141 288 112.8 288 80c0-44.2 35.8-80 80-80s80 35.8 80 80c0 32.8-19.7 61-48 73.3l0 6.7c0 70.7-57.3 128-128 128l-96 0c-35.3 0-64 28.7-64 64l0 6.7c28.3 12.3 48 40.5 48 73.3c0 44.2-35.8 80-80 80s-80-35.8-80-80c0-32.8 19.7-61 48-73.3l0-6.7 0-198.7C19.7 141 0 112.8 0 80C0 35.8 35.8 0 80 0s80 35.8 80 80zm232 0a24 24 0 1 0 -48 0 24 24 0 1 0 48 0zM80 456a24 24 0 1 0 0-48 24 24 0 1 0 0 48z"]},Do={prefix:"fas",iconName:"circle-info",icon:[512,512,["info-circle"],"f05a","M256 512A256 256 0 1 0 256 0a256 256 0 1 0 0 512zM216 336l24 0 0-64-24 0c-13.3 0-24-10.7-24-24s10.7-24 24-24l48 0c13.3 0 24 10.7 24 24l0 88 8 0c13.3 0 24 10.7 24 24s-10.7 24-24 24l-80 0c-13.3 0-24-10.7-24-24s10.7-24 24-24zm40-208a32 32 0 1 1 0 64 32 32 0 1 1 0-64z"]},Io={prefix:"fas",iconName:"caret-down",icon:[320,512,[],"f0d7","M137.4 374.6c12.5 12.5 32.8 12.5 45.3 0l128-128c9.2-9.2 11.9-22.9 6.9-34.9s-16.6-19.8-29.6-19.8L32 192c-12.9 0-24.6 7.8-29.6 19.8s-2.2 25.7 6.9 34.9l128 128z"]},Oo={prefix:"fas",iconName:"flask",icon:[448,512,[],"f0c3","M288 0L160 0 128 0C110.3 0 96 14.3 96 32s14.3 32 32 32l0 132.8c0 11.8-3.3 23.5-9.5 33.5L10.3 406.2C3.6 417.2 0 429.7 0 442.6C0 480.9 31.1 512 69.4 512l309.2 0c38.3 0 69.4-31.1 69.4-69.4c0-12.8-3.6-25.4-10.3-36.4L329.5 230.4c-6.2-10.1-9.5-21.7-9.5-33.5L320 64c17.7 0 32-14.3 32-32s-14.3-32-32-32L288 0zM192 196.8L192 64l64 0 0 132.8c0 23.7 6.6 46.9 19 67.1L309.5 320l-171 0L173 263.9c12.4-20.2 19-43.4 19-67.1z"]},zo={prefix:"fas",iconName:"arrow-down",icon:[384,512,[8595],"f063","M169.4 470.6c12.5 12.5 32.8 12.5 45.3 0l160-160c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L224 370.8 224 64c0-17.7-14.3-32-32-32s-32 14.3-32 32l0 306.7L54.6 265.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3l160 160z"]},Bo={prefix:"fas",iconName:"bars-staggered",icon:[512,512,["reorder","stream"],"f550","M0 96C0 78.3 14.3 64 32 64l384 0c17.7 0 32 14.3 32 32s-14.3 32-32 32L32 128C14.3 128 0 113.7 0 96zM64 256c0-17.7 14.3-32 32-32l384 0c17.7 0 32 14.3 32 32s-14.3 32-32 32L96 288c-17.7 0-32-14.3-32-32zM448 416c0 17.7-14.3 32-32 32L32 448c-17.7 0-32-14.3-32-32s14.3-32 32-32l384 0c17.7 0 32 14.3 32 32z"]},$o={prefix:"fas",iconName:"magnifying-glass",icon:[512,512,[128269,"search"],"f002","M416 208c0 45.9-14.9 88.3-40 122.7L502.6 457.4c12.5 12.5 12.5 32.8 0 45.3s-32.8 12.5-45.3 0L330.7 376c-34.4 25.2-76.8 40-122.7 40C93.1 416 0 322.9 0 208S93.1 0 208 0S416 93.1 416 208zM208 352a144 144 0 1 0 0-288 144 144 0 1 0 0 288z"]},Po={prefix:"fas",iconName:"arrow-up",icon:[384,512,[8593],"f062","M214.6 41.4c-12.5-12.5-32.8-12.5-45.3 0l-160 160c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0L160 141.2 160 448c0 17.7 14.3 32 32 32s32-14.3 32-32l0-306.7L329.4 246.6c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3l-160-160z"]},Ro={prefix:"fas",iconName:"clock-rotate-left",icon:[512,512,["history"],"f1da","M75 75L41 41C25.9 25.9 0 36.6 0 57.9L0 168c0 13.3 10.7 24 24 24l110.1 0c21.4 0 32.1-25.9 17-41l-30.8-30.8C155 85.5 203 64 256 64c106 0 192 86 192 192s-86 192-192 192c-40.8 0-78.6-12.7-109.7-34.4c-14.5-10.1-34.4-6.6-44.6 7.9s-6.6 34.4 7.9 44.6C151.2 495 201.7 512 256 512c141.4 0 256-114.6 256-256S397.4 0 256 0C185.3 0 121.3 28.7 75 75zm181 53c-13.3 0-24 10.7-24 24l0 104c0 6.4 2.5 12.5 7 17l72 72c9.4 9.4 24.6 9.4 33.9 0s9.4-24.6 0-33.9l-65-65 0-94.1c0-13.3-10.7-24-24-24z"]},Uo={prefix:"fas",iconName:"circle-xmark",icon:[512,512,[61532,"times-circle","xmark-circle"],"f057","M256 512A256 256 0 1 0 256 0a256 256 0 1 0 0 512zM175 175c9.4-9.4 24.6-9.4 33.9 0l47 47 47-47c9.4-9.4 24.6-9.4 33.9 0s9.4 24.6 0 33.9l-47 47 47 47c9.4 9.4 9.4 24.6 0 33.9s-24.6 9.4-33.9 0l-47-47-47 47c-9.4 9.4-24.6 9.4-33.9 0s-9.4-24.6 0-33.9l47-47-47-47c-9.4-9.4-9.4-24.6 0-33.9z"]};var Yo,Qo,qo,Fo,Go=n(5032);function Vo(e){return Vo="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},Vo(e)}function Wo(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}function Ho(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Zo(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,ai(r.key),r)}}function Ko(e,t,n){return t&&Zo(e.prototype,t),n&&Zo(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function Xo(e,t,n){return t=ni(t),function(e,t){if(t&&("object"==Vo(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,Jo()?Reflect.construct(t,n||[],ni(e).constructor):t.apply(e,n))}function Jo(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(Jo=function(){return!!e})()}function ei(e,t,n,r){var o=ti(ni(1&r?e.prototype:e),t,n);return 2&r&&"function"==typeof o?function(e){return o.apply(n,e)}:o}function ti(){return ti="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(e,t,n){var r=function(e,t){for(;!{}.hasOwnProperty.call(e,t)&&null!==(e=ni(e)););return e}(e,t);if(r){var o=Object.getOwnPropertyDescriptor(r,t);return o.get?o.get.call(arguments.length<3?e:n):o.value}},ti.apply(null,arguments)}function ni(e){return ni=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},ni(e)}function ri(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&oi(e,t)}function oi(e,t){return oi=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},oi(e,t)}function ii(e,t,n){return(t=ai(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ai(e){var t=function(e,t){if("object"!=Vo(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=Vo(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==Vo(t)?t:t+""}var si=function(e){function t(){var e;return Ho(this,t),ii(e=Xo(this,t),"_handleMouseEnter",(function(t){clearTimeout(e.timerID),e.timerID=null})),ii(e,"_handleMouseLeave",(function(t){e.triggerAutoDismissTimer()})),ii(e,"_handleVisibilityChange",(function(t){document.hidden?e.clearAutoDismissTimer():e.triggerAutoDismissTimer()})),e.timerID=null,e.config=null,e.urls={build:null,external:null,stable:null},e.readingLatestVersion=!1,e.readingStableVersion=!1,e.stableVersionAvailable=!1,e.localStorageKey=null,e.dismissedTimestamp=null,e.autoDismissed=!1,e.triggerAutoDismissTimer(),e}return ri(t,e),Ko(t,[{key:"loadDismissedTimestamp",value:function(e){this.localStorageKey=this.getLocalStorageKeyFromConfig(this.config);var t=ci.getLocalStorage()[this.localStorageKey];t&&t.dismissedTimestamp&&(this.dismissedTimestamp=t.dismissedTimestamp)}},{key:"triggerAutoDismissTimer",value:function(){var e=this;document.hidden||this.autoDismissed||(clearTimeout(this.timerID),this.timerID=setTimeout((function(){e.autoDismissed=!0,e.requestUpdate()}),5e3))}},{key:"clearAutoDismissTimer",value:function(){clearTimeout(this.timerID),this.timerID=null}},{key:"connectedCallback",value:function(){ei(t,"connectedCallback",this,3)([]),document.addEventListener("visibilitychange",this._handleVisibilityChange),this.addEventListener("mouseenter",this._handleMouseEnter),this.addEventListener("mouseleave",this._handleMouseLeave)}},{key:"disconnectedCallback",value:function(){ei(t,"disconnectedCallback",this,3)([]),this.removeEventListener("mouseenter",this._handleMouseEnter),this.removeEventListener("mouseleave",this._handleMouseLeave),document.removeEventListener("visibilitychange",this._handleVisibilityChange),clearTimeout(this.timerID),this.timerID=null}},{key:"loadConfig",value:function(e){ci.isEnabled(e)&&(this.config=e,this.config.addons.notifications.enabled&&"external"===this.config.versions.current.type&&(this.urls={build:e.builds.current.urls.build.replace("readthedocs.org","app.readthedocs.org").replace("readthedocs.com","app.readthedocs.com").replace("app.app.","app."),external:e.versions.current.urls.vcs}),fe().get(this.config,"addons.notifications.show_on_latest",!1)&&"single_version_without_translations"!==e.projects.current.versioning_scheme&&"external"!==e.versions.current.type&&this.calculateStableLatestVersionWarning(),this.loadDismissedTimestamp(this.config))}},{key:"getLocalStorageKeyFromConfig",value:function(e){var t=e.projects.current.slug,n=e.projects.current.language.code,r=e.versions.current.slug;return"".concat(t,"-").concat(n,"-").concat(r,"-notification")}},{key:"firstUpdated",value:function(){this.className=this.className||"raised toast"}},{key:"render",value:function(){return this.autoDismissed||null===this.config||this.dismissedTimestamp?G:this.config.addons.notifications.enabled?"external"===this.config.versions.current.type&&fe().get(this.config,"addons.notifications.show_on_external",!1)?this.renderExternalVersionWarning():this.readingLatestVersion&&this.stableVersionAvailable&&this.config.versions.current.slug!==this.config.projects.current.default_version&&fe().get(this.config,"addons.notifications.show_on_latest",!1)?this.renderLatestVersionWarning():!this.readingStableVersion&&this.stableVersionAvailable&&this.config.versions.current.slug!==this.config.projects.current.default_version&&fe().get(this.config,"addons.notifications.show_on_non_stable",!1)?this.renderStableVersionWarning():G:G}},{key:"calculateStableLatestVersionWarning",value:function(){var e=this.config.versions.active.find((function(e){return"stable"===e.slug})),t=this.config.versions.active.find((function(e){return"latest"===e.slug})),n=this.config.versions.current;("latest"===n.slug||void 0!==t&&void 0!==t.aliases.find((function(e){return e.slug===n.slug})))&&(this.readingLatestVersion=!0),("stable"===n.slug||void 0!==e&&void 0!==e.aliases.find((function(e){return e.slug===n.slug})))&&(this.readingStableVersion=!0),void 0!==e&&(this.stableVersionAvailable=!0,this.urls.stable=rt(e.urls.documentation,this.config.readthedocs.resolver.filename))}},{key:"renderLatestVersionWarning",value:function(){Lo.add(Oo);var e=jo(Oo,{classes:["header","icon"]});return q(Yo||(Yo=Wo(["\n <div>\n ",'\n <div class="title">\n This is the <span>latest development version</span>\n ','\n </div>\n <div class="content">\n Some features may not yet be available in the published stable\n version. Read the\n <a href="','">stable version of this documentation</a\n >.\n </div>\n </div>\n '])),e.node[0],this.renderCloseButton(),this.urls.stable)}},{key:"renderStableVersionWarning",value:function(){Lo.add(To);var e=jo(To,{classes:["header","icon"]});return q(Qo||(Qo=Wo(["\n <div>\n ",'\n <div class="title">\n This <em>may</em> be an\n <span>old version of this documentation</span>\n ','\n </div>\n <div class="content">\n You may be reading an old version of this documentation. Read the\n <a href="','"\n >latest stable version of this documentation</a\n >.\n </div>\n </div>\n '])),e.node[0],this.renderCloseButton(),this.urls.stable)}},{key:"renderExternalVersionWarning",value:function(){Lo.add(xo);var e=jo(xo,{title:"This version is a pull request version",classes:["header","icon"]});return q(qo||(qo=Wo(["\n <div>\n ",'\n <div class="title">\n This page was created from a pull request build\n ','\n </div>\n <div class="content">\n See the\n <a href="','"\n >build\'s detail page</a\n >\n or\n <a href="','"\n >pull request #',"</a\n >\n for more information.\n </div>\n </div>\n "])),e.node[0],this.renderCloseButton(),tt(this.urls.build,"notification"),this.urls.external,this.config.versions.current.slug)}},{key:"renderCloseButton",value:function(){Lo.add(Uo);var e=jo(Uo,{title:"Close notification"});return q(Fo||(Fo=Wo(['\n <a href="#" class="right" @click=',">\n ","\n </a>\n "])),this.closeNotification,e.node[0])}},{key:"closeNotification",value:function(e){e.preventDefault(),this.dismissedTimestamp=Date.now();var t=ii({},this.localStorageKey,{dismissedTimestamp:this.dismissedTimestamp});return ci.setLocalStorage(t),!1}}])}(se);ii(si,"elementName","readthedocs-notification"),ii(si,"properties",{config:{state:!0},urls:{state:!0},highest_version:{state:!0},dismissedTimestamp:{state:!0},autoDismissed:{state:!0},localStorageKey:{state:!0}}),ii(si,"styles",Go.A);var ci=function(e){function t(){return Ho(this,t),Xo(this,t,arguments)}return ri(t,e),Ko(t)}(Xe);function li(e){return li="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},li(e)}function ui(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,gi(r.key),r)}}function di(e,t,n){return t=hi(t),function(e,t){if(t&&("object"==li(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,fi()?Reflect.construct(t,n||[],hi(e).constructor):t.apply(e,n))}function fi(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(fi=function(){return!!e})()}function hi(e){return hi=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},hi(e)}function pi(e,t){return pi=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},pi(e,t)}function mi(e,t,n){return(t=gi(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function gi(e){var t=function(e,t){if("object"!=li(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=li(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==li(t)?t:t+""}ii(ci,"jsonValidationURI","http://v1.schemas.readthedocs.org/addons.notifications.json"),ii(ci,"addonEnabledPath","addons.notifications.enabled"),ii(ci,"addonName","Notification"),ii(ci,"elementClass",si),customElements.define(si.elementName,si);var yi=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),di(this,t,arguments)}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&pi(e,t)}(t,e),function(e,t,n){return t&&ui(e.prototype,t),n&&ui(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}(t,[{key:"loadConfig",value:function(e){this.config=e,"external"!==this.config.versions.current.type&&this.registerPageView()}},{key:"registerPageView",value:function(){var e={project:this.config.projects.current.slug,version:this.config.versions.current.slug,absolute_uri:window.location.href};at("/_/api/v2/analytics/?"+new URLSearchParams(e).toString(),{method:"GET",cache:"no-store"}).then((function(e){if(!e.ok)throw new Error})).catch((function(e){console.error("Error registering page view")}))}}])}(Xe);mi(yi,"jsonValidationURI","http://v1.schemas.readthedocs.org/addons.analytics.json"),mi(yi,"addonEnabledPath","addons.analytics.enabled"),mi(yi,"addonName","Analytics"),mi(yi,"enabledOnHttpStatus",[200,404]);var Ai=n(6801);
|
|
/**
|
|
* @license
|
|
* Copyright 2017 Google LLC
|
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
*/
|
|
const vi=1,bi=2,wi=e=>(...t)=>({_$litDirective$:e,values:t});class Mi{constructor(e){}get _$AU(){return this._$AM._$AU}_$AT(e,t,n){this.t=e,this._$AM=t,this.i=n}_$AS(e,t){return this.update(e,t)}update(e,t){return this.render(...t)}}
|
|
/**
|
|
* @license
|
|
* Copyright 2017 Google LLC
|
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
*/
|
|
class Ci extends Mi{constructor(e){if(super(e),this.it=G,e.type!==bi)throw Error(this.constructor.directiveName+"() can only be used in child bindings")}render(e){if(e===G||null==e)return this._t=void 0,this.it=e;if(e===F)return e;if("string"!=typeof e)throw Error(this.constructor.directiveName+"() called with a non-string value");if(e===this.it)return this._t;this.it=e;const t=[e];return t.raw=t,this._t={_$litType$:this.constructor.resultType,strings:t,values:[]}}}Ci.directiveName="unsafeHTML",Ci.resultType=1;const Ei=wi(Ci),Li=wi(class extends Mi{constructor(e){if(super(e),e.type!==vi||"class"!==e.name||e.strings?.length>2)throw Error("`classMap()` can only be used in the `class` attribute and must be the only part in the attribute.")}render(e){return" "+Object.keys(e).filter((t=>e[t])).join(" ")+" "}update(e,[t]){if(void 0===this.st){this.st=new Set,void 0!==e.strings&&(this.nt=new Set(e.strings.join(" ").split(/\s/).filter((e=>""!==e))));for(const e in t)t[e]&&!this.nt?.has(e)&&this.st.add(e);return this.render(t)}const n=e.element.classList;for(const e of this.st)e in t||(n.remove(e),this.st.delete(e));for(const e in t){const r=!!t[e];r===this.st.has(e)||this.nt?.has(e)||(r?(n.add(e),this.st.add(e)):(n.remove(e),this.st.delete(e)))}return F}});var ji,xi,Ni,Si,Ti,ki,_i,Di,Ii,Oi,zi,Bi,$i;function Pi(e){return Pi="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},Pi(e)}function Ri(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i,a,s=[],c=!0,l=!1;try{if(i=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;c=!1}else for(;!(c=(r=i.call(n)).done)&&(s.push(r.value),s.length!==t);c=!0);}catch(e){l=!0,o=e}finally{try{if(!c&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(l)throw o}}return s}}(e,t)||Qi(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Ui(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}function Yi(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=Qi(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,o=function(){};return{s:o,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,s=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return a=e.done,e},e:function(e){s=!0,i=e},f:function(){try{a||null==n.return||n.return()}finally{if(s)throw i}}}}function Qi(e,t){if(e){if("string"==typeof e)return qi(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?qi(e,t):void 0}}function qi(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function Fi(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Gi(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,na(r.key),r)}}function Vi(e,t,n){return t&&Gi(e.prototype,t),n&&Gi(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function Wi(e,t,n){return t=Xi(t),function(e,t){if(t&&("object"==Pi(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,Hi()?Reflect.construct(t,n||[],Xi(e).constructor):t.apply(e,n))}function Hi(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(Hi=function(){return!!e})()}function Zi(e,t,n,r){var o=Ki(Xi(1&r?e.prototype:e),t,n);return 2&r&&"function"==typeof o?function(e){return o.apply(n,e)}:o}function Ki(){return Ki="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(e,t,n){var r=function(e,t){for(;!{}.hasOwnProperty.call(e,t)&&null!==(e=Xi(e)););return e}(e,t);if(r){var o=Object.getOwnPropertyDescriptor(r,t);return o.get?o.get.call(arguments.length<3?e:n):o.value}},Ki.apply(null,arguments)}function Xi(e){return Xi=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},Xi(e)}function Ji(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&ea(e,t)}function ea(e,t){return ea=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},ea(e,t)}function ta(e,t,n){return(t=na(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function na(e){var t=function(e,t){if("object"!=Pi(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=Pi(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==Pi(t)?t:t+""}var ra=function(e){function t(){var e;return Fi(this,t),ta(e=Wi(this,t),"_handleCloseModal",(function(t){t.preventDefault(),e.closeModal()})),ta(e,"_handleShowModal",(function(t){t.preventDefault(),e.showModal()})),Lo.add($o),Lo.add(No),Lo.add(So),Lo.add(Bo),Lo.add(Uo),e.config=null,e.show=!1,e.cssFormFocusClasses={},e.results=null,e.inputIcon=jo($o,{title:"Search docs"}),e.currentQueryRequest=null,e.defaultFilter=null,e.filters=[],e.triggerKeycode=191,e.triggerSelector=null,e.triggerEvent="focusin",e.hideRecentSearches=!1,e.recentSearchesLocalStorageKey="readthedocsSearchRecentSearches",e.recentSearchesLocalStorageLimit=20,e}return Ji(t,e),Vi(t,[{key:"loadConfig",value:function(e){if(oa.isEnabled(e)&&(this.config=e,this.config.addons.search)){this.defaultFilter={name:"Default filter",value:this.config.addons.search.default_filter};var t,n=[],r=Yi(this.config.addons.search.filters);try{for(r.s();!(t=r.n()).done;){var o=t.value;n.push({name:o[0],value:o[1]})}}catch(e){r.e(e)}finally{r.f()}this.filters=n}}},{key:"firstUpdated",value:function(){this.className=this.className||"raised floating"}},{key:"render",value:function(){return null===this.config?G:this.renderSearchModal()}},{key:"renderSearchModal",value:function(){return q(ji||(ji=Ui(["\n <div ?hidden=",' role="search">\n <div @click=',' class="background"></div>\n <div class="content">\n <form class=',">\n <label>","</label>\n <input\n @input=","\n @keydown=","\n @focusin=","\n @focusout=",'\n placeholder="Search docs"\n type="search"\n autocomplete="off"\n />\n </form>\n ','\n <div class="results">\n ','\n </div>\n <div class="footer">\n <ul class="help">\n <li><code>Enter</code> to select</li>\n <li><code>Up</code>/<code>Down</code> to navigate</li>\n <li><code>Esc</code> to close</li>\n </ul>\n <div class="credits">\n Search powered by\n <a\n href="','"\n >\n <img src="','" alt="Read the Docs" />\n </a>\n </div>\n </div>\n </div>\n </div>\n '])),!this.show,this.triggerCloseModal,Li(this.cssFormFocusClasses),this.inputIcon.node[0],this.queryInput,this.selectResultKeyboard,this.queryInputFocus,this.queryInputFocus,this.renderFilters(),this.results||this.renderRecentSearches(),tt("https://about.readthedocs.com/","search"),"data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4KPHN2ZyB2ZXJzaW9uPSIxLjEiIGlkPSJzdmciIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIHg9IjBweCIgeT0iMHB4IiB2aWV3Qm94PSI2OTQgMTk3IDIwMDAgNDAwIj4KPGcgaWQ9ImxvZ28iIHRyYW5zZm9ybT0ibWF0cml4KDAuNTU3NTM2NDQsMCwwLDAuNTU3NTM2NDQsNjguMzA4MTM1LDEwNTAuMTI2MikiPgoJPHBhdGggc3R5bGU9ImZpbGw6IzMyMzIyQSIgZD0iTTE0MDguMS0xMTgxLjdjLTcuNSwxLTEyLjcsNy44LTExLjcsMTUuMyAgIGMwLjcsNS40LDQuNiw5LjksOS45LDExLjNjMCwwLDMzLjIsMTEsODkuNywxNS42YzQ1LjQsMy43LDk2LjktMy4yLDk2LjktMy4yYzcuNS0wLjIsMTMuNS02LjUsMTMuMi0xNHMtNi41LTEzLjUtMTQtMTMuMiAgIGMtMC45LDAtMS44LDAuMS0yLjYsMC4zYzAsMC01MC40LDYuMi05MS4zLDIuOWMtNTQtNC40LTgzLjQtMTQuMy04My40LTE0LjNDMTQxMi42LTExODEuNywxNDEwLjMtMTE4MiwxNDA4LjEtMTE4MS43eiAgICBNMTQwOC4xLTEyNDkuM2MtNy41LDEtMTIuNyw3LjgtMTEuNywxNS4zYzAuNyw1LjQsNC42LDkuOSw5LjksMTEuM2MwLDAsMzMuMiwxMSw4OS43LDE1LjZjNDUuNCwzLjcsOTYuOS0zLjIsOTYuOS0zLjIgICBjNy41LTAuMiwxMy41LTYuNSwxMy4yLTE0cy02LjUtMTMuNS0xNC0xMy4yYy0wLjksMC0xLjgsMC4xLTIuNiwwLjNjMCwwLTUwLjQsNi4yLTkxLjMsMi45Yy01NC00LjQtODMuNC0xNC4zLTgzLjQtMTQuMyAgIEMxNDEyLjYtMTI0OS4zLDE0MTAuMy0xMjQ5LjYsMTQwOC4xLTEyNDkuM3ogTTE0MDguMS0xMzE2LjljLTcuNSwxLTEyLjcsNy44LTExLjcsMTUuM2MwLjcsNS40LDQuNiw5LjksOS45LDExLjMgICBjMCwwLDMzLjIsMTEsODkuNywxNS42YzQ1LjQsMy43LDk2LjktMy4yLDk2LjktMy4yYzcuNS0wLjIsMTMuNS02LjUsMTMuMi0xNHMtNi41LTEzLjUtMTQtMTMuMmMtMC45LDAtMS44LDAuMS0yLjYsMC4zICAgYzAsMC01MC40LDYuMi05MS4zLDIuOWMtNTQtNC40LTgzLjQtMTQuMy04My40LTE0LjNDMTQxMi42LTEzMTYuOSwxNDEwLjMtMTMxNy4yLDE0MDguMS0xMzE2Ljl6IE0xNDA4LjEtMTM4NC40ICAgYy03LjUsMS0xMi43LDcuOC0xMS43LDE1LjNjMC43LDUuNCw0LjYsOS45LDkuOSwxMS4zYzAsMCwzMy4yLDExLDg5LjcsMTUuNmM0NS40LDMuNyw5Ni45LTMuMiw5Ni45LTMuMmM3LjUtMC4yLDEzLjUtNi41LDEzLjItMTQgICBzLTYuNS0xMy41LTE0LTEzLjJjLTAuOSwwLTEuOCwwLjEtMi42LDAuM2MwLDAtNTAuNCw2LjItOTEuMywyLjljLTU0LTQuNC04My40LTE0LjMtODMuNC0xNC4zICAgQzE0MTIuNi0xMzg0LjUsMTQxMC4zLTEzODQuNywxNDA4LjEtMTM4NC40eiBNMTMxMy40LTE0NTUuN2MtNzEsMC41LTk3LjUsMjIuMy05Ny41LDIyLjN2NTMwLjNjMCwwLDI1LjgtMjIuMywxMDktMTguOSAgIGM4My4yLDMuNCwxMDAuMywzMi42LDIwMi41LDM0LjZjMTAyLjIsMi4xLDEyNy45LTE1LjcsMTI3LjktMTUuN2wxLjUtNTQwLjZjMCwwLTQ2LDEzLTEzNS41LDEzLjdzLTExMS0yMi44LTE5My4yLTI1LjUgICBDMTMyMy0xNDU1LjYsMTMxOC4xLTE0NTUuNywxMzEzLjQtMTQ1NS43eiBNMTM3Mi44LTE0MjEuMWMwLDAsNDMsMTQuMiwxMjIuNSwxOC4yYzY3LjIsMy4zLDEzNC41LTYuNiwxMzQuNS02LjZ2NDgwLjUgICBjMCwwLTM0LjEsMTcuOS0xMTkuMywxMS44Yy02Ni00LjctMTM4LjctMjkuNy0xMzguNy0yOS43TDEzNzIuOC0xNDIxLjF6IE0xMzMxLjMtMTQwOC42YzcuNiwwLDEzLjcsNi4yLDEzLjcsMTMuNyAgIHMtNi4yLDEzLjctMTMuNywxMy43YzAsMC0yMi4zLDAuMS0zNS44LDEuNWMtMjIuOCwyLjMtMzguMywxMC42LTM4LjMsMTAuNmMtNi43LDMuNS0xNSwxLTE4LjUtNS43cy0xLTE1LDUuNy0xOC41YzAsMCwwLDAsMCwwICAgYzAsMCwyMC4yLTEwLjcsNDguNC0xMy41QzEzMDkuMS0xNDA4LjUsMTMzMS4zLTE0MDguNiwxMzMxLjMtMTQwOC42eiBNMTMxOC4xLTEzNDAuOGM3LjYtMC4yLDEzLjMsMCwxMy4zLDAgICBjNy41LDAuOSwxMi45LDcuOCwxMiwxNS4zYy0wLjgsNi4zLTUuNywxMS4yLTEyLDEyYzAsMC0yMi4zLDAuMS0zNS44LDEuNWMtMjIuOCwyLjMtMzguMywxMC42LTM4LjMsMTAuNmMtNi43LDMuNS0xNSwwLjktMTguNS01LjggICBjLTMuNS02LjctMC45LTE1LDUuOC0xOC41YzAsMCwyMC4yLTEwLjcsNDguNC0xMy41QzEzMDAuOS0xMzQwLjEsMTMxMC41LTEzNDAuNiwxMzE4LjEtMTM0MC44eiBNMTMzMS4zLTEyNzMuMyAgIGM3LjYsMCwxMy43LDYuMiwxMy43LDEzLjdjMCw3LjYtNi4yLDEzLjctMTMuNywxMy43YzAsMC0yMi4zLTAuMS0zNS44LDEuMmMtMjIuOCwyLjMtMzguMywxMC42LTM4LjMsMTAuNiAgIGMtNi43LDMuNS0xNSwwLjktMTguNS01LjhjLTMuNS02LjctMC45LTE1LDUuOC0xOC41YzAsMCwyMC4yLTEwLjcsNDguNC0xMy41QzEzMDkuMS0xMjczLjQsMTMzMS4zLTEyNzMuMywxMzMxLjMtMTI3My4zeiIvPgo8L2c+CjxnIGlkPSJ0ZXh0Ij4KCTxwYXRoIHN0eWxlPSJmaWxsOiMzMjMyMkEiIGQ9Ik0xMTI4LjYsNDkxLjlWNDcwbDguOS0wLjhjNS4yLTAuNSw3LjgtMy4xLDcuOC03LjZWMzM2bC0xNS40LTAuOHYtMjNoNzMuOCAgIGMyMC45LDAsMzYuOSwzLjksNDguMSwxMS42YzExLjIsNy43LDE2LjgsMjAuNSwxNi44LDM4LjFjMCwxMi4zLTMuMiwyMi4zLTkuNywzMC4zYy02LjMsNy45LTEzLjksMTMuNy0yMi43LDE3LjMgICBjNi41LDIuMywxMS42LDcuOCwxNS40LDE2LjVsMTkuNSw0Mi40bDE1LjQsMC41djIzaC02Ni44VjQ3MGw3LjgtMC44YzQuMS0wLjUsNi4yLTIuMiw2LjItNC45YzAtMS4xLTAuNC0yLjMtMS4xLTMuOGwtMTIuNy0yNyAgIGMtMi00LjUtNC4yLTcuNy02LjgtOS41Yy0yLjMtMi01LjgtMy0xMC4zLTNoLTI0LjZ2NDdsMTcuNiwwLjh2MjNMMTEyOC42LDQ5MS45IE0xMTc4LjMsMzk1LjRoMjMuNWMyMi4yLDAsMzMuMi05LjksMzMuMi0yOS43ICAgYzAtMTEuNC0zLTE4LjctOC45LTIyLjJjLTUuOC0zLjQtMTUuMS01LjEtMjguMS01LjFoLTE5LjdWMzk1LjQiLz4KCTxwYXRoIHN0eWxlPSJmaWxsOiMzMjMyMkEiIGQ9Ik0xMzU2LDM1MS45YzEzLjUsMCwyNC4yLDMuMywzMi4yLDEwYzcuOSw2LjUsMTEuOSwxNS43LDExLjksMjcuNmMwLDcuOS0xLjcsMTUtNS4xLDIxLjEgICBjLTMuNCw1LjktNy43LDEwLjYtMTIuNywxNC4xYy01LDMuNC0xMS4yLDYuMi0xOC40LDguNGMtMTIuMSwzLjYtMjUuNyw1LjQtNDAuOCw1LjRjMC41LDkuNSwzLjUsMTcuMyw4LjksMjMuMiAgIGM1LjQsNS44LDEzLjcsOC42LDI0LjksOC42YzExLjIsMCwyMi4zLTQsMzMuNS0xMS45bDEwLjMsMjEuOWMtMy42LDMuMi05LjcsNi42LTE4LjQsMTBjLTguNSwzLjQtMTguMiw1LjEtMjkuMiw1LjEgICBjLTIyLDAtMzguMS02LTQ4LjQtMTguMWMtMTAuMy0xMi4zLTE1LjQtMjktMTUuNC01MC4zYzAtMjEuMyw1LjktMzkuMSwxNy42LTUzLjVDMTMxOC41LDM1OS4xLDEzMzQuOSwzNTEuOSwxMzU2LDM1MS45ICAgIE0xMzQzLjYsNDEzLjhjNi43LTEuMywxMi44LTMuOSwxOC40LTcuOGM1LjYtNC4xLDguNC05LDguNC0xNC42YzAtMTEtNS40LTE2LjUtMTYuMi0xNi41Yy0xMC4xLDAtMTcuOCw0LjEtMjMuMiwxMi4yICAgYy01LjQsNy45LTguNCwxNy41LTguOSwyOC42QzEzMjkuOSw0MTUuNSwxMzM3LjEsNDE0LjksMTM0My42LDQxMy44Ii8+Cgk8cGF0aCBzdHlsZT0iZmlsbDojMzIzMjJBIiBkPSJNMTUyOS42LDM2MS40djEwMC41YzAsMi45LDAuNSw0LjksMS40LDUuOWMxLjEsMS4xLDIuOSwxLjcsNS40LDEuOWw4LjYsMC41djIxLjZoLTQzdi0xNS43ICAgbC0wLjgtMC4zYy05LDEzLTIxLjQsMTkuNS0zNywxOS41Yy0xOC40LDAtMzItNS45LTQwLjgtMTcuNmMtOC44LTExLjctMTMuMi0yNy43LTEzLjItNDguMWMwLTI0LjUsNS45LTQzLjYsMTcuOC01Ny4zICAgYzExLjktMTMuNywyOS43LTIwLjUsNTMuNS0yMC41QzE0OTYuOCwzNTEuOSwxNTEyLjksMzU1LjEsMTUyOS42LDM2MS40IE0xNDk4LjMsNDQ4Ljl2LTcwYy01LTIuMy0xMi0zLjUtMjAuOC0zLjUgICBjLTEyLjEsMC0yMC44LDQuOS0yNi4yLDE0LjZjLTUuNCw5LjctOC4xLDIyLjYtOC4xLDM4LjdjMCwyOS4yLDkuNCw0My44LDI4LjEsNDMuOGM3LjksMCwxNC40LTIuMywxOS41LTcgICBDMTQ5NS43LDQ2MC42LDE0OTguMyw0NTUuMSwxNDk4LjMsNDQ4LjkiLz4KCTxwYXRoIHN0eWxlPSJmaWxsOiMzMjMyMkEiIGQ9Ik0xNjE2LjMsMzUxLjljNy43LDAsMTUuMSwxLjEsMjIuMiwzLjJ2LTI3LjNjMC00LTIuMy02LjEtNy02LjVsLTExLjYtMC44di0yMS40aDUwLjN2MTY0LjMgICBjMC4yLDQuMSwyLjQsNi4yLDYuOCw2LjJsOS41LDAuNXYyMS42aC00My44VjQ3NmwtMC44LTAuM2MtOC4xLDEzLjItMjAuNCwxOS43LTM2LjgsMTkuN2MtMjAuNSwwLTM1LTYuOC00My4yLTIwLjUgICBjLTcuNi0xMi40LTExLjQtMjcuNy0xMS40LTQ1LjdjMC0yMy40LDUuOC00Mi4yLDE3LjMtNTYuMkMxNTc5LjMsMzU4LjksMTU5NS41LDM1MS45LDE2MTYuMywzNTEuOSBNMTYzOC40LDQ0OS44di03MCAgIGMtNi41LTIuOS0xMy4zLTQuMy0yMC41LTQuM2MtMTEuOSwwLTIwLjYsNC44LTI2LjIsMTQuM2MtNS40LDkuNi04LjEsMjEuNy04LjEsMzYuNWMwLDMwLjMsOS43LDQ1LjQsMjkuMiw0NS40ICAgYzcuNCwwLDEzLjUtMi4xLDE4LjQtNi4yQzE2MzYsNDYxLjEsMTYzOC40LDQ1NS45LDE2MzguNCw0NDkuOCIvPgoJPHBhdGggc3R5bGU9ImZpbGw6IzMyMzIyQSIgZD0iTTE3OTEuNyw0NzAuNmMwLDAtMTIuNSw0LjctMTkuMiw0LjdzLTkuMi0zLjMtOS4yLTExLjhjMC0zLjgsMC41LTguOCwxLjQtMTQuOWwxMC4yLTYzLjFoMzIuNiAgIGwyLjgtMTcuN2gtMzIuNmw1LjctMzQuNUwxNzYwLDMzOGwtNC43LDI5LjhsLTIzLjYsMi40bC0yLjYsMTUuNGgyMy40TDE3NDIsNDUxYy0wLjksNS40LTEuNCwxMC42LTEuNCwxNS4xICAgYzAsMTguNyw3LjgsMjguMSwyMy45LDI4LjFjMTMuMiwwLDMxLTEwLjksMzEtMTAuOUwxNzkxLjcsNDcwLjYiLz4KCTxwYXRoIHN0eWxlPSJmaWxsOiMzMjMyMkEiIGQ9Ik0xODY1LDMwOS44bC00My4zLDEuMmwtMi4xLDEzbDE5LjksNC43bC0yNiwxNjMuMmgyMi41bDcuOC00Mi42YzAsMCwxOC43LTY1LDQ5LjQtNjUgICBjOS41LDAsMTIuMyw2LjksMTIuMywxNS42YzAsMy4zLTAuNSw2LjktMC45LDEwLjRsLTEzLjUsODEuNmw0My4zLTIuNGwyLjEtMTNsLTE5LjktMy41bDEwLjYtNjYuMmMwLjctNSwxLjItOS43LDEuMi0xNCAgIGMwLTE3LTYuOS0yOC42LTI1LjgtMjguNmMtMzUuOSwwLTU0LjksNDUuNi01NS44LDQ4LjJMMTg2NSwzMDkuOCIvPgoJPHBhdGggc3R5bGU9ImZpbGw6IzMyMzIyQSIgZD0iTTIwMzUsNDY0LjdjMCwwLTIxLjUsMTAuNi0zOC44LDEwLjZjLTE3LjcsMC0yNi03LjgtMjYtMjQuNmMwLTMuMSwwLjItNi42LDAuNy0xMC4yICAgYzQ5LDAsODMtMTguNCw4My00NS42YzAtMTguNy0xNS4xLTMwLjctMzktMzAuN2MtMzcuNiwwLTY4LjMsMzguNS02OC4zLDg3LjVjMCwyNiwxNi42LDQyLjYsNDIuNiw0Mi42YzI3LjksMCw1My0xNy41LDUzLTE3LjUgICBMMjAzNSw0NjQuNyBNMTk3Myw0MjRjNi4xLTI0LjgsMjMuNC00Mi4xLDQwLjctNDIuMWMxMi4xLDAsMTcuNyw1LDE3LjcsMTUuNEMyMDMxLjUsNDEyLjksMjAwNi42LDQyNCwxOTczLDQyNCIvPgoJPHBhdGggc3R5bGU9ImZpbGw6IzMyMzIyQSIgZD0iTTIwOTMuNyw0OTEuOVY0NzBsOC45LTAuOGM1LjItMC41LDcuOC0zLjEsNy44LTcuNlYzMzZsLTE1LjQtMC44di0yM2g3NC4xICAgYzI2LjUsMCw0Ny4xLDcsNjEuOSwyMS4xYzE1LDE0LjEsMjIuNCwzNC45LDIyLjQsNjIuNGMwLDE3LjEtMi4zLDMyLjEtNi44LDQ0LjljLTQuNSwxMi42LTEwLjYsMjIuNS0xOC40LDI5LjcgICBjLTE1LjUsMTQuNC0zNC44LDIxLjYtNTcuOCwyMS42TDIwOTMuNyw0OTEuOSBNMjE0My40LDMzOC40VjQ2NmgyNy42YzE1LjUsMCwyNy42LTUuNiwzNi4yLTE2LjhjOC42LTExLjIsMTMtMjcuNCwxMy00OC43ICAgYzAtNDEuNC0xNy42LTYyLjItNTIuNy02Mi4ySDIxNDMuNCIvPgoJPHBhdGggc3R5bGU9ImZpbGw6IzMyMzIyQSIgZD0iTTIzMzAsNDcyLjJjMTkuNiwwLDI5LjUtMTUuOSwyOS41LTQ3LjZjMC0xNi0yLjMtMjguMi02LjgtMzYuNWMtNC4zLTguMy0xMS43LTEyLjQtMjIuMi0xMi40ICAgYy0xMC4zLDAtMTcuOCw0LTIyLjcsMTEuOWMtNC45LDcuOS03LjMsMTguNy03LjMsMzIuNGMwLDI1LjQsNC43LDQxLjQsMTQuMSw0Ny44QzIzMTguOCw0NzAuNywyMzIzLjksNDcyLjIsMjMzMCw0NzIuMiAgICBNMjI2Ny45LDQyMy44YzAtMTMuMywyLTI0LjksNS45LTM0LjZjNC05LjksOS4zLTE3LjUsMTUuOS0yMi43YzEyLjgtOS43LDI2LjktMTQuNiw0Mi40LTE0LjZjMTAuOCwwLDE5LjksMS44LDI3LjMsNS40ICAgYzcuNiwzLjQsMTMuNCw3LjUsMTcuNiwxMi4yYzQuMyw0LjUsNy45LDExLjIsMTAuOCwyMGMzLjEsOC42LDQuNiwxOC45LDQuNiwzMC44YzAsMjQuOS02LDQzLjctMTguMSw1Ni41ICAgYy0xMi4xLDEyLjgtMjcuNiwxOS4yLTQ2LjUsMTkuMmMtMTguNywwLTMzLjQtNi00NC4xLTE4LjFDMjI3My4yLDQ2NS42LDIyNjcuOSw0NDcuNiwyMjY3LjksNDIzLjgiLz4KCTxwYXRoIHN0eWxlPSJmaWxsOiMzMjMyMkEiIGQ9Ik0yNDM4LjIsNDIyLjVjMCwxNS4zLDIuOSwyNy4yLDguNiwzNS43YzUuOCw4LjUsMTQuMSwxMi43LDI0LjksMTIuN2MxMSwwLDIxLjgtMy45LDMyLjQtMTEuNiAgIGwxMS42LDIwLjhjLTEyLjgsMTAuNS0yOC44LDE1LjctNDguMSwxNS43Yy0xOS4zLDAtMzQuNS02LTQ1LjctMTguMWMtMTEtMTIuMy0xNi41LTMwLjMtMTYuNS01NC4xczYuMy00MS42LDE4LjktNTMuNSAgIGMxMi44LTEyLjEsMjcuMS0xOC4xLDQzLTE4LjFjMTYsMCwzMC45LDMuNyw0NC42LDExLjF2MzUuMWwtMjQuOSwxLjl2LTEzYzAtNC45LTEuOC03LjgtNS40LTguOWMtMy40LTEuMy03LTEuOS0xMC44LTEuOSAgIEMyNDQ5LjEsMzc2LjIsMjQzOC4yLDM5MS42LDI0MzguMiw0MjIuNSIvPgoJPHBhdGggc3R5bGU9ImZpbGw6IzMyMzIyQSIgZD0iTTI1OTIuOSwzNzYuNWMtNC4zLTEuNi05LjYtMi40LTE1LjctMi40Yy02LjEsMC0xMS4xLDEuNC0xNC45LDQuM2MtMy42LDIuNy01LjQsNi4xLTUuNCwxMC4zICAgYzAsNCwwLjYsNy4xLDEuOSw5LjVjMS40LDIuMiwzLjYsNC4xLDYuNSw1LjdjNC41LDIuMyw5LjksNC40LDE2LjIsNi4yYzYuMywxLjYsMTEsMywxNC4xLDQuMWMzLjEsMC45LDYuOCwyLjUsMTEuNCw0LjkgICBjNC43LDIuMyw4LjIsNC45LDEwLjUsNy42YzYuMyw2LjcsOS41LDE1LjIsOS41LDI1LjdjMCwxMy41LTUsMjQuMS0xNC45LDMxLjljLTkuNyw3LjYtMjIuMiwxMS40LTM3LjMsMTEuNCAgIGMtMjIsMC0zOC42LTIuOC00OS43LTguNHYtMzcuNmwyNC4zLTEuOXYxM2MwLDcuOSw3LjYsMTEuOSwyMi43LDExLjlzMjIuNy01LjUsMjIuNy0xNi41YzAtNC0xLjQtNy4yLTQuMS05LjcgICBjLTIuNS0yLjUtNS00LjItNy42LTUuMWMtMi41LTAuOS01LjYtMS44LTkuMi0yLjdjLTMuNC0wLjktNi44LTEuOC0xMC4zLTIuN2MtMy4yLTAuOS02LjgtMi4xLTEwLjgtMy41Yy0zLjgtMS42LTgtMy45LTEyLjctNi44ICAgYy05LjItNS45LTEzLjgtMTUuOS0xMy44LTI5LjdjMC0xNC4xLDUtMjQuOSwxNC45LTMyLjRjOS45LTcuNiwyMi4zLTExLjQsMzcuMy0xMS40YzE1LjEsMCwzMC4xLDMuNiw0NC45LDEwLjh2MzIuNGwtMjQuMywxLjkgICB2LTExLjRDMjU5OS4xLDM4MS4yLDI1OTcsMzc4LjEsMjU5Mi45LDM3Ni41Ii8+CjwvZz4KPGRpdiB4bWxucz0iIiBpZD0ic2FrYS1ndWktcm9vdCI+PGRpdj48ZGl2PjxzdHlsZS8+PC9kaXY+PC9kaXY+PC9kaXY+PC9zdmc+")}},{key:"renderNoResultsFound",value:function(){var e=jo(So,{title:"Not found"}),t=this.getUserQuery();this.results=q(xi||(xi=Ui(['\n <div class="no-results">\n ','\n <p class="title">No results for <strong>"','"</strong></p>\n <div class="tips">\n <p>Try using the following special queries:</p>\n <ul>\n <li>\n <strong>Exact phrase</strong>: use double quotes to match a whole\n phrase: <code>"adding a subproject"</code>.\n </li>\n <li>\n <strong>Prefix</strong>: use an asterisk at the end of any term to\n prefix a result: <code>environ*</code>.\n </li>\n <li>\n <strong>Fuzziness</strong>: add a tilde and a number to indicate\n the fuzziness of the word: <code>getter~2</code>.\n </li>\n </ul>\n </div>\n\n <div class="footer">\n <p>\n Learn more about the query syntax supported in our\n <a\n target="_blank"\n href="https://docs.readthedocs.io/page/server-side-search/syntax.html"\n >documentation</a\n >.\n </p>\n </div>\n </div>\n '])),e.node[0],t)}},{key:"renderFilters",value:function(){var e=this;return this.config.addons.search.filters.length?q(Ni||(Ni=Ui(['\n <div class="filters">\n <span class="filters-title">Filters</span>\n <ul>\n ',"\n </ul>\n </div>\n "])),this.filters.map((function(t,n){return q(Si||(Si=Ui(["\n <li>\n <input\n @click=",'\n id="filter-','"\n type="checkbox"\n value="','"\n />\n <label for="filter-','"> '," </label>\n </li>\n "])),e.filterClicked,n,t.value,n,t.name)}))):G}},{key:"renderResults",value:function(e){var t=this,n=jo(Bo,{title:"Result",classes:["header","icon"]});this.results=q(Ti||(Ti=Ui(['\n <div class="hit">\n ',"\n </div>\n "])),e.results.map((function(e,r){return q(ki||(ki=Ui(['<div class="hit-block">\n <a\n @click=','\n class="hit-block-heading"\n href="','"\n >\n <i>',"</i>\n <h2>"," ","</h2>\n </a>\n\n ","\n </div>"])),t.followResultLink,e.path,n.node[0],e.title,t.renderExternalProject(e),e.blocks.map((function(n,o){return q(_i||(_i=Ui(["",""])),t.renderBlockResult(n,"".concat(n.id,"-").concat(r,"-").concat(o),e))})))})))}},{key:"followResultLink",value:function(e){var t=new CustomEvent(Se);document.dispatchEvent(t)}},{key:"renderBlockResult",value:function(e,t,n){var r=this,o=e.title;e.highlights.title.length&&(o=Ei(e.highlights.title[0]));var i=e.content.substring(0,80)+" ...";return e.highlights.content.length&&(i=i.length>80?Ei("... "+e.highlights.content[0].substring(0,80)+" ..."):Ei(e.highlights.content[0])),q(Di||(Di=Ui(["\n <a\n @mouseenter=","\n @click=",'\n class="hit"\n href="',"#",'"\n >\n <div id="hit-','">\n <p class="hit subheading">','</p>\n <p class="hit content">',"</p>\n </div>\n </a>\n "])),this.mouseenterResultHit,(function(){return r.storeRecentSearch(e,n)}),n.path,e.id,t,o,i)}},{key:"renderRecentSearches",value:function(){var e=this,t=this.getRecentSearches();if(!t||!t.length)return q(Ii||(Ii=Ui(["<p>No recent searches</p>"])));if(this.hideRecentSearches)return G;t.reverse();var n=jo(Ro,{title:"Result",classes:["header","icon"]}),r=jo(Uo,{title:"Clear recent search",classes:["header","icon"]});return q(Oi||(Oi=Ui(['\n <div class="hit">\n <p>Recent:</p>\n ',"\n </div>\n "])),t.map((function(t){var o=t.block,i=t.result;return q(zi||(zi=Ui(['<div class="hit-block">\n <div class="hit-block-heading-container">\n <a class="hit-block-heading" href="','">\n <i>',"</i>\n <h2>"," ",'</h2>\n </a>\n <button\n class="close-icon"\n @click=',"\n >\n ","\n </button>\n </div>\n\n ","\n </div>"])),i.path,n.node[0],i.title,e.renderExternalProject(i),(function(){return e.removeRecentSearch(o,i)}),r.node[0],q(Bi||(Bi=Ui(["",""])),e.renderBlockResult(o,"recent-search-".concat(o.id),i)))})))}},{key:"getLocalStorageKeyFromConfig",value:function(e){var t=e.projects.current.slug,n=e.projects.current.language.code,r=e.versions.current.slug;return"".concat(t,"-").concat(n,"-").concat(r,"-recent-searches")}},{key:"getRecentSearches",value:function(){var e=this.getLocalStorageKeyFromConfig(this.config);return oa.getLocalStorage()[e]||[]}},{key:"storeRecentSearch",value:function(e,t){this.followResultLink();var n=this.getRecentSearches().filter((function(n){var r=n.block,o=n.result;return o.domain!==t.domain||o.path!=o.path||r.id!==e.id}));n.push({block:e,result:t});n.length>this.recentSearchesLocalStorageLimit&&n.slice(n.length-this.recentSearchesLocalStorageLimit);var r=ta({},this.getLocalStorageKeyFromConfig(this.config),n);oa.setLocalStorage(r)}},{key:"removeRecentSearch",value:function(e,t){var n=this.getRecentSearches().filter((function(n){var r=n.block,o=n.result;return o.domain!==t.domain||o.path!=o.path||r.id!==e.id})),r=ta({},this.getLocalStorageKeyFromConfig(this.config),n);oa.setLocalStorage(r),this.requestUpdate()}},{key:"renderExternalProject",value:function(e){return e.project.slug!==this.config.projects.current.slug?q($i||($i=Ui(['\n <small class="subtitle"> (from project ',") </small>\n "])),e.project.slug):G}},{key:"closeModal",value:function(e){this.show=!1,document.activeElement.blur()}},{key:"showModal",value:function(e){this.show=!0}},{key:"updated",value:function(e){var t=this.shadowRoot.querySelector("input[type=search]");null!=t&&t.focus()}},{key:"queryInputFocus",value:function(e){"focusin"===e.type?this.cssFormFocusClasses={focus:!0}:"focusout"===e.type&&(this.cssFormFocusClasses={focus:!1})}},{key:"selectNextResult",value:function(e){var t,n,r=this.renderRoot.querySelectorAll("a.hit"),o=Yi(r.entries());try{for(o.s();!(n=o.n()).done;){var i=Ri(n.value,2),a=i[0],s=i[1];if(s.classList.contains("active")){t=a;break}}}catch(e){o.e(e)}finally{o.f()}var c=r.length>0?r.length-1:0,l=0;void 0!==t&&(l=e?t+1:t-1),l>c?l=0:l<0&&(l=c);var u,d=Yi(this.renderRoot.querySelectorAll("a.hit.active"));try{for(d.s();!(u=d.n()).done;){u.value.classList.remove("active")}}catch(e){d.e(e)}finally{d.f()}var f=r[l];f.classList.add("active"),f.scrollIntoView({behavior:"smooth",block:"nearest",inline:"start"})}},{key:"selectResultKeyboard",value:function(e){if("ArrowDown"===e.key&&(e.preventDefault(),this.selectNextResult(!0)),"ArrowUp"===e.key&&(e.preventDefault(),this.selectNextResult(!1)),"Enter"===e.key){e.preventDefault();var t=this.renderRoot.querySelector("a.hit.active");null!==t&&t.click()}"Escape"===e.key&&(e.preventDefault(),this.triggerCloseModal())}},{key:"getUserQuery",value:function(){return this.renderRoot.querySelector("input[type=search]").value}},{key:"showSpinIcon",value:function(){"circle-notch"!==this.inputIcon.iconName&&(this.inputIcon=jo(No,{title:"Spinner",classes:["spinner","fa-spin"]}))}},{key:"showMagnifierIcon",value:function(){this.inputIcon=jo($o,{title:"Search"})}},{key:"removeAllResults",value:function(){this.results=null}},{key:"fetchResults",value:function(e){var t=this;this.removeAllResults(),this.showSpinIcon();return Je((function(){t.hideRecentSearches=!0;var n="/_/api/v3/search/?"+new URLSearchParams({q:e}).toString();window.location.href.startsWith("http://localhost")&&(n="/_/readthedocs-search.json"),at(n,{method:"GET",headers:{"X-RTD-Hosting-Integrations-Version":Ze}}).then((function(e){if(!e.ok)throw new Error;return e.json()})).then((function(e){e.results.length>0?t.renderResults(e):t.renderNoResultsFound(),t.showMagnifierIcon()})).catch((function(e){console.error(e),t.removeAllResults()}))}),250)}},{key:"getCurrentFilter",value:function(){var e,t=[],n=Yi(this.renderRoot.querySelectorAll(".filters input[type=checkbox]:checked"));try{for(n.s();!(e=n.n()).done;){var r=e.value;t.push(r.value)}}catch(e){n.e(e)}finally{n.f()}return t.join(" ")||this.defaultFilter.value}},{key:"queryInput",value:function(e){var t=this,n=this.getUserQuery();if(n.length>=3){null!==this.currentQueryRequest&&this.currentQueryRequest.cancel(),n=this.getCurrentFilter()+" "+n,this.currentQueryRequest=this.fetchResults(n),this.currentQueryRequest()}else{this.hideRecentSearches=!1,Je((function(){t.removeAllResults()}),300)()}}},{key:"filterClicked",value:function(e){this.queryInput()}},{key:"mouseenterResultHit",value:function(e){var t,n=Yi(this.renderRoot.querySelectorAll("a.hit.active"));try{for(n.s();!(t=n.n()).done;){t.value.classList.remove("active")}}catch(e){n.e(e)}finally{n.f()}}},{key:"triggerCloseModal",value:function(){var e=new CustomEvent(Se);document.dispatchEvent(e)}},{key:"connectedCallback",value:function(){Zi(t,"connectedCallback",this,3)([]),document.addEventListener(Ne,this._handleShowModal),document.addEventListener(Se,this._handleCloseModal)}},{key:"disconnectedCallback",value:function(){document.removeEventListener(Ne,this._handleShowModal),document.removeEventListener(Se,this._handleCloseModal),Zi(t,"disconnectedCallback",this,3)([])}}])}(se);ta(ra,"elementName","readthedocs-search"),ta(ra,"properties",{config:{state:!0},filters:{state:!0},show:{state:!0},inputIcon:{state:!0},results:{state:!0},hideRecentSearches:{state:!0},cssFormFocusClasses:{state:!0},triggerKeycode:{type:Number,attribute:"trigger-keycode"},triggerSelector:{type:String,attribute:"trigger-selector"},triggerEvent:{type:String,attribute:"trigger-event"}}),ta(ra,"styles",Ai.A);var oa=function(e){function t(){return Fi(this,t),Wi(this,t,arguments)}return Ji(t,e),Vi(t)}(Xe);ta(oa,"jsonValidationURI","http://v1.schemas.readthedocs.org/addons.search.json"),ta(oa,"addonEnabledPath","addons.search.enabled"),ta(oa,"addonName","Search"),ta(oa,"enabledOnHttpStatus",[200,404]),ta(oa,"elementClass",ra),customElements.define(ra.elementName,ra);var ia=n(2374),aa=n(3329),sa=n(8968);function ca(e){return ca="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},ca(e)}function la(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ua(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,ba(r.key),r)}}function da(e,t,n){return t&&ua(e.prototype,t),n&&ua(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function fa(e,t,n){return t=ga(t),function(e,t){if(t&&("object"==ca(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,ha()?Reflect.construct(t,n||[],ga(e).constructor):t.apply(e,n))}function ha(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(ha=function(){return!!e})()}function pa(e,t,n,r){var o=ma(ga(1&r?e.prototype:e),t,n);return 2&r&&"function"==typeof o?function(e){return o.apply(n,e)}:o}function ma(){return ma="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(e,t,n){var r=function(e,t){for(;!{}.hasOwnProperty.call(e,t)&&null!==(e=ga(e)););return e}(e,t);if(r){var o=Object.getOwnPropertyDescriptor(r,t);return o.get?o.get.call(arguments.length<3?e:n):o.value}},ma.apply(null,arguments)}function ga(e){return ga=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},ga(e)}function ya(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&Aa(e,t)}function Aa(e,t){return Aa=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},Aa(e,t)}function va(e,t,n){return(t=ba(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ba(e){var t=function(e,t){if("object"!=ca(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=ca(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==ca(t)?t:t+""}var wa="readthedocs-diff",Ma="readthedocs-diff-chunk",Ca={addedClass:"doc-diff-added",modifiedClass:"doc-diff-modified",removedClass:"doc-diff-removed",skipModified:!0},Ea=function(e){function t(){var e;return la(this,t),va(e=fa(this,t),"_handleShowDocDiff",(function(t){t.preventDefault(),e.enableDocDiff()})),va(e,"_handleHideDocDiff",(function(t){t.preventDefault(),e.disableDocDiff()})),e.config=null,e.baseUrl=null,e.rootSelector=null,e.injectStyles=!0,e.originalBody=null,e.cachedRemoteResponse=null,e}return ya(t,e),da(t,[{key:"loadConfig",value:function(e){if(La.isEnabled(e)){if(this.config=e,this.rootSelector=fe().get(this.config,"options.root_selector")||it.getRootSelector(),this.injectStyles){var t=aa.A;t instanceof i&&(t=t.styleSheet),document.adoptedStyleSheets.push(t)}if("true"===et(wa)){var n=new CustomEvent(Te);document.dispatchEvent(n)}}}},{key:"render",value:function(){return G}},{key:"getEmbedURL",value:function(e){var t={url:e};return null!==this.rootSelector&&(t.maincontent=this.rootSelector),Ke?"/_/readthedocs-docdiff-embed.json":Ee+"?"+new URLSearchParams(t).toString()}},{key:"compare",value:function(){var e,t=this;if(null!==this.cachedRemoteResponse)e=Promise.resolve(this.cachedRemoteResponse);else{var n=this.config.addons.doc_diff.base_url;e=at(this.getEmbedURL(n)).then((function(e){if(!e.ok)throw new Error("Error downloading requested base URL.");return e.json()}))}e.then((function(e){t.cachedRemoteResponse=e,t.performDiff(t.cachedRemoteResponse.content)})).finally((function(){var e=new CustomEvent(Be);document.dispatchEvent(e)})).catch((function(e){console.error(e)}))}},{key:"performDiff",value:function(e){var t=(new DOMParser).parseFromString(e,"text/html").documentElement.querySelector(this.rootSelector),n=document.querySelector(this.rootSelector);if(null==t||null==n)throw new Error("Element not found in both documents.");var r=sa.visualDomDiff;var o=r(t,n,Ca);n.replaceWith(o.firstElementChild)}},{key:"enableDocDiff",value:function(){if(null===this.config)return null;if(this.enabled)return console.debug("Ignoring enableDocDiff: it was already enabled"),null;var e=new URL(window.location.href);return e.searchParams.set(wa,"true"),window.history.replaceState({},"",e),this.enabled=!0,this.originalBody=document.querySelector(this.rootSelector),this.compare()}},{key:"disableDocDiff",value:function(){if(!this.enabled)return console.debug("Ignoring disableDocDiff: it was already disabled"),null;var e=new URL(window.location.href);e.searchParams.delete(wa),e.searchParams.delete(Ma),window.history.replaceState({},"",e),this.enabled=!1,document.querySelector(this.rootSelector).replaceWith(this.originalBody);var t=new CustomEvent(Be);document.dispatchEvent(t)}},{key:"connectedCallback",value:function(){pa(t,"connectedCallback",this,3)([]),document.addEventListener(Te,this._handleShowDocDiff),document.addEventListener(ke,this._handleHideDocDiff)}},{key:"disconnectedCallback",value:function(){document.removeEventListener(Te,this._handleShowDocDiff),document.removeEventListener(ke,this._handleHideDocDiff),pa(t,"disconnectedCallback",this,3)([])}}])}(se);va(Ea,"elementName","readthedocs-docdiff"),va(Ea,"properties",{config:{state:!0},enabled:{type:Boolean},baseUrl:{type:String,attribute:"base-url"},injectStyles:{type:Boolean,attribute:"inject-styles",converter:{fromAttribute:function(e,t){return"true"===e},toAttribute:function(e,t){return!0===e?"true":"false"}}}}),va(Ea,"styles",ia.A);var La=function(e){function t(){return la(this,t),fa(this,t,arguments)}return ya(t,e),da(t,null,[{key:"requiresUrlParam",value:function(){return window.location.host.endsWith(".readthedocs.build")||window.location.host.endsWith(".devthedocs.org")||window.location.host.endsWith(".devthedocs.com")}}])}(Xe);va(La,"jsonValidationURI","http://v1.schemas.readthedocs.org/addons.docdiff.json"),va(La,"addonEnabledPath","addons.doc_diff.enabled"),va(La,"addonName","DocDiff"),va(La,"elementClass",Ea),customElements.define(Ea.elementName,Ea);const ja="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiIHN0YW5kYWxvbmU9Im5vIj8+Cjxzdmc6c3ZnCiAgIHZlcnNpb249IjEuMSIKICAgaWQ9InN2ZyIKICAgeD0iMHB4IgogICB5PSIwcHgiCiAgIHZpZXdCb3g9IjY5NCAxOTcgMzQ2LjY5ODU1IDM5OS45ODQ3NyIKICAgc29kaXBvZGk6ZG9jbmFtZT0ibG9nby1saWdodC5zdmciCiAgIHdpZHRoPSIzNDYuNjk4NTUiCiAgIGhlaWdodD0iMzk5Ljk4NDc3IgogICBpbmtzY2FwZTp2ZXJzaW9uPSIxLjMuMiAoMDkxZTIwZWYwZiwgMjAyMy0xMS0yNSwgY3VzdG9tKSIKICAgeG1sbnM6aW5rc2NhcGU9Imh0dHA6Ly93d3cuaW5rc2NhcGUub3JnL25hbWVzcGFjZXMvaW5rc2NhcGUiCiAgIHhtbG5zOnNvZGlwb2RpPSJodHRwOi8vc29kaXBvZGkuc291cmNlZm9yZ2UubmV0L0RURC9zb2RpcG9kaS0wLmR0ZCIKICAgeG1sbnM6c3ZnPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+CiAgPHN2ZzpkZWZzCiAgICAgaWQ9ImRlZnMxMiIgLz4KICA8c29kaXBvZGk6bmFtZWR2aWV3CiAgICAgaWQ9Im5hbWVkdmlldzEyIgogICAgIHBhZ2Vjb2xvcj0iI2ZmZmZmZiIKICAgICBib3JkZXJjb2xvcj0iIzAwMDAwMCIKICAgICBib3JkZXJvcGFjaXR5PSIwLjI1IgogICAgIGlua3NjYXBlOnNob3dwYWdlc2hhZG93PSIyIgogICAgIGlua3NjYXBlOnBhZ2VvcGFjaXR5PSIwLjAiCiAgICAgaW5rc2NhcGU6cGFnZWNoZWNrZXJib2FyZD0iMCIKICAgICBpbmtzY2FwZTpkZXNrY29sb3I9IiNkMWQxZDEiCiAgICAgaW5rc2NhcGU6em9vbT0iMS4yNTIiCiAgICAgaW5rc2NhcGU6Y3g9Ijk5OC40MDI1NiIKICAgICBpbmtzY2FwZTpjeT0iMTk5LjY4MDUxIgogICAgIGlua3NjYXBlOndpbmRvdy13aWR0aD0iMzQ0MCIKICAgICBpbmtzY2FwZTp3aW5kb3ctaGVpZ2h0PSIxMzg5IgogICAgIGlua3NjYXBlOndpbmRvdy14PSIwIgogICAgIGlua3NjYXBlOndpbmRvdy15PSIyNyIKICAgICBpbmtzY2FwZTp3aW5kb3ctbWF4aW1pemVkPSIxIgogICAgIGlua3NjYXBlOmN1cnJlbnQtbGF5ZXI9InN2ZyIgLz4KICA8c3ZnOmcKICAgICBpZD0ibG9nbyIKICAgICB0cmFuc2Zvcm09Im1hdHJpeCgwLjU1NzUzNjQ0LDAsMCwwLjU1NzUzNjQ0LDY2LjUzMTgxMiwxMDUwLjEyNjIpIj4KICAgIDxzdmc6cGF0aAogICAgICAgc3R5bGU9ImZpbGw6I2ZjZmNmYyIKICAgICAgIGQ9Im0gMTQwOC4xLC0xMTgxLjcgYyAtNy41LDEgLTEyLjcsNy44IC0xMS43LDE1LjMgMC43LDUuNCA0LjYsOS45IDkuOSwxMS4zIDAsMCAzMy4yLDExIDg5LjcsMTUuNiA0NS40LDMuNyA5Ni45LC0zLjIgOTYuOSwtMy4yIDcuNSwtMC4yIDEzLjUsLTYuNSAxMy4yLC0xNCAtMC4zLC03LjUgLTYuNSwtMTMuNSAtMTQsLTEzLjIgLTAuOSwwIC0xLjgsMC4xIC0yLjYsMC4zIDAsMCAtNTAuNCw2LjIgLTkxLjMsMi45IC01NCwtNC40IC04My40LC0xNC4zIC04My40LC0xNC4zIC0yLjIsLTAuNyAtNC41LC0xIC02LjcsLTAuNyB6IG0gMCwtNjcuNiBjIC03LjUsMSAtMTIuNyw3LjggLTExLjcsMTUuMyAwLjcsNS40IDQuNiw5LjkgOS45LDExLjMgMCwwIDMzLjIsMTEgODkuNywxNS42IDQ1LjQsMy43IDk2LjksLTMuMiA5Ni45LC0zLjIgNy41LC0wLjIgMTMuNSwtNi41IDEzLjIsLTE0IC0wLjMsLTcuNSAtNi41LC0xMy41IC0xNCwtMTMuMiAtMC45LDAgLTEuOCwwLjEgLTIuNiwwLjMgMCwwIC01MC40LDYuMiAtOTEuMywyLjkgLTU0LC00LjQgLTgzLjQsLTE0LjMgLTgzLjQsLTE0LjMgLTIuMiwtMC43IC00LjUsLTEgLTYuNywtMC43IHogbSAwLC02Ny42IGMgLTcuNSwxIC0xMi43LDcuOCAtMTEuNywxNS4zIDAuNyw1LjQgNC42LDkuOSA5LjksMTEuMyAwLDAgMzMuMiwxMSA4OS43LDE1LjYgNDUuNCwzLjcgOTYuOSwtMy4yIDk2LjksLTMuMiA3LjUsLTAuMiAxMy41LC02LjUgMTMuMiwtMTQgLTAuMywtNy41IC02LjUsLTEzLjUgLTE0LC0xMy4yIC0wLjksMCAtMS44LDAuMSAtMi42LDAuMyAwLDAgLTUwLjQsNi4yIC05MS4zLDIuOSAtNTQsLTQuNCAtODMuNCwtMTQuMyAtODMuNCwtMTQuMyAtMi4yLC0wLjcgLTQuNSwtMSAtNi43LC0wLjcgeiBtIDAsLTY3LjUgYyAtNy41LDEgLTEyLjcsNy44IC0xMS43LDE1LjMgMC43LDUuNCA0LjYsOS45IDkuOSwxMS4zIDAsMCAzMy4yLDExIDg5LjcsMTUuNiA0NS40LDMuNyA5Ni45LC0zLjIgOTYuOSwtMy4yIDcuNSwtMC4yIDEzLjUsLTYuNSAxMy4yLC0xNCAtMC4zLC03LjUgLTYuNSwtMTMuNSAtMTQsLTEzLjIgLTAuOSwwIC0xLjgsMC4xIC0yLjYsMC4zIDAsMCAtNTAuNCw2LjIgLTkxLjMsMi45IC01NCwtNC40IC04My40LC0xNC4zIC04My40LC0xNC4zIC0yLjIsLTAuOCAtNC41LC0xIC02LjcsLTAuNyB6IG0gLTk0LjcsLTcxLjMgYyAtNzEsMC41IC05Ny41LDIyLjMgLTk3LjUsMjIuMyB2IDUzMC4zIGMgMCwwIDI1LjgsLTIyLjMgMTA5LC0xOC45IDgzLjIsMy40IDEwMC4zLDMyLjYgMjAyLjUsMzQuNiAxMDIuMiwyLjEgMTI3LjksLTE1LjcgMTI3LjksLTE1LjcgbCAxLjUsLTU0MC42IGMgMCwwIC00NiwxMyAtMTM1LjUsMTMuNyAtODkuNSwwLjcgLTExMSwtMjIuOCAtMTkzLjIsLTI1LjUgLTUuMSwtMC4xIC0xMCwtMC4yIC0xNC43LC0wLjIgeiBtIDU5LjQsMzQuNiBjIDAsMCA0MywxNC4yIDEyMi41LDE4LjIgNjcuMiwzLjMgMTM0LjUsLTYuNiAxMzQuNSwtNi42IFYgLTkyOSBjIDAsMCAtMzQuMSwxNy45IC0xMTkuMywxMS44IC02NiwtNC43IC0xMzguNywtMjkuNyAtMTM4LjcsLTI5LjcgeiBtIC00MS41LDEyLjUgYyA3LjYsMCAxMy43LDYuMiAxMy43LDEzLjcgMCw3LjUgLTYuMiwxMy43IC0xMy43LDEzLjcgMCwwIC0yMi4zLDAuMSAtMzUuOCwxLjUgLTIyLjgsMi4zIC0zOC4zLDEwLjYgLTM4LjMsMTAuNiAtNi43LDMuNSAtMTUsMSAtMTguNSwtNS43IC0zLjUsLTYuNyAtMSwtMTUgNS43LC0xOC41IDAsMCAwLDAgMCwwIDAsMCAyMC4yLC0xMC43IDQ4LjQsLTEzLjUgMTYuMywtMS43IDM4LjUsLTEuOCAzOC41LC0xLjggeiBtIC0xMy4yLDY3LjggYyA3LjYsLTAuMiAxMy4zLDAgMTMuMywwIDcuNSwwLjkgMTIuOSw3LjggMTIsMTUuMyAtMC44LDYuMyAtNS43LDExLjIgLTEyLDEyIDAsMCAtMjIuMywwLjEgLTM1LjgsMS41IC0yMi44LDIuMyAtMzguMywxMC42IC0zOC4zLDEwLjYgLTYuNywzLjUgLTE1LDAuOSAtMTguNSwtNS44IC0zLjUsLTYuNyAtMC45LC0xNSA1LjgsLTE4LjUgMCwwIDIwLjIsLTEwLjcgNDguNCwtMTMuNSA3LjksLTAuOSAxNy41LC0xLjQgMjUuMSwtMS42IHogbSAxMy4yLDY3LjUgYyA3LjYsMCAxMy43LDYuMiAxMy43LDEzLjcgMCw3LjYgLTYuMiwxMy43IC0xMy43LDEzLjcgMCwwIC0yMi4zLC0wLjEgLTM1LjgsMS4yIC0yMi44LDIuMyAtMzguMywxMC42IC0zOC4zLDEwLjYgLTYuNywzLjUgLTE1LDAuOSAtMTguNSwtNS44IC0zLjUsLTYuNyAtMC45LC0xNSA1LjgsLTE4LjUgMCwwIDIwLjIsLTEwLjcgNDguNCwtMTMuNSAxNi4yLC0xLjUgMzguNCwtMS40IDM4LjQsLTEuNCB6IgogICAgICAgaWQ9InBhdGgxIiAvPgogIDwvc3ZnOmc+CiAgPGRpdgogICAgIGlkPSJzYWthLWd1aS1yb290Ij4KICAgIDxkaXY+CiAgICAgIDxkaXY+CiAgICAgICAgPHN0eWxlIC8+CiAgICAgIDwvZGl2PgogICAgPC9kaXY+CiAgPC9kaXY+Cjwvc3ZnOnN2Zz4K";var xa,Na,Sa,Ta,ka,_a,Da,Ia,Oa,za,Ba,$a,Pa,Ra,Ua,Ya,Qa,qa,Fa=n(5348);function Ga(e){return Ga="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},Ga(e)}function Va(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i,a,s=[],c=!0,l=!1;try{if(i=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;c=!1}else for(;!(c=(r=i.call(n)).done)&&(s.push(r.value),s.length!==t);c=!0);}catch(e){l=!0,o=e}finally{try{if(!c&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(l)throw o}}return s}}(e,t)||function(e,t){if(e){if("string"==typeof e)return Wa(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Wa(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Wa(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function Ha(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}function Za(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ka(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,ss(r.key),r)}}function Xa(e,t,n){return t&&Ka(e.prototype,t),n&&Ka(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function Ja(e,t,n){return t=rs(t),function(e,t){if(t&&("object"==Ga(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,es()?Reflect.construct(t,n||[],rs(e).constructor):t.apply(e,n))}function es(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(es=function(){return!!e})()}function ts(e,t,n,r){var o=ns(rs(1&r?e.prototype:e),t,n);return 2&r&&"function"==typeof o?function(e){return o.apply(n,e)}:o}function ns(){return ns="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(e,t,n){var r=function(e,t){for(;!{}.hasOwnProperty.call(e,t)&&null!==(e=rs(e)););return e}(e,t);if(r){var o=Object.getOwnPropertyDescriptor(r,t);return o.get?o.get.call(arguments.length<3?e:n):o.value}},ns.apply(null,arguments)}function rs(e){return rs=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},rs(e)}function os(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&is(e,t)}function is(e,t){return is=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},is(e,t)}function as(e,t,n){return(t=ss(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ss(e){var t=function(e,t){if("object"!=Ga(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=Ga(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==Ga(t)?t:t+""}var cs=function(e){function t(){var e;return Za(this,t),as(e=Ja(this,t),"_onOutsideClick",(function(t){t.target!==e&&e._close()})),as(e,"_showFlyout",(function(t){e.opened=!0})),as(e,"_hideFlyout",(function(t){e.opened=!1})),e.config=null,e.opened=!1,e.floating=!0,e.position="bottom-right",e.readthedocsLogo=ja,e}return os(t,e),Xa(t,[{key:"loadConfig",value:function(e){if(ls.isEnabled(e)){this.config=e;var t=fe().get(this.config,"addons.flyout.position",null);t&&(this.position=t)}}},{key:"_close",value:function(){this.opened=!1,this.readthedocsLogo=ja}},{key:"_open",value:function(){this.opened=!0,this.readthedocsLogo="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4KPHN2ZyB2ZXJzaW9uPSIxLjEiIGlkPSJzdmciIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIHg9IjBweCIgeT0iMHB4IiB2aWV3Qm94PSI2OTQgMTk3IDIwMDAgNDAwIj4KPGcgaWQ9ImxvZ28iIHRyYW5zZm9ybT0ibWF0cml4KDAuNTU3NTM2NDQsMCwwLDAuNTU3NTM2NDQsNjguMzA4MTM1LDEwNTAuMTI2MikiPgoJPHBhdGggc3R5bGU9ImZpbGw6I2ZjZmNmYyIgZD0iTTE0MDguMS0xMTgxLjdjLTcuNSwxLTEyLjcsNy44LTExLjcsMTUuMyAgIGMwLjcsNS40LDQuNiw5LjksOS45LDExLjNjMCwwLDMzLjIsMTEsODkuNywxNS42YzQ1LjQsMy43LDk2LjktMy4yLDk2LjktMy4yYzcuNS0wLjIsMTMuNS02LjUsMTMuMi0xNHMtNi41LTEzLjUtMTQtMTMuMiAgIGMtMC45LDAtMS44LDAuMS0yLjYsMC4zYzAsMC01MC40LDYuMi05MS4zLDIuOWMtNTQtNC40LTgzLjQtMTQuMy04My40LTE0LjNDMTQxMi42LTExODEuNywxNDEwLjMtMTE4MiwxNDA4LjEtMTE4MS43eiAgICBNMTQwOC4xLTEyNDkuM2MtNy41LDEtMTIuNyw3LjgtMTEuNywxNS4zYzAuNyw1LjQsNC42LDkuOSw5LjksMTEuM2MwLDAsMzMuMiwxMSw4OS43LDE1LjZjNDUuNCwzLjcsOTYuOS0zLjIsOTYuOS0zLjIgICBjNy41LTAuMiwxMy41LTYuNSwxMy4yLTE0cy02LjUtMTMuNS0xNC0xMy4yYy0wLjksMC0xLjgsMC4xLTIuNiwwLjNjMCwwLTUwLjQsNi4yLTkxLjMsMi45Yy01NC00LjQtODMuNC0xNC4zLTgzLjQtMTQuMyAgIEMxNDEyLjYtMTI0OS4zLDE0MTAuMy0xMjQ5LjYsMTQwOC4xLTEyNDkuM3ogTTE0MDguMS0xMzE2LjljLTcuNSwxLTEyLjcsNy44LTExLjcsMTUuM2MwLjcsNS40LDQuNiw5LjksOS45LDExLjMgICBjMCwwLDMzLjIsMTEsODkuNywxNS42YzQ1LjQsMy43LDk2LjktMy4yLDk2LjktMy4yYzcuNS0wLjIsMTMuNS02LjUsMTMuMi0xNHMtNi41LTEzLjUtMTQtMTMuMmMtMC45LDAtMS44LDAuMS0yLjYsMC4zICAgYzAsMC01MC40LDYuMi05MS4zLDIuOWMtNTQtNC40LTgzLjQtMTQuMy04My40LTE0LjNDMTQxMi42LTEzMTYuOSwxNDEwLjMtMTMxNy4yLDE0MDguMS0xMzE2Ljl6IE0xNDA4LjEtMTM4NC40ICAgYy03LjUsMS0xMi43LDcuOC0xMS43LDE1LjNjMC43LDUuNCw0LjYsOS45LDkuOSwxMS4zYzAsMCwzMy4yLDExLDg5LjcsMTUuNmM0NS40LDMuNyw5Ni45LTMuMiw5Ni45LTMuMmM3LjUtMC4yLDEzLjUtNi41LDEzLjItMTQgICBzLTYuNS0xMy41LTE0LTEzLjJjLTAuOSwwLTEuOCwwLjEtMi42LDAuM2MwLDAtNTAuNCw2LjItOTEuMywyLjljLTU0LTQuNC04My40LTE0LjMtODMuNC0xNC4zICAgQzE0MTIuNi0xMzg0LjUsMTQxMC4zLTEzODQuNywxNDA4LjEtMTM4NC40eiBNMTMxMy40LTE0NTUuN2MtNzEsMC41LTk3LjUsMjIuMy05Ny41LDIyLjN2NTMwLjNjMCwwLDI1LjgtMjIuMywxMDktMTguOSAgIGM4My4yLDMuNCwxMDAuMywzMi42LDIwMi41LDM0LjZjMTAyLjIsMi4xLDEyNy45LTE1LjcsMTI3LjktMTUuN2wxLjUtNTQwLjZjMCwwLTQ2LDEzLTEzNS41LDEzLjdzLTExMS0yMi44LTE5My4yLTI1LjUgICBDMTMyMy0xNDU1LjYsMTMxOC4xLTE0NTUuNywxMzEzLjQtMTQ1NS43eiBNMTM3Mi44LTE0MjEuMWMwLDAsNDMsMTQuMiwxMjIuNSwxOC4yYzY3LjIsMy4zLDEzNC41LTYuNiwxMzQuNS02LjZ2NDgwLjUgICBjMCwwLTM0LjEsMTcuOS0xMTkuMywxMS44Yy02Ni00LjctMTM4LjctMjkuNy0xMzguNy0yOS43TDEzNzIuOC0xNDIxLjF6IE0xMzMxLjMtMTQwOC42YzcuNiwwLDEzLjcsNi4yLDEzLjcsMTMuNyAgIHMtNi4yLDEzLjctMTMuNywxMy43YzAsMC0yMi4zLDAuMS0zNS44LDEuNWMtMjIuOCwyLjMtMzguMywxMC42LTM4LjMsMTAuNmMtNi43LDMuNS0xNSwxLTE4LjUtNS43cy0xLTE1LDUuNy0xOC41YzAsMCwwLDAsMCwwICAgYzAsMCwyMC4yLTEwLjcsNDguNC0xMy41QzEzMDkuMS0xNDA4LjUsMTMzMS4zLTE0MDguNiwxMzMxLjMtMTQwOC42eiBNMTMxOC4xLTEzNDAuOGM3LjYtMC4yLDEzLjMsMCwxMy4zLDAgICBjNy41LDAuOSwxMi45LDcuOCwxMiwxNS4zYy0wLjgsNi4zLTUuNywxMS4yLTEyLDEyYzAsMC0yMi4zLDAuMS0zNS44LDEuNWMtMjIuOCwyLjMtMzguMywxMC42LTM4LjMsMTAuNmMtNi43LDMuNS0xNSwwLjktMTguNS01LjggICBjLTMuNS02LjctMC45LTE1LDUuOC0xOC41YzAsMCwyMC4yLTEwLjcsNDguNC0xMy41QzEzMDAuOS0xMzQwLjEsMTMxMC41LTEzNDAuNiwxMzE4LjEtMTM0MC44eiBNMTMzMS4zLTEyNzMuMyAgIGM3LjYsMCwxMy43LDYuMiwxMy43LDEzLjdjMCw3LjYtNi4yLDEzLjctMTMuNywxMy43YzAsMC0yMi4zLTAuMS0zNS44LDEuMmMtMjIuOCwyLjMtMzguMywxMC42LTM4LjMsMTAuNiAgIGMtNi43LDMuNS0xNSwwLjktMTguNS01LjhjLTMuNS02LjctMC45LTE1LDUuOC0xOC41YzAsMCwyMC4yLTEwLjcsNDguNC0xMy41QzEzMDkuMS0xMjczLjQsMTMzMS4zLTEyNzMuMywxMzMxLjMtMTI3My4zeiIvPgo8L2c+CjxnIGlkPSJ0ZXh0Ij4KCTxwYXRoIHN0eWxlPSJmaWxsOiNmY2ZjZmMiIGQ9Ik0xMTI4LjYsNDkxLjlWNDcwbDguOS0wLjhjNS4yLTAuNSw3LjgtMy4xLDcuOC03LjZWMzM2bC0xNS40LTAuOHYtMjNoNzMuOCAgIGMyMC45LDAsMzYuOSwzLjksNDguMSwxMS42YzExLjIsNy43LDE2LjgsMjAuNSwxNi44LDM4LjFjMCwxMi4zLTMuMiwyMi4zLTkuNywzMC4zYy02LjMsNy45LTEzLjksMTMuNy0yMi43LDE3LjMgICBjNi41LDIuMywxMS42LDcuOCwxNS40LDE2LjVsMTkuNSw0Mi40bDE1LjQsMC41djIzaC02Ni44VjQ3MGw3LjgtMC44YzQuMS0wLjUsNi4yLTIuMiw2LjItNC45YzAtMS4xLTAuNC0yLjMtMS4xLTMuOGwtMTIuNy0yNyAgIGMtMi00LjUtNC4yLTcuNy02LjgtOS41Yy0yLjMtMi01LjgtMy0xMC4zLTNoLTI0LjZ2NDdsMTcuNiwwLjh2MjNMMTEyOC42LDQ5MS45IE0xMTc4LjMsMzk1LjRoMjMuNWMyMi4yLDAsMzMuMi05LjksMzMuMi0yOS43ICAgYzAtMTEuNC0zLTE4LjctOC45LTIyLjJjLTUuOC0zLjQtMTUuMS01LjEtMjguMS01LjFoLTE5LjdWMzk1LjQiLz4KCTxwYXRoIHN0eWxlPSJmaWxsOiNmY2ZjZmMiIGQ9Ik0xMzU2LDM1MS45YzEzLjUsMCwyNC4yLDMuMywzMi4yLDEwYzcuOSw2LjUsMTEuOSwxNS43LDExLjksMjcuNmMwLDcuOS0xLjcsMTUtNS4xLDIxLjEgICBjLTMuNCw1LjktNy43LDEwLjYtMTIuNywxNC4xYy01LDMuNC0xMS4yLDYuMi0xOC40LDguNGMtMTIuMSwzLjYtMjUuNyw1LjQtNDAuOCw1LjRjMC41LDkuNSwzLjUsMTcuMyw4LjksMjMuMiAgIGM1LjQsNS44LDEzLjcsOC42LDI0LjksOC42YzExLjIsMCwyMi4zLTQsMzMuNS0xMS45bDEwLjMsMjEuOWMtMy42LDMuMi05LjcsNi42LTE4LjQsMTBjLTguNSwzLjQtMTguMiw1LjEtMjkuMiw1LjEgICBjLTIyLDAtMzguMS02LTQ4LjQtMTguMWMtMTAuMy0xMi4zLTE1LjQtMjktMTUuNC01MC4zYzAtMjEuMyw1LjktMzkuMSwxNy42LTUzLjVDMTMxOC41LDM1OS4xLDEzMzQuOSwzNTEuOSwxMzU2LDM1MS45ICAgIE0xMzQzLjYsNDEzLjhjNi43LTEuMywxMi44LTMuOSwxOC40LTcuOGM1LjYtNC4xLDguNC05LDguNC0xNC42YzAtMTEtNS40LTE2LjUtMTYuMi0xNi41Yy0xMC4xLDAtMTcuOCw0LjEtMjMuMiwxMi4yICAgYy01LjQsNy45LTguNCwxNy41LTguOSwyOC42QzEzMjkuOSw0MTUuNSwxMzM3LjEsNDE0LjksMTM0My42LDQxMy44Ii8+Cgk8cGF0aCBzdHlsZT0iZmlsbDojZmNmY2ZjIiBkPSJNMTUyOS42LDM2MS40djEwMC41YzAsMi45LDAuNSw0LjksMS40LDUuOWMxLjEsMS4xLDIuOSwxLjcsNS40LDEuOWw4LjYsMC41djIxLjZoLTQzdi0xNS43ICAgbC0wLjgtMC4zYy05LDEzLTIxLjQsMTkuNS0zNywxOS41Yy0xOC40LDAtMzItNS45LTQwLjgtMTcuNmMtOC44LTExLjctMTMuMi0yNy43LTEzLjItNDguMWMwLTI0LjUsNS45LTQzLjYsMTcuOC01Ny4zICAgYzExLjktMTMuNywyOS43LTIwLjUsNTMuNS0yMC41QzE0OTYuOCwzNTEuOSwxNTEyLjksMzU1LjEsMTUyOS42LDM2MS40IE0xNDk4LjMsNDQ4Ljl2LTcwYy01LTIuMy0xMi0zLjUtMjAuOC0zLjUgICBjLTEyLjEsMC0yMC44LDQuOS0yNi4yLDE0LjZjLTUuNCw5LjctOC4xLDIyLjYtOC4xLDM4LjdjMCwyOS4yLDkuNCw0My44LDI4LjEsNDMuOGM3LjksMCwxNC40LTIuMywxOS41LTcgICBDMTQ5NS43LDQ2MC42LDE0OTguMyw0NTUuMSwxNDk4LjMsNDQ4LjkiLz4KCTxwYXRoIHN0eWxlPSJmaWxsOiNmY2ZjZmMiIGQ9Ik0xNjE2LjMsMzUxLjljNy43LDAsMTUuMSwxLjEsMjIuMiwzLjJ2LTI3LjNjMC00LTIuMy02LjEtNy02LjVsLTExLjYtMC44di0yMS40aDUwLjN2MTY0LjMgICBjMC4yLDQuMSwyLjQsNi4yLDYuOCw2LjJsOS41LDAuNXYyMS42aC00My44VjQ3NmwtMC44LTAuM2MtOC4xLDEzLjItMjAuNCwxOS43LTM2LjgsMTkuN2MtMjAuNSwwLTM1LTYuOC00My4yLTIwLjUgICBjLTcuNi0xMi40LTExLjQtMjcuNy0xMS40LTQ1LjdjMC0yMy40LDUuOC00Mi4yLDE3LjMtNTYuMkMxNTc5LjMsMzU4LjksMTU5NS41LDM1MS45LDE2MTYuMywzNTEuOSBNMTYzOC40LDQ0OS44di03MCAgIGMtNi41LTIuOS0xMy4zLTQuMy0yMC41LTQuM2MtMTEuOSwwLTIwLjYsNC44LTI2LjIsMTQuM2MtNS40LDkuNi04LjEsMjEuNy04LjEsMzYuNWMwLDMwLjMsOS43LDQ1LjQsMjkuMiw0NS40ICAgYzcuNCwwLDEzLjUtMi4xLDE4LjQtNi4yQzE2MzYsNDYxLjEsMTYzOC40LDQ1NS45LDE2MzguNCw0NDkuOCIvPgoJPHBhdGggc3R5bGU9ImZpbGw6I2ZjZmNmYyIgZD0iTTE3OTEuNyw0NzAuNmMwLDAtMTIuNSw0LjctMTkuMiw0LjdzLTkuMi0zLjMtOS4yLTExLjhjMC0zLjgsMC41LTguOCwxLjQtMTQuOWwxMC4yLTYzLjFoMzIuNiAgIGwyLjgtMTcuN2gtMzIuNmw1LjctMzQuNUwxNzYwLDMzOGwtNC43LDI5LjhsLTIzLjYsMi40bC0yLjYsMTUuNGgyMy40TDE3NDIsNDUxYy0wLjksNS40LTEuNCwxMC42LTEuNCwxNS4xICAgYzAsMTguNyw3LjgsMjguMSwyMy45LDI4LjFjMTMuMiwwLDMxLTEwLjksMzEtMTAuOUwxNzkxLjcsNDcwLjYiLz4KCTxwYXRoIHN0eWxlPSJmaWxsOiNmY2ZjZmMiIGQ9Ik0xODY1LDMwOS44bC00My4zLDEuMmwtMi4xLDEzbDE5LjksNC43bC0yNiwxNjMuMmgyMi41bDcuOC00Mi42YzAsMCwxOC43LTY1LDQ5LjQtNjUgICBjOS41LDAsMTIuMyw2LjksMTIuMywxNS42YzAsMy4zLTAuNSw2LjktMC45LDEwLjRsLTEzLjUsODEuNmw0My4zLTIuNGwyLjEtMTNsLTE5LjktMy41bDEwLjYtNjYuMmMwLjctNSwxLjItOS43LDEuMi0xNCAgIGMwLTE3LTYuOS0yOC42LTI1LjgtMjguNmMtMzUuOSwwLTU0LjksNDUuNi01NS44LDQ4LjJMMTg2NSwzMDkuOCIvPgoJPHBhdGggc3R5bGU9ImZpbGw6I2ZjZmNmYyIgZD0iTTIwMzUsNDY0LjdjMCwwLTIxLjUsMTAuNi0zOC44LDEwLjZjLTE3LjcsMC0yNi03LjgtMjYtMjQuNmMwLTMuMSwwLjItNi42LDAuNy0xMC4yICAgYzQ5LDAsODMtMTguNCw4My00NS42YzAtMTguNy0xNS4xLTMwLjctMzktMzAuN2MtMzcuNiwwLTY4LjMsMzguNS02OC4zLDg3LjVjMCwyNiwxNi42LDQyLjYsNDIuNiw0Mi42YzI3LjksMCw1My0xNy41LDUzLTE3LjUgICBMMjAzNSw0NjQuNyBNMTk3Myw0MjRjNi4xLTI0LjgsMjMuNC00Mi4xLDQwLjctNDIuMWMxMi4xLDAsMTcuNyw1LDE3LjcsMTUuNEMyMDMxLjUsNDEyLjksMjAwNi42LDQyNCwxOTczLDQyNCIvPgoJPHBhdGggc3R5bGU9ImZpbGw6I2ZjZmNmYyIgZD0iTTIwOTMuNyw0OTEuOVY0NzBsOC45LTAuOGM1LjItMC41LDcuOC0zLjEsNy44LTcuNlYzMzZsLTE1LjQtMC44di0yM2g3NC4xICAgYzI2LjUsMCw0Ny4xLDcsNjEuOSwyMS4xYzE1LDE0LjEsMjIuNCwzNC45LDIyLjQsNjIuNGMwLDE3LjEtMi4zLDMyLjEtNi44LDQ0LjljLTQuNSwxMi42LTEwLjYsMjIuNS0xOC40LDI5LjcgICBjLTE1LjUsMTQuNC0zNC44LDIxLjYtNTcuOCwyMS42TDIwOTMuNyw0OTEuOSBNMjE0My40LDMzOC40VjQ2NmgyNy42YzE1LjUsMCwyNy42LTUuNiwzNi4yLTE2LjhjOC42LTExLjIsMTMtMjcuNCwxMy00OC43ICAgYzAtNDEuNC0xNy42LTYyLjItNTIuNy02Mi4ySDIxNDMuNCIvPgoJPHBhdGggc3R5bGU9ImZpbGw6I2ZjZmNmYyIgZD0iTTIzMzAsNDcyLjJjMTkuNiwwLDI5LjUtMTUuOSwyOS41LTQ3LjZjMC0xNi0yLjMtMjguMi02LjgtMzYuNWMtNC4zLTguMy0xMS43LTEyLjQtMjIuMi0xMi40ICAgYy0xMC4zLDAtMTcuOCw0LTIyLjcsMTEuOWMtNC45LDcuOS03LjMsMTguNy03LjMsMzIuNGMwLDI1LjQsNC43LDQxLjQsMTQuMSw0Ny44QzIzMTguOCw0NzAuNywyMzIzLjksNDcyLjIsMjMzMCw0NzIuMiAgICBNMjI2Ny45LDQyMy44YzAtMTMuMywyLTI0LjksNS45LTM0LjZjNC05LjksOS4zLTE3LjUsMTUuOS0yMi43YzEyLjgtOS43LDI2LjktMTQuNiw0Mi40LTE0LjZjMTAuOCwwLDE5LjksMS44LDI3LjMsNS40ICAgYzcuNiwzLjQsMTMuNCw3LjUsMTcuNiwxMi4yYzQuMyw0LjUsNy45LDExLjIsMTAuOCwyMGMzLjEsOC42LDQuNiwxOC45LDQuNiwzMC44YzAsMjQuOS02LDQzLjctMTguMSw1Ni41ICAgYy0xMi4xLDEyLjgtMjcuNiwxOS4yLTQ2LjUsMTkuMmMtMTguNywwLTMzLjQtNi00NC4xLTE4LjFDMjI3My4yLDQ2NS42LDIyNjcuOSw0NDcuNiwyMjY3LjksNDIzLjgiLz4KCTxwYXRoIHN0eWxlPSJmaWxsOiNmY2ZjZmMiIGQ9Ik0yNDM4LjIsNDIyLjVjMCwxNS4zLDIuOSwyNy4yLDguNiwzNS43YzUuOCw4LjUsMTQuMSwxMi43LDI0LjksMTIuN2MxMSwwLDIxLjgtMy45LDMyLjQtMTEuNiAgIGwxMS42LDIwLjhjLTEyLjgsMTAuNS0yOC44LDE1LjctNDguMSwxNS43Yy0xOS4zLDAtMzQuNS02LTQ1LjctMTguMWMtMTEtMTIuMy0xNi41LTMwLjMtMTYuNS01NC4xczYuMy00MS42LDE4LjktNTMuNSAgIGMxMi44LTEyLjEsMjcuMS0xOC4xLDQzLTE4LjFjMTYsMCwzMC45LDMuNyw0NC42LDExLjF2MzUuMWwtMjQuOSwxLjl2LTEzYzAtNC45LTEuOC03LjgtNS40LTguOWMtMy40LTEuMy03LTEuOS0xMC44LTEuOSAgIEMyNDQ5LjEsMzc2LjIsMjQzOC4yLDM5MS42LDI0MzguMiw0MjIuNSIvPgoJPHBhdGggc3R5bGU9ImZpbGw6I2ZjZmNmYyIgZD0iTTI1OTIuOSwzNzYuNWMtNC4zLTEuNi05LjYtMi40LTE1LjctMi40Yy02LjEsMC0xMS4xLDEuNC0xNC45LDQuM2MtMy42LDIuNy01LjQsNi4xLTUuNCwxMC4zICAgYzAsNCwwLjYsNy4xLDEuOSw5LjVjMS40LDIuMiwzLjYsNC4xLDYuNSw1LjdjNC41LDIuMyw5LjksNC40LDE2LjIsNi4yYzYuMywxLjYsMTEsMywxNC4xLDQuMWMzLjEsMC45LDYuOCwyLjUsMTEuNCw0LjkgICBjNC43LDIuMyw4LjIsNC45LDEwLjUsNy42YzYuMyw2LjcsOS41LDE1LjIsOS41LDI1LjdjMCwxMy41LTUsMjQuMS0xNC45LDMxLjljLTkuNyw3LjYtMjIuMiwxMS40LTM3LjMsMTEuNCAgIGMtMjIsMC0zOC42LTIuOC00OS43LTguNHYtMzcuNmwyNC4zLTEuOXYxM2MwLDcuOSw3LjYsMTEuOSwyMi43LDExLjlzMjIuNy01LjUsMjIuNy0xNi41YzAtNC0xLjQtNy4yLTQuMS05LjcgICBjLTIuNS0yLjUtNS00LjItNy42LTUuMWMtMi41LTAuOS01LjYtMS44LTkuMi0yLjdjLTMuNC0wLjktNi44LTEuOC0xMC4zLTIuN2MtMy4yLTAuOS02LjgtMi4xLTEwLjgtMy41Yy0zLjgtMS42LTgtMy45LTEyLjctNi44ICAgYy05LjItNS45LTEzLjgtMTUuOS0xMy44LTI5LjdjMC0xNC4xLDUtMjQuOSwxNC45LTMyLjRjOS45LTcuNiwyMi4zLTExLjQsMzcuMy0xMS40YzE1LjEsMCwzMC4xLDMuNiw0NC45LDEwLjh2MzIuNGwtMjQuMywxLjkgICB2LTExLjRDMjU5OS4xLDM4MS4yLDI1OTcsMzc4LjEsMjU5Mi45LDM3Ni41Ii8+CjwvZz4KPGRpdiB4bWxucz0iIiBpZD0ic2FrYS1ndWktcm9vdCI+PGRpdj48ZGl2PjxzdHlsZS8+PC9kaXY+PC9kaXY+PC9kaXY+PC9zdmc+Cg=="}},{key:"_toggleOpen",value:function(e){this.opened?this._close():this._open()}},{key:"renderHeader",value:function(){Lo.add(_o),Lo.add(ko);var e=jo(_o,{classes:["icon"]}),t=jo(ko,{classes:["icon"]}),n=G;"single_version_without_translations"!==this.config.projects.current.versioning_scheme&&(n=q(xa||(xa=Ha(['<span class="version">\n '," ","\n </span> "])),e.node[0],this.config.versions.current.slug));var r=jo(Io,{classes:["icon"]}),o=G;return this.config.projects.translations.length>0&&(o=q(Na||(Na=Ha(['<span class="language">\n ',"\n ","</span\n > "])),t.node[0],this.config.projects.current.language.code)),q(Sa||(Sa=Ha(['\n <header @click="','">\n <img class="logo" src="','" alt="Read the Docs" />\n '," ",'\n <span class="caret">',"</span>\n </header>\n "])),this._toggleOpen,this.readthedocsLogo,o,n,r.node[0])}},{key:"renderFooter",value:function(){return q(Ta||(Ta=Ha(['\n <small>\n <span>\n <a\n href="','"\n >Addons documentation</a\n ></span\n >\n <span> ― </span>\n <span\n >Hosted by\n <a\n href="','"\n >Read the Docs</a\n ></span\n >\n </small>\n '])),tt("https://docs.readthedocs.io/page/addons.html","flyout"),tt("https://about.readthedocs.com/","flyout"))}},{key:"showSearch",value:function(){var e=new CustomEvent(De);document.dispatchEvent(e);var t=new CustomEvent(Ne);document.dispatchEvent(t)}},{key:"renderSearch",value:function(){return fe().get(this.config,"addons.search.enabled",!1)?q(ka||(ka=Ha(['\n <dl>\n <dt>Search</dt>\n <dd>\n <form @focusin="','" id="flyout-search-form">\n <input\n type="text"\n name="q"\n aria-label="Search docs"\n placeholder="Search docs"\n />\n </form>\n </dd>\n </dl>\n '])),this.showSearch):G}},{key:"renderVCS",value:function(){if(!this.config.addons.flyout.vcs||!this.config.addons.flyout.vcs.view_url)return G;var e=this.config.addons.flyout.vcs;return q(_a||(_a=Ha(["\n <dl>\n <dt>On ",'</dt>\n <dd>\n <a href="','">View</a>\n </dd>\n </dl>\n '])),e.name,e.view_url)}},{key:"renderReadTheDocs",value:function(){return q(Da||(Da=Ha(['\n <dl>\n <dt>On Read the Docs</dt>\n <dd>\n <a\n href="','"\n >Project Home</a\n >\n </dd>\n <dd>\n <a\n href="','"\n >Builds</a\n >\n </dd>\n </dl>\n '])),tt(this.config.projects.current.urls.home.replace("readthedocs.org","app.readthedocs.org").replace("readthedocs.com","app.readthedocs.com").replace("app.app.","app."),"flyout"),tt(this.config.projects.current.urls.builds.replace("readthedocs.org","app.readthedocs.org").replace("readthedocs.com","app.readthedocs.com").replace("app.app.","app."),"flyout"))}},{key:"renderDownloads",value:function(){if(!Object.keys(this.config.versions.current.downloads).length)return G;var e={pdf:"PDF",epub:"EPUB",htmlzip:"HTML"};return q(Ia||(Ia=Ha(['\n <dl class="downloads">\n <dt>Downloads</dt>\n ',"\n </dl>\n "])),Object.entries(this.config.versions.current.downloads).map((function(t){var n=Va(t,2),r=n[0],o=n[1];return q(Oa||(Oa=Ha(['<dd>\n <a href="','">',"</a>\n </dd>"])),o,e[r])})))}},{key:"renderVersions",value:function(){var e=this;if(!this.config.versions.active.length||"single_version_without_translations"===this.config.projects.current.versioning_scheme)return G;return q($a||($a=Ha(['\n <dl class="versions">\n <dt>Versions</dt>\n ',"\n </dl>\n "])),this.config.versions.active.map((function(t){return q(Pa||(Pa=Ha(["<dd>","</dd>"])),function(t){var n=rt(t.urls.documentation,e.config.readthedocs.resolver.filename),r=q(za||(za=Ha(['<a href="','">',"</a>"])),n,t.slug);return e.config.versions.current.slug==t.slug?q(Ba||(Ba=Ha(["<strong>","</strong>"])),r):r}(t))})))}},{key:"renderLanguages",value:function(){var e=this;if(!this.config.projects.translations.length)return G;var t=this.config.projects.translations.concat(this.config.projects.current);return t=t.sort((function(e,t){return e.language.code.localeCompare(t.language.code)})),q(Ya||(Ya=Ha(['\n <dl class="languages">\n <dt>Languages</dt>\n ',"\n </dl>\n "])),t.map((function(t){return q(Qa||(Qa=Ha(["<dd>","</dd>"])),function(t){var n=rt(t.urls.documentation,e.config.readthedocs.resolver.filename),r=q(Ra||(Ra=Ha(['<a href="','">',"</a>"])),n,t.language.code);return e.config.projects.current.slug===t.slug?q(Ua||(Ua=Ha(["<strong>","</strong>"])),r):r}(t))})))}},{key:"updateCSSClasses",value:function(){this.classes={floating:this.floating,container:!0},this.classes[this.position]=!0}},{key:"render",value:function(){return null===this.config?G:(this.updateCSSClasses(),q(qa||(qa=Ha(["\n <div class=",">\n ","\n <main class=",">\n "," ","\n "," ","\n "," ","\n <hr />\n ","\n </main>\n </div>\n "])),Li(this.classes),this.renderHeader(),Li({closed:!this.opened}),this.renderLanguages(),this.renderVersions(),this.renderDownloads(),this.renderReadTheDocs(),this.renderVCS(),this.renderSearch(),this.renderFooter()))}},{key:"connectedCallback",value:function(){ts(t,"connectedCallback",this,3)([]),document.addEventListener(_e,this._showFlyout),document.addEventListener(De,this._hideFlyout),window.addEventListener("click",this._onOutsideClick)}},{key:"disconnectedCallback",value:function(){document.removeEventListener(_e,this.showFlyout),document.removeEventListener(De,this.hideFlyout),window.removeEventListener("click",this._onOutsideClick),ts(t,"disconnectedCallback",this,3)([])}}])}(se);as(cs,"elementName","readthedocs-flyout"),as(cs,"properties",{config:{state:!0},opened:{type:Boolean},floating:{type:Boolean},position:{type:String}}),as(cs,"styles",Fa.A);var ls=function(e){function t(){return Za(this,t),Ja(this,t,arguments)}return os(t,e),Xa(t,null,[{key:"requiresUrlParam",value:function(){return it.isSinglePageApplication()}}])}(Xe);as(ls,"jsonValidationURI","http://v1.schemas.readthedocs.org/addons.flyout.json"),as(ls,"addonEnabledPath","addons.flyout.enabled"),as(ls,"addonName","Flyout"),as(ls,"elementClass",cs),customElements.define(cs.elementName,cs);var us=n(4333);function ds(e){return ds="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},ds(e)}function fs(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,vs(r.key),r)}}function hs(e,t,n){return t=gs(t),function(e,t){if(t&&("object"==ds(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,ps()?Reflect.construct(t,n||[],gs(e).constructor):t.apply(e,n))}function ps(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(ps=function(){return!!e})()}function ms(){return ms="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(e,t,n){var r=function(e,t){for(;!{}.hasOwnProperty.call(e,t)&&null!==(e=gs(e)););return e}(e,t);if(r){var o=Object.getOwnPropertyDescriptor(r,t);return o.get?o.get.call(arguments.length<3?e:n):o.value}},ms.apply(null,arguments)}function gs(e){return gs=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},gs(e)}function ys(e,t){return ys=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},ys(e,t)}function As(e,t,n){return(t=vs(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function vs(e){var t=function(e,t){if("object"!=ds(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=ds(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==ds(t)?t:t+""}var bs=["#ethical-ad-placement","[data-ea-publisher]"],ws="ethicaladsjs",Ms=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),hs(this,t,arguments)}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&ys(e,t)}(t,e),function(e,t,n){return t&&fs(e.prototype,t),n&&fs(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}(t,[{key:"loadConfig",value:function(e){this.config=e,null===document.querySelector("#".concat(ws))&&this.injectEthicalAds()}},{key:"createAdPlacement",value:function(){var e;document.adoptedStyleSheets.push(us.A);for(var t=0,n=bs;t<n.length;t++){var r=n[t];if(e=document.querySelector(r))break}if(e)"image"!==e.getAttribute("data-ea-type")&&"text"!==e.getAttribute("data-ea-type")&&e.setAttribute("data-ea-type","readthedocs-sidebar");else{var o,i;(e=document.createElement("div")).setAttribute("id","readthedocs-ea"),e.classList.add("raised");var a=!1;if(it.isSphinxReadTheDocsLikeTheme()?(o="nav.wy-nav-side > div.wy-side-scroll",i=document.querySelector(o),this.elementAboveTheFold(i)&&(e.setAttribute("data-ea-type","readthedocs-sidebar"),e.classList.add("ethical-rtd"),e.classList.add("ethical-dark-theme"),a=!0)):it.isSphinxFuroLikeTheme()?(o=".sidebar-tree",i=document.querySelector(o),this.elementAboveTheFold(i)&&(e.classList.add("ethical-alabaster"),e.setAttribute("data-ea-type","readthedocs-sidebar"),e.setAttribute("id","furo-sidebar-ad-placement"),a=!0)):it.isSphinxBookThemeLikeTheme()?(o=".sidebar-primary-items__start.sidebar-primary__section",i=document.querySelector(o),this.elementAboveTheFold(i)&&(e.classList.add("ethical-alabaster"),e.setAttribute("data-ea-type","readthedocs-sidebar"),a=!0)):it.isSphinxAlabasterLikeTheme()?(o="div.sphinxsidebar > div.sphinxsidebarwrapper",i=document.querySelector(o),this.elementAboveTheFold(i)&&(e.classList.add("ethical-alabaster"),e.setAttribute("data-ea-type","readthedocs-sidebar"),a=!0)):it.isMaterialMkDocsTheme()?(o=".md-sidebar__scrollwrap",i=document.querySelector(o),this.elementAboveTheFold(i)&&(e.classList.add("ethical-alabaster"),e.setAttribute("data-ea-type","readthedocs-sidebar"),a=!0)):it.isDocusaurusTheme()?(o=".menu.thin-scrollbar.menu_SIkG",i=document.querySelector(o),this.elementAboveTheFold(i)&&(e.classList.add("ethical-alabaster"),e.classList.add("ethical-docusaurus"),e.setAttribute("data-ea-type","readthedocs-sidebar"),e.setAttribute("data-ea-style","image"),a=!0)):it.isDocsify()?(o="main > aside > div.sidebar-nav",i=document.querySelector(o),this.elementAboveTheFold(i)&&(e.classList.add("ethical-alabaster"),e.classList.add("ethical-docsify"),e.setAttribute("data-ea-type","readthedocs-sidebar"),e.setAttribute("data-ea-style","image"),a=!0)):it.isAntora()?(o="aside nav.nav-menu",i=document.querySelector(o),this.elementAboveTheFold(i)&&(e.classList.add("ethical-alabaster"),e.setAttribute("data-ea-type","readthedocs-sidebar"),e.setAttribute("data-ea-style","image"),a=!0)):it.isMdBook()?(o="nav#sidebar mdbook-sidebar-scrollbox",i=document.querySelector(o),this.elementAboveTheFold(i)&&(e.classList.add("ethical-alabaster"),e.setAttribute("data-ea-type","readthedocs-sidebar"),e.setAttribute("data-ea-style","image"),a=!0)):it.isVitePress()&&(o="aside",i=document.querySelector(o),this.elementAboveTheFold(i)&&(e.classList.add("ethical-alabaster"),e.setAttribute("data-ea-type","readthedocs-sidebar"),e.setAttribute("data-ea-style","image"),a=!0)),o&&a){var s=document.querySelector(o);s&&s.append(e)}else if(window.innerWidth>1300){e.setAttribute("data-ea-type","image"),e.setAttribute("data-ea-style","stickybox"),this.addEaPlacementToElement(e);var c=document.body;c.insertBefore(e,c.lastChild)}}var l=this.config.addons.ethicalads,u=fe().get(l,"keywords",[]),d=fe().get(l,"campaign_types",[]);return null!==e&&(e.setAttribute("data-ea-manual","true"),e.setAttribute("data-ea-publisher",l.publisher),u.length&&e.setAttribute("data-ea-keywords",u.join("|")),d.length&&e.setAttribute("data-ea-campaign-types",d.join("|"))),e}},{key:"elementAboveTheFold",value:function(e){var t=document.createElement("div");e.append(t);var n=t.offsetTop;return t.remove(),!(!n||n-window.scrollY+300>window.innerHeight)}},{key:"addEaPlacementToElement",value:function(e){fe().get(this.config,"addons.flyout.enabled",!1)&&e.setAttribute("data-ea-placement-bottom","90px")}},{key:"loadEthicalAdLibrary",value:function(){var e,t=document.createElement("script");t.setAttribute("id",ws),t.setAttribute("type","text/javascript"),t.setAttribute("async",!0),e="docs.readthedocs.io"===window.location.hostname||window.location.hostname.endsWith(".devthedocs.org")?"https://media.ethicalads.io/media/client/beta/ethicalads.min.js":"https://media.ethicalads.io/media/client/ethicalads.min.js",t.setAttribute("src",e),document.head.appendChild(t),document.getElementById(ws).addEventListener("load",(function(){"undefined"!=typeof ethicalads&ðicalads.load()}))}},{key:"addWidthListener",value:function(){var e=document.querySelector("#readthedocs-ea");e&&"stickybox"===e.dataset.eaStyle&&window.addEventListener("resize",(function(){window.innerWidth<=1300?e.style.display="none":e.style.display=""}))}},{key:"injectEthicalAds",value:function(){this.createAdPlacement(),this.addWidthListener(),this.loadEthicalAdLibrary()}}],[{key:"isEnabled",value:function(e,n){return!1===fe().get(e,"addons.ethicalads.ad_free",!1)&&function(e,t,n,r){var o=ms(gs(1&r?e.prototype:e),t,n);return 2&r&&"function"==typeof o?function(e){return o.apply(n,e)}:o}(t,"isEnabled",this,2)([e,n])}}])}(Xe);As(Ms,"jsonValidationURI","http://v1.schemas.readthedocs.org/addons.ethicalads.json"),As(Ms,"addonEnabledPath","addons.ethicalads.enabled"),As(Ms,"addonName","EthicalAds");const Cs={alt:"Alt",cmd:"Cmd",ctrl:"Ctrl",shift:"Shift",joinWith:" + ",hideKey:"never"};let Es=Cs;function Ls(e){return{character:-1!==[16,17,18,91,93,224].indexOf(e.keyCode)?null:e.code.replace({alphanumeric:/^Key([A-Z01-9])$/,alpha:/^Key([A-Z])$/,always:/^Key(.*)$/,never:/^(.*)$/}[Es.hideKey],"$1"),modifiers:{cmd:e.metaKey,ctrl:e.ctrlKey,alt:e.altKey,shift:e.shiftKey}}}const js=e=>function(e){const t=Ls(e),n=Object.entries(t.modifiers).reduce(((e,[t,n])=>(n&&e.push(Es[t]),e)),[]);return t.character&&n.push(t.character),n}(e).join(Es.joinWith);function xs(e){return xs="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},xs(e)}function Ns(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ss(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,Ps(r.key),r)}}function Ts(e,t,n){return t&&Ss(e.prototype,t),n&&Ss(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function ks(e,t,n){return t=Os(t),function(e,t){if(t&&("object"==xs(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,_s()?Reflect.construct(t,n||[],Os(e).constructor):t.apply(e,n))}function _s(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(_s=function(){return!!e})()}function Ds(e,t,n,r){var o=Is(Os(1&r?e.prototype:e),t,n);return 2&r&&"function"==typeof o?function(e){return o.apply(n,e)}:o}function Is(){return Is="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(e,t,n){var r=function(e,t){for(;!{}.hasOwnProperty.call(e,t)&&null!==(e=Os(e)););return e}(e,t);if(r){var o=Object.getOwnPropertyDescriptor(r,t);return o.get?o.get.call(arguments.length<3?e:n):o.value}},Is.apply(null,arguments)}function Os(e){return Os=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},Os(e)}function zs(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&Bs(e,t)}function Bs(e,t){return Bs=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},Bs(e,t)}function $s(e,t,n){return(t=Ps(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Ps(e){var t=function(e,t){if("object"!=xs(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=xs(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==xs(t)?t:t+""}var Rs=function(e){function t(){var e;return Ns(this,t),$s(e=ks(this,t),"_handleKeydown",(function(t){var n;e.docDiffHotKeyEnabled&&js(t)===e.config.addons.hotkeys.doc_diff.trigger&&"INPUT"!==document.activeElement.tagName&&"TEXTAREA"!==document.activeElement.tagName&&"READTHEDOCS-SEARCH"!==document.activeElement.tagName&&(n=e.docDiffEnabled?new CustomEvent(ke):new CustomEvent(Te)),e.searchHotKeyEnabled&&js(t)===e.config.addons.hotkeys.search.trigger&&"INPUT"!==document.activeElement.tagName&&"TEXTAREA"!==document.activeElement.tagName&&"READTHEDOCS-SEARCH"!==document.activeElement.tagName&&(n=new CustomEvent(Ne)),void 0!==n&&(document.dispatchEvent(n),t.preventDefault())})),$s(e,"_handleDocDiffShow",(function(t){e.docDiffEnabled=!0})),$s(e,"_handleDocDiffHide",(function(t){e.docDiffEnabled=!1})),e.config=null,e}return zs(t,e),Ts(t,[{key:"loadConfig",value:function(e){Us.isEnabled(e)&&(this.config=e,this.docDiffHotKeyEnabled=this.config.addons.hotkeys.doc_diff.enabled,this.docDiffEnabled=!1,this.searchHotKeyEnabled=this.config.addons.hotkeys.search.enabled)}},{key:"connectedCallback",value:function(){Ds(t,"connectedCallback",this,3)([]),document.addEventListener("keydown",this._handleKeydown),document.addEventListener(Te,this._handleDocDiffShow),document.addEventListener(ke,this._handleDocDiffHide)}},{key:"disconnectedCallback",value:function(){document.removeEventListener("keydown",this._handleKeydown),document.removeEventListener(Te,this._handleDocDiffShow),document.removeEventListener(ke,this._handleDocDiffHide),Ds(t,"disconnectedCallback",this,3)([])}}])}(se);$s(Rs,"elementName","readthedocs-hotkeys"),$s(Rs,"properties",{config:{state:!0},enabled:{type:Boolean}});var Us=function(e){function t(){return Ns(this,t),ks(this,t,arguments)}return zs(t,e),Ts(t)}(Xe);$s(Us,"jsonValidationURI","http://v1.schemas.readthedocs.org/addons.hotkeys.json"),$s(Us,"addonEnabledPath","addons.hotkeys.enabled"),$s(Us,"addonName","HotKeys"),$s(Us,"elementClass",Rs),customElements.define(Rs.elementName,Rs);var Ys=n(6938);const Qs=["start","end"],qs=["top","right","bottom","left"].reduce(((e,t)=>e.concat(t,t+"-"+Qs[0],t+"-"+Qs[1])),[]),Fs=Math.min,Gs=Math.max,Vs=Math.round,Ws=(Math.floor,e=>({x:e,y:e})),Hs={left:"right",right:"left",bottom:"top",top:"bottom"},Zs={start:"end",end:"start"};function Ks(e,t,n){return Gs(e,Fs(t,n))}function Xs(e,t){return"function"==typeof e?e(t):e}function Js(e){return e.split("-")[0]}function ec(e){return e.split("-")[1]}function tc(e){return"x"===e?"y":"x"}function nc(e){return"y"===e?"height":"width"}function rc(e){return["top","bottom"].includes(Js(e))?"y":"x"}function oc(e){return tc(rc(e))}function ic(e){return e.replace(/start|end/g,(e=>Zs[e]))}function ac(e){return e.replace(/left|right|bottom|top/g,(e=>Hs[e]))}function sc(e){return"number"!=typeof e?function(e){return{top:0,right:0,bottom:0,left:0,...e}}(e):{top:e,right:e,bottom:e,left:e}}function cc(e){const{x:t,y:n,width:r,height:o}=e;return{width:r,height:o,top:n,left:t,right:t+r,bottom:n+o,x:t,y:n}}function lc(e,t,n){let{reference:r,floating:o}=e;const i=rc(t),a=oc(t),s=nc(a),c=Js(t),l="y"===i,u=r.x+r.width/2-o.width/2,d=r.y+r.height/2-o.height/2,f=r[s]/2-o[s]/2;let h;switch(c){case"top":h={x:u,y:r.y-o.height};break;case"bottom":h={x:u,y:r.y+r.height};break;case"right":h={x:r.x+r.width,y:d};break;case"left":h={x:r.x-o.width,y:d};break;default:h={x:r.x,y:r.y}}switch(ec(t)){case"start":h[a]-=f*(n&&l?-1:1);break;case"end":h[a]+=f*(n&&l?-1:1)}return h}async function uc(e,t){var n;void 0===t&&(t={});const{x:r,y:o,platform:i,rects:a,elements:s,strategy:c}=e,{boundary:l="clippingAncestors",rootBoundary:u="viewport",elementContext:d="floating",altBoundary:f=!1,padding:h=0}=Xs(t,e),p=sc(h),m=s[f?"floating"===d?"reference":"floating":d],g=cc(await i.getClippingRect({element:null==(n=await(null==i.isElement?void 0:i.isElement(m)))||n?m:m.contextElement||await(null==i.getDocumentElement?void 0:i.getDocumentElement(s.floating)),boundary:l,rootBoundary:u,strategy:c})),y="floating"===d?{x:r,y:o,width:a.floating.width,height:a.floating.height}:a.reference,A=await(null==i.getOffsetParent?void 0:i.getOffsetParent(s.floating)),v=await(null==i.isElement?void 0:i.isElement(A))&&await(null==i.getScale?void 0:i.getScale(A))||{x:1,y:1},b=cc(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({elements:s,rect:y,offsetParent:A,strategy:c}):y);return{top:(g.top-b.top+p.top)/v.y,bottom:(b.bottom-g.bottom+p.bottom)/v.y,left:(g.left-b.left+p.left)/v.x,right:(b.right-g.right+p.right)/v.x}}function dc(){return"undefined"!=typeof window}function fc(e){return mc(e)?(e.nodeName||"").toLowerCase():"#document"}function hc(e){var t;return(null==e||null==(t=e.ownerDocument)?void 0:t.defaultView)||window}function pc(e){var t;return null==(t=(mc(e)?e.ownerDocument:e.document)||window.document)?void 0:t.documentElement}function mc(e){return!!dc()&&(e instanceof Node||e instanceof hc(e).Node)}function gc(e){return!!dc()&&(e instanceof Element||e instanceof hc(e).Element)}function yc(e){return!!dc()&&(e instanceof HTMLElement||e instanceof hc(e).HTMLElement)}function Ac(e){return!(!dc()||"undefined"==typeof ShadowRoot)&&(e instanceof ShadowRoot||e instanceof hc(e).ShadowRoot)}function vc(e){const{overflow:t,overflowX:n,overflowY:r,display:o}=Lc(e);return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&!["inline","contents"].includes(o)}function bc(e){return["table","td","th"].includes(fc(e))}function wc(e){return[":popover-open",":modal"].some((t=>{try{return e.matches(t)}catch(e){return!1}}))}function Mc(e){const t=Cc(),n=gc(e)?Lc(e):e;return["transform","translate","scale","rotate","perspective"].some((e=>!!n[e]&&"none"!==n[e]))||!!n.containerType&&"normal"!==n.containerType||!t&&!!n.backdropFilter&&"none"!==n.backdropFilter||!t&&!!n.filter&&"none"!==n.filter||["transform","translate","scale","rotate","perspective","filter"].some((e=>(n.willChange||"").includes(e)))||["paint","layout","strict","content"].some((e=>(n.contain||"").includes(e)))}function Cc(){return!("undefined"==typeof CSS||!CSS.supports)&&CSS.supports("-webkit-backdrop-filter","none")}function Ec(e){return["html","body","#document"].includes(fc(e))}function Lc(e){return hc(e).getComputedStyle(e)}function jc(e){return gc(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function xc(e){if("html"===fc(e))return e;const t=e.assignedSlot||e.parentNode||Ac(e)&&e.host||pc(e);return Ac(t)?t.host:t}function Nc(e){const t=xc(e);return Ec(t)?e.ownerDocument?e.ownerDocument.body:e.body:yc(t)&&vc(t)?t:Nc(t)}function Sc(e,t,n){var r;void 0===t&&(t=[]),void 0===n&&(n=!0);const o=Nc(e),i=o===(null==(r=e.ownerDocument)?void 0:r.body),a=hc(o);if(i){const e=Tc(a);return t.concat(a,a.visualViewport||[],vc(o)?o:[],e&&n?Sc(e):[])}return t.concat(o,Sc(o,[],n))}function Tc(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function kc(e){const t=Lc(e);let n=parseFloat(t.width)||0,r=parseFloat(t.height)||0;const o=yc(e),i=o?e.offsetWidth:n,a=o?e.offsetHeight:r,s=Vs(n)!==i||Vs(r)!==a;return s&&(n=i,r=a),{width:n,height:r,$:s}}function _c(e){return gc(e)?e:e.contextElement}function Dc(e){const t=_c(e);if(!yc(t))return Ws(1);const n=t.getBoundingClientRect(),{width:r,height:o,$:i}=kc(t);let a=(i?Vs(n.width):n.width)/r,s=(i?Vs(n.height):n.height)/o;return a&&Number.isFinite(a)||(a=1),s&&Number.isFinite(s)||(s=1),{x:a,y:s}}const Ic=Ws(0);function Oc(e){const t=hc(e);return Cc()&&t.visualViewport?{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}:Ic}function zc(e,t,n,r){void 0===t&&(t=!1),void 0===n&&(n=!1);const o=e.getBoundingClientRect(),i=_c(e);let a=Ws(1);t&&(r?gc(r)&&(a=Dc(r)):a=Dc(e));const s=function(e,t,n){return void 0===t&&(t=!1),!(!n||t&&n!==hc(e))&&t}(i,n,r)?Oc(i):Ws(0);let c=(o.left+s.x)/a.x,l=(o.top+s.y)/a.y,u=o.width/a.x,d=o.height/a.y;if(i){const e=hc(i),t=r&&gc(r)?hc(r):r;let n=e,o=Tc(n);for(;o&&r&&t!==n;){const e=Dc(o),t=o.getBoundingClientRect(),r=Lc(o),i=t.left+(o.clientLeft+parseFloat(r.paddingLeft))*e.x,a=t.top+(o.clientTop+parseFloat(r.paddingTop))*e.y;c*=e.x,l*=e.y,u*=e.x,d*=e.y,c+=i,l+=a,n=hc(o),o=Tc(n)}}return cc({width:u,height:d,x:c,y:l})}function Bc(e,t){const n=jc(e).scrollLeft;return t?t.left+n:zc(pc(e)).left+n}function $c(e,t,n){void 0===n&&(n=!1);const r=e.getBoundingClientRect();return{x:r.left+t.scrollLeft-(n?0:Bc(e,r)),y:r.top+t.scrollTop}}function Pc(e,t,n){let r;if("viewport"===t)r=function(e,t){const n=hc(e),r=pc(e),o=n.visualViewport;let i=r.clientWidth,a=r.clientHeight,s=0,c=0;if(o){i=o.width,a=o.height;const e=Cc();(!e||e&&"fixed"===t)&&(s=o.offsetLeft,c=o.offsetTop)}return{width:i,height:a,x:s,y:c}}(e,n);else if("document"===t)r=function(e){const t=pc(e),n=jc(e),r=e.ownerDocument.body,o=Gs(t.scrollWidth,t.clientWidth,r.scrollWidth,r.clientWidth),i=Gs(t.scrollHeight,t.clientHeight,r.scrollHeight,r.clientHeight);let a=-n.scrollLeft+Bc(e);const s=-n.scrollTop;return"rtl"===Lc(r).direction&&(a+=Gs(t.clientWidth,r.clientWidth)-o),{width:o,height:i,x:a,y:s}}(pc(e));else if(gc(t))r=function(e,t){const n=zc(e,!0,"fixed"===t),r=n.top+e.clientTop,o=n.left+e.clientLeft,i=yc(e)?Dc(e):Ws(1);return{width:e.clientWidth*i.x,height:e.clientHeight*i.y,x:o*i.x,y:r*i.y}}(t,n);else{const n=Oc(e);r={x:t.x-n.x,y:t.y-n.y,width:t.width,height:t.height}}return cc(r)}function Rc(e,t){const n=xc(e);return!(n===t||!gc(n)||Ec(n))&&("fixed"===Lc(n).position||Rc(n,t))}function Uc(e,t,n){const r=yc(t),o=pc(t),i="fixed"===n,a=zc(e,!0,i,t);let s={scrollLeft:0,scrollTop:0};const c=Ws(0);if(r||!r&&!i)if(("body"!==fc(t)||vc(o))&&(s=jc(t)),r){const e=zc(t,!0,i,t);c.x=e.x+t.clientLeft,c.y=e.y+t.clientTop}else o&&(c.x=Bc(o));const l=!o||r||i?Ws(0):$c(o,s);return{x:a.left+s.scrollLeft-c.x-l.x,y:a.top+s.scrollTop-c.y-l.y,width:a.width,height:a.height}}function Yc(e){return"static"===Lc(e).position}function Qc(e,t){if(!yc(e)||"fixed"===Lc(e).position)return null;if(t)return t(e);let n=e.offsetParent;return pc(e)===n&&(n=n.ownerDocument.body),n}function qc(e,t){const n=hc(e);if(wc(e))return n;if(!yc(e)){let t=xc(e);for(;t&&!Ec(t);){if(gc(t)&&!Yc(t))return t;t=xc(t)}return n}let r=Qc(e,t);for(;r&&bc(r)&&Yc(r);)r=Qc(r,t);return r&&Ec(r)&&Yc(r)&&!Mc(r)?n:r||function(e){let t=xc(e);for(;yc(t)&&!Ec(t);){if(Mc(t))return t;if(wc(t))return null;t=xc(t)}return null}(e)||n}const Fc={convertOffsetParentRelativeRectToViewportRelativeRect:function(e){let{elements:t,rect:n,offsetParent:r,strategy:o}=e;const i="fixed"===o,a=pc(r),s=!!t&&wc(t.floating);if(r===a||s&&i)return n;let c={scrollLeft:0,scrollTop:0},l=Ws(1);const u=Ws(0),d=yc(r);if((d||!d&&!i)&&(("body"!==fc(r)||vc(a))&&(c=jc(r)),yc(r))){const e=zc(r);l=Dc(r),u.x=e.x+r.clientLeft,u.y=e.y+r.clientTop}const f=!a||d||i?Ws(0):$c(a,c,!0);return{width:n.width*l.x,height:n.height*l.y,x:n.x*l.x-c.scrollLeft*l.x+u.x+f.x,y:n.y*l.y-c.scrollTop*l.y+u.y+f.y}},getDocumentElement:pc,getClippingRect:function(e){let{element:t,boundary:n,rootBoundary:r,strategy:o}=e;const i=[..."clippingAncestors"===n?wc(t)?[]:function(e,t){const n=t.get(e);if(n)return n;let r=Sc(e,[],!1).filter((e=>gc(e)&&"body"!==fc(e))),o=null;const i="fixed"===Lc(e).position;let a=i?xc(e):e;for(;gc(a)&&!Ec(a);){const t=Lc(a),n=Mc(a);n||"fixed"!==t.position||(o=null),(i?!n&&!o:!n&&"static"===t.position&&o&&["absolute","fixed"].includes(o.position)||vc(a)&&!n&&Rc(e,a))?r=r.filter((e=>e!==a)):o=t,a=xc(a)}return t.set(e,r),r}(t,this._c):[].concat(n),r],a=i[0],s=i.reduce(((e,n)=>{const r=Pc(t,n,o);return e.top=Gs(r.top,e.top),e.right=Fs(r.right,e.right),e.bottom=Fs(r.bottom,e.bottom),e.left=Gs(r.left,e.left),e}),Pc(t,a,o));return{width:s.right-s.left,height:s.bottom-s.top,x:s.left,y:s.top}},getOffsetParent:qc,getElementRects:async function(e){const t=this.getOffsetParent||qc,n=this.getDimensions,r=await n(e.floating);return{reference:Uc(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:r.width,height:r.height}}},getClientRects:function(e){return Array.from(e.getClientRects())},getDimensions:function(e){const{width:t,height:n}=kc(e);return{width:t,height:n}},getScale:Dc,isElement:gc,isRTL:function(e){return"rtl"===Lc(e).direction}};const Gc=function(e){return void 0===e&&(e=0),{name:"offset",options:e,async fn(t){var n,r;const{x:o,y:i,placement:a,middlewareData:s}=t,c=await async function(e,t){const{placement:n,platform:r,elements:o}=e,i=await(null==r.isRTL?void 0:r.isRTL(o.floating)),a=Js(n),s=ec(n),c="y"===rc(n),l=["left","top"].includes(a)?-1:1,u=i&&c?-1:1,d=Xs(t,e);let{mainAxis:f,crossAxis:h,alignmentAxis:p}="number"==typeof d?{mainAxis:d,crossAxis:0,alignmentAxis:null}:{mainAxis:0,crossAxis:0,alignmentAxis:null,...d};return s&&"number"==typeof p&&(h="end"===s?-1*p:p),c?{x:h*u,y:f*l}:{x:f*l,y:h*u}}(t,e);return a===(null==(n=s.offset)?void 0:n.placement)&&null!=(r=s.arrow)&&r.alignmentOffset?{}:{x:o+c.x,y:i+c.y,data:{...c,placement:a}}}}},Vc=function(e){return void 0===e&&(e={}),{name:"autoPlacement",options:e,async fn(t){var n,r,o;const{rects:i,middlewareData:a,placement:s,platform:c,elements:l}=t,{crossAxis:u=!1,alignment:d,allowedPlacements:f=qs,autoAlignment:h=!0,...p}=Xs(e,t),m=void 0!==d||f===qs?function(e,t,n){return(e?[...n.filter((t=>ec(t)===e)),...n.filter((t=>ec(t)!==e))]:n.filter((e=>Js(e)===e))).filter((n=>!e||ec(n)===e||!!t&&ic(n)!==n))}(d||null,h,f):f,g=await uc(t,p),y=(null==(n=a.autoPlacement)?void 0:n.index)||0,A=m[y];if(null==A)return{};const v=function(e,t,n){void 0===n&&(n=!1);const r=ec(e),o=oc(e),i=nc(o);let a="x"===o?r===(n?"end":"start")?"right":"left":"start"===r?"bottom":"top";return t.reference[i]>t.floating[i]&&(a=ac(a)),[a,ac(a)]}(A,i,await(null==c.isRTL?void 0:c.isRTL(l.floating)));if(s!==A)return{reset:{placement:m[0]}};const b=[g[Js(A)],g[v[0]],g[v[1]]],w=[...(null==(r=a.autoPlacement)?void 0:r.overflows)||[],{placement:A,overflows:b}],M=m[y+1];if(M)return{data:{index:y+1,overflows:w},reset:{placement:M}};const C=w.map((e=>{const t=ec(e.placement);return[e.placement,t&&u?e.overflows.slice(0,2).reduce(((e,t)=>e+t),0):e.overflows[0],e.overflows]})).sort(((e,t)=>e[1]-t[1])),E=C.filter((e=>e[2].slice(0,ec(e[0])?2:3).every((e=>e<=0)))),L=(null==(o=E[0])?void 0:o[0])||C[0][0];return L!==s?{data:{index:y+1,overflows:w},reset:{placement:L}}:{}}}},Wc=function(e){return void 0===e&&(e={}),{name:"shift",options:e,async fn(t){const{x:n,y:r,placement:o}=t,{mainAxis:i=!0,crossAxis:a=!1,limiter:s={fn:e=>{let{x:t,y:n}=e;return{x:t,y:n}}},...c}=Xs(e,t),l={x:n,y:r},u=await uc(t,c),d=rc(Js(o)),f=tc(d);let h=l[f],p=l[d];if(i){const e="y"===f?"bottom":"right";h=Ks(h+u["y"===f?"top":"left"],h,h-u[e])}if(a){const e="y"===d?"bottom":"right";p=Ks(p+u["y"===d?"top":"left"],p,p-u[e])}const m=s.fn({...t,[f]:h,[d]:p});return{...m,data:{x:m.x-n,y:m.y-r}}}}},Hc=e=>({name:"arrow",options:e,async fn(t){const{x:n,y:r,placement:o,rects:i,platform:a,elements:s,middlewareData:c}=t,{element:l,padding:u=0}=Xs(e,t)||{};if(null==l)return{};const d=sc(u),f={x:n,y:r},h=oc(o),p=nc(h),m=await a.getDimensions(l),g="y"===h,y=g?"top":"left",A=g?"bottom":"right",v=g?"clientHeight":"clientWidth",b=i.reference[p]+i.reference[h]-f[h]-i.floating[p],w=f[h]-i.reference[h],M=await(null==a.getOffsetParent?void 0:a.getOffsetParent(l));let C=M?M[v]:0;C&&await(null==a.isElement?void 0:a.isElement(M))||(C=s.floating[v]||i.floating[p]);const E=b/2-w/2,L=C/2-m[p]/2-1,j=Fs(d[y],L),x=Fs(d[A],L),N=j,S=C-m[p]-x,T=C/2-m[p]/2+E,k=Ks(N,T,S),_=!c.arrow&&null!=ec(o)&&T!==k&&i.reference[p]/2-(T<N?j:x)-m[p]/2<0,D=_?T<N?T-N:T-S:0;return{[h]:f[h]+D,data:{[h]:k,centerOffset:T-k-D,..._&&{alignmentOffset:D}},reset:_}}}),Zc=(e,t,n)=>{const r=new Map,o={platform:Fc,...n},i={...o.platform,_c:r};return(async(e,t,n)=>{const{placement:r="bottom",strategy:o="absolute",middleware:i=[],platform:a}=n,s=i.filter(Boolean),c=await(null==a.isRTL?void 0:a.isRTL(t));let l=await a.getElementRects({reference:e,floating:t,strategy:o}),{x:u,y:d}=lc(l,r,c),f=r,h={},p=0;for(let n=0;n<s.length;n++){const{name:i,fn:m}=s[n],{x:g,y,data:A,reset:v}=await m({x:u,y:d,initialPlacement:r,placement:f,strategy:o,middlewareData:h,rects:l,platform:a,elements:{reference:e,floating:t}});u=null!=g?g:u,d=null!=y?y:d,h={...h,[i]:{...h[i],...A}},v&&p<=50&&(p++,"object"==typeof v&&(v.placement&&(f=v.placement),v.rects&&(l=!0===v.rects?await a.getElementRects({reference:e,floating:t,strategy:o}):v.rects),({x:u,y:d}=lc(l,f,c))),n=-1)}return{x:u,y:d,placement:f,strategy:o,middlewareData:h}})(e,t,{...o,platform:i})};function Kc(e){return Kc="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},Kc(e)}function Xc(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){if(e){if("string"==typeof e)return Jc(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Jc(e,t):void 0}}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,o=function(){};return{s:o,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,s=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return a=e.done,e},e:function(e){s=!0,i=e},f:function(){try{a||null==n.return||n.return()}finally{if(s)throw i}}}}function Jc(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function el(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function tl(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,dl(r.key),r)}}function nl(e,t,n){return t&&tl(e.prototype,t),n&&tl(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function rl(e,t,n){return t=sl(t),function(e,t){if(t&&("object"==Kc(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,ol()?Reflect.construct(t,n||[],sl(e).constructor):t.apply(e,n))}function ol(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(ol=function(){return!!e})()}function il(e,t,n,r){var o=al(sl(1&r?e.prototype:e),t,n);return 2&r&&"function"==typeof o?function(e){return o.apply(n,e)}:o}function al(){return al="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(e,t,n){var r=function(e,t){for(;!{}.hasOwnProperty.call(e,t)&&null!==(e=sl(e)););return e}(e,t);if(r){var o=Object.getOwnPropertyDescriptor(r,t);return o.get?o.get.call(arguments.length<3?e:n):o.value}},al.apply(null,arguments)}function sl(e){return sl=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},sl(e)}function cl(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&ll(e,t)}function ll(e,t){return ll=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},ll(e,t)}function ul(e,t,n){return(t=dl(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function dl(e){var t=function(e,t){if("object"!=Kc(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=Kc(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==Kc(t)?t:t+""}var fl="data-linkpreview-href",hl={};function pl(e,t,n,r){var o,i=e;e.addEventListener("mouseenter",(function(){null===a&&(a=setTimeout((function(){!function(){document.querySelectorAll("div[".concat(fl,"]")).forEach((function(e){return e.style.display="none"}));var e=d();if(void 0!==e){var o,a=function(e){var o={url:e};null!==t&&(o.doctool=t);null!==n&&(o.doctoolversion=n);null!==r&&(o.maincontent=r);return Ee+"?"+new URLSearchParams(o).toString()}(i.href);Object.keys(hl).includes(a)?(console.debug("URL was found cached, reusing it."),o=Promise.resolve(hl[a])):(console.debug("URL not found cached, performing a fetch."),o=at(a,{method:"GET",headers:{"X-RTD-Hosting-Integrations-Version":Ze}}).then((function(e){if(!e.ok)throw new Error("Error hitting Read the Docs embed API");return e.json()}))),o.then((function(t){hl[a]=t;var n=t.content;e.firstChild.innerHTML=n,e.style.display="flex";var r=e.querySelector(".arrow");Zc(i,e,{placement:"right",middleware:[Gc(10),Vc(),Wc({padding:10}),Hc({element:r})]}).then((function(t){var n=t.x,o=t.y,i=t.middlewareData,a=t.placement;Object.assign(e.style,{left:"".concat(n,"px"),top:"".concat(o,"px")});var s=i.arrow,c=s.x,l=s.y,u={top:"bottom",right:"left",bottom:"top",left:"right"}[a.split("-")[0]];Object.assign(r.style,ul({left:null!=c?"".concat(c,"px"):"",top:null!=l?"".concat(l,"px"):"",right:"",bottom:""},u,"-4px"))})),e.classList.remove("hide")})).catch((function(e){console.error(e)}))}}()}),300));c()})),e.addEventListener("mouseleave",u);var a=null,s=null;function c(){null!==s&&(clearTimeout(s),s=null)}function l(){null!==a&&(clearTimeout(a),a=null)}function u(){l();d();null===s&&(s=setTimeout((function(){!function(){var e=d();l(),e.style.display=""}()}),300))}function d(){if(o)return o;var e=i.parentElement.querySelector("div[".concat(fl,'="').concat(i.href,'"]'));if(e)return o=e,e;var t=document.createElement("div");return t.insertAdjacentHTML("afterbegin",'<div class="arrow"></div>'),t.insertAdjacentHTML("afterbegin",'<div class="tooltip-content">Loading...</div>'),t.setAttribute(fl,i.href),t.classList.add("tooltip"),i.insertAdjacentElement("afterend",t),t.addEventListener("mouseenter",c),t.addEventListener("mouseleave",u),o=t,t}}var ml=function(e){function t(){var e;return el(this,t),ul(e=rl(this,t),"_handleRootDOMChanged",(function(t){e.config&&e.setupTooltips()})),document.adoptedStyleSheets.push(Ys.A),e.config=null,e}return cl(t,e),nl(t,[{key:"setupTooltips",value:function(){var e=it.getDocumentationTool(),t=this.config.addons.options.root_selector||it.getRootSelector(),n=it.getLinkSelector();console.debug("".concat(gl.addonName,": Using '").concat(n,"' as CSS selector."));var r,o=Xc(document.querySelectorAll(n));try{for(o.s();!(r=o.n()).done;){var i=r.value;try{var a=new URL(i.href),s=a.hostname,c=window.location.pathname.replace("/index.html","")==a.pathname.replace("/index.html","");s!==window.location.hostname||c||(i.classList.add("link-preview"),pl(i,e,null,t))}catch(e){console.debug("Skipping link preview on element due to invalid URL: ".concat(i))}}}catch(e){o.e(e)}finally{o.f()}}},{key:"render",value:function(){return G}},{key:"loadConfig",value:function(e){gl.isEnabled(e)&&(this.config=e,this.setupTooltips())}},{key:"connectedCallback",value:function(){il(t,"connectedCallback",this,3)([]),document.addEventListener(Be,this._handleRootDOMChanged)}},{key:"disconnectedCallback",value:function(){document.removeEventListener(Be,this._handleRootDOMChanged),il(t,"disconnectedCallback",this,3)([])}}])}(se);ul(ml,"elementName","readthedocs-linkpreviews"),ul(ml,"properties",{config:{state:!0}});var gl=function(e){function t(){return el(this,t),rl(this,t,arguments)}return cl(t,e),nl(t)}(Xe);ul(gl,"jsonValidationURI","http://v1.schemas.readthedocs.org/addons.linkpreviews.json"),ul(gl,"addonEnabledPath","addons.linkpreviews.enabled"),ul(gl,"addonName","LinkPreviews"),ul(gl,"elementClass",ml),customElements.define(ml.elementName,ml);var yl,Al,vl,bl,wl,Ml=n(9358);function Cl(e){return Cl="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},Cl(e)}function El(e){return function(e){if(Array.isArray(e))return xl(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||jl(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Ll(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=jl(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,o=function(){};return{s:o,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,s=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return a=e.done,e},e:function(e){s=!0,i=e},f:function(){try{a||null==n.return||n.return()}finally{if(s)throw i}}}}function jl(e,t){if(e){if("string"==typeof e)return xl(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?xl(e,t):void 0}}function xl(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function Nl(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}function Sl(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Tl(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,Rl(r.key),r)}}function kl(e,t,n){return t&&Tl(e.prototype,t),n&&Tl(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function _l(e,t,n){return t=zl(t),function(e,t){if(t&&("object"==Cl(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,Dl()?Reflect.construct(t,n||[],zl(e).constructor):t.apply(e,n))}function Dl(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(Dl=function(){return!!e})()}function Il(e,t,n,r){var o=Ol(zl(1&r?e.prototype:e),t,n);return 2&r&&"function"==typeof o?function(e){return o.apply(n,e)}:o}function Ol(){return Ol="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(e,t,n){var r=function(e,t){for(;!{}.hasOwnProperty.call(e,t)&&null!==(e=zl(e)););return e}(e,t);if(r){var o=Object.getOwnPropertyDescriptor(r,t);return o.get?o.get.call(arguments.length<3?e:n):o.value}},Ol.apply(null,arguments)}function zl(e){return zl=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},zl(e)}function Bl(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&$l(e,t)}function $l(e,t){return $l=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},$l(e,t)}function Pl(e,t,n){return(t=Rl(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Rl(e){var t=function(e,t){if("object"!=Cl(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=Cl(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==Cl(t)?t:t+""}var Ul=function(e){function t(){var e;return Sl(this,t),Pl(e=_l(this,t),"_handleDocDiffShow",(function(t){e.docDiffEnabled=!0})),Pl(e,"_handleDocDiffHide",(function(t){e.docDiffEnabled=!1})),Pl(e,"_handleRootDOMChanged",(function(t){e.chunks=e.getChunks(),e.chunkIndex=Math.min(e.chunks.length,Math.max(0,parseInt(et(Ma)))),e.chunkIndex||(e.chunkIndex=1),e.chunks.length&&e.scrollToChunk(e.chunks[e.chunkIndex-1])})),e.config=null,e.docDiffEnabled=!1,e.chunkIndex=1,e.chunks=[],Lo.add(zo),Lo.add(Po),e.iconArrowUp=jo(Po,{classes:["icon"]}),e.iconArrowDown=jo(zo,{classes:["icon"]}),e.iconCircleInfo=jo(Do,{classes:["icon"]}),e}return Bl(t,e),kl(t,[{key:"loadConfig",value:function(e){Yl.isEnabled(e)&&(this.config=e)}},{key:"handleFileChange",value:function(e){var t=e.target.value;if(t){var n=new URL(t);this.docDiffEnabled&&n.searchParams.set(wa,"true"),window.location.href=n.toString()}}},{key:"handleToggleDiff",value:function(e){e.target.checked?document.dispatchEvent(new CustomEvent(Te)):document.dispatchEvent(new CustomEvent(ke))}},{key:"getCurrentPageUrl",value:function(){var e=window.location.pathname,t=window.location.origin;return"".concat(t).concat(e)}},{key:"renderArrows",value:function(){return this.docDiffEnabled?q(yl||(yl=Nl(['\n <span class="chunks"\n >'," of\n ","</span\n >\n <span @click=","> "," </span>\n <span @click=","> "," </span>\n "])),this.chunks.length?this.chunkIndex:0,this.chunks.length||0,this.previousChunk,this.iconArrowUp.node[0],this.nextChunk,this.iconArrowDown.node[0]):G}},{key:"renderDocDiff",value:function(){return fe().get(this.config,"addons.doc_diff.enabled",!1)?q(Al||(Al=Nl(['\n <label>\n <input\n type="checkbox"\n .checked=',"\n @change=","\n />\n Show diff\n </label>\n ","\n "])),this.docDiffEnabled,this.handleToggleDiff,this.renderArrows()):G}},{key:"previousChunk",value:function(){if(this.chunks.length){1===this.chunkIndex?this.chunkIndex=1:1!=this.chunkIndex&&(this.chunkIndex-=1);var e=this.chunks[this.chunkIndex-1];this.scrollToChunk(e)}}},{key:"nextChunk",value:function(){if(this.chunks.length){this.chunkIndex!=this.chunks.length&&(this.chunkIndex+=1);var e=this.chunks[this.chunkIndex-1];this.scrollToChunk(e)}}},{key:"scrollToChunk",value:function(e){var t,n=Ll(document.querySelectorAll(".doc-diff-chunk-selected"));try{for(n.s();!(t=n.n()).done;){t.value.classList.remove("doc-diff-chunk-selected")}}catch(e){n.e(e)}finally{n.f()}e.classList.add("doc-diff-chunk-selected");var r=new URL(window.location.href);r.searchParams.set(Ma,this.chunkIndex),window.history.replaceState({},"",r),globalThis.scrollTo({top:window.scrollY+e.getBoundingClientRect().top-.25*window.innerHeight,behavior:"smooth"})}},{key:"render",value:function(){var e=fe().get(this.config,"addons.filetreediff.diff");if(!e)return G;var t=this.getCurrentPageUrl(),n=function(e,n){if(!e.length)return G;var r="Added"===n?"+ ":"± ";return q(vl||(vl=Nl(['\n <optgroup label="','">\n ',"\n </optgroup>\n "])),n,e.map((function(e){return q(bl||(bl=Nl(["\n <option\n value=","\n ?selected=","\n >\n ","","\n </option>\n "])),e.urls.current,e.urls.current===t,r,e.filename)})))},r=[].concat(El(e.added),El(e.modified)).some((function(e){return e.urls.current===t}));return q(wl||(wl=Nl(["\n <div>\n <div>\n ","\n <select @change=",'>\n <option value="" ?selected='," disabled>\n Files changed\n </option>\n ","\n ",'\n </select>\n <a\n href="','"\n title="Go to pull request"\n target="_blank"\n class="version"\n >#','</a\n >\n <a\n href="https://docs.readthedocs.com/platform/stable/visual-diff.html"\n title="Open documentation"\n target="_blank"\n >',"</a\n >\n </div>\n </div>\n "])),this.renderDocDiff(),this.handleFileChange,!r,n(e.added,"Added"),n(e.modified,"Changed"),this.config.versions.current.urls.vcs,this.config.versions.current.slug,this.iconCircleInfo.node[0])}},{key:"getChunks",value:function(){var e,t=document.querySelectorAll(".doc-diff-added, .doc-diff-removed"),n=["section","h1","h2","h3","h4","h5","h6","p","dl","ul","ol","table","pre"],r=new Set,o=Ll(t);try{for(o.s();!(e=o.n()).done;)for(var i=e.value.parentElement,a=0;a<10&&i;a++){if(n.includes(i.tagName.toLowerCase())){r.add(i);break}i=i.parentElement}}catch(e){o.e(e)}finally{o.f()}return Array.from(r)}},{key:"connectedCallback",value:function(){Il(t,"connectedCallback",this,3)([]),document.addEventListener(Te,this._handleDocDiffShow),document.addEventListener(ke,this._handleDocDiffHide),document.addEventListener(Be,this._handleRootDOMChanged)}},{key:"disconnectedCallback",value:function(){document.removeEventListener(Te,this._handleDocDiffShow),document.removeEventListener(ke,this._handleDocDiffHide),document.removeEventListener(Be,this._handleRootDOMChanged),Il(t,"disconnectedCallback",this,3)([])}}])}(se);Pl(Ul,"elementName","readthedocs-filetreediff"),Pl(Ul,"properties",{config:{state:!0},docDiffEnabled:{state:!0},chunks:{state:!0},chunkIndex:{state:!0}}),Pl(Ul,"styles",Ml.A);var Yl=function(e){function t(){return Sl(this,t),_l(this,t,arguments)}return Bl(t,e),kl(t,null,[{key:"isEnabled",value:function(e,n){return"external"===fe().get(e,"versions.current.type")&&Il(t,"isEnabled",this,2)([e,n])}}])}(Xe);function Ql(e){return Ql="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},Ql(e)}function ql(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,Zl(r.key),r)}}function Fl(e,t,n){return t=Vl(t),function(e,t){if(t&&("object"==Ql(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,Gl()?Reflect.construct(t,n||[],Vl(e).constructor):t.apply(e,n))}function Gl(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(Gl=function(){return!!e})()}function Vl(e){return Vl=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},Vl(e)}function Wl(e,t){return Wl=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},Wl(e,t)}function Hl(e,t,n){return(t=Zl(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Zl(e){var t=function(e,t){if("object"!=Ql(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=Ql(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==Ql(t)?t:t+""}Pl(Yl,"jsonValidationURI","http://v1.schemas.readthedocs.org/addons.filetreediff.json"),Pl(Yl,"addonEnabledPath","addons.filetreediff.enabled"),Pl(Yl,"addonName","File Tree Diff"),Pl(Yl,"elementClass",Ul),customElements.define(Ul.elementName,Ul);var Kl="readthedocs-addons-custom-script",Xl=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),Fl(this,t,arguments)}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&Wl(e,t)}(t,e),function(e,t,n){return t&&ql(e.prototype,t),n&&ql(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}(t,[{key:"loadConfig",value:function(e){this.config=e,fe().get(this.config,"addons.customscript.src")&&this.injectJavaScriptFile()}},{key:"injectJavaScriptFile",value:function(){if(null===document.querySelector("#".concat(Kl))){var e=document.createElement("script");e.id=Kl,e.src=fe().get(this.config,"addons.customscript.src"),e.async=!0,document.body.appendChild(e)}}}])}(Xe);Hl(Xl,"jsonValidationURI","http://v1.schemas.readthedocs.org/addons.customscript.json"),Hl(Xl,"addonEnabledPath","addons.customscript.enabled"),Hl(Xl,"addonName","CustomScript"),Hl(Xl,"enabledOnHttpStatus",[200,403,404,500]);var Jl=n(6650);function eu(e){return eu="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},eu(e)}function tu(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){if(e){if("string"==typeof e)return nu(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?nu(e,t):void 0}}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,o=function(){};return{s:o,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,s=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return a=e.done,e},e:function(e){s=!0,i=e},f:function(){try{a||null==n.return||n.return()}finally{if(s)throw i}}}}function nu(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function ru(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,ou(r.key),r)}}function ou(e){var t=function(e,t){if("object"!=eu(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=eu(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==eu(t)?t:t+""}var iu=function(){return function(e,t,n){return t&&ru(e.prototype,t),n&&ru(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}((function e(){var t;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),null!==(t=new URL(window.location.href).searchParams.get("logging"))&&"debug"===t.toLowerCase()||(console.debug=function(){}),function(){var e=Symbol.for("addons-history");if("undefined"!=typeof history&&void 0===window[e]){for(var t=function(){var e=r[n],t=history[e];history[e]=function(){var e=new URL(window.location.href),n=t.apply(this,arguments);if(3===arguments.length){var r=new URL(arguments[2],e.origin);if(r.searchParams.delete("readthedocs-diff"),r.searchParams.delete("readthedocs-diff-chunk"),e.searchParams.delete("readthedocs-diff"),e.searchParams.delete("readthedocs-diff-chunk"),r.href!==e.href){var o=new Event(Ie);o.arguments=arguments,dispatchEvent(o)}}return n}},n=0,r=["pushState","replaceState"];n<r.length;n++)t();Object.defineProperty(window,e,{value:!0})}}(),this.addonsInstances=[],this.config=null,console.debug("Addons Application config (from constructor() method)",this.config),this.addons=[ls,ci,yi,Ms,oa,Us,Yl,La,gl,Xl],this.httpStatus=nt("readthedocs-http-status"),this.addDoctoolData(),ct(this.sendUrlParam())}),[{key:"reload",value:function(e){var t=this;if(console.debug("Addons Application config (from reload() method)",e),e&&(this.config=e,!this.config||this.loadWhenEmbedded()))if(this.addonsInstances.length){var n,r=tu(this.addonsInstances);try{for(r.s();!(n=r.n()).done;){n.value.loadConfig(e)}}catch(e){r.e(e)}finally{r.f()}}else try{this.addonsInstances=this.addons.filter((function(e){return e.isEnabled(t.config,t.httpStatus)})).map((function(e){return new e(t.config)}))}catch(e){console.error(e)}}},{key:"loadWhenEmbedded",value:function(){var e=fe().get(this.config,"addons.options.load_when_embedded",!1);return!(window.self!==window.parent&&!e)}},{key:"sendUrlParam",value:function(){var e,t=tu(this.addons);try{for(t.s();!(e=t.n()).done;){var n=e.value;if(n.requiresUrlParam())return console.debug("".concat(n.addonName,' requires "url=" parameter.')),!0}}catch(e){t.e(e)}finally{t.f()}return!1}},{key:"addDoctoolData",value:function(){var e=document.querySelector("html");if(e){var t=Jl.A;Jl.A instanceof i&&(t=Jl.A.styleSheet),document.adoptedStyleSheets=[t],it.documentationTool&&e.setAttribute("data-readthedocs-tool",it.documentationTool),it.documentationTheme&&e.setAttribute("data-readthedocs-tool-theme",it.documentationTheme)}}}])}(),au=new iu;document.addEventListener(ze,(function(e){au.reload(e.detail.data(!0))})),window.addEventListener(Ie,(function(e){console.debug("URL Change detected. Triggering a new API call",e),ct(au.sendUrlParam())}))})()})();
|
|
//# sourceMappingURL=readthedocs-addons.js.map?597b83d0bc9e0cba7026
|