/*! For license information please see search-1c4cfb2d.bundle.min.js.LICENSE.txt */ !function(){var e={3129:function(){!function(e){"use strict";var t;function n(e){return void 0===e||e}function r(e){const t=Array(e);for(let n=0;n=r))));h++);if(n)return i?z(c,r,0):void(t[t.length]=c)}return!n&&c}function z(e,t,n){return e=1===e.length?e[0]:[].concat.apply([],e),n||e.length>t?e.slice(n,n+t):e}function O(e,t,n,r){return e=n?(e=e[(r=r&&t>n)?t:n])&&e[r?n:t]:e[t]}function j(e,t,n,r,o){let i=0;if(e.constructor===Array)if(o)-1!==(t=e.indexOf(t))?1t||n)&&(o=o.slice(n,n+t)),r&&(o=q.call(this,o)),{tag:e,result:o}}function q(e){const t=Array(e.length);for(let n,r=0;r=this.m&&(h||!l[p])){var s=_(u,r,m),a="";switch(this.C){case"full":if(3s;c--)if(c-s>=this.m){var d=_(u,r,m,i,s);I(this,l,a=p.substring(s,c),d,e,n)}break}case"reverse":if(2=this.m&&I(this,l,a,_(u,r,m,i,c),e,n);a=""}case"forward":if(1=this.m&&I(this,l,a,s,e,n);break}default:if(this.G&&(s=Math.min(s/this.G(t,p,m)|0,u-1)),I(this,l,p,s,e,n),h&&1=this.m&&!i[p]){i[p]=1;const t=this.l&&p>s;I(this,f,t?s:p,_(a+(r/2>a?0:1),r,m,c-1,d-1),e,n,t?p:s)}}}}this.D||(this.register[e]=1)}}return this},t.search=function(e,t,n){n||(!t&&a(e)?e=(n=e).query:a(t)&&(n=t));let r,s,c,d,f,l=[],h=0;if(n){t=n.limit,h=n.offset||0;var u=n.context;s=n.suggest}if(e&&(r=(e=this.encode(e)).length,1=this.m&&!n[t]){if(!(this.s||s||this.h[t]))return l;m[i++]=t,n[t]=1}r=(e=m).length}if(!r)return l;for(t||(t=100),n=0,(u=this.depth&&1{let n=e.map((e=>t.map((t=>t(e))))),r={};return n.forEach(((t,n)=>{let o=(s(r,t)||[]).concat([e[n]]);a(r,t,o)})),r},o=e=>null!=e&&"object"==typeof e&&e.constructor==Object,i=e=>Array.isArray(e)?e:`${e}`.split("."),s=(e,t)=>i(t).reduce(((e,t)=>null!=e&&e.hasOwnProperty(t)?e[t]:void 0),e),a=(e,t,n)=>i(t).reduce(((e,t,r,i)=>{let s=r===i.length-1;return e.hasOwnProperty(t)&&(s||o(e[t]))||(e[t]={}),s?e[t]=n:e[t]}),e)},9707:function(e,t,n){"use strict";function r(e,t){const n=typeof e;if(n!==typeof t)return!1;if(Array.isArray(e)){if(!Array.isArray(t))return!1;const n=e.length;if(n!==t.length)return!1;for(let o=0;o1?t[i.href]=e:(i.hash="",""===r?n=i:l(e,t,n))}}else if(!0!==e&&!1!==e)return t;const i=n.href+(r?"#"+r:"");if(void 0!==t[i])throw new Error(`Duplicate schema URI "${i}".`);if(t[i]=e,!0===e||!1===e)return t;if(void 0===e.__absolute_uri__&&Object.defineProperty(e,"__absolute_uri__",{enumerable:!1,value:i}),e.$ref&&void 0===e.__absolute_ref__){const t=new URL(e.$ref,n.href);t.hash=t.hash,Object.defineProperty(e,"__absolute_ref__",{enumerable:!1,value:t.href})}if(e.$recursiveRef&&void 0===e.__absolute_recursive_ref__){const t=new URL(e.$recursiveRef,n.href);t.hash=t.hash,Object.defineProperty(e,"__absolute_recursive_ref__",{enumerable:!1,value:t.href})}e.$anchor&&(t[new URL("#"+e.$anchor,n.href).href]=e);for(let i in e){if(d[i])continue;const s=`${r}/${o(i)}`,f=e[i];if(Array.isArray(f)){if(a[i]){const e=f.length;for(let r=0;re.length>1&&e.length<80&&(/^P\d+([.,]\d+)?W$/.test(e)||/^P[\dYMDTHS]*(\d[.,]\d+)?[YMDHS]$/.test(e)&&/^P([.,\d]+Y)?([.,\d]+M)?([.,\d]+D)?(T([.,\d]+H)?([.,\d]+M)?([.,\d]+S)?)?$/.test(e)),uri:function(e){return k.test(e)&&L.test(e)},"uri-reference":p(/^(?:[a-z][a-z0-9+\-.]*:)?(?:\/?\/(?:(?:[a-z0-9\-._~!$&'()*+,;=:]|%[0-9a-f]{2})*@)?(?:\[(?:(?:(?:(?:[0-9a-f]{1,4}:){6}|::(?:[0-9a-f]{1,4}:){5}|(?:[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){4}|(?:(?:[0-9a-f]{1,4}:){0,1}[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){3}|(?:(?:[0-9a-f]{1,4}:){0,2}[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){2}|(?:(?:[0-9a-f]{1,4}:){0,3}[0-9a-f]{1,4})?::[0-9a-f]{1,4}:|(?:(?:[0-9a-f]{1,4}:){0,4}[0-9a-f]{1,4})?::)(?:[0-9a-f]{1,4}:[0-9a-f]{1,4}|(?:(?:25[0-5]|2[0-4]\d|[01]?\d\d?)\.){3}(?:25[0-5]|2[0-4]\d|[01]?\d\d?))|(?:(?:[0-9a-f]{1,4}:){0,5}[0-9a-f]{1,4})?::[0-9a-f]{1,4}|(?:(?:[0-9a-f]{1,4}:){0,6}[0-9a-f]{1,4})?::)|[Vv][0-9a-f]+\.[a-z0-9\-._~!$&'()*+,;=:]+)\]|(?:(?:25[0-5]|2[0-4]\d|[01]?\d\d?)\.){3}(?:25[0-5]|2[0-4]\d|[01]?\d\d?)|(?:[a-z0-9\-._~!$&'"()*+,;=]|%[0-9a-f]{2})*)(?::\d*)?(?:\/(?:[a-z0-9\-._~!$&'"()*+,;=:@]|%[0-9a-f]{2})*)*|\/(?:(?:[a-z0-9\-._~!$&'"()*+,;=:@]|%[0-9a-f]{2})+(?:\/(?:[a-z0-9\-._~!$&'"()*+,;=:@]|%[0-9a-f]{2})*)*)?|(?:[a-z0-9\-._~!$&'"()*+,;=:@]|%[0-9a-f]{2})+(?:\/(?:[a-z0-9\-._~!$&'"()*+,;=:@]|%[0-9a-f]{2})*)*)?(?:\?(?:[a-z0-9\-._~!$&'"()*+,;=:@/?]|%[0-9a-f]{2})*)?(?:#(?:[a-z0-9\-._~!$&'"()*+,;=:@/?]|%[0-9a-f]{2})*)?$/i),"uri-template":p(/^(?:(?:[^\x00-\x20"'<>%\\^`{|}]|%[0-9a-f]{2})|\{[+#./;?&=,!@|]?(?:[a-z0-9_]|%[0-9a-f]{2})+(?::[1-9][0-9]{0,3}|\*)?(?:,(?:[a-z0-9_]|%[0-9a-f]{2})+(?::[1-9][0-9]{0,3}|\*)?)*\})*$/i),url:p(/^(?:(?:https?|ftp):\/\/)(?:\S+(?::\S*)?@)?(?:(?!10(?:\.\d{1,3}){3})(?!127(?:\.\d{1,3}){3})(?!169\.254(?:\.\d{1,3}){2})(?!192\.168(?:\.\d{1,3}){2})(?!172\.(?:1[6-9]|2\d|3[0-1])(?:\.\d{1,3}){2})(?:[1-9]\d?|1\d\d|2[01]\d|22[0-3])(?:\.(?:1?\d{1,2}|2[0-4]\d|25[0-5])){2}(?:\.(?:[1-9]\d?|1\d\d|2[0-4]\d|25[0-4]))|(?:(?:[a-z\u{00a1}-\u{ffff}0-9]+-?)*[a-z\u{00a1}-\u{ffff}0-9]+)(?:\.(?:[a-z\u{00a1}-\u{ffff}0-9]+-?)*[a-z\u{00a1}-\u{ffff}0-9]+)*(?:\.(?:[a-z\u{00a1}-\u{ffff}]{2,})))(?::\d{2,5})?(?:\/[^\s]*)?$/iu),email:e=>{if('"'===e[0])return!1;const[t,n,...r]=e.split("@");return!(!t||!n||0!==r.length||t.length>64||n.length>253)&&"."!==t[0]&&!t.endsWith(".")&&!t.includes("..")&&!(!/^[a-z0-9.-]+$/i.test(n)||!/^[a-z0-9.!#$%&'*+/=?^_`{|}~-]+$/i.test(t))&&n.split(".").every((e=>/^[a-z0-9]([a-z0-9-]{0,61}[a-z0-9])?$/i.test(e)))},hostname:p(/^(?=.{1,253}\.?$)[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?(?:\.[a-z0-9](?:[-0-9a-z]{0,61}[0-9a-z])?)*\.?$/i),ipv4:p(/^(?:(?:25[0-5]|2[0-4]\d|[01]?\d\d?)\.){3}(?:25[0-5]|2[0-4]\d|[01]?\d\d?)$/),ipv6:p(/^((([0-9a-f]{1,4}:){7}([0-9a-f]{1,4}|:))|(([0-9a-f]{1,4}:){6}(:[0-9a-f]{1,4}|((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3})|:))|(([0-9a-f]{1,4}:){5}(((:[0-9a-f]{1,4}){1,2})|:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3})|:))|(([0-9a-f]{1,4}:){4}(((:[0-9a-f]{1,4}){1,3})|((:[0-9a-f]{1,4})?:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(([0-9a-f]{1,4}:){3}(((:[0-9a-f]{1,4}){1,4})|((:[0-9a-f]{1,4}){0,2}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(([0-9a-f]{1,4}:){2}(((:[0-9a-f]{1,4}){1,5})|((:[0-9a-f]{1,4}){0,3}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(([0-9a-f]{1,4}:){1}(((:[0-9a-f]{1,4}){1,6})|((:[0-9a-f]{1,4}){0,4}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(:(((:[0-9a-f]{1,4}){1,7})|((:[0-9a-f]{1,4}){0,5}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:)))$/i),regex:function(e){if(b.test(e))return!1;try{return new RegExp(e),!0}catch(e){return!1}},uuid:p(/^(?:urn:uuid:)?[0-9a-f]{8}-(?:[0-9a-f]{4}-){3}[0-9a-f]{12}$/i),"json-pointer":p(/^(?:\/(?:[^~/]|~0|~1)*)*$/),"json-pointer-uri-fragment":p(/^#(?:\/(?:[a-z0-9_\-.!$&'()*+,;:=@]|%[0-9a-f]{2}|~0|~1)*)*$/i),"relative-json-pointer":p(/^(?:0|[1-9][0-9]*)(?:#|(?:\/(?:[^~/]|~0|~1)*)*)$/)},$={...y,date:p(/^\d\d\d\d-[0-1]\d-[0-3]\d$/),time:p(/^(?:[0-2]\d:[0-5]\d:[0-5]\d|23:59:60)(?:\.\d+)?(?:z|[+-]\d\d(?::?\d\d)?)?$/i),"date-time":p(/^\d\d\d\d-[0-1]\d-[0-3]\d[t\s](?:[0-2]\d:[0-5]\d:[0-5]\d|23:59:60)(?:\.\d+)?(?:z|[+-]\d\d(?::?\d\d)?)$/i),"uri-reference":p(/^(?:(?:[a-z][a-z0-9+-.]*:)?\/?\/)?(?:[^\\\s#][^\s#]*)?(?:#[^\\\s]*)?$/i)};function g(e){const t=e.match(h);if(!t)return!1;const n=+t[1],r=+t[2],o=+t[3];return r>=1&&r<=12&&o>=1&&o<=(2==r&&function(e){return e%4==0&&(e%100!=0||e%400==0)}(n)?29:u[r])}function v(e,t){const n=t.match(m);if(!n)return!1;const r=+n[1],o=+n[2],i=+n[3],s=!!n[5];return(r<=23&&o<=59&&i<=59||23==r&&59==o&&60==i)&&(!e||s)}const w=/t|\s/i,k=/\/|:/,L=/^(?:[a-z][a-z0-9+\-.]*:)(?:\/?\/(?:(?:[a-z0-9\-._~!$&'()*+,;=:]|%[0-9a-f]{2})*@)?(?:\[(?:(?:(?:(?:[0-9a-f]{1,4}:){6}|::(?:[0-9a-f]{1,4}:){5}|(?:[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){4}|(?:(?:[0-9a-f]{1,4}:){0,1}[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){3}|(?:(?:[0-9a-f]{1,4}:){0,2}[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){2}|(?:(?:[0-9a-f]{1,4}:){0,3}[0-9a-f]{1,4})?::[0-9a-f]{1,4}:|(?:(?:[0-9a-f]{1,4}:){0,4}[0-9a-f]{1,4})?::)(?:[0-9a-f]{1,4}:[0-9a-f]{1,4}|(?:(?:25[0-5]|2[0-4]\d|[01]?\d\d?)\.){3}(?:25[0-5]|2[0-4]\d|[01]?\d\d?))|(?:(?:[0-9a-f]{1,4}:){0,5}[0-9a-f]{1,4})?::[0-9a-f]{1,4}|(?:(?:[0-9a-f]{1,4}:){0,6}[0-9a-f]{1,4})?::)|[Vv][0-9a-f]+\.[a-z0-9\-._~!$&'()*+,;=:]+)\]|(?:(?:25[0-5]|2[0-4]\d|[01]?\d\d?)\.){3}(?:25[0-5]|2[0-4]\d|[01]?\d\d?)|(?:[a-z0-9\-._~!$&'()*+,;=]|%[0-9a-f]{2})*)(?::\d*)?(?:\/(?:[a-z0-9\-._~!$&'()*+,;=:@]|%[0-9a-f]{2})*)*|\/(?:(?:[a-z0-9\-._~!$&'()*+,;=:@]|%[0-9a-f]{2})+(?:\/(?:[a-z0-9\-._~!$&'()*+,;=:@]|%[0-9a-f]{2})*)*)?|(?:[a-z0-9\-._~!$&'()*+,;=:@]|%[0-9a-f]{2})+(?:\/(?:[a-z0-9\-._~!$&'()*+,;=:@]|%[0-9a-f]{2})*)*)(?:\?(?:[a-z0-9\-._~!$&'()*+,;=:@/?]|%[0-9a-f]{2})*)?(?:#(?:[a-z0-9\-._~!$&'()*+,;=:@/?]|%[0-9a-f]{2})*)?$/i,b=/[^\\]\\Z/;function x(e){let t,n=0,r=e.length,o=0;for(;o=55296&&t<=56319&&or(e,t)))||ce.push({instanceLocation:c,keyword:"enum",keywordLocation:`${d}/enum`,error:`Instance does not match any of ${JSON.stringify(w)}.`}):w.some((t=>e===t))||ce.push({instanceLocation:c,keyword:"enum",keywordLocation:`${d}/enum`,error:`Instance does not match any of ${JSON.stringify(w)}.`})),void 0!==L){const t=`${d}/not`;_(e,L,n,i,s,a,c,t).valid&&ce.push({instanceLocation:c,keyword:"not",keywordLocation:t,error:'Instance matched "not" schema.'})}let de=[];if(void 0!==b){const t=`${d}/anyOf`,r=ce.length;let o=!1;for(let r=0;r{const d=Object.create(f),l=_(e,r,n,i,s,!0===y?a:null,c,`${t}/${o}`,d);return ce.push(...l.errors),l.valid&&de.push(d),l.valid})).length;1===o?ce.length=r:ce.splice(r,0,{instanceLocation:c,keyword:"oneOf",keywordLocation:t,error:`Instance does not match exactly one subschema (${o} matches).`})}if("object"!==u&&"array"!==u||Object.assign(f,...de),void 0!==z){const t=`${d}/if`;if(_(e,z,n,i,s,a,c,t,f).valid){if(void 0!==O){const r=_(e,O,n,i,s,a,c,`${d}/then`,f);r.valid||ce.push({instanceLocation:c,keyword:"if",keywordLocation:t,error:'Instance does not match "then" schema.'},...r.errors)}}else if(void 0!==j){const r=_(e,j,n,i,s,a,c,`${d}/else`,f);r.valid||ce.push({instanceLocation:c,keyword:"if",keywordLocation:t,error:'Instance does not match "else" schema.'},...r.errors)}}if("object"===u){if(void 0!==k)for(const t of k)t in e||ce.push({instanceLocation:c,keyword:"required",keywordLocation:`${d}/required`,error:`Instance does not have required property "${t}".`});const t=Object.keys(e);if(void 0!==R&&t.lengthq&&ce.push({instanceLocation:c,keyword:"maxProperties",keywordLocation:`${d}/maxProperties`,error:`Instance does not have at least ${q} properties.`}),void 0!==F){const t=`${d}/propertyNames`;for(const r in e){const e=`${c}/${o(r)}`,d=_(r,F,n,i,s,a,e,t);d.valid||ce.push({instanceLocation:c,keyword:"propertyNames",keywordLocation:t,error:`Property name "${r}" does not match schema.`},...d.errors)}}if(void 0!==D){const t=`${d}/dependantRequired`;for(const n in D)if(n in e){const r=D[n];for(const o of r)o in e||ce.push({instanceLocation:c,keyword:"dependentRequired",keywordLocation:t,error:`Instance has "${n}" but does not have "${o}".`})}}if(void 0!==B)for(const t in B){const r=`${d}/dependentSchemas`;if(t in e){const d=_(e,B[t],n,i,s,a,c,`${r}/${o(t)}`,f);d.valid||ce.push({instanceLocation:c,keyword:"dependentSchemas",keywordLocation:r,error:`Instance has "${t}" but does not match dependant schema.`},...d.errors)}}if(void 0!==N){const t=`${d}/dependencies`;for(const r in N)if(r in e){const d=N[r];if(Array.isArray(d))for(const n of d)n in e||ce.push({instanceLocation:c,keyword:"dependencies",keywordLocation:t,error:`Instance has "${r}" but does not have "${n}".`});else{const f=_(e,d,n,i,s,a,c,`${t}/${o(r)}`);f.valid||ce.push({instanceLocation:c,keyword:"dependencies",keywordLocation:t,error:`Instance has "${r}" but does not match dependant schema.`},...f.errors)}}}const r=Object.create(null);let l=!1;if(void 0!==C){const t=`${d}/properties`;for(const d in C){if(!(d in e))continue;const h=`${c}/${o(d)}`,u=_(e[d],C[d],n,i,s,a,h,`${t}/${o(d)}`);if(u.valid)f[d]=r[d]=!0;else if(l=s,ce.push({instanceLocation:c,keyword:"properties",keywordLocation:t,error:`Property "${d}" does not match schema.`},...u.errors),l)break}}if(!l&&void 0!==E){const t=`${d}/patternProperties`;for(const d in E){const h=new RegExp(d),u=E[d];for(const m in e){if(!h.test(m))continue;const p=`${c}/${o(m)}`,y=_(e[m],u,n,i,s,a,p,`${t}/${o(d)}`);y.valid?f[m]=r[m]=!0:(l=s,ce.push({instanceLocation:c,keyword:"patternProperties",keywordLocation:t,error:`Property "${m}" matches pattern "${d}" but does not match associated schema.`},...y.errors))}}}if(l||void 0===S){if(!l&&void 0!==M){const t=`${d}/unevaluatedProperties`;for(const r in e)if(!f[r]){const d=`${c}/${o(r)}`,l=_(e[r],M,n,i,s,a,d,t);l.valid?f[r]=!0:ce.push({instanceLocation:c,keyword:"unevaluatedProperties",keywordLocation:t,error:`Property "${r}" does not match unevaluated properties schema.`},...l.errors)}}}else{const t=`${d}/additionalProperties`;for(const d in e){if(r[d])continue;const h=`${c}/${o(d)}`,u=_(e[d],S,n,i,s,a,h,t);u.valid?f[d]=!0:(l=s,ce.push({instanceLocation:c,keyword:"additionalProperties",keywordLocation:t,error:`Property "${d}" does not match additional properties schema.`},...u.errors))}}}else if("array"===u){void 0!==Y&&e.length>Y&&ce.push({instanceLocation:c,keyword:"maxItems",keywordLocation:`${d}/maxItems`,error:`Array has too many items (${e.length} > ${Y}).`}),void 0!==W&&e.length=(K||0)&&(ce.length=o),void 0===K&&void 0===V&&0===l?ce.splice(o,0,{instanceLocation:c,keyword:"contains",keywordLocation:r,error:"Array does not contain item matching schema."}):void 0!==K&&lV&&ce.push({instanceLocation:c,keyword:"maxContains",keywordLocation:`${d}/maxContains`,error:`Array may contain at most ${V} items matching schema. ${l} items were found.`})}if(!l&&void 0!==H){const r=`${d}/unevaluatedItems`;for(;o=Q||e>Q)&&ce.push({instanceLocation:c,keyword:"maximum",keywordLocation:`${d}/maximum`,error:`${e} is greater than ${te?"or equal to ":""} ${Q}.`})):(void 0!==Z&&eQ&&ce.push({instanceLocation:c,keyword:"maximum",keywordLocation:`${d}/maximum`,error:`${e} is greater than ${Q}.`}),void 0!==ee&&e<=ee&&ce.push({instanceLocation:c,keyword:"exclusiveMinimum",keywordLocation:`${d}/exclusiveMinimum`,error:`${e} is less than ${ee}.`}),void 0!==te&&e>=te&&ce.push({instanceLocation:c,keyword:"exclusiveMaximum",keywordLocation:`${d}/exclusiveMaximum`,error:`${e} is greater than or equal to ${te}.`})),void 0!==ne){const t=e%ne;Math.abs(0-t)>=1.1920929e-7&&Math.abs(ne-t)>=1.1920929e-7&&ce.push({instanceLocation:c,keyword:"multipleOf",keywordLocation:`${d}/multipleOf`,error:`${e} is not a multiple of ${ne}.`})}}else if("string"===u){const t=void 0===re&&void 0===oe?0:x(e);void 0!==re&&toe&&ce.push({instanceLocation:c,keyword:"maxLength",keywordLocation:`${d}/maxLength`,error:`String is too long (${t} > ${oe}).`}),void 0===ie||new RegExp(ie).test(e)||ce.push({instanceLocation:c,keyword:"pattern",keywordLocation:`${d}/pattern`,error:"String does not match pattern."}),void 0!==P&&$[P]&&!$[P](e)&&ce.push({instanceLocation:c,keyword:"format",keywordLocation:`${d}/format`,error:`String does not match format "${P}".`})}return{valid:0===ce.length,errors:ce}}class I{constructor(e,t="2019-09",n=!0){this.schema=e,this.draft=t,this.shortCircuit=n,this.lookup=l(e)}validate(e){return _(e,this.schema,this.draft,this.lookup,this.shortCircuit)}addSchema(e,t){t&&(e={...e,$id:t}),l(e,this.lookup)}}}},t={};function n(r){var o=t[r];if(void 0!==o)return o.exports;var i=t[r]={exports:{}};return e[r].call(i.exports,i,i.exports,n),i.exports}n.d=function(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=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},function(){const{groupBy:e}=n(7627),{FlexSearch:t}=n(3129),{Validator:r}=n(9707);function o(e,n){e.removeEventListener("focus",o);const r=n.indexConfig?n.indexConfig:{tokenize:"forward"},i=n.dataFile;r.document={key:"id",index:["title","content"],store:["title","href","parent"]};const s=new t.Document(r);window.geekdocSearchIndex=s,a(i,(function(e){e.forEach((e=>{window.geekdocSearchIndex.add(e)}))}))}function i(e,t){const n=[];for(const r of e){const e=document.createElement("li"),o=e.appendChild(document.createElement("span")),i=o.appendChild(document.createElement("a"));o.classList.add("flex"),i.href=r.href,i.textContent=r.title,i.classList.add("gdoc-search__entry"),t?t.appendChild(e):n.push(e)}return n}function s(e){if(!e.ok)throw Error("Failed to fetch '"+e.url+"': "+e.statusText);return e}function a(e,t){fetch(e).then(s).then((e=>e.json())).then((e=>t(e))).catch((function(e){e instanceof AggregateError?(console.error(e.message),e.errors.forEach((e=>{console.error(e)}))):console.error(e)}))}document.addEventListener("DOMContentLoaded",(function(t){const n=document.querySelector("#gdoc-search-input"),s=document.querySelector("#gdoc-search-results"),c=(d=n?n.dataset.siteBaseUrl:"",(f=document.createElement("a")).href=d,f.pathname);var d,f;const l=n?n.dataset.siteLang:"",h=new r({type:"object",properties:{dataFile:{type:"string"},indexConfig:{type:["object","null"]},showParent:{type:"boolean"}},additionalProperties:!1});var u,m;n&&a((u=c,(m="/search/"+l+".config.min.json")?u.replace(/\/+$/,"")+"/"+m.replace(/^\/+/,""):u),(function(t){const r=h.validate(t);if(!r.valid)throw AggregateError(r.errors.map((e=>new Error("Validation error: "+e.error))),"Schema validation failed");n&&(n.addEventListener("focus",(()=>{o(n,t)})),n.addEventListener("keyup",(()=>{!function(t,n,r){for(;n.firstChild;)n.removeChild(n.firstChild);if(!t.value)return n.classList.remove("has-hits");let o=function(e){const t=[],n=new Map;for(const r of e)for(const e of r.result)n.has(e.doc.href)||(n.set(e.doc.href,!0),t.push(e.doc));return t}(window.geekdocSearchIndex.search(t.value,{enrich:!0,limit:10}));if(o.length<1)return n.classList.remove("has-hits");n.classList.add("has-hits"),!0===r.showParent&&(o=e(o,(e=>e.parent)));const s=[];if(!0===r.showParent)for(const e in o){const t=document.createElement("li"),n=t.appendChild(document.createElement("span")),r=t.appendChild(document.createElement("ul"));n.textContent=e,i(o[e],r),s.push(t)}else{const e=document.createElement("li"),t=e.appendChild(document.createElement("span")),n=e.appendChild(document.createElement("ul"));t.textContent="Results",i(o,n),s.push(e)}s.forEach((e=>{n.appendChild(e)}))}(n,s,t)})))}))}))}()}();